grid.9dfc288c631a1f964c7a.js 3.8 MB

12
  1. /*! For license information please see grid.9dfc288c631a1f964c7a.js.LICENSE.txt */
  2. !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.Airflow=t():(e.Airflow=e.Airflow||{},e.Airflow.grid=t())}(self,(()=>(()=>{var e,t,n={3472:(e,t,n)=>{"use strict";const r=n(8089),i=n(2729),o=n(7392),a=new o({maxSize:1e5}),s=e=>!("object"!=typeof e||null===e||e instanceof RegExp||e instanceof Error||e instanceof Date),l=(e,t)=>{if(!s(e))return e;t={deep:!1,pascalCase:!1,...t};const{exclude:n,pascalCase:o,stopPaths:l,deep:u}=t,c=new Set(l),f=e=>(t,l)=>{if(u&&s(l)){const n=void 0===e?t:`${e}.${t}`;c.has(n)||(l=r(l,f(n)))}if(!n||!((e,t)=>e.some((e=>"string"==typeof e?e===t:(e.lastIndex=0,e.test(t)))))(n,t)){const e=o?`${t}_`:t;if(a.has(e))t=a.get(e);else{const n=i(t,{pascalCase:o});t.length<100&&a.set(e,n),t=n}}return[t,l]};return r(e,f(void 0))};e.exports=(e,t)=>Array.isArray(e)?Object.keys(e).map((n=>l(e[n],t))):l(e,t)},2729:e=>{"use strict";const t=(e,t)=>{if("string"!=typeof e&&!Array.isArray(e))throw new TypeError("Expected the input to be `string | string[]`");if(t={pascalCase:!1,preserveConsecutiveUppercase:!1,...t},0===(e=Array.isArray(e)?e.map((e=>e.trim())).filter((e=>e.length)).join("-"):e.trim()).length)return"";if(1===e.length)return t.pascalCase?e.toLocaleUpperCase(t.locale):e.toLocaleLowerCase(t.locale);return e!==e.toLocaleLowerCase(t.locale)&&(e=((e,t)=>{let n=!1,r=!1,i=!1;for(let o=0;o<e.length;o++){const a=e[o];n&&/[\p{Lu}]/u.test(a)?(e=e.slice(0,o)+"-"+e.slice(o),n=!1,i=r,r=!0,o++):r&&i&&/[\p{Ll}]/u.test(a)?(e=e.slice(0,o-1)+"-"+e.slice(o-1),i=r,r=!1,n=!0):(n=a.toLocaleLowerCase(t)===a&&a.toLocaleUpperCase(t)!==a,i=r,r=a.toLocaleUpperCase(t)===a&&a.toLocaleLowerCase(t)!==a)}return e})(e,t.locale)),e=e.replace(/^[_.\- ]+/,""),e=t.preserveConsecutiveUppercase?(e=>e.replace(/^[\p{Lu}](?![\p{Lu}])/gu,(e=>e.toLowerCase())))(e):e.toLocaleLowerCase(),t.pascalCase&&(e=e.charAt(0).toLocaleUpperCase(t.locale)+e.slice(1)),((e,t)=>e.replace(/[_.\- ]+([\p{Alpha}\p{N}_]|$)/gu,((e,n)=>n.toLocaleUpperCase(t.locale))).replace(/\d+([\p{Alpha}\p{N}_]|$)/gu,(e=>e.toLocaleUpperCase(t.locale))))(e,t)};e.exports=t,e.exports.default=t},2485:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function i(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var o=typeof n;if("string"===o||"number"===o)e.push(n);else if(Array.isArray(n)){if(n.length){var a=i.apply(null,n);a&&e.push(a)}}else if("object"===o)if(n.toString===Object.prototype.toString)for(var s in n)r.call(n,s)&&n[s]&&e.push(s);else e.push(n.toString())}}return e.join(" ")}e.exports?(i.default=i,e.exports=i):void 0===(n=function(){return i}.apply(t,[]))||(e.exports=n)}()},5659:(e,t,n)=>{const r=n(8156),i={};for(const e of Object.keys(r))i[r[e]]=e;const o={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};e.exports=o;for(const e of Object.keys(o)){if(!("channels"in o[e]))throw new Error("missing channels property: "+e);if(!("labels"in o[e]))throw new Error("missing channel labels property: "+e);if(o[e].labels.length!==o[e].channels)throw new Error("channel and label counts mismatch: "+e);const{channels:t,labels:n}=o[e];delete o[e].channels,delete o[e].labels,Object.defineProperty(o[e],"channels",{value:t}),Object.defineProperty(o[e],"labels",{value:n})}o.rgb.hsl=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,i=Math.min(t,n,r),o=Math.max(t,n,r),a=o-i;let s,l;o===i?s=0:t===o?s=(n-r)/a:n===o?s=2+(r-t)/a:r===o&&(s=4+(t-n)/a),s=Math.min(60*s,360),s<0&&(s+=360);const u=(i+o)/2;return l=o===i?0:u<=.5?a/(o+i):a/(2-o-i),[s,100*l,100*u]},o.rgb.hsv=function(e){let t,n,r,i,o;const a=e[0]/255,s=e[1]/255,l=e[2]/255,u=Math.max(a,s,l),c=u-Math.min(a,s,l),f=function(e){return(u-e)/6/c+.5};return 0===c?(i=0,o=0):(o=c/u,t=f(a),n=f(s),r=f(l),a===u?i=r-n:s===u?i=1/3+t-r:l===u&&(i=2/3+n-t),i<0?i+=1:i>1&&(i-=1)),[360*i,100*o,100*u]},o.rgb.hwb=function(e){const t=e[0],n=e[1];let r=e[2];const i=o.rgb.hsl(e)[0],a=1/255*Math.min(t,Math.min(n,r));return r=1-1/255*Math.max(t,Math.max(n,r)),[i,100*a,100*r]},o.rgb.cmyk=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,i=Math.min(1-t,1-n,1-r);return[100*((1-t-i)/(1-i)||0),100*((1-n-i)/(1-i)||0),100*((1-r-i)/(1-i)||0),100*i]},o.rgb.keyword=function(e){const t=i[e];if(t)return t;let n,o=1/0;for(const t of Object.keys(r)){const i=r[t],l=(s=i,((a=e)[0]-s[0])**2+(a[1]-s[1])**2+(a[2]-s[2])**2);l<o&&(o=l,n=t)}var a,s;return n},o.keyword.rgb=function(e){return r[e]},o.rgb.xyz=function(e){let t=e[0]/255,n=e[1]/255,r=e[2]/255;t=t>.04045?((t+.055)/1.055)**2.4:t/12.92,n=n>.04045?((n+.055)/1.055)**2.4:n/12.92,r=r>.04045?((r+.055)/1.055)**2.4:r/12.92;return[100*(.4124*t+.3576*n+.1805*r),100*(.2126*t+.7152*n+.0722*r),100*(.0193*t+.1192*n+.9505*r)]},o.rgb.lab=function(e){const t=o.rgb.xyz(e);let n=t[0],r=t[1],i=t[2];n/=95.047,r/=100,i/=108.883,n=n>.008856?n**(1/3):7.787*n+16/116,r=r>.008856?r**(1/3):7.787*r+16/116,i=i>.008856?i**(1/3):7.787*i+16/116;return[116*r-16,500*(n-r),200*(r-i)]},o.hsl.rgb=function(e){const t=e[0]/360,n=e[1]/100,r=e[2]/100;let i,o,a;if(0===n)return a=255*r,[a,a,a];i=r<.5?r*(1+n):r+n-r*n;const s=2*r-i,l=[0,0,0];for(let e=0;e<3;e++)o=t+1/3*-(e-1),o<0&&o++,o>1&&o--,a=6*o<1?s+6*(i-s)*o:2*o<1?i:3*o<2?s+(i-s)*(2/3-o)*6:s,l[e]=255*a;return l},o.hsl.hsv=function(e){const t=e[0];let n=e[1]/100,r=e[2]/100,i=n;const o=Math.max(r,.01);r*=2,n*=r<=1?r:2-r,i*=o<=1?o:2-o;return[t,100*(0===r?2*i/(o+i):2*n/(r+n)),100*((r+n)/2)]},o.hsv.rgb=function(e){const t=e[0]/60,n=e[1]/100;let r=e[2]/100;const i=Math.floor(t)%6,o=t-Math.floor(t),a=255*r*(1-n),s=255*r*(1-n*o),l=255*r*(1-n*(1-o));switch(r*=255,i){case 0:return[r,l,a];case 1:return[s,r,a];case 2:return[a,r,l];case 3:return[a,s,r];case 4:return[l,a,r];case 5:return[r,a,s]}},o.hsv.hsl=function(e){const t=e[0],n=e[1]/100,r=e[2]/100,i=Math.max(r,.01);let o,a;a=(2-n)*r;const s=(2-n)*i;return o=n*i,o/=s<=1?s:2-s,o=o||0,a/=2,[t,100*o,100*a]},o.hwb.rgb=function(e){const t=e[0]/360;let n=e[1]/100,r=e[2]/100;const i=n+r;let o;i>1&&(n/=i,r/=i);const a=Math.floor(6*t),s=1-r;o=6*t-a,0!=(1&a)&&(o=1-o);const l=n+o*(s-n);let u,c,f;switch(a){default:case 6:case 0:u=s,c=l,f=n;break;case 1:u=l,c=s,f=n;break;case 2:u=n,c=s,f=l;break;case 3:u=n,c=l,f=s;break;case 4:u=l,c=n,f=s;break;case 5:u=s,c=n,f=l}return[255*u,255*c,255*f]},o.cmyk.rgb=function(e){const t=e[0]/100,n=e[1]/100,r=e[2]/100,i=e[3]/100;return[255*(1-Math.min(1,t*(1-i)+i)),255*(1-Math.min(1,n*(1-i)+i)),255*(1-Math.min(1,r*(1-i)+i))]},o.xyz.rgb=function(e){const t=e[0]/100,n=e[1]/100,r=e[2]/100;let i,o,a;return i=3.2406*t+-1.5372*n+-.4986*r,o=-.9689*t+1.8758*n+.0415*r,a=.0557*t+-.204*n+1.057*r,i=i>.0031308?1.055*i**(1/2.4)-.055:12.92*i,o=o>.0031308?1.055*o**(1/2.4)-.055:12.92*o,a=a>.0031308?1.055*a**(1/2.4)-.055:12.92*a,i=Math.min(Math.max(0,i),1),o=Math.min(Math.max(0,o),1),a=Math.min(Math.max(0,a),1),[255*i,255*o,255*a]},o.xyz.lab=function(e){let t=e[0],n=e[1],r=e[2];t/=95.047,n/=100,r/=108.883,t=t>.008856?t**(1/3):7.787*t+16/116,n=n>.008856?n**(1/3):7.787*n+16/116,r=r>.008856?r**(1/3):7.787*r+16/116;return[116*n-16,500*(t-n),200*(n-r)]},o.lab.xyz=function(e){let t,n,r;n=(e[0]+16)/116,t=e[1]/500+n,r=n-e[2]/200;const i=n**3,o=t**3,a=r**3;return n=i>.008856?i:(n-16/116)/7.787,t=o>.008856?o:(t-16/116)/7.787,r=a>.008856?a:(r-16/116)/7.787,t*=95.047,n*=100,r*=108.883,[t,n,r]},o.lab.lch=function(e){const t=e[0],n=e[1],r=e[2];let i;i=360*Math.atan2(r,n)/2/Math.PI,i<0&&(i+=360);return[t,Math.sqrt(n*n+r*r),i]},o.lch.lab=function(e){const t=e[0],n=e[1],r=e[2]/360*2*Math.PI;return[t,n*Math.cos(r),n*Math.sin(r)]},o.rgb.ansi16=function(e,t=null){const[n,r,i]=e;let a=null===t?o.rgb.hsv(e)[2]:t;if(a=Math.round(a/50),0===a)return 30;let s=30+(Math.round(i/255)<<2|Math.round(r/255)<<1|Math.round(n/255));return 2===a&&(s+=60),s},o.hsv.ansi16=function(e){return o.rgb.ansi16(o.hsv.rgb(e),e[2])},o.rgb.ansi256=function(e){const t=e[0],n=e[1],r=e[2];if(t===n&&n===r)return t<8?16:t>248?231:Math.round((t-8)/247*24)+232;return 16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(r/255*5)},o.ansi16.rgb=function(e){let t=e%10;if(0===t||7===t)return e>50&&(t+=3.5),t=t/10.5*255,[t,t,t];const n=.5*(1+~~(e>50));return[(1&t)*n*255,(t>>1&1)*n*255,(t>>2&1)*n*255]},o.ansi256.rgb=function(e){if(e>=232){const t=10*(e-232)+8;return[t,t,t]}let t;e-=16;return[Math.floor(e/36)/5*255,Math.floor((t=e%36)/6)/5*255,t%6/5*255]},o.rgb.hex=function(e){const t=(((255&Math.round(e[0]))<<16)+((255&Math.round(e[1]))<<8)+(255&Math.round(e[2]))).toString(16).toUpperCase();return"000000".substring(t.length)+t},o.hex.rgb=function(e){const t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];let n=t[0];3===t[0].length&&(n=n.split("").map((e=>e+e)).join(""));const r=parseInt(n,16);return[r>>16&255,r>>8&255,255&r]},o.rgb.hcg=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,i=Math.max(Math.max(t,n),r),o=Math.min(Math.min(t,n),r),a=i-o;let s,l;return s=a<1?o/(1-a):0,l=a<=0?0:i===t?(n-r)/a%6:i===n?2+(r-t)/a:4+(t-n)/a,l/=6,l%=1,[360*l,100*a,100*s]},o.hsl.hcg=function(e){const t=e[1]/100,n=e[2]/100,r=n<.5?2*t*n:2*t*(1-n);let i=0;return r<1&&(i=(n-.5*r)/(1-r)),[e[0],100*r,100*i]},o.hsv.hcg=function(e){const t=e[1]/100,n=e[2]/100,r=t*n;let i=0;return r<1&&(i=(n-r)/(1-r)),[e[0],100*r,100*i]},o.hcg.rgb=function(e){const t=e[0]/360,n=e[1]/100,r=e[2]/100;if(0===n)return[255*r,255*r,255*r];const i=[0,0,0],o=t%1*6,a=o%1,s=1-a;let l=0;switch(Math.floor(o)){case 0:i[0]=1,i[1]=a,i[2]=0;break;case 1:i[0]=s,i[1]=1,i[2]=0;break;case 2:i[0]=0,i[1]=1,i[2]=a;break;case 3:i[0]=0,i[1]=s,i[2]=1;break;case 4:i[0]=a,i[1]=0,i[2]=1;break;default:i[0]=1,i[1]=0,i[2]=s}return l=(1-n)*r,[255*(n*i[0]+l),255*(n*i[1]+l),255*(n*i[2]+l)]},o.hcg.hsv=function(e){const t=e[1]/100,n=t+e[2]/100*(1-t);let r=0;return n>0&&(r=t/n),[e[0],100*r,100*n]},o.hcg.hsl=function(e){const t=e[1]/100,n=e[2]/100*(1-t)+.5*t;let r=0;return n>0&&n<.5?r=t/(2*n):n>=.5&&n<1&&(r=t/(2*(1-n))),[e[0],100*r,100*n]},o.hcg.hwb=function(e){const t=e[1]/100,n=t+e[2]/100*(1-t);return[e[0],100*(n-t),100*(1-n)]},o.hwb.hcg=function(e){const t=e[1]/100,n=1-e[2]/100,r=n-t;let i=0;return r<1&&(i=(n-r)/(1-r)),[e[0],100*r,100*i]},o.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},o.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},o.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},o.gray.hsl=function(e){return[0,0,e[0]]},o.gray.hsv=o.gray.hsl,o.gray.hwb=function(e){return[0,100,e[0]]},o.gray.cmyk=function(e){return[0,0,0,e[0]]},o.gray.lab=function(e){return[e[0],0,0]},o.gray.hex=function(e){const t=255&Math.round(e[0]/100*255),n=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(n.length)+n},o.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]}},734:(e,t,n)=>{const r=n(5659),i=n(8507),o={};Object.keys(r).forEach((e=>{o[e]={},Object.defineProperty(o[e],"channels",{value:r[e].channels}),Object.defineProperty(o[e],"labels",{value:r[e].labels});const t=i(e);Object.keys(t).forEach((n=>{const r=t[n];o[e][n]=function(e){const t=function(...t){const n=t[0];if(null==n)return n;n.length>1&&(t=n);const r=e(t);if("object"==typeof r)for(let e=r.length,t=0;t<e;t++)r[t]=Math.round(r[t]);return r};return"conversion"in e&&(t.conversion=e.conversion),t}(r),o[e][n].raw=function(e){const t=function(...t){const n=t[0];return null==n?n:(n.length>1&&(t=n),e(t))};return"conversion"in e&&(t.conversion=e.conversion),t}(r)}))})),e.exports=o},8507:(e,t,n)=>{const r=n(5659);function i(e){const t=function(){const e={},t=Object.keys(r);for(let n=t.length,r=0;r<n;r++)e[t[r]]={distance:-1,parent:null};return e}(),n=[e];for(t[e].distance=0;n.length;){const e=n.pop(),i=Object.keys(r[e]);for(let r=i.length,o=0;o<r;o++){const r=i[o],a=t[r];-1===a.distance&&(a.distance=t[e].distance+1,a.parent=e,n.unshift(r))}}return t}function o(e,t){return function(n){return t(e(n))}}function a(e,t){const n=[t[e].parent,e];let i=r[t[e].parent][e],a=t[e].parent;for(;t[a].parent;)n.unshift(t[a].parent),i=o(r[t[a].parent][a],i),a=t[a].parent;return i.conversion=n,i}e.exports=function(e){const t=i(e),n={},r=Object.keys(t);for(let e=r.length,i=0;i<e;i++){const e=r[i];null!==t[e].parent&&(n[e]=a(e,t))}return n}},8156:e=>{"use strict";e.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},8854:(e,t,n)=>{var r=n(8156),i=n(9872),o=Object.hasOwnProperty,a=Object.create(null);for(var s in r)o.call(r,s)&&(a[r[s]]=s);var l=e.exports={to:{},get:{}};function u(e,t,n){return Math.min(Math.max(t,e),n)}function c(e){var t=Math.round(e).toString(16).toUpperCase();return t.length<2?"0"+t:t}l.get=function(e){var t,n;switch(e.substring(0,3).toLowerCase()){case"hsl":t=l.get.hsl(e),n="hsl";break;case"hwb":t=l.get.hwb(e),n="hwb";break;default:t=l.get.rgb(e),n="rgb"}return t?{model:n,value:t}:null},l.get.rgb=function(e){if(!e)return null;var t,n,i,a=[0,0,0,1];if(t=e.match(/^#([a-f0-9]{6})([a-f0-9]{2})?$/i)){for(i=t[2],t=t[1],n=0;n<3;n++){var s=2*n;a[n]=parseInt(t.slice(s,s+2),16)}i&&(a[3]=parseInt(i,16)/255)}else if(t=e.match(/^#([a-f0-9]{3,4})$/i)){for(i=(t=t[1])[3],n=0;n<3;n++)a[n]=parseInt(t[n]+t[n],16);i&&(a[3]=parseInt(i+i,16)/255)}else if(t=e.match(/^rgba?\(\s*([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/)){for(n=0;n<3;n++)a[n]=parseInt(t[n+1],0);t[4]&&(t[5]?a[3]=.01*parseFloat(t[4]):a[3]=parseFloat(t[4]))}else{if(!(t=e.match(/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/)))return(t=e.match(/^(\w+)$/))?"transparent"===t[1]?[0,0,0,0]:o.call(r,t[1])?((a=r[t[1]])[3]=1,a):null:null;for(n=0;n<3;n++)a[n]=Math.round(2.55*parseFloat(t[n+1]));t[4]&&(t[5]?a[3]=.01*parseFloat(t[4]):a[3]=parseFloat(t[4]))}for(n=0;n<3;n++)a[n]=u(a[n],0,255);return a[3]=u(a[3],0,1),a},l.get.hsl=function(e){if(!e)return null;var t=e.match(/^hsla?\(\s*([+-]?(?:\d{0,3}\.)?\d+)(?:deg)?\s*,?\s*([+-]?[\d\.]+)%\s*,?\s*([+-]?[\d\.]+)%\s*(?:[,|\/]\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/);if(t){var n=parseFloat(t[4]);return[(parseFloat(t[1])%360+360)%360,u(parseFloat(t[2]),0,100),u(parseFloat(t[3]),0,100),u(isNaN(n)?1:n,0,1)]}return null},l.get.hwb=function(e){if(!e)return null;var t=e.match(/^hwb\(\s*([+-]?\d{0,3}(?:\.\d+)?)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/);if(t){var n=parseFloat(t[4]);return[(parseFloat(t[1])%360+360)%360,u(parseFloat(t[2]),0,100),u(parseFloat(t[3]),0,100),u(isNaN(n)?1:n,0,1)]}return null},l.to.hex=function(){var e=i(arguments);return"#"+c(e[0])+c(e[1])+c(e[2])+(e[3]<1?c(Math.round(255*e[3])):"")},l.to.rgb=function(){var e=i(arguments);return e.length<4||1===e[3]?"rgb("+Math.round(e[0])+", "+Math.round(e[1])+", "+Math.round(e[2])+")":"rgba("+Math.round(e[0])+", "+Math.round(e[1])+", "+Math.round(e[2])+", "+e[3]+")"},l.to.rgb.percent=function(){var e=i(arguments),t=Math.round(e[0]/255*100),n=Math.round(e[1]/255*100),r=Math.round(e[2]/255*100);return e.length<4||1===e[3]?"rgb("+t+"%, "+n+"%, "+r+"%)":"rgba("+t+"%, "+n+"%, "+r+"%, "+e[3]+")"},l.to.hsl=function(){var e=i(arguments);return e.length<4||1===e[3]?"hsl("+e[0]+", "+e[1]+"%, "+e[2]+"%)":"hsla("+e[0]+", "+e[1]+"%, "+e[2]+"%, "+e[3]+")"},l.to.hwb=function(){var e=i(arguments),t="";return e.length>=4&&1!==e[3]&&(t=", "+e[3]),"hwb("+e[0]+", "+e[1]+"%, "+e[2]+"%"+t+")"},l.to.keyword=function(e){return a[e.slice(0,3)]}},2520:(e,t,n)=>{const r=n(8854),i=n(734),o=["keyword","gray","hex"],a={};for(const e of Object.keys(i))a[[...i[e].labels].sort().join("")]=e;const s={};function l(e,t){if(!(this instanceof l))return new l(e,t);if(t&&t in o&&(t=null),t&&!(t in i))throw new Error("Unknown model: "+t);let n,u;if(null==e)this.model="rgb",this.color=[0,0,0],this.valpha=1;else if(e instanceof l)this.model=e.model,this.color=[...e.color],this.valpha=e.valpha;else if("string"==typeof e){const t=r.get(e);if(null===t)throw new Error("Unable to parse color from string: "+e);this.model=t.model,u=i[this.model].channels,this.color=t.value.slice(0,u),this.valpha="number"==typeof t.value[u]?t.value[u]:1}else if(e.length>0){this.model=t||"rgb",u=i[this.model].channels;const n=Array.prototype.slice.call(e,0,u);this.color=h(n,u),this.valpha="number"==typeof e[u]?e[u]:1}else if("number"==typeof e)this.model="rgb",this.color=[e>>16&255,e>>8&255,255&e],this.valpha=1;else{this.valpha=1;const t=Object.keys(e);"alpha"in e&&(t.splice(t.indexOf("alpha"),1),this.valpha="number"==typeof e.alpha?e.alpha:0);const r=t.sort().join("");if(!(r in a))throw new Error("Unable to parse color from object: "+JSON.stringify(e));this.model=a[r];const{labels:o}=i[this.model],s=[];for(n=0;n<o.length;n++)s.push(e[o[n]]);this.color=h(s)}if(s[this.model])for(u=i[this.model].channels,n=0;n<u;n++){const e=s[this.model][n];e&&(this.color[n]=e(this.color[n]))}this.valpha=Math.max(0,Math.min(1,this.valpha)),Object.freeze&&Object.freeze(this)}l.prototype={toString(){return this.string()},toJSON(){return this[this.model]()},string(e){let t=this.model in r.to?this:this.rgb();t=t.round("number"==typeof e?e:1);const n=1===t.valpha?t.color:[...t.color,this.valpha];return r.to[t.model](n)},percentString(e){const t=this.rgb().round("number"==typeof e?e:1),n=1===t.valpha?t.color:[...t.color,this.valpha];return r.to.rgb.percent(n)},array(){return 1===this.valpha?[...this.color]:[...this.color,this.valpha]},object(){const e={},{channels:t}=i[this.model],{labels:n}=i[this.model];for(let r=0;r<t;r++)e[n[r]]=this.color[r];return 1!==this.valpha&&(e.alpha=this.valpha),e},unitArray(){const e=this.rgb().color;return e[0]/=255,e[1]/=255,e[2]/=255,1!==this.valpha&&e.push(this.valpha),e},unitObject(){const e=this.rgb().object();return e.r/=255,e.g/=255,e.b/=255,1!==this.valpha&&(e.alpha=this.valpha),e},round(e){return e=Math.max(e||0,0),new l([...this.color.map(u(e)),this.valpha],this.model)},alpha(e){return void 0!==e?new l([...this.color,Math.max(0,Math.min(1,e))],this.model):this.valpha},red:c("rgb",0,f(255)),green:c("rgb",1,f(255)),blue:c("rgb",2,f(255)),hue:c(["hsl","hsv","hsl","hwb","hcg"],0,(e=>(e%360+360)%360)),saturationl:c("hsl",1,f(100)),lightness:c("hsl",2,f(100)),saturationv:c("hsv",1,f(100)),value:c("hsv",2,f(100)),chroma:c("hcg",1,f(100)),gray:c("hcg",2,f(100)),white:c("hwb",1,f(100)),wblack:c("hwb",2,f(100)),cyan:c("cmyk",0,f(100)),magenta:c("cmyk",1,f(100)),yellow:c("cmyk",2,f(100)),black:c("cmyk",3,f(100)),x:c("xyz",0,f(95.047)),y:c("xyz",1,f(100)),z:c("xyz",2,f(108.833)),l:c("lab",0,f(100)),a:c("lab",1),b:c("lab",2),keyword(e){return void 0!==e?new l(e):i[this.model].keyword(this.color)},hex(e){return void 0!==e?new l(e):r.to.hex(this.rgb().round().color)},hexa(e){if(void 0!==e)return new l(e);const t=this.rgb().round().color;let n=Math.round(255*this.valpha).toString(16).toUpperCase();return 1===n.length&&(n="0"+n),r.to.hex(t)+n},rgbNumber(){const e=this.rgb().color;return(255&e[0])<<16|(255&e[1])<<8|255&e[2]},luminosity(){const e=this.rgb().color,t=[];for(const[n,r]of e.entries()){const e=r/255;t[n]=e<=.04045?e/12.92:((e+.055)/1.055)**2.4}return.2126*t[0]+.7152*t[1]+.0722*t[2]},contrast(e){const t=this.luminosity(),n=e.luminosity();return t>n?(t+.05)/(n+.05):(n+.05)/(t+.05)},level(e){const t=this.contrast(e);return t>=7?"AAA":t>=4.5?"AA":""},isDark(){const e=this.rgb().color;return(2126*e[0]+7152*e[1]+722*e[2])/1e4<128},isLight(){return!this.isDark()},negate(){const e=this.rgb();for(let t=0;t<3;t++)e.color[t]=255-e.color[t];return e},lighten(e){const t=this.hsl();return t.color[2]+=t.color[2]*e,t},darken(e){const t=this.hsl();return t.color[2]-=t.color[2]*e,t},saturate(e){const t=this.hsl();return t.color[1]+=t.color[1]*e,t},desaturate(e){const t=this.hsl();return t.color[1]-=t.color[1]*e,t},whiten(e){const t=this.hwb();return t.color[1]+=t.color[1]*e,t},blacken(e){const t=this.hwb();return t.color[2]+=t.color[2]*e,t},grayscale(){const e=this.rgb().color,t=.3*e[0]+.59*e[1]+.11*e[2];return l.rgb(t,t,t)},fade(e){return this.alpha(this.valpha-this.valpha*e)},opaquer(e){return this.alpha(this.valpha+this.valpha*e)},rotate(e){const t=this.hsl();let n=t.color[0];return n=(n+e)%360,n=n<0?360+n:n,t.color[0]=n,t},mix(e,t){if(!e||!e.rgb)throw new Error('Argument to "mix" was not a Color instance, but rather an instance of '+typeof e);const n=e.rgb(),r=this.rgb(),i=void 0===t?.5:t,o=2*i-1,a=n.alpha()-r.alpha(),s=((o*a==-1?o:(o+a)/(1+o*a))+1)/2,u=1-s;return l.rgb(s*n.red()+u*r.red(),s*n.green()+u*r.green(),s*n.blue()+u*r.blue(),n.alpha()*i+r.alpha()*(1-i))}};for(const e of Object.keys(i)){if(o.includes(e))continue;const{channels:t}=i[e];l.prototype[e]=function(...t){return this.model===e?new l(this):t.length>0?new l(t,e):new l([...(n=i[this.model][e].raw(this.color),Array.isArray(n)?n:[n]),this.valpha],e);var n},l[e]=function(...n){let r=n[0];return"number"==typeof r&&(r=h(n,t)),new l(r,e)}}function u(e){return function(t){return function(e,t){return Number(e.toFixed(t))}(t,e)}}function c(e,t,n){e=Array.isArray(e)?e:[e];for(const r of e)(s[r]||(s[r]=[]))[t]=n;return e=e[0],function(r){let i;return void 0!==r?(n&&(r=n(r)),i=this[e](),i.color[t]=r,i):(i=this[e]().color[t],n&&(i=n(i)),i)}}function f(e){return function(t){return Math.max(0,Math.min(e,t))}}function h(e,t){for(let n=0;n<t;n++)"number"!=typeof e[n]&&(e[n]=0);return e}e.exports=l},7965:(e,t,n)=>{"use strict";var r=n(6426),i={"text/plain":"Text","text/html":"Url",default:"Text"};e.exports=function(e,t){var n,o,a,s,l,u,c=!1;t||(t={}),n=t.debug||!1;try{if(a=r(),s=document.createRange(),l=document.getSelection(),(u=document.createElement("span")).textContent=e,u.style.all="unset",u.style.position="fixed",u.style.top=0,u.style.clip="rect(0, 0, 0, 0)",u.style.whiteSpace="pre",u.style.webkitUserSelect="text",u.style.MozUserSelect="text",u.style.msUserSelect="text",u.style.userSelect="text",u.addEventListener("copy",(function(r){if(r.stopPropagation(),t.format)if(r.preventDefault(),void 0===r.clipboardData){n&&console.warn("unable to use e.clipboardData"),n&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var o=i[t.format]||i.default;window.clipboardData.setData(o,e)}else r.clipboardData.clearData(),r.clipboardData.setData(t.format,e);t.onCopy&&(r.preventDefault(),t.onCopy(r.clipboardData))})),document.body.appendChild(u),s.selectNodeContents(u),l.addRange(s),!document.execCommand("copy"))throw new Error("copy command was unsuccessful");c=!0}catch(r){n&&console.error("unable to copy using execCommand: ",r),n&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(t.format||"text",e),t.onCopy&&t.onCopy(window.clipboardData),c=!0}catch(r){n&&console.error("unable to copy using clipboardData: ",r),n&&console.error("falling back to prompt"),o=function(e){var t=(/mac os x/i.test(navigator.userAgent)?"⌘":"Ctrl")+"+C";return e.replace(/#{\s*key\s*}/g,t)}("message"in t?t.message:"Copy to clipboard: #{key}, Enter"),window.prompt(o,e)}}finally{l&&("function"==typeof l.removeRange?l.removeRange(s):l.removeAllRanges()),u&&document.body.removeChild(u),a()}return c}},4739:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(6314),i=n.n(r)()((function(e){return e[1]}));i.push([e.id,"/* this gets exported as style.css and can be used for the default theming */\n/* these are the necessary styles for React Flow, they get used by base.css and style.css */\n.react-flow__container {\n position: absolute;\n width: 100%;\n height: 100%;\n top: 0;\n left: 0;\n}\n.react-flow__pane {\n z-index: 1;\n cursor: -webkit-grab;\n cursor: grab;\n}\n.react-flow__pane.selection {\n cursor: pointer;\n }\n.react-flow__pane.dragging {\n cursor: -webkit-grabbing;\n cursor: grabbing;\n }\n.react-flow__viewport {\n transform-origin: 0 0;\n z-index: 2;\n pointer-events: none;\n}\n.react-flow__renderer {\n z-index: 4;\n}\n.react-flow__selection {\n z-index: 6;\n}\n.react-flow__nodesselection-rect:focus,\n.react-flow__nodesselection-rect:focus-visible {\n outline: none;\n}\n.react-flow .react-flow__edges {\n pointer-events: none;\n overflow: visible;\n}\n.react-flow__edge-path,\n.react-flow__connection-path {\n stroke: #b1b1b7;\n stroke-width: 1;\n fill: none;\n}\n.react-flow__edge {\n pointer-events: visibleStroke;\n cursor: pointer;\n}\n.react-flow__edge.animated path {\n stroke-dasharray: 5;\n -webkit-animation: dashdraw 0.5s linear infinite;\n animation: dashdraw 0.5s linear infinite;\n }\n.react-flow__edge.animated path.react-flow__edge-interaction {\n stroke-dasharray: none;\n -webkit-animation: none;\n animation: none;\n }\n.react-flow__edge.inactive {\n pointer-events: none;\n }\n.react-flow__edge.selected,\n .react-flow__edge:focus,\n .react-flow__edge:focus-visible {\n outline: none;\n }\n.react-flow__edge.selected .react-flow__edge-path,\n .react-flow__edge:focus .react-flow__edge-path,\n .react-flow__edge:focus-visible .react-flow__edge-path {\n stroke: #555;\n }\n.react-flow__edge-textwrapper {\n pointer-events: all;\n }\n.react-flow__edge-textbg {\n fill: white;\n }\n.react-flow__edge .react-flow__edge-text {\n pointer-events: none;\n -webkit-user-select: none;\n -moz-user-select: none;\n user-select: none;\n }\n.react-flow__connection {\n pointer-events: none;\n}\n.react-flow__connection .animated {\n stroke-dasharray: 5;\n -webkit-animation: dashdraw 0.5s linear infinite;\n animation: dashdraw 0.5s linear infinite;\n }\n.react-flow__connectionline {\n z-index: 1001;\n}\n.react-flow__nodes {\n pointer-events: none;\n transform-origin: 0 0;\n}\n.react-flow__node {\n position: absolute;\n -webkit-user-select: none;\n -moz-user-select: none;\n user-select: none;\n pointer-events: all;\n transform-origin: 0 0;\n box-sizing: border-box;\n cursor: -webkit-grab;\n cursor: grab;\n}\n.react-flow__node.dragging {\n cursor: -webkit-grabbing;\n cursor: grabbing;\n }\n.react-flow__nodesselection {\n z-index: 3;\n transform-origin: left top;\n pointer-events: none;\n}\n.react-flow__nodesselection-rect {\n position: absolute;\n pointer-events: all;\n cursor: -webkit-grab;\n cursor: grab;\n }\n.react-flow__handle {\n position: absolute;\n pointer-events: none;\n min-width: 5px;\n min-height: 5px;\n width: 6px;\n height: 6px;\n background: #1a192b;\n border: 1px solid white;\n border-radius: 100%;\n}\n.react-flow__handle.connectionindicator {\n pointer-events: all;\n cursor: crosshair;\n }\n.react-flow__handle-bottom {\n top: auto;\n left: 50%;\n bottom: -4px;\n transform: translate(-50%, 0);\n }\n.react-flow__handle-top {\n left: 50%;\n top: -4px;\n transform: translate(-50%, 0);\n }\n.react-flow__handle-left {\n top: 50%;\n left: -4px;\n transform: translate(0, -50%);\n }\n.react-flow__handle-right {\n right: -4px;\n top: 50%;\n transform: translate(0, -50%);\n }\n.react-flow__edgeupdater {\n cursor: move;\n pointer-events: all;\n}\n.react-flow__panel {\n position: absolute;\n z-index: 5;\n margin: 15px;\n}\n.react-flow__panel.top {\n top: 0;\n }\n.react-flow__panel.bottom {\n bottom: 0;\n }\n.react-flow__panel.left {\n left: 0;\n }\n.react-flow__panel.right {\n right: 0;\n }\n.react-flow__panel.center {\n left: 50%;\n transform: translateX(-50%);\n }\n.react-flow__attribution {\n font-size: 10px;\n background: rgba(255, 255, 255, 0.5);\n padding: 2px 3px;\n margin: 0;\n}\n.react-flow__attribution a {\n text-decoration: none;\n color: #999;\n }\n@-webkit-keyframes dashdraw {\n from {\n stroke-dashoffset: 10;\n }\n}\n@keyframes dashdraw {\n from {\n stroke-dashoffset: 10;\n }\n}\n.react-flow__edgelabel-renderer {\n position: absolute;\n width: 100%;\n height: 100%;\n pointer-events: none;\n -webkit-user-select: none;\n -moz-user-select: none;\n user-select: none;\n}\n.react-flow__edge.updating .react-flow__edge-path {\n stroke: #777;\n }\n.react-flow__edge-text {\n font-size: 10px;\n }\n.react-flow__node.selectable:focus,\n .react-flow__node.selectable:focus-visible {\n outline: none;\n }\n.react-flow__node-default,\n.react-flow__node-input,\n.react-flow__node-output,\n.react-flow__node-group {\n padding: 10px;\n border-radius: 3px;\n width: 150px;\n font-size: 12px;\n color: #222;\n text-align: center;\n border-width: 1px;\n border-style: solid;\n border-color: #1a192b;\n background-color: white;\n}\n.react-flow__node-default.selectable:hover, .react-flow__node-input.selectable:hover, .react-flow__node-output.selectable:hover, .react-flow__node-group.selectable:hover {\n box-shadow: 0 1px 4px 1px rgba(0, 0, 0, 0.08);\n }\n.react-flow__node-default.selectable.selected,\n .react-flow__node-default.selectable:focus,\n .react-flow__node-default.selectable:focus-visible,\n .react-flow__node-input.selectable.selected,\n .react-flow__node-input.selectable:focus,\n .react-flow__node-input.selectable:focus-visible,\n .react-flow__node-output.selectable.selected,\n .react-flow__node-output.selectable:focus,\n .react-flow__node-output.selectable:focus-visible,\n .react-flow__node-group.selectable.selected,\n .react-flow__node-group.selectable:focus,\n .react-flow__node-group.selectable:focus-visible {\n box-shadow: 0 0 0 0.5px #1a192b;\n }\n.react-flow__node-group {\n background-color: rgba(240, 240, 240, 0.25);\n}\n.react-flow__nodesselection-rect,\n.react-flow__selection {\n background: rgba(0, 89, 220, 0.08);\n border: 1px dotted rgba(0, 89, 220, 0.8);\n}\n.react-flow__nodesselection-rect:focus,\n .react-flow__nodesselection-rect:focus-visible,\n .react-flow__selection:focus,\n .react-flow__selection:focus-visible {\n outline: none;\n }\n.react-flow__controls {\n box-shadow: 0 0 2px 1px rgba(0, 0, 0, 0.08);\n}\n.react-flow__controls-button {\n border: none;\n background: #fefefe;\n border-bottom: 1px solid #eee;\n box-sizing: content-box;\n display: flex;\n justify-content: center;\n align-items: center;\n width: 16px;\n height: 16px;\n cursor: pointer;\n -webkit-user-select: none;\n -moz-user-select: none;\n user-select: none;\n padding: 5px;\n }\n.react-flow__controls-button:hover {\n background: #f4f4f4;\n }\n.react-flow__controls-button svg {\n width: 100%;\n max-width: 12px;\n max-height: 12px;\n }\n.react-flow__controls-button:disabled {\n pointer-events: none;\n }\n.react-flow__controls-button:disabled svg {\n fill-opacity: 0.4;\n }\n.react-flow__minimap {\n background-color: #fff;\n}\n.react-flow__resize-control {\n position: absolute;\n}\n.react-flow__resize-control.left,\n.react-flow__resize-control.right {\n cursor: ew-resize;\n}\n.react-flow__resize-control.top,\n.react-flow__resize-control.bottom {\n cursor: ns-resize;\n}\n.react-flow__resize-control.top.left,\n.react-flow__resize-control.bottom.right {\n cursor: nwse-resize;\n}\n.react-flow__resize-control.bottom.left,\n.react-flow__resize-control.top.right {\n cursor: nesw-resize;\n}\n/* handle styles */\n.react-flow__resize-control.handle {\n width: 4px;\n height: 4px;\n border: 1px solid #fff;\n border-radius: 1px;\n background-color: #3367d9;\n transform: translate(-50%, -50%);\n}\n.react-flow__resize-control.handle.left {\n left: 0;\n top: 50%;\n}\n.react-flow__resize-control.handle.right {\n left: 100%;\n top: 50%;\n}\n.react-flow__resize-control.handle.top {\n left: 50%;\n top: 0;\n}\n.react-flow__resize-control.handle.bottom {\n left: 50%;\n top: 100%;\n}\n.react-flow__resize-control.handle.top.left {\n left: 0;\n}\n.react-flow__resize-control.handle.bottom.left {\n left: 0;\n}\n.react-flow__resize-control.handle.top.right {\n left: 100%;\n}\n.react-flow__resize-control.handle.bottom.right {\n left: 100%;\n}\n/* line styles */\n.react-flow__resize-control.line {\n border-color: #3367d9;\n border-width: 0;\n border-style: solid;\n}\n.react-flow__resize-control.line.left,\n.react-flow__resize-control.line.right {\n width: 1px;\n transform: translate(-50%, 0);\n top: 0;\n height: 100%;\n}\n.react-flow__resize-control.line.left {\n left: 0;\n border-left-width: 1px;\n}\n.react-flow__resize-control.line.right {\n left: 100%;\n border-right-width: 1px;\n}\n.react-flow__resize-control.line.top,\n.react-flow__resize-control.line.bottom {\n height: 1px;\n transform: translate(0, -50%);\n left: 0;\n width: 100%;\n}\n.react-flow__resize-control.line.top {\n top: 0;\n border-top-width: 1px;\n}\n.react-flow__resize-control.line.bottom {\n border-bottom-width: 1px;\n top: 100%;\n}\n",""]);const o=i},6314:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=e(t);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n})).join("")},t.i=function(e,n,r){"string"==typeof e&&(e=[[null,e,""]]);var i={};if(r)for(var o=0;o<this.length;o++){var a=this[o][0];null!=a&&(i[a]=!0)}for(var s=0;s<e.length;s++){var l=[].concat(e[s]);r&&i[l[0]]||(n&&(l[2]?l[2]="".concat(n," and ").concat(l[2]):l[2]=n),t.push(l))}},t}},2905:e=>{e.exports=function(){function e(t,n,r){function i(a,s){if(!n[a]){if(!t[a]){if(o)return o(a,!0);var l=new Error("Cannot find module '"+a+"'");throw l.code="MODULE_NOT_FOUND",l}var u=n[a]={exports:{}};t[a][0].call(u.exports,(function(e){return i(t[a][1][e]||e)}),u,u.exports,e,t,n,r)}return n[a].exports}for(var o=void 0,a=0;a<r.length;a++)i(r[a]);return i}return e}()({1:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var o=function(){function e(){var t=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=n.defaultLayoutOptions,o=void 0===r?{}:r,s=n.algorithms,l=void 0===s?["layered","stress","mrtree","radial","force","disco","sporeOverlap","sporeCompaction","rectpacking"]:s,u=n.workerFactory,c=n.workerUrl;if(i(this,e),this.defaultLayoutOptions=o,this.initialized=!1,void 0===c&&void 0===u)throw new Error("Cannot construct an ELK without both 'workerUrl' and 'workerFactory'.");var f=u;void 0!==c&&void 0===u&&(f=function(e){return new Worker(e)});var h=f(c);if("function"!=typeof h.postMessage)throw new TypeError("Created worker does not provide the required 'postMessage' function.");this.worker=new a(h),this.worker.postMessage({cmd:"register",algorithms:l}).then((function(e){return t.initialized=!0})).catch(console.err)}return r(e,[{key:"layout",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.layoutOptions,r=void 0===n?this.defaultLayoutOptions:n,i=t.logging,o=void 0!==i&&i,a=t.measureExecutionTime,s=void 0!==a&&a;return e?this.worker.postMessage({cmd:"layout",graph:e,layoutOptions:r,options:{logging:o,measureExecutionTime:s}}):Promise.reject(new Error("Missing mandatory parameter 'graph'."))}},{key:"knownLayoutAlgorithms",value:function(){return this.worker.postMessage({cmd:"algorithms"})}},{key:"knownLayoutOptions",value:function(){return this.worker.postMessage({cmd:"options"})}},{key:"knownLayoutCategories",value:function(){return this.worker.postMessage({cmd:"categories"})}},{key:"terminateWorker",value:function(){this.worker.terminate()}}]),e}();n.default=o;var a=function(){function e(t){var n=this;if(i(this,e),void 0===t)throw new Error("Missing mandatory parameter 'worker'.");this.resolvers={},this.worker=t,this.worker.onmessage=function(e){setTimeout((function(){n.receive(n,e)}),0)}}return r(e,[{key:"postMessage",value:function(e){var t=this.id||0;this.id=t+1,e.id=t;var n=this;return new Promise((function(r,i){n.resolvers[t]=function(e,t){e?(n.convertGwtStyleError(e),i(e)):r(t)},n.worker.postMessage(e)}))}},{key:"receive",value:function(e,t){var n=t.data,r=e.resolvers[n.id];r&&(delete e.resolvers[n.id],n.error?r(n.error):r(null,n.data))}},{key:"terminate",value:function(){this.worker.terminate&&this.worker.terminate()}},{key:"convertGwtStyleError",value:function(e){if(e){var t=e.__java$exception;t&&(t.cause&&t.cause.backingJsObject&&(e.cause=t.cause.backingJsObject,this.convertGwtStyleError(e.cause)),delete e.__java$exception)}}}]),e}()},{}],2:[function(e,t,n){"use strict";var r=e("./elk-api.js").default;Object.defineProperty(t.exports,"__esModule",{value:!0}),t.exports=r,r.default=r},{"./elk-api.js":1}]},{},[2])(2)},5877:(e,t,n)=>{var r;function a(){}function s(){}function l(){}function u(){}function c(){}function f(){}function h(){}function d(){}function p(){}function m(){}function b(){}function v(){}function y(){}function w(){}function x(){}function _(){}function S(){}function k(){}function C(){}function E(){}function I(){}function M(){}function T(){}function A(){}function P(){}function O(){}function D(){}function R(){}function L(){}function N(){}function j(){}function F(){}function z(){}function B(){}function V(){}function $(){}function H(){}function G(){}function W(){}function U(){}function q(){}function X(){}function Y(){}function K(){}function Z(){}function Q(){}function J(){}function ee(){}function te(){}function ne(){}function re(){}function ie(){}function oe(){}function ae(){}function se(){}function le(){}function ue(){}function ce(){}function fe(){}function he(){}function de(){}function pe(){}function ge(){}function me(){}function be(){}function ve(){}function ye(){}function we(){}function xe(){}function _e(){}function Se(){}function ke(){}function Ce(){}function Ee(){}function Ie(){}function Me(){}function Te(){}function Ae(){}function Pe(){}function Oe(){}function De(){}function Re(){}function Le(){}function Ne(){}function je(){}function Fe(){}function ze(){}function Be(){}function Ve(){}function $e(){}function He(){}function Ge(){}function We(){}function Ue(){}function qe(){}function Xe(){}function Ye(){}function Ke(){}function Ze(){}function Qe(){}function Je(){}function et(){}function tt(){}function nt(){}function rt(){}function it(){}function ot(){}function at(){}function st(){}function lt(){}function ut(){}function ct(){}function ft(){}function ht(){}function dt(){}function pt(){}function gt(){}function mt(){}function bt(){}function vt(){}function yt(){}function wt(){}function xt(){}function _t(){}function St(){}function kt(){}function Ct(){}function Et(){}function It(){}function Mt(){}function Tt(){}function At(){}function Pt(){}function Ot(){}function Dt(){}function Rt(){}function Lt(){}function Nt(){}function jt(){}function Ft(){}function zt(){}function Bt(){}function Vt(){}function $t(){}function Ht(){}function Gt(){}function Wt(){}function Ut(){}function qt(){}function Xt(){}function Yt(){}function Kt(){}function Zt(){}function Qt(){}function Jt(){}function en(){}function tn(){}function nn(){}function rn(){}function on(){}function an(){}function sn(){}function ln(){}function un(){}function cn(){}function fn(){}function hn(){}function dn(){}function pn(){}function gn(){}function mn(){}function bn(){}function vn(){}function yn(){}function wn(){}function xn(){}function _n(){}function Sn(){}function kn(){}function Cn(){}function En(){}function In(){}function Mn(){}function Tn(){}function An(){}function Pn(){}function On(){}function Dn(){}function Rn(){}function Ln(){}function Nn(){}function jn(){}function Fn(){}function zn(){}function Bn(){}function Vn(){}function $n(){}function Hn(){}function Gn(){}function Wn(){}function Un(){}function qn(){}function Xn(){}function Yn(){}function Kn(){}function Zn(){}function Qn(){}function Jn(){}function er(){}function tr(){}function nr(){}function rr(){}function ir(){}function or(){}function ar(){}function sr(){}function lr(){}function ur(){}function cr(){}function fr(){}function hr(){}function dr(){}function pr(){}function gr(){}function mr(){}function br(){}function vr(){}function yr(){}function wr(){}function xr(){}function _r(){}function Sr(){}function kr(){}function Cr(){}function Er(){}function Ir(){}function Mr(){}function Tr(){}function Ar(){}function Pr(){}function Or(){}function Dr(){}function Rr(){}function Lr(){}function Nr(){}function jr(){}function Fr(){}function zr(){}function Br(){}function Vr(){}function $r(){}function Hr(){}function Gr(){}function Wr(){}function Ur(){}function qr(){}function Xr(){}function Yr(){}function Kr(){}function Zr(){}function Qr(){}function Jr(){}function ei(){}function ti(){}function ni(){}function ri(){}function ii(){}function oi(){}function ai(){}function si(){}function li(){}function ui(){}function ci(){}function fi(){}function hi(){}function di(){}function pi(){}function gi(){}function mi(){}function bi(){}function vi(){}function yi(){}function wi(){}function xi(){}function _i(){}function Si(){}function ki(){}function Ci(){}function Ei(){}function Ii(){}function Mi(){}function Ti(){}function Ai(){}function Pi(){}function Oi(){}function Di(){}function Ri(){}function Li(){}function Ni(){}function ji(){}function Fi(){}function zi(){}function Bi(){}function Vi(){}function $i(){}function Hi(){}function Gi(){}function Wi(){}function Ui(){}function qi(){}function Xi(){}function Yi(){}function Ki(){}function Zi(){}function Qi(){}function Ji(){}function eo(){}function to(){}function no(){}function ro(){}function io(){}function oo(){}function ao(){}function so(){}function lo(){}function uo(){}function co(){}function fo(){}function ho(){}function po(){}function go(){}function mo(){}function bo(){}function vo(){}function yo(){}function wo(){}function xo(){}function _o(){}function So(){}function ko(){}function Co(){}function Eo(){}function Io(){}function Mo(){}function To(){}function Ao(){}function Po(){}function Oo(){}function Do(){}function Ro(){}function Lo(){}function No(){}function jo(){}function Fo(){}function zo(){}function Bo(){}function Vo(){}function $o(){}function Ho(){}function Go(){}function Wo(){}function Uo(){}function qo(){}function Xo(){}function Yo(){}function Ko(){}function Zo(){}function Qo(){}function Jo(){}function ea(){}function ta(){}function na(){}function ra(){}function ia(){}function oa(){}function aa(){}function sa(){}function la(){}function ua(){}function ca(){}function fa(){}function ha(){}function da(){}function pa(){}function ga(){}function ma(){}function ba(){}function va(){}function ya(){}function wa(){}function xa(){}function _a(){}function Sa(){}function ka(){}function Ca(){}function Ea(){}function Ia(){}function Ma(){}function Ta(){}function Aa(){}function Pa(){}function Oa(){}function Da(){}function Ra(){}function La(){}function Na(){}function ja(){}function Fa(){}function za(){}function Ba(){}function Va(){}function $a(){}function Ha(){}function Ga(){}function Wa(){}function Ua(){}function qa(){}function Xa(){}function Ya(){}function Ka(){}function Za(){}function Qa(){}function Ja(){}function es(){}function ts(){}function ns(){}function rs(){}function is(){}function os(){}function as(){}function ss(){}function ls(){}function us(){}function cs(){}function fs(){}function hs(){}function ds(){}function ps(){}function gs(){}function ms(){}function bs(){}function vs(){}function ys(){}function ws(){}function xs(){}function _s(){}function Ss(){}function ks(){}function Cs(){}function Es(){}function Is(){}function Ms(){}function Ts(){}function As(){}function Ps(){}function Os(){}function Ds(){}function Rs(){}function Ls(){}function Ns(){}function js(){}function Fs(){}function zs(){}function Bs(){}function Vs(){}function $s(){}function Hs(){}function Gs(){}function Ws(){}function Us(){}function qs(){}function Xs(){}function Ys(){}function Ks(){}function Zs(){}function Qs(){}function Js(){}function el(){}function tl(){}function nl(){}function rl(){}function il(){}function ol(){}function al(){}function sl(){}function ll(){}function ul(){}function cl(){}function fl(){}function hl(){}function dl(){}function pl(){}function gl(){}function ml(){}function bl(){}function vl(){}function yl(){}function wl(){}function xl(){}function _l(){}function Sl(){}function kl(){}function Cl(){}function El(){}function Il(){}function Ml(){}function Tl(){}function Al(){}function Pl(){}function Ol(){}function Dl(){}function Rl(){}function Ll(){}function Nl(){}function jl(){}function Fl(){}function zl(){}function Bl(){}function Vl(){}function $l(){}function Hl(){}function Gl(){}function Wl(){}function Ul(){}function ql(){}function Xl(){}function Yl(){}function Kl(){}function Zl(){}function Ql(){}function Jl(){}function eu(){}function tu(){}function nu(){}function ru(){}function iu(){}function ou(){}function au(){}function su(){}function lu(){}function uu(){}function cu(){}function fu(){}function hu(){}function du(){}function pu(){}function gu(){}function mu(){}function bu(){}function vu(){}function yu(){}function wu(){}function xu(){}function _u(){}function Su(){}function ku(){}function Cu(){}function Eu(){}function Iu(){}function Mu(){}function Tu(){}function Au(){}function Pu(){}function Ou(){}function Du(){}function Ru(){}function Lu(){}function Nu(){}function ju(){}function Fu(){}function zu(){}function Bu(){}function Vu(){}function $u(){}function Hu(){}function Gu(){}function Wu(){}function Uu(){}function qu(){}function Xu(){}function Yu(){}function Ku(){}function Zu(){}function Qu(){}function Ju(){}function ec(){}function tc(){}function nc(){}function rc(){}function ic(){}function oc(){}function ac(){}function sc(){}function lc(){}function uc(){}function cc(){}function fc(){}function hc(){}function dc(){}function pc(){}function gc(){}function mc(){}function bc(){}function vc(){}function yc(){}function wc(){}function xc(){}function _c(){}function Sc(){}function kc(){}function Cc(){}function Ec(){}function Ic(){}function Mc(){}function Tc(){}function Ac(){}function Pc(){}function Oc(){}function Dc(){}function Rc(){Bv()}function Lc(){wie()}function Nc(){H4()}function jc(){Ete()}function Fc(){Ese()}function zc(){fde()}function Bc(){Vre()}function Vc(){Xte()}function $c(){TS()}function Hc(){IS()}function Gc(){oL()}function Wc(){MS()}function Uc(){j1()}function qc(){CY()}function Xc(){G5()}function Yc(){PS()}function Kc(){Zae()}function Zc(){xG()}function Qc(){xK()}function Jc(){dxe()}function ef(){Kwe()}function tf(){g1()}function nf(){KW()}function rf(){m1()}function of(){v1()}function af(){SG()}function sf(){Ure()}function lf(){XK()}function uf(){qG()}function cf(){g5()}function ff(){DS()}function hf(){lfe()}function df(){Xle()}function pf(){CG()}function gf(){Xge()}function mf(){z2()}function bf(){xse()}function vf(){Gae()}function yf(){V4()}function wf(){ffe()}function xf(){$4()}function _f(){Hae()}function Sf(){Lpe()}function kf(){Tne()}function Cf(){YK()}function Ef(){fxe()}function If(){O7()}function Mf(){jbe()}function Tf(){kR()}function Af(){d2()}function Pf(){Ame()}function Of(e){wB(e)}function Df(e){this.a=e}function Rf(e){this.a=e}function Lf(e){this.a=e}function Nf(e){this.a=e}function jf(e){this.a=e}function Ff(e){this.a=e}function zf(e){this.a=e}function Bf(e){this.a=e}function Vf(e){this.a=e}function $f(e){this.a=e}function Hf(e){this.a=e}function Gf(e){this.a=e}function Wf(e){this.a=e}function Uf(e){this.a=e}function qf(e){this.a=e}function Xf(e){this.a=e}function Yf(e){this.a=e}function Kf(e){this.a=e}function Zf(e){this.a=e}function Qf(e){this.a=e}function Jf(e){this.a=e}function eh(e){this.a=e}function th(e){this.a=e}function nh(e){this.a=e}function rh(e){this.a=e}function ih(e){this.a=e}function oh(e){this.a=e}function ah(e){this.a=e}function sh(e){this.a=e}function lh(e){this.a=e}function uh(e){this.a=e}function ch(e){this.a=e}function fh(e){this.c=e}function hh(e){this.b=e}function dh(){this.a=[]}function ph(e,t){e.a=t}function gh(e,t){e.j=t}function mh(e,t){e.c=t}function bh(e,t){e.d=t}function vh(e,t){e.k=t}function yh(e,t){e.d=t}function wh(e,t){e.a=t}function xh(e,t){e.a=t}function _h(e,t){e.c=t}function Sh(e,t){e.a=t}function kh(e,t){e.f=t}function Ch(e,t){e.e=t}function Eh(e,t){e.g=t}function Ih(e,t){e.e=t}function Mh(e,t){e.f=t}function Th(e,t){e.i=t}function Ah(e,t){e.i=t}function Ph(e,t){e.b=t}function Oh(e,t){e.o=t}function Dh(e,t){e.n=t}function Rh(e){e.b=e.a}function Lh(e){e.c=e.d.d}function Nh(e){this.d=e}function jh(e){this.a=e}function Fh(e){this.a=e}function zh(e){this.a=e}function Bh(e){this.a=e}function Vh(e){this.a=e}function $h(e){this.a=e}function Hh(e){this.a=e}function Gh(e){this.a=e}function Wh(e){this.a=e}function Uh(e){this.a=e}function qh(e){this.a=e}function Xh(e){this.a=e}function Yh(e){this.a=e}function Kh(e){this.a=e}function Zh(e){this.a=e}function Qh(e){this.b=e}function Jh(e){this.b=e}function ed(e){this.b=e}function td(e){this.c=e}function nd(e){this.c=e}function rd(e){this.a=e}function id(e){this.a=e}function od(e){this.a=e}function ad(e){this.a=e}function sd(e){this.a=e}function ld(e){this.a=e}function ud(e){this.a=e}function cd(e){this.a=e}function fd(e){this.a=e}function hd(e){this.a=e}function dd(e){this.a=e}function pd(e){this.a=e}function gd(e){this.a=e}function md(e){this.a=e}function bd(e){this.a=e}function vd(e){this.a=e}function yd(e){this.a=e}function wd(e){this.a=e}function xd(e){this.a=e}function _d(e){this.a=e}function Sd(e){this.a=e}function kd(e){this.a=e}function Cd(e){this.a=e}function Ed(e){this.a=e}function Id(e){this.a=e}function Md(e){this.a=e}function Td(e){this.a=e}function Ad(e){this.a=e}function Pd(e){this.a=e}function Od(e){this.a=e}function Dd(e){this.a=e}function Rd(e){this.a=e}function Ld(e){this.a=e}function Nd(e){this.a=e}function jd(e){this.c=e}function Fd(e){this.a=e}function zd(e){this.a=e}function Bd(e){this.a=e}function Vd(e){this.a=e}function $d(e){this.a=e}function Hd(e){this.a=e}function Gd(e){this.a=e}function Wd(e){this.a=e}function Ud(e){this.a=e}function qd(e){this.a=e}function Xd(e){this.a=e}function Yd(e){this.a=e}function Kd(e){this.a=e}function Zd(e){this.e=e}function Qd(e){this.a=e}function Jd(e){this.a=e}function ep(e){this.a=e}function tp(e){this.a=e}function np(e){this.a=e}function rp(e){this.a=e}function ip(e){this.a=e}function op(e){this.a=e}function ap(e){this.a=e}function sp(e){this.a=e}function lp(e){this.a=e}function up(e){this.a=e}function cp(e){this.a=e}function fp(e){this.a=e}function hp(e){this.a=e}function dp(e){this.a=e}function pp(e){this.a=e}function gp(e){this.a=e}function mp(e){this.a=e}function bp(e){this.a=e}function vp(e){this.a=e}function yp(e){this.a=e}function wp(e){this.a=e}function xp(e){this.a=e}function _p(e){this.a=e}function Sp(e){this.a=e}function kp(e){this.a=e}function Cp(e){this.a=e}function Ep(e){this.a=e}function Ip(e){this.a=e}function Mp(e){this.a=e}function Tp(e){this.a=e}function Ap(e){this.a=e}function Pp(e){this.a=e}function Op(e){this.a=e}function Dp(e){this.a=e}function Rp(e){this.a=e}function Lp(e){this.a=e}function Np(e){this.a=e}function jp(e){this.a=e}function Fp(e){this.a=e}function zp(e){this.a=e}function Bp(e){this.a=e}function Vp(e){this.a=e}function $p(e){this.a=e}function Hp(e){this.a=e}function Gp(e){this.a=e}function Wp(e){this.a=e}function Up(e){this.a=e}function qp(e){this.a=e}function Xp(e){this.a=e}function Yp(e){this.a=e}function Kp(e){this.a=e}function Zp(e){this.a=e}function Qp(e){this.c=e}function Jp(e){this.b=e}function eg(e){this.a=e}function tg(e){this.a=e}function ng(e){this.a=e}function rg(e){this.a=e}function ig(e){this.a=e}function og(e){this.a=e}function ag(e){this.a=e}function sg(e){this.a=e}function lg(e){this.a=e}function ug(e){this.a=e}function cg(e){this.a=e}function fg(e){this.a=e}function hg(e){this.a=e}function dg(e){this.a=e}function pg(e){this.a=e}function gg(e){this.a=e}function mg(e){this.a=e}function bg(e){this.a=e}function vg(e){this.a=e}function yg(e){this.a=e}function wg(e){this.a=e}function xg(e){this.a=e}function _g(e){this.a=e}function Sg(e){this.a=e}function kg(e){this.a=e}function Cg(e){this.a=e}function Eg(e){this.a=e}function Ig(e){this.a=e}function Mg(e){this.a=e}function Tg(e){this.a=e}function Ag(e){this.a=e}function Pg(e){this.a=e}function Og(e){this.a=e}function Dg(e){this.a=e}function Rg(e){this.a=e}function Lg(e){this.a=e}function Ng(e){this.a=e}function jg(e){this.a=e}function Fg(e){this.a=e}function zg(e){this.a=e}function Bg(e){this.a=e}function Vg(e){this.f=e}function $g(e){this.a=e}function Hg(e){this.a=e}function Gg(e){this.a=e}function Wg(e){this.a=e}function Ug(e){this.a=e}function qg(e){this.a=e}function Xg(e){this.a=e}function Yg(e){this.a=e}function Kg(e){this.a=e}function Zg(e){this.a=e}function Qg(e){this.a=e}function Jg(e){this.a=e}function em(e){this.a=e}function tm(e){this.a=e}function nm(e){this.a=e}function rm(e){this.a=e}function im(e){this.a=e}function om(e){this.a=e}function am(e){this.a=e}function sm(e){this.a=e}function lm(e){this.a=e}function um(e){this.a=e}function cm(e){this.a=e}function fm(e){this.a=e}function hm(e){this.a=e}function dm(e){this.a=e}function pm(e){this.a=e}function gm(e){this.a=e}function mm(e){this.a=e}function bm(e){this.b=e}function vm(e){this.a=e}function ym(e){this.a=e}function wm(e){this.a=e}function xm(e){this.a=e}function _m(e){this.a=e}function Sm(e){this.a=e}function km(e){this.a=e}function Cm(e){this.a=e}function Em(e){this.a=e}function Im(e){this.a=e}function Mm(e){this.b=e}function Tm(e){this.c=e}function Am(e){this.e=e}function Pm(e){this.a=e}function Om(e){this.a=e}function Dm(e){this.a=e}function Rm(e){this.a=e}function Lm(e){this.d=e}function Nm(e){this.a=e}function jm(e){this.a=e}function Fm(e){this.a=e}function zm(e){this.e=e}function Bm(){this.a=0}function Vm(){oT(this)}function $m(){aT(this)}function Hm(){JF(this)}function Gm(){rV(this)}function Wm(){}function Um(){this.c=rit}function qm(e,t){e.b+=t}function Xm(e){return e.a}function Ym(e){return e.a}function Km(e){return e.a}function Zm(e){return e.a}function Qm(e){return e.a}function Jm(e){return e.e}function eb(){return null}function tb(){return null}function nb(e,t){t.$c(e.a)}function rb(e,t){e.a=t-e.a}function ib(e,t){e.b=t-e.b}function ob(e,t){e.e=t,t.b=e}function ab(e){A$(),Hje.be(e)}function sb(e){IR(),this.a=e}function lb(e){IR(),this.a=e}function ub(e){IR(),this.a=e}function cb(e){BB(),this.a=e}function fb(){this.a=this}function hb(){this.Bb|=256}function db(){GA.call(this)}function pb(){GA.call(this)}function gb(){db.call(this)}function mb(){db.call(this)}function bb(){db.call(this)}function vb(){db.call(this)}function yb(){db.call(this)}function wb(){db.call(this)}function xb(){db.call(this)}function _b(){db.call(this)}function Sb(){db.call(this)}function kb(){db.call(this)}function Cb(){db.call(this)}function Eb(e){_ce(e.c,e.b)}function Ib(e,t){Y2(e.e,t)}function Mb(e,t){RL(e.a,t)}function Tb(e,t){e.length=t}function Ab(){this.b=new oM}function Pb(){this.a=new Hm}function Ob(){this.a=new Hm}function Db(){this.a=new $m}function Rb(){this.a=new $m}function Lb(){this.a=new $m}function Nb(){this.a=new ve}function jb(){this.a=new dY}function Fb(){this.a=new ct}function zb(){this.a=new rS}function Bb(){this.a=new uG}function Vb(){this.a=new MD}function $b(){this.a=new CW}function Hb(){this.a=new $m}function Gb(){this.a=new $m}function Wb(){this.a=new $m}function Ub(){this.a=new $m}function qb(){this.d=new $m}function Xb(){this.a=new Pb}function Yb(){this.b=new Hm}function Kb(){this.a=new Hm}function Zb(){this.a=new Kc}function Qb(){this.b=new $m}function Jb(){this.e=new $m}function ev(e){this.a=function(e){var t;if((t=pse(e))>34028234663852886e22)return RSe;if(t<-34028234663852886e22)return LSe;return t}(e)}function tv(){this.d=new $m}function nv(){nv=S,new Hm}function rv(){gb.call(this)}function iv(){Db.call(this)}function ov(){OD.call(this)}function av(){Wm.call(this)}function sv(){Wm.call(this)}function lv(){av.call(this)}function uv(){sv.call(this)}function cv(){$m.call(this)}function fv(){Y$.call(this)}function hv(){Y$.call(this)}function dv(){Hv.call(this)}function pv(){Hv.call(this)}function gv(){Hv.call(this)}function mv(){Uv.call(this)}function bv(){sS.call(this)}function vv(){tl.call(this)}function yv(){tl.call(this)}function wv(){Kv.call(this)}function xv(){Kv.call(this)}function _v(){Hm.call(this)}function Sv(){Hm.call(this)}function kv(){Hm.call(this)}function Cv(){Pb.call(this)}function Ev(){O0.call(this)}function Iv(){hb.call(this)}function Mv(){LA.call(this)}function Tv(){LA.call(this)}function Av(){Hm.call(this)}function Pv(){Hm.call(this)}function Ov(){Hm.call(this)}function Dv(){vl.call(this)}function Rv(){vl.call(this)}function Lv(){Dv.call(this)}function Nv(){Pc.call(this)}function jv(e){E_.call(this,e)}function Fv(e){jv.call(this,e)}function zv(e){E_.call(this,e)}function Bv(){Bv=S,mje=new s}function Vv(){Vv=S,Sje=new ew}function $v(){$v=S,kje=new tw}function Hv(){this.a=new Pb}function Gv(){this.a=new $m}function Wv(){this.j=new $m}function Uv(){this.a=new Hm}function qv(){this.a=new sS}function Xv(){this.a=new Wa}function Yv(){this.a=new Qx}function Kv(){this.a=new hl}function Zv(){Zv=S,Tje=new qT}function Qv(e){jv.call(this,e)}function Jv(e){jv.call(this,e)}function ey(e){Iq.call(this,e)}function ty(e){Iq.call(this,e)}function ny(e){_R.call(this,e)}function ry(e){O_.call(this,e)}function iy(e){D_.call(this,e)}function oy(e){D_.call(this,e)}function ay(e){vse.call(this,e)}function sy(e){rz.call(this,e)}function ly(e){sy.call(this,e)}function uy(){ch.call(this,{})}function cy(){cy=S,Yje=new x}function fy(){fy=S,Nje=new a}function hy(){hy=S,zje=new h}function dy(){dy=S,Wje=new v}function py(e,t){e.a=t,function(e){var t,n,i;for(function(e){var t,n,i;for(n=new td(e.a.a.b);n.a<n.c.c.length;)t=LL(xW(n),79),wB(0),(i=0)>0&&((!LM(e.a.c)||!t.n.d)&&(!NM(e.a.c)||!t.n.b)&&(t.g.d-=r.Math.max(0,i/2-.5)),(!LM(e.a.c)||!t.n.a)&&(!NM(e.a.c)||!t.n.c)&&(t.g.a+=r.Math.max(0,i-1)))}(e),i=new $m,n=new td(e.a.a.b);n.a<n.c.c.length;)RL(i,new Wk(t=LL(xW(n),79),!0)),RL(i,new Wk(t,!1));(function(e){var t,n;for(ky(e.b.a),e.a=fK(wHe,zxe,79,e.c.a.a.b.c.length,0,1),t=0,n=new td(e.c.a.a.b);n.a<n.c.c.length;)LL(xW(n),79).i=t++})(e.c),XW(i,e.b,new Vy(q3(lw(CHe,1),zxe,366,0,[e.c]))),function(e){var t,n,i;for(n=new td(e.a.a.b);n.a<n.c.c.length;)t=LL(xW(n),79),wB(0),(i=0)>0&&((!LM(e.a.c)||!t.n.d)&&(!NM(e.a.c)||!t.n.b)&&(t.g.d+=r.Math.max(0,i/2-.5)),(!LM(e.a.c)||!t.n.a)&&(!NM(e.a.c)||!t.n.c)&&(t.g.a-=i-1))}(e)}(e)}function gy(e,t,n){e.a[t.g]=n}function my(e,t,n){!function(e,t,n){var r,i;for(GM(e,e.j+t,e.k+n),i=new SA((!e.a&&(e.a=new hA(Jtt,e,5)),e.a));i.e!=i.i.gc();)BM(r=LL(Hee(i),463),r.a+t,r.b+n);HM(e,e.b+t,e.c+n)}(n,e,t)}function by(e,t){!function(e,t){LM(e.f)?function(e,t){var n,r,i,o,a;for(o=e.g.a,a=e.g.b,r=new td(e.d);r.a<r.c.c.length;)i=(n=LL(xW(r),69)).n,e.a==(S3(),BWe)||e.i==(hwe(),Oet)?i.a=o:e.a==VWe||e.i==(hwe(),Qet)?i.a=o+e.j.a-n.o.a:i.a=o+(e.j.a-n.o.a)/2,i.b=a,BD(i,t),a+=n.o.b+e.e}(e,t):function(e,t){var n,r,i,o,a;for(o=e.g.a,a=e.g.b,r=new td(e.d);r.a<r.c.c.length;)(i=(n=LL(xW(r),69)).n).a=o,e.i==(hwe(),Det)?i.b=a+e.j.b-n.o.b:i.b=a,BD(i,t),o+=n.o.a+e.e}(e,t)}(t.i,e.n)}function vy(e,t){(function(e){if(RL(e.c,(f5(),C6e)),TJ(e.a,Oy($O(gte((U9(),qJe))))))return new Ws;return new jg(e)})(e).td(t)}function yy(e){FA(),this.a=e}function wy(e){c2(),this.a=e}function xy(e){CR(),this.a=e}function _y(e){Ej(),this.f=e}function Sy(e){Ej(),this.f=e}function ky(e){e.b=null,e.c=0}function Cy(e){sy.call(this,e)}function Ey(e){sy.call(this,e)}function Iy(e){sy.call(this,e)}function My(e){rz.call(this,e)}function Ty(e){return wB(e),e}function Ay(e){return new uh(e)}function Py(e){return new xz(e)}function Oy(e){return wB(e),e}function Dy(e){return wB(e),e}function Ry(e,t){return e.g-t.g}function Ly(e){sy.call(this,e)}function Ny(e){sy.call(this,e)}function jy(e){sy.call(this,e)}function Fy(e){sy.call(this,e)}function zy(e){sy.call(this,e)}function By(e){sy.call(this,e)}function Vy(e){wB(e),this.a=e}function $y(e){lz(e,e.length)}function Hy(e){return e.b==e.c}function Gy(e){return!!e&&e.b}function Wy(e){return wB(e),e}function Uy(e){return r4(e),e}function qy(e){sy.call(this,e)}function Xy(e){sy.call(this,e)}function Yy(e){sy.call(this,e)}function Ky(e){sy.call(this,e)}function Zy(e){sy.call(this,e)}function Qy(e){OP.call(this,e,0)}function Jy(){JG.call(this,12,3)}function ew(){qf.call(this,null)}function tw(){qf.call(this,null)}function nw(){throw Jm(new _b)}function rw(){throw Jm(new _b)}function iw(){this.a=HO(wz(jxe))}function ow(e){IR(),this.a=wz(e)}function aw(e){N0(e),ob(e.a,e.a)}function sw(e,t){e.Td(t),t.Sd(e)}function lw(e,t){return aG(e,t)}function uw(e){Ey.call(this,e)}function cw(e){Ey.call(this,e)}function fw(e){Ny.call(this,e)}function hw(){zh.call(this,"")}function dw(){zh.call(this,"")}function pw(){zh.call(this,"")}function gw(){zh.call(this,"")}function mw(e){Qh.call(this,e)}function bw(e){mw.call(this,e)}function vw(e){QA.call(this,e)}function yw(e,t){return HK(e,t)}function ww(e){return e.a?e.b:0}function xw(e){return e.a?e.b:0}function _w(e,t){return e.c=t,e}function Sw(e,t){return e.f=t,e}function kw(e,t){return e.a=t,e}function Cw(e,t){return e.f=t,e}function Ew(e,t){return e.k=t,e}function Iw(e,t){return e.a=t,e}function Mw(e,t){e.b=!0,e.d=t}function Tw(e,t){return e.e=t,e}function Aw(e,t){return e?0:t-1}function Pw(e){FV.call(this,e)}function Ow(e){FV.call(this,e)}function Dw(e){R9.call(this,e)}function Rw(){HT.call(this,"")}function Lw(){Lw=S,oze=function(){function e(){try{return(new Map).entries().next().done}catch(e){return!1}}return typeof Map===Oxe&&Map.prototype.entries&&e()?Map:function(){function e(){this.obj=this.createObject()}e.prototype.createObject=function(e){return Object.create(null)},e.prototype.get=function(e){return this.obj[e]},e.prototype.set=function(e,t){this.obj[e]=t},e.prototype[eke]=function(e){delete this.obj[e]},e.prototype.keys=function(){return Object.getOwnPropertyNames(this.obj)},e.prototype.entries=function(){var e=this.keys(),t=this,n=0;return{next:function(){if(n>=e.length)return{done:!0};var r=e[n++];return{value:[r,t.get(r)],done:!1}}}},function(){if(!Object.create||!Object.getOwnPropertyNames)return!1;var e="__proto__",t=Object.create(null);if(void 0!==t[e])return!1;if(0!=Object.getOwnPropertyNames(t).length)return!1;if(t[e]=42,42!==t[e])return!1;if(0==Object.getOwnPropertyNames(t).length)return!1;return!0}()||(e.prototype.createObject=function(){return{}},e.prototype.get=function(e){return this.obj[":"+e]},e.prototype.set=function(e,t){this.obj[":"+e]=t},e.prototype[eke]=function(e){delete this.obj[":"+e]},e.prototype.keys=function(){var e=[];for(var t in this.obj)58==t.charCodeAt(0)&&e.push(t.substring(1));return e});return e}()}()}function Nw(){Nw=S,A$()}function jw(){throw Jm(new _b)}function Fw(){throw Jm(new _b)}function zw(){throw Jm(new _b)}function Bw(){throw Jm(new _b)}function Vw(){throw Jm(new _b)}function $w(){this.b=0,this.a=0}function Hw(e,t){return e.b=t,e}function Gw(e,t){return e.a=t,e}function Ww(e,t){return e.a=t,e}function Uw(e,t){return e.c=t,e}function qw(e,t){return e.c=t,e}function Xw(e,t){return e.d=t,e}function Yw(e,t){return e.e=t,e}function Kw(e,t){return e.f=t,e}function Zw(e,t){return e.b=t,e}function Qw(e,t){return e.b=t,e}function Jw(e,t){return e.c=t,e}function ex(e,t){return e.d=t,e}function tx(e,t){return e.e=t,e}function nx(e,t){return e.g=t,e}function rx(e,t){return e.a=t,e}function ix(e,t){return e.i=t,e}function ox(e,t){return e.j=t,e}function ax(e,t){return e.k=t,e}function sx(e,t,n){!function(e,t,n){uz(e,new Ck(t.a,n.a))}(e.a,t,n)}function lx(e){NR.call(this,e)}function ux(e){GQ.call(this,e)}function cx(e){a$.call(this,e)}function fx(e){a$.call(this,e)}function hx(){this.a=0,this.b=0}function dx(){throw Jm(new _b)}function px(){throw Jm(new _b)}function gx(){throw Jm(new _b)}function mx(){throw Jm(new _b)}function bx(){throw Jm(new _b)}function vx(){throw Jm(new _b)}function yx(){throw Jm(new _b)}function wx(){throw Jm(new _b)}function xx(){throw Jm(new _b)}function _x(){throw Jm(new _b)}function Sx(){Sx=S,Ftt=function(){var e,t;jbe();try{if(t=LL(toe((QS(),prt),oDe),1983))return t}catch(t){if(!BT(t=v3(t),102))throw Jm(t);e=t,_F((pT(),e))}return new rl}()}function kx(){var e;kx=S,ztt=bnt?LL(Vfe((QS(),prt),oDe),1985):(e=LL(BT(CH((QS(),prt),oDe),549)?CH(prt,oDe):new Uce,549),bnt=!0,function(e){e.q||(e.q=!0,e.p=e3(e,0),e.a=e3(e,1),N1(e.a,0),e.f=e3(e,2),N1(e.f,1),L1(e.f,2),e.n=e3(e,3),L1(e.n,3),L1(e.n,4),L1(e.n,5),L1(e.n,6),e.g=e3(e,4),N1(e.g,7),L1(e.g,8),e.c=e3(e,5),N1(e.c,7),N1(e.c,8),e.i=e3(e,6),N1(e.i,9),N1(e.i,10),N1(e.i,11),N1(e.i,12),L1(e.i,13),e.j=e3(e,7),N1(e.j,9),e.d=e3(e,8),N1(e.d,3),N1(e.d,4),N1(e.d,5),N1(e.d,6),L1(e.d,7),L1(e.d,8),L1(e.d,9),L1(e.d,10),e.b=e3(e,9),L1(e.b,0),L1(e.b,1),e.e=e3(e,10),L1(e.e,1),L1(e.e,2),L1(e.e,3),L1(e.e,4),N1(e.e,5),N1(e.e,6),N1(e.e,7),N1(e.e,8),N1(e.e,9),N1(e.e,10),L1(e.e,11),e.k=e3(e,11),L1(e.k,0),L1(e.k,1),e.o=t3(e,12),e.s=t3(e,13))}(e),function(e){var t,n,r,i,o,a,s;e.r||(e.r=!0,O1(e,"graph"),D1(e,"graph"),R1(e,oDe),O3(e.o,"T"),AK(K$(e.a),e.p),AK(K$(e.f),e.a),AK(K$(e.n),e.f),AK(K$(e.g),e.n),AK(K$(e.c),e.n),AK(K$(e.i),e.c),AK(K$(e.j),e.c),AK(K$(e.d),e.f),AK(K$(e.e),e.a),BW(e.p,AVe,ICe,!0,!0,!1),a=w4(e.p,e.p,"setProperty"),s=H3(a),t=BV(e.o),n=new Um,AK((!t.d&&(t.d=new hA(brt,t,1)),t.d),n),r=VV(s),voe(n,r),eoe(a,t,aDe),t=VV(s),eoe(a,t,sDe),a=w4(e.p,null,"getProperty"),s=H3(a),t=BV(e.o),n=VV(s),AK((!t.d&&(t.d=new hA(brt,t,1)),t.d),n),eoe(a,t,aDe),t=VV(s),!!(o=hae(a,t,null))&&o.Ai(),a=w4(e.p,e.wb.e,"hasProperty"),t=BV(e.o),n=new Um,AK((!t.d&&(t.d=new hA(brt,t,1)),t.d),n),eoe(a,t,aDe),Fre(a=w4(e.p,e.p,"copyProperties"),e.p,lDe),a=w4(e.p,null,"getAllProperties"),t=BV(e.wb.P),n=BV(e.o),AK((!t.d&&(t.d=new hA(brt,t,1)),t.d),n),r=new Um,AK((!n.d&&(n.d=new hA(brt,n,1)),n.d),r),n=BV(e.wb.M),AK((!t.d&&(t.d=new hA(brt,t,1)),t.d),n),!!(i=hae(a,t,null))&&i.Ai(),BW(e.a,Qtt,AOe,!0,!1,!0),Rre(LL(sJ(k$(e.a),0),17),e.k,null,uDe,0,-1,Qtt,!1,!1,!0,!0,!1,!1,!1),BW(e.f,ent,OOe,!0,!1,!0),Rre(LL(sJ(k$(e.f),0),17),e.g,LL(sJ(k$(e.g),0),17),"labels",0,-1,ent,!1,!1,!0,!0,!1,!1,!1),W1(LL(sJ(k$(e.f),1),32),e.wb._,cDe,null,0,1,ent,!1,!1,!0,!1,!0,!1),BW(e.n,tnt,"ElkShape",!0,!1,!0),W1(LL(sJ(k$(e.n),0),32),e.wb.t,fDe,WSe,1,1,tnt,!1,!1,!0,!1,!0,!1),W1(LL(sJ(k$(e.n),1),32),e.wb.t,hDe,WSe,1,1,tnt,!1,!1,!0,!1,!0,!1),W1(LL(sJ(k$(e.n),2),32),e.wb.t,"x",WSe,1,1,tnt,!1,!1,!0,!1,!0,!1),W1(LL(sJ(k$(e.n),3),32),e.wb.t,"y",WSe,1,1,tnt,!1,!1,!0,!1,!0,!1),Fre(a=w4(e.n,null,"setDimensions"),e.wb.t,hDe),Fre(a,e.wb.t,fDe),Fre(a=w4(e.n,null,"setLocation"),e.wb.t,"x"),Fre(a,e.wb.t,"y"),BW(e.g,unt,FOe,!1,!1,!0),Rre(LL(sJ(k$(e.g),0),17),e.f,LL(sJ(k$(e.f),0),17),dDe,0,1,unt,!1,!1,!0,!1,!1,!1,!1),W1(LL(sJ(k$(e.g),1),32),e.wb._,pDe,"",0,1,unt,!1,!1,!0,!1,!0,!1),BW(e.c,nnt,DOe,!0,!1,!0),Rre(LL(sJ(k$(e.c),0),17),e.d,LL(sJ(k$(e.d),1),17),"outgoingEdges",0,-1,nnt,!1,!1,!0,!1,!0,!1,!1),Rre(LL(sJ(k$(e.c),1),17),e.d,LL(sJ(k$(e.d),2),17),"incomingEdges",0,-1,nnt,!1,!1,!0,!1,!0,!1,!1),BW(e.i,cnt,zOe,!1,!1,!0),Rre(LL(sJ(k$(e.i),0),17),e.j,LL(sJ(k$(e.j),0),17),"ports",0,-1,cnt,!1,!1,!0,!0,!1,!1,!1),Rre(LL(sJ(k$(e.i),1),17),e.i,LL(sJ(k$(e.i),2),17),gDe,0,-1,cnt,!1,!1,!0,!0,!1,!1,!1),Rre(LL(sJ(k$(e.i),2),17),e.i,LL(sJ(k$(e.i),1),17),dDe,0,1,cnt,!1,!1,!0,!1,!1,!1,!1),Rre(LL(sJ(k$(e.i),3),17),e.d,LL(sJ(k$(e.d),0),17),"containedEdges",0,-1,cnt,!1,!1,!0,!0,!1,!1,!1),W1(LL(sJ(k$(e.i),4),32),e.wb.e,mDe,null,0,1,cnt,!0,!0,!1,!1,!0,!0),BW(e.j,fnt,BOe,!1,!1,!0),Rre(LL(sJ(k$(e.j),0),17),e.i,LL(sJ(k$(e.i),0),17),dDe,0,1,fnt,!1,!1,!0,!1,!1,!1,!1),BW(e.d,rnt,ROe,!1,!1,!0),Rre(LL(sJ(k$(e.d),0),17),e.i,LL(sJ(k$(e.i),3),17),"containingNode",0,1,rnt,!1,!1,!0,!1,!1,!1,!1),Rre(LL(sJ(k$(e.d),1),17),e.c,LL(sJ(k$(e.c),0),17),bDe,0,-1,rnt,!1,!1,!0,!1,!0,!1,!1),Rre(LL(sJ(k$(e.d),2),17),e.c,LL(sJ(k$(e.c),1),17),vDe,0,-1,rnt,!1,!1,!0,!1,!0,!1,!1),Rre(LL(sJ(k$(e.d),3),17),e.e,LL(sJ(k$(e.e),5),17),yDe,0,-1,rnt,!1,!1,!0,!0,!1,!1,!1),W1(LL(sJ(k$(e.d),4),32),e.wb.e,"hyperedge",null,0,1,rnt,!0,!0,!1,!1,!0,!0),W1(LL(sJ(k$(e.d),5),32),e.wb.e,mDe,null,0,1,rnt,!0,!0,!1,!1,!0,!0),W1(LL(sJ(k$(e.d),6),32),e.wb.e,"selfloop",null,0,1,rnt,!0,!0,!1,!1,!0,!0),W1(LL(sJ(k$(e.d),7),32),e.wb.e,"connected",null,0,1,rnt,!0,!0,!1,!1,!0,!0),BW(e.b,Jtt,POe,!1,!1,!0),W1(LL(sJ(k$(e.b),0),32),e.wb.t,"x",WSe,1,1,Jtt,!1,!1,!0,!1,!0,!1),W1(LL(sJ(k$(e.b),1),32),e.wb.t,"y",WSe,1,1,Jtt,!1,!1,!0,!1,!0,!1),Fre(a=w4(e.b,null,"set"),e.wb.t,"x"),Fre(a,e.wb.t,"y"),BW(e.e,int,LOe,!1,!1,!0),W1(LL(sJ(k$(e.e),0),32),e.wb.t,"startX",null,0,1,int,!1,!1,!0,!1,!0,!1),W1(LL(sJ(k$(e.e),1),32),e.wb.t,"startY",null,0,1,int,!1,!1,!0,!1,!0,!1),W1(LL(sJ(k$(e.e),2),32),e.wb.t,"endX",null,0,1,int,!1,!1,!0,!1,!0,!1),W1(LL(sJ(k$(e.e),3),32),e.wb.t,"endY",null,0,1,int,!1,!1,!0,!1,!0,!1),Rre(LL(sJ(k$(e.e),4),17),e.b,null,wDe,0,-1,int,!1,!1,!0,!0,!1,!1,!1),Rre(LL(sJ(k$(e.e),5),17),e.d,LL(sJ(k$(e.d),3),17),dDe,0,1,int,!1,!1,!0,!1,!1,!1,!1),Rre(LL(sJ(k$(e.e),6),17),e.c,null,xDe,0,1,int,!1,!1,!0,!1,!0,!1,!1),Rre(LL(sJ(k$(e.e),7),17),e.c,null,_De,0,1,int,!1,!1,!0,!1,!0,!1,!1),Rre(LL(sJ(k$(e.e),8),17),e.e,LL(sJ(k$(e.e),9),17),SDe,0,-1,int,!1,!1,!0,!1,!0,!1,!1),Rre(LL(sJ(k$(e.e),9),17),e.e,LL(sJ(k$(e.e),8),17),kDe,0,-1,int,!1,!1,!0,!1,!0,!1,!1),W1(LL(sJ(k$(e.e),10),32),e.wb._,cDe,null,0,1,int,!1,!1,!0,!1,!0,!1),Fre(a=w4(e.e,null,"setStartLocation"),e.wb.t,"x"),Fre(a,e.wb.t,"y"),Fre(a=w4(e.e,null,"setEndLocation"),e.wb.t,"x"),Fre(a,e.wb.t,"y"),BW(e.k,_je,"ElkPropertyToValueMapEntry",!1,!1,!1),t=BV(e.o),n=new Um,AK((!t.d&&(t.d=new hA(brt,t,1)),t.d),n),Mce(LL(sJ(k$(e.k),0),32),t,"key",_je,!1,!1,!0,!1),W1(LL(sJ(k$(e.k),1),32),e.s,sDe,null,0,1,_je,!1,!1,!0,!1,!0,!1),bV(e.o,D6e,"IProperty",!0),bV(e.s,pje,"PropertyValue",!0),x6(e,oDe))}(e),Dre(e),vG(prt,oDe,e),e)}function Cx(){Cx=S,Srt=function(){var e,t;jbe();try{if(t=LL(toe((QS(),prt),DLe),1913))return t}catch(t){if(!BT(t=v3(t),102))throw Jm(t);e=t,_F((pT(),e))}return new Fl}()}function Ex(){Ex=S,Fit=function(){var e,t;eZ();try{if(t=LL(toe((QS(),prt),cNe),1993))return t}catch(t){if(!BT(t=v3(t),102))throw Jm(t);e=t,_F((pT(),e))}return new Pu}()}function Ix(){var e;Ix=S,zit=bot?LL(Vfe((QS(),prt),cNe),1917):(pM(jit,new Gu),pM(cot,new tc),pM(fot,new hc),pM(hot,new Sc),pM(CFe,new Ic),pM(lw(oat,1),new Mc),pM(oFe,new Tc),pM(lFe,new Ac),pM(CFe,new Au),pM(CFe,new Lu),pM(CFe,new Nu),pM(fFe,new ju),pM(CFe,new Fu),pM(xje,new zu),pM(xje,new Bu),pM(CFe,new Vu),pM(hFe,new $u),pM(CFe,new Hu),pM(CFe,new Wu),pM(CFe,new Uu),pM(CFe,new qu),pM(CFe,new Xu),pM(lw(oat,1),new Yu),pM(CFe,new Ku),pM(CFe,new Zu),pM(xje,new Qu),pM(xje,new Ju),pM(CFe,new ec),pM(gFe,new nc),pM(CFe,new rc),pM(bFe,new ic),pM(CFe,new oc),pM(CFe,new ac),pM(CFe,new sc),pM(CFe,new lc),pM(xje,new uc),pM(xje,new cc),pM(CFe,new fc),pM(CFe,new dc),pM(CFe,new pc),pM(CFe,new gc),pM(CFe,new mc),pM(CFe,new bc),pM(SFe,new vc),pM(CFe,new yc),pM(CFe,new wc),pM(CFe,new xc),pM(SFe,new _c),pM(bFe,new kc),pM(CFe,new Cc),pM(gFe,new Ec),e=LL(BT(CH((QS(),prt),cNe),577)?CH(prt,cNe):new UB,577),bot=!0,function(e){e.N||(e.N=!0,e.b=e3(e,0),L1(e.b,0),L1(e.b,1),L1(e.b,2),e.bb=e3(e,1),L1(e.bb,0),L1(e.bb,1),e.fb=e3(e,2),L1(e.fb,3),L1(e.fb,4),N1(e.fb,5),e.qb=e3(e,3),L1(e.qb,0),N1(e.qb,1),N1(e.qb,2),L1(e.qb,3),L1(e.qb,4),N1(e.qb,5),L1(e.qb,6),e.a=t3(e,4),e.c=t3(e,5),e.d=t3(e,6),e.e=t3(e,7),e.f=t3(e,8),e.g=t3(e,9),e.i=t3(e,10),e.j=t3(e,11),e.k=t3(e,12),e.n=t3(e,13),e.o=t3(e,14),e.p=t3(e,15),e.q=t3(e,16),e.s=t3(e,17),e.r=t3(e,18),e.t=t3(e,19),e.u=t3(e,20),e.v=t3(e,21),e.w=t3(e,22),e.B=t3(e,23),e.A=t3(e,24),e.C=t3(e,25),e.D=t3(e,26),e.F=t3(e,27),e.G=t3(e,28),e.H=t3(e,29),e.J=t3(e,30),e.I=t3(e,31),e.K=t3(e,32),e.M=t3(e,33),e.L=t3(e,34),e.P=t3(e,35),e.Q=t3(e,36),e.R=t3(e,37),e.S=t3(e,38),e.T=t3(e,39),e.U=t3(e,40),e.V=t3(e,41),e.X=t3(e,42),e.W=t3(e,43),e.Y=t3(e,44),e.Z=t3(e,45),e.$=t3(e,46),e._=t3(e,47),e.ab=t3(e,48),e.cb=t3(e,49),e.db=t3(e,50),e.eb=t3(e,51),e.gb=t3(e,52),e.hb=t3(e,53),e.ib=t3(e,54),e.jb=t3(e,55),e.kb=t3(e,56),e.lb=t3(e,57),e.mb=t3(e,58),e.nb=t3(e,59),e.ob=t3(e,60),e.pb=t3(e,61))}(e),function(e){var t;e.O||(e.O=!0,O1(e,"type"),D1(e,"ecore.xml.type"),R1(e,cNe),t=LL(Vfe((QS(),prt),cNe),1917),AK(K$(e.fb),e.b),BW(e.b,jit,"AnyType",!1,!1,!0),W1(LL(sJ(k$(e.b),0),32),e.wb.D,_Le,null,0,-1,jit,!1,!1,!0,!1,!1,!1),W1(LL(sJ(k$(e.b),1),32),e.wb.D,"any",null,0,-1,jit,!0,!0,!0,!1,!1,!0),W1(LL(sJ(k$(e.b),2),32),e.wb.D,"anyAttribute",null,0,-1,jit,!1,!1,!0,!1,!1,!1),BW(e.bb,cot,gNe,!1,!1,!0),W1(LL(sJ(k$(e.bb),0),32),e.gb,"data",null,0,1,cot,!1,!1,!0,!1,!0,!1),W1(LL(sJ(k$(e.bb),1),32),e.gb,LDe,null,1,1,cot,!1,!1,!0,!1,!0,!1),BW(e.fb,fot,mNe,!1,!1,!0),W1(LL(sJ(k$(e.fb),0),32),t.gb,"rawValue",null,0,1,fot,!0,!0,!0,!1,!0,!0),W1(LL(sJ(k$(e.fb),1),32),t.a,sDe,null,0,1,fot,!0,!0,!0,!1,!0,!0),Rre(LL(sJ(k$(e.fb),2),17),e.wb.q,null,"instanceType",1,1,fot,!1,!1,!0,!1,!1,!1,!1),BW(e.qb,hot,bNe,!1,!1,!0),W1(LL(sJ(k$(e.qb),0),32),e.wb.D,_Le,null,0,-1,null,!1,!1,!0,!1,!1,!1),Rre(LL(sJ(k$(e.qb),1),17),e.wb.ab,null,"xMLNSPrefixMap",0,-1,null,!0,!1,!0,!0,!1,!1,!1),Rre(LL(sJ(k$(e.qb),2),17),e.wb.ab,null,"xSISchemaLocation",0,-1,null,!0,!1,!0,!0,!1,!1,!1),W1(LL(sJ(k$(e.qb),3),32),e.gb,"cDATA",null,0,-2,null,!0,!0,!0,!1,!1,!0),W1(LL(sJ(k$(e.qb),4),32),e.gb,"comment",null,0,-2,null,!0,!0,!0,!1,!1,!0),Rre(LL(sJ(k$(e.qb),5),17),e.bb,null,HNe,0,-2,null,!0,!0,!0,!0,!1,!1,!0),W1(LL(sJ(k$(e.qb),6),32),e.gb,pDe,null,0,-2,null,!0,!0,!0,!1,!1,!0),bV(e.a,pje,"AnySimpleType",!0),bV(e.c,CFe,"AnyURI",!0),bV(e.d,lw(oat,1),"Base64Binary",!0),bV(e.e,rat,"Boolean",!0),bV(e.f,oFe,"BooleanObject",!0),bV(e.g,oat,"Byte",!0),bV(e.i,lFe,"ByteObject",!0),bV(e.j,CFe,"Date",!0),bV(e.k,CFe,"DateTime",!0),bV(e.n,VFe,"Decimal",!0),bV(e.o,aat,"Double",!0),bV(e.p,fFe,"DoubleObject",!0),bV(e.q,CFe,"Duration",!0),bV(e.s,xje,"ENTITIES",!0),bV(e.r,xje,"ENTITIESBase",!0),bV(e.t,CFe,SNe,!0),bV(e.u,sat,"Float",!0),bV(e.v,hFe,"FloatObject",!0),bV(e.w,CFe,"GDay",!0),bV(e.B,CFe,"GMonth",!0),bV(e.A,CFe,"GMonthDay",!0),bV(e.C,CFe,"GYear",!0),bV(e.D,CFe,"GYearMonth",!0),bV(e.F,lw(oat,1),"HexBinary",!0),bV(e.G,CFe,"ID",!0),bV(e.H,CFe,"IDREF",!0),bV(e.J,xje,"IDREFS",!0),bV(e.I,xje,"IDREFSBase",!0),bV(e.K,nat,"Int",!0),bV(e.M,UFe,"Integer",!0),bV(e.L,gFe,"IntObject",!0),bV(e.P,CFe,"Language",!0),bV(e.Q,iat,"Long",!0),bV(e.R,bFe,"LongObject",!0),bV(e.S,CFe,"Name",!0),bV(e.T,CFe,kNe,!0),bV(e.U,UFe,"NegativeInteger",!0),bV(e.V,CFe,RNe,!0),bV(e.X,xje,"NMTOKENS",!0),bV(e.W,xje,"NMTOKENSBase",!0),bV(e.Y,UFe,"NonNegativeInteger",!0),bV(e.Z,UFe,"NonPositiveInteger",!0),bV(e.$,CFe,"NormalizedString",!0),bV(e._,CFe,"NOTATION",!0),bV(e.ab,CFe,"PositiveInteger",!0),bV(e.cb,CFe,"QName",!0),bV(e.db,lat,"Short",!0),bV(e.eb,SFe,"ShortObject",!0),bV(e.gb,CFe,$_e,!0),bV(e.hb,CFe,"Time",!0),bV(e.ib,CFe,"Token",!0),bV(e.jb,lat,"UnsignedByte",!0),bV(e.kb,SFe,"UnsignedByteObject",!0),bV(e.lb,iat,"UnsignedInt",!0),bV(e.mb,bFe,"UnsignedIntObject",!0),bV(e.nb,UFe,"UnsignedLong",!0),bV(e.ob,nat,"UnsignedShort",!0),bV(e.pb,gFe,"UnsignedShortObject",!0),x6(e,cNe),function(e){Kfe(e.a,SLe,q3(lw(CFe,1),s_e,2,6,[zDe,"anySimpleType"])),Kfe(e.b,SLe,q3(lw(CFe,1),s_e,2,6,[zDe,"anyType",kLe,_Le])),Kfe(LL(sJ(k$(e.b),0),32),SLe,q3(lw(CFe,1),s_e,2,6,[kLe,rNe,zDe,":mixed"])),Kfe(LL(sJ(k$(e.b),1),32),SLe,q3(lw(CFe,1),s_e,2,6,[kLe,rNe,uNe,fNe,zDe,":1",wNe,"lax"])),Kfe(LL(sJ(k$(e.b),2),32),SLe,q3(lw(CFe,1),s_e,2,6,[kLe,tNe,uNe,fNe,zDe,":2",wNe,"lax"])),Kfe(e.c,SLe,q3(lw(CFe,1),s_e,2,6,[zDe,"anyURI",lNe,iNe])),Kfe(e.d,SLe,q3(lw(CFe,1),s_e,2,6,[zDe,"base64Binary",lNe,iNe])),Kfe(e.e,SLe,q3(lw(CFe,1),s_e,2,6,[zDe,Txe,lNe,iNe])),Kfe(e.f,SLe,q3(lw(CFe,1),s_e,2,6,[zDe,"boolean:Object",NLe,Txe])),Kfe(e.g,SLe,q3(lw(CFe,1),s_e,2,6,[zDe,cLe])),Kfe(e.i,SLe,q3(lw(CFe,1),s_e,2,6,[zDe,"byte:Object",NLe,cLe])),Kfe(e.j,SLe,q3(lw(CFe,1),s_e,2,6,[zDe,"date",lNe,iNe])),Kfe(e.k,SLe,q3(lw(CFe,1),s_e,2,6,[zDe,"dateTime",lNe,iNe])),Kfe(e.n,SLe,q3(lw(CFe,1),s_e,2,6,[zDe,"decimal",lNe,iNe])),Kfe(e.o,SLe,q3(lw(CFe,1),s_e,2,6,[zDe,hLe,lNe,iNe])),Kfe(e.p,SLe,q3(lw(CFe,1),s_e,2,6,[zDe,"double:Object",NLe,hLe])),Kfe(e.q,SLe,q3(lw(CFe,1),s_e,2,6,[zDe,"duration",lNe,iNe])),Kfe(e.s,SLe,q3(lw(CFe,1),s_e,2,6,[zDe,"ENTITIES",NLe,xNe,_Ne,"1"])),Kfe(e.r,SLe,q3(lw(CFe,1),s_e,2,6,[zDe,xNe,oNe,SNe])),Kfe(e.t,SLe,q3(lw(CFe,1),s_e,2,6,[zDe,SNe,NLe,kNe])),Kfe(e.u,SLe,q3(lw(CFe,1),s_e,2,6,[zDe,dLe,lNe,iNe])),Kfe(e.v,SLe,q3(lw(CFe,1),s_e,2,6,[zDe,"float:Object",NLe,dLe])),Kfe(e.w,SLe,q3(lw(CFe,1),s_e,2,6,[zDe,"gDay",lNe,iNe])),Kfe(e.B,SLe,q3(lw(CFe,1),s_e,2,6,[zDe,"gMonth",lNe,iNe])),Kfe(e.A,SLe,q3(lw(CFe,1),s_e,2,6,[zDe,"gMonthDay",lNe,iNe])),Kfe(e.C,SLe,q3(lw(CFe,1),s_e,2,6,[zDe,"gYear",lNe,iNe])),Kfe(e.D,SLe,q3(lw(CFe,1),s_e,2,6,[zDe,"gYearMonth",lNe,iNe])),Kfe(e.F,SLe,q3(lw(CFe,1),s_e,2,6,[zDe,"hexBinary",lNe,iNe])),Kfe(e.G,SLe,q3(lw(CFe,1),s_e,2,6,[zDe,"ID",NLe,kNe])),Kfe(e.H,SLe,q3(lw(CFe,1),s_e,2,6,[zDe,"IDREF",NLe,kNe])),Kfe(e.J,SLe,q3(lw(CFe,1),s_e,2,6,[zDe,"IDREFS",NLe,CNe,_Ne,"1"])),Kfe(e.I,SLe,q3(lw(CFe,1),s_e,2,6,[zDe,CNe,oNe,"IDREF"])),Kfe(e.K,SLe,q3(lw(CFe,1),s_e,2,6,[zDe,pLe])),Kfe(e.M,SLe,q3(lw(CFe,1),s_e,2,6,[zDe,ENe])),Kfe(e.L,SLe,q3(lw(CFe,1),s_e,2,6,[zDe,"int:Object",NLe,pLe])),Kfe(e.P,SLe,q3(lw(CFe,1),s_e,2,6,[zDe,"language",NLe,INe,MNe,TNe])),Kfe(e.Q,SLe,q3(lw(CFe,1),s_e,2,6,[zDe,gLe])),Kfe(e.R,SLe,q3(lw(CFe,1),s_e,2,6,[zDe,"long:Object",NLe,gLe])),Kfe(e.S,SLe,q3(lw(CFe,1),s_e,2,6,[zDe,"Name",NLe,INe,MNe,ANe])),Kfe(e.T,SLe,q3(lw(CFe,1),s_e,2,6,[zDe,kNe,NLe,"Name",MNe,PNe])),Kfe(e.U,SLe,q3(lw(CFe,1),s_e,2,6,[zDe,"negativeInteger",NLe,ONe,DNe,"-1"])),Kfe(e.V,SLe,q3(lw(CFe,1),s_e,2,6,[zDe,RNe,NLe,INe,MNe,"\\c+"])),Kfe(e.X,SLe,q3(lw(CFe,1),s_e,2,6,[zDe,"NMTOKENS",NLe,LNe,_Ne,"1"])),Kfe(e.W,SLe,q3(lw(CFe,1),s_e,2,6,[zDe,LNe,oNe,RNe])),Kfe(e.Y,SLe,q3(lw(CFe,1),s_e,2,6,[zDe,NNe,NLe,ENe,jNe,"0"])),Kfe(e.Z,SLe,q3(lw(CFe,1),s_e,2,6,[zDe,ONe,NLe,ENe,DNe,"0"])),Kfe(e.$,SLe,q3(lw(CFe,1),s_e,2,6,[zDe,FNe,NLe,Pxe,lNe,"replace"])),Kfe(e._,SLe,q3(lw(CFe,1),s_e,2,6,[zDe,"NOTATION",lNe,iNe])),Kfe(e.ab,SLe,q3(lw(CFe,1),s_e,2,6,[zDe,"positiveInteger",NLe,NNe,jNe,"1"])),Kfe(e.bb,SLe,q3(lw(CFe,1),s_e,2,6,[zDe,"processingInstruction_._type",kLe,"empty"])),Kfe(LL(sJ(k$(e.bb),0),32),SLe,q3(lw(CFe,1),s_e,2,6,[kLe,eNe,zDe,"data"])),Kfe(LL(sJ(k$(e.bb),1),32),SLe,q3(lw(CFe,1),s_e,2,6,[kLe,eNe,zDe,LDe])),Kfe(e.cb,SLe,q3(lw(CFe,1),s_e,2,6,[zDe,"QName",lNe,iNe])),Kfe(e.db,SLe,q3(lw(CFe,1),s_e,2,6,[zDe,mLe])),Kfe(e.eb,SLe,q3(lw(CFe,1),s_e,2,6,[zDe,"short:Object",NLe,mLe])),Kfe(e.fb,SLe,q3(lw(CFe,1),s_e,2,6,[zDe,"simpleAnyType",kLe,JLe])),Kfe(LL(sJ(k$(e.fb),0),32),SLe,q3(lw(CFe,1),s_e,2,6,[zDe,":3",kLe,JLe])),Kfe(LL(sJ(k$(e.fb),1),32),SLe,q3(lw(CFe,1),s_e,2,6,[zDe,":4",kLe,JLe])),Kfe(LL(sJ(k$(e.fb),2),17),SLe,q3(lw(CFe,1),s_e,2,6,[zDe,":5",kLe,JLe])),Kfe(e.gb,SLe,q3(lw(CFe,1),s_e,2,6,[zDe,Pxe,lNe,"preserve"])),Kfe(e.hb,SLe,q3(lw(CFe,1),s_e,2,6,[zDe,"time",lNe,iNe])),Kfe(e.ib,SLe,q3(lw(CFe,1),s_e,2,6,[zDe,INe,NLe,FNe,lNe,iNe])),Kfe(e.jb,SLe,q3(lw(CFe,1),s_e,2,6,[zDe,zNe,DNe,"255",jNe,"0"])),Kfe(e.kb,SLe,q3(lw(CFe,1),s_e,2,6,[zDe,"unsignedByte:Object",NLe,zNe])),Kfe(e.lb,SLe,q3(lw(CFe,1),s_e,2,6,[zDe,BNe,DNe,"4294967295",jNe,"0"])),Kfe(e.mb,SLe,q3(lw(CFe,1),s_e,2,6,[zDe,"unsignedInt:Object",NLe,BNe])),Kfe(e.nb,SLe,q3(lw(CFe,1),s_e,2,6,[zDe,"unsignedLong",NLe,NNe,DNe,VNe,jNe,"0"])),Kfe(e.ob,SLe,q3(lw(CFe,1),s_e,2,6,[zDe,$Ne,DNe,"65535",jNe,"0"])),Kfe(e.pb,SLe,q3(lw(CFe,1),s_e,2,6,[zDe,"unsignedShort:Object",NLe,$Ne])),Kfe(e.qb,SLe,q3(lw(CFe,1),s_e,2,6,[zDe,"",kLe,_Le])),Kfe(LL(sJ(k$(e.qb),0),32),SLe,q3(lw(CFe,1),s_e,2,6,[kLe,rNe,zDe,":mixed"])),Kfe(LL(sJ(k$(e.qb),1),17),SLe,q3(lw(CFe,1),s_e,2,6,[kLe,eNe,zDe,"xmlns:prefix"])),Kfe(LL(sJ(k$(e.qb),2),17),SLe,q3(lw(CFe,1),s_e,2,6,[kLe,eNe,zDe,"xsi:schemaLocation"])),Kfe(LL(sJ(k$(e.qb),3),32),SLe,q3(lw(CFe,1),s_e,2,6,[kLe,nNe,zDe,"cDATA",aNe,sNe])),Kfe(LL(sJ(k$(e.qb),4),32),SLe,q3(lw(CFe,1),s_e,2,6,[kLe,nNe,zDe,"comment",aNe,sNe])),Kfe(LL(sJ(k$(e.qb),5),17),SLe,q3(lw(CFe,1),s_e,2,6,[kLe,nNe,zDe,HNe,aNe,sNe])),Kfe(LL(sJ(k$(e.qb),6),32),SLe,q3(lw(CFe,1),s_e,2,6,[kLe,nNe,zDe,pDe,aNe,sNe]))}(e))}(e),eV((JS(),_rt),e,new Ru),Dre(e),vG(prt,cNe,e),e)}function Mx(){Mx=S,Nnt=C0()}function Tx(e,t){e.b=0,t0(e,t)}function Ax(e,t){for(;e.sd(t););}function Px(e,t){return E6(e.b,t)}function Ox(e,t){return T4(e,t)>0}function Dx(e,t){return T4(e,t)<0}function Rx(e){return e.l|e.m<<22}function Lx(e){return e.e&&e.e()}function Nx(e){return e?e.d:null}function jx(e){return e.b!=e.d.c}function Fx(e){return FO(e),e.o}function zx(e){return NB(e),e.a}function Bx(e,t){return e.a+=t,e}function Vx(e,t){return e.a+=t,e}function $x(e,t){return e.a+=t,e}function Hx(e,t){return e.a+=t,e}function Gx(e,t,n){e.splice(t,n)}function Wx(e,t){for(;e.ye(t););}function Ux(e,t){return e.d[t.p]}function qx(e){this.a=new oS(e)}function Xx(e){this.a=new wF(e)}function Yx(){this.a=new Fhe(F3e)}function Kx(){this.b=new Fhe(D2e)}function Zx(){this.b=new Fhe(y4e)}function Qx(){this.b=new Fhe(y4e)}function Jx(e){this.a=new n_(e)}function e_(e){this.a=0,this.b=e}function t_(e){lwe(),function(e,t){var n,r,i,o,a,s,l,u;if(n=0,a=0,o=t.length,s=null,u=new gw,a<o&&(TG(a,t.length),43==t.charCodeAt(a))&&(++n,++a<o&&(TG(a,t.length),43==t.charCodeAt(a)||(TG(a,t.length),45==t.charCodeAt(a)))))throw Jm(new fw(DSe+t+'"'));for(;a<o&&(TG(a,t.length),46!=t.charCodeAt(a))&&(TG(a,t.length),101!=t.charCodeAt(a))&&(TG(a,t.length),69!=t.charCodeAt(a));)++a;if(u.a+=""+zP(null==t?$xe:(wB(t),t),n,a),a<o&&(TG(a,t.length),46==t.charCodeAt(a))){for(n=++a;a<o&&(TG(a,t.length),101!=t.charCodeAt(a))&&(TG(a,t.length),69!=t.charCodeAt(a));)++a;e.e=a-n,u.a+=""+zP(null==t?$xe:(wB(t),t),n,a)}else e.e=0;if(a<o&&(TG(a,t.length),101==t.charCodeAt(a)||(TG(a,t.length),69==t.charCodeAt(a)))&&(n=++a,a<o&&(TG(a,t.length),43==t.charCodeAt(a))&&++a<o&&(TG(a,t.length),45!=t.charCodeAt(a))&&++n,s=t.substr(n,o-n),e.e=e.e-Hge(s,F_e,Dxe),e.e!=IH(e.e)))throw Jm(new fw("Scale out of range."));if((l=u.a).length<16){if(e.f=(null==RFe&&(RFe=new RegExp("^[+-]?\\d*$","i")),RFe.test(l)?parseInt(l,10):NaN),isNaN(e.f))throw Jm(new fw(DSe+t+'"'));e.a=Sue(e.f)}else!function(e,t){var n;e.c=t,e.a=function(e){var t,n;if(0==e.e)return 0;t=e.d<<5,n=e.a[e.d-1],e.e<0&&g2(e)==e.d-1&&(--n,n|=0);return t-=Jue(n)}(t),e.a<54&&(e.f=(n=t.d>1?kH(xN(t.a[1],32),SH(t.a[0],HSe)):SH(t.a[0],HSe),GW(a8(t.e,n))))}(e,new eT(l));for(e.d=u.a.length,i=0;i<u.a.length&&(45==(r=dV(u.a,i))||48==r);++i)--e.d;0==e.d&&(e.d=1)}(this,e)}function n_(e){!function(e,t,n){var r;e.b=t,e.a=n,r=512==(512&e.a)?new Nv:new Pc,e.c=function(e,t,n){var r,i,o;if(e.e=n,e.d=0,e.b=0,e.f=1,e.i=t,16==(16&e.e)&&(e.i=function(e){var t,n,r,i,o;r=e.length,t=new dw,o=0;for(;o<r;)if(9!=(n=dV(e,o++))&&10!=n&&12!=n&&13!=n&&32!=n)if(35!=n)92==n&&o<r?35==(TG(o,e.length),i=e.charCodeAt(o))||9==i||10==i||12==i||13==i||32==i?(rB(t,i&X_e),++o):(t.a+="\\",rB(t,i&X_e),++o):rB(t,n&X_e);else for(;o<r&&13!=(n=dV(e,o++))&&10!=n;);return t.a}(e.i)),e.j=e.i.length,ixe(e),o=cee(e),e.d!=e.j)throw Jm(new Zy(wxe((pT(),ZDe))));if(e.g){for(r=0;r<e.g.a.c.length;r++)if(i=LL(zB(e.g,r),575),e.f<=i.a)throw Jm(new Zy(wxe((pT(),QDe))));e.g.a.c=fK(pje,zxe,1,0,5,1)}return o}(r,e.b,e.a)}(this,e,function(){var e,t,n;for(t=0,e=0;e<"X".length;e++){if(0==(n=jce((TG(e,"X".length),"X".charCodeAt(e)))))throw Jm(new Zy("Unknown Option: "+"X".substr(e)));t|=n}return t}())}function r_(e){return!e||CB(e)}function i_(e,t){return function(e,t){var n,r;if(f5(),n=OX(C0(),t.og())){if(r=n.j,BT(e,238))return function(e){return!e.a&&(e.a=new FF(cnt,e,10,11)),e.a.i>0}(LL(e,34))?aP(r,(dte(),N6e))||aP(r,j6e):aP(r,(dte(),N6e));if(BT(e,349))return aP(r,(dte(),R6e));if(BT(e,199))return aP(r,(dte(),F6e));if(BT(e,351))return aP(r,(dte(),L6e))}return!0}(e,t)}function o_(e,t){CA.call(this,e,t)}function a_(e,t){o_.call(this,e,t)}function s_(e,t){this.b=e,this.c=t}function l_(e,t){this.e=e,this.d=t}function u_(e,t){this.a=e,this.b=t}function c_(e,t){this.a=e,this.b=t}function f_(e,t){this.a=e,this.b=t}function h_(e,t){this.a=e,this.b=t}function d_(e,t){this.a=e,this.b=t}function p_(e,t){this.a=e,this.b=t}function g_(e,t){this.a=e,this.b=t}function m_(e,t){this.b=e,this.a=t}function b_(e,t){this.b=e,this.a=t}function v_(e,t){this.b=e,this.a=t}function y_(e,t){this.b=e,this.a=t}function w_(e,t){this.b=e,this.a=t}function x_(e,t){this.a=e,this.b=t}function __(e,t){this.g=e,this.i=t}function S_(e,t){this.f=e,this.g=t}function k_(e,t){this.a=e,this.b=t}function C_(e,t){this.a=e,this.f=t}function E_(e){YT(e.dc()),this.c=e}function I_(e){e.c?upe(e):cpe(e)}function M_(){null==kxe&&(kxe=[])}function T_(e){this.b=LL(wz(e),84)}function A_(e){this.a=LL(wz(e),84)}function P_(e){this.a=LL(wz(e),14)}function O_(e){this.a=LL(wz(e),14)}function D_(e){this.b=LL(wz(e),49)}function R_(e,t){this.b=e,this.c=t}function L_(e,t){this.a=e,this.b=t}function N_(e,t){this.a=e,this.b=t}function j_(e,t){this.a=e,this.b=t}function F_(e,t){return KF(e.b,t)}function z_(e,t){return 0==T4(e,t)}function B_(e,t){return 0!=T4(e,t)}function V_(e,t){return e>t&&t<M_e}function $_(e,t){return e.b.Fc(t)}function H_(e,t){return e.b.Gc(t)}function G_(e,t){return e.b.Oc(t)}function W_(e,t){return e.b.Fc(t)}function U_(e,t){return e.c.sc(t)}function q_(e,t){return l8(e.c,t)}function X_(e,t){return e.a._b(t)}function Y_(e){return e.f.c+e.g.c}function K_(e){return-1!=vot[e]}function Z_(e){return Vz(),e?Xje:qje}function Q_(){Q_=S,EFe=new k}function J_(){J_=S,ZFe=new O}function eS(){eS=S,fze=new sM}function tS(){tS=S,hze=new aM}function nS(){nS=S,Cze=new Q}function rS(){wF.call(this,null)}function iS(){vK.call(this,null)}function oS(e){v5.call(this,e,0)}function aS(e){this.c=e,_Q(this)}function sS(){QT(this),s$(this)}function lS(e,t){NB(e),e.a.Nb(t)}function uS(e,t){return e.Ec(t),e}function cS(e,t){return e.a.f=t,e}function fS(e,t){return e.a.d=t,e}function hS(e,t){return e.a.g=t,e}function dS(e,t){return e.a.j=t,e}function pS(e,t){return e.a.a=t,e}function gS(e,t){return e.a.d=t,e}function mS(e,t){return e.a.e=t,e}function bS(e,t){return e.a.g=t,e}function vS(e,t){return e.a.f=t,e}function yS(){yS=S,yHe=new St}function wS(){wS=S,SHe=new qj}function xS(){xS=S,Fze=new se}function _S(){_S=S,qze=new he}function SS(){SS=S,FHe=new xt}function kS(){kS=S,$Ve=new qP}function CS(){CS=S,bHe=new bt}function ES(){ES=S,BHe=new Rt}function IS(){IS=S,lGe=new un}function MS(){MS=S,xWe=new qn}function TS(){TS=S,sGe=new hx}function AS(){AS=S,LWe=new Ti}function PS(){PS=S,bUe=new eo}function OS(){OS=S,UJe=new Gs}function DS(){DS=S,D3e=new wU}function RS(){RS=S,w4e=new zS}function LS(){b1(),this.c=new Jy}function NS(){NS=S,_4e=new cO}function jS(){jS=S,b6e=new qB}function FS(){0!=Bje&&(Bje=0),$je=-1}function zS(){S_.call(this,OIe,0)}function BS(e,t,n,r){!function(e,t,n,r){var i,o,a,s,l,u;for(a=e.j.c.length,l=fK(BBe,tCe,304,a,0,1),s=0;s<a;s++)(o=LL(JN(e.j,s),11)).p=s,l[s]=Bue(efe(o),n,r);for(function(e,t,n,r,i){var o,a,s,l;for(o=LL(Lx(att),9),l=new WR(o,LL(wD(o,o.length),9),0),s=new td(e.j);s.a<s.c.c.length;)t[(a=LL(xW(s),11)).p]&&(xwe(a,t[a.p],r),c1(l,a.j));i?(Poe(e,t,(hwe(),Oet),2*n,r),Poe(e,t,Qet,2*n,r)):(Poe(e,t,(hwe(),Det),2*n,r),Poe(e,t,Ket,2*n,r))}(e,l,n,t,r),u=new Hm,i=0;i<l.length;i++)l[i]&&eV(u,LL(JN(e.j,i),11),l[i]);u.f.c+u.g.c!=0&&(S5(e,(hxe(),lXe),u),function(e,t){var n,r,i,o,a,s,l;for(a=e.d,l=e.o,s=new jV(-a.b,-a.d,a.b+l.a+a.c,a.d+l.b+a.a),i=0,o=(r=t).length;i<o;++i)(n=r[i])&&ble(s,n.i);a.b=-s.c,a.d=-s.d,a.c=s.b-a.b-l.a,a.a=s.a-a.d-l.b}(e,l))}(r,e,t,n)}function VS(e,t,n,i){!function(e,t,n,i){var o,a,s,l,u,c,f,h,d,p,g;if(d=Oy($O(Fae(e,(Kwe(),IJe)))),h=Oy($O(Fae(e,CJe))),l=e.o,a=LL(JN(e.j,0),11),s=a.n,g=function(e,t){var n,i,o;if(0==e.f.c.length)return null;for(o=new YM,n=new td(e.f);n.a<n.c.c.length;)i=LL(xW(n),69).o,o.b=r.Math.max(o.b,i.a),o.a+=i.b;return o.a+=(e.f.c.length-1)*t,o}(a,h),!g)return;if(t.Fc((iae(),Eet)))switch(LL(Fae(e,(hxe(),dXe)),61).g){case 1:g.c=(l.a-g.b)/2-s.a,g.d=d;break;case 3:g.c=(l.a-g.b)/2-s.a,g.d=-d-g.a;break;case 2:n&&0==a.e.c.length&&0==a.g.c.length?(f=i?g.a:LL(JN(a.f,0),69).o.b,g.d=(l.b-f)/2-s.b):g.d=l.b+d-s.b,g.c=-d-g.b;break;case 4:n&&0==a.e.c.length&&0==a.g.c.length?(f=i?g.a:LL(JN(a.f,0),69).o.b,g.d=(l.b-f)/2-s.b):g.d=l.b+d-s.b,g.c=d}else if(t.Fc(Met))switch(LL(Fae(e,(hxe(),dXe)),61).g){case 1:case 3:g.c=s.a+d;break;case 2:case 4:n&&!a.c?(f=i?g.a:LL(JN(a.f,0),69).o.b,g.d=(l.b-f)/2-s.b):g.d=s.b+d}for(o=g.d,c=new td(a.f);c.a<c.c.c.length;)(p=(u=LL(xW(c),69)).n).a=g.c,p.b=o,o+=u.o.b+h}(i,e,t,n)}function $S(e,t,n,r){!function(e,t,n,r){var i,o;if(o=t.Ye((fxe(),l9e))?LL(t.Xe(l9e),21):e.j,i=function(e){var t,n,r,i;for(mxe(),n=fte(),r=0,i=n.length;r<i;++r)if(-1!=vZ((t=n[r]).a,e,0))return t;return dVe}(o),i==(mxe(),dVe))return;if(n&&!gee(i))return;Gse(function(e,t,n){var r,i,o;if(!(i=LL(fV(e.i,t),304)))if(i=new qQ(e.d,t,n),Tj(e.i,t,i),gee(t))!function(e,t,n,r){nB(e.a[t.g],n.g,r)}(e.a,t.c,t.b,i);else switch(o=function(e){switch(e.g){case 0:case 1:case 2:return hwe(),Det;case 3:case 4:case 5:return hwe(),Ket;case 6:case 7:case 8:return hwe(),Qet;case 9:case 10:case 11:return hwe(),Oet;default:return hwe(),Zet}}(t),r=LL(fV(e.p,o),243),o.g){case 1:case 3:i.j=!0,gy(r,t.b,i);break;case 4:case 2:i.k=!0,gy(r,t.c,i)}return i}(e,i,r),t)}(e,r,t,n)}function HS(e,t,n){vG(e.d,t.f,n)}function GS(e,t){ste(e.c.b,t.c,t)}function WS(e,t){ste(e.c.c,t.b,t)}function US(e,t){return function(e,t){var n,i,o;if(i=new ok,o=new M5(i.q.getFullYear()-o_e,i.q.getMonth(),i.q.getDate()),n=function(e,t,n){var i,o,a,s,l,u,c,f,h;for(s=new Tie,c=q3(lw(nat,1),sSe,24,15,[0]),o=-1,a=0,i=0,u=0;u<e.b.c.length;++u){if(!((f=LL(JN(e.b,u),427)).b>0)){if(o=-1,32==dV(f.c,0)){if(h=c[0],VZ(t,c),c[0]>h)continue}else if(tH(t,f.c,c[0])){c[0]+=f.c.length;continue}return 0}if(o<0&&f.a&&(o=u,a=c[0],i=0),o>=0){if(l=f.b,u==o&&0==(l-=i++))return 0;if(!bwe(t,c,f,l,s)){u=o-1,c[0]=a;continue}}else if(o=-1,!bwe(t,c,f,0,s))return 0}if(!function(e,t){var n,i,o,a,s,l;0==e.e&&e.p>0&&(e.p=-(e.p-1)),e.p>F_e&&hq(t,e.p-o_e),s=t.q.getDate(),FH(t,1),e.k>=0&&function(e,t){var n;n=e.q.getHours(),e.q.setMonth(t),gbe(e,n)}(t,e.k),e.c>=0?FH(t,e.c):e.k>=0?(i=35-new M5(t.q.getFullYear()-o_e,t.q.getMonth(),35).q.getDate(),FH(t,r.Math.min(i,s))):FH(t,s);e.f<0&&(e.f=t.q.getHours()),e.b>0&&e.f<12&&(e.f+=12),function(e,t){e.q.setHours(t),gbe(e,t)}(t,24==e.f&&e.g?0:e.f),e.j>=0&&function(e,t){var n;n=e.q.getHours()+(t/60|0),e.q.setMinutes(t),gbe(e,n)}(t,e.j),e.n>=0&&function(e,t){var n;n=e.q.getHours()+(t/3600|0),e.q.setSeconds(t),gbe(e,n)}(t,e.n),e.i>=0&&tM(t,o8(a8(hie(I2(t.q.getTime()),D_e),D_e),e.i)),e.a&&(hq(o=new ok,o.q.getFullYear()-o_e-80),Dx(I2(t.q.getTime()),I2(o.q.getTime()))&&hq(t,o.q.getFullYear()-o_e+100));if(e.d>=0)if(-1==e.c)(n=(7+e.d-t.q.getDay())%7)>3&&(n-=7),l=t.q.getMonth(),FH(t,t.q.getDate()+n),t.q.getMonth()!=l&&FH(t,t.q.getDate()+(n>0?-7:7));else if(t.q.getDay()!=e.d)return!1;e.o>F_e&&(a=t.q.getTimezoneOffset(),tM(t,o8(I2(t.q.getTime()),60*(e.o-a)*D_e)));return!0}(s,n))return 0;return c[0]}(e,t,o),0==n||n<t.length)throw Jm(new Ny(t));return o}(e.a,t)}function qS(){qS=S,iit=new WT}function XS(){XS=S,oit=new UT}function YS(){YS=S,hnt=new pl}function KS(){KS=S,art=new Sv}function ZS(){ZS=S,xrt=new kv}function QS(){QS=S,prt=new Av}function JS(){JS=S,_rt=new Ov}function ek(){ek=S,Mit=new Tu}function tk(){tk=S,Ait=new Ou}function nk(){nk=S,$nt=new Hm}function rk(){rk=S,vit=new $m}function ik(){ik=S,Qot=new Dc}function ok(){this.q=new r.Date}function ak(e){this.a=LL(wz(e),222)}function sk(e,t){this.d=e,this.e=t}function lk(e,t){cG.call(this,e,t)}function uk(e){VB(),_R.call(this,e)}function ck(e,t){return e.a.get(t)}function fk(e,t){return KF(e.e,t)}function hk(e,t){return Nj(e.a,t)}function dk(e){return wB(e),!1}function pk(e){return e.b<e.d.gc()}function gk(e,t){Dj(e,e.length,t)}function mk(e,t){Dz(e,e.length,t)}function bk(e,t){S_.call(this,e,t)}function vk(e,t){S_.call(this,e,t)}function yk(e){ZG.call(this,e,21)}function wk(e,t){this.b=e,this.a=t}function xk(e,t){this.a=e,this.b=t}function _k(e,t){this.a=e,this.b=t}function Sk(e,t){this.a=e,this.b=t}function kk(e,t){this.a=e,this.b=t}function Ck(e,t){this.a=e,this.b=t}function Ek(e,t){this.b=e,this.a=t}function Ik(e,t){this.b=e,this.a=t}function Mk(e,t){S_.call(this,e,t)}function Tk(e,t){S_.call(this,e,t)}function Ak(e,t){S_.call(this,e,t)}function Pk(e,t){S_.call(this,e,t)}function Ok(e,t){S_.call(this,e,t)}function Dk(e,t){S_.call(this,e,t)}function Rk(e,t){S_.call(this,e,t)}function Lk(e,t){S_.call(this,e,t)}function Nk(e,t){this.b=e,this.a=t}function jk(e,t){this.b=e,this.a=t}function Fk(e,t){S_.call(this,e,t)}function zk(e,t){S_.call(this,e,t)}function Bk(e,t){S_.call(this,e,t)}function Vk(e,t){S_.call(this,e,t)}function $k(){return Lw(),new oze}function Hk(e){return function(e,t){var n,r,i;for(n=new td(e.a.a);n.a<n.c.c.length;)LL(xW(n),189).g=!0;for(i=new td(e.a.b);i.a<i.c.c.length;)(r=LL(xW(i),79)).k=Ty(VO(e.e.Kb(new KE(r,t)))),r.d.g=r.d.g&Ty(VO(e.e.Kb(new KE(r,t))))}(e,e.c),e}function Gk(e,t){return e.a=t.g,e}function Wk(e,t){this.b=e,this.a=t}function Uk(e,t){this.c=e,this.d=t}function qk(e,t){this.e=e,this.d=t}function Xk(e,t){this.a=e,this.b=t}function Yk(e,t){S_.call(this,e,t)}function Kk(e,t){S_.call(this,e,t)}function Zk(e,t){S_.call(this,e,t)}function Qk(e,t){S_.call(this,e,t)}function Jk(e,t){S_.call(this,e,t)}function eC(e,t){this.a=e,this.b=t}function tC(e,t){this.a=e,this.b=t}function nC(e,t){this.a=e,this.b=t}function rC(e,t){this.a=e,this.b=t}function iC(e,t){this.a=e,this.b=t}function oC(e,t){this.a=e,this.b=t}function aC(e,t){this.a=e,this.b=t}function sC(e,t){this.a=e,this.b=t}function lC(e,t){this.b=e,this.a=t}function uC(e,t){this.b=e,this.a=t}function cC(e,t){this.b=e,this.a=t}function fC(e,t){this.b=t,this.c=e}function hC(e,t){this.b=e,this.a=t}function dC(e,t){this.a=e,this.b=t}function pC(e,t){S_.call(this,e,t)}function gC(e,t){S_.call(this,e,t)}function mC(e,t){S_.call(this,e,t)}function bC(e,t){S_.call(this,e,t)}function vC(e,t){S_.call(this,e,t)}function yC(e,t){S_.call(this,e,t)}function wC(e,t){S_.call(this,e,t)}function xC(e,t){S_.call(this,e,t)}function _C(e,t){S_.call(this,e,t)}function SC(e,t){S_.call(this,e,t)}function kC(e,t){S_.call(this,e,t)}function CC(e,t){S_.call(this,e,t)}function EC(e,t){S_.call(this,e,t)}function IC(e,t){S_.call(this,e,t)}function MC(e,t){S_.call(this,e,t)}function TC(e,t){S_.call(this,e,t)}function AC(e,t){S_.call(this,e,t)}function PC(e,t){S_.call(this,e,t)}function OC(e,t){S_.call(this,e,t)}function DC(e,t){S_.call(this,e,t)}function RC(e,t){S_.call(this,e,t)}function LC(e,t){S_.call(this,e,t)}function NC(e,t){S_.call(this,e,t)}function jC(e,t){S_.call(this,e,t)}function FC(e,t){S_.call(this,e,t)}function zC(e,t){S_.call(this,e,t)}function BC(e,t){S_.call(this,e,t)}function VC(e,t){S_.call(this,e,t)}function $C(e,t){S_.call(this,e,t)}function HC(e,t){S_.call(this,e,t)}function GC(e,t){S_.call(this,e,t)}function WC(e,t){S_.call(this,e,t)}function UC(e,t){S_.call(this,e,t)}function qC(e,t){this.b=e,this.a=t}function XC(e,t){this.a=e,this.b=t}function YC(e,t){this.a=e,this.b=t}function KC(e,t){this.a=e,this.b=t}function ZC(e,t){S_.call(this,e,t)}function QC(e,t){S_.call(this,e,t)}function JC(e,t){this.a=e,this.b=t}function eE(e,t){this.b=e,this.d=t}function tE(e,t){!function(e,t){aL(),RL(e,new KE(t,k8(t.e.c.length+t.g.c.length)))}(e.a,LL(t,11))}function nE(e,t,n){e.splice(t,0,n)}function rE(e,t){S_.call(this,e,t)}function iE(e,t){S_.call(this,e,t)}function oE(e,t){S_.call(this,e,t)}function aE(e,t){S_.call(this,e,t)}function sE(e,t){S_.call(this,e,t)}function lE(e,t){S_.call(this,e,t)}function uE(e,t){S_.call(this,e,t)}function cE(e,t){S_.call(this,e,t)}function fE(e,t){S_.call(this,e,t)}function hE(e,t){S_.call(this,e,t)}function dE(e,t){S_.call(this,e,t)}function pE(e,t){S_.call(this,e,t)}function gE(e,t){S_.call(this,e,t)}function mE(e,t){S_.call(this,e,t)}function bE(e,t){S_.call(this,e,t)}function vE(e,t){S_.call(this,e,t)}function yE(e,t){S_.call(this,e,t)}function wE(e,t){S_.call(this,e,t)}function xE(e,t){S_.call(this,e,t)}function _E(e,t){S_.call(this,e,t)}function SE(e,t){S_.call(this,e,t)}function kE(e,t){S_.call(this,e,t)}function CE(e,t){S_.call(this,e,t)}function EE(e,t){S_.call(this,e,t)}function IE(e,t){S_.call(this,e,t)}function ME(e,t){S_.call(this,e,t)}function TE(e,t){S_.call(this,e,t)}function AE(e,t){S_.call(this,e,t)}function PE(e,t){S_.call(this,e,t)}function OE(e,t){S_.call(this,e,t)}function DE(e,t){S_.call(this,e,t)}function RE(e,t){S_.call(this,e,t)}function LE(e,t){S_.call(this,e,t)}function NE(e,t){S_.call(this,e,t)}function jE(e,t){S_.call(this,e,t)}function FE(e,t){S_.call(this,e,t)}function zE(e,t){this.a=e,this.b=t}function BE(e,t){this.a=e,this.b=t}function VE(e,t){this.a=e,this.b=t}function $E(e,t){this.a=e,this.b=t}function HE(e,t){this.a=e,this.b=t}function GE(e,t){this.a=e,this.b=t}function WE(e,t){this.a=e,this.b=t}function UE(e,t){this.a=e,this.b=t}function qE(e,t){this.a=e,this.b=t}function XE(e,t){this.a=e,this.b=t}function YE(e,t){this.a=e,this.b=t}function KE(e,t){this.a=e,this.b=t}function ZE(e,t){this.a=e,this.b=t}function QE(e,t){this.a=e,this.b=t}function JE(e,t){this.a=e,this.b=t}function eI(e,t){this.a=e,this.b=t}function tI(e,t){this.a=e,this.b=t}function nI(e,t){this.a=e,this.b=t}function rI(e,t){this.b=e,this.a=t}function iI(e,t){this.b=e,this.a=t}function oI(e,t){this.b=e,this.a=t}function aI(e,t){this.b=e,this.a=t}function sI(e,t){this.a=e,this.b=t}function lI(e,t){this.a=e,this.b=t}function uI(e,t){this.a=e,this.b=t}function cI(e,t){this.a=e,this.b=t}function fI(e,t){this.f=e,this.c=t}function hI(e,t){S_.call(this,e,t)}function dI(e,t){S_.call(this,e,t)}function pI(e,t){return w7(e.a,t)}function gI(e,t){return aP(e.g,t)}function mI(e,t){e.i=null,i1(e,t)}function bI(e,t){!function(e,t){if(BT(t,238))return function(e,t){var n;if(null==(n=cJ(e.i,t)))throw Jm(new Yy("Node did not exist in input."));return w2(t,n),null}(e,LL(t,34));if(BT(t,199))return function(e,t){var n;if(null==(n=aB(e.k,t)))throw Jm(new Yy("Port did not exist in input."));return w2(t,n),null}(e,LL(t,122));if(BT(t,351))return function(e,t){var n;return n=aB(e.f,t),w2(t,n),null}(e,LL(t,137));if(BT(t,349))return function(e,t){var n,r,i,o,a,s,l;if(!(s=LL(aB(e.c,t),185)))throw Jm(new Yy("Edge did not exist in input."));i=oee(s),r=r_((!t.a&&(t.a=new FF(int,t,6,6)),t.a)),!r&&(n=new cL(e,i,l=new dh),function(e,t){!function(e,t){var n;n=0;for(;e.e!=e.i.gc();)PN(t,Hee(e),k8(n)),n!=Dxe&&++n}(new SA(e),t)}((!t.a&&(t.a=new FF(int,t,6,6)),t.a),n),pQ(s,yDe,l));hK(t,(fxe(),n9e))&&!(!(o=LL(xfe(t,n9e),74))||CB(o))&&(yX(o,new am(a=new dh)),pQ(s,"junctionPoints",a));return null}(e,LL(t,80));if(t)return null;throw Jm(new Ny(TDe+Wae(new Vy(q3(lw(pje,1),zxe,1,5,[t])))))}(e.a,LL(t,55))}function vI(e,t){this.a=e,this.b=t}function yI(e,t){this.a=e,this.b=t}function wI(e,t){this.a=e,this.b=t}function xI(e,t){this.a=e,this.b=t}function _I(e,t){this.a=e,this.b=t}function SI(e,t){this.i=e,this.g=t}function kI(e,t){this.d=e,this.e=t}function CI(e,t){this.d=e,this.b=t}function EI(e,t){this.e=e,this.a=t}function II(e,t){this.b=e,this.c=t}function MI(){EG(),this.b=new Pb}function TI(){pde(),this.a=new Pb}function AI(e){return x7(e.c,e.b)}function PI(e){return e?e.bd():null}function OI(e){return null==e?null:e}function DI(e){return typeof e===Txe}function RI(e){return typeof e===Axe}function LI(e){return typeof e===Pxe}function NI(e){return typeof e===Axe}function jI(e){return""+(wB(e),e)}function FI(e,t){return function(e,t){wz(t);for(;e.Ob();)if(!f3(LL(e.Pb(),10)))return!1;return!0}(e.Ic(),t)}function zI(e,t){return e.Hd().Xb(t)}function BI(e,t){return e.substr(t)}function VI(e,t){return e.a+=""+t,e}function $I(e,t){return e.a+=""+t,e}function HI(e,t){return e.a+=""+t,e}function GI(e,t){return e.a+=""+t,e}function WI(e,t){return e.a+=""+t,e}function UI(e,t){return e.a+=""+t,e}function qI(e){return oN(null==e),e}function XI(e){return MG(e,0),null}function YI(e){return L9(e),e.d.gc()}function KI(e,t){jq(e,t,e.a,e.a.a)}function ZI(e,t){jq(e,t,e.c.b,e.c)}function QI(e,t){bF.call(this,e,t)}function JI(e,t){bF.call(this,e,t)}function eM(e,t){bF.call(this,e,t)}function tM(e,t){e.q.setTime(GW(t))}function nM(e){return e.a=0,e.b=0,e}function rM(){rM=S,pVe=e6(fte())}function iM(){iM=S,yWe=e6(jhe())}function oM(){this.b=new oS(HQ(12))}function aM(){this.b=0,this.a=!1}function sM(){this.b=0,this.a=!1}function lM(e){JF(this),p2(this,e)}function uM(e,t){JO.call(this,e,t)}function cM(e,t){WD.call(this,e,t)}function fM(e,t){SI.call(this,e,t)}function hM(e,t){l3.call(this,e,t)}function dM(e,t){TP.call(this,e,t)}function pM(e,t){nk(),eV($nt,e,t)}function gM(e){return function(e){return b$(),rG(Pae(e))==rG(Rae(e))}(LL(e,80))}function mM(e,t){return OI(e)===OI(t)}function bM(e,t){return zP(e.a,0,t)}function vM(e,t){return e.a.a.a.cc(t)}function yM(e){return TT(e.l,e.m,e.h)}function wM(e){return IH((wB(e),e))}function xM(e){return e<10?"0"+e:""+e}function _M(e,t){return e==t?0:e?1:-1}function SM(e,t){return e.indexOf(t)}function kM(e,t){return MT(e.g,t.g)}function CM(e){this.a=$k(),this.b=e}function EM(e){this.a=$k(),this.b=e}function IM(e){this.a=e,Rc.call(this)}function MM(e){this.a=e,Rc.call(this)}function TM(e,t){fZ(e,0,e.length,t)}function AM(e,t){return RL(e.a,t),t}function PM(e,t){return P2(e.a,t),e}function OM(e){return vZ(e.b.b,e,0)}function DM(e){return P2(new wU,e)}function RM(e){return e==r0e||e==n0e}function LM(e){return e==c7e||e==f7e}function NM(e){return e==d7e||e==u7e}function jM(e){return e!=xet&&e!=_et}function FM(e){return e.Gg()&&e.Hg()}function zM(e){return gV(LL(e,122))}function BM(e,t,n){JJ(e,t),YJ(e,n)}function VM(e,t,n){WJ(e,t),GJ(e,n)}function $M(e,t,n){UJ(e,t),qJ(e,n)}function HM(e,t,n){KJ(e,t),ZJ(e,n)}function GM(e,t,n){XJ(e,t),QJ(e,n)}function WM(e,t){j4(e,t),r0(e,e.D)}function UM(e,t){return new l3(t,e)}function qM(){ld.call(this,new Fq)}function XM(){dj.call(this,0,0,0,0)}function YM(){jV.call(this,0,0,0,0)}function KM(e){fI.call(this,e,!0)}function ZM(e,t,n){AO.call(this,e,t,n)}function QM(){bk.call(this,"Head",1)}function JM(){bk.call(this,"Tail",3)}function eT(e){npe(),l2.call(this,e)}function tT(e){return null!=e?p4(e):0}function nT(e,t){return T4(e,t)>0?e:t}function rT(e){return e.b&&$be(e),e.a}function iT(e){return e.b&&$be(e),e.c}function oT(e){e.a=fK(pje,zxe,1,8,5,1)}function aT(e){e.c=fK(pje,zxe,1,0,5,1)}function sT(e){dj.call(this,e,e,e,e)}function lT(e){this.a=e.a,this.b=e.b}function uT(e){return function(e,t){return wz(e),wz(t),new w_(e,t)}(e.b.Ic(),e.a)}function cT(e,t){JO.call(this,e.b,t)}function fT(e,t,n){nB(e.c[t.g],t.g,n)}function hT(e,t,n){return nB(e,t,n),n}function dT(){dT=S,nv(),Gje=new Hm}function pT(){pT=S,new gT,new $m}function gT(){new Hm,new Hm,new Hm}function mT(){mT=S,e2e=new x9(O7e)}function bT(){bT=S,YS(),lit=hnt}function vT(){vT=S,r.Math.log(2)}function yT(e){e.j=fK(kFe,s_e,308,0,0,1)}function wT(e){this.a=e,IL.call(this,e)}function xT(e){this.a=e,T_.call(this,e)}function _T(e){this.a=e,T_.call(this,e)}function ST(e){gxe(),zm.call(this,e)}function kT(e,t){Ij(e.c,e.c.length,t)}function CT(e){return e.a<e.c.c.length}function ET(e){return e.a<e.c.a.length}function IT(e,t){return e.a?e.b:t.De()}function MT(e,t){return e<t?-1:e>t?1:0}function TT(e,t,n){return{l:e,m:t,h:n}}function AT(e,t,n){return W7(t,n,e.c)}function PT(e,t,n){return function(e,t,n){var r,i,o,a,s,l,u,c;for(l=new $m,s=new td(t.a);s.a<s.c.c.length;)for(c=i9(LL(xW(s),10),(hwe(),Oet)).Ic();c.Ob();)for(i=new td(LL(c.Pb(),11).g);i.a<i.c.c.length;)!NX(r=LL(xW(i),18))&&r.c.i.c==r.d.i.c||NX(r)||r.d.i.c!=n||(l.c[l.c.length]=r);for(a=M2(n.a).Ic();a.Ob();)for(c=i9(LL(a.Pb(),10),(hwe(),Qet)).Ic();c.Ob();)for(i=new td(LL(c.Pb(),11).e);i.a<i.c.c.length;)if((NX(r=LL(xW(i),18))||r.c.i.c!=r.d.i.c)&&!NX(r)&&r.c.i.c==t){for(EP((u=new eU(l,l.c.length)).b>0),o=LL(u.a.Xb(u.c=--u.b),18);o!=r&&u.b>0;)e.a[o.p]=!0,e.a[r.p]=!0,EP(u.b>0),o=LL(u.a.Xb(u.c=--u.b),18);u.b>0&&nV(u)}}(e,t,n),n}function OT(e){RG(e,null),LG(e,null)}function DT(e,t){null!=e.a&&tE(t,e.a)}function RT(e){return new YE(e.a,e.b)}function LT(e){return new YE(e.c,e.d)}function NT(e){return new YE(e.c,e.d)}function jT(e,t){return function(e,t,n){var r,i,o,a,s,l,u,c,f;!n&&(n=function(e){var t;return(t=new y).a=e,t.b=function(e){var t;if(0==e)return"Etc/GMT";e<0?(e=-e,t="Etc/GMT-"):t="Etc/GMT+";return t+sQ(e)}(e),t.c=fK(CFe,s_e,2,2,6,1),t.c[0]=Q1(e),t.c[1]=Q1(e),t}(t.q.getTimezoneOffset())),i=6e4*(t.q.getTimezoneOffset()-n.a),s=new cD(o8(I2(t.q.getTime()),i)),l=s,s.q.getTimezoneOffset()!=t.q.getTimezoneOffset()&&(i>0?i-=864e5:i+=864e5,l=new cD(o8(I2(t.q.getTime()),i)));for(c=new gw,u=e.a.length,o=0;o<u;)if((r=dV(e.a,o))>=97&&r<=122||r>=65&&r<=90){for(a=o+1;a<u&&dV(e.a,a)==r;++a);uxe(c,r,a-o,s,l,n),o=a}else if(39==r){if(++o<u&&39==dV(e.a,o)){c.a+="'",++o;continue}for(f=!1;!f;){for(a=o;a<u&&39!=dV(e.a,a);)++a;if(a>=u)throw Jm(new Ny("Missing trailing '"));a+1<u&&39==dV(e.a,a+1)?++a:f=!0,UI(c,zP(e.a,o,a)),o=a+1}}else c.a+=String.fromCharCode(r),++o;return c.a}(e.a,t,null)}function FT(e,t){Ove(e),e.Ec(LL(t,14))}function zT(e,t){return function(e,t,n){var r,i,o,a,s,l,u,c;if(0==n.gc())return!1;if(tk(),s=LL(t,65).Jj(),o=s?n:new GQ(n.gc()),Ede(e.e,t)){if(t.ci())for(u=n.Ic();u.Ob();)Jme(e,t,l=u.Pb(),BT(t,97)&&0!=(LL(t,17).Bb&FSe))||(i=uq(t,l),o.Fc(i)||o.Dc(i));else if(!s)for(u=n.Ic();u.Ob();)i=uq(t,l=u.Pb()),o.Dc(i)}else{if(n.gc()>1)throw Jm(new Ny(dNe));for(c=ade(e.e.Og(),t),r=LL(e.g,118),a=0;a<e.i;++a)if(i=r[a],c.ml(i.Xj())){if(n.Fc(s?i:i.bd()))return!1;for(u=n.Ic();u.Ob();)l=u.Pb(),LL(Lte(e,a,s?LL(l,71):uq(t,l)),71);return!0}s||(i=uq(t,n.Ic().Pb()),o.Dc(i))}return Qz(e,o)}(e.c,e.b,t)}function BT(e,t){return null!=e&&Gte(e,t)}function VT(e){this.b=e,this.a=new $m}function $T(e){this.b=new Je,this.a=e}function HT(e){ID.call(this),this.a=e}function GT(){bk.call(this,"Range",2)}function WT(){TP.call(this,null,null)}function UT(){AP.call(this,null,null)}function qT(){S_.call(this,"INSTANCE",0)}function XT(){Aie(),this.a=new Fhe(vHe)}function YT(e){if(!e)throw Jm(new yb)}function KT(e){if(!e)throw Jm(new wb)}function ZT(e){if(!e)throw Jm(new bb)}function QT(e){e.a=new V,e.c=new V}function JT(e){return lee(e,0,e.length)}function eA(e,t){return-1!=function(e,t){var n,r;for(KV(t,"predicate"),r=0;e.Ob();r++)if(n=e.Pb(),t.Lb(n))return r;return-1}(e.Ic(),t)}function tA(e){return e.Ob()?e.Pb():null}function nA(e,t){return null!=e.a.zc(t)}function rA(e,t,n){return e.a[t.g][n.g]}function iA(e,t){e.c&&(mN(t),MH(t))}function oA(e,t,n){e.a=1502^t,e.b=n^rke}function aA(e,t){return e.e[t.c.p][t.p]}function sA(e,t){return e.a[t.c.p][t.p]}function lA(e,t){return e.a[t.c.p][t.p]}function uA(e,t){return e.j[t.p]=function(e){var t,n,r,i;for(t=0,n=0,i=new td(e.j);i.a<i.c.c.length;)if(t=QN(o8(t,oY(_V(new cj(null,new ZG((r=LL(xW(i),11)).e,16)),new Xo)))),n=QN(o8(n,oY(_V(new cj(null,new ZG(r.g,16)),new Yo)))),t>1||n>1)return 2;if(t+n==1)return 2;return 0}(t)}function cA(e,t){return e.a*=t,e.b*=t,e}function fA(e,t,n){return nB(e.g,t,n),n}function hA(e,t,n){eN.call(this,e,t,n)}function dA(e,t,n){hA.call(this,e,t,n)}function pA(e,t,n){tN.call(this,e,t,n)}function gA(e,t,n){tN.call(this,e,t,n)}function mA(e,t,n){pA.call(this,e,t,n)}function bA(e,t,n){hA.call(this,e,t,n)}function vA(e,t,n){dA.call(this,e,t,n)}function yA(e,t,n){eN.call(this,e,t,n)}function wA(e,t,n){eN.call(this,e,t,n)}function xA(e,t,n){yA.call(this,e,t,n)}function _A(e){this.a=e,Hm.call(this)}function SA(e){this.i=e,this.f=this.i.j}function kA(e){this.c=e,this.a=this.c.a}function CA(e,t){this.a=e,T_.call(this,t)}function EA(e,t){this.a=e,Qy.call(this,t)}function IA(e,t){this.a=e,Qy.call(this,t)}function MA(e){this.b=(v$(),new nd(e))}function TA(e,t){return function(e,t,n){var r;try{!function(e,t,n){if(wz(t),n.Ob())for(VI(t,Wz(n.Pb()));n.Ob();)VI(t,e.a),VI(t,Wz(n.Pb()))}(e,t,n)}catch(e){throw BT(e=v3(e),588)?(r=e,Jm(new TX(r))):Jm(e)}return t}(e,new pw,t).a}function AA(e,t){this.a=e,Qy.call(this,t)}function PA(e){this.a=e,fh.call(this,e.d)}function OA(e,t){this.a=t,Qy.call(this,e)}function DA(e,t){this.a=t,Iq.call(this,e)}function RA(e,t){this.a=e,Iq.call(this,t)}function LA(){this.Bb|=256,this.Bb|=512}function NA(){NA=S,ek(),Tit=new Pf}function jA(){(jA=S)(),mze=new te}function FA(){FA=S,cze=new yy(null)}function zA(e,t){return new Ele(e.a,e.b,t)}function BA(e,t){return wz(t),new VA(e,t)}function VA(e,t){this.a=t,D_.call(this,e)}function $A(e,t){this.a=t,D_.call(this,e)}function HA(e){this.b=e,this.a=this.b.a.e}function GA(){yT(this),u$(this),this._d()}function WA(e){e.b.Qb(),--e.d.f.d,_j(e.d)}function UA(e){e.a=LL(n3(e.b.a,4),124)}function qA(e){e.a=LL(n3(e.b.a,4),124)}function XA(e){zh.call(this,(wB(e),e))}function YA(e){zh.call(this,(wB(e),e))}function KA(e){qf.call(this,LL(wz(e),36))}function ZA(e){qf.call(this,LL(wz(e),36))}function QA(e){Qh.call(this,e),this.a=e}function JA(e){Jh.call(this,e),this.a=e}function eP(e){mw.call(this,e),this.a=e}function tP(e){ld.call(this,new mK(e))}function nP(e){return null==e?$xe:P9(e)}function rP(e){return null!=e.a?e.a:null}function iP(e,t){return e.lastIndexOf(t)}function oP(e,t,n){return e.indexOf(t,n)}function aP(e,t){return!!t&&e.b[t.g]==t}function sP(e,t){return null!=TH(e.a,t)}function lP(e){return e.$H||(e.$H=++$ze)}function uP(e){this.a=e,ed.call(this,e)}function cP(e){return EP(null!=e.a),e.a}function fP(e,t){return RL(t.a,e.a),e.a}function hP(e,t){return RL(t.b,e.a),e.a}function dP(e,t){return RL(t.a,e.a),e.a}function pP(e,t){return++e.b,RL(e.a,t)}function gP(e,t){return++e.b,yZ(e.a,t)}function mP(e,t){return LL(KX(e.a,t),14)}function bP(e){return CT(e.a)||CT(e.b)}function vP(e){var t;t=e.a,e.a=e.b,e.b=t}function yP(e,t){Nee.call(this,e,t,null)}function wP(e,t){t.$modCount=e.$modCount}function xP(){xP=S,bVe=new JO(hCe,0)}function _P(){_P=S,nFe=!1,rFe=!0}function SP(e){if(!e)throw Jm(new Sb)}function kP(e){if(!e)throw Jm(new yb)}function CP(e){if(!e)throw Jm(new wb)}function EP(e){if(!e)throw Jm(new bb)}function IP(e,t,n){return GU(e,t,n,e.c)}function MP(e,t,n){LL(dZ(e,t),21).Dc(n)}function TP(e,t){qS(),this.a=e,this.b=t}function AP(e,t){XS(),this.b=e,this.c=t}function PP(e,t){Ej(),this.f=t,this.d=e}function OP(e,t){BX(t,e),this.d=e,this.c=t}function DP(){AS(),this.b=new Ap(this)}function RP(e){this.d=e,SA.call(this,e)}function LP(e){this.c=e,SA.call(this,e)}function NP(e){this.c=e,RP.call(this,e)}function jP(e,t,n,r){rF.call(this,e,t,n,r)}function FP(e,t,n){return oP(e,bae(t),n)}function zP(e,t,n){return e.substr(t,n-t)}function BP(e,t){return new oR(e,e.gc(),t)}function VP(e){return A$(),parseInt(e)||-1}function $P(e){return k0(e,T_e),new LY(e)}function HP(e){return EP(0!=e.b),e.c.b.c}function GP(e){return EP(0!=e.b),e.a.a.c}function WP(e){BT(e,150)&&LL(e,150).Bh()}function UP(e){OL.call(this,e,null,null)}function qP(){S_.call(this,"POLYOMINO",0)}function XP(e){eS(),this.b=e,this.a=!0}function YP(e){tS(),this.b=e,this.a=!0}function KP(e){this.c=e,this.a=1,this.b=1}function ZP(e,t){return!!e.q&&KF(e.q,t)}function QP(e){return e.b=LL(c$(e.a),43)}function JP(e){return null!=e.f?e.f:""+e.g}function eO(e){return Oz(e.c,e.c.length)}function tO(e,t,n){return e.a*=t,e.b*=n,e}function nO(e,t,n){return e.a+=t,e.b+=n,e}function rO(e,t,n){return e.a-=t,e.b-=n,e}function iO(e,t){return e.a=t.a,e.b=t.b,e}function oO(e){return e.a=-e.a,e.b=-e.b,e}function aO(e){e.d=new UP(e),e.e=new Hm}function sO(){this.a=new yH,this.b=new yH}function lO(e){this.c=e,UJ(e,0),qJ(e,0)}function uO(e){sS.call(this),y0(this,e)}function cO(){S_.call(this,"GROW_TREE",0)}function fO(e,t,n){EK.call(this,e,t,n,2)}function hO(e,t){qS(),TP.call(this,e,t)}function dO(e,t){XS(),AP.call(this,e,t)}function pO(e,t){XS(),AP.call(this,e,t)}function gO(e,t){XS(),dO.call(this,e,t)}function mO(e,t){bT(),fj.call(this,e,t)}function bO(e,t){bT(),mO.call(this,e,t)}function vO(e,t){bT(),mO.call(this,e,t)}function yO(e,t){bT(),vO.call(this,e,t)}function wO(e,t){bT(),fj.call(this,e,t)}function xO(e,t){bT(),fj.call(this,e,t)}function _O(e,t){bT(),wO.call(this,e,t)}function SO(e,t,n){return gve(jZ(e,t),n)}function kO(e,t){return P6(e.e,LL(t,48))}function CO(e){return null==e?null:function(e){var t,n,r,i,o,a,s,l,u,c,f,h,d,p,g;if(Fme(),null==e)return null;if(0==(f=8*e.length))return"";for(h=f/24|0,o=null,o=fK(tat,q_e,24,4*(0!=(s=f%24)?h+1:h),15,1),u=0,c=0,t=0,n=0,r=0,a=0,i=0,l=0;l<h;l++)t=e[i++],c=(15&(n=e[i++]))<<24>>24,u=(3&t)<<24>>24,d=0==(-128&t)?t>>2<<24>>24:(t>>2^192)<<24>>24,p=0==(-128&n)?n>>4<<24>>24:(n>>4^240)<<24>>24,g=0==(-128&(r=e[i++]))?r>>6<<24>>24:(r>>6^252)<<24>>24,o[a++]=yot[d],o[a++]=yot[p|u<<4],o[a++]=yot[c<<2|g],o[a++]=yot[63&r];8==s?(u=(3&(t=e[i]))<<24>>24,d=0==(-128&t)?t>>2<<24>>24:(t>>2^192)<<24>>24,o[a++]=yot[d],o[a++]=yot[u<<4],o[a++]=61,o[a++]=61):16==s&&(t=e[i],c=(15&(n=e[i+1]))<<24>>24,u=(3&t)<<24>>24,d=0==(-128&t)?t>>2<<24>>24:(t>>2^192)<<24>>24,p=0==(-128&n)?n>>4<<24>>24:(n>>4^240)<<24>>24,o[a++]=yot[d],o[a++]=yot[p|u<<4],o[a++]=yot[c<<2],o[a++]=61);return lee(o,0,o.length)}(e)}function EO(e){return null==e?null:function(e){var t,n,r,i;if(dpe(),null==e)return null;for(r=e.length,t=fK(tat,q_e,24,2*r,15,1),n=0;n<r;n++)(i=e[n])<0&&(i+=256),t[2*n]=xot[i>>4],t[2*n+1]=xot[15&i];return lee(t,0,t.length)}(e)}function IO(){IO=S,Vnt=new wv,new xv}function MO(){MO=S,R3e=new bm("root")}function TO(e,t,n){e.Xc(t).Rb(n)}function AO(e,t,n){wY.call(this,e,t,n,null)}function PO(e,t,n){wY.call(this,e,t,n,null)}function OO(e,t){this.c=e,l_.call(this,e,t)}function DO(e,t){this.a=e,OO.call(this,e,t)}function RO(e,t){this.d=e,Lh(this),this.b=t}function LO(e,t){vK.call(this,e),this.a=t}function NO(e,t){vK.call(this,e),this.a=t}function jO(){O0.call(this),this.Bb|=FSe}function FO(e){null==e.o&&function(e){if(e.pe()){var t=e.c;return t.qe()?e.o="["+t.n:t.pe()?e.o="["+t.ne():e.o="[L"+t.ne()+";",e.b=t.me()+"[]",void(e.k=t.oe()+"[]")}var n=e.j,r=e.d;r=r.split("/"),e.o=see(".",[n,see("$",r)]),e.b=see(".",[n,see(".",r)]),e.k=r[r.length-1]}(e)}function zO(e,t){Aze||RL(e.a,t)}function BO(e){return e>8?0:e+1}function VO(e){return oN(null==e||DI(e)),e}function $O(e){return oN(null==e||RI(e)),e}function HO(e){return oN(null==e||LI(e)),e}function GO(e,t){return yB(t,iCe),e.f=t,e}function WO(e,t){return LL(oQ(e.b,t),149)}function UO(e,t){return LL(oQ(e.c,t),227)}function qO(e){return LL(JN(e.a,e.b),286)}function XO(e){return new YE(e.c,e.d+e.a)}function YO(e){return kG(),RM(LL(e,196))}function KO(e,t,n){++e.j,e.Ci(t,e.ji(t,n))}function ZO(e,t,n){++e.j,e.Fi(),uK(e,t,n)}function QO(e,t){t.a?function(e,t){var n,r,i,o;if(!Iz(e.a,t.b))throw Jm(new jy("Invalid hitboxes for scanline overlap calculation."));for(o=!1,n=new _D(new uP(new qh(e.a.a).a).b),i=new Hh(n);pk(i.a.a);)if(r=LL(QP(i.a).ad(),63),l5(t.b,r))sx(e.b.a,t.b,r),o=!0;else if(o)break}(e,t):sP(e.a,t.b)}function JO(e,t){bm.call(this,e),this.a=t}function eD(e){F7.call(this,0,0),this.f=e}function tD(e,t,n){return n=Jge(e,t,3,n)}function nD(e,t,n){return n=Jge(e,t,6,n)}function rD(e,t,n){return n=Jge(e,t,9,n)}function iD(e,t,n){e.Xc(t).Rb(n)}function oD(e,t,n){return Wbe(e.c,e.b,t,n)}function aD(e,t){return(t&Dxe)%e.d.length}function sD(e,t){this.c=e,GQ.call(this,t)}function lD(e,t){this.a=e,Mm.call(this,t)}function uD(e,t){this.a=e,Mm.call(this,t)}function cD(e){this.q=new r.Date(GW(e))}function fD(e){this.a=(k0(e,T_e),new LY(e))}function hD(e){this.a=(k0(e,T_e),new LY(e))}function dD(e){return L2(function(e){return TT(~e.l&SSe,~e.m&SSe,~e.h&kSe)}(NI(e)?o3(e):e))}function pD(e){return String.fromCharCode(e)}function gD(e,t,n){return Tj(e,LL(t,22),n)}function mD(e,t,n){return e.a+=lee(t,0,n),e}function bD(e,t){var n;return n=e.e,e.e=t,n}function vD(e,t){e[eke].call(e,t)}function yD(e,t){e.a.Tc(e.b,t),++e.b,e.c=-1}function wD(e,t){return yw(new Array(t),e)}function xD(){xD=S,mVe=o9((aee(),ctt))}function _D(e){s3.call(this,e,(ZK(),vze))}function SD(e,t){Tm.call(this,e),this.a=t}function kD(e,t){Tm.call(this,e),this.a=t}function CD(){OD.call(this),this.a=new hx}function ED(){this.d=new hx,this.e=new hx}function ID(){this.n=new hx,this.o=new hx}function MD(){this.b=new hx,this.c=new $m}function TD(){this.a=new $m,this.b=new $m}function AD(){this.a=new ct,this.b=new Ab}function PD(){this.a=new Gb,this.c=new Ot}function OD(){this.n=new sv,this.i=new YM}function DD(){this.a=new Yc,this.b=new ro}function RD(){this.b=new Pb,this.a=new Pb}function LD(){this.a=new $m,this.d=new $m}function ND(){this.b=new Kx,this.a=new ha}function jD(){this.b=new Hm,this.a=new Hm}function FD(){FD=S,Bze=new a,Vze=new a}function zD(e){return!e.a&&(e.a=new w),e.a}function BD(e,t){return e.a+=t.a,e.b+=t.b,e}function VD(e,t){return e.a-=t.a,e.b-=t.b,e}function $D(e,t,n){return n=Jge(e,t,11,n)}function HD(e,t,n,r){dj.call(this,e,t,n,r)}function GD(e,t,n,r){FF.call(this,e,t,n,r)}function WD(e,t){Ey.call(this,zRe+e+GDe+t)}function UD(e,t){return null==eV(e.a,t,"")}function qD(e){JF(e.e),e.d.b=e.d,e.d.a=e.d}function XD(e){e.b?XD(e.b):e.f.c.xc(e.e,e.d)}function YD(e,t,n,r){FF.call(this,e,t,n,r)}function KD(e,t,n,r){YD.call(this,e,t,n,r)}function ZD(e,t,n,r){BF.call(this,e,t,n,r)}function QD(e,t,n,r){BF.call(this,e,t,n,r)}function JD(e,t,n,r){BF.call(this,e,t,n,r)}function eR(e,t,n,r){QD.call(this,e,t,n,r)}function tR(e,t,n,r){QD.call(this,e,t,n,r)}function nR(e,t,n,r){JD.call(this,e,t,n,r)}function rR(e,t,n,r){tR.call(this,e,t,n,r)}function iR(e,t,n,r){VF.call(this,e,t,n,r)}function oR(e,t,n){this.a=e,OP.call(this,t,n)}function aR(e,t,n){this.c=t,this.b=n,this.a=e}function sR(e,t,n){return e.lastIndexOf(t,n)}function lR(e,t){return e.vj().Ih().Dh(e,t)}function uR(e,t){return e.vj().Ih().Fh(e,t)}function cR(e,t){return wB(e),OI(e)===OI(t)}function fR(e,t){return wB(e),OI(e)===OI(t)}function hR(e,t){return Nx(X7(e.a,t,!1))}function dR(e,t){return Nx(Y7(e.a,t,!1))}function pR(e,t){return e.b.sd(new kk(e,t))}function gR(e){return e.c?vZ(e.c.a,e,0):-1}function mR(e){return e==bet||e==yet||e==vet}function bR(e){this.a=e,Q_(),I2(Date.now())}function vR(e){this.c=e,eM.call(this,f_e,0)}function yR(e,t){this.c=e,Sz.call(this,e,t)}function wR(e,t){AL.call(this,e,e.length,t)}function xR(e,t){if(!e)throw Jm(new Ny(t))}function _R(e){IR(),this.a=(v$(),new mw(e))}function SR(e){aL(),this.d=e,this.a=new Vm}function kR(){kR=S,Zrt=fK(pje,zxe,1,0,5,1)}function CR(){CR=S,znt=fK(pje,zxe,1,0,5,1)}function ER(){ER=S,Qrt=fK(pje,zxe,1,0,5,1)}function IR(){IR=S,new sb((v$(),v$(),XFe))}function MR(e,t){return!!s4(e,t)}function TR(e,t){return BT(t,14)&&xpe(e.c,t)}function AR(e,t,n){return LL(e.c,67).hk(t,n)}function PR(e,t,n){return function(e,t,n){return t.Mk(e.e,e.c,n)}(e,LL(t,330),n)}function OR(e,t,n){return function(e,t,n){var r,i,o;return r=t.Xj(),o=t.bd(),i=r.Vj()?cH(e,4,r,o,null,wbe(e,r,o,BT(r,97)&&0!=(LL(r,17).Bb&FSe)),!0):cH(e,r.Fj()?2:1,r,o,r.uj(),-1,!0),n?n.zi(i):n=i,n}(e,LL(t,330),n)}function DR(e,t){return null==t?null:t6(e.b,t)}function RR(e){return RI(e)?(wB(e),e):e.ke()}function LR(e){return!isNaN(e)&&!isFinite(e)}function NR(e){QT(this),s$(this),G1(this,e)}function jR(e){aT(this),DL(this.c,0,e.Nc())}function FR(e){nV(e.a),dK(e.c,e.b),e.b=null}function zR(){zR=S,lze=new $,uze=new H}function BR(e,t){if(!e)throw Jm(new Ny(t))}function VR(e,t){if(!e)throw Jm(new Iy(t))}function $R(e){var t;return(t=new qb).b=e,t}function HR(e){var t;return(t=new Ce).e=e,t}function GR(e,t,n){this.d=e,this.b=n,this.a=t}function WR(e,t,n){this.a=e,this.b=t,this.c=n}function UR(e,t,n){this.a=e,this.b=t,this.c=n}function qR(e,t,n){this.a=e,this.b=t,this.c=n}function XR(e,t,n){this.a=e,this.b=t,this.c=n}function YR(e,t,n){this.a=e,this.b=t,this.c=n}function KR(e,t,n){this.a=e,this.b=t,this.c=n}function ZR(e,t,n){this.b=e,this.a=t,this.c=n}function QR(e,t,n){this.b=e,this.a=t,this.c=n}function JR(e,t,n){this.b=e,this.c=t,this.a=n}function eL(e,t,n){this.e=t,this.b=e,this.d=n}function tL(e){dj.call(this,e.d,e.c,e.a,e.b)}function nL(e){dj.call(this,e.d,e.c,e.a,e.b)}function rL(e){return!e.e&&(e.e=new $m),e.e}function iL(){iL=S,NWe=new pi,jWe=new gi}function oL(){oL=S,dGe=new An,pGe=new Pn}function aL(){aL=S,hwe(),M1e=Qet,T1e=Oet}function sL(e,t,n){this.a=e,this.b=t,this.c=n}function lL(e,t,n){this.a=e,this.b=t,this.c=n}function uL(e,t,n){this.a=e,this.b=t,this.c=n}function cL(e,t,n){this.a=e,this.b=t,this.c=n}function fL(e,t,n){this.a=e,this.b=t,this.c=n}function hL(e,t,n){this.e=e,this.a=t,this.c=n}function dL(e,t){this.c=e,this.a=t,this.b=t-e}function pL(e,t,n){bT(),bH.call(this,e,t,n)}function gL(e,t,n){bT(),AB.call(this,e,t,n)}function mL(e,t,n){bT(),gL.call(this,e,t,n)}function bL(e,t,n){bT(),gL.call(this,e,t,n)}function vL(e,t,n){bT(),bL.call(this,e,t,n)}function yL(e,t,n){bT(),AB.call(this,e,t,n)}function wL(e,t,n){bT(),AB.call(this,e,t,n)}function xL(e,t,n){bT(),yL.call(this,e,t,n)}function _L(e,t,n){bT(),wL.call(this,e,t,n)}function SL(e,t){return wz(e),wz(t),new fN(e,t)}function kL(e,t){return wz(e),wz(t),new c_(e,t)}function CL(e){return EP(0!=e.b),lJ(e,e.a.a)}function EL(e){return EP(0!=e.b),lJ(e,e.c.b)}function IL(e){this.d=e,Lh(this),this.b=function(e){return BT(e,14)?LL(e,14).Wc():e.Ic()}(e.d)}function ML(e,t){this.c=e,this.b=t,this.a=!1}function TL(){this.a=";,;",this.b="",this.c=""}function AL(e,t,n){vF.call(this,t,n),this.a=e}function PL(e,t,n){this.b=e,QI.call(this,t,n)}function OL(e,t,n){this.c=e,sk.call(this,t,n)}function DL(e,t,n){due(n,0,e,t,n.length,!1)}function RL(e,t){return e.c[e.c.length]=t,!0}function LL(e,t){return oN(null==e||Gte(e,t)),e}function NL(e){var t;return iQ(t=new $m,e),t}function jL(e){var t;return z1(t=new sS,e),t}function FL(e){var t;return z1(t=new zb,e),t}function zL(e){var t,n;t=e.b,n=e.c,e.b=n,e.c=t}function BL(e){var t,n;n=e.d,t=e.a,e.d=t,e.a=n}function VL(e,t,n,r,i){e.b=t,e.c=n,e.d=r,e.a=i}function $L(e,t,n,r,i){e.d=t,e.c=n,e.a=r,e.b=i}function HL(e,t,n,r,i){e.c=t,e.d=n,e.b=r,e.a=i}function GL(e,t){return function(e){var t;(t=r.Math.sqrt(e.a*e.a+e.b*e.b))>0&&(e.a/=t,e.b/=t)}(e),e.a*=t,e.b*=t,e}function WL(e){return new YE(e.c+e.b,e.d+e.a)}function UL(e){return null!=e&&!z9(e,nrt,rrt)}function qL(e){return xS(),fK(pje,zxe,1,e,5,1)}function XL(e,t){return(N8(e)<<4|N8(t))&X_e}function YL(e,t){var n;e.n&&(n=t,RL(e.f,n))}function KL(e,t,n){pQ(e,t,new xz(n))}function ZL(e,t,n){this.a=e,fM.call(this,t,n)}function QL(e,t,n){this.a=e,fM.call(this,t,n)}function JL(e,t,n){Uk.call(this,e,t),this.b=n}function eN(e,t,n){kI.call(this,e,t),this.c=n}function tN(e,t,n){kI.call(this,e,t),this.c=n}function nN(e){ER(),vl.call(this),this.oh(e)}function rN(){AY(),$B.call(this,(QS(),prt))}function iN(){iN=S,v$(),Pit=new Zh(fNe)}function oN(e){if(!e)throw Jm(new Ly(null))}function aN(e){if(e.c.e!=e.a)throw Jm(new Sb)}function sN(e){if(e.e.c!=e.b)throw Jm(new Sb)}function lN(e){return gxe(),new vj(0,e)}function uN(e){Ywe(),this.a=new Jy,Z2(this,e)}function cN(e){this.b=e,this.a=lF(this.b.a).Ed()}function fN(e,t){this.b=e,this.a=t,Rc.call(this)}function hN(e,t){this.a=e,this.b=t,Rc.call(this)}function dN(){this.b=Oy($O(gte((fde(),F$e))))}function pN(){pN=S,new Qte(($v(),kje),(Vv(),Sje))}function gN(){gN=S,dFe=fK(gFe,s_e,20,256,0,1)}function mN(e){e.a.b=e.b,e.b.a=e.a,e.a=e.b=null}function bN(e,t){return jq(e,t,e.c.b,e.c),!0}function vN(e,t){return e.g=t<0?-1:t,e}function yN(e,t){vF.call(this,t,1040),this.a=e}function wN(e,t){return L2(nfe(NI(e)?o3(e):e,t))}function xN(e,t){return L2(yse(NI(e)?o3(e):e,t))}function _N(e,t){return L2(function(e,t){var n,r,i,o;t&=63,n=e.h&kSe,t<22?(o=n>>>t,i=e.m>>t|n<<22-t,r=e.l>>t|e.m<<22-t):t<44?(o=0,i=n>>>t-22,r=e.m>>t-22|e.h<<44-t):(o=0,i=0,r=n>>>t-44);return TT(r&SSe,i&SSe,o&kSe)}(NI(e)?o3(e):e,t))}function SN(e,t){return aoe(e,new Uk(t.a,t.b))}function kN(e){return 0==e||isNaN(e)?e:e<0?-1:1}function CN(e){return e.b.c.length-e.e.c.length}function EN(e){return e.e.c.length-e.g.c.length}function IN(e){return e.e.c.length+e.g.c.length}function MN(e){var t;return t=e.n,e.a.b+t.d+t.a}function TN(e){var t;return t=e.n,e.e.b+t.d+t.a}function AN(e){var t;return t=e.n,e.e.a+t.b+t.c}function PN(e,t,n){!function(e,t,n,r,i){var o,a,s,l,u,c,f,h,d,p,g,m,b,v,y,w,x;null==(y=aB(e.e,r))&&(d=LL(y=new uy,185),h=new xz(t+"_s"+i),pQ(d,IDe,h));v=LL(y,185),SB(n,v),x$(x=new uy,"x",r.j),x$(x,"y",r.k),pQ(v,ADe,x),x$(m=new uy,"x",r.b),x$(m,"y",r.c),pQ(v,"endPoint",m),f=r_((!r.a&&(r.a=new hA(Jtt,r,5)),r.a)),!f&&(o=new im(g=new dh),yX((!r.a&&(r.a=new hA(Jtt,r,5)),r.a),o),pQ(v,wDe,g));l=bne(r),!!l&&wae(e.a,v,_De,_le(e,bne(r))),p=vne(r),!!p&&wae(e.a,v,xDe,_le(e,vne(r))),u=0==(!r.e&&(r.e=new nR(int,r,10,9)),r.e).i,!u&&(a=new uI(e,b=new dh),yX((!r.e&&(r.e=new nR(int,r,10,9)),r.e),a),pQ(v,kDe,b));c=0==(!r.g&&(r.g=new nR(int,r,9,10)),r.g).i,!c&&(s=new cI(e,w=new dh),yX((!r.g&&(r.g=new nR(int,r,9,10)),r.g),s),pQ(v,SDe,w))}(e.a,e.b,e.c,LL(t,201),n)}function ON(e,t,n,r){Z0.call(this,e,t,n,r,0,0)}function DN(e,t){II.call(this,e,t),this.a=this}function RN(e){ER(),nN.call(this,e),this.a=-1}function LN(e,t){return++e.j,e.Oi(t)}function NN(e,t){var n;return(n=tB(e,t)).i=2,n}function jN(e,t,n){return e.a=-1,MP(e,t.g,n),e}function FN(e,t,n,r,i,o){return roe(e,t,n,r,i,0,o)}function zN(e,t,n){return new aR(function(e){if(0>=e)return new iS;return function(e){if(0>e)return new iS;return new NO(null,new gX(e+1,e))}(e-1)}(e).Ie(),n,t)}function BN(e){return e.e.Hd().gc()*e.c.Hd().gc()}function VN(e){this.c=e,this.b=this.c.d.tc().Ic()}function $N(e){for(wz(e);e.Ob();)e.Pb(),e.Qb()}function HN(e){BB(),this.a=(v$(),new Zh(wz(e)))}function GN(){VL(this,!1,!1,!1,!1)}function WN(){WN=S,aFe=fK(lFe,s_e,215,256,0,1)}function UN(){UN=S,uFe=fK(cFe,s_e,172,128,0,1)}function qN(){qN=S,mFe=fK(bFe,s_e,162,256,0,1)}function XN(){XN=S,_Fe=fK(SFe,s_e,186,256,0,1)}function YN(e){this.a=new oS(e.gc()),G1(this,e)}function KN(e){ld.call(this,new Fq),G1(this,e)}function ZN(e){this.c=e,this.a=new aS(this.c.a)}function QN(e){return NI(e)?0|e:Rx(e)}function JN(e,t){return MG(t,e.c.length),e.c[t]}function ej(e,t){return MG(t,e.a.length),e.a[t]}function tj(e,t){return e.a+=lee(t,0,t.length),e}function nj(e,t){return function(e,t){return vee(o8(vee(e.a).a,t.a))}(LL(e,162),LL(t,162))}function rj(e){return e.c-LL(JN(e.a,e.b),286).b}function ij(e){return e.q?e.q:(v$(),v$(),YFe)}function oj(e,t){return e?0:r.Math.max(0,t-1)}function aj(e){return e.c?e.c.f:e.e.b}function sj(e){return e.c?e.c.g:e.e.a}function lj(e,t){return null==e.a&&Npe(e),e.a[t]}function uj(e){var t;return(t=foe(e))?uj(t):e}function cj(e,t){xS(),vK.call(this,e),this.a=t}function fj(e,t){bT(),Am.call(this,t),this.a=e}function hj(e,t,n){this.a=e,hA.call(this,t,n,2)}function dj(e,t,n,r){$L(this,e,t,n,r)}function pj(e){GQ.call(this,e.gc()),Qz(this,e)}function gj(e){this.a=e,this.c=new Hm,function(e){var t,n,r,i;for(n=e.a,r=0,i=n.length;r<i;++r)j5(e,t=n[r],(hwe(),Ket)),j5(e,t,Det)}(this)}function mj(e){this.b=new sS,this.a=e,this.c=-1}function bj(e){OP.call(this,0,0),this.a=e,this.b=0}function vj(e,t){gxe(),zm.call(this,e),this.a=t}function yj(e,t){return gxe(),new _z(e,t)}function wj(e,t){return null==e?null==t:fR(e,t)}function xj(e){return Array.isArray(e)&&e.dm===_}function _j(e){e.b?_j(e.b):e.d.dc()&&e.f.c.zc(e.e)}function Sj(e){if(e.e.j!=e.d)throw Jm(new Sb)}function kj(){this.d=new YE(0,0),this.e=new Pb}function Cj(){Cj=S,Mje=new bj(fK(pje,zxe,1,0,5,1))}function Ej(){Ej=S,jtt=new cT((fxe(),P9e),0)}function Ij(e,t,n){G4(0,t,e.length),fZ(e,0,t,n)}function Mj(e,t,n){GH(t,e.c.length),nE(e.c,t,n)}function Tj(e,t,n){return c1(e.a,t),cz(e,t.g,n)}function Aj(e){return NI(e)?""+e:ype(e)}function Pj(e,t){return!e&&(e=[]),e[e.length]=t,e}function Oj(e,t){var n;return A5(n=o9(e),t),n}function Dj(e,t,n){var r;for(r=0;r<t;++r)e[r]=n}function Rj(e,t,n){var r;e&&((r=e.i).d=t,r.a=n)}function Lj(e,t,n){var r;e&&((r=e.i).c=t,r.b=n)}function Nj(e,t){return BT(t,22)&&aP(e,LL(t,22))}function jj(e,t){return BT(t,22)&&function(e,t){if(t&&e.b[t.g]==t)return nB(e.b,t.g,null),--e.c,!0;return!1}(e,LL(t,22))}function Fj(e){return Gfe(e,26)*tke+Gfe(e,27)*nke}function zj(e,t){return function(e,t,n){return xZ(e,new wd(t),new ae,new xd(n),q3(lw(jze,1),A_e,132,0,[]))}(new G,new md(e),t)}function Bj(e,t){Vj(e,VD(new YE(t.a,t.b),e.c))}function Vj(e,t){BD(e.c,t),e.b.c+=t.a,e.b.d+=t.b}function $j(e,t){this.b=new sS,this.a=e,this.c=t}function Hj(e,t){this.a=new $m,this.d=e,this.e=t}function Gj(){_G(),this.e=new sS,this.d=new sS}function Wj(){kG(),this.k=new Hm,this.d=new Pb}function Uj(){this.d=new me,this.e=new R$(this)}function qj(){this.b=new Et,this.c=new L$(this)}function Xj(e,t){if(e<0||e>=t)throw Jm(new rv)}function Yj(e,t){return function(e){var t;return e.b||function(e,t){e.c=t,e.b=!0}(e,(t=function(e,t){return t.Ch(e.a)}(e.e,e.a),!t||!fR(WPe,E7((!t.b&&(t.b=new fO((bxe(),Grt),ait,t)),t.b),"qualified")))),e.c}(jZ(e,t))?t.Lh():null}function Kj(e,t,n){return n=Jge(e,LL(t,48),7,n)}function Zj(e,t,n){return n=Jge(e,LL(t,48),3,n)}function Qj(e,t,n){return e.a=-1,MP(e,t.g+1,n),e}function Jj(e,t,n){this.a=e,dA.call(this,t,n,22)}function eF(e,t,n){this.a=e,dA.call(this,t,n,14)}function tF(e,t,n,r){bT(),NW.call(this,e,t,n,r)}function nF(e,t,n,r){bT(),NW.call(this,e,t,n,r)}function rF(e,t,n,r){this.a=e,wY.call(this,e,t,n,r)}function iF(e){ik(),this.a=0,this.b=e-1,this.c=1}function oF(e){return gxe(),new mH(10,e,0)}function aF(e){return e.i||(e.i=e.bc())}function sF(e){return e.c||(e.c=e.Dd())}function lF(e){return e.c?e.c:e.c=e.Id()}function uF(e){return e.d?e.d:e.d=e.Jd()}function cF(e,t){return wz(t),e.a.Ad(t)&&!e.b.Ad(t)}function fF(e){return null!=e&&QF(e)&&!(e.dm===_)}function hF(e){return!Array.isArray(e)&&e.dm===_}function dF(e){return e.Oc(fK(pje,zxe,1,e.gc(),5,1))}function pF(e,t){return function(e,t){return _P(),e==t?0:e?1:-1}((wB(e),e),(wB(t),t))}function gF(e,t){return j8((wB(e),e),(wB(t),t))}function mF(e,t){return T4(e,t)<0?-1:T4(e,t)>0?1:0}function bF(e,t){this.e=e,this.d=0!=(64&t)?t|l_e:t}function vF(e,t){this.c=0,this.d=e,this.b=64|t|l_e}function yF(e){this.b=new LY(11),this.a=(y$(),e)}function wF(e){this.b=null,this.a=(y$(),e||QFe)}function xF(e){this.a=(Cj(),Mje),this.d=LL(wz(e),49)}function _F(e){e?fre(e,(Q_(),EFe),""):Q_()}function SF(e){return h2(),0!=LL(e,11).e.c.length}function kF(e){return h2(),0!=LL(e,11).g.c.length}function CF(e,t){return i8(e,(wB(t),new dd(t)))}function EF(e,t){return i8(e,(wB(t),new pd(t)))}function IF(e,t){if(null==e)throw Jm(new zy(t))}function MF(e){if(!e)throw Jm(new bb);return e.d}function TF(e){return e.e?bY(e.e):null}function AF(e,t,n){return Jde(),x2(e,t)&&x2(e,n)}function PF(e){return iae(),!e.Fc(Eet)&&!e.Fc(Met)}function OF(e){return new YE(e.c+e.b/2,e.d+e.a/2)}function DF(e){this.a=Zte(e.a),this.b=new jR(e.b)}function RF(e){this.b=e,RP.call(this,e),UA(this)}function LF(e){this.b=e,NP.call(this,e),qA(this)}function NF(e,t,n,r,i){IK.call(this,e,t,n,r,i,-1)}function jF(e,t,n,r,i){MK.call(this,e,t,n,r,i,-1)}function FF(e,t,n,r){hA.call(this,e,t,n),this.b=r}function zF(e){fI.call(this,e,!1),this.a=!1}function BF(e,t,n,r){eN.call(this,e,t,n),this.b=r}function VF(e,t,n,r){this.b=e,hA.call(this,t,n,r)}function $F(e,t,n){this.a=e,GD.call(this,t,n,5,6)}function HF(e){e.d||(e.d=e.b.Ic(),e.c=e.b.gc())}function GF(e,t){for(wB(t);e.Ob();)t.td(e.Pb())}function WF(e){var t;for(t=e;t.f;)t=t.f;return t}function UF(e,t){var n;return BX(t,n=e.a.gc()),n-t}function qF(e,t,n,r){var i;(i=e.i).i=t,i.a=n,i.b=r}function XF(e,t){return t.fh()?P6(e.b,LL(t,48)):t}function YF(e,t){return fR(e.substr(0,t.length),t)}function KF(e,t){return LI(t)?M$(e,t):!!rH(e.f,t)}function ZF(e){return new xF(new OA(e.a.length,e.a))}function QF(e){return typeof e===Mxe||typeof e===Oxe}function JF(e){e.f=new CM(e),e.g=new EM(e),eH(e)}function ez(e){CP(-1!=e.b),eY(e.c,e.a=e.b),e.b=-1}function tz(e,t){this.b=e,fh.call(this,e.b),this.a=t}function nz(e,t,n){npe(),this.e=e,this.d=t,this.a=n}function rz(e){yT(this),this.g=e,u$(this),this._d()}function iz(e,t){BB(),L_.call(this,e,V6(new Vy(t)))}function oz(e,t){return gxe(),new PB(e,t,0)}function az(e,t){return gxe(),new PB(6,e,t)}function sz(e,t,n,r){G4(t,n,e.length),function(e,t,n,r){var i;for(i=t;i<n;++i)e[i]=r}(e,t,n,r)}function lz(e,t){var n;for(n=0;n<t;++n)e[n]=!1}function uz(e,t){return null==e.a.xc(t,e)}function cz(e,t,n){var r;return r=e.b[t],e.b[t]=n,r}function fz(e){var t;return EP(null!=(t=O5(e))),t}function hz(e){var t;return t=function(e){var t;if(null==(t=e.a[e.c-1&e.a.length-1]))return null;return e.c=e.c-1&e.a.length-1,nB(e.a,e.c,null),t}(e),EP(null!=t),t}function dz(e,t,n){return function(e,t,n){if(t<0)throw Jm(new Ey(FPe+t));t<e.j.c.length?mX(e.j,t,n):(WU(e,t),RL(e.j,n))}(e,t.g,n),c1(e.c,t),e}function pz(e){return!e.j&&function(e,t){e.j=t}(e,function(e,t){var n,r,i,o,a,s,l;if((n=t.Ch(e.a))&&null!=(l=HO(E7((!n.b&&(n.b=new fO((bxe(),Grt),ait,n)),n.b),uNe)))){for(r=new $m,a=0,s=(o=wge(l,"\\w")).length;a<s;++a)fR(i=o[a],"##other")?RL(r,"!##"+Yj(e,mJ(t.Cj()))):fR(i,"##local")?r.c[r.c.length]=null:fR(i,sNe)?RL(r,Yj(e,mJ(t.Cj()))):r.c[r.c.length]=i;return r}return v$(),v$(),XFe}(e.g,e.b)),e.j}function gz(e,t){return!!t&&G1(e,t)}function mz(e,t,n){return lve(e,LL(t,46),LL(n,167))}function bz(e,t){return LL(sF(lF(e.a)).Xb(t),43).ad()}function vz(e){return new cj(null,function(e,t){return function(e,t){if(0>e||e>t)throw Jm(new uw("fromIndex: 0, toIndex: "+e+ske+t))}(t,e.length),new yN(e,t)}(e,e.length))}function yz(e){e.a=null,e.e=null,JF(e.b),e.d=0,++e.c}function wz(e){if(null==e)throw Jm(new xb);return e}function xz(e){if(null==e)throw Jm(new xb);this.a=e}function _z(e,t){zm.call(this,1),this.a=e,this.b=t}function Sz(e,t){this.d=e,SA.call(this,e),this.e=t}function kz(e,t,n){this.c=e,this.a=t,v$(),this.b=n}function Cz(e){this.d=(wB(e),e),this.a=0,this.c=f_e}function Ez(e,t){jq(e.d,t,e.b.b,e.b),++e.a,e.c=null}function Iz(e,t){return null==P5(e.a,t,(_P(),nFe))}function Mz(e,t){FT(e,BT(t,152)?t:LL(t,1909).bl())}function Tz(e,t){lS(SV(e.Mc(),new Ri),new zp(t))}function Az(e,t){return e.c?Az(e.c,t):RL(e.b,t),e}function Pz(e,t,n){var r;return r=uQ(e,t),mq(e,t,n),r}function Oz(e,t){return HK(e.slice(0,t),e)}function Dz(e,t,n){var r;for(r=0;r<t;++r)nB(e,r,n)}function Rz(e,t,n,r,i){for(;t<n;)r[i++]=dV(e,t++)}function Lz(e,t,n,r,i){Coe(e,LL(KX(t.k,n),14),n,r,i)}function Nz(e){e.s=NaN,e.c=NaN,Fce(e,e.e),Fce(e,e.j)}function jz(e){return r.Math.abs(e.d.e-e.e.e)-e.a}function Fz(e){ED.call(this),this.a=e,RL(e.a,this)}function zz(e,t){this.d=function(e){switch(e){case 0:return new gv;case 1:return new dv;case 2:return new pv;default:throw Jm(new yb)}}(e),this.c=t,this.a=.5*t}function Bz(){Fq.call(this),this.a=!0,this.b=!0}function Vz(){Vz=S,qje=new lh(!1),Xje=new lh(!0)}function $z(){var e;$z=S,rk(),krt=yit?LL(Vfe((QS(),prt),DLe),1911):(pM(_je,new Su),pM(crt,new Kl),pM(srt,new su),pM(hrt,new vu),pM(frt,new ku),pM(drt,new Cu),pM(grt,new Eu),pM(mrt,new Iu),pM(ant,new Mu),pM(ont,new Bl),pM(snt,new Vl),pM(Ztt,new $l),pM(vrt,new Hl),pM(lnt,new Gl),pM(yrt,new Wl),pM(wrt,new Ul),pM(urt,new ql),pM(lrt,new Xl),pM(ait,new Yl),pM(brt,new Zl),pM(Xrt,new Ql),pM(oFe,new Jl),pM(lw(oat,1),new eu),pM(lFe,new tu),pM(cFe,new nu),pM(Uje,new ru),pM(cat,new iu),pM(fFe,new ou),pM(Ant,new au),pM(Hnt,new lu),pM(Iit,new uu),pM(Krt,new cu),pM(hFe,new fu),pM(gFe,new hu),pM(gje,new du),pM(bFe,new pu),pM(vje,new gu),pM(wit,new mu),pM(fat,new bu),pM(SFe,new yu),pM(CFe,new wu),pM(Ont,new xu),pM(hat,new _u),e=LL(BT(CH((QS(),prt),DLe),540)?CH(prt,DLe):new WB,540),yit=!0,function(e){e.gb||(e.gb=!0,e.b=e3(e,0),L1(e.b,18),N1(e.b,19),e.a=e3(e,1),L1(e.a,1),N1(e.a,2),N1(e.a,3),N1(e.a,4),N1(e.a,5),e.o=e3(e,2),L1(e.o,8),L1(e.o,9),N1(e.o,10),N1(e.o,11),N1(e.o,12),N1(e.o,13),N1(e.o,14),N1(e.o,15),N1(e.o,16),N1(e.o,17),N1(e.o,18),N1(e.o,19),N1(e.o,20),N1(e.o,21),N1(e.o,22),N1(e.o,23),YQ(e.o),YQ(e.o),YQ(e.o),YQ(e.o),YQ(e.o),YQ(e.o),YQ(e.o),YQ(e.o),YQ(e.o),YQ(e.o),e.p=e3(e,3),L1(e.p,2),L1(e.p,3),L1(e.p,4),L1(e.p,5),N1(e.p,6),N1(e.p,7),YQ(e.p),YQ(e.p),e.q=e3(e,4),L1(e.q,8),e.v=e3(e,5),N1(e.v,9),YQ(e.v),YQ(e.v),YQ(e.v),e.w=e3(e,6),L1(e.w,2),L1(e.w,3),L1(e.w,4),N1(e.w,5),e.B=e3(e,7),N1(e.B,1),YQ(e.B),YQ(e.B),YQ(e.B),e.Q=e3(e,8),N1(e.Q,0),YQ(e.Q),e.R=e3(e,9),L1(e.R,1),e.S=e3(e,10),YQ(e.S),YQ(e.S),YQ(e.S),YQ(e.S),YQ(e.S),YQ(e.S),YQ(e.S),YQ(e.S),YQ(e.S),YQ(e.S),YQ(e.S),YQ(e.S),YQ(e.S),YQ(e.S),YQ(e.S),e.T=e3(e,11),N1(e.T,10),N1(e.T,11),N1(e.T,12),N1(e.T,13),N1(e.T,14),YQ(e.T),YQ(e.T),e.U=e3(e,12),L1(e.U,2),L1(e.U,3),N1(e.U,4),N1(e.U,5),N1(e.U,6),N1(e.U,7),YQ(e.U),e.V=e3(e,13),N1(e.V,10),e.W=e3(e,14),L1(e.W,18),L1(e.W,19),L1(e.W,20),N1(e.W,21),N1(e.W,22),N1(e.W,23),e.bb=e3(e,15),L1(e.bb,10),L1(e.bb,11),L1(e.bb,12),L1(e.bb,13),L1(e.bb,14),L1(e.bb,15),L1(e.bb,16),N1(e.bb,17),YQ(e.bb),YQ(e.bb),e.eb=e3(e,16),L1(e.eb,2),L1(e.eb,3),L1(e.eb,4),L1(e.eb,5),L1(e.eb,6),L1(e.eb,7),N1(e.eb,8),N1(e.eb,9),e.ab=e3(e,17),L1(e.ab,0),L1(e.ab,1),e.H=e3(e,18),N1(e.H,0),N1(e.H,1),N1(e.H,2),N1(e.H,3),N1(e.H,4),N1(e.H,5),YQ(e.H),e.db=e3(e,19),N1(e.db,2),e.c=t3(e,20),e.d=t3(e,21),e.e=t3(e,22),e.f=t3(e,23),e.i=t3(e,24),e.g=t3(e,25),e.j=t3(e,26),e.k=t3(e,27),e.n=t3(e,28),e.r=t3(e,29),e.s=t3(e,30),e.t=t3(e,31),e.u=t3(e,32),e.fb=t3(e,33),e.A=t3(e,34),e.C=t3(e,35),e.D=t3(e,36),e.F=t3(e,37),e.G=t3(e,38),e.I=t3(e,39),e.J=t3(e,40),e.L=t3(e,41),e.M=t3(e,42),e.N=t3(e,43),e.O=t3(e,44),e.P=t3(e,45),e.X=t3(e,46),e.Y=t3(e,47),e.Z=t3(e,48),e.$=t3(e,49),e._=t3(e,50),e.cb=t3(e,51),e.K=t3(e,52))}(e),function(e){var t,n,r,i,o,a,s;e.hb||(e.hb=!0,O1(e,"ecore"),D1(e,"ecore"),R1(e,DLe),O3(e.fb,"E"),O3(e.L,"T"),O3(e.P,"K"),O3(e.P,"V"),O3(e.cb,"E"),AK(K$(e.b),e.bb),AK(K$(e.a),e.Q),AK(K$(e.o),e.p),AK(K$(e.p),e.R),AK(K$(e.q),e.p),AK(K$(e.v),e.q),AK(K$(e.w),e.R),AK(K$(e.B),e.Q),AK(K$(e.R),e.Q),AK(K$(e.T),e.eb),AK(K$(e.U),e.R),AK(K$(e.V),e.eb),AK(K$(e.W),e.bb),AK(K$(e.bb),e.eb),AK(K$(e.eb),e.R),AK(K$(e.db),e.R),BW(e.b,crt,KRe,!1,!1,!0),W1(LL(sJ(k$(e.b),0),32),e.e,"iD",null,0,1,crt,!1,!1,!0,!1,!0,!1),Rre(LL(sJ(k$(e.b),1),17),e.q,null,"eAttributeType",1,1,crt,!0,!0,!1,!1,!0,!1,!0),BW(e.a,srt,qRe,!1,!1,!0),W1(LL(sJ(k$(e.a),0),32),e._,lDe,null,0,1,srt,!1,!1,!0,!1,!0,!1),Rre(LL(sJ(k$(e.a),1),17),e.ab,null,"details",0,-1,srt,!1,!1,!0,!0,!1,!1,!1),Rre(LL(sJ(k$(e.a),2),17),e.Q,LL(sJ(k$(e.Q),0),17),"eModelElement",0,1,srt,!0,!1,!0,!1,!1,!1,!1),Rre(LL(sJ(k$(e.a),3),17),e.S,null,"contents",0,-1,srt,!1,!1,!0,!0,!1,!1,!1),Rre(LL(sJ(k$(e.a),4),17),e.S,null,"references",0,-1,srt,!1,!1,!0,!1,!0,!1,!1),BW(e.o,hrt,"EClass",!1,!1,!0),W1(LL(sJ(k$(e.o),0),32),e.e,"abstract",null,0,1,hrt,!1,!1,!0,!1,!0,!1),W1(LL(sJ(k$(e.o),1),32),e.e,"interface",null,0,1,hrt,!1,!1,!0,!1,!0,!1),Rre(LL(sJ(k$(e.o),2),17),e.o,null,"eSuperTypes",0,-1,hrt,!1,!1,!0,!1,!0,!0,!1),Rre(LL(sJ(k$(e.o),3),17),e.T,LL(sJ(k$(e.T),0),17),"eOperations",0,-1,hrt,!1,!1,!0,!0,!1,!1,!1),Rre(LL(sJ(k$(e.o),4),17),e.b,null,"eAllAttributes",0,-1,hrt,!0,!0,!1,!1,!0,!1,!0),Rre(LL(sJ(k$(e.o),5),17),e.W,null,"eAllReferences",0,-1,hrt,!0,!0,!1,!1,!0,!1,!0),Rre(LL(sJ(k$(e.o),6),17),e.W,null,"eReferences",0,-1,hrt,!0,!0,!1,!1,!0,!1,!0),Rre(LL(sJ(k$(e.o),7),17),e.b,null,"eAttributes",0,-1,hrt,!0,!0,!1,!1,!0,!1,!0),Rre(LL(sJ(k$(e.o),8),17),e.W,null,"eAllContainments",0,-1,hrt,!0,!0,!1,!1,!0,!1,!0),Rre(LL(sJ(k$(e.o),9),17),e.T,null,"eAllOperations",0,-1,hrt,!0,!0,!1,!1,!0,!1,!0),Rre(LL(sJ(k$(e.o),10),17),e.bb,null,"eAllStructuralFeatures",0,-1,hrt,!0,!0,!1,!1,!0,!1,!0),Rre(LL(sJ(k$(e.o),11),17),e.o,null,"eAllSuperTypes",0,-1,hrt,!0,!0,!1,!1,!0,!1,!0),Rre(LL(sJ(k$(e.o),12),17),e.b,null,"eIDAttribute",0,1,hrt,!0,!0,!1,!1,!1,!1,!0),Rre(LL(sJ(k$(e.o),13),17),e.bb,LL(sJ(k$(e.bb),7),17),"eStructuralFeatures",0,-1,hrt,!1,!1,!0,!0,!1,!1,!1),Rre(LL(sJ(k$(e.o),14),17),e.H,null,"eGenericSuperTypes",0,-1,hrt,!1,!1,!0,!0,!1,!0,!1),Rre(LL(sJ(k$(e.o),15),17),e.H,null,"eAllGenericSuperTypes",0,-1,hrt,!0,!0,!1,!1,!0,!1,!0),Fre(s=S0(LL(sJ(S$(e.o),0),58),e.e,"isSuperTypeOf"),e.o,"someClass"),S0(LL(sJ(S$(e.o),1),58),e.I,"getFeatureCount"),Fre(s=S0(LL(sJ(S$(e.o),2),58),e.bb,jLe),e.I,"featureID"),Fre(s=S0(LL(sJ(S$(e.o),3),58),e.I,FLe),e.bb,zLe),Fre(s=S0(LL(sJ(S$(e.o),4),58),e.bb,jLe),e._,"featureName"),S0(LL(sJ(S$(e.o),5),58),e.I,"getOperationCount"),Fre(s=S0(LL(sJ(S$(e.o),6),58),e.T,"getEOperation"),e.I,"operationID"),Fre(s=S0(LL(sJ(S$(e.o),7),58),e.I,BLe),e.T,VLe),Fre(s=S0(LL(sJ(S$(e.o),8),58),e.T,"getOverride"),e.T,VLe),Fre(s=S0(LL(sJ(S$(e.o),9),58),e.H,"getFeatureType"),e.bb,zLe),BW(e.p,frt,ZRe,!0,!1,!0),W1(LL(sJ(k$(e.p),0),32),e._,"instanceClassName",null,0,1,frt,!1,!0,!0,!0,!0,!1),t=BV(e.L),n=fU(),AK((!t.d&&(t.d=new hA(brt,t,1)),t.d),n),Mce(LL(sJ(k$(e.p),1),32),t,"instanceClass",frt,!0,!0,!1,!0),W1(LL(sJ(k$(e.p),2),32),e.M,$Le,null,0,1,frt,!0,!0,!1,!1,!0,!0),W1(LL(sJ(k$(e.p),3),32),e._,"instanceTypeName",null,0,1,frt,!1,!0,!0,!0,!0,!1),Rre(LL(sJ(k$(e.p),4),17),e.U,LL(sJ(k$(e.U),3),17),"ePackage",0,1,frt,!0,!1,!1,!1,!0,!1,!1),Rre(LL(sJ(k$(e.p),5),17),e.db,null,HLe,0,-1,frt,!1,!1,!0,!0,!0,!1,!1),Fre(s=S0(LL(sJ(S$(e.p),0),58),e.e,GLe),e.M,Mxe),S0(LL(sJ(S$(e.p),1),58),e.I,"getClassifierID"),BW(e.q,drt,"EDataType",!1,!1,!0),W1(LL(sJ(k$(e.q),0),32),e.e,"serializable",GPe,0,1,drt,!1,!1,!0,!1,!0,!1),BW(e.v,grt,"EEnum",!1,!1,!0),Rre(LL(sJ(k$(e.v),0),17),e.w,LL(sJ(k$(e.w),3),17),"eLiterals",0,-1,grt,!1,!1,!0,!0,!1,!1,!1),Fre(s=S0(LL(sJ(S$(e.v),0),58),e.w,WLe),e._,zDe),Fre(s=S0(LL(sJ(S$(e.v),1),58),e.w,WLe),e.I,sDe),Fre(s=S0(LL(sJ(S$(e.v),2),58),e.w,"getEEnumLiteralByLiteral"),e._,"literal"),BW(e.w,mrt,QRe,!1,!1,!0),W1(LL(sJ(k$(e.w),0),32),e.I,sDe,null,0,1,mrt,!1,!1,!0,!1,!0,!1),W1(LL(sJ(k$(e.w),1),32),e.A,"instance",null,0,1,mrt,!0,!1,!0,!1,!0,!1),W1(LL(sJ(k$(e.w),2),32),e._,"literal",null,0,1,mrt,!1,!1,!0,!1,!0,!1),Rre(LL(sJ(k$(e.w),3),17),e.v,LL(sJ(k$(e.v),0),17),"eEnum",0,1,mrt,!0,!1,!1,!1,!1,!1,!1),BW(e.B,ant,"EFactory",!1,!1,!0),Rre(LL(sJ(k$(e.B),0),17),e.U,LL(sJ(k$(e.U),2),17),"ePackage",1,1,ant,!0,!1,!0,!1,!1,!1,!1),Fre(s=S0(LL(sJ(S$(e.B),0),58),e.S,"create"),e.o,"eClass"),Fre(s=S0(LL(sJ(S$(e.B),1),58),e.M,"createFromString"),e.q,"eDataType"),Fre(s,e._,"literalValue"),Fre(s=S0(LL(sJ(S$(e.B),2),58),e._,"convertToString"),e.q,"eDataType"),Fre(s,e.M,"instanceValue"),BW(e.Q,ont,NOe,!0,!1,!0),Rre(LL(sJ(k$(e.Q),0),17),e.a,LL(sJ(k$(e.a),2),17),"eAnnotations",0,-1,ont,!1,!1,!0,!0,!1,!1,!1),Fre(s=S0(LL(sJ(S$(e.Q),0),58),e.a,"getEAnnotation"),e._,lDe),BW(e.R,snt,jOe,!0,!1,!0),W1(LL(sJ(k$(e.R),0),32),e._,zDe,null,0,1,snt,!1,!1,!0,!1,!0,!1),BW(e.S,Ztt,"EObject",!1,!1,!0),S0(LL(sJ(S$(e.S),0),58),e.o,"eClass"),S0(LL(sJ(S$(e.S),1),58),e.e,"eIsProxy"),S0(LL(sJ(S$(e.S),2),58),e.X,"eResource"),S0(LL(sJ(S$(e.S),3),58),e.S,"eContainer"),S0(LL(sJ(S$(e.S),4),58),e.bb,"eContainingFeature"),S0(LL(sJ(S$(e.S),5),58),e.W,"eContainmentFeature"),s=S0(LL(sJ(S$(e.S),6),58),null,"eContents"),t=BV(e.fb),n=BV(e.S),AK((!t.d&&(t.d=new hA(brt,t,1)),t.d),n),!!(i=hae(s,t,null))&&i.Ai(),s=S0(LL(sJ(S$(e.S),7),58),null,"eAllContents"),t=BV(e.cb),n=BV(e.S),AK((!t.d&&(t.d=new hA(brt,t,1)),t.d),n),!!(o=hae(s,t,null))&&o.Ai(),s=S0(LL(sJ(S$(e.S),8),58),null,"eCrossReferences"),t=BV(e.fb),n=BV(e.S),AK((!t.d&&(t.d=new hA(brt,t,1)),t.d),n),!!(a=hae(s,t,null))&&a.Ai(),Fre(s=S0(LL(sJ(S$(e.S),9),58),e.M,"eGet"),e.bb,zLe),Fre(s=S0(LL(sJ(S$(e.S),10),58),e.M,"eGet"),e.bb,zLe),Fre(s,e.e,"resolve"),Fre(s=S0(LL(sJ(S$(e.S),11),58),null,"eSet"),e.bb,zLe),Fre(s,e.M,"newValue"),Fre(s=S0(LL(sJ(S$(e.S),12),58),e.e,"eIsSet"),e.bb,zLe),Fre(s=S0(LL(sJ(S$(e.S),13),58),null,"eUnset"),e.bb,zLe),Fre(s=S0(LL(sJ(S$(e.S),14),58),e.M,"eInvoke"),e.T,VLe),t=BV(e.fb),n=fU(),AK((!t.d&&(t.d=new hA(brt,t,1)),t.d),n),eoe(s,t,"arguments"),function(e,t){AK((!e.a&&(e.a=new uD(e,e)),e.a),t)}(s,e.K),BW(e.T,vrt,eLe,!1,!1,!0),Rre(LL(sJ(k$(e.T),0),17),e.o,LL(sJ(k$(e.o),3),17),ULe,0,1,vrt,!0,!1,!1,!1,!1,!1,!1),Rre(LL(sJ(k$(e.T),1),17),e.db,null,HLe,0,-1,vrt,!1,!1,!0,!0,!0,!1,!1),Rre(LL(sJ(k$(e.T),2),17),e.V,LL(sJ(k$(e.V),0),17),"eParameters",0,-1,vrt,!1,!1,!0,!0,!1,!1,!1),Rre(LL(sJ(k$(e.T),3),17),e.p,null,"eExceptions",0,-1,vrt,!1,!1,!0,!1,!0,!0,!1),Rre(LL(sJ(k$(e.T),4),17),e.H,null,"eGenericExceptions",0,-1,vrt,!1,!1,!0,!0,!1,!0,!1),S0(LL(sJ(S$(e.T),0),58),e.I,BLe),Fre(s=S0(LL(sJ(S$(e.T),1),58),e.e,"isOverrideOf"),e.T,"someOperation"),BW(e.U,lnt,"EPackage",!1,!1,!0),W1(LL(sJ(k$(e.U),0),32),e._,"nsURI",null,0,1,lnt,!1,!1,!0,!1,!0,!1),W1(LL(sJ(k$(e.U),1),32),e._,"nsPrefix",null,0,1,lnt,!1,!1,!0,!1,!0,!1),Rre(LL(sJ(k$(e.U),2),17),e.B,LL(sJ(k$(e.B),0),17),"eFactoryInstance",1,1,lnt,!0,!1,!0,!1,!1,!1,!1),Rre(LL(sJ(k$(e.U),3),17),e.p,LL(sJ(k$(e.p),4),17),"eClassifiers",0,-1,lnt,!1,!1,!0,!0,!0,!1,!1),Rre(LL(sJ(k$(e.U),4),17),e.U,LL(sJ(k$(e.U),5),17),"eSubpackages",0,-1,lnt,!1,!1,!0,!0,!0,!1,!1),Rre(LL(sJ(k$(e.U),5),17),e.U,LL(sJ(k$(e.U),4),17),"eSuperPackage",0,1,lnt,!0,!1,!1,!1,!0,!1,!1),Fre(s=S0(LL(sJ(S$(e.U),0),58),e.p,"getEClassifier"),e._,zDe),BW(e.V,yrt,tLe,!1,!1,!0),Rre(LL(sJ(k$(e.V),0),17),e.T,LL(sJ(k$(e.T),2),17),"eOperation",0,1,yrt,!0,!1,!1,!1,!1,!1,!1),BW(e.W,wrt,nLe,!1,!1,!0),W1(LL(sJ(k$(e.W),0),32),e.e,"containment",null,0,1,wrt,!1,!1,!0,!1,!0,!1),W1(LL(sJ(k$(e.W),1),32),e.e,"container",null,0,1,wrt,!0,!0,!1,!1,!0,!0),W1(LL(sJ(k$(e.W),2),32),e.e,"resolveProxies",GPe,0,1,wrt,!1,!1,!0,!1,!0,!1),Rre(LL(sJ(k$(e.W),3),17),e.W,null,"eOpposite",0,1,wrt,!1,!1,!0,!1,!0,!1,!1),Rre(LL(sJ(k$(e.W),4),17),e.o,null,"eReferenceType",1,1,wrt,!0,!0,!1,!1,!0,!1,!0),Rre(LL(sJ(k$(e.W),5),17),e.b,null,"eKeys",0,-1,wrt,!1,!1,!0,!1,!0,!1,!1),BW(e.bb,urt,YRe,!0,!1,!0),W1(LL(sJ(k$(e.bb),0),32),e.e,"changeable",GPe,0,1,urt,!1,!1,!0,!1,!0,!1),W1(LL(sJ(k$(e.bb),1),32),e.e,"volatile",null,0,1,urt,!1,!1,!0,!1,!0,!1),W1(LL(sJ(k$(e.bb),2),32),e.e,"transient",null,0,1,urt,!1,!1,!0,!1,!0,!1),W1(LL(sJ(k$(e.bb),3),32),e._,"defaultValueLiteral",null,0,1,urt,!1,!1,!0,!1,!0,!1),W1(LL(sJ(k$(e.bb),4),32),e.M,$Le,null,0,1,urt,!0,!0,!1,!1,!0,!0),W1(LL(sJ(k$(e.bb),5),32),e.e,"unsettable",null,0,1,urt,!1,!1,!0,!1,!0,!1),W1(LL(sJ(k$(e.bb),6),32),e.e,"derived",null,0,1,urt,!1,!1,!0,!1,!0,!1),Rre(LL(sJ(k$(e.bb),7),17),e.o,LL(sJ(k$(e.o),13),17),ULe,0,1,urt,!0,!1,!1,!1,!1,!1,!1),S0(LL(sJ(S$(e.bb),0),58),e.I,FLe),s=S0(LL(sJ(S$(e.bb),1),58),null,"getContainerClass"),t=BV(e.L),n=fU(),AK((!t.d&&(t.d=new hA(brt,t,1)),t.d),n),!!(r=hae(s,t,null))&&r.Ai(),BW(e.eb,lrt,XRe,!0,!1,!0),W1(LL(sJ(k$(e.eb),0),32),e.e,"ordered",GPe,0,1,lrt,!1,!1,!0,!1,!0,!1),W1(LL(sJ(k$(e.eb),1),32),e.e,"unique",GPe,0,1,lrt,!1,!1,!0,!1,!0,!1),W1(LL(sJ(k$(e.eb),2),32),e.I,"lowerBound",null,0,1,lrt,!1,!1,!0,!1,!0,!1),W1(LL(sJ(k$(e.eb),3),32),e.I,"upperBound","1",0,1,lrt,!1,!1,!0,!1,!0,!1),W1(LL(sJ(k$(e.eb),4),32),e.e,"many",null,0,1,lrt,!0,!0,!1,!1,!0,!0),W1(LL(sJ(k$(e.eb),5),32),e.e,"required",null,0,1,lrt,!0,!0,!1,!1,!0,!0),Rre(LL(sJ(k$(e.eb),6),17),e.p,null,"eType",0,1,lrt,!1,!0,!0,!1,!0,!0,!1),Rre(LL(sJ(k$(e.eb),7),17),e.H,null,"eGenericType",0,1,lrt,!1,!0,!0,!0,!1,!0,!1),BW(e.ab,_je,"EStringToStringMapEntry",!1,!1,!1),W1(LL(sJ(k$(e.ab),0),32),e._,"key",null,0,1,_je,!1,!1,!0,!1,!0,!1),W1(LL(sJ(k$(e.ab),1),32),e._,sDe,null,0,1,_je,!1,!1,!0,!1,!0,!1),BW(e.H,brt,JRe,!1,!1,!0),Rre(LL(sJ(k$(e.H),0),17),e.H,null,"eUpperBound",0,1,brt,!1,!1,!0,!0,!1,!1,!1),Rre(LL(sJ(k$(e.H),1),17),e.H,null,"eTypeArguments",0,-1,brt,!1,!1,!0,!0,!1,!1,!1),Rre(LL(sJ(k$(e.H),2),17),e.p,null,"eRawType",1,1,brt,!0,!1,!1,!1,!0,!1,!0),Rre(LL(sJ(k$(e.H),3),17),e.H,null,"eLowerBound",0,1,brt,!1,!1,!0,!0,!1,!1,!1),Rre(LL(sJ(k$(e.H),4),17),e.db,null,"eTypeParameter",0,1,brt,!1,!1,!0,!1,!1,!1,!1),Rre(LL(sJ(k$(e.H),5),17),e.p,null,"eClassifier",0,1,brt,!1,!1,!0,!1,!0,!1,!1),Fre(s=S0(LL(sJ(S$(e.H),0),58),e.e,GLe),e.M,Mxe),BW(e.db,Xrt,rLe,!1,!1,!0),Rre(LL(sJ(k$(e.db),0),17),e.H,null,"eBounds",0,-1,Xrt,!1,!1,!0,!0,!1,!1,!1),bV(e.c,VFe,"EBigDecimal",!0),bV(e.d,UFe,"EBigInteger",!0),bV(e.e,rat,"EBoolean",!0),bV(e.f,oFe,"EBooleanObject",!0),bV(e.i,oat,"EByte",!0),bV(e.g,lw(oat,1),"EByteArray",!0),bV(e.j,lFe,"EByteObject",!0),bV(e.k,tat,"EChar",!0),bV(e.n,cFe,"ECharacterObject",!0),bV(e.r,Uje,"EDate",!0),bV(e.s,cat,"EDiagnosticChain",!1),bV(e.t,aat,"EDouble",!0),bV(e.u,fFe,"EDoubleObject",!0),bV(e.fb,Ant,"EEList",!1),bV(e.A,Hnt,"EEnumerator",!1),bV(e.C,Iit,"EFeatureMap",!1),bV(e.D,Krt,"EFeatureMapEntry",!1),bV(e.F,sat,"EFloat",!0),bV(e.G,hFe,"EFloatObject",!0),bV(e.I,nat,"EInt",!0),bV(e.J,gFe,"EIntegerObject",!0),bV(e.L,gje,"EJavaClass",!0),bV(e.M,pje,"EJavaObject",!0),bV(e.N,iat,"ELong",!0),bV(e.O,bFe,"ELongObject",!0),bV(e.P,vje,"EMap",!1),bV(e.X,wit,"EResource",!1),bV(e.Y,fat,"EResourceSet",!1),bV(e.Z,lat,"EShort",!0),bV(e.$,SFe,"EShortObject",!0),bV(e._,CFe,"EString",!0),bV(e.cb,Ont,"ETreeIterator",!1),bV(e.K,hat,"EInvocationTargetException",!1),x6(e,DLe))}(e),eV((JS(),_rt),e,new zl),vG(prt,DLe,e),e),bxe(),Ert&&function(){var e;for(rk(),function(e){Kfe(e.c,SLe,q3(lw(CFe,1),s_e,2,6,[NLe,"http://www.w3.org/2001/XMLSchema#decimal"])),Kfe(e.d,SLe,q3(lw(CFe,1),s_e,2,6,[NLe,"http://www.w3.org/2001/XMLSchema#integer"])),Kfe(e.e,SLe,q3(lw(CFe,1),s_e,2,6,[NLe,"http://www.w3.org/2001/XMLSchema#boolean"])),Kfe(e.f,SLe,q3(lw(CFe,1),s_e,2,6,[NLe,"EBoolean",zDe,"EBoolean:Object"])),Kfe(e.i,SLe,q3(lw(CFe,1),s_e,2,6,[NLe,"http://www.w3.org/2001/XMLSchema#byte"])),Kfe(e.g,SLe,q3(lw(CFe,1),s_e,2,6,[NLe,"http://www.w3.org/2001/XMLSchema#hexBinary"])),Kfe(e.j,SLe,q3(lw(CFe,1),s_e,2,6,[NLe,"EByte",zDe,"EByte:Object"])),Kfe(e.n,SLe,q3(lw(CFe,1),s_e,2,6,[NLe,"EChar",zDe,"EChar:Object"])),Kfe(e.t,SLe,q3(lw(CFe,1),s_e,2,6,[NLe,"http://www.w3.org/2001/XMLSchema#double"])),Kfe(e.u,SLe,q3(lw(CFe,1),s_e,2,6,[NLe,"EDouble",zDe,"EDouble:Object"])),Kfe(e.F,SLe,q3(lw(CFe,1),s_e,2,6,[NLe,"http://www.w3.org/2001/XMLSchema#float"])),Kfe(e.G,SLe,q3(lw(CFe,1),s_e,2,6,[NLe,"EFloat",zDe,"EFloat:Object"])),Kfe(e.I,SLe,q3(lw(CFe,1),s_e,2,6,[NLe,"http://www.w3.org/2001/XMLSchema#int"])),Kfe(e.J,SLe,q3(lw(CFe,1),s_e,2,6,[NLe,"EInt",zDe,"EInt:Object"])),Kfe(e.N,SLe,q3(lw(CFe,1),s_e,2,6,[NLe,"http://www.w3.org/2001/XMLSchema#long"])),Kfe(e.O,SLe,q3(lw(CFe,1),s_e,2,6,[NLe,"ELong",zDe,"ELong:Object"])),Kfe(e.Z,SLe,q3(lw(CFe,1),s_e,2,6,[NLe,"http://www.w3.org/2001/XMLSchema#short"])),Kfe(e.$,SLe,q3(lw(CFe,1),s_e,2,6,[NLe,"EShort",zDe,"EShort:Object"])),Kfe(e._,SLe,q3(lw(CFe,1),s_e,2,6,[NLe,"http://www.w3.org/2001/XMLSchema#string"]))}(($z(),krt)),function(e){Kfe(e.b,DLe,q3(lw(CFe,1),s_e,2,6,[LLe,"ConsistentTransient"])),Kfe(e.a,DLe,q3(lw(CFe,1),s_e,2,6,[LLe,"WellFormedSourceURI"])),Kfe(e.o,DLe,q3(lw(CFe,1),s_e,2,6,[LLe,"InterfaceIsAbstract AtMostOneID UniqueFeatureNames UniqueOperationSignatures NoCircularSuperTypes WellFormedMapEntryClass ConsistentSuperTypes DisjointFeatureAndOperationSignatures"])),Kfe(e.p,DLe,q3(lw(CFe,1),s_e,2,6,[LLe,"WellFormedInstanceTypeName UniqueTypeParameterNames"])),Kfe(e.v,DLe,q3(lw(CFe,1),s_e,2,6,[LLe,"UniqueEnumeratorNames UniqueEnumeratorLiterals"])),Kfe(e.R,DLe,q3(lw(CFe,1),s_e,2,6,[LLe,"WellFormedName"])),Kfe(e.T,DLe,q3(lw(CFe,1),s_e,2,6,[LLe,"UniqueParameterNames UniqueTypeParameterNames NoRepeatingVoid"])),Kfe(e.U,DLe,q3(lw(CFe,1),s_e,2,6,[LLe,"WellFormedNsURI WellFormedNsPrefix UniqueSubpackageNames UniqueClassifierNames UniqueNsURIs"])),Kfe(e.W,DLe,q3(lw(CFe,1),s_e,2,6,[LLe,"ConsistentOpposite SingleContainer ConsistentKeys ConsistentUnique ConsistentContainer"])),Kfe(e.bb,DLe,q3(lw(CFe,1),s_e,2,6,[LLe,"ValidDefaultValueLiteral"])),Kfe(e.eb,DLe,q3(lw(CFe,1),s_e,2,6,[LLe,"ValidLowerBound ValidUpperBound ConsistentBounds ValidType"])),Kfe(e.H,DLe,q3(lw(CFe,1),s_e,2,6,[LLe,"ConsistentType ConsistentBounds ConsistentArguments"]))}(krt),Dre(krt),bxe(),rit=Lrt,e=new td(vit);e.a<e.c.c.length;)Dye(LL(xW(e),240),Lrt,null)}()}function Hz(e){return(null==e.i&&Kme(e),e.i).length}function Gz(e){return BT(e,97)&&0!=(LL(e,17).Bb&YOe)}function Wz(e){return wz(e),BT(e,469)?LL(e,469):P9(e)}function Uz(e){return e.j||(e.j=new Ff(e))}function qz(e){return e.j||(e.j=new Ff(e))}function Xz(e){return e.f||(e.f=new PA(e))}function Yz(e,t,n){return gxe(),new uW(e,t,n)}function Kz(e,t){return $W(t,e.c.b.c.gc()),new u_(e,t)}function Zz(e,t){return t=e.ik(null,t),sae(e,null,t)}function Qz(e,t){return e.ci()&&(t=ZH(e,t)),e.Rh(t)}function Jz(e,t){var n;return $W(t,n=e.a.gc()),n-1-t}function eB(e,t,n){var r;return c0(n,r=tB(e,t)),r}function tB(e,t){var n;return(n=new I5).j=e,n.d=t,n}function nB(e,t,n){return function(e){if(!e)throw Jm(new mb)}(null==n||function(e,t){var n;switch(wQ(e)){case 6:return LI(t);case 7:return RI(t);case 8:return DI(t);case 3:return Array.isArray(t)&&!((n=wQ(t))>=14&&n<=16);case 11:return null!=t&&typeof t===Oxe;case 12:return null!=t&&(typeof t===Mxe||typeof t==Oxe);case 0:return Gte(t,e.__elementTypeId$);case 2:return QF(t)&&!(t.dm===_);case 1:return QF(t)&&!(t.dm===_)||Gte(t,e.__elementTypeId$);default:return!0}}(e,n)),e[t]=n}function rB(e,t){return e.a+=String.fromCharCode(t),e}function iB(e,t){return e.a+=String.fromCharCode(t),e}function oB(e,t){++e.j,Goe(e,e.i,t),function(e,t){var n,r,i,o;e.j=-1,FM(e.e)?(n=e.i,o=0!=e.i,WX(e,t),r=new RZ(e.e,3,e.c,null,t,n,o),i=t.Lk(e.e,e.c,null),(i=_oe(e,t,i))?(i.zi(r),i.Ai()):Y2(e.e,r)):(WX(e,t),(i=t.Lk(e.e,e.c,null))&&i.Ai())}(e,LL(t,330))}function aB(e,t){return LI(t)?CH(e,t):PI(rH(e.f,t))}function sB(e,t){for(wB(t);e.c<e.d;)e.ze(t,e.c++)}function lB(e,t){console[e].call(console,t)}function uB(e){return e.d||(e.d=new Yf(e))}function cB(e){return BT(e,594)?e:new gH(e)}function fB(e,t,n,r){return 0==n||(n-r)/n<e.e||t>=e.g}function hB(e,t,n){return qpe(e,k1(e,t,n))}function dB(e){ED.call(this),this.a=new hx,this.c=e}function pB(e){this.b=new $m,this.a=new $m,this.c=e}function gB(e){this.a=new $m,this.c=new $m,this.e=e}function mB(e){this.c=new hx,this.a=new $m,this.b=e}function bB(e){this.c=e,this.a=new sS,this.b=new sS}function vB(e){nv(),this.b=new $m,this.a=e,function(e,t){var n,r,i,o,a;for(n=new gw,a=!1,o=0;o<t.length;o++)if(TG(o,t.length),32!=(r=t.charCodeAt(o)))a?39==r?o+1<t.length&&(TG(o+1,t.length),39==t.charCodeAt(o+1))?(n.a+=String.fromCharCode(r),++o):a=!1:n.a+=String.fromCharCode(r):SM("GyMLdkHmsSEcDahKzZv",bae(r))>0?(Pte(e,n,0),n.a+=String.fromCharCode(r),Pte(e,n,i=xee(t,o)),o+=i-1):39==r?o+1<t.length&&(TG(o+1,t.length),39==t.charCodeAt(o+1))?(n.a+="'",++o):a=!0:n.a+=String.fromCharCode(r);else for(Pte(e,n,0),n.a+=" ",Pte(e,n,0);o+1<t.length&&(TG(o+1,t.length),32==t.charCodeAt(o+1));)++o;Pte(e,n,0),function(e){var t,n,r;for(t=!1,r=e.b.c.length,n=0;n<r;n++)Q5(LL(JN(e.b,n),427))?!t&&n+1<r&&Q5(LL(JN(e.b,n+1),427))&&(t=!0,LL(JN(e.b,n),427).a=!0):t=!1}(e)}(this,e)}function yB(e,t){if(!e)throw Jm(new zy(t));return e}function wB(e){if(null==e)throw Jm(new xb);return e}function xB(e){return!e.a&&(e.a=new hA(Ztt,e,4)),e.a}function _B(e){return!e.d&&(e.d=new hA(brt,e,1)),e.d}function SB(e,t){var n;uQ(e,n=e.a.length),mq(e,n,t)}function kB(e,t){var n;++e.j,n=e.Qi(),e.Di(e.ji(n,t))}function CB(e){return e?e.dc():!e.Ic().Ob()}function EB(e){return r.Math.sqrt(e.a*e.a+e.b*e.b)}function IB(e,t){return OI(e)===OI(t)||null!=e&&l8(e,t)}function MB(e,t,n){this.a=e,XU.call(this,8,t,null,n)}function TB(e,t,n){this.a=e,Tm.call(this,t),this.b=n}function AB(e,t,n){Am.call(this,t),this.a=e,this.b=n}function PB(e,t,n){zm.call(this,e),this.a=t,this.b=n}function OB(e){this.c=e,this.b=this.c.a,this.a=this.c.e}function DB(e){this.c=e,this.b=e.a.d.a,wP(e.a.e,this)}function RB(e){zV(e.a),e.b=fK(pje,zxe,1,e.b.length,5,1)}function LB(e){e.c?e.c.He():(e.d=!0,function(e){var t,n,r,i,o;if(o=new $m,uJ(e.b,new Ad(o)),e.b.c=fK(pje,zxe,1,0,5,1),0!=o.c.length){for(MG(0,o.c.length),t=LL(o.c[0],78),n=1,r=o.c.length;n<r;++n)MG(n,o.c.length),(i=LL(o.c[n],78))!=t&&pae(t,i);if(BT(t,59))throw Jm(LL(t,59));if(BT(t,288))throw Jm(LL(t,288))}}(e))}function NB(e){e.c?NB(e.c):(H8(e),e.d=!0)}function jB(e){return!e.a&&e.c?e.c.b:e.a}function FB(e){return e.c.i.c==e.d.i.c}function zB(e,t){return Xj(t,e.a.c.length),JN(e.a,t)}function BB(){BB=S,IR(),Cje=new pH((v$(),v$(),XFe))}function VB(){VB=S,IR(),Rje=new uk((v$(),v$(),KFe))}function $B(e){this.a=(wB(SLe),SLe),this.b=e,new Av}function HB(e,t){this.b=e,Sz.call(this,e,t),UA(this)}function GB(e,t){this.b=e,yR.call(this,e,t),qA(this)}function WB(){var e;Aae.call(this,DLe,(Cx(),Srt)),(e=this).b=null,e.a=null,e.o=null,e.q=null,e.v=null,e.w=null,e.B=null,e.p=null,e.Q=null,e.R=null,e.S=null,e.T=null,e.U=null,e.V=null,e.W=null,e.bb=null,e.eb=null,e.ab=null,e.H=null,e.db=null,e.c=null,e.d=null,e.f=null,e.n=null,e.r=null,e.s=null,e.u=null,e.G=null,e.J=null,e.e=null,e.j=null,e.i=null,e.g=null,e.k=null,e.t=null,e.F=null,e.I=null,e.L=null,e.M=null,e.O=null,e.P=null,e.$=null,e.N=null,e.Z=null,e.cb=null,e.K=null,e.D=null,e.A=null,e.C=null,e._=null,e.fb=null,e.X=null,e.Y=null,e.gb=!1,e.hb=!1}function UB(){var e;Aae.call(this,cNe,(Ex(),Fit)),(e=this).b=null,e.bb=null,e.fb=null,e.qb=null,e.a=null,e.c=null,e.d=null,e.e=null,e.f=null,e.n=null,e.M=null,e.L=null,e.Q=null,e.R=null,e.K=null,e.db=null,e.eb=null,e.g=null,e.i=null,e.j=null,e.k=null,e.gb=null,e.o=null,e.p=null,e.q=null,e.r=null,e.$=null,e.ib=null,e.S=null,e.T=null,e.t=null,e.s=null,e.u=null,e.v=null,e.w=null,e.B=null,e.A=null,e.C=null,e.D=null,e.F=null,e.G=null,e.H=null,e.I=null,e.J=null,e.P=null,e.Z=null,e.U=null,e.V=null,e.W=null,e.X=null,e.Y=null,e._=null,e.ab=null,e.cb=null,e.hb=null,e.nb=null,e.lb=null,e.mb=null,e.ob=null,e.pb=null,e.jb=null,e.kb=null,e.N=!1,e.O=!1}function qB(){S_.call(this,"DELAUNAY_TRIANGULATION",0)}function XB(e,t,n,r){__.call(this,e,n),this.a=t,this.f=r}function YB(e,t,n,r){__.call(this,e,t),this.d=n,this.a=r}function KB(e,t){MA.call(this,function(e,t){var n;return v$(),n=new oS(1),LI(e)?vG(n,e,t):eue(n.f,e,t),new nd(n)}(wz(e),wz(t))),this.a=t}function ZB(e){return-2==e.c&&function(e,t){e.c=t}(e,function(e,t){var n,r,i;if((n=t.Ch(e.a))&&null!=(i=E7((!n.b&&(n.b=new fO((bxe(),Grt),ait,n)),n.b),kLe)))for(r=1;r<(vle(),_it).length;++r)if(fR(_it[r],i))return r;return 0}(e.g,e.b)),e.c}function QB(e){return!e.b&&(e.b=new Om(new Pv)),e.b}function JB(e,t){return pN(),new Qte(new ZA(e),new KA(t))}function eV(e,t,n){return LI(t)?vG(e,t,n):eue(e.f,t,n)}function tV(e,t,n,r){e.a=zP(e.a,0,t)+""+r+BI(e.a,n)}function nV(e){CP(-1!=e.c),e.d.Yc(e.c),e.b=e.c,e.c=-1}function rV(e){e.b=!1,e.c=!1,e.d=!1,e.a=!1}function iV(e){this.d=e,this.a=this.d.b,this.b=this.d.c}function oV(e){return!e.a&&(e.a=new bw(e.c.tc())),e.a}function aV(e){return!e.b&&(e.b=new mw(e.c.ec())),e.b}function sV(e){return!e.d&&(e.d=new Qh(e.c.Ac())),e.d}function lV(e,t){var n;return(n=tB("",e)).n=t,n.i=1,n}function uV(e,t){for(;t-- >0;)e=e<<1|(e<0?1:0);return e}function cV(e,t){return OI(e)===OI(t)||null!=e&&l8(e,t)}function fV(e,t){return Nj(e.a,t)?e.b[LL(t,22).g]:null}function hV(e){return String.fromCharCode.apply(null,e)}function dV(e,t){return TG(t,e.length),e.charCodeAt(t)}function pV(e,t){e.t.Fc((iae(),Eet))&&function(e,t){var n,i,o,a;for(a=LL(fV(e.b,t),121),n=a.a,o=LL(LL(KX(e.r,t),21),81).Ic();o.Ob();)(i=LL(o.Pb(),110)).c&&(n.a=r.Math.max(n.a,AN(i.c)));if(n.a>0)switch(t.g){case 2:a.n.c=e.s;break;case 4:a.n.b=e.s}}(e,t),function(e,t){var n;e.B&&((n=LL(fV(e.b,t),121).n).d=e.B.d,n.a=e.B.a)}(e,t)}function gV(e){return!e.n&&(e.n=new FF(unt,e,1,7)),e.n}function mV(e){return!e.c&&(e.c=new FF(fnt,e,9,9)),e.c}function bV(e,t,n,r){return y2(e,t,n,!1),y8(e,r),e}function vV(e,t){u9(e,Oy(o0(t,"x")),Oy(o0(t,"y")))}function yV(e,t){u9(e,Oy(o0(t,"x")),Oy(o0(t,"y")))}function wV(e){return v$(),e?e.ve():(y$(),y$(),eze)}function xV(){xV=S,Eje=new ay(q3(lw(_je,1),y_e,43,0,[]))}function _V(e,t){return H8(e),new cj(e,new GK(t,e.a))}function SV(e,t){return H8(e),new cj(e,new cY(t,e.a))}function kV(e,t){return H8(e),new LO(e,new uY(t,e.a))}function CV(e,t){return H8(e),new NO(e,new lY(t,e.a))}function EV(e,t,n){!function(e,t){var n,r,i,o,a,s;o=!e.A.Fc((Vge(),htt)),a=e.A.Fc(gtt),e.a=new j7(a,o,e.c),!!e.n&&l$(e.a.n,e.n),gy(e.g,(nJ(),TBe),e.a),t||((r=new zee(1,o,e.c)).n.a=e.k,Tj(e.p,(hwe(),Det),r),(i=new zee(1,o,e.c)).n.d=e.k,Tj(e.p,Ket,i),(s=new zee(0,o,e.c)).n.c=e.k,Tj(e.p,Qet,s),(n=new zee(0,o,e.c)).n.b=e.k,Tj(e.p,Oet,n))}(e,t),uJ(e.e.uf(),new JR(e,t,n))}function IV(e,t){this.b=e,this.c=t,this.a=new aS(this.b)}function MV(e,t,n){this.a=U_e,this.d=e,this.b=t,this.c=n}function TV(e,t){this.d=(wB(e),e),this.a=16449,this.c=t}function AV(e,t,n){!function(e,t){var n,r,i,o;for(function(e){var t;for(t=0;t<e.c.length;t++)(MG(t,e.c.length),LL(e.c[t],11)).p=t}(t.b.j),lS(SV(new cj(null,new ZG(t.d,16)),new to),new no),o=new td(t.d);o.a<o.c.c.length;){switch((i=LL(xW(o),101)).e.g){case 0:n=LL(JN(i.j,0),112).d.j,xh(i,LL(cP(EF(LL(KX(i.k,n),14).Mc(),bUe)),112)),_h(i,LL(cP(CF(LL(KX(i.k,n),14).Mc(),bUe)),112));break;case 1:r=Gre(i),xh(i,LL(cP(EF(LL(KX(i.k,r[0]),14).Mc(),bUe)),112)),_h(i,LL(cP(CF(LL(KX(i.k,r[1]),14).Mc(),bUe)),112));break;case 2:Lle(e,i);break;case 3:Xhe(i);break;case 4:ede(e,i)}hJ(i)}e.a=null}(e.a,n),function(e){var t,n;for(function(e){var t,n,r,i,o,a,s,l,u,c,f;n=null,s=null,(i=LL(Fae(e.b,(Kwe(),iQe)),374))==(IY(),G0e)&&(n=new $m,s=new $m);for(a=new td(e.d);a.a<a.c.c.length;)if((o=LL(xW(a),101)).i)switch(o.e.g){case 0:t=LL(vq(new aS(o.b)),61),i==G0e&&t==(hwe(),Det)?n.c[n.c.length]=o:i==G0e&&t==(hwe(),Ket)?s.c[s.c.length]=o:ore(o,t);break;case 1:l=o.a.d.j,u=o.c.d.j,l==(hwe(),Det)?qF(o,Det,(S3(),BWe),o.a):u==Det?qF(o,Det,(S3(),VWe),o.c):l==Ket?qF(o,Ket,(S3(),VWe),o.a):u==Ket&&qF(o,Ket,(S3(),BWe),o.c);break;case 2:case 3:aP(r=o.b,(hwe(),Det))?aP(r,Ket)?aP(r,Qet)?aP(r,Oet)||qF(o,Det,(S3(),VWe),o.c):qF(o,Det,(S3(),BWe),o.a):qF(o,Det,(S3(),zWe),null):qF(o,Ket,(S3(),zWe),null);break;case 4:c=o.a.d.j,f=o.a.d.j,c==(hwe(),Det)||f==Det?qF(o,Ket,(S3(),zWe),null):qF(o,Det,(S3(),zWe),null)}n&&(0==n.c.length||nbe(n,(hwe(),Det)),0==s.c.length||nbe(s,(hwe(),Ket)))}(e),n=new td(e.d);n.a<n.c.c.length;)(t=LL(xW(n),101)).i&&Wse(t)}(n),function(e,t){var n,i;n=function(e){var t,n,r,i,o,a,s,l,u,c;for(n=0,s=new td(e.d);s.a<s.c.c.length;)(a=LL(xW(s),101)).i&&(a.i.c=n++);for(t=FN(rat,[s_e,Kke],[177,24],16,[n,n],2),c=e.d,i=0;i<c.c.length;i++)if(MG(i,c.c.length),(l=LL(c.c[i],101)).i)for(o=i+1;o<c.c.length;o++)MG(o,c.c.length),(u=LL(c.c[o],101)).i&&(r=Sae(l,u),t[l.i.c][u.i.c]=r,t[u.i.c][l.i.c]=r);return t}(t),function(e,t,n){var r,i,o,a,s,l,u;for(u=t.d,e.a=new LY(u.c.length),e.c=new Hm,s=new td(u);s.a<s.c.c.length;)a=LL(xW(s),101),o=new p3(null),RL(e.a,o),eV(e.c,a,o);for(e.b=new Hm,function(e,t){var n,r,i,o,a,s,l;for(l=t.d,i=t.b.j,s=new td(l);s.a<s.c.c.length;)for(a=LL(xW(s),101),o=fK(rat,Kke,24,i.c.length,16,1),eV(e.b,a,o),n=a.a.d.p-1,r=a.c.d.p;n!=r;)o[n=(n+1)%i.c.length]=!0}(e,t),r=0;r<u.c.length-1;r++)for(l=LL(JN(t.d,r),101),i=r+1;i<u.c.length;i++)Ehe(e,l,LL(JN(t.d,i),101),n)}(e,t,n),Hoe(e.a,LL(Fae(jB(t.b),(hxe(),HXe)),228)),function(e){var t,n,i,o,a,s;for(a=new sS,o=new td(e.a);o.a<o.c.c.length;)yh(i=LL(xW(o),111),i.f.c.length),Ah(i,i.k.c.length),0==i.i&&(i.o=0,jq(a,i,a.c.b,a.c));for(;0!=a.b;)for(n=(i=LL(0==a.b?null:(EP(0!=a.b),lJ(a,a.a.a)),111)).o+1,t=new td(i.f);t.a<t.c.c.length;)Oh(s=LL(xW(t),129).a,r.Math.max(s.o,n)),Ah(s,s.i-1),0==s.i&&jq(a,s,a.c.b,a.c)}(e),function(e,t){var n,r,i,o;for(i=new td(t.d);i.a<i.c.c.length;)for(r=LL(xW(i),101),o=LL(aB(e.c,r),111).o,n=new aS(r.b);n.a<n.c.a.length;)NK(r,LL(vq(n),61),o)}(e,t),i=fK(nat,sSe,24,t.b.j.c.length,15,1),Lye(e,t,(hwe(),Det),i,n),Lye(e,t,Oet,i,n),Lye(e,t,Ket,i,n),Lye(e,t,Qet,i,n),e.a=null,e.c=null,e.b=null}(e.b,n),function(e,t){var n,r,i,o,a,s,l,u,c,f,h,d,p,g,m,b,v,y;for(a=t.b,c=a.o,l=a.d,r=Oy($O(Mte(a,(Kwe(),yJe)))),i=Oy($O(Mte(a,xJe))),u=Oy($O(Mte(a,AJe))),$L(s=new lv,l.d,l.c,l.a,l.b),h=function(e,t,n,r){var i,o,a,s,l;for(l=fK(aat,s_e,103,(hwe(),q3(lw(att,1),VEe,61,0,[Zet,Det,Oet,Ket,Qet])).length,0,2),o=q3(lw(att,1),VEe,61,0,[Zet,Det,Oet,Ket,Qet]),a=0,s=o.length;a<s;++a)l[(i=o[a]).g]=fK(aat,BSe,24,e.c[i.g],15,1);return _ie(l,e,Det),_ie(l,e,Ket),are(l,e,Det,t,n,r),are(l,e,Oet,t,n,r),are(l,e,Ket,t,n,r),are(l,e,Qet,t,n,r),l}(t,r,i,u),b=new td(t.d);b.a<b.c.c.length;){for(p=(m=LL(xW(b),101)).f.a.ec().Ic();p.Ob();)o=(d=LL(p.Pb(),404)).a,f=tae(d),v=new bv,Koe(d,d.c,h,v),Qae(d,f,h,v),Koe(d,d.d,h,v),n=v,n=e.Rf(d,f,n),s$(o.a),G1(o.a,n),lS(new cj(null,new ZG(n,16)),new cC(c,s));(g=m.i)&&(Uoe(m,g,h,i),Iee(c,s,y=new lT(g.g)),BD(y,g.j),Iee(c,s,y))}$L(l,s.d,s.c,s.a,s.b)}(t,n)}function PV(e,t,n,r){S_.call(this,e,t),this.a=n,this.b=r}function OV(e,t,n,r){this.a=e,this.e=t,this.d=n,this.c=r}function DV(e,t,n,r){this.a=e,this.c=t,this.b=n,this.d=r}function RV(e,t,n,r){this.c=e,this.b=t,this.a=n,this.d=r}function LV(e,t,n,r){this.c=e,this.b=t,this.d=n,this.a=r}function NV(e,t,n,r){this.a=e,this.d=t,this.c=n,this.b=r}function jV(e,t,n,r){this.c=e,this.d=t,this.b=n,this.a=r}function FV(e){this.a=new $m,this.e=fK(nat,s_e,47,e,0,2)}function zV(e){var t;for(t=e.Ic();t.Ob();)t.Pb(),t.Qb()}function BV(e){var t;return vJ(t=new Um,e),t}function VV(e){var t;return Xae(t=new Um,e),t}function $V(e){var t;return t=function(e){var t;if(BT(t=Fae(e,(hxe(),OXe)),160))return s7(LL(t,160));return null}(e),t||null}function HV(e,t){var n,r;return(n=e/t)>(r=IH(n))&&++r,r}function GV(e,t,n){var r;return r=mwe(e),t.Fh(n,r)}function WV(e){return e.e==hNe&&function(e,t){e.e=t}(e,function(e,t){var n,r;if((n=t.Ch(e.a))&&null!=(r=HO(E7((!n.b&&(n.b=new fO((bxe(),Grt),ait,n)),n.b),zDe))))return r;return t.ne()}(e.g,e.b)),e.e}function UV(e){return e.f==hNe&&function(e,t){e.f=t}(e,function(e,t){var n,r;return(n=t.Ch(e.a))?(r=HO(E7((!n.b&&(n.b=new fO((bxe(),Grt),ait,n)),n.b),aNe)),fR(sNe,r)?Yj(e,mJ(t.Cj())):r):null}(e.g,e.b)),e.f}function qV(e){return!e.b&&(e.b=new FF(rnt,e,12,3)),e.b}function XV(e){if(L9(e.d),e.d.d!=e.c)throw Jm(new Sb)}function YV(e){return oN(null==e||QF(e)&&!(e.dm===_)),e}function KV(e,t){if(null==e)throw Jm(new zy(t));return e}function ZV(e,t){this.a=e,RO.call(this,e,LL(e.d,14).Xc(t))}function QV(e,t,n,r){this.a=e,this.c=t,this.d=n,this.b=r}function JV(e,t,n,r){this.a=e,this.c=t,this.d=n,this.b=r}function e$(e,t,n,r){this.a=e,this.b=t,this.c=n,this.d=r}function t$(e,t,n,r){this.a=e,this.b=t,this.c=n,this.d=r}function n$(e,t,n,r){this.e=e,this.a=t,this.c=n,this.d=r}function r$(e,t,n,r){bT(),UX.call(this,t,n,r),this.a=e}function i$(e,t,n,r){bT(),UX.call(this,t,n,r),this.a=e}function o$(e,t,n,r){this.b=e,this.c=r,eM.call(this,t,n)}function a$(e){this.f=e,this.c=this.f.e,e.f>0&&Die(this)}function s$(e){e.a.a=e.c,e.c.b=e.a,e.a.b=e.c.a=null,e.b=0}function l$(e,t){return e.b=t.b,e.c=t.c,e.d=t.d,e.a=t.a,e}function u$(e){return e.n&&(e.e!==z_e&&e._d(),e.j=null),e}function c$(e){return EP(e.b<e.d.gc()),e.d.Xb(e.c=e.b++)}function f$(e,t,n){n.a?qJ(e,t.b-e.f/2):UJ(e,t.a-e.g/2)}function h$(e,t){e.d&&!e.d.a&&(qm(e.d,t),h$(e.d,t))}function d$(e,t){e.e&&!e.e.a&&(qm(e.e,t),d$(e.e,t))}function p$(e,t){return Y6(e.j,t.s,t.c)+Y6(t.e,e.s,e.c)}function g$(e,t){new sS,this.a=new bv,this.b=e,this.c=t}function m$(e){this.b=new $m,L3(this.b,this.b),this.a=e}function b$(){b$=S,c$e=new $m,u$e=new Hm,l$e=new $m}function v$(){v$=S,XFe=new P,YFe=new D,KFe=new R}function y$(){y$=S,QFe=new C,JFe=new C,eze=new I}function w$(){w$=S,Xze=new de,Kze=new Uj,Yze=new pe}function x$(e,t,n){pQ(e,t,new uh(RR(n)))}function _$(e){return!e.a&&(e.a=new FF(cnt,e,10,11)),e.a}function S$(e){return!e.q&&(e.q=new FF(vrt,e,11,10)),e.q}function k$(e){return!e.s&&(e.s=new FF(urt,e,21,17)),e.s}function C$(){dse(this,new Mf),this.wb=($z(),krt),Cx()}function E$(e){return BT(e,15)?new YN(LL(e,15)):function(e){var t;return iQ(t=new Pb,e),t}(e.Ic())}function I$(e){return wz(e),Rne(new xF(BA(e.a.Ic(),new p)))}function M$(e,t){return null==t?!!rH(e.f,null):function(e,t){return!(void 0===e.a.get(t))}(e.g,t)}function T$(e){return v$(),BT(e,53)?new vw(e):new QA(e)}function A$(){var e,t;A$=S,t=!function(){if(Error.stackTraceLimit>0)return r.Error.stackTraceLimit=Error.stackTraceLimit=64,!0;return"stack"in new Error}(),e=new f,Hje=t?new d:e}function P$(e){Nw(),r.setTimeout((function(){throw e}),0)}function O$(e){this.b=e,this.c=e,e.e=null,e.c=null,this.a=1}function D$(e){this.b=e,this.a=new Xx(LL(wz(new Qe),62))}function R$(e){this.c=e,this.b=new Xx(LL(wz(new ge),62))}function L$(e){this.c=e,this.b=new Xx(LL(wz(new Ct),62))}function N$(){this.a=new bv,this.b=(k0(3,T_e),new LY(3))}function j$(e){return e&&e.hashCode?e.hashCode():lP(e)}function F$(e,t){var n;return(n=nA(e.a,t))&&(t.d=null),n}function z$(e,t){return e.a=zP(e.a,0,t)+""+BI(e.a,t+1),e}function B$(e,t,n){return!!e.f&&e.f.Ne(t,n)}function V$(e,t,n,r,i,o){MK.call(this,e,t,n,r,i,o?-2:-1)}function $$(e,t,n,r){kI.call(this,t,n),this.b=e,this.a=r}function H$(e,t){Fv.call(this,new wF(e)),this.a=e,this.b=t}function G$(e){this.c=e.c,this.d=e.d,this.b=e.b,this.a=e.a}function W$(e,t){this.g=e,this.d=q3(lw(KHe,1),YEe,10,0,[t])}function U$(e,t,n,r,i,o){this.a=e,P0.call(this,t,n,r,i,o)}function q$(e,t,n,r,i,o){this.a=e,P0.call(this,t,n,r,i,o)}function X$(e,t){this.e=e,this.a=pje,this.b=Wpe(t),this.c=t}function Y$(){this.b=new Pb,this.d=new sS,this.e=new iv}function K$(e){return e.u||(VX(e),e.u=new lD(e,e)),e.u}function Z$(e){return LL(n3(e,16),26)||e.uh()}function Q$(e,t){var n;return n=Fx(e.bm),null==t?n:n+": "+t}function J$(e,t){var n;return Pq(n=e.b.Oc(t),e.b.gc()),n}function eH(e){var t,n;t=0|(n=e).$modCount,n.$modCount=t+1}function tH(e,t,n){return n>=0&&fR(e.substr(n,t.length),t)}function nH(e,t){return BT(t,146)&&fR(e.b,LL(t,146).og())}function rH(e,t){return i6(e,t,function(e,t){var n;return null==(n=e.a.get(t))?new Array:n}(e,null==t?0:e.b.se(t)))}function iH(e,t){ive(e,LL(xfe(t,(MO(),R3e)),34))}function oH(e,t){!function(e,t){e.a=t}(this,new YE(e.a,e.b)),function(e,t){e.b=t}(this,jL(t))}function aH(){aH=S,k2e=new iE(nCe,0),C2e=new iE(rCe,1)}function sH(){sH=S,U1e=new ZC(rCe,0),W1e=new ZC(nCe,1)}function lH(e,t,n,r){nB(e.c[t.g],n.g,r),nB(e.c[n.g],t.g,r)}function uH(e,t,n,r){nB(e.c[t.g],t.g,n),nB(e.b[t.g],t.g,r)}function cH(e,t,n,r,i,o,a){return new Eq(e.e,t,n,r,i,o,a)}function fH(e,t,n,r){return n>=0?e.eh(t,n,r):e.Ng(null,n,r)}function hH(e){return 0==e.b.b?e.a._e():CL(e.b)}function dH(e){return OI(e.a)===OI((d2(),tit))&&function(e){var t,n,r,i,o,a,s,l,u,c;for(t=new wl,n=new wl,u=fR(_Le,(i=ime(e.b,SLe))?HO(E7((!i.b&&(i.b=new fO((bxe(),Grt),ait,i)),i.b),kLe)):null),l=0;l<e.i;++l)BT(s=LL(e.g[l],170),97)?0!=((a=LL(s,17)).Bb&YOe)?(0==(a.Bb&l_e)||!u&&null==((o=ime(a,SLe))?HO(E7((!o.b&&(o.b=new fO((bxe(),Grt),ait,o)),o.b),FDe)):null))&&AK(t,a):(c=yne(a))&&0!=(c.Bb&YOe)||(0==(a.Bb&l_e)||!u&&null==((r=ime(a,SLe))?HO(E7((!r.b&&(r.b=new fO((bxe(),Grt),ait,r)),r.b),FDe)):null))&&AK(n,a):(tk(),LL(s,65).Jj()&&(s.Ej()||(AK(t,s),AK(n,s))));Y4(t),Y4(n),e.a=LL(t.g,246),LL(n.g,246)}(e),e.a}function pH(e){this.a=(v$(),BT(e,53)?new vw(e):new QA(e))}function gH(e){this.a=LL(wz(e),270),this.b=(v$(),new eP(e))}function mH(e,t,n){gxe(),zm.call(this,e),this.b=t,this.a=n}function bH(e,t,n){bT(),Am.call(this,t),this.a=e,this.b=n}function vH(e,t){OD.call(this),_J(this),this.a=e,this.c=t}function yH(){Jv.call(this,new oS(HQ(12))),YT(!0),this.a=2}function wH(e,t){return KV(e,"set1"),KV(t,"set2"),new N_(e,t)}function xH(e,t){if(null==t)throw Jm(new xb);return function(e,t){var n,r=e.a;t=String(t),r.hasOwnProperty(t)&&(n=r[t]);var i=(b5(),Kje)[typeof n];return i?i(n):z6(typeof n)}(e,t)}function _H(e,t){return gq(t),function(e,t,n){var i,o;return o=e.length,i=r.Math.min(n,o),due(e,0,t,0,i,!0),t}(e,fK(nat,sSe,24,t,15,1),t)}function SH(e,t){return L2(function(e,t){return TT(e.l&t.l,e.m&t.m,e.h&t.h)}(NI(e)?o3(e):e,NI(t)?o3(t):t))}function kH(e,t){return L2(function(e,t){return TT(e.l|t.l,e.m|t.m,e.h|t.h)}(NI(e)?o3(e):e,NI(t)?o3(t):t))}function CH(e,t){return null==t?PI(rH(e.f,null)):ck(e.g,t)}function EH(e){return 0==e.b?null:(EP(0!=e.b),lJ(e,e.a.a))}function IH(e){return 0|Math.max(Math.min(e,Dxe),-2147483648)}function MH(e){var t;t=e.c.d.b,e.b=t,e.a=e.c.d,t.a=e.c.d.b=e}function TH(e,t){var n;return Mye(e,t,n=new z),n.d}function AH(e,t){var n;return n=function(e,t){return VD(RT(LL(aB(e.g,t),8)),LT(LL(aB(e.f,t),454).b))}(e.f,t),BD(oO(n),e.f.d)}function PH(e,t,n){var r;(r=e.Tg(t))>=0?e.nh(r,n):lhe(e,t,n)}function OH(e,t,n,r){var i;i=new CD,t.a[n.g]=i,Tj(e.b,r,i)}function DH(e,t,n){this.c=new $m,this.e=e,this.f=t,this.b=n}function RH(e,t,n){this.i=new $m,this.b=e,this.g=t,this.a=n}function LH(e){OD.call(this),_J(this),this.a=e,this.c=!0}function NH(e,t,n){IG(),e&&eV(Rnt,e,t),e&&eV(Dnt,e,n)}function jH(e,t){var n;for(wz(t),n=e.a;n;n=n.c)t.Od(n.g,n.i)}function FH(e,t){var n;n=e.q.getHours(),e.q.setDate(t),gbe(e,n)}function zH(e){var t;return A5(t=new qx(HQ(e.length)),e),t}function BH(e){function t(){}return t.prototype=e||{},new t}function VH(e){return e.Db>>16!=3?null:LL(e.Cb,34)}function $H(e){return e.Db>>16!=9?null:LL(e.Cb,34)}function HH(e){return e.Db>>16!=6?null:LL(e.Cb,80)}function GH(e,t){if(e<0||e>t)throw Jm(new Ey(yke+e+wke+t))}function WH(e,t){return L2(function(e,t){return TT(e.l^t.l,e.m^t.m,e.h^t.h)}(NI(e)?o3(e):e,NI(t)?o3(t):t))}function UH(e,t){return r.Math.abs(e)<r.Math.abs(t)?e:t}function qH(e,t){return e.b+=t.b,e.c+=t.c,e.d+=t.d,e.a+=t.a,e}function XH(e,t,n){var r;r=B5(e,t,n),e.b=new P1(r.c.length)}function YH(){YH=S,X1e=new QC(pCe,0),Y1e=new QC("UP",1)}function KH(){KH=S,_3e=new sE(AAe,0),S3e=new sE("FAN",1)}function ZH(e,t){var n;return kae(n=new KN(t),e),new jR(n)}function QH(e){var t;return t=e.d,t=e.ni(e.f),AK(e,t),t.Ob()}function JH(e,t){var n;return(n=e.Tg(t))>=0?e.gh(n):Wue(e,t)}function eG(e){return e.Db>>16!=7?null:LL(e.Cb,234)}function tG(e){return e.Db>>16!=7?null:LL(e.Cb,160)}function nG(e){return e.Db>>16!=3?null:LL(e.Cb,147)}function rG(e){return e.Db>>16!=11?null:LL(e.Cb,34)}function iG(e){return e.Db>>16!=17?null:LL(e.Cb,26)}function oG(e){return e.Db>>16!=6?null:LL(e.Cb,234)}function aG(e,t){var n=e.a=e.a||[];return n[t]||(n[t]=e.le(t))}function sG(e,t,n,r,i,o){return new RZ(e.e,t,e.Xi(),n,r,i,o)}function lG(e){this.a=e,this.b=fK(I1e,s_e,1916,e.e.length,0,2)}function uG(){this.a=new qM,this.e=new Pb,this.g=0,this.i=0}function cG(e,t){yT(this),this.f=t,this.g=e,u$(this),this._d()}function fG(e){return ZT(e.c),e.e=e.a=e.c,e.c=e.c.c,++e.d,e.a.f}function hG(e){return ZT(e.e),e.c=e.a=e.e,e.e=e.e.e,--e.d,e.a.f}function dG(e,t,n){return e.a=zP(e.a,0,t)+""+n+BI(e.a,t),e}function pG(e,t,n){return RL(e.a,(xV(),Jte(t,n),new __(t,n))),e}function gG(e,t,n){this.a=t,this.c=e,this.b=(wz(n),new jR(n))}function mG(e,t){this.a=e,this.c=RT(this.a),this.b=new G$(t)}function bG(e,t,n){this.a=t,this.c=e,this.b=(wz(n),new jR(n))}function vG(e,t,n){return null==t?eue(e.f,null,n):f9(e.g,t,n)}function yG(e,t){return jj(e.a,t)?cz(e,LL(t,22).g,null):null}function wG(){wG=S,Pje=e6((Zv(),q3(lw(Oje,1),A_e,532,0,[Tje])))}function xG(){xG=S,u1e=Qj(new wU,(zae(),gHe),(pxe(),cWe))}function _G(){_G=S,f1e=Qj(new wU,(zae(),gHe),(pxe(),cWe))}function SG(){SG=S,L1e=jN(new wU,(zae(),gHe),(pxe(),NGe))}function kG(){kG=S,B1e=jN(new wU,(zae(),gHe),(pxe(),NGe))}function CG(){CG=S,G1e=jN(new wU,(zae(),gHe),(pxe(),NGe))}function EG(){EG=S,J1e=jN(new wU,(zae(),gHe),(pxe(),NGe))}function IG(){var e,t;IG=S,Rnt=new Hm,Dnt=new Hm,e=rze,t=new ul,e&&eV(Dnt,e,t)}function MG(e,t){if(e<0||e>=t)throw Jm(new Ey(yke+e+wke+t))}function TG(e,t){if(e<0||e>=t)throw Jm(new cw(yke+e+wke+t))}function AG(e,t){e.d&&yZ(e.d.e,e),e.d=t,e.d&&RL(e.d.e,e)}function PG(e,t){e.c&&yZ(e.c.g,e),e.c=t,e.c&&RL(e.c.g,e)}function OG(e,t){e.c&&yZ(e.c.a,e),e.c=t,e.c&&RL(e.c.a,e)}function DG(e,t){e.i&&yZ(e.i.j,e),e.i=t,e.i&&RL(e.i.j,e)}function RG(e,t){e.a&&yZ(e.a.k,e),e.a=t,e.a&&RL(e.a.k,e)}function LG(e,t){e.b&&yZ(e.b.f,e),e.b=t,e.b&&RL(e.b.f,e)}function NG(e,t){!function(e,t,n){LL(t.b,63),uJ(t.a,new lL(e,n,t))}(e,e.b,e.c),LL(e.b.b,63),t&&LL(t.b,63).b}function jG(e,t){var n;return n=new mB(e),t.c[t.c.length]=n,n}function FG(e){this.c=new sS,this.b=e.b,this.d=e.c,this.a=e.a}function zG(e){this.a=r.Math.cos(e),this.b=r.Math.sin(e)}function BG(e,t,n,r){this.c=e,this.d=r,RG(this,t),LG(this,n)}function VG(e,t){BT(e.Cb,87)&&sue(VX(LL(e.Cb,87)),4),O1(e,t)}function $G(e,t){BT(e.Cb,179)&&(LL(e.Cb,179).tb=null),O1(e,t)}function HG(e){var t;return Cx(),vJ(t=new Um,e),t}function GG(e){var t;return Cx(),vJ(t=new Um,e),t}function WG(e){for(var t;;)if(t=e.Pb(),!e.Ob())return t}function UG(e){var t;t=function(e){switch(e.g){case 1:return new Ra;case 2:return new sO;default:throw Jm(new Ny(HAe+(null!=e.f?e.f:""+e.g)))}}(LL(xfe(e,($4(),f5e)),377)),t.cg(e)}function qG(){qG=S,T3e=Qj(new wU,(qre(),P2e),(Cle(),N2e))}function XG(e){return H8(e),y$(),y$(),JQ(e,JFe)}function YG(e,t,n){var r;F6(t,n,e.c.length),r=n-t,Gx(e.c,t,r)}function KG(e,t,n){F6(t,n,e.gc()),this.c=e,this.a=t,this.b=n-t}function ZG(e,t){this.b=(wB(e),e),this.a=0==(t&NSe)?64|t|l_e:t}function QG(e,t){if(uz(e.a,t),t.d)throw Jm(new sy(Eke));t.d=e}function JG(e,t){zv.call(this,new oS(HQ(e))),k0(t,a_e),this.a=t}function eW(e,t){return tk(),rQ(t)?new DN(t,e):new II(t,e)}function tW(e){return V5(q3(lw(J6e,1),s_e,8,0,[e.i.n,e.n,e.a]))}function nW(e,t){return function(e,t,n){var r,i,o,a,s,l;if(a=new sl,s=ade(e.e.Og(),t),r=LL(e.g,118),tk(),LL(t,65).Jj())for(o=0;o<e.i;++o)i=r[o],s.ml(i.Xj())&&AK(a,i);else for(o=0;o<e.i;++o)i=r[o],s.ml(i.Xj())&&(l=i.bd(),AK(a,n?Uue(e,t,o,a.i,l):l));return oq(a)}(e,t,BT(t,97)&&0!=(LL(t,17).Bb&FSe))}function rW(e,t,n){var r;(r=new na).b=t,r.a=n,++t.b,RL(e.d,r)}function iW(e){return e.d==(AY(),Eit)&&function(e,t){e.d=t}(e,function(e,t){var n,r,i,o,a,s;if((n=t.Ch(e.a))&&null!=(s=HO(E7((!n.b&&(n.b=new fO((bxe(),Grt),ait,n)),n.b),FDe))))switch(i=iP(s,bae(35)),r=t.Cj(),-1==i?(a=Yj(e,mJ(r)),o=s):0==i?(a=null,o=s.substr(1)):(a=s.substr(0,i),o=s.substr(i+1)),ZB(FZ(e,t))){case 2:case 3:return function(e,t,n,r){var i;if(!(i=Pfe(e,t,n,r))&&(i=function(e,t,n){var r,i,o;if(i=Vfe(e.b,t),(o=i)&&(r=LL(gve(jZ(e,o),""),26)))return Pfe(e,r,t,n);return null}(e,n,r),i&&!Uve(e,t,i)))return null;return i}(e,r,a,o);case 0:case 4:case 5:case 6:return function(e,t,n,r){var i;if(!(i=Ofe(e,t,n,r))&&(i=M8(e,n,r))&&!Uve(e,t,i))return null;return i}(e,r,a,o)}return null}(e.g,e.b)),e.d}function oW(e){return e.a==(AY(),Eit)&&function(e,t){e.a=t}(e,function(e,t){var n,r,i;if((n=t.Ch(e.a))&&null!=(i=HO(E7((!n.b&&(n.b=new fO((bxe(),Grt),ait,n)),n.b),"affiliation"))))return-1==(r=iP(i,bae(35)))?M8(e,Yj(e,mJ(t.Cj())),i):0==r?M8(e,null,i.substr(1)):M8(e,i.substr(0,r),i.substr(r+1));return null}(e.g,e.b)),e.a}function aW(e,t){RL(e.a,t),e.b=r.Math.max(e.b,t.d),e.d+=t.r}function sW(e){oT(this),Tb(this.a,y5(r.Math.max(8,e))<<1)}function lW(e){gxe(),zm.call(this,e),this.c=!1,this.a=!1}function uW(e,t,n){zm.call(this,25),this.b=e,this.a=t,this.c=n}function cW(e,t){var n,r;return r=UF(e,t),n=e.a.Xc(r),new R_(e,n)}function fW(e,t){e.b=e.b|t.b,e.c=e.c|t.c,e.d=e.d|t.d,e.a=e.a|t.a}function hW(e){return wz(e),BT(e,15)?new jR(LL(e,15)):NL(e.Ic())}function dW(e,t){return e&&e.equals?e.equals(t):OI(e)===OI(t)}function pW(e){return new LY((k0(e,O_e),lQ(o8(o8(5,e),e/10|0))))}function gW(e){return null==e.c||0==e.c.length?"n_"+e.b:"n_"+e.c}function mW(e){return null==e.c||0==e.c.length?"n_"+e.g:"n_"+e.c}function bW(e,t){var n;for(n=e+"";n.length<t;)n="0"+n;return n}function vW(e,t){var n;return n=zZ(t),LL(aB(e.c,n),20).a}function yW(e,t){return 0==t?!!e.o&&0!=e.o.f:kte(e,t)}function wW(e,t){if(t.$modCount!=e.$modCount)throw Jm(new Sb)}function xW(e){return EP(e.a<e.c.c.length),e.b=e.a++,e.c.c[e.b]}function _W(e,t,n){var r;r=e.d[t.p],e.d[t.p]=e.d[n.p],e.d[n.p]=r}function SW(e,t,n){var r;e.n&&t&&n&&(r=new Ks,RL(e.e,r))}function kW(){f5(),this.b=new Hm,this.a=new Hm,this.c=new $m}function CW(){this.c=new XT,this.a=new PD,this.b=new Yb,ES()}function EW(e,t,n){this.d=e,this.j=t,this.e=n,this.o=-1,this.p=3}function IW(e,t,n){this.d=e,this.k=t,this.f=n,this.o=-1,this.p=5}function MW(e,t,n,r,i,o){p0.call(this,e,t,n,r,i),o&&(this.o=-2)}function TW(e,t,n,r,i,o){g0.call(this,e,t,n,r,i),o&&(this.o=-2)}function AW(e,t,n,r,i,o){IX.call(this,e,t,n,r,i),o&&(this.o=-2)}function PW(e,t,n,r,i,o){v0.call(this,e,t,n,r,i),o&&(this.o=-2)}function OW(e,t,n,r,i,o){MX.call(this,e,t,n,r,i),o&&(this.o=-2)}function DW(e,t,n,r,i,o){m0.call(this,e,t,n,r,i),o&&(this.o=-2)}function RW(e,t,n,r,i,o){b0.call(this,e,t,n,r,i),o&&(this.o=-2)}function LW(e,t,n,r,i,o){EX.call(this,e,t,n,r,i),o&&(this.o=-2)}function NW(e,t,n,r){Am.call(this,n),this.b=e,this.c=t,this.d=r}function jW(e,t){this.f=e,this.a=(AY(),Cit),this.c=Cit,this.b=t}function FW(e,t){this.g=e,this.d=(AY(),Eit),this.a=Eit,this.b=t}function zW(e,t){!e.c&&(e.c=new k2(e,0)),sve(e.c,(Yve(),not),t)}function BW(e,t,n,r,i,o){return y2(e,t,n,o),v8(e,r),b8(e,i),e}function VW(e,t,n,r){return e.a+=""+zP(null==t?$xe:P9(t),n,r),e}function $W(e,t){if(e<0||e>=t)throw Jm(new Ey(function(e,t){if(e<0)return Upe(Fxe,q3(lw(pje,1),zxe,1,5,["index",k8(e)]));if(t<0)throw Jm(new Ny(Bxe+t));return Upe("%s (%s) must be less than size (%s)",q3(lw(pje,1),zxe,1,5,["index",k8(e),k8(t)]))}(e,t)));return e}function HW(e,t,n){if(e<0||t<e||t>n)throw Jm(new Ey(function(e,t,n){if(e<0||e>n)return Gle(e,n,"start index");if(t<0||t>n)return Gle(t,n,"end index");return Upe("end index (%s) must not be less than start index (%s)",q3(lw(pje,1),zxe,1,5,[k8(t),k8(e)]))}(e,t,n)))}function GW(e){var t;return NI(e)?-0==(t=e)?0:t:function(e){if(yie(e,(rJ(),tFe))<0)return-function(e){return e.l+e.m*ESe+e.h*ISe}(w5(e));return e.l+e.m*ESe+e.h*ISe}(e)}function WW(e){return EP(e.b.b!=e.d.a),e.c=e.b=e.b.b,--e.a,e.c.c}function UW(e,t){var n;return n=1-t,e.a[n]=d1(e.a[n],n),d1(e,t)}function qW(e,t,n){wz(e),function(e){var t,n,r;for(v$(),kT(e.c,e.a),r=new td(e.c);r.a<r.c.c.length;)for(n=xW(r),t=new td(e.b);t.a<t.c.c.length;)LL(xW(t),667).Ke(n)}(new gG(new jR(e),t,n))}function XW(e,t,n){wz(e),function(e){var t,n,r;for(v$(),kT(e.c,e.a),r=new td(e.c);r.a<r.c.c.length;)for(n=xW(r),t=new td(e.b);t.a<t.c.c.length;)LL(xW(t),366).Ke(n)}(new bG(new jR(e),t,n))}function YW(){YW=S,E3e=new lE("DFS",0),C3e=new lE("BFS",1)}function KW(){KW=S,m1e=JB(k8(1),k8(4)),g1e=JB(k8(1),k8(2))}function ZW(e){return zN(e.e.Hd().gc()*e.c.Hd().gc(),16,new $f(e))}function QW(e){return e.a?0==e.e.length?e.a.a:e.a.a+""+e.e:e.c}function JW(e){for(;e.d>0&&0==e.a[--e.d];);0==e.a[e.d++]&&(e.e=0)}function eU(e,t){this.a=e,Nh.call(this,e),GH(t,e.gc()),this.b=t}function tU(e,t){var n;e.e=new Xv,kT(n=Zde(t),e.c),ope(e,n,0)}function nU(e,t,n,r){var i;(i=new gs).a=t,i.b=n,i.c=r,bN(e.a,i)}function rU(e,t,n,r){var i;(i=new gs).a=t,i.b=n,i.c=r,bN(e.b,i)}function iU(e,t,n){var i;i=function(){var e;0!=Bje&&(e=function(){if(Date.now)return Date.now();return(new Date).getTime()}())-Vje>2e3&&(Vje=e,$je=r.setTimeout(FS,10));if(0==Bje++)return function(e){var t,n;if(e.a){n=null;do{t=e.a,e.a=null,n=Qse(t,n)}while(e.a);e.a=n}}((hy(),zje)),!0;return!1}();try{return function(e,t,n){return e.apply(t,n)}(e,t,n)}finally{!function(e){e&&function(e){var t,n;if(e.b){n=null;do{t=e.b,e.b=null,n=Qse(t,n)}while(e.b);e.b=n}}((hy(),zje)),--Bje,e&&-1!=$je&&(!function(e){r.clearTimeout(e)}($je),$je=-1)}(i)}}function oU(e){return AS(),BT(e.g,10)?LL(e.g,10):null}function aU(e,t){return!!BT(t,43)&&Jne(e.a,LL(t,43))}function sU(e,t){return!!BT(t,43)&&Jne(e.a,LL(t,43))}function lU(e,t){return!!BT(t,43)&&Jne(e.a,LL(t,43))}function uU(e){var t;return NB(e),t=new M,Wx(e.a,new kd(t)),t}function cU(e){var t,n;return n=$ge(t=new Bz,e),function(e){var t,n,r,i,o,a,s,l,u,c,f,h,d,p,g,m,b,v,y,w,x,_;for(f=new DB(new ud(e));f.b!=f.c.a.d;)for(s=LL((c=_K(f)).d,55),t=LL(c.e,55),g=0,w=(null==(a=s.Og()).i&&Kme(a),a.i).length;g<w;++g)if(null==a.i&&Kme(a),o=a.i,(u=g>=0&&g<o.length?o[g]:null).Dj()&&!u.Ej())if(BT(u,97))0==((l=LL(u,17)).Bb&YOe)&&(!(_=yne(l))||0==(_.Bb&YOe))&&xbe(e,l,s,t);else if(tk(),LL(u,65).Jj()&&(n=LL((x=u)?LL(t,48).sh(x):null,152)))for(d=LL(s.Xg(u),152),r=n.gc(),m=0,p=d.gc();m<p;++m)if(BT(h=d.dl(m),97)){if(null==(i=oQ(e,y=d.el(m)))&&null!=y){if(v=LL(h,17),!e.b||0!=(v.Bb&YOe)||yne(v))continue;i=y}if(!n.$k(h,i))for(b=0;b<r;++b)if(n.dl(b)==h&&OI(n.el(b))===OI(i)){n.di(n.gc()-1,b),--r;break}}else n.$k(d.dl(m),d.el(m))}(t),n}function fU(){var e,t;return e=new Um,RL(vit,t=e),t}function hU(e){var t;return NB(e),t=new B,Wx(e.a,new Cd(t)),t}function dU(e){return e.j.c=fK(pje,zxe,1,0,5,1),zV(e.c),function(e){e.j.c=fK(pje,zxe,1,0,5,1),e.a=-1}(e.a),e}function pU(e,t,n){e.d&&yZ(e.d.e,e),e.d=t,e.d&&Mj(e.d.e,n,e)}function gU(e){return LL(tte(e,fK(VHe,XEe,18,e.c.length,0,1)),468)}function mU(e){return LL(tte(e,fK(KHe,YEe,10,e.c.length,0,1)),213)}function bU(e){return LL(tte(e,fK(aGe,KEe,11,e.c.length,0,1)),1915)}function vU(e){this.e=e,this.b=this.e.a.entries(),this.a=new Array}function yU(e,t,n){this.b=new Kp(this),this.c=e,this.f=t,this.d=n}function wU(){Wv.call(this),this.j.c=fK(pje,zxe,1,0,5,1),this.a=-1}function xU(){xU=S,k4e=e6((NS(),q3(lw(I4e,1),A_e,546,0,[_4e])))}function _U(){_U=S,x4e=e6((RS(),q3(lw(S4e,1),A_e,476,0,[w4e])))}function SU(){SU=S,v6e=e6((jS(),q3(lw(x6e,1),A_e,523,0,[b6e])))}function kU(){kU=S,HVe=e6((kS(),q3(lw(YVe,1),A_e,475,0,[$Ve])))}function CU(e,t){!function(e,t){var n,i,o,a,s,l,u,c,f,h,d,p,g,m,b,v,y,w,x;if(y=0,0==t.f.a)for(b=new td(e);b.a<b.c.c.length;)g=LL(xW(b),10),y=r.Math.max(y,g.n.a+g.o.a+g.d.c);else y=t.f.a-t.c.a;for(y-=t.c.a,m=new td(e);m.a<m.c.c.length;){switch(rb((g=LL(xW(m),10)).n,y-g.o.a),zL(g.f),mre(g),(g.q?g.q:(v$(),v$(),YFe))._b((Kwe(),lJe))&&rb(LL(Fae(g,lJe),8),y-g.o.a),LL(Fae(g,MZe),247).g){case 1:S5(g,MZe,(ine(),i8e));break;case 2:S5(g,MZe,(ine(),r8e))}for(v=g.o,x=new td(g.j);x.a<x.c.c.length;){for(rb((w=LL(xW(x),11)).n,v.a-w.o.a),rb(w.a,w.o.a),mue(w,i2(w.j)),(s=LL(Fae(w,nJe),20))&&S5(w,nJe,k8(-s.a)),a=new td(w.g);a.a<a.c.c.length;){for(i=cte((o=LL(xW(a),18)).a,0);i.b!=i.d.c;)(n=LL(BU(i),8)).a=y-n.a;if(c=LL(Fae(o,vQe),74))for(u=cte(c,0);u.b!=u.d.c;)(l=LL(BU(u),8)).a=y-l.a;for(d=new td(o.b);d.a<d.c.c.length;)rb((f=LL(xW(d),69)).n,y-f.o.a)}for(p=new td(w.f);p.a<p.c.c.length;)rb((f=LL(xW(p),69)).n,w.o.a-f.o.a)}for(g.k==(mse(),WHe)&&(S5(g,(hxe(),dXe),i2(LL(Fae(g,dXe),61))),ase(g)),h=new td(g.b);h.a<h.c.c.length;)mre(f=LL(xW(h),69)),rb(f.n,v.a-f.o.a)}}(t,e),zL(e.d),zL(LL(Fae(e,(Kwe(),PQe)),205))}function EU(e,t){!function(e,t){var n,i,o,a,s,l,u,c,f,h,d,p,g,m,b,v,y,w,x;if(y=0,0==t.f.b)for(b=new td(e);b.a<b.c.c.length;)g=LL(xW(b),10),y=r.Math.max(y,g.n.b+g.o.b+g.d.a);else y=t.f.b-t.c.b;for(y-=t.c.b,m=new td(e);m.a<m.c.c.length;){switch(ib((g=LL(xW(m),10)).n,y-g.o.b),BL(g.f),bre(g),(g.q?g.q:(v$(),v$(),YFe))._b((Kwe(),lJe))&&ib(LL(Fae(g,lJe),8),y-g.o.b),LL(Fae(g,MZe),247).g){case 3:S5(g,MZe,(ine(),t8e));break;case 4:S5(g,MZe,(ine(),o8e))}for(v=g.o,x=new td(g.j);x.a<x.c.c.length;){for(ib((w=LL(xW(x),11)).n,v.b-w.o.b),ib(w.a,w.o.b),mue(w,o2(w.j)),(s=LL(Fae(w,nJe),20))&&S5(w,nJe,k8(-s.a)),a=new td(w.g);a.a<a.c.c.length;){for(i=cte((o=LL(xW(a),18)).a,0);i.b!=i.d.c;)(n=LL(BU(i),8)).b=y-n.b;if(c=LL(Fae(o,vQe),74))for(u=cte(c,0);u.b!=u.d.c;)(l=LL(BU(u),8)).b=y-l.b;for(d=new td(o.b);d.a<d.c.c.length;)ib((f=LL(xW(d),69)).n,y-f.o.b)}for(p=new td(w.f);p.a<p.c.c.length;)ib((f=LL(xW(p),69)).n,w.o.b-f.o.b)}for(g.k==(mse(),WHe)&&(S5(g,(hxe(),dXe),o2(LL(Fae(g,dXe),61))),s9(g)),h=new td(g.b);h.a<h.c.c.length;)bre(f=LL(xW(h),69)),ib(f.n,v.b-f.o.b)}}(t,e),BL(e.d),BL(LL(Fae(e,(Kwe(),PQe)),205))}function IU(e,t){var n,r;return r=null,(n=xH(e,t))&&(r=n.fe()),r}function MU(e,t){var n,r;return r=null,(n=xH(e,t))&&(r=n.ie()),r}function TU(e,t){var n,r;return r=null,(n=uQ(e,t))&&(r=n.ie()),r}function AU(e,t){var n,r;return r=null,(n=xH(e,t))&&(r=cle(n)),r}function PU(e){if(e.e.g!=e.b)throw Jm(new Sb);return!!e.c&&e.d>0}function OU(e){return BT(e,15)?LL(e,15).dc():!e.Ic().Ob()}function DU(e){var t;for(t=0;e.Ob();)e.Pb(),t=o8(t,1);return lQ(t)}function RU(e){var t;t=e.Rg(),this.a=BT(t,67)?LL(t,67).Uh():t.Ic()}function LU(e){return new ZG(e.g||(e.g=new jf(e)),17)}function NU(e,t,n,r){return BT(n,53)?new jP(e,t,n,r):new rF(e,t,n,r)}function jU(e){Qoe(),oA(this,QN(SH(wN(e,24),ake)),QN(SH(e,ake)))}function FU(e,t){wB(t),e.b=e.b-1&e.a.length-1,nB(e.a,e.b,t),Ere(e)}function zU(e,t){wB(t),nB(e.a,e.c,t),e.c=e.c+1&e.a.length-1,Ere(e)}function BU(e){return EP(e.b!=e.d.c),e.c=e.b,e.b=e.b.a,++e.a,e.c.c}function VU(e){return AS(),BT(e.g,145)?LL(e.g,145):null}function $U(e,t){return LL(cP(CF(LL(KX(e.k,t),14).Mc(),bUe)),112)}function HU(e,t){return LL(cP(EF(LL(KX(e.k,t),14).Mc(),bUe)),112)}function GU(e,t,n,r){var i;return i=r[t.g][n.g],Oy($O(Fae(e.a,i)))}function WU(e,t){var n;for(n=e.j.c.length;n<t;n++)RL(e.j,e.mg())}function UU(e,t,n,r,i){this.a=e,this.e=t,this.f=n,this.b=r,this.g=i}function qU(e,t,n,r,i){this.i=e,this.a=t,this.e=n,this.j=r,this.f=i}function XU(e,t,n,r){this.d=e,this.n=t,this.g=n,this.o=r,this.p=-1}function YU(e,t,n,r){this.e=r,this.d=null,this.c=e,this.a=t,this.b=n}function KU(){KU=S,O1e=new UC("UPPER",0),P1e=new UC("LOWER",1)}function ZU(){ZU=S,Xqe=new PC(Jke,0),Yqe=new PC("TOP_LEFT",1)}function QU(e,t,n){return t<0?Wue(e,n):LL(n,65).Ij().Nj(e,e.th(),t)}function JU(e,t,n){return Jme(e,t,n,BT(t,97)&&0!=(LL(t,17).Bb&FSe))}function eq(e,t,n){return function(e,t,n,r){var i,o,a,s,l,u;if(s=new sl,l=ade(e.e.Og(),t),i=LL(e.g,118),tk(),LL(t,65).Jj())for(a=0;a<e.i;++a)o=i[a],l.ml(o.Xj())&&AK(s,o);else for(a=0;a<e.i;++a)o=i[a],l.ml(o.Xj())&&(u=o.bd(),AK(s,r?Uue(e,t,a,s.i,u):u));return _7(s,n)}(e,t,n,BT(t,97)&&0!=(LL(t,17).Bb&FSe))}function tq(e,t){return OI(t)===OI(e)?"(this Map)":null==t?$xe:P9(t)}function nq(e,t){var n;return nk(),!(n=LL(aB($nt,e),54))||n.rj(t)}function rq(e,t,n){var r;return r=oee(n),fge(e.j,r,t),eV(e.k,t,n),t}function iq(e){var t;return Sx(),t=new Qs,e&&yhe(t,e),t}function oq(e){var t;return t=e.mi(e.i),e.i>0&&Xbe(e.g,0,t,0,e.i),t}function aq(e,t,n){var r;return r=oee(n),eV(e.b,r,t),eV(e.c,t,n),t}function sq(e,t){var n;for(n=t;n;)nO(e,n.i,n.j),n=rG(n);return e}function lq(e,t){var n;return n=new gw,e.xd(n),n.a+="..",t.yd(n),n.a}function uq(e,t){var n;return tk(),function(e,t){var n;if(null!=t&&!e.c.Tj().rj(t))throw n=BT(t,55)?LL(t,55).Og().zb:Fx(g4(t)),Jm(new Ly(HOe+e.c.ne()+"'s type '"+e.c.Tj().ne()+"' does not permit a value of type '"+n+"'"))}(n=LL(e,65).Hj(),t),n.Jk(t)}function cq(e,t,n,r,i){var o;o=function(e,t,n){var r,i,o,a,s,l;for(o=-1,s=-1,a=0;a<t.c.length&&(MG(a,t.c.length),!((i=LL(t.c[a],327)).c>e.c));a++)i.a>=e.s&&(o<0&&(o=a),s=a);l=(e.s+e.c)/2,o>=0&&(r=function(e,t,n,r){var i,o,a,s,l,u,c,f,h,d,p;if(o=n,n<r)for(d=new p3(e.p),p=new p3(e.p),G1(d.e,e.e),d.q=e.q,d.r=p,Nz(d),G1(p.j,e.j),p.r=d,Nz(p),f=LL((h=new KE(d,p)).a,111),c=LL(h.b,111),MG(o,t.c.length),a=spe(e,f,c,i=LL(t.c[o],327)),u=n+1;u<=r;u++)MG(u,t.c.length),Hte(s=LL(t.c[u],327),l=spe(e,f,c,s),i,a)&&(i=s,a=l);return o}(e,t,o,s),l=function(e){return(e.c+e.a)/2}((MG(r,t.c.length),LL(t.c[r],327))),function(e,t,n){var r,i,o,a,s,l;MG(t,e.c.length),s=LL(e.c[t],327),eY(e,t),s.b/2>=n&&(r=t,o=(l=(s.c+s.a)/2)-n,s.c<=l-n&&Mj(e,r++,new dL(s.c,o)),(a=l+n)<=s.a&&(i=new dL(a,s.a),GH(r,e.c.length),nE(e.c,r,i)))}(t,r,n));return l}(i,n,r),RL(t,function(e,t){e.r=new p3(e.p),function(e,t){e.r=t}(e.r,e),G1(e.r.j,e.j),s$(e.j),bN(e.j,t),bN(e.r.e,t),Nz(e),Nz(e.r);for(;0!=e.f.c.length;)OT(LL(JN(e.f,0),129));for(;0!=e.k.c.length;)OT(LL(JN(e.k,0),129));return e.r}(i,o)),function(e,t,n){var r,i,o,a;for(o=t.q,a=t.r,new BG((EY(),g2e),t,o,1),new BG(g2e,o,a,1),i=new td(n);i.a<i.c.c.length;)(r=LL(xW(i),111))!=o&&r!=t&&r!=a&&(tve(e.a,r,t),tve(e.a,r,a))}(e,i,t)}function fq(e,t,n){e.i=0,e.e=0,t!=n&&(c4(e,t,n),u4(e,t,n))}function hq(e,t){var n;n=e.q.getHours(),e.q.setFullYear(t+o_e),gbe(e,n)}function dq(e,t){var n;return n=T$(NL(new bZ(e,t))),$N(new bZ(e,t)),n}function pq(e){return e.n||(VX(e),e.n=new Jj(e,brt,e),K$(e)),e.n}function gq(e){if(e<0)throw Jm(new Fy("Negative array size: "+e))}function mq(e,t,n){if(n){var r=n.ee();n=r(n)}else n=void 0;e.a[t]=n}function bq(e,t){var n;return G5(),0!=(n=e.j.g-t.j.g)?n:0}function vq(e){return EP(e.a<e.c.a.length),e.b=e.a,_Q(e),e.c.b[e.b]}function yq(e){e.b!=e.c&&(e.a=fK(pje,zxe,1,8,5,1),e.b=0,e.c=0)}function wq(e,t){RL(e.a,t),t.q=e,e.c=r.Math.max(e.c,t.r),e.b+=t.d}function xq(e,t){ED.call(this),this.a=e,this.b=t,RL(this.a.b,this)}function _q(e,t){gxe(),zm.call(this,e),this.a=t,this.c=-1,this.b=-1}function Sq(e,t,n,r){EW.call(this,1,n,r),this.c=e,this.b=t}function kq(e,t,n,r){IW.call(this,1,n,r),this.c=e,this.b=t}function Cq(e,t,n){this.e=e,this.a=pje,this.b=Wpe(t),this.c=t,this.d=n}function Eq(e,t,n,r,i,o,a){P0.call(this,t,r,i,o,a),this.c=e,this.a=n}function Iq(e){this.e=e,this.c=this.e.a,this.b=this.e.g,this.d=this.e.i}function Mq(e){this.c=e,this.a=LL(fie(e),148),this.b=this.a.vj().Ih()}function Tq(e){this.b=new Hm,this.c=new Hm,this.d=new Hm,this.a=e}function Aq(e){var t;return e?new KN(e):(z1(t=new qM,e),t)}function Pq(e,t){var n;for(n=0;n<t;++n)nB(e,n,new id(LL(e[n],43)))}function Oq(e,t){return qI(null!=t?CH(e,t):PI(rH(e.f,t)))}function Dq(e,t){return qI(null!=t?CH(e,t):PI(rH(e.f,t)))}function Rq(e){return e.c&&e.d?gW(e.c)+"->"+gW(e.d):"e_"+lP(e)}function Lq(e,t){return e==(mse(),XHe)&&t==XHe?4:e==XHe||t==XHe?8:32}function Nq(e,t){return t.b.Kb(LZ(e,t.c.Ee(),new Td(t)))}function jq(e,t,n,r){var i;(i=new V).c=t,i.b=n,i.a=r,r.b=n.a=i,++e.b}function Fq(){Hm.call(this),aO(this),this.d.b=this.d,this.d.a=this.d}function zq(e){this.d=e,this.b=this.d.a.entries(),this.a=this.b.next()}function Bq(e){if(!e.c.Sb())throw Jm(new bb);return e.a=!0,e.c.Ub()}function Vq(e,t){return wB(t),null!=e.a?function(e){return null==e?cze:new yy(wB(e))}(t.Kb(e.a)):cze}function $q(){$q=S,AUe=new yC("LAYER_SWEEP",0),TUe=new yC(PIe,1)}function Hq(){Hq=S,OUe=e6(($q(),q3(lw(NUe,1),A_e,333,0,[AUe,TUe])))}function Gq(){Gq=S,UUe=e6((FQ(),q3(lw(KUe,1),A_e,413,0,[HUe,GUe])))}function Wq(){Wq=S,q0e=e6((IY(),q3(lw(X0e,1),A_e,374,0,[W0e,G0e])))}function Uq(){Uq=S,D0e=e6((PZ(),q3(lw(j0e,1),A_e,415,0,[A0e,P0e])))}function qq(){qq=S,Zqe=e6((ZU(),q3(lw(oYe,1),A_e,414,0,[Xqe,Yqe])))}function Xq(){Xq=S,MUe=e6((sK(),q3(lw(PUe,1),A_e,417,0,[CUe,EUe])))}function Yq(){Yq=S,uqe=e6((lZ(),q3(lw(mqe,1),A_e,473,0,[sqe,aqe])))}function Kq(){Kq=S,b2e=e6((EY(),q3(lw(v2e,1),A_e,513,0,[m2e,g2e])))}function Zq(){Zq=S,R1e=e6((KU(),q3(lw(N1e,1),A_e,516,0,[O1e,P1e])))}function Qq(){Qq=S,q1e=e6((sH(),q3(lw(K1e,1),A_e,509,0,[U1e,W1e])))}function Jq(){Jq=S,Z1e=e6((YH(),q3(lw(Q1e,1),A_e,508,0,[X1e,Y1e])))}function eX(){eX=S,E2e=e6((aH(),q3(lw(I2e,1),A_e,448,0,[k2e,C2e])))}function tX(){tX=S,k3e=e6((KH(),q3(lw(I3e,1),A_e,474,0,[_3e,S3e])))}function nX(){nX=S,M3e=e6((YW(),q3(lw(A3e,1),A_e,419,0,[E3e,C3e])))}function rX(){rX=S,j3e=e6((w1(),q3(lw(F3e,1),A_e,487,0,[L3e,N3e])))}function iX(){iX=S,_6e=e6((C3(),q3(lw(S6e,1),A_e,423,0,[w6e,y6e])))}function oX(){oX=S,U3e=e6((KK(),q3(lw(K3e,1),A_e,420,0,[G3e,W3e])))}function aX(){aX=S,M4e=e6((MY(),q3(lw(R4e,1),A_e,424,0,[E4e,C4e])))}function sX(){sX=S,eBe=e6((vte(),q3(lw(rBe,1),A_e,422,0,[Jze,Qze])))}function lX(){lX=S,iBe=e6((NQ(),q3(lw(hBe,1),A_e,421,0,[tBe,nBe])))}function uX(){uX=S,_$e=e6((jQ(),q3(lw(z$e,1),A_e,418,0,[w$e,x$e])))}function cX(){cX=S,fGe=e6((x1(),q3(lw(hGe,1),A_e,504,0,[cGe,uGe])))}function fX(){fX=S,Aze=!0,Mze=!1,Tze=!1,Oze=!1,Pze=!1}function hX(e){e.i=0,mk(e.b,null),mk(e.c,null),e.a=null,e.e=null,++e.g}function dX(e){if(Zce(e))return e.c=e.a,e.a.Pb();throw Jm(new bb)}function pX(e){fX(),Aze||(this.c=e,this.e=!0,this.a=new $m)}function gX(e,t){this.c=0,this.b=t,JI.call(this,e,17493),this.a=this.c}function mX(e,t,n){var r;return MG(t,e.c.length),r=e.c[t],e.c[t]=n,r}function bX(e,t){var n,r;for(n=t,r=0;n>0;)r+=e.a[n],n-=n&-n;return r}function vX(e,t){var n;for(n=t;n;)nO(e,-n.i,-n.j),n=rG(n);return e}function yX(e,t){var n,r;for(wB(t),r=e.Ic();r.Ob();)n=r.Pb(),t.td(n)}function wX(e,t){var n;return new __(n=t.ad(),e.e.nc(n,LL(t.bd(),15)))}function xX(e,t){return(H8(e),zx(new cj(e,new GK(t,e.a)))).sd(Fze)}function _X(){aT(this),this.b=new YE(RSe,RSe),this.a=new YE(LSe,LSe)}function SX(e){this.b=e,SA.call(this,e),this.a=LL(n3(this.b.a,4),124)}function kX(e){this.b=e,LP.call(this,e),this.a=LL(n3(this.b.a,4),124)}function CX(e,t,n,r,i){qX.call(this,t,r,i),this.c=e,this.b=n}function EX(e,t,n,r,i){qX.call(this,t,r,i),this.c=e,this.a=n}function IX(e,t,n,r,i){EW.call(this,t,r,i),this.c=e,this.a=n}function MX(e,t,n,r,i){IW.call(this,t,r,i),this.c=e,this.a=n}function TX(e){lk.call(this,null==e?$xe:P9(e),BT(e,78)?LL(e,78):null)}function AX(e){var t;return e.c||BT(t=e.r,87)&&(e.c=LL(t,26)),e.c}function PX(e,t){var n;return n=0,e&&(n+=e.f.a/2),t&&(n+=t.f.a/2),n}function OX(e,t){return LL(oQ(e.d,t),23)||LL(oQ(e.e,t),23)}function DX(e,t){var n,r;n=LL(function(e,t){wz(e);try{return e.zc(t)}catch(e){if(BT(e=v3(e),203)||BT(e,173))return null;throw Jm(e)}}(e.c,t),15),n&&(r=n.gc(),n.$b(),e.d-=r)}function RX(e){return TT(e&SSe,e>>22&SSe,e<0?kSe:0)}function LX(e,t){var n;return!!(n=s4(e,t.ad()))&&cV(n.e,t.bd())}function NX(e){return!(!e.c||!e.d)&&(!!e.c.i&&e.c.i==e.d.i)}function jX(e,t){return 0==t||0==e.e?e:t>0?J7(e,t):kde(e,-t)}function FX(e,t){return 0==t||0==e.e?e:t>0?kde(e,t):J7(e,-t)}function zX(e,t){return!!BT(t,149)&&fR(e.c,LL(t,149).c)}function BX(e,t){if(e<0||e>t)throw Jm(new Ey(Gle(e,t,"index")));return e}function VX(e){return e.t||(e.t=new Sm(e),J6(new xy(e),0,e.t)),e.t}function $X(e){var t;return c3(t=new N$,e),S5(t,(Kwe(),vQe),null),t}function HX(e){var t,n;return t=e.c.i,n=e.d.i,t.k==(mse(),WHe)&&n.k==WHe}function GX(e){var t,n;++e.j,t=e.g,n=e.i,e.g=null,e.i=0,e.$h(n,t),e.Zh()}function WX(e,t){e.li(e.i+1),fA(e,e.i,e.ji(e.i,t)),e.Yh(e.i++,t),e.Zh()}function UX(e,t,n){Am.call(this,n),this.b=e,this.c=t,this.d=(P7(),mit)}function qX(e,t,n){this.d=e,this.k=t?1:0,this.f=n?1:0,this.o=-1,this.p=0}function XX(e,t,n){var r;p2(r=new _A(e.a),e.a.a),eue(r.f,t,n),e.a.a=r}function YX(e,t,n){var r;return(r=e.Tg(t))>=0?e.Wg(r,n,!0):tce(e,t,n)}function KX(e,t){var n;return!(n=LL(e.c.vc(t),15))&&(n=e.ic(t)),e.nc(t,n)}function ZX(e,t){var n,r;return wB(e),n=e,wB(t),n==(r=t)?0:n<r?-1:1}function QX(e){var t;return wz(e),Fle(t=e?new jR(e):NL(e.Ic())),V6(t)}function JX(e){var t,n;return wz(e),t=function(e){return k0(e,O_e),lQ(o8(o8(5,e),e/10|0))}(e.length),A5(n=new LY(t),e),n}function eY(e,t){var n;return MG(t,e.c.length),n=e.c[t],Gx(e.c,t,1),n}function tY(e,t,n,r){var i;return function(e,t,n,r,i){var o,a;for(o=0,a=0;a<i;a++)o=o8(o,s8(SH(t[a],HSe),SH(r[a],HSe))),e[a]=QN(o),o=wN(o,32);for(;a<n;a++)o=o8(o,SH(t[a],HSe)),e[a]=QN(o),o=wN(o,32)}(i=fK(nat,sSe,24,t,15,1),e,t,n,r),i}function nY(e,t,n,r){var i;for(i=0;i<NBe;i++)Rj(e.a[t.g][i],n,r[t.g])}function rY(e,t,n,r){var i;for(i=0;i<jBe;i++)Lj(e.a[i][t.g],n,r[t.g])}function iY(e){var t;return t=e.e+e.f,isNaN(t)&&LR(e.d)?e.d:t}function oY(e){var t;for(NB(e),t=0;e.a.sd(new le);)t=o8(t,1);return t}function aY(e,t){return e.a?UI(e.a,e.b):e.a=new YA(e.d),GI(e.a,t),e}function sY(e,t){return LI(t)?null==t?Qce(e.f,null):y3(e.g,t):Qce(e.f,t)}function lY(e,t){JI.call(this,t.rd(),-6&t.qd()),wB(e),this.a=e,this.b=t}function uY(e,t){QI.call(this,t.rd(),-6&t.qd()),wB(e),this.a=e,this.b=t}function cY(e,t){eM.call(this,t.rd(),-6&t.qd()),wB(e),this.a=e,this.b=t}function fY(e){this.c=e,this.a=new td(this.c.a),this.b=new td(this.c.b)}function hY(){this.e=new $m,this.c=new $m,this.d=new $m,this.b=new $m}function dY(){this.g=new Lb,this.b=new Lb,this.a=new $m,this.k=new $m}function pY(e,t,n){this.a=e,this.c=t,this.d=n,RL(t.e,this),RL(n.b,this)}function gY(e,t,n){var r,i;for(r=0,i=0;i<t.length;i++)r+=e.Wf(t[i],r,n)}function mY(e,t){var n;return n=function(e,t){var n,r,i,o,a,s,l,u,c,f;for(c=new $m,f=new Vm,o=null,i=0,r=0;r<t.length;++r)switch(L4(o,n=t[r])&&(i=U7(e,f,c,T1e,i)),ZP(n,(hxe(),xXe))&&(o=LL(Fae(n,xXe),10)),n.k.g){case 0:for(l=uT(SL(i9(n,(hwe(),Det)),new Ho));e1(l);)a=LL(pZ(l),11),e.d[a.p]=i++,c.c[c.c.length]=a;for(i=U7(e,f,c,T1e,i),u=uT(SL(i9(n,Ket),new Ho));e1(u);)a=LL(pZ(u),11),e.d[a.p]=i++,c.c[c.c.length]=a;break;case 3:i9(n,M1e).dc()||(a=LL(i9(n,M1e).Xb(0),11),e.d[a.p]=i++,c.c[c.c.length]=a),i9(n,T1e).dc()||FU(f,n);break;case 1:for(s=i9(n,(hwe(),Qet)).Ic();s.Ob();)a=LL(s.Pb(),11),e.d[a.p]=i++,c.c[c.c.length]=a;i9(n,Oet).Hc(new qC(f,n))}return U7(e,f,c,T1e,i),c}(e,t),e.b=new P1(n.c.length),function(e,t){var n,r,i,o,a,s,l;for(n=0,l=new $m,o=new td(t);o.a<o.c.c.length;){switch(i=LL(xW(o),11),X4(e.b,e.d[i.p]),l.c=fK(pje,zxe,1,0,5,1),i.i.k.g){case 0:uJ(LL(Fae(i,(hxe(),BXe)),10).j,new lg(l));break;case 1:DT(Z5(_V(new cj(null,new ZG(i.i.j,16)),new ug(i))),new cg(l));break;case 3:RL(l,new KE(LL(Fae(i,(hxe(),OXe)),11),k8(i.e.c.length+i.g.c.length)))}for(s=new td(l);s.a<s.c.c.length;)a=LL(xW(s),46),(r=Ux(e,LL(a.a,11)))>e.d[i.p]&&(n+=bX(e.b,r)*LL(a.b,20).a,FU(e.a,k8(r)));for(;!Hy(e.a);)cQ(e.b,LL(fz(e.a),20).a)}return n}(e,n)}function bY(e){return e.a?e.e?bY(e.e):null:e}function vY(e){var t;return e.a||BT(t=e.r,148)&&(e.a=LL(t,148)),e.a}function yY(e,t,n){this.a=e,this.b=t,this.c=n,RL(e.t,this),RL(t.i,this)}function wY(e,t,n,r){this.f=e,this.e=t,this.d=n,this.b=r,this.c=r?r.d:null}function xY(e,t){npe(),this.e=e,this.d=1,this.a=q3(lw(nat,1),sSe,24,15,[t])}function _Y(e,t,n){return $W(t,e.e.Hd().gc()),$W(n,e.c.Hd().gc()),e.a[t][n]}function SY(e,t){return!!KF(e.a,t)&&(sY(e.a,t),!0)}function kY(e,t){return wB(t),e.c<e.d&&(e.ze(t,e.c++),!0)}function CY(){CY=S,SWe=new JO("separateLayerConnections",(d5(),IWe))}function EY(){EY=S,m2e=new rE("REGULAR",0),g2e=new rE("CRITICAL",1)}function IY(){IY=S,W0e=new VC("STACKED",0),G0e=new VC("SEQUENCED",1)}function MY(){MY=S,E4e=new pE("FIXED",0),C4e=new pE("CENTER_NODE",1)}function TY(){TY=S,K6e=new bm("org.eclipse.elk.labels.labelManager")}function AY(){var e,t;AY=S,Cx(),t=new hb,Cit=t,e=new Ev,Eit=e}function PY(){this.b=new sS,this.a=new sS,this.b=new sS,this.a=new sS}function OY(e){var t,n,r,i;i=e.d,t=e.a,n=e.b,r=e.c,e.d=n,e.a=r,e.b=i,e.c=t}function DY(e,t,n){if(e<0||t>n||t<e)throw Jm(new cw(mke+e+vke+t+ske+n))}function RY(e){if(!e)throw Jm(new jy("Unable to add element to queue"))}function LY(e){aT(this),BR(e>=0,"Initial capacity must not be negative")}function NY(){NY=S,aHe=e6((AZ(),q3(lw(sHe,1),A_e,376,0,[iHe,rHe,oHe])))}function jY(){jY=S,PBe=e6((nJ(),q3(lw(OBe,1),A_e,230,0,[MBe,TBe,ABe])))}function FY(){FY=S,FBe=e6((JK(),q3(lw(zBe,1),A_e,455,0,[RBe,DBe,LBe])))}function zY(){zY=S,GBe=e6((QZ(),q3(lw(WBe,1),A_e,456,0,[HBe,$Be,VBe])))}function BY(){BY=S,Nze=e6((z4(),q3(lw(jze,1),A_e,132,0,[Dze,Rze,Lze])))}function VY(){VY=S,T0e=e6((W5(),q3(lw(O0e,1),A_e,372,0,[E0e,C0e,I0e])))}function $Y(){$Y=S,H0e=e6(($2(),q3(lw(U0e,1),A_e,373,0,[z0e,B0e,V0e])))}function HY(){HY=S,F0e=e6((E0(),q3(lw($0e,1),A_e,446,0,[N0e,R0e,L0e])))}function GY(){GY=S,Q0e=e6((d6(),q3(lw(n1e,1),A_e,334,0,[Y0e,K0e,Z0e])))}function WY(){WY=S,r1e=e6((f2(),q3(lw(s1e,1),A_e,336,0,[t1e,J0e,e1e])))}function UY(){UY=S,l1e=e6((k3(),q3(lw(c1e,1),A_e,375,0,[o1e,a1e,i1e])))}function qY(){qY=S,jUe=e6((I0(),q3(lw(VUe,1),A_e,335,0,[DUe,LUe,RUe])))}function XY(){XY=S,$Ue=e6((tJ(),q3(lw(WUe,1),A_e,416,0,[zUe,FUe,BUe])))}function YY(){YY=S,ZUe=e6((h5(),q3(lw(iqe,1),A_e,444,0,[XUe,qUe,YUe])))}function KY(){KY=S,C1e=e6((M0(),q3(lw(E1e,1),A_e,447,0,[_1e,S1e,k1e])))}function ZY(){ZY=S,$3e=e6((G9(),q3(lw(H3e,1),A_e,436,0,[V3e,z3e,B3e])))}function QY(){QY=S,v4e=e6((O8(),q3(lw(y4e,1),A_e,430,0,[g4e,m4e,b4e])))}function JY(){JY=S,qqe=e6((JZ(),q3(lw(Kqe,1),A_e,301,0,[Gqe,Wqe,Hqe])))}function eK(){eK=S,$qe=e6((V2(),q3(lw(Uqe,1),A_e,292,0,[zqe,Bqe,Fqe])))}function tK(){tK=S,M5e=e6((B2(),q3(lw(T5e,1),A_e,293,0,[C5e,E5e,k5e])))}function nK(){nK=S,Z3e=e6((B4(),q3(lw(u5e,1),A_e,377,0,[q3e,X3e,Y3e])))}function rK(){rK=S,R5e=e6((W9(),q3(lw(G5e,1),A_e,378,0,[O5e,D5e,P5e])))}function iK(){iK=S,oUe=e6((_1(),q3(lw(aUe,1),A_e,358,0,[iUe,rUe,nUe])))}function oK(){oK=S,y7e=e6(($J(),q3(lw(k7e,1),A_e,271,0,[g7e,m7e,b7e])))}function aK(){aK=S,W7e=e6((P8(),q3(lw(K7e,1),A_e,332,0,[H7e,$7e,G7e])))}function sK(){sK=S,CUe=new vC("QUADRATIC",0),EUe=new vC("SCANLINE",1)}function lK(e){return!e.g&&(e.g=new nl),!e.g.c&&(e.g.c=new _m(e)),e.g.c}function uK(e,t,n){var r,i;if(null!=n)for(r=0;r<t;++r)i=n[r],e.ai(r,i)}function cK(e,t,n,r){var i;return function(e,t,n,r,i){var o,a;if(o=o8(SH(t[0],HSe),SH(r[0],HSe)),e[0]=QN(o),o=wN(o,32),n>=i){for(a=1;a<i;a++)o=o8(o,o8(SH(t[a],HSe),SH(r[a],HSe))),e[a]=QN(o),o=wN(o,32);for(;a<n;a++)o=o8(o,SH(t[a],HSe)),e[a]=QN(o),o=wN(o,32)}else{for(a=1;a<n;a++)o=o8(o,o8(SH(t[a],HSe),SH(r[a],HSe))),e[a]=QN(o),o=wN(o,32);for(;a<i;a++)o=o8(o,SH(r[a],HSe)),e[a]=QN(o),o=wN(o,32)}0!=T4(o,0)&&(e[a]=QN(o))}(i=fK(nat,sSe,24,t+1,15,1),e,t,n,r),i}function fK(e,t,n,r,i,o){var a;return a=hre(i,r),10!=i&&q3(lw(e,o),t,n,i,a),a}function hK(e,t){return!e.o&&(e.o=new EK((Hwe(),Xtt),ynt,e,0)),w7(e.o,t)}function dK(e,t){var n;return(n=new z).c=!0,n.d=t.bd(),Mye(e,t.ad(),n)}function pK(e){var t;return 0==(t=e.b).b?null:LL(bte(t,0),188).b}function gK(e,t,n){LL(e.b,63),LL(e.b,63),LL(e.b,63),uJ(e.a,new qR(n,t,e))}function mK(e){v5.call(this,e,0),aO(this),this.d.b=this.d,this.d.a=this.d}function bK(e,t){sk.call(this,e,t),this.a=fK(bze,y_e,429,2,0,1),this.b=!0}function vK(e){e?(this.c=e,this.b=null):(this.c=null,this.b=new $m)}function yK(e,t,n){var r;(r=e.b[n.c.p][n.p]).b+=t.b,r.c+=t.c,r.a+=t.a,++r.a}function wK(e,t){var n,i;return n=e.a-t.a,i=e.b-t.b,r.Math.sqrt(n*n+i*i)}function xK(){xK=S,h1e=Qj(jN(new wU,(zae(),fHe),(pxe(),$Ge)),gHe,cWe)}function _K(e){return wW(e.c.a.e,e),EP(e.b!=e.c.a.d),e.a=e.b,e.b=e.b.a,e.a}function SK(e){var t;return e.a||-1==e.b||(t=e.c.Og(),e.a=VQ(t,e.b)),e.a}function kK(e){var t;return NI(e)&&(t=0-e,!isNaN(t))?t:L2(w5(e))}function CK(e,t,n,r){return wB(e),wB(t),wB(n),wB(r),new kz(e,t,new Z)}function EK(e,t,n,r){this.mj(),this.a=t,this.b=e,this.c=new VF(this,t,n,r)}function IK(e,t,n,r,i,o){XU.call(this,t,r,i,o),this.c=e,this.b=n}function MK(e,t,n,r,i,o){XU.call(this,t,r,i,o),this.c=e,this.a=n}function TK(e,t,n){var r;return gxe(),r=Mwe(e,t),n&&r&&function(e){return!!qot&&M$(qot,e)}(e)&&(r=null),r}function AK(e,t){return(!e.ci()||!e.Fc(t))&&(e.Th(t),!0)}function PK(e,t){return yB(t,"Horizontal alignment cannot be null"),e.b=t,e}function OK(e){CP(!!e.c),wW(e.e,e),e.c.Qb(),e.c=null,e.b=B3(e),wP(e.e,e)}function DK(e,t){var n;for(n=t.Ic();n.Ob();)Ige(e,LL(n.Pb(),38),0,0)}function RK(e,t,n){var r;for(r=e.Ic();r.Ob();)oge(LL(r.Pb(),38),t,n)}function LK(e,t,n){var r;return(r=Vfe(e.b,t))?gve(jZ(e,r),n):null}function NK(e,t,n){var i;e.d[t.g]=n,(i=e.g.c)[t.g]=r.Math.max(i[t.g],n+1)}function jK(e,t){var n;return(n=e.Tg(t))>=0?e.Wg(n,!0,!0):tce(e,t,!0)}function FK(e,t){return fk(e.e,t)||ste(e.e,t,new _te(t)),LL(oQ(e.e,t),112)}function zK(e){for(;!e.a;)if(!pR(e.c,new Ed(e)))return!1;return!0}function BK(e){return wz(e),BT(e,197)?LL(e,197):new Zf(e)}function VK(e,t){if(null==e.g||t>=e.i)throw Jm(new cM(t,e.i));return e.g[t]}function $K(e,t,n){if(a4(e,n),null!=n&&!e.rj(n))throw Jm(new mb);return n}function HK(e,t){return 10!=wQ(t)&&q3(g4(t),t.cm,t.__elementTypeId$,wQ(t),e),e}function GK(e,t){eM.call(this,t.rd(),-16449&t.qd()),wB(e),this.a=e,this.c=t}function WK(e,t){if(t.a)throw Jm(new sy(Eke));uz(e.a,t),t.a=e,!e.j&&(e.j=t)}function UK(e){e.e>0&&e.d>0&&(e.a=e.e*e.d,e.b=e.e/e.d,e.j=function(e,t,n){return r.Math.min(n/e,1/t)}(e.e,e.d,e.c))}function qK(e){e.a=fK(nat,sSe,24,e.b+1,15,1),e.c=fK(nat,sSe,24,e.b,15,1),e.d=0}function XK(){XK=S,P3e=_ee(_ee(Gk(new wU,(qre(),T2e)),(Cle(),V2e)),j2e)}function YK(){var e,t,n,r;YK=S,M6e=new cs,A6e=new fs,fxe(),e=L9e,t=M6e,n=g9e,r=A6e,xV(),T6e=new ay(q3(lw(_je,1),y_e,43,0,[(Jte(e,t),new __(e,t)),(Jte(n,r),new __(n,r))]))}function KK(){KK=S,G3e=new hE("LEAF_NUMBER",0),W3e=new hE("NODE_SIZE",1)}function ZK(){ZK=S,vze=new bk("All",0),yze=new QM,wze=new GT,xze=new JM}function QK(){QK=S,Sze=e6((ZK(),q3(lw(_ze,1),A_e,297,0,[vze,yze,wze,xze])))}function JK(){JK=S,RBe=new Ok(nCe,0),DBe=new Ok(Jke,1),LBe=new Ok(rCe,2)}function eZ(){eZ=S,jbe(),pot=RSe,dot=LSe,mot=new $h(RSe),got=new $h(LSe)}function tZ(){tZ=S,_Ve=e6((h3(),q3(lw(SVe,1),A_e,401,0,[xVe,vVe,yVe,wVe])))}function nZ(){nZ=S,MVe=e6((Bte(),q3(lw(TVe,1),A_e,322,0,[CVe,kVe,EVe,IVe])))}function rZ(){rZ=S,BVe=e6((Vte(),q3(lw(VVe,1),A_e,390,0,[jVe,NVe,FVe,zVe])))}function iZ(){iZ=S,PHe=e6((p5(),q3(lw(jHe,1),A_e,400,0,[EHe,THe,IHe,MHe])))}function oZ(){oZ=S,MWe=e6((d5(),q3(lw(TWe,1),A_e,357,0,[IWe,CWe,EWe,kWe])))}function aZ(){aZ=S,HWe=e6((S3(),q3(lw(GWe,1),A_e,406,0,[zWe,BWe,VWe,$We])))}function sZ(){sZ=S,s0e=e6((rne(),q3(lw(d0e,1),A_e,196,0,[i0e,o0e,r0e,n0e])))}function lZ(){lZ=S,sqe=new CC(bIe,0),aqe=new CC("IMPROVE_STRAIGHTNESS",1)}function uZ(e,t){var n,r;return r=t/e.c.Hd().gc()|0,n=t%e.c.Hd().gc(),_Y(e,r,n)}function cZ(e,t){var n;return gq(t),(n=HK(e.slice(0,t),e)).length=t,n}function fZ(e,t,n,r){y$(),r=r||QFe,Qle(e.slice(t,n),e,t,n,-t,r)}function hZ(e,t,n,r,i){return t<0?tce(e,n,r):LL(n,65).Ij().Kj(e,e.th(),t,r,i)}function dZ(e,t){if(t<0)throw Jm(new Ey(FPe+t));return WU(e,t+1),JN(e.j,t)}function pZ(e){var t;if(!e1(e))throw Jm(new bb);return e.e=1,t=e.d,e.d=null,t}function gZ(e){var t,n;if(!e.b)return null;for(n=e.b;t=n.a[0];)n=t;return n}function mZ(e){var t;null!=(t=e.vi())&&-1!=e.d&&LL(t,91).Ig(e),e.i&&e.i.Ai()}function bZ(e,t){var n;this.f=e,this.b=t,n=LL(aB(e.b,t),282),this.c=n?n.b:null}function vZ(e,t,n){for(;n<e.c.length;++n)if(cV(t,e.c[n]))return n;return-1}function yZ(e,t){var n;return-1!=(n=vZ(e,t,0))&&(eY(e,n),!0)}function wZ(e,t){var n;return(n=LL(sY(e.e,t),382))?(mN(n),n.e):null}function xZ(e,t,n,r,i){return wB(e),wB(t),wB(n),wB(r),wB(i),new kz(e,t,r)}function _Z(e,t,n,r){if(!e)throw Jm(new Ny(Upe(t,q3(lw(pje,1),zxe,1,5,[n,r]))))}function SZ(){SZ=S,C7e=e6(($9(),q3(lw(O7e,1),A_e,216,0,[S7e,x7e,w7e,_7e])))}function kZ(){kZ=S,Z7e=e6((Yre(),q3(lw(set,1),A_e,284,0,[Y7e,U7e,q7e,X7e])))}function CZ(){CZ=S,ftt=e6((aee(),q3(lw(xtt,1),A_e,371,0,[utt,ctt,ltt,stt])))}function EZ(){EZ=S,S5e=e6((rre(),q3(lw(I5e,1),A_e,337,0,[_5e,w5e,x5e,y5e])))}function IZ(){IZ=S,O2e=e6((qre(),q3(lw(D2e,1),A_e,389,0,[M2e,T2e,A2e,P2e])))}function MZ(){MZ=S,Mtt=e6((A7(),q3(lw(Ttt,1),A_e,309,0,[Itt,ktt,Ett,Ctt])))}function TZ(){TZ=S,Ltt=e6((F4(),q3(lw(Ntt,1),A_e,392,0,[Ott,Dtt,Ptt,Rtt])))}function AZ(){AZ=S,iHe=new Bk("XY",0),rHe=new Bk("X",1),oHe=new Bk("Y",2)}function PZ(){PZ=S,A0e=new FC("INPUT_ORDER",0),P0e=new FC("PORT_DEGREE",1)}function OZ(){iL(),this.b=new Hm,this.f=new Hm,this.g=new Hm,this.e=new Hm}function DZ(e){yT(this),this.g=e?Q$(e,e.$d()):null,this.f=e,u$(this),this._d()}function RZ(e,t,n,r,i,o,a){P0.call(this,t,r,i,o,a),this.c=e,this.b=n}function LZ(e,t,n){var r;return NB(e),(r=new ee).a=t,e.a.Nb(new Ek(r,n)),r.a}function NZ(e){return e.b||(e.b=new eF(e,brt,e),!e.a&&(e.a=new uD(e,e))),e.b}function jZ(e,t){var n,r;return!(r=(n=LL(t,663)).Jh())&&n.Mh(r=new EI(e,t)),r}function FZ(e,t){var n,r;return!(r=(n=LL(t,665)).kk())&&n.ok(r=new FW(e,t)),r}function zZ(e){var t;return t=LL(JN(e.j,0),11),LL(Fae(t,(hxe(),OXe)),11)}function BZ(e){var t,n;return Rz(e,0,n=e.length,t=fK(tat,q_e,24,n,15,1),0),t}function VZ(e,t){for(;t[0]<e.length&&SM(" \t\r\n",bae(dV(e,t[0])))>=0;)++t[0]}function $Z(e,t){OVe=new et,DVe=t,LL((PVe=e).b,63),gK(PVe,OVe,null),Pve(PVe)}function HZ(e,t){return cV(t,JN(e.f,0))||cV(t,JN(e.f,1))||cV(t,JN(e.f,2))}function GZ(e,t){var n,r;return AS(),n=VU(e),r=VU(t),!!n&&!!r&&!Ate(n.k,r.k)}function WZ(e,t,n){var r,i;for(r=10,i=0;i<n-1;i++)t<r&&(e.a+="0"),r*=10;e.a+=t}function UZ(e,t){var n;return(n=u7(e.d,t))>=0?Ute(e,n,!0,!0):tce(e,t,!0)}function qZ(e){var t;for(t=e.p+1;t<e.c.a.c.length;++t)--LL(JN(e.c.a,t),10).p}function XZ(e){var t;return null==(t=xJ(n3(e,32)))&&(Aee(e),t=xJ(n3(e,32))),t}function YZ(e){var t;return e.Zg()||(t=Hz(e.Og())-e.vh(),e.kh().Yj(t)),e.Kg()}function KZ(e){(this.q?this.q:(v$(),v$(),YFe)).yc(e.q?e.q:(v$(),v$(),YFe))}function ZZ(e,t){if(!e)throw Jm(new Ny(function(e,t){var n,r,i,o;e=null==e?$xe:(wB(e),e),n=new gw,o=0,r=0;for(;r<t.length&&-1!=(i=e.indexOf("%s",o));)UI(n,e.substr(o,i-o)),WI(n,t[r++]),o=i+2;if(UI(n,e.substr(o)),r<t.length){for(n.a+=" [",WI(n,t[r++]);r<t.length;)n.a+=jxe,WI(n,t[r++]);n.a+="]"}return n.a}("Enum constant undefined: %s",t)))}function QZ(){QZ=S,HBe=new Dk("TOP",0),$Be=new Dk(Jke,1),VBe=new Dk(oCe,2)}function JZ(){JZ=S,Gqe=new AC(bIe,0),Wqe=new AC("TOP",1),Hqe=new AC(oCe,2)}function eQ(e,t,n){e.a.c=fK(pje,zxe,1,0,5,1),function(e,t,n){var i,o,a,s,l,u,c,f,h;e.c=0,e.b=0,i=2*t.c.a.c.length+1;e:for(c=n.Ic();c.Ob();){if(h=0,s=(u=LL(c.Pb(),11)).j==(hwe(),Det)||u.j==Ket){if(!(f=LL(Fae(u,(hxe(),BXe)),10)))continue;h+=Tpe(e,i,u,f)}else{for(l=new td(u.g);l.a<l.c.c.length;){if((o=LL(xW(l),18).d).i.c==t.c){RL(e.a,u);continue e}h+=e.g[o.p]}for(a=new td(u.e);a.a<a.c.c.length;){if((o=LL(xW(a),18).c).i.c==t.c){RL(e.a,u);continue e}h-=e.g[o.p]}}u.e.c.length+u.g.c.length>0?(e.f[u.p]=h/(u.e.c.length+u.g.c.length),e.c=r.Math.min(e.c,e.f[u.p]),e.b=r.Math.max(e.b,e.f[u.p])):s&&(e.f[u.p]=h)}}(e,t,n),0==e.a.c.length||function(e,t){var n,r,i,o,a,s,l,u,c,f;for(u=e.e[t.c.p][t.p]+1,l=t.c.a.c.length+1,s=new td(e.a);s.a<s.c.c.length;){for(a=LL(xW(s),11),f=0,o=0,i=ZF(l0(q3(lw(yje,1),zxe,19,0,[new Qd(a),new ep(a)])));Zce(i);)(r=LL(dX(i),11)).i.c==t.c&&(f+=aA(e,r.i)+1,++o);n=f/o,(c=a.j)==(hwe(),Oet)?e.f[a.p]=n<u?e.c-n:e.b+(l-n):c==Qet&&(e.f[a.p]=n<u?e.b+n:e.c-(l-n))}}(e,t)}function tQ(e,t,n){var r;return r=e.g[t],fA(e,t,e.ji(t,n)),e.bi(t,n,r),e.Zh(),r}function nQ(e,t){var n;return(n=e.Vc(t))>=0&&(e.Yc(n),!0)}function rQ(e){var t;return e.d!=e.r&&(t=fie(e),e.e=!!t&&t.xj()==sLe,e.d=t),e.e}function iQ(e,t){var n;for(wz(e),wz(t),n=!1;t.Ob();)n|=e.Dc(t.Pb());return n}function oQ(e,t){var n;return(n=LL(aB(e.e,t),382))?(iA(e,n),n.e):null}function aQ(e,t){return H8(e),new cj(e,new vR(new cY(t,e.a)))}function sQ(e){var t,n;return t=e/60|0,0==(n=e%60)?""+t:t+":"+n}function lQ(e){return T4(e,Dxe)>0?Dxe:T4(e,F_e)<0?F_e:QN(e)}function uQ(e,t){var n=e.a[t],r=(b5(),Kje)[typeof n];return r?r(n):z6(typeof n)}function cQ(e,t){var n;for(++e.d,++e.c[t],n=t+1;n<e.a.length;)++e.a[n],n+=n&-n}function fQ(e,t){var n;return wB(t),ZZ(!!(n=e[":"+t]),q3(lw(pje,1),zxe,1,5,[t])),n}function hQ(e){var t;return null!=(t=0==e.b.c.length?null:JN(e.b,0))&&h1(e,0),t}function dQ(e){var t,n;return t=e+128,!(n=(WN(),aFe)[t])&&(n=aFe[t]=new Bh(e)),n}function pQ(e,t,n){var r;if(null==t)throw Jm(new xb);return r=xH(e,t),function(e,t,n){if(n){var r=n.ee();e.a[t]=r(n)}else delete e.a[t]}(e,t,n),r}function gQ(e,t,n,r){gxe(),zm.call(this,26),this.c=e,this.a=t,this.d=n,this.b=r}function mQ(e,t){this.e=t,this.a=j2(e),this.a<54?this.f=GW(e):this.c=bee(e)}function bQ(e,t){return 0==t.e||0==e.e?BFe:(gce(),Ghe(e,t))}function vQ(e,t){return t==(zR(),zR(),uze)?e.toLocaleLowerCase():e.toLowerCase()}function yQ(e,t){return!!Z1(e,t,QN(a8(k_e,uV(QN(a8(null==t?0:p4(t),C_e)),15))))}function wQ(e){return null==e.__elementTypeCategory$?10:e.__elementTypeCategory$}function xQ(e,t){var n,r;for(n=(r=t.c)+1;n<=t.f;n++)e.a[n]>e.a[r]&&(r=n);return r}function _Q(e){var t;for(++e.a,t=e.c.a.length;e.a<t;++e.a)if(e.c.b[e.a])return}function SQ(e){var t;return!!(t=LL(Fae(e,(hxe(),eXe)),303))&&t.a==e}function kQ(e){var t;return!!(t=LL(Fae(e,(hxe(),eXe)),303))&&t.i==e}function CQ(){CQ=S,ett=e6((hwe(),q3(lw(att,1),VEe,61,0,[Zet,Det,Oet,Ket,Qet])))}function EQ(){EQ=S,p0e=e6((Cne(),q3(lw(S0e,1),A_e,312,0,[h0e,u0e,c0e,l0e,f0e])))}function IQ(){IQ=S,d4e=e6((The(),q3(lw(p4e,1),A_e,352,0,[l4e,s4e,c4e,u4e,f4e])))}function MQ(){MQ=S,KWe=e6((koe(),q3(lw(tUe,1),A_e,360,0,[UWe,XWe,YWe,qWe,WWe])))}function TQ(){TQ=S,aYe=e6((H9(),q3(lw(IZe,1),A_e,165,0,[iYe,eYe,tYe,nYe,rYe])))}function AQ(){AQ=S,z6e=e6((dte(),q3(lw(X6e,1),A_e,175,0,[j6e,N6e,R6e,F6e,L6e])))}function PQ(){PQ=S,L4e=e6((Nse(),q3(lw(X4e,1),A_e,313,0,[T4e,A4e,D4e,P4e,O4e])))}function OQ(){OQ=S,met=e6((pte(),q3(lw(Set,1),A_e,248,0,[het,pet,cet,fet,det])))}function DQ(){DQ=S,Pet=e6((iae(),q3(lw(Jet,1),A_e,291,0,[Met,Eet,Iet,Cet,Tet])))}function RQ(){RQ=S,p7e=e6((A8(),q3(lw(v7e,1),A_e,108,0,[h7e,f7e,c7e,u7e,d7e])))}function LQ(){LQ=S,mHe=e6((zae(),q3(lw(vHe,1),A_e,353,0,[fHe,hHe,dHe,pHe,gHe])))}function NQ(){NQ=S,tBe=new Tk("BY_SIZE",0),nBe=new Tk("BY_SIZE_AND_SHAPE",1)}function jQ(){jQ=S,w$e=new zk("EADES",0),x$e=new zk("FRUCHTERMAN_REINGOLD",1)}function FQ(){FQ=S,HUe=new _C("READING_DIRECTION",0),GUe=new _C("ROTATION",1)}function zQ(){zQ=S,RHe=new _t,LHe=new wt,OHe=new It,DHe=new Mt,NHe=new Tt}function BQ(e,t){var n;return(n=LL(aB(e.a,t),134))||(n=new Ke,eV(e.a,t,n)),n}function VQ(e,t){var n;return null==e.i&&Kme(e),n=e.i,t>=0&&t<n.length?n[t]:null}function $Q(e,t){return wB(t),HF(e),!!e.d.Ob()&&(t.td(e.d.Pb()),!0)}function HQ(e){return e<3?(k0(e,I_e),e+1):e<M_e?IH(e/.75+1):Dxe}function GQ(e){if(e<0)throw Jm(new Ny("Illegal Capacity: "+e));this.g=this.mi(e)}function WQ(e){this.b=new $m,this.a=new $m,this.c=new $m,this.d=new $m,this.e=e}function UQ(e){this.g=e,this.f=new $m,this.a=r.Math.min(this.g.c.c,this.g.d.c)}function qQ(e,t,n){OD.call(this),_J(this),this.a=e,this.c=n,this.b=t.d,this.f=t.e}function XQ(e,t){var n;if(!(n=Whe(e.Og(),t)))throw Jm(new Ny(HOe+t+UOe));return n}function YQ(e){var t;t=new Mv,AK((!e.q&&(e.q=new FF(vrt,e,11,10)),e.q),t)}function KQ(e){this.d=e,this.c=e.c.tc().Ic(),this.b=null,this.a=null,this.e=(Zv(),Tje)}function ZQ(e){return e.a>=-.01&&e.a<=lCe&&(e.a=0),e.b>=-.01&&e.b<=lCe&&(e.b=0),e}function QQ(e){var t;CP(!!e.c),t=e.c.a,lJ(e.d,e.c),e.b==e.c?e.b=t:--e.a,e.c=null}function JQ(e,t){var n;return H8(e),n=new o$(e,e.a.rd(),4|e.a.qd(),t),new cj(e,n)}function eJ(e,t,n,r,i,o){var a;PG(a=$X(r),i),AG(a,o),Yue(e.a,r,new ZR(a,t,n.f))}function tJ(){tJ=S,zUe=new xC("GREEDY",0),FUe=new xC(OIe,1),BUe=new xC(PIe,2)}function nJ(){nJ=S,MBe=new Pk("BEGIN",0),TBe=new Pk(Jke,1),ABe=new Pk("END",2)}function rJ(){rJ=S,Qje=TT(SSe,SSe,524287),Jje=TT(0,0,CSe),eFe=RX(1),RX(2),tFe=RX(0)}function iJ(e){var t;return(t=Oy($O(Fae(e,(Kwe(),sQe)))))<0&&S5(e,sQe,t=0),t}function oJ(e,t){var n;for(n=e.Ic();n.Ob();)S5(LL(n.Pb(),69),(hxe(),kXe),t)}function aJ(e,t){var n;for(n=e;rG(n);)if((n=rG(n))==t)return!0;return!1}function sJ(e,t){if(null==e.g||t>=e.i)throw Jm(new cM(t,e.i));return e.gi(t,e.g[t])}function lJ(e,t){var n;return n=t.c,t.a.b=t.b,t.b.a=t.a,t.a=t.b=null,t.c=null,--e.b,n}function uJ(e,t){var n,r,i,o;for(wB(t),i=0,o=(r=e.c).length;i<o;++i)n=r[i],t.td(n)}function cJ(e,t){return function(e){return e?e.i:null}(K1(e,t,QN(a8(k_e,uV(QN(a8(null==t?0:p4(t),C_e)),15)))))}function fJ(e){return(0!=(2&e.i)?"interface ":0!=(1&e.i)?"":"class ")+(FO(e),e.o)}function hJ(e){var t,n;for(t=e.a.d.j,n=e.c.d.j;t!=n;)c1(e.b,t),t=V8(t);c1(e.b,t)}function dJ(e,t){var n,r,i,o;for(i=0,o=(r=e.d).length;i<o;++i)n=r[i],lA(e.g,n).a=t}function pJ(e,t,n){var r,i;r=t;do{i=Oy(e.p[r.p])+n,e.p[r.p]=i,r=e.a[r.p]}while(r!=t)}function gJ(e,t){var n;for(n=cte(e,0);n.b!=n.d.c;)BD(LL(BU(n),8),t);return e}function mJ(e){var t;return e.w?e.w:(t=function(e){return e.Db>>16!=6?null:LL($ce(e),234)}(e),t&&!t.fh()&&(e.w=t),t)}function bJ(e,t,n){if(a4(e,n),!e.wk()&&null!=n&&!e.rj(n))throw Jm(new mb);return n}function vJ(e,t){var n,r;r=e.a,n=function(e,t,n){var r,i;i=e.a,e.a=t,0!=(4&e.Db)&&0==(1&e.Db)&&(r=new NF(e,1,5,i,e.a),n?Ioe(n,r):n=r);return n}(e,t,null),r!=t&&!e.e&&(n=Dye(e,t,n)),n&&n.Ai()}function yJ(e){var t;return null==e?null:function(e,t){var n,r,i,o,a;if(null==e)return null;for(a=fK(tat,q_e,24,2*t,15,1),r=0,i=0;r<t;++r)n=e[r]>>4&15,o=15&e[r],a[i++]=pnt[n],a[i++]=pnt[o];return lee(a,0,a.length)}(t=LL(e,190),t.length)}function wJ(e,t,n){var r=function(){return e.apply(r,arguments)};return t.apply(r,n),r}function xJ(e){var t;return oN(null==e||Array.isArray(e)&&!((t=wQ(e))>=14&&t<=16)),e}function _J(e){e.b=(JK(),DBe),e.f=(QZ(),$Be),e.d=(k0(2,T_e),new LY(2)),e.e=new hx}function SJ(e){this.b=(wz(e),new jR(e)),this.a=new $m,this.d=new $m,this.e=new hx}function kJ(e){var t;return wW(e.e,e),EP(e.b),e.c=e.a,t=LL(e.a.Pb(),43),e.b=B3(e),t}function CJ(e){if(!(e>=0))throw Jm(new Ny("tolerance ("+e+") must be >= 0"));return e}function EJ(e,t,n){var r,i;return i=t>>5,r=31&t,SH(_N(e.n[n][i],QN(xN(r,1))),3)}function IJ(e,t){return function(e){return e?e.g:null}(Z1(e.a,t,QN(a8(k_e,uV(QN(a8(null==t?0:p4(t),C_e)),15)))))}function MJ(e,t){return vT(),CJ(j_e),r.Math.abs(e-t)<=j_e||e==t||isNaN(e)&&isNaN(t)}function TJ(e,t){return vT(),CJ(j_e),r.Math.abs(e-t)<=j_e||e==t||isNaN(e)&&isNaN(t)}function AJ(){AJ=S,oqe=e6((wse(),q3(lw(lqe,1),A_e,274,0,[JUe,QUe,tqe,eqe,rqe,nqe])))}function PJ(){PJ=S,bqe=e6((Zie(),q3(lw(kqe,1),A_e,272,0,[dqe,hqe,gqe,fqe,pqe,cqe])))}function OJ(){OJ=S,Cqe=e6((sse(),q3(lw(Nqe,1),A_e,273,0,[_qe,yqe,Sqe,xqe,wqe,vqe])))}function DJ(){DJ=S,kUe=e6((xle(),q3(lw(IUe,1),A_e,225,0,[wUe,_Ue,yUe,xUe,SUe,vUe])))}function RJ(){RJ=S,$2e=e6((Cle(),q3(lw(H2e,1),A_e,325,0,[V2e,j2e,z2e,F2e,B2e,N2e])))}function LJ(){LJ=S,D7e=e6((yae(),q3(lw(V7e,1),A_e,310,0,[A7e,M7e,P7e,E7e,T7e,I7e])))}function NJ(){NJ=S,t0e=e6((nae(),q3(lw(a0e,1),A_e,311,0,[JJe,ZJe,YJe,KJe,e0e,QJe])))}function jJ(){jJ=S,s8e=e6((ine(),q3(lw(w8e,1),A_e,247,0,[e8e,r8e,i8e,o8e,t8e,n8e])))}function FJ(){FJ=S,I8e=e6((goe(),q3(lw(l7e,1),A_e,290,0,[E8e,C8e,k8e,_8e,x8e,S8e])))}function zJ(){zJ=S,ket=e6((joe(),q3(lw(Aet,1),A_e,100,0,[_et,xet,wet,bet,yet,vet])))}function BJ(){BJ=S,ZHe=e6((mse(),q3(lw(QHe,1),A_e,266,0,[XHe,qHe,WHe,YHe,UHe,GHe])))}function VJ(){VJ=S,jBe=(nJ(),q3(lw(OBe,1),A_e,230,0,[MBe,TBe,ABe])).length,NBe=jBe}function $J(){$J=S,g7e=new EE(Jke,0),m7e=new EE("HEAD",1),b7e=new EE("TAIL",2)}function HJ(e,t){return e.n=t,e.n?(e.f=new $m,e.e=new $m):(e.f=null,e.e=null),e}function GJ(e,t){var n;n=e.f,e.f=t,0!=(4&e.Db)&&0==(1&e.Db)&&Y2(e,new Sq(e,3,n,e.f))}function WJ(e,t){var n;n=e.g,e.g=t,0!=(4&e.Db)&&0==(1&e.Db)&&Y2(e,new Sq(e,4,n,e.g))}function UJ(e,t){var n;n=e.i,e.i=t,0!=(4&e.Db)&&0==(1&e.Db)&&Y2(e,new Sq(e,5,n,e.i))}function qJ(e,t){var n;n=e.j,e.j=t,0!=(4&e.Db)&&0==(1&e.Db)&&Y2(e,new Sq(e,6,n,e.j))}function XJ(e,t){var n;n=e.j,e.j=t,0!=(4&e.Db)&&0==(1&e.Db)&&Y2(e,new Sq(e,1,n,e.j))}function YJ(e,t){var n;n=e.b,e.b=t,0!=(4&e.Db)&&0==(1&e.Db)&&Y2(e,new Sq(e,1,n,e.b))}function KJ(e,t){var n;n=e.b,e.b=t,0!=(4&e.Db)&&0==(1&e.Db)&&Y2(e,new Sq(e,3,n,e.b))}function ZJ(e,t){var n;n=e.c,e.c=t,0!=(4&e.Db)&&0==(1&e.Db)&&Y2(e,new Sq(e,4,n,e.c))}function QJ(e,t){var n;n=e.k,e.k=t,0!=(4&e.Db)&&0==(1&e.Db)&&Y2(e,new Sq(e,2,n,e.k))}function JJ(e,t){var n;n=e.a,e.a=t,0!=(4&e.Db)&&0==(1&e.Db)&&Y2(e,new Sq(e,0,n,e.a))}function e0(e,t){var n;n=e.s,e.s=t,0!=(4&e.Db)&&0==(1&e.Db)&&Y2(e,new kq(e,4,n,e.s))}function t0(e,t){var n;n=e.t,e.t=t,0!=(4&e.Db)&&0==(1&e.Db)&&Y2(e,new kq(e,5,n,e.t))}function n0(e,t){var n;n=e.d,e.d=t,0!=(4&e.Db)&&0==(1&e.Db)&&Y2(e,new kq(e,2,n,e.d))}function r0(e,t){var n;n=e.F,e.F=t,0!=(4&e.Db)&&0==(1&e.Db)&&Y2(e,new NF(e,1,5,n,t))}function i0(e,t){var n;if(n=e.gc(),t<0||t>n)throw Jm(new WD(t,n));return new yR(e,t)}function o0(e,t){var n;return t in e.a&&(n=xH(e,t).he())?n.a:null}function a0(e,t){var n,r;return Sx(),r=new il,!!t&&zhe(r,t),$0(n=r,e),n}function s0(e,t){var n;return(n=LL(aB((nk(),$nt),e),54))?n.sj(t):fK(pje,zxe,1,t,5,1)}function l0(e){var t,n,r;for(n=0,r=(t=e).length;n<r;++n)wz(t[n]);return new MM(e)}function u0(e){var t=/function(?:\s+([\w$]+))?\s*\(/.exec(e);return t&&t[1]||G_e}function c0(e,t){if(e){t.n=e;var n=function(e){if(e.qe())return null;var t=e.n;return Sxe[t]}(t);n?n.bm=t:Sxe[e]=[t]}}function f0(e,t,n,r,i,o){var a;return c0(n,a=tB(e,t)),a.i=i?8:0,a.f=r,a.e=i,a.g=o,a}function h0(e,t){var n,r,i,o;for(i=0,o=(r=t).length;i<o;++i)n=r[i],WK(e.a,n);return e}function d0(e,t,n){var r,i;for(i=t.Ic();i.Ob();)r=LL(i.Pb(),80),uz(e,LL(n.Kb(r),34))}function p0(e,t,n,r,i){this.d=t,this.k=r,this.f=i,this.o=-1,this.p=1,this.c=e,this.a=n}function g0(e,t,n,r,i){this.d=t,this.k=r,this.f=i,this.o=-1,this.p=2,this.c=e,this.a=n}function m0(e,t,n,r,i){this.d=t,this.k=r,this.f=i,this.o=-1,this.p=6,this.c=e,this.a=n}function b0(e,t,n,r,i){this.d=t,this.k=r,this.f=i,this.o=-1,this.p=7,this.c=e,this.a=n}function v0(e,t,n,r,i){this.d=t,this.j=r,this.e=i,this.o=-1,this.p=4,this.c=e,this.a=n}function y0(e,t){var n,r,i;for(r=0,i=(n=t).length;r<i;++r)jq(e,n[r],e.c.b,e.c)}function w0(e){CP(e.c>=0),function(e,t){var n,r,i,o;return r=e.a.length-1,n=t-e.b&r,o=e.c-t&r,i=e.c-e.b&r,SP(n<i),n>=o?(function(e,t){var n,r;n=e.a.length-1,e.c=e.c-1&n;for(;t!=e.c;)r=t+1&n,nB(e.a,t,e.a[r]),t=r;nB(e.a,e.c,null)}(e,t),-1):(function(e,t){var n,r;n=e.a.length-1;for(;t!=e.b;)r=t-1&n,nB(e.a,t,e.a[r]),t=r;nB(e.a,e.b,null),e.b=e.b+1&n}(e,t),1)}(e.d,e.c)<0&&(e.a=e.a-1&e.d.a.length-1,e.b=e.d.c),e.c=-1}function x0(e){return e.a<54?e.f<0?-1:e.f>0?1:0:(!e.c&&(e.c=B6(e.f)),e.c).e}function _0(e,t){var n;return BT(t,43)?e.c.Kc(t):(n=w7(e,t),uee(e,t),n)}function S0(e,t,n){return g6(e,t),O1(e,n),e0(e,0),t0(e,1),m8(e,!0),w8(e,!0),e}function k0(e,t){if(e<0)throw Jm(new Ny(t+" cannot be negative but was: "+e));return e}function C0(){return O6e||_4(O6e=new Gpe,q3(lw(dBe,1),zxe,130,0,[new Ef])),O6e}function E0(){E0=S,N0e=new zC(sCe,0),R0e=new zC("INPUT",1),L0e=new zC("OUTPUT",2)}function I0(){I0=S,DUe=new wC("ARD",0),LUe=new wC("MSD",1),RUe=new wC("MANUAL",2)}function M0(){M0=S,_1e=new WC("BARYCENTER",0),S1e=new WC(hIe,1),k1e=new WC(dIe,2)}function T0(){T0=S,pFe=q3(lw(nat,1),sSe,24,15,[0,8,4,12,2,10,6,14,1,9,5,13,3,11,7,15])}function A0(e,t,n,r){this.mj(),this.a=t,this.b=e,this.c=null,this.c=new iR(this,t,n,r)}function P0(e,t,n,r,i){this.d=e,this.n=t,this.g=n,this.o=r,this.p=-1,i||(this.o=-2-r-1)}function O0(){LA.call(this),this.n=-1,this.g=null,this.i=null,this.j=null,this.Bb|=GRe}function D0(e){CS(),this.g=new Hm,this.f=new Hm,this.b=new Hm,this.c=new yH,this.i=e}function R0(){this.f=new hx,this.d=new uv,this.c=new hx,this.a=new $m,this.b=new $m}function L0(e,t){qoe(t,"Hierarchical port constraint processing",1),function(e){var t;if(!mR(LL(Fae(e,(Kwe(),tJe)),100)))return;lce((MG(0,(t=e.b).c.length),LL(t.c[0],29))),lce(LL(JN(t,t.c.length-1),29))}(e),function(e){var t,n,r,i,o,a,s,l,u,c,f,h,d,g,m,b,v,y,w,x,_,S,k,C,E,I;if(!((_=LL(Fae(e,(Kwe(),tJe)),100))!=(joe(),xet)&&_!=_et))return;for(d=e.b,h=d.c.length,u=new LY((k0(h+2,O_e),lQ(o8(o8(5,h+2),(h+2)/10|0)))),g=new LY((k0(h+2,O_e),lQ(o8(o8(5,h+2),(h+2)/10|0)))),RL(u,new Hm),RL(u,new Hm),RL(g,new $m),RL(g,new $m),x=new $m,t=0;t<h;t++)for(MG(t,d.c.length),n=LL(d.c[t],29),MG(t,u.c.length),S=LL(u.c[t],84),m=new Hm,u.c[u.c.length]=m,MG(t,g.c.length),C=LL(g.c[t],14),v=new $m,g.c[g.c.length]=v,i=new td(n.a);i.a<i.c.c.length;)if(C8(r=LL(xW(i),10)))x.c[x.c.length]=r;else{for(l=new xF(BA(p9(r).a.Ic(),new p));Zce(l);)C8(E=(a=LL(dX(l),18)).c.i)&&((k=LL(S.vc(Fae(E,(hxe(),OXe))),10))||(k=Mue(e,E),S.xc(Fae(E,OXe),k),C.Dc(k)),PG(a,LL(JN(k.j,1),11)));for(s=new xF(BA(g9(r).a.Ic(),new p));Zce(s);)C8(I=(a=LL(dX(s),18)).d.i)&&((b=LL(aB(m,Fae(I,(hxe(),OXe))),10))||(b=Mue(e,I),eV(m,Fae(I,OXe),b),v.c[v.c.length]=b),AG(a,LL(JN(b.j,0),11)))}for(c=0;c<g.c.length;c++)if(MG(c,g.c.length),!(y=LL(g.c[c],14)).dc())for(f=null,0==c?(f=new mB(e),GH(0,d.c.length),nE(d.c,0,f)):c==u.c.length-1?(f=new mB(e),d.c[d.c.length]=f):(MG(c-1,d.c.length),f=LL(d.c[c-1],29)),o=y.Ic();o.Ob();)OG(LL(o.Pb(),10),f);for(w=new td(x);w.a<w.c.c.length;)OG(LL(xW(w),10),null);S5(e,(hxe(),fXe),x)}(e),_se(t)}function N0(e){var t;for(t=e.c.Ac().Ic();t.Ob();)LL(t.Pb(),15).$b();e.c.$b(),e.d=0}function j0(e,t){var n,r;for(n=0,r=e.gc();n<r;++n)if(cV(t,e.Xb(n)))return n;return-1}function F0(e,t){var n,r;return n=e.c,(r=t.e[e.p])>0?LL(JN(n.a,r-1),10):null}function z0(e,t){var n;n=e.k,e.k=t,0!=(4&e.Db)&&0==(1&e.Db)&&Y2(e,new NF(e,1,2,n,e.k))}function B0(e,t){var n;n=e.f,e.f=t,0!=(4&e.Db)&&0==(1&e.Db)&&Y2(e,new NF(e,1,8,n,e.f))}function V0(e,t){var n;n=e.i,e.i=t,0!=(4&e.Db)&&0==(1&e.Db)&&Y2(e,new NF(e,1,7,n,e.i))}function $0(e,t){var n;n=e.a,e.a=t,0!=(4&e.Db)&&0==(1&e.Db)&&Y2(e,new NF(e,1,8,n,e.a))}function H0(e,t){var n;n=e.b,e.b=t,0!=(4&e.Db)&&0==(1&e.Db)&&Y2(e,new NF(e,1,0,n,e.b))}function G0(e,t){var n;n=e.c,e.c=t,0!=(4&e.Db)&&0==(1&e.Db)&&Y2(e,new NF(e,1,1,n,e.c))}function W0(e,t){var n;n=e.d,e.d=t,0!=(4&e.Db)&&0==(1&e.Db)&&Y2(e,new NF(e,1,1,n,e.d))}function U0(e,t){var n;n=e.D,e.D=t,0!=(4&e.Db)&&0==(1&e.Db)&&Y2(e,new NF(e,1,2,n,e.D))}function q0(e,t){var n;n=e.c,e.c=t,0!=(4&e.Db)&&0==(1&e.Db)&&Y2(e,new NF(e,1,4,n,e.c))}function X0(e,t){var n;n=e.b,e.b=t,0!=(4&e.Db)&&0==(1&e.Db)&&Y2(e,new NF(e,1,0,n,e.b))}function Y0(e,t){var n;n=e.c,e.c=t,0!=(4&e.Db)&&0==(1&e.Db)&&Y2(e,new NF(e,1,1,n,e.c))}function K0(e,t){e.r>0&&e.c<e.r&&(e.c+=t,e.i&&e.i.d>0&&0!=e.g&&K0(e.i,t/e.r*e.i.d))}function Z0(e,t,n,r,i,o){this.c=e,this.e=t,this.d=n,this.i=r,this.f=i,this.g=o,UK(this)}function Q0(e){var t,n;if(0==e)return 32;for(n=0,t=1;0==(t&e);t<<=1)++n;return n}function J0(e){var t;return(e=r.Math.max(e,2))>(t=y5(e))?(t<<=1)>0?t:M_e:t}function e1(e){switch(KT(3!=e.e),e.e){case 2:return!1;case 0:return!0}return function(e){return e.e=3,e.d=e.Yb(),2!=e.e&&(e.e=0,!0)}(e)}function t1(e,t){return Ede(e.e,t)?(tk(),rQ(t)?new DN(t,e):new II(t,e)):new _I(t,e)}function n1(e,t){var n;n=e.d,e.d=t,0!=(4&e.Db)&&0==(1&e.Db)&&Y2(e,new NF(e,1,11,n,e.d))}function r1(e,t){var n,r;for(r=t.tc().Ic();r.Ob();)Bie(e,(n=LL(r.Pb(),43)).ad(),n.bd())}function i1(e,t){var n;n=e.j,e.j=t,0!=(4&e.Db)&&0==(1&e.Db)&&Y2(e,new NF(e,1,13,n,e.j))}function o1(e,t){var n;return!!BT(t,8)&&(n=LL(t,8),e.a==n.a&&e.b==n.b)}function a1(e){return null==e.b?(XS(),XS(),oit):e.Gk()?e.Fk():e.Ek()}function s1(e,t){var n;n=e.b,e.b=t,0!=(4&e.Db)&&0==(1&e.Db)&&Y2(e,new NF(e,1,21,n,e.b))}function l1(e,t){var n=e.a,r=0;for(var i in n)n.hasOwnProperty(i)&&(t[r++]=i);return t}function u1(e,t,n){var r,i,o;for(o=e.a.length-1,i=e.b,r=0;r<n;i=i+1&o,++r)nB(t,r,e.a[i])}function c1(e,t){var n;return wB(t),n=t.g,!e.b[n]&&(nB(e.b,n,t),++e.c,!0)}function f1(e,t){var n;return!((n=null==t?-1:vZ(e.b,t,0))<0)&&(h1(e,n),!0)}function h1(e,t){var n;n=eY(e.b,e.b.c.length-1),t<e.b.c.length&&(mX(e.b,t,n),hue(e,t))}function d1(e,t){var n,r;return n=1-t,r=e.a[n],e.a[n]=r.a[t],r.a[t]=e,e.b=!0,r.b=!1,r}function p1(e,t){var n,r;for(r=t.Ic();r.Ob();)n=LL(r.Pb(),265),e.b=!0,uz(e.e,n),n.b=e}function g1(){g1=S,p1e=jN(jN(jN(new wU,(zae(),fHe),(pxe(),EGe)),hHe,ZGe),dHe,KGe)}function m1(){m1=S,b1e=jN(jN(jN(new wU,(zae(),fHe),(pxe(),EGe)),hHe,ZGe),dHe,KGe)}function b1(){b1=S,d1e=jN(jN(jN(new wU,(zae(),fHe),(pxe(),EGe)),hHe,ZGe),dHe,KGe)}function v1(){v1=S,w1e=Qj(jN(jN(new wU,(zae(),dHe),(pxe(),eWe)),pHe,GGe),gHe,JGe)}function y1(){y1=S,$$e=new bm(_Ee),H$e=new bm(SEe),V$e=new bm(kEe),B$e=new bm(CEe)}function w1(){w1=S,L3e=new uE("P1_NODE_PLACEMENT",0),N3e=new uE("P2_EDGE_ROUTING",1)}function x1(){x1=S,cGe=new Qk("TO_INTERNAL_LTR",0),uGe=new Qk("TO_INPUT_DIRECTION",1)}function _1(){_1=S,iUe=new mC("START",0),rUe=new mC("MIDDLE",1),nUe=new mC("END",2)}function S1(e,t){var n;return(n=LL(aB(e.c,t),452))||((n=new tv).c=t,eV(e.c,n.c,n)),n}function k1(e,t,n){var r;return yde(e,t,r=new $m,n,!0,!0),e.b=new P1(r.c.length),r}function C1(e,t){var n,r;for(fZ(n=e.Nc(),0,n.length,t),r=0;r<n.length;r++)e.Zc(r,n[r])}function E1(e){var t,n;for(n=new SA(e);n.e!=n.i.gc();)UJ(t=LL(Hee(n),34),0),qJ(t,0)}function I1(e){var t,n;for(n=e.c.a.ec().Ic();n.Ob();)Sh(t=LL(n.Pb(),231),new DF(t.f))}function M1(e){var t,n;for(n=e.c.a.ec().Ic();n.Ob();)kh(t=LL(n.Pb(),231),new ese(t.e))}function T1(){this.c=new e_(0),this.b=new e_(CAe),this.d=new e_(kAe),this.a=new e_(YCe)}function A1(e){this.e=e,this.d=new qx(HQ(aF(this.e).gc())),this.c=this.e.a,this.b=this.e.c}function P1(e){this.b=e,this.a=fK(nat,sSe,24,e+1,15,1),this.c=fK(nat,sSe,24,e,15,1),this.d=0}function O1(e,t){var n;n=e.zb,e.zb=t,0!=(4&e.Db)&&0==(1&e.Db)&&Y2(e,new NF(e,1,1,n,e.zb))}function D1(e,t){var n;n=e.xb,e.xb=t,0!=(4&e.Db)&&0==(1&e.Db)&&Y2(e,new NF(e,1,3,n,e.xb))}function R1(e,t){var n;n=e.yb,e.yb=t,0!=(4&e.Db)&&0==(1&e.Db)&&Y2(e,new NF(e,1,2,n,e.yb))}function L1(e,t){var n;(n=new Ev).n=t,AK((!e.s&&(e.s=new FF(urt,e,21,17)),e.s),n)}function N1(e,t){var n;(n=new jO).n=t,AK((!e.s&&(e.s=new FF(urt,e,21,17)),e.s),n)}function j1(){j1=S,_We=new JO("edgelabelcenterednessanalysis.includelabel",(_P(),nFe))}function F1(e){Uj.call(this),this.b=Oy($O(Fae(e,(Kwe(),yJe)))),this.a=LL(Fae(e,eQe),216)}function z1(e,t){var n;return BT(t,15)?(n=LL(t,15),e.Ec(n)):iQ(e,LL(wz(t),19).Ic())}function B1(e){var t;return z_((t=uU(e)).a,0)?(eS(),eS(),fze):(eS(),new XP(t.c))}function V1(e){var t;return z_((t=uU(e)).a,0)?(eS(),eS(),fze):(eS(),new XP(t.b))}function $1(e){var t;return z_((t=hU(e)).a,0)?(tS(),tS(),hze):(tS(),new YP(t.b))}function H1(e){var t,n,r;for(t=0,r=e.Ic();r.Ob();)t=~~(t+=null!=(n=r.Pb())?p4(n):0);return t}function G1(e,t){var n,r,i;for(wB(t),n=!1,i=t.Ic();i.Ob();)r=i.Pb(),n|=e.Dc(r);return n}function W1(e,t,n,r,i,o,a,s,l,u,c,f,h){return Kle(e,t,n,r,i,o,a,s,l,u,c,f,h),e9(e,!1),e}function U1(e,t){return Oy($O(cP(i8(SV(new cj(null,new ZG(e.c.b,16)),new Wp(e)),t))))}function q1(e,t){return Oy($O(cP(i8(SV(new cj(null,new ZG(e.c.b,16)),new Gp(e)),t))))}function X1(e,t,n){var r,i;for(i=cte(e,0);i.b!=i.d.c;)(r=LL(BU(i),8)).a+=t,r.b+=n;return e}function Y1(e,t,n){var r,i;return!!(r=LL((i=e.f,i||(e.f=new l_(e,e.c))).vc(t),15))&&r.Kc(n)}function K1(e,t,n){var r;for(r=e.b[n&e.f];r;r=r.b)if(n==r.a&&IB(t,r.g))return r;return null}function Z1(e,t,n){var r;for(r=e.c[n&e.f];r;r=r.d)if(n==r.f&&IB(t,r.i))return r;return null}function Q1(e){var t;return 0==e?"UTC":(e<0?(e=-e,t="UTC+"):t="UTC-",t+sQ(e))}function J1(e,t){return vT(),CJ(lCe),r.Math.abs(0-t)<=lCe||0==t||isNaN(0)&&isNaN(t)?0:e/t}function e2(e,t,n,r,i,o,a){S_.call(this,e,t),this.d=n,this.e=r,this.c=i,this.b=o,this.a=JX(a)}function t2(e,t){t?null==e.B&&(e.B=e.D,e.D=null):null!=e.B&&(e.D=e.B,e.B=null)}function n2(e){return e.b.c.i.k==(mse(),WHe)?LL(Fae(e.b.c.i,(hxe(),OXe)),11):e.b.c}function r2(e){return e.b.d.i.k==(mse(),WHe)?LL(Fae(e.b.d.i,(hxe(),OXe)),11):e.b.d}function i2(e){switch(e.g){case 2:return hwe(),Qet;case 4:return hwe(),Oet;default:return e}}function o2(e){switch(e.g){case 1:return hwe(),Ket;case 3:return hwe(),Det;default:return e}}function a2(e,t){var n;return e.b?null:(n=function(e,t){var n;return n=t>0?t-1:t,ax(function(e,t){return e.j=t,e}(HJ(vN(new qv,n),e.n),e.j),e.k)}(e,e.g),bN(e.a,n),n.i=e,e.d=t,n)}function s2(e,t){var n;return Hue(new YE((n=uae(e)).c,n.d),new YE(n.b,n.a),e.pf(),t,e.Ef())}function l2(e){if(wB(e),0==e.length)throw Jm(new fw("Zero length BigInteger"));!function(e,t){var n,r,i,o,a,s,l,u,c,f,h,d,p,g,m;d=t.length,l=d,TG(0,t.length),45==t.charCodeAt(0)?(f=-1,h=1,--d):(f=1,h=0);for(o=(Kbe(),HFe)[10],i=d/o|0,0!=(m=d%o)&&++i,s=fK(nat,sSe,24,i,15,1),n=$Fe[8],a=0,p=h+(0==m?o:m),g=h;g<l;p=(g=p)+o)r=Hge(t.substr(g,p-g),F_e,Dxe),gce(),u=lte(s,s,a,n),u+=F9(s,a,r),s[a++]=u;c=a,e.e=f,e.d=c,e.a=s,JW(e)}(this,e)}function u2(e){if(!e)throw Jm(new jy("no calls to next() since the last call to remove()"))}function c2(){var e,t;c2=S,x1e=_ee((e=jN(jN(new wU,(zae(),dHe),(pxe(),eWe)),pHe,GGe),t=gHe,e.a=t.g+1,e),JGe)}function f2(){f2=S,t1e=new HC("NO",0),J0e=new HC("GREEDY",1),e1e=new HC("LOOK_BACK",2)}function h2(){h2=S,rGe=new jt,tGe=new Nt,nGe=new Ft,eGe=new zt,iGe=new Bt,oGe=new Vt}function d2(){d2=S,Jrt=new Cv,tit=q3(lw(urt,1),vLe,170,0,[]),eit=q3(lw(vrt,1),yLe,58,0,[])}function p2(e,t){var n,r;for(wB(t),r=t.tc().Ic();r.Ob();)n=LL(r.Pb(),43),e.xc(n.ad(),n.bd())}function g2(e){var t;if(-2==e.b){if(0==e.e)t=-1;else for(t=0;0==e.a[t];t++);e.b=t}return e.b}function m2(e,t){e.a=o8(e.a,1),e.c=r.Math.min(e.c,t),e.b=r.Math.max(e.b,t),e.d=o8(e.d,t)}function b2(e,t){return _P(),LI(e)?ZX(e,HO(t)):RI(e)?gF(e,$O(t)):DI(e)?pF(e,VO(t)):e.wd(t)}function v2(e,t,n){qoe(n,"DFS Treeifying phase",1),function(e,t){var n,r,i;for(i=t.b.b,e.a=new sS,e.b=fK(nat,sSe,24,i,15,1),n=0,r=cte(t.b,0);r.b!=r.d.c;)LL(BU(r),83).g=n++}(e,t),function(e,t){var n,r,i,o,a;for(a=LL(Fae(t,(xse(),v3e)),419),o=cte(t.b,0);o.b!=o.d.c;)if(i=LL(BU(o),83),0==e.b[i.g]){switch(a.g){case 0:Vne(e,i);break;case 1:mfe(e,i)}e.b[i.g]=2}for(r=cte(e.a,0);r.b!=r.d.c;)l7((n=LL(BU(r),188)).b.d,n,!0),l7(n.c.b,n,!0);S5(t,(qve(),r3e),e.a)}(e,t),e.a=null,e.b=null,_se(n)}function y2(e,t,n,r){BT(e.Cb,179)&&(LL(e.Cb,179).tb=null),O1(e,n),t&&function(e,t){var n,r,i;if(t)if(0!=(4&t.i))for(r="[]",n=t.c;;n=n.c){if(0==(4&n.i)){U0(e,i=Wy((FO(n),n.o+r))),r0(e,i);break}r+="[]"}else U0(e,i=Wy((FO(t),t.o))),r0(e,i);else U0(e,null),r0(e,null);e.tk(t)}(e,t),r&&e.sk(!0)}function w2(e,t){var n;x$(n=LL(t,185),"x",e.i),x$(n,"y",e.j),x$(n,hDe,e.g),x$(n,fDe,e.f)}function x2(e,t){var n,r,i,o;return i=e.c,n=e.c+e.b,o=e.d,r=e.d+e.a,t.a>i&&t.a<n&&t.b>o&&t.b<r}function _2(e,t){BT(t,84)?(LL(e.c,76).Sj(),r1(e,LL(t,84))):LL(e.c,76).Wb(t)}function S2(e,t){var n,r;for(wB(t),r=e.tc().Ic();r.Ob();)n=LL(r.Pb(),43),t.Od(n.ad(),n.bd())}function k2(e,t){tN.call(this,sit,e,t),this.b=this,this.a=ade(e.Og(),VQ(this.e.Og(),this.c))}function C2(e,t,n){this.g=e,this.d=t,this.e=n,this.a=new $m,function(e){var t,n,r,i,o;for(o=c8(e.d,e.e),i=o.Ic();i.Ob();)for(r=LL(i.Pb(),11),n=new td(e.e==(hwe(),Qet)?r.e:r.g);n.a<n.c.c.length;)NX(t=LL(xW(n),18))||t.c.i.c==t.d.i.c||(Fse(e,t),++e.f,++e.c)}(this),v$(),kT(this.a,null)}function E2(e){this.i=e.gc(),this.i>0&&(this.g=this.mi(this.i+(this.i/8|0)+1),e.Oc(this.g))}function I2(e){return TSe<e&&e<ISe?e<0?r.Math.ceil(e):r.Math.floor(e):L2(function(e){var t,n,r,i,o;if(isNaN(e))return rJ(),tFe;if(e<-0x8000000000000000)return rJ(),Jje;if(e>=0x8000000000000000)return rJ(),Qje;i=!1,e<0&&(i=!0,e=-e);r=0,e>=ISe&&(e-=(r=IH(e/ISe))*ISe);n=0,e>=ESe&&(e-=(n=IH(e/ESe))*ESe);return t=IH(e),o=TT(t,n,r),i&&z5(o),o}(e))}function M2(e){return BT(e,151)?QX(LL(e,151)):BT(e,131)?LL(e,131).a:BT(e,53)?new ry(e):new O_(e)}function T2(e,t){return xZ(new bd(e),new vd(t),new yd(t),new Y,q3(lw(jze,1),A_e,132,0,[]))}function A2(){var e;return Ize||(Ize=new Ob,function(e,t){Aze||(e.b=t)}(e=new pX(""),(nS(),Cze)),function(e,t){0==(fX(),Aze?null:t.c).length&&zO(t,new K),vG(e.a,Aze?null:t.c,t)}(Ize,e)),Ize}function P2(e,t){var n;for(n=0;n<t.j.c.length;n++)LL(dZ(e,n),21).Ec(LL(dZ(t,n),15));return e}function O2(e,t){var n,r;for(r=new td(t.b);r.a<r.c.c.length;)n=LL(xW(r),29),e.a[n.p]=ose(n)}function D2(e,t,n){var r,i;return i=LL(DR(e.d,t),20),r=LL(DR(e.b,n),20),i&&r?_Y(e,i.a,r.a):null}function R2(e,t){var n;return!!(n=tge(C0(),e))&&(Fte(t,(fxe(),G9e),n),!0)}function L2(e){var t;return 0==(t=e.h)?e.l+e.m*ESe:t==kSe?e.l+e.m*ESe-ISe:e}function N2(e){return xD(),e.w.Fc((aee(),stt))&&!e.A.Fc((Vge(),mtt))?k7(e):null}function j2(e){var t;return T4(e,0)<0&&(e=dD(e)),64-(0!=(t=QN(wN(e,32)))?Jue(t):Jue(QN(e))+32)}function F2(){this.a=LL(gte((fde(),E$e)),20).a,this.c=Oy($O(gte(j$e))),this.b=Oy($O(gte(D$e)))}function z2(){z2=S,KH(),f3e=new uM(PAe,h3e=_3e),YW(),u3e=new uM(OAe,c3e=E3e)}function B2(){B2=S,C5e=new bE(bIe,0),E5e=new bE("POLAR_COORDINATE",1),k5e=new bE("ID",2)}function V2(){V2=S,zqe=new TC("ONE_SIDED",0),Bqe=new TC("TWO_SIDED",1),Fqe=new TC("OFF",2)}function $2(){$2=S,z0e=new BC("EQUALLY",0),B0e=new BC(mCe,1),V0e=new BC("NORTH_SOUTH",2)}function H2(){H2=S,RVe=new JO("debugSVG",(_P(),!1)),LVe=new JO("overlapsExisted",!0)}function G2(){G2=S,Mnt=e6((qce(),q3(lw(Tnt,1),A_e,237,0,[Int,knt,Cnt,Snt,Ent,xnt,wnt,_nt])))}function W2(){W2=S,gUe=e6((Qde(),q3(lw(mUe,1),A_e,269,0,[lUe,fUe,sUe,pUe,cUe,uUe,dUe,hUe])))}function U2(){U2=S,k0e=e6((Dhe(),q3(lw(M0e,1),A_e,259,0,[x0e,m0e,y0e,b0e,v0e,g0e,w0e,_0e])))}function q2(){q2=S,Y6e=e6((mle(),q3(lw(Q6e,1),A_e,275,0,[q6e,B6e,G6e,U6e,V6e,$6e,H6e,W6e])))}function X2(e,t){var n,r,i;for(n=e.c.Ee(),i=t.Ic();i.Ob();)r=i.Pb(),e.a.Od(n,r);return e.b.Kb(n)}function Y2(e,t){var n,r,i;if(null!=(n=e.Eg())&&e.Hg())for(r=0,i=n.length;r<i;++r)n[r].pi(t)}function K2(e,t){var n,r;for(r=jB(n=e).e;r;){if((n=r)==t)return!0;r=jB(n).e}return!1}function Z2(e,t){return!!function(e,t){var n,r,i,o;for(n=LL(Fae(t,(hxe(),cXe)),21),o=LL(KX(zHe,n),21),i=o.Ic();i.Ob();)if(r=LL(i.Pb(),21),!LL(KX(e.a,r),14).dc())return!1;return!0}(e,t)&&(Yue(e.a,LL(Fae(t,(hxe(),cXe)),21),t),!0)}function Q2(e,t){var n,r;r=new $m,n=t;do{r.c[r.c.length]=n,n=LL(aB(e.k,n),18)}while(n);return r}function J2(e,t){var n;qoe(t,"Edge and layer constraint edge reversal",1),n=function(e){var t,n,r,i,o;for(o=new LY(e.a.c.length),i=new td(e.a);i.a<i.c.c.length;){switch(r=LL(xW(i),10),t=null,(n=LL(Fae(r,(Kwe(),xQe)),165)).g){case 1:case 2:h5(),t=YUe;break;case 3:case 4:h5(),t=qUe}t?(S5(r,(hxe(),sXe),(h5(),YUe)),t==qUe?qhe(r,n,(E0(),R0e)):t==YUe&&qhe(r,n,(E0(),L0e))):o.c[o.c.length]=r}return o}(e),function(e){var t,n,r,i,o,a,s,l,u,c,f;for(u=new td(e);u.a<u.c.c.length;){switch(l=LL(xW(u),10),o=null,(a=LL(Fae(l,(Kwe(),xQe)),165)).g){case 1:case 2:h5(),o=YUe;break;case 3:case 4:h5(),o=qUe}if(o)S5(l,(hxe(),sXe),(h5(),YUe)),o==qUe?qhe(l,a,(E0(),R0e)):o==YUe&&qhe(l,a,(E0(),L0e));else if(jM(LL(Fae(l,tJe),100))&&0!=l.j.c.length){for(t=!0,f=new td(l.j);f.a<f.c.c.length;){if(!((c=LL(xW(f),11)).j==(hwe(),Oet)&&c.e.c.length-c.g.c.length>0||c.j==Qet&&c.e.c.length-c.g.c.length<0)){t=!1;break}for(i=new td(c.g);i.a<i.c.c.length;)if(n=LL(xW(i),18),(s=LL(Fae(n.d.i,xQe),165))==(H9(),nYe)||s==rYe){t=!1;break}for(r=new td(c.e);r.a<r.c.c.length;)if(n=LL(xW(r),18),(s=LL(Fae(n.c.i,xQe),165))==(H9(),eYe)||s==tYe){t=!1;break}}t&&qhe(l,a,(E0(),N0e))}}}(n),_se(t)}function e3(e,t){var n;return(n=new Af).G=t,!e.rb&&(e.rb=new $F(e,frt,e)),AK(e.rb,n),n}function t3(e,t){var n;return(n=new hb).G=t,!e.rb&&(e.rb=new $F(e,frt,e)),AK(e.rb,n),n}function n3(e,t){var n;return 0!=(e.Db&t)?-1==(n=lre(e,t))?e.Eb:xJ(e.Eb)[n]:null}function r3(e){var t;if(e.g>1||e.Ob())return++e.a,e.g=0,t=e.i,e.Ob(),t;throw Jm(new bb)}function i3(e){var t;null==e.d?(++e.e,e.f=0,U6(null)):(++e.e,t=e.d,e.d=null,e.f=0,U6(t))}function o3(e){var t,n,r;return n=0,(r=e)<0&&(r+=ISe,n=kSe),t=IH(r/ESe),TT(IH(r-t*ESe),t,n)}function a3(e){var t,n,r;for(r=0,n=new aS(e.a);n.a<n.c.a.length;)t=vq(n),e.b.Fc(t)&&++r;return r}function s3(e,t){var n;this.c=e,qne(e,n=new $m,t,e.b,null,!1,null,!1),this.a=new eU(n,0)}function l3(e,t){this.b=e,this.e=t,this.d=t.j,this.f=(tk(),LL(e,65).Jj()),this.k=ade(t.e.Og(),e)}function u3(e,t,n){this.b=(wB(e),e),this.d=(wB(t),t),this.e=(wB(n),n),this.c=this.d+""+this.e}function c3(e,t){var n;return t?((n=t.We()).dc()||(e.q?p2(e.q,n):e.q=new lM(n)),e):e}function f3(e){var t;return t=LL(Fae(e,(hxe(),dXe)),61),e.k==(mse(),WHe)&&(t==(hwe(),Qet)||t==Oet)}function h3(){h3=S,xVe=new Rk("UP",0),vVe=new Rk(pCe,1),yVe=new Rk(nCe,2),wVe=new Rk(rCe,3)}function d3(e){e.r=new Pb,e.w=new Pb,e.t=new $m,e.i=new $m,e.d=new Pb,e.a=new YM,e.c=new Hm}function p3(e){this.n=new $m,this.e=new sS,this.j=new sS,this.k=new $m,this.f=new $m,this.p=e}function g3(e){switch(e.a.g){case 1:return new TI;case 3:return new kre;default:return new gf}}function m3(e,t){switch(t){case 1:return!!e.n&&0!=e.n.i;case 2:return null!=e.k}return yW(e,t)}function b3(e){if(BT(e,199))return LL(e,122);if(e)return null;throw Jm(new zy(BDe))}function v3(e){var t;return BT(e,78)?e:((t=e&&e.__java$exception)||ab(t=new f6(e)),t)}function y3(e,t){var n;return void 0===(n=e.a.get(t))?++e.d:(!function(e,t){e[eke].call(e,t)}(e.a,t),--e.c,eH(e.b)),n}function w3(e,t,n){var r,i;(i=LL(Fae(e,(Kwe(),vQe)),74))&&(U4(r=new bv,0,i),gJ(r,n),G1(t,r))}function x3(e,t,n){var r,i,o,a;r=(a=jB(e)).d,i=a.c,o=e.n,t&&(o.a=o.a-r.b-i.a),n&&(o.b=o.b-r.d-i.b)}function _3(e,t,n,r,i){nB(e.c[t.g],n.g,r),nB(e.c[n.g],t.g,r),nB(e.b[t.g],n.g,i),nB(e.b[n.g],t.g,i)}function S3(){S3=S,zWe=new pC(Jke,0),BWe=new pC(nCe,1),VWe=new pC(rCe,2),$We=new pC("TOP",3)}function k3(){k3=S,o1e=new GC("OFF",0),a1e=new GC("SINGLE_EDGE",1),i1e=new GC("MULTI_EDGE",2)}function C3(){C3=S,w6e=new wE("MINIMUM_SPANNING_TREE",0),y6e=new wE("MAXIMUM_SPANNING_TREE",1)}function E3(){E3=S,uet=e6((Sfe(),q3(lw(get,1),A_e,92,0,[J7e,Q7e,tet,aet,oet,iet,net,ret,eet])))}function I3(){I3=S,_tt=e6((Vge(),q3(lw(Stt,1),A_e,258,0,[ptt,mtt,dtt,btt,vtt,wtt,ytt,gtt,htt])))}function M3(){M3=S,SBe=e6((Epe(),q3(lw(kBe,1),A_e,249,0,[_Be,bBe,vBe,mBe,wBe,xBe,yBe,gBe,pBe])))}function T3(e,t){if(!e)throw Jm(new Ny(Upe("value already present: %s",q3(lw(pje,1),zxe,1,5,[t]))))}function A3(e,t,n){return!(e>=128)&&B_(e<64?SH(xN(1,e),n):SH(xN(1,e-64),t),0)}function P3(e,t,n,r){return 1==n?(!e.n&&(e.n=new FF(unt,e,1,7)),Nte(e.n,t,r)):hse(e,t,n,r)}function O3(e,t){var n;return O1(n=new jl,t),AK((!e.A&&(e.A=new bA(Xrt,e,7)),e.A),n),n}function D3(e,t,n){var r,i;return null,i=IU(t,gDe),function(e,t,n){var r,i,o;if(n)for(o=((r=new iF(n.a.length)).b-r.a)*r.c<0?(ik(),Qot):new kA(r);o.Ob();)(i=TU(n,LL(o.Pb(),20).a))&&Oue(e,i,t)}((r=new ZE(e,n)).a,r.b,i),i}function R3(e,t){var n,r;if(r=0,e<64&&e<=t)for(t=t<64?t:63,n=e;n<=t;n++)r=kH(r,xN(1,n));return r}function L3(e,t){var n;return 0!=(n=t.Nc()).length&&(DL(e.c,e.c.length,n),!0)}function N3(e,t){var n,r;for(wB(t),r=t.Ic();r.Ob();)if(n=r.Pb(),!e.Fc(n))return!1;return!0}function j3(e,t){var n;for(n=new td(e.b);n.a<n.c.c.length;)S5(LL(xW(n),69),(hxe(),kXe),t)}function F3(e,t){return!(!e||!t||e==t)&&(pee(e.d.c,t.d.c+t.d.b)&&pee(t.d.c,e.d.c+e.d.b))}function z3(e,t){if(null==t)return!1;for(;e.a!=e.b;)if(l8(t,T6(e)))return!0;return!1}function B3(e){return!!e.a.Ob()||e.a==e.d&&(e.a=new vU(e.e.f),e.a.Ob())}function V3(){return fX(),Aze?new pX(null):Tce(A2(),"com.google.common.base.Strings")}function $3(e,t){var n;return n=$P(t.a.gc()),lS(JQ(new cj(null,new ZG(t,1)),e.i),new XE(e,n)),n}function H3(e){var t;return O1(t=new jl,"T"),AK((!e.d&&(e.d=new bA(Xrt,e,11)),e.d),t),t}function G3(e){var t,n,r,i;for(t=1,n=0,i=e.gc();n<i;++n)t=31*t+(null==(r=e.fi(n))?0:p4(r));return t}function W3(e){var t;return(!e.a||0==(1&e.Bb)&&e.a.fh())&&BT(t=fie(e),148)&&(e.a=LL(t,148)),e.a}function U3(e,t,n,r){var i;return $W(t,e.e.Hd().gc()),$W(n,e.c.Hd().gc()),i=e.a[t][n],nB(e.a[t],n,r),i}function q3(e,t,n,r,i){return i.bm=e,i.cm=t,i.dm=_,i.__elementTypeId$=n,i.__elementTypeCategory$=r,i}function X3(e,t,n,i,o){return Jde(),r.Math.min(kye(e,t,n,i,o),kye(n,i,e,t,oO(new YE(o.a,o.b))))}function Y3(e){var t;return e<128?(!(t=(UN(),uFe)[e])&&(t=uFe[e]=new Vh(e)),t):new Vh(e)}function K3(e){var t,n;for(t=new sS,n=cte(e.d,0);n.b!=n.d.c;)bN(t,LL(BU(n),188).c);return t}function Z3(e){var t,n;for(n=new $m,t=e.Ic();t.Ob();)L3(n,Zde(LL(t.Pb(),34)));return n}function Q3(e,t){var n,r;return n=e.c,(r=t.e[e.p])<n.a.c.length-1?LL(JN(n.a,r+1),10):null}function J3(e,t){var n,r,i;return n=e.l-t.l,r=e.m-t.m+(n>>22),i=e.h-t.h+(r>>22),TT(n&SSe,r&SSe,i&kSe)}function e5(e,t,n){var r;JF(e.a),uJ(n.i,new Pg(e)),Dee(e,r=new VT(LL(aB(e.a,t.b),63)),t),n.f=r}function t5(e,t,n){var r;if(t>(r=e.gc()))throw Jm(new WD(t,r));return e.ci()&&(n=ZH(e,n)),e.Qh(t,n)}function n5(e,t){if(0===t)return!e.o&&(e.o=new EK((Hwe(),Xtt),ynt,e,0)),void e.o.c.$b();rle(e,t)}function r5(e){switch(e.g){case 1:return q7e;case 2:return U7e;case 3:return X7e;default:return Y7e}}function i5(e){switch(LL(Fae(e,(Kwe(),xQe)),165).g){case 2:case 4:return!0;default:return!1}}function o5(e){var t;return Sx(),t=new Zs,e&&AK((!e.a&&(e.a=new FF(int,e,6,6)),e.a),t),t}function a5(e){var t,n,r;for(v$(),r=0,n=e.Ic();n.Ob();)r+=null!=(t=n.Pb())?p4(t):0,r|=0;return r}function s5(e){var t,n,r;return n=e.n,r=e.o,t=e.d,new jV(n.a-t.b,n.b-t.d,r.a+(t.b+t.c),r.b+(t.d+t.a))}function l5(e,t){return!(!e||!t||e==t)&&(X9(e.b.c,t.b.c+t.b.b)<0&&X9(t.b.c,e.b.c+e.b.b)<0)}function u5(e,t,n){switch(n.g){case 2:e.b=t;break;case 1:e.c=t;break;case 4:e.d=t;break;case 3:e.a=t}}function c5(e,t,n,r,i){var o,a;for(a=n;a<=i;a++)for(o=t;o<=r;o++)lne(e,o,a)||jpe(e,o,a,!0,!1)}function f5(){f5=S,new bm("org.eclipse.elk.addLayoutConfig"),C6e=new ns,k6e=new Ja,new rs}function h5(){h5=S,XUe=new SC(bIe,0),qUe=new SC("INCOMING_ONLY",1),YUe=new SC("OUTGOING_ONLY",2)}function d5(){d5=S,IWe=new Jk(bIe,0),CWe=new Jk(vIe,1),EWe=new Jk(yIe,2),kWe=new Jk("BOTH",3)}function p5(){p5=S,EHe=new Yk("Q1",0),THe=new Yk("Q4",1),IHe=new Yk("Q2",2),MHe=new Yk("Q3",3)}function g5(){g5=S,O3e=jN(_ee(_ee(Gk(jN(new wU,(qre(),T2e),(Cle(),V2e)),A2e),F2e),z2e),P2e,B2e)}function m5(){m5=S,jqe=e6((Kde(),q3(lw(Vqe,1),A_e,255,0,[Iqe,Tqe,Aqe,Pqe,Oqe,Dqe,Lqe,Eqe,Mqe,Rqe])))}function b5(){b5=S,Kje={boolean:Z_,number:Ay,string:Py,object:nue,function:nue,undefined:tb}}function v5(e,t){BR(e>=0,"Negative initial capacity"),BR(t>=0,"Non-positive load factor"),JF(this)}function y5(e){var t;if(e<0)return F_e;if(0==e)return 0;for(t=M_e;0==(t&e);t>>=1);return t}function w5(e){var t,n;return TT(t=1+~e.l&SSe,n=~e.m+(0==t?1:0)&SSe,~e.h+(0==t&&0==n?1:0)&kSe)}function x5(e){var t,n;return t=e.t-e.k[e.o.p]*e.d+e.j[e.o.p]>e.f,n=e.u+e.e[e.o.p]*e.d>e.f*e.s*e.d,t||n}function _5(e){var t,n;return c3(n=new hY,e),S5(n,(y1(),$$e),e),function(e,t,n){var i,o,a,s,l;for(i=0,a=new SA((!e.a&&(e.a=new FF(cnt,e,10,11)),e.a));a.e!=a.i.gc();)s="",0==(!(o=LL(Hee(a),34)).n&&(o.n=new FF(unt,o,1,7)),o.n).i||(s=LL(sJ((!o.n&&(o.n=new FF(unt,o,1,7)),o.n),0),137).a),c3(l=new dB(s),o),S5(l,(y1(),$$e),o),l.b=i++,l.d.a=o.i+o.g/2,l.d.b=o.j+o.f/2,l.e.a=r.Math.max(o.g,1),l.e.b=r.Math.max(o.f,1),RL(t.e,l),eue(n.f,o,l),LL(xfe(o,(fde(),A$e)),100)==(joe(),_et)&&xet}(e,n,t=new Hm),function(e,t,n){var i,o,a,s,l,u,c,f;for(u=new SA((!e.a&&(e.a=new FF(cnt,e,10,11)),e.a));u.e!=u.i.gc();)for(o=new xF(BA(she(l=LL(Hee(u),34)).a.Ic(),new p));Zce(o);){if(!(i=LL(dX(o),80)).b&&(i.b=new nR(nnt,i,4,7)),!(i.b.i<=1&&(!i.c&&(i.c=new nR(nnt,i,5,8)),i.c.i<=1)))throw Jm(new Xy("Graph must not contain hyperedges."));if(!zce(i)&&l!=Xoe(LL(sJ((!i.c&&(i.c=new nR(nnt,i,5,8)),i.c),0),93)))for(c3(c=new TD,i),S5(c,(y1(),$$e),i),mh(c,LL(PI(rH(n.f,l)),144)),bh(c,LL(aB(n,Xoe(LL(sJ((!i.c&&(i.c=new nR(nnt,i,5,8)),i.c),0),93))),144)),RL(t.c,c),s=new SA((!i.n&&(i.n=new FF(unt,i,1,7)),i.n));s.e!=s.i.gc();)c3(f=new xq(c,(a=LL(Hee(s),137)).a),a),S5(f,$$e,a),f.e.a=r.Math.max(a.g,1),f.e.b=r.Math.max(a.f,1),Lbe(f),RL(t.d,f)}}(e,n,t),n}function S5(e,t,n){return null==n?(!e.q&&(e.q=new Hm),sY(e.q,t)):(!e.q&&(e.q=new Hm),eV(e.q,t,n)),e}function k5(e,t,n){return null==n?(!e.q&&(e.q=new Hm),sY(e.q,t)):(!e.q&&(e.q=new Hm),eV(e.q,t,n)),e}function C5(e,t){this.b=e,fM.call(this,(LL(sJ(k$(($z(),krt).o),10),17),t.i),t.g),this.a=(d2(),tit)}function E5(e,t){this.c=e,this.d=t,this.b=this.d/this.c.c.Hd().gc()|0,this.a=this.d%this.c.c.Hd().gc()}function I5(){this.o=null,this.k=null,this.j=null,this.d=null,this.b=null,this.n=null,this.a=null}function M5(e,t,n){this.q=new r.Date,this.q.setFullYear(e+o_e,t,n),this.q.setHours(0,0,0,0),gbe(this,0)}function T5(e,t){var n,r,i;for(n=!1,r=e.a[t].length,i=0;i<r-1;i++)n|=q7(e,t,i,i+1);return n}function A5(e,t){var n,r,i,o,a;for(v$(),a=!1,i=0,o=(r=t).length;i<o;++i)n=r[i],a|=e.Dc(n);return a}function P5(e,t,n){var r,i;return r=new bK(t,n),i=new z,e.b=Lde(e,e.b,r,i),i.b||++e.c,e.b.b=!1,i.d}function O5(e){var t;return null==(t=e.a[e.b])?null:(nB(e.a,e.b,null),e.b=e.b+1&e.a.length-1,t)}function D5(e){var t,n;return 32==(n=Jue(e.h))?32==(t=Jue(e.m))?Jue(e.l)+32:t+20-10:n-12}function R5(e){var t;return(!e.c||0==(1&e.Bb)&&0!=(64&e.c.Db))&&BT(t=fie(e),87)&&(e.c=LL(t,26)),e.c}function L5(e){var t,n;for(n=new td(e.a.b);n.a<n.c.c.length;)(t=LL(xW(n),56)).d.c=-t.d.c-t.d.b;Lhe(e)}function N5(e){var t,n;for(n=new td(e.a.b);n.a<n.c.c.length;)(t=LL(xW(n),79)).g.c=-t.g.c-t.g.b;Nhe(e)}function j5(e,t,n){var r,i,o;for(o=0,i=c8(t,n).Ic();i.Ob();)r=LL(i.Pb(),11),eV(e.c,r,k8(o++))}function F5(e){var t,n;for(null==e.j&&(e.j=(A$(),function(e){var t,n,i,o;for(t="Ey",n="Sx",o=r.Math.min(e.length,5),i=o-1;i>=0;i--)if(fR(e[i].d,t)||fR(e[i].d,n)){e.length>=i+1&&e.splice(0,i+1);break}return e}(Hje.ce(e)))),t=0,n=e.j.length;t<n;++t);}function z5(e){var t,n,r;t=1+~e.l&SSe,n=~e.m+(0==t?1:0)&SSe,r=~e.h+(0==t&&0==n?1:0)&kSe,e.l=t,e.m=n,e.h=r}function B5(e,t,n){var r;return yde(e,t,r=new $m,(hwe(),Oet),!0,!1),yde(e,n,r,Qet,!1,!1),r}function V5(e){var t,n,r,i,o;for(t=new hx,i=0,o=(r=e).length;i<o;++i)n=r[i],t.a+=n.a,t.b+=n.b;return t}function $5(e){var t,n;for(Jde(),n=-17976931348623157e292,t=0;t<e.length;t++)e[t]>n&&(n=e[t]);return n}function H5(e,t,n){var r,i;return null,i=IU(t,"labels"),function(e,t,n){var r,i,o,a;if(n)for(i=((r=new iF(n.a.length)).b-r.a)*r.c<0?(ik(),Qot):new kA(r);i.Ob();)(o=TU(n,LL(i.Pb(),20).a))&&(a=a0(AU(o,pDe),t),eV(e.f,a,o),IDe in o.a&&z0(a,AU(o,IDe)),oae(o,a),aue(o,a))}((r=new sI(e,n)).a,r.b,i),i}function G5(){G5=S,DWe=new vr,RWe=new yr,OWe=new wr,PWe=new xr,wB(new _r),AWe=new E}function W5(){W5=S,E0e=new jC(bIe,0),C0e=new jC("NODES_AND_EDGES",1),I0e=new jC("PREFER_EDGES",2)}function U5(e){if(0===e.g)return new ts;throw Jm(new Ny(vPe+(null!=e.f?e.f:""+e.g)))}function q5(e){if(0===e.g)return new is;throw Jm(new Ny(vPe+(null!=e.f?e.f:""+e.g)))}function X5(e,t){switch(t){case 7:return!!e.e&&0!=e.e.i;case 8:return!!e.d&&0!=e.d.i}return g7(e,t)}function Y5(e,t){var n;return n=o8(e,t),Dx(WH(e,t),0)|function(e,t){return T4(e,t)>=0}(WH(e,n),0)?n:o8(f_e,WH(_N(n,63),1))}function K5(e,t){var n;for(n=0;n<e.a.a.length;n++)if(!LL(ej(e.a,n),169).Lb(t))return!1;return!0}function Z5(e){var t;return NB(e),t=new ee,e.a.sd(t)?(FA(),new yy(wB(t.a))):(FA(),FA(),cze)}function Q5(e){var t;return!(e.b<=0)&&((t=SM("MLydhHmsSDkK",bae(dV(e.c,0))))>1||t>=0&&e.b<3)}function J5(e){var t,n,r;for(v$(),r=1,n=e.Ic();n.Ob();)r=31*r+(null!=(t=n.Pb())?p4(t):0),r|=0;return r}function e4(e,t,n,r,i){var o;return o=nfe(e,t),n&&z5(o),i&&(e=function(e,t){var n,r,i;t<=22?(n=e.l&(1<<t)-1,r=i=0):t<=44?(n=e.l,r=e.m&(1<<t-22)-1,i=0):(n=e.l,r=e.m,i=e.h&(1<<t-44)-1);return TT(n,r,i)}(e,t),Zje=r?w5(e):TT(e.l,e.m,e.h)),o}function t4(e,t,n){var r,i;return BT(t,144)&&n?(r=LL(t,144),i=n,e.a[r.b][i.b]+e.a[i.b][r.b]):0}function n4(e,t,n){var r;for(r=n-1;r>=0&&e[r]===t[r];r--);return r<0?0:Dx(SH(e[r],HSe),SH(t[r],HSe))?-1:1}function r4(e){var t;for(t=new td(e.a.b);t.a<t.c.c.length;)LL(xW(t),79).f.$b();py(e.b,e),Qhe(e)}function i4(e){var t,n;for(t=new bv,n=cte(e,0);n.b!=n.d.c;)TO(t,0,new lT(LL(BU(n),8)));return t}function o4(e){for(;!e.d||!e.d.Ob();){if(!e.b||Hy(e.b))return null;e.d=LL(fz(e.b),49)}return e.d}function a4(e,t){if(!e.Xh()&&null==t)throw Jm(new Ny("The 'no null' constraint is violated"));return t}function s4(e,t){var n,r,i;for(i=e.b;i;){if(0==(n=e.a.ue(t,i.d)))return i;r=n<0?0:1,i=i.a[r]}return null}function l4(){var e;return gxe(),Xot||(e=function(e){return new _q(3,e)}(Mwe("M",!0)),e=yj(Mwe("M",!1),e),Xot=e)}function u4(e,t,n){e.g=wle(e,t,(hwe(),Oet),e.b),e.d=wle(e,n,Oet,e.b),0!=e.g.c&&0!=e.d.c&&rse(e)}function c4(e,t,n){e.g=wle(e,t,(hwe(),Qet),e.j),e.d=wle(e,n,Qet,e.j),0!=e.g.c&&0!=e.d.c&&rse(e)}function f4(e,t,n){if(0===t)return!e.o&&(e.o=new EK((Hwe(),Xtt),ynt,e,0)),void _2(e.o,n);Vle(e,t,n)}function h4(e){switch(e.g){case 1:return kAe;default:case 2:return 0;case 3:return YCe;case 4:return CAe}}function d4(e){return Aze?fK(Eze,hke,564,0,0,1):LL(tte(e.a,fK(Eze,hke,564,e.a.c.length,0,1)),821)}function p4(e){return LI(e)?ane(e):RI(e)?wM(e):DI(e)?(wB(e),e?1231:1237):hF(e)?e.Hb():xj(e)?lP(e):j$(e)}function g4(e){return LI(e)?CFe:RI(e)?fFe:DI(e)?oFe:hF(e)||xj(e)?e.bm:e.bm||Array.isArray(e)&&lw(Fje,1)||Fje}function m4(e){this.e=e,this.d=new zq(this.e.g),this.a=this.d,this.b=B3(this),this.$modCount=e.$modCount}function b4(e,t,n,r){this.b=new $m,this.n=new $m,this.i=r,this.j=n,this.s=e,this.t=t,this.r=0,this.d=0}function v4(e,t,n){this.g=e,this.e=new hx,this.f=new hx,this.d=new sS,this.b=new sS,this.a=t,this.c=n}function y4(e,t,n){var r,i;this.g=e,this.c=t,this.a=this,this.d=this,i=J0(n),r=fK(Dje,E_e,328,i,0,1),this.b=r}function w4(e,t,n){var r;return S0(r=new Mv,t,n),AK((!e.q&&(e.q=new FF(vrt,e,11,10)),e.q),r),r}function x4(e){var t,n,r,i;for(i=function(e,t){return t.split(e)}(gnt,e),n=i.length,r=fK(CFe,s_e,2,n,6,1),t=0;t<n;++t)r[t]=i[t];return r}function _4(e,t){var n,r,i,o,a;for(i=0,o=(r=t).length;i<o;++i)n=r[i],a=new bB(e),n.Qe(a),Obe(a);JF(e.f)}function S4(e,t){var n;2*t+1>=e.b.c.length||(S4(e,2*t+1),(n=2*t+2)<e.b.c.length&&S4(e,n),hue(e,t))}function k4(e,t){var n;return t===e||!!BT(t,222)&&(n=LL(t,222),l8(e.Zb(),n.Zb()))}function C4(e,t,n,r,i){var o,a;for(a=n;a<=i;a++)for(o=t;o<=r;o++)if(lne(e,o,a))return!0;return!1}function E4(e,t){var n,r;return r=LL(n3(e.a,4),124),n=fK(jnt,BRe,410,t,0,1),null!=r&&Xbe(r,0,n,0,r.length),n}function I4(e,t){var n;return n=new Ape(0!=(256&e.f),e.i,e.a,e.d,0!=(16&e.f),e.j,e.g,t),null!=e.e||(n.c=e),n}function M4(e,t,n){var r,i,o,a;for(wB(n),a=!1,o=e.Xc(t),i=n.Ic();i.Ob();)r=i.Pb(),o.Rb(r),a=!0;return a}function T4(e,t){var n;return NI(e)&&NI(t)&&(n=e-t,!isNaN(n))?n:yie(NI(e)?o3(e):e,NI(t)?o3(t):t)}function A4(e){switch(e.i){case 2:return!0;case 1:return!1;case-1:++e.c;default:return e.kl()}}function P4(e){switch(e.i){case-2:return!0;case-1:return!1;case 1:--e.c;default:return e.ll()}}function O4(e){var t;if((t=e.a.c.length)>0)return Xj(t-1,e.a.c.length),eY(e.a,t-1);throw Jm(new kb)}function D4(e,t,n){var r,i;for(i=n.Ic();i.Ob();)if(r=LL(i.Pb(),43),e.re(t,r.bd()))return!0;return!1}function R4(e,t,n){return e.d[t.p][n.p]||(!function(e,t,n){if(e.e)switch(e.b){case 1:!function(e,t,n){e.i=0,e.e=0,t!=n&&u4(e,t,n)}(e.c,t,n);break;case 0:!function(e,t,n){e.i=0,e.e=0,t!=n&&c4(e,t,n)}(e.c,t,n)}else fq(e.c,t,n);e.a[t.p][n.p]=e.c.i,e.a[n.p][t.p]=e.c.e}(e,t,n),e.d[t.p][n.p]=!0,e.d[n.p][t.p]=!0),e.a[t.p][n.p]}function L4(e,t){return!(!e||e==t||!ZP(t,(hxe(),xXe)))&&LL(Fae(t,(hxe(),xXe)),10)!=e}function N4(e,t){var n;if(0!=t.c.length){for(;Uae(e,t);)Dfe(e,t,!1);n=Z3(t),e.a&&(e.a.gg(n),N4(e,n))}}function j4(e,t){null==e.D&&null!=e.B&&(e.D=e.B,e.B=null),U0(e,null==t?null:(wB(t),t)),e.C&&e.tk(null)}function F4(){F4=S,Ott=new hI("ELK",0),Dtt=new hI("JSON",1),Ptt=new hI("DOT",2),Rtt=new hI("SVG",3)}function z4(){z4=S,Dze=new vk("CONCURRENT",0),Rze=new vk("IDENTITY_FINISH",1),Lze=new vk("UNORDERED",2)}function B4(){B4=S,q3e=new dE(bIe,0),X3e=new dE("RADIAL_COMPACTION",1),Y3e=new dE("WEDGE_COMPACTION",2)}function V4(){V4=S,z7e=new sT(15),F7e=new cT((fxe(),v9e),z7e),B7e=V9e,R7e=O8e,L7e=c9e,j7e=d9e,N7e=h9e}function $4(){$4=S,fxe(),p5e=V9e,b5e=r7e,ffe(),c5e=Q3e,f5e=J3e,h5e=t5e,d5e=r5e,g5e=i5e,m5e=o5e,v5e=s5e}function H4(){H4=S,kS(),WVe=new uM(FCe,UVe=$Ve),GVe=new bm(zCe),qVe=new bm(BCe),XVe=new bm(VCe)}function G4(e,t,n){if(e>t)throw Jm(new Ny(mke+e+bke+t));if(e<0||t>n)throw Jm(new uw(mke+e+vke+t+ske+n))}function W4(e,t,n,i,o){i?function(e,t){var n,r;for(r=new td(t);r.a<r.c.c.length;)n=LL(xW(r),10),e.a[n.c.p][n.p].a=Fj(e.f),e.a[n.c.p][n.p].d=Oy(e.a[n.c.p][n.p].a),e.a[n.c.p][n.p].b=1}(e,t):(function(e,t,n){var r,i,o;for(o=new td(t);o.a<o.c.c.length;)r=LL(xW(o),10),e.a[r.c.p][r.p].e=!1;for(i=new td(t);i.a<i.c.c.length;)Yye(e,r=LL(xW(i),10),n)}(e,t,o),function(e,t,n){var i,o,a,s,l,u,c,f,h,d;if(n)for(i=-1,f=new eU(t,0);f.b<f.d.gc();){if(EP(f.b<f.d.gc()),l=LL(f.d.Xb(f.c=f.b++),10),null==(h=e.a[l.c.p][l.p].a)){for(s=i+1,a=new eU(t,f.b);a.b<a.d.gc();)if(null!=(d=sA(e,(EP(a.b<a.d.gc()),LL(a.d.Xb(a.c=a.b++),10))).a)){wB(d),s=d;break}h=(i+s)/2,e.a[l.c.p][l.p].a=h,e.a[l.c.p][l.p].d=(wB(h),h),e.a[l.c.p][l.p].b=1}wB(h),i=h}else{for(o=0,c=new td(t);c.a<c.c.c.length;)l=LL(xW(c),10),null!=e.a[l.c.p][l.p].a&&(o=r.Math.max(o,Oy(e.a[l.c.p][l.p].a)));for(o+=2,u=new td(t);u.a<u.c.c.length;)l=LL(xW(u),10),null==e.a[l.c.p][l.p].a&&(h=Gfe(e.f,24)*ike*o-1,e.a[l.c.p][l.p].a=h,e.a[l.c.p][l.p].d=h,e.a[l.c.p][l.p].b=1)}}(e,t,n)),t.c.length>1&&(v$(),kT(t,e.b),function(e,t){e.c&&(zge(e,t,!0),lS(new cj(null,new ZG(t,16)),new Zp(e))),zge(e,t,!1)}(e.c,t))}function U4(e,t,n){var r,i;for(r=new sS,i=cte(n,0);i.b!=i.d.c;)bN(r,new lT(LL(BU(i),8)));M4(e,t,r)}function q4(e){var t;return!e.a&&(e.a=new FF(mrt,e,9,5)),0!=(t=e.a).i?function(e){return e.b?e.b:e.a}(LL(sJ(t,0),666)):null}function X4(e,t){var n,r;if(0!=(r=e.c[t]))for(e.c[t]=0,e.d-=r,n=t+1;n<e.a.length;)e.a[n]-=r,n+=n&-n}function Y4(e){var t;++e.j,0==e.i?e.g=null:e.i<e.g.length&&(t=e.g,e.g=e.mi(e.i),Xbe(t,0,e.g,0,e.i))}function K4(e,t,n){var r;return GH(t,e.c.length),0!=(r=n.Nc()).length&&(DL(e.c,t,r),!0)}function Z4(e,t){return RL(e.c,t),UJ(t,e.e+e.d),qJ(t,e.f),e.a=r.Math.max(e.a,t.f+e.b),e.d+=t.g+e.b,!0}function Q4(e,t){var n,r,i;for(n=e,i=0;;){if(n==t)return i;if(!(r=n.e))throw Jm(new yb);n=jB(r),++i}}function J4(e){var t,n,r,i,o;for(o=1,r=0,i=(n=e).length;r<i;++r)o=31*o+(null!=(t=n[r])?p4(t):0),o|=0;return o}function e6(e){var t,n,r,i,o;for(t={},i=0,o=(r=e).length;i<o;++i)t[":"+(null!=(n=r[i]).f?n.f:""+n.g)]=n;return t}function t6(e,t){wz(e);try{return e.vc(t)}catch(e){if(BT(e=v3(e),203)||BT(e,173))return null;throw Jm(e)}}function n6(e,t){return e?t&&!e.j||BT(e,121)&&0==LL(e,121).a.b?0:e.Re():0}function r6(e,t){return e?t&&!e.k||BT(e,121)&&0==LL(e,121).a.a?0:e.Se():0}function i6(e,t,n){var r,i,o,a;for(o=0,a=(i=n).length;o<a;++o)if(r=i[o],e.b.re(t,r.ad()))return r;return null}function o6(e){var t,n,r;for(r=0,n=new xF(BA(e.a.Ic(),new p));Zce(n);)(t=LL(dX(n),18)).c.i==t.d.i||++r;return r}function a6(e,t){var n,r,i;for(i=t-e.e,r=new td(e.c);r.a<r.c.c.length;)G7(n=LL(xW(r),437),n.d,n.e+i);e.e=t}function s6(e,t,n){return r.Math.abs(t-e)<SAe||r.Math.abs(n-e)<SAe||(t-e>SAe?e-n>SAe:n-e>SAe)}function l6(e){if(!e.a||0==(8&e.a.i))throw Jm(new jy("Enumeration class expected for layout option "+e.f))}function u6(e){cG.call(this,"The given string does not match the expected format for individual spacings.",e)}function c6(){Qv.call(this,new mK(HQ(16))),k0(2,a_e),this.b=2,this.a=new YB(null,null,0,null),ob(this.a,this.a)}function f6(e){fy(),yT(this),u$(this),this.e=e,Sde(this,e),this.g=null==e?$xe:P9(e),this.a="",this.b=e,this.a=""}function h6(){this.a=new Za,this.f=new kg(this),this.b=new Cg(this),this.i=new Eg(this),this.e=new Ig(this)}function d6(){d6=S,Y0e=new $C("CONSERVATIVE",0),K0e=new $C("CONSERVATIVE_SOFT",1),Z0e=new $C("SLOPPY",2)}function p6(){p6=S,xHe=zH(q3(lw(v7e,1),A_e,108,0,[(A8(),c7e),f7e])),_He=zH(q3(lw(v7e,1),A_e,108,0,[d7e,u7e]))}function g6(e,t){var n,r;n=e.ik(t,null),r=null,t&&(Cx(),vJ(r=new Um,e.r)),(n=hae(e,r,n))&&n.Ai()}function m6(e,t){var n;for(n=0;n<t.length;n++)if(e==(TG(n,t.length),t.charCodeAt(n)))return!0;return!1}function b6(e,t){return t<e.length&&(TG(t,e.length),63!=e.charCodeAt(t))&&(TG(t,e.length),35!=e.charCodeAt(t))}function v6(e,t,n,r){var i,o;e.a=t,o=r?0:1,e.f=(i=new Use(e.c,e.a,n,o),new Ipe(n,e.a,i,e.e,e.b,e.c==(M0(),S1e)))}function y6(e,t){var n,r,i;return r=!1,n=t.q.c,t.d<e.b&&(i=Rhe(t.q,e.b),t.q.c>i&&(boe(t.q,i),r=n!=t.q.c)),r}function w6(e,t){var n,i,o,a,s;return a=t.i,s=t.j,i=a-(n=e.f).i,o=s-n.j,r.Math.sqrt(i*i+o*o)}function x6(e,t){var n;return(n=wee(e))||(!mnt&&(mnt=new Cl),uve(),AK((n=new Lm(jle(t))).Qk(),e)),n}function _6(e){var t;if(0!=e.c)return e.c;for(t=0;t<e.a.length;t++)e.c=33*e.c+(-1&e.a[t]);return e.c=e.c*e.e,e.c}function S6(e,t){var n;for(n=0;n<t.length;n++)if(e==(TG(n,t.length),t.charCodeAt(n)))return!0;return!1}function k6(e,t,n){var r;for(r=t.a.a.ec().Ic();r.Ob();)if(B$(e,LL(r.Pb(),56),n))return!0;return!1}function C6(e,t){wz(e);try{return e.Fc(t)}catch(e){if(BT(e=v3(e),203)||BT(e,173))return!1;throw Jm(e)}}function E6(e,t){wz(e);try{return e._b(t)}catch(e){if(BT(e=v3(e),203)||BT(e,173))return!1;throw Jm(e)}}function I6(e){var t,n;for(n=new td(e.r);n.a<n.c.c.length;)if(t=LL(xW(n),10),e.n[t.p]<=0)return t;return null}function M6(e){var t;return c3(t=new HT(e.a),e),S5(t,(hxe(),OXe),e),t.o.a=e.g,t.o.b=e.f,t.n.a=e.i,t.n.b=e.j,t}function T6(e){var t;return EP(e.a!=e.b),t=e.d.a[e.a],SP(e.b==e.d.c&&null!=t),e.c=e.a,e.a=e.a+1&e.d.a.length-1,t}function A6(e,t){var n,r;return(n=LL(e.c.zc(t),15))?((r=e.hc()).Ec(n),e.d-=n.gc(),n.$b(),e.kc(r)):e.jc()}function P6(e,t){var n,r,i,o;return(o=Hle((r=t,(i=e?wee(e):null)&&i.Sk(),r)))==t&&(n=wee(e))&&n.Sk(),o}function O6(e,t,n){var r,i;return i=e.a,e.a=t,0!=(4&e.Db)&&0==(1&e.Db)&&(r=new NF(e,1,1,i,t),n?n.zi(r):n=r),n}function D6(e,t,n){var r;r=new vce(e,t),Yue(e.r,t.Ef(),r),n&&!PF(e.t)&&(r.c=new LH(e.d),uJ(t.uf(),new Nd(r)))}function R6(e,t,n){var r,i;return i=e.b,e.b=t,0!=(4&e.Db)&&0==(1&e.Db)&&(r=new NF(e,1,3,i,t),n?n.zi(r):n=r),n}function L6(e,t,n){var r,i;return i=e.f,e.f=t,0!=(4&e.Db)&&0==(1&e.Db)&&(r=new NF(e,1,0,i,t),n?n.zi(r):n=r),n}function N6(e,t,n,r){var i,o;for(o=e.Ic();o.Ob();)(i=LL(o.Pb(),69)).n.a=t.a+(r.a-i.o.a)/2,i.n.b=t.b,t.b+=i.o.b+n}function j6(e,t,n,r,i){0!=t&&0!=r&&(1==t?i[r]=lte(i,n,r,e[0]):1==r?i[t]=lte(i,e,t,n[0]):function(e,t,n,r,i){var o,a,s,l;if(OI(e)===OI(t)&&r==i)return void Pge(e,r,n);for(s=0;s<r;s++){for(a=0,o=e[s],l=0;l<i;l++)a=o8(o8(a8(SH(o,HSe),SH(t[l],HSe)),SH(n[s+l],HSe)),SH(QN(a),HSe)),n[s+l]=QN(a),a=_N(a,32);n[s+i]=QN(a)}}(e,n,i,t,r))}function F6(e,t,n){if(e<0||t>n)throw Jm(new Ey(mke+e+vke+t+", size: "+n));if(e>t)throw Jm(new Ny(mke+e+bke+t))}function z6(e){throw b5(),Jm(new ly("Unexpected typeof result '"+e+"'; please report this bug to the GWT team"))}function B6(e){return npe(),e<0?-1!=e?new zte(-1,-e):LFe:e<=10?jFe[IH(e)]:new zte(1,e)}function V6(e){switch(e.gc()){case 0:return Cje;case 1:return new HN(wz(e.Xb(0)));default:return new pH(e)}}function $6(e){switch(IR(),e.gc()){case 0:return VB(),Rje;case 1:return new ow(e.Ic().Pb());default:return new uk(e)}}function H6(e){switch(IR(),e.c){case 0:return VB(),Rje;case 1:return new ow(bue(new aS(e)));default:return new ny(e)}}function G6(e,t){switch(t){case 1:return!e.n&&(e.n=new FF(unt,e,1,7)),void Ove(e.n);case 2:return void z0(e,null)}n5(e,t)}function W6(e,t){var n,r,i;for(i=1,n=e,r=t>=0?t:-t;r>0;)r%2==0?(n*=n,r=r/2|0):(i*=n,r-=1);return t<0?1/i:i}function U6(e){var t,n,r,i;if(null!=e)for(n=0;n<e.length;++n)if(t=e[n])for(LL(t.g,364),i=t.i,r=0;r<i;++r);}function q6(e){var t;return(t=new pw).a+="VerticalSegment ",WI(t,e.e),t.a+=" ",UI(t,TA(new iw,new td(e.k))),t.a}function X6(e,t){var n,r;for(n=0,r=i9(e,t).Ic();r.Ob();)n+=null!=Fae(LL(r.Pb(),11),(hxe(),BXe))?1:0;return n}function Y6(e,t,n){var r,i,o;for(r=0,o=cte(e,0);o.b!=o.d.c&&!((i=Oy($O(BU(o))))>n);)i>=t&&++r;return r}function K6(e){var t;return(t=LL(oQ(e.c.c,""),227))||(t=new FG(qw(Zw(new ps,""),"Other")),ste(e.c.c,"",t)),t}function Z6(e){var t;return 0!=(64&e.Db)?jfe(e):((t=new XA(jfe(e))).a+=" (name: ",HI(t,e.zb),t.a+=")",t.a)}function Q6(e,t,n){var r,i;return i=e.sb,e.sb=t,0!=(4&e.Db)&&0==(1&e.Db)&&(r=new NF(e,1,4,i,t),n?n.zi(r):n=r),n}function J6(e,t,n){var r;if(t>(r=e.gc()))throw Jm(new WD(t,r));if(e.ci()&&e.Fc(n))throw Jm(new Ny($De));e.Sh(t,n)}function e8(e,t,n){if(t<0)xue(e,n);else{if(!n.Dj())throw Jm(new Ny(HOe+n.ne()+GOe));LL(n,65).Ij().Qj(e,e.th(),t)}}function t8(e,t,n){var r;e.li(e.i+1),r=e.ji(t,n),t!=e.i&&Xbe(e.g,t,e.g,t+1,e.i-t),nB(e.g,t,r),++e.i,e.Yh(t,n),e.Zh()}function n8(e,t,n){var r,i;return i=e.r,e.r=t,0!=(4&e.Db)&&0==(1&e.Db)&&(r=new NF(e,1,8,i,e.r),n?n.zi(r):n=r),n}function r8(e,t){var n,r;return!(r=(n=LL(t,664)).qk())&&n.rk(r=BT(t,87)?new CI(e,LL(t,26)):new jW(e,LL(t,148))),r}function i8(e,t){var n;return n=new ee,e.a.sd(n)?(FA(),new yy(wB(LZ(e,n.a,t)))):(NB(e),FA(),FA(),cze)}function o8(e,t){var n;return NI(e)&&NI(t)&&TSe<(n=e+t)&&n<ISe?n:L2(function(e,t){var n,r,i;return n=e.l+t.l,r=e.m+t.m+(n>>22),i=e.h+t.h+(r>>22),TT(n&SSe,r&SSe,i&kSe)}(NI(e)?o3(e):e,NI(t)?o3(t):t))}function a8(e,t){var n;return NI(e)&&NI(t)&&TSe<(n=e*t)&&n<ISe?n:L2(function(e,t){var n,r,i,o,a,s,l,u,c,f,h,d,p,g,m,b,v,y;n=8191&e.l,r=e.l>>13|(15&e.m)<<9,i=e.m>>4&8191,o=e.m>>17|(255&e.h)<<5,a=(1048320&e.h)>>8,s=8191&t.l,l=t.l>>13|(15&t.m)<<9,u=t.m>>4&8191,c=t.m>>17|(255&t.h)<<5,f=(1048320&t.h)>>8,m=r*s,b=i*s,v=o*s,y=a*s,0!=l&&(m+=n*l,b+=r*l,v+=i*l,y+=o*l);0!=u&&(b+=n*u,v+=r*u,y+=i*u);0!=c&&(v+=n*c,y+=r*c);return 0!=f&&(y+=n*f),d=((g=n*s)>>22)+(m>>9)+((262143&b)<<4)+((31&v)<<17),p=(b>>18)+(v>>5)+((4095&y)<<8),p+=(d+=(h=(g&SSe)+((511&m)<<13))>>22)>>22,TT(h&=SSe,d&=SSe,p&=kSe)}(NI(e)?o3(e):e,NI(t)?o3(t):t))}function s8(e,t){var n;return NI(e)&&NI(t)&&TSe<(n=e-t)&&n<ISe?n:L2(J3(NI(e)?o3(e):e,NI(t)?o3(t):t))}function l8(e,t){return LI(e)?fR(e,t):RI(e)?cR(e,t):DI(e)?(wB(e),OI(e)===OI(t)):hF(e)?e.Fb(t):xj(e)?mM(e,t):dW(e,t)}function u8(e){return(hwe(),Get).Fc(e.j)?Oy($O(Fae(e,(hxe(),YXe)))):V5(q3(lw(J6e,1),s_e,8,0,[e.i.n,e.n,e.a])).b}function c8(e,t){switch(t.g){case 2:case 1:return i9(e,t);case 3:case 4:return M2(i9(e,t))}return v$(),v$(),XFe}function f8(e,t,n,r){switch(t){case 1:return!e.n&&(e.n=new FF(unt,e,1,7)),e.n;case 2:return e.k}return Ore(e,t,n,r)}function h8(e,t){var n;0!=e.c.length&&(TM(n=LL(tte(e,fK(KHe,YEe,10,e.c.length,0,1)),213),new En),rce(n,t))}function d8(e,t){var n;0!=e.c.length&&(TM(n=LL(tte(e,fK(KHe,YEe,10,e.c.length,0,1)),213),new In),rce(n,t))}function p8(e){var t;return 0!=(64&e.Db)?jfe(e):((t=new XA(jfe(e))).a+=" (source: ",HI(t,e.d),t.a+=")",t.a)}function g8(e,t){var n;if(BT(n=Whe(e,t),321))return LL(n,32);throw Jm(new Ny(HOe+t+"' is not a valid attribute"))}function m8(e,t){var n;n=0!=(512&e.Bb),t?e.Bb|=512:e.Bb&=-513,0!=(4&e.Db)&&0==(1&e.Db)&&Y2(e,new CX(e,1,3,n,t))}function b8(e,t){var n;n=0!=(512&e.Bb),t?e.Bb|=512:e.Bb&=-513,0!=(4&e.Db)&&0==(1&e.Db)&&Y2(e,new CX(e,1,9,n,t))}function v8(e,t){var n;n=0!=(256&e.Bb),t?e.Bb|=256:e.Bb&=-257,0!=(4&e.Db)&&0==(1&e.Db)&&Y2(e,new CX(e,1,8,n,t))}function y8(e,t){var n;n=0!=(256&e.Bb),t?e.Bb|=256:e.Bb&=-257,0!=(4&e.Db)&&0==(1&e.Db)&&Y2(e,new CX(e,1,8,n,t))}function w8(e,t){var n;n=0!=(256&e.Bb),t?e.Bb|=256:e.Bb&=-257,0!=(4&e.Db)&&0==(1&e.Db)&&Y2(e,new CX(e,1,2,n,t))}function x8(e,t){var n;return-1==e.b&&e.a&&(n=e.a.Bj(),e.b=n?e.c.Sg(e.a.Xi(),n):u7(e.c.Og(),e.a)),e.c.Jg(e.b,t)}function _8(e,t){var n,r;for(r=new SA(e);r.e!=r.i.gc();)if(n=LL(Hee(r),26),OI(t)===OI(n))return!0;return!1}function S8(e){var t,n;return e>-129&&e<128?(t=e+128,!(n=(XN(),_Fe)[t])&&(n=_Fe[t]=new Kh(e)),n):new Kh(e)}function k8(e){var t,n;return e>-129&&e<128?(t=e+128,!(n=(gN(),dFe)[t])&&(n=dFe[t]=new Xh(e)),n):new Xh(e)}function C8(e){var t;return e.k==(mse(),WHe)&&((t=LL(Fae(e,(hxe(),dXe)),61))==(hwe(),Det)||t==Ket)}function E8(e){var t;e.g&&(Mde((t=e.c.Of()?e.f:e.a).a,e.o,!0),Mde(t.a,e.o,!1),S5(e.o,(Kwe(),tJe),(joe(),bet)))}function I8(e){var t;if(!e.a)throw Jm(new jy("Cannot offset an unassigned cut."));t=e.c-e.b,e.b+=t,h$(e,t),d$(e,t)}function M8(e,t,n){var r,i;return(i=Vfe(e.b,t))&&(r=LL(gve(jZ(e,i),""),26))?Ofe(e,r,t,n):null}function T8(e,t){var n,r;for(r=new SA(e);r.e!=r.i.gc();)if(n=LL(Hee(r),138),OI(t)===OI(n))return!0;return!1}function A8(){A8=S,h7e=new CE(sCe,0),f7e=new CE(rCe,1),c7e=new CE(nCe,2),u7e=new CE(pCe,3),d7e=new CE("UP",4)}function P8(){P8=S,H7e=new TE("INHERIT",0),$7e=new TE("INCLUDE_CHILDREN",1),G7e=new TE("SEPARATE_CHILDREN",2)}function O8(){O8=S,g4e=new yE("P1_STRUCTURE",0),m4e=new yE("P2_PROCESSING_ORDER",1),b4e=new yE("P3_EXECUTION",2)}function D8(e){return e=((e=((e-=e>>1&1431655765)>>2&858993459)+(858993459&e))>>4)+e&252645135,e+=e>>8,63&(e+=e>>16)}function R8(e){var t,n,r;for(t=new $m,r=new td(e.b);r.a<r.c.c.length;)n=LL(xW(r),585),L3(t,LL(n.kf(),15));return t}function L8(e){var t,n;for(n=e.p.a.ec().Ic();n.Ob();)if((t=LL(n.Pb(),211)).f&&e.b[t.c]<-1e-10)return t;return null}function N8(e){return e>=65&&e<=70?e-65+10:e>=97&&e<=102?e-97+10:e>=48&&e<=57?e-48:0}function j8(e,t){return e<t?-1:e>t?1:e==t?0==e?j8(1/e,1/t):0:isNaN(e)?isNaN(t)?0:1:-1}function F8(e){switch(e.g){case 2:return f7e;case 1:return c7e;case 4:return u7e;case 3:return d7e;default:return h7e}}function z8(e){switch(e.g){case 1:return Qet;case 2:return Det;case 3:return Oet;case 4:return Ket;default:return Zet}}function B8(e){switch(e.g){case 1:return Ket;case 2:return Qet;case 3:return Det;case 4:return Oet;default:return Zet}}function V8(e){switch(e.g){case 1:return Oet;case 2:return Ket;case 3:return Qet;case 4:return Det;default:return Zet}}function $8(e,t){switch(e.b.g){case 0:case 1:return t;case 2:case 3:return new jV(t.d,0,t.a,t.b);default:return null}}function H8(e){if(e.c)H8(e.c);else if(e.d)throw Jm(new jy("Stream already terminated, can't be modified or used"))}function G8(e,t){var n;n=0!=(e.Bb&NSe),t?e.Bb|=NSe:e.Bb&=-4097,0!=(4&e.Db)&&0==(1&e.Db)&&Y2(e,new CX(e,1,12,n,t))}function W8(e,t){var n;n=0!=(e.Bb&GRe),t?e.Bb|=GRe:e.Bb&=-1025,0!=(4&e.Db)&&0==(1&e.Db)&&Y2(e,new CX(e,1,10,n,t))}function U8(e,t){var n;n=0!=(e.Bb&uLe),t?e.Bb|=uLe:e.Bb&=-2049,0!=(4&e.Db)&&0==(1&e.Db)&&Y2(e,new CX(e,1,11,n,t))}function q8(e,t){var n;n=0!=(e.Bb&lLe),t?e.Bb|=lLe:e.Bb&=-8193,0!=(4&e.Db)&&0==(1&e.Db)&&Y2(e,new CX(e,1,15,n,t))}function X8(e,t){var n,r,i;null==e.d?(++e.e,--e.f):(i=t.ad(),function(e,t,n){++e.e,--e.f,LL(e.d[t].Yc(n),133).bd()}(e,r=((n=t.Nh())&Dxe)%e.d.length,Bfe(e,r,n,i)))}function Y8(e,t,n){var r,i;return e._i()?(i=e.aj(),r=que(e,t,n),e.Vi(e.Ui(7,k8(n),r,t,i)),r):que(e,t,n)}function K8(e,t){var n;for(n=new td(e.a);n.a<n.c.c.length;)if(Z2(LL(xW(n),503),t))return;RL(e.a,new uN(t))}function Z8(e,t){var n,r;for(r=new td(t);r.a<r.c.c.length;)n=LL(xW(r),46),yZ(e.b.b,n.b),F$(LL(n.a,189),LL(n.b,79))}function Q8(e,t,n){var r;if(e.c)Mae(e.c,t,n);else for(r=new td(e.b);r.a<r.c.c.length;)Q8(LL(xW(r),157),t,n)}function J8(e){var t,n;for(n=Ufe(mJ(e)).Ic();n.Ob();)if(ime(e,t=HO(n.Pb())))return Oq((KS(),art),t);return null}function e9(e,t){var n;n=0!=(e.Bb&YOe),t?e.Bb|=YOe:e.Bb&=-32769,0!=(4&e.Db)&&0==(1&e.Db)&&Y2(e,new CX(e,1,18,n,t))}function t9(e,t){var n;n=0!=(e.Bb&YOe),t?e.Bb|=YOe:e.Bb&=-32769,0!=(4&e.Db)&&0==(1&e.Db)&&Y2(e,new CX(e,1,18,n,t))}function n9(e,t){var n;n=0!=(e.Bb&l_e),t?e.Bb|=l_e:e.Bb&=-16385,0!=(4&e.Db)&&0==(1&e.Db)&&Y2(e,new CX(e,1,16,n,t))}function r9(e,t){var n;n=0!=(e.Bb&FSe),t?e.Bb|=FSe:e.Bb&=-65537,0!=(4&e.Db)&&0==(1&e.Db)&&Y2(e,new CX(e,1,20,n,t))}function i9(e,t){var n;return e.i||Cue(e),(n=LL(fV(e.g,t),46))?new KG(e.j,LL(n.a,20).a,LL(n.b,20).a):(v$(),v$(),XFe)}function o9(e){var t,n,r,i;return c1(n=new WR(t=LL(Lx((i=(r=e.bm).f)==Aje?r:i),9),LL(wD(t,t.length),9),0),e),n}function a9(e){var t;return(t=LL(Fae(e,(Kwe(),qZe)),108))==(A8(),h7e)?Oy($O(Fae(e,AZe)))>=1?f7e:u7e:t}function s9(e){switch(LL(Fae(e,(hxe(),wXe)),301).g){case 1:S5(e,wXe,(JZ(),Hqe));break;case 2:S5(e,wXe,(JZ(),Wqe))}}function l9(e,t,n){var r,i;for(i=e.a.ec().Ic();i.Ob();)if(r=LL(i.Pb(),10),N3(n,LL(JN(t,r.p),15)))return r;return null}function u9(e,t,n){var r;return Sx(),JJ(r=new el,t),YJ(r,n),e&&AK((!e.a&&(e.a=new hA(Jtt,e,5)),e.a),r),r}function c9(e,t,n,r){var i,o;return wB(r),wB(n),null==(o=null==(i=e.vc(t))?n:uS(LL(i,14),LL(n,15)))?e.zc(t):e.xc(t,o),o}function f9(e,t,n){var r;return r=e.a.get(t),e.a.set(t,void 0===n?null:n),void 0===r?(++e.c,eH(e.b)):++e.d,r}function h9(e){var t;return 0!=(64&e.Db)?jfe(e):((t=new XA(jfe(e))).a+=" (identifier: ",HI(t,e.k),t.a+=")",t.a)}function d9(e){var t,n;for(t=new $m,n=new td(e.j);n.a<n.c.c.length;)RL(t,LL(xW(n),11).b);return wz(t),new IM(t)}function p9(e){var t,n;for(t=new $m,n=new td(e.j);n.a<n.c.c.length;)RL(t,LL(xW(n),11).e);return wz(t),new IM(t)}function g9(e){var t,n;for(t=new $m,n=new td(e.j);n.a<n.c.c.length;)RL(t,LL(xW(n),11).g);return wz(t),new IM(t)}function m9(e){var t;return t=fK(tat,q_e,24,2,15,1),e-=FSe,t[0]=(e>>10)+zSe&X_e,t[1]=56320+(1023&e)&X_e,lee(t,0,t.length)}function b9(e){var t,n;for(n=function(e){var t,n,r,i,o,a,s;if((t=e.Ch(DLe))&&null!=(s=HO(E7((!t.b&&(t.b=new fO((bxe(),Grt),ait,t)),t.b),"settingDelegates")))){for(n=new $m,o=0,a=(i=wge(s,"\\w+")).length;o<a;++o)r=i[o],n.c[n.c.length]=r;return n}return v$(),v$(),XFe}(mJ(iG(e))).Ic();n.Ob();)if(ime(e,t=HO(n.Pb())))return Dq((ZS(),xrt),t);return null}function v9(e){var t,n,r;for(t=new hD(e.Hd().gc()),r=0,n=BK(e.Hd().Ic());n.Ob();)pG(t,n.Pb(),k8(r++));return function(e){var t;switch(xV(),e.c.length){case 0:return Eje;case 1:return function(e,t){return xV(),Jte(e,t),new KB(e,t)}((t=LL(bue(new td(e)),43)).ad(),t.bd());default:return new ay(LL(tte(e,fK(_je,y_e,43,e.c.length,0,1)),164))}}(t.a)}function y9(){var e,t,n;Qoe(),n=gze+++Date.now(),e=IH(r.Math.floor(n*ike))&ake,t=IH(n-e*oke),this.a=1502^e,this.b=t^rke}function w9(e,t,n,r,i,o){this.e=new $m,this.f=(E0(),N0e),RL(this.e,e),this.d=t,this.a=n,this.b=r,this.f=i,this.c=o}function x9(e){var t;this.a=new WR(t=LL(e.e&&e.e(),9),LL(wD(t,t.length),9),0),this.b=fK(pje,zxe,1,this.a.a.length,5,1)}function _9(e,t){var n;switch(n=LL(fV(e.b,t),121).n,t.g){case 1:n.d=e.s;break;case 3:n.a=e.s}e.B&&(n.b=e.B.b,n.c=e.B.c)}function S9(e,t){switch(t.g){case 2:return e.b;case 1:return e.c;case 4:return e.d;case 3:return e.a;default:return!1}}function k9(e,t){if(t==e.d)return e.e;if(t==e.e)return e.d;throw Jm(new Ny("Node "+t+" not part of edge "+e))}function C9(e,t,n,r){if(t<0)lhe(e,n,r);else{if(!n.Dj())throw Jm(new Ny(HOe+n.ne()+GOe));LL(n,65).Ij().Oj(e,e.th(),t,r)}}function E9(e,t){var n,r;for(n=cte(e,0);n.b!=n.d.c;){if((r=Dy($O(BU(n))))==t)return;if(r>t){WW(n);break}}Ez(n,t)}function I9(e,t){var n,r;for(r=0,n=LL(t.Kb(e),19).Ic();n.Ob();)Ty(VO(Fae(LL(n.Pb(),18),(hxe(),WXe))))||++r;return r}function M9(e,t){var n,r,i,o,a;if(n=t.f,ste(e.c.d,n,t),null!=t.g)for(o=0,a=(i=t.g).length;o<a;++o)r=i[o],ste(e.c.e,r,t)}function T9(e,t){0==e.n.c.length&&RL(e.n,new DH(e.s,e.t,e.i)),RL(e.b,t),Z4(LL(JN(e.n,e.n.c.length-1),209),t),Rpe(e,t)}function A9(e){return e.c==e.b.b&&e.i==e.g.b||(e.a.c=fK(pje,zxe,1,0,5,1),L3(e.a,e.b),L3(e.a,e.g),e.c=e.b.b,e.i=e.g.b),e.a}function P9(e){return Array.isArray(e)&&e.dm===_?Fx(g4(e))+"@"+(p4(e)>>>0).toString(16):e.toString()}function O9(e,t,n,r){switch(t){case 3:return e.f;case 4:return e.g;case 5:return e.i;case 6:return e.j}return f8(e,t,n,r)}function D9(e){return e.k==(mse(),XHe)&&xX(new cj(null,new Cz(new xF(BA(g9(e).a.Ic(),new p)))),new Hi)}function R9(e){var t,n,r;for(this.a=new qM,r=new td(e);r.a<r.c.c.length;)n=LL(xW(r),15),p1(t=new kj,n),uz(this.a,t)}function L9(e){var t;if(e.b){if(L9(e.b),e.b.d!=e.c)throw Jm(new Sb)}else e.d.dc()&&(t=LL(e.f.c.vc(e.e),15))&&(e.d=t)}function N9(e,t){var n,i,o;for(i=function(e,t){var n,i,o,a,s,l,u,c,f,h,d;for(u=jB(t.a),o=2*Oy($O(Fae(u,(Kwe(),SJe)))),f=Oy($O(Fae(u,TJe))),c=r.Math.max(o,f),a=fK(aat,BSe,24,t.f-t.c+1,15,1),i=-c,n=0,l=t.b.Ic();l.Ob();)s=LL(l.Pb(),10),i+=e.a[s.c.p]+c,a[n++]=i;for(i+=e.a[t.a.c.p]+c,a[n++]=i,d=new td(t.e);d.a<d.c.c.length;)h=LL(xW(d),10),i+=e.a[h.c.p]+c,a[n++]=i;return a}(e,t),o=i[i.length-1]/2,n=0;n<i.length;n++)if(i[n]>=o)return t.c+n;return t.c+t.b.gc()}function j9(e,t){var n,r;for(r=e.e.a.ec().Ic();r.Ob();)if(fse(t,(n=LL(r.Pb(),265)).d)||oue(t,n.d))return!0;return!1}function F9(e,t,n){var r,i;for(r=SH(n,HSe),i=0;0!=T4(r,0)&&i<t;i++)r=o8(r,SH(e[i],HSe)),e[i]=QN(r),r=wN(r,32);return QN(r)}function z9(e,t,n){var r,i;for(r=0,i=e.length;r<i;r++)if(A3((TG(r,e.length),e.charCodeAt(r)),t,n))return!0;return!1}function B9(e,t){var n;return NI(e)&&NI(t)&&TSe<(n=e%t)&&n<ISe?n:L2((Bve(NI(e)?o3(e):e,NI(t)?o3(t):t,!0),Zje))}function V9(e,t,n){var i;!(i=n)&&(i=vN(new qv,0)),qoe(i,REe,2),pne(e.b,t,a2(i,1)),function(e,t,n){var r,i,o,a,s,l,u,c,f,h,d,p,g;for(l=function(e){var t,n,r,i,o;t=new Vm,n=new Vm,FU(t,e),FU(n,e);for(;n.b!=n.c;)for(o=new td(LL(fz(n),38).a);o.a<o.c.c.length;)(i=LL(xW(o),10)).e&&(FU(t,r=i.e),FU(n,r));return t}(t),(p=LL(Fae(t,(Kwe(),GZe)),333))!=($q(),AUe)&&yX(l,new Wd(p)),g=LL(Fae(t,FZe),292),yX(l,new Ud(g)),d=0,u=new $m,i=new iV(l);i.a!=i.b;)r=LL(T6(i),38),wye(e.c,r),d+=(f=LL(Fae(r,(hxe(),$Xe)),14)).gc(),RL(u,new KE(r,f.Ic()));qoe(n,"Recursive hierarchical layout",d),0,h=LL(LL(JN(u,u.c.length-1),46).b,49);for(;h.Ob();)for(s=new td(u);s.a<s.c.c.length;)for(a=LL(xW(s),46),f=LL(a.b,49),o=LL(a.a,38);f.Ob();){if(BT(c=LL(f.Pb(),52),499)){if(o.e)break;c.nf(o,a2(n,1));break}c.nf(o,a2(n,1))}_se(n)}(e,t,a2(i,1)),function(e,t){var n,i,o,a,s,l,u,c,f,h,d,p,g,m,b,v,y,w,x,_,S,k,C,E;for(qoe(t,"Compound graph postprocessor",1),n=Ty(VO(Fae(e,(Kwe(),RJe)))),l=LL(Fae(e,(hxe(),oXe)),222),f=new Pb,v=l.ec().Ic();v.Ob();){for(b=LL(v.Pb(),18),s=new jR(l.cc(b)),v$(),kT(s,new Yd(e)),_=n2((MG(0,s.c.length),LL(s.c[0],242))),k=r2(LL(JN(s,s.c.length-1),242)),w=_.i,y=K2(k.i,w)?w.e:jB(w),h=Tte(b,s),s$(b.a),d=null,a=new td(s);a.a<a.c.c.length;)o=LL(xW(a),242),yle(m=new hx,o.a,y),p=o.b,U4(i=new bv,0,p.a),gJ(i,m),x=new lT(tW(p.c)),S=new lT(tW(p.d)),BD(x,m),BD(S,m),d&&(0==i.b?g=S:(EP(0!=i.b),g=LL(i.a.a.c,8)),C=r.Math.abs(d.a-g.a)>uEe,E=r.Math.abs(d.b-g.b)>uEe,(!n&&C&&E||n&&(C||E))&&bN(b.a,x)),G1(b.a,i),0==i.b?d=x:(EP(0!=i.b),d=LL(i.c.b.c,8)),w3(p,h,m),r2(o)==k&&(jB(k.i)!=o.a&&yle(m=new hx,jB(k.i),y),S5(b,QXe,m)),Tse(p,b,y),f.a.xc(p,f);PG(b,_),AG(b,k)}for(c=f.a.ec().Ic();c.Ob();)PG(u=LL(c.Pb(),18),null),AG(u,null);_se(t)}(t,a2(i,1)),_se(i)}function $9(){$9=S,S7e=new IE(sCe,0),x7e=new IE("POLYLINE",1),w7e=new IE("ORTHOGONAL",2),_7e=new IE("SPLINES",3)}function H9(){H9=S,iYe=new OC(bIe,0),eYe=new OC("FIRST",1),tYe=new OC(vIe,2),nYe=new OC("LAST",3),rYe=new OC(yIe,4)}function G9(){G9=S,V3e=new cE("OVERLAP_REMOVAL",0),z3e=new cE("COMPACTION",1),B3e=new cE("GRAPH_SIZE_CALCULATION",2)}function W9(){W9=S,O5e=new fE("ASPECT_RATIO_DRIVEN",0),D5e=new fE("MAX_SCALE_DRIVEN",1),P5e=new fE("AREA_DRIVEN",2)}function U9(){U9=S,OS(),Kwe(),qJe=MJe,XJe=JX(q3(lw(D6e,1),oAe,146,0,[vJe,yJe,xJe,_Je,CJe,EJe,IJe,AJe,OJe,wJe,SJe,TJe]))}function q9(e){U9(),this.c=JX(q3(lw(I6e,1),zxe,810,0,[UJe])),this.b=new Hm,this.a=e,eV(this.b,qJe,1),uJ(XJe,new Ng(this))}function X9(e,t){return vT(),CJ(j_e),r.Math.abs(e-t)<=j_e||e==t||isNaN(e)&&isNaN(t)?0:e<t?-1:e>t?1:_M(isNaN(e),isNaN(t))}function Y9(e,t){e.hj();try{e.d.Tc(e.e++,t),e.f=e.d.j,e.g=-1}catch(e){throw BT(e=v3(e),73)?Jm(new Sb):Jm(e)}}function K9(e){switch(hwe(),e.g){case 4:return Det;case 1:return Oet;case 3:return Ket;case 2:return Qet;default:return Zet}}function Z9(e){switch(e.g){case 0:return new Va;case 1:return new Ga;default:throw Jm(new Ny(pIe+(null!=e.f?e.f:""+e.g)))}}function Q9(e){switch(e.g){case 0:return new Uv;case 1:return new mv;default:throw Jm(new Ny(vPe+(null!=e.f?e.f:""+e.g)))}}function J9(e,t){var n;return e.d?KF(e.b,t)?LL(aB(e.b,t),52):(n=t.Hf(),eV(e.b,t,n),n):t.Hf()}function e7(e,t){var n;return OI(e)===OI(t)||!!BT(t,90)&&(n=LL(t,90),e.e==n.e&&e.d==n.d&&function(e,t){var n;for(n=e.d-1;n>=0&&e.a[n]===t[n];n--);return n<0}(e,n.a))}function t7(e,t){var n,r;for(r=new td(t);r.a<r.c.c.length;)n=LL(xW(r),46),RL(e.b.b,LL(n.b,79)),QG(LL(n.a,189),LL(n.b,79))}function n7(e){var t,n,r,i;for(i=0,n=0,r=e.length;n<r;n++)TG(n,e.length),(t=e.charCodeAt(n))<64&&(i=kH(i,xN(1,t)));return i}function r7(e,t){var n,r,i,o,a,s;for(r=0,n=0,a=0,s=(o=t).length;a<s;++a)(i=o[a])>0&&(r+=i,++n);return n>1&&(r+=e.d*(n-1)),r}function i7(e){var t,n,r;for((r=new hw).a+="[",t=0,n=e.gc();t<n;)HI(r,nP(e.fi(t))),++t<n&&(r.a+=jxe);return r.a+="]",r.a}function o7(e){var t,n;for(n=Oy($O(e.a.Xe((fxe(),t7e)))),t=new td(e.a.vf());t.a<t.c.c.length;)Iwe(e,LL(xW(t),816),n)}function a7(e){this.e=fK(nat,sSe,24,e.length,15,1),this.c=fK(rat,Kke,24,e.length,16,1),this.b=fK(rat,Kke,24,e.length,16,1),this.f=0}function s7(e){var t,n,r;return(n=e.ug())?BT(t=e.Pg(),160)&&null!=(r=s7(LL(t,160)))?r+"."+n:n:null}function l7(e,t,n){var r,i;for(i=e.Ic();i.Ob();)if(r=i.Pb(),OI(t)===OI(r)||null!=t&&l8(t,r))return n&&i.Qb(),!0;return!1}function u7(e,t){var n,r,i;if(null==e.i&&Kme(e),n=e.i,-1!=(r=t.Xi()))for(i=n.length;r<i;++r)if(n[r]==t)return r;return-1}function c7(e){var t,n,r;for(t=new dh,r=new Jh(e.b.Ic());r.b.Ob();)n=Hse(LL(r.b.Pb(),673)),Pz(t,t.a.length,n);return t.a}function f7(e){var t;return!e.c&&(e.c=new Me),kT(e.d,new Oe),function(e){var t,n,r,i,o,a,s;for(o=new Xx(LL(wz(new De),62)),s=LSe,n=new td(e.d);n.a<n.c.c.length;){for(s=(t=LL(xW(n),220)).c.c;0!=o.a.c&&(a=LL(MF(gZ(o.a)),220)).c.c+a.c.b<s;)TH(o.a,a);for(i=new Hh(new _D(new uP(new qh(o.a).a).b));pk(i.a.a);)bN((r=LL(QP(i.a).ad(),220)).b,t),bN(t.b,r);P5(o.a,t,(_P(),nFe))}}(e),t=function(e){var t,n,i,o,a,s,l,u,c,f;for(a=e.a,t=new Pb,c=0,i=new td(e.d);i.a<i.c.c.length;){for(f=0,C1((n=LL(xW(i),220)).b,new Pe),l=cte(n.b,0);l.b!=l.d.c;)s=LL(BU(l),220),t.a._b(s)&&(o=n.c,f<(u=s.c).d+u.a+a&&f+o.a+a>u.d&&(f=u.d+u.a+a));n.c.d=f,t.a.xc(n,t),c=r.Math.max(c,n.c.d+n.c.a)}return c}(e),lS(new cj(null,new ZG(e.d,16)),new Fd(e)),t}function h7(e){var t;return 0!=(64&e.Db)?Z6(e):((t=new XA(Z6(e))).a+=" (instanceClassName: ",HI(t,e.D),t.a+=")",t.a)}function d7(e,t,n){var r,i;if(++e.j,n.dc())return!1;for(i=n.Ic();i.Ob();)r=i.Pb(),e.Ci(t,e.ji(t,r)),++t;return!0}function p7(e,t){var n;if(t){for(n=0;n<e.i;++n)if(LL(e.g[n],363).yi(t))return!1;return AK(e,t)}return!1}function g7(e,t){switch(t){case 3:return 0!=e.f;case 4:return 0!=e.g;case 5:return 0!=e.i;case 6:return 0!=e.j}return m3(e,t)}function m7(e,t){switch(t){case 3:return void GJ(e,0);case 4:return void WJ(e,0);case 5:return void UJ(e,0);case 6:return void qJ(e,0)}G6(e,t)}function b7(e,t){switch(t.g){case 1:return SL(e.j,(h2(),tGe));case 2:return SL(e.j,(h2(),rGe));default:return v$(),v$(),XFe}}function v7(e){var t;switch(BB(),(t=e.Nc()).length){case 0:return Cje;case 1:return new HN(wz(t[0]));default:return new pH(function(e){var t,n;for(t=0,n=e.length;t<n;t++)if(null==e[t])throw Jm(new zy("at index "+t));return new Vy(e)}(t))}}function y7(e,t){var n,i;e.a=o8(e.a,1),e.c=r.Math.min(e.c,t),e.b=r.Math.max(e.b,t),e.d+=t,n=t-e.f,i=e.e+n,e.f=i-e.e-n,e.e=i}function w7(e,t){var n;return e.f>0&&(e.lj(),-1!=Bfe(e,((n=null==t?0:p4(t))&Dxe)%e.d.length,n,t))}function x7(e,t){var n,r,i,o;for(o=ade(e.e.Og(),t),n=LL(e.g,118),i=0;i<e.i;++i)if(r=n[i],o.ml(r.Xj()))return!1;return!0}function _7(e,t){return e.i>0&&(t.length<e.i&&(t=s0(g4(t).c,e.i)),Xbe(e.g,0,t,0,e.i)),t.length>e.i&&nB(t,e.i,null),t}function S7(e,t){var n,r;return dT(),r=null,t==(n=zD((dy(),dy(),Wje)))&&(r=LL(CH(Gje,e),605)),r||(r=new vB(e),t==n&&vG(Gje,e,r)),r}function k7(e){var t;return xD(),t=new lT(LL(e.e.Xe((fxe(),d9e)),8)),e.A.Fc((Vge(),ptt))&&(t.a<=0&&(t.a=20),t.b<=0&&(t.b=20)),t}function C7(e,t,n){var r,i,o;return e._i()?(r=e.i,o=e.aj(),t8(e,r,t),i=e.Ui(3,null,t,r,o),n?n.zi(i):n=i):t8(e,e.i,t),n}function E7(e,t){var n,r;return e.f>0&&(e.lj(),n=oce(e,((r=null==t?0:p4(t))&Dxe)%e.d.length,r,t))?n.bd():null}function I7(e,t){var n,r,i;return!!BT(t,43)&&(r=(n=LL(t,43)).ad(),IB(i=t6(e.Pc(),r),n.bd())&&(null!=i||e.Pc()._b(r)))}function M7(e){return rne(),(e.q?e.q:(v$(),v$(),YFe))._b((Kwe(),jQe))?LL(Fae(e,jQe),196):LL(Fae(jB(e),FQe),196)}function T7(e,t){var n,r;return r=null,ZP(e,(Kwe(),kJe))&&(n=LL(Fae(e,kJe),94)).Ye(t)&&(r=n.Xe(t)),null==r&&(r=Fae(jB(e),t)),r}function A7(){A7=S,Itt=new FE("SIMPLE",0),ktt=new FE("GROUP_DEC",1),Ett=new FE("GROUP_MIXED",2),Ctt=new FE("GROUP_INC",3)}function P7(){P7=S,mit=new Il,uit=new Ml,cit=new Tl,fit=new Al,hit=new Pl,dit=new Ol,pit=new Dl,git=new Rl,bit=new Ll}function O7(){O7=S,rtt=new sT(15),ntt=new cT((fxe(),v9e),rtt),ott=new cT(r7e,15),itt=new cT(H9e,k8(0)),ttt=new cT(P8e,hEe)}function D7(e,t){var n,r;for(r=t.length,n=0;n<r;n+=2)Fde(e,(TG(n,t.length),t.charCodeAt(n)),(TG(n+1,t.length),t.charCodeAt(n+1)))}function R7(e){var t,n,i,o;for(i=0,o=0,n=new td(e.a);n.a<n.c.c.length;)t=LL(xW(n),181),o=r.Math.max(o,t.r),i+=t.d;e.b=i,e.c=o}function L7(e){var t,n;t=e.d==(xle(),yUe),n=Soe(e),S5(e.a,(Kwe(),MZe),t&&!n||!t&&n?(ine(),i8e):(ine(),r8e))}function N7(e,t){var n;!function(e){var t,n,r,i,o,a,s,l,u,c,f,h,d,p;for(h=new td(e);h.a<h.c.c.length;){for(vP((f=LL(xW(h),10)).n),vP(f.o),OY(f.f),rge(f),Ope(f),p=new td(f.j);p.a<p.c.c.length;){for(vP((d=LL(xW(p),11)).n),vP(d.a),vP(d.o),mue(d,Gne(d.j)),(i=LL(Fae(d,(Kwe(),nJe)),20))&&S5(d,nJe,k8(-i.a)),r=new td(d.g);r.a<r.c.c.length;){for(t=cte((n=LL(xW(r),18)).a,0);t.b!=t.d.c;)vP(LL(BU(t),8));if(a=LL(Fae(n,vQe),74))for(o=cte(a,0);o.b!=o.d.c;)vP(LL(BU(o),8));for(u=new td(n.b);u.a<u.c.c.length;)vP((s=LL(xW(u),69)).n),vP(s.o)}for(c=new td(d.f);c.a<c.c.c.length;)vP((s=LL(xW(c),69)).n),vP(s.o)}for(f.k==(mse(),WHe)&&(S5(f,(hxe(),dXe),Gne(LL(Fae(f,dXe),61))),hde(f)),l=new td(f.b);l.a<l.c.c.length;)rge(s=LL(xW(l),69)),vP(s.o),vP(s.n)}}(t),(n=LL(Fae(e,(Kwe(),JZe)),274))&&S5(e,JZe,function(e){switch(e.g){case 0:return QUe;case 1:return JUe;case 2:return eqe;case 3:return tqe;case 4:return nqe;case 5:return rqe;default:return null}}(n)),vP(e.c),vP(e.f),OY(e.d),OY(LL(Fae(e,PQe),205))}function j7(e,t,n){VJ(),ov.call(this),this.a=FN(IBe,[s_e,tCe],[586,210],0,[jBe,NBe],2),this.c=new YM,this.g=e,this.f=t,this.d=n}function F7(e,t){this.n=FN(iat,[s_e,jSe],[361,24],14,[t,IH(r.Math.ceil(e/32))],2),this.o=e,this.p=t,this.j=e-1>>1,this.k=t-1>>1}function z7(e){if(null==e.b){for(;e.a.Ob();)if(e.b=e.a.Pb(),!LL(e.b,48).Ug())return!0;return e.b=null,!1}return!0}function B7(e,t){var n;if(BT(t,244)){n=LL(t,244);try{return 0==e.vd(n)}catch(e){if(!BT(e=v3(e),203))throw Jm(e)}}return!1}function V7(e,t){return vT(),vT(),CJ(j_e),(r.Math.abs(e-t)<=j_e||e==t||isNaN(e)&&isNaN(t)?0:e<t?-1:e>t?1:_M(isNaN(e),isNaN(t)))>0}function $7(e,t){return vT(),vT(),CJ(j_e),(r.Math.abs(e-t)<=j_e||e==t||isNaN(e)&&isNaN(t)?0:e<t?-1:e>t?1:_M(isNaN(e),isNaN(t)))<0}function H7(e){var t;0!=e.c&&(1==(t=LL(JN(e.a,e.b),286)).b?(++e.b,e.b<e.a.c.length&&Rh(LL(JN(e.a,e.b),286))):--t.b,--e.c)}function G7(e,t,n){var r,i,o,a;for(o=t-e.d,a=n-e.e,i=new td(e.a);i.a<i.c.c.length;)gne(r=LL(xW(i),181),r.s+o,r.t+a);e.d=t,e.e=n}function W7(e,t,n){var i,o,a,s,l;return s=e.k,l=t.k,o=$O(T7(e,i=n[s.g][l.g])),a=$O(T7(t,i)),r.Math.max((wB(o),o),(wB(a),a))}function U7(e,t,n,r,i){var o,a,s;for(a=i;t.b!=t.c;)o=LL(fz(t),10),s=LL(i9(o,r).Xb(0),11),e.d[s.p]=a++,n.c[n.c.length]=s;return a}function q7(e,t,n,r){var i,o,a;return i=!1,function(e,t,n){var r,i,o,a,s,l,u,c,f,h,d,p,g,m,b,v,y,w,x,_;if(h=e.c[t],d=e.c[n],(p=LL(Fae(h,(hxe(),_Xe)),14))&&0!=p.gc()&&p.Fc(d)||(g=h.k!=(mse(),qHe)&&d.k!=qHe,m=LL(Fae(h,xXe),10),b=LL(Fae(d,xXe),10),v=m!=b,y=!!m&&m!=h||!!b&&b!=d,w=$ne(h,(hwe(),Det)),x=$ne(d,Ket),y|=$ne(h,Ket)||$ne(d,Det),_=y&&v||w||x,g&&_)||h.k==(mse(),YHe)&&d.k==XHe||d.k==(mse(),YHe)&&h.k==XHe)return!1;c=e.c[t],o=e.c[n],i=Lie(e.e,c,o,(hwe(),Qet)),l=Lie(e.i,c,o,Oet),function(e,t,n){e.d=0,e.b=0,t.k==(mse(),YHe)&&n.k==YHe&&LL(Fae(t,(hxe(),OXe)),10)==LL(Fae(n,OXe),10)&&(zZ(t).j==(hwe(),Det)?Wfe(e,t,n):Wfe(e,n,t)),t.k==YHe&&n.k==qHe?zZ(t).j==(hwe(),Det)?e.d=1:e.b=1:n.k==YHe&&t.k==qHe&&(zZ(n).j==(hwe(),Det)?e.b=1:e.d=1),function(e,t,n){t.k==(mse(),XHe)&&n.k==qHe&&(e.d=X6(t,(hwe(),Ket)),e.b=X6(t,Det));n.k==XHe&&t.k==qHe&&(e.d=X6(n,(hwe(),Det)),e.b=X6(n,Ket))}(e,t,n)}(e.f,c,o),u=R4(e.b,c,o)+LL(i.a,20).a+LL(l.a,20).a+e.f.d,s=R4(e.b,o,c)+LL(i.b,20).a+LL(l.b,20).a+e.f.b,e.a&&(f=LL(Fae(c,OXe),11),a=LL(Fae(o,OXe),11),u+=LL((r=Wre(e.g,f,a)).a,20).a,s+=LL(r.b,20).a);return u>s}(e.f,n,r)&&(!function(e,t,n){var r,i;Iae(e.e,t,n,(hwe(),Qet)),Iae(e.i,t,n,Oet),e.a&&(i=LL(Fae(t,(hxe(),OXe)),11),r=LL(Fae(n,OXe),11),_W(e.g,i,r))}(e.f,e.a[t][n],e.a[t][r]),a=(o=e.a[t])[r],o[r]=o[n],o[n]=a,i=!0),i}function X7(e,t,n){var r,i,o;for(i=null,o=e.b;o;){if(r=e.a.ue(t,o.d),n&&0==r)return o;r>=0?o=o.a[1]:(i=o,o=o.a[0])}return i}function Y7(e,t,n){var r,i,o;for(i=null,o=e.b;o;){if(r=e.a.ue(t,o.d),n&&0==r)return o;r<=0?o=o.a[0]:(i=o,o=o.a[1])}return i}function K7(e,t,n){var r,i,o;for(i=LL(aB(e.b,n),177),r=0,o=new td(t.j);o.a<o.c.c.length;)i[LL(xW(o),112).d.p]&&++r;return r}function Z7(e){var t,n,i,o;for(o=0,i=LSe,n=new td(e.a);n.a<n.c.c.length;)o+=(t=LL(xW(n),181)).r,i=r.Math.max(i,t.d);e.d=o,e.b=i}function Q7(e,t){var n;for(n=new xF(BA(g9(e).a.Ic(),new p));Zce(n);)if(LL(dX(n),18).d.i.c==t)return!1;return!0}function J7(e,t){var n,r,i,o;return n=t>>5,t&=31,i=e.d+n+(0==t?0:1),function(e,t,n,r){var i,o,a;if(0==r)Xbe(t,0,e,n,e.length-n);else for(a=32-r,e[e.length-1]=0,o=e.length-1;o>n;o--)e[o]|=t[o-n-1]>>>a,e[o-1]=t[o-n-1]<<r;for(i=0;i<n;i++)e[i]=0}(r=fK(nat,sSe,24,i,15,1),e.a,n,t),JW(o=new nz(e.e,i,r)),o}function eee(e,t,n){var r,i;r=LL(CH(Eot,t),117),i=LL(CH(Iot,t),117),n?(vG(Eot,e,r),vG(Iot,e,i)):(vG(Iot,e,r),vG(Eot,e,i))}function tee(e){var t,n;return null!=(t=LL(n3(e.a,4),124))?(Xbe(t,0,n=fK(jnt,BRe,410,t.length,0,1),0,t.length),n):znt}function nee(e){var t,n,r,i;if(null==e)return null;for(i=new $m,n=0,r=(t=x4(e)).length;n<r;++n)RL(i,Nbe(t[n],!0));return i}function ree(e){var t,n,r,i;if(null==e)return null;for(i=new $m,n=0,r=(t=x4(e)).length;n<r;++n)RL(i,Nbe(t[n],!0));return i}function iee(e){var t,n,r,i;if(null==e)return null;for(i=new $m,n=0,r=(t=x4(e)).length;n<r;++n)RL(i,Nbe(t[n],!0));return i}function oee(e){if(null,!(IDe in e.a))throw Jm(new Yy("Every element must have an id."));return Pue(xH(e,IDe))}function aee(){aee=S,utt=new NE("PORTS",0),ctt=new NE("PORT_LABELS",1),ltt=new NE("NODE_LABELS",2),stt=new NE("MINIMUM_SIZE",3)}function see(e,t){for(var n=0;!t[n]||""==t[n];)n++;for(var r=t[n++];n<t.length;n++)t[n]&&""!=t[n]&&(r+=e+t[n]);return r}function lee(e,t,n){var i,o,a,s;for(DY(t,a=t+n,e.length),s="",o=t;o<a;)i=r.Math.min(o+1e4,a),s+=hV(e.slice(o,i)),o=i;return s}function uee(e,t){var n,r;return e.lj(),(n=oce(e,((r=null==t?0:p4(t))&Dxe)%e.d.length,r,t))?(_0(e,n),n.bd()):null}function cee(e){var t,n;for(n=ole(e),t=null;2==e.c;)ixe(e),t||(gxe(),gxe(),Ive(t=new ST(2),n),n=t),n.Vl(ole(e));return n}function fee(e){return IG(),BT(e,156)?LL(aB(Dnt,rze),287).qg(e):KF(Dnt,g4(e))?LL(aB(Dnt,g4(e)),287).qg(e):null}function hee(e,t){return e.e>t.e?1:e.e<t.e?-1:e.d>t.d?e.e:e.d<t.d?-t.e:e.e*n4(e.a,t.a,e.d)}function dee(e){return e>=48&&e<48+r.Math.min(10,10)?e-48:e>=97&&e<97?e-97+10:e>=65&&e<65?e-65+10:-1}function pee(e,t){return vT(),vT(),CJ(j_e),(r.Math.abs(e-t)<=j_e||e==t||isNaN(e)&&isNaN(t)?0:e<t?-1:e>t?1:_M(isNaN(e),isNaN(t)))<=0}function gee(e){switch(e.g){case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:return!0;default:return!1}}function mee(e,t){if(t.c==e)return t.d;if(t.d==e)return t.c;throw Jm(new Ny("Input edge is not connected to the input port."))}function bee(e){return npe(),T4(e,0)<0?0!=T4(e,-1)?new ioe(-1,kK(e)):LFe:T4(e,10)<=0?jFe[QN(e)]:new ioe(1,e)}function vee(e){var t,n;return T4(e,-129)>0&&T4(e,128)<0?(t=QN(e)+128,!(n=(qN(),mFe)[t])&&(n=mFe[t]=new Yh(e)),n):new Yh(e)}function yee(e,t){var n;return OI(t)===OI(e)||!!BT(t,21)&&((n=LL(t,21)).gc()==e.gc()&&e.Gc(n))}function wee(e){var t,n,r;if(!(r=e.Ug()))for(t=0,n=e.$g();n;n=n.$g()){if(++t>VSe)return n._g();if((r=n.Ug())||n==e)break}return r}function xee(e,t){var n,r;for(TG(t,e.length),n=e.charCodeAt(t),r=t+1;r<e.length&&(TG(r,e.length),e.charCodeAt(r)==n);)++r;return r-t}function _ee(e,t){if(e.a<0)throw Jm(new jy("Did not call before(...) or after(...) before calling add(...)."));return MP(e,e.a,t),e}function See(e,t){var n,r,i;if(e.c)GJ(e.c,t);else for(n=t-aj(e),i=new td(e.a);i.a<i.c.c.length;)See(r=LL(xW(i),157),aj(r)+n)}function kee(e,t){var n,r,i;if(e.c)WJ(e.c,t);else for(n=t-sj(e),i=new td(e.d);i.a<i.c.c.length;)kee(r=LL(xW(i),157),sj(r)+n)}function Cee(e){var t,n;for(0,t=new td(e.g);t.a<t.c.c.length;)LL(xW(t),555);(function(e){var t,n,r,i,o,a,s,l;if(0===(s=e.b,t=e.a,LL(Fae(e,(wie(),lBe)),421).g))kT(s,new ad(new Ve));else kT(s,new ad(new $e));if(1===LL(Fae(e,aBe),422).g)kT(s,new Be),kT(s,new He),kT(s,new Re);else kT(s,new Be),kT(s,new Fe);switch(LL(Fae(e,cBe),249).g){case 0:l=new Xe;break;case 1:l=new Ue;break;case 2:l=new qe;break;case 3:l=new We;break;case 5:l=new zd(new qe);break;case 4:l=new zd(new Ue);break;case 7:l=new Nk(new zd(new Ue),new zd(new qe));break;case 8:l=new Nk(new zd(new We),new zd(new qe));break;default:l=new zd(new We)}for(a=new td(s);a.a<a.c.c.length;){for(o=LL(xW(a),167),i=0,n=new KE(k8(r=0),k8(i));fme(t,o,r,i);)n=LL(l.Ce(n,o),46),r=LL(n.a,20).a,i=LL(n.b,20).a;Zpe(t,o,r,i)}})(n=new bde(e.g,Oy(e.a),e.c)),e.g=n.b,e.d=n.a}function Eee(e,t){var n,i,o;for(yZ(e.a,t),e.d-=t.r,o=FAe,i=new td(e.a);i.a<i.c.c.length;)n=LL(xW(i),181),o=r.Math.max(o,n.d);e.b=o}function Iee(e,t,n){t.b=r.Math.max(t.b,-n.a),t.c=r.Math.max(t.c,n.a-e.a),t.d=r.Math.max(t.d,-n.b),t.a=r.Math.max(t.a,n.b-e.b)}function Mee(e,t,n,r){var i,o;0!=t.c.length&&(i=function(e,t){var n,r,i,o,a;for(n=new $m,i=aQ(new cj(null,new ZG(e,16)),new wa),o=aQ(new cj(null,new ZG(e,16)),new xa),a=function(e){var t;return NB(e),t=fK(aat,BSe,24,0,15,1),Wx(e.a,new Sd(t)),t}(function(e){return H8(e),new LO(e,new PL(e,e.a.e,4|e.a.d))}(kV(function(e){var t,n,r,i,o,a,s,l;for(!1,t=336,n=0,i=new fD(e.length),s=0,l=(a=e).length;s<l;++s)H8(o=a[s]),!1,NB(o),r=o.a,RL(i.a,wz(r)),t&=r.qd(),n=Y5(n,r.rd());return LL(LL(Az(new cj(null,dae(new ZG((BB(),v7(i.a)),16),new b,t,n)),new ah(e)),658),812)}(q3(lw(zze,1),zxe,812,0,[i,o])),new _a))),r=1;r<a.length;r++)a[r]-a[r-1]>=2*t&&RL(n,new dL(a[r-1]+t,a[r]-t));return n}(n,r),o=function(e){var t,n,r,i,o,a,s;for(o=new qM,n=new td(e);n.a<n.c.c.length;)a=(t=LL(xW(n),129)).a,s=t.b,o.a._b(a)||o.a._b(s)||(i=a,r=s,a.e.b+a.j.b>2&&s.e.b+s.j.b<=2&&(i=s,r=a),o.a.xc(i,o),i.q=r);return o}(t),lS(JQ(new cj(null,new ZG(o,1)),new ya),new NV(e,n,i,r)))}function Tee(e,t,n){var r;0!=(e.Db&t)?null==n?function(e,t){var n,r,i,o,a,s,l;if(1==(r=D8(254&e.Db)))e.Eb=null;else if(o=xJ(e.Eb),2==r)i=lre(e,t),e.Eb=o[0==i?1:0];else{for(a=fK(pje,zxe,1,r-1,5,1),n=2,s=0,l=0;n<=128;n<<=1)n==t?++s:0!=(e.Db&n)&&(a[l++]=o[s++]);e.Eb=a}e.Db&=~t}(e,t):-1==(r=lre(e,t))?e.Eb=n:nB(xJ(e.Eb),r,n):null!=n&&function(e,t,n){var r,i,o,a,s,l;if(0==(i=D8(254&e.Db)))e.Eb=n;else{if(1==i)a=fK(pje,zxe,1,2,5,1),0==lre(e,t)?(a[0]=n,a[1]=e.Eb):(a[0]=e.Eb,a[1]=n);else for(a=fK(pje,zxe,1,i+1,5,1),o=xJ(e.Eb),r=2,s=0,l=0;r<=128;r<<=1)r==t?a[l++]=n:0!=(e.Db&r)&&(a[l++]=o[s++]);e.Eb=a}e.Db|=t}(e,t,n)}function Aee(e){var t;return 0==(32&e.Db)&&0!=(t=Hz(LL(n3(e,16),26)||e.uh())-Hz(e.uh()))&&Tee(e,32,fK(pje,zxe,1,t,5,1)),e}function Pee(e,t,n){var r;r=LL(hH(t.f),207);try{r.$e(e,n),function(e,t){e.c<0||e.b.b<e.c?ZI(e.b,t):e.a.af(t)}(t.f,r)}catch(e){throw BT(e=v3(e),102)?Jm(e):Jm(e)}}function Oee(e,t){return wB(e),null!=t&&(!!fR(e,t)||e.length==t.length&&fR(e.toLowerCase(),t.toLowerCase()))}function Dee(e,t,n){var r,i,o;for(o=new td(n.a);o.a<o.c.c.length;)i=LL(xW(o),219),r=new VT(LL(aB(e.a,i.b),63)),RL(t.a,r),Dee(e,r,i)}function Ree(e,t){var n,r;for(EG(),r=new xF(BA(d9(e).a.Ic(),new p));Zce(r);)if((n=LL(dX(r),18)).d.i==t||n.c.i==t)return n;return null}function Lee(e,t){var n,r;return(n=t.Ch(e.a))&&null!=(r=HO(E7((!n.b&&(n.b=new fO((bxe(),Grt),ait,n)),n.b),zDe)))?r:t.ne()}function Nee(e,t,n){this.c=e,this.f=new $m,this.e=new hx,this.j=new GN,this.n=new GN,this.b=t,this.g=new jV(t.c,t.d,t.b,t.a),this.a=n}function jee(e){var t,n,r,i;for(this.a=new qM,this.d=new Pb,this.e=0,r=0,i=(n=e).length;r<i;++r)t=n[r],!this.f&&(this.f=t),QG(this,t)}function Fee(e){npe(),0==e.length?(this.e=0,this.d=1,this.a=q3(lw(nat,1),sSe,24,15,[0])):(this.e=1,this.d=e.length,this.a=e,JW(this))}function zee(e,t,n){ov.call(this),this.a=fK(IBe,tCe,210,(nJ(),q3(lw(OBe,1),A_e,230,0,[MBe,TBe,ABe])).length,0,1),this.b=e,this.d=t,this.c=n}function Bee(e){var t,n,r,i;for(S5(i=LL(Fae(e,(hxe(),OXe)),11),YXe,e.i.n.b),n=0,r=(t=gU(e.e)).length;n<r;++n)AG(t[n],i)}function Vee(e){var t,n,r,i;for(S5(t=LL(Fae(e,(hxe(),OXe)),11),YXe,e.i.n.b),r=0,i=(n=gU(e.g)).length;r<i;++r)PG(n[r],t)}function $ee(e,t){var n,r,i;if(RL(c$e,e),t.Dc(e),n=LL(aB(u$e,e),21))for(i=n.Ic();i.Ob();)r=LL(i.Pb(),34),-1!=vZ(c$e,r,0)||$ee(r,t)}function Hee(e){var t;try{return t=e.i.Xb(e.e),e.hj(),e.g=e.e++,t}catch(t){throw BT(t=v3(t),73)?(e.hj(),Jm(new bb)):Jm(t)}}function Gee(e){var t;try{return t=e.c.fi(e.e),e.hj(),e.g=e.e++,t}catch(t){throw BT(t=v3(t),73)?(e.hj(),Jm(new bb)):Jm(t)}}function Wee(e){var t;if(null==e)return null;if(t=function(e){var t,n,r,i,o,a,s;if(dpe(),null==e)return null;if((i=e.length)%2!=0)return null;for(t=BZ(e),n=fK(oat,rDe,24,o=i/2|0,15,1),r=0;r<o;r++){if(-1==(a=wot[t[2*r]]))return null;if(-1==(s=wot[t[2*r+1]]))return null;n[r]=(a<<4|s)<<24>>24}return n}(Nbe(e,!0)),null==t)throw Jm(new Ky("Invalid hexBinary value: '"+e+"'"));return t}function Uee(e,t,n){var r;(Mze?(function(e){var t,n;if(e.b)return e.b;for(n=Aze?null:e.d;n;){if(t=Aze?null:n.b)return t;n=Aze?null:n.d}nS()}(e),1):Tze||Oze?(nS(),1):Pze&&(nS(),0))&&((r=new bR(t)).b=n,function(e,t){var n,r,i,o,a,s;for(n=d4(e),i=0,a=n.length;i<a;++i)jae(t);s=!Aze&&e.e?Aze?null:e.d:null;for(;s;){for(r=0,o=d4(s).length;r<o;++r)jae(t);s=!Aze&&s.e?Aze?null:s.d:null}}(e,r))}function qee(e,t){var n;n=!e.w.Fc((aee(),ctt))||e.q==(joe(),vet),e.t.Fc((iae(),Eet))?n?function(e,t){var n,i,o,a,s,l,u,c,f,h,d,p,g,m,b,v,y,w,x,_,S;if(d=LL(LL(KX(e.r,t),21),81),t==(hwe(),Oet)||t==Qet)return void owe(e,t);for(a=t==Det?(h3(),vVe):(h3(),xVe),x=t==Det?(QZ(),HBe):(QZ(),VBe),n=LL(fV(e.b,t),121),i=n.i,o=i.c+$5(q3(lw(aat,1),BSe,24,15,[n.n.b,e.B.b,e.k])),v=i.c+i.b-$5(q3(lw(aat,1),BSe,24,15,[n.n.c,e.B.c,e.k])),s=Iw($R(a),e.s),y=t==Det?LSe:RSe,h=d.Ic();h.Ob();)!(c=LL(h.Pb(),110)).c||c.c.d.c.length<=0||(b=c.b.pf(),m=c.e,(g=(p=c.c).i).b=(u=p.n,p.e.a+u.b+u.c),g.a=(l=p.n,p.e.b+l.d+l.a),yB(x,iCe),p.f=x,PK(p,(JK(),LBe)),g.c=m.a-(g.b-b.a)/2,_=r.Math.min(o,m.a),S=r.Math.max(v,m.a+b.a),g.c<_?g.c=_:g.c+g.b>S&&(g.c=S-g.b),RL(s.d,new $j(g,$8(s,g))),y=t==Det?r.Math.max(y,m.b+c.b.pf().b):r.Math.min(y,m.b));for(y+=t==Det?e.s:-e.s,(w=f7((s.e=y,s)))>0&&(LL(fV(e.b,t),121).a.b=w),f=d.Ic();f.Ob();)!(c=LL(f.Pb(),110)).c||c.c.d.c.length<=0||((g=c.c.i).c-=c.e.a,g.d-=c.e.b)}(e,t):owe(e,t):e.t.Fc(Met)&&(n?function(e,t){var n,i,o,a,s,l,u,c,f,h,d,p,g,m,b,v;if((f=LL(LL(KX(e.r,t),21),81)).gc()<=2||t==(hwe(),Oet)||t==(hwe(),Qet))return void Swe(e,t);for(m=e.t.Fc((iae(),Tet)),n=t==(hwe(),Det)?(h3(),xVe):(h3(),vVe),v=t==Det?(QZ(),VBe):(QZ(),HBe),i=Iw($R(n),e.s),b=t==Det?RSe:LSe,c=f.Ic();c.Ob();)!(l=LL(c.Pb(),110)).c||l.c.d.c.length<=0||(g=l.b.pf(),p=l.e,(d=(h=l.c).i).b=(a=h.n,h.e.a+a.b+a.c),d.a=(s=h.n,h.e.b+s.d+s.a),m?(d.c=p.a-(o=h.n,h.e.a+o.b+o.c)-e.s,m=!1):d.c=p.a+g.a+e.s,yB(v,iCe),h.f=v,PK(h,(JK(),LBe)),RL(i.d,new $j(d,$8(i,d))),b=t==Det?r.Math.min(b,p.b):r.Math.max(b,p.b+l.b.pf().b));for(b+=t==Det?-e.s:e.s,f7((i.e=b,i)),u=f.Ic();u.Ob();)!(l=LL(u.Pb(),110)).c||l.c.d.c.length<=0||((d=l.c.i).c-=l.e.a,d.d-=l.e.b)}(e,t):Swe(e,t))}function Xee(e){var t;OI(xfe(e,(fxe(),Y8e)))===OI((P8(),H7e))&&(rG(e)?(t=LL(xfe(rG(e),Y8e),332),Fte(e,Y8e,t)):Fte(e,Y8e,G7e))}function Yee(e,t,n){return new jV(r.Math.min(e.a,t.a)-n/2,r.Math.min(e.b,t.b)-n/2,r.Math.abs(e.a-t.a)+n,r.Math.abs(e.b-t.b)+n)}function Kee(e,t,n){var r,i,o;r=t.c.p,o=t.p,e.b[r][o]=new W$(e,t),n&&(e.a[r][o]=new Qp(t),(i=LL(Fae(t,(hxe(),xXe)),10))&&Yue(e.d,i,t))}function Zee(e,t,n){var r;if(!n[t.d])for(n[t.d]=!0,r=new td(A9(t));r.a<r.c.c.length;)Zee(e,k9(LL(xW(r),211),t),n)}function Qee(e){var t,n,i,o;for(t=0,n=0,o=new td(e.c);o.a<o.c.c.length;)R7(i=LL(xW(o),437)),t=r.Math.max(t,i.b),n+=i.c;e.b=t,e.d=n}function Jee(e){var t,n,r,i;for(i=0,n=0,r=e.length;n<r;n++)TG(n,e.length),(t=e.charCodeAt(n))>=64&&t<128&&(i=kH(i,xN(1,t-64)));return i}function ete(e,t,n,r){var i;if(t>=(i=e.length))return i;for(t=t>0?t:0;t<i&&!A3((TG(t,e.length),e.charCodeAt(t)),n,r);t++);return t}function tte(e,t){var n,r;for(r=e.c.length,t.length<r&&(t=yw(new Array(r),t)),n=0;n<r;++n)nB(t,n,e.c[n]);return t.length>r&&nB(t,r,null),t}function nte(e,t){var n,r;for(r=e.a.length,t.length<r&&(t=yw(new Array(r),t)),n=0;n<r;++n)nB(t,n,e.a[n]);return t.length>r&&nB(t,r,null),t}function rte(e){this.d=new $m,this.e=new Fq,this.c=fK(nat,sSe,24,(hwe(),q3(lw(att,1),VEe,61,0,[Zet,Det,Oet,Ket,Qet])).length,15,1),this.b=e}function ite(e){var t;this.d=new $m,this.j=new hx,this.g=new hx,t=e.g.b,this.f=LL(Fae(jB(t),(Kwe(),qZe)),108),this.e=Oy($O(Mte(t,CJe)))}function ote(e,t,n){var r;switch(r=n[e.g][t],e.g){case 1:case 3:return new YE(0,r);case 2:case 4:return new YE(r,0);default:return null}}function ate(e,t,n){var r,i,o,a;return null,r=null,(o=uye(C0(),t))&&(null,i=null,null!=(a=Kve(o,n))&&(i=e.Ze(o,a)),r=i),r}function ste(e,t,n){var r,i,o;return(i=LL(aB(e.e,t),382))?(o=bD(i,n),iA(e,i),o):(r=new OL(e,t,n),eV(e.e,t,r),MH(r),null)}function lte(e,t,n,r){var i,o;for(gce(),i=0,o=0;o<n;o++)i=o8(a8(SH(t[o],HSe),SH(r,HSe)),SH(QN(i),HSe)),e[o]=QN(i),i=_N(i,32);return QN(i)}function ute(e,t){var n,r;++e.j,null!=t&&function(e,t){var n,r,i;if(OI(e)===OI(t))return!0;if(null==e||null==t)return!1;if(e.length!=t.length)return!1;for(n=0;n<e.length;++n)if(r=e[n],i=t[n],!(OI(r)===OI(i)||null!=r&&l8(r,i)))return!1;return!0}(t,n=BT(r=e.a.Cb,96)?LL(r,96).Eg():null)?Tee(e.a,4,n):Tee(e.a,4,LL(t,124))}function cte(e,t){var n,r;if(GH(t,e.b),t>=e.b>>1)for(r=e.c,n=e.b;n>t;--n)r=r.b;else for(r=e.a.a,n=0;n<t;++n)r=r.a;return new GR(e,t,r)}function fte(){return mxe(),q3(lw(gVe,1),A_e,159,0,[fVe,cVe,hVe,nVe,tVe,rVe,aVe,oVe,iVe,uVe,lVe,sVe,JBe,QBe,eVe,KBe,YBe,ZBe,qBe,UBe,XBe,dVe])}function hte(e,t){var n,i,o,a;for(n=0,o=new td(t.a);o.a<o.c.c.length;)a=(i=LL(xW(o),10)).o.a+i.d.c+i.d.b+e.j,n=r.Math.max(n,a);return n}function dte(){dte=S,j6e=new xE("PARENTS",0),N6e=new xE("NODES",1),R6e=new xE("EDGES",2),F6e=new xE("PORTS",3),L6e=new xE("LABELS",4)}function pte(){pte=S,het=new OE("DISTRIBUTED",0),pet=new OE("JUSTIFIED",1),cet=new OE("BEGIN",2),fet=new OE(Jke,3),det=new OE("END",4)}function gte(e){var t;if(BT(e.a,4)){if(null==(t=fee(e.a)))throw Jm(new jy(UPe+e.b+"'. "+$Pe+(FO(Lnt),Lnt.k)+HPe));return t}return e.a}function mte(e){var t;if(null==e)return null;if(t=function(e){var t,n,r,i,o,a,s,l,u,c,f,h,d,p,g,m;if(Fme(),null==e)return null;if(o=BZ(e),p=function(e){var t,n,r;for(r=0,n=e.length,t=0;t<n;t++)32==e[t]||13==e[t]||10==e[t]||9==e[t]||(e[r++]=e[t]);return r}(o),p%4!=0)return null;if(0==(g=p/4|0))return fK(oat,rDe,24,0,15,1);for(f=null,t=0,n=0,r=0,i=0,a=0,s=0,l=0,u=0,d=0,h=0,c=0,f=fK(oat,rDe,24,3*g,15,1);d<g-1;d++){if(!(K_(a=o[c++])&&K_(s=o[c++])&&K_(l=o[c++])&&K_(u=o[c++])))return null;t=vot[a],n=vot[s],r=vot[l],i=vot[u],f[h++]=(t<<2|n>>4)<<24>>24,f[h++]=((15&n)<<4|r>>2&15)<<24>>24,f[h++]=(r<<6|i)<<24>>24}if(!K_(a=o[c++])||!K_(s=o[c++]))return null;if(t=vot[a],n=vot[s],l=o[c++],u=o[c++],-1==vot[l]||-1==vot[u])return 61==l&&61==u?0!=(15&n)?null:(Xbe(f,0,m=fK(oat,rDe,24,3*d+1,15,1),0,3*d),m[h]=(t<<2|n>>4)<<24>>24,m):61!=l&&61==u?0!=(3&(r=vot[l]))?null:(Xbe(f,0,m=fK(oat,rDe,24,3*d+2,15,1),0,3*d),m[h++]=(t<<2|n>>4)<<24>>24,m[h]=((15&n)<<4|r>>2&15)<<24>>24,m):null;r=vot[l],i=vot[u],f[h++]=(t<<2|n>>4)<<24>>24,f[h++]=((15&n)<<4|r>>2&15)<<24>>24,f[h++]=(r<<6|i)<<24>>24;return f}(Nbe(e,!0)),null==t)throw Jm(new Ky("Invalid base64Binary value: '"+e+"'"));return t}function bte(e,t){var n;n=e.Xc(t);try{return n.Pb()}catch(e){throw BT(e=v3(e),114)?Jm(new Ey("Can't get element "+t)):Jm(e)}}function vte(){vte=S,Jze=new Mk("NUM_OF_EXTERNAL_SIDES_THAN_NUM_OF_EXTENSIONS_LAST",0),Qze=new Mk("CORNER_CASES_THAN_SINGLE_SIDE_LAST",1)}function yte(e){switch(e.g){case 1:return A8(),d7e;case 4:return A8(),c7e;case 2:return A8(),f7e;case 3:return A8(),u7e}return A8(),h7e}function wte(e){var t,n,r;for(n=function(e){var t,n,r,i;for(n=new Hm,i=new td(e.d);i.a<i.c.c.length;)r=LL(xW(i),183),t=LL(r.Xe((hxe(),uXe)),18),rH(n.f,t)||eV(n,t,new m$(t)),RL(LL(PI(rH(n.f,t)),449).b,r);return new jR(new Wh(n))}(e),kT(n,lGe),(r=e.d).c=fK(pje,zxe,1,0,5,1),t=new td(n);t.a<t.c.c.length;)L3(r,LL(xW(t),449).b)}function xte(e,t,n){var r;if(e.c)UJ(e.c,e.c.i+t),qJ(e.c,e.c.j+n);else for(r=new td(e.b);r.a<r.c.c.length;)xte(LL(xW(r),157),t,n)}function _te(e){this.b=new $m,this.e=new $m,this.d=e,this.a=!zx(_V(new cj(null,new Cz(new fY(e.b))),new gd(new Gi))).sd((xS(),Fze))}function Ste(e,t){var n,r,i;(r=(i=t.d.i).k)!=(mse(),XHe)&&r!=GHe&&Zce(n=new xF(BA(g9(i).a.Ic(),new p)))&&eV(e.k,t,LL(dX(n),18))}function kte(e,t){var n,r,i;return r=VQ(e.Og(),t),(n=t-e.vh())<0?(i=e.Tg(r))>=0?e.gh(i):Wue(e,r):n<0?Wue(e,r):LL(r,65).Ij().Nj(e,e.th(),n)}function Cte(e){var t,n;for(!e.o&&(e.o=new EK((Hwe(),Xtt),ynt,e,0)),t=(n=e.o).c.Ic();t.e!=t.i.gc();)LL(t.ij(),43).bd();return lK(n)}function Ete(){Ete=S,fxe(),s$e=Y9e,t$e=U8e,KVe=P8e,n$e=v9e,wie(),o$e=lBe,i$e=aBe,a$e=cBe,r$e=oBe,H4(),QVe=WVe,ZVe=GVe,JVe=qVe,e$e=XVe}function Ite(e){switch(SS(),this.c=new $m,this.d=e,e.g){case 0:case 2:this.a=wV(FHe),this.b=RSe;break;case 3:case 1:this.a=FHe,this.b=LSe}}function Mte(e,t){var n,r;return r=null,ZP(e,(fxe(),J9e))&&(n=LL(Fae(e,J9e),94)).Ye(t)&&(r=n.Xe(t)),null==r&&jB(e)&&(r=Fae(jB(e),t)),r}function Tte(e,t){var n;return n=LL(Fae(e,(Kwe(),vQe)),74),eA(t,BHe)?n?s$(n):(n=new bv,S5(e,vQe,n)):n&&S5(e,vQe,null),n}function Ate(e,t){var n,r,i,o;for(v$(),n=e,o=t,BT(e,21)&&!BT(t,21)&&(n=t,o=e),i=n.Ic();i.Ob();)if(r=i.Pb(),o.Fc(r))return!1;return!0}function Pte(e,t,n){var r;t.a.length>0&&(RL(e.b,new ML(t.a,n)),0<(r=t.a.length)?t.a=t.a.substr(0,0):0>r&&(t.a+=JT(fK(tat,q_e,24,-r,15,1))))}function Ote(e,t){var n,r,i;for(n=e.o,i=LL(LL(KX(e.r,t),21),81).Ic();i.Ob();)(r=LL(i.Pb(),110)).e.a=Ire(r,n.a),r.e.b=n.b*Oy($O(r.b.Xe(bVe)))}function Dte(e){var t;return(t=new pw).a+="n",e.k!=(mse(),XHe)&&UI(UI((t.a+="(",t),JP(e.k).toLowerCase()),")"),UI((t.a+="_",t),Mre(e)),t.a}function Rte(e,t,n,r){var i;return n>=0?e.bh(t,n,r):(e.$g()&&(r=(i=e.Qg())>=0?e.Lg(r):e.$g().dh(e,-1-i,null,r)),e.Ng(t,n,r))}function Lte(e,t,n){var r,i;if(t>=(i=e.gc()))throw Jm(new WD(t,i));if(e.ci()&&(r=e.Vc(n))>=0&&r!=t)throw Jm(new Ny($De));return e.hi(t,n)}function Nte(e,t,n){var r,i,o,a;return-1!=(r=e.Vc(t))&&(e._i()?(o=e.aj(),a=Lre(e,r),i=e.Ui(4,a,null,r,o),n?n.zi(i):n=i):Lre(e,r)),n}function jte(e,t){switch(t){case 7:return!e.e&&(e.e=new nR(rnt,e,7,4)),void Ove(e.e);case 8:return!e.d&&(e.d=new nR(rnt,e,8,5)),void Ove(e.d)}m7(e,t)}function Fte(e,t,n){return null==n?(!e.o&&(e.o=new EK((Hwe(),Xtt),ynt,e,0)),uee(e.o,t)):(!e.o&&(e.o=new EK((Hwe(),Xtt),ynt,e,0)),Bie(e.o,t,n)),e}function zte(e,t){this.e=e,t<GSe?(this.d=1,this.a=q3(lw(nat,1),sSe,24,15,[0|t])):(this.d=2,this.a=q3(lw(nat,1),sSe,24,15,[t%GSe|0,t/GSe|0]))}function Bte(){Bte=S,CVe=new Lk(mCe,0),kVe=new Lk(bCe,1),EVe=new Lk(vCe,2),IVe=new Lk(yCe,3),CVe.a=!1,kVe.a=!0,EVe.a=!1,IVe.a=!0}function Vte(){Vte=S,jVe=new Fk(mCe,0),NVe=new Fk(bCe,1),FVe=new Fk(vCe,2),zVe=new Fk(yCe,3),jVe.a=!1,NVe.a=!0,FVe.a=!1,zVe.a=!0}function $te(e){var t,n,r;if(n=0,0==(r=Zde(e)).c.length)return 1;for(t=new td(r);t.a<t.c.c.length;)n+=$te(LL(xW(t),34));return n}function Hte(e,t,n,r){if(t.a<r.a)return!0;if(t.a==r.a){if(t.b<r.b)return!0;if(t.b==r.b&&e.b>n.b)return!0}return!1}function Gte(e,t){return LI(e)?!!Ixe[t]:e.cm?!!e.cm[t]:RI(e)?!!Exe[t]:!!DI(e)&&!!Cxe[t]}function Wte(e){var t;if(A4(e))return Sj(e),e.Gk()&&(t=Uue(e.e,e.b,e.c,e.a,e.j),e.j=t),e.g=e.a,++e.a,++e.c,e.i=0,e.j;throw Jm(new bb)}function Ute(e,t,n,r){var i,o,a;return o=VQ(e.Og(),t),(i=t-e.vh())<0?(a=e.Tg(o))>=0?e.Wg(a,n,!0):tce(e,o,n):LL(o,65).Ij().Kj(e,e.th(),i,n,r)}function qte(e,t,n,r){var i,o;n.hh(t)&&(tk(),rQ(t)?function(e,t){var n,r,i,o;for(r=0,i=t.gc();r<i;++r)BT(n=t.dl(r),97)&&0!=(LL(n,17).Bb&YOe)&&null!=(o=t.el(r))&&$ge(e,LL(o,55))}(e,LL(n.Xg(t),152)):(i=(o=t)?LL(r,48).sh(o):null)&&function(e,t){t.Wb(e)}(n.Xg(t),i))}function Xte(){Xte=S,fxe(),eHe=e9e,new cT(V8e,(_P(),!0)),nHe=new sT(10),new cT(v9e,nHe),Vre(),J$e=X$e,Z$e=W$e,Q$e=q$e,tHe=Y$e,K$e=G$e}function Yte(e){switch(typeof e){case Pxe:return ane(e);case Axe:return IH(e);case Txe:return _P(),e?1231:1237;default:return null==e?0:lP(e)}}function Kte(e){switch(e.g){case 0:return null;case 1:return new T1;case 2:return new Xv;default:throw Jm(new Ny(HAe+(null!=e.f?e.f:""+e.g)))}}function Zte(e){var t,n;if(null==e)return null;for(n=fK(KHe,s_e,213,e.length,0,2),t=0;t<n.length;t++)n[t]=LL(cZ(e[t],e[t].length),213);return n}function Qte(e,t){if(this.a=LL(wz(e),244),this.b=LL(wz(t),244),e.vd(t)>0||e==(Vv(),Sje)||t==($v(),kje))throw Jm(new Ny("Invalid range: "+lq(e,t)))}function Jte(e,t){if(null==e)throw Jm(new zy("null key in entry: null="+t));if(null==t)throw Jm(new zy("null value in entry: "+e+"=null"))}function ene(e,t){var n,r;if((r=Kre(e,t))>=0)return r;if(e.Ak())for(n=0;n<e.i;++n)if(OI(e.Bk(LL(e.g[n],55)))===OI(t))return n;return-1}function tne(e){var t,n;for(this.b=new $m,this.c=e,this.a=!1,n=new td(e.a);n.a<n.c.c.length;)t=LL(xW(n),10),this.a=this.a|t.k==(mse(),XHe)}function nne(e,t,n){var r,i,o;for(i=new xF(BA((t?p9(e):g9(e)).a.Ic(),new p));Zce(i);)r=LL(dX(i),18),(o=t?r.c.i:r.d.i).k==(mse(),UHe)&&OG(o,n)}function rne(){rne=S,i0e=new RC(bIe,0),o0e=new RC("PORT_POSITION",1),r0e=new RC("NODE_SIZE_WHERE_SPACE_PERMITS",2),n0e=new RC("NODE_SIZE",3)}function ine(){ine=S,e8e=new SE("AUTOMATIC",0),r8e=new SE(nCe,1),i8e=new SE(rCe,2),o8e=new SE("TOP",3),t8e=new SE(oCe,4),n8e=new SE(Jke,5)}function one(e,t){var n,r;if(kP(t>0),(t&-t)==t)return IH(t*Gfe(e,31)*4.656612873077393e-10);do{r=(n=Gfe(e,31))%t}while(n-r+(t-1)<0);return IH(r)}function ane(e){var t,n,r;return FD(),null!=(r=Vze[n=":"+e])?IH((wB(r),r)):(t=null==(r=Bze[n])?function(e){var t,n,r,i;t=0,r=e.length,i=r-4,n=0;for(;n<i;)TG(n+3,e.length),t=e.charCodeAt(n+3)+(TG(n+2,e.length),31*(e.charCodeAt(n+2)+(TG(n+1,e.length),31*(e.charCodeAt(n+1)+(TG(n,e.length),31*(e.charCodeAt(n)+31*t)))))),t|=0,n+=4;for(;n<r;)t=31*t+dV(e,n++);return t|=0}(e):IH((wB(r),r)),256==Hze&&(Bze=Vze,Vze=new a,Hze=0),++Hze,Vze[n]=t,t)}function sne(e,t,n){var i,o;for(o=0,i=0;i<NBe;i++)o=r.Math.max(o,n6(e.a[t.g][i],n));return t==(nJ(),TBe)&&e.b&&(o=r.Math.max(o,e.b.b)),o}function lne(e,t,n){try{return z_(EJ(e,t,n),1)}catch(r){throw BT(r=v3(r),318)?Jm(new Ey(_Ce+e.o+"*"+e.p+SCe+t+jxe+n+kCe)):Jm(r)}}function une(e,t,n){try{return z_(EJ(e,t,n),0)}catch(r){throw BT(r=v3(r),318)?Jm(new Ey(_Ce+e.o+"*"+e.p+SCe+t+jxe+n+kCe)):Jm(r)}}function cne(e,t,n){try{return z_(EJ(e,t,n),2)}catch(r){throw BT(r=v3(r),318)?Jm(new Ey(_Ce+e.o+"*"+e.p+SCe+t+jxe+n+kCe)):Jm(r)}}function fne(e,t,n){try{return lne(e,t+e.j,n+e.k)}catch(e){throw BT(e=v3(e),73)?Jm(new Ey(e.g+CCe+t+jxe+n+").")):Jm(e)}}function hne(e,t,n){try{return une(e,t+e.j,n+e.k)}catch(e){throw BT(e=v3(e),73)?Jm(new Ey(e.g+CCe+t+jxe+n+").")):Jm(e)}}function dne(e,t,n){try{return cne(e,t+e.j,n+e.k)}catch(e){throw BT(e=v3(e),73)?Jm(new Ey(e.g+CCe+t+jxe+n+").")):Jm(e)}}function pne(e,t,n){qoe(n,"Compound graph preprocessor",1),e.a=new yH,Xye(e,t,null),function(e,t){var n,r,i,o,a,s,l;for(a=aF(e.a).Ic();a.Ob();){if((o=LL(a.Pb(),18)).b.c.length>0)for(r=new jR(LL(KX(e.a,o),21)),v$(),kT(r,new Yd(t)),i=new eU(o.b,0);i.b<i.d.gc();){switch(EP(i.b<i.d.gc()),n=LL(i.d.Xb(i.c=i.b++),69),s=-1,LL(Fae(n,(Kwe(),QZe)),271).g){case 1:s=r.c.length-1;break;case 0:s=soe(r);break;case 2:s=0}-1!=s&&(MG(s,r.c.length),RL((l=LL(r.c[s],242)).b.b,n),LL(Fae(jB(l.b.c.i),(hxe(),mXe)),21).Dc((Kde(),Mqe)),LL(Fae(jB(l.b.c.i),mXe),21).Dc(Eqe),nV(i),S5(n,LXe,o))}PG(o,null),AG(o,null)}}(e,t),function(e){var t,n,r,i;for(r=new m4(new jh(e.b).a);r.b;)i=LL((n=kJ(r)).ad(),11),S5(t=LL(n.bd(),10),(hxe(),OXe),i),S5(i,BXe,t),S5(i,yXe,(_P(),!0)),mue(i,LL(Fae(t,dXe),61)),Fae(t,dXe),S5(i.i,(Kwe(),tJe),(joe(),wet)),LL(Fae(jB(i.i),mXe),21).Dc((Kde(),Oqe))}(e),S5(t,(hxe(),oXe),e.a),e.a=null,JF(e.b),_se(n)}function gne(e,t,n){var r,i;for(function(e,t,n){var r,i;for(i=new td(e.b);i.a<i.c.c.length;)$M(r=LL(xW(i),34),r.i+t,r.j+n)}(e,t-e.s,n-e.t),i=new td(e.n);i.a<i.c.c.length;)Ih(r=LL(xW(i),209),r.e+t-e.s),Mh(r,r.f+n-e.t);e.s=t,e.t=n}function mne(e){var t,n,r,i;for(n=0,r=new td(e.a);r.a<r.c.c.length;)LL(xW(r),119).d=n++;return t=function(e){var t,n,r,i;for(t=new $m,lz(n=fK(rat,Kke,24,e.a.c.length,16,1),n.length),i=new td(e.a);i.a<i.c.c.length;)n[(r=LL(xW(i),119)).d]||(t.c[t.c.length]=r,Zee(e,r,n));return t}(e),i=null,t.c.length>1&&(i=function(e,t){var n,r,i;for(n=dP(new jb,e),i=new td(t);i.a<i.c.c.length;)r=LL(xW(i),119),Yhe(mS(gS(bS(pS(new Nb,0),0),n),r));return n}(e,t)),i}function bne(e){var t;return e.f&&e.f.fh()&&(t=LL(e.f,48),e.f=LL(P6(e,t),93),e.f!=t&&0!=(4&e.Db)&&0==(1&e.Db)&&Y2(e,new NF(e,9,8,t,e.f))),e.f}function vne(e){var t;return e.i&&e.i.fh()&&(t=LL(e.i,48),e.i=LL(P6(e,t),93),e.i!=t&&0!=(4&e.Db)&&0==(1&e.Db)&&Y2(e,new NF(e,9,7,t,e.i))),e.i}function yne(e){var t;return e.b&&0!=(64&e.b.Db)&&(t=e.b,e.b=LL(P6(e,t),17),e.b!=t&&0!=(4&e.Db)&&0==(1&e.Db)&&Y2(e,new NF(e,9,21,t,e.b))),e.b}function wne(e,t){var n,r,i;null==e.d?(++e.e,++e.f):(r=t.Nh(),function(e,t){var n,r,i,o,a,s,l,u,c,f;if(++e.e,t>(l=null==e.d?0:e.d.length)){for(c=e.d,e.d=fK(Pnt,$Re,60,2*l+4,0,1),o=0;o<l;++o)if(u=c[o])for(r=u.g,f=u.i,s=0;s<f;++s)a=aD(e,(i=LL(r[s],133)).Nh()),!(n=e.d[a])&&(n=e.d[a]=e.pj()),n.Dc(i);return!0}}(e,e.f+1),i=(r&Dxe)%e.d.length,!(n=e.d[i])&&(n=e.d[i]=e.pj()),n.Dc(t),++e.f)}function xne(e,t,n){var r;return!t.Fj()&&(-2!=t.Uj()?null==(r=t.uj())?null==n:l8(r,n):t.Cj()==e.e.Og()&&null==n)}function _ne(){var e;k0(16,I_e),e=J0(16),this.b=fK(Ije,E_e,314,e,0,1),this.c=fK(Ije,E_e,314,e,0,1),this.a=null,this.e=null,this.i=0,this.f=e-1,this.g=0}function Sne(e){ID.call(this),this.k=(mse(),XHe),this.j=(k0(6,T_e),new LY(6)),this.b=(k0(2,T_e),new LY(2)),this.d=new lv,this.f=new uv,this.a=e}function kne(e){var t,n;e.c.length<=1||(fle(e,LL((t=epe(e,(hwe(),Ket))).a,20).a,LL(t.b,20).a),fle(e,LL((n=epe(e,Qet)).a,20).a,LL(n.b,20).a))}function Cne(){Cne=S,h0e=new LC("SIMPLE",0),u0e=new LC(PIe,1),c0e=new LC("LINEAR_SEGMENTS",2),l0e=new LC("BRANDES_KOEPF",3),f0e=new LC(aAe,4)}function Ene(e,t,n,r){var i;for(i=LL(KX(r?e.a:e.b,t),21).Ic();i.Ob();)if(gpe(e,n,LL(i.Pb(),34)))return!0;return!1}function Ine(e){var t,n;for(n=new SA(e);n.e!=n.i.gc();)if((t=LL(Hee(n),86)).e||0!=(!t.d&&(t.d=new hA(brt,t,1)),t.d).i)return!0;return!1}function Mne(e){var t,n;for(n=new SA(e);n.e!=n.i.gc();)if((t=LL(Hee(n),86)).e||0!=(!t.d&&(t.d=new hA(brt,t,1)),t.d).i)return!0;return!1}function Tne(){Tne=S,Lpe(),m6e=c6e,p6e=new sT(8),new cT((fxe(),v9e),p6e),new cT(r7e,8),g6e=l6e,h6e=Q4e,d6e=J4e,f6e=new cT(F8e,(_P(),!1))}function Ane(e,t,n,r){switch(t){case 7:return!e.e&&(e.e=new nR(rnt,e,7,4)),e.e;case 8:return!e.d&&(e.d=new nR(rnt,e,8,5)),e.d}return O9(e,t,n,r)}function Pne(e,t){if(-1==e.g)throw Jm(new wb);e.hj();try{e.d.Zc(e.g,t),e.f=e.d.j}catch(e){throw BT(e=v3(e),73)?Jm(new Sb):Jm(e)}}function One(e){var t;return e.a&&e.a.fh()&&(t=LL(e.a,48),e.a=LL(P6(e,t),138),e.a!=t&&0!=(4&e.Db)&&0==(1&e.Db)&&Y2(e,new NF(e,9,5,t,e.a))),e.a}function Dne(e){return e<48||e>102?-1:e<=57?e-48:e<65?-1:e<=70?e-65+10:e<97?-1:e-97+10}function Rne(e){var t;if(t=function(e){var t;for(wz(e),xR(!0,"numberToAdvance must be nonnegative"),t=0;t<0&&Zce(e);t++)dX(e);return t}(e),!Zce(e))throw Jm(new Ey("position (0) must be less than the number of elements that remained ("+t+")"));return dX(e)}function Lne(e,t){var n;return n=q3(lw(aat,1),BSe,24,15,[n6(e.a[0],t),n6(e.a[1],t),n6(e.a[2],t)]),e.d&&(n[0]=r.Math.max(n[0],n[2]),n[2]=n[0]),n}function Nne(e,t){var n;return n=q3(lw(aat,1),BSe,24,15,[r6(e.a[0],t),r6(e.a[1],t),r6(e.a[2],t)]),e.d&&(n[0]=r.Math.max(n[0],n[2]),n[2]=n[0]),n}function jne(e,t,n){mR(LL(Fae(t,(Kwe(),tJe)),100))||(eQ(e,t,jse(t,n)),eQ(e,t,jse(t,(hwe(),Ket))),eQ(e,t,jse(t,Det)),v$(),kT(t.j,new Yp(e)))}function Fne(e){var t,n;for(e.c||function(e){var t,n,i,o,a,s;if(o=new eU(e.e,0),i=new eU(e.a,0),e.d)for(n=0;n<e.b;n++)EP(o.b<o.d.gc()),o.d.Xb(o.c=o.b++);else for(n=0;n<e.b-1;n++)EP(o.b<o.d.gc()),o.d.Xb(o.c=o.b++),nV(o);t=Oy((EP(o.b<o.d.gc()),$O(o.d.Xb(o.c=o.b++))));for(;e.f-t>wAe;){for(a=t,s=0;r.Math.abs(t-a)<wAe;)++s,t=Oy((EP(o.b<o.d.gc()),$O(o.d.Xb(o.c=o.b++)))),EP(i.b<i.d.gc()),i.d.Xb(i.c=i.b++);s<e.b&&(EP(o.b>0),o.a.Xb(o.c=--o.b),Gme(e,e.b-s,a,i,o),EP(o.b<o.d.gc()),o.d.Xb(o.c=o.b++)),EP(i.b>0),i.a.Xb(i.c=--i.b)}if(!e.d)for(n=0;n<e.b-1;n++)EP(o.b<o.d.gc()),o.d.Xb(o.c=o.b++),nV(o);e.d=!0,e.c=!0}(e),n=new bv,xW(t=new td(e.a));t.a<t.c.c.length;)bN(n,LL(xW(t),402).a);return EP(0!=n.b),lJ(n,n.c.b),n}function zne(e,t,n){var r,i,o,a;for(a=0,r=n/e.a.c.length,o=new td(e.a);o.a<o.c.c.length;)gne(i=LL(xW(o),181),i.s,i.t+a*r),Bne(i,e.c-i.r+t,r),++a}function Bne(e,t,n){var r,i,o,a;for(a=e.r+t,e.r+=t,e.d+=n,r=n/e.n.c.length,i=0,o=new td(e.n);o.a<o.c.c.length;)zfe(LL(xW(o),209),a,r,i),++i}function Vne(e,t){var n,r,i;for(e.b[t.g]=1,r=cte(t.d,0);r.b!=r.d.c;)i=(n=LL(BU(r),188)).c,1==e.b[i.g]?bN(e.a,n):2==e.b[i.g]?e.b[i.g]=1:Vne(e,i)}function $ne(e,t){var n,r;for(r=i9(e,t).Ic();r.Ob();)if(null!=Fae(n=LL(r.Pb(),11),(hxe(),BXe))||bP(new fY(n.b)))return!0;return!1}function Hne(e,t,n){qoe(n,"Shrinking tree compaction",1),Ty(VO(Fae(t,(H2(),RVe))))?(!function(e,t){var n;n=new et,LL(t.b,63),LL(t.b,63),LL(t.b,63),uJ(t.a,new uL(e,n,t))}(e,t.f),$Z(t.f,t.c)):$Z(t.f,t.c),_se(n)}function Gne(e){switch(e.g){case 1:return hwe(),Qet;case 4:return hwe(),Det;case 3:return hwe(),Oet;case 2:return hwe(),Ket;default:return hwe(),Zet}}function Wne(e,t){var n,r,i,o,a,s;for(i=t.length-1,a=0,s=0,r=0;r<=i;r++)o=t[r],n=cse(i,r)*W6(1-e,i-r)*W6(e,r),a+=o.a*n,s+=o.b*n;return new YE(a,s)}function Une(e,t){var n,r,i,o,a;for(n=t.gc(),e.li(e.i+n),o=t.Ic(),a=e.i,e.i+=n,r=a;r<e.i;++r)i=o.Pb(),fA(e,r,e.ji(r,i)),e.Yh(r,i),e.Zh();return 0!=n}function qne(e,t,n,r,i,o,a,s){var l,u;r&&((l=r.a[0])&&qne(e,t,n,l,i,o,a,s),function(e,t,n,r,i,o,a){var s,l;if(t.Ae()&&((l=e.a.ue(n,r))<0||!i&&0==l))return!1;if(t.Be()&&((s=e.a.ue(n,o))>0||!a&&0==s))return!1;return!0}(e,n,r.d,i,o,a,s)&&t.Dc(r),(u=r.a[1])&&qne(e,t,n,u,i,o,a,s))}function Xne(e,t,n){try{jpe(e,t+e.j,n+e.k,!1,!0)}catch(e){throw BT(e=v3(e),73)?Jm(new Ey(e.g+CCe+t+jxe+n+").")):Jm(e)}}function Yne(e,t,n){try{jpe(e,t+e.j,n+e.k,!0,!1)}catch(e){throw BT(e=v3(e),73)?Jm(new Ey(e.g+CCe+t+jxe+n+").")):Jm(e)}}function Kne(e,t,n){qoe(n,"Linear segments node placement",1),e.b=LL(Fae(t,(hxe(),qXe)),302),function(e,t){var n,i,o,a,s,l,u,c,f,h,d,p,g,m,b,v,y,w,x,_,S,k,C,E,I,M,T,A,P,O;for(A=new $m,p=new td(t.b);p.a<p.c.c.length;)for(x=new td(LL(xW(p),29).a);x.a<x.c.c.length;){for((w=LL(xW(x),10)).p=-1,h=F_e,k=F_e,E=new td(w.j);E.a<E.c.c.length;){for(o=new td((C=LL(xW(E),11)).e);o.a<o.c.c.length;)n=LL(xW(o),18),I=LL(Fae(n,(Kwe(),hJe)),20).a,h=r.Math.max(h,I);for(i=new td(C.g);i.a<i.c.c.length;)n=LL(xW(i),18),I=LL(Fae(n,(Kwe(),hJe)),20).a,k=r.Math.max(k,I)}S5(w,F1e,k8(h)),S5(w,z1e,k8(k))}for(b=0,d=new td(t.b);d.a<d.c.c.length;)for(x=new td(LL(xW(d),29).a);x.a<x.c.c.length;)(w=LL(xW(x),10)).p<0&&((T=new Jb).b=b++,Vpe(e,w,T),A.c[A.c.length]=T);for(S=$P(A.c.length),f=$P(A.c.length),s=0;s<A.c.length;s++)RL(S,new $m),RL(f,k8(0));for(function(e,t,n,r){var i,o,a,s,l,u,c,f,h,d,p,g,m,b,v;for(d=t.c.length,h=0,f=new td(e.b);f.a<f.c.c.length;)if(0!=(b=(c=LL(xW(f),29)).a).c.length){for(u=0,v=null,i=LL(xW(m=new td(b)),10),o=null;i;){if((o=LL(JN(t,i.p),256)).c>=0){for(l=null,s=new eU(c.a,u+1);s.b<s.d.gc()&&(EP(s.b<s.d.gc()),a=LL(s.d.Xb(s.c=s.b++),10),!((l=LL(JN(t,a.p),256)).d==o.d&&l.c<o.c));)l=null;l&&(v&&(mX(r,i.p,k8(LL(JN(r,i.p),20).a-1)),LL(JN(n,v.p),14).Kc(o)),o=Zoe(o,i,d++),t.c[t.c.length]=o,RL(n,new $m),v?(LL(JN(n,v.p),14).Dc(o),RL(r,k8(1))):RL(r,k8(0)))}p=null,m.a<m.c.c.length&&(p=LL(xW(m),10),g=LL(JN(t,p.p),256),LL(JN(n,i.p),14).Dc(g),mX(r,p.p,k8(LL(JN(r,p.p),20).a+1))),o.d=h,o.c=u++,v=i,i=p}++h}}(t,A,S,f),P=LL(tte(A,fK(V1e,pAe,256,A.c.length,0,1)),819),_=LL(tte(S,fK(xje,ZCe,14,S.c.length,0,1)),192),c=fK(nat,sSe,24,f.c.length,15,1),l=0;l<c.length;l++)c[l]=(MG(l,f.c.length),LL(f.c[l],20)).a;for(v=0,y=new $m,u=0;u<P.length;u++)0==c[u]&&RL(y,P[u]);m=fK(nat,sSe,24,P.length,15,1);for(;0!=y.c.length;)for(m[(T=LL(eY(y,0),256)).b]=v++;!_[T.b].dc();)--c[(O=LL(_[T.b].Yc(0),256)).b],0==c[O.b]&&(y.c[y.c.length]=O);for(e.a=fK(V1e,pAe,256,P.length,0,1),a=0;a<P.length;a++)for(g=P[a],M=m[a],e.a[M]=g,g.b=M,x=new td(g.e);x.a<x.c.c.length;)(w=LL(xW(x),10)).p=M;e.a}(e,t),function(e,t){var n,i,o,a,s,l,u,c,f,h,d,p,g,m;for(l=fK(nat,sSe,24,t.b.c.length,15,1),c=fK(QHe,A_e,266,t.b.c.length,0,1),u=fK(KHe,YEe,10,t.b.c.length,0,1),h=e.a,d=0,p=h.length;d<p;++d){for(m=0,s=new td((f=h[d]).e);s.a<s.c.c.length;)++l[i=OM((o=LL(xW(s),10)).c)],g=Oy($O(Fae(t,(Kwe(),yJe)))),l[i]>0&&u[i]&&(g=AT(e.b,u[i],o)),m=r.Math.max(m,o.c.c.b+g);for(a=new td(f.e);a.a<a.c.c.length;)(o=LL(xW(a),10)).n.b=m+o.d.d,(n=o.c).c.b=m+o.d.d+o.o.b+o.d.a,c[vZ(n.b.b,n,0)]=o.k,u[vZ(n.b.b,n,0)]=o}}(e,t),function(e,t){var n,i,o,a,s,l,u,c,f,h,d,p,g,m,b,v,y,w,x,_,S;i=Oy($O(Fae(t,(Kwe(),NQe)))),x=LL(Fae(t,DJe),20).a,h=4,o=3,_=20/x,d=!1,u=0,s=Dxe;do{for(a=1!=u,f=0!=u,S=0,v=0,w=(m=e.a).length;v<w;++v)(p=m[v]).f=null,Zye(e,p,a,f,i),S+=r.Math.abs(p.a);do{l=gme(e,t)}while(l);for(b=0,y=(g=e.a).length;b<y;++b)if(0!=(n=WF(p=g[b]).a))for(c=new td(p.e);c.a<c.c.c.length;)LL(xW(c),10).n.b+=n;0==u||1==u?--h<=0&&(S<s||-h>x)?(u=2,s=Dxe):0==u?(u=1,s=S):(u=0,s=S):(d=S>=s||s-S<_,s=S,d&&--o)}while(!(d&&o<=0))}(e,t),function(e){var t,n,i,o,a,s,l,u,c,f,h,d,p,g,m,b,v,y,w,x,_,S,k,C,E;for(y=e.a,w=0,x=y.length;w<x;++w){for(v=y[w],u=Dxe,c=Dxe,p=new td(v.e);p.a<p.c.c.length;)(a=(h=LL(xW(p),10)).c?vZ(h.c.a,h,0):-1)>0?(f=LL(JN(h.c.a,a-1),10),k=AT(e.b,h,f),m=h.n.b-h.d.d-(f.n.b+f.o.b+f.d.a+k)):m=h.n.b-h.d.d,u=r.Math.min(m,u),a<h.c.a.c.length-1?(f=LL(JN(h.c.a,a+1),10),k=AT(e.b,h,f),b=f.n.b-f.d.d-(h.n.b+h.o.b+h.d.a+k)):b=2*h.n.b,c=r.Math.min(b,c);for(l=Dxe,o=!1,E=new td((i=LL(JN(v.e,0),10)).j);E.a<E.c.c.length;)for(C=LL(xW(E),11),g=i.n.b+C.n.b+C.a.b,n=new td(C.e);n.a<n.c.c.length;)t=(_=LL(xW(n),18).c).i.n.b+_.n.b+_.a.b-g,r.Math.abs(t)<r.Math.abs(l)&&r.Math.abs(t)<(t<0?u:c)&&(l=t,o=!0);for(S=new td((s=LL(JN(v.e,v.e.c.length-1),10)).j);S.a<S.c.c.length;)for(_=LL(xW(S),11),g=s.n.b+_.n.b+_.a.b,n=new td(_.g);n.a<n.c.c.length;)t=(C=LL(xW(n),18).d).i.n.b+C.n.b+C.a.b-g,r.Math.abs(t)<r.Math.abs(l)&&r.Math.abs(t)<(t<0?u:c)&&(l=t,o=!0);if(o&&0!=l)for(d=new td(v.e);d.a<d.c.c.length;)(h=LL(xW(d),10)).n.b+=l}}(e),e.a=null,e.b=null,_se(n)}function Zne(e,t){var n,r;if(n=LL(cJ(e.g,t),34))return n;if(r=LL(cJ(e.j,t),122))return r;throw Jm(new Yy("Referenced shape does not exist: "+t))}function Qne(e,t){var n,r,i,o;for(o=e.gc(),t.length<o&&(t=yw(new Array(o),t)),i=t,r=e.Ic(),n=0;n<o;++n)nB(i,n,r.Pb());return t.length>o&&nB(t,o,null),t}function Jne(e,t){var n,r,i;return n=t.ad(),i=t.bd(),r=e.vc(n),!!(OI(i)===OI(r)||null!=i&&l8(i,r))&&!(null==r&&!e._b(n))}function ere(e,t,n,r){var i,o;this.a=t,this.c=r,function(e,t){e.b=t}(this,new YE(-(i=e.a).c,-i.d)),BD(this.b,n),o=r/2,t.a?rO(this.b,0,o):rO(this.b,o,0),RL(e.c,this)}function tre(e,t){if(e.c==t)return e.d;if(e.d==t)return e.c;throw Jm(new Ny("Node 'one' must be either source or target of edge 'edge'."))}function nre(e,t){if(e.c.i==t)return e.d.i;if(e.d.i==t)return e.c.i;throw Jm(new Ny("Node "+t+" is neither source nor target of edge "+e))}function rre(){rre=S,_5e=new mE(bIe,0),w5e=new mE(DIe,1),x5e=new mE("EDGE_LENGTH_BY_POSITION",2),y5e=new mE("CROSSING_MINIMIZATION_BY_POSITION",3)}function ire(e){var t;if(!e.C&&(null!=e.D||null!=e.B))if(t=function(e){var t,n,r,i;if(n=null!=e.D?e.D:e.B,-1!=(t=SM(n,bae(91)))){r=n.substr(0,t),i=new hw;do{i.a+="["}while(-1!=(t=FP(n,91,++t)));fR(r,Txe)?i.a+="Z":fR(r,cLe)?i.a+="B":fR(r,fLe)?i.a+="C":fR(r,hLe)?i.a+="D":fR(r,dLe)?i.a+="F":fR(r,pLe)?i.a+="I":fR(r,gLe)?i.a+="J":fR(r,mLe)?i.a+="S":(i.a+="L",i.a+=""+r,i.a+=";");try{return null}catch(e){if(!BT(e=v3(e),59))throw Jm(e)}}else if(-1==SM(n,bae(46))){if(fR(n,Txe))return rat;if(fR(n,cLe))return oat;if(fR(n,fLe))return tat;if(fR(n,hLe))return aat;if(fR(n,dLe))return sat;if(fR(n,pLe))return nat;if(fR(n,gLe))return iat;if(fR(n,mLe))return lat}return null}(e),t)e.tk(t);else try{e.tk(null)}catch(e){if(!BT(e=v3(e),59))throw Jm(e)}return e.C}function ore(e,t){var n;switch(t.g){case 2:case 4:n=e.a,e.c.d.n.b<n.d.n.b&&(n=e.c),qF(e,t,(S3(),$We),n);break;case 1:case 3:qF(e,t,(S3(),zWe),null)}}function are(e,t,n,r,i,o){var a,s,l,u,c;for(a=function(e,t,n){var r,i;switch(i=e.b,r=i.d,t.g){case 1:return-r.d-n;case 2:return i.o.a+r.c+n;case 3:return i.o.b+r.a+n;case 4:return-r.b-n;default:return-1}}(t,n,o),s=n==(hwe(),Det)||n==Qet?-1:1,u=e[n.g],c=0;c<u.length;c++)(l=u[c])>0&&(l+=i),u[c]=a,a+=s*(l+r)}function sre(e){var t,n,r;for(r=e.f,e.n=fK(aat,BSe,24,r,15,1),e.d=fK(aat,BSe,24,r,15,1),t=0;t<r;t++)n=LL(JN(e.c.b,t),29),e.n[t]=hte(e,n),e.d[t]=Ihe(e,n)}function lre(e,t){var n,r,i;for(i=0,r=2;r<t;r<<=1)0!=(e.Db&r)&&++i;if(0==i){for(n=t<<=1;n<=128;n<<=1)if(0!=(e.Db&n))return 0;return-1}return i}function ure(e,t){var n,r,i,o,a;for(a=ade(e.e.Og(),t),o=null,n=LL(e.g,118),i=0;i<e.i;++i)r=n[i],a.ml(r.Xj())&&(!o&&(o=new sl),AK(o,r));o&&Owe(e,o)}function cre(e){var t,n;if(!e)return null;if(e.dc())return"";for(n=new hw,t=e.Ic();t.Ob();)HI(n,HO(t.Pb())),n.a+=" ";return bM(n,n.a.length-1)}function fre(e,t,n){var r,i,o,a;for(F5(e),null==e.k&&(e.k=fK(Lje,s_e,78,0,0,1)),i=0,o=(r=e.k).length;i<o;++i)fre(r[i],t,"\t"+n);(a=e.f)&&fre(a,t,n)}function hre(e,t){var n,r=new Array(t);switch(e){case 14:case 15:n=0;break;case 16:n=!1;break;default:return r}for(var i=0;i<t;++i)r[i]=n;return r}function dre(e){var t;for(t=new td(e.a.b);t.a<t.c.c.length;)LL(xW(t),56).c.$b();uJ(LM(e.d)?e.a.c:e.a.d,new Dd(e)),e.c.Me(e),Ode(e)}function pre(e){var t,n,r;for(n=new td(e.e.c);n.a<n.c.c.length;){for(r=new td((t=LL(xW(n),281)).b);r.a<r.c.c.length;)Lbe(LL(xW(r),441));gue(t)}}function gre(e,t){var n;return n=q3(lw(aat,1),BSe,24,15,[sne(e,(nJ(),MBe),t),sne(e,TBe,t),sne(e,ABe,t)]),e.f&&(n[0]=r.Math.max(n[0],n[2]),n[2]=n[0]),n}function mre(e){var t;ZP(e,(Kwe(),OQe))&&((t=LL(Fae(e,OQe),21)).Fc((Sfe(),J7e))?(t.Kc(J7e),t.Dc(tet)):t.Fc(tet)&&(t.Kc(tet),t.Dc(J7e)))}function bre(e){var t;ZP(e,(Kwe(),OQe))&&((t=LL(Fae(e,OQe),21)).Fc((Sfe(),aet))?(t.Kc(aet),t.Dc(iet)):t.Fc(iet)&&(t.Kc(iet),t.Dc(aet)))}function vre(e,t,n,r){var i,o;for(i=t;i<e.c.length;i++){if(MG(i,e.c.length),o=LL(e.c[i],11),!n.Mb(o))return i;r.c[r.c.length]=o}return e.c.length}function yre(e,t,n,r){var i,o,a;return null==e.a&&function(e,t){var n,r,i,o;for(o=t.b.j,e.a=fK(nat,sSe,24,o.c.length,15,1),i=0,r=0;r<o.c.length;r++)MG(r,o.c.length),0==(n=LL(o.c[r],11)).e.c.length&&0==n.g.c.length?i+=1:i+=3,e.a[r]=i}(e,t),a=t.b.j.c.length,o=n.d.p,(i=r.d.p-1)<0&&(i=a-1),o<=i?e.a[i]-e.a[o]:e.a[a-1]-e.a[o]+e.a[i]}function wre(e){var t,n;if(!e.a)for(e.a=pW(_$(LL(e.f,34)).i),n=new SA(_$(LL(e.f,34)));n.e!=n.i.gc();)t=LL(Hee(n),34),RL(e.a,new PP(e,t));return e.a}function xre(e,t){var n,i,o;for(o=new hx,i=e.Ic();i.Ob();)oge(n=LL(i.Pb(),38),o.a,0),o.a+=n.f.a+t,o.b=r.Math.max(o.b,n.f.b);return o.b>0&&(o.b+=t),o}function _re(e,t){var n,i,o;for(o=new hx,i=e.Ic();i.Ob();)oge(n=LL(i.Pb(),38),0,o.b),o.b+=n.f.b+t,o.a=r.Math.max(o.a,n.f.a);return o.a>0&&(o.a+=t),o}function Sre(e,t){var n,r;if(0==t.length)return 0;for(n=hB(e.a,t[0],(hwe(),Qet)),n+=hB(e.a,t[t.length-1],Oet),r=0;r<t.length;r++)n+=tse(e,r,t);return n}function kre(){gde(),this.c=new $m,this.i=new $m,this.e=new qM,this.f=new qM,this.g=new qM,this.j=new $m,this.a=new $m,this.b=new Hm,this.k=new Hm}function Cre(e,t){var n;return e.Db>>16==6?e.Cb.dh(e,5,lnt,t):(n=yne(LL(VQ(LL(n3(e,16),26)||e.uh(),e.Db>>16),17)),e.Cb.dh(e,n.n,n.f,t))}function Ere(e){var t,n,i;e.b==e.c&&(i=e.a.length,n=y5(r.Math.max(8,i))<<1,0!=e.b?(u1(e,t=wD(e.a,n),i),e.a=t,e.b=0):Tb(e.a,n),e.c=i)}function Ire(e,t){var n;return(n=e.b).Ye((fxe(),P9e))?n.Ef()==(hwe(),Qet)?-n.pf().a-Oy($O(n.Xe(P9e))):t+Oy($O(n.Xe(P9e))):n.Ef()==(hwe(),Qet)?-n.pf().a:t}function Mre(e){var t;return 0!=e.b.c.length&&LL(JN(e.b,0),69).a?LL(JN(e.b,0),69).a:null!=(t=$V(e))?t:""+(e.c?vZ(e.c.a,e,0):-1)}function Tre(e){var t;return 0!=e.f.c.length&&LL(JN(e.f,0),69).a?LL(JN(e.f,0),69).a:null!=(t=$V(e))?t:""+(e.i?vZ(e.i.j,e,0):-1)}function Are(e,t){var n,r;if(t<0||t>=e.gc())return null;for(n=t;n<e.gc();++n)if(r=LL(e.Xb(n),128),n==e.gc()-1||!r.o)return new KE(k8(n),r);return null}function Pre(e,t,n){var r,i,o,a;for(o=e.c,r=n?e:t,i=(n?t:e).p+1;i<r.p;++i)if((a=LL(JN(o.a,i),10)).k!=(mse(),GHe)&&!gie(a))return!1;return!0}function Ore(e,t,n,r){return 0==t?r?(!e.o&&(e.o=new EK((Hwe(),Xtt),ynt,e,0)),e.o):(!e.o&&(e.o=new EK((Hwe(),Xtt),ynt,e,0)),lK(e.o)):Ute(e,t,n,r)}function Dre(e){var t,n;if(e.rb)for(t=0,n=e.rb.i;t<n;++t)WP(sJ(e.rb,t));if(e.vb)for(t=0,n=e.vb.i;t<n;++t)WP(sJ(e.vb,t));Yj((vle(),Sit),e),e.Bb|=1}function Rre(e,t,n,r,i,o,a,s,l,u,c,f,h,d){return Kle(e,t,r,null,i,o,a,s,l,u,h,!0,d),t9(e,c),BT(e.Cb,87)&&sue(VX(LL(e.Cb,87)),2),n&&s1(e,n),r9(e,f),e}function Lre(e,t){var n,r;if(t>=e.i)throw Jm(new cM(t,e.i));return++e.j,n=e.g[t],(r=e.i-t-1)>0&&Xbe(e.g,t+1,e.g,t,r),nB(e.g,--e.i,null),e.ai(t,n),e.Zh(),n}function Nre(e,t){var n,r;n=e.Xc(t);try{return r=n.Pb(),n.Qb(),r}catch(e){throw BT(e=v3(e),114)?Jm(new Ey("Can't remove element "+t)):Jm(e)}}function jre(e,t){var n,r,i;return!((i=e.h-t.h)<0)&&(n=e.l-t.l,!((i+=(r=e.m-t.m+(n>>22))>>22)<0)&&(e.l=n&SSe,e.m=r&SSe,e.h=i&kSe,!0))}function Fre(e,t,n){var r,i;return g6(i=new Tv,t),O1(i,n),AK((!e.c&&(e.c=new FF(yrt,e,12,10)),e.c),i),e0(r=i,0),t0(r,1),m8(r,!0),w8(r,!0),r}function zre(e,t){var n;return e.Db>>16==17?e.Cb.dh(e,21,hrt,t):(n=yne(LL(VQ(LL(n3(e,16),26)||e.uh(),e.Db>>16),17)),e.Cb.dh(e,n.n,n.f,t))}function Bre(e){var t,n,r,i,o;for(i=Dxe,o=null,r=new td(e.d);r.a<r.c.c.length;)(n=LL(xW(r),211)).d.j^n.e.j&&(t=n.e.e-n.d.e-n.a)<i&&(i=t,o=n);return o}function Vre(){Vre=S,X$e=new uM(EEe,(_P(),!1)),G$e=new uM(IEe,100),AZ(),W$e=new uM(MEe,U$e=iHe),q$e=new uM(TEe,uEe),Y$e=new uM(AEe,k8(Dxe))}function $re(e,t,n){if(n&&(t<0||t>n.a.c.length))throw Jm(new Ny("index must be >= 0 and <= layer node count"));e.c&&yZ(e.c.a,e),e.c=n,n&&Mj(n.a,t,e)}function Hre(e,t,n){var r,i,o,a,s,l;for(l=0,i=0,o=(r=e.a[t]).length;i<o;++i)for(s=c8(r[i],n).Ic();s.Ob();)a=LL(s.Pb(),11),eV(e.f,a,k8(l++))}function Gre(e){var t;return Zae(),fZ(t=LL(Qne(aF(e.k),fK(att,VEe,61,2,0,1)),120),0,t.length,null),t[0]==(hwe(),Det)&&t[1]==Qet&&(nB(t,0,Qet),nB(t,1,Det)),t}function Wre(e,t,n){var r,i,o;return i=function(e,t,n){var r,i,o,a,s,l,u;for(u=new Xx(new sg(e)),a=q3(lw(aGe,1),KEe,11,0,[t,n]),s=0,l=a.length;s<l;++s)for(o=a[s],P5(u.a,o,(_P(),nFe)),i=new fY(o.b);CT(i.a)||CT(i.b);)(r=LL(CT(i.a)?xW(i.a):xW(i.b),18)).c==r.d||Iz(u,o==r.c?r.d:r.c);return wz(u),new jR(u)}(e,t,n),o=qde(e,i),qK(e.b),_W(e,t,n),v$(),kT(i,new ig(e)),r=qde(e,i),qK(e.b),_W(e,n,t),new KE(k8(o),k8(r))}function Ure(){Ure=S,j1e=jN(new wU,(zae(),gHe),(pxe(),NGe)),F1e=new JO("linearSegments.inputPrio",k8(0)),z1e=new JO("linearSegments.outputPrio",k8(0))}function qre(){qre=S,M2e=new oE("P1_TREEIFICATION",0),T2e=new oE("P2_NODE_ORDERING",1),A2e=new oE("P3_NODE_PLACEMENT",2),P2e=new oE("P4_EDGE_ROUTING",3)}function Xre(e,t){var n,r;n=LL(xfe(t,(MO(),R3e)),34),e.f=n,e.a=Kte(LL(xfe(t,($4(),m5e)),293)),Eh(e,(wB(r=$O(xfe(t,(fxe(),r7e)))),r)),N4(e,Zde(n))}function Yre(){Yre=S,Y7e=new AE("UNKNOWN",0),U7e=new AE("ABOVE",1),q7e=new AE("BELOW",2),X7e=new AE("INLINE",3),new JO("org.eclipse.elk.labelSide",Y7e)}function Kre(e,t){var n;if(e.ii()&&null!=t){for(n=0;n<e.i;++n)if(l8(t,e.g[n]))return n}else for(n=0;n<e.i;++n)if(OI(e.g[n])===OI(t))return n;return-1}function Zre(e,t){var n,r,i;for(r=new xF(BA(d9(e).a.Ic(),new p));Zce(r);)return n=LL(dX(r),18),new Rf(wz((i=LL(t.Kb(n),10)).n.b+i.o.b/2));return Bv(),Bv(),mje}function Qre(e,t){this.c=new Hm,this.a=e,this.b=t,this.d=LL(Fae(e,(hxe(),qXe)),302),OI(Fae(e,(Kwe(),DQe)))===OI((lZ(),aqe))?this.e=new hv:this.e=new fv}function Jre(e,t){var n,r;return r=null,e.Ye((fxe(),J9e))&&(n=LL(e.Xe(J9e),94)).Ye(t)&&(r=n.Xe(t)),null==r&&e.wf()&&(r=e.wf().Xe(t)),null==r&&(r=gte(t)),r}function eie(e,t){var n,r,i;for(wB(t),kP(t!=e),i=e.b.c.length,r=t.Ic();r.Ob();)n=r.Pb(),RL(e.b,wB(n));return i!=e.b.c.length&&(S4(e,0),!0)}function tie(e,t,n,r){var i,o,a;for(OG(t,LL(r.Xb(0),29)),a=r._c(1,r.gc()),o=LL(n.Kb(t),19).Ic();o.Ob();)tie(e,(i=LL(o.Pb(),18)).c.i==t?i.d.i:i.c.i,n,a)}function nie(e,t){var n;return e.Db>>16==6?e.Cb.dh(e,6,rnt,t):(n=yne(LL(VQ(LL(n3(e,16),26)||(Hwe(),Htt),e.Db>>16),17)),e.Cb.dh(e,n.n,n.f,t))}function rie(e,t){var n;return e.Db>>16==7?e.Cb.dh(e,1,ent,t):(n=yne(LL(VQ(LL(n3(e,16),26)||(Hwe(),Wtt),e.Db>>16),17)),e.Cb.dh(e,n.n,n.f,t))}function iie(e,t){var n;return e.Db>>16==9?e.Cb.dh(e,9,cnt,t):(n=yne(LL(VQ(LL(n3(e,16),26)||(Hwe(),qtt),e.Db>>16),17)),e.Cb.dh(e,n.n,n.f,t))}function oie(e,t){var n;return e.Db>>16==5?e.Cb.dh(e,9,grt,t):(n=yne(LL(VQ(LL(n3(e,16),26)||(bxe(),Ort),e.Db>>16),17)),e.Cb.dh(e,n.n,n.f,t))}function aie(e,t){var n;return e.Db>>16==7?e.Cb.dh(e,6,lnt,t):(n=yne(LL(VQ(LL(n3(e,16),26)||(bxe(),Vrt),e.Db>>16),17)),e.Cb.dh(e,n.n,n.f,t))}function sie(e,t){var n;return e.Db>>16==3?e.Cb.dh(e,0,ont,t):(n=yne(LL(VQ(LL(n3(e,16),26)||(bxe(),Crt),e.Db>>16),17)),e.Cb.dh(e,n.n,n.f,t))}function lie(e,t){var n;return e.Db>>16==3?e.Cb.dh(e,12,cnt,t):(n=yne(LL(VQ(LL(n3(e,16),26)||(Hwe(),$tt),e.Db>>16),17)),e.Cb.dh(e,n.n,n.f,t))}function uie(){this.a=new al,this.g=new _ne,this.j=new _ne,this.b=new Hm,this.d=new _ne,this.i=new _ne,this.k=new Hm,this.c=new Hm,this.e=new Hm,this.f=new Hm}function cie(e,t){var n,r;if(t){if(t==e)return!0;for(n=0,r=LL(t,48).$g();r&&r!=t;r=r.$g()){if(++n>VSe)return cie(e,r);if(r==e)return!0}}return!1}function fie(e){var t;return 0==(1&e.Bb)&&e.r&&e.r.fh()&&(t=LL(e.r,48),e.r=LL(P6(e,t),138),e.r!=t&&0!=(4&e.Db)&&0==(1&e.Db)&&Y2(e,new NF(e,9,8,t,e.r))),e.r}function hie(e,t){var n;return NI(e)&&NI(t)&&TSe<(n=e/t)&&n<ISe?n<0?r.Math.ceil(n):r.Math.floor(n):L2(Bve(NI(e)?o3(e):e,NI(t)?o3(t):t,!1))}function die(e,t,n){var i;return i=q3(lw(aat,1),BSe,24,15,[_ae(e,(nJ(),MBe),t,n),_ae(e,TBe,t,n),_ae(e,ABe,t,n)]),e.f&&(i[0]=r.Math.max(i[0],i[2]),i[2]=i[0]),i}function pie(e,t){var n,r,i;if(i=function(e,t){var n,r,i;for(i=new LY(t.gc()),r=t.Ic();r.Ob();)(n=LL(r.Pb(),285)).c==n.f?sle(e,n,n.c):ele(e,n)||(i.c[i.c.length]=n);return i}(e,t),0!=i.c.length)for(kT(i,new Zn),n=i.c.length,r=0;r<n;r++)sle(e,(MG(r,i.c.length),LL(i.c[r],285)),tpe(e,i,r))}function gie(e){var t,n;if(e.k==(mse(),qHe))for(n=new xF(BA(d9(e).a.Ic(),new p));Zce(n);)if(!NX(t=LL(dX(n),18))&&e.c==Wie(t,e).c)return!0;return!1}function mie(e,t){var n;return e.Db>>16==11?e.Cb.dh(e,10,cnt,t):(n=yne(LL(VQ(LL(n3(e,16),26)||(Hwe(),Utt),e.Db>>16),17)),e.Cb.dh(e,n.n,n.f,t))}function bie(e,t){var n;return e.Db>>16==10?e.Cb.dh(e,11,hrt,t):(n=yne(LL(VQ(LL(n3(e,16),26)||(bxe(),zrt),e.Db>>16),17)),e.Cb.dh(e,n.n,n.f,t))}function vie(e,t){var n;return e.Db>>16==10?e.Cb.dh(e,12,vrt,t):(n=yne(LL(VQ(LL(n3(e,16),26)||(bxe(),$rt),e.Db>>16),17)),e.Cb.dh(e,n.n,n.f,t))}function yie(e,t){var n,r,i,o,a,s;return(a=e.h>>19)!=(s=t.h>>19)?s-a:(r=e.h)!=(o=t.h)?r-o:(n=e.m)!=(i=t.m)?n-i:e.l-t.l}function wie(){wie=S,Epe(),cBe=new uM(Hke,fBe=wBe),NQ(),lBe=new uM(Gke,uBe=nBe),vte(),aBe=new uM(Wke,sBe=Jze),oBe=new uM(Uke,(_P(),!0))}function xie(e,t,n){var r,i;r=t*n,BT(e.g,145)?(i=VU(e)).f.d?i.f.a||(e.d.a+=r+lCe):(e.d.d-=r+lCe,e.d.a+=r+lCe):BT(e.g,10)&&(e.d.d-=r,e.d.a+=2*r)}function _ie(e,t,n){var i,o,a,s,l;for(o=e[n.g],l=new td(t.d);l.a<l.c.c.length;)(a=(s=LL(xW(l),101)).i)&&a.i==n&&(o[i=s.d[n.g]]=r.Math.max(o[i],a.j.b))}function Sie(e){var t,n,i,o;for(o=0,t=0,i=new td(e.c);i.a<i.c.c.length;)UJ(n=LL(xW(i),34),e.e+o),qJ(n,e.f),o+=n.g+e.b,t=r.Math.max(t,n.f+e.b);e.d=o,e.a=t}function kie(e){var t,n;if(e.k==(mse(),qHe))for(n=new xF(BA(d9(e).a.Ic(),new p));Zce(n);)if(!NX(t=LL(dX(n),18))&&t.c.i.c==t.d.i.c)return!0;return!1}function Cie(e){var t,n,r;if(r=e.b,V_(e.i,r.length)){for(n=2*r.length,e.b=fK(Ije,E_e,314,n,0,1),e.c=fK(Ije,E_e,314,n,0,1),e.f=n-1,e.i=0,t=e.a;t;t=t.c)_ue(e,t,t);++e.g}}function Eie(e){var t,n;return(n=LL(rP(Z5(_V(new cj(null,new ZG(e.j,16)),new uo))),11))&&(t=LL(JN(n.e,0),18))?LL(Fae(t,(hxe(),PXe)),20).a:Dxe}function Iie(e,t,n){var r;(r=t.c.i).k==(mse(),qHe)?(S5(e,(hxe(),IXe),LL(Fae(r,IXe),11)),S5(e,MXe,LL(Fae(r,MXe),11))):(S5(e,(hxe(),IXe),t.c),S5(e,MXe,n.d))}function Mie(e,t,n){var i,o,a,s,l,u;return Jde(),s=t/2,a=n/2,l=1,u=1,(i=r.Math.abs(e.a))>s&&(l=s/i),(o=r.Math.abs(e.b))>a&&(u=a/o),cA(e,r.Math.min(l,u)),e}function Tie(){ok.call(this),this.e=-1,this.a=!1,this.p=F_e,this.k=-1,this.c=-1,this.b=-1,this.g=!1,this.f=-1,this.j=-1,this.n=-1,this.i=-1,this.d=-1,this.o=F_e}function Aie(){Aie=S,lHe=Qj(jN(jN(jN(new wU,(zae(),pHe),(pxe(),VGe)),pHe,WGe),gHe,QGe),gHe,TGe),cHe=jN(jN(new wU,pHe,yGe),pHe,AGe),uHe=Qj(new wU,gHe,OGe)}function Pie(e,t){var n,r,i,o;for(o=new Hm,t.e=null,t.f=null,r=new td(t.i);r.a<r.c.c.length;)n=LL(xW(r),63),i=LL(aB(e.g,n.a),46),n.a=OF(n.b),eV(o,n.a,i);e.g=o}function Oie(e,t,n){var r,i,o,a,s;for(i=(t-e.d)/e.c.c.length,o=0,s=new td(e.c);s.a<s.c.c.length;)a=LL(xW(s),437),r=e.b-a.b+n,G7(a,a.d+o*i,a.e),zne(a,i,r),++o}function Die(e){var t;if(e.f.lj(),-1!=e.b){if(++e.b,t=e.f.d[e.a],e.b<t.i)return;++e.a}for(;e.a<e.f.d.length;++e.a)if((t=e.f.d[e.a])&&0!=t.i)return void(e.b=0);e.b=-1}function Rie(e,t){var n,r,i;for(n=function(e,t){var n,r,i;if(i=0,t.length>0)try{i=Hge(t,F_e,Dxe)}catch(e){throw BT(e=v3(e),127)?(r=e,Jm(new DZ(r))):Jm(e)}return!e.a&&(e.a=new Rm(e)),n=e.a,i<n.i&&i>=0?LL(sJ(n,i),55):null}(e,0==(i=t.c.length)?"":(MG(0,t.c.length),HO(t.c[0]))),r=1;r<i&&n;++r)n=LL(n,48).jh((MG(r,t.c.length),HO(t.c[r])));return n}function Lie(e,t,n,r){var i,o,a;return o=function(e,t,n,r){var i,o,a,s,l,u,c,f;for(f=new Xx(new ag(e)),a=q3(lw(KHe,1),YEe,10,0,[t,n]),s=0,l=a.length;s<l;++s)for(c=c8(a[s],r).Ic();c.Ob();)for(o=new fY((u=LL(c.Pb(),11)).b);CT(o.a)||CT(o.b);)NX(i=LL(CT(o.a)?xW(o.a):xW(o.b),18))||(P5(f.a,u,(_P(),nFe)),FB(i)&&Iz(f,u==i.c?i.d:i.c));return wz(f),new jR(f)}(e,t,n,r),a=qpe(e,o),Iae(e,t,n,r),qK(e.b),v$(),kT(o,new og(e)),i=qpe(e,o),Iae(e,n,t,r),qK(e.b),new KE(k8(a),k8(i))}function Nie(e){if(e<0)throw Jm(new Ny("The input must be positive"));return e<Z6e.length?GW(Z6e[e]):r.Math.sqrt(jAe*e)*(function(e,t){var n,r,i;for(i=1,n=e,r=t>=0?t:-t;r>0;)r%2==0?(n*=n,r=r/2|0):(i*=n,r-=1);return t<0?1/i:i}(e,e)/W6(2.718281828459045,e))}function jie(e,t,n,r){switch(n){case 7:return!e.e&&(e.e=new nR(rnt,e,7,4)),C7(e.e,t,r);case 8:return!e.d&&(e.d=new nR(rnt,e,8,5)),C7(e.d,t,r)}return cae(e,t,n,r)}function Fie(e,t,n,r){switch(n){case 7:return!e.e&&(e.e=new nR(rnt,e,7,4)),Nte(e.e,t,r);case 8:return!e.d&&(e.d=new nR(rnt,e,8,5)),Nte(e.d,t,r)}return P3(e,t,n,r)}function zie(e){if(-1==e.g)throw Jm(new wb);e.hj();try{e.i.Yc(e.g),e.f=e.i.j,e.g<e.e&&--e.e,e.g=-1}catch(e){throw BT(e=v3(e),73)?Jm(new Sb):Jm(e)}}function Bie(e,t,n){var r,i,o;return e.lj(),o=null==t?0:p4(t),e.f>0&&(i=oce(e,(o&Dxe)%e.d.length,o,t))?i.cd(n):(r=e.oj(o,t,n),e.c.Dc(r),null)}function Vie(e,t){var n,r,i,o;switch(r8(e,t).Wk()){case 3:case 2:for(i=0,o=(n=Hbe(t)).i;i<o;++i)if(5==ZB(FZ(e,r=LL(sJ(n,i),32))))return r}return null}function $ie(e){var t,n,r;return T4(e,0)>=0?(n=hie(e,MSe),r=B9(e,MSe)):(n=hie(t=_N(e,1),5e8),r=o8(xN(r=B9(t,5e8),1),SH(e,1))),kH(xN(r,32),SH(n,HSe))}function Hie(e,t){var n,i,o,a;for(a=0,o=LL(LL(KX(e.r,t),21),81).Ic();o.Ob();)i=LL(o.Pb(),110),a=r.Math.max(a,i.e.a+i.b.pf().a);(n=LL(fV(e.b,t),121)).n.b=0,n.a.a=a}function Gie(e,t){var n,i,o,a;for(n=0,a=LL(LL(KX(e.r,t),21),81).Ic();a.Ob();)o=LL(a.Pb(),110),n=r.Math.max(n,o.e.b+o.b.pf().b);(i=LL(fV(e.b,t),121)).n.d=0,i.a.b=n}function Wie(e,t){if(t==e.c.i)return e.d.i;if(t==e.d.i)return e.c.i;throw Jm(new Ny("'node' must either be the source node or target node of the edge."))}function Uie(e,t){var n;if(n=!1,LI(t)&&(n=!0,SB(e,new xz(HO(t)))),n||BT(t,236)&&(n=!0,SB(e,new uh(RR(LL(t,236))))),!n)throw Jm(new My(EDe))}function qie(e,t){var n;if(e.ii()&&null!=t){for(n=0;n<e.i;++n)if(l8(t,e.g[n]))return!0}else for(n=0;n<e.i;++n)if(OI(e.g[n])===OI(t))return!0;return!1}function Xie(e,t){var n,r;for(n=new xF(BA((t?g9(e):p9(e)).a.Ic(),new p));Zce(n);)if((r=Wie(LL(dX(n),18),e)).k==(mse(),qHe)&&r.c!=e.c)return r;return null}function Yie(e,t,n){var i,o;(i=Y6(t.j,n.s,n.c)+Y6(n.e,t.s,t.c))==(o=Y6(n.j,t.s,t.c)+Y6(t.e,n.s,n.c))?i>0&&(e.b+=2,e.a+=i):(e.b+=1,e.a+=r.Math.min(i,o))}function Kie(e){var t,n;switch(LL(Fae(jB(e),(Kwe(),bQe)),414).g){case 0:return t=e.n,n=e.o,new YE(t.a+n.a/2,t.b+n.b/2);case 1:return new lT(e.n);default:return null}}function Zie(){Zie=S,dqe=new EC(bIe,0),hqe=new EC("LEFTUP",1),gqe=new EC("RIGHTUP",2),fqe=new EC("LEFTDOWN",3),pqe=new EC("RIGHTDOWN",4),cqe=new EC("BALANCED",5)}function Qie(e,t,n){switch(t){case 1:return!e.n&&(e.n=new FF(unt,e,1,7)),Ove(e.n),!e.n&&(e.n=new FF(unt,e,1,7)),void Qz(e.n,LL(n,15));case 2:return void z0(e,HO(n))}f4(e,t,n)}function Jie(e,t,n){switch(t){case 3:return void GJ(e,Oy($O(n)));case 4:return void WJ(e,Oy($O(n)));case 5:return void UJ(e,Oy($O(n)));case 6:return void qJ(e,Oy($O(n)))}Qie(e,t,n)}function eoe(e,t,n){var r,i;(r=hae(i=new Tv,t,null))&&r.Ai(),O1(i,n),AK((!e.c&&(e.c=new FF(yrt,e,12,10)),e.c),i),e0(i,0),t0(i,1),m8(i,!0),w8(i,!0)}function toe(e,t){var n,r;return BT(n=ck(e.g,t),234)?((r=LL(n,234)).Lh(),r.Ih()):BT(n,490)?r=LL(n,1910).b:null}function noe(e,t,n,r){var i,o;return wz(t),wz(n),_Z(!!(o=LL(DR(e.d,t),20)),"Row %s not in %s",t,e.e),_Z(!!(i=LL(DR(e.b,n),20)),"Column %s not in %s",n,e.c),U3(e,o.a,i.a,r)}function roe(e,t,n,r,i,o,a){var s,l,u,c,f;if(f=hre(s=(u=o==a-1)?r:0,c=i[o]),10!=r&&q3(lw(e,a-o),t[o],n[o],s,f),!u)for(++o,l=0;l<c;++l)f[l]=roe(e,t,n,r,i,o,a);return f}function ioe(e,t){this.e=e,z_(SH(t,-4294967296),0)?(this.d=1,this.a=q3(lw(nat,1),sSe,24,15,[QN(t)])):(this.d=2,this.a=q3(lw(nat,1),sSe,24,15,[QN(t),QN(wN(t,32))]))}function ooe(e,t){e.d=LL(xfe(t,(MO(),R3e)),34),e.c=Oy($O(xfe(t,($4(),g5e)))),e.e=Kte(LL(xfe(t,m5e),293)),e.a=function(e){switch(e.g){case 0:return new $a;case 1:return new Ha;default:throw Jm(new Ny(HAe+(null!=e.f?e.f:""+e.g)))}}(LL(xfe(t,v5e),420)),e.b=function(e){switch(e.g){case 1:return new Na;case 2:return new ja;case 3:return new La;case 0:return null;default:throw Jm(new Ny(HAe+(null!=e.f?e.f:""+e.g)))}}(LL(xfe(t,h5e),337)),function(e){var t,n,r,i,o;if(r=0,i=KCe,e.b)for(t=0;t<360;t++)n=.017453292519943295*t,Rge(e,e.d,0,0,jAe,n),(o=e.b.dg(e.d))<i&&(r=n,i=o);Rge(e,e.d,0,0,jAe,r)}(e)}function aoe(e,t){return e.b.a=r.Math.min(e.b.a,t.c),e.b.b=r.Math.min(e.b.b,t.d),e.a.a=r.Math.max(e.a.a,t.c),e.a.b=r.Math.max(e.a.b,t.d),e.c[e.c.length]=t,!0}function soe(e){var t,n,r;for(r=-1,n=0,t=new td(e);t.a<t.c.c.length;){if(LL(xW(t),242).c==(E0(),R0e)){r=0==n?0:n-1;break}n==e.c.length-1&&(r=n),n+=1}return r}function loe(e){var t,n,r;for(n=new td(e.a.b);n.a<n.c.c.length;)r=(t=LL(xW(n),56)).d.c,t.d.c=t.d.d,t.d.d=r,r=t.d.b,t.d.b=t.d.a,t.d.a=r,r=t.b.a,t.b.a=t.b.b,t.b.b=r;Lhe(e)}function uoe(e){var t,n,r;for(n=new td(e.a.b);n.a<n.c.c.length;)r=(t=LL(xW(n),79)).g.c,t.g.c=t.g.d,t.g.d=r,r=t.g.b,t.g.b=t.g.a,t.g.a=r,r=t.e.a,t.e.a=t.e.b,t.e.b=r;Nhe(e)}function coe(e,t){var n,i;for(yZ(e.b,t),i=new td(e.n);i.a<i.c.c.length;)if(-1!=vZ((n=LL(xW(i),209)).c,t,0)){yZ(n.c,t),Sie(n),0==n.c.c.length&&yZ(e.n,n);break}!function(e){var t,n,i,o,a,s,l;for(n=0,t=0,l=new sS,s=new td(e.n);s.a<s.c.c.length;)0==(a=LL(xW(s),209)).c.c.length?jq(l,a,l.c.b,l.c):(n=r.Math.max(n,a.d),t+=a.a);for(function(e,t){var n,r;for(wB(t),n=!1,r=new td(e);r.a<r.c.c.length;)l7(t,xW(r),!1)&&(ez(r),n=!0)}(e.n,l),e.d=t,e.r=n,e.g=0,e.f=0,e.e=0,e.o=RSe,e.p=RSe,o=new td(e.b);o.a<o.c.c.length;)i=LL(xW(o),34),e.p=r.Math.min(e.p,i.g+e.i),e.g=r.Math.max(e.g,i.g+e.i),e.f=r.Math.max(e.f,i.f+e.i),e.o=r.Math.min(e.o,i.f+e.i),e.e+=i.f+e.i;e.a=e.e/e.b.c.length,Z7(e.j)}(e)}function foe(e){var t,n;return OU(n=ahe(e))?null:(wz(n),t=LL(Rne(new xF(BA(n.a.Ic(),new p))),80),Xoe(LL(sJ((!t.b&&(t.b=new nR(nnt,t,4,7)),t.b),0),93)))}function hoe(e){return e.o||(e.Gj()?e.o=new TB(e,e,null):e.mk()?e.o=new SD(e,null):1==ZB(FZ((vle(),Sit),e))?e.o=new Mq(e):e.o=new kD(e,null)),e.o}function doe(e,t,n,r){var i,o,a,s,l;n.hh(t)&&(i=(a=t)?LL(r,48).sh(a):null)&&(l=n.Xg(t),(s=t.t)>1||-1==s?(o=LL(l,14),i.Wb(function(e,t){var n,r,i;for(r=new LY(t.gc()),n=t.Ic();n.Ob();)(i=$ge(e,LL(n.Pb(),55)))&&(r.c[r.c.length]=i);return r}(e,o))):i.Wb($ge(e,LL(l,55))))}function poe(e){switch(LL(Fae(e.b,(Kwe(),rQe)),373).g){case 1:lS(SV(aQ(new cj(null,new ZG(e.d,16)),new Vi),new $i),new Ui);break;case 2:!function(e){var t,n,r,i,o,a,s;for(r=0,s=0,a=new td(e.d);a.a<a.c.c.length;)o=LL(xW(a),101),i=LL(Nq(_V(new cj(null,new ZG(o.j,16)),new Yi),CK(new F,new j,new re,q3(lw(jze,1),A_e,132,0,[(z4(),Rze)]))),14),n=null,r<=s?(hwe(),n=Det,r+=i.gc()):s<r&&(hwe(),n=Ket,s+=i.gc()),t=n,lS(SV(i.Mc(),new qi),new Vp(t))}(e);break;case 0:!function(e){var t,n,r,i;for(kT(i=new jR(e.d),new Wi),Qde(),t=q3(lw(mUe,1),A_e,269,0,[lUe,fUe,sUe,pUe,cUe,uUe,dUe,hUe]),n=0,r=new td(i);r.a<r.c.c.length;)wce(LL(xW(r),101),t[n%t.length]),++n}(e)}}function goe(){goe=S,E8e=new kE("V_TOP",0),C8e=new kE("V_CENTER",1),k8e=new kE("V_BOTTOM",2),_8e=new kE("H_LEFT",3),x8e=new kE("H_CENTER",4),S8e=new kE("H_RIGHT",5)}function moe(e){var t;return 0!=(64&e.Db)?h7(e):((t=new XA(h7(e))).a+=" (abstract: ",$x(t,0!=(256&e.Bb)),t.a+=", interface: ",$x(t,0!=(512&e.Bb)),t.a+=")",t.a)}function boe(e,t){var n,i,o,a,s;for(s=e.e,o=0,a=0,i=new td(e.a);i.a<i.c.c.length;)gne(n=LL(xW(i),181),e.d,s),pbe(n,t,!0),a=r.Math.max(a,n.r),o=s+=n.d;e.c=a,e.b=o}function voe(e,t){var n;t!=e.b?(n=null,e.b&&(n=fH(e.b,e,-4,n)),t&&(n=Rte(t,e,-4,n)),(n=R6(e,t,n))&&n.Ai()):0!=(4&e.Db)&&0==(1&e.Db)&&Y2(e,new NF(e,1,3,t,t))}function yoe(e,t){var n;t!=e.f?(n=null,e.f&&(n=fH(e.f,e,-1,n)),t&&(n=Rte(t,e,-1,n)),(n=L6(e,t,n))&&n.Ai()):0!=(4&e.Db)&&0==(1&e.Db)&&Y2(e,new NF(e,1,0,t,t))}function woe(e){var t,n,r;if(null==e)return null;if((n=LL(e,14)).dc())return"";for(r=new hw,t=n.Ic();t.Ob();)HI(r,(Yve(),HO(t.Pb()))),r.a+=" ";return bM(r,r.a.length-1)}function xoe(e){var t,n,r;if(null==e)return null;if((n=LL(e,14)).dc())return"";for(r=new hw,t=n.Ic();t.Ob();)HI(r,(Yve(),HO(t.Pb()))),r.a+=" ";return bM(r,r.a.length-1)}function _oe(e,t,n){var r,i,o;return r=t.Xj(),o=t.bd(),i=r.Vj()?cH(e,3,r,null,o,wbe(e,r,o,BT(r,97)&&0!=(LL(r,17).Bb&FSe)),!0):cH(e,1,r,r.uj(),o,-1,!0),n?n.zi(i):n=i,n}function Soe(e){var t,n;return t=LL(dX(new xF(BA(p9(e.a).a.Ic(),new p))),18),n=LL(dX(new xF(BA(g9(e.a).a.Ic(),new p))),18),Ty(VO(Fae(t,(hxe(),WXe))))||Ty(VO(Fae(n,WXe)))}function koe(){koe=S,UWe=new gC("ONE_SIDE",0),XWe=new gC("TWO_SIDES_CORNER",1),YWe=new gC("TWO_SIDES_OPPOSING",2),qWe=new gC("THREE_SIDES",3),WWe=new gC("FOUR_SIDES",4)}function Coe(e,t,n,r,i){var o,a;o=LL(Nq(_V(t.Mc(),new Ni),CK(new F,new j,new re,q3(lw(jze,1),A_e,132,0,[(z4(),Rze)]))),14),a=LL(D2(e.b,n,r),14),0==i?a.Uc(0,o):a.Ec(o)}function Eoe(e,t){var n,r,i;for(r=new td(t.a);r.a<r.c.c.length;)for(n=new xF(BA(p9(LL(xW(r),10)).a.Ic(),new p));Zce(n);)i=LL(dX(n),18).c.i.p,e.n[i]=e.n[i]-1}function Ioe(e,t){return!!t&&(!e.yi(t)&&(e.i?e.i.zi(t):BT(t,142)?(e.i=LL(t,142),!0):(e.i=new cl,e.i.zi(t))))}function Moe(e,t,n){var r,i,o;for(i=e.tc().Ic();i.Ob();)if(o=(r=LL(i.Pb(),43)).ad(),OI(t)===OI(o)||null!=t&&l8(t,o))return n&&(r=new sk(r.ad(),r.bd()),i.Qb()),r;return null}function Toe(e,t,n,i){var o,a,s;for(s=r.Math.min(n,tbe(LL(e.b,63),t,n,i)),a=new td(e.a);a.a<a.c.c.length;)(o=LL(xW(a),219))!=t&&(s=r.Math.min(s,Toe(o,t,s,i)));return s}function Aoe(e){var t,n,r;for(r=fK(KHe,s_e,213,e.b.c.length,0,2),n=new eU(e.b,0);n.b<n.d.gc();)EP(n.b<n.d.gc()),t=LL(n.d.Xb(n.c=n.b++),29),r[n.b-1]=mU(t.a);return r}function Poe(e,t,n,r,i){var o,a,s,l;for(a=function(e,t){return e.e=t,e}(Iw($R(function(e){switch(e.g){case 1:return h3(),xVe;case 3:return h3(),vVe;case 2:return h3(),wVe;case 4:return h3(),yVe;default:return null}}(n)),r),function(e,t,n){var r,i;switch(i=e.o,r=e.d,t.g){case 1:return-r.d-n;case 3:return i.b+r.a+n;case 2:return i.a+r.c+n;case 4:return-r.b-n;default:return 0}}(e,n,i)),l=jse(e,n).Ic();l.Ob();)t[(s=LL(l.Pb(),11)).p]&&(o=t[s.p].i,RL(a.d,new $j(o,$8(a,o))));f7(a)}function Ooe(e,t){this.f=new Hm,this.b=new Hm,this.j=new Hm,this.a=e,this.c=t,this.c>0&&Hre(this,this.c-1,(hwe(),Oet)),this.c<this.a.length-1&&Hre(this,this.c+1,(hwe(),Qet))}function Doe(e){e.length>0&&e[0].length>0&&(this.c=Ty(VO(Fae(jB(e[0][0]),(hxe(),SXe))))),this.a=fK(v1e,s_e,1987,e.length,0,2),this.b=fK(y1e,s_e,1988,e.length,0,2),this.d=new c6}function Roe(e){return 0!=e.c.length&&((MG(0,e.c.length),LL(e.c[0],18)).c.i.k==(mse(),qHe)||xX(SV(new cj(null,new ZG(e,16)),new To),new Ao))}function Loe(e,t,n){return qoe(n,"Tree layout",1),dU(e.b),dz(e.b,(qre(),M2e),M2e),dz(e.b,T2e,T2e),dz(e.b,A2e,A2e),dz(e.b,P2e,P2e),e.a=Vve(e.b,t),function(e,t,n){var r,i,o;if(!(i=n)&&(i=new qv),qoe(i,"Layout",e.a.c.length),Ty(VO(Fae(t,(xse(),p3e)))))for(Q_(),r=0;r<e.a.c.length;r++)(r<10?"0":"")+r++,Fx(g4(LL(JN(e.a,r),52)));for(o=new td(e.a);o.a<o.c.c.length;)LL(xW(o),52).nf(t,a2(i,1));_se(i)}(e,t,a2(n,1)),_se(n),t}function Noe(e,t){var n,i,o,a,s,l;for(s=Zde(t),o=t.f,l=t.g,a=r.Math.sqrt(o*o+l*l),i=0,n=new td(s);n.a<n.c.c.length;)i+=Noe(e,LL(xW(n),34));return r.Math.max(i,a)}function joe(){joe=S,_et=new DE(sCe,0),xet=new DE("FREE",1),wet=new DE("FIXED_SIDE",2),bet=new DE("FIXED_ORDER",3),yet=new DE("FIXED_RATIO",4),vet=new DE("FIXED_POS",5)}function Foe(e){var t,n,r,i;if(null==e)return $xe;for(i=new u3(jxe,"[","]"),n=0,r=(t=e).length;n<r;++n)aY(i,""+t[n]);return i.a?0==i.e.length?i.a.a:i.a.a+""+i.e:i.c}function zoe(e){var t,n,r,i;if(null==e)return $xe;for(i=new u3(jxe,"[","]"),n=0,r=(t=e).length;n<r;++n)aY(i,""+t[n]);return i.a?0==i.e.length?i.a.a:i.a.a+""+i.e:i.c}function Boe(e){var t,n,r;for(r=new u3(jxe,"{","}"),n=e.tc().Ic();n.Ob();)aY(r,tq(e,(t=LL(n.Pb(),43)).ad())+"="+tq(e,t.bd()));return r.a?0==r.e.length?r.a.a:r.a.a+""+r.e:r.c}function Voe(e,t){var n,r,i;for(n=null,i=LL(t.Kb(e),19).Ic();i.Ob();)if(r=LL(i.Pb(),18),n){if((r.c.i==e?r.d.i:r.c.i)!=n)return!1}else n=r.c.i==e?r.d.i:r.c.i;return!0}function $oe(e,t){var n,i;i=function(e){var t,n;n=null,t=LL(JN(e.g,0),18);do{if(ZP(n=t.d.i,(hxe(),MXe)))return LL(Fae(n,MXe),11).i;if(n.k!=(mse(),XHe)&&Zce(new xF(BA(g9(n).a.Ic(),new p))))t=LL(dX(new xF(BA(g9(n).a.Ic(),new p))),18);else if(n.k!=XHe)return null}while(n&&n.k!=(mse(),XHe));return n}(t),S5(t,(hxe(),TXe),i),i&&(n=Dxe,rH(e.f,i)&&(n=LL(PI(rH(e.f,i)),20).a),eV(e,i,k8(r.Math.min(LL(Fae(LL(JN(t.g,0),18),PXe),20).a,n))))}function Hoe(e,t){var n,r,i;for(r=new td(Mhe(e,!1,t));r.a<r.c.c.length;)0==(n=LL(xW(r),129)).d?(RG(n,null),LG(n,null)):(i=n.a,RG(n,n.b),LG(n,i))}function Goe(e,t,n){var r,i;if(0==e.j)return n;if(i=LL(bJ(e,0,n),71),!(r=n.Xj()).Dj()||!e.a.ml(r))throw Jm(new sy("Invalid entry feature '"+r.Cj().zb+"."+r.ne()+"'"));return i}function Woe(e){var t,n,r,i;for(function(e){var t,n,r;if((n=LL(Fae(e,(Kwe(),xQe)),165))==(H9(),tYe)){for(t=new xF(BA(p9(e).a.Ic(),new p));Zce(t);)if(!HX(LL(dX(t),18)))throw Jm(new qy(mIe+Mre(e)+"' has its layer constraint set to FIRST_SEPARATE, but has at least one incoming edge. FIRST_SEPARATE nodes must not have incoming edges."))}else if(n==rYe)for(r=new xF(BA(g9(e).a.Ic(),new p));Zce(r);)if(!HX(LL(dX(r),18)))throw Jm(new qy(mIe+Mre(e)+"' has its layer constraint set to LAST_SEPARATE, but has at least one outgoing edge. LAST_SEPARATE nodes must not have outgoing edges."))}(e),n=new xF(BA(d9(e).a.Ic(),new p));Zce(n);)i=(r=(t=LL(dX(n),18)).c.i==e)?t.d:t.c,r?AG(t,null):PG(t,null),S5(t,(hxe(),NXe),i),Wce(e,i.i)}function Uoe(e,t,n,r){var i,o;switch(i=n[(o=t.i).g][e.d[o.g]],o.g){case 1:i-=r+t.j.b,t.g.b=i;break;case 3:i+=r,t.g.b=i;break;case 4:i-=r+t.j.a,t.g.a=i;break;case 2:i+=r,t.g.a=i}}function qoe(e,t,n){if(e.b)throw Jm(new jy("The task is already done."));return null==e.p&&(e.p=t,e.r=n,e.k&&(e.o=(Q_(),a8(I2(Date.now()),D_e))),!0)}function Xoe(e){if(BT(e,238))return LL(e,34);if(BT(e,199))return $H(LL(e,122));throw Jm(e?new By("Only support nodes and ports."):new zy(BDe))}function Yoe(e,t,n){var r;switch(EP(0!=t.b),r=LL(lJ(t,t.a.a),8),n.g){case 0:r.b=0;break;case 2:r.b=e.f;break;case 3:r.a=0;break;default:r.a=e.g}return Ez(cte(t,0),r),t}function Koe(e,t,n,r){var i,o,a,s,l;switch(l=e.b,s=ote(a=(o=t.d).j,l.d[a.g],n),i=BD(RT(o.n),o.a),o.j.g){case 1:case 3:s.a+=i.a;break;case 2:case 4:s.b+=i.b}jq(r,s,r.c.b,r.c)}function Zoe(e,t,n){var r,i,o,a;for(a=vZ(e.e,t,0),(o=new Jb).b=n,r=new eU(e.e,a);r.b<r.d.gc();)EP(r.b<r.d.gc()),(i=LL(r.d.Xb(r.c=r.b++),10)).p=n,RL(o.e,i),nV(r);return o}function Qoe(){var e,t,n,r;for(Qoe=S,dze=fK(aat,BSe,24,25,15,1),pze=fK(aat,BSe,24,33,15,1),r=152587890625e-16,t=32;t>=0;t--)pze[t]=r,r*=.5;for(n=1,e=24;e>=0;e--)dze[e]=n,n*=.5}function Joe(e){var t,n;if(Ty(VO(xfe(e,(Kwe(),pQe)))))for(n=new xF(BA(she(e).a.Ic(),new p));Zce(n);)if(Que(t=LL(dX(n),80))&&Ty(VO(xfe(t,gQe))))return!0;return!1}function eae(e,t){var n,r,i;uz(e.f,t)&&(t.b=e,r=t.c,-1!=vZ(e.j,r,0)||RL(e.j,r),i=t.d,-1!=vZ(e.j,i,0)||RL(e.j,i),0!=(n=t.a.b).c.length&&(!e.i&&(e.i=new ite(e)),function(e,t){var n,r;for(r=new td(t);r.a<r.c.c.length;)n=LL(xW(r),69),RL(e.d,n),Kae(e,n)}(e.i,n)))}function tae(e){var t,n,r,i;return(n=(t=e.c.d).j)==(i=(r=e.d.d).j)?t.p<r.p?0:1:V8(n)==i?0:z8(n)==i?1:aP(e.b.b,V8(n))?0:1}function nae(){nae=S,JJe=new DC(aAe,0),ZJe=new DC("LONGEST_PATH",1),YJe=new DC("COFFMAN_GRAHAM",2),KJe=new DC(PIe,3),e0e=new DC("STRETCH_WIDTH",4),QJe=new DC("MIN_WIDTH",5)}function rae(e){var t;this.d=new Hm,this.c=e.c,this.e=e.d,this.b=e.b,this.f=new mj(e.e),this.a=e.a,e.f?this.g=e.f:this.g=new WR(t=LL(Lx(Tnt),9),LL(wD(t,t.length),9),0)}function iae(){iae=S,Met=new RE("OUTSIDE",0),Eet=new RE("INSIDE",1),Iet=new RE("NEXT_TO_PORT_IF_POSSIBLE",2),Cet=new RE("ALWAYS_SAME_SIDE",3),Tet=new RE("SPACE_EFFICIENT",4)}function oae(e,t){var n,r,i,o;!(i=MU(r=e,"layoutOptions"))&&(i=MU(r,uDe)),i&&(n=null,(o=i)&&(n=new j_(o,l1(o,fK(CFe,s_e,2,0,6,1)))),n&&yX(n,new oI(o,t)))}function aae(e){var t;return t=new uy,null!=e.og()&&KL(t,IDe,e.og()),null!=e.ne()&&KL(t,zDe,e.ne()),null!=e.ng()&&KL(t,"description",e.ng()),t}function sae(e,t,n){var r,i,o;return o=e.q,e.q=t,0!=(4&e.Db)&&0==(1&e.Db)&&(i=new NF(e,1,9,o,t),n?n.zi(i):n=i),t?(r=t.c)!=e.r&&(n=e.ik(r,n)):e.r&&(n=e.ik(null,n)),n}function lae(e,t){var n,r,i,o;for(o=new $m,i=0,r=t.Ic();r.Ob();){for(n=k8(LL(r.Pb(),20).a+i);n.a<e.f&&!lj(e,n.a);)n=k8(n.a+1),++i;if(n.a>=e.f)break;o.c[o.c.length]=n}return o}function uae(e){var t,n,r,i;for(t=null,i=new td(e.uf());i.a<i.c.c.length;)n=new jV((r=LL(xW(i),183)).of().a,r.of().b,r.pf().a,r.pf().b),t?ble(t,n):t=n;return!t&&(t=new YM),t}function cae(e,t,n,r){return 1==n?(!e.n&&(e.n=new FF(unt,e,1,7)),C7(e.n,t,r)):LL(VQ(LL(n3(e,16),26)||e.uh(),n),65).Ij().Lj(e,Aee(e),n-Hz(e.uh()),t,r)}function fae(e,t,n){var r,i,o,a,s;for(r=n.gc(),e.li(e.i+r),(s=e.i-t)>0&&Xbe(e.g,t,e.g,t+r,s),a=n.Ic(),e.i+=r,i=0;i<r;++i)o=a.Pb(),fA(e,t,e.ji(t,o)),e.Yh(t,o),e.Zh(),++t;return 0!=r}function hae(e,t,n){var r;return t!=e.q?(e.q&&(n=fH(e.q,e,-10,n)),t&&(n=Rte(t,e,-10,n)),n=sae(e,t,n)):0!=(4&e.Db)&&0==(1&e.Db)&&(r=new NF(e,1,9,t,t),n?n.zi(r):n=r),n}function dae(e,t,n,r){return xR(0==(n&l_e),"flatMap does not support SUBSIZED characteristic"),xR(0==(4&n),"flatMap does not support SORTED characteristic"),wz(e),wz(t),new YU(e,n,r,t)}function pae(e,t){IF(t,"Cannot suppress a null exception."),BR(t!=e,"Exception can not suppress itself."),e.i||(null==e.k?e.k=q3(lw(Lje,1),s_e,78,0,[t]):e.k[e.k.length]=t)}function gae(e,t,n,r){var i,o,a,s,l,u;for(a=n.length,o=0,i=-1,u=vQ(e.substr(t),(zR(),lze)),s=0;s<a;++s)(l=n[s].length)>o&&YF(u,vQ(n[s],lze))&&(i=s,o=l);return i>=0&&(r[0]=t+o),i}function mae(e,t,n){qoe(n,"Grow Tree",1),e.b=t.f,Ty(VO(Fae(t,(H2(),RVe))))?(e.c=new et,NG(e,null)):e.c=new et,e.a=!1,Zhe(e,t.f),S5(t,LVe,(_P(),!!e.a)),_se(n)}function bae(e){var t,n;return e>=FSe?(t=zSe+(e-FSe>>10&1023)&X_e,n=56320+(e-FSe&1023)&X_e,String.fromCharCode(t)+""+String.fromCharCode(n)):String.fromCharCode(e&X_e)}function vae(e,t,n,r,i){var o,a,s;for(o=Hde(e,t,n,r,i),s=!1;!o;)Dfe(e,i,!0),s=!0,o=Hde(e,t,n,r,i);s&&Dfe(e,i,!1),0!=(a=Z3(i)).c.length&&(e.d&&e.d.gg(a),vae(e,i,n,r,a))}function yae(){yae=S,A7e=new ME(bIe,0),M7e=new ME("DIRECTED",1),P7e=new ME("UNDIRECTED",2),E7e=new ME("ASSOCIATION",3),T7e=new ME("GENERALIZATION",4),I7e=new ME("DEPENDENCY",5)}function wae(e,t,n,r){var i;if(i=!1,LI(r)&&(i=!0,KL(t,n,HO(r))),i||DI(r)&&(i=!0,wae(e,t,n,r)),i||BT(r,236)&&(i=!0,x$(t,n,LL(r,236))),!i)throw Jm(new My(EDe))}function xae(e,t){var n,r;for(wB(t),r=e.b.c.length,RL(e.b,t);r>0;){if(n=r,r=(r-1)/2|0,e.a.ue(JN(e.b,r),t)<=0)return mX(e.b,n,t),!0;mX(e.b,n,JN(e.b,r))}return mX(e.b,r,t),!0}function _ae(e,t,n,i){var o,a;if(o=0,n)o=r6(e.a[n.g][t.g],i);else for(a=0;a<jBe;a++)o=r.Math.max(o,r6(e.a[a][t.g],i));return t==(nJ(),TBe)&&e.b&&(o=r.Math.max(o,e.b.a)),o}function Sae(e,t){var n,r,i,o,a;return r=e.i,i=t.i,!(!r||!i)&&(r.i==i.i&&r.i!=(hwe(),Oet)&&r.i!=(hwe(),Qet)&&(n=(o=r.g.a)+r.j.a,o<=(a=i.g.a)+i.j.a&&n>=a))}function kae(e,t){var n,r,i,o;if(wB(t),(o=e.a.gc())<t.gc())for(n=e.a.ec().Ic();n.Ob();)r=n.Pb(),t.Fc(r)&&n.Qb();else for(i=t.Ic();i.Ob();)r=i.Pb(),e.a.zc(r);return o!=e.a.gc()}function Cae(e){var t,n;switch(n=RT(V5(q3(lw(J6e,1),s_e,8,0,[e.i.n,e.n,e.a]))),t=e.i.d,e.j.g){case 1:n.b-=t.d;break;case 2:n.a+=t.c;break;case 3:n.b+=t.a;break;case 4:n.a-=t.b}return n}function Eae(e){var t;for(j1(),t=LL(dX(new xF(BA(p9(e).a.Ic(),new p))),18).c.i;t.k==(mse(),qHe);)S5(t,(hxe(),CXe),(_P(),!0)),t=LL(dX(new xF(BA(p9(t).a.Ic(),new p))),18).c.i}function Iae(e,t,n,r){var i,o,a;for(a=c8(t,r).Ic();a.Ob();)i=LL(a.Pb(),11),e.d[i.p]=e.d[i.p]+e.c[n.p];for(o=c8(n,r).Ic();o.Ob();)i=LL(o.Pb(),11),e.d[i.p]=e.d[i.p]-e.c[t.p]}function Mae(e,t,n){var r,i;for(i=new SA((!e.a&&(e.a=new FF(cnt,e,10,11)),e.a));i.e!=i.i.gc();)$M(r=LL(Hee(i),34),r.i+t,r.j+n);yX((!e.b&&(e.b=new FF(rnt,e,12,3)),e.b),new $E(t,n))}function Tae(e,t,n){var r,i,o;if(++e.j,t>=(i=e.Qi())||t<0)throw Jm(new Ey(HDe+t+GDe+i));if(n>=i||n<0)throw Jm(new Ey(WDe+n+GDe+i));return t!=n?(o=e.Oi(n),e.Ci(t,o),r=o):r=e.Ji(n),r}function Aae(e,t){BT(CH((QS(),prt),e),490)?vG(prt,e,new wI(this,t)):vG(prt,e,this),dse(this,t),t==(Cx(),Srt)?(this.wb=LL(this,1911),LL(t,1913)):this.wb=($z(),krt)}function Pae(e){if(1!=(!e.b&&(e.b=new nR(nnt,e,4,7)),e.b).i||1!=(!e.c&&(e.c=new nR(nnt,e,5,8)),e.c).i)throw Jm(new Ny(VDe));return Xoe(LL(sJ((!e.b&&(e.b=new nR(nnt,e,4,7)),e.b),0),93))}function Oae(e){if(1!=(!e.b&&(e.b=new nR(nnt,e,4,7)),e.b).i||1!=(!e.c&&(e.c=new nR(nnt,e,5,8)),e.c).i)throw Jm(new Ny(VDe));return b3(LL(sJ((!e.b&&(e.b=new nR(nnt,e,4,7)),e.b),0),93))}function Dae(e){if(1!=(!e.b&&(e.b=new nR(nnt,e,4,7)),e.b).i||1!=(!e.c&&(e.c=new nR(nnt,e,5,8)),e.c).i)throw Jm(new Ny(VDe));return b3(LL(sJ((!e.c&&(e.c=new nR(nnt,e,5,8)),e.c),0),93))}function Rae(e){if(1!=(!e.b&&(e.b=new nR(nnt,e,4,7)),e.b).i||1!=(!e.c&&(e.c=new nR(nnt,e,5,8)),e.c).i)throw Jm(new Ny(VDe));return Xoe(LL(sJ((!e.c&&(e.c=new nR(nnt,e,5,8)),e.c),0),93))}function Lae(e){var t,n,r;if(r=e,e)for(t=0,n=e.Pg();n;n=n.Pg()){if(++t>VSe)return Lae(n);if(r=n,n==e)throw Jm(new jy("There is a cycle in the containment hierarchy of "+e))}return r}function Nae(){Nae=S,tze=q3(lw(CFe,1),s_e,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]),nze=q3(lw(CFe,1),s_e,2,6,["Jan","Feb","Mar","Apr",J_e,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"])}function jae(e){var t,n;(t=fR(typeof t,dke)?null:new ue)&&(nS(),900,lB(n=900>=D_e?"error":"warn",e.a),e.b&&Uhe(t,n,e.b,"Exception: ",!0))}function Fae(e,t){var n,r;return!e.q&&(e.q=new Hm),null!=(r=aB(e.q,t))?r:(BT(n=t.rg(),4)&&(null==n?(!e.q&&(e.q=new Hm),sY(e.q,t)):(!e.q&&(e.q=new Hm),eV(e.q,t,n))),n)}function zae(){zae=S,fHe=new Vk("P1_CYCLE_BREAKING",0),hHe=new Vk("P2_LAYERING",1),dHe=new Vk("P3_NODE_ORDERING",2),pHe=new Vk("P4_NODE_PLACEMENT",3),gHe=new Vk("P5_EDGE_ROUTING",4)}function Bae(e,t){var n,r,i,o;for(r=(1==t?_He:xHe).a.ec().Ic();r.Ob();)for(n=LL(r.Pb(),108),o=LL(KX(e.f.c,n),21).Ic();o.Ob();)i=LL(o.Pb(),46),yZ(e.b.b,i.b),yZ(e.b.a,LL(i.b,79).d)}function Vae(e,t){var n;if(zQ(),e.c==t.c){if(e.b==t.b||function(e,t){return p5(),e==EHe&&t==THe||e==THe&&t==EHe||e==MHe&&t==IHe||e==IHe&&t==MHe}(e.b,t.b)){if(n=function(e){return e==EHe||e==THe}(e.b)?1:-1,e.a&&!t.a)return n;if(!e.a&&t.a)return-n}return MT(e.b.g,t.b.g)}return j8(e.c,t.c)}function $ae(e,t){var n,r;if(Uae(e,t))return!0;for(r=new td(t);r.a<r.c.c.length;){if(gpe(e,n=LL(xW(r),34),foe(n)))return!0;if(w6(e,n)-e.g<=e.a)return!0}return!1}function Hae(){Hae=S,Lpe(),q4e=c6e,G4e=a6e,H4e=i6e,V4e=e6e,$4e=n6e,B4e=new sT(8),z4e=new cT((fxe(),v9e),B4e),W4e=new cT(r7e,8),U4e=l6e,N4e=Y4e,j4e=Z4e,F4e=new cT(F8e,(_P(),!1))}function Gae(){Gae=S,b8e=new sT(15),m8e=new cT((fxe(),v9e),b8e),y8e=new cT(r7e,15),v8e=new cT($9e,k8(0)),f8e=X8e,d8e=c9e,g8e=g9e,l8e=new cT(P8e,YPe),h8e=e9e,p8e=d9e,u8e=D8e,c8e=N8e}function Wae(e){var t,n,r;for(r=new u3(jxe,"[","]"),n=e.Ic();n.Ob();)aY(r,OI(t=n.Pb())===OI(e)?"(this Collection)":null==t?$xe:P9(t));return r.a?0==r.e.length?r.a.a:r.a.a+""+r.e:r.c}function Uae(e,t){var n,r;if(r=!1,t.gc()<2)return!1;for(n=0;n<t.gc();n++)n<t.gc()-1?r|=gpe(e,LL(t.Xb(n),34),LL(t.Xb(n+1),34)):r|=gpe(e,LL(t.Xb(n),34),LL(t.Xb(0),34));return r}function qae(e,t){var n;t!=e.a?(n=null,e.a&&(n=LL(e.a,48).dh(e,4,lnt,n)),t&&(n=LL(t,48).ah(e,4,lnt,n)),(n=O6(e,t,n))&&n.Ai()):0!=(4&e.Db)&&0==(1&e.Db)&&Y2(e,new NF(e,1,1,t,t))}function Xae(e,t){var n;t!=e.e?(e.e&&SY(QB(e.e),e),t&&(!t.b&&(t.b=new Om(new Pv)),UD(t.b,e)),n=function(e,t,n){var r,i;return i=e.e,e.e=t,0!=(4&e.Db)&&0==(1&e.Db)&&(r=new NF(e,1,4,i,t),n?n.zi(r):n=r),i!=t&&(n=Dye(e,t?che(e,t):e.a,n)),n}(e,t,null),n&&n.Ai()):0!=(4&e.Db)&&0==(1&e.Db)&&Y2(e,new NF(e,1,4,t,t))}function Yae(e){var t,n,r;for(n=e.length,r=0;r<n&&(TG(r,e.length),e.charCodeAt(r)<=32);)++r;for(t=n;t>r&&(TG(t-1,e.length),e.charCodeAt(t-1)<=32);)--t;return r>0||t<n?e.substr(r,t-r):e}function Kae(e,t){var n;n=t.o,LM(e.f)?(e.j.a=r.Math.max(e.j.a,n.a),e.j.b+=n.b,e.d.c.length>1&&(e.j.b+=e.e)):(e.j.a+=n.a,e.j.b=r.Math.max(e.j.b,n.b),e.d.c.length>1&&(e.j.a+=e.e))}function Zae(){Zae=S,QWe=q3(lw(att,1),VEe,61,0,[(hwe(),Det),Oet,Ket]),ZWe=q3(lw(att,1),VEe,61,0,[Oet,Ket,Qet]),JWe=q3(lw(att,1),VEe,61,0,[Ket,Qet,Det]),eUe=q3(lw(att,1),VEe,61,0,[Qet,Det,Oet])}function Qae(e,t,n,r){var i,o,a,s,l;if(o=e.c.d,a=e.d.d,o.j!=a.j)for(l=e.b,i=o.j,s=null;i!=a.j;)s=0==t?V8(i):z8(i),bN(r,BD(ote(i,l.d[i.g],n),ote(s,l.d[s.g],n))),i=s}function Jae(e,t,n,r){var i,o,a,s,l;return s=LL((a=Wre(e.a,t,n)).a,20).a,o=LL(a.b,20).a,r&&(l=LL(Fae(t,(hxe(),BXe)),10),i=LL(Fae(n,BXe),10),l&&i&&(fq(e.b,l,i),s+=e.b.i,o+=e.b.e)),s>o}function ese(e){var t,n,r,i,o,a,s,l;for(this.a=Zte(e),this.b=new $m,r=0,i=(n=e).length;r<i;++r)for(t=n[r],o=new $m,RL(this.b,o),s=0,l=(a=t).length;s<l;++s)RL(o,new jR(a[s].j))}function tse(e,t,n){var i,o,a;return a=0,i=n[t],t<n.length-1&&(o=n[t+1],e.b[t]?(a=function(e,t,n){var i,o,a,s,l,u,c,f,h,d,p,g,m,b,v,y,w,x,_,S,k,C,E,I,M,T,A,P,O,D,R,L,N,j,F,z,B,V,$,H,G,W,U,q,X,Y,K,Z,Q,J,ee,te,ne,re,ie,oe,ae,se;for(Q=0,D=0,N=(A=t).length;D<N;++D)for(G=new td((M=A[D]).j);G.a<G.c.c.length;){for(U=0,l=new td((H=LL(xW(G),11)).g);l.a<l.c.c.length;)s=LL(xW(l),18),M.c!=s.d.i.c&&++U;U>0&&(e.a[H.p]=Q++)}for(re=0,R=0,j=(P=n).length;R<j;++R){for(F=0,G=new td((M=P[R]).j);G.a<G.c.c.length&&(H=LL(xW(G),11)).j==(hwe(),Det);)for(l=new td(H.e);l.a<l.c.c.length;)if(s=LL(xW(l),18),M.c!=s.c.i.c){++F;break}for(B=0,q=new eU(M.j,M.j.c.length);q.b>0;){for(EP(q.b>0),U=0,l=new td((H=LL(q.a.Xb(q.c=--q.b),11)).e);l.a<l.c.c.length;)s=LL(xW(l),18),M.c!=s.c.i.c&&++U;U>0&&(H.j==(hwe(),Det)?(e.a[H.p]=re,++re):(e.a[H.p]=re+F+B,++B))}re+=B}for(W=new Hm,g=new qM,O=0,L=(T=t).length;O<L;++O)for(te=new td((M=T[O]).j);te.a<te.c.c.length;)for(l=new td((ee=LL(xW(te),11)).g);l.a<l.c.c.length;)if(oe=(s=LL(xW(l),18)).d,M.c!=oe.i.c)if(J=LL(PI(rH(W.f,ee)),461),ie=LL(PI(rH(W.f,oe)),461),J||ie)if(J)if(ie)if(J==ie)RL(J.a,s);else{for(RL(J.a,s),$=new td(ie.d);$.a<$.c.c.length;)V=LL(xW($),11),eue(W.f,V,J);L3(J.a,ie.a),L3(J.d,ie.d),g.a.zc(ie)}else RL(J.a,s),RL(J.d,oe),eue(W.f,oe,J);else RL(ie.a,s),RL(ie.d,ee),eue(W.f,ee,ie);else p=new LD,g.a.xc(p,g),RL(p.a,s),RL(p.d,ee),eue(W.f,ee,p),RL(p.d,oe),eue(W.f,oe,p);for(m=LL(Qne(g,fK(A1e,{3:1,4:1,5:1,1918:1},461,g.a.gc(),0,1)),1918),I=t[0].c,Z=n[0].c,h=0,d=(f=m).length;h<d;++h)for((c=f[h]).e=Q,c.f=re,G=new td(c.d);G.a<G.c.c.length;)H=LL(xW(G),11),X=e.a[H.p],H.i.c==I?(X<c.e&&(c.e=X),X>c.b&&(c.b=X)):H.i.c==Z&&(X<c.f&&(c.f=X),X>c.c&&(c.c=X));for(fZ(m,0,m.length,null),ne=fK(nat,sSe,24,m.length,15,1),i=fK(nat,sSe,24,re+1,15,1),v=0;v<m.length;v++)ne[v]=m[v].f,i[ne[v]]=1;for(a=0,y=0;y<i.length;y++)1==i[y]?i[y]=a:--a;for(Y=0,w=0;w<ne.length;w++)ne[w]+=i[ne[w]],Y=r.Math.max(Y,ne[w]+1);u=1;for(;u<Y;)u*=2;for(se=2*u-1,u-=1,ae=fK(nat,sSe,24,se,15,1),o=0,C=0;C<ne.length;C++)for(++ae[k=ne[C]+u];k>0;)k%2>0&&(o+=ae[k+1]),++ae[k=(k-1)/2|0];for(E=fK(D1e,zxe,359,2*m.length,0,1),x=0;x<m.length;x++)E[2*x]=new DV(m[x],m[x].e,m[x].b,(KU(),O1e)),E[2*x+1]=new DV(m[x],m[x].b,m[x].e,P1e);for(fZ(E,0,E.length,null),z=0,_=0;_<E.length;_++)switch(E[_].d.g){case 0:++z;break;case 1:o+=--z}for(K=fK(D1e,zxe,359,2*m.length,0,1),S=0;S<m.length;S++)K[2*S]=new DV(m[S],m[S].f,m[S].c,(KU(),O1e)),K[2*S+1]=new DV(m[S],m[S].c,m[S].f,P1e);for(fZ(K,0,K.length,null),z=0,b=0;b<K.length;b++)switch(K[b].d.g){case 0:++z;break;case 1:o+=--z}return o}(e.d,i,o),a+=hB(e.a,i,(hwe(),Oet)),a+=hB(e.a,o,Qet)):a=function(e,t,n){var r;return r=B5(e,t,n),e.b=new P1(r.c.length),qde(e,r)}(e.a,i,o)),e.c[t]&&(a+=mY(e.a,i)),a}function nse(e,t,n,r,i){var o,a,s,l;for(l=null,s=new td(r);s.a<s.c.c.length;)if((a=LL(xW(s),435))!=n&&-1!=vZ(a.e,i,0)){l=a;break}PG(o=$X(i),n.b),AG(o,l.b),Yue(e.a,i,new ZR(o,t,n.f))}function rse(e){for(;0!=e.g.c&&0!=e.d.c;)qO(e.g).c>qO(e.d).c?(e.i+=e.g.c,H7(e.d)):qO(e.d).c>qO(e.g).c?(e.e+=e.d.c,H7(e.g)):(e.i+=rj(e.g),e.e+=rj(e.d),H7(e.g),H7(e.d))}function ise(e,t,n,i){e.a.d=r.Math.min(t,n),e.a.a=r.Math.max(t,i)-e.a.d,t<n?(e.b=.5*(t+n),e.g=_Ae*e.b+.9*t,e.f=_Ae*e.b+.9*n):(e.b=.5*(t+i),e.g=_Ae*e.b+.9*i,e.f=_Ae*e.b+.9*t)}function ose(e){var t,n,i,o;if(NM(LL(Fae(e.b,(Kwe(),qZe)),108)))return 0;for(t=0,i=new td(e.a);i.a<i.c.c.length;)(n=LL(xW(i),10)).k==(mse(),XHe)&&(o=n.o.a,t=r.Math.max(t,o));return t}function ase(e){switch(LL(Fae(e,(Kwe(),xQe)),165).g){case 1:S5(e,xQe,(H9(),nYe));break;case 2:S5(e,xQe,(H9(),rYe));break;case 3:S5(e,xQe,(H9(),eYe));break;case 4:S5(e,xQe,(H9(),tYe))}}function sse(){sse=S,_qe=new IC(bIe,0),yqe=new IC(nCe,1),Sqe=new IC(rCe,2),xqe=new IC("LEFT_RIGHT_CONSTRAINT_LOCKING",3),wqe=new IC("LEFT_RIGHT_CONNECTION_LOCKING",4),vqe=new IC(DIe,5)}function lse(e,t,n){var i,o,a,s,l,u,c;l=n.a/2,a=n.b/2,u=1,c=1,(i=r.Math.abs(t.a-e.a))>l&&(u=l/i),(o=r.Math.abs(t.b-e.b))>a&&(c=a/o),s=r.Math.min(u,c),e.a+=s*(t.a-e.a),e.b+=s*(t.b-e.b)}function use(e,t,n,r,i){var o,a;for(a=!1,o=LL(JN(n.b,0),34);bbe(e,t,o,r,i)&&(a=!0,coe(n,o),0!=n.b.c.length);)o=LL(JN(n.b,0),34);return 0==n.b.c.length&&Eee(n.j,n),a&&R7(t.q),a}function cse(e,t){if(e<0||t<0)throw Jm(new Ny("k and n must be positive"));if(t>e)throw Jm(new Ny("k must be smaller than n"));return 0==t||t==e?1:0==e?0:Nie(e)/(Nie(t)*Nie(e-t))}function fse(e,t){var n,r,i,o;if(Jde(),t.b<2)return!1;for(r=n=LL(BU(o=cte(t,0)),8);o.b!=o.d.c;){if(Phe(e,r,i=LL(BU(o),8)))return!0;r=i}return!!Phe(e,r,n)}function hse(e,t,n,r){return 0==n?(!e.o&&(e.o=new EK((Hwe(),Xtt),ynt,e,0)),AR(e.o,t,r)):LL(VQ(LL(n3(e,16),26)||e.uh(),n),65).Ij().Mj(e,Aee(e),n-Hz(e.uh()),t,r)}function dse(e,t){var n;t!=e.sb?(n=null,e.sb&&(n=LL(e.sb,48).dh(e,1,ant,n)),t&&(n=LL(t,48).ah(e,1,ant,n)),(n=Q6(e,t,n))&&n.Ai()):0!=(4&e.Db)&&0==(1&e.Db)&&Y2(e,new NF(e,1,4,t,t))}function pse(e){if(null==iFe&&(iFe=new RegExp("^\\s*[+-]?(NaN|Infinity|((\\d+\\.?\\d*)|(\\.\\d+))([eE][+-]?\\d+)?[dDfF]?)\\s*$")),!iFe.test(e))throw Jm(new fw(DSe+e+'"'));return parseFloat(e)}function gse(e,t){var n,r;r=LL(Fae(t,(Kwe(),tJe)),100),S5(t,(hxe(),jXe),r),(n=t.e)&&(lS(new cj(null,new ZG(n.a,16)),new qd(e)),lS(aQ(new cj(null,new ZG(n.b,16)),new dt),new Xd(e)))}function mse(){mse=S,XHe=new Zk("NORMAL",0),qHe=new Zk("LONG_EDGE",1),WHe=new Zk("EXTERNAL_PORT",2),YHe=new Zk("NORTH_SOUTH_PORT",3),UHe=new Zk("LABEL",4),GHe=new Zk("BREAKING_POINT",5)}function bse(e,t,n){var r;qoe(n,"Self-Loop routing",1),r=function(e){switch(LL(Fae(e,(Kwe(),eQe)),216).g){case 1:return new Ji;case 3:return new io;default:return new Qi}}(t),qI(Fae(t,(TY(),K6e))),lS(SV(_V(_V(aQ(new cj(null,new ZG(t.b,16)),new Vr),new $r),new Hr),new Gr),new eC(e,r)),_se(n)}function vse(e){var t,n,r,i,o,a;for(t=new Fq,i=0,o=(r=e).length;i<o;++i)if(null!=ste(t,a=wz((n=r[i]).ad()),wz(n.bd())))throw Jm(new Ny("duplicate key: "+a));this.b=(v$(),new nd(t))}function yse(e,t){var n,r,i;return(t&=63)<22?(n=e.l<<t,r=e.m<<t|e.l>>22-t,i=e.h<<t|e.m>>22-t):t<44?(n=0,r=e.l<<t-22,i=e.m<<t-22|e.l>>44-t):(n=0,r=0,i=e.l<<t-44),TT(n&SSe,r&SSe,i&kSe)}function wse(){wse=S,JUe=new kC("ALWAYS_UP",0),QUe=new kC("ALWAYS_DOWN",1),tqe=new kC("DIRECTION_UP",2),eqe=new kC("DIRECTION_DOWN",3),rqe=new kC("SMART_UP",4),nqe=new kC("SMART_DOWN",5)}function xse(){xse=S,m3e=new sT(20),g3e=new cT((fxe(),v9e),m3e),w3e=new cT(r7e,20),d3e=new cT(P8e,hEe),b3e=new cT($9e,k8(1)),y3e=new cT(U9e,(_P(),!0)),p3e=F8e,z2(),x3e=f3e,v3e=u3e}function _se(e){var t;if(null==e.p)throw Jm(new jy("The task has not begun yet."));e.b||(e.k&&(Q_(),t=a8(I2(Date.now()),D_e),e.q=1e-9*GW(s8(t,e.o))),e.c<e.r&&K0(e,e.r-e.c),e.b=!0)}function Sse(e,t){var n,r,i,o;for(n=new KM(e);null!=n.g||n.c?null==n.g||0!=n.i&&LL(n.g[n.i-1],49).Ob():QH(n);)if(BT(o=LL(nhe(n),55),160))for(r=LL(o,160),i=0;i<t.length;i++)t[i].jg(r)}function kse(e){var t;return 0!=(64&e.Db)?h9(e):((t=new XA(h9(e))).a+=" (height: ",Bx(t,e.f),t.a+=", width: ",Bx(t,e.g),t.a+=", x: ",Bx(t,e.i),t.a+=", y: ",Bx(t,e.j),t.a+=")",t.a)}function Cse(e){var t,n,r,i,o;if(null==e)return $xe;for(o=new u3(jxe,"[","]"),r=0,i=(n=e).length;r<i;++r)t=n[r],aY(o,String.fromCharCode(t));return o.a?0==o.e.length?o.a.a:o.a.a+""+o.e:o.c}function Ese(){Ese=S,jQ(),d$e=new uM(oEe,p$e=x$e),k8(1),h$e=new uM(aEe,k8(300)),k8(0),b$e=new uM(sEe,k8(0)),new Bm,v$e=new uM(lEe,uEe),new Bm,g$e=new uM(cEe,5),y$e=x$e,m$e=w$e}function Ise(e,t){var n,r,i,o;for(r=(1==t?_He:xHe).a.ec().Ic();r.Ob();)for(n=LL(r.Pb(),108),o=LL(KX(e.f.c,n),21).Ic();o.Ob();)i=LL(o.Pb(),46),RL(e.b.b,LL(i.b,79)),RL(e.b.a,LL(i.b,79).d)}function Mse(e){var t,n;return n=r.Math.sqrt((null==e.k&&(e.k=q1(e,new wo)),Oy(e.k)/(e.b*(null==e.g&&(e.g=U1(e,new yo)),Oy(e.g))))),t=QN(I2(r.Math.round(n))),t=r.Math.min(t,e.f)}function Tse(e,t,n){var r,i;for(i=new eU(e.b,0);i.b<i.d.gc();)EP(i.b<i.d.gc()),OI(Fae(r=LL(i.d.Xb(i.c=i.b++),69),(hxe(),LXe)))===OI(t)&&(yle(r.n,jB(e.c.i),n),nV(i),RL(t.b,r))}function Ase(e,t){var n;if(OI(e)===OI(t))return!0;if(BT(t,21)){n=LL(t,21);try{return e.gc()==n.gc()&&e.Gc(n)}catch(e){if(BT(e=v3(e),173)||BT(e,203))return!1;throw Jm(e)}}return!1}function Pse(){h2(),ID.call(this),this.j=(hwe(),Zet),this.a=new hx,new lv,this.f=(k0(2,T_e),new LY(2)),this.e=(k0(4,T_e),new LY(4)),this.g=(k0(4,T_e),new LY(4)),this.b=new Xk(this.e,this.g)}function Ose(e,t){var n;return!Ty(VO(Fae(t,(hxe(),WXe))))&&(n=t.c.i,(e!=(H9(),eYe)||n.k!=(mse(),UHe))&&LL(Fae(n,(Kwe(),xQe)),165)!=tYe)}function Dse(e,t){var n;return!Ty(VO(Fae(t,(hxe(),WXe))))&&(n=t.d.i,(e!=(H9(),nYe)||n.k!=(mse(),UHe))&&LL(Fae(n,(Kwe(),xQe)),165)!=rYe)}function Rse(e,t){if(t.a)switch(LL(Fae(t.b,(hxe(),jXe)),100).g){case 0:case 1:poe(t);case 2:lS(new cj(null,new ZG(t.d,16)),new Tr),function(e,t){var n;(function(e){var t,n,r,i,o,a,s,l;for(e.b=new dce(new Vy((hwe(),q3(lw(att,1),VEe,61,0,[Zet,Det,Oet,Ket,Qet]))),new Vy((_1(),q3(lw(aUe,1),A_e,358,0,[iUe,rUe,nUe])))),a=q3(lw(att,1),VEe,61,0,[Zet,Det,Oet,Ket,Qet]),s=0,l=a.length;s<l;++s)for(o=a[s],r=0,i=(n=q3(lw(aUe,1),A_e,358,0,[iUe,rUe,nUe])).length;r<i;++r)t=n[r],noe(e.b,o,t,new $m)})(e),e.a=(n=new Jy,lS(new cj(null,new ZG(t.d,16)),new Bp(n)),n),function(e,t){var n,r,i,o,a;for(i=LL(KX(e.a,(koe(),UWe)),14).Ic();i.Ob();)switch(r=LL(i.Pb(),101),n=LL(JN(r.j,0),112).d.j,kT(o=new jR(r.j),new Li),t.g){case 1:Coe(e,o,n,(_1(),rUe),1);break;case 0:Coe(e,new KG(o,0,a=xhe(o)),n,(_1(),rUe),0),Coe(e,new KG(o,a,o.c.length),n,rUe,1)}}(e,LL(Fae(t.b,(Kwe(),iQe)),374)),function(e){var t,n,r;for(r=LL(KX(e.a,(koe(),XWe)),14).Ic();r.Ob();)Lz(e,n=LL(r.Pb(),101),(t=Gre(n))[0],(_1(),nUe),0),Lz(e,n,t[1],iUe,1)}(e),function(e){var t,n,r,i;for(i=LL(KX(e.a,(koe(),qWe)),14).Ic();i.Ob();)Lz(e,r=LL(i.Pb(),101),(n=(t=aF(r.k)).Fc((hwe(),Det))?t.Fc(Oet)?t.Fc(Ket)?t.Fc(Qet)?null:QWe:eUe:JWe:ZWe)[0],(_1(),nUe),0),Lz(e,r,n[1],rUe,1),Lz(e,r,n[2],iUe,1)}(e),function(e){var t,n,r;for(r=LL(KX(e.a,(koe(),WWe)),14).Ic();r.Ob();)for(t=aF((n=LL(r.Pb(),101)).k).Ic();t.Ob();)Lz(e,n,LL(t.Pb(),61),(_1(),rUe),1)}(e),function(e){var t,n,r;for(r=LL(KX(e.a,(koe(),YWe)),14).Ic();r.Ob();)Lz(e,n=LL(r.Pb(),101),(t=Gre(n))[0],(_1(),nUe),0),Lz(e,n,t[1],iUe,1)}(e),function(e,t){var n,r,i,o;n=t.b,o=new jR(n.j),i=0,(r=n.j).c=fK(pje,zxe,1,0,5,1),Tz(LL(D2(e.b,(hwe(),Det),(_1(),iUe)),14),n),i=vre(o,i,new ji,r),Tz(LL(D2(e.b,Det,rUe),14),n),i=vre(o,i,new Ai,r),Tz(LL(D2(e.b,Det,nUe),14),n),Tz(LL(D2(e.b,Oet,iUe),14),n),Tz(LL(D2(e.b,Oet,rUe),14),n),i=vre(o,i,new Fi,r),Tz(LL(D2(e.b,Oet,nUe),14),n),Tz(LL(D2(e.b,Ket,iUe),14),n),i=vre(o,i,new zi,r),Tz(LL(D2(e.b,Ket,rUe),14),n),i=vre(o,i,new Bi,r),Tz(LL(D2(e.b,Ket,nUe),14),n),Tz(LL(D2(e.b,Qet,iUe),14),n),i=vre(o,i,new Di,r),Tz(LL(D2(e.b,Qet,rUe),14),n),Tz(LL(D2(e.b,Qet,nUe),14),n)}(e,t),lS(aQ(new cj(null,ZW(function(e){return e.i||(e.i=new Bf(e))}(e.b).a)),new Pi),new Oi),t.a=!1,e.a=null}(e.a,t)}else lS(new cj(null,new ZG(t.d,16)),new Tr)}function Lse(e){switch(e.g){case 0:return new wy((M0(),_1e));case 1:return new of;default:throw Jm(new Ny("No implementation is available for the crossing minimizer "+(null!=e.f?e.f:""+e.g)))}}function Nse(){Nse=S,T4e=new gE("CENTER_DISTANCE",0),A4e=new gE("CIRCLE_UNDERLAP",1),D4e=new gE("RECTANGLE_UNDERLAP",2),P4e=new gE("INVERTED_OVERLAP",3),O4e=new gE("MINIMUM_ROOT_DISTANCE",4)}function jse(e,t){switch(t.g){case 1:return SL(e.j,(h2(),nGe));case 2:return SL(e.j,(h2(),eGe));case 3:return SL(e.j,(h2(),iGe));case 4:return SL(e.j,(h2(),oGe));default:return v$(),v$(),XFe}}function Fse(e,t){var n,r,i;n=function(e,t){return t==(hwe(),Qet)?e.c:e.d}(t,e.e),r=LL(aB(e.g.f,n),20).a,i=e.a.c.length-1,0!=e.a.c.length&&LL(JN(e.a,i),286).c==r?(++LL(JN(e.a,i),286).a,++LL(JN(e.a,i),286).b):RL(e.a,new KP(r))}function zse(e,t,n){var r,i,o,a;if(0!=t.b){for(r=new sS,a=cte(t,0);a.b!=a.d.c;)G1(r,K3(o=LL(BU(a),83))),(i=o.e).a=LL(Fae(o,(qve(),s3e)),20).a,i.b=LL(Fae(o,l3e),20).a;zse(e,r,a2(n,r.b/e.a|0))}}function Bse(e,t){var n,r,i,o,a;if(e.e<=t)return e.g;if(function(e,t,n){var r;return(r=pbe(e,t,!1)).b<=t&&r.a<=n}(e,e.g,t))return e.g;for(o=e.r,r=e.g,a=e.r,i=(o-r)/2+r;r+1<o;)(n=pbe(e,i,!1)).b<=i&&n.a<=t?(a=i,o=i):r=i,i=(o-r)/2+r;return a}function Vse(e,t,n,r,i){if(r<t||i<n)throw Jm(new Ny("The highx must be bigger then lowx and the highy must be bigger then lowy"));return e.a<t?e.a=t:e.a>r&&(e.a=r),e.b<n?e.b=n:e.b>i&&(e.b=i),e}function $se(e){var t,n,r;for(bN(r=new bv,new YE(e.j,e.k)),n=new SA((!e.a&&(e.a=new hA(Jtt,e,5)),e.a));n.e!=n.i.gc();)bN(r,new YE((t=LL(Hee(n),463)).a,t.b));return bN(r,new YE(e.b,e.c)),r}function Hse(e){if(BT(e,149))return function(e){var t,n,r,i,o,a,s,l;l=aae(e),t=e.a,null!=t&&KL(l,"category",e.a),i=r_(new Fh(e.d)),!i&&(pQ(l,"knownOptions",a=new dh),n=new hm(a),yX(new Fh(e.d),n));o=r_(e.g),!o&&(pQ(l,"supportedFeatures",s=new dh),r=new dm(s),yX(e.g,r));return l}(LL(e,149));if(BT(e,227))return function(e){var t,n,r;return r=aae(e),!r_(e.c)&&(pQ(r,"knownLayouters",n=new dh),t=new pm(n),yX(e.c,t)),r}(LL(e,227));if(BT(e,23))return function(e){var t,n,r;return r=aae(e),null!=e.e&&KL(r,FDe,e.e),!!e.k&&KL(r,"type",JP(e.k)),!r_(e.j)&&(n=new dh,pQ(r,vDe,n),t=new gm(n),yX(e.j,t)),r}(LL(e,23));throw Jm(new Ny(TDe+Wae(new Vy(q3(lw(pje,1),zxe,1,5,[e])))))}function Gse(e,t){var n;RL(e.d,t),n=t.pf(),e.c?(e.e.a=r.Math.max(e.e.a,n.a),e.e.b+=n.b,e.d.c.length>1&&(e.e.b+=e.a)):(e.e.a+=n.a,e.e.b=r.Math.max(e.e.b,n.b),e.d.c.length>1&&(e.e.a+=e.a))}function Wse(e){var t,n,r,i;switch(t=(i=e.i).b,r=i.j,n=i.g,i.a.g){case 0:n.a=(e.g.b.o.a-r.a)/2;break;case 1:n.a=t.d.n.a+t.d.a.a;break;case 2:n.a=t.d.n.a+t.d.a.a-r.a;break;case 3:n.b=t.d.n.b+t.d.a.b}}function Use(e,t,n,r){var i;this.b=r,this.e=e==(M0(),S1e),i=t[n],this.d=FN(rat,[s_e,Kke],[177,24],16,[i.length,i.length],2),this.a=FN(nat,[s_e,sSe],[47,24],15,[i.length,i.length],2),this.c=new Ooe(t,n)}function qse(e,t,n,r){var i,o;if(t.k==(mse(),qHe))for(o=new xF(BA(p9(t).a.Ic(),new p));Zce(o);)if((i=LL(dX(o),18)).c.i.k==qHe&&e.c.a[i.c.i.c.p]==r&&e.c.a[t.c.p]==n)return!0;return!1}function Xse(e){var t,n;return LL(xfe(e,(fxe(),c9e)),21).Fc((aee(),stt))?(n=LL(xfe(e,g9e),21),t=LL(xfe(e,d9e),8),n.Fc((Vge(),ptt))&&(t.a<=0&&(t.a=20),t.b<=0&&(t.b=20)),t):new hx}function Yse(e){var t,n,r;for(e.k=new JG((hwe(),q3(lw(att,1),VEe,61,0,[Zet,Det,Oet,Ket,Qet])).length,e.j.c.length),r=new td(e.j);r.a<r.c.c.length;)t=(n=LL(xW(r),112)).d.j,Yue(e.k,t,n);e.e=function(e){var t,n;if(koe(),e.Fc((hwe(),Zet)))throw Jm(new Ny("Port sides must not contain UNDEFINED"));switch(e.gc()){case 1:return UWe;case 2:return t=e.Fc(Oet)&&e.Fc(Qet),n=e.Fc(Det)&&e.Fc(Ket),t||n?YWe:XWe;case 3:return qWe;case 4:return WWe;default:return null}}(aF(e.k))}function Kse(e){switch(e.g){case 0:return new Gj;case 1:return new Zc;case 2:return new Qc;default:throw Jm(new Ny("No implementation is available for the cycle breaker "+(null!=e.f?e.f:""+e.g)))}}function Zse(e,t){var n,r,i;uz(e.d,t),n=new da,eV(e.c,t,n),n.f=u8(t.c),n.a=u8(t.d),n.d=(gde(),(i=t.c.i.k)==(mse(),XHe)||i==GHe),n.e=(r=t.d.i.k)==XHe||r==GHe,n.b=t.c.j==(hwe(),Qet),n.c=t.d.j==Oet}function Qse(e,t){var n,r,i,o;for(r=0,i=e.length;r<i;r++){o=e[r];try{o[1]?o[0].em()&&(t=Pj(t,o)):o[0].em()}catch(e){if(!BT(e=v3(e),78))throw Jm(e);n=e,Nw(),P$(BT(n,471)?LL(n,471).ae():n)}}return t}function Jse(e){var t,n,r,i,o;for(o=Dxe,i=Dxe,r=new td(A9(e));r.a<r.c.c.length;)t=(n=LL(xW(r),211)).e.e-n.d.e,n.e==e&&t<i?i=t:t<o&&(o=t);return i==Dxe&&(i=-1),o==Dxe&&(o=-1),new KE(k8(i),k8(o))}function ele(e,t){var n,r,i;for(n=t.a.o.a,i=new Nh(new KG(jB(t.a).b,t.c,t.f+1));i.b<i.d.gc();)if(EP(i.b<i.d.gc()),(r=LL(i.d.Xb(i.c=i.b++),29)).c.a>=n)return sle(e,t,r.p),!0;return!1}function tle(e,t,n){var r,i,o,a,s;for(s=ade(e.e.Og(),t),i=LL(e.g,118),r=0,a=0;a<e.i;++a)if(o=i[a],s.ml(o.Xj())){if(r==n)return Yde(e,a),tk(),LL(t,65).Jj()?o:o.bd();++r}throw Jm(new Ey(zRe+n+GDe+r))}function nle(e,t,n){var r,i,o,a,s,l;for(l=ade(e.e.Og(),t),r=0,s=e.i,i=LL(e.g,118),a=0;a<e.i;++a)if(o=i[a],l.ml(o.Xj())){if(n==r)return a;++r,s=a+1}if(n==r)return s;throw Jm(new Ey(zRe+n+GDe+r))}function rle(e,t){var n,r,i;if(r=VQ(e.Og(),t),(n=t-e.vh())<0){if(!r)throw Jm(new Ny(qOe+t+XOe));if(!r.Dj())throw Jm(new Ny(HOe+r.ne()+GOe));(i=e.Tg(r))>=0?e.wh(i):xue(e,r)}else e8(e,n,r)}function ile(e){var t;return 0!=(64&e.Db)?kse(e):(t=new YA(FOe),!e.a||UI(UI((t.a+=' "',t),e.a),'"'),UI(Hx(UI(Hx(UI(Hx(UI(Hx((t.a+=" (",t),e.i),","),e.j)," | "),e.g),","),e.f),")"),t.a)}function ole(e){var t,n,r;if(2==(t=e.c)||7==t||1==t)return gxe(),gxe(),Oot;for(r=Gwe(e),n=null;2!=(t=e.c)&&7!=t&&1!=t;)n||(gxe(),gxe(),Ive(n=new ST(1),r),r=n),Ive(n,Gwe(e));return r}function ale(e,t,n){var r,i,o,a;for(qoe(n,"ELK Force",1),function(e){var t,n;(t=LL(Fae(e,(fde(),O$e)),20))?(n=t.a,S5(e,(y1(),H$e),0==n?new y9:new jU(n))):S5(e,(y1(),H$e),new jU(1))}(a=_5(t)),function(e,t){switch(t.g){case 0:BT(e.b,621)||(e.b=new F2);break;case 1:BT(e.b,622)||(e.b=new dN)}}(e,LL(Fae(a,(fde(),I$e)),418)),i=(o=Ume(e.a,a)).Ic();i.Ob();)r=LL(i.Pb(),229),kge(e.b,r,a2(n,1/o.gc()));pwe(a=kwe(o)),_se(n)}function sle(e,t,n){var i,o;for(n!=t.c+t.b.gc()&&function(e,t){var n,r,i,o,a,s,l,u,c,f,h,d,p,g,m,b,v,y,w,x,_,S,k,C;for(w=e.c,x=t.c,n=vZ(w.a,e,0),r=vZ(x.a,t,0),v=LL(b7(e,(E0(),R0e)).Ic().Pb(),11),k=LL(b7(e,L0e).Ic().Pb(),11),y=LL(b7(t,R0e).Ic().Pb(),11),C=LL(b7(t,L0e).Ic().Pb(),11),m=gU(v.e),_=gU(k.g),b=gU(y.e),S=gU(C.g),$re(e,r,x),u=0,d=(o=b).length;u<d;++u)AG(o[u],v);for(c=0,p=(a=S).length;c<p;++c)PG(a[c],k);for($re(t,n,w),f=0,g=(s=m).length;f<g;++f)AG(s[f],y);for(l=0,h=(i=_).length;l<h;++l)PG(i[l],C)}(t.a,function(e,t){return t<e.b.gc()?LL(e.b.Xb(t),10):t==e.b.gc()?e.a:LL(JN(e.e,t-e.b.gc()-1),10)}(t,n-t.c)),o=t.a.c.p,e.a[o]=r.Math.max(e.a[o],t.a.o.a),i=LL(Fae(t.a,(hxe(),GXe)),14).Ic();i.Ob();)S5(LL(i.Pb(),69),_We,(_P(),!0))}function lle(e,t,n){var r,i,o,a;for(t.p=-1,a=b7(t,(E0(),L0e)).Ic();a.Ob();)for(i=new td(LL(a.Pb(),11).g);i.a<i.c.c.length;)t!=(o=(r=LL(xW(i),18)).d.i)&&(o.p<0?n.Dc(r):o.p>0&&lle(e,o,n));t.p=0}function ule(e){var t;this.c=new sS,this.f=e.e,this.e=e.d,this.i=e.g,this.d=e.c,this.b=e.b,this.k=e.j,this.a=e.a,e.i?this.j=e.i:this.j=new WR(t=LL(Lx(X6e),9),LL(wD(t,t.length),9),0),this.g=e.f}function cle(e){var t,n;if(n=null,t=!1,BT(e,202)&&(t=!0,n=LL(e,202).a),t||BT(e,257)&&(t=!0,n=""+LL(e,257).a),t||BT(e,477)&&(t=!0,n=""+LL(e,477).a),!t)throw Jm(new My(EDe));return n}function fle(e,t,n){var r,i,o;if(!(n<=t+2))for(i=(n-t)/2|0,r=0;r<i;++r)MG(t+r,e.c.length),o=LL(e.c[t+r],11),mX(e,t+r,(MG(n-r-1,e.c.length),LL(e.c[n-r-1],11))),MG(n-r-1,e.c.length),e.c[n-r-1]=o}function hle(e){var t;this.j=new $m,this.f=new Pb,this.b=new WR(t=LL(Lx(att),9),LL(wD(t,t.length),9),0),this.d=fK(nat,sSe,24,(hwe(),q3(lw(att,1),VEe,61,0,[Zet,Det,Oet,Ket,Qet])).length,15,1),this.g=e}function dle(e,t){var n,r,i;if(0!=t.c.length){for(n=$ae(e,t),i=!1;!n;)Dfe(e,t,!0),i=!0,n=$ae(e,t);i&&Dfe(e,t,!1),r=Z3(t),e.b&&e.b.gg(r),e.a=w6(e,(MG(0,t.c.length),LL(t.c[0],34))),dle(e,r)}}function ple(e,t){var n,r;if(e.f){for(;t.Ob();)if(BT(r=(n=LL(t.Pb(),71)).Xj(),97)&&0!=(LL(r,17).Bb&YOe)&&(!e.e||r.Bj()!=Qtt||0!=r.Xi())&&null!=n.bd())return t.Ub(),!0;return!1}return t.Ob()}function gle(e,t){var n,r;if(e.f){for(;t.Sb();)if(BT(r=(n=LL(t.Ub(),71)).Xj(),97)&&0!=(LL(r,17).Bb&YOe)&&(!e.e||r.Bj()!=Qtt||0!=r.Xi())&&null!=n.bd())return t.Pb(),!0;return!1}return t.Sb()}function mle(){mle=S,q6e=new _E(sCe,0),B6e=new _E("BOOLEAN",1),G6e=new _E("INT",2),U6e=new _E("STRING",3),V6e=new _E("DOUBLE",4),$6e=new _E("ENUM",5),H6e=new _E("ENUMSET",6),W6e=new _E("OBJECT",7)}function ble(e,t){var n,i,o,a,s;i=r.Math.min(e.c,t.c),a=r.Math.min(e.d,t.d),(o=r.Math.max(e.c+e.b,t.c+t.b))<i&&(n=i,i=o,o=n),(s=r.Math.max(e.d+e.a,t.d+t.a))<a&&(n=a,a=s,s=n),HL(e,i,a,o-i,s-a)}function vle(){vle=S,_it=q3(lw(CFe,1),s_e,2,6,[QLe,JLe,eNe,tNe,nNe,rNe,FDe]),xit=q3(lw(CFe,1),s_e,2,6,[QLe,"empty",JLe,_Le,"elementOnly"]),kit=q3(lw(CFe,1),s_e,2,6,[QLe,"preserve","replace",iNe]),Sit=new rN}function yle(e,t,n){var r,i,o;if(t!=n){r=t;do{BD(e,r.c),(i=r.e)&&(nO(e,(o=r.d).b,o.d),BD(e,i.n),r=jB(i))}while(i);r=n;do{VD(e,r.c),(i=r.e)&&(rO(e,(o=r.d).b,o.d),VD(e,i.n),r=jB(i))}while(i)}}function wle(e,t,n,r){var i,o,a,s,l;if(r.f.c+r.g.c==0)for(s=0,l=(a=e.a[e.c]).length;s<l;++s)eV(r,o=a[s],new C2(e,o,n));return(i=LL(PI(rH(r.f,t)),651)).b=0,i.c=i.f,0==i.c||Rh(LL(JN(i.a,i.b),286)),i}function xle(){xle=S,wUe=new bC("MEDIAN_LAYER",0),_Ue=new bC("TAIL_LAYER",1),yUe=new bC("HEAD_LAYER",2),xUe=new bC("SPACE_EFFICIENT_LAYER",3),SUe=new bC("WIDEST_LAYER",4),vUe=new bC("CENTER_LAYER",5)}function _le(e,t){if(BT(t,238))return function(e,t){return IJ(uB(e.g),t)}(e,LL(t,34));if(BT(t,199))return function(e,t){return IJ(uB(e.j),t)}(e,LL(t,122));if(BT(t,432))return function(e,t){return IJ(uB(e.d),t)}(e,LL(t,201));throw Jm(new Ny(TDe+Wae(new Vy(q3(lw(pje,1),zxe,1,5,[t])))))}function Sle(e,t){var n;return 0!=e.c.length&&(n=M7((MG(0,e.c.length),LL(e.c[0],18)).c.i),kG(),n==(rne(),r0e)||n==n0e||xX(SV(new cj(null,new ZG(e,16)),new Po),new hg(t)))}function kle(e,t,n){var r,i,o;if(!e.b[t.g]){for(e.b[t.g]=!0,!(r=n)&&(r=new PY),bN(r.b,t),o=e.a[t.g].Ic();o.Ob();)(i=LL(o.Pb(),188)).b!=t&&kle(e,i.b,r),i.c!=t&&kle(e,i.c,r),bN(r.a,i);return r}return null}function Cle(){Cle=S,V2e=new aE("ROOT_PROC",0),j2e=new aE("FAN_PROC",1),z2e=new aE("NEIGHBORS_PROC",2),F2e=new aE("LEVEL_HEIGHT",3),B2e=new aE("NODE_POSITION_PROC",4),N2e=new aE("DETREEIFYING_PROC",5)}function Ele(e,t,n){var r,i;if(this.f=e,BX(n,i=(r=LL(aB(e.b,t),282))?r.a:0),n>=(i/2|0))for(this.e=r?r.c:null,this.d=i;n++<i;)hG(this);else for(this.c=r?r.b:null;n-- >0;)fG(this);this.b=t,this.a=null}function Ile(e,t){var n,r;t.a?function(e,t){var n;if(!Iz(e.b,t.b))throw Jm(new jy("Invalid hitboxes for scanline constraint calculation."));(F3(t.b,LL(function(e,t){return Nx(Y7(e.a,t,!0))}(e.b,t.b),56))||F3(t.b,LL(function(e,t){return Nx(X7(e.a,t,!0))}(e.b,t.b),56)))&&(Q_(),t.b),e.a[t.b.f]=LL(dR(e.b,t.b),56),(n=LL(hR(e.b,t.b),56))&&(e.a[n.f]=t.b)}(e,t):(!!(n=LL(dR(e.b,t.b),56))&&n==e.a[t.b.f]&&!!n.a&&n.a!=t.b.a&&n.c.Dc(t.b),!!(r=LL(hR(e.b,t.b),56))&&e.a[r.f]==t.b&&!!r.a&&r.a!=t.b.a&&t.b.c.Dc(r),sP(e.b,t.b))}function Mle(e,t){var n,r;if(n=LL(fV(e.b,t),121),LL(LL(KX(e.r,t),21),81).dc())return n.n.b=0,void(n.n.c=0);n.n.b=e.B.b,n.n.c=e.B.c,e.w.Fc((aee(),ctt))&&mpe(e,t),r=function(e,t){var n,r,i;for(i=0,r=LL(LL(KX(e.r,t),21),81).Ic();r.Ob();)i+=(n=LL(r.Pb(),110)).d.b+n.b.pf().a+n.d.c,r.Ob()&&(i+=e.v);return i}(e,t),rpe(e,t)==(pte(),het)&&(r+=2*e.v),n.a.a=r}function Tle(e,t){var n,r;if(n=LL(fV(e.b,t),121),LL(LL(KX(e.r,t),21),81).dc())return n.n.d=0,void(n.n.a=0);n.n.d=e.B.d,n.n.a=e.B.a,e.w.Fc((aee(),ctt))&&bpe(e,t),r=function(e,t){var n,r,i;for(i=0,r=LL(LL(KX(e.r,t),21),81).Ic();r.Ob();)i+=(n=LL(r.Pb(),110)).d.d+n.b.pf().b+n.d.a,r.Ob()&&(i+=e.v);return i}(e,t),rpe(e,t)==(pte(),het)&&(r+=2*e.v),n.a.b=r}function Ale(e,t){var n,r,i,o;for(o=new $m,r=new td(t);r.a<r.c.c.length;)RL(o,new jk(n=LL(xW(r),63),!0)),RL(o,new jk(n,!1));ky((i=new D$(e)).a.a),qW(o,e.b,new Vy(q3(lw(Wze,1),zxe,667,0,[i])))}function Ple(e,t,n,r){var i,o,a,s,l,u,c,f,h,d,p;return s=e.a,f=e.b,l=t.a,h=t.b,u=n.a,d=n.b,new YE(((o=s*h-f*l)*(u-(c=r.a))-(a=u*(p=r.b)-d*c)*(s-l))/(i=(s-l)*(d-p)-(f-h)*(u-c)),(o*(d-p)-a*(f-h))/i)}function Ole(e,t){var n,r,i;if(!e.d[t.p]){for(e.d[t.p]=!0,e.a[t.p]=!0,r=new xF(BA(g9(t).a.Ic(),new p));Zce(r);)NX(n=LL(dX(r),18))||(i=n.d.i,e.a[i.p]?RL(e.b,n):Ole(e,i));e.a[t.p]=!1}}function Dle(e,t,n){var r,i,o;for(n.xc(t,e),RL(e.n,t),o=e.p._f(t),t.j==e.p.ag()?E9(e.e,o):E9(e.j,o),Nz(e),i=ZF(l0(q3(lw(yje,1),zxe,19,0,[new Qd(t),new ep(t)])));Zce(i);)r=LL(dX(i),11),n._b(r)||Dle(e,r,n)}function Rle(e){var t,n,r;if(!e.b){for(r=new Sl,n=new LP(Dbe(e));n.e!=n.i.gc();)0!=((t=LL(Gee(n),17)).Bb&YOe)&&AK(r,t);Y4(r),e.b=new fM((LL(sJ(k$(($z(),krt).o),8),17),r.i),r.g),VX(e).b&=-9}return e.b}function Lle(e,t){var n,r,i,o,a,s;a=LL(Qne(aF(t.k),fK(att,VEe,61,2,0,1)),120),yre(e,s=t.g,n=HU(t,a[0]),r=$U(t,a[1]))<=yre(e,s,i=HU(t,a[1]),o=$U(t,a[0]))?(t.a=n,t.c=r):(t.a=i,t.c=o)}function Nle(e,t,n){var r,i,o;for(qoe(n,"Processor set neighbors",1),e.a=0==t.b.b?1:t.b.b,i=null,r=cte(t.b,0);!i&&r.b!=r.d.c;)Ty(VO(Fae(o=LL(BU(r),83),(qve(),a3e))))&&(i=o);i&&lpe(e,new _g(i),n),_se(n)}function jle(e){var t,n,r,i;return uve(),t=-1==(r=SM(e,bae(35)))?e:e.substr(0,r),n=-1==r?null:e.substr(r+1),i=function(e,t){return LL(null==t?PI(rH(e.f,null)):ck(e.g,t),279)}(Unt,t),i?null!=n&&(i=I4(i,(wB(n),n))):(i=function(e){var t,n,r,i,o,a,s,l,u,c,f,h,d;a=!0,f=null,r=null,i=null,t=!1,d=Gnt,u=null,o=null,(l=ete(e,s=0,ert,trt))<e.length&&(TG(l,e.length),58==e.charCodeAt(l))&&(f=e.substr(s,l-s),s=l+1);if(n=null!=f&&$_(Wnt,f.toLowerCase())){if(-1==(l=e.lastIndexOf("!/")))throw Jm(new Ny("no archive separator"));a=!0,r=zP(e,s,++l),s=l}else s>=0&&fR(e.substr(s,"//".length),"//")?(l=ete(e,s+=2,nrt,rrt),r=e.substr(s,l-s),s=l):null==f||s!=e.length&&(TG(s,e.length),47==e.charCodeAt(s))||(a=!1,-1==(l=oP(e,bae(35),s))&&(l=e.length),r=e.substr(s,l-s),s=l);!n&&s<e.length&&(TG(s,e.length),47==e.charCodeAt(s))&&(l=ete(e,s+1,nrt,rrt),(c=e.substr(s+1,l-(s+1))).length>0&&58==dV(c,c.length-1)&&(i=c,s=l));s<e.length&&(TG(s,e.length),47==e.charCodeAt(s))&&(++s,t=!0);if(s<e.length&&(TG(s,e.length),63!=e.charCodeAt(s))&&(TG(s,e.length),35!=e.charCodeAt(s))){for(h=new $m;s<e.length&&(TG(s,e.length),63!=e.charCodeAt(s))&&(TG(s,e.length),35!=e.charCodeAt(s));)l=ete(e,s,nrt,rrt),RL(h,e.substr(s,l-s)),(s=l)<e.length&&(TG(s,e.length),47==e.charCodeAt(s))&&(b6(e,++s)||(h.c[h.c.length]=""));tte(h,d=fK(CFe,s_e,2,h.c.length,6,1))}s<e.length&&(TG(s,e.length),63==e.charCodeAt(s))&&(-1==(l=FP(e,35,++s))&&(l=e.length),u=e.substr(s,l-s),s=l);return s<e.length&&(o=BI(e,++s)),function(e,t,n,r,i,o){var a;if(null!=t&&z9(t,ert,trt))throw Jm(new Ny("invalid scheme: "+t));if(!(e||null!=n&&-1==SM(n,bae(35))&&n.length>0&&(TG(0,n.length),47!=n.charCodeAt(0))))throw Jm(new Ny("invalid opaquePart: "+n));if(e&&(null==t||!$_(Wnt,t.toLowerCase()))&&null!=n&&z9(n,nrt,rrt))throw Jm(new Ny(URe+n));if(e&&null!=t&&$_(Wnt,t.toLowerCase())&&!function(e){if(null!=e&&e.length>0&&33==dV(e,e.length-1))try{return null==jle(zP(e,0,e.length-1)).e}catch(e){if(!BT(e=v3(e),31))throw Jm(e)}return!1}(n))throw Jm(new Ny(URe+n));if(!function(e){var t;return null==e||(t=e.length)>0&&(TG(t-1,e.length),58==e.charCodeAt(t-1))&&!z9(e,nrt,rrt)}(r))throw Jm(new Ny("invalid device: "+r));if(!function(e){var t,n;if(null==e)return!1;for(t=0,n=e.length;t<n;t++)if(!UL(e[t]))return!1;return!0}(i))throw a=null==i?"invalid segments: null":"invalid segment: "+function(e){var t,n;if(null==e)return null;for(t=0,n=e.length;t<n;t++)if(!UL(e[t]))return e[t];return null}(i),Jm(new Ny(a));if(null!=o&&-1!=SM(o,bae(35)))throw Jm(new Ny("invalid query: "+o))}(a,f,r,i,d,u),new Ape(a,f,r,i,t,d,u,o)}(t),function(e,t,n){LL(null==t?eue(e.f,null,n):f9(e.g,t,n),279)}(Unt,t,i),null!=n&&(i=I4(i,n))),i}function Fle(e){var t,n,r,i,o,a,s;if(v$(),BT(e,53))for(o=0,i=e.gc()-1;o<i;++o,--i)t=e.Xb(o),e.Zc(o,e.Xb(i)),e.Zc(i,t);else for(n=e.Wc(),a=e.Xc(e.gc());n.Tb()<a.Vb();)r=n.Pb(),s=a.Ub(),n.Wb(s),a.Wb(r)}function zle(e,t){var n,r,i,o,a,s;for(s=0,FU(o=new Vm,t);o.b!=o.c;)for(s+=Sre((a=LL(fz(o),231)).d,a.e),i=new td(a.b);i.a<i.c.c.length;)r=LL(xW(i),38),(n=LL(JN(e.b,r.p),231)).s||(s+=zle(e,n));return s}function Ble(e,t,n){var i,o;d3(this),t==(aH(),k2e)?uz(this.r,e.c):uz(this.w,e.c),uz(n==k2e?this.r:this.w,e.d),Zse(this,e),ise(this,i=u8(e.c),o=u8(e.d),o),this.o=(gde(),r.Math.abs(i-o)<.2)}function Vle(e,t,n){var r,i,o;if(i=VQ(e.Og(),t),(r=t-e.vh())<0){if(!i)throw Jm(new Ny(qOe+t+XOe));if(!i.Dj())throw Jm(new Ny(HOe+i.ne()+GOe));(o=e.Tg(i))>=0?e.nh(o,n):lhe(e,i,n)}else C9(e,r,i,n)}function $le(e,t,n){var r,i,o,a,s;if(null!=(a=LL(n3(e.a,8),1908)))for(i=0,o=a.length;i<o;++i)null.em();r=n,0==(1&e.a.Db)&&(s=new MB(e,n,t),r.pi(s)),BT(r,660)?LL(r,660).ri(e.a):r.oi()==e.a&&r.qi(null)}function Hle(e){var t,n,r,i,o;if(n=LL(e,48).lh())try{if(r=null,(t=Vfe((QS(),prt),eme(null==(o=n).e?o:(!o.c&&(o.c=new Ape(0!=(256&o.f),o.i,o.a,o.d,0!=(16&o.f),o.j,o.g,null)),o.c))))&&(i=t.mh())&&(r=i.Rk(function(e){return wB(e),e}(n.e))),r&&r!=e)return Hle(r)}catch(o){if(!BT(o=v3(o),59))throw Jm(o)}return e}function Gle(e,t,n){if(e<0)return Upe(Fxe,q3(lw(pje,1),zxe,1,5,[n,k8(e)]));if(t<0)throw Jm(new Ny(Bxe+t));return Upe("%s (%s) must not be greater than size (%s)",q3(lw(pje,1),zxe,1,5,[n,k8(e),k8(t)]))}function Wle(e,t){var n,r,i,o,a;for(r=new sW(e.j.c.length),n=null,o=new td(e.j);o.a<o.c.c.length;)(i=LL(xW(o),11)).j!=n&&(r.b==r.c||Hfe(r,n,t),yq(r),n=i.j),(a=efe(i))&&zU(r,a);r.b==r.c||Hfe(r,n,t)}function Ule(e){var t,n,i;for(t=DU(new xF(BA(g9(e).a.Ic(),new p))),n=new xF(BA(p9(e).a.Ic(),new p));Zce(n);)i=DU(new xF(BA(g9(LL(dX(n),18).c.i).a.Ic(),new p))),t=r.Math.max(t,i);return k8(t)}function qle(e,t,n){var r,i,o,a;for(qoe(n,"Processor arrange node",1),i=null,o=new sS,r=cte(t.b,0);!i&&r.b!=r.d.c;)Ty(VO(Fae(a=LL(BU(r),83),(qve(),a3e))))&&(i=a);jq(o,i,o.c.b,o.c),twe(e,o,a2(n,1)),_se(n)}function Xle(){Xle=S,W5e=new cT((fxe(),P8e),1.3),Y5e=X8e,r4e=new sT(15),n4e=new cT(v9e,r4e),o4e=new cT(r7e,15),U5e=N8e,lfe(),t4e=B5e,J5e=F5e,e4e=z5e,i4e=$5e,K5e=j5e,Z5e=e9e,Q5e=t9e,X5e=N5e,q5e=L5e,a4e=H5e}function Yle(e,t,n){var r,i,o;r=LL(xfe(e,(fxe(),N8e)),21),i=0,o=0,t.a>n.a&&(r.Fc((goe(),x8e))?i=(t.a-n.a)/2:r.Fc(S8e)&&(i=t.a-n.a)),t.b>n.b&&(r.Fc((goe(),C8e))?o=(t.b-n.b)/2:r.Fc(k8e)&&(o=t.b-n.b)),Mae(e,i,o)}function Kle(e,t,n,r,i,o,a,s,l,u,c,f,h){BT(e.Cb,87)&&sue(VX(LL(e.Cb,87)),4),O1(e,n),e.f=a,G8(e,s),U8(e,l),W8(e,u),q8(e,c),m8(e,f),n9(e,h),w8(e,!0),e0(e,i),e.jk(o),g6(e,t),null!=r&&(e.i=null,i1(e,r))}function Zle(e){var t,n;if(e.f){for(;e.n>0;){if(BT(n=(t=LL(e.k.Xb(e.n-1),71)).Xj(),97)&&0!=(LL(n,17).Bb&YOe)&&(!e.e||n.Bj()!=Qtt||0!=n.Xi())&&null!=t.bd())return!0;--e.n}return!1}return e.n>0}function Qle(e,t,n,r,i,o){var a,s,l;if(r-n<7)!function(e,t,n,r){var i,o,a;for(i=t+1;i<n;++i)for(o=i;o>t&&r.ue(e[o-1],e[o])>0;--o)a=e[o],nB(e,o,e[o-1]),nB(e,o-1,a)}(t,n,r,o);else if(Qle(t,e,s=n+i,l=s+((a=r+i)-s>>1),-i,o),Qle(t,e,l,a,-i,o),o.ue(e[l-1],e[l])<=0)for(;n<r;)nB(t,n++,e[s++]);else!function(e,t,n,r,i,o,a,s){var l;for(l=n;o<a;)l>=r||t<n&&s.ue(e[t],e[l])<=0?nB(i,o++,e[t++]):nB(i,o++,e[l++])}(e,s,l,a,t,n,r,o)}function Jle(e,t){var n,r,i;for(i=new $m,r=new td(e.c.a.b);r.a<r.c.c.length;)n=LL(xW(r),56),t.Lb(n)&&(RL(i,new Ik(n,!0)),RL(i,new Ik(n,!1)));!function(e){var t,n;for(ky(e.b.a),e.a=fK(Uze,zxe,56,e.c.c.a.b.c.length,0,1),t=0,n=new td(e.c.c.a.b);n.a<n.c.c.length;)LL(xW(n),56).f=t++}(e.e),qW(i,e.d,new Vy(q3(lw(Wze,1),zxe,667,0,[e.e])))}function eue(e,t,n){var r,i,o,a;if(a=null==t?0:e.b.se(t),0==(i=null==(r=e.a.get(a))?new Array:r).length)e.a.set(a,i);else if(o=i6(e,t,i))return o.cd(n);return nB(i,i.length,new sk(t,n)),++e.c,eH(e.b),null}function tue(e,t){var n;return dU(e.a),dz(e.a,(w1(),L3e),L3e),dz(e.a,N3e,N3e),jN(n=new wU,N3e,(G9(),V3e)),OI(xfe(t,($4(),f5e)))!==OI((B4(),q3e))&&jN(n,N3e,z3e),jN(n,N3e,B3e),PM(e.a,n),Vve(e.a,t)}function nue(e){if(!e)return cy(),Yje;var t=e.valueOf?e.valueOf():e;if(t!==e){var n=Kje[typeof t];return n?n(t):z6(typeof t)}return e instanceof Array||e instanceof r.Array?new sh(e):new ch(e)}function rue(e,t,n){var i,o,a;switch(a=e.o,(o=(i=LL(fV(e.p,n),243)).i).b=zue(i),o.a=Fue(i),o.b=r.Math.max(o.b,a.a),o.b>a.a&&!t&&(o.b=a.a),o.c=-(o.b-a.a)/2,n.g){case 1:o.d=-o.a;break;case 3:o.d=a.b}Wme(i),Zme(i)}function iue(e,t,n){var i,o,a;switch(a=e.o,(o=(i=LL(fV(e.p,n),243)).i).b=zue(i),o.a=Fue(i),o.a=r.Math.max(o.a,a.b),o.a>a.b&&!t&&(o.a=a.b),o.d=-(o.a-a.b)/2,n.g){case 4:o.c=-o.b;break;case 2:o.c=a.a}Wme(i),Zme(i)}function oue(e,t){var n,r,i,o;if(Jde(),t.b<2)return!1;for(r=n=LL(BU(o=cte(t,0)),8);o.b!=o.d.c;){if(i=LL(BU(o),8),!x2(e,r)||!x2(e,i))return!1;r=i}return!(!x2(e,r)||!x2(e,n))}function aue(e,t){var n,r,i,o,a;return null,n=o0(a=e,"x"),function(e,t){UJ(e,null==t||LR((wB(t),t))||isNaN((wB(t),t))?0:(wB(t),t))}(new Jg(t).a,n),r=o0(a,"y"),function(e,t){qJ(e,null==t||LR((wB(t),t))||isNaN((wB(t),t))?0:(wB(t),t))}(new em(t).a,r),i=o0(a,hDe),function(e,t){WJ(e,null==t||LR((wB(t),t))||isNaN((wB(t),t))?0:(wB(t),t))}(new tm(t).a,i),o=o0(a,fDe),function(e,t){GJ(e,null==t||LR((wB(t),t))||isNaN((wB(t),t))?0:(wB(t),t))}(new nm(t).a,o),o}function sue(e,t){Fpe(e,t),0!=(1&e.b)&&(e.a.a=null),0!=(2&e.b)&&(e.a.f=null),0!=(4&e.b)&&(e.a.g=null,e.a.i=null),0!=(16&e.b)&&(e.a.d=null,e.a.e=null),0!=(8&e.b)&&(e.a.b=null),0!=(32&e.b)&&(e.a.j=null,e.a.c=null)}function lue(e){var t,n,r,i,o;if(null==e)return $xe;for(o=new u3(jxe,"[","]"),r=0,i=(n=e).length;r<i;++r)t=n[r],o.a?UI(o.a,o.b):o.a=new YA(o.d),GI(o.a,""+t);return o.a?0==o.e.length?o.a.a:o.a.a+""+o.e:o.c}function uue(e){var t,n,r,i,o;if(null==e)return $xe;for(o=new u3(jxe,"[","]"),r=0,i=(n=e).length;r<i;++r)t=n[r],o.a?UI(o.a,o.b):o.a=new YA(o.d),GI(o.a,""+t);return o.a?0==o.e.length?o.a.a:o.a.a+""+o.e:o.c}function cue(e){var t,n,r,i,o;if(null==e)return $xe;for(o=new u3(jxe,"[","]"),r=0,i=(n=e).length;r<i;++r)t=n[r],o.a?UI(o.a,o.b):o.a=new YA(o.d),GI(o.a,""+t);return o.a?0==o.e.length?o.a.a:o.a.a+""+o.e:o.c}function fue(e){var t,n,r,i,o;if(null==e)return $xe;for(o=new u3(jxe,"[","]"),r=0,i=(n=e).length;r<i;++r)t=n[r],o.a?UI(o.a,o.b):o.a=new YA(o.d),GI(o.a,""+t);return o.a?0==o.e.length?o.a.a:o.a.a+""+o.e:o.c}function hue(e,t){var n,r,i,o,a,s;for(n=e.b.c.length,i=JN(e.b,t);2*t+1<n&&(s=o=2*t+1,(a=o+1)<n&&e.a.ue(JN(e.b,a),JN(e.b,o))<0&&(s=a),r=s,!(e.a.ue(i,JN(e.b,r))<0));)mX(e.b,t,JN(e.b,r)),t=r;mX(e.b,t,i)}function due(e,t,n,i,o,a){var s,l,u,c,f;for(OI(e)===OI(n)&&(e=e.slice(t,t+o),t=0),u=n,l=t,c=t+o;l<c;)o=(s=r.Math.min(l+1e4,c))-l,(f=e.slice(l,s)).splice(0,0,i,a?o:0),Array.prototype.splice.apply(u,f),l=s,i+=o}function pue(e,t,n){var r,i;return r=n.d,i=n.e,e.g[r.d]<=e.i[t.d]&&e.i[t.d]<=e.i[r.d]&&e.g[i.d]<=e.i[t.d]&&e.i[t.d]<=e.i[i.d]?!(e.i[r.d]<e.i[i.d]):e.i[r.d]<e.i[i.d]}function gue(e){var t,n,r,i,o,a,s;if((r=e.a.c.length)>0)for(a=e.c.d,i=cA(VD(new YE((s=e.d.d).a,s.b),a),1/(r+1)),o=new YE(a.a,a.b),n=new td(e.a);n.a<n.c.c.length;)(t=LL(xW(n),552)).d.a=o.a,t.d.b=o.b,BD(o,i)}function mue(e,t){if(!t)throw Jm(new xb);if(e.j=t,!e.d)switch(e.j.g){case 1:e.a.a=e.o.a/2,e.a.b=0;break;case 2:e.a.a=e.o.a,e.a.b=e.o.b/2;break;case 3:e.a.a=e.o.a/2,e.a.b=e.o.b;break;case 4:e.a.a=0,e.a.b=e.o.b/2}}function bue(e){var t,n,r;if(t=e.Pb(),!e.Ob())return t;for(r=WI(UI(new pw,"expected one element but was: <"),t),n=0;n<4&&e.Ob();n++)WI((r.a+=jxe,r),e.Pb());throw e.Ob()&&(r.a+=", ..."),r.a+=">",Jm(new Ny(r.a))}function vue(e,t,n){var i,o,a,s,l,u;for(u=RSe,a=new td(_he(e.b));a.a<a.c.c.length;)for(o=LL(xW(a),168),l=new td(_he(t.b));l.a<l.c.c.length;)s=LL(xW(l),168),i=X3(o.a,o.b,s.a,s.b,n),u=r.Math.min(u,i);return u}function yue(e,t){var n,r;if(t.dc())return v$(),v$(),XFe;for(RL(r=new $m,k8(F_e)),n=1;n<e.f;++n)null==e.a&&Npe(e),e.a[n]&&RL(r,k8(n));return 1==r.c.length?(v$(),v$(),XFe):(RL(r,k8(Dxe)),function(e,t){var n,r,i,o,a,s;i=new $m,o=0,n=0,a=0;for(;o<t.c.length-1&&n<e.gc();){for(r=LL(e.Xb(n),20).a+a;(MG(o+1,t.c.length),LL(t.c[o+1],20)).a<r;)++o;for(s=0,r-(MG(o,t.c.length),LL(t.c[o],20)).a>(MG(o+1,t.c.length),LL(t.c[o+1],20)).a-r&&++s,RL(i,(MG(o+s,t.c.length),LL(t.c[o+s],20))),a+=(MG(o+s,t.c.length),LL(t.c[o+s],20)).a-r,++n;n<e.gc()&&LL(e.Xb(n),20).a+a<=(MG(o+s,t.c.length),LL(t.c[o+s],20)).a;)++n;o+=1+s}return i}(t,r))}function wue(e,t){var n,r,i,o,a,s;n=function(e,t){if(t==e.c)return e.d;if(t==e.d)return e.c;throw Jm(new Ny("'port' must be either the source port or target port of the edge."))}(t,s=t.c.i.k!=(mse(),XHe)?t.d:t.c).i,i=LL(aB(e.k,s),119),r=e.i[n.p].a,gR(s.i)<(n.c?vZ(n.c.a,n,0):-1)?(o=i,a=r):(o=r,a=i),Yhe(mS(gS(bS(pS(new Nb,0),4),o),a))}function xue(e,t){var n,r,i;if(!(i=Uve((vle(),Sit),e.Og(),t)))throw Jm(new Ny(HOe+t.ne()+GOe));tk(),LL(i,65).Jj()||(i=iW(FZ(Sit,i))),r=LL((n=e.Tg(i))>=0?e.Wg(n,!0,!0):tce(e,i,!0),152),LL(r,212).jl(t)}function _ue(e,t,n){var r,i;r=t.a&e.f,t.b=e.b[r],e.b[r]=t,i=t.f&e.f,t.d=e.c[i],e.c[i]=t,n?(t.e=n.e,t.e?t.e.c=t:e.a=t,t.c=n.c,t.c?t.c.e=t:e.e=t):(t.e=e.e,t.c=null,e.e?e.e.c=t:e.a=t,e.e=t),++e.i,++e.g}function Sue(e){var t,n;return e>-0x800000000000&&e<0x800000000000?0==e?0:((t=e<0)&&(e=-e),n=IH(r.Math.floor(r.Math.log(e)/.6931471805599453)),(!t||e!=r.Math.pow(2,n))&&++n,n):j2(I2(e))}function kue(e,t,n){var r,i;for(r=t.d,i=n.d;r.a-i.a==0&&r.b-i.b==0;)r.a+=Gfe(e,26)*tke+Gfe(e,27)*nke-.5,r.b+=Gfe(e,26)*tke+Gfe(e,27)*nke-.5,i.a+=Gfe(e,26)*tke+Gfe(e,27)*nke-.5,i.b+=Gfe(e,26)*tke+Gfe(e,27)*nke-.5}function Cue(e){var t,n,r,i;for(e.g=new x9(LL(wz(att),289)),r=0,hwe(),n=Det,t=0;t<e.j.c.length;t++)(i=LL(JN(e.j,t),11)).j!=n&&(r!=t&&Tj(e.g,n,new KE(k8(r),k8(t))),n=i.j,r=t);Tj(e.g,n,new KE(k8(r),k8(t)))}function Eue(e){var t,n,r,i,o;for(n=0,t=new td(e.b);t.a<t.c.c.length;)for(i=new td(LL(xW(t),29).a);i.a<i.c.c.length;)for((r=LL(xW(i),10)).p=n++,o=new td(r.j);o.a<o.c.c.length;)LL(xW(o),11).p=n++}function Iue(e,t,n,r,i){var o,a,s,l;if(t)for(a=t.Ic();a.Ob();)for(l=Ppe(LL(a.Pb(),10),(E0(),L0e),n).Ic();l.Ob();)s=LL(l.Pb(),11),(o=LL(PI(rH(i.f,s)),111))||(o=new p3(e.d),r.c[r.c.length]=o,Dle(o,s,i))}function Mue(e,t){var n,r,i;return c3(r=new Sne(e),t),S5(r,(hxe(),hXe),t),S5(r,(Kwe(),tJe),(joe(),vet)),S5(r,MZe,(ine(),n8e)),vh(r,(mse(),WHe)),DG(n=new Pse,r),mue(n,(hwe(),Qet)),DG(i=new Pse,r),mue(i,Oet),r}function Tue(e,t){var n,r,i,o;for(e.c[t.p]=!0,RL(e.a,t),o=new td(t.j);o.a<o.c.c.length;)for(n=new fY((i=LL(xW(o),11)).b);CT(n.a)||CT(n.b);)r=mee(i,LL(CT(n.a)?xW(n.a):xW(n.b),18)).i,e.c[r.p]||Tue(e,r)}function Aue(e){var t,n,i,o,a,s,l;for(s=0,n=new SA((!e.a&&(e.a=new FF(cnt,e,10,11)),e.a));n.e!=n.i.gc();)l=(t=LL(Hee(n),34)).g,o=t.f,i=r.Math.sqrt(l*l+o*o),s=r.Math.max(i,s),a=Aue(t),s=r.Math.max(a,s);return s}function Pue(e){var t;if(t=!1,BT(e,202))return t=!0,LL(e,202).a;if(!t&&BT(e,257)&&LL(e,257).a%1==0)return t=!0,k8(function(e){return IH((wB(e),e))}(LL(e,257).a));throw Jm(new Yy("Id must be a string or an integer: '"+e+"'."))}function Oue(e,t,n){var r,i,o,a;return r=function(e,t,n){var r;return r=oee(n),fge(e.g,r,t),fge(e.i,t,n),t}(e,(Sx(),i=new vv,!!n&&Ahe(i,n),i),t),z0(r,AU(t,IDe)),oae(t,r),function(e,t){var n,r,i,o,a;(o=MU(e,"individualSpacings"))&&(!hK(t,(fxe(),J9e))&&(n=new Xs,Fte(t,J9e,n)),i=LL(xfe(t,J9e),370),r=null,(a=o)&&(r=new j_(a,l1(a,fK(CFe,s_e,2,0,6,1)))),r&&yX(r,new aI(a,i)))}(t,r),aue(t,r),g=null,o=IU(t,"ports"),hhe((a=new lI(e,r)).a,a.b,o),H5(e,t,r),D3(e,t,r),r}function Due(e){var t,n,r,i,o;if(null==e)return $xe;for(o=new u3(jxe,"[","]"),r=0,i=(n=e).length;r<i;++r)t=n[r],o.a?UI(o.a,o.b):o.a=new YA(o.d),GI(o.a,""+Aj(t));return o.a?0==o.e.length?o.a.a:o.a.a+""+o.e:o.c}function Rue(e,t){var n,i,o;for(o=Dxe,i=new td(A9(t));i.a<i.c.c.length;)(n=LL(xW(i),211)).f&&!e.c[n.c]&&(e.c[n.c]=!0,o=r.Math.min(o,Rue(e,k9(n,t))));return e.i[t.d]=e.j,e.g[t.d]=r.Math.min(o,e.j++),e.g[t.d]}function Lue(e,t){var n,r,i;for(i=LL(LL(KX(e.r,t),21),81).Ic();i.Ob();)(r=LL(i.Pb(),110)).e.b=(n=r.b).Ye((fxe(),P9e))?n.Ef()==(hwe(),Det)?-n.pf().b-Oy($O(n.Xe(P9e))):Oy($O(n.Xe(P9e))):n.Ef()==(hwe(),Det)?-n.pf().b:0}function Nue(e,t){var n,r,i;try{return i=function(e,t){var n;return kP(!!(n=(wB(e),e).g)),wB(t),n(t)}(e.a,t),i}catch(i){if(BT(i=v3(i),31)){try{if(r=Hge(t,F_e,Dxe),n=Lx(e.a),r>=0&&r<n.length)return n[r]}catch(e){if(!BT(e=v3(e),127))throw Jm(e)}return null}throw Jm(i)}}function jue(e,t){var n,r,i,o;if(ixe(e),0!=e.c||123!=e.a)throw Jm(new Zy(wxe((pT(),cRe))));if(o=112==t,r=e.d,(n=FP(e.i,125,r))<0)throw Jm(new Zy(wxe((pT(),fRe))));return i=zP(e.i,r,n),e.d=n+1,TK(i,o,512==(512&e.e))}function Fue(e){var t,n,r,i,o,a;if(a=0,0==e.b){for(t=0,i=0,o=(r=Lne(e,!0)).length;i<o;++i)(n=r[i])>0&&(a+=n,++t);t>1&&(a+=e.c*(t-1))}else a=ww(V1(kV(_V(vz(e.a),new _e),new ye)));return a>0?a+e.n.d+e.n.a:0}function zue(e){var t,n,r,i,o,a;if(a=0,0==e.b)a=ww(V1(kV(_V(vz(e.a),new we),new xe)));else{for(t=0,i=0,o=(r=Nne(e,!0)).length;i<o;++i)(n=r[i])>0&&(a+=n,++t);t>1&&(a+=e.c*(t-1))}return a>0?a+e.n.b+e.n.c:0}function Bue(e,t,n){var r,i,o,a,s;if(!e||0==e.c.length)return null;for(i=new vH(t,!n),r=new td(e);r.a<r.c.c.length;)Gse(i,new Zd(LL(xW(r),69)));return(o=i.i).a=(s=i.n,i.e.b+s.d+s.a),o.b=(a=i.n,i.e.a+a.b+a.c),i}function Vue(e){switch(e.g){case 0:return new uf;case 1:return new lf;case 2:return new cf;case 3:return new ff;default:throw Jm(new Ny("No implementation is available for the layout phase "+(null!=e.f?e.f:""+e.g)))}}function $ue(e){var t,n;return(n=new pw).a+="e_",t=function(e){return 0!=e.b.c.length&&LL(JN(e.b,0),69).a?LL(JN(e.b,0),69).a:$V(e)}(e),null!=t&&(n.a+=""+t),e.c&&e.d&&(UI((n.a+=" ",n),Tre(e.c)),UI(WI((n.a+="[",n),e.c.i),"]"),UI((n.a+=UEe,n),Tre(e.d)),UI(WI((n.a+="[",n),e.d.i),"]")),n.a}function Hue(e,t,n,i,o){var a;switch(a=0,o.g){case 1:a=r.Math.max(0,t.b+e.b-(n.b+i));break;case 3:a=r.Math.max(0,-e.b-i);break;case 2:a=r.Math.max(0,-e.a-i);break;case 4:a=r.Math.max(0,t.a+e.a-(n.a+i))}return a}function Gue(e){var t,n;switch(e.b){case-1:return!0;case 0:return(n=e.t)>1||-1==n||(t=fie(e))&&(tk(),t.xj()==sLe)?(e.b=-1,!0):(e.b=1,!1);default:return!1}}function Wue(e,t){var n,r,i;if(i=Uve((vle(),Sit),e.Og(),t))return tk(),LL(i,65).Jj()||(i=iW(FZ(Sit,i))),r=LL((n=e.Tg(i))>=0?e.Wg(n,!0,!0):tce(e,i,!0),152),LL(r,212).gl(t);throw Jm(new Ny(HOe+t.ne()+UOe))}function Uue(e,t,n,r,i){var o,a,s,l;return OI(l=kO(e,LL(i,55)))!==OI(i)?(s=LL(e.g[n],71),fA(e,n,Goe(e,0,o=uq(t,l))),FM(e.e)&&(Ioe(a=cH(e,9,o.Xj(),i,l,r,!1),new RZ(e.e,9,e.c,s,o,r,!1)),mZ(a)),l):i}function que(e,t,n){var r;if(++e.j,t>=e.i)throw Jm(new Ey(HDe+t+GDe+e.i));if(n>=e.i)throw Jm(new Ey(WDe+n+GDe+e.i));return r=e.g[n],t!=n&&(t<n?Xbe(e.g,t,e.g,t+1,n-t):Xbe(e.g,n+1,e.g,n,t-n),nB(e.g,t,r),e._h(t,r,n),e.Zh()),r}function Xue(e,t){var n,r,i,o;for(function(e,t){oA(e,QN(SH(wN(t,24),ake)),QN(SH(t,ake)))}(e.d,e.e),e.c.a.$b(),n=Dxe,OI(Fae(t.j,(Kwe(),LZe)))!==OI((W5(),E0e))&&S5(t.j,(hxe(),gXe),(_P(),!0)),o=LL(Fae(t.j,DJe),20).a,i=0;i<o&&!((r=$he(e,t))<n&&(n=r,I1(e),0==n));i++);}function Yue(e,t,n){var r;if(r=LL(e.c.vc(t),15))return!!r.Dc(n)&&(++e.d,!0);if((r=e.ic(t)).Dc(n))return++e.d,e.c.xc(t,r),!0;throw Jm(new TX("New Collection violated the Collection spec"))}function Kue(e,t){var n,r,i;if(i=0,(r=t[0])>=e.length)return-1;for(TG(r,e.length),n=e.charCodeAt(r);n>=48&&n<=57&&(i=10*i+(n-48),!(++r>=e.length));)TG(r,e.length),n=e.charCodeAt(r);return r>t[0]?t[0]=r:i=-1,i}function Zue(e,t,n){var r,i,o,a;o=e.c,a=e.d,i=(V5(q3(lw(J6e,1),s_e,8,0,[o.i.n,o.n,o.a])).b+V5(q3(lw(J6e,1),s_e,8,0,[a.i.n,a.n,a.a])).b)/2,r=null,r=o.j==(hwe(),Oet)?new YE(t+o.i.c.c.a+n,i):new YE(t-n,i),TO(e.a,0,r)}function Que(e){var t,n,r;for(t=null,n=ZF(l0(q3(lw(yje,1),zxe,19,0,[(!e.b&&(e.b=new nR(nnt,e,4,7)),e.b),(!e.c&&(e.c=new nR(nnt,e,5,8)),e.c)])));Zce(n);)if(r=Xoe(LL(dX(n),93)),t){if(t!=r)return!1}else t=r;return!0}function Jue(e){var t,n,r;return e<0?0:0==e?32:(n=16-(t=(r=-(e>>16))>>16&16),n+=t=(r=(e>>=t)-256)>>16&8,n+=t=(r=(e<<=t)-NSe)>>16&4,(n+=t=(r=(e<<=t)-l_e)>>16&2)+2-(t=(r=(e<<=t)>>14)&~(r>>1)))}function ece(e){var t,n,r,i;for(b$(),c$e=new $m,u$e=new Hm,l$e=new $m,!e.a&&(e.a=new FF(cnt,e,10,11)),function(e){var t,n,r,i,o,a,s,l,u,c;for(t=new Hm,a=new SA(e);a.e!=a.i.gc();){for(o=LL(Hee(a),34),n=new Pb,eV(u$e,o,n),c=new it,r=LL(Nq(new cj(null,new Cz(new xF(BA(ahe(o).a.Ic(),new p)))),zj(c,CK(new F,new j,new re,q3(lw(jze,1),A_e,132,0,[(z4(),Rze)])))),84),d0(n,LL(r.vc((_P(),!0)),15),new ot),i=LL(Nq(_V(LL(r.vc(!1),14).Jc(),new at),CK(new F,new j,new re,q3(lw(jze,1),A_e,132,0,[Rze]))),14).Ic();i.Ob();)(u=Oae(LL(i.Pb(),80)))&&((s=LL(PI(rH(t.f,u)),21))||(s=Cde(u),eue(t.f,u,s)),G1(n,s));for(r=LL(Nq(new cj(null,new Cz(new xF(BA(she(o).a.Ic(),new p)))),zj(c,CK(new F,new j,new re,q3(lw(jze,1),A_e,132,0,[Rze])))),84),d0(n,LL(r.vc(!0),15),new st),l=LL(Nq(_V(LL(r.vc(!1),14).Jc(),new lt),CK(new F,new j,new re,q3(lw(jze,1),A_e,132,0,[Rze]))),14).Ic();l.Ob();)(u=Dae(LL(l.Pb(),80)))&&((s=LL(PI(rH(t.f,u)),21))||(s=Cde(u),eue(t.f,u,s)),G1(n,s))}}(t=e.a),i=new SA(t);i.e!=i.i.gc();)r=LL(Hee(i),34),-1==vZ(c$e,r,0)&&(n=new $m,RL(l$e,n),$ee(r,n));return l$e}function tce(e,t,n){var r,i,o;if(o=Uve((vle(),Sit),e.Og(),t))return tk(),LL(o,65).Jj()||(o=iW(FZ(Sit,o))),i=LL((r=e.Tg(o))>=0?e.Wg(r,!0,!0):tce(e,o,!0),152),LL(i,212).cl(t,n);throw Jm(new Ny(HOe+t.ne()+UOe))}function nce(e,t){var n;if(t<0)throw Jm(new Cy("Negative exponent"));if(0==t)return NFe;if(1==t||e7(e,NFe)||e7(e,BFe))return e;if(!Hce(e,0)){for(n=1;!Hce(e,n);)++n;return bQ(function(e){var t,n,r;return e<zFe.length?zFe[e]:(t=31&e,(r=fK(nat,sSe,24,1+(n=e>>5),15,1))[n]=1<<t,new nz(1,n+1,r))}(n*t),nce(FX(e,n),t))}return function(e,t){var n,r;for(gce(),npe(),r=NFe,n=e;t>1;t>>=1)0!=(1&t)&&(r=bQ(r,n)),n=1==n.d?bQ(n,n):new Fee(Pge(n.a,n.d,fK(nat,sSe,24,n.d<<1,15,1)));return bQ(r,n)}(e,t)}function rce(e,t){var n,i,o,a,s,l,u,c;for(c=Oy($O(Fae(t,(Kwe(),OJe)))),u=e[0].n.a+e[0].o.a+e[0].d.c+c,l=1;l<e.length;l++)i=e[l].n,o=e[l].o,n=e[l].d,(a=i.a-n.b-u)<0&&(i.a-=a),(s=t.f).a=r.Math.max(s.a,i.a+o.a),u=i.a+o.a+n.c+c}function ice(e,t){var n,i,o,a,s,l;return i=LL(LL(aB(e.g,t.a),46).a,63),o=LL(LL(aB(e.g,t.b),46).a,63),n=function(e,t){var n,i,o,a,s,l;if(Jde(),a=t.c-(e.c+e.b),o=e.c-(t.c+t.b),s=e.d-(t.d+t.a),n=t.d-(e.d+e.a),i=r.Math.max(o,a),l=r.Math.max(s,n),vT(),CJ(gAe),(r.Math.abs(i)<=gAe||0==i||isNaN(i)&&isNaN(0)?0:i<0?-1:i>0?1:_M(isNaN(i),isNaN(0)))>=0^(CJ(gAe),(r.Math.abs(l)<=gAe||0==l||isNaN(l)&&isNaN(0)?0:l<0?-1:l>0?1:_M(isNaN(l),isNaN(0)))>=0))return r.Math.max(l,i);if(CJ(gAe),(r.Math.abs(i)<=gAe||0==i||isNaN(i)&&isNaN(0)?0:i<0?-1:i>0?1:_M(isNaN(i),isNaN(0)))>0)return r.Math.sqrt(l*l+i*i);return-r.Math.sqrt(l*l+i*i)}(a=i.b,s=o.b),n>=0?n:(l=EB(VD(new YE(s.c+s.b/2,s.d+s.a/2),new YE(a.c+a.b/2,a.d+a.a/2))),-(bme(a,s)-1)*l)}function oce(e,t,n,r){var i,o,a,s,l;if(i=e.d[t])if(o=i.g,l=i.i,null!=r){for(s=0;s<l;++s)if((a=LL(o[s],133)).Nh()==n&&l8(r,a.ad()))return a}else for(s=0;s<l;++s)if(OI((a=LL(o[s],133)).ad())===OI(r))return a;return null}function ace(e){var t,n,r;for(wS(),this.b=SHe,this.c=(A8(),h7e),this.f=(yS(),yHe),this.a=e,Tw(this,new kt),Nhe(this),r=new td(e.b);r.a<r.c.c.length;)(n=LL(xW(r),79)).d||(t=new jee(q3(lw(wHe,1),zxe,79,0,[n])),RL(e.a,t))}function sce(e){if(this.a=e,e.c.i.k==(mse(),WHe))this.c=e.c,this.d=LL(Fae(e.c.i,(hxe(),dXe)),61);else{if(e.d.i.k!=WHe)throw Jm(new Ny("Edge "+e+" is not an external edge."));this.c=e.d,this.d=LL(Fae(e.d.i,(hxe(),dXe)),61)}}function lce(e){var t,n,r,i,o,a,s;for(TM(s=mU(e.a),new Sn),n=null,o=0,a=(i=s).length;o<a&&(r=i[o]).k==(mse(),WHe);++o)(t=LL(Fae(r,(hxe(),dXe)),61))!=(hwe(),Qet)&&t!=Oet||(n&&LL(Fae(n,_Xe),14).Dc(r),n=r)}function uce(e){var t;if(e.c||null!=e.g){if(null==e.g)return!0;if(0==e.i)return!1;t=LL(e.g[e.i-1],49)}else e.d=e.ni(e.f),AK(e,e.d),t=e.d;return t==e.b&&null.fm>=null.em()?(nhe(e),uce(e)):t.Ob()}function cce(e,t,n){var i,o,a,s;if(!(s=n)&&(s=vN(new qv,0)),qoe(s,REe,1),wye(e.c,t),a=function(e,t){var n,r,i,o,a,s,l,u,c,f,h,d;if(e.b=e.c,d=VO(Fae(t,(Kwe(),pJe))),h=null==d||(wB(d),d),o=LL(Fae(t,(hxe(),mXe)),21).Fc((Kde(),Tqe)),i=LL(Fae(t,tJe),100),n=!(i==(joe(),bet)||i==yet||i==vet),!h||!n&&o)f=new Vy(q3(lw($He,1),$Ee,38,0,[t]));else{for(c=new td(t.a);c.a<c.c.c.length;)LL(xW(c),10).p=0;for(f=new $m,u=new td(t.a);u.a<u.c.c.length;)if(r=rme(e,LL(xW(u),10),null)){for(c3(l=new R0,t),S5(l,cXe,LL(r.b,21)),l$(l.d,t.d),S5(l,VQe,null),s=LL(r.a,14).Ic();s.Ob();)a=LL(s.Pb(),10),RL(l.a,a),a.a=l;f.Dc(l)}o&&(e.b=e.a)}return OI(Fae(t,LZe))!==OI((W5(),E0e))&&(v$(),f.$c(new Pt)),f}(e.a,t),1==a.gc())kve(LL(a.Xb(0),38),s);else for(o=1/a.gc(),i=a.Ic();i.Ob();)kve(LL(i.Pb(),38),a2(s,o));!function(e,t,n){e.b.mf(t,n)}(e.a,a,t),function(e){var t,n,i,o,a;o=LL(Fae(e,(Kwe(),BQe)),21),a=LL(Fae(e,$Qe),21),n=new YE(e.f.a+e.d.b+e.d.c,e.f.b+e.d.d+e.d.a),t=new lT(n),o.Fc((aee(),stt))&&(i=LL(Fae(e,VQe),8),a.Fc((Vge(),ptt))&&(i.a<=0&&(i.a=20),i.b<=0&&(i.b=20)),t.a=r.Math.max(n.a,i.a),t.b=r.Math.max(n.b,i.b));!function(e,t,n){var r,i,o,a,s;if(r=LL(Fae(e,(Kwe(),NZe)),21),n.a>t.a&&(r.Fc((goe(),x8e))?e.c.a+=(n.a-t.a)/2:r.Fc(S8e)&&(e.c.a+=n.a-t.a)),n.b>t.b&&(r.Fc((goe(),C8e))?e.c.b+=(n.b-t.b)/2:r.Fc(k8e)&&(e.c.b+=n.b-t.b)),LL(Fae(e,(hxe(),mXe)),21).Fc((Kde(),Tqe))&&(n.a>t.a||n.b>t.b))for(s=new td(e.a);s.a<s.c.c.length;)(a=LL(xW(s),10)).k==(mse(),WHe)&&((i=LL(Fae(a,dXe),61))==(hwe(),Oet)?a.n.a+=n.a-t.a:i==Ket&&(a.n.b+=n.b-t.b));o=e.d,e.f.a=n.a-o.b-o.c,e.f.b=n.b-o.d-o.a}(e,n,t)}(t),_se(s)}function fce(e,t){var n,r,i;i=e.b,e.b=t,0!=(4&e.Db)&&0==(1&e.Db)&&Y2(e,new NF(e,1,3,i,e.b)),t?t!=e&&(O1(e,t.zb),n0(e,t.d),q0(e,null==(n=null==(r=t.c)?t.zb:r)||fR(n,t.zb)?null:n)):(O1(e,null),n0(e,0),q0(e,null))}function hce(e){var t,n;if(e.f){for(;e.n<e.o;){if(BT(n=(t=LL(e.j?e.j.ki(e.n):e.k.Xb(e.n),71)).Xj(),97)&&0!=(LL(n,17).Bb&YOe)&&(!e.e||n.Bj()!=Qtt||0!=n.Xi())&&null!=t.bd())return!0;++e.n}return!1}return e.n<e.o}function dce(e,t){var n;this.e=(BB(),wz(e),BB(),v7(e)),this.c=(wz(t),v7(t)),YT(this.e.Hd().dc()==this.c.Hd().dc()),this.d=v9(this.e),this.b=v9(this.c),n=FN(pje,[s_e,zxe],[5,1],5,[this.e.Hd().gc(),this.c.Hd().gc()],2),this.a=n,function(e){var t,n,r,i;for(r=0,i=(n=e.a).length;r<i;++r)Dz(t=n[r],t.length,null)}(this)}function pce(e){!jje&&((t=["\\u0000","\\u0001","\\u0002","\\u0003","\\u0004","\\u0005","\\u0006","\\u0007","\\b","\\t","\\n","\\u000B","\\f","\\r","\\u000E","\\u000F","\\u0010","\\u0011","\\u0012","\\u0013","\\u0014","\\u0015","\\u0016","\\u0017","\\u0018","\\u0019","\\u001A","\\u001B","\\u001C","\\u001D","\\u001E","\\u001F"])[34]='\\"',t[92]="\\\\",t[173]="\\u00ad",t[1536]="\\u0600",t[1537]="\\u0601",t[1538]="\\u0602",t[1539]="\\u0603",t[1757]="\\u06dd",t[1807]="\\u070f",t[6068]="\\u17b4",t[6069]="\\u17b5",t[8203]="\\u200b",t[8204]="\\u200c",t[8205]="\\u200d",t[8206]="\\u200e",t[8207]="\\u200f",t[8232]="\\u2028",t[8233]="\\u2029",t[8234]="\\u202a",t[8235]="\\u202b",t[8236]="\\u202c",t[8237]="\\u202d",t[8238]="\\u202e",t[8288]="\\u2060",t[8289]="\\u2061",t[8290]="\\u2062",t[8291]="\\u2063",t[8292]="\\u2064",t[8298]="\\u206a",t[8299]="\\u206b",t[8300]="\\u206c",t[8301]="\\u206d",t[8302]="\\u206e",t[8303]="\\u206f",t[65279]="\\ufeff",t[65529]="\\ufff9",t[65530]="\\ufffa",t[65531]="\\ufffb",jje=t);var t,n=e.replace(/[\x00-\x1f\xad\u0600-\u0603\u06dd\u070f\u17b4\u17b5\u200b-\u200f\u2028-\u202e\u2060-\u2064\u206a-\u206f\ufeff\ufff9-\ufffb"\\]/g,(function(e){return function(e,t){var n=jje[e.charCodeAt(0)];return null==n?e:n}(e)}));return'"'+n+'"'}function gce(){var e,t;for(gce=S,GFe=fK(UFe,s_e,90,32,0,1),WFe=fK(UFe,s_e,90,32,0,1),e=1,t=0;t<=18;t++)GFe[t]=bee(e),WFe[t]=bee(xN(e,t)),e=a8(e,5);for(;t<WFe.length;t++)GFe[t]=bQ(GFe[t-1],GFe[1]),WFe[t]=bQ(WFe[t-1],(npe(),FFe))}function mce(e){var t,n;for(w$(),this.b=Xze,this.c=Kze,this.g=(_S(),qze),this.d=(A8(),h7e),this.a=e,Lhe(this),n=new td(e.b);n.a<n.c.c.length;)!(t=LL(xW(n),56)).a&&fP(h0(new Bb,q3(lw(Uze,1),zxe,56,0,[t])),e),t.e=new G$(t.d)}function bce(){bce=S,Lit=LL(sJ(k$((Ix(),zit).qb),6),32),Oit=LL(sJ(k$(zit.qb),3),32),Dit=LL(sJ(k$(zit.qb),4),32),Rit=LL(sJ(k$(zit.qb),5),17),hoe(Lit),hoe(Oit),hoe(Dit),hoe(Rit),Nit=new Vy(q3(lw(urt,1),vLe,170,0,[Lit,Oit]))}function vce(e,t){var n;this.d=new av,this.b=t,this.e=new lT(t.of()),n=e.t.Fc((iae(),Iet)),e.t.Fc(Eet)?e.C?this.a=n&&!t.Ff():this.a=!0:e.t.Fc(Met)?this.a=!!n&&!(t.xf().Ic().Ob()||t.zf().Ic().Ob()):this.a=!1}function yce(e,t){var n,r,i,o;for(n=e.o.a,o=LL(LL(KX(e.r,t),21),81).Ic();o.Ob();)(i=LL(o.Pb(),110)).e.a=(r=i.b).Ye((fxe(),P9e))?r.Ef()==(hwe(),Qet)?-r.pf().a-Oy($O(r.Xe(P9e))):n+Oy($O(r.Xe(P9e))):r.Ef()==(hwe(),Qet)?-r.pf().a:n}function wce(e,t){var n,r,i,o,a;for(a=e.j,t.a!=t.b&&kT(a,new Xi),i=a.c.length/2|0,r=0;r<i;r++)MG(r,a.c.length),(o=LL(a.c[r],112)).c&&mue(o.d,t.a);for(n=i;n<a.c.length;n++)MG(n,a.c.length),(o=LL(a.c[n],112)).c&&mue(o.d,t.b)}function xce(e,t){var n,r,i,o;e._i()?(n=e.Qi(),o=e.aj(),++e.j,e.Ci(n,e.ji(n,t)),r=e.Ui(3,null,t,n,o),e.Yi()&&(i=e.Zi(t,null))?(i.zi(r),i.Ai()):e.Vi(r)):(kB(e,t),e.Yi()&&(i=e.Zi(t,null))&&i.Ai())}function _ce(e,t){var n,r,i,o,a;for(a=ade(e.e.Og(),t),i=new sl,n=LL(e.g,118),o=e.i;--o>=0;)r=n[o],a.ml(r.Xj())&&AK(i,r);!Owe(e,i)&&FM(e.e)&&Ib(e,t.Vj()?cH(e,6,t,(v$(),XFe),null,-1,!1):cH(e,t.Fj()?2:1,t,null,null,-1,!1))}function Sce(e,t){var n,r,i;n=LL(Fae(e,(Kwe(),qZe)),108),i=LL(xfe(t,aJe),61),(r=LL(Fae(e,tJe),100))!=(joe(),xet)&&r!=_et?i==(hwe(),Zet)&&(i=zme(t,n))==Zet&&(i=K9(n)):i=Sve(t)>0?K9(n):B8(K9(n)),Fte(t,aJe,i)}function kce(e,t){var n,r,i,o;return e.a==(sse(),_qe)||(i=t.a.c,n=t.a.c+t.a.b,!(t.j&&(o=(r=t.A).c.c.a-r.o.a/2,i-(r.n.a+r.o.a)>o))&&!(t.q&&(o=(r=t.C).c.c.a-r.o.a/2,r.n.a-n>o)))}function Cce(e){var t,n,r,i,o,a;for(EG(),n=new Fq,r=new td(e.e.b);r.a<r.c.c.length;)for(o=new td(LL(xW(r),29).a);o.a<o.c.c.length;)i=LL(xW(o),10),(t=LL(oQ(n,a=e.g[i.p]),14))||ste(n,a,t=new $m),t.Dc(i);return n}function Ece(e){var t;return 0!=(64&e.Db)?jfe(e):((t=new XA(jfe(e))).a+=" (startX: ",Bx(t,e.j),t.a+=", startY: ",Bx(t,e.k),t.a+=", endX: ",Bx(t,e.b),t.a+=", endY: ",Bx(t,e.c),t.a+=", identifier: ",HI(t,e.d),t.a+=")",t.a)}function Ice(e){var t;return 0!=(64&e.Db)?Z6(e):((t=new XA(Z6(e))).a+=" (ordered: ",$x(t,0!=(256&e.Bb)),t.a+=", unique: ",$x(t,0!=(512&e.Bb)),t.a+=", lowerBound: ",Vx(t,e.s),t.a+=", upperBound: ",Vx(t,e.t),t.a+=")",t.a)}function Mce(e,t,n,r,i,o,a,s){var l;return BT(e.Cb,87)&&sue(VX(LL(e.Cb,87)),4),O1(e,n),e.f=r,G8(e,i),U8(e,o),W8(e,a),q8(e,!1),m8(e,!0),n9(e,s),w8(e,!0),e0(e,0),e.b=0,t0(e,1),(l=hae(e,t,null))&&l.Ai(),e9(e,!1),e}function Tce(e,t){var n,i;return LL(CH(e.a,t),505)||(n=new pX(t),fX(),function(e,t){Aze||t&&(e.d=t)}(n,Tce(e,zP(i=Aze?null:n.c,0,r.Math.max(0,iP(i,bae(46)))))),0==(Aze?null:n.c).length&&zO(n,new K),vG(e.a,Aze?null:n.c,n),n)}function Ace(e,t){var n;e.b=t,e.g=new $m,n=function(e){var t,n,i,o,a,s,l,u,c,f,h;for(f=0,c=0,o=e.a,l=o.a.gc(),i=o.a.ec().Ic();i.Ob();)(n=LL(i.Pb(),554)).b&&$be(n),f+=(h=(t=n.a).a)+(s=t.b),c+=h*s;if(u=r.Math.sqrt(400*l*c-4*c+f*f)+f,0==(a=2*(100*l-1)))return u;return u/a}(e.b),e.e=n,e.f=n,e.c=Ty(VO(Fae(e.b,(wie(),oBe)))),e.a=$O(Fae(e.b,(fxe(),P8e))),null==e.a&&(e.a=1),Oy(e.a)>1?e.e*=Oy(e.a):e.f/=Oy(e.a),function(e){var t,n;for(t=e.b.a.a.ec().Ic();t.Ob();)n=new Zfe(LL(t.Pb(),554),e.e,e.f),RL(e.g,n)}(e),Cee(e),function(e){var t,n,i,o,a,s,l,u,c,f;for(n=function(e){var t,n,i,o,a,s,l,u,c,f;for(n=e.o,t=e.p,s=Dxe,o=F_e,l=Dxe,a=F_e,c=0;c<n;++c)for(f=0;f<t;++f)lne(e,c,f)&&(s=r.Math.min(s,c),o=r.Math.max(o,c),l=r.Math.min(l,f),a=r.Math.max(a,f));return u=o-s+1,i=a-l+1,new QV(k8(s),k8(l),k8(u),k8(i))}(e.d),o=LL(Fae(e.b,(Ete(),n$e)),115),a=o.b+o.c,s=o.d+o.a,u=n.d.a*e.e+a,l=n.b.a*e.f+s,function(e,t){e.b=t}(e.b,new YE(u,l)),f=new td(e.g);f.a<f.c.c.length;)t=BD(tO(new YE((c=LL(xW(f),555)).g-n.a.a,c.i-n.c.a),c.a,c.b),cA(rO(RT(rT(c.e)),c.d*c.a,c.c*c.b),-.5)),i=iT(c.e),Mw(c.e,VD(t,i))}(e),S5(e.b,(Ete(),e$e),e.g)}function Pce(e,t,n){var r,i,o,a,s;for(r=0,s=n,t||(r=n*(e.c.length-1),s*=-1),o=new td(e);o.a<o.c.c.length;){for(S5(i=LL(xW(o),10),(Kwe(),MZe),(ine(),n8e)),i.o.a=r,a=jse(i,(hwe(),Oet)).Ic();a.Ob();)LL(a.Pb(),11).n.a=r;r+=s}}function Oce(e,t,n){var r,i,o;e._i()?(o=e.aj(),t8(e,t,n),r=e.Ui(3,null,n,t,o),e.Yi()?(i=e.Zi(n,null),e.dj()&&(i=e.ej(n,i)),i?(i.zi(r),i.Ai()):e.Vi(r)):e.Vi(r)):(t8(e,t,n),e.Yi()&&(i=e.Zi(n,null))&&i.Ai())}function Dce(e,t,n){var r,i,o,a,s,l;return(s=e.Bk(n))!=n?(a=e.g[t],l=s,fA(e,t,e.ji(t,l)),o=a,e.bi(t,l,o),e.mk()&&(r=n,i=e.$i(r,null),!LL(s,48).$g()&&(i=e.Zi(l,i)),i&&i.Ai()),FM(e.e)&&Ib(e,e.Ui(9,n,s,t,!1)),s):n}function Rce(e){var t,n,r,i,o;if(n=new WR(t=LL(Lx(att),9),LL(wD(t,t.length),9),0),o=LL(Fae(e,(hxe(),BXe)),10))for(i=new td(o.j);i.a<i.c.c.length;)OI(Fae(r=LL(xW(i),11),OXe))===OI(e)&&bP(new fY(r.b))&&c1(n,r.j);return n}function Lce(e,t,n){var r,i,o,a;if(!e.d[n.p]){for(r=new xF(BA(g9(n).a.Ic(),new p));Zce(r);){for(o=new xF(BA(p9(a=LL(dX(r),18).d.i).a.Ic(),new p));Zce(o);)(i=LL(dX(o),18)).c.i==t&&(e.a[i.p]=!0);Lce(e,t,a)}e.d[n.p]=!0}}function Nce(e){var t;if(!e.a)throw Jm(new jy("IDataType class expected for layout option "+e.f));if(t=function(e){return IG(),KF(Rnt,e)?LL(aB(Rnt,e),329).pg():null}(e.a),null==t)throw Jm(new jy("Couldn't create new instance of property '"+e.f+"'. "+$Pe+(FO(Lnt),Lnt.k)+HPe));return LL(t,409)}function jce(e){var t;switch(t=0,e){case 105:t=2;break;case 109:t=8;break;case 115:t=4;break;case 120:t=16;break;case 117:t=32;break;case 119:t=64;break;case 70:t=256;break;case 72:t=128;break;case 88:t=512;break;case 44:t=GRe}return t}function Fce(e,t){0!=t.b&&(isNaN(e.s)?e.s=Oy((EP(0!=t.b),$O(t.a.a.c))):e.s=r.Math.min(e.s,Oy((EP(0!=t.b),$O(t.a.a.c)))),isNaN(e.c)?e.c=Oy((EP(0!=t.b),$O(t.c.b.c))):e.c=r.Math.max(e.c,Oy((EP(0!=t.b),$O(t.c.b.c)))))}function zce(e){var t,n,r;for(t=null,n=ZF(l0(q3(lw(yje,1),zxe,19,0,[(!e.b&&(e.b=new nR(nnt,e,4,7)),e.b),(!e.c&&(e.c=new nR(nnt,e,5,8)),e.c)])));Zce(n);)if(r=Xoe(LL(dX(n),93)),t){if(t!=rG(r))return!0}else t=rG(r);return!1}function Bce(e,t){var n,r,i,o;e._i()?(n=e.i,o=e.aj(),WX(e,t),r=e.Ui(3,null,t,n,o),e.Yi()?(i=e.Zi(t,null),e.dj()&&(i=e.ej(t,i)),i?(i.zi(r),i.Ai()):e.Vi(r)):e.Vi(r)):(WX(e,t),e.Yi()&&(i=e.Zi(t,null))&&i.Ai())}function Vce(e,t,n){var r,i,o;e._i()?(o=e.aj(),++e.j,e.Ci(t,e.ji(t,n)),r=e.Ui(3,null,n,t,o),e.Yi()&&(i=e.Zi(n,null))?(i.zi(r),i.Ai()):e.Vi(r)):(++e.j,e.Ci(t,e.ji(t,n)),e.Yi()&&(i=e.Zi(n,null))&&i.Ai())}function $ce(e){var t,n,r,i,o;return(o=e.$g())&&o.fh()&&(i=P6(e,o))!=o?(n=e.Qg(),r=(t=e.Qg())>=0?e.Lg(null):e.$g().dh(e,-1-t,null,null),e.Mg(LL(i,48),n),r&&r.Ai(),e.Gg()&&e.Hg()&&n>-1&&Y2(e,new NF(e,9,n,o,i)),i):o}function Hce(e,t){var n,r,i;if(0==t)return 0!=(1&e.a[0]);if(t<0)throw Jm(new Cy("Negative bit address"));if((i=t>>5)>=e.d)return e.e<0;if(n=e.a[i],t=1<<(31&t),e.e<0){if(i<(r=g2(e)))return!1;n=r==i?-n:~n}return 0!=(n&t)}function Gce(e){var t,n,r,i,o,a,s;for(o=0,i=e.f.e,n=0;n<i.c.length;++n)for(MG(n,i.c.length),a=LL(i.c[n],144),r=n+1;r<i.c.length;++r)MG(r,i.c.length),s=LL(i.c[r],144),t=wK(a.d,s.d)-e.a[a.b][s.b],o+=e.i[a.b][s.b]*t*t;return o}function Wce(e,t){var n;if(!ZP(t,(Kwe(),xQe))&&(n=function(e,t){switch(e.g){case 0:return t==(H9(),tYe)?CWe:EWe;case 1:return t==(H9(),tYe)?CWe:kWe;case 2:return t==(H9(),tYe)?kWe:EWe;default:return kWe}}(LL(Fae(t,SWe),357),LL(Fae(e,xQe),165)),S5(t,SWe,n),!Zce(new xF(BA(d9(t).a.Ic(),new p)))))switch(n.g){case 1:S5(t,xQe,(H9(),eYe));break;case 2:S5(t,xQe,(H9(),nYe))}}function Uce(){Aae.call(this,oDe,(Sx(),Ftt)),this.p=null,this.a=null,this.f=null,this.n=null,this.g=null,this.c=null,this.i=null,this.j=null,this.d=null,this.b=null,this.e=null,this.k=null,this.o=null,this.s=null,this.q=!1,this.r=!1}function qce(){qce=S,Int=new dI(RIe,0),knt=new dI("INSIDE_SELF_LOOPS",1),Cnt=new dI("MULTI_EDGES",2),Snt=new dI("EDGE_LABELS",3),Ent=new dI("PORTS",4),xnt=new dI("COMPOUND",5),wnt=new dI("CLUSTERS",6),_nt=new dI("DISCONNECTED",7)}function Xce(e,t){var n,r,i,o;for(n=(o=QN(a8(k_e,uV(QN(a8(null==t?0:p4(t),C_e)),15))))&e.b.length-1,i=null,r=e.b[n];r;i=r,r=r.a)if(r.d==o&&IB(r.i,t))return i?i.a=r.a:e.b[n]=r.a,sw(r.c,r.f),ob(r.b,r.e),--e.f,++e.e,!0;return!1}function Yce(e,t){var n,r,i,o,a,s,l;if(o=t.e)for(n=$ce(o),r=LL(e.g,662),a=0;a<e.i;++a)if(One(l=r[a])==n&&(!l.d&&(l.d=new hA(brt,l,1)),i=l.d,(s=LL(n.Xg(mge(o,o.Cb,o.Db>>16)),14).Vc(o))<i.i))return Yce(e,LL(sJ(i,s),86));return t}function Kce(e,t,n){var r,i=Sxe,o=i[e],a=o instanceof Array?o[0]:null;o&&!a?_xe=o:(!(r=t&&t.prototype)&&(r=Sxe[t]),(_xe=BH(r)).cm=n,!t&&(_xe.dm=_),i[e]=_xe);for(var s=3;s<arguments.length;++s)arguments[s].prototype=_xe;a&&(_xe.bm=a)}function Zce(e){for(var t;!LL(wz(e.a),49).Ob();){if(e.d=o4(e),!e.d)return!1;if(e.a=LL(e.d.Pb(),49),BT(e.a,40)){if(t=LL(e.a,40),e.a=t.a,!e.b&&(e.b=new Vm),FU(e.b,e.d),t.b)for(;!Hy(t.b);)FU(e.b,LL(hz(t.b),49));e.d=t.d}}return!0}function Qce(e,t){var n,r,i,o,a;for(o=null==t?0:e.b.se(t),r=null==(n=e.a.get(o))?new Array:n,a=0;a<r.length;a++)if(i=r[a],e.b.re(t,i.ad()))return 1==r.length?(r.length=0,vD(e.a,o)):r.splice(a,1),--e.c,eH(e.b),i.bd();return null}function Jce(e,t){var n,r,i,o;for(i=1,t.j=!0,o=null,r=new td(A9(t));r.a<r.c.c.length;)n=LL(xW(r),211),e.c[n.c]||(e.c[n.c]=!0,o=k9(n,t),n.f?i+=Jce(e,o):o.j||n.a!=n.e.e-n.d.e||(n.f=!0,uz(e.p,n),i+=Jce(e,o)));return i}function efe(e){var t,n,i,o,a;if(a=lme(e,o=new $m),t=LL(Fae(e,(hxe(),BXe)),10))for(i=new td(t.j);i.a<i.c.c.length;)OI(Fae(n=LL(xW(i),11),OXe))===OI(e)&&(a=r.Math.max(a,lme(n,o)));return 0==o.c.length||S5(e,AXe,a),-1!=a?o:null}function tfe(e,t,n){var r,i,o,a,s,l;i=(r=(o=LL(JN(t.e,0),18).c).i).k,s=(a=(l=LL(JN(n.g,0),18).d).i).k,i==(mse(),qHe)?S5(e,(hxe(),IXe),LL(Fae(r,IXe),11)):S5(e,(hxe(),IXe),o),S5(e,(hxe(),MXe),s==qHe?LL(Fae(a,MXe),11):l)}function nfe(e,t){var n,r,i,o,a;return t&=63,(r=0!=((n=e.h)&CSe))&&(n|=-1048576),t<22?(a=n>>t,o=e.m>>t|n<<22-t,i=e.l>>t|e.m<<22-t):t<44?(a=r?kSe:0,o=n>>t-22,i=e.m>>t-22|n<<44-t):(a=r?kSe:0,o=r?SSe:0,i=n>>t-44),TT(i&SSe,o&SSe,a&kSe)}function rfe(e){var t,n,i,o,a,s;for(this.c=new $m,this.d=e,i=RSe,o=RSe,t=LSe,n=LSe,s=cte(e,0);s.b!=s.d.c;)a=LL(BU(s),8),i=r.Math.min(i,a.a),o=r.Math.min(o,a.b),t=r.Math.max(t,a.a),n=r.Math.max(n,a.b);this.a=new jV(i,o,t-i,n-o)}function ife(e,t){var n,r,i,o;for(r=new td(e.b);r.a<r.c.c.length;)for(o=new td(LL(xW(r),29).a);o.a<o.c.c.length;)for((i=LL(xW(o),10)).k==(mse(),UHe)&&Mme(i,t),n=new xF(BA(g9(i).a.Ic(),new p));Zce(n);)j3(LL(dX(n),18),t)}function ofe(e){var t,n,r;this.c=e,r=LL(Fae(e,(Kwe(),qZe)),108),t=Oy($O(Fae(e,AZe))),n=Oy($O(Fae(e,NJe))),r==(A8(),c7e)||r==f7e||r==h7e?this.b=t*n:this.b=1/(t*n),this.j=Oy($O(Fae(e,TJe))),this.e=Oy($O(Fae(e,MJe))),this.f=e.b.c.length}function afe(e,t){var n,r,i,o,a,s,l,u,c;if(e.a.f>0&&BT(t,43)&&(e.a.lj(),o=null==(l=(u=LL(t,43)).ad())?0:p4(l),a=aD(e.a,o),n=e.a.d[a]))for(r=LL(n.g,364),c=n.i,s=0;s<c;++s)if((i=r[s]).Nh()==o&&i.Fb(u))return afe(e,u),!0;return!1}function sfe(e){switch(e.g){case 0:return new pf;case 1:return new af;case 2:return new sf;case 3:return new MI;case 4:return new Wj;default:throw Jm(new Ny("No implementation is available for the node placer "+(null!=e.f?e.f:""+e.g)))}}function lfe(){lfe=S,W9(),B5e=new uM(sPe,V5e=D5e),F5e=new uM(lPe,(_P(),!0)),k8(-1),L5e=new uM(uPe,k8(-1)),k8(-1),N5e=new uM(cPe,k8(-1)),z5e=new uM(fPe,!1),$5e=new uM(hPe,!0),j5e=new uM(dPe,!1),H5e=new uM(pPe,-1)}function ufe(e,t,n){switch(t){case 7:return!e.e&&(e.e=new nR(rnt,e,7,4)),Ove(e.e),!e.e&&(e.e=new nR(rnt,e,7,4)),void Qz(e.e,LL(n,15));case 8:return!e.d&&(e.d=new nR(rnt,e,8,5)),Ove(e.d),!e.d&&(e.d=new nR(rnt,e,8,5)),void Qz(e.d,LL(n,15))}Jie(e,t,n)}function cfe(e,t){var n,r,i,o,a;if(OI(t)===OI(e))return!0;if(!BT(t,14))return!1;if(a=LL(t,14),e.gc()!=a.gc())return!1;for(o=a.Ic(),r=e.Ic();r.Ob();)if(n=r.Pb(),i=o.Pb(),!(OI(n)===OI(i)||null!=n&&l8(n,i)))return!1;return!0}function ffe(){ffe=S,r5e=new uM(WAe,k8(0)),i5e=new uM(UAe,0),B4(),J3e=new uM(qAe,e5e=q3e),k8(0),Q3e=new uM(XAe,k8(1)),B2(),o5e=new uM(YAe,a5e=C5e),KK(),s5e=new uM(KAe,l5e=W3e),rre(),t5e=new uM(ZAe,n5e=_5e)}function hfe(e,t,n){var r;r=null,t&&(r=t.d),aoe(e,new Uk(t.n.a-r.b+n.a,t.n.b-r.d+n.b)),aoe(e,new Uk(t.n.a-r.b+n.a,t.n.b+t.o.b+r.a+n.b)),aoe(e,new Uk(t.n.a+t.o.a+r.c+n.a,t.n.b-r.d+n.b)),aoe(e,new Uk(t.n.a+t.o.a+r.c+n.a,t.n.b+t.o.b+r.a+n.b))}function dfe(e,t,n){var r,i,o;for(t.p=n,o=ZF(l0(q3(lw(yje,1),zxe,19,0,[new Qd(t),new ep(t)])));Zce(o);)-1==(r=LL(dX(o),11)).p&&dfe(e,r,n);if(t.i.k==(mse(),qHe))for(i=new td(t.i.j);i.a<i.c.c.length;)(r=LL(xW(i),11))!=t&&-1==r.p&&dfe(e,r,n)}function pfe(e){var t,n;if(2!=e.c.length)throw Jm(new jy("Order only allowed for two paths."));MG(0,e.c.length),t=LL(e.c[0],18),MG(1,e.c.length),n=LL(e.c[1],18),t.d.i!=n.c.i&&(e.c=fK(pje,zxe,1,0,5,1),e.c[e.c.length]=n,e.c[e.c.length]=t)}function gfe(e){var t,n,i,o,a;if(o=LL(Nq(function(e){return H8(e),_V(e,new Id(new Pb))}(XG(e)),CK(new F,new j,new re,q3(lw(jze,1),A_e,132,0,[(z4(),Rze)]))),14),i=KCe,o.gc()>=2)for(t=$O((n=o.Ic()).Pb());n.Ob();)a=t,t=$O(n.Pb()),i=r.Math.min(i,(wB(t),t-(wB(a),a)));return i}function mfe(e,t){var n,r,i,o,a;jq(r=new sS,t,r.c.b,r.c);do{for(EP(0!=r.b),n=LL(lJ(r,r.a.a),83),e.b[n.g]=1,o=cte(n.d,0);o.b!=o.d.c;)a=(i=LL(BU(o),188)).c,1==e.b[a.g]?bN(e.a,i):2==e.b[a.g]?e.b[a.g]=1:jq(r,a,r.c.b,r.c)}while(0!=r.b)}function bfe(e,t){var n,r,i;if(OI(t)===OI(wz(e)))return!0;if(!BT(t,14))return!1;if(r=LL(t,14),(i=e.gc())!=r.gc())return!1;if(BT(r,53)){for(n=0;n<i;n++)if(!IB(e.Xb(n),r.Xb(n)))return!1;return!0}return function(e,t){for(var n,r;e.Ob();){if(!t.Ob())return!1;if(n=e.Pb(),r=t.Pb(),!(OI(n)===OI(r)||null!=n&&l8(n,r)))return!1}return!t.Ob()}(e.Ic(),r.Ic())}function vfe(e,t){var n;if(0!=e.c.length){if(2==e.c.length)Mme((MG(0,e.c.length),LL(e.c[0],10)),(Yre(),U7e)),Mme((MG(1,e.c.length),LL(e.c[1],10)),q7e);else for(n=new td(e);n.a<n.c.c.length;)Mme(LL(xW(n),10),t);e.c=fK(pje,zxe,1,0,5,1)}}function yfe(e,t,n){var r,i,o,a,s;if(!(i=e.f)&&(i=LL(e.a.a.ec().Ic().Pb(),56)),xie(i,t,n),1!=e.a.a.gc())for(r=t*n,a=e.a.a.ec().Ic();a.Ob();)(o=LL(a.Pb(),56))!=i&&((s=VU(o)).f.d?(o.d.d+=r+lCe,o.d.a-=r+lCe):s.f.a&&(o.d.a-=r+lCe))}function wfe(e,t,n,i,o){var a,s,l,u,c,f,h,d,p;return s=n-e,l=i-t,u=(a=r.Math.atan2(s,l))+YCe,c=a-YCe,f=o*r.Math.sin(u)+e,d=o*r.Math.cos(u)+t,h=o*r.Math.sin(c)+e,p=o*r.Math.cos(c)+t,JX(q3(lw(J6e,1),s_e,8,0,[new YE(f,d),new YE(h,p)]))}function xfe(e,t){var n,r;return!e.o&&(e.o=new EK((Hwe(),Xtt),ynt,e,0)),null!=(r=E7(e.o,t))?r:(BT(n=t.rg(),4)&&(null==n?(!e.o&&(e.o=new EK((Hwe(),Xtt),ynt,e,0)),uee(e.o,t)):(!e.o&&(e.o=new EK((Hwe(),Xtt),ynt,e,0)),Bie(e.o,t,n))),n)}function _fe(e,t){var n,r,i,o,a,s,l;if(!t.f)throw Jm(new Ny("The input edge is not a tree edge."));for(o=null,i=Dxe,r=new td(e.d);r.a<r.c.c.length;)s=(n=LL(xW(r),211)).d,l=n.e,pue(e,s,t)&&!pue(e,l,t)&&(a=l.e-s.e-n.a)<i&&(i=a,o=n);return o}function Sfe(){Sfe=S,J7e=new PE("H_LEFT",0),Q7e=new PE("H_CENTER",1),tet=new PE("H_RIGHT",2),aet=new PE("V_TOP",3),oet=new PE("V_CENTER",4),iet=new PE("V_BOTTOM",5),net=new PE("INSIDE",6),ret=new PE("OUTSIDE",7),eet=new PE("H_PRIORITY",8)}function kfe(e){var t,n,r,i,o,a;if(!(e.f.e.c.length<=1)){t=0,i=Gce(e),n=RSe;do{for(t>0&&(i=n),a=new td(e.f.e);a.a<a.c.c.length;)Ty(VO(Fae(o=LL(xW(a),144),(Xte(),J$e))))||(r=yme(e,o),BD(nM(o.d),r));n=Gce(e)}while(!fB(e,t++,i,n))}}function Cfe(e,t,n,r){var i,o,a,s;for(a=(s=t.e).length,o=t.q.Xf(s,n?0:a-1,n),o|=zpe(e,s[n?0:a-1],n,r),i=n?1:a-2;n?i<a:i>=0;i+=n?1:-1)o|=t.c.Pf(s,i,n,r&&!Ty(VO(Fae(t.j,(hxe(),gXe))))),o|=t.q.Xf(s,i,n),o|=zpe(e,s[i],n,r);return uz(e.c,t),o}function Efe(e,t,n){var r,i,o,a;for(qoe(n,"Processor set coordinates",1),e.a=0==t.b.b?1:t.b.b,o=null,r=cte(t.b,0);!o&&r.b!=r.d.c;)Ty(VO(Fae(a=LL(BU(r),83),(qve(),a3e))))&&(o=a,(i=a.e).a=LL(Fae(a,s3e),20).a,i.b=0);zse(e,K3(o),a2(n,1)),_se(n)}function Ife(e,t,n){var r,i,o;for(qoe(n,"Processor determine the height for each level",1),e.a=0==t.b.b?1:t.b.b,i=null,r=cte(t.b,0);!i&&r.b!=r.d.c;)Ty(VO(Fae(o=LL(BU(r),83),(qve(),a3e))))&&(i=o);i&&Bde(e,JX(q3(lw(L2e,1),QCe,83,0,[i])),n),_se(n)}function Mfe(e,t){var n,r,i,o,a,s;return null,o=null,(NDe in(a=e).a||jDe in a.a||wDe in a.a)&&(null,s=o5(t),r=MU(a,NDe),function(e,t){var n,r;t&&(n=o0(t,"x"),XJ(new om(e).a,(wB(n),n)),r=o0(t,"y"),QJ(new sm(e).a,(wB(r),r)))}(new Qg(s).a,r),i=MU(a,jDe),function(e,t){var n,r;t&&(n=o0(t,"x"),KJ(new um(e).a,(wB(n),n)),r=o0(t,"y"),ZJ(new cm(e).a,(wB(r),r)))}(new lm(s).a,i),n=IU(a,wDe),function(e,t){var n,r,i;if(t)for(i=((n=new iF(t.a.length)).b-n.a)*n.c<0?(ik(),Qot):new kA(n);i.Ob();)r=TU(t,LL(i.Pb(),20).a),vV(new $g(e).a,r)}(new fm(s).a,n),o=n),o}function Tfe(e,t){var n,i,o,a,s;return s=(a=t.a).c.i==t.b?a.d:a.c,i=a.c.i==t.b?a.c:a.d,o=function(e,t,n){var r;return r=Oy(e.p[t.i.p])+Oy(e.d[t.i.p])+t.n.b+t.a.b,Oy(e.p[n.i.p])+Oy(e.d[n.i.p])+n.n.b+n.a.b-r}(e.a,s,i),o>0&&o<KCe?(n=function(e,t,n,i){var o,a,s,l,u,c,f,h;o=n,a=f=t;do{a=e.a[a.p],h=e.g[a.p],l=Oy(e.p[h.p])+Oy(e.d[a.p])-a.d.d,(u=F0(a,i))&&(c=e.g[u.p],s=Oy(e.p[c.p])+Oy(e.d[u.p])+u.o.b+u.d.a,o=r.Math.min(o,l-(s+AT(e.k,a,u))))}while(f!=a);return o}(e.a,i.i,o,e.c),pJ(e.a,i.i,-n),n>0):o<0&&-o<KCe&&(n=function(e,t,n,i){var o,a,s,l,u,c,f,h;o=n,a=f=t;do{a=e.a[a.p],h=e.g[a.p],s=Oy(e.p[h.p])+Oy(e.d[a.p])+a.o.b+a.d.a,(u=Q3(a,i))&&(c=e.g[u.p],l=Oy(e.p[c.p])+Oy(e.d[u.p])-u.d.d,o=r.Math.min(o,l-(s+AT(e.k,a,u))))}while(f!=a);return o}(e.a,i.i,-o,e.c),pJ(e.a,i.i,n),n>0)}function Afe(e){var t,n,i,o,a,s,l;for(i=RSe,n=LSe,t=new td(e.e.b);t.a<t.c.c.length;)for(a=new td(LL(xW(t),29).a);a.a<a.c.c.length;)o=LL(xW(a),10),s=(l=Oy(e.p[o.p]))+Oy(e.b[e.g[o.p].p]),i=r.Math.min(i,l),n=r.Math.max(n,s);return n-i}function Pfe(e,t,n,r){var i,o,a,s,l,u;for(l=null,s=0,u=(i=xge(e,t)).gc();s<u;++s)if(fR(r,WV(FZ(e,o=LL(i.Xb(s),170)))))if(a=UV(FZ(e,o)),null==n){if(null==a)return o;!l&&(l=o)}else{if(fR(n,a))return o;null==a&&!l&&(l=o)}return null}function Ofe(e,t,n,r){var i,o,a,s,l,u;for(l=null,s=0,u=(i=_ge(e,t)).gc();s<u;++s)if(fR(r,WV(FZ(e,o=LL(i.Xb(s),170)))))if(a=UV(FZ(e,o)),null==n){if(null==a)return o;!l&&(l=o)}else{if(fR(n,a))return o;null==a&&!l&&(l=o)}return null}function Dfe(e,t,n){var i,o,a,s,l,u,c,f;for(a=t.Ic();a.Ob();)u=(o=LL(a.Pb(),34)).i+o.g/2,f=o.j+o.f/2,l=u-((s=e.f).i+s.g/2),c=f-(s.j+s.f/2),i=r.Math.sqrt(l*l+c*c),l*=e.e/i,c*=e.e/i,n?(u-=l,f-=c):(u+=l,f+=c),UJ(o,u-o.g/2),qJ(o,f-o.f/2)}function Rfe(e){var t,n,r;if(!e.c&&null!=e.b){for(t=e.b.length-4;t>=0;t-=2)for(n=0;n<=t;n+=2)(e.b[n]>e.b[n+2]||e.b[n]===e.b[n+2]&&e.b[n+1]>e.b[n+3])&&(r=e.b[n+2],e.b[n+2]=e.b[n],e.b[n]=r,r=e.b[n+3],e.b[n+3]=e.b[n+1],e.b[n+1]=r);e.c=!0}}function Lfe(e){var t,n,r;if(e.e)throw Jm(new jy((FO(Zze),Mke+Zze.k+Tke)));for(e.d==(A8(),h7e)&&Gye(e,c7e),n=new td(e.a.a);n.a<n.c.c.length;)(t=LL(xW(n),305)).g=t.i;for(r=new td(e.a.b);r.a<r.c.c.length;)LL(xW(r),56).i=LSe;return e.b.Le(e),e}function Nfe(e,t){var n,r,i,o,a,s;for(o=(1==t?_He:xHe).a.ec().Ic();o.Ob();)for(i=LL(o.Pb(),108),s=LL(KX(e.f.c,i),21).Ic();s.Ob();)switch(a=LL(s.Pb(),46),r=LL(a.b,79),n=LL(a.a,189).c,i.g){case 2:case 1:r.g.d+=n;break;case 4:case 3:r.g.c+=n}}function jfe(e){var t;return(t=new YA(Fx(e.bm))).a+="@",UI(t,(p4(e)>>>0).toString(16)),e.fh()?(t.a+=" (eProxyURI: ",WI(t,e.lh()),e.Vg()&&(t.a+=" eClass: ",WI(t,e.Vg())),t.a+=")"):e.Vg()&&(t.a+=" (eClass: ",WI(t,e.Vg()),t.a+=")"),t.a}function Ffe(e,t){var n,r,i,o,a;if(o=t,!(a=LL(IJ(uB(e.i),o),34)))throw Jm(new Yy("Unable to find elk node for json object '"+AU(o,IDe)+"' Panic!"));r=IU(o,"edges"),function(e,t,n){var r,i,o;if(n)for(o=((r=new iF(n.a.length)).b-r.a)*r.c<0?(ik(),Qot):new kA(r);o.Ob();)i=TU(n,LL(o.Pb(),20).a),bDe in i.a||vDe in i.a?sge(e,i,t):zwe(e,i,t)}((n=new QE(e,a)).a,n.b,r),i=IU(o,gDe),function(e,t){var n,r,i;if(t)for(i=((n=new iF(t.a.length)).b-n.a)*n.c<0?(ik(),Qot):new kA(n);i.Ob();)(r=TU(t,LL(i.Pb(),20).a))&&Ffe(e,r)}(new Gg(e).a,i)}function zfe(e,t,n,r){var i,o,a,s,l,u;for(i=(t-e.d)/e.c.c.length,o=0,e.a+=n,e.d=t,u=new td(e.c);u.a<u.c.c.length;)s=(l=LL(xW(u),34)).g,a=l.f,UJ(l,l.i+o*i),qJ(l,l.j+r*n),WJ(l,l.g+i),GJ(l,e.a-e.b),++o,Yle(l,new YE(l.g,l.f),new YE(s,a))}function Bfe(e,t,n,r){var i,o,a,s,l;if(null!=r){if(i=e.d[t])for(o=i.g,l=i.i,s=0;s<l;++s)if((a=LL(o[s],133)).Nh()==n&&l8(r,a.ad()))return s}else if(i=e.d[t])for(o=i.g,l=i.i,s=0;s<l;++s)if(OI((a=LL(o[s],133)).ad())===OI(r))return s;return-1}function Vfe(e,t){var n,r;return BT(n=null==t?PI(rH(e.f,null)):ck(e.g,t),234)?((r=LL(n,234)).Lh(),r):BT(n,490)?((r=LL(n,1910).a)&&(null==r.yb||(null==t?eue(e.f,null,r):f9(e.g,t,r))),r):null}function $fe(e,t){var n,i,o,a,s,l;if((i=e.b[t.p])>=0)return i;for(o=1,a=new td(t.j);a.a<a.c.c.length;)for(n=new td(LL(xW(a),11).g);n.a<n.c.c.length;)t!=(l=LL(xW(n),18).d.i)&&(s=$fe(e,l),o=r.Math.max(o,s+1));return function(e,t,n){var r,i;for(r=(i=e.a.b).c.length;r<n;r++)Mj(i,0,new mB(e.a));OG(t,LL(JN(i,i.c.length-n),29)),e.b[t.p]=n}(e,t,o),o}function Hfe(e,t,n){var r;if(2==(e.c-e.b&e.a.length-1))t==(hwe(),Det)||t==Oet?(oJ(LL(O5(e),14),(Yre(),U7e)),oJ(LL(O5(e),14),q7e)):(oJ(LL(O5(e),14),(Yre(),q7e)),oJ(LL(O5(e),14),U7e));else for(r=new iV(e);r.a!=r.b;)oJ(LL(T6(r),14),n)}function Gfe(e,t){var n,i,o,a;return o=e.a*rke+1502*e.b,a=e.b*rke+11,o+=n=r.Math.floor(a*ike),a-=n*oke,o%=oke,e.a=o,e.b=a,t<=24?r.Math.floor(e.a*dze[t]):((i=e.a*(1<<t-24)+r.Math.floor(e.b*pze[t]))>=2147483648&&(i-=GSe),i)}function Wfe(e,t,n){var r,i,o,a;vW(e,t)>vW(e,n)?(r=i9(n,(hwe(),Oet)),e.d=r.dc()?0:IN(LL(r.Xb(0),11)),a=i9(t,Qet),e.b=a.dc()?0:IN(LL(a.Xb(0),11))):(i=i9(n,(hwe(),Qet)),e.d=i.dc()?0:IN(LL(i.Xb(0),11)),o=i9(t,Oet),e.b=o.dc()?0:IN(LL(o.Xb(0),11)))}function Ufe(e){var t,n,r,i,o,a,s;if(e&&(t=e.Ch(DLe))&&null!=(a=HO(E7((!t.b&&(t.b=new fO((bxe(),Grt),ait,t)),t.b),"conversionDelegates")))){for(s=new $m,i=0,o=(r=wge(a,"\\w+")).length;i<o;++i)n=r[i],s.c[s.c.length]=n;return s}return v$(),v$(),XFe}function qfe(e){var t,n;try{return null==e?$xe:P9(e)}catch(r){if(BT(r=v3(r),102))return t=r,n=Fx(g4(e))+"@"+(Q_(),(Yte(e)>>>0).toString(16)),Uee(V3(),(nS(),"Exception during lenientFormat for "+n),t),"<"+n+" threw "+Fx(t.bm)+">";throw Jm(r)}}function Xfe(e,t){var n,r,i,o;for(n=e.o.a,o=LL(LL(KX(e.r,t),21),81).Ic();o.Ob();)(i=LL(o.Pb(),110)).e.a=n*Oy($O(i.b.Xe(bVe))),i.e.b=(r=i.b).Ye((fxe(),P9e))?r.Ef()==(hwe(),Det)?-r.pf().b-Oy($O(r.Xe(P9e))):Oy($O(r.Xe(P9e))):r.Ef()==(hwe(),Det)?-r.pf().b:0}function Yfe(e){var t,n,r,i,o,a,s,l;t=!0,i=null,o=null;e:for(l=new td(e.a);l.a<l.c.c.length;)for(r=new xF(BA(p9(s=LL(xW(l),10)).a.Ic(),new p));Zce(r);){if(n=LL(dX(r),18),i&&i!=s){t=!1;break e}if(i=s,a=n.c.i,o&&o!=a){t=!1;break e}o=a}return t}function Kfe(e,t,n){var r,i,o,a,s;for(W0(i=new yl,(wB(t),t)),!i.b&&(i.b=new fO((bxe(),Grt),ait,i)),s=i.b,a=1;a<n.length;a+=2)Bie(s,n[a-1],n[a]);for(!e.Ab&&(e.Ab=new FF(srt,e,0,3)),r=e.Ab,o=0;o<0;++o)r=xB(LL(sJ(r,r.i-1),581));AK(r,i)}function Zfe(e,t,n){var i,o,a;for(eD.call(this,new $m),this.a=t,this.b=n,this.e=e,e.b&&$be(e),i=e.a,this.d=HV(i.a,this.a),this.c=HV(i.b,this.b),function(e,t,n){e.n=FN(iat,[s_e,jSe],[361,24],14,[n,IH(r.Math.ceil(t/32))],2),e.o=t,e.p=n,e.j=t-1>>1,e.k=n-1>>1}(this,this.d,this.c),function(e){var t,n,r,i,o,a,s;for(n=iT(e.e),o=cA(rO(RT(rT(e.e)),e.d*e.a,e.c*e.b),-.5),t=n.a-o.a,i=n.b-o.b,s=0;s<e.c;s++){for(r=t,a=0;a<e.d;a++)j9(e.e,new jV(r,i,e.a,e.b))&&jpe(e,a,s,!1,!0),r+=e.a;i+=e.b}}(this),a=this.e.e.a.ec().Ic();a.Ob();)(o=LL(a.Pb(),265)).c.c.length>0&&Wve(this,o)}function Qfe(e,t,n,r,i,o){var a,s,l;if(!i[t.b]){for(i[t.b]=!0,!(a=r)&&(a=new hY),RL(a.e,t),l=o[t.b].Ic();l.Ob();)(s=LL(l.Pb(),281)).d!=n&&s.c!=n&&(s.c!=t&&Qfe(e,s.c,t,a,i,o),s.d!=t&&Qfe(e,s.d,t,a,i,o),RL(a.c,s),L3(a.d,s.b));return a}return null}function Jfe(e){var t,n,r;for(t=0,n=new td(e.e);n.a<n.c.c.length;)xX(new cj(null,new ZG(LL(xW(n),18).b,16)),new dn)&&++t;for(r=new td(e.g);r.a<r.c.c.length;)xX(new cj(null,new ZG(LL(xW(r),18).b,16)),new pn)&&++t;return t>=2}function ehe(e){switch(e.g){case 0:return new rf;case 1:return new tf;case 2:return new LS;case 3:return new Co;case 4:return new RD;case 5:return new nf;default:throw Jm(new Ny("No implementation is available for the layerer "+(null!=e.f?e.f:""+e.g)))}}function the(e,t,n){var r,i,o;for(o=new td(e.t);o.a<o.c.c.length;)(r=LL(xW(o),267)).b.s<0&&r.c>0&&(r.b.n-=r.c,r.b.n<=0&&r.b.u>0&&bN(t,r.b));for(i=new td(e.i);i.a<i.c.c.length;)(r=LL(xW(i),267)).a.s<0&&r.c>0&&(r.a.u-=r.c,r.a.u<=0&&r.a.n>0&&bN(n,r.a))}function nhe(e){var t,n,r;if(null==e.g&&(e.d=e.ni(e.f),AK(e,e.d),e.c))return e.f;if(r=(t=LL(e.g[e.i-1],49)).Pb(),e.e=t,(n=e.ni(r)).Ob())e.d=n,AK(e,n);else for(e.d=null;!t.Ob()&&(nB(e.g,--e.i,null),0!=e.i);)t=LL(e.g[e.i-1],49);return r}function rhe(e,t,n,i){var o,a,s;for(vh(o=new Sne(e),(mse(),UHe)),S5(o,(hxe(),OXe),t),S5(o,GXe,i),S5(o,(Kwe(),tJe),(joe(),vet)),S5(o,IXe,t.c),S5(o,MXe,t.d),Rde(t,o),s=r.Math.floor(n/2),a=new td(o.j);a.a<a.c.c.length;)LL(xW(a),11).n.b=s;return o}function ihe(e){var t,n,i,o,a,s;for(t=0,n=new td(e.a);n.a<n.c.c.length;)for(o=new xF(BA(g9(LL(xW(n),10)).a.Ic(),new p));Zce(o);)e==(i=LL(dX(o),18)).d.i.c&&i.c.j==(hwe(),Qet)&&(a=tW(i.c).b,s=tW(i.d).b,t=r.Math.max(t,r.Math.abs(s-a)));return t}function ohe(e,t,n){switch(n.g){case 1:return new YE(t.a,r.Math.min(e.d.b,t.b));case 2:return new YE(r.Math.max(e.c.a,t.a),t.b);case 3:return new YE(t.a,r.Math.max(e.c.b,t.b));case 4:return new YE(r.Math.min(t.a,e.d.a),t.b)}return new YE(t.a,t.b)}function ahe(e){var t,n,r;for(RL(t=$P(1+(!e.c&&(e.c=new FF(fnt,e,9,9)),e.c).i),(!e.d&&(e.d=new nR(rnt,e,8,5)),e.d)),r=new SA((!e.c&&(e.c=new FF(fnt,e,9,9)),e.c));r.e!=r.i.gc();)RL(t,(!(n=LL(Hee(r),122)).d&&(n.d=new nR(rnt,n,8,5)),n.d));return wz(t),new IM(t)}function she(e){var t,n,r;for(RL(t=$P(1+(!e.c&&(e.c=new FF(fnt,e,9,9)),e.c).i),(!e.e&&(e.e=new nR(rnt,e,7,4)),e.e)),r=new SA((!e.c&&(e.c=new FF(fnt,e,9,9)),e.c));r.e!=r.i.gc();)RL(t,(!(n=LL(Hee(r),122)).e&&(n.e=new nR(rnt,n,7,4)),n.e));return wz(t),new IM(t)}function lhe(e,t,n){var r,i,o;if(!(o=Uve((vle(),Sit),e.Og(),t)))throw Jm(new Ny(HOe+t.ne()+GOe));if(tk(),!LL(o,65).Jj()&&!(o=iW(FZ(Sit,o))))throw Jm(new Ny(HOe+t.ne()+GOe));i=LL((r=e.Tg(o))>=0?e.Wg(r,!0,!0):tce(e,o,!0),152),LL(i,212).hl(t,n)}function uhe(e,t){var n,r,i;if(qoe(t,"Breaking Point Processor",1),function(e){var t,n,r,i,o,a,s,l,u,c,f,h,d,p,g,m,b;u=e.b,yD(l=new eU(u,0),new mB(e)),m=!1,o=1;for(;l.b<l.d.gc();){for(EP(l.b<l.d.gc()),s=LL(l.d.Xb(l.c=l.b++),29),MG(o,u.c.length),d=LL(u.c[o],29),g=(p=hW(s.a)).c.length,h=new td(p);h.a<h.c.c.length;)OG(c=LL(xW(h),10),d);if(m){for(f=cW(new ry(p),0);f.c.Sb();)for(i=new td(hW(p9(c=LL(Bq(f),10))));i.a<i.c.c.length;)sbe(r=LL(xW(i),18),!0),S5(e,(hxe(),aXe),(_P(),!0)),n=eye(e,r,g),t=LL(Fae(c,eXe),303),b=LL(JN(n,n.c.length-1),18),t.k=b.c.i,t.n=b,t.b=r.d.i,t.c=r;m=!1}else 0!=p.c.length&&(MG(0,p.c.length),LL(p.c[0],10).k==(mse(),GHe)&&(m=!0,o=-1));++o}a=new eU(e.b,0);for(;a.b<a.d.gc();)EP(a.b<a.d.gc()),0==LL(a.d.Xb(a.c=a.b++),29).a.c.length&&nV(a)}(e),Ty(VO(Fae(e,(Kwe(),$Je))))){for(r=new td(e.b);r.a<r.c.c.length;)for(n=0,i=new td(LL(xW(r),29).a);i.a<i.c.c.length;)LL(xW(i),10).p=n++;!function(e){var t,n,r,i,o,a,s;for(r=new td(e.b);r.a<r.c.c.length;)for(o=new td(hW(LL(xW(r),29).a));o.a<o.c.c.length;)if(kQ(i=LL(xW(o),10))&&!(n=LL(Fae(i,(hxe(),eXe)),303)).g&&n.d)for(t=n,s=n.d;s;)Mpe(s.i,s.k,!1,!0),qZ(t.a),qZ(s.i),qZ(s.k),qZ(s.b),AG(s.c,t.c.d),AG(t.c,null),OG(t.a,null),OG(s.i,null),OG(s.k,null),OG(s.b,null),(a=new qU(t.i,s.a,t.e,s.j,s.f)).k=t.k,a.n=t.n,a.b=t.b,a.c=s.c,a.g=t.g,a.d=s.d,S5(t.i,eXe,a),S5(s.a,eXe,a),s=s.d,t=a}(e),Dde(e,!0),Dde(e,!1)}_se(t)}function che(e,t){var n,r,i,o;if(t){for(o=!(i=BT(e.Cb,87)||BT(e.Cb,97))&&BT(e.Cb,321),n=new SA((!t.a&&(t.a=new hj(t,brt,t)),t.a));n.e!=n.i.gc();)if(r=Pme(LL(Hee(n),86)),i?BT(r,87):o?BT(r,148):r)return r;return i?(bxe(),Frt):(bxe(),Lrt)}return null}function fhe(e,t,n,r){var i,o,a,s,l,u;for(VD(s=new YE(n,r),LL(Fae(t,(qve(),W2e)),8)),u=cte(t.b,0);u.b!=u.d.c;)BD((l=LL(BU(u),83)).e,s),bN(e.b,l);for(a=cte(t.a,0);a.b!=a.d.c;){for(i=cte((o=LL(BU(a),188)).a,0);i.b!=i.d.c;)BD(LL(BU(i),8),s);bN(e.a,o)}}function hhe(e,t,n){var r,o,a,s,l;if(n)for(a=((r=new iF(n.a.length)).b-r.a)*r.c<0?(ik(),Qot):new kA(r);a.Ob();)(o=TU(n,LL(a.Pb(),20).a))&&(i=null,z0(s=rq(e,(Sx(),l=new yv,!!t&&whe(l,t),l),o),AU(o,IDe)),oae(o,s),aue(o,s),H5(e,o,s))}function dhe(e){var t,n,r,i;if(!e.j){if(i=new kl,null==(t=Jrt).a.xc(e,t)){for(r=new SA(K$(e));r.e!=r.i.gc();)Qz(i,dhe(n=LL(Hee(r),26))),AK(i,n);t.a.zc(e)}Y4(i),e.j=new fM((LL(sJ(k$(($z(),krt).o),11),17),i.i),i.g),VX(e).b&=-33}return e.j}function phe(e){var t,n,r,i,o;if(r=fie(e),null==(o=e.j)&&r)return e.Vj()?null:r.uj();if(BT(r,148)){if((n=r.vj())&&(i=n.Ih())!=e.i){if((t=LL(r,148)).zj())try{e.g=i.Fh(t,o)}catch(t){if(!BT(t=v3(t),78))throw Jm(t);e.g=null}e.i=i}return e.g}return null}function ghe(e,t){var n,r,i,o,a;for(i=t.a&e.f,o=null,r=e.b[i];;r=r.b){if(r==t){o?o.b=t.b:e.b[i]=t.b;break}o=r}for(a=t.f&e.f,o=null,n=e.c[a];;n=n.d){if(n==t){o?o.d=t.d:e.c[a]=t.d;break}o=n}t.e?t.e.c=t.c:e.a=t.c,t.c?t.c.e=t.e:e.e=t.e,--e.i,++e.g}function mhe(e,t){var n,r,i,o;for(EP((o=new eU(e,0)).b<o.d.gc()),n=LL(o.d.Xb(o.c=o.b++),140);o.b<o.d.gc();)EP(o.b<o.d.gc()),i=new JL((r=LL(o.d.Xb(o.c=o.b++),140)).c,n.d,t),EP(o.b>0),o.a.Xb(o.c=--o.b),yD(o,i),EP(o.b<o.d.gc()),o.d.Xb(o.c=o.b++),i.a=!1,n=r}function bhe(e){var t,n,r,i,o;for(r=LL(Fae(e,(hxe(),tXe)),11),o=new td(e.j);o.a<o.c.c.length;){for(n=new td((i=LL(xW(o),11)).g);n.a<n.c.c.length;)return AG(LL(xW(n),18),r),i;for(t=new td(i.e);t.a<t.c.c.length;)return PG(LL(xW(t),18),r),i}return null}function vhe(e,t){var n,r;if(t!=e.Cb||e.Db>>16!=6&&t){if(cie(e,t))throw Jm(new Ny(JOe+Ece(e)));r=null,e.Cb&&(r=(n=e.Db>>16)>=0?nie(e,r):e.Cb.dh(e,-1-n,null,r)),t&&(r=Rte(t,e,6,r)),(r=nD(e,t,r))&&r.Ai()}else 0!=(4&e.Db)&&0==(1&e.Db)&&Y2(e,new NF(e,1,6,t,t))}function yhe(e,t){var n,r;if(t!=e.Cb||e.Db>>16!=3&&t){if(cie(e,t))throw Jm(new Ny(JOe+Jbe(e)));r=null,e.Cb&&(r=(n=e.Db>>16)>=0?lie(e,r):e.Cb.dh(e,-1-n,null,r)),t&&(r=Rte(t,e,12,r)),(r=tD(e,t,r))&&r.Ai()}else 0!=(4&e.Db)&&0==(1&e.Db)&&Y2(e,new NF(e,1,3,t,t))}function whe(e,t){var n,r;if(t!=e.Cb||e.Db>>16!=9&&t){if(cie(e,t))throw Jm(new Ny(JOe+Jpe(e)));r=null,e.Cb&&(r=(n=e.Db>>16)>=0?iie(e,r):e.Cb.dh(e,-1-n,null,r)),t&&(r=Rte(t,e,9,r)),(r=rD(e,t,r))&&r.Ai()}else 0!=(4&e.Db)&&0==(1&e.Db)&&Y2(e,new NF(e,1,9,t,t))}function xhe(e){var t,n;for(n=0;n<e.c.length&&!(CN((MG(n,e.c.length),LL(e.c[n],112)))>0);n++);if(n>0&&n<e.c.length-1)return n;for(t=0;t<e.c.length&&!(CN((MG(t,e.c.length),LL(e.c[t],112)))>0);t++);return t>0&&n<e.c.length-1?t:e.c.length/2|0}function _he(e){var t;return RL(t=new $m,new Ck(new YE(e.c,e.d),new YE(e.c+e.b,e.d))),RL(t,new Ck(new YE(e.c,e.d),new YE(e.c,e.d+e.a))),RL(t,new Ck(new YE(e.c+e.b,e.d+e.a),new YE(e.c+e.b,e.d))),RL(t,new Ck(new YE(e.c+e.b,e.d+e.a),new YE(e.c,e.d+e.a))),t}function She(e,t,n,r){var i,o,a;if(a=Wie(t,n),r.c[r.c.length]=t,-1==e.j[a.p]||2==e.j[a.p]||e.a[t.p])return r;for(e.j[a.p]=-1,o=new xF(BA(d9(a).a.Ic(),new p));Zce(o);)if(!NX(i=LL(dX(o),18))&&(NX(i)||i.c.i.c!=i.d.i.c)&&i!=t)return She(e,i,a,r);return r}function khe(e,t,n){var r,i;for(i=t.a.ec().Ic();i.Ob();)r=LL(i.Pb(),80),!LL(aB(e.b,r),265)&&(rG(Pae(r))==rG(Rae(r))?$de(e,r,n):Pae(r)==rG(Rae(r))?null==aB(e.c,r)&&null!=aB(e.b,Rae(r))&&Oye(e,r,n,!1):null==aB(e.d,r)&&null!=aB(e.b,Pae(r))&&Oye(e,r,n,!0))}function Che(e,t){var n,r,i,o,a,s,l;for(i=e.Ic();i.Ob();)for(r=LL(i.Pb(),10),DG(s=new Pse,r),mue(s,(hwe(),Oet)),S5(s,(hxe(),zXe),(_P(),!0)),a=t.Ic();a.Ob();)o=LL(a.Pb(),10),DG(l=new Pse,o),mue(l,Qet),S5(l,zXe,!0),S5(n=new N$,zXe,!0),PG(n,s),AG(n,l)}function Ehe(e,t,n,r){var i,o,a,s;i=K7(e,t,n),o=K7(e,n,t),a=LL(aB(e.c,t),111),s=LL(aB(e.c,n),111),i<o?new BG((EY(),m2e),a,s,o-i):o<i?new BG((EY(),m2e),s,a,i-o):(0!=i||t.i&&n.i&&r[t.i.c][n.i.c])&&(new BG((EY(),m2e),a,s,0),new BG(m2e,s,a,0))}function Ihe(e,t){var n,r,i,o,a,s;for(i=0,a=new td(t.a);a.a<a.c.c.length;)for(i+=(o=LL(xW(a),10)).o.b+o.d.a+o.d.d+e.e,r=new xF(BA(p9(o).a.Ic(),new p));Zce(r);)(n=LL(dX(r),18)).c.i.k==(mse(),YHe)&&(i+=(s=LL(Fae(n.c.i,(hxe(),OXe)),10)).o.b+s.d.a+s.d.d);return i}function Mhe(e,t,n){var r,i,o,a,s,l,u;for(o=new $m,function(e,t,n,r){var i,o,a,s,l,u,c;for(s=-1,c=new td(e);c.a<c.c.c.length;)(u=LL(xW(c),111)).g=s--,a=i=QN(hU(CV(_V(new cj(null,new ZG(u.f,16)),new aa),new sa)).d),l=o=QN(hU(CV(_V(new cj(null,new ZG(u.k,16)),new la),new ua)).d),r||(a=QN(hU(CV(new cj(null,new ZG(u.f,16)),new ca)).d),l=QN(hU(CV(new cj(null,new ZG(u.k,16)),new fa)).d)),u.d=a,u.a=i,u.i=l,u.b=o,0==l?jq(n,u,n.c.b,n.c):0==a&&jq(t,u,t.c.b,t.c)}(e,u=new sS,a=new sS,t),function(e,t,n,r,i){var o,a,s,l,u,c,f,h,d,p,g,m,b,v,y;y=FL(e),l=new $m,o=e.c.length,u=o-1,c=o+1;for(;0!=y.a.c;){for(;0!=n.b;)EP(0!=n.b),b=LL(lJ(n,n.a.a),111),TH(y.a,b),b.g=u--,$me(b,t,n,r);for(;0!=t.b;)EP(0!=t.b),v=LL(lJ(t,t.a.a),111),TH(y.a,v),v.g=c++,$me(v,t,n,r);for(s=F_e,g=new Hh(new _D(new uP(new qh(y.a).a).b));pk(g.a.a);){if(p=LL(QP(g.a).ad(),111),!r&&p.b>0&&p.a<=0){l.c=fK(pje,zxe,1,0,5,1),l.c[l.c.length]=p;break}(d=p.i-p.d)>=s&&(d>s&&(l.c=fK(pje,zxe,1,0,5,1),s=d),l.c[l.c.length]=p)}0!=l.c.length&&(a=LL(JN(l,one(i,l.c.length)),111),TH(y.a,a),a.g=c++,$me(a,t,n,r),l.c=fK(pje,zxe,1,0,5,1))}for(m=e.c.length+1,h=new td(e);h.a<h.c.c.length;)(f=LL(xW(h),111)).g<o&&(f.g=f.g+m)}(e,u,a,t,n),l=new td(e);l.a<l.c.c.length;)for(i=new td((s=LL(xW(l),111)).k);i.a<i.c.c.length;)r=LL(xW(i),129),(!t||r.c==(EY(),g2e))&&s.g>r.b.g&&(o.c[o.c.length]=r);return o}function The(){The=S,l4e=new vE("CANDIDATE_POSITION_LAST_PLACED_RIGHT",0),s4e=new vE("CANDIDATE_POSITION_LAST_PLACED_BELOW",1),c4e=new vE("CANDIDATE_POSITION_WHOLE_DRAWING_RIGHT",2),u4e=new vE("CANDIDATE_POSITION_WHOLE_DRAWING_BELOW",3),f4e=new vE("WHOLE_DRAWING",4)}function Ahe(e,t){var n,r;if(t!=e.Cb||e.Db>>16!=11&&t){if(cie(e,t))throw Jm(new Ny(JOe+Qpe(e)));r=null,e.Cb&&(r=(n=e.Db>>16)>=0?mie(e,r):e.Cb.dh(e,-1-n,null,r)),t&&(r=Rte(t,e,10,r)),(r=$D(e,t,r))&&r.Ai()}else 0!=(4&e.Db)&&0==(1&e.Db)&&Y2(e,new NF(e,1,11,t,t))}function Phe(e,t,n){return Jde(),(!x2(e,t)||!x2(e,n))&&($ye(new YE(e.c,e.d),new YE(e.c+e.b,e.d),t,n)||$ye(new YE(e.c+e.b,e.d),new YE(e.c+e.b,e.d+e.a),t,n)||$ye(new YE(e.c+e.b,e.d+e.a),new YE(e.c,e.d+e.a),t,n)||$ye(new YE(e.c,e.d+e.a),new YE(e.c,e.d),t,n))}function Ohe(e,t){var n,r,i,o;if(!e.dc())for(n=0,r=e.gc();n<r;++n)if(null==(o=HO(e.Xb(n)))?null==t:fR(o.substr(0,3),"!##")?null!=t&&(i=t.length,!fR(o.substr(o.length-i,i),t)||o.length!=t.length+3)&&!fR(cNe,t):fR(o,fNe)&&!fR(cNe,t)||fR(o,t))return!0;return!1}function Dhe(){Dhe=S,x0e=new NC(bIe,0),m0e=new NC("NIKOLOV",1),y0e=new NC("NIKOLOV_PIXEL",2),b0e=new NC("NIKOLOV_IMPROVED",3),v0e=new NC("NIKOLOV_IMPROVED_PIXEL",4),g0e=new NC("DUMMYNODE_PERCENTAGE",5),w0e=new NC("NODECOUNT_PERCENTAGE",6),_0e=new NC("NO_BOUNDARY",7)}function Rhe(e,t){var n,i,o,a,s,l,u;if(1==e.a.c.length)return Bse(LL(JN(e.a,0),181),t);for(o=function(e){var t,n,i;for(i=0,n=new td(e.a);n.a<n.c.c.length;)t=LL(xW(n),181),i=r.Math.max(i,t.g);return i}(e),s=0,l=e.c,i=o,u=e.c,a=(l-i)/2+i;i+1<l;){for(s=0,n=new td(e.a);n.a<n.c.c.length;)s+=pbe(LL(xW(n),181),a,!1).a;s<t?(u=a,l=a):i=a,a=(l-i)/2+i}return u}function Lhe(e){var t,n,r,i,o;for(n=new td(e.a.a);n.a<n.c.c.length;){for((t=LL(xW(n),305)).j=null,o=t.a.a.ec().Ic();o.Ob();)nM((r=LL(o.Pb(),56)).b),(!t.j||r.d.c<t.j.d.c)&&(t.j=r);for(i=t.a.a.ec().Ic();i.Ob();)(r=LL(i.Pb(),56)).b.a=r.d.c-t.j.d.c,r.b.b=r.d.d-t.j.d.d}return e}function Nhe(e){var t,n,r,i,o;for(n=new td(e.a.a);n.a<n.c.c.length;){for((t=LL(xW(n),189)).f=null,o=t.a.a.ec().Ic();o.Ob();)nM((r=LL(o.Pb(),79)).e),(!t.f||r.g.c<t.f.g.c)&&(t.f=r);for(i=t.a.a.ec().Ic();i.Ob();)(r=LL(i.Pb(),79)).e.a=r.g.c-t.f.g.c,r.e.b=r.g.d-t.f.g.d}return e}function jhe(){return pxe(),q3(lw(wWe,1),A_e,77,0,[CGe,_Ge,EGe,$Ge,sWe,UGe,dWe,ZGe,oWe,jGe,tWe,KGe,aWe,DGe,gWe,mGe,eWe,uWe,HGe,lWe,bWe,rWe,bGe,iWe,vWe,fWe,mWe,GGe,AGe,WGe,VGe,pWe,wGe,MGe,XGe,yGe,YGe,zGe,RGe,QGe,NGe,SGe,xGe,BGe,LGe,JGe,hWe,vGe,nWe,FGe,qGe,PGe,TGe,cWe,IGe,OGe,kGe])}function Fhe(e){var t;if(Wv.call(this),this.i=new us,this.g=e,this.f=LL(e.e&&e.e(),9).length,0==this.f)throw Jm(new Ny("There must be at least one phase in the phase enumeration."));this.c=new WR(t=LL(Lx(this.g),9),LL(wD(t,t.length),9),0),this.a=new wU,this.b=new Hm}function zhe(e,t){var n,r;if(t!=e.Cb||e.Db>>16!=7&&t){if(cie(e,t))throw Jm(new Ny(JOe+ile(e)));r=null,e.Cb&&(r=(n=e.Db>>16)>=0?rie(e,r):e.Cb.dh(e,-1-n,null,r)),t&&(r=LL(t,48).ah(e,1,ent,r)),(r=Kj(e,t,r))&&r.Ai()}else 0!=(4&e.Db)&&0==(1&e.Db)&&Y2(e,new NF(e,1,7,t,t))}function Bhe(e,t){var n,r;if(t!=e.Cb||e.Db>>16!=3&&t){if(cie(e,t))throw Jm(new Ny(JOe+p8(e)));r=null,e.Cb&&(r=(n=e.Db>>16)>=0?sie(e,r):e.Cb.dh(e,-1-n,null,r)),t&&(r=LL(t,48).ah(e,0,ont,r)),(r=Zj(e,t,r))&&r.Ai()}else 0!=(4&e.Db)&&0==(1&e.Db)&&Y2(e,new NF(e,1,3,t,t))}function Vhe(e,t){var n;e.d&&(t.c!=e.e.c||function(e,t){return p5(),e==EHe&&t==IHe||e==EHe&&t==MHe||e==THe&&t==MHe||e==THe&&t==IHe}(e.e.b,t.b))&&(RL(e.f,e.d),e.a=e.d.c+e.d.b,e.d=null,e.e=null),!function(e){return e==EHe||e==IHe}(t.b)?e.b=t:e.c=t,(t.b==(p5(),EHe)&&!t.a||t.b==IHe&&t.a||t.b==MHe&&t.a||t.b==THe&&!t.a)&&e.c&&e.b&&(n=new jV(e.a,e.c.d,t.c-e.a,e.b.d-e.c.d),e.d=n,e.e=t)}function $he(e,t){var n,r,i;r=0!=Gfe(e.d,1),Ty(VO(Fae(t.j,(hxe(),gXe))))&&OI(Fae(t.j,(Kwe(),LZe)))!==OI((W5(),E0e))?r=!0:t.c.Qf(t.e,r),Cfe(e,t,r,!0),S5(t.j,gXe,(_P(),!1)),n=zle(e,t);do{if(M1(e),0==n)return 0;i=n,Cfe(e,t,r=!r,!1),n=zle(e,t)}while(i>n);return i}function Hhe(e,t,n){var r,i,o,a,s;for(a=c8(e,n),s=fK(KHe,YEe,10,t.length,0,1),r=0,o=a.Ic();o.Ob();)Ty(VO(Fae(i=LL(o.Pb(),11),(hxe(),yXe))))&&(s[r++]=LL(Fae(i,BXe),10));if(r<t.length)throw Jm(new jy("Expected "+t.length+" hierarchical ports, but found only "+r+"."));return s}function Ghe(e,t){var n,r,i,o,a,s,l,u,c;return gce(),t.d>e.d&&(s=e,e=t,t=s),t.d<63?function(e,t){var n,r,i,o,a,s,l,u,c,f,h;if(r=e.d,o=t.d,s=r+o,l=e.e!=t.e?-1:1,2==s)return h=QN(c=a8(SH(e.a[0],HSe),SH(t.a[0],HSe))),0==(f=QN(_N(c,32)))?new xY(l,h):new nz(l,2,q3(lw(nat,1),sSe,24,15,[h,f]));return n=e.a,i=t.a,a=fK(nat,sSe,24,s,15,1),j6(n,r,i,o,a),JW(u=new nz(l,s,a)),u}(e,t):(u=FX(e,a=(-2&e.d)<<4),c=FX(t,a),r=abe(e,jX(u,a)),i=abe(t,jX(c,a)),l=Ghe(u,c),n=Ghe(r,i),o=jX(o=cve(cve(o=Ghe(abe(u,r),abe(i,c)),l),n),a),cve(cve(l=jX(l,a<<1),o),n))}function Whe(e,t){var n,r,i,o,a;if((null==e.i&&Kme(e),e.i).length,!e.p){for(a=new oS(1+(3*e.g.i/2|0)),i=new LP(e.g);i.e!=i.i.gc();)r=LL(Gee(i),170),(n=LL(null==(o=r.ne())?eue(a.f,null,r):f9(a.g,o,r),170))&&(null==o?eue(a.f,null,n):f9(a.g,o,n));e.p=a}return LL(CH(e.p,t),170)}function Uhe(e,t,n,r,i){var o,a,s,l;for(function(e,t){(t||null==console.groupCollapsed?null!=console.group?console.group:console.log:console.groupCollapsed).call(console,e)}(r+Q$(n,n.$d()),i),lB(t,function(e){var t,n=e.e;return n&&(n.stack||((t=e[W_e])&&0!=t.length?"\t"+t.join("\n\t"):""))}(n)),(o=n.f)&&Uhe(e,t,o,"Caused by: ",!1),null==n.k&&(n.k=fK(Lje,s_e,78,0,0,1)),s=0,l=(a=n.k).length;s<l;++s)Uhe(e,t,a[s],"Suppressed: ",!1);null!=console.groupEnd&&console.groupEnd.call(console)}function qhe(e,t,n){var r,i,o,a,s,l,u,c;for(u=0,c=(l=bU(e.j)).length;u<c;++u){if(s=l[u],n==(E0(),R0e)||n==N0e)for(o=0,a=(i=gU(s.g)).length;o<a;++o)Dse(t,r=i[o])&&sbe(r,!0);if(n==L0e||n==N0e)for(o=0,a=(i=gU(s.e)).length;o<a;++o)Ose(t,r=i[o])&&sbe(r,!0)}}function Xhe(e){var t,n;switch(t=null,n=null,function(e){var t,n,r,i,o;for(o=aF(e.k),hwe(),r=0,i=(n=q3(lw(att,1),VEe,61,0,[Zet,Det,Oet,Ket,Qet])).length;r<i;++r)if((t=n[r])!=Zet&&!o.Fc(t))return t;return null}(e).g){case 1:hwe(),t=Oet,n=Qet;break;case 2:hwe(),t=Ket,n=Det;break;case 3:hwe(),t=Qet,n=Oet;break;case 4:hwe(),t=Det,n=Ket}xh(e,LL(cP(EF(LL(KX(e.k,t),14).Mc(),bUe)),112)),_h(e,LL(cP(CF(LL(KX(e.k,n),14).Mc(),bUe)),112))}function Yhe(e){if(!e.a.d||!e.a.e)throw Jm(new jy((FO(CBe),CBe.k+" must have a source and target "+(FO(EBe),EBe.k+" specified."))));if(e.a.d==e.a.e)throw Jm(new jy("Network simplex does not support self-loops: "+e.a+" "+e.a.d+" "+e.a.e));return pP(e.a.d.g,e.a),pP(e.a.e.b,e.a),e.a}function Khe(e){var t,n,r,i,o,a;if((i=LL(JN(e.j,0),11)).e.c.length+i.g.c.length==0)e.n.a=0;else{for(a=0,r=ZF(l0(q3(lw(yje,1),zxe,19,0,[new Qd(i),new ep(i)])));Zce(r);)a+=(n=LL(dX(r),11)).i.n.a+n.n.a+n.a.a;o=(t=LL(Fae(e,(Kwe(),JQe)),8))?t.a:0,e.n.a=a/(i.e.c.length+i.g.c.length)-o}}function Zhe(e,t){var n,r,i;for(r=new td(t.a);r.a<r.c.c.length;)n=LL(xW(r),219),Vj(LL(n.b,63),VD(RT(LL(t.b,63).c),LL(t.b,63).a)),(i=bme(LL(t.b,63).b,LL(n.b,63).b))>1&&(e.a=!0),Bj(LL(n.b,63),BD(RT(LL(t.b,63).c),cA(VD(RT(LL(n.b,63).a),LL(t.b,63).a),i))),NG(e,t),Zhe(e,n)}function Qhe(e){var t,n,r,i,o,a;for(i=new td(e.a.a);i.a<i.c.c.length;)(n=LL(xW(i),189)).e=0,n.d.a.$b();for(r=new td(e.a.a);r.a<r.c.c.length;)for(t=(n=LL(xW(r),189)).a.a.ec().Ic();t.Ob();)for(a=LL(t.Pb(),79).f.Ic();a.Ob();)(o=LL(a.Pb(),79)).d!=n&&(uz(n.d,o),++o.d.e)}function Jhe(e){var t,n,r,i,o,a,s,l;for(n=0,t=l=e.j.c.length,i=2*l,s=new td(e.j);s.a<s.c.c.length;)switch((a=LL(xW(s),11)).j.g){case 2:case 4:a.p=-1;break;case 1:case 3:r=a.e.c.length,o=a.g.c.length,a.p=r>0&&o>0?t++:r>0?n++:o>0?i++:n++}v$(),kT(e.j,new ur)}function ede(e,t){var n,r,i,o,a,s,l,u,c;for(s=t.j,a=t.g,l=LL(JN(s,s.c.length-1),112),MG(0,s.c.length),u=yre(e,a,l,c=LL(s.c[0],112)),o=1;o<s.c.length;o++)MG(o-1,s.c.length),n=LL(s.c[o-1],112),MG(o,s.c.length),(r=yre(e,a,n,i=LL(s.c[o],112)))>u&&(l=n,c=i,u=r);t.a=c,t.c=l}function tde(e,t,n){var r,i,o,a,s,l;if(r=0,0!=t.b&&0!=n.b){o=cte(t,0),a=cte(n,0),s=Oy($O(BU(o))),l=Oy($O(BU(a))),i=!0;do{if(s>l-e.b&&s<l+e.b)return-1;s>l-e.a&&s<l+e.a&&++r,s<=l&&o.b!=o.d.c?s=Oy($O(BU(o))):l<=s&&a.b!=a.d.c?l=Oy($O(BU(a))):i=!1}while(i)}return r}function nde(e){var t;for(t=new xF(BA(g9(e).a.Ic(),new p));Zce(t);)if(LL(dX(t),18).d.i.k!=(mse(),UHe))throw Jm(new qy(mIe+Mre(e)+"' has its layer constraint set to LAST, but has at least one outgoing edge that does not go to a LAST_SEPARATE node. That must not happen."))}function rde(e,t,n,i){var o,a,s,l,u,c,f;for(l=0,u=new td(e.a);u.a<u.c.c.length;){for(s=0,a=new xF(BA(p9(LL(xW(u),10)).a.Ic(),new p));Zce(a);)c=tW((o=LL(dX(a),18)).c).b,f=tW(o.d).b,s=r.Math.max(s,r.Math.abs(f-c));l=r.Math.max(l,s)}return i*r.Math.min(1,t/n)*l}function ide(e){var t;return t=new dw,0!=(256&e)&&(t.a+="F"),0!=(128&e)&&(t.a+="H"),0!=(512&e)&&(t.a+="X"),0!=(2&e)&&(t.a+="i"),0!=(8&e)&&(t.a+="m"),0!=(4&e)&&(t.a+="s"),0!=(32&e)&&(t.a+="u"),0!=(64&e)&&(t.a+="w"),0!=(16&e)&&(t.a+="x"),0!=(e&GRe)&&(t.a+=","),Wy(t.a)}function ode(e,t){var n,i,o;for(qoe(t,"Resize child graph to fit parent.",1),i=new td(e.b);i.a<i.c.c.length;)n=LL(xW(i),29),L3(e.a,n.a),n.a.c=fK(pje,zxe,1,0,5,1);for(o=new td(e.a);o.a<o.c.c.length;)OG(LL(xW(o),10),null);e.b.c=fK(pje,zxe,1,0,5,1),function(e){var t,n,i,o,a;o=LL(Fae(e,(Kwe(),BQe)),21),a=LL(Fae(e,$Qe),21),n=new YE(e.f.a+e.d.b+e.d.c,e.f.b+e.d.d+e.d.a),t=new lT(n),o.Fc((aee(),stt))&&(i=LL(Fae(e,VQe),8),a.Fc((Vge(),ptt))&&(i.a<=0&&(i.a=20),i.b<=0&&(i.b=20)),t.a=r.Math.max(n.a,i.a),t.b=r.Math.max(n.b,i.b));!function(e,t,n){var r,i,o,a,s;if(r=LL(Fae(e,(Kwe(),NZe)),21),n.a>t.a&&(r.Fc((goe(),x8e))?e.c.a+=(n.a-t.a)/2:r.Fc(S8e)&&(e.c.a+=n.a-t.a)),n.b>t.b&&(r.Fc((goe(),C8e))?e.c.b+=(n.b-t.b)/2:r.Fc(k8e)&&(e.c.b+=n.b-t.b)),LL(Fae(e,(hxe(),mXe)),21).Fc((Kde(),Tqe))&&(n.a>t.a||n.b>t.b))for(a=new td(e.a);a.a<a.c.c.length;)(o=LL(xW(a),10)).k==(mse(),WHe)&&((i=LL(Fae(o,dXe),61))==(hwe(),Oet)?o.n.a+=n.a-t.a:i==Ket&&(o.n.b+=n.b-t.b));s=e.d,e.f.a=n.a-s.b-s.c,e.f.b=n.b-s.d-s.a}(e,n,t)}(e),e.e&&function(e,t){var n,r,i,o,a,s;for(i=new td(t.a);i.a<i.c.c.length;)BT(o=Fae(r=LL(xW(i),10),(hxe(),OXe)),11)&&(s=Lme(t,r,(a=LL(o,11)).o.a,a.o.b),a.n.a=s.a,a.n.b=s.b,mue(a,LL(Fae(r,dXe),61)));n=new YE(t.f.a+t.d.b+t.d.c,t.f.b+t.d.d+t.d.a),LL(Fae(t,(hxe(),mXe)),21).Fc((Kde(),Tqe))?(S5(e,(Kwe(),tJe),(joe(),vet)),LL(Fae(jB(e),mXe),21).Dc(Oqe),sye(e,n,!1)):sye(e,n,!0)}(e.e,e),_se(t)}function ade(e,t){var n,r,i,o;return tk(),t?t==(Yve(),sot)||(t==Hit||t==Vit||t==$it)&&e!=Bit?new awe(e,t):((n=(r=LL(t,665)).kk())||(WV(FZ((vle(),Sit),t)),n=r.kk()),!n.i&&(n.i=new Hm),!(i=LL(PI(rH((o=n.i).f,e)),1914))&&eV(o,e,i=new awe(e,t)),i):Ait}function sde(e,t){var n,r,i,o,a,s,l,u;for(s=LL(Fae(e,(hxe(),OXe)),11),l=V5(q3(lw(J6e,1),s_e,8,0,[s.i.n,s.n,s.a])).a,u=e.i.n.b,i=0,o=(r=gU(e.e)).length;i<o;++i)AG(n=r[i],s),ZI(n.a,new YE(l,u)),t&&((a=LL(Fae(n,(Kwe(),vQe)),74))||(a=new bv,S5(n,vQe,a)),bN(a,new YE(l,u)))}function lde(e,t){var n,r,i,o,a,s,l,u;for(r=LL(Fae(e,(hxe(),OXe)),11),l=V5(q3(lw(J6e,1),s_e,8,0,[r.i.n,r.n,r.a])).a,u=e.i.n.b,a=0,s=(o=gU(e.g)).length;a<s;++a)PG(i=o[a],r),KI(i.a,new YE(l,u)),t&&((n=LL(Fae(i,(Kwe(),vQe)),74))||(n=new bv,S5(i,vQe,n)),bN(n,new YE(l,u)))}function ude(e){var t,n,r,i,o,a,s;if(i=(r=e.b).e,o=mR(LL(Fae(r,(Kwe(),tJe)),100)),n=!!i&&LL(Fae(i,(hxe(),mXe)),21).Fc((Kde(),Tqe)),!o&&!n)for(s=new Uh(new Wh(e.e).a.tc().Ic());s.a.Ob();)t=LL(s.a.Pb(),43),(a=LL(t.bd(),112)).a&&(DG(a.d,null),a.c=!0,e.a=!0)}function cde(e,t){var n,r,i,o,a;for(e.b=new $m,e.d=LL(Fae(t,(hxe(),HXe)),228),e.e=function(e){return o8(xN(I2(Gfe(e,32)),32),I2(Gfe(e,32)))}(e.d),o=new sS,i=JX(q3(lw($He,1),$Ee,38,0,[t])),a=0;a<i.c.length;)MG(a,i.c.length),(r=LL(i.c[a],38)).p=a++,L3(i,(n=new hve(r,e.a,e.b)).b),RL(e.b,n),n.s&&Ez(cte(o,0),n);return e.c=new Pb,o}function fde(){fde=S,P$e=new cT((fxe(),$9e),k8(1)),j$e=new cT(r7e,80),N$e=new cT(Z9e,5),S$e=new cT(P8e,hEe),O$e=new cT(H9e,k8(1)),L$e=new cT(U9e,(_P(),!0)),T$e=new sT(50),M$e=new cT(v9e,T$e),C$e=e9e,A$e=O9e,k$e=new cT(V8e,!1),Ese(),I$e=d$e,F$e=v$e,E$e=h$e,D$e=g$e,R$e=b$e}function hde(e){var t,n;n=LL(Fae(e,(Kwe(),xQe)),165),t=LL(Fae(e,(hxe(),wXe)),301),n==(H9(),tYe)?(S5(e,xQe,iYe),S5(e,wXe,(JZ(),Wqe))):n==rYe?(S5(e,xQe,iYe),S5(e,wXe,(JZ(),Hqe))):t==(JZ(),Wqe)?(S5(e,xQe,tYe),S5(e,wXe,Gqe)):t==Hqe&&(S5(e,xQe,rYe),S5(e,wXe,Gqe))}function dde(e){var t;for(t=new xF(BA(p9(e).a.Ic(),new p));Zce(t);)if(LL(dX(t),18).c.i.k!=(mse(),UHe))throw Jm(new qy(mIe+Mre(e)+"' has its layer constraint set to FIRST, but has at least one incoming edge that does not come from a FIRST_SEPARATE node. That must not happen."))}function pde(){pde=S,d2e=new oa,u2e=jN(new wU,(zae(),dHe),(pxe(),HGe)),h2e=Qj(jN(new wU,dHe,rWe),gHe,nWe),p2e=_ee(_ee(Gk(Qj(jN(new wU,fHe,dWe),gHe,hWe),pHe),fWe),pWe),c2e=Qj(jN(jN(jN(new wU,hHe,UGe),pHe,XGe),pHe,YGe),gHe,qGe),f2e=Qj(jN(jN(new wU,pHe,YGe),pHe,MGe),gHe,IGe)}function gde(){gde=S,y2e=jN(Qj(new wU,(zae(),gHe),(pxe(),PGe)),dHe,HGe),S2e=_ee(_ee(Gk(Qj(jN(new wU,fHe,dWe),gHe,hWe),pHe),fWe),pWe),w2e=Qj(jN(jN(jN(new wU,hHe,UGe),pHe,XGe),pHe,YGe),gHe,qGe),_2e=jN(jN(new wU,dHe,rWe),gHe,nWe),x2e=Qj(jN(jN(new wU,pHe,YGe),pHe,MGe),gHe,IGe)}function mde(e,t,n,r,i){var o,a;(NX(t)||t.c.i.c!=t.d.i.c)&&o1(V5(q3(lw(J6e,1),s_e,8,0,[i.i.n,i.n,i.a])),n)||NX(t)||(t.c==i?TO(t.a,0,new lT(n)):bN(t.a,new lT(n)),r&&!X_(e.a,n)&&((a=LL(Fae(t,(Kwe(),vQe)),74))||(a=new bv,S5(t,vQe,a)),jq(a,o=new lT(n),a.c.b,a.c),uz(e.a,o)))}function bde(e,t,n){var i,o,a,s;for(this.b=new $m,o=0,i=0,s=new td(e);s.a<s.c.c.length;)a=LL(xW(s),167),n&&Rbe(a),RL(this.b,a),o+=a.o,i+=a.p;this.b.c.length>0&&(o+=(a=LL(JN(this.b,0),167)).o,i+=a.p),o*=2,i*=2,t>1?o=IH(r.Math.ceil(o*t)):i=IH(r.Math.ceil(i/t)),this.a=new F7(o,i)}function vde(e,t,n,i,o,a){var s,l,u,c,f,h,d,p,g,m;for(c=i,t.j&&t.o?(g=(d=LL(aB(e.f,t.A),56)).d.c+d.d.b,--c):g=t.a.c+t.a.b,f=o,n.q&&n.o?(u=(d=LL(aB(e.f,n.C),56)).d.c,++f):u=n.a.c,p=g+(l=(u-g)/r.Math.max(2,f-c)),h=c;h<f;++h)m=(s=LL(a.Xb(h),128)).a.b,s.a.c=p-m/2,p+=l}function yde(e,t,n,r,i,o){var a,s,l,u,c,f;for(u=n.c.length,o&&(e.c=fK(nat,sSe,24,t.length,15,1)),a=i?0:t.length-1;i?a<t.length:a>=0;a+=i?1:-1){for(s=t[a],l=r==(hwe(),Oet)?i?i9(s,r):M2(i9(s,r)):i?M2(i9(s,r)):i9(s,r),o&&(e.c[s.p]=l.gc()),f=l.Ic();f.Ob();)c=LL(f.Pb(),11),e.d[c.p]=u++;L3(n,l)}}function wde(e,t,n){var r,i,o,a,s,l,u,c;for(o=Oy($O(e.b.Ic().Pb())),u=Oy($O(function(e){var t;if(e){if((t=e).dc())throw Jm(new bb);return t.Xb(t.gc()-1)}return WG(e.Ic())}(t.b))),r=cA(RT(e.a),u-n),i=cA(RT(t.a),n-o),cA(c=BD(r,i),1/(u-o)),this.a=c,this.b=new $m,s=!0,(a=e.b.Ic()).Pb();a.Ob();)l=Oy($O(a.Pb())),s&&l-n>wAe&&(this.b.Dc(n),s=!1),this.b.Dc(l);s&&this.b.Dc(n)}function xde(e,t,n,r){var i,o,a,s,l;if(tk(),s=LL(t,65).Jj(),Ede(e.e,t)){if(t.ci()&&Jme(e,t,r,BT(t,97)&&0!=(LL(t,17).Bb&FSe)))throw Jm(new Ny($De))}else for(l=ade(e.e.Og(),t),i=LL(e.g,118),a=0;a<e.i;++a)if(o=i[a],l.ml(o.Xj()))throw Jm(new Ny(dNe));J6(e,nle(e,t,n),s?LL(r,71):uq(t,r))}function _de(e){var t,n,i,o;if(function(e,t){var n,i,o,a,s,l,u;for(o=fK(nat,sSe,24,e.e.a.c.length,15,1),s=new td(e.e.a);s.a<s.c.c.length;)o[(a=LL(xW(s),119)).d]+=a.b.a.c.length;l=jL(t);for(;0!=l.b;)for(i=BK(new td((a=LL(0==l.b?null:(EP(0!=l.b),lJ(l,l.a.a)),119)).g.a));i.Ob();)(u=(n=LL(i.Pb(),211)).e).e=r.Math.max(u.e,a.e+n.a),--o[u.d],0==o[u.d]&&jq(l,u,l.c.b,l.c)}(e,e.n),e.d.c.length>0){for($y(e.c);Jce(e,LL(xW(new td(e.e.a)),119))<e.e.a.c.length;){for(o=(t=Bre(e)).e.e-t.d.e-t.a,t.e.j&&(o=-o),i=new td(e.e.a);i.a<i.c.c.length;)(n=LL(xW(i),119)).j&&(n.e+=o);$y(e.c)}$y(e.c),Rue(e,LL(xW(new td(e.e.a)),119)),lye(e)}}function Sde(e,t){if(t instanceof Object)try{if(t.__java$exception=e,-1!=navigator.userAgent.toLowerCase().indexOf("msie")&&$doc.documentMode<9)return;var n=e;Object.defineProperties(t,{cause:{get:function(){var e=n.Zd();return e&&e.Xd()}},suppressed:{get:function(){return n.Yd()}}})}catch(e){}}function kde(e,t){var n,r,i,o,a;if(r=t>>5,t&=31,r>=e.d)return e.e<0?(npe(),LFe):(npe(),BFe);if(o=e.d-r,function(e,t,n,r,i){var o,a,s;for(o=!0,a=0;a<r;a++)o&=0==n[a];if(0==i)Xbe(n,r,e,0,t),a=t;else{for(s=32-i,o&=n[a]<<s==0,a=0;a<t-1;a++)e[a]=n[a+r]>>>i|n[a+r+1]<<s;e[a]=n[a+r]>>>i,++a}}(i=fK(nat,sSe,24,o+1,15,1),o,e.a,r,t),e.e<0){for(n=0;n<r&&0==e.a[n];n++);if(n<r||t>0&&e.a[n]<<32-t!=0){for(n=0;n<o&&-1==i[n];n++)i[n]=0;n==o&&++o,++i[n]}}return JW(a=new nz(e.e,o,i)),a}function Cde(e){var t,n,r,i;return n=new Vd(i=$H(e)),r=new $d(i),L3(t=new $m,(!e.d&&(e.d=new nR(rnt,e,8,5)),e.d)),L3(t,(!e.e&&(e.e=new nR(rnt,e,7,4)),e.e)),LL(Nq(SV(_V(new cj(null,new ZG(t,16)),n),r),xZ(new W,new U,new ie,new oe,q3(lw(jze,1),A_e,132,0,[(z4(),Lze),Rze]))),21)}function Ede(e,t){var n,r,i;return tk(),!!t.Vj()||-2==t.Uj()&&(t==(bce(),Lit)||t==Oit||t==Dit||t==Rit||!(u7(i=e.Og(),t)>=0)&&(!(n=Uve((vle(),Sit),i,t))||((r=n.Uj())>1||-1==r)&&3!=ZB(FZ(Sit,n))))}function Ide(e,t,n,r){var i,o,a,s,l;return s=Xoe(LL(sJ((!t.b&&(t.b=new nR(nnt,t,4,7)),t.b),0),93)),l=Xoe(LL(sJ((!t.c&&(t.c=new nR(nnt,t,5,8)),t.c),0),93)),rG(s)==rG(l)||aJ(l,s)?null:(a=VH(t))==n?r:(o=LL(aB(e.a,a),10))&&(i=o.e)?i:null}function Mde(e,t,n){var r,i,o,a,s,l;if(r=function(e,t){return e?t-1:0}(n,e.length),(a=e[r])[0].k==(mse(),WHe))for(o=Aw(n,a.length),l=t.j,i=0;i<l.c.length;i++)MG(i,l.c.length),s=LL(l.c[i],11),(n?s.j==(hwe(),Oet):s.j==(hwe(),Qet))&&Ty(VO(Fae(s,(hxe(),yXe))))&&(mX(l,i,LL(Fae(a[o],(hxe(),OXe)),11)),o+=n?1:-1)}function Tde(e,t){var n,r,i,o,a;a=new $m,n=t;do{(o=LL(aB(e.b,n),128)).B=n.c,o.D=n.d,a.c[a.c.length]=o,n=LL(aB(e.k,n),18)}while(n);return MG(0,a.c.length),(r=LL(a.c[0],128)).j=!0,r.A=LL(r.d.a.ec().Ic().Pb(),18).c.i,(i=LL(JN(a,a.c.length-1),128)).q=!0,i.C=LL(i.d.a.ec().Ic().Pb(),18).d.i,a}function Ade(e){if(null==e.g)switch(e.p){case 0:e.g=function(e){if(0!=e.p)throw Jm(new wb);return B_(e.f,0)}(e)?(_P(),rFe):(_P(),nFe);break;case 1:e.g=dQ(function(e){if(1!=e.p)throw Jm(new wb);return QN(e.f)<<24>>24}(e));break;case 2:e.g=Y3(function(e){if(2!=e.p)throw Jm(new wb);return QN(e.f)&X_e}(e));break;case 3:e.g=function(e){if(3!=e.p)throw Jm(new wb);return e.e}(e);break;case 4:e.g=new $h(function(e){if(4!=e.p)throw Jm(new wb);return e.e}(e));break;case 6:e.g=vee(function(e){if(6!=e.p)throw Jm(new wb);return e.f}(e));break;case 5:e.g=k8(function(e){if(5!=e.p)throw Jm(new wb);return QN(e.f)}(e));break;case 7:e.g=S8(function(e){if(7!=e.p)throw Jm(new wb);return QN(e.f)<<16>>16}(e))}return e.g}function Pde(e){if(null==e.n)switch(e.p){case 0:e.n=function(e){if(0!=e.p)throw Jm(new wb);return B_(e.k,0)}(e)?(_P(),rFe):(_P(),nFe);break;case 1:e.n=dQ(function(e){if(1!=e.p)throw Jm(new wb);return QN(e.k)<<24>>24}(e));break;case 2:e.n=Y3(function(e){if(2!=e.p)throw Jm(new wb);return QN(e.k)&X_e}(e));break;case 3:e.n=function(e){if(3!=e.p)throw Jm(new wb);return e.j}(e);break;case 4:e.n=new $h(function(e){if(4!=e.p)throw Jm(new wb);return e.j}(e));break;case 6:e.n=vee(function(e){if(6!=e.p)throw Jm(new wb);return e.k}(e));break;case 5:e.n=k8(function(e){if(5!=e.p)throw Jm(new wb);return QN(e.k)}(e));break;case 7:e.n=S8(function(e){if(7!=e.p)throw Jm(new wb);return QN(e.k)<<16>>16}(e))}return e.n}function Ode(e){var t,n,r,i,o,a;for(i=new td(e.a.a);i.a<i.c.c.length;)(n=LL(xW(i),305)).g=0,n.i=0,n.e.a.$b();for(r=new td(e.a.a);r.a<r.c.c.length;)for(t=(n=LL(xW(r),305)).a.a.ec().Ic();t.Ob();)for(a=LL(t.Pb(),56).c.Ic();a.Ob();)(o=LL(a.Pb(),56)).a!=n&&(uz(n.e,o),++o.a.g,++o.a.i)}function Dde(e,t){var n,r,i,o,a,s,l,u;i=t?new po:new go,o=!1;do{for(o=!1,a=(t?M2(e.b):e.b).Ic();a.Ob();)for(u=hW(LL(a.Pb(),29).a),t||new ry(u),l=new td(u);l.a<l.c.c.length;)s=LL(xW(l),10),i.Mb(s)&&(r=s,n=LL(Fae(s,(hxe(),eXe)),303),o=Mpe(r,t?n.b:n.k,t,!1))}while(o)}function Rde(e,t){var n,i,o,a,s,l;return a=e.d,(l=Oy($O(Fae(e,(Kwe(),sQe)))))<0&&S5(e,sQe,l=0),t.o.b=l,s=r.Math.floor(l/2),mue(i=new Pse,(hwe(),Qet)),DG(i,t),i.n.b=s,mue(o=new Pse,Oet),DG(o,t),o.n.b=s,AG(e,i),c3(n=new N$,e),S5(n,vQe,null),PG(n,o),AG(n,a),function(e,t,n){var r,i;r=t.c.i,i=n.d.i,r.k==(mse(),qHe)?(S5(e,(hxe(),IXe),LL(Fae(r,IXe),11)),S5(e,MXe,LL(Fae(r,MXe),11)),S5(e,EXe,VO(Fae(r,EXe)))):r.k==UHe?(S5(e,(hxe(),IXe),LL(Fae(r,IXe),11)),S5(e,MXe,LL(Fae(r,MXe),11)),S5(e,EXe,(_P(),!0))):i.k==UHe?(S5(e,(hxe(),IXe),LL(Fae(i,IXe),11)),S5(e,MXe,LL(Fae(i,MXe),11)),S5(e,EXe,(_P(),!0))):(S5(e,(hxe(),IXe),t.c),S5(e,MXe,n.d))}(t,e,n),function(e,t){var n,r;for(r=new eU(e.b,0);r.b<r.d.gc();)EP(r.b<r.d.gc()),n=LL(r.d.Xb(r.c=r.b++),69),LL(Fae(n,(Kwe(),QZe)),271)==($J(),m7e)&&(nV(r),RL(t.b,n),ZP(n,(hxe(),uXe))||S5(n,uXe,e))}(e,n),n}function Lde(e,t,n,r){var i,o;return t?0==(i=e.a.ue(n.d,t.d))?(r.d=bD(t,n.e),r.b=!0,t):(o=i<0?0:1,t.a[o]=Lde(e,t.a[o],n,r),Gy(t.a[o])&&(Gy(t.a[1-o])?(t.b=!0,t.a[0].b=!1,t.a[1].b=!1):Gy(t.a[o].a[o])?t=d1(t,1-o):Gy(t.a[o].a[1-o])&&(t=UW(t,1-o))),t):n}function Nde(e,t,n){var i,o,a,s;o=e.i,i=e.n,rY(e,(nJ(),MBe),o.c+i.b,n),rY(e,ABe,o.c+o.b-i.c-n[2],n),s=o.b-i.b-i.c,n[0]>0&&(n[0]+=e.d,s-=n[0]),n[2]>0&&(n[2]+=e.d,s-=n[2]),a=r.Math.max(0,s),n[1]=r.Math.max(n[1],s),rY(e,TBe,o.c+i.b+n[0]-(n[1]-s)/2,n),t==TBe&&(e.c.b=a,e.c.c=o.c+i.b+(a-s)/2)}function jde(){this.c=fK(aat,BSe,24,(hwe(),q3(lw(att,1),VEe,61,0,[Zet,Det,Oet,Ket,Qet])).length,15,1),this.b=fK(aat,BSe,24,q3(lw(att,1),VEe,61,0,[Zet,Det,Oet,Ket,Qet]).length,15,1),this.a=fK(aat,BSe,24,q3(lw(att,1),VEe,61,0,[Zet,Det,Oet,Ket,Qet]).length,15,1),gk(this.c,RSe),gk(this.b,LSe),gk(this.a,LSe)}function Fde(e,t,n){var r,i,o,a;if(t<=n?(i=t,o=n):(i=n,o=t),r=0,null==e.b)e.b=fK(nat,sSe,24,2,15,1),e.b[0]=i,e.b[1]=o,e.c=!0;else{if(r=e.b.length,e.b[r-1]+1==i)return void(e.b[r-1]=o);a=fK(nat,sSe,24,r+2,15,1),Xbe(e.b,0,a,0,r),e.b=a,e.b[r-1]>=i&&(e.c=!1,e.a=!1),e.b[r++]=i,e.b[r]=o,e.c||Rfe(e)}}function zde(e,t){var n,i,o;rG(e)&&(o=LL(Fae(t,(Kwe(),BQe)),174),OI(xfe(e,tJe))===OI((joe(),_et))&&Fte(e,tJe,xet),i=Pye(new _y(rG(e)),new PP(rG(e)?new _y(rG(e)):null,e),!1,!0),c1(o,(aee(),stt)),(n=LL(Fae(t,VQe),8)).a=r.Math.max(i.a,n.a),n.b=r.Math.max(i.b,n.b))}function Bde(e,t,n){var r,i,o,a,s,l;if(!OU(t)){for(qoe(l=a2(n,(BT(t,15)?LL(t,15).gc():DU(t.Ic()))/e.a|0),TAe,1),s=new Ea,a=0,o=t.Ic();o.Ob();)r=LL(o.Pb(),83),s=l0(q3(lw(yje,1),zxe,19,0,[s,new _g(r)])),a<r.f.b&&(a=r.f.b);for(i=t.Ic();i.Ob();)S5(r=LL(i.Pb(),83),(qve(),Q2e),a);_se(l),Bde(e,s,n)}}function Vde(e,t){var n,i,o,a,s,l,u;for(n=LSe,mse(),l=XHe,o=new td(t.a);o.a<o.c.c.length;)(a=(i=LL(xW(o),10)).k)!=XHe&&(null==(s=$O(Fae(i,(hxe(),RXe))))?(n=r.Math.max(n,0),i.n.b=n+IP(e.a,a,l)):i.n.b=(wB(s),s)),u=IP(e.a,a,l),i.n.b<n+u+i.d.d&&(i.n.b=n+u+i.d.d),n=i.n.b+i.o.b+i.d.a,l=a}function $de(e,t,n){var r,i,o;for(c3(o=new rfe(rxe($se(Wde(t,!1,!1)),Oy($O(xfe(t,(Ete(),t$e))))+e.a)),t),eV(e.b,t,o),n.c[n.c.length]=o,!t.n&&(t.n=new FF(unt,t,1,7)),i=new SA(t.n);i.e!=i.i.gc();)r=nge(e,LL(Hee(i),137),!0,0,0),n.c[n.c.length]=r;return o}function Hde(e,t,n,r,i){var o,a,s;if(e.d&&e.d.gg(i),Ene(e,n,LL(i.Xb(0),34),!1))return!0;if(Ene(e,r,LL(i.Xb(i.gc()-1),34),!0))return!0;if(Uae(e,i))return!0;for(s=i.Ic();s.Ob();)for(a=LL(s.Pb(),34),o=t.Ic();o.Ob();)if(gpe(e,a,LL(o.Pb(),34)))return!0;return!1}function Gde(e,t,n,r){var i,o,a,s;for(i=LL(jse(t,(hwe(),Qet)).Ic().Pb(),11),o=LL(jse(t,Oet).Ic().Pb(),11),s=new td(e.j);s.a<s.c.c.length;){for(a=LL(xW(s),11);0!=a.e.c.length;)AG(LL(JN(a.e,0),18),i);for(;0!=a.g.c.length;)PG(LL(JN(a.g,0),18),o)}n||S5(t,(hxe(),IXe),null),r||S5(t,(hxe(),MXe),null)}function Wde(e,t,n){var r,i;if(0==(!e.a&&(e.a=new FF(int,e,6,6)),e.a).i)return o5(e);if(r=LL(sJ((!e.a&&(e.a=new FF(int,e,6,6)),e.a),0),201),t&&(Ove((!r.a&&(r.a=new hA(Jtt,r,5)),r.a)),XJ(r,0),QJ(r,0),KJ(r,0),ZJ(r,0)),n)for(!e.a&&(e.a=new FF(int,e,6,6)),i=e.a;i.i>1;)Yde(i,i.i-1);return r}function Ude(e,t){var n,r,i,o,a,s;for(n=new Vm,i=new td(e.b);i.a<i.c.c.length;){for(s=!0,r=0,a=new td(LL(xW(i),29).a);a.a<a.c.c.length;)switch((o=LL(xW(a),10)).k.g){case 4:++r;case 1:zU(n,o);break;case 0:Wle(o,t);default:n.b==n.c||Kge(n,r,s,!1,t),s=!1,r=0}n.b==n.c||Kge(n,r,s,!0,t)}}function qde(e,t){var n,r,i,o,a,s;for(n=0,s=new td(t);s.a<s.c.c.length;){for(a=LL(xW(s),11),X4(e.b,e.d[a.p]),i=new fY(a.b);CT(i.a)||CT(i.b);)(o=Ux(e,a==(r=LL(CT(i.a)?xW(i.a):xW(i.b),18)).c?r.d:r.c))>e.d[a.p]&&(n+=bX(e.b,o),FU(e.a,k8(o)));for(;!Hy(e.a);)cQ(e.b,LL(fz(e.a),20).a)}return n}function Xde(e,t,n){var r,i,o,a;for(o=(!t.a&&(t.a=new FF(cnt,t,10,11)),t.a).i,i=new SA((!t.a&&(t.a=new FF(cnt,t,10,11)),t.a));i.e!=i.i.gc();)0==(!(r=LL(Hee(i),34)).a&&(r.a=new FF(cnt,r,10,11)),r.a).i||(o+=Xde(e,r,!1));if(n)for(a=rG(t);a;)o+=(!a.a&&(a.a=new FF(cnt,a,10,11)),a.a).i,a=rG(a);return o}function Yde(e,t){var n,r,i,o;return e._i()?(r=null,i=e.aj(),e.dj()&&(r=e.fj(e.ki(t),null)),n=e.Ui(4,o=Lre(e,t),null,t,i),e.Yi()&&null!=o?(r=e.$i(o,r))?(r.zi(n),r.Ai()):e.Vi(n):r?(r.zi(n),r.Ai()):e.Vi(n),o):(o=Lre(e,t),e.Yi()&&null!=o&&(r=e.$i(o,null))&&r.Ai(),o)}function Kde(){Kde=S,Iqe=new MC("COMMENTS",0),Tqe=new MC("EXTERNAL_PORTS",1),Aqe=new MC("HYPEREDGES",2),Pqe=new MC("HYPERNODES",3),Oqe=new MC("NON_FREE_PORTS",4),Dqe=new MC("NORTH_SOUTH_PORTS",5),Lqe=new MC(RIe,6),Eqe=new MC("CENTER_LABELS",7),Mqe=new MC("END_LABELS",8),Rqe=new MC("PARTITIONS",9)}function Zde(e){var t,n,r,i,o;for(i=new $m,t=new YN((!e.a&&(e.a=new FF(cnt,e,10,11)),e.a)),r=new xF(BA(she(e).a.Ic(),new p));Zce(r);)BT(sJ((!(n=LL(dX(r),80)).b&&(n.b=new nR(nnt,n,4,7)),n.b),0),199)||(o=Xoe(LL(sJ((!n.c&&(n.c=new nR(nnt,n,5,8)),n.c),0),93)),t.a._b(o)||(i.c[i.c.length]=o));return i}function Qde(){Qde=S,lUe=new PV(mCe,0,(hwe(),Det),Det),fUe=new PV(vCe,1,Ket,Ket),sUe=new PV(bCe,2,Oet,Oet),pUe=new PV(yCe,3,Qet,Qet),cUe=new PV("NORTH_WEST_CORNER",4,Qet,Det),uUe=new PV("NORTH_EAST_CORNER",5,Det,Oet),dUe=new PV("SOUTH_WEST_CORNER",6,Ket,Qet),hUe=new PV("SOUTH_EAST_CORNER",7,Oet,Ket)}function Jde(){Jde=S,Z6e=q3(lw(iat,1),jSe,24,14,[1,1,2,6,24,120,720,5040,40320,362880,3628800,39916800,479001600,6227020800,87178291200,1307674368e3,{l:3506176,m:794077,h:1},{l:884736,m:916411,h:20},{l:3342336,m:3912489,h:363},{l:589824,m:3034138,h:6914},{l:3407872,m:1962506,h:138294}]),r.Math.pow(2,-65)}function epe(e,t){var n,r,i,o,a;if(0==e.c.length)return new KE(k8(0),k8(0));for(n=(MG(0,e.c.length),LL(e.c[0],11)).j,a=0,o=t.g,r=t.g+1;a<e.c.length-1&&n.g<o;)n=(MG(++a,e.c.length),LL(e.c[a],11)).j;for(i=a;i<e.c.length-1&&n.g<r;)++i,n=(MG(a,e.c.length),LL(e.c[a],11)).j;return new KE(k8(a),k8(i))}function tpe(e,t,n){var i,o,a,s,l,u,c,f,h,d;for(a=t.c.length,MG(n,t.c.length),l=(s=LL(t.c[n],285)).a.o.a,h=s.c,d=0,c=s.c;c<=s.f;c++){if(l<=e.a[c])return c;for(f=e.a[c],u=null,o=n+1;o<a;o++)MG(o,t.c.length),(i=LL(t.c[o],285)).c<=c&&i.f>=c&&(u=i);u&&(f=r.Math.max(f,u.a.o.a)),f>d&&(h=c,d=f)}return h}function npe(){var e;for(npe=S,NFe=new xY(1,1),FFe=new xY(1,10),BFe=new xY(0,0),LFe=new xY(-1,1),jFe=q3(lw(UFe,1),s_e,90,0,[BFe,NFe,new xY(1,2),new xY(1,3),new xY(1,4),new xY(1,5),new xY(1,6),new xY(1,7),new xY(1,8),new xY(1,9),FFe]),zFe=fK(UFe,s_e,90,32,0,1),e=0;e<zFe.length;e++)zFe[e]=bee(xN(1,e))}function rpe(e,t){var n;switch(n=null,t.g){case 1:e.e.Ye((fxe(),I9e))&&(n=LL(e.e.Xe(I9e),248));break;case 3:e.e.Ye((fxe(),M9e))&&(n=LL(e.e.Xe(M9e),248));break;case 2:e.e.Ye((fxe(),E9e))&&(n=LL(e.e.Xe(E9e),248));break;case 4:e.e.Ye((fxe(),T9e))&&(n=LL(e.e.Xe(T9e),248))}return!n&&(n=LL(e.e.Xe((fxe(),k9e)),248)),n}function ipe(e,t,n){var r,i,o,a,s,l;for(t.p=1,i=t.c,l=b7(t,(E0(),L0e)).Ic();l.Ob();)for(r=new td(LL(l.Pb(),11).g);r.a<r.c.c.length;)t!=(s=LL(xW(r),18).d.i)&&s.c.p<=i.p&&((o=i.p+1)==n.b.c.length?((a=new mB(n)).p=o,RL(n.b,a),OG(s,a)):OG(s,a=LL(JN(n.b,o),29)),ipe(e,s,n))}function ope(e,t,n){var i,o,a,s,l,u;for(o=n,a=0,l=new td(t);l.a<l.c.c.length;)Fte(s=LL(xW(l),34),($4(),d5e),k8(o++)),u=Zde(s),i=r.Math.atan2(s.j+s.f/2,s.i+s.g/2),(i+=i<0?jAe:0)<.7853981633974483||i>tPe?kT(u,e.b):i<=tPe&&i>nPe?kT(u,e.d):i<=nPe&&i>rPe?kT(u,e.c):i<=rPe&&kT(u,e.a),a=ope(e,u,a);return o}function ape(e,t,n,r,i,o){var a,s,l,u;for(s=!zx(_V(e.Mc(),new gd(new Xn))).sd((xS(),Fze)),a=e,o==(A8(),d7e)&&(a=BT(a,151)?QX(LL(a,151)):BT(a,131)?LL(a,131).a:BT(a,53)?new ry(a):new O_(a)),u=a.Ic();u.Ob();)(l=LL(u.Pb(),69)).n.a=t.a,l.n.b=s?t.b+(r.b-l.o.b)/2:i?t.b:t.b+r.b-l.o.b,t.a+=l.o.a+n}function spe(e,t,n,r){var i,o,a,s,l;for(i=(r.c+r.a)/2,s$(t.j),bN(t.j,i),s$(n.e),bN(n.e,i),l=new $w,a=new td(e.f);a.a<a.c.c.length;)Yie(l,t,s=LL(xW(a),129).a),Yie(l,n,s);for(o=new td(e.k);o.a<o.c.c.length;)Yie(l,t,s=LL(xW(o),129).b),Yie(l,n,s);return l.b+=2,l.a+=p$(t,e.q),l.a+=p$(e.q,n),l}function lpe(e,t,n){var r,i,o,a,s;if(!OU(t)){for(qoe(s=a2(n,(BT(t,15)?LL(t,15).gc():DU(t.Ic()))/e.a|0),TAe,1),a=new Ma,o=null,i=t.Ic();i.Ob();)r=LL(i.Pb(),83),a=l0(q3(lw(yje,1),zxe,19,0,[a,new _g(r)])),o&&(S5(o,(qve(),i3e),r),S5(r,K2e,o),pK(r)==pK(o)&&(S5(o,o3e,r),S5(r,Z2e,o))),o=r;_se(s),lpe(e,a,n)}}function upe(e){var t,n,r,i,o,a,s;for(n=e.i,t=e.n,s=n.d,e.f==(QZ(),$Be)?s+=(n.a-e.e.b)/2:e.f==VBe&&(s+=n.a-e.e.b),i=new td(e.d);i.a<i.c.c.length;){switch(a=(r=LL(xW(i),183)).pf(),(o=new hx).b=s,s+=a.b+e.a,e.b.g){case 0:o.a=n.c+t.b;break;case 1:o.a=n.c+t.b+(n.b-a.a)/2;break;case 2:o.a=n.c+n.b-t.c-a.a}r.rf(o)}}function cpe(e){var t,n,r,i,o,a,s;for(n=e.i,t=e.n,s=n.c,e.b==(JK(),DBe)?s+=(n.b-e.e.a)/2:e.b==LBe&&(s+=n.b-e.e.a),i=new td(e.d);i.a<i.c.c.length;){switch(a=(r=LL(xW(i),183)).pf(),(o=new hx).a=s,s+=a.a+e.a,e.f.g){case 0:o.b=n.d+t.d;break;case 1:o.b=n.d+t.d+(n.a-a.b)/2;break;case 2:o.b=n.d+n.a-t.a-a.b}r.rf(o)}}function fpe(e,t,n){var r,i,o,a,s,l,u,c,f,h,d;u=n.a.c,a=n.a.c+n.a.b,h=(o=LL(aB(n.c,t),453)).f,d=o.a,s=new YE(u,h),c=new YE(a,d),i=u,n.p||(i+=e.c),l=new YE(i+=n.F+n.v*e.b,h),f=new YE(i,d),y0(t.a,q3(lw(J6e,1),s_e,8,0,[s,l])),n.d.a.gc()>1&&(r=new YE(i,n.b),bN(t.a,r)),y0(t.a,q3(lw(J6e,1),s_e,8,0,[f,c]))}function hpe(e){GS(e,new rae(Yw(Hw(Xw(Uw(new hs,kOe),"ELK Randomizer"),'Distributes the nodes randomly on the plane, leading to very obfuscating layouts. Can be useful to demonstrate the power of "real" layout algorithms.'),new zs))),rU(e,kOe,qCe,rtt),rU(e,kOe,gEe,15),rU(e,kOe,bEe,k8(0)),rU(e,kOe,UCe,hEe)}function dpe(){var e,t,n,r,i,o;for(dpe=S,wot=fK(oat,rDe,24,255,15,1),xot=fK(tat,q_e,24,16,15,1),t=0;t<255;t++)wot[t]=-1;for(n=57;n>=48;n--)wot[n]=n-48<<24>>24;for(r=70;r>=65;r--)wot[r]=r-65+10<<24>>24;for(i=102;i>=97;i--)wot[i]=i-97+10<<24>>24;for(o=0;o<10;o++)xot[o]=48+o&X_e;for(e=10;e<=15;e++)xot[e]=65+e-10&X_e}function ppe(e){var t;if(10!=e.c)throw Jm(new Zy(wxe((pT(),JDe))));switch(t=e.a){case 110:t=10;break;case 114:t=13;break;case 116:t=9;break;case 92:case 124:case 46:case 94:case 45:case 63:case 42:case 43:case 123:case 125:case 40:case 41:case 91:case 93:break;default:throw Jm(new Zy(wxe((pT(),TRe))))}return t}function gpe(e,t,n){var r,i,o,a,s,l,u,c;return s=t.i-e.g/2,l=n.i-e.g/2,u=t.j-e.g/2,c=n.j-e.g/2,o=t.g+e.g/2,a=n.g+e.g/2,r=t.f+e.g/2,i=n.f+e.g/2,s<l+a&&l<s&&u<c+i&&c<u||(l<s+o&&s<l&&c<u+r&&u<c||(s<l+a&&l<s&&u<c&&c<u+r||l<s+o&&s<l&&u<c+i&&c<u))}function mpe(e,t){var n,i,o,a,s,l,u,c,f;if(a=LL(LL(KX(e.r,t),21),81),s=e.t.Fc((iae(),Met)),n=e.t.Fc(Cet),u=e.t.Fc(Tet),f=e.A.Fc((Vge(),wtt)),c=!n&&(u||2==a.gc()),function(e,t){var n,r,i,o,a,s;for(a=LL(LL(KX(e.r,t),21),81).Ic();a.Ob();)(n=(o=LL(a.Pb(),110)).c?AN(o.c):0)>0?o.a?n>(s=o.b.pf().a)&&(i=(n-s)/2,o.d.b=i,o.d.c=i):o.d.c=e.s+n:PF(e.t)&&((r=uae(o.b)).c<0&&(o.d.b=-r.c),r.c+r.b>o.b.pf().a&&(o.d.c=r.c+r.b-o.b.pf().a))}(e,t),i=null,l=null,s){for(l=i=LL((o=a.Ic()).Pb(),110);o.Ob();)l=LL(o.Pb(),110);i.d.b=0,l.d.c=0,c&&!i.a&&(i.d.c=0)}f&&(!function(e){var t,n,i,o,a;for(t=0,n=0,a=e.Ic();a.Ob();)i=LL(a.Pb(),110),t=r.Math.max(t,i.d.b),n=r.Math.max(n,i.d.c);for(o=e.Ic();o.Ob();)(i=LL(o.Pb(),110)).d.b=t,i.d.c=n}(a),s&&(i.d.b=0,l.d.c=0))}function bpe(e,t){var n,i,o,a,s,l,u,c,f;if(a=LL(LL(KX(e.r,t),21),81),s=e.t.Fc((iae(),Met)),n=e.t.Fc(Cet),l=e.t.Fc(Tet),f=e.A.Fc((Vge(),wtt)),u=!n&&(l||2==a.gc()),function(e,t){var n,i,o,a,s,l,u;for(l=LL(LL(KX(e.r,t),21),81).Ic();l.Ob();)(i=(s=LL(l.Pb(),110)).c?TN(s.c):0)>0?s.a?i>(u=s.b.pf().b)&&(e.u||1==s.c.d.c.length?(a=(i-u)/2,s.d.d=a,s.d.a=a):(n=(LL(JN(s.c.d,0),183).pf().b-u)/2,s.d.d=r.Math.max(0,n),s.d.a=i-n-u)):s.d.a=e.s+i:PF(e.t)&&((o=uae(s.b)).d<0&&(s.d.d=-o.d),o.d+o.a>s.b.pf().b&&(s.d.a=o.d+o.a-s.b.pf().b))}(e,t),c=null,i=null,s){for(i=c=LL((o=a.Ic()).Pb(),110);o.Ob();)i=LL(o.Pb(),110);c.d.d=0,i.d.a=0,u&&!c.a&&(c.d.a=0)}f&&(!function(e){var t,n,i,o,a;for(n=0,t=0,a=e.Ic();a.Ob();)i=LL(a.Pb(),110),n=r.Math.max(n,i.d.d),t=r.Math.max(t,i.d.a);for(o=e.Ic();o.Ob();)(i=LL(o.Pb(),110)).d.d=n,i.d.a=t}(a),s&&(c.d.d=0,i.d.a=0))}function vpe(e){var t,n,r,i,o;if(!e.c){if(o=new ml,null==(t=Jrt).a.xc(e,t)){for(r=new SA(pq(e));r.e!=r.i.gc();)BT(i=Pme(n=LL(Hee(r),86)),87)&&Qz(o,vpe(LL(i,26))),AK(o,n);t.a.zc(e),t.a.gc()}!function(e){var t,n,r,i;for(n=LL(e.g,662),r=e.i-1;r>=0;--r)for(t=n[r],i=0;i<r;++i)if(Rme(e,t,n[i])){Lre(e,r);break}}(o),Y4(o),e.c=new fM((LL(sJ(k$(($z(),krt).o),15),17),o.i),o.g),VX(e).b&=-33}return e.c}function ype(e){var t,n,r,i;if(0==e.l&&0==e.m&&0==e.h)return"0";if(e.h==CSe&&0==e.m&&0==e.l)return"-9223372036854775808";if(e.h>>19!=0)return"-"+ype(w5(e));for(n=e,r="";0!=n.l||0!=n.m||0!=n.h;){if(n=Bve(n,RX(MSe),!0),t=""+Rx(Zje),0!=n.l||0!=n.m||0!=n.h)for(i=9-t.length;i>0;i--)t="0"+t;r=t+r}return r}function wpe(e,t,n,i){var o,a,s,l;if(DU((oL(),new xF(BA(d9(t).a.Ic(),new p))))>=e.a)return-1;if(!Voe(t,n))return-1;if(OU(LL(i.Kb(t),19)))return 1;for(o=0,s=LL(i.Kb(t),19).Ic();s.Ob();){if(-1==(l=wpe(e,(a=LL(s.Pb(),18)).c.i==t?a.d.i:a.c.i,n,i)))return-1;if((o=r.Math.max(o,l))>e.c-1)return-1}return o+1}function xpe(e,t){var n,r,i,o,a,s;if(OI(t)===OI(e))return!0;if(!BT(t,14))return!1;if(r=LL(t,14),s=e.gc(),r.gc()!=s)return!1;if(a=r.Ic(),e.ii()){for(n=0;n<s;++n)if(i=e.fi(n),o=a.Pb(),null==i?null!=o:!l8(i,o))return!1}else for(n=0;n<s;++n)if(i=e.fi(n),o=a.Pb(),OI(i)!==OI(o))return!1;return!0}function _pe(e,t){var n,r,i,o,a,s;if(e.f>0)if(e.lj(),null!=t){for(o=0;o<e.d.length;++o)if(n=e.d[o])for(r=LL(n.g,364),s=n.i,a=0;a<s;++a)if(l8(t,(i=r[a]).bd()))return!0}else for(o=0;o<e.d.length;++o)if(n=e.d[o])for(r=LL(n.g,364),s=n.i,a=0;a<s;++a)if(i=r[a],OI(t)===OI(i.bd()))return!0;return!1}function Spe(e){switch(e){case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return e-48<<24>>24;case 97:case 98:case 99:case 100:case 101:case 102:return e-97+10<<24>>24;case 65:case 66:case 67:case 68:case 69:case 70:return e-65+10<<24>>24;default:throw Jm(new fw("Invalid hexadecimal"))}}function kpe(e,t,n){var i,o,a,s;qoe(n,"Orthogonally routing hierarchical port edges",1),e.a=0,i=function(e){var t,n,r,i,o,a,s,l,u,c,f;if(l=new $m,!ZP(e,(hxe(),fXe)))return l;for(r=LL(Fae(e,fXe),14).Ic();r.Ob();)_ve(t=LL(r.Pb(),10),e),l.c[l.c.length]=t;for(i=new td(e.b);i.a<i.c.c.length;)for(a=new td(LL(xW(i),29).a);a.a<a.c.c.length;)(o=LL(xW(a),10)).k==(mse(),WHe)&&(s=LL(Fae(o,hXe),10))&&(DG(u=new Pse,o),mue(u,LL(Fae(o,dXe),61)),c=LL(JN(s.j,0),11),PG(f=new N$,u),AG(f,c));for(n=new td(l);n.a<n.c.c.length;)OG(t=LL(xW(n),10),LL(JN(e.b,e.b.c.length-1),29));return l}(t),function(e,t){var n,i,o,a,s,l,u,c,f,h,d,p,g,m;for(n=LL(Fae(e,(Kwe(),tJe)),100),s=e.f,a=e.d,l=s.a+a.b+a.c,u=0-a.d-e.c.b,f=s.b+a.d+a.a-e.c.b,c=new $m,h=new $m,o=new td(t);o.a<o.c.c.length;){switch(i=LL(xW(o),10),n.g){case 1:case 2:case 3:Khe(i);break;case 4:p=(d=LL(Fae(i,JQe),8))?d.a:0,i.n.a=l*Oy($O(Fae(i,(hxe(),VXe))))-p,x3(i,!0,!1);break;case 5:m=(g=LL(Fae(i,JQe),8))?g.a:0,i.n.a=Oy($O(Fae(i,(hxe(),VXe))))-m,x3(i,!0,!1),s.a=r.Math.max(s.a,i.n.a+i.o.a/2)}switch(LL(Fae(i,(hxe(),dXe)),61).g){case 1:i.n.b=u,c.c[c.c.length]=i;break;case 3:i.n.b=f,h.c[h.c.length]=i}}switch(n.g){case 1:case 2:h8(c,e),h8(h,e);break;case 3:d8(c,e),d8(h,e)}}(t,i),function(e,t,n){var r,i,o,a,s,l,u,c,f,h,d;for(l=new qM,u=new qM,h=new qM,d=new qM,s=Oy($O(Fae(t,(Kwe(),MJe)))),i=Oy($O(Fae(t,yJe))),a=new td(n);a.a<a.c.c.length;)if(o=LL(xW(a),10),(c=LL(Fae(o,(hxe(),dXe)),61))==(hwe(),Det))for(u.a.xc(o,u),r=new xF(BA(p9(o).a.Ic(),new p));Zce(r);)uz(l,LL(dX(r),18).c.i);else if(c==Ket)for(d.a.xc(o,d),r=new xF(BA(p9(o).a.Ic(),new p));Zce(r);)uz(h,LL(dX(r),18).c.i);0!=l.a.gc()&&(f=yye(new zz(2,i),t,l,u,-s-t.c.b))>0&&(e.a=s+(f-1)*i,t.c.b+=e.a,t.f.b+=e.a);0!=h.a.gc()&&(f=yye(new zz(1,i),t,h,d,t.f.b+s-t.c.b))>0&&(t.f.b+=s+(f-1)*i)}(e,t,i),function(e){var t,n,r,i,o,a,s,l,u,c,f,h,d,p,g,m,b,v,y,w,x,_,S,k;for(y=new $m,f=new td(e.b);f.a<f.c.c.length;)for(p=new td(LL(xW(f),29).a);p.a<p.c.c.length;)if((h=LL(xW(p),10)).k==(mse(),WHe)&&ZP(h,(hxe(),hXe))){for(g=null,b=null,m=null,_=new td(h.j);_.a<_.c.c.length;)switch((x=LL(xW(_),11)).j.g){case 4:g=x;break;case 2:b=x;break;default:m=x}for(u=new lx((v=LL(JN(m.g,0),18)).a),BD(l=new lT(m.n),h.n),Ez(cte(u,0),l),w=i4(v.a),BD(c=new lT(m.n),h.n),jq(w,c,w.c.b,w.c),S=LL(Fae(h,hXe),10),k=LL(JN(S.j,0),11),o=0,s=(r=LL(tte(g.e,fK(VHe,XEe,18,0,0,1)),468)).length;o<s;++o)AG(t=r[o],k),U4(t.a,t.a.b,u);for(i=0,a=(n=gU(b.g)).length;i<a;++i)PG(t=n[i],k),U4(t.a,0,w);PG(v,null),AG(v,null),y.c[y.c.length]=h}for(d=new td(y);d.a<d.c.c.length;)OG(h=LL(xW(d),10),null)}(t),o=LL(Fae(t,(Kwe(),tJe)),100),Uye((MG(0,(a=t.b).c.length),LL(a.c[0],29)),o,t),Uye(LL(JN(a,a.c.length-1),29),o,t),kbe((MG(0,(s=t.b).c.length),LL(s.c[0],29))),kbe(LL(JN(s,s.c.length-1),29)),_se(n)}function Cpe(e,t,n){var r,i,o,a;for(qoe(n,"Processor order nodes",2),e.a=Oy($O(Fae(t,(xse(),w3e)))),i=new sS,a=cte(t.b,0);a.b!=a.d.c;)Ty(VO(Fae(o=LL(BU(a),83),(qve(),a3e))))&&jq(i,o,i.c.b,i.c);EP(0!=i.b),bve(e,r=LL(i.a.a.c,83)),!n.b&&K0(n,1),Xpe(e,r,0-Oy($O(Fae(r,(qve(),Q2e))))/2,0),!n.b&&K0(n,1),_se(n)}function Epe(){Epe=S,_Be=new Ak("SPIRAL",0),bBe=new Ak("LINE_BY_LINE",1),vBe=new Ak("MANHATTAN",2),mBe=new Ak("JITTER",3),wBe=new Ak("QUADRANTS_LINE_BY_LINE",4),xBe=new Ak("QUADRANTS_MANHATTAN",5),yBe=new Ak("QUADRANTS_JITTER",6),gBe=new Ak("COMBINE_LINE_BY_LINE_MANHATTAN",7),pBe=new Ak("COMBINE_JITTER_MANHATTAN",8)}function Ipe(e,t,n,r,i,o){if(this.b=n,this.d=i,e>=t.length)throw Jm(new Ey("Greedy SwitchDecider: Free layer not in graph."));this.c=t[e],this.e=new SR(r),k1(this.e,this.c,(hwe(),Qet)),this.i=new SR(r),k1(this.i,this.c,Oet),this.f=new gj(this.c),this.a=!o&&i.i&&!i.s&&this.c[0].k==(mse(),WHe),this.a&&function(e,t,n){var r,i,o,a,s,l,u;s=(o=e.d.p).e,l=o.r,e.g=new SR(l),r=(a=e.d.o.c.p)>0?s[a-1]:fK(KHe,YEe,10,0,0,1),i=s[a],u=a<s.length-1?s[a+1]:fK(KHe,YEe,10,0,0,1),t==n-1?XH(e.g,i,u):XH(e.g,r,i)}(this,e,t.length)}function Mpe(e,t,n,r){var i,o,a,s,l,u;for(l=Xie(e,n),u=Xie(t,n),i=!1;l&&u&&(r||Pre(l,u,n));)a=Xie(l,n),s=Xie(u,n),qZ(t),qZ(e),o=l.c,tye(l,!1),tye(u,!1),n?($re(t,u.p,o),t.p=u.p,$re(e,l.p+1,o),e.p=l.p):($re(e,l.p,o),e.p=l.p,$re(t,u.p+1,o),t.p=u.p),OG(l,null),OG(u,null),l=a,u=s,i=!0;return i}function Tpe(e,t,n,r){var i,o,a,s,l;for(i=!1,o=!1,s=new td(r.j);s.a<s.c.c.length;)OI(Fae(a=LL(xW(s),11),(hxe(),OXe)))===OI(n)&&(0==a.g.c.length?0==a.e.c.length||(i=!0):o=!0);return l=0,i&&i^o?l=n.j==(hwe(),Det)?-e.e[r.c.p][r.p]:t-e.e[r.c.p][r.p]:o&&i^o?l=e.e[r.c.p][r.p]+1:i&&o&&(l=n.j==(hwe(),Det)?0:t/2),l}function Ape(e,t,n,r,i,o,a,s){var l,u,c;for(l=0,null!=t&&(l^=ane(t.toLowerCase())),null!=n&&(l^=ane(n)),null!=r&&(l^=ane(r)),null!=a&&(l^=ane(a)),null!=s&&(l^=ane(s)),u=0,c=o.length;u<c;u++)l^=ane(o[u]);e?l|=256:l&=-257,i?l|=16:l&=-17,this.f=l,this.i=null==t?null:(wB(t),t),this.a=n,this.d=r,this.j=o,this.g=a,this.e=s}function Ppe(e,t,n){var r,i;switch(i=null,t.g){case 1:h2(),i=tGe;break;case 2:h2(),i=rGe}switch(r=null,n.g){case 1:h2(),r=nGe;break;case 2:h2(),r=eGe;break;case 3:h2(),r=iGe;break;case 4:h2(),r=oGe}return i&&r?SL(e.j,new Df(new Vy(q3(lw(bje,1),zxe,169,0,[LL(wz(i),169),LL(wz(r),169)])))):(v$(),v$(),XFe)}function Ope(e){var t,n,r;switch(t=LL(Fae(e,(Kwe(),VQe)),8),S5(e,VQe,new YE(t.b,t.a)),LL(Fae(e,MZe),247).g){case 1:S5(e,MZe,(ine(),o8e));break;case 2:S5(e,MZe,(ine(),t8e));break;case 3:S5(e,MZe,(ine(),r8e));break;case 4:S5(e,MZe,(ine(),i8e))}(e.q?e.q:(v$(),v$(),YFe))._b(lJe)&&(r=(n=LL(Fae(e,lJe),8)).a,n.a=n.b,n.b=r)}function Dpe(e){var t,n,i;switch((t=LL(Fae(e.d,(Kwe(),eQe)),216)).g){case 2:n=function(e){var t,n,r,i,o,a,s,l,u,c,f,h,d,g,m;for(g=new $m,f=new td(e.d.b);f.a<f.c.c.length;)for(d=new td(LL(xW(f),29).a);d.a<d.c.c.length;){for(h=LL(xW(d),10),i=LL(aB(e.f,h),56),l=new xF(BA(g9(h).a.Ic(),new p));Zce(l);)if(u=!0,c=null,(r=cte((a=LL(dX(l),18)).a,0)).b!=r.d.c){for(t=LL(BU(r),8),n=null,a.c.j==(hwe(),Det)&&((m=new Ibe(t,new YE(t.a,i.d.d),i,a)).f.a=!0,m.a=a.c,g.c[g.c.length]=m),a.c.j==Ket&&((m=new Ibe(t,new YE(t.a,i.d.d+i.d.a),i,a)).f.d=!0,m.a=a.c,g.c[g.c.length]=m);r.b!=r.d.c;)n=LL(BU(r),8),MJ(t.b,n.b)||(c=new Ibe(t,n,null,a),g.c[g.c.length]=c,u&&(u=!1,n.b<i.d.d?c.f.a=!0:n.b>i.d.d+i.d.a?c.f.d=!0:(c.f.d=!0,c.f.a=!0))),r.b!=r.d.c&&(t=n);c&&(o=LL(aB(e.f,a.d.i),56),t.b<o.d.d?c.f.a=!0:t.b>o.d.d+o.d.a?c.f.d=!0:(c.f.d=!0,c.f.a=!0))}for(s=new xF(BA(p9(h).a.Ic(),new p));Zce(s);)0!=(a=LL(dX(s),18)).a.b&&(t=LL(HP(a.a),8),a.d.j==(hwe(),Det)&&((m=new Ibe(t,new YE(t.a,i.d.d),i,a)).f.a=!0,m.a=a.d,g.c[g.c.length]=m),a.d.j==Ket&&((m=new Ibe(t,new YE(t.a,i.d.d+i.d.a),i,a)).f.d=!0,m.a=a.d,g.c[g.c.length]=m))}return g}(e);break;case 3:i=new $m,lS(_V(SV(aQ(aQ(new cj(null,new ZG(e.d.b,16)),new Ei),new Ii),new Mi),new di),new Fp(i)),n=i;break;default:throw Jm(new jy("Compaction not supported for "+t+" edges."))}!function(e,t){var n,i,o,a,s,l,u;if(0==t.c.length)return;v$(),Ij(t.c,t.c.length,null),o=new td(t),i=LL(xW(o),145);for(;o.a<o.c.c.length;)n=LL(xW(o),145),!MJ(i.e.c,n.e.c)||$7(XO(i.e).b,n.e.d)||$7(XO(n.e).b,i.e.d)?(_me(e,i),i=n):(L3(i.k,n.k),L3(i.b,n.b),L3(i.c,n.c),G1(i.i,n.i),L3(i.d,n.d),L3(i.j,n.j),a=r.Math.min(i.e.c,n.e.c),s=r.Math.min(i.e.d,n.e.d),l=r.Math.max(i.e.c+i.e.b,n.e.c+n.e.b)-a,u=r.Math.max(i.e.d+i.e.a,n.e.d+n.e.a)-s,HL(i.e,a,s,l,u),fW(i.f,n.f),!i.a&&(i.a=n.a),L3(i.g,n.g),RL(i.g,n));_me(e,i)}(e,n),yX(new Fh(e.g),new Np(e))}function Rpe(e,t){var n,i,o;for(o=LL(JN(e.n,e.n.c.length-1),209).d,e.p=r.Math.min(e.p,t.g+e.i),e.r=r.Math.max(e.r,o),e.g=r.Math.max(e.g,t.g+e.i),e.o=r.Math.min(e.o,t.f+e.i),e.e+=t.f+e.i,e.f=r.Math.max(e.f,t.f+e.i),i=0,n=new td(e.n);n.a<n.c.c.length;)i+=LL(xW(n),209).a;e.d=i,e.a=e.e/e.b.c.length,Z7(e.j)}function Lpe(){Lpe=S,c6e=new bm(_Pe),jS(),l6e=new uM(IPe,u6e=b6e),C3(),a6e=new uM(SPe,s6e=w6e),Nse(),i6e=new uM(kPe,o6e=A4e),e6e=new uM(CPe,null),MY(),n6e=new uM(EPe,r6e=C4e),RS(),Y4e=new uM(MPe,K4e=w4e),Z4e=new uM(TPe,(_P(),!1)),Q4e=new uM(APe,k8(64)),J4e=new uM(PPe,!0),t6e=E4e}function Npe(e){var t,n,r,i,o;if(null==e.a)if(e.a=fK(rat,Kke,24,e.c.b.c.length,16,1),e.a[0]=!1,ZP(e.c,(Kwe(),GJe)))for(n=LL(Fae(e.c,GJe),14).Ic();n.Ob();)(t=LL(n.Pb(),20).a)>0&&t<e.a.length&&(e.a[t]=!1);else for((o=new td(e.c.b)).a<o.c.c.length&&xW(o),r=1;o.a<o.c.c.length;)i=LL(xW(o),29),e.a[r++]=Yfe(i)}function jpe(e,t,n,r,i){var o,a;try{if(t>=e.o)throw Jm(new rv);a=t>>5,o=xN(1,QN(xN(31&t,1))),e.n[n][a]=i?kH(e.n[n][a],o):SH(e.n[n][a],dD(o)),o=xN(o,1),e.n[n][a]=r?kH(e.n[n][a],o):SH(e.n[n][a],dD(o))}catch(r){throw BT(r=v3(r),318)?Jm(new Ey(_Ce+e.o+"*"+e.p+SCe+t+jxe+n+kCe)):Jm(r)}}function Fpe(e,t){var n,r;switch(r=e.b,t){case 1:e.b|=1,e.b|=4,e.b|=8;break;case 2:e.b|=2,e.b|=4,e.b|=8;break;case 4:e.b|=1,e.b|=2,e.b|=4,e.b|=8;break;case 3:e.b|=16,e.b|=8;break;case 0:e.b|=32,e.b|=16,e.b|=8,e.b|=1,e.b|=2,e.b|=4}if(e.b!=r&&e.c)for(n=new SA(e.c);n.e!=n.i.gc();)sue(VX(LL(Hee(n),467)),t)}function zpe(e,t,n,r){var i,o,a,s,l,u,c,f,h,d;for(i=!1,s=0,l=(a=t).length;s<l;++s)o=a[s],Ty((_P(),!!o.e))&&!LL(JN(e.b,o.e.p),231).s&&(i|=(u=o.e,(f=(c=LL(JN(e.b,u.p),231)).e)[h=Aw(n,f.length)][0].k==(mse(),WHe)?f[h]=Hhe(o,f[h],n?(hwe(),Qet):(hwe(),Oet)):c.c.Qf(f,n),d=Cfe(e,c,n,r),Mde(c.e,c.o,n),d));return i}function Bpe(e,t){var n,r,i,o,a;for(o=(!t.a&&(t.a=new FF(cnt,t,10,11)),t.a).i,i=new SA((!t.a&&(t.a=new FF(cnt,t,10,11)),t.a));i.e!=i.i.gc();)OI(xfe(r=LL(Hee(i),34),(fxe(),Y8e)))!==OI((P8(),G7e))&&((a=LL(xfe(t,G9e),149))==(n=LL(xfe(r,G9e),149))||a&&zX(a,n))&&0!=(!r.a&&(r.a=new FF(cnt,r,10,11)),r.a).i&&(o+=Bpe(e,r));return o}function Vpe(e,t,n){var r,i,o,a,s;if(r=t.k,t.p>=0)return!1;if(t.p=n.b,RL(n.e,t),r==(mse(),qHe)||r==YHe)for(i=new td(t.j);i.a<i.c.c.length;)for(s=new tp(new td(new ep(LL(xW(i),11)).a.g));CT(s.a);)if(a=(o=LL(xW(s.a),18).d.i).k,t.c!=o.c&&(a==qHe||a==YHe)&&Vpe(e,o,n))return!0;return!0}function $pe(e){var t;return 0!=(64&e.Db)?Ice(e):((t=new XA(Ice(e))).a+=" (changeable: ",$x(t,0!=(e.Bb&GRe)),t.a+=", volatile: ",$x(t,0!=(e.Bb&uLe)),t.a+=", transient: ",$x(t,0!=(e.Bb&NSe)),t.a+=", defaultValueLiteral: ",HI(t,e.j),t.a+=", unsettable: ",$x(t,0!=(e.Bb&lLe)),t.a+=", derived: ",$x(t,0!=(e.Bb&l_e)),t.a+=")",t.a)}function Hpe(e,t,n,r){var i,o,a,s,l,u;if(null==n)for(i=LL(e.g,118),s=0;s<e.i;++s)if((a=i[s]).Xj()==t)return Nte(e,a,r);return tk(),o=LL(t,65).Jj()?LL(n,71):uq(t,n),FM(e.e)?(u=!x7(e,t),r=C7(e,o,r),l=t.Vj()?cH(e,3,t,null,n,wbe(e,t,n,BT(t,97)&&0!=(LL(t,17).Bb&FSe)),u):cH(e,1,t,t.uj(),n,-1,u),r?r.zi(l):r=l):r=C7(e,o,r),r}function Gpe(){this.b=new Fq,this.d=new Fq,this.e=new Fq,this.c=new Fq,this.a=new Hm,this.f=new Hm,NH(J6e,new ms,new bs),NH(a8e,new Ms,new Ts),NH(HHe,new As,new Ps),NH(JHe,new Os,new Ds),NH(Att,new Rs,new Ls),NH(qFe,new vs,new ys),NH(sze,new ws,new xs),NH(ize,new _s,new Ss),NH(aze,new ks,new Cs),NH(kze,new Es,new Is)}function Wpe(e){var t,n,r,i,o,a;return o=0,(t=fie(e)).wj()&&(o|=4),0!=(e.Bb&lLe)&&(o|=2),BT(e,97)?(i=yne(n=LL(e,17)),0!=(n.Bb&YOe)&&(o|=32),i&&(Hz(iG(i)),o|=8,((a=i.t)>1||-1==a)&&(o|=16),0!=(i.Bb&YOe)&&(o|=64)),0!=(n.Bb&FSe)&&(o|=uLe),o|=GRe):BT(t,450)?o|=512:(r=t.wj())&&0!=(1&r.i)&&(o|=256),0!=(512&e.Bb)&&(o|=128),o}function Upe(e,t){var n,r,i,o,a;for(e=null==e?$xe:(wB(e),e),i=0;i<t.length;i++)t[i]=qfe(t[i]);for(n=new gw,a=0,r=0;r<t.length&&-1!=(o=e.indexOf("%s",a));)n.a+=""+zP(null==e?$xe:(wB(e),e),a,o),WI(n,t[r++]),a=o+2;if(VW(n,e,a,e.length),r<t.length){for(n.a+=" [",WI(n,t[r++]);r<t.length;)n.a+=jxe,WI(n,t[r++]);n.a+="]"}return n.a}function qpe(e,t){var n,r,i,o,a,s,l;for(n=0,l=new td(t);l.a<l.c.c.length;){for(s=LL(xW(l),11),X4(e.b,e.d[s.p]),a=0,i=new fY(s.b);CT(i.a)||CT(i.b);)FB(r=LL(CT(i.a)?xW(i.a):xW(i.b),18))?(o=Ux(e,s==r.c?r.d:r.c))>e.d[s.p]&&(n+=bX(e.b,o),FU(e.a,k8(o))):++a;for(n+=e.b.d*a;!Hy(e.a);)cQ(e.b,LL(fz(e.a),20).a)}return n}function Xpe(e,t,n,i){var o,a;t&&(o=Oy($O(Fae(t,(qve(),n3e))))+i,a=n+Oy($O(Fae(t,Q2e)))/2,S5(t,s3e,k8(QN(I2(r.Math.round(o))))),S5(t,l3e,k8(QN(I2(r.Math.round(a))))),0==t.d.b||Xpe(e,LL(tA(new Sg(cte(new _g(t).a.d,0))),83),n+Oy($O(Fae(t,Q2e)))+e.a,i+Oy($O(Fae(t,J2e)))),null!=Fae(t,o3e)&&Xpe(e,LL(Fae(t,o3e),83),n,i))}function Ype(e){var t,n,r,i,o,a,s;for(s=new Hm,r=new td(e.a.b);r.a<r.c.c.length;)eV(s,t=LL(xW(r),56),new $m);for(i=new td(e.a.b);i.a<i.c.c.length;)for((t=LL(xW(i),56)).i=LSe,a=t.c.Ic();a.Ob();)o=LL(a.Pb(),56),LL(PI(rH(s.f,o)),14).Dc(t);for(n=new td(e.a.b);n.a<n.c.c.length;)(t=LL(xW(n),56)).c.$b(),t.c=LL(PI(rH(s.f,t)),14);Ode(e)}function Kpe(e){var t,n,r,i,o,a,s;for(s=new Hm,r=new td(e.a.b);r.a<r.c.c.length;)eV(s,t=LL(xW(r),79),new $m);for(i=new td(e.a.b);i.a<i.c.c.length;)for((t=LL(xW(i),79)).o=LSe,a=t.f.Ic();a.Ob();)o=LL(a.Pb(),79),LL(PI(rH(s.f,o)),14).Dc(t);for(n=new td(e.a.b);n.a<n.c.c.length;)(t=LL(xW(n),79)).f.$b(),t.f=LL(PI(rH(s.f,t)),14);Qhe(e)}function Zpe(e,t,n,r){var i,o;for(function(e,t,n,r){var i,o,a,s;for(i=0;i<t.o;i++)for(o=i-t.j+n,a=0;a<t.p;a++)s=a-t.k+r,lne(t,i,a)?dne(e,o,s)||Xne(e,o,s):cne(t,i,a)&&(fne(e,o,s)||Yne(e,o,s))}(e,t,n,r),function(e,t){e.g=t}(t,e.j-t.j+n),function(e,t){e.i=t}(t,e.k-t.k+r),o=new td(t.f);o.a<o.c.c.length;)switch((i=LL(xW(o),323)).a.g){case 0:c5(e,t.g+i.b.a,0,t.g+i.c.a,t.i-1);break;case 1:c5(e,t.g+t.o,t.i+i.b.a,e.o-1,t.i+i.c.a);break;case 2:c5(e,t.g+i.b.a,t.i+t.p,t.g+i.c.a,e.p-1);break;default:c5(e,0,t.i+i.b.a,t.g-1,t.i+i.c.a)}}function Qpe(e){var t,n,r;return 0!=(64&e.Db)?kse(e):(t=new YA(zOe),(n=e.k)?UI(UI((t.a+=' "',t),n),'"'):(!e.n&&(e.n=new FF(unt,e,1,7)),e.n.i>0&&(!(r=(!e.n&&(e.n=new FF(unt,e,1,7)),LL(sJ(e.n,0),137)).a)||UI(UI((t.a+=' "',t),r),'"'))),UI(Hx(UI(Hx(UI(Hx(UI(Hx((t.a+=" (",t),e.i),","),e.j)," | "),e.g),","),e.f),")"),t.a)}function Jpe(e){var t,n,r;return 0!=(64&e.Db)?kse(e):(t=new YA(BOe),(n=e.k)?UI(UI((t.a+=' "',t),n),'"'):(!e.n&&(e.n=new FF(unt,e,1,7)),e.n.i>0&&(!(r=(!e.n&&(e.n=new FF(unt,e,1,7)),LL(sJ(e.n,0),137)).a)||UI(UI((t.a+=' "',t),r),'"'))),UI(Hx(UI(Hx(UI(Hx(UI(Hx((t.a+=" (",t),e.i),","),e.j)," | "),e.g),","),e.f),")"),t.a)}function ege(e){if(0==(!e.b&&(e.b=new nR(nnt,e,4,7)),e.b).i)throw Jm(new Xy("Edges must have a source."));if(0==(!e.c&&(e.c=new nR(nnt,e,5,8)),e.c).i)throw Jm(new Xy("Edges must have a target."));if(!e.b&&(e.b=new nR(nnt,e,4,7)),!(e.b.i<=1&&(!e.c&&(e.c=new nR(nnt,e,5,8)),e.c.i<=1)))throw Jm(new Xy("Hyperedges are not supported."))}function tge(e,t){var n,r,i,o,a,s;if(null==t||0==t.length)return null;if(!(i=LL(CH(e.a,t),149))){for(r=new Uh(new Wh(e.b).a.tc().Ic());r.a.Ob();)if(o=LL(r.a.Pb(),43),a=(n=LL(o.bd(),149)).c,s=t.length,fR(a.substr(a.length-s,s),t)&&(t.length==a.length||46==dV(a,a.length-t.length-1))){if(i)return null;i=n}i&&vG(e.a,t,i)}return i}function nge(e,t,n,r,i){var o,a,s,l,u,c,f;if(!(BT(t,238)||BT(t,351)||BT(t,199)))throw Jm(new Ny("Method only works for ElkNode-, ElkLabel and ElkPort-objects."));return a=e.a/2,l=t.i+r-a,c=t.j+i-a,u=l+t.g+e.a,f=c+t.f+e.a,bN(o=new bv,new YE(l,c)),bN(o,new YE(l,f)),bN(o,new YE(u,f)),bN(o,new YE(u,c)),c3(s=new rfe(o),t),n&&eV(e.b,t,s),s}function rge(e){var t,n,r;ZP(e,(Kwe(),OQe))&&((r=LL(Fae(e,OQe),21)).dc()||(n=new WR(t=LL(Lx(get),9),LL(wD(t,t.length),9),0),r.Fc((Sfe(),net))?c1(n,net):c1(n,ret),r.Fc(eet)||c1(n,eet),r.Fc(J7e)?c1(n,aet):r.Fc(Q7e)?c1(n,oet):r.Fc(tet)&&c1(n,iet),r.Fc(aet)?c1(n,J7e):r.Fc(oet)?c1(n,Q7e):r.Fc(iet)&&c1(n,tet),S5(e,OQe,n)))}function ige(e){var t,n,r,i,o,a,s;for(i=LL(Fae(e,(hxe(),xXe)),10),MG(0,(r=e.j).c.length),n=LL(r.c[0],11),a=new td(i.j);a.a<a.c.c.length;)if(OI(o=LL(xW(a),11))===OI(Fae(n,OXe))){o.j==(hwe(),Det)&&e.p>i.p?(mue(o,Ket),o.d&&(s=o.o.b,t=o.a.b,o.a.b=s-t)):o.j==Ket&&i.p>e.p&&(mue(o,Det),o.d&&(s=o.o.b,t=o.a.b,o.a.b=-(s-t)));break}return i}function oge(e,t,n){var r,i,o,a,s,l,u,c;for(o=new YE(t,n),u=new td(e.a);u.a<u.c.c.length;)for(BD((l=LL(xW(u),10)).n,o),c=new td(l.j);c.a<c.c.c.length;)for(i=new td(LL(xW(c),11).g);i.a<i.c.c.length;)for(gJ((r=LL(xW(i),18)).a,o),(a=LL(Fae(r,(Kwe(),vQe)),74))&&gJ(a,o),s=new td(r.b);s.a<s.c.c.length;)BD(LL(xW(s),69).n,o)}function age(e,t,n){var r,i,o,a,s,l,u,c;for(o=new YE(t,n),u=new td(e.a);u.a<u.c.c.length;)for(BD((l=LL(xW(u),10)).n,o),c=new td(l.j);c.a<c.c.c.length;)for(i=new td(LL(xW(c),11).g);i.a<i.c.c.length;)for(gJ((r=LL(xW(i),18)).a,o),(a=LL(Fae(r,(Kwe(),vQe)),74))&&gJ(a,o),s=new td(r.b);s.a<s.c.c.length;)BD(LL(xW(s),69).n,o)}function sge(e,t,n){var r,i,o,a,s,l,u;if(null,u=t,z0(l=aq(e,iq(n),u),AU(u,IDe)),a=IU(u,bDe),function(e,t,n){var r,i,o;if(n)for(i=((r=new iF(n.a.length)).b-r.a)*r.c<0?(ik(),Qot):new kA(r);i.Ob();)(o=Zne(e,Pue(uQ(n,LL(i.Pb(),20).a))))&&(!t.b&&(t.b=new nR(nnt,t,4,7)),AK(t.b,o))}((r=new JE(e,l)).a,r.b,a),s=IU(u,vDe),function(e,t,n){var r,i,o;if(n)for(i=((r=new iF(n.a.length)).b-r.a)*r.c<0?(ik(),Qot):new kA(r);i.Ob();)(o=Zne(e,Pue(uQ(n,LL(i.Pb(),20).a))))&&(!t.c&&(t.c=new nR(nnt,t,5,8)),AK(t.c,o))}((i=new eI(e,l)).a,i.b,s),0==(!l.b&&(l.b=new nR(nnt,l,4,7)),l.b).i||0==(!l.c&&(l.c=new nR(nnt,l,5,8)),l.c).i)throw o=AU(u,IDe),Jm(new Yy(PDe+o+ODe));return oae(u,l),function(e,t,n){var r,i,o,a,s,l,u,c,f,h,d,p,g,m,b,v,y,w,x,_;for(d=t,h=new yH,p=new yH,s=IU(d,yDe),function(e,t,n,r,i){var o,a,s,l;if(i)for(l=((o=new iF(i.a.length)).b-o.a)*o.c<0?(ik(),Qot):new kA(o);l.Ob();)s=TU(i,LL(l.Pb(),20).a),ame((a=new t$(e,t,n,r)).a,a.b,a.c,a.d,s)}((r=new e$(e,n,h,p)).a,r.b,r.c,r.d,s),b=h.i,o=b||(h.i=new CA(h,h.c)),y=o.Ic();y.Ob();)for(v=LL(y.Pb(),201),u=LL(KX(h,v),21).Ic();u.Ob();){if(l=u.Pb(),!(g=LL(cJ(e.d,l),201)))throw i=AU(d,IDe),Jm(new Yy(DDe+l+RDe+i+ODe));!v.e&&(v.e=new nR(int,v,10,9)),AK(v.e,g)}for(m=p.i,a=m||(p.i=new CA(p,p.c)),x=a.Ic();x.Ob();)for(w=LL(x.Pb(),201),f=LL(KX(p,w),21).Ic();f.Ob();){if(c=f.Pb(),!(g=LL(cJ(e.d,c),201)))throw i=AU(d,IDe),Jm(new Yy(DDe+c+RDe+i+ODe));!w.g&&(w.g=new nR(int,w,9,10)),AK(w.g,g)}!n.b&&(n.b=new nR(nnt,n,4,7)),0!=n.b.i&&(!n.c&&(n.c=new nR(nnt,n,5,8)),0!=n.c.i)&&(!n.b&&(n.b=new nR(nnt,n,4,7)),n.b.i<=1&&(!n.c&&(n.c=new nR(nnt,n,5,8)),n.c.i<=1))&&1==(!n.a&&(n.a=new FF(int,n,6,6)),n.a).i&&(bne(_=LL(sJ((!n.a&&(n.a=new FF(int,n,6,6)),n.a),0),201))||vne(_)||(B0(_,LL(sJ((!n.b&&(n.b=new nR(nnt,n,4,7)),n.b),0),93)),V0(_,LL(sJ((!n.c&&(n.c=new nR(nnt,n,5,8)),n.c),0),93))))}(e,u,l),H5(e,u,l)}function lge(e,t,n,r,i,o,a){if(e.c=r.of().a,e.d=r.of().b,i&&(e.c+=i.of().a,e.d+=i.of().b),e.b=t.pf().a,e.a=t.pf().b,i)switch(i.Ef().g){case 0:case 2:e.c+=i.pf().a+a+o.a+a;break;case 4:e.c-=a+o.a+a+t.pf().a;break;case 1:e.c+=i.pf().a+a,e.d-=a+o.b+a+t.pf().b;break;case 3:e.c+=i.pf().a+a,e.d+=i.pf().b+a+o.b+a}else n?e.c-=a+t.pf().a:e.c+=r.pf().a+a}function uge(e,t){var n,r;for(this.b=new $m,this.e=new $m,this.a=e,this.d=t,function(e){var t;t=e.a;do{(t=LL(dX(new xF(BA(p9(t).a.Ic(),new p))),18).c.i).k==(mse(),qHe)&&e.b.Dc(t)}while(t.k==(mse(),qHe));e.b=M2(e.b)}(this),function(e){var t;t=e.a;do{(t=LL(dX(new xF(BA(g9(t).a.Ic(),new p))),18).d.i).k==(mse(),qHe)&&RL(e.e,t)}while(t.k==(mse(),qHe))}(this),this.b.dc()?this.c=e.c.p:this.c=LL(this.b.Xb(0),10).c.p,0==this.e.c.length?this.f=e.c.p:this.f=LL(JN(this.e,this.e.c.length-1),10).c.p,r=LL(Fae(e,(hxe(),GXe)),14).Ic();r.Ob();)if(ZP(n=LL(r.Pb(),69),(Kwe(),KZe))){this.d=LL(Fae(n,KZe),225);break}}function cge(e,t){var n,i,o;switch(qoe(t,"Breaking Point Insertion",1),i=new ofe(e),LL(Fae(e,(Kwe(),zJe)),335).g){case 2:o=new xo;case 0:o=new co;break;default:o=new _o}if(n=o.Sf(e,i),Ty(VO(Fae(e,VJe)))&&(n=function(e,t){var n,i,o,a,s,l,u,c,f,h,d,g,m,b,v,y,w,x;for(h=new $m,o=new $m,m=null,s=t.Ic();s.Ob();)a=new Jp(LL(s.Pb(),20).a),o.c[o.c.length]=a,m&&(a.d=m,m.e=a),m=a;for(w=function(e){var t,n,r,i,o,a,s,l,u;for(u=fK(nat,sSe,24,e.b.c.length+1,15,1),l=new Pb,r=0,o=new td(e.b);o.a<o.c.c.length;){for(i=LL(xW(o),29),u[r++]=l.a.gc(),s=new td(i.a);s.a<s.c.c.length;)for(n=new xF(BA(g9(LL(xW(s),10)).a.Ic(),new p));Zce(n);)t=LL(dX(n),18),l.a.xc(t,l);for(a=new td(i.a);a.a<a.c.c.length;)for(n=new xF(BA(p9(LL(xW(a),10)).a.Ic(),new p));Zce(n);)t=LL(dX(n),18),l.a.zc(t)}return u}(e),c=0;c<o.c.length;++c){for(d=null,b=bY((MG(0,o.c.length),LL(o.c[0],641))),n=null,i=RSe,f=1;f<e.b.c.length;++f)v=b?r.Math.abs(b.b-f):r.Math.abs(f-d.b)+1,(g=d?r.Math.abs(f-d.b):v+1)<v?(u=d,l=g):(u=b,l=v),x=Oy($O(Fae(e,(Kwe(),BJe)))),(y=w[f]+r.Math.pow(l,x))<i&&(i=y,(n=u).c=f),b&&f==b.b&&(d=b,b=TF(b));n&&(RL(h,k8(n.c)),n.a=!0,I8(n))}return v$(),Ij(h.c,h.c.length,null),h}(e,n)),!o.Tf()&&ZP(e,WJe))switch(LL(Fae(e,WJe),336).g){case 2:n=yue(i,n);break;case 1:n=lae(i,n)}n.dc()||function(e,t){var n,r,i,o,a,s,l,u,c,f,h,d,g,m,b,v,y,w,x,_,S,k,C,E,I,M,T;v=new eU(e.b,0),c=t.Ic(),g=0,u=LL(c.Pb(),20).a,x=0,n=new Pb,S=new qM;for(;v.b<v.d.gc();){for(EP(v.b<v.d.gc()),w=new td(LL(v.d.Xb(v.c=v.b++),29).a);w.a<w.c.c.length;){for(d=new xF(BA(g9(y=LL(xW(w),10)).a.Ic(),new p));Zce(d);)f=LL(dX(d),18),S.a.xc(f,S);for(h=new xF(BA(p9(y).a.Ic(),new p));Zce(h);)f=LL(dX(h),18),S.a.zc(f)}if(g+1==u){for(yD(v,i=new mB(e)),yD(v,o=new mB(e)),C=S.a.ec().Ic();C.Ob();)k=LL(C.Pb(),18),n.a._b(k)||(++x,n.a.xc(k,n)),S5(a=new Sne(e),(Kwe(),tJe),(joe(),wet)),OG(a,i),vh(a,(mse(),GHe)),DG(m=new Pse,a),mue(m,(hwe(),Qet)),DG(E=new Pse,a),mue(E,Oet),S5(r=new Sne(e),tJe,wet),OG(r,o),vh(r,GHe),DG(b=new Pse,r),mue(b,Qet),DG(I=new Pse,r),mue(I,Oet),PG(_=new N$,k.c),AG(_,m),PG(T=new N$,E),AG(T,b),PG(k,I),s=new qU(a,r,_,T,k),S5(a,(hxe(),eXe),s),S5(r,eXe,s),(M=_.c.i).k==GHe&&((l=LL(Fae(M,eXe),303)).d=s,s.g=l);if(!c.Ob())break;u=LL(c.Pb(),20).a}++g}k8(x)}(e,n),_se(t)}function fge(e,t,n){var r,i,o,a;if(r=QN(a8(k_e,uV(QN(a8(null==t?0:p4(t),C_e)),15))),a=QN(a8(k_e,uV(QN(a8(null==n?0:p4(n),C_e)),15))),(o=K1(e,t,r))&&a==o.f&&IB(n,o.i))return n;if(Z1(e,n,a))throw Jm(new Ny("value already present: "+n));return i=new XB(t,r,n,a),o?(ghe(e,o),_ue(e,i,o),o.e=null,o.c=null,o.i):(_ue(e,i,null),Cie(e),null)}function hge(e){switch(e.d){case 9:case 8:return!0;case 3:case 5:case 4:case 6:return!1;case 7:return LL(Pde(e),20).a==e.o;case 1:case 2:if(-2==e.o)return!1;switch(e.p){case 0:case 1:case 2:case 6:case 5:case 7:return z_(e.k,e.f);case 3:case 4:return e.j==e.e;default:return null==e.n?null==e.g:l8(e.n,e.g)}default:return!1}}function dge(e){var t,n,i,o,a,s,l,u,c,f,h;for(n=F_e,o=Dxe,l=new td(e.e.a);l.a<l.c.c.length;)a=LL(xW(l),119),o=r.Math.min(o,a.e),n=r.Math.max(n,a.e);for(t=fK(nat,sSe,24,n-o+1,15,1),s=new td(e.e.a);s.a<s.c.c.length;)(a=LL(xW(s),119)).e-=o,++t[a.e];if(i=0,null!=e.k)for(f=0,h=(c=e.k).length;f<h&&(u=c[f],t[i++]+=u,t.length!=i);++f);return t}function pge(e,t,n,r,i,o,a){var s;return s=!1,pbe(n,o-n.s,!1).a+pbe(r,o-n.s,!1).a<=t.b&&(pbe(n,o-n.s,!0),n.c=!0,pbe(r,o-n.s,!0),gne(r,n.s,n.t+n.d),r.k=!0,wq(n.q,r),s=!0,i&&(aW(t,r),r.j=t,e.c.length>a&&(Eee((MG(a,e.c.length),LL(e.c[a],180)),r),0==(MG(a,e.c.length),LL(e.c[a],180)).a.c.length&&eY(e,a)))),s}function gge(e){GS(e,new rae(Yw(Hw(Xw(Uw(new hs,SOe),"ELK Fixed"),"Keeps the current layout as it is, without any automatic modification. Optional coordinates can be given for nodes and edge bend points."),new Fs))),rU(e,SOe,qCe,z7e),rU(e,SOe,eAe,gte(B7e)),rU(e,SOe,eOe,gte(R7e)),rU(e,SOe,PTe,gte(L7e)),rU(e,SOe,WTe,gte(j7e)),rU(e,SOe,hOe,gte(N7e))}function mge(e,t,n){var r,i,o,a,s,l;if(t){if(n<=-1){if(BT(r=VQ(t.Og(),-1-n),97))return LL(r,17);for(s=0,l=(a=LL(t.Xg(r),152)).gc();s<l;++s)if(OI(a.el(s))===OI(e)&&BT(i=a.dl(s),97)&&0!=((o=LL(i,17)).Bb&YOe))return o;throw Jm(new jy("The containment feature could not be located"))}return yne(LL(VQ(e.Og(),n),17))}return null}function bge(e,t,n){var r,i,o,a,s,l,u,c,f,h,d;u=n.a.c,a=n.a.c+n.a.b,h=(o=LL(aB(n.c,t),453)).f,d=o.a,s=o.b?new YE(a,h):new YE(u,h),c=o.c?new YE(u,d):new YE(a,d),i=u,n.p||(i+=e.c),l=new YE(i+=n.F+n.v*e.b,h),f=new YE(i,d),y0(t.a,q3(lw(J6e,1),s_e,8,0,[s,l])),n.d.a.gc()>1&&(r=new YE(i,n.b),bN(t.a,r)),y0(t.a,q3(lw(J6e,1),s_e,8,0,[f,c]))}function vge(e,t){var n,r,i,o;if(qoe(t,"Node and Port Label Placement and Node Sizing",1),function(e){uJ(Yme(e),new Rd(e))}(new OV(e,!0,!0,new Wn)),LL(Fae(e,(hxe(),mXe)),21).Fc((Kde(),Tqe)))for(r=(i=LL(Fae(e,(Kwe(),iJe)),21)).Fc((iae(),Iet)),o=Ty(VO(Fae(e,oJe))),n=new td(e.b);n.a<n.c.c.length;)lS(_V(new cj(null,new ZG(LL(xW(n),29).a,16)),new Un),new QR(i,r,o));_se(t)}function yge(e,t,n,r){var i,o,a;return a=new C_(t,n),e.a?r?(++(i=LL(aB(e.b,t),282)).a,a.d=r.d,a.e=r.e,a.b=r,a.c=r,r.e?r.e.c=a:LL(aB(e.b,t),282).b=a,r.d?r.d.b=a:e.a=a,r.d=a,r.e=a):(e.e.b=a,a.d=e.e,e.e=a,(i=LL(aB(e.b,t),282))?(++i.a,(o=i.c).c=a,a.e=o,i.c=a):(eV(e.b,t,i=new O$(a)),++e.c)):(e.a=e.e=a,eV(e.b,t,new O$(a)),++e.c),++e.d,a}function wge(e,t){var n,r,i,o,a,s,l,u;for(n=new RegExp(t,"g"),l=fK(CFe,s_e,2,0,6,1),r=0,u=e,o=null;;){if(null==(s=n.exec(u))||""==u){l[r]=u;break}a=s.index,l[r]=u.substr(0,a),u=zP(u,a+s[0].length,u.length),n.lastIndex=0,o==u&&(l[r]=u.substr(0,1),u=u.substr(1)),o=u,++r}if(e.length>0){for(i=l.length;i>0&&""==l[i-1];)--i;i<l.length&&(l.length=i)}return l}function xge(e,t){var n,r,i,o,a,s,l,u;for(s=null,i=!1,o=0,l=pq((u=K$(t)).a).i;o<l;++o)(n=xge(e,LL(Jve(u,o,BT(a=LL(sJ(pq(u.a),o),86).c,87)?LL(a,26):(bxe(),Frt)),26))).dc()||(s?(i||(i=!0,s=new pj(s)),s.Ec(n)):s=n);return r=function(e,t){var n,r,i,o,a;for(!t.s&&(t.s=new FF(urt,t,21,17)),o=null,i=0,a=(r=t.s).i;i<a;++i)switch(ZB(FZ(e,n=LL(sJ(r,i),170)))){case 2:case 3:!o&&(o=new $m),o.c[o.c.length]=n}return o||(v$(),v$(),XFe)}(e,t),r.dc()?s||(v$(),v$(),XFe):s?(i||(s=new pj(s)),s.Ec(r),s):r}function _ge(e,t){var n,r,i,o,a,s,l,u;for(s=null,r=!1,o=0,l=pq((u=K$(t)).a).i;o<l;++o)(n=_ge(e,LL(Jve(u,o,BT(a=LL(sJ(pq(u.a),o),86).c,87)?LL(a,26):(bxe(),Frt)),26))).dc()||(s?(r||(r=!0,s=new pj(s)),s.Ec(n)):s=n);return i=function(e,t){var n,r,i,o,a;for(!t.s&&(t.s=new FF(urt,t,21,17)),o=null,i=0,a=(r=t.s).i;i<a;++i)switch(ZB(FZ(e,n=LL(sJ(r,i),170)))){case 4:case 5:case 6:!o&&(o=new $m),o.c[o.c.length]=n}return o||(v$(),v$(),XFe)}(e,t),i.dc()?s||(v$(),v$(),XFe):s?(r||(s=new pj(s)),s.Ec(i),s):i}function Sge(e,t,n){var r,i,o,a,s,l;if(BT(t,71))return Nte(e,t,n);for(s=null,o=null,r=LL(e.g,118),a=0;a<e.i;++a)if(l8(t,(i=r[a]).bd())&&BT(o=i.Xj(),97)&&0!=(LL(o,17).Bb&YOe)){s=i;break}return s&&(FM(e.e)&&(l=o.Vj()?cH(e,4,o,t,null,wbe(e,o,t,BT(o,97)&&0!=(LL(o,17).Bb&FSe)),!0):cH(e,o.Fj()?2:1,o,t,o.uj(),-1,!0),n?n.zi(l):n=l),n=Sge(e,s,n)),n}function kge(e,t,n){var r,i,o,a,s,l,u,c;for(qoe(n,rEe,1),e.cf(t),o=0;e.ef(o);){for(c=new td(t.e);c.a<c.c.c.length;)for(l=LL(xW(c),144),s=ZF(l0(q3(lw(yje,1),zxe,19,0,[t.e,t.d,t.b])));Zce(s);)(a=LL(dX(s),354))!=l&&(i=e.bf(a,l))&&BD(l.a,i);for(u=new td(t.e);u.a<u.c.c.length;)Vse(r=(l=LL(xW(u),144)).a,-e.d,-e.d,e.d,e.d),BD(l.d,r),nM(r);e.df(),++o}_se(n)}function Cge(e){GS(e,new rae(Yw(Hw(Xw(Uw(new hs,RPe),"ELK SPOrE Overlap Removal"),'A node overlap removal algorithm proposed by Nachmanson et al. in "Node overlap removal by growing a tree".'),new os))),rU(e,RPe,_Pe,gte(m6e)),rU(e,RPe,qCe,p6e),rU(e,RPe,gEe,8),rU(e,RPe,IPe,gte(g6e)),rU(e,RPe,APe,gte(h6e)),rU(e,RPe,PPe,gte(d6e)),rU(e,RPe,ITe,(_P(),!1))}function Ege(e){var t,n,i,o,a;if(e.d)throw Jm(new jy((FO(kHe),Mke+kHe.k+Tke)));for(e.c==(A8(),h7e)&&Wye(e,c7e),t=new td(e.a.a);t.a<t.c.c.length;)LL(xW(t),189).e=0;for(o=new td(e.a.b);o.a<o.c.c.length;)for((i=LL(xW(o),79)).o=LSe,n=i.f.Ic();n.Ob();)++LL(n.Pb(),79).d.e;for(function(e){var t,n,i,o,a,s,l,u,c,f,h,d,p,g,m;for(c=RSe,i=new td(e.a.b);i.a<i.c.c.length;)t=LL(xW(i),79),c=r.Math.min(c,t.d.f.g.c+t.e.a);for(p=new sS,s=new td(e.a.a);s.a<s.c.c.length;)(a=LL(xW(s),189)).i=c,0==a.e&&jq(p,a,p.c.b,p.c);for(;0!=p.b;){for(o=(a=LL(0==p.b?null:(EP(0!=p.b),lJ(p,p.a.a)),189)).f.g.c,d=a.a.a.ec().Ic();d.Ob();)f=LL(d.Pb(),79),m=a.i+f.e.a,f.d.g||f.g.c<m?f.o=m:f.o=f.g.c;for(o-=a.f.o,a.b+=o,e.c==(A8(),f7e)||e.c==u7e?a.c+=o:a.c-=o,h=a.a.a.ec().Ic();h.Ob();)for(u=(f=LL(h.Pb(),79)).f.Ic();u.Ob();)l=LL(u.Pb(),79),g=LM(e.c)?e.f.ff(f,l):e.f.gf(f,l),l.d.i=r.Math.max(l.d.i,f.o+f.g.b+g-l.e.a),l.k||(l.d.i=r.Math.max(l.d.i,l.g.c-l.e.a)),--l.d.e,0==l.d.e&&bN(p,l.d)}for(n=new td(e.a.b);n.a<n.c.c.length;)(t=LL(xW(n),79)).g.c=t.o}(e),a=new td(e.a.b);a.a<a.c.c.length;)LL(xW(a),79).k=!0;return e}function Ige(e,t,n,r){var i,o,a,s,l,u,c,f;for(a=nO(t.c,n,r),c=new td(t.a);c.a<c.c.c.length;){for(BD((u=LL(xW(c),10)).n,a),f=new td(u.j);f.a<f.c.c.length;)for(o=new td(LL(xW(f),11).g);o.a<o.c.c.length;)for(gJ((i=LL(xW(o),18)).a,a),(s=LL(Fae(i,(Kwe(),vQe)),74))&&gJ(s,a),l=new td(i.b);l.a<l.c.c.length;)BD(LL(xW(l),69).n,a);RL(e.a,u),u.a=e}}function Mge(e,t,n){var r,i,o,a,s;if(tk(),a=LL(t,65).Jj(),Ede(e.e,t)){if(t.ci()&&Jme(e,t,n,BT(t,97)&&0!=(LL(t,17).Bb&FSe)))return!1}else for(s=ade(e.e.Og(),t),r=LL(e.g,118),o=0;o<e.i;++o)if(i=r[o],s.ml(i.Xj()))return!(a?l8(i,n):null==n?null==i.bd():l8(n,i.bd()))&&(LL(Lte(e,o,a?LL(n,71):uq(t,n)),71),!0);return AK(e,a?LL(n,71):uq(t,n))}function Tge(e,t){var n,r,i,o,a,s,l,u;for(s=new hle(e),jq(n=new sS,t,n.c.b,n.c);0!=n.b;){for((r=LL(0==n.b?null:(EP(0!=n.b),lJ(n,n.a.a)),112)).d.p=1,a=new td(r.e);a.a<a.c.c.length;)eae(s,i=LL(xW(a),404)),0==(u=i.d).d.p&&jq(n,u,n.c.b,n.c);for(o=new td(r.b);o.a<o.c.c.length;)eae(s,i=LL(xW(o),404)),0==(l=i.c).d.p&&jq(n,l,n.c.b,n.c)}return s}function Age(e){var t,n,r,i,o;if(1!=(r=Oy($O(xfe(e,(fxe(),W9e))))))for(VM(e,r*e.g,r*e.f),n=function(e){return wz(e),new IM(e)}(function(e,t){return wz(e),wz(t),new hN(e,t)}((!e.c&&(e.c=new FF(fnt,e,9,9)),e.c),new qs)),o=ZF(l0(q3(lw(yje,1),zxe,19,0,[(!e.n&&(e.n=new FF(unt,e,1,7)),e.n),(!e.c&&(e.c=new FF(fnt,e,9,9)),e.c),n])));Zce(o);)(i=LL(dX(o),464)).Bg(r*i.yg(),r*i.zg()),i.Ag(r*i.xg(),r*i.wg()),(t=LL(i.Xe(A9e),8))&&(t.a*=r,t.b*=r)}function Pge(e,t,n){var r,i,o,a,s;for(o=0;o<t;o++){for(r=0,s=o+1;s<t;s++)r=o8(o8(a8(SH(e[o],HSe),SH(e[s],HSe)),SH(n[o+s],HSe)),SH(QN(r),HSe)),n[o+s]=QN(r),r=_N(r,32);n[o+t]=QN(r)}for(function(e,t,n){var r,i,o;for(r=0,i=0;i<n;i++)o=t[i],e[i]=o<<1|r,r=o>>>31;0!=r&&(e[n]=r)}(n,n,t<<1),r=0,i=0,a=0;i<t;++i,a++)r=o8(o8(a8(SH(e[i],HSe),SH(e[i],HSe)),SH(n[a],HSe)),SH(QN(r),HSe)),n[a]=QN(r),r=o8(r=_N(r,32),SH(n[++a],HSe)),n[a]=QN(r),r=_N(r,32);return n}function Oge(e,t,n,r){this.e=e,this.k=LL(Fae(e,(hxe(),qXe)),302),this.g=fK(KHe,YEe,10,t,0,1),this.b=fK(fFe,s_e,331,t,7,1),this.a=fK(KHe,YEe,10,t,0,1),this.d=fK(fFe,s_e,331,t,7,1),this.j=fK(KHe,YEe,10,t,0,1),this.i=fK(fFe,s_e,331,t,7,1),this.p=fK(fFe,s_e,331,t,7,1),this.n=fK(oFe,s_e,470,t,8,1),mk(this.n,(_P(),!1)),this.f=fK(oFe,s_e,470,t,8,1),mk(this.f,!0),this.o=n,this.c=r}function Dge(e,t){var n,r,i;if(!t.dc())if(LL(t.Xb(0),285).d==(xle(),xUe))pie(e,t);else for(r=t.Ic();r.Ob();){switch((n=LL(r.Pb(),285)).d.g){case 5:sle(e,n,N9(e,n));break;case 0:sle(e,n,(i=(n.f-n.c+1-1)/2|0,n.c+i));break;case 4:sle(e,n,xQ(e,n));break;case 2:L7(n),sle(e,n,Soe(n)?n.c:n.f);break;case 1:L7(n),sle(e,n,Soe(n)?n.f:n.c)}Eae(n.a)}}function Rge(e,t,n,i,o,a){var s,l,u,c,f,h,d,p,g,m,b,v,y;for(l=(i+o)/2+a,m=n*r.Math.cos(l),b=n*r.Math.sin(l),v=m-t.g/2,y=b-t.f/2,UJ(t,v),qJ(t,y),h=e.a.eg(t),(g=2*r.Math.acos(n/n+e.c))<o-i?(d=g/h,s=(i+o-g)/2):(d=(o-i)/h,s=i),p=Zde(t),e.e&&(e.e.fg(e.d),e.e.gg(p)),c=new td(p);c.a<c.c.c.length;)u=LL(xW(c),34),f=e.a.eg(u),Rge(e,u,n+e.c,s,s+d*f,a),s+=d*f}function Lge(e,t){var n,r,i,o;if(qoe(t,"Network simplex",1),e.e.a.c.length<1)_se(t);else{for(i=new td(e.e.a);i.a<i.c.c.length;)LL(xW(i),119).e=0;for((o=e.e.a.c.length>=40)&&function(e){var t,n,r,i,o,a,s;for(e.o=new Vm,r=new sS,a=new td(e.e.a);a.a<a.c.c.length;)1==A9(o=LL(xW(a),119)).c.length&&jq(r,o,r.c.b,r.c);for(;0!=r.b;)0!=A9(o=LL(0==r.b?null:(EP(0!=r.b),lJ(r,r.a.a)),119)).c.length&&(t=LL(JN(A9(o),0),211),n=o.g.a.c.length>0,s=k9(t,o),gP(n?s.b:s.g,t),1==A9(s).c.length&&jq(r,s,r.c.b,r.c),i=new KE(o,t),FU(e.o,i),yZ(e.e.a,o))}(e),function(e){var t,n,r,i,o,a,s,l,u,c;for(u=e.e.a.c.length,o=new td(e.e.a);o.a<o.c.c.length;)LL(xW(o),119).j=!1;for(e.i=fK(nat,sSe,24,u,15,1),e.g=fK(nat,sSe,24,u,15,1),e.n=new $m,i=0,c=new $m,s=new td(e.e.a);s.a<s.c.c.length;)(a=LL(xW(s),119)).d=i++,0==a.b.a.c.length&&RL(e.n,a),L3(c,a.g);for(t=0,r=new td(c);r.a<r.c.c.length;)(n=LL(xW(r),211)).c=t++,n.f=!1;l=c.c.length,null==e.b||e.b.length<l?(e.b=fK(aat,BSe,24,l,15,1),e.c=fK(rat,Kke,24,l,16,1)):$y(e.c);e.d=c,e.p=new tP(HQ(e.d.c.length)),e.j=1}(e),_de(e),n=L8(e),r=0;n&&r<e.f;)Fge(e,n,_fe(e,n)),n=L8(e),++r;o&&function(e){for(var t,n,r,i;!Hy(e.o);)n=LL(fz(e.o),46),r=LL(n.a,119),i=k9(t=LL(n.b,211),r),t.e==r?(pP(i.g,t),r.e=i.e+t.a):(pP(i.b,t),r.e=i.e-t.a),RL(e.e.a,r)}(e),e.a?function(e,t){var n,r,i,o,a;for(a=null,o=new td(e.e.a);o.a<o.c.c.length;)if((i=LL(xW(o),119)).b.a.c.length==i.g.a.c.length){for(r=i.e,a=Jse(i),n=i.e-LL(a.a,20).a+1;n<i.e+LL(a.b,20).a;n++)t[n]<t[r]&&(r=n);t[r]<t[i.e]&&(--t[i.e],++t[r],i.e=r)}}(e,dge(e)):dge(e),e.b=null,e.d=null,e.p=null,e.c=null,e.g=null,e.i=null,e.n=null,e.o=null,_se(t)}}function Nge(e,t,n,r){var i,o,a,s,l,u,c,f;for(VD(s=new YE(n,r),LL(Fae(t,(y1(),V$e)),8)),f=new td(t.e);f.a<f.c.c.length;)BD((c=LL(xW(f),144)).d,s),RL(e.e,c);for(a=new td(t.c);a.a<a.c.c.length;){for(i=new td((o=LL(xW(a),281)).a);i.a<i.c.c.length;)BD(LL(xW(i),552).d,s);RL(e.c,o)}for(u=new td(t.d);u.a<u.c.c.length;)BD((l=LL(xW(u),441)).d,s),RL(e.d,l)}function jge(e,t){var n,r,i,o,a,s,l,u;for(l=new td(t.j);l.a<l.c.c.length;)for(i=new fY((s=LL(xW(l),11)).b);CT(i.a)||CT(i.b);)t!=(o=(n=(r=LL(CT(i.a)?xW(i.a):xW(i.b),18)).c==s?r.d:r.c).i)&&((u=LL(Fae(r,(Kwe(),cJe)),20).a)<0&&(u=0),a=o.p,0==e.b[a]&&(r.d==n?(e.a[a]-=u+1,e.a[a]<=0&&e.c[a]>0&&bN(e.e,o)):(e.c[a]-=u+1,e.c[a]<=0&&e.a[a]>0&&bN(e.d,o))))}function Fge(e,t,n){var r,i,o;if(!t.f)throw Jm(new Ny("Given leave edge is no tree edge."));if(n.f)throw Jm(new Ny("Given enter edge is a tree edge already."));for(t.f=!1,nA(e.p,t),n.f=!0,uz(e.p,n),r=n.e.e-n.d.e-n.a,pue(e,n.e,t)||(r=-r),o=new td(e.e.a);o.a<o.c.c.length;)pue(e,i=LL(xW(o),119),t)||(i.e+=r);e.j=1,$y(e.c),Rue(e,LL(xW(new td(e.e.a)),119)),lye(e)}function zge(e,t,n){var r,i,o,a,s,l,u,c,f;for(o=new LY(t.c.length),u=new td(t);u.a<u.c.c.length;)a=LL(xW(u),10),RL(o,e.b[a.c.p][a.p]);for(!function(e,t,n){var r,i,o,a,s,l,u,c,f,h,d;for(s=new td(t);s.a<s.c.c.length;)(o=LL(xW(s),232)).e=null,o.c=0;for(l=null,a=new td(t);a.a<a.c.c.length;)if(f=(o=LL(xW(a),232)).d[0],!n||f.k==(mse(),XHe)){for(d=LL(Fae(f,(hxe(),_Xe)),14).Ic();d.Ob();)h=LL(d.Pb(),10),n&&h.k!=(mse(),XHe)||((!o.e&&(o.e=new $m),o.e).Dc(e.b[h.c.p][h.p]),++e.b[h.c.p][h.p].c);if(!n&&f.k==(mse(),XHe)){if(l)for(c=LL(KX(e.d,l),21).Ic();c.Ob();)for(u=LL(c.Pb(),10),i=LL(KX(e.d,f),21).Ic();i.Ob();)r=LL(i.Pb(),10),rL(e.b[u.c.p][u.p]).Dc(e.b[r.c.p][r.p]),++e.b[r.c.p][r.p].c;l=f}}}(e,o,n),f=null;f=Tye(o);)lbe(e,LL(f.a,232),LL(f.b,232),o);for(t.c=fK(pje,zxe,1,0,5,1),i=new td(o);i.a<i.c.c.length;)for(l=0,c=(s=(r=LL(xW(i),232)).d).length;l<c;++l)a=s[l],t.c[t.c.length]=a,e.a[a.c.p][a.p].a=lA(r.g,r.d[0]).a}function Bge(e,t){var n,r,i,o;if(0<(BT(e,15)?LL(e,15).gc():DU(e.Ic()))){if(1<(i=t)){for(--i,o=new ga,r=e.Ic();r.Ob();)n=LL(r.Pb(),83),o=l0(q3(lw(yje,1),zxe,19,0,[o,new _g(n)]));return Bge(o,i)}if(i<0){for(o=new ma,r=e.Ic();r.Ob();)n=LL(r.Pb(),83),o=l0(q3(lw(yje,1),zxe,19,0,[o,new _g(n)]));if(0<(BT(o,15)?LL(o,15).gc():DU(o.Ic())))return Bge(o,i)}}return LL(tA(e.Ic()),83)}function Vge(){Vge=S,ptt=new jE("DEFAULT_MINIMUM_SIZE",0),mtt=new jE("MINIMUM_SIZE_ACCOUNTS_FOR_PADDING",1),dtt=new jE("COMPUTE_PADDING",2),btt=new jE("OUTSIDE_NODE_LABELS_OVERHANG",3),vtt=new jE("PORTS_OVERHANG",4),wtt=new jE("UNIFORM_PORT_SPACING",5),ytt=new jE("SPACE_EFFICIENT_PORT_LABELS",6),gtt=new jE("FORCE_TABULAR_NODE_LABELS",7),htt=new jE("ASYMMETRICAL",8)}function $ge(e,t){var n,r,i,o,a,s,l,u;if(t){if(n=(o=t.Og())?mJ(o).Ih().Eh(o):null){for(ste(e,t,n),l=0,u=(null==(i=t.Og()).i&&Kme(i),i.i).length;l<u;++l)null==i.i&&Kme(i),r=i.i,(s=l>=0&&l<r.length?r[l]:null).Dj()&&!s.Ej()&&(BT(s,321)?qte(e,LL(s,32),t,n):0!=((a=LL(s,17)).Bb&YOe)&&doe(e,a,t,n));t.fh()&&LL(n,48).qh(LL(t,48).lh())}return n}return null}function Hge(e,t,n){var r,i,o,a;if(null==e)throw Jm(new fw($xe));for(r=(o=e.length)>0&&(TG(0,e.length),45==e.charCodeAt(0)||(TG(0,e.length),43==e.charCodeAt(0)))?1:0;r<o;r++)if(-1==dee((TG(r,e.length),e.charCodeAt(r))))throw Jm(new fw(DSe+e+'"'));if(i=(a=parseInt(e,10))<t,isNaN(a))throw Jm(new fw(DSe+e+'"'));if(i||a>n)throw Jm(new fw(DSe+e+'"'));return a}function Gge(e,t,n,r){var i,o,a,s,l,u,c,f,h,d;if(function(e,t,n){var r,i,o;for(i=t[n],r=0;r<i.length;r++)o=i[r],e.e[o.c.p][o.p]=r}(e,t,n),o=t[n],d=r?(hwe(),Qet):(hwe(),Oet),function(e,t,n){return n?0!=t:t!=e-1}(t.length,n,r)){for(gY(e,i=t[r?n-1:n+1],r?(E0(),L0e):(E0(),R0e)),c=0,h=(l=o).length;c<h;++c)jne(e,a=l[c],d);for(gY(e,o,r?(E0(),R0e):(E0(),L0e)),u=0,f=(s=i).length;u<f;++u)(a=s[u]).e||jne(e,a,B8(d))}else for(u=0,f=(s=o).length;u<f;++u)jne(e,a=s[u],d);return!1}function Wge(e,t,n,r){var i,o,a,s,l;s=i9(t,n),(n==(hwe(),Ket)||n==Qet)&&(s=BT(s,151)?QX(LL(s,151)):BT(s,131)?LL(s,131).a:BT(s,53)?new ry(s):new O_(s)),a=!1;do{for(i=!1,o=0;o<s.gc()-1;o++)Jae(e,LL(s.Xb(o),11),LL(s.Xb(o+1),11),r)&&(a=!0,_W(e.a,LL(s.Xb(o),11),LL(s.Xb(o+1),11)),l=LL(s.Xb(o+1),11),s.Zc(o+1,LL(s.Xb(o),11)),s.Zc(o,l),i=!0)}while(i);return a}function Uge(e,t){var n,r,i,o,a,s;if((s=LL(Fae(t,(Kwe(),tJe)),100))==(joe(),yet)||s==vet)for(i=new YE(t.f.a+t.d.b+t.d.c,t.f.b+t.d.d+t.d.a).b,a=new td(e.a);a.a<a.c.c.length;)(o=LL(xW(a),10)).k==(mse(),WHe)&&((n=LL(Fae(o,(hxe(),dXe)),61))!=(hwe(),Oet)&&n!=Qet||(r=Oy($O(Fae(o,VXe))),s==yet&&(r*=i),o.n.b=r-LL(Fae(o,JQe),8).b,x3(o,!1,!0)))}function qge(e){var t,n,i,o,a,s,l,u;for(u=new Hm,t=new Rb,s=e.Ic();s.Ob();)o=LL(s.Pb(),10),l=dP(vS(new jb,o),t),eue(u.f,o,l);for(a=e.Ic();a.Ob();)for(i=new xF(BA(g9(o=LL(a.Pb(),10)).a.Ic(),new p));Zce(i);)NX(n=LL(dX(i),18))||Yhe(mS(gS(pS(bS(new Nb,r.Math.max(1,LL(Fae(n,(Kwe(),fJe)),20).a)),1),LL(aB(u,n.c.i),119)),LL(aB(u,n.d.i),119)));return t}function Xge(){Xge=S,i2e=jN(new wU,(zae(),pHe),(pxe(),zGe)),a2e=jN(new wU,dHe,HGe),s2e=Qj(jN(new wU,dHe,rWe),gHe,nWe),r2e=Qj(jN(jN(new wU,dHe,DGe),pHe,RGe),gHe,LGe),l2e=_ee(_ee(Gk(Qj(jN(new wU,fHe,dWe),gHe,hWe),pHe),fWe),pWe),o2e=Qj(new wU,gHe,BGe),t2e=Qj(jN(jN(jN(new wU,hHe,UGe),pHe,XGe),pHe,YGe),gHe,qGe),n2e=Qj(jN(jN(new wU,pHe,YGe),pHe,MGe),gHe,IGe)}function Yge(e){switch(e){case 100:return yxe(qNe,!0);case 68:return yxe(qNe,!1);case 119:return yxe(XNe,!0);case 87:return yxe(XNe,!1);case 115:return yxe(YNe,!0);case 83:return yxe(YNe,!1);case 99:return yxe(KNe,!0);case 67:return yxe(KNe,!1);case 105:return yxe(ZNe,!0);case 73:return yxe(ZNe,!1);default:throw Jm(new sy(UNe+e.toString(16)))}}function Kge(e,t,n,r,i){n&&(!r||(e.c-e.b&e.a.length-1)>1)&&1==t&&LL(e.a[e.b],10).k==(mse(),UHe)?Mme(LL(e.a[e.b],10),(Yre(),U7e)):r&&(!n||(e.c-e.b&e.a.length-1)>1)&&1==t&&LL(e.a[e.c-1&e.a.length-1],10).k==(mse(),UHe)?Mme(LL(e.a[e.c-1&e.a.length-1],10),(Yre(),q7e)):2==(e.c-e.b&e.a.length-1)?(Mme(LL(O5(e),10),(Yre(),U7e)),Mme(LL(O5(e),10),q7e)):function(e,t){var n,r,i,o,a,s,l,u,c;for(l=$P(e.c-e.b&e.a.length-1),u=null,c=null,o=new iV(e);o.a!=o.b;)i=LL(T6(o),10),n=(s=LL(Fae(i,(hxe(),IXe)),11))?s.i:null,r=(a=LL(Fae(i,MXe),11))?a.i:null,u==n&&c==r||(vfe(l,t),u=n,c=r),l.c[l.c.length]=i;vfe(l,t)}(e,i),yq(e)}function Zge(e,t,n){var r,i,o,a;if(t[0]>=e.length)return n.o=0,!0;switch(dV(e,t[0])){case 43:i=1;break;case 45:i=-1;break;default:return n.o=0,!0}if(++t[0],o=t[0],0==(a=Kue(e,t))&&t[0]==o)return!1;if(t[0]<e.length&&58==dV(e,t[0])){if(r=60*a,++t[0],o=t[0],0==(a=Kue(e,t))&&t[0]==o)return!1;r+=a}else(r=a)<24&&t[0]-o<=2?r*=60:r=r%100+60*(r/100|0);return r*=i,n.o=-r,!0}function Qge(e){var t,n,r,i,o,a,s;for(i=new $m,r=new xF(BA(g9(e.b).a.Ic(),new p));Zce(r);)NX(n=LL(dX(r),18))&&RL(i,new pY(n,FK(e,n.c),FK(e,n.d)));for(s=new Uh(new Wh(e.e).a.tc().Ic());s.a.Ob();)t=LL(s.a.Pb(),43),(o=LL(t.bd(),112)).d.p=0;for(a=new Uh(new Wh(e.e).a.tc().Ic());a.a.Ob();)t=LL(a.a.Pb(),43),0==(o=LL(t.bd(),112)).d.p&&RL(e.d,Tge(e,o))}function Jge(e,t,n,r){var i,o,a,s,l;return a=e.$g(),i=null,(l=e.Ug())?t&&0==(mge(e,t,n).Bb&FSe)?(r=Nte(l.Qk(),e,r),e.ph(null),i=t._g()):l=null:(a&&(l=a._g()),t&&(i=t._g())),l!=i&&l&&l.Uk(e),s=e.Qg(),e.Mg(t,n),l!=i&&i&&i.Tk(e),e.Gg()&&e.Hg()&&(a&&s>=0&&s!=n&&(o=new NF(e,1,s,a,null),r?r.zi(o):r=o),n>=0&&(o=new NF(e,1,n,s==n?a:null,t),r?r.zi(o):r=o)),r}function eme(e){var t,n,r;if(null==e.b){if(r=new hw,null!=e.i&&(HI(r,e.i),r.a+=":"),0!=(256&e.f)){for(0!=(256&e.f)&&null!=e.a&&(function(e){return null!=e&&$_(Wnt,e.toLowerCase())}(e.i)||(r.a+="//"),HI(r,e.a)),null!=e.d&&(r.a+="/",HI(r,e.d)),0!=(16&e.f)&&(r.a+="/"),t=0,n=e.j.length;t<n;t++)0!=t&&(r.a+="/"),HI(r,e.j[t]);null!=e.g&&(r.a+="?",HI(r,e.g))}else HI(r,e.a);null!=e.e&&(r.a+="#",HI(r,e.e)),e.b=r.a}return e.b}function tme(e,t,n){var r,i,o,a,s;qoe(n,"Minimize Crossings "+e.a,1),r=0==t.b.c.length||!zx(_V(new cj(null,new ZG(t.b,16)),new gd(new Lo))).sd((xS(),Fze)),s=1==t.b.c.length&&1==LL(JN(t.b,0),29).a.c.length,o=OI(Fae(t,(Kwe(),uQe)))===OI((P8(),$7e)),r||s&&!o||(function(e,t){var n,r;for(r=cte(e,0);r.b!=r.d.c;)(n=LL(BU(r),231)).e.length>0&&(t.td(n),n.i&&E8(n))}(i=cde(e,t),(a=LL(bte(i,0),231)).c.Of()?a.c.If()?new ng(e):new rg(e):new tg(e)),function(e){var t,n,r;for(r=new td(e.b);r.a<r.c.c.length;)(t=(n=LL(xW(r),231)).c.Of()?n.f:n.a)&&Nve(t,n.j)}(e)),_se(n)}function nme(e,t,n){var i,o,a,s,l,u,c,f;if(!OU(t)){for(u=Oy($O(T7(n.c,(Kwe(),OJe)))),!(c=LL(T7(n.c,PJe),141))&&(c=new av),i=n.a,o=null,l=t.Ic();l.Ob();)s=LL(l.Pb(),11),f=0,o?(f=u,f+=o.o.b):f=c.d,a=dP(vS(new jb,s),e.f),eV(e.k,s,a),Yhe(mS(gS(pS(bS(new Nb,0),IH(r.Math.ceil(f))),i),a)),o=s,i=a;Yhe(mS(gS(pS(bS(new Nb,0),IH(r.Math.ceil(c.a+o.o.b))),i),n.d))}}function rme(e,t,n){var r,i,o,a,s;if(0==t.p){for(t.p=1,(i=n)||(i=new KE(new $m,new WR(r=LL(Lx(att),9),LL(wD(r,r.length),9),0))),LL(i.a,14).Dc(t),t.k==(mse(),WHe)&&LL(i.b,21).Dc(LL(Fae(t,(hxe(),dXe)),61)),a=new td(t.j);a.a<a.c.c.length;)for(o=LL(xW(a),11),s=ZF(l0(q3(lw(yje,1),zxe,19,0,[new Qd(o),new ep(o)])));Zce(s);)rme(e,LL(dX(s),11).i,i);return i}return null}function ime(e,t){var n,r,i,o,a;if(e.Ab)if(e.Ab){if((a=e.Ab.i)>0)if(i=LL(e.Ab.g,1906),null==t){for(o=0;o<a;++o)if(null==(n=i[o]).d)return n}else for(o=0;o<a;++o)if(fR(t,(n=i[o]).d))return n}else if(null==t){for(r=new SA(e.Ab);r.e!=r.i.gc();)if(null==(n=LL(Hee(r),581)).d)return n}else for(r=new SA(e.Ab);r.e!=r.i.gc();)if(fR(t,(n=LL(Hee(r),581)).d))return n;return null}function ome(e,t){var n,r,i,o,a,s,l;if(null==(l=VO(Fae(t,(xse(),y3e))))||(wB(l),l)){for(function(e,t){var n,r,i,o,a;for(i=t.b.b,e.a=fK(xje,ZCe,14,i,0,1),e.b=fK(rat,Kke,24,i,16,1),a=cte(t.b,0);a.b!=a.d.c;)o=LL(BU(a),83),e.a[o.g]=new sS;for(r=cte(t.a,0);r.b!=r.d.c;)n=LL(BU(r),188),e.a[n.b.g].Dc(n),e.a[n.c.g].Dc(n)}(e,t),i=new $m,s=cte(t.b,0);s.b!=s.d.c;)(n=kle(e,LL(BU(s),83),null))&&(c3(n,t),i.c[i.c.length]=n);if(e.a=null,e.b=null,i.c.length>1)for(r=new td(i);r.a<r.c.c.length;)for(o=0,a=cte((n=LL(xW(r),135)).b,0);a.b!=a.d.c;)LL(BU(a),83).g=o++;return i}return JX(q3(lw(R2e,1),QCe,135,0,[t]))}function ame(e,t,n,r,i){var a,s,l,u,c,f,h,d,p,g,m,b,v;p=function(e,t,n){var r;return r=oee(n),fge(e.d,r,t),eV(e.e,t,n),t}(e,o5(t),i),n1(p,AU(i,IDe)),o=null,m=MU(g=i,ADe),function(e,t){var n,r;if(!t)throw Jm(new Yy("All edge sections need a start point."));n=o0(t,"x"),XJ(new Wg(e).a,(wB(n),n)),r=o0(t,"y"),QJ(new Ug(e).a,(wB(r),r))}(new Hg(p).a,m),b=MU(g,"endPoint"),function(e,t){var n,r;if(!t)throw Jm(new Yy("All edge sections need an end point."));n=o0(t,"x"),KJ(new Xg(e).a,(wB(n),n)),r=o0(t,"y"),ZJ(new Yg(e).a,(wB(r),r))}(new qg(p).a,b),v=IU(g,wDe),function(e,t){var n,r,i;if(t)for(i=((n=new iF(t.a.length)).b-n.a)*n.c<0?(ik(),Qot):new kA(n);i.Ob();)r=TU(t,LL(i.Pb(),20).a),yV(new Zg(e).a,r)}(new Kg(p).a,v),h=AU(i,_De),function(e,t,n){null!=n&&B0(t,Zne(e,n))}((a=new tI(e,p)).a,a.b,h),d=AU(i,xDe),function(e,t,n){null!=n&&V0(t,Zne(e,n))}((s=new nI(e,p)).a,s.b,d),c=IU(i,kDe),function(e,t,n){var r,i;if(n)for(i=((r=new iF(n.a.length)).b-r.a)*r.c<0?(ik(),Qot):new kA(r);i.Ob();)Yue(e,t,Pue(uQ(n,LL(i.Pb(),20).a)))}((l=new rI(n,p)).b,l.a,c),f=IU(i,SDe),function(e,t,n){var r,i;if(n)for(i=((r=new iF(n.a.length)).b-r.a)*r.c<0?(ik(),Qot):new kA(r);i.Ob();)Yue(e,t,Pue(uQ(n,LL(i.Pb(),20).a)))}((u=new iI(r,p)).b,u.a,f)}function sme(e,t,n){var r,i,o,a,s;switch(s=null,t.g){case 1:for(i=new td(e.j);i.a<i.c.c.length;)if(Ty(VO(Fae(r=LL(xW(i),11),(hxe(),vXe)))))return r;S5(s=new Pse,(hxe(),vXe),(_P(),!0));break;case 2:for(a=new td(e.j);a.a<a.c.c.length;)if(Ty(VO(Fae(o=LL(xW(a),11),(hxe(),FXe)))))return o;S5(s=new Pse,(hxe(),FXe),(_P(),!0))}return s&&(DG(s,e),mue(s,n),function(e,t,n){switch(n.g){case 1:e.a=t.a/2,e.b=0;break;case 2:e.a=t.a,e.b=t.b/2;break;case 3:e.a=t.a/2,e.b=t.b;break;case 4:e.a=0,e.b=t.b/2}}(s.n,e.o,n)),s}function lme(e,t){var n,i,o,a,s,l;for(l=-1,s=new sS,i=new fY(e.b);CT(i.a)||CT(i.b);){for(n=LL(CT(i.a)?xW(i.a):xW(i.b),18),l=r.Math.max(l,Oy($O(Fae(n,(Kwe(),sQe))))),n.c==e?lS(_V(new cj(null,new ZG(n.b,16)),new sn),new cp(s)):lS(_V(new cj(null,new ZG(n.b,16)),new ln),new fp(s)),a=cte(s,0);a.b!=a.d.c;)ZP(o=LL(BU(a),69),(hxe(),uXe))||S5(o,uXe,n);L3(t,s),s$(s)}return l}function ume(e,t,n,r,i){var o,a,s,l;vh(o=new Sne(e),(mse(),YHe)),S5(o,(Kwe(),tJe),(joe(),vet)),S5(o,(hxe(),OXe),t.c.i),S5(a=new Pse,OXe,t.c),mue(a,i),DG(a,o),S5(t.c,BXe,o),vh(s=new Sne(e),YHe),S5(s,tJe,vet),S5(s,OXe,t.d.i),S5(l=new Pse,OXe,t.d),mue(l,i),DG(l,s),S5(t.d,BXe,s),PG(t,a),AG(t,l),GH(0,n.c.length),nE(n.c,0,o),r.c[r.c.length]=s,S5(o,iXe,k8(1)),S5(s,iXe,k8(1))}function cme(e,t,n,i,o){var a,s,l,u,c;l=o?i.b:i.a,X_(e.a,i)||(c=l>n.s&&l<n.c,u=!1,0!=n.e.b&&0!=n.j.b&&(u|=r.Math.abs(l-Oy($O(GP(n.e))))<uEe&&r.Math.abs(l-Oy($O(GP(n.j))))<uEe,u|=r.Math.abs(l-Oy($O(HP(n.e))))<uEe&&r.Math.abs(l-Oy($O(HP(n.j))))<uEe),(c||u)&&((s=LL(Fae(t,(Kwe(),vQe)),74))||(s=new bv,S5(t,vQe,s)),jq(s,a=new lT(i),s.c.b,s.c),uz(e.a,a)))}function fme(e,t,n,r){var i,o,a,s,l,u,c;if(function(e,t,n,r){var i,o,a,s,l,u;for(i=0;i<t.o;i++)for(o=i-t.j+n,a=0;a<t.p;a++)if(l=o,u=s=a-t.k+r,l+=e.j,u+=e.k,l>=0&&u>=0&&l<e.o&&u<e.p&&(!une(t,i,a)&&fne(e,o,s)||lne(t,i,a)&&!hne(e,o,s)))return!0;return!1}(e,t,n,r))return!0;for(a=new td(t.f);a.a<a.c.c.length;){switch(o=LL(xW(a),323),s=!1,u=(l=e.j-t.j+n)+t.o,i=(c=e.k-t.k+r)+t.p,o.a.g){case 0:s=C4(e,l+o.b.a,0,l+o.c.a,c-1);break;case 1:s=C4(e,u,c+o.b.a,e.o-1,c+o.c.a);break;case 2:s=C4(e,l+o.b.a,i,l+o.c.a,e.p-1);break;default:s=C4(e,0,c+o.b.a,l-1,c+o.c.a)}if(s)return!0}return!1}function hme(e){GS(e,new rae(Yw(Hw(Xw(Uw(new hs,KPe),"ELK Box"),"Algorithm for packing of unconnected boxes, i.e. graphs without edges."),new js))),rU(e,KPe,qCe,b8e),rU(e,KPe,gEe,15),rU(e,KPe,pEe,k8(0)),rU(e,KPe,gPe,gte(f8e)),rU(e,KPe,PTe,gte(d8e)),rU(e,KPe,OTe,gte(g8e)),rU(e,KPe,UCe,YPe),rU(e,KPe,yEe,gte(h8e)),rU(e,KPe,WTe,gte(p8e)),rU(e,KPe,ZPe,gte(u8e)),rU(e,KPe,GTe,gte(c8e))}function dme(e,t){var n,r,i,o,a,s,l,u,c;if(a=(i=e.i).o.a,o=i.o.b,a<=0&&o<=0)return hwe(),Zet;switch(u=e.n.a,c=e.n.b,s=e.o.a,n=e.o.b,t.g){case 2:case 1:if(u<0)return hwe(),Qet;if(u+s>a)return hwe(),Oet;break;case 4:case 3:if(c<0)return hwe(),Det;if(c+n>o)return hwe(),Ket}return(l=(u+s/2)/a)+(r=(c+n/2)/o)<=1&&l-r<=0?(hwe(),Qet):l+r>=1&&l-r>=0?(hwe(),Oet):r<.5?(hwe(),Det):(hwe(),Ket)}function pme(e){var t,n,i,o,a,s;return c3(i=new R0,e),OI(Fae(i,(Kwe(),qZe)))===OI((A8(),h7e))&&S5(i,qZe,a9(i)),null==Fae(i,(TY(),K6e))&&(s=LL(Lae(e),160),S5(i,K6e,qI(s.Xe(K6e)))),S5(i,(hxe(),OXe),e),S5(i,mXe,new WR(t=LL(Lx(Vqe),9),LL(wD(t,t.length),9),0)),o=function(e,t){var n,i,o,a,s,l,u,c,f,h,d,p,g,m,b,v,y;for(EV(h=new Jye(e),!0,!(t==(A8(),d7e)||t==u7e)),f=h.a,d=new sv,nJ(),o=q3(lw(OBe,1),A_e,230,0,[MBe,TBe,ABe]),s=0,u=o.length;s<u;++s)n=o[s],(c=rA(f,MBe,n))&&(d.d=r.Math.max(d.d,c.Re()));for(i=q3(lw(OBe,1),A_e,230,0,[MBe,TBe,ABe]),a=0,l=i.length;a<l;++a)n=i[a],(c=rA(f,ABe,n))&&(d.a=r.Math.max(d.a,c.Re()));for(g=q3(lw(OBe,1),A_e,230,0,[MBe,TBe,ABe]),b=0,y=g.length;b<y;++b)(c=rA(f,g[b],MBe))&&(d.b=r.Math.max(d.b,c.Se()));for(p=q3(lw(OBe,1),A_e,230,0,[MBe,TBe,ABe]),m=0,v=p.length;m<v;++m)(c=rA(f,p[m],ABe))&&(d.c=r.Math.max(d.c,c.Se()));d.d>0&&(d.d+=f.n.d,d.d+=f.d);d.a>0&&(d.a+=f.n.a,d.a+=f.d);d.b>0&&(d.b+=f.n.b,d.b+=f.d);d.c>0&&(d.c+=f.n.c,d.c+=f.d);return d}((rG(e)&&new _y(rG(e)),new PP(rG(e)?new _y(rG(e)):null,e)),f7e),a=LL(Fae(i,GQe),115),qH(n=i.d,a),qH(n,o),i}function gme(e,t){var n,r,i,o,a,s,l,u,c,f,h,d;for(n=!1,l=Oy($O(Fae(t,(Kwe(),MJe)))),h=j_e*l,i=new td(t.b);i.a<i.c.c.length;)for(r=LL(xW(i),29),o=LL(xW(s=new td(r.a)),10),u=WF(e.a[o.p]);s.a<s.c.c.length;)a=LL(xW(s),10),u!=(c=WF(e.a[a.p]))&&(f=AT(e.b,o,a),o.n.b+o.o.b+o.d.a+u.a+f>a.n.b-a.d.d+c.a+h&&(d=u.g+c.g,c.a=(c.g*c.a+u.g*u.a)/d,c.g=d,u.f=c,n=!0)),o=a,u=c;return n}function mme(e,t,n,r,i,o,a){var s,l,u,c,f;for(f=new YM,l=t.Ic();l.Ob();)for(c=new td(LL(l.Pb(),818).uf());c.a<c.c.c.length;)OI((u=LL(xW(c),183)).Xe((fxe(),$8e)))===OI(($J(),b7e))&&(lge(f,u,!1,r,i,o,a),ble(e,f));for(s=n.Ic();s.Ob();)for(c=new td(LL(s.Pb(),818).uf());c.a<c.c.c.length;)OI((u=LL(xW(c),183)).Xe((fxe(),$8e)))===OI(($J(),m7e))&&(lge(f,u,!0,r,i,o,a),ble(e,f))}function bme(e,t){var n,i,o,a;return i=r.Math.min(r.Math.abs(e.c-(t.c+t.b)),r.Math.abs(e.c+e.b-t.c)),a=r.Math.min(r.Math.abs(e.d-(t.d+t.a)),r.Math.abs(e.d+e.a-t.d)),(n=r.Math.abs(e.c+e.b/2-(t.c+t.b/2)))>e.b/2+t.b/2||(o=r.Math.abs(e.d+e.a/2-(t.d+t.a/2)))>e.a/2+t.a/2?1:0==n&&0==o?0:0==n?a/o+1:0==o?i/n+1:r.Math.min(i/n,a/o)+1}function vme(e,t){var n,i,o,a,s,l;return(o=x0(e))==(l=x0(t))?e.e==t.e&&e.a<54&&t.a<54?e.f<t.f?-1:e.f>t.f?1:0:(i=e.e-t.e,(n=(e.d>0?e.d:r.Math.floor((e.a-1)*$Se)+1)-(t.d>0?t.d:r.Math.floor((t.a-1)*$Se)+1))>i+1?o:n<i-1?-o:(!e.c&&(e.c=B6(e.f)),a=e.c,!t.c&&(t.c=B6(t.f)),s=t.c,i<0?a=bQ(a,vbe(-i)):i>0&&(s=bQ(s,vbe(i))),hee(a,s))):o<l?-1:1}function yme(e,t){var n,r,i,o,a,s,l;for(o=0,s=0,l=0,i=new td(e.f.e);i.a<i.c.c.length;)t!=(r=LL(xW(i),144))&&(o+=a=e.i[t.b][r.b],(n=wK(t.d,r.d))>0&&e.d!=(AZ(),oHe)&&(s+=a*(r.d.a+e.a[t.b][r.b]*(t.d.a-r.d.a)/n)),n>0&&e.d!=(AZ(),rHe)&&(l+=a*(r.d.b+e.a[t.b][r.b]*(t.d.b-r.d.b)/n)));switch(e.d.g){case 1:return new YE(s/o,t.d.b);case 2:return new YE(t.d.a,l/o);default:return new YE(s/o,l/o)}}function wme(e){var t,n,r,i,o;for(RL(o=new LY((!e.a&&(e.a=new hA(Jtt,e,5)),e.a).i+2),new YE(e.j,e.k)),lS(new cj(null,(!e.a&&(e.a=new hA(Jtt,e,5)),new ZG(e.a,16))),new Fg(o)),RL(o,new YE(e.b,e.c)),t=1;t<o.c.length-1;)MG(t-1,o.c.length),n=LL(o.c[t-1],8),MG(t,o.c.length),r=LL(o.c[t],8),MG(t+1,o.c.length),i=LL(o.c[t+1],8),n.a==r.a&&r.a==i.a||n.b==r.b&&r.b==i.b?eY(o,t):++t;return o}function xme(){var e;for(xme=S,vFe=q3(lw(nat,1),sSe,24,15,[-1,-1,30,19,15,13,11,11,10,9,9,8,8,8,8,7,7,7,7,7,7,7,6,6,6,6,6,6,6,6,6,6,6,6,6,6,5]),yFe=fK(nat,sSe,24,37,15,1),wFe=q3(lw(nat,1),sSe,24,15,[-1,-1,63,40,32,28,25,23,21,20,19,19,18,18,17,17,16,16,16,15,15,15,15,14,14,14,14,14,14,13,13,13,13,13,13,13,13]),xFe=fK(iat,jSe,24,37,14,1),e=2;e<=36;e++)yFe[e]=IH(r.Math.pow(e,vFe[e])),xFe[e]=hie(f_e,yFe[e])}function _me(e,t){var n,r,i,o,a,s,l;for(n=hP(dS(fS(hS(new Vb,t),new G$(t.e)),jWe),e.a),0==t.j.c.length||WK(LL(JN(t.j,0),56).a,n),l=new Gm,eV(e.e,n,l),a=new Pb,s=new Pb,o=new td(t.k);o.a<o.c.c.length;)uz(a,(i=LL(xW(o),18)).c),uz(s,i.d);(r=a.a.gc()-s.a.gc())<0?(u5(l,!0,(A8(),c7e)),u5(l,!1,f7e)):r>0&&(u5(l,!1,(A8(),c7e)),u5(l,!0,f7e)),uJ(t.g,new sC(e,n)),eV(e.g,t,n)}function Sme(e){var t;if(1!=(!e.a&&(e.a=new FF(int,e,6,6)),e.a).i)throw Jm(new Ny(EOe+(!e.a&&(e.a=new FF(int,e,6,6)),e.a).i));return t=new bv,b3(LL(sJ((!e.b&&(e.b=new nR(nnt,e,4,7)),e.b),0),93))&&G1(t,nxe(e,b3(LL(sJ((!e.b&&(e.b=new nR(nnt,e,4,7)),e.b),0),93)),!1)),b3(LL(sJ((!e.c&&(e.c=new nR(nnt,e,5,8)),e.c),0),93))&&G1(t,nxe(e,b3(LL(sJ((!e.c&&(e.c=new nR(nnt,e,5,8)),e.c),0),93)),!0)),t}function kme(e,t){var n,r,i;for(i=!1,r=new xF(BA((t.d?e.a.c==(sH(),U1e)?p9(t.b):g9(t.b):e.a.c==(sH(),W1e)?p9(t.b):g9(t.b)).a.Ic(),new p));Zce(r);)if(n=LL(dX(r),18),(Ty(e.a.f[e.a.g[t.b.p].p])||NX(n)||n.c.i.c!=n.d.i.c)&&!Ty(e.a.n[e.a.g[t.b.p].p])&&!Ty(e.a.n[e.a.g[t.b.p].p])&&(i=!0,X_(e.b,e.a.g[nre(n,t.b).p])))return t.c=!0,t.a=n,t;return t.c=i,t.a=null,t}function Cme(e,t,n){var r,i,o,a,s,l,u;if(0==(r=n.gc()))return!1;if(e._i())if(l=e.aj(),d7(e,t,n),a=1==r?e.Ui(3,null,n.Ic().Pb(),t,l):e.Ui(5,null,n,t,l),e.Yi()){for(s=r<100?null:new ux(r),o=t+r,i=t;i<o;++i)u=e.Ji(i),s=e.Zi(u,s);s?(s.zi(a),s.Ai()):e.Vi(a)}else e.Vi(a);else if(d7(e,t,n),e.Yi()){for(s=r<100?null:new ux(r),o=t+r,i=t;i<o;++i)s=e.Zi(e.Ji(i),s);s&&s.Ai()}return!0}function Eme(e,t,n){var r,i,o,a;return e._i()?(i=null,o=e.aj(),r=e.Ui(1,a=e.Pi(t,e.ji(t,n)),n,t,o),e.Yi()&&!(e.ii()&&a?l8(a,n):OI(a)===OI(n))?(a&&(i=e.$i(a,i)),(i=e.Zi(n,i))?(i.zi(r),i.Ai()):e.Vi(r)):i?(i.zi(r),i.Ai()):e.Vi(r),a):(a=e.Pi(t,e.ji(t,n)),e.Yi()&&!(e.ii()&&a?l8(a,n):OI(a)===OI(n))&&(i=null,a&&(i=e.$i(a,null)),(i=e.Zi(n,i))&&i.Ai()),a)}function Ime(e,t){var n,i,o,a,s,l,u,c;if(e.e=t,e.f=LL(Fae(t,(y1(),H$e)),228),function(e){var t,n,r;for(r=e.e.c.length,e.a=FN(nat,[s_e,sSe],[47,24],15,[r,r],2),n=new td(e.c);n.a<n.c.c.length;)t=LL(xW(n),281),e.a[t.c.b][t.d.b]+=LL(Fae(t,(fde(),P$e)),20).a}(t),e.d=r.Math.max(16*t.e.c.length+t.c.c.length,256),!Ty(VO(Fae(t,(fde(),C$e)))))for(c=e.e.e.c.length,l=new td(t.e);l.a<l.c.c.length;)(u=LL(xW(l),144).d).a=Fj(e.f)*c,u.b=Fj(e.f)*c;for(n=t.b,a=new td(t.c);a.a<a.c.c.length;)if(o=LL(xW(a),281),(i=LL(Fae(o,R$e),20).a)>0){for(s=0;s<i;s++)RL(n,new Fz(o));gue(o)}}function Mme(e,t){var n,i,o,a,s;if(e.k==(mse(),UHe)&&(n=zx(_V(LL(Fae(e,(hxe(),GXe)),14).Mc(),new gd(new er))).sd((xS(),Fze))?t:(Yre(),X7e),S5(e,kXe,n),n!=(Yre(),q7e)))for(i=LL(Fae(e,OXe),18),s=Oy($O(Fae(i,(Kwe(),sQe)))),a=0,n==U7e?a=e.o.b-r.Math.ceil(s/2):n==X7e&&(e.o.b-=Oy($O(Fae(jB(e),xJe))),a=(e.o.b-r.Math.ceil(s))/2),o=new td(e.j);o.a<o.c.c.length;)LL(xW(o),11).n.b=a}function Tme(e,t,n,r){var i,o,a,s,l,u,c,f;if(Ede(e.e,t)){for(f=ade(e.e.Og(),t),o=LL(e.g,118),c=null,l=-1,s=-1,i=0,u=0;u<e.i;++u)a=o[u],f.ml(a.Xj())&&(i==n&&(l=u),i==r&&(s=u,c=a.bd()),++i);if(-1==l)throw Jm(new Ey(HDe+n+GDe+i));if(-1==s)throw Jm(new Ey(WDe+r+GDe+i));return Y8(e,l,s),FM(e.e)&&Ib(e,cH(e,7,t,k8(r),c,n,!0)),c}throw Jm(new Ny("The feature must be many-valued to support move"))}function Ame(){Ame=S,ek(),Zot=new Oc,q3(lw(Yrt,2),s_e,365,0,[q3(lw(Yrt,1),aje,583,0,[new Jx(TNe)])]),q3(lw(Yrt,2),s_e,365,0,[q3(lw(Yrt,1),aje,583,0,[new Jx(ANe)])]),q3(lw(Yrt,2),s_e,365,0,[q3(lw(Yrt,1),aje,583,0,[new Jx(PNe)]),q3(lw(Yrt,1),aje,583,0,[new Jx(ANe)])]),new eT("-1"),q3(lw(Yrt,2),s_e,365,0,[q3(lw(Yrt,1),aje,583,0,[new Jx("\\c+")])]),new eT("0"),new eT("0"),new eT("1"),new eT("0"),new eT(VNe)}function Pme(e){var t,n;return e.c&&e.c.fh()&&(n=LL(e.c,48),e.c=LL(P6(e,n),138),e.c!=n&&(0!=(4&e.Db)&&0==(1&e.Db)&&Y2(e,new NF(e,9,2,n,e.c)),BT(e.Cb,395)?e.Db>>16==-15&&e.Cb.ih()&&mZ(new IK(e.Cb,9,13,n,e.c,ene(NZ(LL(e.Cb,58)),e))):BT(e.Cb,87)&&e.Db>>16==-23&&e.Cb.ih()&&(BT(t=e.c,87)||(bxe(),t=Frt),BT(n,87)||(bxe(),n=Frt),mZ(new IK(e.Cb,9,10,n,t,ene(pq(LL(e.Cb,26)),e)))))),e.c}function Ome(e,t,n){var r,i,o,a,s,l,u,c;for(qoe(n,"Hyperedge merging",1),function(e,t){var n,r,i,o;for((o=LL(Nq(aQ(aQ(new cj(null,new ZG(t.b,16)),new Dn),new Rn),CK(new F,new j,new re,q3(lw(jze,1),A_e,132,0,[(z4(),Rze)]))),14)).Hc(new Ln),n=0,i=o.Ic();i.Ob();)-1==(r=LL(i.Pb(),11)).p&&dfe(e,r,n++)}(e,t),s=new eU(t.b,0);s.b<s.d.gc();)if(EP(s.b<s.d.gc()),0!=(u=LL(s.d.Xb(s.c=s.b++),29).a).c.length)for(r=null,i=null,o=null,a=null,l=0;l<u.c.length;l++)MG(l,u.c.length),(i=(r=LL(u.c[l],10)).k)==(mse(),qHe)&&a==qHe&&(c=Qbe(r,o)).a&&(Gde(r,o,c.b,c.c),MG(l,u.c.length),Gx(u.c,l,1),--l,r=o,i=a),o=r,a=i;_se(n)}function Dme(e,t){var n,r;if(null!=t)if(r=ire(e)){if(0==(1&r.i))return nk(),!(n=LL(aB($nt,r),54))||n.rj(t);if(r==rat)return DI(t);if(r==nat)return BT(t,20);if(r==sat)return BT(t,155);if(r==oat)return BT(t,215);if(r==tat)return BT(t,172);if(r==aat)return RI(t);if(r==lat)return BT(t,186);if(r==iat)return BT(t,162)}else if(BT(t,55))return e.pk(LL(t,55));return!1}function Rme(e,t,n){var r,i,o,a,s,l,u;if(t==n)return!0;if(t=Yce(e,t),n=Yce(e,n),r=One(t)){if((l=One(n))!=r)return!!l&&((a=r.yj())==l.yj()&&null!=a);if(!t.d&&(t.d=new hA(brt,t,1)),i=(o=t.d).i,!n.d&&(n.d=new hA(brt,n,1)),i==(u=n.d).i)for(s=0;s<i;++s)if(!Rme(e,LL(sJ(o,s),86),LL(sJ(u,s),86)))return!1;return!0}return t.e==n.e}function Lme(e,t,n,r){var i,o,a,s,l;switch((l=new lT(t.n)).a+=t.o.a/2,l.b+=t.o.b/2,s=Oy($O(Fae(t,(Kwe(),eJe)))),o=e.f,a=e.d,i=e.c,LL(Fae(t,(hxe(),dXe)),61).g){case 1:l.a+=a.b+i.a-n/2,l.b=-r-s,t.n.b=-(a.d+s+i.b);break;case 2:l.a=o.a+a.b+a.c+s,l.b+=a.d+i.b-r/2,t.n.a=o.a+a.c+s-i.a;break;case 3:l.a+=a.b+i.a-n/2,l.b=o.b+a.d+a.a+s,t.n.b=o.b+a.a+s-i.b;break;case 4:l.a=-n-s,l.b+=a.d+i.b-r/2,t.n.a=-(a.b+s+i.a)}return l}function Nme(e,t){var n,i,o,a;return i=r.Math.abs(OF(e.b).a-OF(t.b).a),a=r.Math.abs(OF(e.b).b-OF(t.b).b),0,0,n=1,o=1,i>e.b.b/2+t.b.b/2&&(n=1-r.Math.min(r.Math.abs(e.b.c-(t.b.c+t.b.b)),r.Math.abs(e.b.c+e.b.b-t.b.c))/i),a>e.b.a/2+t.b.a/2&&(o=1-r.Math.min(r.Math.abs(e.b.d-(t.b.d+t.b.a)),r.Math.abs(e.b.d+e.b.a-t.b.d))/a),(1-r.Math.min(n,o))*r.Math.sqrt(i*i+a*a)}function jme(e){var t,n,i;for(iwe(e,e.e,e.f,(aH(),k2e),!0,e.c,e.i),iwe(e,e.e,e.f,k2e,!1,e.c,e.i),iwe(e,e.e,e.f,C2e,!0,e.c,e.i),iwe(e,e.e,e.f,C2e,!1,e.c,e.i),function(e,t,n,r,i){var o,a,s,l,u,c,f;for(a=new td(t);a.a<a.c.c.length;){if(l=(o=LL(xW(a),18)).c,n.a._b(l))aH(),u=k2e;else{if(!r.a._b(l))throw Jm(new Ny("Source port must be in one of the port sets."));aH(),u=C2e}if(c=o.d,n.a._b(c))aH(),f=k2e;else{if(!r.a._b(c))throw Jm(new Ny("Target port must be in one of the port sets."));aH(),f=C2e}s=new Ble(o,u,f),eV(e.b,o,s),i.c[i.c.length]=s}}(e,e.c,e.e,e.f,e.i),n=new eU(e.i,0);n.b<n.d.gc();)for(EP(n.b<n.d.gc()),t=LL(n.d.Xb(n.c=n.b++),128),i=new eU(e.i,n.b);i.b<i.d.gc();)EP(i.b<i.d.gc()),Gve(t,LL(i.d.Xb(i.c=i.b++),128));!function(e,t){var n,r,i,o,a,s,l,u,c,f,h,d,p,g,m,b,v,y,w,x,_,S,k,C,E,I;for(C=new sS,_=new sS,m=-1,l=new td(e);l.a<l.c.c.length;){for((a=LL(xW(l),128)).s=m--,c=0,y=0,o=new td(a.t);o.a<o.c.c.length;)y+=(r=LL(xW(o),267)).c;for(i=new td(a.i);i.a<i.c.c.length;)c+=(r=LL(xW(i),267)).c;a.n=c,a.u=y,0==y?jq(_,a,_.c.b,_.c):0==c&&jq(C,a,C.c.b,C.c)}I=Aq(e),f=e.c.length,g=f+1,b=f-1,d=new $m;for(;0!=I.a.gc();){for(;0!=_.b;)EP(0!=_.b),x=LL(lJ(_,_.a.a),128),I.a.zc(x),x.s=b--,the(x,C,_);for(;0!=C.b;)EP(0!=C.b),S=LL(lJ(C,C.a.a),128),I.a.zc(S),S.s=g++,the(S,C,_);for(p=F_e,u=I.a.ec().Ic();u.Ob();)(v=(a=LL(u.Pb(),128)).u-a.n)>=p&&(v>p&&(d.c=fK(pje,zxe,1,0,5,1),p=v),d.c[d.c.length]=a);0!=d.c.length&&(h=LL(JN(d,one(t,d.c.length)),128),I.a.zc(h),h.s=g++,the(h,C,_),d.c=fK(pje,zxe,1,0,5,1))}for(w=e.c.length+1,s=new td(e);s.a<s.c.c.length;)(a=LL(xW(s),128)).s<f&&(a.s+=w);for(k=new td(e);k.a<k.c.c.length;)for(n=new eU((S=LL(xW(k),128)).t,0);n.b<n.d.gc();)EP(n.b<n.d.gc()),E=(r=LL(n.d.Xb(n.c=n.b++),267)).b,S.s>E.s&&(nV(n),yZ(E.i,r),r.c>0&&(r.a=E,RL(E.t,r),r.b=S,RL(S.i,r)))}(e.i,LL(Fae(e.d,(hxe(),HXe)),228)),function(e){var t,n,i,o,a,s,l,u,c;for(u=new sS,s=new sS,o=new td(e);o.a<o.c.c.length;)(n=LL(xW(o),128)).v=0,n.n=n.i.c.length,n.u=n.t.c.length,0==n.n&&jq(u,n,u.c.b,u.c),0==n.u&&0==n.r.a.gc()&&jq(s,n,s.c.b,s.c);a=-1;for(;0!=u.b;)for(t=new td((n=LL(Nre(u,0),128)).t);t.a<t.c.c.length;)(c=LL(xW(t),267).b).v=r.Math.max(c.v,n.v+1),a=r.Math.max(a,c.v),--c.n,0==c.n&&jq(u,c,u.c.b,u.c);if(a>-1){for(i=cte(s,0);i.b!=i.d.c;)(n=LL(BU(i),128)).v=a;for(;0!=s.b;)for(t=new td((n=LL(Nre(s,0),128)).i);t.a<t.c.c.length;)0==(l=LL(xW(t),267).a).r.a.gc()&&(l.v=r.Math.min(l.v,n.v-1),--l.u,0==l.u&&jq(s,l,s.c.b,s.c))}}(e.i)}function Fme(){var e,t,n,r,i,o,a,s,l;for(Fme=S,vot=fK(oat,rDe,24,255,15,1),yot=fK(tat,q_e,24,64,15,1),t=0;t<255;t++)vot[t]=-1;for(n=90;n>=65;n--)vot[n]=n-65<<24>>24;for(r=122;r>=97;r--)vot[r]=r-97+26<<24>>24;for(i=57;i>=48;i--)vot[i]=i-48+52<<24>>24;for(vot[43]=62,vot[47]=63,o=0;o<=25;o++)yot[o]=65+o&X_e;for(a=26,l=0;a<=51;++a,l++)yot[a]=97+l&X_e;for(e=52,s=0;e<=61;++e,s++)yot[e]=48+s&X_e;yot[62]=43,yot[63]=47}function zme(e,t){var n,r,i,o,a,s,l;if(!$H(e))throw Jm(new jy(COe));if(o=(r=$H(e)).g,i=r.f,o<=0&&i<=0)return hwe(),Zet;switch(s=e.i,l=e.j,t.g){case 2:case 1:if(s<0)return hwe(),Qet;if(s+e.g>o)return hwe(),Oet;break;case 4:case 3:if(l<0)return hwe(),Det;if(l+e.f>i)return hwe(),Ket}return(a=(s+e.g/2)/o)+(n=(l+e.f/2)/i)<=1&&a-n<=0?(hwe(),Qet):a+n>=1&&a-n>=0?(hwe(),Oet):n<.5?(hwe(),Det):(hwe(),Ket)}function Bme(e){var t,n,r,i,o,a;if(gxe(),4!=e.e&&5!=e.e)throw Jm(new Ny("Token#complementRanges(): must be RANGE: "+e.e));for(Rfe(o=e),xve(o),r=o.b.length+2,0==o.b[0]&&(r-=2),(n=o.b[o.b.length-1])==WNe&&(r-=2),(i=new lW(4)).b=fK(nat,sSe,24,r,15,1),a=0,o.b[0]>0&&(i.b[a++]=0,i.b[a++]=o.b[0]-1),t=1;t<o.b.length-2;t+=2)i.b[a++]=o.b[t]+1,i.b[a++]=o.b[t+1]-1;return n!=WNe&&(i.b[a++]=n+1,i.b[a]=WNe),i.a=!0,i}function Vme(e,t,n){var r,i,o,a,s,l,u,c;if(0==(r=n.gc()))return!1;if(e._i())if(u=e.aj(),fae(e,t,n),a=1==r?e.Ui(3,null,n.Ic().Pb(),t,u):e.Ui(5,null,n,t,u),e.Yi()){for(s=r<100?null:new ux(r),o=t+r,i=t;i<o;++i)c=e.g[i],s=e.Zi(c,s),s=e.ej(c,s);s?(s.zi(a),s.Ai()):e.Vi(a)}else e.Vi(a);else if(fae(e,t,n),e.Yi()){for(s=r<100?null:new ux(r),o=t+r,i=t;i<o;++i)l=e.g[i],s=e.Zi(l,s);s&&s.Ai()}return!0}function $me(e,t,n,r){var i,o,a,s,l;for(a=new td(e.k);a.a<a.c.c.length;)i=LL(xW(a),129),r&&i.c!=(EY(),g2e)||(l=i.b).g<0&&i.d>0&&(yh(l,l.d-i.d),i.c==(EY(),g2e)&&wh(l,l.a-i.d),l.d<=0&&l.i>0&&jq(t,l,t.c.b,t.c));for(o=new td(e.f);o.a<o.c.c.length;)i=LL(xW(o),129),r&&i.c!=(EY(),g2e)||(s=i.a).g<0&&i.d>0&&(Ah(s,s.i-i.d),i.c==(EY(),g2e)&&Ph(s,s.b-i.d),s.i<=0&&s.d>0&&jq(n,s,n.c.b,n.c))}function Hme(e,t,n){var r,i,o,a,s,l,u,c;for(qoe(n,"Processor compute fanout",1),JF(e.b),JF(e.a),s=null,o=cte(t.b,0);!s&&o.b!=o.d.c;)Ty(VO(Fae(u=LL(BU(o),83),(qve(),a3e))))&&(s=u);for(jq(l=new sS,s,l.c.b,l.c),dwe(e,l),c=cte(t.b,0);c.b!=c.d.c;)a=HO(Fae(u=LL(BU(c),83),(qve(),Y2e))),i=null!=CH(e.b,a)?LL(CH(e.b,a),20).a:0,S5(u,X2e,k8(i)),r=1+(null!=CH(e.a,a)?LL(CH(e.a,a),20).a:0),S5(u,U2e,k8(r));_se(n)}function Gme(e,t,n,r,i){var o,a,s,l,u,c,f,h,d;for(f=function(e,t){var n,r,i;for(i=new eU(e.e,0),n=0;i.b<i.d.gc();){if((r=Oy((EP(i.b<i.d.gc()),$O(i.d.Xb(i.c=i.b++))))-t)>wAe)return n;r>-1e-6&&++n}return n}(e,n),s=0;s<t;s++){for(yD(i,n),h=new $m,EP(r.b<r.d.gc()),d=LL(r.d.Xb(r.c=r.b++),402),u=f+s;u<e.b;u++)a=d,EP(r.b<r.d.gc()),RL(h,new wde(a,d=LL(r.d.Xb(r.c=r.b++),402),n));for(c=f+s;c<e.b;c++)EP(r.b>0),r.a.Xb(r.c=--r.b),c>f+s&&nV(r);for(o=new td(h);o.a<o.c.c.length;)yD(r,LL(xW(o),402));if(s<t-1)for(l=f+s;l<e.b;l++)EP(r.b>0),r.a.Xb(r.c=--r.b)}}function Wme(e){var t,n,i,o,a,s,l,u,c,f,h,d,p;if(n=e.i,t=e.n,0==e.b)for(p=n.c+t.b,d=n.b-t.b-t.c,u=0,f=(s=e.a).length;u<f;++u)Lj(o=s[u],p,d);else i=Nne(e,!1),Lj(e.a[0],n.c+t.b,i[0]),Lj(e.a[2],n.c+n.b-t.c-i[2],i[2]),h=n.b-t.b-t.c,i[0]>0&&(h-=i[0]+e.c,i[0]+=e.c),i[2]>0&&(h-=i[2]+e.c),i[1]=r.Math.max(i[1],h),Lj(e.a[1],n.c+t.b+i[0]-(i[1]-h)/2,i[1]);for(l=0,c=(a=e.a).length;l<c;++l)BT(o=a[l],324)&&LL(o,324).Te()}function Ume(e,t){var n,r,i,o,a,s,l,u,c;if(null==(u=VO(Fae(t,(fde(),L$e))))||(wB(u),u)){for(c=fK(rat,Kke,24,t.e.c.length,16,1),a=function(e){var t,n,r,i,o;for(i=e.e.c.length,r=fK(xje,ZCe,14,i,0,1),o=new td(e.e);o.a<o.c.c.length;)r[LL(xW(o),144).b]=new sS;for(n=new td(e.c);n.a<n.c.c.length;)r[(t=LL(xW(n),281)).c.b].Dc(t),r[t.d.b].Dc(t);return r}(t),i=new sS,l=new td(t.e);l.a<l.c.c.length;)(n=Qfe(e,LL(xW(l),144),null,null,c,a))&&(c3(n,t),jq(i,n,i.c.b,i.c));if(i.b>1)for(r=cte(i,0);r.b!=r.d.c;)for(o=0,s=new td((n=LL(BU(r),229)).e);s.a<s.c.c.length;)LL(xW(s),144).b=o++;return i}return JX(q3(lw(f$e,1),QCe,229,0,[t]))}function qme(e,t){var n,r,i,o;if(G5(),o=LL(Fae(e.i,(Kwe(),tJe)),100),0!=e.j.g-t.j.g||o!=(joe(),bet)&&o!=yet&&o!=vet)return 0;if(o==(joe(),bet)&&(n=LL(Fae(e,nJe),20),r=LL(Fae(t,nJe),20),n&&r&&0!=(i=n.a-r.a)))return i;switch(e.j.g){case 1:return j8(e.n.a,t.n.a);case 2:return j8(e.n.b,t.n.b);case 3:return j8(t.n.a,e.n.a);case 4:return j8(t.n.b,e.n.b);default:throw Jm(new jy("Port side is undefined"))}}function Xme(e){var t,n,r,i,o,a,s,l,u,c,f;for((f=new ra).d=0,a=new td(e.b);a.a<a.c.c.length;)o=LL(xW(a),29),f.d+=o.a.c.length;for(r=0,i=0,f.a=fK(nat,sSe,24,e.b.c.length,15,1),u=0,c=0,f.e=fK(nat,sSe,24,f.d,15,1),n=new td(e.b);n.a<n.c.c.length;)for((t=LL(xW(n),29)).p=r++,f.a[t.p]=i++,c=0,l=new td(t.a);l.a<l.c.c.length;)(s=LL(xW(l),10)).p=u++,f.e[s.p]=c++;return f.c=new wg(f),f.b=$P(f.d),function(e,t){var n,r,i,o,a,s,l,u;for(o=new td(t.b);o.a<o.c.c.length;)for(l=new td(LL(xW(o),29).a);l.a<l.c.c.length;){for(s=LL(xW(l),10),u=new $m,a=0,r=new xF(BA(p9(s).a.Ic(),new p));Zce(r);)NX(n=LL(dX(r),18))||!NX(n)&&n.c.i.c==n.d.i.c||((i=LL(Fae(n,(Kwe(),hJe)),20).a)>a&&(a=i,u.c=fK(pje,zxe,1,0,5,1)),i==a&&RL(u,new KE(n.c.i,n)));v$(),kT(u,e.c),Mj(e.b,s.p,u)}}(f,e),f.f=$P(f.d),function(e,t){var n,r,i,o,a,s,l,u;for(o=new td(t.b);o.a<o.c.c.length;)for(l=new td(LL(xW(o),29).a);l.a<l.c.c.length;){for(s=LL(xW(l),10),u=new $m,a=0,r=new xF(BA(g9(s).a.Ic(),new p));Zce(r);)NX(n=LL(dX(r),18))||!NX(n)&&n.c.i.c==n.d.i.c||((i=LL(Fae(n,(Kwe(),hJe)),20).a)>a&&(a=i,u.c=fK(pje,zxe,1,0,5,1)),i==a&&RL(u,new KE(n.d.i,n)));v$(),kT(u,e.c),Mj(e.f,s.p,u)}}(f,e),f}function Yme(e){var t,n,r,i,o;if(!e.b)for(e.b=new $m,r=new td(e.a.b);r.a<r.c.c.length;)for(o=new td(LL(xW(r),29).a);o.a<o.c.c.length;)if(i=LL(xW(o),10),e.c.Mb(i)&&(RL(e.b,new eL(e,i,e.e)),e.d)){if(ZP(i,(hxe(),JXe)))for(n=LL(Fae(i,JXe),14).Ic();n.Ob();)t=LL(n.Pb(),10),RL(e.b,new eL(e,t,!1));if(ZP(i,Jqe))for(n=LL(Fae(i,Jqe),14).Ic();n.Ob();)t=LL(n.Pb(),10),RL(e.b,new eL(e,t,!1))}return e.b}function Kme(e){var t,n,r,i,o;if(!e.g){if(o=new wl,null==(t=Jrt).a.xc(e,t)){for(n=new SA(K$(e));n.e!=n.i.gc();)Qz(o,Kme(LL(Hee(n),26)));t.a.zc(e),t.a.gc()}for(r=o.i,!e.s&&(e.s=new FF(urt,e,21,17)),i=new SA(e.s);i.e!=i.i.gc();++r)Dh(LL(Hee(i),443),r);Qz(o,(!e.s&&(e.s=new FF(urt,e,21,17)),e.s)),Y4(o),e.g=new C5(e,o),e.i=LL(o.g,246),null==e.i&&(e.i=tit),e.p=null,VX(e).b&=-5}return e.g}function Zme(e){var t,n,i,o,a,s,l,u,c,f,h,d,p;if(i=e.i,n=e.n,0==e.b)t=Lne(e,!1),Rj(e.a[0],i.d+n.d,t[0]),Rj(e.a[2],i.d+i.a-n.a-t[2],t[2]),h=i.a-n.d-n.a,t[0]>0&&(t[0]+=e.c,h-=t[0]),t[2]>0&&(h-=t[2]+e.c),t[1]=r.Math.max(t[1],h),Rj(e.a[1],i.d+n.d+t[0]-(t[1]-h)/2,t[1]);else for(p=i.d+n.d,d=i.a-n.d-n.a,u=0,f=(s=e.a).length;u<f;++u)Rj(o=s[u],p,d);for(l=0,c=(a=e.a).length;l<c;++l)BT(o=a[l],324)&&LL(o,324).Ue()}function Qme(e,t,n,r){var i,o,a,s,l,u;if(u=ade(e.e.Og(),t),a=LL(e.g,118),Ede(e.e,t)){if(t.ci()&&(o=wbe(e,t,r,BT(t,97)&&0!=(LL(t,17).Bb&FSe)))>=0&&o!=n)throw Jm(new Ny($De));for(i=0,l=0;l<e.i;++l)if(s=a[l],u.ml(s.Xj())){if(i==n)return LL(Lte(e,l,(tk(),LL(t,65).Jj()?LL(r,71):uq(t,r))),71);++i}throw Jm(new Ey(zRe+n+GDe+i))}for(l=0;l<e.i;++l)if(s=a[l],u.ml(s.Xj()))return tk(),LL(t,65).Jj()?s:s.bd();return null}function Jme(e,t,n,r){var i,o,a,s,l;if(l=ade(e.e.Og(),t),i=LL(e.g,118),tk(),LL(t,65).Jj()){for(a=0;a<e.i;++a)if(o=i[a],l.ml(o.Xj())&&l8(o,n))return!0}else if(null!=n){for(s=0;s<e.i;++s)if(o=i[s],l.ml(o.Xj())&&l8(n,o.bd()))return!0;if(r)for(a=0;a<e.i;++a)if(o=i[a],l.ml(o.Xj())&&OI(n)===OI(kO(e,LL(o.bd(),55))))return!0}else for(a=0;a<e.i;++a)if(o=i[a],l.ml(o.Xj())&&null==o.bd())return!1;return!1}function ebe(e,t){var n,r,i,o,a,s;if(e.b<2)throw Jm(new Ny("The vector chain must contain at least a source and a target point."));for(EP(0!=e.b),GM(t,(r=LL(e.a.a.c,8)).a,r.b),s=new RP((!t.a&&(t.a=new hA(Jtt,t,5)),t.a)),o=cte(e,1);o.a<e.b-1;)a=LL(BU(o),8),s.e!=s.i.gc()?n=LL(Hee(s),463):(Sx(),Y9(s,n=new el)),BM(n,a.a,a.b);for(;s.e!=s.i.gc();)Hee(s),zie(s);EP(0!=e.b),HM(t,(i=LL(e.c.b.c,8)).a,i.b)}function tbe(e,t,n,i){var o,a,s,l;for(l=n,s=new td(t.a);s.a<s.c.c.length;){if(a=LL(xW(s),219),o=LL(a.b,63),X9(e.b.c,o.b.c+o.b.b)<=0&&X9(o.b.c,e.b.c+e.b.b)<=0&&X9(e.b.d,o.b.d+o.b.a)<=0&&X9(o.b.d,e.b.d+e.b.a)<=0){if(0==X9(o.b.c,e.b.c+e.b.b)&&i.a<0||0==X9(o.b.c+o.b.b,e.b.c)&&i.a>0||0==X9(o.b.d,e.b.d+e.b.a)&&i.b<0||0==X9(o.b.d+o.b.a,e.b.d)&&i.b>0){l=0;break}}else l=r.Math.min(l,vue(e,o,i));l=r.Math.min(l,tbe(e,a,l,i))}return l}function nbe(e,t){var n,r,i,o,a,s,l,u;for(n=0,r=new td((MG(0,e.c.length),LL(e.c[0],101)).g.b.j);r.a<r.c.c.length;)LL(xW(r),11).p=n++;for(t==(hwe(),Det)?kT(e,new Ki):kT(e,new Zi),a=0,u=e.c.length-1;a<u;)MG(a,e.c.length),o=LL(e.c[a],101),MG(u,e.c.length),l=LL(e.c[u],101),i=t==Det?o.c:o.a,s=t==Det?l.a:l.c,qF(o,t,(S3(),VWe),i),qF(l,t,BWe,s),++a,--u;a==u&&qF((MG(a,e.c.length),LL(e.c[a],101)),t,(S3(),zWe),null)}function rbe(e,t,n){var r,i,o,a,s,l,u,c,f,h;return c=e.a.i+e.a.g/2,f=e.a.i+e.a.g/2,a=new YE(t.i+t.g/2,t.j+t.f/2),(l=LL(xfe(t,(fxe(),V9e)),8)).a=l.a+c,l.b=l.b+f,i=(a.b-l.b)/(a.a-l.a),r=a.b-i*a.a,s=new YE(n.i+n.g/2,n.j+n.f/2),(u=LL(xfe(n,V9e),8)).a=u.a+c,u.b=u.b+f,o=(s.b-u.b)/(s.a-u.a),h=(r-(s.b-o*s.a))/(o-i),!(l.a<h&&a.a<h||h<l.a&&h<a.a)&&!(u.a<h&&s.a<h||h<u.a&&h<s.a)}function ibe(e,t,n){var r,i,o,a,s,l;this.a=e,this.b=t,this.c=n,this.e=JX(q3(lw(Gze,1),zxe,168,0,[new Ck(e,t),new Ck(t,n),new Ck(n,e)])),this.f=JX(q3(lw(J6e,1),s_e,8,0,[e,t,n])),this.d=(r=VD(RT(this.b),this.a),i=VD(RT(this.c),this.a),o=VD(RT(this.c),this.b),a=r.a*(this.a.a+this.b.a)+r.b*(this.a.b+this.b.b),s=i.a*(this.a.a+this.c.a)+i.b*(this.a.b+this.c.b),l=2*(r.a*o.b-r.b*o.a),new YE((i.b*a-r.b*s)/l,(r.a*s-i.a*a)/l))}function obe(e,t,n,r){var i,o,a,s,l,u,c,f,h;if(f=new xz(e.p),pQ(t,zDe,f),n&&!(e.f?T$(e.f):null).a.dc())for(pQ(t,"logs",u=new dh),s=0,h=new Jh((e.f?T$(e.f):null).b.Ic());h.b.Ob();)c=new xz(HO(h.b.Pb())),uQ(u,s),mq(u,s,c),++s;if(r&&pQ(t,"executionTime",new uh(e.q)),!T$(e.a).a.dc())for(a=new dh,pQ(t,gDe,a),s=0,o=new Jh(T$(e.a).b.Ic());o.b.Ob();)i=LL(o.b.Pb(),1921),l=new uy,uQ(a,s),mq(a,s,l),obe(i,l,n,r),++s}function abe(e,t){var n,r,i,o,a,s,l,u,c,f;if(a=e.e,0==(l=t.e))return e;if(0==a)return 0==t.e?t:new nz(-t.e,t.d,t.a);if((o=e.d)+(s=t.d)==2)return n=SH(e.a[0],HSe),r=SH(t.a[0],HSe),a<0&&(n=kK(n)),l<0&&(r=kK(r)),bee(s8(n,r));if(-1==(i=o!=s?o>s?1:-1:n4(e.a,t.a,o)))f=-l,c=a==l?tY(t.a,s,e.a,o):cK(t.a,s,e.a,o);else if(f=a,a==l){if(0==i)return npe(),BFe;c=tY(e.a,o,t.a,s)}else c=cK(e.a,o,t.a,s);return JW(u=new nz(f,c.length,c)),u}function sbe(e,t){var n,r,i,o,a,s;for(o=e.c,a=e.d,PG(e,null),AG(e,null),t&&Ty(VO(Fae(a,(hxe(),vXe))))?PG(e,sme(a.i,(E0(),L0e),(hwe(),Oet))):PG(e,a),t&&Ty(VO(Fae(o,(hxe(),FXe))))?AG(e,sme(o.i,(E0(),R0e),(hwe(),Qet))):AG(e,o),r=new td(e.b);r.a<r.c.c.length;)n=LL(xW(r),69),(i=LL(Fae(n,(Kwe(),QZe)),271))==($J(),b7e)?S5(n,QZe,m7e):i==m7e&&S5(n,QZe,b7e);s=Ty(VO(Fae(e,(hxe(),WXe)))),S5(e,WXe,(_P(),!s)),e.a=i4(e.a)}function lbe(e,t,n,r){var i,o,a,s,l,u;for(a=new oye(e,t,n),l=new eU(r,0),i=!1;l.b<l.d.gc();)EP(l.b<l.d.gc()),(s=LL(l.d.Xb(l.c=l.b++),232))==t||s==n?nV(l):!i&&Oy(lA(s.g,s.d[0]).a)>Oy(lA(a.g,a.d[0]).a)?(EP(l.b>0),l.a.Xb(l.c=--l.b),yD(l,a),i=!0):s.e&&s.e.gc()>0&&(o=(!s.e&&(s.e=new $m),s.e).Kc(t),u=(!s.e&&(s.e=new $m),s.e).Kc(n),(o||u)&&((!s.e&&(s.e=new $m),s.e).Dc(a),++a.c));i||(r.c[r.c.length]=a)}function ube(e){var t,n,r,i,o,a;for(this.e=new $m,this.a=new $m,n=e.b-1;n<3;n++)TO(e,0,LL(bte(e,0),8));if(e.b<4)throw Jm(new Ny("At (least dimension + 1) control points are necessary!"));for(this.b=3,this.d=!0,this.c=!1,function(e,t){var n,r,i,o,a;if(t<2*e.b)throw Jm(new Ny("The knot vector must have at least two time the dimension elements."));for(e.f=1,i=0;i<e.b;i++)RL(e.e,0);for(n=a=t+1-2*e.b,o=1;o<a;o++)RL(e.e,o/n);if(e.d)for(r=0;r<e.b;r++)RL(e.e,1)}(this,e.b+this.b-1),a=new $m,o=new td(this.e),t=0;t<this.b-1;t++)RL(a,$O(xW(o)));for(i=cte(e,0);i.b!=i.d.c;)r=LL(BU(i),8),RL(a,$O(xW(o))),RL(this.a,new oH(r,a)),MG(0,a.c.length),a.c.splice(0,1)}function cbe(e){var t,n;switch(e){case 91:case 93:case 45:case 94:case 44:case 92:n="\\"+String.fromCharCode(e&X_e);break;case 12:n="\\f";break;case 10:n="\\n";break;case 13:n="\\r";break;case 9:n="\\t";break;case 27:n="\\e";break;default:n=e<32?"\\x"+zP(t="0"+(e>>>0).toString(16),t.length-2,t.length):e>=FSe?"\\v"+zP(t="0"+(e>>>0).toString(16),t.length-6,t.length):""+String.fromCharCode(e&X_e)}return n}function fbe(e){var t,n,r;if(jM(LL(Fae(e,(Kwe(),tJe)),100)))for(n=new td(e.j);n.a<n.c.c.length;)(t=LL(xW(n),11)).j==(hwe(),Zet)&&((r=LL(Fae(t,(hxe(),BXe)),10))?mue(t,LL(Fae(r,dXe),61)):t.e.c.length-t.g.c.length<0?mue(t,Oet):mue(t,Qet));else{for(n=new td(e.j);n.a<n.c.c.length;)t=LL(xW(n),11),(r=LL(Fae(t,(hxe(),BXe)),10))?mue(t,LL(Fae(r,dXe),61)):t.e.c.length-t.g.c.length<0?mue(t,(hwe(),Oet)):mue(t,(hwe(),Qet));S5(e,tJe,(joe(),wet))}}function hbe(e,t){var n,r,i,o,a,s,l;for(i=new td(e.b);i.a<i.c.c.length;)for(a=new td(LL(xW(i),29).a);a.a<a.c.c.length;)for((o=LL(xW(a),10)).k==(mse(),UHe)&&(s=LL(dX(new xF(BA(p9(o).a.Ic(),new p))),18),l=LL(dX(new xF(BA(g9(o).a.Ic(),new p))),18),Mme(o,Ty(VO(Fae(s,(hxe(),WXe))))&&Ty(VO(Fae(l,WXe)))?r5(t):t)),r=new xF(BA(g9(o).a.Ic(),new p));Zce(r);)j3(n=LL(dX(r),18),Ty(VO(Fae(n,(hxe(),WXe))))?r5(t):t)}function dbe(e,t,n){var r,i,o,a;return e._i()?(i=null,o=e.aj(),r=e.Ui(1,a=tQ(e,t,n),n,t,o),e.Yi()&&!(e.ii()&&null!=a?l8(a,n):OI(a)===OI(n))?(null!=a&&(i=e.$i(a,i)),i=e.Zi(n,i),e.dj()&&(i=e.gj(a,n,i)),i?(i.zi(r),i.Ai()):e.Vi(r)):(e.dj()&&(i=e.gj(a,n,i)),i?(i.zi(r),i.Ai()):e.Vi(r)),a):(a=tQ(e,t,n),e.Yi()&&!(e.ii()&&null!=a?l8(a,n):OI(a)===OI(n))&&(i=null,null!=a&&(i=e.$i(a,null)),(i=e.Zi(n,i))&&i.Ai()),a)}function pbe(e,t,n){var i,o,a,s,l,u,c,f,h;for(a=0,s=e.t,o=0,i=0,l=0,h=0,f=0,n&&(e.n.c=fK(pje,zxe,1,0,5,1),RL(e.n,new DH(e.s,e.t,e.i))),c=new td(e.b);c.a<c.c.c.length;)a+(u=LL(xW(c),34)).g+e.i>t&&l>0&&(a=0,s+=l,o=r.Math.max(o,h),i+=l,l=0,h=0,n&&(++f,RL(e.n,new DH(e.s,s,e.i)))),h+=u.g+e.i,l=r.Math.max(l,u.f+e.i),n&&Z4(LL(JN(e.n,f),209),u),a+=u.g+e.i;return o=r.Math.max(o,h),i+=l,n&&(e.r=o,e.d=i,Z7(e.j)),new jV(e.s,e.t,o,i)}function gbe(e,t){var n,i,o,a,s,l,u;t%=24,e.q.getHours()!=t&&((n=new r.Date(e.q.getTime())).setDate(n.getDate()+1),(s=e.q.getTimezoneOffset()-n.getTimezoneOffset())>0&&(l=s/60|0,u=s%60,i=e.q.getDate(),e.q.getHours()+l>=24&&++i,o=new r.Date(e.q.getFullYear(),e.q.getMonth(),i,t+l,e.q.getMinutes()+u,e.q.getSeconds(),e.q.getMilliseconds()),e.q.setTime(o.getTime()))),a=e.q.getTime(),e.q.setTime(a+36e5),e.q.getHours()!=t&&e.q.setTime(a)}function mbe(e,t){var n,r,i,o;if(qoe(t,"Path-Like Graph Wrapping",1),0!=e.b.c.length)if(null==(i=new ofe(e)).i&&(i.i=q1(i,new vo)),n=Oy(i.i)*i.f/(null==i.i&&(i.i=q1(i,new vo)),Oy(i.i)),i.b>n)_se(t);else{switch(LL(Fae(e,(Kwe(),zJe)),335).g){case 2:o=new xo;break;case 0:o=new co;break;default:o=new _o}if(r=o.Sf(e,i),!o.Tf())switch(LL(Fae(e,WJe),336).g){case 2:r=yue(i,r);break;case 1:r=lae(i,r)}!function(e,t,n){var r,i,o,a,s,l,u,c,f,h,d;if(n.dc())return;a=0,c=0,r=n.Ic(),h=LL(r.Pb(),20).a;for(;a<t.f;){if(a==h&&(c=0,h=r.Ob()?LL(r.Pb(),20).a:t.f+1),a!=c)for(d=LL(JN(e.b,a),29),f=LL(JN(e.b,c),29),u=new td(hW(d.a));u.a<u.c.c.length;)if($re(l=LL(xW(u),10),f.a.c.length,f),0==c)for(o=new td(hW(p9(l)));o.a<o.c.c.length;)sbe(i=LL(xW(o),18),!0),S5(e,(hxe(),aXe),(_P(),!0)),eye(e,i,1);++c,++a}s=new eU(e.b,0);for(;s.b<s.d.gc();)EP(s.b<s.d.gc()),0==LL(s.d.Xb(s.c=s.b++),29).a.c.length&&nV(s)}(e,i,r),_se(t)}else _se(t)}function bbe(e,t,n,r,i){var o,a;if(n.f+i>=t.o&&n.f+i<=t.f||.5*t.a<=n.f+i&&1.5*t.a>=n.f+i){if(n.g+i<=r-((o=LL(JN(t.n,t.n.c.length-1),209)).e+o.d)&&(LL(JN(t.n,t.n.c.length-1),209).f-e.e+n.f+i<=e.b||1==e.a.c.length))return T9(t,n),!0;if(n.g<=r-t.s&&(t.d+n.f+i<=e.b||1==e.a.c.length))return RL(t.b,n),a=LL(JN(t.n,t.n.c.length-1),209),RL(t.n,new DH(t.s,a.f+a.a,t.i)),Z4(LL(JN(t.n,t.n.c.length-1),209),n),Rpe(t,n),!0}return!1}function vbe(e){var t,n,r,i;if(gce(),t=IH(e),e<WFe.length)return WFe[t];if(e<=50)return nce((npe(),FFe),t);if(e<=D_e)return jX(nce(GFe[1],t),t);if(e>1e6)throw Jm(new Cy("power of ten too big"));if(e<=Dxe)return jX(nce(GFe[1],t),t);for(i=r=nce(GFe[1],Dxe),n=I2(e-Dxe),t=IH(e%Dxe);T4(n,Dxe)>0;)i=bQ(i,r),n=s8(n,Dxe);for(i=jX(i=bQ(i,nce(GFe[1],t)),Dxe),n=I2(e-Dxe);T4(n,Dxe)>0;)i=jX(i,Dxe),n=s8(n,Dxe);return i=jX(i,t)}function ybe(e){var t,n,r,i,o;if(!e.d){if(o=new _l,null==(t=Jrt).a.xc(e,t)){for(n=new SA(K$(e));n.e!=n.i.gc();)Qz(o,ybe(LL(Hee(n),26)));t.a.zc(e),t.a.gc()}for(i=o.i,!e.q&&(e.q=new FF(vrt,e,11,10)),r=new SA(e.q);r.e!=r.i.gc();++i)LL(Hee(r),395);Qz(o,(!e.q&&(e.q=new FF(vrt,e,11,10)),e.q)),Y4(o),e.d=new fM((LL(sJ(k$(($z(),krt).o),9),17),o.i),o.g),e.e=LL(o.g,661),null==e.e&&(e.e=eit),VX(e).b&=-17}return e.d}function wbe(e,t,n,r){var i,o,a,s,l,u;if(u=ade(e.e.Og(),t),l=0,i=LL(e.g,118),tk(),LL(t,65).Jj()){for(a=0;a<e.i;++a)if(o=i[a],u.ml(o.Xj())){if(l8(o,n))return l;++l}}else if(null!=n){for(s=0;s<e.i;++s)if(o=i[s],u.ml(o.Xj())){if(l8(n,o.bd()))return l;++l}if(r)for(l=0,a=0;a<e.i;++a)if(o=i[a],u.ml(o.Xj())){if(OI(n)===OI(kO(e,LL(o.bd(),55))))return l;++l}}else for(a=0;a<e.i;++a)if(o=i[a],u.ml(o.Xj())){if(null==o.bd())return l;++l}return-1}function xbe(e,t,n,r){var i,o,a,s,l,u,c,f,h,d,p,g;if(n.hh(t)&&(c=(d=t)?LL(r,48).sh(d):null))if(g=n.Yg(t,e.a),(p=t.t)>1||-1==p)if(f=LL(g,67),h=LL(c,67),f.dc())h.$b();else for(a=!!yne(t),o=0,s=e.a?f.Ic():f.Uh();s.Ob();)u=LL(s.Pb(),55),(i=LL(oQ(e,u),55))?(a?-1==(l=h.Vc(i))?h.Sh(o,i):o!=l&&h.ei(o,i):h.Sh(o,i),++o):e.b&&!a&&(h.Sh(o,u),++o);else null==g?c.Wb(null):null==(i=oQ(e,g))?e.b&&!yne(t)&&c.Wb(g):c.Wb(i)}function _be(e,t){var n,i,o,a,s,l,u,c;for(n=new Tn,o=new xF(BA(p9(t).a.Ic(),new p));Zce(o);)if(!NX(i=LL(dX(o),18))&&Voe(l=i.c.i,pGe)){if(-1==(c=wpe(e,l,pGe,dGe)))continue;n.b=r.Math.max(n.b,c),!n.a&&(n.a=new $m),RL(n.a,l)}for(s=new xF(BA(g9(t).a.Ic(),new p));Zce(s);)if(!NX(a=LL(dX(s),18))&&Voe(u=a.d.i,dGe)){if(-1==(c=wpe(e,u,dGe,pGe)))continue;n.d=r.Math.max(n.d,c),!n.c&&(n.c=new $m),RL(n.c,u)}return n}function Sbe(e,t){var n,r,i,o,a;qoe(t,"Layer constraint postprocessing",1),0!=(a=e.b).c.length&&(MG(0,a.c.length),function(e,t,n,r,i){var o,a,s,l,u,c;for(o=new td(e.b);o.a<o.c.c.length;)for(u=0,c=(l=mU(LL(xW(o),29).a)).length;u<c;++u)switch(LL(Fae(s=l[u],(Kwe(),xQe)),165).g){case 1:dde(s),OG(s,t),nne(s,!0,r);break;case 3:nde(s),OG(s,n),nne(s,!1,i)}for(a=new eU(e.b,0);a.b<a.d.gc();)0==(EP(a.b<a.d.gc()),LL(a.d.Xb(a.c=a.b++),29)).a.c.length&&nV(a)}(e,LL(a.c[0],29),LL(JN(a,a.c.length-1),29),n=new mB(e),i=new mB(e)),0==n.a.c.length||(GH(0,a.c.length),nE(a.c,0,n)),0==i.a.c.length||(a.c[a.c.length]=i)),ZP(e,(hxe(),bXe))&&(function(e,t,n){var r,i,o,a,s,l;for(a=LL(Fae(e,(hxe(),bXe)),14).Ic();a.Ob();){switch(o=LL(a.Pb(),10),LL(Fae(o,(Kwe(),xQe)),165).g){case 2:OG(o,t);break;case 4:OG(o,n)}for(i=new xF(BA(d9(o).a.Ic(),new p));Zce(i);)(r=LL(dX(i),18)).c&&r.d||(s=!r.d,l=LL(Fae(r,NXe),11),s?AG(r,l):PG(r,l))}}(e,r=new mB(e),o=new mB(e)),0==r.a.c.length||(GH(0,a.c.length),nE(a.c,0,r)),0==o.a.c.length||(a.c[a.c.length]=o)),_se(t)}function kbe(e){var t,n,r,i,o,a,s,l;for(a=new td(e.a);a.a<a.c.c.length;)if((o=LL(xW(a),10)).k==(mse(),WHe)&&((i=LL(Fae(o,(hxe(),dXe)),61))==(hwe(),Oet)||i==Qet))for(r=new xF(BA(d9(o).a.Ic(),new p));Zce(r);)0!=(t=(n=LL(dX(r),18)).a).b&&((s=n.c).i==o&&(EP(0!=t.b),LL(t.a.a.c,8).b=V5(q3(lw(J6e,1),s_e,8,0,[s.i.n,s.n,s.a])).b),(l=n.d).i==o&&(EP(0!=t.b),LL(t.c.b.c,8).b=V5(q3(lw(J6e,1),s_e,8,0,[l.i.n,l.n,l.a])).b))}function Cbe(e,t,n){var r,i,o,a,s,l,u,c,f,h;for(c=new yF(new Gd(n)),lz(s=fK(rat,Kke,24,e.f.e.c.length,16,1),s.length),n[t.b]=0,u=new td(e.f.e);u.a<u.c.c.length;)(l=LL(xW(u),144)).b!=t.b&&(n[l.b]=Dxe),RY(xae(c,l));for(;0!=c.b.c.length;)for(s[(f=LL(hQ(c),144)).b]=!0,o=zA(new k_(e.b,f),0);o.c;)s[(h=tre(i=LL(fG(o),281),f)).b]||(a=ZP(i,(Xte(),K$e))?Oy($O(Fae(i,K$e))):e.c,(r=n[f.b]+a)<n[h.b]&&(n[h.b]=r,f1(c,h),RY(xae(c,h))))}function Ebe(e,t){var n,r,i;if(i=pme(t),lS(new cj(null,(!t.c&&(t.c=new FF(fnt,t,9,9)),new ZG(t.c,16))),new np(i)),function(e,t){var n,r,i,o,a,s,l,u,c,f,h;a=Ty(VO(xfe(e,(Kwe(),pQe)))),h=LL(xfe(e,iJe),21),l=!1,u=!1,f=new SA((!e.c&&(e.c=new FF(fnt,e,9,9)),e.c));for(;!(f.e==f.i.gc()||l&&u);){for(o=LL(Hee(f),122),s=0,i=ZF(l0(q3(lw(yje,1),zxe,19,0,[(!o.d&&(o.d=new nR(rnt,o,8,5)),o.d),(!o.e&&(o.e=new nR(rnt,o,7,4)),o.e)])));Zce(i)&&(r=LL(dX(i),80),c=a&&Que(r)&&Ty(VO(xfe(r,gQe))),n=Lve((!r.b&&(r.b=new nR(nnt,r,4,7)),r.b),o)?e==rG(Xoe(LL(sJ((!r.c&&(r.c=new nR(nnt,r,5,8)),r.c),0),93))):e==rG(Xoe(LL(sJ((!r.b&&(r.b=new nR(nnt,r,4,7)),r.b),0),93))),!((c||n)&&++s>1)););(s>0||h.Fc((iae(),Eet))&&(!o.n&&(o.n=new FF(unt,o,1,7)),o.n).i>0)&&(l=!0),s>1&&(u=!0)}l&&t.Dc((Kde(),Tqe)),u&&t.Dc((Kde(),Aqe))}(t,r=LL(Fae(i,(hxe(),mXe)),21)),r.Fc((Kde(),Tqe)))for(n=new SA((!t.c&&(t.c=new FF(fnt,t,9,9)),t.c));n.e!=n.i.gc();)Kye(e,t,i,LL(Hee(n),122));return 0!=LL(xfe(t,(Kwe(),BQe)),174).gc()&&zde(t,i),Ty(VO(Fae(i,UQe)))&&r.Dc(Rqe),ZP(i,gJe)&&vy(new q9(Oy($O(Fae(i,gJe)))),i),OI(xfe(t,uQe))===OI((P8(),$7e))?function(e,t,n){var r,i,o,a,s,l,u,c,f,h,d,p,g,m,b,v,y,w,x,_,S;a=new sS,b=LL(Fae(n,(Kwe(),qZe)),108),G1(a,(!t.a&&(t.a=new FF(cnt,t,10,11)),t.a));for(;0!=a.b;)!Ty(VO(xfe(u=LL(0==a.b?null:(EP(0!=a.b),lJ(a,a.a.a)),34),HQe)))&&(f=0!=(!u.a&&(u.a=new FF(cnt,u,10,11)),u.a).i,d=Joe(u),h=OI(xfe(u,uQe))===OI((P8(),$7e)),g=null,(S=!hK(u,(fxe(),M8e))||fR(HO(xfe(u,M8e)),rIe))&&h&&(f||d)&&(S5(g=pme(u),qZe,b),ZP(g,gJe)&&vy(new q9(Oy($O(Fae(g,gJe)))),g),0!=LL(xfe(u,BQe),174).gc()&&(c=g,lS(new cj(null,(!u.c&&(u.c=new FF(fnt,u,9,9)),new ZG(u.c,16))),new rp(c)),zde(u,g))),v=n,(y=LL(aB(e.a,rG(u)),10))&&(v=y.e),p=Bye(e,u,v),g&&(p.e=g,g.e=p,G1(a,(!u.a&&(u.a=new FF(cnt,u,10,11)),u.a))));jq(a,t,a.c.b,a.c);for(;0!=a.b;){for(l=new SA((!(o=LL(0==a.b?null:(EP(0!=a.b),lJ(a,a.a.a)),34)).b&&(o.b=new FF(rnt,o,12,3)),o.b));l.e!=l.i.gc();)ege(s=LL(Hee(l),80)),x=Xoe(LL(sJ((!s.b&&(s.b=new nR(nnt,s,4,7)),s.b),0),93)),_=Xoe(LL(sJ((!s.c&&(s.c=new nR(nnt,s,5,8)),s.c),0),93)),Ty(VO(xfe(s,HQe)))||Ty(VO(xfe(x,HQe)))||Ty(VO(xfe(_,HQe)))||(m=o,Que(s)&&Ty(VO(xfe(x,pQe)))&&Ty(VO(xfe(s,gQe)))||aJ(_,x)?m=x:aJ(x,_)&&(m=_),v=n,(y=LL(aB(e.a,m),10))&&(v=y.e),S5(cxe(e,s,m,v),(hxe(),rXe),Ide(e,s,t,n)));if(h=OI(xfe(o,uQe))===OI((P8(),$7e)))for(i=new SA((!o.a&&(o.a=new FF(cnt,o,10,11)),o.a));i.e!=i.i.gc();)S=!hK(r=LL(Hee(i),34),(fxe(),M8e))||fR(HO(xfe(r,M8e)),rIe),w=OI(xfe(r,uQe))===OI($7e),S&&w&&jq(a,r,a.c.b,a.c)}}(e,t,i):function(e,t,n){var r,i,o,a,s,l,u,c,f,h,d,p,g;for(f=0,i=new SA((!t.a&&(t.a=new FF(cnt,t,10,11)),t.a));i.e!=i.i.gc();)Ty(VO(xfe(r=LL(Hee(i),34),(Kwe(),HQe))))||(OI(xfe(t,LZe))!==OI((W5(),E0e))&&(Fte(r,(hxe(),PXe),k8(f)),++f),Bye(e,r,n));for(f=0,u=new SA((!t.b&&(t.b=new FF(rnt,t,12,3)),t.b));u.e!=u.i.gc();)s=LL(Hee(u),80),OI(xfe(t,(Kwe(),LZe)))!==OI((W5(),E0e))&&(Fte(s,(hxe(),PXe),k8(f)),++f),p=Pae(s),g=Rae(s),c=Ty(VO(xfe(p,pQe))),d=!Ty(VO(xfe(s,HQe))),h=c&&Que(s)&&Ty(VO(xfe(s,gQe))),o=rG(p)==t&&rG(p)==rG(g),a=(rG(p)==t&&g==t)^(rG(g)==t&&p==t),d&&!h&&(a||o)&&cxe(e,s,t,n);if(rG(t))for(l=new SA(qV(rG(t)));l.e!=l.i.gc();)(p=Pae(s=LL(Hee(l),80)))==t&&Que(s)&&(h=Ty(VO(xfe(p,(Kwe(),pQe))))&&Ty(VO(xfe(s,gQe))))&&cxe(e,s,t,n)}(e,t,i),i}function Ibe(e,t,n,i){var o,a,s;if(this.j=new $m,this.k=new $m,this.b=new $m,this.c=new $m,this.e=new YM,this.i=new bv,this.f=new Gm,this.d=new $m,this.g=new $m,RL(this.b,e),RL(this.b,t),this.e.c=r.Math.min(e.a,t.a),this.e.d=r.Math.min(e.b,t.b),this.e.b=r.Math.abs(e.a-t.a),this.e.a=r.Math.abs(e.b-t.b),o=LL(Fae(i,(Kwe(),vQe)),74))for(s=cte(o,0);s.b!=s.d.c;)MJ((a=LL(BU(s),8)).a,e.a)&&bN(this.i,a);n&&RL(this.j,n),RL(this.k,i)}function Mbe(e,t,n){var r,i,o,a,s,l,u,c,f;for(i=!0,a=new td(e.b);a.a<a.c.c.length;){for(o=LL(xW(a),29),u=LSe,c=null,l=new td(o.a);l.a<l.c.c.length;){if(s=LL(xW(l),10),f=Oy(t.p[s.p])+Oy(t.d[s.p])-s.d.d,r=Oy(t.p[s.p])+Oy(t.d[s.p])+s.o.b+s.d.a,!(f>u&&r>u)){i=!1,n.n&&YL(n,"bk node placement breaks on "+s+" which should have been after "+c);break}c=s,u=Oy(t.p[s.p])+Oy(t.d[s.p])+s.o.b+s.d.a}if(!i)break}return n.n&&YL(n,t+" is feasible: "+i),i}function Tbe(e,t,n,r){var i,o,a,s,l,u,c;if(n.d.i!=t.i){for(vh(i=new Sne(e),(mse(),qHe)),S5(i,(hxe(),OXe),n),S5(i,(Kwe(),tJe),(joe(),vet)),r.c[r.c.length]=i,DG(a=new Pse,i),mue(a,(hwe(),Qet)),DG(s=new Pse,i),mue(s,Oet),c=n.d,AG(n,a),c3(o=new N$,n),S5(o,vQe,null),PG(o,s),AG(o,c),u=new eU(n.b,0);u.b<u.d.gc();)EP(u.b<u.d.gc()),OI(Fae(l=LL(u.d.Xb(u.c=u.b++),69),QZe))===OI(($J(),m7e))&&(S5(l,uXe,n),nV(u),RL(o.b,l));tfe(i,a,s)}}function Abe(e,t,n,r){var i,o,a,s,l,u;if(n.c.i!=t.i)for(vh(i=new Sne(e),(mse(),qHe)),S5(i,(hxe(),OXe),n),S5(i,(Kwe(),tJe),(joe(),vet)),r.c[r.c.length]=i,DG(a=new Pse,i),mue(a,(hwe(),Qet)),DG(s=new Pse,i),mue(s,Oet),AG(n,a),c3(o=new N$,n),S5(o,vQe,null),PG(o,s),AG(o,t),tfe(i,a,s),u=new eU(n.b,0);u.b<u.d.gc();)EP(u.b<u.d.gc()),l=LL(u.d.Xb(u.c=u.b++),69),LL(Fae(l,QZe),271)==($J(),m7e)&&(ZP(l,uXe)||S5(l,uXe,n),nV(u),RL(o.b,l))}function Pbe(e,t,n,i,o){var a,s,l,u,c,f,h,d,p,g,m,b,v,y;for(h=new $m,b=Aq(i),m=t*e.a,0,p=0,a=new Pb,s=new Pb,l=new $m,v=0,y=0,d=0,g=0,c=0,f=0;0!=b.a.gc();)(u=l9(b,o,s))&&(b.a.zc(u),l.c[l.c.length]=u,a.a.xc(u,a),p=e.f[u.p],v+=e.e[u.p]-p*e.b,y+=e.c[u.p]*e.b,f+=p*e.b,g+=e.e[u.p]),(!u||0==b.a.gc()||v>=m&&e.e[u.p]>p*e.b||y>=n*m)&&(h.c[h.c.length]=l,l=new $m,G1(s,a),a.a.$b(),c-=f,d=r.Math.max(d,c*e.b+g),c+=y,v=y,y=0,f=0,g=0);return new KE(d,h)}function Obe(e){var t,n,r,i,o,a,s,l,u,c,f,h;for(n=new Uh(new Wh(e.c.b).a.tc().Ic());n.a.Ob();)s=LL(n.a.Pb(),43),null==(i=(t=LL(s.bd(),149)).a)&&(i=""),!(r=UO(e.c,i))&&0==i.length&&(r=K6(e)),r&&!l7(r.c,t,!1)&&bN(r.c,t);for(a=cte(e.a,0);a.b!=a.d.c;)o=LL(BU(a),472),u=OX(e.c,o.a),h=OX(e.c,o.b),u&&h&&bN(u.c,new KE(h,o.c));for(s$(e.a),f=cte(e.b,0);f.b!=f.d.c;)c=LL(BU(f),472),t=WO(e.c,c.a),l=OX(e.c,c.b),t&&l&&HS(t,l,c.c);s$(e.b)}function Dbe(e){var t,n,r,i,o,a;if(!e.f){if(a=new gl,o=new gl,null==(t=Jrt).a.xc(e,t)){for(i=new SA(K$(e));i.e!=i.i.gc();)Qz(a,Dbe(LL(Hee(i),26)));t.a.zc(e),t.a.gc()}for(!e.s&&(e.s=new FF(urt,e,21,17)),r=new SA(e.s);r.e!=r.i.gc();)BT(n=LL(Hee(r),170),97)&&AK(o,LL(n,17));Y4(o),e.r=new QL(e,(LL(sJ(k$(($z(),krt).o),6),17),o.i),o.g),Qz(a,e.r),Y4(a),e.f=new fM((LL(sJ(k$(krt.o),5),17),a.i),a.g),VX(e).b&=-3}return e.f}function Rbe(e){var t,n,r,i,o,a,s,l,u,c,f,h,d,p;for(a=e.o,r=fK(nat,sSe,24,a,15,1),i=fK(nat,sSe,24,a,15,1),n=e.p,t=fK(nat,sSe,24,n,15,1),o=fK(nat,sSe,24,n,15,1),u=0;u<a;u++){for(f=0;f<n&&!lne(e,u,f);)++f;r[u]=f}for(c=0;c<a;c++){for(f=n-1;f>=0&&!lne(e,c,f);)--f;i[c]=f}for(d=0;d<n;d++){for(s=0;s<a&&!lne(e,s,d);)++s;t[d]=s}for(p=0;p<n;p++){for(s=a-1;s>=0&&!lne(e,s,p);)--s;o[p]=s}for(l=0;l<a;l++)for(h=0;h<n;h++)l<o[h]&&l>t[h]&&h<i[l]&&h>r[l]&&jpe(e,l,h,!1,!0)}function Lbe(e){var t,n,r,i,o,a,s,l;n=Ty(VO(Fae(e,(fde(),k$e)))),o=e.a.c.d,s=e.a.d.d,n?(a=cA(VD(new YE(s.a,s.b),o),.5),l=cA(RT(e.e),.5),t=VD(BD(new YE(o.a,o.b),a),l),iO(e.d,t)):(i=Oy($O(Fae(e.a,N$e))),r=e.d,o.a>=s.a?o.b>=s.b?(r.a=s.a+(o.a-s.a)/2+i,r.b=s.b+(o.b-s.b)/2-i-e.e.b):(r.a=s.a+(o.a-s.a)/2+i,r.b=o.b+(s.b-o.b)/2+i):o.b>=s.b?(r.a=o.a+(s.a-o.a)/2+i,r.b=s.b+(o.b-s.b)/2+i):(r.a=o.a+(s.a-o.a)/2+i,r.b=o.b+(s.b-o.b)/2-i-e.e.b))}function Nbe(e,t){var n,r,i,o,a,s,l;if(null==e)return null;if(0==(o=e.length))return"";for(l=fK(tat,q_e,24,o,15,1),DY(0,o,e.length),DY(0,o,l.length),Rz(e,0,o,l,0),n=null,s=t,i=0,a=0;i<o;i++)r=l[i],xxe(),r<=32&&0!=(2&_ot[r])?s?(!n&&(n=new XA(e)),z$(n,i-a++)):(s=t,32!=r&&(!n&&(n=new XA(e)),tV(n,i-a,i-a+1,String.fromCharCode(32)))):s=!1;return s?n?(o=n.a.length)>0?zP(n.a,0,o-1):"":e.substr(0,o-1):n?n.a:e}function jbe(){jbe=S,pnt=q3(lw(tat,1),q_e,24,15,[48,49,50,51,52,53,54,55,56,57,65,66,67,68,69,70]),gnt=new RegExp("[ \t\n\r\f]+");try{dnt=q3(lw(nit,1),zxe,1984,0,[new Em((dT(),S7("yyyy-MM-dd'T'HH:mm:ss'.'SSSZ",zD((dy(),dy(),Wje))))),new Em(S7("yyyy-MM-dd'T'HH:mm:ss'.'SSS",zD(Wje))),new Em(S7("yyyy-MM-dd'T'HH:mm:ss",zD(Wje))),new Em(S7("yyyy-MM-dd'T'HH:mm",zD(Wje))),new Em(S7("yyyy-MM-dd",zD(Wje)))])}catch(e){if(!BT(e=v3(e),78))throw Jm(e)}}function Fbe(e){GS(e,new rae(Yw(Hw(Xw(Uw(new hs,HCe),"ELK DisCo"),"Layouter for arranging unconnected subgraphs. The subgraphs themselves are, by default, not laid out."),new rt))),rU(e,HCe,GCe,gte(s$e)),rU(e,HCe,WCe,gte(t$e)),rU(e,HCe,UCe,gte(KVe)),rU(e,HCe,qCe,gte(n$e)),rU(e,HCe,Gke,gte(o$e)),rU(e,HCe,Wke,gte(i$e)),rU(e,HCe,Hke,gte(a$e)),rU(e,HCe,Uke,gte(r$e)),rU(e,HCe,FCe,gte(QVe)),rU(e,HCe,zCe,gte(ZVe)),rU(e,HCe,BCe,gte(JVe)),rU(e,HCe,VCe,gte(e$e))}function zbe(e,t,n,r){var i,o,a,s,l,u,c;if(vh(o=new Sne(e),(mse(),YHe)),S5(o,(Kwe(),tJe),(joe(),vet)),i=0,t){for(S5(a=new Pse,(hxe(),OXe),t),S5(o,OXe,t.i),mue(a,(hwe(),Qet)),DG(a,o),u=0,c=(l=gU(t.e)).length;u<c;++u)AG(l[u],a);S5(t,BXe,o),++i}if(n){for(s=new Pse,S5(o,(hxe(),OXe),n.i),S5(s,OXe,n),mue(s,(hwe(),Oet)),DG(s,o),u=0,c=(l=gU(n.g)).length;u<c;++u)PG(l[u],s);S5(n,BXe,o),++i}return S5(o,(hxe(),iXe),k8(i)),r.c[r.c.length]=o,o}function Bbe(e,t,n,i){var o,a,s,l,u,c,f,h,d;return c=(u=VD(new YE(n.a,n.b),e)).a*t.b-u.b*t.a,f=t.a*i.b-t.b*i.a,h=(u.a*i.b-u.b*i.a)/f,d=c/f,0==f?0==c?(a=wK(e,o=BD(new YE(n.a,n.b),cA(new YE(i.a,i.b),.5))),s=wK(BD(new YE(e.a,e.b),t),o),l=.5*r.Math.sqrt(i.a*i.a+i.b*i.b),a<s&&a<=l?new YE(e.a,e.b):s<=l?BD(new YE(e.a,e.b),t):null):null:h>=0&&h<=1&&d>=0&&d<=1?BD(new YE(e.a,e.b),cA(new YE(t.a,t.b),h)):null}function Vbe(e){var t,n,i,o,a,s,l,u,c,f;for(u=new Gh(new Fh(Cce(e)).a.tc().Ic());u.a.Ob();){for(i=LL(u.a.Pb(),43),c=0,f=0,c=(l=LL(i.ad(),10)).d.d,f=l.o.b+l.d.a,e.d[l.p]=0,t=l;(o=e.a[t.p])!=l;)n=Ree(t,o),s=0,s=e.c==(sH(),W1e)?n.d.n.b+n.d.a.b-n.c.n.b-n.c.a.b:n.c.n.b+n.c.a.b-n.d.n.b-n.d.a.b,a=Oy(e.d[t.p])+s,e.d[o.p]=a,c=r.Math.max(c,o.d.d-a),f=r.Math.max(f,a+o.o.b+o.d.a),t=o;t=l;do{e.d[t.p]=Oy(e.d[t.p])+c,t=e.a[t.p]}while(t!=l);e.b[l.p]=c+f}}function $be(e){var t,n,i,o,a,s,l,u,c,f,h;for(e.b=!1,f=RSe,l=LSe,h=RSe,u=LSe,n=e.e.a.ec().Ic();n.Ob();)for(i=(t=LL(n.Pb(),265)).a,f=r.Math.min(f,i.c),l=r.Math.max(l,i.c+i.b),h=r.Math.min(h,i.d),u=r.Math.max(u,i.d+i.a),a=new td(t.c);a.a<a.c.c.length;)(o=LL(xW(a),391)).a.a?(s=(c=i.d+o.b.b)+o.c,h=r.Math.min(h,c),u=r.Math.max(u,s)):(s=(c=i.c+o.b.a)+o.c,f=r.Math.min(f,c),l=r.Math.max(l,s));e.a=new YE(l-f,u-h),e.c=new YE(f+e.d.a,h+e.d.b)}function Hbe(e){var t,n,r,i,o,a;if(!e.a){if(e.o=null,a=new km(e),t=new xl,null==(n=Jrt).a.xc(e,n)){for(o=new SA(K$(e));o.e!=o.i.gc();)Qz(a,Hbe(LL(Hee(o),26)));n.a.zc(e),n.a.gc()}for(!e.s&&(e.s=new FF(urt,e,21,17)),i=new SA(e.s);i.e!=i.i.gc();)BT(r=LL(Hee(i),170),321)&&AK(t,LL(r,32));Y4(t),e.k=new ZL(e,(LL(sJ(k$(($z(),krt).o),7),17),t.i),t.g),Qz(a,e.k),Y4(a),e.a=new fM((LL(sJ(k$(krt.o),4),17),a.i),a.g),VX(e).b&=-2}return e.a}function Gbe(e,t,n,i,o,a,s){var l,u,c,f,h,d,p,g;switch(p=0,g=0,u=o.e,l=o.d,f=n.f,d=n.g,t.g){case 0:p=i.i+i.g+s,g=e.c?function(e,t,n,r){var i,o,a,s,l;for(o=null,i=0,s=new td(t);s.a<s.c.c.length;)l=(a=LL(xW(s),34)).j+a.f,e<a.i+a.g+r&&(o?n.j-l<n.j-i&&(o=a):o=a,i=o.j+o.f);return o?i+r:0}(p,a,i,s):i.j,h=r.Math.max(u,p+d),c=r.Math.max(l,g+f);break;case 1:g=i.j+i.f+s,p=e.c?function(e,t,n,r){var i,o,a,s,l;for(i=null,o=0,s=new td(t);s.a<s.c.c.length;)l=(a=LL(xW(s),34)).i+a.g,e<a.j+a.f+r&&(i?n.i-l<n.i-o&&(i=a):i=a,o=i.i+i.g);return i?o+r:0}(g,a,i,s):i.i,h=r.Math.max(u,p+d),c=r.Math.max(l,g+f);break;case 2:p=u+s,g=0,h=u+s+d,c=r.Math.max(l,f);break;case 3:p=0,g=l+s,h=r.Math.max(u,d),c=l+s+f;break;default:throw Jm(new Ny("IllegalPlacementOption."))}return new Z0(e.a,h,c,t,p,g)}function Wbe(e,t,n,r){var i,o,a,s,l,u,c;if(c=ade(e.e.Og(),t),i=0,o=LL(e.g,118),l=null,tk(),LL(t,65).Jj()){for(s=0;s<e.i;++s)if(a=o[s],c.ml(a.Xj())){if(l8(a,n)){l=a;break}++i}}else if(null!=n){for(s=0;s<e.i;++s)if(a=o[s],c.ml(a.Xj())){if(l8(n,a.bd())){l=a;break}++i}}else for(s=0;s<e.i;++s)if(a=o[s],c.ml(a.Xj())){if(null==a.bd()){l=a;break}++i}return l&&(FM(e.e)&&(u=t.Vj()?new Eq(e.e,4,t,n,null,i,!0):cH(e,t.Fj()?2:1,t,n,t.uj(),-1,!0),r?r.zi(u):r=u),r=Sge(e,l,r)),r}function Ube(e,t,n,r){var i,o,a,s,l,u;if(l=ade(e.e.Og(),t),o=LL(e.g,118),Ede(e.e,t)){for(i=0,s=0;s<e.i;++s)if(a=o[s],l.ml(a.Xj())){if(i==n)return tk(),LL(t,65).Jj()?a:(null!=(u=a.bd())&&r&&BT(t,97)&&0!=(LL(t,17).Bb&FSe)&&(u=Uue(e,t,s,i,u)),u);++i}throw Jm(new Ey(zRe+n+GDe+i))}for(i=0,s=0;s<e.i;++s){if(a=o[s],l.ml(a.Xj()))return tk(),LL(t,65).Jj()?a:(null!=(u=a.bd())&&r&&BT(t,97)&&0!=(LL(t,17).Bb&FSe)&&(u=Uue(e,t,s,i,u)),u);++i}return t.uj()}function qbe(e,t,n){var r,i,o,a,s,l,u,c;if(i=LL(e.g,118),Ede(e.e,t))return tk(),LL(t,65).Jj()?new DN(t,e):new II(t,e);for(u=ade(e.e.Og(),t),r=0,s=0;s<e.i;++s){if(a=(o=i[s]).Xj(),u.ml(a)){if(tk(),LL(t,65).Jj())return o;if(a==(bce(),Lit)||a==Oit){for(l=new YA(P9(o.bd()));++s<e.i;)((a=(o=i[s]).Xj())==Lit||a==Oit)&&UI(l,P9(o.bd()));return uR(LL(t.Tj(),148),l.a)}return null!=(c=o.bd())&&n&&BT(t,97)&&0!=(LL(t,17).Bb&FSe)&&(c=Uue(e,t,s,r,c)),c}++r}return t.uj()}function Xbe(e,t,n,r,i){var o,a,s,l,u,c,f,h,d;if(Q_(),IF(e,"src"),IF(n,"dest"),h=g4(e),l=g4(n),VR(0!=(4&h.i),"srcType is not an array"),VR(0!=(4&l.i),"destType is not an array"),f=h.c,a=l.c,VR(0!=(1&f.i)?f==a:0==(1&a.i),"Array types don't match"),d=e.length,u=n.length,t<0||r<0||i<0||t+i>d||r+i>u)throw Jm(new gb);if(0==(1&f.i)&&h!=l)if(c=xJ(e),o=xJ(n),OI(e)===OI(n)&&t<r)for(t+=i,s=r+i;s-- >r;)nB(o,s,c[--t]);else for(s=r+i;r<s;)nB(o,r++,c[t++]);else i>0&&due(e,t,n,r,i,!0)}function Ybe(e,t,n,r,i,o){var a,s,l,u;return l=!1,a=Rhe(n.q,t.e+t.b-n.q.e),!((u=i-(n.q.d+a))<r.g)&&(s=pbe(r,u,!1).a,(1==(MG(o,e.c.length),LL(e.c[o],180)).a.c.length||s<=t.b)&&(1==(MG(o,e.c.length),LL(e.c[o],180)).a.c.length?(n.d=s,pbe(n,Bse(n,s),!0)):(boe(n.q,a),n.c=!0),pbe(r,i-(n.s+n.r),!0),gne(r,n.q.d+n.q.c,t.e),aW(t,r),e.c.length>o&&(Eee((MG(o,e.c.length),LL(e.c[o],180)),r),0==(MG(o,e.c.length),LL(e.c[o],180)).a.c.length&&eY(e,o)),l=!0),l)}function Kbe(){Kbe=S,$Fe=q3(lw(nat,1),sSe,24,15,[F_e,1162261467,M_e,1220703125,362797056,1977326743,M_e,387420489,MSe,214358881,429981696,815730721,1475789056,170859375,268435456,410338673,612220032,893871739,128e7,1801088541,113379904,148035889,191102976,244140625,308915776,387420489,481890304,594823321,729e6,887503681,M_e,1291467969,1544804416,1838265625,60466176]),HFe=q3(lw(nat,1),sSe,24,15,[-1,-1,31,19,15,13,11,11,10,9,9,8,8,8,8,7,7,7,7,7,7,7,6,6,6,6,6,6,6,6,6,6,6,6,6,6,5])}function Zbe(e,t){var n,r,i,o,a;if(a=LL(t,136),Rfe(e),Rfe(a),null!=a.b){if(e.c=!0,null==e.b)return e.b=fK(nat,sSe,24,a.b.length,15,1),void Xbe(a.b,0,e.b,0,a.b.length);for(o=fK(nat,sSe,24,e.b.length+a.b.length,15,1),n=0,r=0,i=0;n<e.b.length||r<a.b.length;)n>=e.b.length?(o[i++]=a.b[r++],o[i++]=a.b[r++]):r>=a.b.length?(o[i++]=e.b[n++],o[i++]=e.b[n++]):a.b[r]<e.b[n]||a.b[r]===e.b[n]&&a.b[r+1]<e.b[n+1]?(o[i++]=a.b[r++],o[i++]=a.b[r++]):(o[i++]=e.b[n++],o[i++]=e.b[n++]);e.b=o}}function Qbe(e,t){var n,r,i,o,a,s,l,u,c,f;return n=Ty(VO(Fae(e,(hxe(),EXe)))),s=Ty(VO(Fae(t,EXe))),r=LL(Fae(e,IXe),11),l=LL(Fae(t,IXe),11),i=LL(Fae(e,MXe),11),u=LL(Fae(t,MXe),11),c=!!r&&r==l,f=!!i&&i==u,n||s?(o=(!Ty(VO(Fae(e,EXe)))||Ty(VO(Fae(e,CXe))))&&(!Ty(VO(Fae(t,EXe)))||Ty(VO(Fae(t,CXe)))),a=!(Ty(VO(Fae(e,EXe)))&&Ty(VO(Fae(e,CXe)))||Ty(VO(Fae(t,EXe)))&&Ty(VO(Fae(t,CXe)))),new KR(c&&o||f&&a,c,f)):new KR(LL(xW(new td(e.j)),11).p==LL(xW(new td(t.j)),11).p,c,f)}function Jbe(e){var t,n,r,i;return 0!=(64&e.Db)?h9(e):(t=new YA(ROe),(r=e.k)?UI(UI((t.a+=' "',t),r),'"'):(!e.n&&(e.n=new FF(unt,e,1,7)),e.n.i>0&&(!(i=(!e.n&&(e.n=new FF(unt,e,1,7)),LL(sJ(e.n,0),137)).a)||UI(UI((t.a+=' "',t),i),'"'))),!e.b&&(e.b=new nR(nnt,e,4,7)),n=!(e.b.i<=1&&(!e.c&&(e.c=new nR(nnt,e,5,8)),e.c.i<=1)),t.a+=n?" [":" ",UI(t,TA(new iw,new SA(e.b))),n&&(t.a+="]"),t.a+=UEe,n&&(t.a+="["),UI(t,TA(new iw,new SA(e.c))),n&&(t.a+="]"),t.a)}function eve(e,t){var n,r,i,o,a,s,l;if(e.a){if(l=null,null!=(s=e.a.ne())?t.a+=""+s:null!=(a=e.a.yj())&&(-1!=(o=SM(a,bae(91)))?(l=a.substr(o),t.a+=""+zP(null==a?$xe:(wB(a),a),0,o)):t.a+=""+a),e.d&&0!=e.d.i){for(i=!0,t.a+="<",r=new SA(e.d);r.e!=r.i.gc();)n=LL(Hee(r),86),i?i=!1:t.a+=jxe,eve(n,t);t.a+=">"}null!=l&&(t.a+=""+l)}else e.e?null!=(s=e.e.zb)&&(t.a+=""+s):(t.a+="?",e.b?(t.a+=" super ",eve(e.b,t)):e.f&&(t.a+=" extends ",eve(e.f,t)))}function tve(e,t,n){var i,o,a,s,l,u,c;return r.Math.abs(t.s-t.c)<uEe||r.Math.abs(n.s-n.c)<uEe?0:(i=tde(e,t.j,n.e),o=tde(e,n.j,t.e),a=0,-1==i||-1==o?(-1==i&&(new BG((EY(),g2e),n,t,1),++a),-1==o&&(new BG((EY(),g2e),t,n,1),++a)):(s=Y6(t.j,n.s,n.c),s+=Y6(n.e,t.s,t.c),l=Y6(n.j,t.s,t.c),(u=i+16*s)<(c=o+16*(l+=Y6(t.e,n.s,n.c)))?new BG((EY(),m2e),t,n,c-u):u>c?new BG((EY(),m2e),n,t,u-c):u>0&&c>0&&(new BG((EY(),m2e),t,n,0),new BG(m2e,n,t,0))),a)}function nve(e,t,n,r){var i,o,a,s,l,u;if(o=a9(r),!Ty(VO(Fae(r,(Kwe(),TQe))))&&!Ty(VO(Fae(e,dQe)))||jM(LL(Fae(e,tJe),100)))switch(DG(s=new Pse,e),t?((u=s.n).a=t.a-e.n.a,u.b=t.b-e.n.b,Vse(u,0,0,e.o.a,e.o.b),mue(s,dme(s,o))):(i=K9(o),mue(s,n==(E0(),L0e)?i:B8(i))),a=LL(Fae(r,(hxe(),mXe)),21),l=s.j,o.g){case 2:case 1:(l==(hwe(),Det)||l==Ket)&&a.Dc((Kde(),Dqe));break;case 4:case 3:(l==(hwe(),Oet)||l==Qet)&&a.Dc((Kde(),Dqe))}else i=K9(o),s=sme(e,n,n==(E0(),L0e)?i:B8(i));return s}function rve(e,t){var n,i,o,a,s;for(s=new m4(new jh(e.f.b).a);s.b;){if(o=LL((a=kJ(s)).ad(),585),1==t){if(o.hf()!=(A8(),d7e)&&o.hf()!=u7e)continue}else if(o.hf()!=(A8(),c7e)&&o.hf()!=f7e)continue;switch(i=LL(LL(a.bd(),46).b,79),n=LL(LL(a.bd(),46).a,189).c,o.hf().g){case 2:i.g.c=e.e.a,i.g.b=r.Math.max(1,i.g.b+n);break;case 1:i.g.c=i.g.c+n,i.g.b=r.Math.max(1,i.g.b-n);break;case 4:i.g.d=e.e.b,i.g.a=r.Math.max(1,i.g.a+n);break;case 3:i.g.d=i.g.d+n,i.g.a=r.Math.max(1,i.g.a-n)}}}function ive(e,t){var n,r,i,o,a,s,l,u,c,f,h;for(r=new xF(BA(she(t).a.Ic(),new p));Zce(r);)BT(sJ((!(n=LL(dX(r),80)).b&&(n.b=new nR(nnt,n,4,7)),n.b),0),199)||(l=Xoe(LL(sJ((!n.c&&(n.c=new nR(nnt,n,5,8)),n.c),0),93)),zce(n)||(a=t.i+t.g/2,s=t.j+t.f/2,c=l.i+l.g/2,f=l.j+l.f/2,(h=new hx).a=c-a,h.b=f-s,Mie(o=new YE(h.a,h.b),t.g,t.f),h.a-=o.a,h.b-=o.b,a=c-h.a,s=f-h.b,Mie(u=new YE(h.a,h.b),l.g,l.f),h.a-=u.a,h.b-=u.b,c=a+h.a,f=s+h.b,XJ(i=Wde(n,!0,!0),a),QJ(i,s),KJ(i,c),ZJ(i,f),ive(e,l)))}function ove(e){GS(e,new rae(Yw(Hw(Xw(Uw(new hs,xPe),"ELK SPOrE Compaction"),"ShrinkTree is a compaction algorithm that maintains the topology of a layout. The relocation of diagram elements is based on contracting a spanning tree."),new Qa))),rU(e,xPe,_Pe,gte(q4e)),rU(e,xPe,SPe,gte(G4e)),rU(e,xPe,kPe,gte(H4e)),rU(e,xPe,CPe,gte(V4e)),rU(e,xPe,EPe,gte($4e)),rU(e,xPe,qCe,B4e),rU(e,xPe,gEe,8),rU(e,xPe,IPe,gte(U4e)),rU(e,xPe,MPe,gte(N4e)),rU(e,xPe,TPe,gte(j4e)),rU(e,xPe,ITe,(_P(),!1))}function ave(e,t,n){var r,i,o,a,s,l,u,c;return r=e.a.o==(YH(),Y1e)?RSe:LSe,!(s=kme(e,new eE(t,n))).a&&s.c?(bN(e.d,s),r):s.a?(i=s.a.c,l=s.a.d,n?(u=e.a.c==(sH(),U1e)?l:i,o=e.a.c==U1e?i:l,a=e.a.g[o.i.p],c=Oy(e.a.p[a.p])+Oy(e.a.d[o.i.p])+o.n.b+o.a.b-Oy(e.a.d[u.i.p])-u.n.b-u.a.b):(u=e.a.c==(sH(),W1e)?l:i,o=e.a.c==W1e?i:l,c=Oy(e.a.p[e.a.g[o.i.p].p])+Oy(e.a.d[o.i.p])+o.n.b+o.a.b-Oy(e.a.d[u.i.p])-u.n.b-u.a.b),e.a.n[e.a.g[i.i.p].p]=(_P(),!0),e.a.n[e.a.g[l.i.p].p]=!0,c):r}function sve(e,t,n){var r,i,o,a,s,l,u;if(Ede(e.e,t))tk(),_ce((s=LL(t,65).Jj()?new DN(t,e):new II(t,e)).c,s.b),zT(s,LL(n,15));else{for(u=ade(e.e.Og(),t),r=LL(e.g,118),o=0;o<e.i;++o)if(i=r[o].Xj(),u.ml(i)){if(i==(bce(),Lit)||i==Oit){for(a=o,(l=xne(e,t,n))?Yde(e,o):++o;o<e.i;)(i=r[o].Xj())==Lit||i==Oit?Yde(e,o):++o;l||LL(Lte(e,a,uq(t,n)),71)}else xne(e,t,n)?Yde(e,o):LL(Lte(e,o,(tk(),LL(t,65).Jj()?LL(n,71):uq(t,n))),71);return}xne(e,t,n)||AK(e,(tk(),LL(t,65).Jj()?LL(n,71):uq(t,n)))}}function lve(e,t,n){var r,i,o,a,s,l,u,c;return l8(n,e.b)||(e.b=n,o=new Ye,a=LL(Nq(SV(new cj(null,new ZG(n.f,16)),o),xZ(new W,new U,new ie,new oe,q3(lw(jze,1),A_e,132,0,[(z4(),Lze),Rze]))),21),e.e=!0,e.f=!0,e.c=!0,e.d=!0,i=a.Fc((Bte(),CVe)),r=a.Fc(EVe),i&&!r&&(e.f=!1),!i&&r&&(e.d=!1),i=a.Fc(kVe),r=a.Fc(IVe),i&&!r&&(e.c=!1),!i&&r&&(e.e=!1)),c=LL(e.a.Ce(t,n),46),l=LL(c.a,20).a,u=LL(c.b,20).a,s=!1,l<0?e.c||(s=!0):e.e||(s=!0),u<0?e.d||(s=!0):e.f||(s=!0),s?lve(e,c,n):c}function uve(){var e;uve=S,Unt=new _v,Gnt=fK(CFe,s_e,2,0,6,1),Ynt=kH(R3(33,58),R3(1,26)),Knt=kH(R3(97,122),R3(65,90)),Znt=R3(48,57),qnt=kH(Ynt,0),Xnt=kH(Knt,Znt),Qnt=kH(kH(0,R3(1,6)),R3(33,38)),Jnt=kH(kH(Znt,R3(65,70)),R3(97,102)),irt=kH(qnt,Jee("-_.!~*'()")),ort=kH(Xnt,n7("-_.!~*'()")),Jee(WRe),n7(WRe),kH(irt,Jee(";:@&=+$,")),kH(ort,n7(";:@&=+$,")),ert=Jee(":/?#"),trt=n7(":/?#"),nrt=Jee("/?#"),rrt=n7("/?#"),(e=new Pb).a.xc("jar",e),e.a.xc("zip",e),e.a.xc("archive",e),v$(),Wnt=new mw(e)}function cve(e,t){var n,r,i,o,a,s,l,u,c,f,h,d,p;if(a=e.e,l=t.e,0==a)return t;if(0==l)return e;if((o=e.d)+(s=t.d)==2)return n=SH(e.a[0],HSe),r=SH(t.a[0],HSe),a==l?(p=QN(c=o8(n,r)),0==(d=QN(_N(c,32)))?new xY(a,p):new nz(a,2,q3(lw(nat,1),sSe,24,15,[p,d]))):bee(a<0?s8(r,n):s8(n,r));if(a==l)h=a,f=o>=s?cK(e.a,o,t.a,s):cK(t.a,s,e.a,o);else{if(0==(i=o!=s?o>s?1:-1:n4(e.a,t.a,o)))return npe(),BFe;1==i?(h=a,f=tY(e.a,o,t.a,s)):(h=l,f=tY(t.a,s,e.a,o))}return JW(u=new nz(h,f.length,f)),u}function fve(e,t){var n,r,i,o,a,s,l,u,c,f,h,d;for(c=0;c<t.length;c++){for(a=e.Ic();a.Ob();)LL(a.Pb(),235).Lf(c,t);for(f=0;f<t[c].length;f++){for(s=e.Ic();s.Ob();)LL(s.Pb(),235).Mf(c,f,t);for(d=t[c][f].j,h=0;h<d.c.length;h++){for(l=e.Ic();l.Ob();)LL(l.Pb(),235).Nf(c,f,h,t);for(MG(h,d.c.length),n=0,i=new fY(LL(d.c[h],11).b);CT(i.a)||CT(i.b);)for(r=LL(CT(i.a)?xW(i.a):xW(i.b),18),u=e.Ic();u.Ob();)LL(u.Pb(),235).Kf(c,f,h,n++,r,t)}}}for(o=e.Ic();o.Ob();)LL(o.Pb(),235).Jf()}function hve(e,t,n){var r,i,o,a;this.j=e,this.e=Aoe(e),this.o=this.j.e,this.i=!!this.o,this.p=this.i?LL(JN(n,jB(this.o).p),231):null,i=LL(Fae(e,(hxe(),mXe)),21),this.g=i.Fc((Kde(),Tqe)),this.b=new $m,this.d=new a7(this.e),a=LL(Fae(this.j,HXe),228),this.q=function(e,t,n){return e==(M0(),k1e)?new Ro:0!=Gfe(t,1)?new Ow(n.length):new Pw(n.length)}(t,a,this.e),this.k=new lG(this),o=JX(q3(lw(FWe,1),zxe,235,0,[this,this.d,this.k,this.q])),t==(M0(),_1e)?(r=new Doe(this.e),o.c[o.c.length]=r,this.c=new yU(r,a,LL(this.q,451))):this.c=new fC(t,this),RL(o,this.c),fve(o,this.e),this.s=function(e){var t,n,r,i,o,a,s,l,u,c,f,h,d,g,m,b,v,y,w,x,_,S;if((n=Oy($O(Fae(e.a.j,(Kwe(),BZe)))))<-1||!e.a.i||mR(LL(Fae(e.a.o,tJe),100))||i9(e.a.o,(hwe(),Oet)).gc()<2&&i9(e.a.o,Qet).gc()<2)return!0;if(e.a.c.Of())return!1;for(w=0,y=0,v=new $m,s=e.a.e,l=0,u=s.length;l<u;++l){for(h=0,g=(f=s[l]).length;h<g;++h)if((c=f[h]).k!=(mse(),YHe)){for(r=e.b[c.c.p][c.p],c.k==WHe?(r.b=1,LL(Fae(c,(hxe(),OXe)),11).j==(hwe(),Oet)&&(y+=r.a)):(S=i9(c,(hwe(),Qet))).dc()||!eA(S,new $o)?r.c=1:((i=i9(c,Oet)).dc()||!eA(i,new Vo))&&(w+=r.a),a=new xF(BA(g9(c).a.Ic(),new p));Zce(a);)o=LL(dX(a),18),w+=r.c,y+=r.b,yK(e,r,o.d.i);for(_=new xF(new OA((m=l0(q3(lw(yje,1),zxe,19,0,[i9(c,(hwe(),Det)),i9(c,Ket)]))).a.length,m.a));Zce(_);)x=LL(dX(_),11),(b=LL(Fae(x,(hxe(),BXe)),10))&&(w+=r.c,y+=r.b,yK(e,r,b))}else v.c[v.c.length]=c;for(d=new td(v);d.a<d.c.c.length;)for(c=LL(xW(d),10),r=e.b[c.c.p][c.p],a=new xF(BA(g9(c).a.Ic(),new p));Zce(a);)o=LL(dX(a),18),w+=r.c,y+=r.b,yK(e,r,o.d.i);v.c=fK(pje,zxe,1,0,5,1)}return(0==(t=w+y)?RSe:(w-y)/t)>=n}(this.k)}function dve(e,t){var n,r,i,o,a;for(e.b=Oy($O(Fae(t,(Kwe(),wJe)))),e.c=Oy($O(Fae(t,SJe))),e.d=LL(Fae(t,oQe),334),e.a=LL(Fae(t,RZe),273),function(e){var t,n,r;for(n=new td(e.b);n.a<n.c.c.length;)for(t=0,r=new td(LL(xW(n),29).a);r.a<r.c.c.length;)LL(xW(r),10).p=t++}(t),i=(o=LL(Nq(_V(_V(aQ(aQ(new cj(null,new ZG(t.b,16)),new mn),new bn),new vn),new yn),CK(new F,new j,new re,q3(lw(jze,1),A_e,132,0,[(z4(),Rze)]))),14)).Ic();i.Ob();)n=LL(i.Pb(),18),LL(Fae(n,(hxe(),KXe)),14).Hc(new hp(e)),S5(n,KXe,null);for(r=o.Ic();r.Ob();)n=LL(r.Pb(),18),a=LL(Fae(n,(hxe(),ZXe)),18),Qwe(e,LL(Fae(n,XXe),14),a),S5(n,XXe,null)}function pve(e){var t,n,r,i,o;if(e.k!=(mse(),XHe))return!1;if(e.j.c.length<=1)return!1;if(LL(Fae(e,(Kwe(),tJe)),100)==(joe(),vet))return!1;if(rne(),(r=(e.q?e.q:(v$(),v$(),YFe))._b(jQe)?LL(Fae(e,jQe),196):LL(Fae(jB(e),FQe),196))==i0e)return!1;if(r!=r0e&&r!=n0e){if(i=Oy($O(T7(e,OJe))),!(t=LL(Fae(e,PJe),141))&&(t=new HD(i,i,i,i)),o=i9(e,(hwe(),Qet)),t.d+t.a+(o.gc()-1)*i>e.o.b)return!1;if(n=i9(e,Oet),t.d+t.a+(n.gc()-1)*i>e.o.b)return!1}return!0}function gve(e,t){var n,r,i,o,a,s,l,u,c,f;if(c=null,e.d&&(c=LL(CH(e.d,t),138)),!c){if(f=(o=e.a.Hh()).i,!e.d||Y_(e.d)!=f){for(l=new Hm,e.d&&p2(l,e.d),s=u=l.f.c+l.g.c;s<f;++s)r=LL(sJ(o,s),138),(n=LL(null==(i=r8(e.e,r).ne())?eue(l.f,null,r):f9(l.g,i,r),138))&&n!=r&&(null==i?eue(l.f,null,n):f9(l.g,i,n));if(l.f.c+l.g.c!=f)for(a=0;a<u;++a)r=LL(sJ(o,a),138),(n=LL(null==(i=r8(e.e,r).ne())?eue(l.f,null,r):f9(l.g,i,r),138))&&n!=r&&(null==i?eue(l.f,null,n):f9(l.g,i,n));e.d=l}c=LL(CH(e.d,t),138)}return c}function mve(e,t,n,i,o,a,s){var l,u,c,f,h,d,p;return h=Ty(VO(Fae(t,(Kwe(),AQe)))),d=null,a==(E0(),R0e)&&i.c.i==n?d=i.c:a==L0e&&i.d.i==n&&(d=i.d),(c=s)&&h&&!d?(RL(c.e,i),p=r.Math.max(Oy($O(Fae(c.d,sQe))),Oy($O(Fae(i,sQe)))),S5(c.d,sQe,p)):(hwe(),f=Zet,d?f=d.j:jM(LL(Fae(n,tJe),100))&&(f=a==R0e?Qet:Oet),u=function(e,t,n,r,i,o){var a,s,l,u,c,f,h;a=null,u=r==(E0(),R0e)?o.c:o.d,l=a9(t),u.i==n?(a=LL(aB(e.b,u),10))||(S5(a=Nwe(u,LL(Fae(n,(Kwe(),tJe)),100),i,r==R0e?-1:1,null,u.n,u.o,l,t),(hxe(),OXe),u),eV(e.b,u,a)):(c=Oy($O(Fae(o,(Kwe(),sQe)))),s=function(e,t,n){var r,i;switch(r=a9(jB(t)),DG(i=new Pse,t),n.g){case 1:mue(i,B8(K9(r)));break;case 2:mue(i,K9(r))}return S5(i,(Kwe(),eJe),$O(Fae(e,eJe))),i}(a=Nwe((f=new Ke,h=Oy($O(Fae(t,yJe)))/2,k5(f,eJe,h),f),LL(Fae(n,tJe),100),i,r==R0e?-1:1,null,new hx,new YE(c,c),l,t),n,r),S5(a,(hxe(),OXe),s),eV(e.b,s,a));return LL(Fae(t,(hxe(),mXe)),21).Dc((Kde(),Tqe)),jM(LL(Fae(t,(Kwe(),tJe)),100))?S5(t,tJe,(joe(),wet)):S5(t,tJe,(joe(),xet)),a}(e,t,n,a,f,i),l=$X((jB(n),i)),a==R0e?(PG(l,LL(JN(u.j,0),11)),AG(l,o)):(PG(l,o),AG(l,LL(JN(u.j,0),11))),c=new w9(i,l,u,LL(Fae(u,(hxe(),OXe)),11),a,!d)),Yue(e.a,i,new ZR(c.d,t,a)),c}function bve(e,t){var n,r,i,o,a,s;if(S5(t,(qve(),J2e),0),i=LL(Fae(t,Z2e),83),0==t.d.b)i?(a=Oy($O(Fae(i,n3e)))+e.a+PX(i,t),S5(t,n3e,a)):S5(t,n3e,0);else{for(n=new Sg(cte(new _g(t).a.d,0));jx(n.a);)bve(e,LL(BU(n.a),188).c);r=LL(tA(new Sg(cte(new _g(t).a.d,0))),83),s=LL(function(e){return jx(e.a)?WG(e):null}(new Sg(cte(new _g(t).a.d,0))),83),o=(Oy($O(Fae(s,n3e)))+Oy($O(Fae(r,n3e))))/2,i?(a=Oy($O(Fae(i,n3e)))+e.a+PX(i,t),S5(t,n3e,a),S5(t,J2e,Oy($O(Fae(t,n3e)))-o),function(e,t){var n,r,i,o,a,s,l,u,c,f,h,d,p,g,m,b,v;u=LL(tA(new Sg(cte(new _g(t).a.d,0))),83),h=u?LL(Fae(u,(qve(),K2e)),83):null,i=1;for(;u&&h;){for(a=0,v=0,n=u,r=h,o=0;o<i;o++)n=pK(n),r=pK(r),v+=Oy($O(Fae(n,(qve(),J2e)))),a+=Oy($O(Fae(r,J2e)));if(b=Oy($O(Fae(h,(qve(),n3e)))),m=Oy($O(Fae(u,n3e))),c=PX(u,h),0<(f=b+a+e.a+c-m-v)){for(s=t,l=0;s&&s!=r;)++l,s=LL(Fae(s,Z2e),83);if(!s)return;for(g=f/l,s=t;s!=r;)p=Oy($O(Fae(s,n3e)))+f,S5(s,n3e,p),d=Oy($O(Fae(s,J2e)))+f,S5(s,J2e,d),f-=g,s=LL(Fae(s,Z2e),83)}++i,h=(u=0==u.d.b?Bge(new _g(t),i):LL(tA(new Sg(cte(new _g(u).a.d,0))),83))?LL(Fae(u,K2e),83):null}}(e,t)):S5(t,n3e,o)}}function vve(e,t){var n,r,i,o,a,s,l,u,c,f,h,d;s=0,d=0,l=_H(e.f,e.f.length),o=e.d,a=e.i,r=e.a,i=e.b;do{for(h=0,u=new td(e.p);u.a<u.c.c.length;)f=vye(e,LL(xW(u),10)),n=!0,(e.q==(Dhe(),m0e)||e.q==y0e)&&(n=Ty(VO(f.b))),LL(f.a,20).a<0&&n?(++h,l=_H(e.f,e.f.length),e.d=e.d+LL(f.a,20).a,d+=o-e.d,o=e.d+LL(f.a,20).a,a=e.i,r=hW(e.a),i=hW(e.b)):(e.f=_H(l,l.length),e.d=o,e.a=(wz(r),r?new jR(r):NL(new td(r))),e.b=(wz(i),i?new jR(i):NL(new td(i))),e.i=a);++s,c=0!=h&&Ty(VO(t.Kb(new KE(k8(d),k8(s)))))}while(c)}function yve(e){GS(e,new rae(Kw(Gw(Yw(Hw(Xw(Uw(new hs,RAe),"ELK Mr. Tree"),"Tree-based algorithm provided by the Eclipse Layout Kernel. Computes a spanning tree of the input graph and arranges all nodes according to the resulting parent-children hierarchy. I pity the fool who doesn't use Mr. Tree Layout."),new Pa),LAe),o9((qce(),_nt))))),rU(e,RAe,qCe,m3e),rU(e,RAe,gEe,20),rU(e,RAe,UCe,hEe),rU(e,RAe,pEe,k8(1)),rU(e,RAe,vEe,(_P(),!0)),rU(e,RAe,ITe,gte(p3e)),rU(e,RAe,PAe,gte(x3e)),rU(e,RAe,OAe,gte(v3e))}function wve(e,t){var n,r,i,o,a,s,l,u,c;if(!(t.e.c.length<=1)){for(e.f=t,e.d=LL(Fae(e.f,(Xte(),Z$e)),376),e.g=LL(Fae(e.f,tHe),20).a,e.e=Oy($O(Fae(e.f,Q$e))),e.c=Oy($O(Fae(e.f,K$e))),yz(e.b),i=new td(e.f.c);i.a<i.c.c.length;)r=LL(xW(i),281),yge(e.b,r.c,r,null),yge(e.b,r.d,r,null);for(s=e.f.e.c.length,e.a=FN(aat,[s_e,BSe],[103,24],15,[s,s],2),u=new td(e.f.e);u.a<u.c.c.length;)Cbe(e,l=LL(xW(u),144),e.a[l.b]);for(e.i=FN(aat,[s_e,BSe],[103,24],15,[s,s],2),o=0;o<s;++o)for(a=0;a<s;++a)c=1/((n=e.a[o][a])*n),e.i[o][a]=c}}function xve(e){var t,n,r,i;if(!(null==e.b||e.b.length<=2||e.a)){for(t=0,i=0;i<e.b.length;){for(t!=i?(e.b[t]=e.b[i++],e.b[t+1]=e.b[i++]):i+=2,n=e.b[t+1];i<e.b.length&&!(n+1<e.b[i]);)if(n+1==e.b[i])e.b[t+1]=e.b[i+1],n=e.b[t+1],i+=2;else if(n>=e.b[i+1])i+=2;else{if(!(n<e.b[i+1]))throw Jm(new sy("Token#compactRanges(): Internel Error: ["+e.b[t]+","+e.b[t+1]+"] ["+e.b[i]+","+e.b[i+1]+"]"));e.b[t+1]=e.b[i+1],n=e.b[t+1],i+=2}t+=2}t!=e.b.length&&(r=fK(nat,sSe,24,t,15,1),Xbe(e.b,0,r,0,t),e.b=r),e.a=!0}}function _ve(e,t){var n,r,i,o,a,s,l,u,c;if(u=LL(Fae(e,(hxe(),dXe)),61),r=LL(JN(e.j,0),11),u==(hwe(),Det)?mue(r,Ket):u==Ket&&mue(r,Det),LL(Fae(t,(Kwe(),BQe)),174).Fc((aee(),ctt))){if(l=Oy($O(Fae(e,IJe))),a=Oy($O(Fae(e,CJe))),(s=LL(Fae(t,iJe),21)).Fc((iae(),Eet)))for(n=l,c=e.o.a/2-r.n.a,o=new td(r.f);o.a<o.c.c.length;)(i=LL(xW(o),69)).n.b=n,i.n.a=c-i.o.a/2,n+=i.o.b+a;else if(s.Fc(Met))for(o=new td(r.f);o.a<o.c.c.length;)(i=LL(xW(o),69)).n.a=l+e.o.a-r.n.a;!function(e,t){var n;n=Oy($O(e.a.Xe((fxe(),t7e)))),Iwe(e,t,n)}(new Ld(new OV(t,!1,!1,new Lt)),new eL(null,e,!1))}}function Sve(e){var t,n,r,i,o,a,s,l,u,c,f,h;for(o=Ty(VO(xfe(t=$H(e),(Kwe(),pQe)))),c=0,i=0,u=new SA((!e.e&&(e.e=new nR(rnt,e,7,4)),e.e));u.e!=u.i.gc();)a=(s=Que(l=LL(Hee(u),80)))&&o&&Ty(VO(xfe(l,gQe))),h=Xoe(LL(sJ((!l.c&&(l.c=new nR(nnt,l,5,8)),l.c),0),93)),s&&a?++i:s&&!a?++c:rG(h)==t||h==t?++i:++c;for(r=new SA((!e.d&&(e.d=new nR(rnt,e,8,5)),e.d));r.e!=r.i.gc();)a=(s=Que(n=LL(Hee(r),80)))&&o&&Ty(VO(xfe(n,gQe))),f=Xoe(LL(sJ((!n.b&&(n.b=new nR(nnt,n,4,7)),n.b),0),93)),s&&a?++c:s&&!a?++i:rG(f)==t||f==t?++c:++i;return c-i}function kve(e,t){var n,r,i,o,a,s,l,u,c;if((a=null!=t.p&&!t.b)||qoe(t,rEe,1),o=1/(n=LL(Fae(e,(hxe(),$Xe)),14)).gc(),t.n)for(YL(t,"ELK Layered uses the following "+n.gc()+" modules:"),c=0,u=n.Ic();u.Ob();)YL(t," Slot "+((c<10?"0":"")+c++)+": "+Fx(g4(LL(u.Pb(),52))));for(0,l=n.Ic();l.Ob();)LL(l.Pb(),52).nf(e,a2(t,o));for(i=new td(e.b);i.a<i.c.c.length;)r=LL(xW(i),29),L3(e.a,r.a),r.a.c=fK(pje,zxe,1,0,5,1);for(s=new td(e.a);s.a<s.c.c.length;)OG(LL(xW(s),10),null);e.b.c=fK(pje,zxe,1,0,5,1),a||_se(t)}function Cve(e,t,n){var r,i,o,a,s,l,u,c,f,h,d,p;for(p=new Hm,o=e.a.ec().Ic();o.Ob();)eV(p,r=LL(o.Pb(),168),n.Je(r));for(wz(e),kT(a=e?new jR(e):NL(e.a.ec().Ic()),new Od(p)),s=Aq(a),l=new VT(t),eue((d=new Hm).f,t,l);0!=s.a.gc();){for(u=null,c=null,f=null,i=s.a.ec().Ic();i.Ob();)if(r=LL(i.Pb(),168),Oy($O(PI(rH(p.f,r))))<=RSe){if(KF(d,r.a)&&!KF(d,r.b)){c=r.b,f=r.a,u=r;break}if(KF(d,r.b)&&!KF(d,r.a)){c=r.a,f=r.b,u=r;break}}if(!u)break;h=new VT(c),RL(LL(PI(rH(d.f,f)),219).a,h),eue(d.f,c,h),s.a.zc(u)}return l}function Eve(e){var t,n,r,i,o;return null!=e.g?e.g:e.a<32?(e.g=function(e,t){var n,r,i,o,a,s,l,u,c,f,h,d,p,g;if(Kbe(),(l=T4(e,0)<0)&&(e=kK(e)),0==T4(e,0))switch(t){case 0:return"0";case 1:return WSe;case 2:return"0.00";case 3:return"0.000";case 4:return"0.0000";case 5:return"0.00000";case 6:return"0.000000";default:return(d=new pw).a+=t<0?"0E+":"0E",d.a+=t==F_e?"2147483648":""+-t,d.a}f=fK(tat,q_e,24,1+(c=18),15,1),n=c,g=e;do{u=g,g=hie(g,10),f[--n]=QN(o8(48,s8(u,a8(g,10))))&X_e}while(0!=T4(g,0));if(i=s8(s8(s8(c,n),t),1),0==t)return l&&(f[--n]=45),lee(f,n,c-n);if(t>0&&T4(i,-6)>=0){if(T4(i,0)>=0){for(o=n+QN(i),s=c-1;s>=o;s--)f[s+1]=f[s];return f[++o]=46,l&&(f[--n]=45),lee(f,n,c-n+1)}for(a=2;Dx(a,o8(kK(i),1));a++)f[--n]=48;return f[--n]=46,f[--n]=48,l&&(f[--n]=45),lee(f,n,c-n)}p=n+1,r=c,h=new gw,l&&(h.a+="-"),r-p>=1?(iB(h,f[n]),h.a+=".",h.a+=lee(f,n+1,c-n-1)):h.a+=lee(f,n,c-n);return h.a+="E",T4(i,0)>0&&(h.a+="+"),h.a+=""+Aj(i),h.a}(I2(e.f),IH(e.e)),e.g):(i=exe((!e.c&&(e.c=B6(e.f)),e.c),0),0==e.e?i:(t=(!e.c&&(e.c=B6(e.f)),e.c).e<0?2:1,n=i.length,r=-e.e+n-t,(o=new pw).a+=""+i,e.e>0&&r>=-6?r>=0?dG(o,n-IH(e.e),String.fromCharCode(46)):(o.a=zP(o.a,0,t-1)+"0."+BI(o.a,t-1),dG(o,t+1,lee(MFe,0,-IH(r)-1))):(n-t>=1&&(dG(o,t,String.fromCharCode(46)),++n),dG(o,n,String.fromCharCode(69)),r>0&&dG(o,++n,String.fromCharCode(43)),dG(o,++n,""+Aj(I2(r)))),e.g=o.a,e.g))}function Ive(e,t){var n,r,i,o,a;if(t)if(!e.a&&(e.a=new Db),2!=e.e)if(1!=t.e)0!=(a=e.a.a.c.length)?0!=(o=LL(zB(e.a,a-1),117)).e&&10!=o.e||0!=t.e&&10!=t.e?Mb(e.a,t):(0==t.e?2:t.Yl().length,0==o.e?(n=new dw,(r=o.Wl())>=FSe?HI(n,m9(r)):rB(n,r&X_e),o=new mH(10,null,0),function(e,t,n){Xj(n,e.a.c.length),mX(e.a,n,t)}(e.a,o,a-1)):(o.Yl().length,HI(n=new dw,o.Yl())),0==t.e?(r=t.Wl())>=FSe?HI(n,m9(r)):rB(n,r&X_e):HI(n,t.Yl()),LL(o,514).b=n.a):Mb(e.a,t);else for(i=0;i<t._l();i++)Ive(e,t.Xl(i));else Mb(e.a,t)}function Mve(e,t,n,i,o,a,s){var l,u,c,f;switch(l=JX(q3(lw(h4e,1),zxe,218,0,[t,n,i,o])),f=null,e.b.g){case 1:f=JX(q3(lw(A5e,1),zxe,519,0,[new Ya,new qa,new Xa]));break;case 0:f=JX(q3(lw(A5e,1),zxe,519,0,[new Xa,new qa,new Ya]));break;case 2:f=JX(q3(lw(A5e,1),zxe,519,0,[new qa,new Ya,new Xa]))}for(c=new td(f);c.a<c.c.c.length;)u=LL(xW(c),519),l.c.length>1&&(l=u.hg(l,e.a));return 1==l.c.length?LL(JN(l,l.c.length-1),218):2==l.c.length?function(e,t,n,i){var o,a,s,l,u,c,f,h,d,p,g,m,b,v,y;return a=e.i,h=t.i,s=a==(The(),s4e)||a==u4e,l=a==l4e||a==c4e,d=h==l4e||h==c4e,u=a==l4e||a==s4e,p=h==l4e||h==s4e,!s||h!=s4e&&h!=u4e?l&&d?e.i==c4e?e:t:u&&p?(a==l4e?(f=e,c=t):(f=t,c=e),g=n.j+n.f,m=f.g+i.f,b=r.Math.max(g,m)-r.Math.min(n.j,f.g),o=(f.f+i.g-n.i)*b,v=n.i+n.g,y=c.f+i.g,o<=(r.Math.max(v,y)-r.Math.min(n.i,c.f))*(c.g+i.f-n.j)?e.i==l4e?e:t:e.i==s4e?e:t):e:e.i==u4e?e:t}((MG(0,l.c.length),LL(l.c[0],218)),(MG(1,l.c.length),LL(l.c[1],218)),s,a):null}function Tve(e,t,n){var i,o,a;if((o=LL(Fae(t,(Kwe(),RZe)),273))!=(sse(),_qe)){if(qoe(n,"Horizontal Compaction",1),e.a=t,i=new mce(((a=new OZ).d=t,a.c=LL(Fae(a.d,eQe),216),function(e){var t,n,r,i,o,a,s;for(t=!1,n=0,i=new td(e.d.b);i.a<i.c.c.length;)for((r=LL(xW(i),29)).p=n++,a=new td(r.a);a.a<a.c.c.length;)o=LL(xW(a),10),!t&&!OU(d9(o))&&(t=!0);s=Oj((A8(),h7e),q3(lw(v7e,1),A_e,108,0,[c7e,f7e])),t||(c1(s,d7e),c1(s,u7e)),e.a=new WQ(s),JF(e.f),JF(e.b),JF(e.e),JF(e.g)}(a),function(e){var t,n,r,i,o,a,s,l,u,c;for(o=new td(e.d.b);o.a<o.c.c.length;)for(s=new td(LL(xW(o),29).a);s.a<s.c.c.length;)!Ty(VO(Fae(a=LL(xW(s),10),(Kwe(),PZe))))||OU(d9(a))?(i=new jV(a.n.a-a.d.b,a.n.b-a.d.d,a.o.a+a.d.b+a.d.c,a.o.b+a.d.d+a.d.a),t=hP(dS(fS(hS(new Vb,a),i),NWe),e.a),fP(cS(h0(new Bb,q3(lw(Uze,1),zxe,56,0,[t])),t),e.a),l=new Gm,eV(e.e,t,l),(n=DU(new xF(BA(p9(a).a.Ic(),new p)))-DU(new xF(BA(g9(a).a.Ic(),new p))))<0?u5(l,!0,(A8(),c7e)):n>0&&u5(l,!0,(A8(),f7e)),a.k==(mse(),WHe)&&rV(l),eV(e.f,a,t)):((u=(r=LL(I$(d9(a)),18)).c.i)==a&&(u=r.d.i),c=new KE(u,VD(RT(a.n),u.n)),eV(e.b,a,c))}(a),Dpe(a),a.a)),function(e,t){e.g=t}(i,e.b),1===LL(Fae(t,DZe),417).g)_w(i,new F1(e.a));else _w(i,(w$(),Yze));switch(o.g){case 1:Lfe(i);break;case 2:Lfe(Gye(i,(A8(),f7e)));break;case 3:Lfe(Sw(Gye(Lfe(i),(A8(),f7e)),new hi));break;case 4:Lfe(Sw(Gye(Lfe(i),(A8(),f7e)),new Pp(a)));break;case 5:Lfe(function(e,t){return e.b=t,e}(i,LWe))}Gye(i,(A8(),c7e)),i.e=!0,function(e){var t,n,i,o;lS(_V(new cj(null,new ZG(e.a.b,16)),new mi),new bi),function(e){var t,n,r,i,o;for(r=new m4(new jh(e.b).a);r.b;)t=LL((n=kJ(r)).ad(),10),o=LL(LL(n.bd(),46).a,10),i=LL(LL(n.bd(),46).b,8),BD(nM(t.n),BD(RT(o.n),i))}(e),lS(_V(new cj(null,new ZG(e.a.b,16)),new vi),new yi),e.c==($9(),_7e)&&(lS(_V(aQ(new cj(null,new ZG(new Fh(e.f),1)),new wi),new xi),new Lp(e)),lS(_V(SV(aQ(aQ(new cj(null,new ZG(e.d.b,16)),new _i),new Si),new ki),new Ci),new jp(e)));for(o=new YE(RSe,RSe),t=new YE(LSe,LSe),i=new td(e.a.b);i.a<i.c.c.length;)n=LL(xW(i),56),o.a=r.Math.min(o.a,n.d.c),o.b=r.Math.min(o.b,n.d.d),t.a=r.Math.max(t.a,n.d.c+n.d.b),t.b=r.Math.max(t.b,n.d.d+n.d.a);BD(nM(e.d.c),oO(new YE(o.a,o.b))),BD(nM(e.d.f),VD(new YE(t.a,t.b),o)),function(e,t,n){var r,i;for(r=new td(e.a.b);r.a<r.c.c.length;)if((i=oU(LL(xW(r),56)))&&i.k==(mse(),WHe))switch(LL(Fae(i,(hxe(),dXe)),61).g){case 4:i.n.a=t.a;break;case 2:i.n.a=n.a-(i.o.a+i.d.c);break;case 1:i.n.b=t.b;break;case 3:i.n.b=n.b-(i.o.b+i.d.a)}}(e,o,t),JF(e.f),JF(e.b),JF(e.g),JF(e.e),e.a.a.c=fK(pje,zxe,1,0,5,1),e.a.b.c=fK(pje,zxe,1,0,5,1),e.a=null,e.d=null}(a),_se(n)}}function Ave(e){GS(e,new rae(Gw(Yw(Hw(Xw(Uw(new hs,PEe),OEe),"Minimizes the stress within a layout using stress majorization. Stress exists if the euclidean distance between a pair of nodes doesn't match their graph theoretic distance, that is, the shortest path between the two nodes. The method allows to specify individual edge lengths."),new pt),dEe))),rU(e,PEe,yEe,gte(eHe)),rU(e,PEe,xEe,(_P(),!0)),rU(e,PEe,qCe,nHe),rU(e,PEe,EEe,gte(J$e)),rU(e,PEe,MEe,gte(Z$e)),rU(e,PEe,TEe,gte(Q$e)),rU(e,PEe,AEe,gte(tHe)),rU(e,PEe,IEe,gte(K$e))}function Pve(e){var t,n,i,o,a,s;for(uJ(e.a,new Ze),n=new td(e.a);n.a<n.c.c.length;)t=LL(xW(n),219),i=VD(RT(LL(e.b,63).c),LL(t.b,63).c),DVe?(s=LL(e.b,63).b,a=LL(t.b,63).b,r.Math.abs(i.a)>=r.Math.abs(i.b)?(i.b=0,a.d+a.a>s.d&&a.d<s.d+s.a&&GL(i,r.Math.max(s.c-(a.c+a.b),a.c-(s.c+s.b)))):(i.a=0,a.c+a.b>s.c&&a.c<s.c+s.b&&GL(i,r.Math.max(s.d-(a.d+a.a),a.d-(s.d+s.a))))):GL(i,Nme(LL(e.b,63),LL(t.b,63))),o=r.Math.sqrt(i.a*i.a+i.b*i.b),GL(i,o=Toe(PVe,t,o,i)),Vj(LL(t.b,63),i),uJ(t.a,new Bd(i)),LL(PVe.b,63),gK(PVe,OVe,t)}function Ove(e){var t,n,r,i,o,a,s,l,u;if(e._i())if(l=e.aj(),e.i>0){if(t=new SI(e.i,e.g),o=(n=e.i)<100?null:new ux(n),e.dj())for(r=0;r<e.i;++r)a=e.g[r],o=e.fj(a,o);if(GX(e),i=1==n?e.Ui(4,sJ(t,0),null,0,l):e.Ui(6,t,null,-1,l),e.Yi()){for(r=new LP(t);r.e!=r.i.gc();)o=e.$i(Gee(r),o);o?(o.zi(i),o.Ai()):e.Vi(i)}else o?(o.zi(i),o.Ai()):e.Vi(i)}else GX(e),e.Vi(e.Ui(6,(v$(),XFe),null,-1,l));else if(e.Yi())if(e.i>0){for(s=e.g,u=e.i,GX(e),o=u<100?null:new ux(u),r=0;r<u;++r)a=s[r],o=e.$i(a,o);o&&o.Ai()}else GX(e);else GX(e)}function Dve(e,t,n){var i,o,a,s,l,u,c,f,h;for(d3(this),n==(aH(),k2e)?uz(this.r,e):uz(this.w,e),f=RSe,c=LSe,s=t.a.ec().Ic();s.Ob();)o=LL(s.Pb(),46),l=LL(o.a,448),(u=(i=LL(o.b,18)).c)==e&&(u=i.d),uz(l==k2e?this.r:this.w,u),h=(hwe(),Get).Fc(u.j)?Oy($O(Fae(u,(hxe(),YXe)))):V5(q3(lw(J6e,1),s_e,8,0,[u.i.n,u.n,u.a])).b,f=r.Math.min(f,h),c=r.Math.max(c,h);for(ise(this,(hwe(),Get).Fc(e.j)?Oy($O(Fae(e,(hxe(),YXe)))):V5(q3(lw(J6e,1),s_e,8,0,[e.i.n,e.n,e.a])).b,f,c),a=t.a.ec().Ic();a.Ob();)o=LL(a.Pb(),46),Zse(this,LL(o.b,18));this.o=!1}function Rve(e){var t,n,i,o,a,s,l;if(0!=(l=LL(JN(e.j,0),11)).g.c.length&&0!=l.e.c.length)throw Jm(new jy("Interactive layout does not support NORTH/SOUTH ports with incoming _and_ outgoing edges."));if(0!=l.g.c.length){for(a=RSe,n=new td(l.g);n.a<n.c.c.length;)t=LL(xW(n),18),i=LL(Fae(s=t.d.i,(Kwe(),MQe)),141),a=r.Math.min(a,s.n.a-i.b);return new Rf(wz(a))}if(0!=l.e.c.length){for(o=LSe,n=new td(l.e);n.a<n.c.c.length;)t=LL(xW(n),18),i=LL(Fae(s=t.c.i,(Kwe(),MQe)),141),o=r.Math.max(o,s.n.a+s.o.a+i.c);return new Rf(wz(o))}return Bv(),Bv(),mje}function Lve(e,t){var n,r,i,o,a,s;if(e.Ak()){if(e.i>4){if(!e.rj(t))return!1;if(e.mk()){if(s=(n=(r=LL(t,48)).Pg())==e.e&&(e.yk()?r.Jg(r.Qg(),e.uk())==e.vk():-1-r.Qg()==e.Xi()),e.zk()&&!s&&!n&&r.Ug())for(i=0;i<e.i;++i)if(OI(e.Bk(LL(e.g[i],55)))===OI(t))return!0;return s}if(e.yk()&&!e.xk()){if(OI(o=LL(t,55).Xg(yne(LL(e.Xj(),17))))===OI(e.e))return!0;if(null==o||!LL(o,55).fh())return!1}}if(a=qie(e,t),e.zk()&&!a)for(i=0;i<e.i;++i)if(OI(r=e.Bk(LL(e.g[i],55)))===OI(t))return!0;return a}return qie(e,t)}function Nve(e,t){var n,r,i,o,a,s,l,u,c,f,h;for(c=new $m,h=new Pb,a=t.b,i=0;i<a.c.length;i++){for(u=(MG(i,a.c.length),LL(a.c[i],29)).a,c.c=fK(pje,zxe,1,0,5,1),o=0;o<u.c.length;o++)(s=e.a[i][o]).p=o,s.k==(mse(),YHe)&&(c.c[c.c.length]=s),mX(LL(JN(t.b,i),29).a,o,s),s.j.c=fK(pje,zxe,1,0,5,1),L3(s.j,LL(LL(JN(e.b,i),14).Xb(o),15)),mR(LL(Fae(s,(Kwe(),tJe)),100))||S5(s,tJe,(joe(),bet));for(r=new td(c);r.a<r.c.c.length;)f=ige(n=LL(xW(r),10)),h.a.xc(f,h),h.a.xc(n,h)}for(l=h.a.ec().Ic();l.Ob();)s=LL(l.Pb(),10),v$(),kT(s.j,(G5(),AWe)),s.i=!0,Cue(s)}function jve(e){var t,n,r,i,o,a,s,l,u,c;if(e._i())if(c=e.Qi(),l=e.aj(),c>0)if(t=new E2(e.Bi()),o=(n=c)<100?null:new ux(n),ZO(e,n,t.g),i=1==n?e.Ui(4,sJ(t,0),null,0,l):e.Ui(6,t,null,-1,l),e.Yi()){for(r=new SA(t);r.e!=r.i.gc();)o=e.$i(Hee(r),o);o?(o.zi(i),o.Ai()):e.Vi(i)}else o?(o.zi(i),o.Ai()):e.Vi(i);else ZO(e,e.Qi(),e.Ri()),e.Vi(e.Ui(6,(v$(),XFe),null,-1,l));else if(e.Yi())if((c=e.Qi())>0){for(s=e.Ri(),u=c,ZO(e,c,s),o=u<100?null:new ux(u),r=0;r<u;++r)a=s[r],o=e.$i(a,o);o&&o.Ai()}else ZO(e,e.Qi(),e.Ri());else ZO(e,e.Qi(),e.Ri())}function Fve(e,t,n,i){var o,a,s,l,u,c,f,h,d,p;for((f=new lT(LL(xfe(e,(Gae(),p8e)),8))).a=r.Math.max(f.a-n.b-n.c,0),f.b=r.Math.max(f.b-n.d-n.a,0),(null==(o=$O(xfe(e,l8e)))||(wB(o),o<=0))&&(o=1.3),s=new $m,h=new SA((!e.a&&(e.a=new FF(cnt,e,10,11)),e.a));h.e!=h.i.gc();)a=new lO(LL(Hee(h),34)),s.c[s.c.length]=a;switch(LL(xfe(e,u8e),309).g){case 3:p=function(e,t,n,r,i){var o,a,s,l,u,c,f;for(v$(),kT(e,new Hs),s=new eU(e,0),f=new $m,o=0;s.b<s.d.gc();)EP(s.b<s.d.gc()),a=LL(s.d.Xb(s.c=s.b++),157),0!=f.c.length&&sj(a)*aj(a)>2*o?(c=new SJ(f),u=sj(a)/aj(a),l=jwe(c,t,new sv,n,r,i,u),BD(nM(c.e),l),f.c=fK(pje,zxe,1,0,5,1),o=0,f.c[f.c.length]=c,f.c[f.c.length]=a,o=sj(c)*aj(c)+sj(a)*aj(a)):(f.c[f.c.length]=a,o+=sj(a)*aj(a));return f}(s,t,f.a,f.b,(u=i,wB(o),u));break;case 1:p=function(e,t,n,r,i){var o,a,s,l,u,c,f,h,d;for(v$(),kT(e,new Vs),a=jL(e),d=new $m,h=new $m,s=null,l=0;0!=a.b;)o=LL(0==a.b?null:(EP(0!=a.b),lJ(a,a.a.a)),157),!s||sj(s)*aj(s)/2<sj(o)*aj(o)?(s=o,d.c[d.c.length]=o):(l+=sj(o)*aj(o),h.c[h.c.length]=o,h.c.length>1&&(l>sj(s)*aj(s)/2||0==a.b)&&(f=new SJ(h),c=sj(s)/aj(s),u=jwe(f,t,new sv,n,r,i,c),BD(nM(f.e),u),s=f,d.c[d.c.length]=f,l=0,h.c=fK(pje,zxe,1,0,5,1)));return L3(d,h),d}(s,t,f.a,f.b,(c=i,wB(o),c));break;default:p=function(e,t,n,r,i){var o,a,s,l,u,c,f,h,d;s=fK(aat,BSe,24,e.c.length,15,1),eie(h=new yF(new $s),e),u=0,d=new $m;for(;0!=h.b.c.length;)if(a=LL(0==h.b.c.length?null:JN(h.b,0),157),u>1&&sj(a)*aj(a)/2>s[0]){for(o=0;o<d.c.length-1&&sj(a)*aj(a)/2>s[o];)++o;f=new SJ(new KG(d,0,o+1)),c=sj(a)/aj(a),l=jwe(f,t,new sv,n,r,i,c),BD(nM(f.e),l),RY(xae(h,f)),eie(h,new KG(d,o+1,d.c.length)),d.c=fK(pje,zxe,1,0,5,1),u=0,Dj(s,s.length,0)}else null!=(0==h.b.c.length?null:JN(h.b,0))&&h1(h,0),u>0&&(s[u]=s[u-1]),s[u]+=sj(a)*aj(a),++u,d.c[d.c.length]=a;return d}(s,t,f.a,f.b,(l=i,wB(o),l))}ywe(e,(d=jwe(new SJ(p),t,n,f.a,f.b,i,(wB(o),o))).a,d.b,!1,!0)}function zve(e,t){var n,i,o,a,s,l,u,c,f,h,d,p,g,m,b;for(o=0,a=0,u=new td(e.a);u.a<u.c.c.length;)s=LL(xW(u),10),o=r.Math.max(o,s.d.b),a=r.Math.max(a,s.d.c);for(l=new td(e.a);l.a<l.c.c.length;){switch(s=LL(xW(l),10),LL(Fae(s,(Kwe(),MZe)),247).g){case 1:p=0;break;case 2:p=1;break;case 5:p=.5;break;default:for(n=0,f=0,d=new td(s.j);d.a<d.c.c.length;)0==(h=LL(xW(d),11)).e.c.length||++n,0==h.g.c.length||++f;p=n+f==0?.5:f/(n+f)}m=e.c,c=s.o.a,b=(m.a-c)*p,p>.5?b-=2*a*(p-.5):p<.5&&(b+=2*o*(.5-p)),b<(i=s.d.b)&&(b=i),g=s.d.c,b>m.a-g-c&&(b=m.a-g-c),s.n.a=t+b}}function Bve(e,t,n){var r,i,o,a,s,l;if(0==t.l&&0==t.m&&0==t.h)throw Jm(new Cy("divide by zero"));if(0==e.l&&0==e.m&&0==e.h)return n&&(Zje=TT(0,0,0)),TT(0,0,0);if(t.h==CSe&&0==t.m&&0==t.l)return function(e,t){return e.h==CSe&&0==e.m&&0==e.l?(t&&(Zje=TT(0,0,0)),yM((rJ(),eFe))):(t&&(Zje=TT(e.l,e.m,e.h)),TT(0,0,0))}(e,n);if(l=!1,t.h>>19!=0&&(t=w5(t),l=!l),a=function(e){var t,n,r;return 0!=((n=e.l)&n-1)||0!=((r=e.m)&r-1)||0!=((t=e.h)&t-1)||0==t&&0==r&&0==n?-1:0==t&&0==r&&0!=n?Q0(n):0==t&&0!=r&&0==n?Q0(r)+22:0!=t&&0==r&&0==n?Q0(t)+44:-1}(t),o=!1,i=!1,r=!1,e.h==CSe&&0==e.m&&0==e.l){if(i=!0,o=!0,-1!=a)return s=nfe(e,a),l&&z5(s),n&&(Zje=TT(0,0,0)),s;e=yM((rJ(),Qje)),r=!0,l=!l}else e.h>>19!=0&&(o=!0,e=w5(e),r=!0,l=!l);return-1!=a?e4(e,a,l,o,n):yie(e,t)<0?(n&&(Zje=o?w5(e):TT(e.l,e.m,e.h)),TT(0,0,0)):function(e,t,n,r,i,o){var a,s,l,u,c,f;for(a=yse(t,l=D5(t)-D5(e)),s=TT(0,0,0);l>=0&&(!jre(e,a)||(l<22?s.l|=1<<l:l<44?s.m|=1<<l-22:s.h|=1<<l-44,0!=e.l||0!=e.m||0!=e.h));)u=a.m,c=a.h,f=a.l,a.h=c>>>1,a.m=u>>>1|(1&c)<<21,a.l=f>>>1|(1&u)<<21,--l;return n&&z5(s),o&&(r?(Zje=w5(e),i&&(Zje=J3(Zje,(rJ(),eFe)))):Zje=TT(e.l,e.m,e.h)),s}(r?e:TT(e.l,e.m,e.h),t,l,o,i,n)}function Vve(e,t){var n,r,i,o,a,s,l,u,c,f,h,d,p;if(e.e&&e.c.c<e.f)throw Jm(new jy("Expected "+e.f+" phases to be configured; only found "+e.c.c));for(c=LL(Lx(e.g),9),d=$P(e.f),s=0,u=(o=c).length;s<u;++s)(f=LL(dZ(e,(r=o[s]).g),245))?RL(d,LL(J9(e,f),126)):d.c[d.c.length]=null;for(p=new wU,lS(_V(SV(_V(new cj(null,new ZG(d,16)),new ss),new Og(t)),new ls),new Dg(p)),P2(p,e.a),n=new $m,a=0,l=(i=c).length;a<l;++a)L3(n,$3(e,E$(LL(dZ(p,(r=i[a]).g),19)))),(h=LL(JN(d,r.g),126))&&(n.c[n.c.length]=h);return L3(n,$3(e,E$(LL(dZ(p,c[c.length-1].g+1),19)))),n}function $ve(e,t){var n,r,i,o,a,s,l,u,c;return u="",0==t.length?e.de(U_e,G_e,-1,-1):(fR((c=Yae(t)).substr(0,3),"at ")&&(c=c.substr(3)),-1==(a=(c=c.replace(/\[.*?\]/g,"")).indexOf("("))?-1==(a=c.indexOf("@"))?(u=c,c=""):(u=Yae(c.substr(a+1)),c=Yae(c.substr(0,a))):(n=c.indexOf(")",a),u=c.substr(a+1,n-(a+1)),c=Yae(c.substr(0,a))),-1!=(a=SM(c,bae(46)))&&(c=c.substr(a+1)),(0==c.length||fR(c,"Anonymous function"))&&(c=G_e),s=iP(u,bae(58)),i=sR(u,bae(58),s-1),l=-1,r=-1,o=U_e,-1!=s&&-1!=i&&(o=u.substr(0,i),l=VP(u.substr(i+1,s-(i+1))),r=VP(u.substr(s+1))),e.de(o,c,l,r))}function Hve(e,t){var n,r,i,o,a,s,l,u;if(TG(s=t.length-1,t.length),93==(a=t.charCodeAt(s))){if((o=SM(t,bae(91)))>=0)return i=function(e,t){var n;if(BT(n=Whe(e.Og(),t),97))return LL(n,17);throw Jm(new Ny(HOe+t+"' is not a valid reference"))}(e,t.substr(1,o-1)),function(e,t,n){var r,i,o,a,s,l,u,c,f,h;for(l=new $m,f=t.length,a=R5(n),u=0;u<f;++u){switch(c=oP(t,bae(61),u),o=(i=W3(r=g8(a,t.substr(u,c-u)))).vj().Ih(),dV(t,++c)){case 39:s=FP(t,39,++c),RL(l,new vI(r,GV(t.substr(c,s-c),o,i))),u=s+1;break;case 34:s=FP(t,34,++c),RL(l,new vI(r,GV(t.substr(c,s-c),o,i))),u=s+1;break;case 91:RL(l,new vI(r,h=new $m));e:for(;;){switch(dV(t,++c)){case 39:s=FP(t,39,++c),RL(h,GV(t.substr(c,s-c),o,i)),c=s+1;break;case 34:s=FP(t,34,++c),RL(h,GV(t.substr(c,s-c),o,i)),c=s+1;break;case 110:if(++c,t.indexOf("ull",c)!=c)throw Jm(new sy(WOe));h.c[h.c.length]=null,c+=3}if(!(c<f))break;switch(TG(c,t.length),t.charCodeAt(c)){case 44:break;case 93:break e;default:throw Jm(new sy("Expecting , or ]"))}}u=c+1;break;case 110:if(++c,t.indexOf("ull",c)!=c)throw Jm(new sy(WOe));RL(l,new vI(r,null)),u=c+3}if(!(u<f))break;if(TG(u,t.length),44!=t.charCodeAt(u))throw Jm(new sy("Expecting ,"))}return function(e,t,n){var r,i,o,a,s,l,u,c,f;f=t.c.length;e:for(o=LL((u=e.Tg(n))>=0?e.Wg(u,!1,!0):tce(e,n,!1),57).Ic();o.Ob();){for(i=LL(o.Pb(),55),c=0;c<f;++c)if(MG(c,t.c.length),l=(a=LL(t.c[c],71)).bd(),s=a.Xj(),r=i.Yg(s,!1),null==l?null!=r:!l8(l,r))continue e;return i}return null}(e,l,n)}(e,t.substr(o+1,s-(o+1)),i)}else{if(n=-1,null==sFe&&(sFe=new RegExp("\\d")),sFe.test(String.fromCharCode(a))&&(n=sR(t,bae(46),s-1))>=0){r=LL(YX(e,XQ(e,t.substr(1,n-1)),!1),57),l=0;try{l=Hge(t.substr(n+1),F_e,Dxe)}catch(e){throw BT(e=v3(e),127)?Jm(new DZ(e)):Jm(e)}if(l<r.gc())return BT(u=r.Xb(l),71)&&(u=LL(u,71).bd()),LL(u,55)}if(n<0)return LL(YX(e,XQ(e,t.substr(1)),!1),55)}return null}function Gve(e,t){var n,r,i,o,a,s,l;if(!(e.g>t.f||t.g>e.f)){for(n=0,r=0,a=e.w.a.ec().Ic();a.Ob();)i=LL(a.Pb(),11),s6(V5(q3(lw(J6e,1),s_e,8,0,[i.i.n,i.n,i.a])).b,t.g,t.f)&&++n;for(s=e.r.a.ec().Ic();s.Ob();)i=LL(s.Pb(),11),s6(V5(q3(lw(J6e,1),s_e,8,0,[i.i.n,i.n,i.a])).b,t.g,t.f)&&--n;for(l=t.w.a.ec().Ic();l.Ob();)i=LL(l.Pb(),11),s6(V5(q3(lw(J6e,1),s_e,8,0,[i.i.n,i.n,i.a])).b,e.g,e.f)&&++r;for(o=t.r.a.ec().Ic();o.Ob();)i=LL(o.Pb(),11),s6(V5(q3(lw(J6e,1),s_e,8,0,[i.i.n,i.n,i.a])).b,e.g,e.f)&&--r;n<r?new yY(e,t,r-n):r<n?new yY(t,e,n-r):(new yY(t,e,0),new yY(e,t,0))}}function Wve(e,t){var n,r,i,o,a,s,l,u,c,f,h,d,p,g,m,b,v;for(u=t.c,i=iT(e.e),f=cA(rO(RT(rT(e.e)),e.d*e.a,e.c*e.b),-.5),n=i.a-f.a,r=i.b-f.b,n=(a=t.a).c-n,r=a.d-r,l=new td(u);l.a<l.c.c.length;){switch(d=n+(h=(s=LL(xW(l),391)).b).a,m=r+h.b,p=IH(d/e.a),b=IH(m/e.b),(o=s.a).g){case 0:Bte(),c=CVe;break;case 1:Bte(),c=kVe;break;case 2:Bte(),c=EVe;break;default:Bte(),c=IVe}o.a?(v=IH((m+s.c)/e.b),RL(e.f,new XR(c,k8(b),k8(v))),o==(Vte(),zVe)?c5(e,0,b,p,v):c5(e,p,b,e.d-1,v)):(g=IH((d+s.c)/e.a),RL(e.f,new XR(c,k8(p),k8(g))),o==(Vte(),jVe)?c5(e,p,0,g,b):c5(e,p,b,g,e.c-1))}}function Uve(e,t,n){var r,i,o,a,s,l,u;if(u7(t,n)>=0)return n;switch(ZB(FZ(e,n))){case 2:if(fR("",r8(e,n.Cj()).ne())){if(l=Pfe(e,t,s=UV(FZ(e,n)),WV(FZ(e,n))))return l;for(a=0,u=(i=xge(e,t)).gc();a<u;++a)if(Ohe(pz(FZ(e,l=LL(i.Xb(a),170))),s))return l}return null;case 4:if(fR("",r8(e,n.Cj()).ne())){for(r=n;r;r=oW(FZ(e,r)))if(l=Ofe(e,t,UV(FZ(e,r)),WV(FZ(e,r))))return l;if(s=UV(FZ(e,n)),fR(cNe,s))return Vie(e,t);for(a=0,u=(o=_ge(e,t)).gc();a<u;++a)if(Ohe(pz(FZ(e,l=LL(o.Xb(a),170))),s))return l}return null;default:return null}}function qve(){qve=S,e3e=new bm(_Ee),new bm(SEe),new JO("DEPTH",k8(0)),X2e=new JO("FAN",k8(0)),U2e=new JO(AAe,k8(0)),a3e=new JO("ROOT",(_P(),!1)),K2e=new JO("LEFTNEIGHBOR",null),i3e=new JO("RIGHTNEIGHBOR",null),Z2e=new JO("LEFTSIBLING",null),o3e=new JO("RIGHTSIBLING",null),q2e=new JO("DUMMY",!1),new JO("LEVEL",k8(0)),r3e=new JO("REMOVABLE_EDGES",new sS),s3e=new JO("XCOOR",k8(0)),l3e=new JO("YCOOR",k8(0)),Q2e=new JO("LEVELHEIGHT",0),Y2e=new JO("ID",""),t3e=new JO("POSITION",k8(0)),n3e=new JO("PRELIM",0),J2e=new JO("MODIFIER",0),W2e=new bm(kEe),G2e=new bm(CEe)}function Xve(e,t,n,i){var o,a,s,l,u,c,f,h,d,p;for(f=n+t.c.c.a,p=new td(t.j);p.a<p.c.c.length;){if(d=LL(xW(p),11),o=V5(q3(lw(J6e,1),s_e,8,0,[d.i.n,d.n,d.a])),t.k==(mse(),YHe)&&(l=LL(Fae(d,(hxe(),OXe)),11),o.a=V5(q3(lw(J6e,1),s_e,8,0,[l.i.n,l.n,l.a])).a,t.n.a=o.a),s=new YE(0,o.b),d.j==(hwe(),Oet))s.a=f;else{if(d.j!=Qet)continue;s.a=n}if(!(r.Math.abs(o.a-s.a)<=i)||kie(t))for(a=d.g.c.length+d.e.c.length>1,c=new fY(d.b);CT(c.a)||CT(c.b);)h=(u=LL(CT(c.a)?xW(c.a):xW(c.b),18)).c==d?u.d:u.c,r.Math.abs(V5(q3(lw(J6e,1),s_e,8,0,[h.i.n,h.n,h.a])).b-s.b)>1&&mde(e,u,s,a,d)}}function Yve(){Yve=S,Bit=(Ix(),zit).b,Hit=LL(sJ(k$(zit.b),0),32),Vit=LL(sJ(k$(zit.b),1),32),$it=LL(sJ(k$(zit.b),2),32),Jit=zit.bb,LL(sJ(k$(zit.bb),0),32),LL(sJ(k$(zit.bb),1),32),tot=zit.fb,not=LL(sJ(k$(zit.fb),0),32),LL(sJ(k$(zit.fb),1),32),LL(sJ(k$(zit.fb),2),17),iot=zit.qb,sot=LL(sJ(k$(zit.qb),0),32),LL(sJ(k$(zit.qb),1),17),LL(sJ(k$(zit.qb),2),17),oot=LL(sJ(k$(zit.qb),3),32),aot=LL(sJ(k$(zit.qb),4),32),uot=LL(sJ(k$(zit.qb),6),32),lot=LL(sJ(k$(zit.qb),5),17),Git=zit.j,Wit=zit.k,Uit=zit.q,qit=zit.w,Xit=zit.B,Yit=zit.A,Kit=zit.C,Zit=zit.D,Qit=zit._,eot=zit.cb,rot=zit.hb}function Kve(e,t){var n;if(null==t||fR(t,$xe))return null;if(0==t.length&&e.k!=(mle(),H6e))return null;switch(e.k.g){case 1:return Oee(t,GPe)?(_P(),rFe):Oee(t,WPe)?(_P(),nFe):null;case 2:try{return k8(Hge(t,F_e,Dxe))}catch(e){if(BT(e=v3(e),127))return null;throw Jm(e)}case 4:try{return pse(t)}catch(e){if(BT(e=v3(e),127))return null;throw Jm(e)}case 3:return t;case 5:return l6(e),Nue(e,t);case 6:return l6(e),function(e,t,n){var r,i,o,a,s,l,u;for(u=new WR(r=LL(t.e&&t.e(),9),LL(wD(r,r.length),9),0),a=0,s=(o=wge(n,"[\\[\\]\\s,]+")).length;a<s;++a)if(0!=Yae(i=o[a]).length){if(null==(l=Nue(e,i)))return null;c1(u,LL(l,22))}return u}(e,e.a,t);case 7:try{return(n=Nce(e)).Gf(t),n}catch(e){if(BT(e=v3(e),31))return null;throw Jm(e)}default:throw Jm(new jy("Invalid type set for this layout option."))}}function Zve(e,t){var n,r,i,o;o=e.F,null==t?(e.F=null,j4(e,null)):(e.F=(wB(t),t),-1!=(r=SM(t,bae(60)))?(i=t.substr(0,r),-1==SM(t,bae(46))&&!fR(i,Txe)&&!fR(i,cLe)&&!fR(i,fLe)&&!fR(i,hLe)&&!fR(i,dLe)&&!fR(i,pLe)&&!fR(i,gLe)&&!fR(i,mLe)&&(i=bLe),-1!=(n=iP(t,bae(62)))&&(i+=""+t.substr(n+1)),j4(e,i)):(i=t,-1==SM(t,bae(46))&&(-1!=(r=SM(t,bae(91)))&&(i=t.substr(0,r)),fR(i,Txe)||fR(i,cLe)||fR(i,fLe)||fR(i,hLe)||fR(i,dLe)||fR(i,pLe)||fR(i,gLe)||fR(i,mLe)?i=t:(i=bLe,-1!=r&&(i+=""+t.substr(r)))),j4(e,i),i==t&&(e.F=e.D))),0!=(4&e.Db)&&0==(1&e.Db)&&Y2(e,new NF(e,1,5,o,t))}function Qve(e){var t;switch(e.d){case 1:if(e.cj())return-2!=e.o;break;case 2:if(e.cj())return-2==e.o;break;case 3:case 5:case 4:case 6:case 7:return e.o>-2;default:return!1}switch(t=e.bj(),e.p){case 0:return null!=t&&Ty(VO(t))!=B_(e.k,0);case 1:return null!=t&&LL(t,215).a!=QN(e.k)<<24>>24;case 2:return null!=t&&LL(t,172).a!=(QN(e.k)&X_e);case 6:return null!=t&&B_(LL(t,162).a,e.k);case 5:return null!=t&&LL(t,20).a!=QN(e.k);case 7:return null!=t&&LL(t,186).a!=QN(e.k)<<16>>16;case 3:return null!=t&&Oy($O(t))!=e.j;case 4:return null!=t&&LL(t,155).a!=e.j;default:return null==t?null!=e.n:!l8(t,e.n)}}function Jve(e,t,n){var r,i,o,a;return e.Ak()&&e.zk()&&OI(a=XF(e,LL(n,55)))!==OI(n)?(e.Ji(t),e.Pi(t,$K(e,0,a)),e.mk()&&(i=LL(n,48),o=e.yk()?e.wk()?i.dh(e.b,yne(LL(VQ(Z$(e.b),e.Xi()),17)).n,LL(VQ(Z$(e.b),e.Xi()).Tj(),26).wj(),null):i.dh(e.b,u7(i.Og(),yne(LL(VQ(Z$(e.b),e.Xi()),17))),null,null):i.dh(e.b,-1-e.Xi(),null,null),!LL(a,48).$g()&&(r=LL(a,48),o=e.yk()?e.wk()?r.ah(e.b,yne(LL(VQ(Z$(e.b),e.Xi()),17)).n,LL(VQ(Z$(e.b),e.Xi()).Tj(),26).wj(),o):r.ah(e.b,u7(r.Og(),yne(LL(VQ(Z$(e.b),e.Xi()),17))),null,o):r.ah(e.b,-1-e.Xi(),null,o)),o&&o.Ai()),FM(e.b)&&e.Vi(e.Ui(9,n,a,t,!1)),a):n}function eye(e,t,n){var i,o,a,s,l,u,c,f,h,d,p,g,m,b,v,y,w,x;for(f=Oy($O(Fae(e,(Kwe(),_Je)))),i=Oy($O(Fae(e,LJe))),S5(d=new Xs,_Je,f+i),v=(c=t).d,m=c.c.i,y=c.d.i,b=OM(m.c),w=OM(y.c),o=new $m,h=b;h<=w;h++)vh(l=new Sne(e),(mse(),qHe)),S5(l,(hxe(),OXe),c),S5(l,tJe,(joe(),vet)),S5(l,kJe,d),p=LL(JN(e.b,h),29),h==b?$re(l,p.a.c.length-n,p):OG(l,p),(x=Oy($O(Fae(c,sQe))))<0&&S5(c,sQe,x=0),l.o.b=x,g=r.Math.floor(x/2),mue(s=new Pse,(hwe(),Qet)),DG(s,l),s.n.b=g,mue(u=new Pse,Oet),DG(u,l),u.n.b=g,AG(c,s),c3(a=new N$,c),S5(a,vQe,null),PG(a,u),AG(a,v),Iie(l,c,a),o.c[o.c.length]=a,c=a;return o}function tye(e,t){var n,r,i,o,a,s,l,u,c,f,h,d,p,g,m;for(s=LL(jse(e,(hwe(),Qet)).Ic().Pb(),11).e,f=LL(jse(e,Oet).Ic().Pb(),11).g,a=s.c.length,m=tW(LL(JN(e.j,0),11));a-- >0;){for(MG(0,s.c.length),d=LL(s.c[0],18),MG(0,f.c.length),i=vZ((r=LL(f.c[0],18)).d.e,r,0),pU(d,r.d,i),PG(r,null),AG(r,null),h=d.a,t&&bN(h,new lT(m)),n=cte(r.a,0);n.b!=n.d.c;)bN(h,new lT(LL(BU(n),8)));for(g=d.b,c=new td(r.b);c.a<c.c.c.length;)u=LL(xW(c),69),g.c[g.c.length]=u;if(p=LL(Fae(d,(Kwe(),vQe)),74),o=LL(Fae(r,vQe),74))for(p||(p=new bv,S5(d,vQe,p)),l=cte(o,0);l.b!=l.d.c;)bN(p,new lT(LL(BU(l),8)))}}function nye(e){var t;this.a=e,t=(mse(),q3(lw(QHe,1),A_e,266,0,[XHe,qHe,WHe,YHe,UHe,GHe])).length,this.b=FN(D6e,[s_e,oAe],[584,146],0,[t,t],2),this.c=FN(D6e,[s_e,oAe],[584,146],0,[t,t],2),uH(this,XHe,(Kwe(),MJe),TJe),_3(this,XHe,qHe,_Je,SJe),lH(this,XHe,YHe,_Je),lH(this,XHe,WHe,_Je),_3(this,XHe,UHe,MJe,TJe),uH(this,qHe,yJe,wJe),lH(this,qHe,YHe,yJe),lH(this,qHe,WHe,yJe),_3(this,qHe,UHe,_Je,SJe),fT(this,YHe,yJe),lH(this,YHe,WHe,yJe),lH(this,YHe,UHe,EJe),fT(this,WHe,OJe),lH(this,WHe,UHe,IJe),uH(this,UHe,yJe,yJe),uH(this,GHe,yJe,wJe),_3(this,GHe,XHe,_Je,SJe),_3(this,GHe,UHe,_Je,SJe),_3(this,GHe,qHe,_Je,SJe)}function rye(e,t){var n,i,o,a,s,l,u,c,f,h,d,p;if(n=LL(fV(e.b,t),121),(u=LL(LL(KX(e.r,t),21),81)).dc())return n.n.b=0,void(n.n.c=0);for(c=e.t.Fc((iae(),Eet)),s=0,l=u.Ic(),f=null,h=0,d=0;l.Ob();)o=Oy($O((i=LL(l.Pb(),110)).b.Xe((xP(),bVe)))),a=i.b.pf().a,e.w.Fc((aee(),ctt))&&mpe(e,t),f?(p=d+f.d.c+e.v+i.d.b,s=r.Math.max(s,(vT(),CJ(lCe),r.Math.abs(h-o)<=lCe||h==o||isNaN(h)&&isNaN(o)?0:p/(o-h)))):e.B&&e.B.b>0&&(s=r.Math.max(s,J1(e.B.b+i.d.b,o))),f=i,h=o,d=a;e.B&&e.B.c>0&&(p=d+e.B.c,c&&(p+=f.d.c),s=r.Math.max(s,(vT(),CJ(lCe),r.Math.abs(h-1)<=lCe||1==h||isNaN(h)&&isNaN(1)?0:p/(1-h)))),n.n.b=0,n.a.a=s}function iye(e,t){var n,i,o,a,s,l,u,c,f,h,d,p;if(n=LL(fV(e.b,t),121),(u=LL(LL(KX(e.r,t),21),81)).dc())return n.n.d=0,void(n.n.a=0);for(c=e.t.Fc((iae(),Eet)),s=0,e.w.Fc((aee(),ctt))&&bpe(e,t),l=u.Ic(),f=null,d=0,h=0;l.Ob();)a=Oy($O((i=LL(l.Pb(),110)).b.Xe((xP(),bVe)))),o=i.b.pf().b,f?(p=h+f.d.a+e.v+i.d.d,s=r.Math.max(s,(vT(),CJ(lCe),r.Math.abs(d-a)<=lCe||d==a||isNaN(d)&&isNaN(a)?0:p/(a-d)))):e.B&&e.B.d>0&&(s=r.Math.max(s,J1(e.B.d+i.d.d,a))),f=i,d=a,h=o;e.B&&e.B.a>0&&(p=h+e.B.a,c&&(p+=f.d.a),s=r.Math.max(s,(vT(),CJ(lCe),r.Math.abs(d-1)<=lCe||1==d||isNaN(d)&&isNaN(1)?0:p/(1-d)))),n.n.d=0,n.a.b=s}function oye(e,t,n){var r,i,o,a,s,l;for(this.g=e,s=t.d.length,l=n.d.length,this.d=fK(KHe,YEe,10,s+l,0,1),a=0;a<s;a++)this.d[a]=t.d[a];for(o=0;o<l;o++)this.d[s+o]=n.d[o];if(t.e){if(this.e=jL(t.e),this.e.Kc(n),n.e)for(i=n.e.Ic();i.Ob();)(r=LL(i.Pb(),232))!=t&&(this.e.Fc(r)?--r.c:this.e.Dc(r))}else n.e&&(this.e=jL(n.e),this.e.Kc(t));this.f=t.f+n.f,this.a=t.a+n.a,this.a>0?dJ(this,this.f/this.a):null!=lA(t.g,t.d[0]).a&&null!=lA(n.g,n.d[0]).a?dJ(this,(Oy(lA(t.g,t.d[0]).a)+Oy(lA(n.g,n.d[0]).a))/2):null!=lA(t.g,t.d[0]).a?dJ(this,lA(t.g,t.d[0]).a):null!=lA(n.g,n.d[0]).a&&dJ(this,lA(n.g,n.d[0]).a)}function aye(e,t){var n,r,i,o,a,s,l,u,c;for(e.a=new pB(function(e){var t;return new WR(t=LL(e.e&&e.e(),9),LL(Oz(t,t.length),9),t.length)}(v7e)),r=new td(t.a);r.a<r.c.c.length;){for(n=LL(xW(r),820),a=new jee(q3(lw(wHe,1),zxe,79,0,[])),RL(e.a.a,a),l=new td(n.d);l.a<l.c.c.length;)Sye(u=new yP(e,s=LL(xW(l),109)),LL(Fae(n.c,(hxe(),cXe)),21)),KF(e.g,n)||(eV(e.g,n,new YE(s.c,s.d)),eV(e.f,n,u)),RL(e.a.b,u),QG(a,u);for(o=new td(n.b);o.a<o.c.c.length;)u=new yP(e,(i=LL(xW(o),585)).lf()),eV(e.b,i,new KE(a,u)),Sye(u,LL(Fae(n.c,(hxe(),cXe)),21)),i.jf()&&(Sye(c=new Nee(e,i.jf(),1),LL(Fae(n.c,cXe),21)),QG(new jee(q3(lw(wHe,1),zxe,79,0,[])),c),Yue(e.c,i.hf(),new KE(a,c)))}return e.a}function sye(e,t,n){var r,i,o,a,s,l,u,c,f,h,d,p,g,m,b;if(h=new lT(e.o),b=t.a/h.a,s=t.b/h.b,g=t.a-h.a,o=t.b-h.b,n)for(i=OI(Fae(e,(Kwe(),tJe)))===OI((joe(),vet)),p=new td(e.j);p.a<p.c.c.length;)switch((d=LL(xW(p),11)).j.g){case 1:i||(d.n.a*=b);break;case 2:d.n.a+=g,i||(d.n.b*=s);break;case 3:i||(d.n.a*=b),d.n.b+=o;break;case 4:i||(d.n.b*=s)}for(u=new td(e.b);u.a<u.c.c.length;)c=(l=LL(xW(u),69)).n.a+l.o.a/2,f=l.n.b+l.o.b/2,(m=c/h.a)+(a=f/h.b)>=1&&(m-a>0&&f>=0?(l.n.a+=g,l.n.b+=o*a):m-a<0&&c>=0&&(l.n.a+=g*m,l.n.b+=o));e.o.a=t.a,e.o.b=t.b,S5(e,(Kwe(),BQe),(aee(),new WR(r=LL(Lx(xtt),9),LL(wD(r,r.length),9),0)))}function lye(e){var t,n,r,i,o,a,s,l,u,c;for(r=new $m,a=new td(e.e.a);a.a<a.c.c.length;){for(c=0,(i=LL(xW(a),119)).k.c=fK(pje,zxe,1,0,5,1),n=new td(A9(i));n.a<n.c.c.length;)(t=LL(xW(n),211)).f&&(RL(i.k,t),++c);1==c&&(r.c[r.c.length]=i)}for(o=new td(r);o.a<o.c.c.length;)for(i=LL(xW(o),119);1==i.k.c.length;){for(u=LL(xW(new td(i.k)),211),e.b[u.c]=u.g,s=u.d,l=u.e,n=new td(A9(i));n.a<n.c.c.length;)l8(t=LL(xW(n),211),u)||(t.f?s==t.d||l==t.e?e.b[u.c]-=e.b[t.c]-t.g:e.b[u.c]+=e.b[t.c]-t.g:i==s?t.d==i?e.b[u.c]+=t.g:e.b[u.c]-=t.g:t.d==i?e.b[u.c]-=t.g:e.b[u.c]+=t.g);yZ(s.k,u),yZ(l.k,u),i=s==i?u.e:u.d}}function uye(e,t){var n,r,i,o,a,s,l,u,c,f,h;if(null==t||0==t.length)return null;if(!(o=LL(CH(e.f,t),23))){for(i=new Uh(new Wh(e.d).a.tc().Ic());i.a.Ob();)if(a=LL(i.a.Pb(),43),s=(n=LL(a.bd(),23)).f,h=t.length,fR(s.substr(s.length-h,h),t)&&(t.length==s.length||46==dV(s,s.length-t.length-1))){if(o)return null;o=n}if(!o)for(r=new Uh(new Wh(e.d).a.tc().Ic());r.a.Ob();)if(a=LL(r.a.Pb(),43),null!=(f=(n=LL(a.bd(),23)).g))for(u=0,c=(l=f).length;u<c;++u)if(s=l[u],h=t.length,fR(s.substr(s.length-h,h),t)&&(t.length==s.length||46==dV(s,s.length-t.length-1))){if(o)return null;o=n}o&&vG(e.f,t,o)}return o}function cye(e,t,n){var i,o,a,s,l,u,c,f,h,d,p,g,m,b;if(qoe(n,"Network simplex layering",1),e.b=t,b=4*LL(Fae(t,(Kwe(),DJe)),20).a,(m=e.b.a).c.length<1)_se(n);else{for(a=function(e,t){var n,r,i,o,a;for(null==e.c||e.c.length<t.c.length?e.c=fK(rat,Kke,24,t.c.length,16,1):$y(e.c),e.a=new $m,r=0,a=new td(t);a.a<a.c.c.length;)(i=LL(xW(a),10)).p=r++;for(n=new sS,o=new td(t);o.a<o.c.c.length;)i=LL(xW(o),10),e.c[i.p]||(Tue(e,i),0==n.b||(EP(0!=n.b),LL(n.a.a.c,14)).gc()<e.a.c.length?KI(n,e.a):ZI(n,e.a),e.a=new $m);return n}(e,m),g=null,o=cte(a,0);o.b!=o.d.c;){for(i=LL(BU(o),14),l=b*IH(r.Math.sqrt(i.gc())),Lge(kw(Ew(Cw(HR(s=qge(i)),l),g),!0),a2(n,1)),h=e.b.b,p=new td(s.a);p.a<p.c.c.length;){for(d=LL(xW(p),119);h.c.length<=d.e;)Mj(h,h.c.length,new mB(e.b));OG(LL(d.f,10),LL(JN(h,d.e),29))}if(a.b>1)for(g=fK(nat,sSe,24,e.b.b.c.length,15,1),f=0,c=new td(e.b.b);c.a<c.c.c.length;)u=LL(xW(c),29),g[f++]=u.a.c.length}m.c=fK(pje,zxe,1,0,5,1),e.a=null,e.b=null,e.c=null,_se(n)}}function fye(e){var t,n,i,o,a,s,l;for(t=0,a=new td(e.b.a);a.a<a.c.c.length;)(i=LL(xW(a),189)).b=0,i.c=0;for(Ise(e,0),t7(e,e.g),Nhe(e.c),Uy(e.c),A8(),n=c7e,Ege(Hk(Wye(Ege(Hk(Wye(Ege(Wye(e.c,n)),F8(n)))),n))),Wye(e.c,c7e),Z8(e,e.g),Bae(e,0),rve(e,0),Nfe(e,1),Ise(e,1),t7(e,e.d),Nhe(e.c),s=new td(e.b.a);s.a<s.c.c.length;)i=LL(xW(s),189),t+=r.Math.abs(i.c);for(l=new td(e.b.a);l.a<l.c.c.length;)(i=LL(xW(l),189)).b=0,i.c=0;for(n=d7e,Ege(Hk(Wye(Ege(Hk(Wye(Ege(Uy(Wye(e.c,n))),F8(n)))),n))),Wye(e.c,c7e),Z8(e,e.d),Bae(e,1),rve(e,1),Nfe(e,0),Uy(e.c),o=new td(e.b.a);o.a<o.c.c.length;)i=LL(xW(o),189),t+=r.Math.abs(i.c);return t}function hye(e,t){var n,r,i,o,a,s,l,u,c;if(null!=(u=t).b&&null!=e.b){for(Rfe(e),xve(e),Rfe(u),xve(u),n=fK(nat,sSe,24,e.b.length+u.b.length,15,1),c=0,r=0,a=0;r<e.b.length&&a<u.b.length;)if(i=e.b[r],o=e.b[r+1],s=u.b[a],l=u.b[a+1],o<s)r+=2;else if(o>=s&&i<=l)s<=i&&o<=l?(n[c++]=i,n[c++]=o,r+=2):s<=i?(n[c++]=i,n[c++]=l,e.b[r]=l+1,a+=2):o<=l?(n[c++]=s,n[c++]=o,r+=2):(n[c++]=s,n[c++]=l,e.b[r]=l+1);else{if(!(l<i))throw Jm(new sy("Token#intersectRanges(): Internal Error: ["+e.b[r]+","+e.b[r+1]+"] & ["+u.b[a]+","+u.b[a+1]+"]"));a+=2}for(;r<e.b.length;)n[c++]=e.b[r++],n[c++]=e.b[r++];e.b=fK(nat,sSe,24,c,15,1),Xbe(n,0,e.b,0,c)}}function dye(e){var t,n,i,o,a,s,l;for(t=new $m,e.g=new $m,e.d=new $m,s=new m4(new jh(e.f.b).a);s.b;)RL(t,LL(LL((a=kJ(s)).bd(),46).b,79)),LM(LL(a.ad(),585).hf())?RL(e.d,LL(a.bd(),46)):RL(e.g,LL(a.bd(),46));for(t7(e,e.d),t7(e,e.g),e.c=new ace(e.b),function(e,t){e.f=t}(e.c,(CS(),bHe)),Z8(e,e.d),Z8(e,e.g),L3(t,e.c.a.b),e.e=new YE(RSe,RSe),e.a=new YE(LSe,LSe),i=new td(t);i.a<i.c.c.length;)n=LL(xW(i),79),e.e.a=r.Math.min(e.e.a,n.g.c),e.e.b=r.Math.min(e.e.b,n.g.d),e.a.a=r.Math.max(e.a.a,n.g.c+n.g.b),e.a.b=r.Math.max(e.a.b,n.g.d+n.g.a);Tw(e.c,new ht),l=0;do{o=fye(e),++l}while((l<2||o>j_e)&&l<10);Tw(e.c,new yt),fye(e),function(e){Wye(e,(A8(),c7e)),e.d=!0}(e.c),function(e){var t,n,i,o,a,s,l,u;for(a=new td(e.a.b);a.a<a.c.c.length;)(o=LL(xW(a),79)).b.c=o.g.c,o.b.d=o.g.d;for(u=new YE(RSe,RSe),t=new YE(LSe,LSe),i=new td(e.a.b);i.a<i.c.c.length;)n=LL(xW(i),79),u.a=r.Math.min(u.a,n.g.c),u.b=r.Math.min(u.b,n.g.d),t.a=r.Math.max(t.a,n.g.c+n.g.b),t.b=r.Math.max(t.b,n.g.d+n.g.a);for(l=Uz(e.c).a.lc();l.Ob();)s=LL(l.Pb(),46),n=LL(s.b,79),u.a=r.Math.min(u.a,n.g.c),u.b=r.Math.min(u.b,n.g.d),t.a=r.Math.max(t.a,n.g.c+n.g.b),t.b=r.Math.max(t.b,n.g.d+n.g.a);e.d=oO(new YE(u.a,u.b)),e.e=VD(new YE(t.a,t.b),u),e.a.a.c=fK(pje,zxe,1,0,5,1),e.a.b.c=fK(pje,zxe,1,0,5,1)}(e.f)}function pye(e,t,n){var r,i,o,a,s,l,u,c,f,h;if(Ty(VO(Fae(n,(Kwe(),pQe)))))for(i=new td(n.j);i.a<i.c.c.length;)for(s=0,l=(a=gU(LL(xW(i),11).g)).length;s<l;++s)(o=a[s]).d.i==n&&Ty(VO(Fae(o,gQe)))&&(c=o.c,(u=LL(aB(e.b,c),10))||(S5(u=Nwe(c,(joe(),xet),c.j,-1,null,null,c.o,LL(Fae(t,qZe),108),t),(hxe(),OXe),c),eV(e.b,c,u),RL(t.a,u)),h=o.d,(f=LL(aB(e.b,h),10))||(S5(f=Nwe(h,(joe(),xet),h.j,1,null,null,h.o,LL(Fae(t,qZe),108),t),(hxe(),OXe),h),eV(e.b,h,f),RL(t.a,f)),PG(r=$X(o),LL(JN(u.j,0),11)),AG(r,LL(JN(f.j,0),11)),Yue(e.a,o,new ZR(r,t,(E0(),L0e))),LL(Fae(t,(hxe(),mXe)),21).Dc((Kde(),Tqe)))}function gye(e,t,n){var r,i,o,a,s,l,u,c,f,h,d,p;for(qoe(n,"Label dummy switching",1),r=LL(Fae(t,(Kwe(),KZe)),225),function(e){var t,n;for(n=0,t=new td(e.b);t.a<t.c.c.length;)LL(xW(t),29).p=n,++n}(t),i=function(e,t){var n,r,i,o;for(n=new x9(IUe),xle(),i=0,o=(r=q3(lw(IUe,1),A_e,225,0,[wUe,_Ue,yUe,xUe,SUe,vUe])).length;i<o;++i)gD(n,r[i],new $m);return lS(SV(_V(aQ(new cj(null,new ZG(e.b,16)),new Yn),new Kn),new xp(t)),new _p(n)),n}(t,r),e.a=fK(aat,BSe,24,t.b.c.length,15,1),xle(),c=0,d=(s=q3(lw(IUe,1),A_e,225,0,[wUe,_Ue,yUe,xUe,SUe,vUe])).length;c<d;++c)if(((o=s[c])==SUe||o==vUe||o==xUe)&&!LL(aP(i.a,o)?i.b[o.g]:null,14).dc()){O2(e,t);break}for(f=0,p=(l=q3(lw(IUe,1),A_e,225,0,[wUe,_Ue,yUe,xUe,SUe,vUe])).length;f<p;++f)(o=l[f])==SUe||o==vUe||o==xUe||Dge(e,LL(aP(i.a,o)?i.b[o.g]:null,14));for(u=0,h=(a=q3(lw(IUe,1),A_e,225,0,[wUe,_Ue,yUe,xUe,SUe,vUe])).length;u<h;++u)((o=a[u])==SUe||o==vUe||o==xUe)&&Dge(e,LL(aP(i.a,o)?i.b[o.g]:null,14));e.a=null,_se(n)}function mye(e,t){var n,r,i,o,a,s,l,u,c,f,h;switch(e.k.g){case 1:if(r=LL(Fae(e,(hxe(),OXe)),18),(n=LL(Fae(r,DXe),74))?Ty(VO(Fae(r,WXe)))&&(n=i4(n)):n=new bv,u=LL(Fae(e,IXe),11)){if(t<=(c=V5(q3(lw(J6e,1),s_e,8,0,[u.i.n,u.n,u.a]))).a)return c.b;jq(n,c,n.a,n.a.a)}if(f=LL(Fae(e,MXe),11)){if((h=V5(q3(lw(J6e,1),s_e,8,0,[f.i.n,f.n,f.a]))).a<=t)return h.b;jq(n,h,n.c.b,n.c)}if(n.b>=2){for(a=LL(BU(l=cte(n,0)),8),s=LL(BU(l),8);s.a<t&&l.b!=l.d.c;)a=s,s=LL(BU(l),8);return a.b+(t-a.a)/(s.a-a.a)*(s.b-a.b)}break;case 3:switch(i=(o=LL(Fae(LL(JN(e.j,0),11),(hxe(),OXe)),11)).i,o.j.g){case 1:return i.n.b;case 3:return i.n.b+i.o.b}}return Kie(e).b}function bye(e,t,n){var i,o,a,s,l,u,c,f;switch(qoe(n,"Node promotion heuristic",1),e.g=t,function(e){var t,n,i,o,a,s,l,u,c,f,h,d,g,m,b;for(e.n=Oy($O(Fae(e.g,(Kwe(),MJe)))),e.e=Oy($O(Fae(e.g,SJe))),e.i=e.g.b.c.length,l=e.i-1,d=0,e.j=0,e.k=0,e.a=JX(fK(gFe,s_e,20,e.i,0,1)),e.b=JX(fK(fFe,s_e,331,e.i,7,1)),s=new td(e.g.b);s.a<s.c.c.length;){for((o=LL(xW(s),29)).p=l,h=new td(o.a);h.a<h.c.c.length;)(f=LL(xW(h),10)).p=d,++d;--l}for(e.f=fK(nat,sSe,24,d,15,1),e.c=FN(nat,[s_e,sSe],[47,24],15,[d,3],2),e.o=new $m,e.p=new $m,t=0,e.d=0,a=new td(e.g.b);a.a<a.c.c.length;){for(l=(o=LL(xW(a),29)).p,i=0,b=0,u=o.a.c.length,c=0,h=new td(o.a);h.a<h.c.c.length;)d=(f=LL(xW(h),10)).p,e.f[d]=f.c.p,c+=f.o.b+e.n,n=DU(new xF(BA(p9(f).a.Ic(),new p))),m=DU(new xF(BA(g9(f).a.Ic(),new p))),e.c[d][0]=m-n,e.c[d][1]=n,e.c[d][2]=m,i+=n,b+=m,n>0&&RL(e.p,f),RL(e.o,f);g=u+(t-=i),c+=t*e.e,mX(e.a,l,k8(g)),mX(e.b,l,c),e.j=r.Math.max(e.j,g),e.k=r.Math.max(e.k,c),e.d+=t,t+=b}}(e),e.q=LL(Fae(t,(Kwe(),EQe)),259),f=LL(Fae(e.g,CQe),20).a,a=new ar,e.q.g){case 2:case 1:default:vve(e,a);break;case 3:for(e.q=(Dhe(),_0e),vve(e,a),u=0,l=new td(e.a);l.a<l.c.c.length;)s=LL(xW(l),20),u=r.Math.max(u,s.a);u>e.j&&(e.q=m0e,vve(e,a));break;case 4:for(e.q=(Dhe(),_0e),vve(e,a),c=0,o=new td(e.b);o.a<o.c.c.length;)i=$O(xW(o)),c=r.Math.max(c,(wB(i),i));c>e.k&&(e.q=y0e,vve(e,a));break;case 6:vve(e,new vp(IH(r.Math.ceil(e.f.length*f/100))));break;case 5:vve(e,new yp(IH(r.Math.ceil(e.d*f/100))))}!function(e,t){var n,r,i,o,a,s;for(i=new $m,n=0;n<=e.i;n++)(r=new mB(t)).p=e.i-n,i.c[i.c.length]=r;for(s=new td(e.o);s.a<s.c.c.length;)OG(a=LL(xW(s),10),LL(JN(i,e.i-e.f[a.p]),29));for(o=new td(i);o.a<o.c.c.length;)0==LL(xW(o),29).a.c.length&&ez(o);t.b.c=fK(pje,zxe,1,0,5,1),L3(t.b,i)}(e,t),_se(n)}function vye(e,t){var n,r,i,o,a,s,l,u,c;for(s=!0,i=0,l=e.f[t.p],u=t.o.b+e.n,n=e.c[t.p][2],mX(e.a,l,k8(LL(JN(e.a,l),20).a-1+n)),mX(e.b,l,Oy($O(JN(e.b,l)))-u+n*e.e),++l>=e.i?(++e.i,RL(e.a,k8(1)),RL(e.b,u)):(r=e.c[t.p][1],mX(e.a,l,k8(LL(JN(e.a,l),20).a+1-r)),mX(e.b,l,Oy($O(JN(e.b,l)))+u-r*e.e)),(e.q==(Dhe(),m0e)&&(LL(JN(e.a,l),20).a>e.j||LL(JN(e.a,l-1),20).a>e.j)||e.q==y0e&&(Oy($O(JN(e.b,l)))>e.k||Oy($O(JN(e.b,l-1)))>e.k))&&(s=!1),o=new xF(BA(p9(t).a.Ic(),new p));Zce(o);)a=LL(dX(o),18).c.i,e.f[a.p]==l&&(i+=LL((c=vye(e,a)).a,20).a,s=s&&Ty(VO(c.b)));return e.f[t.p]=l,new KE(k8(i+=e.c[t.p][0]),(_P(),!!s))}function yye(e,t,n,i,o){var a,s,l,u,c,f,h,d,p,g,m,b,v;for(h=new Hm,s=new $m,Iue(e,n,e.d.ag(),s,h),Iue(e,i,e.d.bg(),s,h),e.b=.2*(m=gfe(aQ(new cj(null,new ZG(s,16)),new Sa)),b=gfe(aQ(new cj(null,new ZG(s,16)),new ka)),r.Math.min(m,b)),a=0,l=0;l<s.c.length-1;l++)for(MG(l,s.c.length),u=LL(s.c[l],111),g=l+1;g<s.c.length;g++)a+=tve(e,u,(MG(g,s.c.length),LL(s.c[g],111)));for(d=LL(Fae(t,(hxe(),HXe)),228),a>=2&&(v=Mhe(s,!0,d),!e.e&&(e.e=new xg(e)),Mee(e.e,v,s,e.b)),Hoe(s,d),function(e){var t,n,i,o,a,s,l,u,c;for(u=new $m,s=new $m,a=new td(e);a.a<a.c.c.length;)yh(i=LL(xW(a),111),i.f.c.length),Ah(i,i.k.c.length),0==i.d&&(u.c[u.c.length]=i),0==i.i&&0==i.e.b&&(s.c[s.c.length]=i);n=-1;for(;0!=u.c.length;)for(t=new td((i=LL(eY(u,0),111)).k);t.a<t.c.c.length;)Oh(c=LL(xW(t),129).b,r.Math.max(c.o,i.o+1)),n=r.Math.max(n,c.o),yh(c,c.d-1),0==c.d&&(u.c[u.c.length]=c);if(n>-1){for(o=new td(s);o.a<o.c.c.length;)(i=LL(xW(o),111)).o=n;for(;0!=s.c.length;)for(t=new td((i=LL(eY(s,0),111)).f);t.a<t.c.c.length;)(l=LL(xW(t),129).a).e.b>0||(Oh(l,r.Math.min(l.o,i.o-1)),Ah(l,l.i-1),0==l.i&&(s.c[s.c.length]=l))}}(s),p=-1,f=new td(s);f.a<f.c.c.length;)c=LL(xW(f),111),r.Math.abs(c.s-c.c)<uEe||(p=r.Math.max(p,c.o),e.d.$f(c,o,e.c));return e.d.a.a.$b(),p+1}function wye(e,t){var n,r;Oy($O(Fae(t,(Kwe(),yJe))))<2&&S5(t,yJe,2),LL(Fae(t,qZe),108)==(A8(),h7e)&&S5(t,qZe,a9(t)),0==(n=LL(Fae(t,dJe),20)).a?S5(t,(hxe(),HXe),new y9):S5(t,(hxe(),HXe),new jU(n.a)),null==VO(Fae(t,LQe))&&S5(t,LQe,(_P(),OI(Fae(t,eQe))===OI(($9(),w7e)))),lS(new cj(null,new ZG(t.a,16)),new qd(e)),lS(aQ(new cj(null,new ZG(t.b,16)),new dt),new Xd(e)),r=new nye(t),S5(t,(hxe(),qXe),r),dU(e.a),dz(e.a,(zae(),fHe),LL(Fae(t,WZe),245)),dz(e.a,hHe,LL(Fae(t,IQe),245)),dz(e.a,dHe,LL(Fae(t,GZe),245)),dz(e.a,pHe,LL(Fae(t,zQe),245)),dz(e.a,gHe,function(e){var t;return mT(),hk(e2e,e)||((t=new ia).a=e,gD(e2e,e,t)),LL(fV(e2e,e),625)}(LL(Fae(t,eQe),216))),PM(e.a,function(e){var t,n,r;switch(n=LL(Fae(e,(hxe(),mXe)),21),t=DM(lHe),LL(Fae(e,(Kwe(),uQe)),332)==(P8(),$7e)&&P2(t,uHe),Ty(VO(Fae(e,lQe)))?jN(t,(zae(),fHe),(pxe(),uWe)):jN(t,(zae(),dHe),(pxe(),uWe)),null!=Fae(e,(TY(),K6e))&&P2(t,cHe),Ty(VO(Fae(e,mQe)))&&Qj(t,(zae(),gHe),(pxe(),SGe)),LL(Fae(e,qZe),108).g){case 2:case 3:case 4:Qj(jN(t,(zae(),fHe),(pxe(),CGe)),gHe,kGe)}n.Fc((Kde(),Iqe))&&Qj(jN(jN(t,(zae(),fHe),(pxe(),_Ge)),pHe,wGe),gHe,xGe),OI(Fae(e,EQe))!==OI((Dhe(),x0e))&&jN(t,(zae(),dHe),(pxe(),tWe)),n.Fc(Rqe)&&(jN(t,(zae(),fHe),(pxe(),sWe)),jN(t,hHe,oWe),jN(t,dHe,aWe));OI(Fae(e,RZe))!==OI((sse(),_qe))&&OI(Fae(e,eQe))!==OI(($9(),x7e))&&Qj(t,(zae(),gHe),(pxe(),FGe)),Ty(VO(Fae(e,fQe)))&&jN(t,(zae(),dHe),(pxe(),jGe)),Ty(VO(Fae(e,HZe)))&&jN(t,(zae(),dHe),(pxe(),gWe)),function(e){var t,n,r,i;return OI(Fae(e,(Kwe(),uQe)))===OI((P8(),$7e))?!e.e&&OI(Fae(e,FZe))!==OI((V2(),Fqe)):(r=LL(Fae(e,zZe),292),i=Ty(VO(Fae(e,HZe)))||OI(Fae(e,GZe))===OI(($q(),TUe)),t=LL(Fae(e,jZe),20).a,n=e.a.c.length,!i&&r!=(V2(),Fqe)&&(0==t||t>n))}(e)&&(r=(OI(Fae(e,uQe))===OI($7e)?LL(Fae(e,FZe),292):LL(Fae(e,zZe),292))==(V2(),zqe)?(pxe(),iWe):(pxe(),vWe),jN(t,(zae(),pHe),r));switch(LL(Fae(e,HJe),375).g){case 1:jN(t,(zae(),pHe),(pxe(),mWe));break;case 2:Qj(jN(jN(t,(zae(),dHe),(pxe(),mGe)),pHe,bGe),gHe,vGe)}return OI(Fae(e,LZe))!==OI((W5(),E0e))&&jN(t,(zae(),dHe),(pxe(),bWe)),t}(t)),S5(t,$Xe,Vve(e.a,t))}function xye(e,t){var n,i,o,a,s,l,u,c,f,h,d,p,g,m,b,v,y;for(c=RSe,f=RSe,l=LSe,u=LSe,d=new td(t.i);d.a<d.c.c.length;)h=LL(xW(d),63),$M(o=LL(LL(aB(e.g,h.a),46).b,34),h.b.c,h.b.d),c=r.Math.min(c,o.i),f=r.Math.min(f,o.j),l=r.Math.max(l,o.i+o.g),u=r.Math.max(u,o.j+o.f);for(p=LL(xfe(e.c,(Hae(),z4e)),115),ywe(e.c,l-c+(p.b+p.c),u-f+(p.d+p.a),!0,!0),Mae(e.c,-c+p.b,-f+p.d),i=new SA(qV(e.c));i.e!=i.i.gc();)s=Wde(n=LL(Hee(i),80),!0,!0),g=Pae(n),b=Rae(n),m=new YE(g.i+g.g/2,g.j+g.f/2),a=new YE(b.i+b.g/2,b.j+b.f/2),Mie(v=VD(new YE(a.a,a.b),m),g.g,g.f),BD(m,v),Mie(y=VD(new YE(m.a,m.b),a),b.g,b.f),BD(a,y),GM(s,m.a,m.b),HM(s,a.a,a.b)}function _ye(e,t,n){var r,i,o,a,s,l,u,c,f;if(e.a!=t.vj())throw Jm(new Ny(eDe+t.ne()+tDe));if(r=r8((vle(),Sit),t).Vk())return r.vj().Ih().Dh(r,n);if(a=r8(Sit,t).Xk()){if(null==n)return null;if((s=LL(n,14)).dc())return"";for(f=new hw,o=s.Ic();o.Ob();)i=o.Pb(),HI(f,a.vj().Ih().Dh(a,i)),f.a+=" ";return bM(f,f.a.length-1)}if(!(c=r8(Sit,t).Yk()).dc()){for(u=c.Ic();u.Ob();)if((l=LL(u.Pb(),148)).rj(n))try{if(null!=(f=l.vj().Ih().Dh(l,n)))return f}catch(e){if(!BT(e=v3(e),102))throw Jm(e)}throw Jm(new Ny("Invalid value: '"+n+"' for datatype :"+t.ne()))}return LL(t,813).Aj(),null==n?null:BT(n,172)?""+LL(n,172).a:g4(n)==Uje?jT(dnt[0],LL(n,198)):P9(n)}function Sye(e,t){t.dc()&&VL(e.j,!0,!0,!0,!0),l8(t,(hwe(),zet))&&VL(e.j,!0,!0,!0,!1),l8(t,Ret)&&VL(e.j,!1,!0,!0,!0),l8(t,qet)&&VL(e.j,!0,!0,!1,!0),l8(t,Yet)&&VL(e.j,!0,!1,!0,!0),l8(t,Bet)&&VL(e.j,!1,!0,!0,!1),l8(t,Let)&&VL(e.j,!1,!0,!1,!0),l8(t,Xet)&&VL(e.j,!0,!1,!1,!0),l8(t,Uet)&&VL(e.j,!0,!1,!0,!1),l8(t,Get)&&VL(e.j,!0,!0,!0,!0),l8(t,jet)&&VL(e.j,!0,!0,!0,!0),l8(t,Get)&&VL(e.j,!0,!0,!0,!0),l8(t,Net)&&VL(e.j,!0,!0,!0,!0),l8(t,Wet)&&VL(e.j,!0,!0,!0,!0),l8(t,Het)&&VL(e.j,!0,!0,!0,!0),l8(t,$et)&&VL(e.j,!0,!0,!0,!0)}function kye(e,t,n,i,o){var a,s,l,u;return u=RSe,s=!1,a=!!(l=Bbe(e,VD(new YE(t.a,t.b),e),BD(new YE(n.a,n.b),o),VD(new YE(i.a,i.b),n)))&&!(r.Math.abs(l.a-e.a)<=qPe&&r.Math.abs(l.b-e.b)<=qPe||r.Math.abs(l.a-t.a)<=qPe&&r.Math.abs(l.b-t.b)<=qPe),(l=Bbe(e,VD(new YE(t.a,t.b),e),n,o))&&((r.Math.abs(l.a-e.a)<=qPe&&r.Math.abs(l.b-e.b)<=qPe)==(r.Math.abs(l.a-t.a)<=qPe&&r.Math.abs(l.b-t.b)<=qPe)||a?u=r.Math.min(u,EB(VD(l,n))):s=!0),(l=Bbe(e,VD(new YE(t.a,t.b),e),i,o))&&(s||(r.Math.abs(l.a-e.a)<=qPe&&r.Math.abs(l.b-e.b)<=qPe)==(r.Math.abs(l.a-t.a)<=qPe&&r.Math.abs(l.b-t.b)<=qPe)||a)&&(u=r.Math.min(u,EB(VD(l,i)))),u}function Cye(e,t,n,i,o,a){var s,l,u,c,f,h,d,p,g,m,b,v;if(m=function(e,t,n){var r,i,o,a,s,l,u;for(u=new $m,i=0,aW(l=new gB(0),new b4(0,0,l,n)),s=new SA(e);s.e!=s.i.gc();){if(a=LL(Hee(s),34),l.d+a.g>t){if(bbe(l,LL(JN(l.a,l.a.c.length-1),181),a,t,n))continue;i+=l.b,u.c[u.c.length]=l,aW(l=new gB(i),new b4(0,l.e,l,n))}0==(r=LL(JN(l.a,l.a.c.length-1),181)).b.c.length||a.f+n>=r.o&&a.f+n<=r.f||.5*r.a<=a.f+n&&1.5*r.a>=a.f+n?T9(r,a):(aW(l,o=new b4(r.s+r.r,l.e,l,n)),T9(o,a))}return u.c[u.c.length]=l,u}(t,n,e.g),o.n&&o.n&&a&&SW(o,cU(a),(F4(),Ott)),e.b)for(g=0;g<m.c.length;g++)MG(g,m.c.length),c=LL(m.c[g],180),0!=g&&(MG(g-1,m.c.length),a6(c,(h=LL(m.c[g-1],180)).e+h.b)),qwe(g,m,n,e.g),Qee(c);else for(p=new td(m);p.a<p.c.c.length;)for(u=new td((d=LL(xW(p),180)).a);u.a<u.c.c.length;)wq(b=new Hj((l=LL(xW(u),181)).s,l.t),l),RL(d.c,b);return function(e,t){var n,i,o,a;for(n=0,i=0,a=new td(t);a.a<a.c.c.length;)o=LL(xW(a),180),n=r.Math.max(n,o.d),i+=o.b;e.c=i-e.g,e.d=n-e.g}(e,m),o.n&&o.n&&a&&SW(o,cU(a),(F4(),Ott)),v=r.Math.max(e.d,i.a),s=(f=r.Math.max(e.c,i.b))-e.c,e.e&&e.f&&(v/f<e.a?v=f*e.a:s+=v/e.a-f),e.e&&function(e,t,n){var r,i,o,a;for(r=n/e.c.length,i=0,a=new td(e);a.a<a.c.c.length;)a6(o=LL(xW(a),180),o.e+r*i),Oie(o,t,r),++i}(m,v+e.g,s),o.n&&o.n&&a&&SW(o,cU(a),(F4(),Ott)),new ON(e.a,v,e.c+s,(The(),f4e))}function Eye(e,t){var n,r,i,o,a,s,l,u,c;if(5!=t.e){if(null!=(u=t).b&&null!=e.b){for(Rfe(e),xve(e),Rfe(u),xve(u),n=fK(nat,sSe,24,e.b.length+u.b.length,15,1),c=0,r=0,a=0;r<e.b.length&&a<u.b.length;)if(i=e.b[r],o=e.b[r+1],s=u.b[a],l=u.b[a+1],o<s)n[c++]=e.b[r++],n[c++]=e.b[r++];else if(o>=s&&i<=l)s<=i&&o<=l?r+=2:s<=i?(e.b[r]=l+1,a+=2):o<=l?(n[c++]=i,n[c++]=s-1,r+=2):(n[c++]=i,n[c++]=s-1,e.b[r]=l+1,a+=2);else{if(!(l<i))throw Jm(new sy("Token#subtractRanges(): Internal Error: ["+e.b[r]+","+e.b[r+1]+"] - ["+u.b[a]+","+u.b[a+1]+"]"));a+=2}for(;r<e.b.length;)n[c++]=e.b[r++],n[c++]=e.b[r++];e.b=fK(nat,sSe,24,c,15,1),Xbe(n,0,e.b,0,c)}}else hye(e,t)}function Iye(e){GS(e,new rae(Gw(Yw(Hw(Xw(Uw(new hs,QAe),"ELK Radial"),'A radial layout provider which is based on the algorithm of Peter Eades published in "Drawing free trees.", published by International Institute for Advanced Study of Social Information Science, Fujitsu Limited in 1991. The radial layouter takes a tree and places the nodes in radial order around the root. The nodes of the same tree level are placed on the same radius.'),new za),QAe))),rU(e,QAe,eAe,gte(p5e)),rU(e,QAe,gEe,gte(b5e)),rU(e,QAe,XAe,gte(c5e)),rU(e,QAe,qAe,gte(f5e)),rU(e,QAe,ZAe,gte(h5e)),rU(e,QAe,WAe,gte(d5e)),rU(e,QAe,UAe,gte(g5e)),rU(e,QAe,YAe,gte(m5e)),rU(e,QAe,KAe,gte(v5e))}function Mye(e,t,n){var r,i,o,a,s,l,u,c,f,h,d;if(!e.b)return!1;for(a=null,h=null,i=1,(l=new bK(null,null)).a[1]=e.b,f=l;f.a[i];)u=i,s=h,h=f,f=f.a[i],i=(r=e.a.ue(t,f.d))<0?0:1,0==r&&(!n.c||cV(f.e,n.d))&&(a=f),f&&f.b||Gy(f.a[i])||(Gy(f.a[1-i])?h=h.a[u]=d1(f,i):Gy(f.a[1-i])||(d=h.a[1-u])&&(Gy(d.a[1-u])||Gy(d.a[u])?(o=s.a[1]==h?1:0,Gy(d.a[u])?s.a[o]=UW(h,u):Gy(d.a[1-u])&&(s.a[o]=d1(h,u)),f.b=s.a[o].b=!0,s.a[o].a[0].b=!1,s.a[o].a[1].b=!1):(h.b=!1,d.b=!0,f.b=!0)));return a&&(n.b=!0,n.d=a.e,f!=a&&(function(e,t,n,r){var i,o;for(i=null==(o=t).d||e.a.ue(n.d,o.d)>0?1:0;o.a[i]!=n;)o=o.a[i],i=e.a.ue(n.d,o.d)>0?1:0;o.a[i]=r,r.b=n.b,r.a[0]=n.a[0],r.a[1]=n.a[1],n.a[0]=null,n.a[1]=null}(e,l,a,c=new bK(f.d,f.e)),h==a&&(h=c)),h.a[h.a[1]==f?1:0]=f.a[f.a[0]?0:1],--e.c),e.b=l.a[1],e.b&&(e.b.b=!1),n.b}function Tye(e){var t,n,r,i,o,a,s,l;for(t=null,r=new td(e);r.a<r.c.c.length;)Oy(lA((n=LL(xW(r),232)).g,n.d[0]).a),n.b=null,n.e&&n.e.gc()>0&&0==n.c&&(!t&&(t=new $m),t.c[t.c.length]=n);if(t)for(;0!=t.c.length;){if((n=LL(eY(t,0),232)).b&&n.b.c.length>0)for(!n.b&&(n.b=new $m),o=new td(n.b);o.a<o.c.c.length;)if(Dy(lA((i=LL(xW(o),232)).g,i.d[0]).a)==Dy(lA(n.g,n.d[0]).a)){if(vZ(e,i,0)>vZ(e,n,0))return new KE(i,n)}else if(Oy(lA(i.g,i.d[0]).a)>Oy(lA(n.g,n.d[0]).a))return new KE(i,n);for(s=(!n.e&&(n.e=new $m),n.e).Ic();s.Ob();)!(a=LL(s.Pb(),232)).b&&(a.b=new $m),GH(0,(l=a.b).c.length),nE(l.c,0,n),a.c==l.c.length&&(t.c[t.c.length]=a)}return null}function Aye(e,t){var n,r,i,o,a,s;if(null==e)return $xe;if(null!=t.a.xc(e,t))return"[...]";for(n=new u3(jxe,"[","]"),o=0,a=(i=e).length;o<a;++o)null!=(r=i[o])&&0!=(4&g4(r).i)?!Array.isArray(r)||(s=wQ(r))>=14&&s<=16?BT(r,177)?aY(n,fue(LL(r,177))):BT(r,190)?aY(n,Foe(LL(r,190))):BT(r,194)?aY(n,Cse(LL(r,194))):BT(r,1981)?aY(n,zoe(LL(r,1981))):BT(r,47)?aY(n,cue(LL(r,47))):BT(r,361)?aY(n,Due(LL(r,361))):BT(r,811)?aY(n,uue(LL(r,811))):BT(r,103)&&aY(n,lue(LL(r,103))):t.a._b(r)?(n.a?UI(n.a,n.b):n.a=new YA(n.d),GI(n.a,"[...]")):aY(n,Aye(xJ(r),new YN(t))):aY(n,null==r?$xe:P9(r));return n.a?0==n.e.length?n.a.a:n.a.a+""+n.e:n.c}function Pye(e,t,n,i){var o,a,s;return function(e,t){var n,r,i,o;for(n=!t||!e.t.Fc((iae(),Eet)),o=0,i=new td(e.e.Af());i.a<i.c.c.length;){if((r=LL(xW(i),817)).Ef()==(hwe(),Zet))throw Jm(new Ny("Label and node size calculator can only be used with ports that have port sides assigned."));r.tf(o++),D6(e,r,n)}}(a=new Jye(t),i),EV(a,!1,!e||LM(LL(e.Xe((fxe(),z8e)),108))),OH(a,a.f,(nJ(),MBe),(hwe(),Det)),OH(a,a.f,ABe,Ket),OH(a,a.g,MBe,Qet),OH(a,a.g,ABe,Oet),_9(a,Det),_9(a,Ket),pV(a,Oet),pV(a,Qet),xD(),(o=a.w.Fc((aee(),stt))&&a.A.Fc((Vge(),mtt))?k7(a):null)&&function(e,t){e.b=new lT(t)}(a.a,o),function(e){var t,n,i,o,a,s,l;for(xD(),i=e.f.n,s=qz(e.r).a.lc();s.Ob();){if(o=0,(a=LL(s.Pb(),110)).b.Ye((fxe(),P9e))&&(o=Oy($O(a.b.Xe(P9e))))<0)switch(a.b.Ef().g){case 1:i.d=r.Math.max(i.d,-o);break;case 3:i.a=r.Math.max(i.a,-o);break;case 2:i.c=r.Math.max(i.c,-o);break;case 4:i.b=r.Math.max(i.b,-o)}if(PF(e.t))switch(t=s2(a.b,o),l=!LL(e.e.Xe(g9e),174).Fc((Vge(),htt)),n=!1,a.b.Ef().g){case 1:n=t>i.d,i.d=r.Math.max(i.d,t),l&&n&&(i.d=r.Math.max(i.d,i.a),i.a=i.d+o);break;case 3:n=t>i.a,i.a=r.Math.max(i.a,t),l&&n&&(i.a=r.Math.max(i.a,i.d),i.d=i.a+o);break;case 2:n=t>i.c,i.c=r.Math.max(i.c,t),l&&n&&(i.c=r.Math.max(i.b,i.c),i.b=i.c+o);break;case 4:n=t>i.b,i.b=r.Math.max(i.b,t),l&&n&&(i.b=r.Math.max(i.b,i.c),i.c=i.b+o)}}}(a),function(e){switch(e.q.g){case 5:Hie(e,(hwe(),Det)),Hie(e,Ket);break;case 4:rye(e,(hwe(),Det)),rye(e,Ket);break;default:Mle(e,(hwe(),Det)),Mle(e,Ket)}}(a),function(e){switch(e.q.g){case 5:Gie(e,(hwe(),Oet)),Gie(e,Qet);break;case 4:iye(e,(hwe(),Oet)),iye(e,Qet);break;default:Tle(e,(hwe(),Oet)),Tle(e,Qet)}}(a),function(e){var t,n,r,i,o,a,s;if(!e.w.dc()){if(e.w.Fc((aee(),utt))&&(LL(fV(e.b,(hwe(),Det)),121).k=!0,LL(fV(e.b,Ket),121).k=!0,t=e.q!=(joe(),yet)&&e.q!=vet,gh(LL(fV(e.b,Oet),121),t),gh(LL(fV(e.b,Qet),121),t),gh(e.g,t),e.w.Fc(ctt)&&(LL(fV(e.b,Det),121).j=!0,LL(fV(e.b,Ket),121).j=!0,LL(fV(e.b,Oet),121).k=!0,LL(fV(e.b,Qet),121).k=!0,e.g.k=!0)),e.w.Fc(ltt))for(e.a.j=!0,e.a.k=!0,e.g.j=!0,e.g.k=!0,s=e.A.Fc((Vge(),btt)),o=0,a=(i=fte()).length;o<a;++o)r=i[o],(n=LL(fV(e.i,r),304))&&(gee(r)?(n.j=!0,n.k=!0):(n.j=!s,n.k=!s));e.w.Fc(stt)&&e.A.Fc((Vge(),mtt))&&(e.g.j=!0,e.g.j=!0,e.a.j||(e.a.j=!0,e.a.k=!0,e.a.e=!0))}}(a),function(e){var t,n,i,o;i=e.o,xD(),e.w.dc()||l8(e.w,mVe)?o=i.a:(o=zue(e.f),e.w.Fc((aee(),ltt))&&!e.A.Fc((Vge(),btt))&&(o=r.Math.max(o,zue(LL(fV(e.p,(hwe(),Det)),243))),o=r.Math.max(o,zue(LL(fV(e.p,Ket),243)))),(t=N2(e))&&(o=r.Math.max(o,t.a))),i.a=o,(n=e.f.i).c=0,n.b=o,Wme(e.f)}(a),function(e){switch(xP(),e.q.g){case 5:Lue(e,(hwe(),Det)),Lue(e,Ket);break;case 4:Xfe(e,(hwe(),Det)),Xfe(e,Ket);break;default:cwe(e,(hwe(),Det)),cwe(e,Ket)}}(a),qee(a,Det),qee(a,Ket),function(e){var t,n,i,o,a,s;e.q!=(joe(),yet)&&e.q!=vet&&(o=e.f.n.d+MN(LL(fV(e.b,(hwe(),Det)),121))+e.c,t=e.f.n.a+MN(LL(fV(e.b,Ket),121))+e.c,i=LL(fV(e.b,Oet),121),s=LL(fV(e.b,Qet),121),a=r.Math.max(0,i.n.d-o),a=r.Math.max(a,s.n.d-o),n=r.Math.max(0,i.n.a-t),n=r.Math.max(n,s.n.a-t),i.n.d=a,s.n.d=a,i.n.a=n,s.n.a=n)}(a),function(e){var t,n,i,o;o=e.o,xD(),e.w.dc()||l8(e.w,mVe)?t=o.b:(t=Fue(e.f),e.w.Fc((aee(),ltt))&&!e.A.Fc((Vge(),btt))&&(t=r.Math.max(t,Fue(LL(fV(e.p,(hwe(),Oet)),243))),t=r.Math.max(t,Fue(LL(fV(e.p,Qet),243)))),(n=N2(e))&&(t=r.Math.max(t,n.b)),e.w.Fc(utt)&&(e.q!=(joe(),yet)&&e.q!=vet||(t=r.Math.max(t,MN(LL(fV(e.b,(hwe(),Oet)),121))),t=r.Math.max(t,MN(LL(fV(e.b,Qet),121)))))),o.b=t,(i=e.f.i).d=0,i.a=t,Zme(e.f)}(a),n?(function(e){var t,n;for(xD(),t=e.o.b,n=LL(LL(KX(e.r,(hwe(),Ket)),21),81).Ic();n.Ob();)LL(n.Pb(),110).e.b+=t}(a),function(e){switch(xP(),e.q.g){case 5:yce(e,(hwe(),Oet)),yce(e,Qet);break;case 4:Ote(e,(hwe(),Oet)),Ote(e,Qet);break;default:fwe(e,(hwe(),Oet)),fwe(e,Qet)}}(a),qee(a,Oet),qee(a,Qet),s=a.A.Fc((Vge(),btt)),rue(a,s,Det),rue(a,s,Ket),iue(a,s,Oet),iue(a,s,Qet),lS(new cj(null,new ZG(new Wh(a.i),0)),new Ee),lS(_V(new cj(null,qz(a.r).a.mc()),new Ie),new Te),function(e){var t,n,r;xD(),e.A.Fc((Vge(),dtt))&&(r=e.f.i,t=new G$(e.a.c),(n=new sv).b=t.c-r.c,n.d=t.d-r.d,n.c=r.c+r.b-(t.c+t.b),n.a=r.d+r.a-(t.d+t.a),e.e.Df(n))}(a),a.e.sf(a.o),lS(new cj(null,qz(a.r).a.mc()),new Ae),a.o):a.o}function Oye(e,t,n,i){var o,a,s,l,u,c,f,h,d,p,g,m;for(p=$se(Wde(t,!1,!1)),i&&(p=i4(p)),m=Oy($O(xfe(t,(Ete(),t$e)))),EP(0!=p.b),d=LL(p.a.a.c,8),c=LL(bte(p,1),8),p.b>2?(L3(u=new $m,new KG(p,1,p.b)),c3(g=new rfe(rxe(u,m+e.a)),t),n.c[n.c.length]=g):g=LL(aB(e.b,i?Pae(t):Rae(t)),265),s=Pae(t),i&&(s=Rae(t)),a=function(e,t){var n,i,o;return o=KCe,Vte(),i=jVe,o=r.Math.abs(e.b),(n=r.Math.abs(t.f-e.b))<o&&(o=n,i=FVe),(n=r.Math.abs(e.a))<o&&(o=n,i=zVe),(n=r.Math.abs(t.g-e.a))<o&&(o=n,i=NVe),i}(d,s),l=m+e.a,a.a?(l+=r.Math.abs(d.b-c.b),h=new YE(c.a,(c.b+d.b)/2)):(l+=r.Math.abs(d.a-c.a),h=new YE((c.a+d.a)/2,c.b)),eV(i?e.d:e.c,t,new ere(g,a,h,l)),eV(e.b,t,g),!t.n&&(t.n=new FF(unt,t,1,7)),f=new SA(t.n);f.e!=f.i.gc();)o=nge(e,LL(Hee(f),137),!0,0,0),n.c[n.c.length]=o}function Dye(e,t,n){var r,i,o,a,s;if(s=e.c,!t&&(t=rit),e.c=t,0!=(4&e.Db)&&0==(1&e.Db)&&(a=new NF(e,1,2,s,e.c),n?n.zi(a):n=a),s!=t)if(BT(e.Cb,283))e.Db>>16==-10?n=LL(e.Cb,283).ik(t,n):e.Db>>16==-15&&(!t&&(bxe(),t=Lrt),!s&&(bxe(),s=Lrt),e.Cb.ih()&&(a=new RZ(e.Cb,1,13,s,t,ene(NZ(LL(e.Cb,58)),e),!1),n?n.zi(a):n=a));else if(BT(e.Cb,87))e.Db>>16==-23&&(BT(t,87)||(bxe(),t=Frt),BT(s,87)||(bxe(),s=Frt),e.Cb.ih()&&(a=new RZ(e.Cb,1,10,s,t,ene(pq(LL(e.Cb,26)),e),!1),n?n.zi(a):n=a));else if(BT(e.Cb,438))for(!(o=LL(e.Cb,814)).b&&(o.b=new Om(new Pv)),i=new Dm(new m4(new jh(o.b.a).a));i.a.b;)n=Dye(r=LL(kJ(i.a).ad(),86),che(r,o),n);return n}function Rye(e){var t,n,i,o,a,s,l,u,c,f,h,d;if((d=LL(xfe(e,(fxe(),c9e)),21)).dc())return null;if(l=0,s=0,d.Fc((aee(),utt))){for(f=LL(xfe(e,O9e),100),i=2,n=2,o=2,a=2,t=rG(e)?LL(xfe(rG(e),z8e),108):LL(xfe(e,z8e),108),c=new SA((!e.c&&(e.c=new FF(fnt,e,9,9)),e.c));c.e!=c.i.gc();)if(u=LL(Hee(c),122),(h=LL(xfe(u,z9e),61))==(hwe(),Zet)&&(h=zme(u,t),Fte(u,z9e,h)),f==(joe(),vet))switch(h.g){case 1:i=r.Math.max(i,u.i+u.g);break;case 2:n=r.Math.max(n,u.j+u.f);break;case 3:o=r.Math.max(o,u.i+u.g);break;case 4:a=r.Math.max(a,u.j+u.f)}else switch(h.g){case 1:i+=u.g+2;break;case 2:n+=u.f+2;break;case 3:o+=u.g+2;break;case 4:a+=u.f+2}l=r.Math.max(i,o),s=r.Math.max(n,a)}return ywe(e,l,s,!0,!0)}function Lye(e,t,n,i,o){var a,s,l,u,c,f,h,d,p,g,m,b,v,y,w,x;for(y=LL(Nq(JQ(_V(new cj(null,new ZG(t.d,16)),new $p(n)),new Hp(n)),CK(new F,new j,new re,q3(lw(jze,1),A_e,132,0,[(z4(),Rze)]))),14),h=Dxe,f=F_e,u=new td(t.b.j);u.a<u.c.c.length;)(l=LL(xW(u),11)).j==n&&(h=r.Math.min(h,l.p),f=r.Math.max(f,l.p));if(h==Dxe)for(s=0;s<y.gc();s++)NK(LL(y.Xb(s),101),n,s);else for(function(e,t){var n;for(n=0;n<t;++n)e[n]=-1}(w=fK(nat,sSe,24,o.length,15,1),w.length),v=y.Ic();v.Ob();){for(b=LL(v.Pb(),101),a=LL(aB(e.b,b),177),c=0,m=h;m<=f;m++)a[m]&&(c=r.Math.max(c,i[m]));if(b.i){for(p=b.i.c,x=new Pb,d=0;d<o.length;d++)o[p][d]&&uz(x,k8(w[d]));for(;X_(x,k8(c));)++c}for(NK(b,n,c),g=h;g<=f;g++)a[g]&&(i[g]=c+1);b.i&&(w[b.i.c]=c)}}function Nye(e,t){var n,i,o,a,s,l,u,c,f,h,d,p,g;for(o=null,i=new td(t.a);i.a<i.c.c.length;)pve(n=LL(xW(i),10))?(c=new RV(n,!0,l=dP(vS(new jb,n),e.f),u=dP(vS(new jb,n),e.f)),f=n.o.b,rne(),d=1e4,(h=(n.q?n.q:(v$(),v$(),YFe))._b((Kwe(),jQe))?LL(Fae(n,jQe),196):LL(Fae(jB(n),FQe),196))==n0e&&(d=1),p=Yhe(mS(gS(pS(bS(new Nb,d),IH(r.Math.ceil(f))),l),u)),h==r0e&&uz(e.d,p),nme(e,M2(i9(n,(hwe(),Qet))),c),nme(e,i9(n,Oet),c),a=c):(g=dP(vS(new jb,n),e.f),lS(_V(new cj(null,new ZG(n.j,16)),new Oo),new YC(e,g)),a=new RV(n,!1,g,g)),e.i[n.p]=a,o&&(s=o.c.d.a+AT(e.n,o.c,n)+n.d.d,o.b||(s+=o.c.o.b),Yhe(mS(gS(bS(pS(new Nb,IH(r.Math.ceil(s))),0),o.d),a.a))),o=a}function jye(e,t,n,i){var a,s,l,u,c,f,h,d,p,g;for(d=function(e,t,n){var r,i,o,a,s,l,u,c,f;for(r=n.c,i=n.d,s=tW(t.c),l=tW(t.d),r==t.c?(s=ohe(e,s,i),l=Cae(t.d)):(s=Cae(t.c),l=ohe(e,l,i)),jq(u=new lx(t.a),s,u.a,u.a.a),jq(u,l,u.c.b,u.c),a=t.c==r,f=new Ub,o=0;o<u.b-1;++o)c=new KE(LL(bte(u,o),8),LL(bte(u,o+1),8)),a&&0==o||!a&&o==u.b-2?f.b=c:RL(f.a,c);return f}(e,t,s=new sce(t)),g=r.Math.max(Oy($O(Fae(t,(Kwe(),sQe)))),1),h=new td(d.a);h.a<h.c.c.length;)f=LL(xW(h),46),c=Yee(LL(f.a,8),LL(f.b,8),g),o=!0,o&=SN(n,new YE(c.c,c.d)),o&=SN(n,nO(new YE(c.c,c.d),c.b,0)),o&=SN(n,nO(new YE(c.c,c.d),0,c.a)),o,SN(n,nO(new YE(c.c,c.d),c.b,c.a));switch(p=s.d,u=Yee(LL(d.b.a,8),LL(d.b.b,8),g),p==(hwe(),Qet)||p==Oet?(i.c[p.g]=r.Math.min(i.c[p.g],u.d),i.b[p.g]=r.Math.max(i.b[p.g],u.d+u.a)):(i.c[p.g]=r.Math.min(i.c[p.g],u.c),i.b[p.g]=r.Math.max(i.b[p.g],u.c+u.b)),a=LSe,l=s.c.i.d,p.g){case 4:a=l.c;break;case 2:a=l.b;break;case 1:a=l.a;break;case 3:a=l.d}return i.a[p.g]=r.Math.max(i.a[p.g],a),s}function Fye(e,t){var n,r,i,o,a,s,l,u,c,f,h,d,p,g,m,b,v,y,w,x,_,S,k;s=LL(aB(t.c,e),453),m=t.a.c,l=t.a.c+t.a.b,a=(S=s.f)<(k=s.a),d=new YE(m,S),b=new YE(l,k),p=new YE(i=(m+l)/2,S),v=new YE(i,k),o=function(e,t,n){var r,i,o;if(r=0,i=0,e.c)for(o=new td(e.d.i.j);o.a<o.c.c.length;)r+=LL(xW(o),11).e.c.length;else r=1;if(e.d)for(o=new td(e.c.i.j);o.a<o.c.c.length;)i+=LL(xW(o),11).g.c.length;else i=1;return(n+t)/2+.4*IH(kN(i-r))*(n-t)}(e,S,k),w=tW(t.B),x=new YE(i,o),_=tW(t.D),n=function(e){var t,n,r;for(Jde(),n=fK(J6e,s_e,8,2,0,1),r=0,t=0;t<2;t++)r+=.5,n[t]=Wne(r,e);return n}(q3(lw(J6e,1),s_e,8,0,[w,x,_])),f=!1,(g=t.B.i)&&g.c&&s.d&&((u=a&&g.p<g.c.a.c.length-1||!a&&g.p>0)?u&&(c=g.p,a?++c:--c,f=!(Phe(r=s5(LL(JN(g.c.a,c),10)),w,n[0])||AF(r,w,n[0]))):f=!0),h=!1,(y=t.D.i)&&y.c&&s.e&&(a&&y.p>0||!a&&y.p<y.c.a.c.length-1?(c=y.p,a?--c:++c,h=!(Phe(r=s5(LL(JN(y.c.a,c),10)),n[0],_)||AF(r,n[0],_))):h=!0),f&&h&&bN(e.a,x),f||y0(e.a,q3(lw(J6e,1),s_e,8,0,[d,p])),h||y0(e.a,q3(lw(J6e,1),s_e,8,0,[v,b]))}function zye(e,t){var n,r,i,o,a,s,l;if(BT(e.Pg(),160)?(zye(LL(e.Pg(),160),t),t.a+=" > "):t.a+="Root ",fR((n=e.Og().zb).substr(0,3),"Elk")?UI(t,n.substr(3)):t.a+=""+n,i=e.ug())UI((t.a+=" ",t),i);else if(BT(e,351)&&(l=LL(e,137).a))UI((t.a+=" ",t),l);else{for(o=new SA(e.vg());o.e!=o.i.gc();)if(l=LL(Hee(o),137).a)return void UI((t.a+=" ",t),l);if(BT(e,349)&&(!(r=LL(e,80)).b&&(r.b=new nR(nnt,r,4,7)),0!=r.b.i&&(!r.c&&(r.c=new nR(nnt,r,5,8)),0!=r.c.i))){for(t.a+=" (",a=new RP((!r.b&&(r.b=new nR(nnt,r,4,7)),r.b));a.e!=a.i.gc();)a.e>0&&(t.a+=jxe),zye(LL(Hee(a),160),t);for(t.a+=UEe,s=new RP((!r.c&&(r.c=new nR(nnt,r,5,8)),r.c));s.e!=s.i.gc();)s.e>0&&(t.a+=jxe),zye(LL(Hee(s),160),t);t.a+=")"}}}function Bye(e,t,n){var r,i,o,a,s,l,u,c;for(c3(u=new Sne(n),t),S5(u,(hxe(),OXe),t),u.o.a=t.g,u.o.b=t.f,u.n.a=t.i,u.n.b=t.j,RL(n.a,u),eV(e.a,t,u),(0!=(!t.a&&(t.a=new FF(cnt,t,10,11)),t.a).i||Ty(VO(xfe(t,(Kwe(),pQe)))))&&S5(u,nXe,(_P(),!0)),l=LL(Fae(n,mXe),21),(c=LL(Fae(u,(Kwe(),tJe)),100))==(joe(),_et)?S5(u,tJe,xet):c!=xet&&l.Dc((Kde(),Oqe)),r=LL(Fae(n,qZe),108),s=new SA((!t.c&&(t.c=new FF(fnt,t,9,9)),t.c));s.e!=s.i.gc();)Ty(VO(xfe(a=LL(Hee(s),122),HQe)))||rwe(e,a,u,l,r,c);for(o=new SA((!t.n&&(t.n=new FF(unt,t,1,7)),t.n));o.e!=o.i.gc();)!Ty(VO(xfe(i=LL(Hee(o),137),HQe)))&&i.a&&RL(u.b,M6(i));return Ty(VO(Fae(u,PZe)))&&l.Dc((Kde(),Iqe)),Ty(VO(Fae(u,dQe)))&&(l.Dc((Kde(),Pqe)),l.Dc(Aqe),S5(u,tJe,xet)),u}function Vye(e,t,n){var r,i,o,a,s,l,u,c,f,h,d;if(o=LL(Fae(e,(hxe(),OXe)),80)){for(r=e.a,BD(i=new lT(n),function(e){var t,n,r,i;if(i=LL(Fae(e,(hxe(),rXe)),38)){for(r=new hx,t=jB(e.c.i);t!=i;)t=jB(n=t.e),nO(BD(BD(r,n.n),t.c),t.d.b,t.d.d);return r}return sGe}(e)),K2(e.d.i,e.c.i)?(h=e.c,VD(f=V5(q3(lw(J6e,1),s_e,8,0,[h.n,h.a])),n)):f=tW(e.c),jq(r,f,r.a,r.a.a),d=tW(e.d),null!=Fae(e,QXe)&&BD(d,LL(Fae(e,QXe),8)),jq(r,d,r.c.b,r.c),gJ(r,i),B0(a=Wde(o,!0,!0),LL(sJ((!o.b&&(o.b=new nR(nnt,o,4,7)),o.b),0),93)),V0(a,LL(sJ((!o.c&&(o.c=new nR(nnt,o,5,8)),o.c),0),93)),ebe(r,a),c=new td(e.b);c.a<c.c.c.length;)u=LL(xW(c),69),WJ(s=LL(Fae(u,OXe),137),u.o.a),GJ(s,u.o.b),$M(s,u.n.a+i.a,u.n.b+i.b),Fte(s,(j1(),_We),VO(Fae(u,_We)));(l=LL(Fae(e,(Kwe(),vQe)),74))?(gJ(l,i),Fte(o,vQe,l)):Fte(o,vQe,null),t==($9(),_7e)?Fte(o,eQe,_7e):Fte(o,eQe,null)}}function $ye(e,t,n,i){var o,a,s,l,u,c,f,h,d,p,g,m,b,v,y;return l=e,c=VD(new YE(t.a,t.b),e),u=n,f=VD(new YE(i.a,i.b),n),h=l.a,m=l.b,p=u.a,v=u.b,d=c.a,b=c.b,o=(g=f.a)*b-d*(y=f.b),vT(),CJ(gAe),!(r.Math.abs(0-o)<=gAe||0==o||isNaN(0)&&isNaN(o))&&(a=1/o*((h-p)*b-(m-v)*d),s=1/o*-(-(h-p)*y+(m-v)*g),CJ(gAe),(r.Math.abs(0-a)<=gAe||0==a||isNaN(0)&&isNaN(a)?0:0<a?-1:0>a?1:_M(isNaN(0),isNaN(a)))<0&&(CJ(gAe),(r.Math.abs(a-1)<=gAe||1==a||isNaN(a)&&isNaN(1)?0:a<1?-1:a>1?1:_M(isNaN(a),isNaN(1)))<0)&&(CJ(gAe),(r.Math.abs(0-s)<=gAe||0==s||isNaN(0)&&isNaN(s)?0:0<s?-1:0>s?1:_M(isNaN(0),isNaN(s)))<0)&&(CJ(gAe),(r.Math.abs(s-1)<=gAe||1==s||isNaN(s)&&isNaN(1)?0:s<1?-1:s>1?1:_M(isNaN(s),isNaN(1)))<0))}function Hye(e){GS(e,new rae(Kw(Gw(Yw(Hw(Xw(Uw(new hs,dEe),"ELK Force"),"Force-based algorithm provided by the Eclipse Layout Kernel. Implements methods that follow physical analogies by simulating forces that move the nodes into a balanced distribution. Currently the original Eades model and the Fruchterman - Reingold model are supported."),new mt),dEe),Oj((qce(),Cnt),q3(lw(Tnt,1),A_e,237,0,[Snt]))))),rU(e,dEe,pEe,k8(1)),rU(e,dEe,gEe,80),rU(e,dEe,mEe,5),rU(e,dEe,UCe,hEe),rU(e,dEe,bEe,k8(1)),rU(e,dEe,vEe,(_P(),!0)),rU(e,dEe,qCe,T$e),rU(e,dEe,yEe,gte(C$e)),rU(e,dEe,wEe,gte(A$e)),rU(e,dEe,xEe,!1),rU(e,dEe,oEe,gte(I$e)),rU(e,dEe,lEe,gte(F$e)),rU(e,dEe,aEe,gte(E$e)),rU(e,dEe,cEe,gte(D$e)),rU(e,dEe,sEe,gte(R$e))}function Gye(e,t){var n;if(e.e)throw Jm(new jy((FO(Zze),Mke+Zze.k+Tke)));if(!function(e,t){return aP(e.e,t)}(e.a,t))throw Jm(new sy(Ake+t+Pke));if(t==e.d)return e;switch(n=e.d,e.d=t,n.g){case 0:switch(t.g){case 2:dre(e);break;case 1:L5(e),dre(e);break;case 4:loe(e),dre(e);break;case 3:loe(e),L5(e),dre(e)}break;case 2:switch(t.g){case 1:L5(e),Ype(e);break;case 4:loe(e),dre(e);break;case 3:loe(e),L5(e),dre(e)}break;case 1:switch(t.g){case 2:L5(e),Ype(e);break;case 4:L5(e),loe(e),dre(e);break;case 3:L5(e),loe(e),L5(e),dre(e)}break;case 4:switch(t.g){case 2:loe(e),dre(e);break;case 1:loe(e),L5(e),dre(e);break;case 3:L5(e),Ype(e)}break;case 3:switch(t.g){case 2:L5(e),loe(e),dre(e);break;case 1:L5(e),loe(e),L5(e),dre(e);break;case 4:L5(e),Ype(e)}}return e}function Wye(e,t){var n;if(e.d)throw Jm(new jy((FO(kHe),Mke+kHe.k+Tke)));if(!function(e,t){return aP(e.c,t)}(e.a,t))throw Jm(new sy(Ake+t+Pke));if(t==e.c)return e;switch(n=e.c,e.c=t,n.g){case 0:switch(t.g){case 2:r4(e);break;case 1:N5(e),r4(e);break;case 4:uoe(e),r4(e);break;case 3:uoe(e),N5(e),r4(e)}break;case 2:switch(t.g){case 1:N5(e),Kpe(e);break;case 4:uoe(e),r4(e);break;case 3:uoe(e),N5(e),r4(e)}break;case 1:switch(t.g){case 2:N5(e),Kpe(e);break;case 4:N5(e),uoe(e),r4(e);break;case 3:N5(e),uoe(e),N5(e),r4(e)}break;case 4:switch(t.g){case 2:uoe(e),r4(e);break;case 1:uoe(e),N5(e),r4(e);break;case 3:N5(e),Kpe(e)}break;case 3:switch(t.g){case 2:N5(e),uoe(e),r4(e);break;case 1:N5(e),uoe(e),N5(e),r4(e);break;case 4:N5(e),Kpe(e)}}return e}function Uye(e,t,n){var i,o,a,s,l,u,c,f,h,d,p,g;for(d=n.d,h=n.c,s=(a=new YE(n.f.a+n.d.b+n.d.c,n.f.b+n.d.d+n.d.a)).b,c=new td(e.a);c.a<c.c.c.length;)if((l=LL(xW(c),10)).k==(mse(),WHe)){switch(i=LL(Fae(l,(hxe(),dXe)),61),o=LL(Fae(l,pXe),8),f=l.n,i.g){case 2:f.a=n.f.a+d.c-h.a;break;case 4:f.a=-h.a-d.b}switch(g=0,i.g){case 2:case 4:t==(joe(),yet)?(p=Oy($O(Fae(l,VXe))),f.b=a.b*p-LL(Fae(l,(Kwe(),JQe)),8).b,g=f.b+o.b,x3(l,!1,!0)):t==vet&&(f.b=Oy($O(Fae(l,VXe)))-LL(Fae(l,(Kwe(),JQe)),8).b,g=f.b+o.b,x3(l,!1,!0))}s=r.Math.max(s,g)}for(n.f.b+=s-a.b,u=new td(e.a);u.a<u.c.c.length;)if((l=LL(xW(u),10)).k==(mse(),WHe))switch(i=LL(Fae(l,(hxe(),dXe)),61),f=l.n,i.g){case 1:f.b=-h.b-d.d;break;case 3:f.b=n.f.b+d.a-h.b}}function qye(e,t,n){var i;if(qoe(n,"StretchWidth layering",1),0!=t.a.c.length){for(e.c=t,e.t=0,e.u=0,e.i=RSe,e.g=LSe,e.d=Oy($O(Fae(t,(Kwe(),yJe)))),function(e){var t,n,r;for(r=e.c.a,e.p=(wz(r),new jR(r)),n=new td(r);n.a<n.c.c.length;)(t=LL(xW(n),10)).p=Ule(t).a;v$(),kT(e.p,new Eo)}(e),function(e){var t,n,r,i,o;for(r=0,e.q=new $m,t=new Pb,o=new td(e.p);o.a<o.c.c.length;){for((i=LL(xW(o),10)).p=r,n=new xF(BA(g9(i).a.Ic(),new p));Zce(n);)uz(t,LL(dX(n),18).d.i);t.a.zc(i),RL(e.q,new YN(t)),t.a.$b(),++r}}(e),function(e){var t,n;for(e.e=fK(nat,sSe,24,e.p.c.length,15,1),e.k=fK(nat,sSe,24,e.p.c.length,15,1),n=new td(e.p);n.a<n.c.c.length;)t=LL(xW(n),10),e.e[t.p]=DU(new xF(BA(p9(t).a.Ic(),new p))),e.k[t.p]=DU(new xF(BA(g9(t).a.Ic(),new p)))}(e),function(e){var t,n,i;for(n=new td(e.p);n.a<n.c.c.length;)(t=LL(xW(n),10)).k==(mse(),XHe)&&(i=t.o.b,e.i=r.Math.min(e.i,i),e.g=r.Math.max(e.g,i))}(e),function(e){var t,n;for(e.j=fK(aat,BSe,24,e.p.c.length,15,1),n=new td(e.p);n.a<n.c.c.length;)t=LL(xW(n),10),e.j[t.p]=t.o.b/e.i}(e),e.i=r.Math.max(1,e.i),e.g=r.Math.max(1,e.g),e.d=e.d/e.i,e.f=e.g/e.i,e.s=function(e){var t,n;for(t=0,n=new td(e.c.a);n.a<n.c.c.length;)t+=DU(new xF(BA(g9(LL(xW(n),10)).a.Ic(),new p)));return t/e.c.a.c.length}(e),i=new mB(e.c),RL(e.c.b,i),e.r=hW(e.p),e.n=_H(e.k,e.k.length);0!=e.r.c.length;)e.o=I6(e),!e.o||x5(e)&&0!=e.b.a.gc()?(Eoe(e,i),i=new mB(e.c),RL(e.c.b,i),G1(e.a,e.b),e.b.a.$b(),e.t=e.u,e.u=0):x5(e)?(e.c.b.c=fK(pje,zxe,1,0,5,1),i=new mB(e.c),RL(e.c.b,i),e.t=0,e.u=0,e.b.a.$b(),e.a.a.$b(),++e.f,e.r=hW(e.p),e.n=_H(e.k,e.k.length)):(OG(e.o,i),yZ(e.r,e.o),uz(e.b,e.o),e.t=e.t-e.k[e.o.p]*e.d+e.j[e.o.p],e.u+=e.e[e.o.p]*e.d);t.a.c=fK(pje,zxe,1,0,5,1),Fle(t.b),_se(n)}else _se(n)}function Xye(e,t,n){var r,i,o,a,s,l,u,c,f,h,d,p,g,m,b,v;for(r=new $m,p=new td(t.a);p.a<p.c.c.length;)if((h=(d=LL(xW(p),10)).e)&&(L3(r,Xye(e,h,d)),pye(e,h,d),LL(Fae(h,(hxe(),mXe)),21).Fc((Kde(),Tqe))))for(b=LL(Fae(d,(Kwe(),tJe)),100),f=LL(Fae(d,iJe),174).Fc((iae(),Eet)),m=new td(d.j);m.a<m.c.c.length;)for(g=LL(xW(m),11),(i=LL(aB(e.b,g),10))||(S5(i=Nwe(g,b,g.j,-(g.e.c.length-g.g.c.length),null,null,g.o,LL(Fae(h,qZe),108),h),OXe,g),eV(e.b,g,i),RL(h.a,i)),o=LL(JN(i.j,0),11),u=new td(g.f);u.a<u.c.c.length;)l=LL(xW(u),69),(a=new Rw).o.a=l.o.a,a.o.b=l.o.b,RL(o.f,a),f||(v=g.j,c=0,PF(LL(Fae(d,iJe),21))&&(c=Hue(l.n,l.o,g.o,0,v)),b==(joe(),xet)||(hwe(),jet).Fc(v)?a.o.a=c:a.o.b=c);return function(e,t,n,r,i){var o,a,s,l,u,c,f,h,d,p,g,m;for(o=new $m,u=new td(r);u.a<u.c.c.length;)if(a=null,(s=LL(xW(u),435)).f==(E0(),L0e))for(p=new td(s.e);p.a<p.c.c.length;)jB(m=(d=LL(xW(p),18)).d.i)==t?eJ(e,t,s,d,s.b,d.d):!n||K2(m,n)?nse(e,t,s,r,d):((h=mve(e,t,n,d,s.b,L0e,a))!=a&&(o.c[o.c.length]=h),h.c&&(a=h));else for(f=new td(s.e);f.a<f.c.c.length;)if(jB(g=(c=LL(xW(f),18)).c.i)==t)eJ(e,t,s,c,c.c,s.b);else{if(!n||K2(g,n))continue;(h=mve(e,t,n,c,s.b,R0e,a))!=a&&(o.c[o.c.length]=h),h.c&&(a=h)}for(l=new td(o);l.a<l.c.c.length;)s=LL(xW(l),435),-1!=vZ(t.a,s.a,0)||RL(t.a,s.a),s.c&&(i.c[i.c.length]=s)}(e,t,n,r,s=new $m),n&&function(e,t,n,r){var i,o,a,s,l,u,c,f,h,d,p,g,m,b,v,y,w;for(s=new $m,i=new td(t.a);i.a<i.c.c.length;)for(a=new td(LL(xW(i),10).j);a.a<a.c.c.length;){for(u=null,y=0,w=(v=gU((o=LL(xW(a),11)).g)).length;y<w;++y)K2((b=v[y]).d.i,n)||((m=mve(e,t,n,b,b.c,(E0(),L0e),u))!=u&&(s.c[s.c.length]=m),m.c&&(u=m));for(l=null,p=0,g=(d=gU(o.e)).length;p<g;++p)K2((h=d[p]).c.i,n)||((m=mve(e,t,n,h,h.d,(E0(),R0e),l))!=l&&(s.c[s.c.length]=m),m.c&&(l=m))}for(f=new td(s);f.a<f.c.c.length;)c=LL(xW(f),435),-1!=vZ(t.a,c.a,0)||RL(t.a,c.a),c.c&&(r.c[r.c.length]=c)}(e,t,n,s),s}function Yye(e,t,n){var r,i,o,a,s,l,u,c;if(!e.a[t.c.p][t.p].e){for(e.a[t.c.p][t.p].e=!0,e.a[t.c.p][t.p].b=0,e.a[t.c.p][t.p].d=0,e.a[t.c.p][t.p].a=null,c=new td(t.j);c.a<c.c.c.length;)for(u=LL(xW(c),11),l=(n?new Qd(u):new ep(u)).Ic();l.Ob();)(a=(s=LL(l.Pb(),11)).i).c==t.c?a!=t&&(Yye(e,a,n),e.a[t.c.p][t.p].b+=e.a[a.c.p][a.p].b,e.a[t.c.p][t.p].d+=e.a[a.c.p][a.p].d):(e.a[t.c.p][t.p].d+=e.e[s.p],++e.a[t.c.p][t.p].b);if(o=LL(Fae(t,(hxe(),Qqe)),14))for(i=o.Ic();i.Ob();)r=LL(i.Pb(),10),t.c==r.c&&(Yye(e,r,n),e.a[t.c.p][t.p].b+=e.a[r.c.p][r.p].b,e.a[t.c.p][t.p].d+=e.a[r.c.p][r.p].d);e.a[t.c.p][t.p].b>0&&(e.a[t.c.p][t.p].d+=Gfe(e.f,24)*ike*.07000000029802322-.03500000014901161,e.a[t.c.p][t.p].a=e.a[t.c.p][t.p].d/e.a[t.c.p][t.p].b)}}function Kye(e,t,n,r){var i,o,a,s,l,u,c,f,h,d,p,g;for(l=new YE(r.i+r.g/2,r.j+r.f/2),h=Sve(r),d=LL(xfe(t,(Kwe(),tJe)),100),g=LL(xfe(r,aJe),61),pI(Cte(r),eJe)||(p=0==r.i&&0==r.j?0:function(e,t){var n;if(!$H(e))throw Jm(new jy(COe));switch(n=$H(e),t.g){case 1:return-(e.j+e.f);case 2:return e.i-n.g;case 3:return e.j-n.f;case 4:return-(e.i+e.g)}return 0}(r,g),Fte(r,eJe,p)),S5(i=Nwe(r,d,g,h,new YE(t.g,t.f),l,new YE(r.g,r.f),LL(Fae(n,qZe),108),n),(hxe(),OXe),r),function(e,t){e.c=t}(o=LL(JN(i.j,0),11),function(e){var t,n,r,i,o;for(o=$H(e),i=new SA((!e.e&&(e.e=new nR(rnt,e,7,4)),e.e));i.e!=i.i.gc();)if(r=LL(Hee(i),80),!aJ(Xoe(LL(sJ((!r.c&&(r.c=new nR(nnt,r,5,8)),r.c),0),93)),o))return!0;for(n=new SA((!e.d&&(e.d=new nR(rnt,e,8,5)),e.d));n.e!=n.i.gc();)if(t=LL(Hee(n),80),!aJ(Xoe(LL(sJ((!t.b&&(t.b=new nR(nnt,t,4,7)),t.b),0),93)),o))return!0;return!1}(r)),S5(i,iJe,(iae(),o9(Met))),c=LL(xfe(t,iJe),174).Fc(Eet),s=new SA((!r.n&&(r.n=new FF(unt,r,1,7)),r.n));s.e!=s.i.gc();)if(!Ty(VO(xfe(a=LL(Hee(s),137),HQe)))&&a.a&&(f=M6(a),RL(o.f,f),!c))switch(u=0,PF(LL(xfe(t,iJe),21))&&(u=Hue(new YE(a.i,a.j),new YE(a.g,a.f),new YE(r.g,r.f),0,g)),g.g){case 2:case 4:f.o.a=u;break;case 1:case 3:f.o.b=u}S5(i,IJe,$O(xfe(rG(t),IJe))),S5(i,CJe,$O(xfe(rG(t),CJe))),RL(n.a,i),eV(e.a,r,i)}function Zye(e,t,n,i,o){var a,s,l,u,c,f,h,d,p,g,m,b,v,y,w,x,_,S;for(S=0,p=0,h=new td(t.e);h.a<h.c.c.length;){for(f=LL(xW(h),10),d=0,l=0,u=n?LL(Fae(f,F1e),20).a:F_e,v=i?LL(Fae(f,z1e),20).a:F_e,c=r.Math.max(u,v),w=new td(f.j);w.a<w.c.c.length;){if(y=LL(xW(w),11),x=f.n.b+y.n.b+y.a.b,i)for(s=new td(y.g);s.a<s.c.c.length;)g=(m=(a=LL(xW(s),18)).d).i,t!=e.a[g.p]&&(b=r.Math.max(LL(Fae(g,F1e),20).a,LL(Fae(g,z1e),20).a),(_=LL(Fae(a,(Kwe(),hJe)),20).a)>=c&&_>=b&&(d+=g.n.b+m.n.b+m.a.b-x,++l));if(n)for(s=new td(y.e);s.a<s.c.c.length;)g=(m=(a=LL(xW(s),18)).c).i,t!=e.a[g.p]&&(b=r.Math.max(LL(Fae(g,F1e),20).a,LL(Fae(g,z1e),20).a),(_=LL(Fae(a,(Kwe(),hJe)),20).a)>=c&&_>=b&&(d+=g.n.b+m.n.b+m.a.b-x,++l))}l>0&&(S+=d/l,++p)}p>0?(t.a=o*S/p,t.g=p):(t.a=0,t.g=0)}function Qye(e,t){var n,i,o,a,s,l,u,c,f,h;for(i=new td(e.a.b);i.a<i.c.c.length;)for(l=new td(LL(xW(i),29).a);l.a<l.c.c.length;)s=LL(xW(l),10),t.j[s.p]=s,t.i[s.p]=t.o==(YH(),Y1e)?LSe:RSe;for(JF(e.c),a=e.a.b,t.c==(sH(),W1e)&&(a=BT(a,151)?QX(LL(a,151)):BT(a,131)?LL(a,131).a:BT(a,53)?new ry(a):new O_(a)),function(e,t,n){e.a=t,e.c=n,e.b.a.$b(),s$(e.d),e.e.a.c=fK(pje,zxe,1,0,5,1)}(e.e,t,e.b),mk(t.p,null),o=a.Ic();o.Ob();)for(u=LL(o.Pb(),29).a,t.o==(YH(),Y1e)&&(u=BT(u,151)?QX(LL(u,151)):BT(u,131)?LL(u,131).a:BT(u,53)?new ry(u):new O_(u)),h=u.Ic();h.Ob();)f=LL(h.Pb(),10),t.g[f.p]==f&&Rwe(e,f,t);for(function(e,t){var n,i,o,a,s,l,u;for(u=new sS,l=new Uh(new Wh(e.c).a.tc().Ic());l.a.Ob();)o=LL(l.a.Pb(),43),0==(a=LL(o.bd(),452)).b&&jq(u,a,u.c.b,u.c);for(;0!=u.b;)for(null==(a=LL(0==u.b?null:(EP(0!=u.b),lJ(u,u.a.a)),452)).a&&(a.a=0),i=new td(a.d);i.a<i.c.c.length;)null==(n=LL(xW(i),643)).b.a?n.b.a=Oy(a.a)+n.a:t.o==(YH(),X1e)?n.b.a=r.Math.min(Oy(n.b.a),Oy(a.a)+n.a):n.b.a=r.Math.max(Oy(n.b.a),Oy(a.a)+n.a),--n.b.b,0==n.b.b&&bN(u,n.b);for(s=new Uh(new Wh(e.c).a.tc().Ic());s.a.Ob();)o=LL(s.a.Pb(),43),a=LL(o.bd(),452),t.i[a.c.p]=a.a}(e,t),n=a.Ic();n.Ob();)for(h=new td(LL(n.Pb(),29).a);h.a<h.c.c.length;)f=LL(xW(h),10),t.p[f.p]=t.p[t.g[f.p].p],f==t.g[f.p]&&(c=Oy(t.i[t.j[f.p].p]),(t.o==(YH(),Y1e)&&c>LSe||t.o==X1e&&c<RSe)&&(t.p[f.p]=Oy(t.p[f.p])+c));e.e.Zf()}function Jye(e){var t;if(this.r=function(e,t){return new H$(LL(wz(e),62),LL(wz(t),62))}(new Se,new ke),this.b=new x9(LL(wz(att),289)),this.p=new x9(LL(wz(att),289)),this.i=new x9(LL(wz(gVe),289)),this.e=e,this.o=new lT(e.pf()),this.C=e.Bf()||Ty(VO(e.Xe((fxe(),Q8e)))),this.w=LL(e.Xe((fxe(),c9e)),21),this.A=LL(e.Xe(g9e),21),this.q=LL(e.Xe(O9e),100),this.t=LL(e.Xe(N9e),21),!function(e){return iae(),!(a3(wH(Oj(Eet,q3(lw(Jet,1),A_e,291,0,[Met])),e))>1||a3(wH(Oj(Cet,q3(lw(Jet,1),A_e,291,0,[Tet])),e))>1)}(this.t))throw Jm(new qy("Invalid port label placement: "+this.t));if(this.u=Ty(VO(e.Xe(F9e))),this.j=LL(e.Xe(l9e),21),!function(e){return Sfe(),!(a3(wH(Oj(net,q3(lw(get,1),A_e,92,0,[ret])),e))>1||a3(wH(Oj(J7e,q3(lw(get,1),A_e,92,0,[Q7e,tet])),e))>1||a3(wH(Oj(aet,q3(lw(get,1),A_e,92,0,[oet,iet])),e))>1)}(this.j))throw Jm(new qy("Invalid node label placement: "+this.j));this.n=LL(Jre(e,a9e),115),this.k=Oy($O(Jre(e,t7e))),this.d=Oy($O(Jre(e,e7e))),this.v=Oy($O(Jre(e,s7e))),this.s=Oy($O(Jre(e,n7e))),this.B=LL(Jre(e,o7e),141),this.c=2*this.d,t=!this.A.Fc((Vge(),htt)),this.f=new zee(0,t,0),this.g=new zee(1,t,0),gy(this.f,(nJ(),TBe),this.g)}function ewe(e,t,n){var i,o,a,s,l,u,c,f,h,d,p,g,m,b,v;if(m=e.n,b=e.o,d=e.d,h=Oy($O(T7(e,(Kwe(),mJe)))),t){for(f=h*(t.gc()-1),p=0,u=t.Ic();u.Ob();)f+=(s=LL(u.Pb(),10)).o.a,p=r.Math.max(p,s.o.b);for(v=m.a-(f-b.a)/2,a=m.b-d.d+p,o=i=b.a/(t.gc()+1),l=t.Ic();l.Ob();)(s=LL(l.Pb(),10)).n.a=v,s.n.b=a-s.o.b,v+=s.o.a+h,(c=bhe(s)).n.a=s.o.a/2-c.a.a,c.n.b=s.o.b,(g=LL(Fae(s,(hxe(),tXe)),11)).e.c.length+g.g.c.length==1&&(g.n.a=o-g.a.a,g.n.b=0,DG(g,e)),o+=i}if(n){for(f=h*(n.gc()-1),p=0,u=n.Ic();u.Ob();)f+=(s=LL(u.Pb(),10)).o.a,p=r.Math.max(p,s.o.b);for(v=m.a-(f-b.a)/2,a=m.b+b.b+d.a-p,o=i=b.a/(n.gc()+1),l=n.Ic();l.Ob();)(s=LL(l.Pb(),10)).n.a=v,s.n.b=a,v+=s.o.a+h,(c=bhe(s)).n.a=s.o.a/2-c.a.a,c.n.b=0,(g=LL(Fae(s,(hxe(),tXe)),11)).e.c.length+g.g.c.length==1&&(g.n.a=o-g.a.a,g.n.b=b.b,DG(g,e)),o+=i}}function twe(e,t,n){var r,i,o,a,s,l,u,c,f,h,d,p,g,m,b,v,y;for(qoe(n,"Processor arrange level",1),c=0,v$(),C1(t,new mm((qve(),X2e))),o=t.b,s=cte(t,t.b),u=!0;u&&s.b.b!=s.d.a;)m=LL(WW(s),83),0==LL(Fae(m,X2e),20).a?--o:u=!1;if(a=new NR(new KG(t,0,o)),l=new NR(new KG(t,o,t.b)),0==a.b)for(d=cte(l,0);d.b!=d.d.c;)S5(LL(BU(d),83),t3e,k8(c++));else for(f=a.b,y=cte(a,0);y.b!=y.d.c;){for(S5(v=LL(BU(y),83),t3e,k8(c++)),twe(e,r=K3(v),a2(n,1/f|0)),C1(r,wV(new mm(t3e))),h=new sS,b=cte(r,0);b.b!=b.d.c;)for(m=LL(BU(b),83),g=cte(v.d,0);g.b!=g.d.c;)(p=LL(BU(g),188)).c==m&&jq(h,p,h.c.b,h.c);for(s$(v.d),G1(v.d,h),s=cte(l,l.b),i=v.d.b,u=!0;0<i&&u&&s.b.b!=s.d.a;)m=LL(WW(s),83),0==LL(Fae(m,X2e),20).a?(S5(m,t3e,k8(c++)),--i,QQ(s)):u=!1}_se(n)}function nwe(e){var t,n,r,i,o,a,s,l,u,c,f;if(null==e)throw Jm(new fw($xe));if(u=e,l=!1,(o=e.length)>0&&(TG(0,e.length),45!=(t=e.charCodeAt(0))&&43!=t||(e=e.substr(1),--o,l=45==t)),0==o)throw Jm(new fw(DSe+u+'"'));for(;e.length>0&&(TG(0,e.length),48==e.charCodeAt(0));)e=e.substr(1),--o;if(o>(xme(),wFe)[10])throw Jm(new fw(DSe+u+'"'));for(i=0;i<o;i++)if(-1==dee((TG(i,e.length),e.charCodeAt(i))))throw Jm(new fw(DSe+u+'"'));for(f=0,a=vFe[10],c=yFe[10],s=kK(xFe[10]),n=!0,(r=o%a)>0&&(f=-parseInt(e.substr(0,r),10),e=e.substr(r),o-=r,n=!1);o>=a;){if(r=parseInt(e.substr(0,a),10),e=e.substr(a),o-=a,n)n=!1;else{if(T4(f,s)<0)throw Jm(new fw(DSe+u+'"'));f=a8(f,c)}f=s8(f,r)}if(T4(f,0)>0)throw Jm(new fw(DSe+u+'"'));if(!l&&T4(f=kK(f),0)<0)throw Jm(new fw(DSe+u+'"'));return f}function rwe(e,t,n,r,i,o){var a,s,l,u,c,f;for(c3(u=new Pse,t),mue(u,LL(xfe(t,(Kwe(),aJe)),61)),S5(u,(hxe(),OXe),t),DG(u,n),(f=u.o).a=t.g,f.b=t.f,(c=u.n).a=t.i,c.b=t.j,eV(e.a,t,u),(a=xX(SV(aQ(new cj(null,(!t.e&&(t.e=new nR(rnt,t,7,4)),new ZG(t.e,16))),new Gt),new $t),new ip(t)))||(a=xX(SV(aQ(new cj(null,(!t.d&&(t.d=new nR(rnt,t,8,5)),new ZG(t.d,16))),new Wt),new Ht),new op(t))),a||(a=xX(new cj(null,(!t.e&&(t.e=new nR(rnt,t,7,4)),new ZG(t.e,16))),new Ut)),S5(u,yXe,(_P(),!!a)),function(e,t,n,r){var i,o,a,s,l,u;if((s=e.j)==(hwe(),Zet)&&t!=(joe(),xet)&&t!=(joe(),_et)&&(mue(e,s=dme(e,n)),!(e.q?e.q:(v$(),v$(),YFe))._b((Kwe(),eJe))&&s!=Zet&&(0!=e.n.a||0!=e.n.b)&&S5(e,eJe,function(e,t){var n;switch(n=e.i,t.g){case 1:return-(e.n.b+e.o.b);case 2:return e.n.a-n.o.a;case 3:return e.n.b-n.o.b;case 4:return-(e.n.a+e.o.a)}return 0}(e,s))),t==(joe(),yet)){switch(u=0,s.g){case 1:case 3:(o=e.i.o.a)>0&&(u=e.n.a/o);break;case 2:case 4:(i=e.i.o.b)>0&&(u=e.n.b/i)}S5(e,(hxe(),VXe),u)}if(l=e.o,a=e.a,r)a.a=r.a,a.b=r.b,e.d=!0;else if(t!=xet&&t!=_et&&s!=Zet)switch(s.g){case 1:a.a=l.a/2;break;case 2:a.a=l.a,a.b=l.b/2;break;case 3:a.a=l.a/2,a.b=l.b;break;case 4:a.b=l.b/2}else a.a=l.a/2,a.b=l.b/2}(u,o,i,LL(xfe(t,JQe),8)),l=new SA((!t.n&&(t.n=new FF(unt,t,1,7)),t.n));l.e!=l.i.gc();)!Ty(VO(xfe(s=LL(Hee(l),137),HQe)))&&s.a&&RL(u.f,M6(s));switch(i.g){case 2:case 1:(u.j==(hwe(),Det)||u.j==Ket)&&r.Dc((Kde(),Dqe));break;case 4:case 3:(u.j==(hwe(),Oet)||u.j==Qet)&&r.Dc((Kde(),Dqe))}return u}function iwe(e,t,n,i,o,a,s){var l,u,c,f,h,d,p,g,m,b,v,y;for(h=null,i==(aH(),k2e)?h=t:i==C2e&&(h=n),g=h.a.ec().Ic();g.Ob();){for(p=LL(g.Pb(),11),m=V5(q3(lw(J6e,1),s_e,8,0,[p.i.n,p.n,p.a])).b,y=new Pb,l=new Pb,c=new fY(p.b);CT(c.a)||CT(c.b);)if(Ty(VO(Fae(u=LL(CT(c.a)?xW(c.a):xW(c.b),18),(hxe(),WXe))))==o&&-1!=vZ(a,u,0)){if(b=u.d==p?u.c:u.d,v=V5(q3(lw(J6e,1),s_e,8,0,[b.i.n,b.n,b.a])).b,r.Math.abs(v-m)<.2)continue;v<m?t.a._b(b)?uz(y,new KE(k2e,u)):uz(y,new KE(C2e,u)):t.a._b(b)?uz(l,new KE(k2e,u)):uz(l,new KE(C2e,u))}if(y.a.gc()>1)for(yX(y,new WE(e,d=new Dve(p,y,i))),s.c[s.c.length]=d,f=y.a.ec().Ic();f.Ob();)yZ(a,LL(f.Pb(),46).b);if(l.a.gc()>1)for(yX(l,new UE(e,d=new Dve(p,l,i))),s.c[s.c.length]=d,f=l.a.ec().Ic();f.Ob();)yZ(a,LL(f.Pb(),46).b)}}function owe(e,t){var n,i,o,a,s,l,u,c,f,h,d,p;for(n=0,i=function(e,t){switch(t.g){case 1:return e.f.n.d+e.s;case 3:return e.f.n.a+e.s;case 2:return e.f.n.c+e.s;case 4:return e.f.n.b+e.s;default:return 0}}(e,t),d=e.s,c=LL(LL(KX(e.r,t),21),81).Ic();c.Ob();)if((u=LL(c.Pb(),110)).c&&!(u.c.d.c.length<=0)){switch(p=u.b.pf(),l=u.b.Ye((fxe(),P9e))?Oy($O(u.b.Xe(P9e))):0,(h=(f=u.c).i).b=(s=f.n,f.e.a+s.b+s.c),h.a=(a=f.n,f.e.b+a.d+a.a),t.g){case 1:h.c=u.a?(p.a-h.b)/2:p.a+d,h.d=p.b+l+i,PK(f,(JK(),DBe)),GO(f,(QZ(),HBe));break;case 3:h.c=u.a?(p.a-h.b)/2:p.a+d,h.d=-l-i-h.a,PK(f,(JK(),DBe)),GO(f,(QZ(),VBe));break;case 2:h.c=-l-i-h.b,u.a?(o=e.u?h.a:LL(JN(f.d,0),183).pf().b,h.d=(p.b-o)/2):h.d=p.b+d,PK(f,(JK(),LBe)),GO(f,(QZ(),$Be));break;case 4:h.c=p.a+l+i,u.a?(o=e.u?h.a:LL(JN(f.d,0),183).pf().b,h.d=(p.b-o)/2):h.d=p.b+d,PK(f,(JK(),RBe)),GO(f,(QZ(),$Be))}(t==(hwe(),Det)||t==Ket)&&(n=r.Math.max(n,h.a))}n>0&&(LL(fV(e.b,t),121).a.b=n)}function awe(e,t){var n,r,i,o,a,s,l;if(iN(),this.a=new _A(this),this.b=e,this.c=t,this.f=pz(FZ((vle(),Sit),t)),this.f.dc())if((s=Vie(Sit,e))==t)for(this.e=!0,this.d=new $m,this.f=new dl,this.f.Dc(cNe),LL(gve(jZ(Sit,mJ(e)),""),26)==e&&this.f.Dc(Yj(Sit,mJ(e))),i=_ge(Sit,e).Ic();i.Ob();)switch(r=LL(i.Pb(),170),ZB(FZ(Sit,r))){case 4:this.d.Dc(r);break;case 5:this.f.Ec(pz(FZ(Sit,r)))}else if(tk(),LL(t,65).Jj())for(this.e=!0,this.f=null,this.d=new $m,a=0,l=(null==e.i&&Kme(e),e.i).length;a<l;++a)for(null==e.i&&Kme(e),n=e.i,r=a>=0&&a<n.length?n[a]:null,o=iW(FZ(Sit,r));o;o=iW(FZ(Sit,o)))o==t&&this.d.Dc(r);else 1==ZB(FZ(Sit,t))&&s?(this.f=null,this.d=(bce(),Nit)):(this.f=null,this.e=!0,this.d=(v$(),new Zh(t)));else this.e=5==ZB(FZ(Sit,t)),this.f.Fb(Pit)&&(this.f=Pit)}function swe(e,t){var n,r,i,o,a,s,l,u,c,f,h,d,p,g,m,b,v;if((f=t.length)>0&&(TG(0,t.length),64!=(s=t.charCodeAt(0)))){if(37==s&&(l=!1,0!=(c=t.lastIndexOf("%"))&&(c==f-1||(TG(c+1,t.length),l=46==t.charCodeAt(c+1))))){if(v=fR("%",a=t.substr(1,c-1))?null:mwe(a),r=0,l)try{r=Hge(t.substr(c+2),F_e,Dxe)}catch(e){throw BT(e=v3(e),127)?Jm(new DZ(e)):Jm(e)}for(g=a1(e.Rg());g.Ob();)if(BT(d=r3(g),502)&&(b=(i=LL(d,581)).d,(null==v?null==b:fR(v,b))&&0==r--))return i;return null}if(h=-1==(u=t.lastIndexOf("."))?t:t.substr(0,u),n=0,-1!=u)try{n=Hge(t.substr(u+1),F_e,Dxe)}catch(e){if(!BT(e=v3(e),127))throw Jm(e);h=t}for(h=fR("%",h)?null:mwe(h),p=a1(e.Rg());p.Ob();)if(BT(d=r3(p),191)&&(m=(o=LL(d,191)).ne(),(null==h?null==m:fR(h,m))&&0==n--))return o;return null}return Hve(e,t)}function lwe(){var e,t,n;for(lwe=S,new mQ(1,0),new mQ(10,0),new mQ(0,0),IFe=fK(VFe,s_e,239,11,0,1),MFe=fK(tat,q_e,24,100,15,1),TFe=q3(lw(aat,1),BSe,24,15,[1,5,25,125,625,3125,15625,78125,390625,1953125,9765625,48828125,244140625,1220703125,6103515625,30517578125,152587890625,762939453125,3814697265625,19073486328125,95367431640625,476837158203125,0x878678326eac9]),AFe=fK(nat,sSe,24,TFe.length,15,1),PFe=q3(lw(aat,1),BSe,24,15,[1,10,100,D_e,1e4,VSe,1e6,1e7,1e8,MSe,1e10,1e11,1e12,1e13,1e14,1e15,1e16]),OFe=fK(nat,sSe,24,PFe.length,15,1),DFe=fK(VFe,s_e,239,11,0,1),e=0;e<DFe.length;e++)IFe[e]=new mQ(e,0),DFe[e]=new mQ(0,e),MFe[e]=48;for(;e<MFe.length;e++)MFe[e]=48;for(n=0;n<AFe.length;n++)AFe[n]=Sue(TFe[n]);for(t=0;t<OFe.length;t++)OFe[t]=Sue(PFe[t]);gce()}function uwe(e,t){var n,r,i,o,a,s,l,u,c,f,h,d,p,g,m,b;if(BT(i=Fae(t,(hxe(),OXe)),238)){for(d=LL(i,34),p=t.e,f=new lT(t.c),o=t.d,f.a+=o.b,f.b+=o.d,aP(LL(xfe(d,(Kwe(),$Qe)),174),(Vge(),dtt))&&(function(e,t){e.a=t}(h=LL(xfe(d,GQe),115),o.a),function(e,t){e.d=t}(h,o.d),function(e,t){e.b=t}(h,o.b),function(e,t){e.c=t}(h,o.c)),n=new $m,u=new td(t.a);u.a<u.c.c.length;)for(BT(Fae(s=LL(xW(u),10),OXe),238)?gwe(s,f):BT(Fae(s,OXe),199)&&!p&&$M(r=LL(Fae(s,OXe),122),(m=Lme(t,s,r.g,r.f)).a,m.b),g=new td(s.j);g.a<g.c.c.length;)lS(_V(new cj(null,new ZG(LL(xW(g),11).g,16)),new ap(s)),new sp(n));if(p)for(g=new td(p.j);g.a<g.c.c.length;)lS(_V(new cj(null,new ZG(LL(xW(g),11).g,16)),new lp(p)),new up(n));for(b=LL(xfe(d,eQe),216),a=new td(n);a.a<a.c.c.length;)Vye(LL(xW(a),18),b,f);for(function(e){var t,n,r,i,o;r=LL(Fae(e,(hxe(),OXe)),34),o=LL(xfe(r,(Kwe(),BQe)),174).Fc((aee(),ctt)),e.e||(i=LL(Fae(e,mXe),21),t=new YE(e.f.a+e.d.b+e.d.c,e.f.b+e.d.d+e.d.a),i.Fc((Kde(),Tqe))?(Fte(r,tJe,(joe(),vet)),ywe(r,t.a,t.b,!1,!0)):ywe(r,t.a,t.b,!0,!0)),Fte(r,BQe,o?o9(ctt):new WR(n=LL(Lx(xtt),9),LL(wD(n,n.length),9),0))}(t),l=new td(t.a);l.a<l.c.c.length;)(c=(s=LL(xW(l),10)).e)&&uwe(e,c)}}function cwe(e,t){var n,i,o,a,s,l,u,c,f,h,d,p;if(!LL(LL(KX(e.r,t),21),81).dc()){if(u=(s=LL(fV(e.b,t),121)).i,l=s.n,f=rpe(e,t),i=u.b-l.b-l.c,o=s.a.a,a=u.c+l.b,p=e.v,f!=(pte(),het)&&f!=pet||1!=LL(LL(KX(e.r,t),21),81).gc()||(o=f==het?o-2*e.v:o,f=fet),i<o&&!e.A.Fc((Vge(),vtt)))f==het?a+=p+=(i-o)/(LL(LL(KX(e.r,t),21),81).gc()+1):p+=(i-o)/(LL(LL(KX(e.r,t),21),81).gc()-1);else switch(i<o&&(o=f==het?o-2*e.v:o,f=fet),f.g){case 3:a+=(i-o)/2;break;case 4:a+=i-o;break;case 0:n=(i-o)/(LL(LL(KX(e.r,t),21),81).gc()+1),a+=p+=r.Math.max(0,n);break;case 1:n=(i-o)/(LL(LL(KX(e.r,t),21),81).gc()-1),p+=r.Math.max(0,n)}for(d=LL(LL(KX(e.r,t),21),81).Ic();d.Ob();)(h=LL(d.Pb(),110)).e.a=a+h.d.b,h.e.b=(c=h.b).Ye((fxe(),P9e))?c.Ef()==(hwe(),Det)?-c.pf().b-Oy($O(c.Xe(P9e))):Oy($O(c.Xe(P9e))):c.Ef()==(hwe(),Det)?-c.pf().b:0,a+=h.d.b+h.b.pf().a+h.d.c+p}}function fwe(e,t){var n,i,o,a,s,l,u,c,f,h,d,p,g;if(!LL(LL(KX(e.r,t),21),81).dc()){if(u=(s=LL(fV(e.b,t),121)).i,l=s.n,h=rpe(e,t),i=u.a-l.d-l.a,o=s.a.b,a=u.d+l.d,g=e.v,c=e.o.a,h!=(pte(),het)&&h!=pet||1!=LL(LL(KX(e.r,t),21),81).gc()||(o=h==het?o-2*e.v:o,h=fet),i<o&&!e.A.Fc((Vge(),vtt)))h==het?a+=g+=(i-o)/(LL(LL(KX(e.r,t),21),81).gc()+1):g+=(i-o)/(LL(LL(KX(e.r,t),21),81).gc()-1);else switch(i<o&&(o=h==het?o-2*e.v:o,h=fet),h.g){case 3:a+=(i-o)/2;break;case 4:a+=i-o;break;case 0:n=(i-o)/(LL(LL(KX(e.r,t),21),81).gc()+1),a+=g+=r.Math.max(0,n);break;case 1:n=(i-o)/(LL(LL(KX(e.r,t),21),81).gc()-1),g+=r.Math.max(0,n)}for(p=LL(LL(KX(e.r,t),21),81).Ic();p.Ob();)(d=LL(p.Pb(),110)).e.a=(f=d.b).Ye((fxe(),P9e))?f.Ef()==(hwe(),Qet)?-f.pf().a-Oy($O(f.Xe(P9e))):c+Oy($O(f.Xe(P9e))):f.Ef()==(hwe(),Qet)?-f.pf().a:c,d.e.b=a+d.d.d,a+=d.d.d+d.b.pf().b+d.d.a+g}}function hwe(){var e;hwe=S,Zet=new LE(sCe,0),Det=new LE(mCe,1),Oet=new LE(bCe,2),Ket=new LE(vCe,3),Qet=new LE(yCe,4),v$(),Fet=new mw(new WR(e=LL(Lx(att),9),LL(wD(e,e.length),9),0)),zet=H6(Oj(Det,q3(lw(att,1),VEe,61,0,[]))),Ret=H6(Oj(Oet,q3(lw(att,1),VEe,61,0,[]))),qet=H6(Oj(Ket,q3(lw(att,1),VEe,61,0,[]))),Yet=H6(Oj(Qet,q3(lw(att,1),VEe,61,0,[]))),Get=H6(Oj(Det,q3(lw(att,1),VEe,61,0,[Ket]))),jet=H6(Oj(Oet,q3(lw(att,1),VEe,61,0,[Qet]))),Uet=H6(Oj(Det,q3(lw(att,1),VEe,61,0,[Qet]))),Bet=H6(Oj(Det,q3(lw(att,1),VEe,61,0,[Oet]))),Xet=H6(Oj(Ket,q3(lw(att,1),VEe,61,0,[Qet]))),Let=H6(Oj(Oet,q3(lw(att,1),VEe,61,0,[Ket]))),Het=H6(Oj(Det,q3(lw(att,1),VEe,61,0,[Oet,Qet]))),Net=H6(Oj(Oet,q3(lw(att,1),VEe,61,0,[Ket,Qet]))),Wet=H6(Oj(Det,q3(lw(att,1),VEe,61,0,[Ket,Qet]))),Vet=H6(Oj(Det,q3(lw(att,1),VEe,61,0,[Oet,Ket]))),$et=H6(Oj(Det,q3(lw(att,1),VEe,61,0,[Oet,Ket,Qet])))}function dwe(e,t){var n,i,o,a,s,l,u,c,f,h,d,p,g,m,b,v;if(0!=t.b){for(h=new sS,a=null,d=null,n=IH(r.Math.floor(r.Math.log(t.b)*r.Math.LOG10E)+1),s=0,v=cte(t,0);v.b!=v.d.c;)for(m=LL(BU(v),83),OI(d)!==OI(Fae(m,(qve(),Y2e)))&&(d=HO(Fae(m,Y2e)),s=0),a=null!=d?d+bW(s++,n):bW(s++,n),S5(m,Y2e,a),g=new Sg(cte(new _g(m).a.d,0));jx(g.a);)jq(h,p=LL(BU(g.a),188).c,h.c.b,h.c),S5(p,Y2e,a);for(f=new Hm,o=0;o<a.length-n;o++)for(b=cte(t,0);b.b!=b.d.c;)vG(f,l=zP(HO(Fae(m=LL(BU(b),83),(qve(),Y2e))),0,o+1),k8(null!=(null==l?PI(rH(f.f,null)):ck(f.g,l))?LL(null==l?PI(rH(f.f,null)):ck(f.g,l),20).a+1:1));for(c=new m4(new jh(f).a);c.b;)u=kJ(c),i=k8(null!=aB(e.a,u.ad())?LL(aB(e.a,u.ad()),20).a:0),vG(e.a,HO(u.ad()),k8(LL(u.bd(),20).a+i.a)),(!(i=LL(aB(e.b,u.ad()),20))||i.a<LL(u.bd(),20).a)&&vG(e.b,HO(u.ad()),LL(u.bd(),20));dwe(e,h)}}function pwe(e){var t,n,i,o,a,s,l,u,c,f,h,d,p,g,m,b,v,y,w,x,_,S,k,C,E,I;for(c=LL(Fae(e,(y1(),$$e)),34),g=Dxe,m=Dxe,d=F_e,p=F_e,v=new td(e.e);v.a<v.c.c.length;)S=(b=LL(xW(v),144)).d,k=b.e,g=r.Math.min(g,S.a-k.a/2),m=r.Math.min(m,S.b-k.b/2),d=r.Math.max(d,S.a+k.a/2),p=r.Math.max(p,S.b+k.b/2);for(x=new YE((_=LL(xfe(c,(fde(),M$e)),115)).b-g,_.d-m),l=new td(e.e);l.a<l.c.c.length;)BT(w=Fae(s=LL(xW(l),144),$$e),238)&&$M(f=LL(w,34),(y=BD(s.d,x)).a-f.g/2,y.b-f.f/2);for(i=new td(e.c);i.a<i.c.c.length;)n=LL(xW(i),281),u=Wde(LL(Fae(n,$$e),80),!0,!0),Mie(E=VD(RT(n.d.d),n.c.d),n.c.e.a,n.c.e.b),GM(u,(C=BD(E,n.c.d)).a,C.b),Mie(I=VD(RT(n.c.d),n.d.d),n.d.e.a,n.d.e.b),HM(u,(t=BD(I,n.d.d)).a,t.b);for(a=new td(e.d);a.a<a.c.c.length;)o=LL(xW(a),441),$M(LL(Fae(o,$$e),137),(h=BD(o.d,x)).a,h.b);ywe(c,d-g+(_.b+_.c),p-m+(_.d+_.a),!1,!0)}function gwe(e,t){var n,r,i,o,a,s,l,u,c,f,h,d,p;for(r=LL(Fae(e,(hxe(),OXe)),34),d=LL(Fae(e,(Kwe(),$Ze)),20).a,o=LL(Fae(e,_Qe),20).a,Fte(r,$Ze,k8(d)),Fte(r,_Qe,k8(o)),UJ(r,e.n.a+t.a),qJ(r,e.n.b+t.b),(0!=LL(xfe(r,BQe),174).gc()||e.e||OI(Fae(jB(e),zQe))===OI((Cne(),f0e))&&RM((rne(),(e.q?e.q:(v$(),v$(),YFe))._b(jQe)?LL(Fae(e,jQe),196):LL(Fae(jB(e),FQe),196))))&&(WJ(r,e.o.a),GJ(r,e.o.b)),f=new td(e.j);f.a<f.c.c.length;)BT(p=Fae(u=LL(xW(f),11),OXe),199)&&($M(i=LL(p,122),u.n.a,u.n.b),Fte(i,aJe,u.j));for(h=0!=LL(Fae(e,OQe),174).gc(),l=new td(e.b);l.a<l.c.c.length;)a=LL(xW(l),69),(h||0!=LL(Fae(a,OQe),174).gc())&&(VM(n=LL(Fae(a,OXe),137),a.o.a,a.o.b),$M(n,a.n.a,a.n.b));if(!PF(LL(Fae(e,iJe),21)))for(c=new td(e.j);c.a<c.c.c.length;)for(s=new td((u=LL(xW(c),11)).f);s.a<s.c.c.length;)a=LL(xW(s),69),WJ(n=LL(Fae(a,OXe),137),a.o.a),GJ(n,a.o.b),$M(n,a.n.a,a.n.b)}function mwe(e){var t,n,r,i,o,a,s,l;if(uve(),null==e)return null;if((i=SM(e,bae(37)))<0)return e;for(l=new YA(e.substr(0,i)),t=fK(oat,rDe,24,4,15,1),s=0,r=0,a=e.length;i<a;i++)if(TG(i,e.length),37==e.charCodeAt(i)&&e.length>i+2&&A3((TG(i+1,e.length),e.charCodeAt(i+1)),Qnt,Jnt)&&A3((TG(i+2,e.length),e.charCodeAt(i+2)),Qnt,Jnt))if(n=XL((TG(i+1,e.length),e.charCodeAt(i+1)),(TG(i+2,e.length),e.charCodeAt(i+2))),i+=2,r>0?128==(192&n)?t[s++]=n<<24>>24:r=0:n>=128&&(192==(224&n)?(t[s++]=n<<24>>24,r=2):224==(240&n)?(t[s++]=n<<24>>24,r=3):240==(248&n)&&(t[s++]=n<<24>>24,r=4)),r>0){if(s==r){switch(s){case 2:iB(l,((31&t[0])<<6|63&t[1])&X_e);break;case 3:iB(l,((15&t[0])<<12|(63&t[1])<<6|63&t[2])&X_e)}s=0,r=0}}else{for(o=0;o<s;++o)iB(l,t[o]&X_e);s=0,l.a+=String.fromCharCode(n)}else{for(o=0;o<s;++o)iB(l,t[o]&X_e);s=0,iB(l,(TG(i,e.length),e.charCodeAt(i)))}return l.a}function bwe(e,t,n,r,i){var o,a,s;if(VZ(e,t),a=t[0],o=dV(n.c,0),s=-1,Q5(n))if(r>0){if(a+r>e.length)return!1;s=Kue(e.substr(0,a+r),t)}else s=Kue(e,t);switch(o){case 71:return s=gae(e,a,q3(lw(CFe,1),s_e,2,6,[lSe,uSe]),t),i.e=s,!0;case 77:case 76:return function(e,t,n,r,i){return r<0?((r=gae(e,i,q3(lw(CFe,1),s_e,2,6,[Y_e,K_e,Z_e,Q_e,J_e,eSe,tSe,nSe,rSe,iSe,oSe,aSe]),t))<0&&(r=gae(e,i,q3(lw(CFe,1),s_e,2,6,["Jan","Feb","Mar","Apr",J_e,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"]),t)),!(r<0||(n.k=r,0))):r>0&&(n.k=r-1,!0)}(e,t,i,s,a);case 69:case 99:return function(e,t,n,r){var i;return(i=gae(e,n,q3(lw(CFe,1),s_e,2,6,[cSe,fSe,hSe,dSe,pSe,gSe,mSe]),t))<0&&(i=gae(e,n,q3(lw(CFe,1),s_e,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]),t)),!(i<0||(r.d=i,0))}(e,t,a,i);case 97:return s=gae(e,a,q3(lw(CFe,1),s_e,2,6,["AM","PM"]),t),i.b=s,!0;case 121:return function(e,t,n,r,i,o){var a,s,l;if(s=32,r<0){if(t[0]>=e.length)return!1;if(43!=(s=dV(e,t[0]))&&45!=s)return!1;if(++t[0],(r=Kue(e,t))<0)return!1;45==s&&(r=-r)}return 32==s&&t[0]-n==2&&2==i.b&&(a=(l=(new ok).q.getFullYear()-o_e+o_e-80)%100,o.a=r==a,r+=100*(l/100|0)+(r<a?100:0)),o.p=r,!0}(e,t,a,s,n,i);case 100:return!(s<=0)&&(i.c=s,!0);case 83:return!(s<0)&&function(e,t,n,r){var i,o;if((o=n-t)<3)for(;o<3;)e*=10,++o;else{for(i=1;o>3;)i*=10,--o;e=(e+(i>>1))/i|0}return r.i=e,!0}(s,a,t[0],i);case 104:12==s&&(s=0);case 75:case 72:return!(s<0)&&(i.f=s,i.g=!1,!0);case 107:return!(s<0)&&(i.f=s,i.g=!0,!0);case 109:return!(s<0)&&(i.j=s,!0);case 115:return!(s<0)&&(i.n=s,!0);case 90:if(a<e.length&&(TG(a,e.length),90==e.charCodeAt(a)))return++t[0],i.o=0,!0;case 122:case 118:return function(e,t,n,r){return t>=0&&fR(e.substr(t,"GMT".length),"GMT")||t>=0&&fR(e.substr(t,"UTC".length),"UTC")?(n[0]=t+3,Zge(e,n,r)):Zge(e,n,r)}(e,a,t,i);default:return!1}}function vwe(e,t,n){var r,i,o,a,s,l,u,c,f,h;if(e.e.a.$b(),e.f.a.$b(),e.c.c=fK(pje,zxe,1,0,5,1),e.i.c=fK(pje,zxe,1,0,5,1),e.g.a.$b(),t)for(a=new td(t.a);a.a<a.c.c.length;)for(c=jse(o=LL(xW(a),10),(hwe(),Oet)).Ic();c.Ob();)for(u=LL(c.Pb(),11),uz(e.e,u),i=new td(u.g);i.a<i.c.c.length;)NX(r=LL(xW(i),18))||(RL(e.c,r),Ste(e,r),((s=r.c.i.k)==(mse(),XHe)||s==YHe||s==WHe||s==GHe)&&RL(e.j,r),(f=(h=r.d).i.c)==n?uz(e.f,h):f==t?uz(e.e,h):yZ(e.c,r));if(n)for(a=new td(n.a);a.a<a.c.c.length;){for(l=new td((o=LL(xW(a),10)).j);l.a<l.c.c.length;)for(i=new td(LL(xW(l),11).g);i.a<i.c.c.length;)NX(r=LL(xW(i),18))&&uz(e.g,r);for(c=jse(o,(hwe(),Qet)).Ic();c.Ob();)for(u=LL(c.Pb(),11),uz(e.f,u),i=new td(u.g);i.a<i.c.c.length;)NX(r=LL(xW(i),18))||(RL(e.c,r),Ste(e,r),((s=r.c.i.k)==(mse(),XHe)||s==YHe||s==WHe||s==GHe)&&RL(e.j,r),(f=(h=r.d).i.c)==n?uz(e.f,h):f==t?uz(e.e,h):yZ(e.c,r))}}function ywe(e,t,n,i,o){var a,s,l,u,c,f,h,d,p,g,m,b,v,y,w,x,_,S;if(b=new YE(e.g,e.f),(m=Xse(e)).a=r.Math.max(m.a,t),m.b=r.Math.max(m.b,n),S=m.a/b.a,f=m.b/b.b,x=m.a-b.a,u=m.b-b.b,i)for(s=rG(e)?LL(xfe(rG(e),(fxe(),z8e)),108):LL(xfe(e,(fxe(),z8e)),108),l=OI(xfe(e,(fxe(),O9e)))===OI((joe(),vet)),y=new SA((!e.c&&(e.c=new FF(fnt,e,9,9)),e.c));y.e!=y.i.gc();)switch(v=LL(Hee(y),122),(w=LL(xfe(v,z9e),61))==(hwe(),Zet)&&(w=zme(v,s),Fte(v,z9e,w)),w.g){case 1:l||UJ(v,v.i*S);break;case 2:UJ(v,v.i+x),l||qJ(v,v.j*f);break;case 3:l||UJ(v,v.i*S),qJ(v,v.j+u);break;case 4:l||qJ(v,v.j*f)}if(VM(e,m.a,m.b),o)for(d=new SA((!e.n&&(e.n=new FF(unt,e,1,7)),e.n));d.e!=d.i.gc();)p=(h=LL(Hee(d),137)).i+h.g/2,g=h.j+h.f/2,(_=p/b.a)+(c=g/b.b)>=1&&(_-c>0&&g>=0?(UJ(h,h.i+x),qJ(h,h.j+u*c)):_-c<0&&p>=0&&(UJ(h,h.i+x*_),qJ(h,h.j+u)));return Fte(e,(fxe(),c9e),(aee(),new WR(a=LL(Lx(xtt),9),LL(wD(a,a.length),9),0))),new YE(S,f)}function wwe(e){var t,n,i,o,a,s,l,u,c,f,h;if(f=rG(Xoe(LL(sJ((!e.b&&(e.b=new nR(nnt,e,4,7)),e.b),0),93)))==rG(Xoe(LL(sJ((!e.c&&(e.c=new nR(nnt,e,5,8)),e.c),0),93))),s=new hx,(t=LL(xfe(e,(V4(),R7e)),74))&&t.b>=2){if(0==(!e.a&&(e.a=new FF(int,e,6,6)),e.a).i)Sx(),n=new Zs,AK((!e.a&&(e.a=new FF(int,e,6,6)),e.a),n);else if((!e.a&&(e.a=new FF(int,e,6,6)),e.a).i>1)for(h=new RP((!e.a&&(e.a=new FF(int,e,6,6)),e.a));h.e!=h.i.gc();)zie(h);ebe(t,LL(sJ((!e.a&&(e.a=new FF(int,e,6,6)),e.a),0),201))}if(f)for(i=new SA((!e.a&&(e.a=new FF(int,e,6,6)),e.a));i.e!=i.i.gc();)for(u=new SA((!(n=LL(Hee(i),201)).a&&(n.a=new hA(Jtt,n,5)),n.a));u.e!=u.i.gc();)l=LL(Hee(u),463),s.a=r.Math.max(s.a,l.a),s.b=r.Math.max(s.b,l.b);for(a=new SA((!e.n&&(e.n=new FF(unt,e,1,7)),e.n));a.e!=a.i.gc();)o=LL(Hee(a),137),(c=LL(xfe(o,B7e),8))&&$M(o,c.a,c.b),f&&(s.a=r.Math.max(s.a,o.i+o.g),s.b=r.Math.max(s.b,o.j+o.f));return s}function xwe(e,t,n){var r,i,o,a,s;switch(r=t.i,o=e.i.o,i=e.i.d,s=e.n,a=V5(q3(lw(J6e,1),s_e,8,0,[s,e.a])),e.j.g){case 1:GO(t,(QZ(),VBe)),r.d=-i.d-n-r.a,LL(LL(JN(t.d,0),183).Xe((hxe(),kXe)),284)==(Yre(),U7e)?(PK(t,(JK(),LBe)),r.c=a.a-Oy($O(Fae(e,AXe)))-n-r.b):(PK(t,(JK(),RBe)),r.c=a.a+Oy($O(Fae(e,AXe)))+n);break;case 2:PK(t,(JK(),RBe)),r.c=o.a+i.c+n,LL(LL(JN(t.d,0),183).Xe((hxe(),kXe)),284)==(Yre(),U7e)?(GO(t,(QZ(),VBe)),r.d=a.b-Oy($O(Fae(e,AXe)))-n-r.a):(GO(t,(QZ(),HBe)),r.d=a.b+Oy($O(Fae(e,AXe)))+n);break;case 3:GO(t,(QZ(),HBe)),r.d=o.b+i.a+n,LL(LL(JN(t.d,0),183).Xe((hxe(),kXe)),284)==(Yre(),U7e)?(PK(t,(JK(),LBe)),r.c=a.a-Oy($O(Fae(e,AXe)))-n-r.b):(PK(t,(JK(),RBe)),r.c=a.a+Oy($O(Fae(e,AXe)))+n);break;case 4:PK(t,(JK(),LBe)),r.c=-i.b-n-r.b,LL(LL(JN(t.d,0),183).Xe((hxe(),kXe)),284)==(Yre(),U7e)?(GO(t,(QZ(),VBe)),r.d=a.b-Oy($O(Fae(e,AXe)))-n-r.a):(GO(t,(QZ(),HBe)),r.d=a.b+Oy($O(Fae(e,AXe)))+n)}}function _we(e,t,n,i,o,a,s){var l,u,c,f,h,d,p,g,m,b,v,y,w,x,_,S,k,C,E,I,M,T,A;for(p=0,E=0,u=new td(e);u.a<u.c.c.length;)Rye(l=LL(xW(u),34)),p=r.Math.max(p,l.g),E+=l.g*l.f;for(C=function(e,t){var n,i,o;for(o=0,i=new td(e);i.a<i.c.c.length;)n=LL(xW(i),34),o+=r.Math.pow(n.g*n.f-t,2);return r.Math.sqrt(o/(e.c.length-1))}(e,E/e.c.length),E+=e.c.length*C,p=r.Math.max(p,r.Math.sqrt(E*s))+n.b,T=n.b,A=n.d,d=0,f=n.b+n.c,bN(k=new sS,k8(0)),_=new sS,c=new eU(e,0);c.b<c.d.gc();)EP(c.b<c.d.gc()),M=(l=LL(c.d.Xb(c.c=c.b++),34)).g,h=l.f,T+M>p&&(a&&(ZI(_,d),ZI(k,k8(c.b-1))),T=n.b,A+=d+t,d=0,f=r.Math.max(f,n.b+n.c+M)),UJ(l,T),qJ(l,A),f=r.Math.max(f,T+M+n.c),d=r.Math.max(d,h),T+=M+t;if(f=r.Math.max(f,i),(I=A+d+n.a)<o&&(d+=o-I,I=o),a)for(T=n.b,c=new eU(e,0),ZI(k,k8(e.c.length)),b=LL(BU(S=cte(k,0)),20).a,ZI(_,d),x=cte(_,0),w=0;c.b<c.d.gc();)c.b==b&&(T=n.b,w=Oy($O(BU(x))),b=LL(BU(S),20).a),EP(c.b<c.d.gc()),v=(l=LL(c.d.Xb(c.c=c.b++),34)).f,GJ(l,w),g=w,c.b==b&&(m=f-T-n.c,y=l.g,WJ(l,m),Yle(l,new YE(m,g),new YE(y,v))),T+=l.g+t;return new YE(f,I)}function Swe(e,t){var n,r,i,o,a,s,l,u,c,f;for(l=LL(LL(KX(e.r,t),21),81),o=function(e,t){var n,r,i,o;return xD(),(i=LL(LL(KX(e.r,t),21),81)).gc()>=2&&(r=LL(i.Ic().Pb(),110),n=e.t.Fc((iae(),Cet)),o=e.t.Fc(Tet),!r.a&&!n&&(2==i.gc()||o))}(e,t),s=l.Ic();s.Ob();)if((a=LL(s.Pb(),110)).c&&!(a.c.d.c.length<=0)){switch(f=a.b.pf(),(c=(u=a.c).i).b=(i=u.n,u.e.a+i.b+i.c),c.a=(r=u.n,u.e.b+r.d+r.a),t.g){case 1:a.a?(c.c=(f.a-c.b)/2,PK(u,(JK(),DBe))):o?(c.c=-c.b-e.s,PK(u,(JK(),LBe))):(c.c=f.a+e.s,PK(u,(JK(),RBe))),c.d=-c.a-e.s,GO(u,(QZ(),VBe));break;case 3:a.a?(c.c=(f.a-c.b)/2,PK(u,(JK(),DBe))):o?(c.c=-c.b-e.s,PK(u,(JK(),LBe))):(c.c=f.a+e.s,PK(u,(JK(),RBe))),c.d=f.b+e.s,GO(u,(QZ(),HBe));break;case 2:a.a?(n=e.u?c.a:LL(JN(u.d,0),183).pf().b,c.d=(f.b-n)/2,GO(u,(QZ(),$Be))):o?(c.d=-c.a-e.s,GO(u,(QZ(),VBe))):(c.d=f.b+e.s,GO(u,(QZ(),HBe))),c.c=f.a+e.s,PK(u,(JK(),RBe));break;case 4:a.a?(n=e.u?c.a:LL(JN(u.d,0),183).pf().b,c.d=(f.b-n)/2,GO(u,(QZ(),$Be))):o?(c.d=-c.a-e.s,GO(u,(QZ(),VBe))):(c.d=f.b+e.s,GO(u,(QZ(),HBe))),c.c=-c.b-e.s,PK(u,(JK(),LBe))}o=!1}}function kwe(e){var t,n,i,o,a,s,l,u,c,f,h,d,p,g,m,b,v,y,w,x;if(1==e.gc())return LL(e.Xb(0),229);if(e.gc()<=0)return new hY;for(o=e.Ic();o.Ob();){for(n=LL(o.Pb(),229),g=0,f=Dxe,h=Dxe,u=F_e,c=F_e,p=new td(n.e);p.a<p.c.c.length;)d=LL(xW(p),144),g+=LL(Fae(d,(fde(),P$e)),20).a,f=r.Math.min(f,d.d.a-d.e.a/2),h=r.Math.min(h,d.d.b-d.e.b/2),u=r.Math.max(u,d.d.a+d.e.a/2),c=r.Math.max(c,d.d.b+d.e.b/2);S5(n,(fde(),P$e),k8(g)),S5(n,(y1(),V$e),new YE(f,h)),S5(n,B$e,new YE(u,c))}for(v$(),e.$c(new ft),c3(m=new hY,LL(e.Xb(0),94)),l=0,y=0,a=e.Ic();a.Ob();)n=LL(a.Pb(),229),b=VD(RT(LL(Fae(n,(y1(),B$e)),8)),LL(Fae(n,V$e),8)),l=r.Math.max(l,b.a),y+=b.a*b.b;for(l=r.Math.max(l,r.Math.sqrt(y)*Oy($O(Fae(m,(fde(),S$e))))),w=0,x=0,s=0,t=v=Oy($O(Fae(m,j$e))),i=e.Ic();i.Ob();)n=LL(i.Pb(),229),w+(b=VD(RT(LL(Fae(n,(y1(),B$e)),8)),LL(Fae(n,V$e),8))).a>l&&(w=0,x+=s+v,s=0),Nge(m,n,w,x),t=r.Math.max(t,w+b.a),s=r.Math.max(s,b.b),w+=b.a+v;return m}function Cwe(e,t){var n,r,i,o,a,s,l,u,c,f,h,d,p;switch(c=new bv,e.a.g){case 3:h=LL(Fae(t.e,(hxe(),KXe)),14),d=LL(Fae(t.j,KXe),14),p=LL(Fae(t.f,KXe),14),n=LL(Fae(t.e,XXe),14),r=LL(Fae(t.j,XXe),14),i=LL(Fae(t.f,XXe),14),L3(a=new $m,h),d.Hc(new bo),L3(a,BT(d,151)?QX(LL(d,151)):BT(d,131)?LL(d,131).a:BT(d,53)?new ry(d):new O_(d)),L3(a,p),L3(o=new $m,n),L3(o,BT(r,151)?QX(LL(r,151)):BT(r,131)?LL(r,131).a:BT(r,53)?new ry(r):new O_(r)),L3(o,i),S5(t.f,KXe,a),S5(t.f,XXe,o),S5(t.f,ZXe,t.f),S5(t.e,KXe,null),S5(t.e,XXe,null),S5(t.j,KXe,null),S5(t.j,XXe,null);break;case 1:G1(c,t.e.a),bN(c,t.i.n),G1(c,M2(t.j.a)),bN(c,t.a.n),G1(c,t.f.a);break;default:G1(c,t.e.a),G1(c,M2(t.j.a)),G1(c,t.f.a)}s$(t.f.a),G1(t.f.a,c),PG(t.f,t.e.c),s=LL(Fae(t.e,(Kwe(),vQe)),74),u=LL(Fae(t.j,vQe),74),l=LL(Fae(t.f,vQe),74),(s||u||l)&&(gz(f=new bv,l),gz(f,u),gz(f,s),S5(t.f,vQe,f)),PG(t.j,null),AG(t.j,null),PG(t.e,null),AG(t.e,null),OG(t.a,null),OG(t.i,null),t.g&&Cwe(e,t.g)}function Ewe(e,t,n){var i,o,a,s,l,u,c,f,h,d,p,g,m,b,v,y,w,x,_,S,k,C;return w=e.c[(MG(0,t.c.length),LL(t.c[0],18)).p],k=e.c[(MG(1,t.c.length),LL(t.c[1],18)).p],(w.a.e.e-w.a.a-(w.b.e.e-w.b.a)!=0||k.a.e.e-k.a.a-(k.b.e.e-k.b.a)!=0)&&(!!BT(v=w.b.e.f,10)&&(b=LL(v,10),_=e.i[b.p],S=b.c?vZ(b.c.a,b,0):-1,a=RSe,S>0&&(o=LL(JN(b.c.a,S-1),10),s=e.i[o.p],C=r.Math.ceil(AT(e.n,o,b)),a=_.a.e-b.d.d-(s.a.e+o.o.b+o.d.a)-C),c=RSe,S<b.c.a.c.length-1&&(u=LL(JN(b.c.a,S+1),10),f=e.i[u.p],C=r.Math.ceil(AT(e.n,u,b)),c=f.a.e-u.d.d-(_.a.e+b.o.b+b.d.a)-C),!!(n&&(vT(),CJ(gAe),r.Math.abs(a-c)<=gAe||a==c||isNaN(a)&&isNaN(c)))||(i=jz(w.a),l=-jz(w.b),h=-jz(k.a),y=jz(k.b),m=w.a.e.e-w.a.a-(w.b.e.e-w.b.a)>0&&k.a.e.e-k.a.a-(k.b.e.e-k.b.a)<0,g=w.a.e.e-w.a.a-(w.b.e.e-w.b.a)<0&&k.a.e.e-k.a.a-(k.b.e.e-k.b.a)>0,p=w.a.e.e+w.b.a<k.b.e.e+k.a.a,d=w.a.e.e+w.b.a>k.b.e.e+k.a.a,x=0,!m&&!g&&(d?a+h>0?x=h:c-i>0&&(x=i):p&&(a+l>0?x=l:c-y>0&&(x=y))),_.a.e+=x,_.b&&(_.d.e+=x),!1)))}function Iwe(e,t,n){var i,o,a,s,l,u,c,f,h,d;if(i=new jV(t.of().a,t.of().b,t.pf().a,t.pf().b),o=new YM,e.c)for(s=new td(t.uf());s.a<s.c.c.length;)a=LL(xW(s),183),o.c=a.of().a+t.of().a,o.d=a.of().b+t.of().b,o.b=a.pf().a,o.a=a.pf().b,ble(i,o);for(c=new td(t.Af());c.a<c.c.c.length;){if(f=(u=LL(xW(c),817)).of().a+t.of().a,h=u.of().b+t.of().b,e.e&&(o.c=f,o.d=h,o.b=u.pf().a,o.a=u.pf().b,ble(i,o)),e.d)for(s=new td(u.uf());s.a<s.c.c.length;)a=LL(xW(s),183),o.c=a.of().a+f,o.d=a.of().b+h,o.b=a.pf().a,o.a=a.pf().b,ble(i,o);if(e.b){if(d=new YE(-n,-n),LL(t.Xe((fxe(),N9e)),174).Fc((iae(),Met)))for(s=new td(u.uf());s.a<s.c.c.length;)a=LL(xW(s),183),d.a+=a.pf().a+n,d.b+=a.pf().b+n;d.a=r.Math.max(d.a,0),d.b=r.Math.max(d.b,0),mme(i,u.zf(),u.xf(),t,u,d,n)}}e.b&&mme(i,t.zf(),t.xf(),t,null,null,n),(l=new tL(t.yf())).d=r.Math.max(0,t.of().b-i.d),l.a=r.Math.max(0,i.d+i.a-(t.of().b+t.pf().b)),l.b=r.Math.max(0,t.of().a-i.c),l.c=r.Math.max(0,i.c+i.b-(t.of().a+t.pf().a)),t.Cf(l)}function Mwe(e,t){var n,r,i,o,a,s,l,u,c,f,h;if(gxe(),0==Y_(Eot)){for(f=fK(Kot,s_e,117,Mot.length,0,1),a=0;a<f.length;a++)f[a]=(new lW(4));for(r=new dw,o=0;o<Cot.length;o++){if(c=new lW(4),o<84?(TG(s=2*o,nje.length),h=nje.charCodeAt(s),TG(s+1,nje.length),Fde(c,h,nje.charCodeAt(s+1))):Fde(c,Tot[s=2*(o-84)],Tot[s+1]),fR(l=Cot[o],"Specials")&&Fde(c,65520,65533),fR(l,eje)&&(Fde(c,983040,1048573),Fde(c,1048576,1114109)),vG(Eot,l,c),vG(Iot,l,Bme(c)),0<(u=r.a.length)?r.a=r.a.substr(0,0):0>u&&(r.a+=JT(fK(tat,q_e,24,-u,15,1))),r.a+="Is",SM(l,bae(32))>=0)for(i=0;i<l.length;i++)TG(i,l.length),32!=l.charCodeAt(i)&&rB(r,(TG(i,l.length),l.charCodeAt(i)));else r.a+=""+l;eee(r.a,l,!0)}eee(tje,"Cn",!1),eee(rje,"Cn",!0),Fde(n=new lW(4),0,WNe),vG(Eot,"ALL",n),vG(Iot,"ALL",Bme(n)),!qot&&(qot=new Hm),vG(qot,tje,tje),!qot&&(qot=new Hm),vG(qot,rje,rje),!qot&&(qot=new Hm),vG(qot,"ALL","ALL")}return LL(CH(t?Eot:Iot,e),136)}function Twe(e,t,n,r){var i,o,a,s,l,u,c,f,h,d,p,g,m,b;if(h=!1,f=!1,jM(LL(Fae(r,(Kwe(),tJe)),100))){a=!1,s=!1;e:for(p=new td(r.j);p.a<p.c.c.length;)for(d=LL(xW(p),11),g=ZF(l0(q3(lw(yje,1),zxe,19,0,[new Qd(d),new ep(d)])));Zce(g);)if(!Ty(VO(Fae(LL(dX(g),11).i,PZe)))){if(d.j==(hwe(),Det)){a=!0;break e}if(d.j==Ket){s=!0;break e}}h=s&&!a,f=a&&!s}if(h||f||0==r.b.c.length)b=!f;else{for(c=0,u=new td(r.b);u.a<u.c.c.length;)c+=(l=LL(xW(u),69)).n.b+l.o.b/2;b=(c/=r.b.c.length)>=r.o.b/2}b?(m=LL(Fae(r,(hxe(),JXe)),14))?h?o=m:(i=LL(Fae(r,Jqe),14))?o=m.gc()<=i.gc()?m:i:(o=new $m,S5(r,Jqe,o)):(o=new $m,S5(r,JXe,o)):(i=LL(Fae(r,(hxe(),Jqe)),14))?f?o=i:(m=LL(Fae(r,JXe),14))?o=i.gc()<=m.gc()?i:m:(o=new $m,S5(r,JXe,o)):(o=new $m,S5(r,Jqe,o)),o.Dc(e),S5(e,(hxe(),tXe),n),t.d==n?(AG(t,null),n.e.c.length+n.g.c.length==0&&DG(n,null),function(e){var t,n;(t=LL(Fae(e,(hxe(),BXe)),10))&&(yZ((n=t.c).a,t),0==n.a.c.length&&yZ(jB(t).b,n))}(n)):(PG(t,null),n.e.c.length+n.g.c.length==0&&DG(n,null)),s$(t.a)}function Awe(e,t,n){var i,o,a,s,l,u,c,f,h,d,g,m,b,v,y,w,x,_,S,k,C,E,I,M,T,A,P,O;for(qoe(n,"MinWidth layering",1),g=t.b,C=t.a,O=LL(Fae(t,(Kwe(),SQe)),20).a,l=LL(Fae(t,kQe),20).a,e.b=Oy($O(Fae(t,yJe))),e.d=RSe,_=new td(C);_.a<_.c.c.length;)(w=LL(xW(_),10)).k==(mse(),XHe)&&(M=w.o.b,e.d=r.Math.min(e.d,M));for(e.d=r.Math.max(1,e.d),E=C.c.length,e.c=fK(nat,sSe,24,E,15,1),e.f=fK(nat,sSe,24,E,15,1),e.e=fK(aat,BSe,24,E,15,1),c=0,e.a=0,S=new td(C);S.a<S.c.c.length;)(w=LL(xW(S),10)).p=c++,e.c[w.p]=o6(p9(w)),e.f[w.p]=o6(g9(w)),e.e[w.p]=w.o.b/e.d,e.a+=e.e[w.p];for(e.b/=e.d,e.a/=E,k=function(e){var t,n,r,i,o,a;for(a=$P(e.c.length),i=new td(e);i.a<i.c.c.length;){for(r=LL(xW(i),10),o=new Pb,n=new xF(BA(g9(r).a.Ic(),new p));Zce(n);)(t=LL(dX(n),18)).c.i==t.d.i||uz(o,t.d.i);a.c[a.c.length]=o}return a}(C),kT(C,wV(new Xp(e))),b=RSe,m=Dxe,s=null,P=O,A=O,a=l,o=l,O<0&&(P=LL(m1e.a.zd(),20).a,A=LL(m1e.b.zd(),20).a),l<0&&(a=LL(g1e.a.zd(),20).a,o=LL(g1e.b.zd(),20).a),T=P;T<=A;T++)for(i=a;i<=o;i++)y=Oy($O((I=Pbe(e,T,i,C,k)).a)),v=(d=LL(I.b,14)).gc(),(y<b||y==b&&v<m)&&(b=y,m=v,s=d);for(h=s.Ic();h.Ob();){for(f=LL(h.Pb(),14),u=new mB(t),x=f.Ic();x.Ob();)OG(w=LL(x.Pb(),10),u);g.c[g.c.length]=u}Fle(g),C.c=fK(pje,zxe,1,0,5,1),_se(n)}function Pwe(e){GS(e,new rae(Yw(Hw(Xw(Uw(new hs,mPe),"ELK Rectangle Packing"),"Algorithm for packing of unconnected boxes, i.e. graphs without edges. The given order of the boxes is always preserved and the main reading direction of the boxes is left to right. The algorithm is divided into two phases. One phase approximates the width in which the rectangles can be placed. The next phase places the rectangles in rows using the previously calculated width as bounding width and bundles rectangles with a similar height in blocks. A compaction step reduces the size of the drawing. Finally, the rectangles are expanded to fill their bounding box and eliminate empty unused spaces."),new Ka))),rU(e,mPe,UCe,1.3),rU(e,mPe,gPe,gte(Y5e)),rU(e,mPe,qCe,r4e),rU(e,mPe,gEe,15),rU(e,mPe,GTe,gte(U5e)),rU(e,mPe,sPe,gte(t4e)),rU(e,mPe,lPe,gte(J5e)),rU(e,mPe,fPe,gte(e4e)),rU(e,mPe,hPe,gte(i4e)),rU(e,mPe,dPe,gte(K5e)),rU(e,mPe,yEe,gte(Z5e)),rU(e,mPe,rAe,gte(Q5e)),rU(e,mPe,cPe,gte(X5e)),rU(e,mPe,uPe,gte(q5e)),rU(e,mPe,pPe,gte(a4e))}function Owe(e,t){var n,r,i,o,a,s,l,u,c,f,h,d,p,g,m,b,v,y;if(g=0!=e.i,v=!1,m=null,FM(e.e)){if((c=t.gc())>0){for(h=c<100?null:new ux(c),p=(u=new E2(t)).g,m=fK(nat,sSe,24,c,15,1),r=0,y=new GQ(c),i=0;i<e.i;++i){d=s=e.g[i];e:for(b=0;b<2;++b){for(l=c;--l>=0;)if(null!=d?l8(d,p[l]):OI(d)===OI(p[l])){m.length<=r&&Xbe(m,0,m=fK(nat,sSe,24,2*m.length,15,1),0,r),m[r++]=i,AK(y,p[l]);break e}if(OI(d)===OI(s))break}}if(u=y,p=y.g,c=r,r>m.length&&Xbe(m,0,m=fK(nat,sSe,24,r,15,1),0,r),r>0){for(v=!0,o=0;o<r;++o)h=OR(e,LL(d=p[o],71),h);for(a=r;--a>=0;)Lre(e,m[a]);if(r!=c){for(i=c;--i>=r;)Lre(u,i);Xbe(m,0,m=fK(nat,sSe,24,r,15,1),0,r)}t=u}}}else for(t=function(e,t){var n,r,i;if(t.dc())return IO(),IO(),Vnt;for(n=new sD(e,t.gc()),i=new SA(e);i.e!=i.i.gc();)r=Hee(i),t.Fc(r)&&AK(n,r);return n}(e,t),i=e.i;--i>=0;)t.Fc(e.g[i])&&(Lre(e,i),v=!0);if(v){if(null!=m){for(f=1==(n=t.gc())?sG(e,4,t.Ic().Pb(),null,m[0],g):sG(e,6,t,m,m[0],g),h=n<100?null:new ux(n),i=t.Ic();i.Ob();)h=PR(e,LL(d=i.Pb(),71),h);h?(h.zi(f),h.Ai()):Y2(e.e,f)}else{for(h=function(e){return e<100?null:new ux(e)}(t.gc()),i=t.Ic();i.Ob();)h=PR(e,LL(d=i.Pb(),71),h);h&&h.Ai()}return!0}return!1}function Dwe(e,t){var n,i,o,a,s,l,u,c,f,h,d,g,m,b,v,y,w;for((n=new tne(t)).a||function(e){var t,n,i,o,a;switch(o=LL(JN(e.a,0),10),t=new Sne(e),RL(e.a,t),t.o.a=r.Math.max(1,o.o.a),t.o.b=r.Math.max(1,o.o.b),t.n.a=o.n.a,t.n.b=o.n.b,LL(Fae(o,(hxe(),dXe)),61).g){case 4:t.n.a+=2;break;case 1:t.n.b+=2;break;case 2:t.n.a-=2;break;case 3:t.n.b-=2}DG(i=new Pse,t),PG(n=new N$,a=LL(JN(o.j,0),11)),AG(n,i),BD(nM(i.n),a.n),BD(nM(i.a),a.a)}(t),c=function(e){var t,n,r,i,o,a,s;for(s=new _X,a=new td(e.a);a.a<a.c.c.length;)if((o=LL(xW(a),10)).k!=(mse(),WHe))for(hfe(s,o,new hx),i=new xF(BA(g9(o).a.Ic(),new p));Zce(i);)if((r=LL(dX(i),18)).c.i.k!=WHe&&r.d.i.k!=WHe)for(n=cte(r.a,0);n.b!=n.d.c;)aoe(s,new Uk((t=LL(BU(n),8)).a,t.b));return s}(t),u=new yH,b=new jde,m=new td(t.a);m.a<m.c.c.length;)for(o=new xF(BA(g9(LL(xW(m),10)).a.Ic(),new p));Zce(o);)(i=LL(dX(o),18)).c.i.k!=(mse(),WHe)&&i.d.i.k!=WHe||Yue(u,yte((f=jye(e,i,c,b)).d),f.a);for(s=new $m,w=LL(Fae(n.c,(hxe(),cXe)),21).Ic();w.Ob();){switch(y=LL(w.Pb(),61),g=b.c[y.g],d=b.b[y.g],l=b.a[y.g],a=null,v=null,y.g){case 4:a=new jV(e.d.a,g,c.b.a-e.d.a,d-g),v=new jV(e.d.a,g,l,d-g),SN(c,new YE(a.c+a.b,a.d)),SN(c,new YE(a.c+a.b,a.d+a.a));break;case 2:a=new jV(c.a.a,g,e.c.a-c.a.a,d-g),v=new jV(e.c.a-l,g,l,d-g),SN(c,new YE(a.c,a.d)),SN(c,new YE(a.c,a.d+a.a));break;case 1:a=new jV(g,e.d.b,d-g,c.b.b-e.d.b),v=new jV(g,e.d.b,d-g,l),SN(c,new YE(a.c,a.d+a.a)),SN(c,new YE(a.c+a.b,a.d+a.a));break;case 3:a=new jV(g,c.a.b,d-g,e.c.b-c.a.b),v=new jV(g,e.c.b-l,d-g,l),SN(c,new YE(a.c,a.d)),SN(c,new YE(a.c+a.b,a.d))}a&&((h=new Xb).d=y,h.b=a,h.c=v,h.a=E$(LL(KX(u,yte(y)),21)),s.c[s.c.length]=h)}return L3(n.b,s),n.d=function(e){var t;return t=new UQ(e),XW(e.a,NHe,new Vy(q3(lw(CHe,1),zxe,366,0,[t]))),t.d&&RL(t.f,t.d),t.f}(function(e){var t,n,r,i,o,a,s;for(zQ(),s=new Hb,n=new td(e);n.a<n.c.c.length;)t=LL(xW(n),140),(!s.b||t.c>=s.b.c)&&(s.b=t),(!s.c||t.c<=s.c.c)&&(s.d=s.c,s.c=t),(!s.e||t.d>=s.e.d)&&(s.e=t),(!s.f||t.d<=s.f.d)&&(s.f=t);return r=new Ite((p5(),EHe)),XW(e,LHe,new Vy(q3(lw(CHe,1),zxe,366,0,[r]))),a=new Ite(THe),XW(e,RHe,new Vy(q3(lw(CHe,1),zxe,366,0,[a]))),i=new Ite(IHe),XW(e,DHe,new Vy(q3(lw(CHe,1),zxe,366,0,[i]))),o=new Ite(MHe),XW(e,OHe,new Vy(q3(lw(CHe,1),zxe,366,0,[o]))),mhe(r.c,EHe),mhe(i.c,IHe),mhe(o.c,MHe),mhe(a.c,THe),s.a.c=fK(pje,zxe,1,0,5,1),L3(s.a,r.c),L3(s.a,M2(i.c)),L3(s.a,o.c),L3(s.a,M2(a.c)),s}(c)),n}function Rwe(e,t,n){var i,o,a,s,l,u,c,f,h,d,p,g;if(null==n.p[t.p]){l=!0,n.p[t.p]=0,s=t,g=n.o==(YH(),X1e)?LSe:RSe;do{o=e.b.e[s.p],a=s.c.a.c.length,n.o==X1e&&o>0||n.o==Y1e&&o<a-1?(u=null,null,u=n.o==Y1e?LL(JN(s.c.a,o+1),10):LL(JN(s.c.a,o-1),10),Rwe(e,c=n.g[u.p],n),g=e.e.Yf(g,t,s),n.j[t.p]==t&&(n.j[t.p]=n.j[c.p]),n.j[t.p]==n.j[c.p]?(p=AT(e.d,s,u),n.o==Y1e?(i=Oy(n.p[t.p]),h=Oy(n.p[c.p])+Oy(n.d[u.p])-u.d.d-p-s.d.a-s.o.b-Oy(n.d[s.p]),l?(l=!1,n.p[t.p]=r.Math.min(h,g)):n.p[t.p]=r.Math.min(i,r.Math.min(h,g))):(i=Oy(n.p[t.p]),h=Oy(n.p[c.p])+Oy(n.d[u.p])+u.o.b+u.d.a+p+s.d.d-Oy(n.d[s.p]),l?(l=!1,n.p[t.p]=r.Math.max(h,g)):n.p[t.p]=r.Math.max(i,r.Math.max(h,g)))):(p=Oy($O(Fae(e.a,(Kwe(),MJe)))),d=S1(e,n.j[t.p]),f=S1(e,n.j[c.p]),n.o==Y1e?rW(d,f,Oy(n.p[t.p])+Oy(n.d[s.p])+s.o.b+s.d.a+p-(Oy(n.p[c.p])+Oy(n.d[u.p])-u.d.d)):rW(d,f,Oy(n.p[t.p])+Oy(n.d[s.p])-s.d.d-Oy(n.p[c.p])-Oy(n.d[u.p])-u.o.b-u.d.a-p))):g=e.e.Yf(g,t,s),s=n.a[s.p]}while(s!=t);!function(e,t){uz(e.b,t)}(e.e,t)}}function Lwe(e,t,n,r){var i,o,a,s,l,u,c,f,h,d,g,m;if(Ty(VO(xfe(t,(fxe(),b9e)))))return v$(),v$(),XFe;if(l=0!=(!t.a&&(t.a=new FF(cnt,t,10,11)),t.a).i,c=function(e){var t,n,r;if(Ty(VO(xfe(e,(fxe(),Q8e))))){for(r=new $m,n=new xF(BA(she(e).a.Ic(),new p));Zce(n);)Que(t=LL(dX(n),80))&&Ty(VO(xfe(t,J8e)))&&(r.c[r.c.length]=t);return r}return v$(),v$(),XFe}(t),u=!c.dc(),l||u){if(!(i=LL(xfe(t,G9e),149)))throw Jm(new qy("Resolved algorithm is not set; apply a LayoutAlgorithmResolver before computing layout."));if(m=gI(i,(qce(),knt)),Xee(t),!l&&u&&!m)return v$(),v$(),XFe;if(s=new $m,OI(xfe(t,Y8e))===OI((P8(),$7e))&&(gI(i,xnt)||gI(i,wnt)))for(h=Bpe(e,t),G1(d=new sS,(!t.a&&(t.a=new FF(cnt,t,10,11)),t.a));0!=d.b;)Xee(f=LL(0==d.b?null:(EP(0!=d.b),lJ(d,d.a.a)),34)),OI(xfe(f,Y8e))===OI(G7e)||hK(f,M8e)&&!zX(i,xfe(f,G9e))?(L3(s,Lwe(e,f,n,r)),Fte(f,Y8e,G7e),Age(f)):G1(d,(!f.a&&(f.a=new FF(cnt,f,10,11)),f.a));else for(h=(!t.a&&(t.a=new FF(cnt,t,10,11)),t.a).i,a=new SA((!t.a&&(t.a=new FF(cnt,t,10,11)),t.a));a.e!=a.i.gc();)L3(s,Lwe(e,o=LL(Hee(a),34),n,r)),Age(o);for(g=new td(s);g.a<g.c.c.length;)Fte(LL(xW(g),80),b9e,(_P(),!0));return Pee(t,i,a2(r,h)),function(e){var t,n,r,i,o,a,s,l;for(a=new td(e);a.a<a.c.c.length;){for(o=LL(xW(a),80),s=(r=Xoe(LL(sJ((!o.b&&(o.b=new nR(nnt,o,4,7)),o.b),0),93))).i,l=r.j,GM(i=LL(sJ((!o.a&&(o.a=new FF(int,o,6,6)),o.a),0),201),i.j+s,i.k+l),HM(i,i.b+s,i.c+l),n=new SA((!i.a&&(i.a=new hA(Jtt,i,5)),i.a));n.e!=n.i.gc();)BM(t=LL(Hee(n),463),t.a+s,t.b+l);X1(LL(xfe(o,(fxe(),n9e)),74),s,l)}}(s),u&&m?c:(v$(),v$(),XFe)}return v$(),v$(),XFe}function Nwe(e,t,n,r,i,o,a,s,l){var u,c,f,h,d,p,g;switch(d=n,vh(c=new Sne(l),(mse(),WHe)),S5(c,(hxe(),pXe),a),S5(c,(Kwe(),tJe),(joe(),vet)),g=Oy($O(e.Xe(eJe))),S5(c,eJe,g),DG(f=new Pse,c),t!=xet&&t!=_et||(d=r>0?K9(s):B8(K9(s)),e.Ze(aJe,d)),u=new hx,h=!1,e.Ye(JQe)?(iO(u,LL(e.Xe(JQe),8)),h=!0):function(e,t,n){e.a=t,e.b=n}(u,a.a/2,a.b/2),d.g){case 4:S5(c,xQe,(H9(),tYe)),S5(c,sXe,(h5(),YUe)),c.o.b=a.b,g<0&&(c.o.a=-g),mue(f,(hwe(),Oet)),h||(u.a=a.a),u.a-=a.a;break;case 2:S5(c,xQe,(H9(),rYe)),S5(c,sXe,(h5(),qUe)),c.o.b=a.b,g<0&&(c.o.a=-g),mue(f,(hwe(),Qet)),h||(u.a=0);break;case 1:S5(c,wXe,(JZ(),Wqe)),c.o.a=a.a,g<0&&(c.o.b=-g),mue(f,(hwe(),Ket)),h||(u.b=a.b),u.b-=a.b;break;case 3:S5(c,wXe,(JZ(),Hqe)),c.o.a=a.a,g<0&&(c.o.b=-g),mue(f,(hwe(),Det)),h||(u.b=0)}if(iO(f.n,u),S5(c,JQe,u),t==bet||t==yet||t==vet){if(p=0,t==bet&&e.Ye(nJe))switch(d.g){case 1:case 2:p=LL(e.Xe(nJe),20).a;break;case 3:case 4:p=-LL(e.Xe(nJe),20).a}else switch(d.g){case 4:case 2:p=o.b,t==yet&&(p/=i.b);break;case 1:case 3:p=o.a,t==yet&&(p/=i.a)}S5(c,VXe,p)}return S5(c,dXe,d),c}function jwe(e,t,n,i,o,a,s){var l,u,c,f,h,d,p,g,m,b,v,y,w,x,_,S,k,C,E,I,M,T,A,P;for(m=0,I=0,c=new td(e.b);c.a<c.c.c.length;)(u=LL(xW(c),157)).c&&Rye(u.c),m=r.Math.max(m,sj(u)),I+=sj(u)*aj(u);for(b=I/e.b.c.length,E=function(e,t){var n,i,o;for(o=0,i=new td(e);i.a<i.c.c.length;)n=LL(xW(i),157),o+=r.Math.pow(sj(n)*aj(n)-t,2);return r.Math.sqrt(o/(e.c.length-1))}(e.b,b),I+=e.b.c.length*E,m=r.Math.max(m,r.Math.sqrt(I*s))+n.b,A=n.b,P=n.d,p=0,h=n.b+n.c,bN(C=new sS,k8(0)),S=new sS,f=new eU(e.b,0),g=null,l=new $m;f.b<f.d.gc();)EP(f.b<f.d.gc()),T=sj(u=LL(f.d.Xb(f.c=f.b++),157)),d=aj(u),A+T>m&&(a&&(ZI(S,p),ZI(C,k8(f.b-1)),RL(e.d,g),l.c=fK(pje,zxe,1,0,5,1)),A=n.b,P+=p+t,p=0,h=r.Math.max(h,n.b+n.c+T)),l.c[l.c.length]=u,xte(u,A,P),h=r.Math.max(h,A+T+n.c),p=r.Math.max(p,d),A+=T+t,g=u;if(L3(e.a,l),RL(e.d,LL(JN(l,l.c.length-1),157)),h=r.Math.max(h,i),(M=P+p+n.a)<o&&(p+=o-M,M=o),a)for(A=n.b,f=new eU(e.b,0),ZI(C,k8(e.b.c.length)),y=LL(BU(k=cte(C,0)),20).a,ZI(S,p),_=cte(S,0),x=0;f.b<f.d.gc();)f.b==y&&(A=n.b,x=Oy($O(BU(_))),y=LL(BU(k),20).a),EP(f.b<f.d.gc()),See(u=LL(f.d.Xb(f.c=f.b++),157),x),f.b==y&&(v=h-A-n.c,w=sj(u),kee(u,v),Q8(u,(v-w)/2,0)),A+=sj(u)+t;return new YE(h,M)}function Fwe(e,t,n){var i,o,a,s,l,u,c,f,h,d,p,g,m;if(i=new $m,o=Dxe,a=Dxe,s=Dxe,n)for(o=e.f.a,g=new td(t.j);g.a<g.c.c.length;)for(u=new td(LL(xW(g),11).g);u.a<u.c.c.length;)0!=(l=LL(xW(u),18)).a.b&&((f=LL(GP(l.a),8)).a<o&&(a=o-f.a,s=Dxe,i.c=fK(pje,zxe,1,0,5,1),o=f.a),f.a<=o&&(i.c[i.c.length]=l,l.a.b>1&&(s=r.Math.min(s,r.Math.abs(LL(bte(l.a,1),8).b-f.b)))));else for(g=new td(t.j);g.a<g.c.c.length;)for(u=new td(LL(xW(g),11).e);u.a<u.c.c.length;)0!=(l=LL(xW(u),18)).a.b&&((d=LL(HP(l.a),8)).a>o&&(a=d.a-o,s=Dxe,i.c=fK(pje,zxe,1,0,5,1),o=d.a),d.a>=o&&(i.c[i.c.length]=l,l.a.b>1&&(s=r.Math.min(s,r.Math.abs(LL(bte(l.a,l.a.b-2),8).b-d.b)))));if(0!=i.c.length&&a>t.o.a/2&&s>t.o.b/2){for(DG(p=new Pse,t),mue(p,(hwe(),Det)),p.n.a=t.o.a/2,DG(m=new Pse,t),mue(m,Ket),m.n.a=t.o.a/2,m.n.b=t.o.b,u=new td(i);u.a<u.c.c.length;)l=LL(xW(u),18),n?(c=LL(CL(l.a),8),(0==l.a.b?tW(l.d):LL(GP(l.a),8)).b>=c.b?PG(l,m):PG(l,p)):(c=LL(EL(l.a),8),(0==l.a.b?tW(l.c):LL(HP(l.a),8)).b>=c.b?AG(l,m):AG(l,p)),(h=LL(Fae(l,(Kwe(),vQe)),74))&&l7(h,c,!0);t.n.a=o-t.o.a/2}}function zwe(e,t,n){var r,i,o,a,s,l,u,c,f,h,d;if(null,u=t,z0(l=aq(e,iq(n),u),AU(u,IDe)),c=LL(cJ(e.g,Pue(xH(u,lDe))),34),r=null,(a=xH(u,"sourcePort"))&&(r=Pue(a)),f=LL(cJ(e.j,r),122),!c)throw Jm(new Yy("An edge must have a source node (edge id: '"+oee(u)+ODe));if(f&&!IB($H(f),c))throw Jm(new Yy("The source port of an edge must be a port of the edge's source node (edge id: '"+AU(u,IDe)+ODe));if(!l.b&&(l.b=new nR(nnt,l,4,7)),null,AK(l.b,f||c),h=LL(cJ(e.g,Pue(xH(u,LDe))),34),i=null,(s=xH(u,"targetPort"))&&(i=Pue(s)),d=LL(cJ(e.j,i),122),!h)throw Jm(new Yy("An edge must have a target node (edge id: '"+oee(u)+ODe));if(d&&!IB($H(d),h))throw Jm(new Yy("The target port of an edge must be a port of the edge's target node (edge id: '"+AU(u,IDe)+ODe));if(!l.c&&(l.c=new nR(nnt,l,5,8)),null,AK(l.c,d||h),0==(!l.b&&(l.b=new nR(nnt,l,4,7)),l.b).i||0==(!l.c&&(l.c=new nR(nnt,l,5,8)),l.c).i)throw o=AU(u,IDe),Jm(new Yy(PDe+o+ODe));return oae(u,l),Mfe(u,l),H5(e,u,l)}function Bwe(e,t){var n,i,o,a,s,l,u,c,f,h,d,p,g,m,b,v,y,w,x,_,S,k,C,E,I;return h=function(e,t){var n,i,o,a,s,l,u,c,f,h,d;if(e.dc())return new hx;for(u=0,f=0,i=e.Ic();i.Ob();)o=LL(i.Pb(),38).f,u=r.Math.max(u,o.a),f+=o.a*o.b;for(u=r.Math.max(u,r.Math.sqrt(f)*Oy($O(Fae(LL(e.Ic().Pb(),38),(Kwe(),AZe))))),h=0,d=0,l=0,n=t,s=e.Ic();s.Ob();)h+(c=(a=LL(s.Pb(),38)).f).a>u&&(h=0,d+=l+t,l=0),oge(a,h,d),n=r.Math.max(n,h+c.a),l=r.Math.max(l,c.b),h+=c.a+t;return new YE(n+t,d+l+t)}(mP(e,(hwe(),Fet)),t),g=xre(mP(e,zet),t),x=xre(mP(e,qet),t),C=_re(mP(e,Yet),t),d=_re(mP(e,Ret),t),y=xre(mP(e,Uet),t),m=xre(mP(e,Bet),t),S=xre(mP(e,Xet),t),_=xre(mP(e,Let),t),E=_re(mP(e,jet),t),v=xre(mP(e,Get),t),w=xre(mP(e,Het),t),k=xre(mP(e,Net),t),I=_re(mP(e,Wet),t),p=_re(mP(e,Vet),t),b=xre(mP(e,$et),t),n=$5(q3(lw(aat,1),BSe,24,15,[y.a,C.a,S.a,I.a])),i=$5(q3(lw(aat,1),BSe,24,15,[g.a,h.a,x.a,b.a])),o=v.a,a=$5(q3(lw(aat,1),BSe,24,15,[m.a,d.a,_.a,p.a])),c=$5(q3(lw(aat,1),BSe,24,15,[y.b,g.b,m.b,w.b])),u=$5(q3(lw(aat,1),BSe,24,15,[C.b,h.b,d.b,b.b])),f=E.b,l=$5(q3(lw(aat,1),BSe,24,15,[S.b,x.b,_.b,k.b])),RK(mP(e,Fet),n+o,c+f),RK(mP(e,$et),n+o,c+f),RK(mP(e,zet),n+o,0),RK(mP(e,qet),n+o,c+f+u),RK(mP(e,Yet),0,c+f),RK(mP(e,Ret),n+o+i,c+f),RK(mP(e,Bet),n+o+i,0),RK(mP(e,Xet),0,c+f+u),RK(mP(e,Let),n+o+i,c+f+u),RK(mP(e,jet),0,c),RK(mP(e,Get),n,0),RK(mP(e,Net),0,c+f+u),RK(mP(e,Vet),n+o+i,0),(s=new hx).a=$5(q3(lw(aat,1),BSe,24,15,[n+i+o+a,E.a,w.a,k.a])),s.b=$5(q3(lw(aat,1),BSe,24,15,[c+u+f+l,v.b,I.b,p.b])),s}function Vwe(e,t,n){var i,o,a,s,l,u,c;if(qoe(n,"Network simplex node placement",1),e.e=t,e.n=LL(Fae(t,(hxe(),qXe)),302),function(e){var t,n,i,o,a,s,l,u,c,f,h,d;for(e.f=new Rb,l=0,i=0,o=new td(e.e.b);o.a<o.c.c.length;)for(s=new td(LL(xW(o),29).a);s.a<s.c.c.length;){for((a=LL(xW(s),10)).p=l++,n=new xF(BA(g9(a).a.Ic(),new p));Zce(n);)LL(dX(n),18).p=i++;for(t=pve(a),f=new td(a.j);f.a<f.c.c.length;)c=LL(xW(f),11),t&&(d=c.a.b)!=r.Math.floor(d)&&(u=d-GW(I2(r.Math.round(d))),c.a.b-=u),(h=c.n.b+c.a.b)!=r.Math.floor(h)&&(u=h-GW(I2(r.Math.round(h))),c.n.b-=u)}e.g=l,e.b=i,e.i=fK(H1e,zxe,397,l,0,1),e.c=fK($1e,zxe,639,i,0,1),e.d.a.$b()}(e),function(e){var t;for(t=new td(e.e.b);t.a<t.c.c.length;)Nye(e,LL(xW(t),29));lS(_V(aQ(aQ(new cj(null,new ZG(e.e.b,16)),new Go),new Ko),new Zo),new yg(e))}(e),lS(aQ(new cj(null,new ZG(e.e.b,16)),new Do),new pg(e)),lS(_V(aQ(_V(aQ(new cj(null,new ZG(e.e.b,16)),new Qo),new Jo),new ea),new ta),new dg(e)),Ty(VO(Fae(e.e,(Kwe(),LQe))))&&(qoe(a=a2(n,1),"Straight Edges Pre-Processing",1),function(e){var t,n,i,o,a,s,l,u,c,f;for(e.j=fK(nat,sSe,24,e.g,15,1),e.o=new $m,lS(aQ(new cj(null,new ZG(e.e.b,16)),new Wo),new mg(e)),e.a=fK(rat,Kke,24,e.b,16,1),i8(new cj(null,new ZG(e.e.b,16)),new vg(e)),f=new $m,lS(_V(aQ(new cj(null,new ZG(e.e.b,16)),new qo),new bg(e)),new KC(e,f)),l=new td(f);l.a<l.c.c.length;)if(!((s=LL(xW(l),500)).c.length<=1))if(2!=s.c.length){if(!Roe(s)&&!Sle(s,new Uo))for(u=new td(s),i=null;u.a<u.c.c.length;)t=LL(xW(u),18),n=e.c[t.p],c=!i||u.a>=u.c.c.length?Lq((mse(),XHe),qHe):Lq((mse(),qHe),qHe),c*=2,o=n.a.g,n.a.g=r.Math.max(o,o+(c-o)),a=n.b.g,n.b.g=r.Math.max(a,a+(c-a)),i=t}else pfe(s),pve((MG(0,s.c.length),LL(s.c[0],18)).d.i)||RL(e.o,s)}(e),_se(a)),mne(e.f),o=LL(Fae(t,DJe),20).a*e.f.a.c.length,Lge(kw(Cw(HR(e.f),o),!1),a2(n,1)),0!=e.d.a.gc()){for(qoe(a=a2(n,1),"Flexible Where Space Processing",1),s=LL(cP(EF(SV(new cj(null,new ZG(e.f.a,16)),new No),new Io)),20).a,l=LL(cP(CF(SV(new cj(null,new ZG(e.f.a,16)),new jo),new Mo)),20).a-s,u=dP(new jb,e.f),c=dP(new jb,e.f),Yhe(mS(gS(pS(bS(new Nb,2e4),l),u),c)),lS(_V(_V(vz(e.i),new Fo),new zo),new LV(s,u,l,c)),i=e.d.a.ec().Ic();i.Ob();)LL(i.Pb(),211).g=1;Lge(kw(Cw(HR(e.f),o),!1),a2(a,1)),_se(a)}Ty(VO(Fae(t,LQe)))&&(qoe(a=a2(n,1),"Straight Edges Post-Processing",1),function(e){var t,n,r;for(G1(n=new sS,e.o),r=new iv;0!=n.b;)Ewe(e,t=LL(0==n.b?null:(EP(0!=n.b),lJ(n,n.a.a)),500),!0)&&RL(r.a,t);for(;0!=r.a.c.length;)Ewe(e,t=LL(O4(r),500),!1)}(e),_se(a)),function(e){var t,n,r,i,o,a,s,l,u,c,f,h,d,p,g;for(n=new td(e.e.b);n.a<n.c.c.length;)for(i=new td(LL(xW(n),29).a);i.a<i.c.c.length;)if(r=LL(xW(i),10),l=(f=e.i[r.p]).a.e,s=f.d.e,r.n.b=l,g=s-l-r.o.b,t=pve(r),rne(),c=(r.q?r.q:(v$(),v$(),YFe))._b((Kwe(),jQe))?LL(Fae(r,jQe),196):LL(Fae(jB(r),FQe),196),t&&(c==r0e||c==n0e)&&(r.o.b+=g),t&&(c==o0e||c==r0e||c==n0e)){for(d=new td(r.j);d.a<d.c.c.length;)h=LL(xW(d),11),(hwe(),jet).Fc(h.j)&&(u=LL(aB(e.k,h),119),h.n.b=u.e-l);for(a=new td(r.b);a.a<a.c.c.length;)o=LL(xW(a),69),(p=LL(Fae(r,OQe),21)).Fc((Sfe(),iet))?o.n.b+=g:p.Fc(oet)&&(o.n.b+=g/2);(c==r0e||c==n0e)&&i9(r,(hwe(),Ket)).Hc(new gg(g))}}(e),e.e=null,e.f=null,e.i=null,e.c=null,JF(e.k),e.j=null,e.a=null,e.o=null,e.d.a.$b(),_se(n)}function $we(e,t,n){var i,o,a,s,l,u,c,f,h,d,p,g,m,b,v,y,w,x;for(s=new td(e.a.b);s.a<s.c.c.length;)for(y=new td(LL(xW(s),29).a);y.a<y.c.c.length;)v=LL(xW(y),10),t.g[v.p]=v,t.a[v.p]=v,t.d[v.p]=0;for(l=e.a.b,t.c==(sH(),W1e)&&(l=BT(l,151)?QX(LL(l,151)):BT(l,131)?LL(l,131).a:BT(l,53)?new ry(l):new O_(l)),a=l.Ic();a.Ob();)for(d=-1,h=LL(a.Pb(),29).a,t.o==(YH(),Y1e)&&(d=Dxe,h=BT(h,151)?QX(LL(h,151)):BT(h,131)?LL(h,131).a:BT(h,53)?new ry(h):new O_(h)),x=h.Ic();x.Ob();)if(w=LL(x.Pb(),10),f=null,(f=t.c==W1e?LL(JN(e.b.f,w.p),14):LL(JN(e.b.b,w.p),14)).gc()>0)if(i=f.gc(),u=IH(r.Math.floor((i+1)/2))-1,o=IH(r.Math.ceil((i+1)/2))-1,t.o==Y1e)for(c=o;c>=u;c--)t.a[w.p]==w&&(g=LL(f.Xb(c),46),p=LL(g.a,10),!X_(n,g.b)&&d>e.b.e[p.p]&&(t.a[p.p]=w,t.g[w.p]=t.g[p.p],t.a[w.p]=t.g[w.p],t.f[t.g[w.p].p]=(_P(),!!(Ty(t.f[t.g[w.p].p])&w.k==(mse(),qHe))),d=e.b.e[p.p]));else for(c=u;c<=o;c++)t.a[w.p]==w&&(b=LL(f.Xb(c),46),m=LL(b.a,10),!X_(n,b.b)&&d<e.b.e[m.p]&&(t.a[m.p]=w,t.g[w.p]=t.g[m.p],t.a[w.p]=t.g[w.p],t.f[t.g[w.p].p]=(_P(),!!(Ty(t.f[t.g[w.p].p])&w.k==(mse(),qHe))),d=e.b.e[m.p]))}function Hwe(){Hwe=S,kx(),Ktt=ztt.a,LL(sJ(k$(ztt.a),0),17),Gtt=ztt.f,LL(sJ(k$(ztt.f),0),17),LL(sJ(k$(ztt.f),1),32),Ytt=ztt.n,LL(sJ(k$(ztt.n),0),32),LL(sJ(k$(ztt.n),1),32),LL(sJ(k$(ztt.n),2),32),LL(sJ(k$(ztt.n),3),32),Wtt=ztt.g,LL(sJ(k$(ztt.g),0),17),LL(sJ(k$(ztt.g),1),32),Vtt=ztt.c,LL(sJ(k$(ztt.c),0),17),LL(sJ(k$(ztt.c),1),17),Utt=ztt.i,LL(sJ(k$(ztt.i),0),17),LL(sJ(k$(ztt.i),1),17),LL(sJ(k$(ztt.i),2),17),LL(sJ(k$(ztt.i),3),17),LL(sJ(k$(ztt.i),4),32),qtt=ztt.j,LL(sJ(k$(ztt.j),0),17),$tt=ztt.d,LL(sJ(k$(ztt.d),0),17),LL(sJ(k$(ztt.d),1),17),LL(sJ(k$(ztt.d),2),17),LL(sJ(k$(ztt.d),3),17),LL(sJ(k$(ztt.d),4),32),LL(sJ(k$(ztt.d),5),32),LL(sJ(k$(ztt.d),6),32),LL(sJ(k$(ztt.d),7),32),Btt=ztt.b,LL(sJ(k$(ztt.b),0),32),LL(sJ(k$(ztt.b),1),32),Htt=ztt.e,LL(sJ(k$(ztt.e),0),32),LL(sJ(k$(ztt.e),1),32),LL(sJ(k$(ztt.e),2),32),LL(sJ(k$(ztt.e),3),32),LL(sJ(k$(ztt.e),4),17),LL(sJ(k$(ztt.e),5),17),LL(sJ(k$(ztt.e),6),17),LL(sJ(k$(ztt.e),7),17),LL(sJ(k$(ztt.e),8),17),LL(sJ(k$(ztt.e),9),17),LL(sJ(k$(ztt.e),10),32),Xtt=ztt.k,LL(sJ(k$(ztt.k),0),32),LL(sJ(k$(ztt.k),1),32)}function Gwe(e){var t,n,r,i,o;switch(t=e.c){case 11:return e.Hl();case 12:return e.Jl();case 14:return e.Ll();case 15:return e.Ol();case 16:return e.Ml();case 17:return e.Pl();case 21:return ixe(e),gxe(),gxe(),Oot;case 10:switch(e.a){case 65:return e.tl();case 90:return e.yl();case 122:return e.Fl();case 98:return e.zl();case 66:return e.ul();case 60:return e.El();case 62:return e.Cl()}}switch(o=function(e){var t,n,r,i;switch(i=null,e.c){case 6:return e.Ql();case 13:return e.Rl();case 23:return e.Il();case 22:return e.Nl();case 18:return e.Kl();case 8:ixe(e),gxe(),i=Pot;break;case 9:return e.ql(!0);case 19:return e.rl();case 10:switch(e.a){case 100:case 68:case 119:case 87:case 115:case 83:return i=e.pl(e.a),ixe(e),i;case 101:case 102:case 110:case 114:case 116:case 117:case 118:case 120:(t=e.ol())<FSe?(gxe(),gxe(),i=new vj(0,t)):i=oF(m9(t));break;case 99:return e.Al();case 67:return e.vl();case 105:return e.Dl();case 73:return e.wl();case 103:return e.Bl();case 88:return e.xl();case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return e.sl();case 80:case 112:if(!(i=jue(e,e.a)))throw Jm(new Zy(wxe((pT(),dRe))));break;default:i=lN(e.a)}ixe(e);break;case 0:if(93==e.a||123==e.a||125==e.a)throw Jm(new Zy(wxe((pT(),hRe))));i=lN(e.a),n=e.a,ixe(e),(64512&n)==zSe&&0==e.c&&56320==(64512&e.a)&&((r=fK(tat,q_e,24,2,15,1))[0]=n&X_e,r[1]=e.a&X_e,i=az(oF(lee(r,0,r.length)),0),ixe(e));break;default:throw Jm(new Zy(wxe((pT(),hRe))))}return i}(e),t=e.c){case 3:return e.Ul(o);case 4:return e.Sl(o);case 5:return e.Tl(o);case 0:if(123==e.a&&e.d<e.j){if(i=e.d,r=0,n=-1,!((t=dV(e.i,i++))>=48&&t<=57))throw Jm(new Zy(wxe((pT(),ARe))));for(r=t-48;i<e.j&&(t=dV(e.i,i++))>=48&&t<=57;)if((r=10*r+t-48)<0)throw Jm(new Zy(wxe((pT(),RRe))));if(n=r,44==t){if(i>=e.j)throw Jm(new Zy(wxe((pT(),ORe))));if((t=dV(e.i,i++))>=48&&t<=57){for(n=t-48;i<e.j&&(t=dV(e.i,i++))>=48&&t<=57;)if((n=10*n+t-48)<0)throw Jm(new Zy(wxe((pT(),RRe))));if(r>n)throw Jm(new Zy(wxe((pT(),DRe))))}else n=-1}if(125!=t)throw Jm(new Zy(wxe((pT(),PRe))));e.nl(i)?(gxe(),gxe(),o=new _q(9,o),e.d=i+1):(gxe(),gxe(),o=new _q(3,o),e.d=i),o.$l(r),o.Zl(n),ixe(e)}}return o}function Wwe(e,t,n,r,i){var o,a,s,l,u,c,f,h,d,p,g,m,b,v,y,w,x,_,S,k,C;for(p=new LY(t.b),v=new LY(t.b),h=new LY(t.b),_=new LY(t.b),g=new LY(t.b),x=cte(t,0);x.b!=x.d.c;)for(s=new td((y=LL(BU(x),11)).g);s.a<s.c.c.length;)if((o=LL(xW(s),18)).c.i==o.d.i){if(y.j==o.d.j){_.c[_.c.length]=o;continue}if(y.j==(hwe(),Det)&&o.d.j==Ket){g.c[g.c.length]=o;continue}}for(l=new td(g);l.a<l.c.c.length;)ume(e,o=LL(xW(l),18),n,r,(hwe(),Oet));for(a=new td(_);a.a<a.c.c.length;)o=LL(xW(a),18),vh(S=new Sne(e),(mse(),YHe)),S5(S,(Kwe(),tJe),(joe(),vet)),S5(S,(hxe(),OXe),o),S5(k=new Pse,OXe,o.d),mue(k,(hwe(),Qet)),DG(k,S),S5(C=new Pse,OXe,o.c),mue(C,Oet),DG(C,S),S5(o.c,BXe,S),S5(o.d,BXe,S),PG(o,null),AG(o,null),n.c[n.c.length]=S,S5(S,iXe,k8(2));for(w=cte(t,0);w.b!=w.d.c;)u=(y=LL(BU(w),11)).e.c.length>0,m=y.g.c.length>0,u&&m?h.c[h.c.length]=y:u?p.c[p.c.length]=y:m&&(v.c[v.c.length]=y);for(d=new td(p);d.a<d.c.c.length;)RL(i,zbe(e,LL(xW(d),11),null,n));for(b=new td(v);b.a<b.c.c.length;)RL(i,zbe(e,null,LL(xW(b),11),n));for(f=new td(h);f.a<f.c.c.length;)RL(i,zbe(e,c=LL(xW(f),11),c,n))}function Uwe(e){var t,n,i,o,a,s,l,u,c,f,h,d,p,g,m,b,v,y,w,x,_,S;for(g=new YE(RSe,RSe),t=new YE(LSe,LSe),x=new td(e);x.a<x.c.c.length;)w=LL(xW(x),8),g.a=r.Math.min(g.a,w.a),g.b=r.Math.min(g.b,w.b),t.a=r.Math.max(t.a,w.a),t.b=r.Math.max(t.b,w.b);for(u=new YE(t.a-g.a,t.b-g.b),c=new ibe(new YE(g.a-50,g.b-u.a-50),new YE(g.a-50,t.b+u.a+50),new YE(t.a+u.b/2+50,g.b+u.b/2)),y=new Pb,o=new $m,n=new $m,y.a.xc(c,y),S=new td(e);S.a<S.c.c.length;){for(_=LL(xW(S),8),o.c=fK(pje,zxe,1,0,5,1),v=y.a.ec().Ic();v.Ob();)wK((m=LL(v.Pb(),306)).d,m.a),X9(wK(m.d,_),wK(m.d,m.a))<0&&(o.c[o.c.length]=m);for(n.c=fK(pje,zxe,1,0,5,1),b=new td(o);b.a<b.c.c.length;)for(d=new td((m=LL(xW(b),306)).e);d.a<d.c.c.length;){for(f=LL(xW(d),168),a=!0,l=new td(o);l.a<l.c.c.length;)(s=LL(xW(l),306))!=m&&(cV(f,JN(s.e,0))||cV(f,JN(s.e,1))||cV(f,JN(s.e,2)))&&(a=!1);a&&(n.c[n.c.length]=f)}for(kae(y,o),yX(y,new ce),h=new td(n);h.a<h.c.c.length;)uz(y,new ibe(_,(f=LL(xW(h),168)).a,f.b))}for(yX(y,new Pd(p=new Pb)),i=p.a.ec().Ic();i.Ob();)(HZ(c,(f=LL(i.Pb(),168)).a)||HZ(c,f.b))&&i.Qb();return yX(p,new fe),p}function qwe(e,t,n,r){var i,o,a,s,l,u,c,f,h,d;for(f=!1,u=e+1,MG(e,t.c.length),a=(c=LL(t.c[e],180)).a,s=null,o=0;o<c.a.c.length;o++)if(MG(o,a.c.length),!(i=LL(a.c[o],181)).c)if(0!=i.b.c.length){if(i.k||(s&&R7(s),gne(i,(s=new Hj(s?s.d+s.c:0,c.e)).d+s.c,c.e),RL(c.c,s),wq(s,i),i.k=!0),l=null,d=null,o<c.a.c.length-1?d=LL(JN(c.a,o+1),181):u<t.c.length&&0!=(MG(u,t.c.length),LL(t.c[u],180)).a.c.length&&(d=LL(JN((MG(u,t.c.length),LL(t.c[u],180)).a,0),181)),h=!1,(l=d)&&(h=!l8(l.j,c)),l){if(0==l.b.c.length){Eee(c,l);break}for(pbe(i,n-i.s,!0),R7(i.q),f|=use(c,i,l,n,r);0==l.b.c.length;){for(Eee((MG(u,t.c.length),LL(t.c[u],180)),l);t.c.length>u&&0==(MG(u,t.c.length),LL(t.c[u],180)).a.c.length;)yZ(t,(MG(u,t.c.length),t.c[u]));if(!(t.c.length>u)){l=null;break}l=LL(JN((MG(u,t.c.length),LL(t.c[u],180)).a,0),181)}if(!l)continue;if(pge(t,c,i,l,h,n,u)){f=!0;continue}if(h){if(Ybe(t,c,i,l,n,u)){f=!0;continue}if(y6(c,i)){i.c=!0,f=!0;continue}}else if(y6(c,i)){i.c=!0,f=!0;continue}if(f)continue}y6(c,i)?(i.c=!0,f=!0,l&&(l.k=!1)):R7(i.q)}else Q_(),Eee(c,i),--o,f=!0;return f}function Xwe(e,t,n){var r,i,o,a,s,l,u,c,f,h,d,p,g,m;if(null==n)return null;if(e.a!=t.vj())throw Jm(new Ny(eDe+t.ne()+tDe));if(BT(t,450)){if(g=function(e,t){var n,r,i;if(null==t){for(!e.a&&(e.a=new FF(mrt,e,9,5)),r=new SA(e.a);r.e!=r.i.gc();)if(null==(null==(i=(n=LL(Hee(r),666)).c)?n.zb:i))return n}else for(!e.a&&(e.a=new FF(mrt,e,9,5)),r=new SA(e.a);r.e!=r.i.gc();)if(fR(t,null==(i=(n=LL(Hee(r),666)).c)?n.zb:i))return n;return null}(LL(t,659),n),!g)throw Jm(new Ny(nDe+n+"' is not a valid enumerator of '"+t.ne()+"'"));return g}switch(r8((vle(),Sit),t).Zk()){case 2:n=Nbe(n,!1);break;case 3:n=Nbe(n,!0)}if(r=r8(Sit,t).Vk())return r.vj().Ih().Fh(r,n);if(f=r8(Sit,t).Xk()){for(g=new $m,u=0,c=(l=x4(n)).length;u<c;++u)s=l[u],RL(g,f.vj().Ih().Fh(f,s));return g}if(!(p=r8(Sit,t).Yk()).dc()){for(d=p.Ic();d.Ob();){h=LL(d.Pb(),148);try{if(null!=(g=h.vj().Ih().Fh(h,n)))return g}catch(m){if(!BT(m=v3(m),59))throw Jm(m)}}throw Jm(new Ny(nDe+n+"' does not match any member types of the union datatype '"+t.ne()+"'"))}if(LL(t,813).Aj(),!(i=(m=t.wj())?0!=(1&m.i)?m==rat?oFe:m==nat?gFe:m==sat?hFe:m==aat?fFe:m==iat?bFe:m==lat?SFe:m==oat?lFe:cFe:m:null))return null;if(i==cFe){o=0;try{o=Hge(n,F_e,Dxe)&X_e}catch(m){if(!BT(m=v3(m),127))throw Jm(m);o=BZ(n)[0]}return Y3(o)}if(i==Uje){for(a=0;a<dnt.length;++a)try{return US(dnt[a],n)}catch(m){if(!BT(m=v3(m),31))throw Jm(m)}throw Jm(new Ny(nDe+n+"' is not a date formatted string of the form yyyy-MM-dd'T'HH:mm:ss'.'SSSZ or a valid subset thereof"))}throw Jm(new Ny(nDe+n+"' is invalid. "))}function Ywe(){Ywe=S,Yue(zHe=new yH,(hwe(),Fet),$et),Yue(zHe,Yet,$et),Yue(zHe,Yet,Wet),Yue(zHe,Ret,Vet),Yue(zHe,Ret,$et),Yue(zHe,zet,$et),Yue(zHe,zet,Het),Yue(zHe,qet,Net),Yue(zHe,qet,$et),Yue(zHe,Get,jet),Yue(zHe,Get,$et),Yue(zHe,Get,Het),Yue(zHe,Get,Net),Yue(zHe,jet,Get),Yue(zHe,jet,Wet),Yue(zHe,jet,Vet),Yue(zHe,jet,$et),Yue(zHe,Uet,Uet),Yue(zHe,Uet,Het),Yue(zHe,Uet,Wet),Yue(zHe,Bet,Bet),Yue(zHe,Bet,Het),Yue(zHe,Bet,Vet),Yue(zHe,Xet,Xet),Yue(zHe,Xet,Net),Yue(zHe,Xet,Wet),Yue(zHe,Let,Let),Yue(zHe,Let,Net),Yue(zHe,Let,Vet),Yue(zHe,Het,zet),Yue(zHe,Het,Get),Yue(zHe,Het,Uet),Yue(zHe,Het,Bet),Yue(zHe,Het,$et),Yue(zHe,Het,Het),Yue(zHe,Het,Wet),Yue(zHe,Het,Vet),Yue(zHe,Net,qet),Yue(zHe,Net,Get),Yue(zHe,Net,Xet),Yue(zHe,Net,Let),Yue(zHe,Net,Net),Yue(zHe,Net,Wet),Yue(zHe,Net,Vet),Yue(zHe,Net,$et),Yue(zHe,Wet,Yet),Yue(zHe,Wet,jet),Yue(zHe,Wet,Uet),Yue(zHe,Wet,Xet),Yue(zHe,Wet,Het),Yue(zHe,Wet,Net),Yue(zHe,Wet,Wet),Yue(zHe,Wet,$et),Yue(zHe,Vet,Ret),Yue(zHe,Vet,jet),Yue(zHe,Vet,Bet),Yue(zHe,Vet,Let),Yue(zHe,Vet,Het),Yue(zHe,Vet,Net),Yue(zHe,Vet,Vet),Yue(zHe,Vet,$et),Yue(zHe,$et,Fet),Yue(zHe,$et,Yet),Yue(zHe,$et,Ret),Yue(zHe,$et,zet),Yue(zHe,$et,qet),Yue(zHe,$et,Get),Yue(zHe,$et,jet),Yue(zHe,$et,Het),Yue(zHe,$et,Net),Yue(zHe,$et,Wet),Yue(zHe,$et,Vet),Yue(zHe,$et,$et)}function Kwe(){Kwe=S,fxe(),mJe=q9e,bJe=X9e,vJe=Y9e,yJe=K9e,xJe=Z9e,_Je=Q9e,CJe=e7e,IJe=n7e,EJe=t7e,MJe=r7e,AJe=i7e,OJe=s7e,kJe=J9e,dxe(),gJe=WKe,wJe=UKe,SJe=qKe,TJe=XKe,uJe=new cT($9e,k8(0)),cJe=$Ke,fJe=HKe,hJe=GKe,HJe=vZe,LJe=ZKe,NJe=eZe,zJe=lZe,jJe=rZe,FJe=oZe,WJe=SZe,GJe=wZe,VJe=pZe,BJe=hZe,$Je=mZe,jQe=DKe,FQe=RKe,oQe=WYe,aQe=XYe,WQe=new sT(12),GQe=new cT(v9e,WQe),$9(),eQe=new cT(G8e,tQe=w7e),eJe=new cT(P9e,0),dJe=new cT(H9e,k8(1)),AZe=new cT(P8e,hEe),HQe=b9e,tJe=O9e,aJe=z9e,UZe=F8e,MZe=T8e,uQe=Y8e,pJe=new cT(U9e,(_P(),!0)),pQe=Q8e,gQe=J8e,BQe=c9e,$Qe=g9e,A8(),qZe=new cT(z8e,YZe=h7e),OQe=l9e,PQe=a9e,iJe=N9e,rJe=L9e,oJe=F9e,pte(),new cT(k9e,XQe=pet),KQe=I9e,ZQe=M9e,QQe=T9e,YQe=E9e,RJe=KKe,IQe=vKe,EQe=mKe,DJe=YKe,xQe=lKe,WZe=PYe,GZe=TYe,jZe=gYe,zZe=wYe,FZe=mYe,HZe=IYe,TQe=wKe,AQe=xKe,bQe=tKe,zQe=FKe,RQe=CKe,lQe=ZYe,NQe=PKe,rQe=VYe,iQe=HYe,NZe=N8e,DQe=_Ke,RZe=fYe,DZe=uYe,OZe=lYe,fQe=JYe,cQe=QYe,hQe=eKe,VQe=d9e,vQe=n9e,sQe=U8e,QZe=$8e,ZZe=V8e,BZe=SYe,nJe=R9e,PZe=L8e,dQe=Z8e,JQe=A9e,UQe=w9e,qQe=_9e,SQe=fKe,kQe=dKe,lJe=V9e,TZe=sYe,CQe=gKe,JZe=jYe,KZe=LYe,MQe=i9e,yQe=oKe,LQe=MKe,PJe=o7e,XZe=DYe,sJe=BKe,nQe=zYe,wQe=sKe,VZe=CYe,mQe=t9e,_Qe=cKe,$Ze=EYe,LZe=dYe}function Zwe(e,t,n){var i,o,a,s,l,u,c,f,h,d,p,g,m,b,v,y,w,x,_,S,k;for(e.d=new YE(RSe,RSe),e.c=new YE(LSe,LSe),h=t.Ic();h.Ob();)for(y=new td(LL(h.Pb(),38).a);y.a<y.c.c.length;)v=LL(xW(y),10),e.d.a=r.Math.min(e.d.a,v.n.a-v.d.b),e.d.b=r.Math.min(e.d.b,v.n.b-v.d.d),e.c.a=r.Math.max(e.c.a,v.n.a+v.o.a+v.d.c),e.c.b=r.Math.max(e.c.b,v.n.b+v.o.b+v.d.a);for(l=new Wb,f=t.Ic();f.Ob();)i=Dwe(e,LL(f.Pb(),38)),RL(l.a,i),i.a=i.a|!LL(Fae(i.c,(hxe(),cXe)),21).dc();for(e.b=(p6(),(k=new vt).f=new D0(n),k.b=aye(k.f,l),k),dye((p=e.b,new qv,p)),e.e=new hx,e.a=e.b.f.e,s=new td(l.a);s.a<s.c.c.length;)for(o=LL(xW(s),820),w=AH(e.b,o),age(o.c,w.a,w.b),m=new td(o.c.a);m.a<m.c.c.length;)(g=LL(xW(m),10)).k==(mse(),WHe)&&(b=ohe(e,g.n,LL(Fae(g,(hxe(),dXe)),61)),BD(nM(g.n),b));for(a=new td(l.a);a.a<a.c.c.length;)for(c=new td(R8(o=LL(xW(a),820)));c.a<c.c.c.length;)for(TO(S=new lx((u=LL(xW(c),18)).a),0,tW(u.c)),bN(S,tW(u.d)),d=null,_=cte(S,0);_.b!=_.d.c;)x=LL(BU(_),8),d?(TJ(d.a,x.a)?(e.e.a=r.Math.min(e.e.a,d.a),e.a.a=r.Math.max(e.a.a,d.a)):TJ(d.b,x.b)&&(e.e.b=r.Math.min(e.e.b,d.b),e.a.b=r.Math.max(e.a.b,d.b)),d=x):d=x;oO(e.e),BD(e.a,e.e)}function Qwe(e,t,n){var r,i,o,a,s,l,u,c,f,h,d,p,g,m,b,v,y,w,x;if(!t.dc()){if(i=new bv,f=(a=n||LL(t.Xb(0),18)).c,gde(),(u=f.i.k)!=(mse(),XHe)&&u!=YHe&&u!=WHe&&u!=GHe)throw Jm(new Ny("The target node of the edge must be a normal node or a northSouthPort."));for(ZI(i,V5(q3(lw(J6e,1),s_e,8,0,[f.i.n,f.n,f.a]))),(hwe(),Get).Fc(f.j)&&(d=Oy($O(Fae(f,(hxe(),YXe)))),jq(i,new YE(V5(q3(lw(J6e,1),s_e,8,0,[f.i.n,f.n,f.a])).a,d),i.c.b,i.c)),l=null,r=!1,s=t.Ic();s.Ob();)0!=(o=LL(s.Pb(),18).a).b&&(r?(jq(i,cA(BD(l,(EP(0!=o.b),LL(o.a.a.c,8))),.5),i.c.b,i.c),r=!1):r=!0,l=RT((EP(0!=o.b),LL(o.c.b.c,8))),G1(i,o),s$(o));h=a.d,Get.Fc(h.j)&&(d=Oy($O(Fae(h,(hxe(),YXe)))),jq(i,new YE(V5(q3(lw(J6e,1),s_e,8,0,[h.i.n,h.n,h.a])).a,d),i.c.b,i.c)),ZI(i,V5(q3(lw(J6e,1),s_e,8,0,[h.i.n,h.n,h.a]))),e.d==(d6(),Y0e)&&(EP(0!=i.b),p=LL(i.a.a.c,8),g=LL(bte(i,1),8),(m=new zG(h4(f.j))).a*=5,m.b*=5,b=VD(new YE(g.a,g.b),p),BD(v=new YE(UH(m.a,b.a),UH(m.b,b.b)),p),Ez(cte(i,1),v),EP(0!=i.b),y=LL(i.c.b.c,8),w=LL(bte(i,i.b-2),8),(m=new zG(h4(h.j))).a*=5,m.b*=5,b=VD(new YE(w.a,w.b),y),BD(x=new YE(UH(m.a,b.a),UH(m.b,b.b)),y),TO(i,i.b-1,x)),c=new ube(i),G1(a.a,Fne(c))}}function Jwe(e,t,n,i){var o,a,s,l,u,c,f,h,d,p,g,m,b,v,y,w,x,_,S,k,C,E,I,M,T,A,P,O,D,R,L;if(w=(v=LL(sJ((!e.b&&(e.b=new nR(nnt,e,4,7)),e.b),0),93)).yg(),x=v.zg(),y=v.xg()/2,p=v.wg()/2,BT(v,199)&&(w+=$H(b=LL(v,122)).i,w+=$H(b).i),w+=y,x+=p,M=(E=LL(sJ((!e.b&&(e.b=new nR(nnt,e,4,7)),e.b),0),93)).yg(),T=E.zg(),I=E.xg()/2,_=E.wg()/2,BT(E,199)&&(M+=$H(C=LL(E,122)).i,M+=$H(C).i),M+=I,T+=_,0==(!e.a&&(e.a=new FF(int,e,6,6)),e.a).i)Sx(),l=new Zs,AK((!e.a&&(e.a=new FF(int,e,6,6)),e.a),l);else if((!e.a&&(e.a=new FF(int,e,6,6)),e.a).i>1)for(d=new RP((!e.a&&(e.a=new FF(int,e,6,6)),e.a));d.e!=d.i.gc();)zie(d);for(g=M,M>w+y?g=w+y:M<w-y&&(g=w-y),m=T,T>x+p?m=x+p:T<x-p&&(m=x-p),g>w-y&&g<w+y&&m>x-p&&m<x+p&&(g=w+y),XJ(s=LL(sJ((!e.a&&(e.a=new FF(int,e,6,6)),e.a),0),201),g),QJ(s,m),S=w,w>M+I?S=M+I:w<M-I&&(S=M-I),k=x,x>T+_?k=T+_:x<T-_&&(k=T-_),S>M-I&&S<M+I&&k>T-_&&k<T+_&&(k=T+_),KJ(s,S),ZJ(s,k),Ove((!s.a&&(s.a=new hA(Jtt,s,5)),s.a)),a=one(t,5),v==E&&++a,P=S-g,R=k-m,c=.20000000298023224*r.Math.sqrt(P*P+R*R),O=P/(a+1),L=R/(a+1),A=g,D=m,u=0;u<a;u++)D+=L,(f=(A+=O)+Gfe(t,24)*ike*c-c/2)<0?f=1:f>n&&(f=n-1),(h=D+Gfe(t,24)*ike*c-c/2)<0?h=1:h>i&&(h=i-1),Sx(),JJ(o=new el,f),YJ(o,h),AK((!s.a&&(s.a=new hA(Jtt,s,5)),s.a),o)}function exe(e,t){var n,r,i,o,a,s,l,u,c,f,h,d,p,g,m,b,v,y,w,x,_,S,k,C,E,I,M;if(Kbe(),k=e.e,p=e.d,i=e.a,0==k)switch(t){case 0:return"0";case 1:return WSe;case 2:return"0.00";case 3:return"0.000";case 4:return"0.0000";case 5:return"0.00000";case 6:return"0.000000";default:return(_=new pw).a+=t<0?"0E+":"0E",_.a+=-t,_.a}if(w=fK(tat,q_e,24,(y=10*p+1+7)+1,15,1),n=y,1==p)if((s=i[0])<0){M=SH(s,HSe);do{g=M,M=hie(M,10),w[--n]=48+QN(s8(g,a8(M,10)))&X_e}while(0!=T4(M,0))}else{M=s;do{g=M,M=M/10|0,w[--n]=g-10*M+48&X_e}while(0!=M)}else{Xbe(i,0,E=fK(nat,sSe,24,p,15,1),0,I=p);e:for(;;){for(S=0,u=I-1;u>=0;u--)b=$ie(o8(xN(S,32),SH(E[u],HSe))),E[u]=QN(b),S=QN(wN(b,32));v=QN(S),m=n;do{w[--n]=48+v%10&X_e}while(0!=(v=v/10|0)&&0!=n);for(r=9-m+n,l=0;l<r&&n>0;l++)w[--n]=48;for(f=I-1;0==E[f];f--)if(0==f)break e;I=f+1}for(;48==w[n];)++n}if(d=k<0,a=y-n-t-1,0==t)return d&&(w[--n]=45),lee(w,n,y-n);if(t>0&&a>=-6){if(a>=0){for(c=n+a,h=y-1;h>=c;h--)w[h+1]=w[h];return w[++c]=46,d&&(w[--n]=45),lee(w,n,y-n+1)}for(f=2;f<1-a;f++)w[--n]=48;return w[--n]=46,w[--n]=48,d&&(w[--n]=45),lee(w,n,y-n)}return C=n+1,o=y,x=new gw,d&&(x.a+="-"),o-C>=1?(iB(x,w[n]),x.a+=".",x.a+=lee(w,n+1,y-n-1)):x.a+=lee(w,n,y-n),x.a+="E",a>0&&(x.a+="+"),x.a+=""+a,x.a}function txe(e,t){var n,i,o,a,s,l,u,c,f,h,d,p,g,m,b,v,y,w,x;switch(e.c=t,e.g=new Hm,o7(new Ld(new _y(e.c))),v=HO(xfe(e.c,(Hae(),V4e))),s=LL(xfe(e.c,H4e),313),w=LL(xfe(e.c,G4e),423),o=LL(xfe(e.c,N4e),476),y=LL(xfe(e.c,$4e),424),e.j=Oy($O(xfe(e.c,W4e))),a=e.a,s.g){case 0:a=e.a;break;case 1:a=e.b;break;case 2:a=e.i;break;case 3:a=e.e;break;case 4:a=e.f;break;default:throw Jm(new Ny(vPe+(null!=s.f?s.f:""+s.g)))}if(e.d=new RH(a,w,o),S5(e.d,(H2(),RVe),VO(xfe(e.c,F4e))),e.d.c=Ty(VO(xfe(e.c,j4e))),0==_$(e.c).i)return e.d;for(c=new SA(_$(e.c));c.e!=c.i.gc();){for(h=(u=LL(Hee(c),34)).g/2,f=u.f/2,x=new YE(u.i+h,u.j+f);KF(e.g,x);)nO(x,(r.Math.random()-.5)*uEe,(r.Math.random()-.5)*uEe);p=LL(xfe(u,(fxe(),i9e)),141),g=new mG(x,new jV(x.a-h-e.j/2-p.b,x.b-f-e.j/2-p.d,u.g+e.j+(p.b+p.c),u.f+e.j+(p.d+p.a))),RL(e.d.i,g),eV(e.g,x,new KE(g,u))}switch(y.g){case 0:if(null==v)e.d.d=LL(JN(e.d.i,0),63);else for(b=new td(e.d.i);b.a<b.c.c.length;)g=LL(xW(b),63),null!=(d=LL(LL(aB(e.g,g.a),46).b,34).ug())&&fR(d,v)&&(e.d.d=g);break;case 1:for((n=new YE(e.c.g,e.c.f)).a*=.5,n.b*=.5,nO(n,e.c.i,e.c.j),i=RSe,m=new td(e.d.i);m.a<m.c.c.length;)(l=wK((g=LL(xW(m),63)).a,n))<i&&(i=l,e.d.d=g);break;default:throw Jm(new Ny(vPe+(null!=y.f?y.f:""+y.g)))}return e.d}function nxe(e,t,n){var i,o,a,s,l,u,c,f,h,d,p,g,m,b,v,y,w,x,_,S;for(_=LL(sJ((!e.a&&(e.a=new FF(int,e,6,6)),e.a),0),201),f=new bv,x=new Hm,S=wme(_),eue(x.f,_,S),d=new Hm,i=new sS,g=ZF(l0(q3(lw(yje,1),zxe,19,0,[(!t.d&&(t.d=new nR(rnt,t,8,5)),t.d),(!t.e&&(t.e=new nR(rnt,t,7,4)),t.e)])));Zce(g);){if(p=LL(dX(g),80),1!=(!e.a&&(e.a=new FF(int,e,6,6)),e.a).i)throw Jm(new Ny(EOe+(!e.a&&(e.a=new FF(int,e,6,6)),e.a).i));p!=e&&(jq(i,b=LL(sJ((!p.a&&(p.a=new FF(int,p,6,6)),p.a),0),201),i.c.b,i.c),(m=LL(PI(rH(x.f,b)),12))||(m=wme(b),eue(x.f,b,m)),h=n?VD(new lT(LL(JN(S,S.c.length-1),8)),LL(JN(m,m.c.length-1),8)):VD(new lT((MG(0,S.c.length),LL(S.c[0],8))),(MG(0,m.c.length),LL(m.c[0],8))),eue(d.f,b,h))}if(0!=i.b)for(v=LL(JN(S,n?S.c.length-1:0),8),c=1;c<S.c.length;c++){for(y=LL(JN(S,n?S.c.length-1-c:c),8),o=cte(i,0);o.b!=o.d.c;)b=LL(BU(o),201),(m=LL(PI(rH(x.f,b)),12)).c.length<=c?QQ(o):(w=BD(new lT(LL(JN(m,n?m.c.length-1-c:c),8)),LL(PI(rH(d.f,b)),8)),y.a==w.a&&y.b==w.b||(a=y.a-v.a,l=y.b-v.b,(s=w.a-v.a)*l==(u=w.b-v.b)*a&&(0==a||isNaN(a)?a:a<0?-1:1)==(0==s||isNaN(s)?s:s<0?-1:1)&&(0==l||isNaN(l)?l:l<0?-1:1)==(0==u||isNaN(u)?u:u<0?-1:1)?(r.Math.abs(a)<r.Math.abs(s)||r.Math.abs(l)<r.Math.abs(u))&&jq(f,y,f.c.b,f.c):c>1&&jq(f,v,f.c.b,f.c),QQ(o)));v=y}return f}function rxe(e,t){var n,r,i,o,a,s,l,u,c,f,h,d,p,g,m,b;for(r=new $m,s=new $m,m=t/2,d=e.gc(),i=LL(e.Xb(0),8),b=LL(e.Xb(1),8),RL(r,(MG(0,(p=wfe(i.a,i.b,b.a,b.b,m)).c.length),LL(p.c[0],8))),RL(s,(MG(1,p.c.length),LL(p.c[1],8))),u=2;u<d;u++)g=i,i=b,b=LL(e.Xb(u),8),RL(r,(MG(1,(p=wfe(i.a,i.b,g.a,g.b,m)).c.length),LL(p.c[1],8))),RL(s,(MG(0,p.c.length),LL(p.c[0],8))),RL(r,(MG(0,(p=wfe(i.a,i.b,b.a,b.b,m)).c.length),LL(p.c[0],8))),RL(s,(MG(1,p.c.length),LL(p.c[1],8)));for(RL(r,(MG(1,(p=wfe(b.a,b.b,i.a,i.b,m)).c.length),LL(p.c[1],8))),RL(s,(MG(0,p.c.length),LL(p.c[0],8))),n=new bv,a=new $m,bN(n,(MG(0,r.c.length),LL(r.c[0],8))),c=1;c<r.c.length-2;c+=2)MG(c,r.c.length),o=LL(r.c[c],8),h=Ple((MG(c-1,r.c.length),LL(r.c[c-1],8)),o,(MG(c+1,r.c.length),LL(r.c[c+1],8)),(MG(c+2,r.c.length),LL(r.c[c+2],8))),isFinite(h.a)&&isFinite(h.b)?jq(n,h,n.c.b,n.c):jq(n,o,n.c.b,n.c);for(bN(n,LL(JN(r,r.c.length-1),8)),RL(a,(MG(0,s.c.length),LL(s.c[0],8))),f=1;f<s.c.length-2;f+=2)MG(f,s.c.length),o=LL(s.c[f],8),h=Ple((MG(f-1,s.c.length),LL(s.c[f-1],8)),o,(MG(f+1,s.c.length),LL(s.c[f+1],8)),(MG(f+2,s.c.length),LL(s.c[f+2],8))),isFinite(h.a)&&isFinite(h.b)?a.c[a.c.length]=h:a.c[a.c.length]=o;for(RL(a,LL(JN(s,s.c.length-1),8)),l=a.c.length-1;l>=0;l--)bN(n,(MG(l,a.c.length),LL(a.c[l],8)));return n}function ixe(e){var t,n,r;if(e.d>=e.j)return e.a=-1,void(e.c=1);if(t=dV(e.i,e.d++),e.a=t,1!=e.b){switch(t){case 124:r=2;break;case 42:r=3;break;case 43:r=4;break;case 63:r=5;break;case 41:r=7;break;case 46:r=8;break;case 91:r=9;break;case 94:r=11;break;case 36:r=12;break;case 40:if(r=6,e.d>=e.j)break;if(63!=dV(e.i,e.d))break;if(++e.d>=e.j)throw Jm(new Zy(wxe((pT(),eRe))));switch(t=dV(e.i,e.d++)){case 58:r=13;break;case 61:r=14;break;case 33:r=15;break;case 91:r=19;break;case 62:r=18;break;case 60:if(e.d>=e.j)throw Jm(new Zy(wxe((pT(),eRe))));if(61==(t=dV(e.i,e.d++)))r=16;else{if(33!=t)throw Jm(new Zy(wxe((pT(),tRe))));r=17}break;case 35:for(;e.d<e.j&&41!=(t=dV(e.i,e.d++)););if(41!=t)throw Jm(new Zy(wxe((pT(),nRe))));r=21;break;default:if(45==t||97<=t&&t<=122||65<=t&&t<=90){--e.d,r=22;break}if(40==t){r=23;break}throw Jm(new Zy(wxe((pT(),eRe))))}break;case 92:if(r=10,e.d>=e.j)throw Jm(new Zy(wxe((pT(),JDe))));e.a=dV(e.i,e.d++);break;default:r=0}e.c=r}else{switch(t){case 92:if(r=10,e.d>=e.j)throw Jm(new Zy(wxe((pT(),JDe))));e.a=dV(e.i,e.d++);break;case 45:512==(512&e.e)&&e.d<e.j&&91==dV(e.i,e.d)?(++e.d,r=24):r=0;break;case 91:if(512!=(512&e.e)&&e.d<e.j&&58==dV(e.i,e.d)){++e.d,r=20;break}default:(64512&t)==zSe&&e.d<e.j&&56320==(64512&(n=dV(e.i,e.d)))&&(e.a=FSe+(t-zSe<<10)+n-56320,++e.d),r=0}e.c=r}}function oxe(e){var t,n,r,i,o,a,s,l;for(e.b=1,ixe(e),t=null,0==e.c&&94==e.a?(ixe(e),gxe(),gxe(),Fde(t=new lW(4),0,WNe),a=new lW(4)):(gxe(),gxe(),a=new lW(4)),i=!0;1!=(l=e.c);){if(0==l&&93==e.a&&!i){t&&(Eye(t,a),a=t);break}if(n=e.a,r=!1,10==l)switch(n){case 100:case 68:case 119:case 87:case 115:case 83:Zbe(a,Yge(n)),r=!0;break;case 105:case 73:case 99:case 67:Zbe(a,Yge(n)),(n=-1)<0&&(r=!0);break;case 112:case 80:if(!(s=jue(e,n)))throw Jm(new Zy(wxe((pT(),dRe))));Zbe(a,s),r=!0;break;default:n=ppe(e)}else if(24==l&&!i){if(t&&(Eye(t,a),a=t),Eye(a,oxe(e)),0!=e.c||93!=e.a)throw Jm(new Zy(wxe((pT(),bRe))));break}if(ixe(e),!r){if(0==l){if(91==n)throw Jm(new Zy(wxe((pT(),vRe))));if(93==n)throw Jm(new Zy(wxe((pT(),yRe))));if(45==n&&!i&&93!=e.a)throw Jm(new Zy(wxe((pT(),wRe))))}if(0!=e.c||45!=e.a||45==n&&i)Fde(a,n,n);else{if(ixe(e),1==(l=e.c))throw Jm(new Zy(wxe((pT(),gRe))));if(0==l&&93==e.a)Fde(a,n,n),Fde(a,45,45);else{if(0==l&&93==e.a||24==l)throw Jm(new Zy(wxe((pT(),wRe))));if(o=e.a,0==l){if(91==o)throw Jm(new Zy(wxe((pT(),vRe))));if(93==o)throw Jm(new Zy(wxe((pT(),yRe))));if(45==o)throw Jm(new Zy(wxe((pT(),wRe))))}else 10==l&&(o=ppe(e));if(ixe(e),n>o)throw Jm(new Zy(wxe((pT(),SRe))));Fde(a,n,o)}}}i=!1}if(1==e.c)throw Jm(new Zy(wxe((pT(),gRe))));return Rfe(a),xve(a),e.b=0,ixe(e),a}function axe(e,t,n){var r,i,o,a,s,l,u,c,f,h,d,g,m,b,v,y,w,x,_;if(qoe(n,"Coffman-Graham Layering",1),0!=t.a.c.length){for(_=LL(Fae(t,(Kwe(),yQe)),20).a,l=0,a=0,h=new td(t.a);h.a<h.c.c.length;)for((f=LL(xW(h),10)).p=l++,o=new xF(BA(g9(f).a.Ic(),new p));Zce(o);)(i=LL(dX(o),18)).p=a++;for(e.d=fK(rat,Kke,24,l,16,1),e.a=fK(rat,Kke,24,a,16,1),e.b=fK(nat,sSe,24,l,15,1),e.e=fK(nat,sSe,24,l,15,1),e.f=fK(nat,sSe,24,l,15,1),N0(e.c),function(e,t){var n,r,i;for(i=new td(t.a);i.a<i.c.c.length;)for(r=LL(xW(i),10),$y(e.d),n=new xF(BA(g9(r).a.Ic(),new p));Zce(n);)Lce(e,r,LL(dX(n),18).d.i)}(e,t),g=new yF(new Up(e)),x=new td(t.a);x.a<x.c.c.length;){for(o=new xF(BA(p9(y=LL(xW(x),10)).a.Ic(),new p));Zce(o);)i=LL(dX(o),18),e.a[i.p]||++e.b[y.p];0==e.b[y.p]&&RY(xae(g,y))}for(s=0;0!=g.b.c.length;)for(y=LL(hQ(g),10),e.f[y.p]=s++,o=new xF(BA(g9(y).a.Ic(),new p));Zce(o);)i=LL(dX(o),18),e.a[i.p]||(b=i.d.i,--e.b[b.p],Yue(e.c,b,k8(e.f[y.p])),0==e.b[b.p]&&RY(xae(g,b)));for(d=new yF(new qp(e)),w=new td(t.a);w.a<w.c.c.length;){for(o=new xF(BA(g9(y=LL(xW(w),10)).a.Ic(),new p));Zce(o);)i=LL(dX(o),18),e.a[i.p]||++e.e[y.p];0==e.e[y.p]&&RY(xae(d,y))}for(r=jG(t,c=new $m);0!=d.b.c.length;)for(v=LL(hQ(d),10),(r.a.c.length>=_||!Q7(v,r))&&(r=jG(t,c)),OG(v,r),o=new xF(BA(p9(v).a.Ic(),new p));Zce(o);)i=LL(dX(o),18),e.a[i.p]||(m=i.c.i,--e.e[m.p],0==e.e[m.p]&&RY(xae(d,m)));for(u=c.c.length-1;u>=0;--u)RL(t.b,(MG(u,c.c.length),LL(c.c[u],29)));t.a.c=fK(pje,zxe,1,0,5,1),_se(n)}else _se(n)}function sxe(e,t){switch(e.e){case 0:case 2:case 4:case 6:case 42:case 44:case 46:case 48:case 8:case 10:case 12:case 14:case 16:case 18:case 20:case 22:case 24:case 26:case 28:case 30:case 32:case 34:case 36:case 38:return new $$(e.b,e.a,t,e.c);case 1:return new dA(e.a,t,u7(t.Og(),e.c));case 43:return new vA(e.a,t,u7(t.Og(),e.c));case 3:return new hA(e.a,t,u7(t.Og(),e.c));case 45:return new bA(e.a,t,u7(t.Og(),e.c));case 41:return new EK(LL(fie(e.c),26),e.a,t,u7(t.Og(),e.c));case 50:return new A0(LL(fie(e.c),26),e.a,t,u7(t.Og(),e.c));case 5:return new YD(e.a,t,u7(t.Og(),e.c),e.d.n);case 47:return new KD(e.a,t,u7(t.Og(),e.c),e.d.n);case 7:return new FF(e.a,t,u7(t.Og(),e.c),e.d.n);case 49:return new GD(e.a,t,u7(t.Og(),e.c),e.d.n);case 9:return new mA(e.a,t,u7(t.Og(),e.c));case 11:return new gA(e.a,t,u7(t.Og(),e.c));case 13:return new pA(e.a,t,u7(t.Og(),e.c));case 15:return new tN(e.a,t,u7(t.Og(),e.c));case 17:return new xA(e.a,t,u7(t.Og(),e.c));case 19:return new wA(e.a,t,u7(t.Og(),e.c));case 21:return new yA(e.a,t,u7(t.Og(),e.c));case 23:return new eN(e.a,t,u7(t.Og(),e.c));case 25:return new rR(e.a,t,u7(t.Og(),e.c),e.d.n);case 27:return new nR(e.a,t,u7(t.Og(),e.c),e.d.n);case 29:return new eR(e.a,t,u7(t.Og(),e.c),e.d.n);case 31:return new ZD(e.a,t,u7(t.Og(),e.c),e.d.n);case 33:return new tR(e.a,t,u7(t.Og(),e.c),e.d.n);case 35:return new JD(e.a,t,u7(t.Og(),e.c),e.d.n);case 37:return new QD(e.a,t,u7(t.Og(),e.c),e.d.n);case 39:return new BF(e.a,t,u7(t.Og(),e.c),e.d.n);case 40:return new k2(t,u7(t.Og(),e.c));default:throw Jm(new sy("Unknown feature style: "+e.e))}}function lxe(e,t,n){var i,o,a,s,l,u,c,f,h,d,p,g,m,b,v,y,w,x,_;switch(qoe(n,"Brandes & Koepf node placement",1),e.a=t,e.c=Xme(t),i=LL(Fae(t,(Kwe(),RQe)),272),p=Ty(VO(Fae(t,LQe))),e.d=i==(Zie(),dqe)&&!p||i==cqe,function(e,t){var n,r,i,o,a,s,l,u,c,f,h,d,p,g,m,b,v,y;if(!((g=t.b.c.length)<3)){for(d=fK(nat,sSe,24,g,15,1),f=0,c=new td(t.b);c.a<c.c.c.length;)u=LL(xW(c),29),d[f++]=u.a.c.length;for(h=new eU(t.b,2),r=1;r<g-1;r++)for(EP(h.b<h.d.gc()),p=new td((n=LL(h.d.Xb(h.c=h.b++),29)).a),o=0,s=0,l=0;l<d[r+1];l++)if(y=LL(xW(p),10),l==d[r+1]-1||qse(e,y,r+1,r)){for(a=d[r]-1,qse(e,y,r+1,r)&&(a=e.c.e[LL(LL(LL(JN(e.c.b,y.p),14).Xb(0),46).a,10).p]);s<=l;){if(!qse(e,v=LL(JN(n.a,s),10),r+1,r))for(b=LL(JN(e.c.b,v.p),14).Ic();b.Ob();)m=LL(b.Pb(),46),((i=e.c.e[LL(m.a,10).p])<o||i>a)&&uz(e.b,LL(m.b,18));++s}o=a}}}(e,t),x=null,_=null,b=null,v=null,k0(4,T_e),m=new LY(4),LL(Fae(t,RQe),272).g){case 3:b=new Oge(t,e.c.d,(YH(),X1e),(sH(),W1e)),m.c[m.c.length]=b;break;case 1:v=new Oge(t,e.c.d,(YH(),Y1e),(sH(),W1e)),m.c[m.c.length]=v;break;case 4:x=new Oge(t,e.c.d,(YH(),X1e),(sH(),U1e)),m.c[m.c.length]=x;break;case 2:_=new Oge(t,e.c.d,(YH(),Y1e),(sH(),U1e)),m.c[m.c.length]=_;break;default:b=new Oge(t,e.c.d,(YH(),X1e),(sH(),W1e)),v=new Oge(t,e.c.d,Y1e,W1e),x=new Oge(t,e.c.d,X1e,U1e),_=new Oge(t,e.c.d,Y1e,U1e),m.c[m.c.length]=x,m.c[m.c.length]=_,m.c[m.c.length]=b,m.c[m.c.length]=v}for(o=new JC(t,e.c),l=new td(m);l.a<l.c.c.length;)$we(o,a=LL(xW(l),182),e.b),Vbe(a);for(d=new Qre(t,e.c),u=new td(m);u.a<u.c.c.length;)Qye(d,a=LL(xW(u),182));if(n.n)for(c=new td(m);c.a<c.c.c.length;)YL(n,(a=LL(xW(c),182))+" size is "+Afe(a));if(h=null,e.d&&(f=function(e,t,n){var i,o,a,s,l,u,c,f,h,d,p,g,m,b,v,y,w,x,_,S;for(v=t.c.length,o=new Oge(e.a,n,null,null),S=fK(aat,BSe,24,v,15,1),p=fK(aat,BSe,24,v,15,1),d=fK(aat,BSe,24,v,15,1),g=0,l=0;l<v;l++)p[l]=Dxe,d[l]=F_e;for(u=0;u<v;u++)for(MG(u,t.c.length),i=LL(t.c[u],182),S[u]=Afe(i),S[g]>S[u]&&(g=u),f=new td(e.a.b);f.a<f.c.c.length;)for(b=new td(LL(xW(f),29).a);b.a<b.c.c.length;)m=LL(xW(b),10),x=Oy(i.p[m.p])+Oy(i.d[m.p]),p[u]=r.Math.min(p[u],x),d[u]=r.Math.max(d[u],x+m.o.b);for(_=fK(aat,BSe,24,v,15,1),c=0;c<v;c++)(MG(c,t.c.length),LL(t.c[c],182)).o==(YH(),X1e)?_[c]=p[g]-p[c]:_[c]=d[g]-d[c];for(a=fK(aat,BSe,24,v,15,1),h=new td(e.a.b);h.a<h.c.c.length;)for(w=new td(LL(xW(h),29).a);w.a<w.c.c.length;){for(y=LL(xW(w),10),s=0;s<v;s++)a[s]=Oy((MG(s,t.c.length),LL(t.c[s],182)).p[y.p])+Oy((MG(s,t.c.length),LL(t.c[s],182)).d[y.p])+_[s];a.sort(wJ(A.prototype.te,A,[])),o.p[y.p]=(a[1]+a[2])/2,o.d[y.p]=0}return o}(e,m,e.c.d),Mbe(t,f,n)&&(h=f)),!h)for(c=new td(m);c.a<c.c.c.length;)Mbe(t,a=LL(xW(c),182),n)&&(!h||Afe(h)>Afe(a))&&(h=a);for(!h&&(MG(0,m.c.length),h=LL(m.c[0],182)),g=new td(t.b);g.a<g.c.c.length;)for(w=new td(LL(xW(g),29).a);w.a<w.c.c.length;)(y=LL(xW(w),10)).n.b=Oy(h.p[y.p])+Oy(h.d[y.p]);for(n.n&&(YL(n,"Chosen node placement: "+h),YL(n,"Blocks: "+Cce(h)),YL(n,"Classes: "+function(e,t){var n,r,i,o,a;for(r=new Fq,o=Aq(new Vy(e.g)).a.ec().Ic();o.Ob();){if(!(i=LL(o.Pb(),10))){YL(t,"There are no classes in a balanced layout.");break}(n=LL(oQ(r,a=e.j[i.p]),14))||ste(r,a,n=new $m),n.Dc(i)}return r}(h,n)),YL(n,"Marked edges: "+e.b)),s=new td(m);s.a<s.c.c.length;)(a=LL(xW(s),182)).g=null,a.b=null,a.a=null,a.d=null,a.j=null,a.i=null,a.p=null;!function(e){e.a=null,e.e=null,e.b.c=fK(pje,zxe,1,0,5,1),e.f.c=fK(pje,zxe,1,0,5,1),e.c=null}(e.c),e.b.a.$b(),_se(n)}function uxe(e,t,n,i,o,a){var s,l,u,c,f,h,d;switch(t){case 71:s=i.q.getFullYear()-o_e>=-1900?1:0,UI(e,n>=4?q3(lw(CFe,1),s_e,2,6,[lSe,uSe])[s]:q3(lw(CFe,1),s_e,2,6,["BC","AD"])[s]);break;case 121:!function(e,t,n){var r;switch((r=n.q.getFullYear()-o_e+o_e)<0&&(r=-r),t){case 1:e.a+=r;break;case 2:WZ(e,r%100,2);break;default:WZ(e,r,t)}}(e,n,i);break;case 77:!function(e,t,n){var r;switch(r=n.q.getMonth(),t){case 5:UI(e,q3(lw(CFe,1),s_e,2,6,["J","F","M","A","M","J","J","A","S","O","N","D"])[r]);break;case 4:UI(e,q3(lw(CFe,1),s_e,2,6,[Y_e,K_e,Z_e,Q_e,J_e,eSe,tSe,nSe,rSe,iSe,oSe,aSe])[r]);break;case 3:UI(e,q3(lw(CFe,1),s_e,2,6,["Jan","Feb","Mar","Apr",J_e,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"])[r]);break;default:WZ(e,r+1,t)}}(e,n,i);break;case 107:WZ(e,0==(l=o.q.getHours())?24:l,n);break;case 83:!function(e,t,n){var i,o;T4(i=I2(n.q.getTime()),0)<0?(o=D_e-QN(B9(kK(i),D_e)))==D_e&&(o=0):o=QN(B9(i,D_e)),1==t?iB(e,48+(o=r.Math.min((o+50)/100|0,9))&X_e):2==t?WZ(e,o=r.Math.min((o+5)/10|0,99),2):(WZ(e,o,3),t>3&&WZ(e,0,t-3))}(e,n,o);break;case 69:u=i.q.getDay(),UI(e,5==n?q3(lw(CFe,1),s_e,2,6,["S","M","T","W","T","F","S"])[u]:4==n?q3(lw(CFe,1),s_e,2,6,[cSe,fSe,hSe,dSe,pSe,gSe,mSe])[u]:q3(lw(CFe,1),s_e,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"])[u]);break;case 97:o.q.getHours()>=12&&o.q.getHours()<24?UI(e,q3(lw(CFe,1),s_e,2,6,["AM","PM"])[1]):UI(e,q3(lw(CFe,1),s_e,2,6,["AM","PM"])[0]);break;case 104:WZ(e,0==(c=o.q.getHours()%12)?12:c,n);break;case 75:WZ(e,o.q.getHours()%12,n);break;case 72:WZ(e,o.q.getHours(),n);break;case 99:f=i.q.getDay(),5==n?UI(e,q3(lw(CFe,1),s_e,2,6,["S","M","T","W","T","F","S"])[f]):4==n?UI(e,q3(lw(CFe,1),s_e,2,6,[cSe,fSe,hSe,dSe,pSe,gSe,mSe])[f]):3==n?UI(e,q3(lw(CFe,1),s_e,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"])[f]):WZ(e,f,1);break;case 76:h=i.q.getMonth(),5==n?UI(e,q3(lw(CFe,1),s_e,2,6,["J","F","M","A","M","J","J","A","S","O","N","D"])[h]):4==n?UI(e,q3(lw(CFe,1),s_e,2,6,[Y_e,K_e,Z_e,Q_e,J_e,eSe,tSe,nSe,rSe,iSe,oSe,aSe])[h]):3==n?UI(e,q3(lw(CFe,1),s_e,2,6,["Jan","Feb","Mar","Apr",J_e,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"])[h]):WZ(e,h+1,n);break;case 81:d=i.q.getMonth()/3|0,UI(e,n<4?q3(lw(CFe,1),s_e,2,6,["Q1","Q2","Q3","Q4"])[d]:q3(lw(CFe,1),s_e,2,6,["1st quarter","2nd quarter","3rd quarter","4th quarter"])[d]);break;case 100:WZ(e,i.q.getDate(),n);break;case 109:WZ(e,o.q.getMinutes(),n);break;case 115:WZ(e,o.q.getSeconds(),n);break;case 122:UI(e,n<4?a.c[0]:a.c[1]);break;case 118:UI(e,a.b);break;case 90:UI(e,n<3?function(e){var t,n;return n=-e.a,t=q3(lw(tat,1),q_e,24,15,[43,48,48,48,48]),n<0&&(t[0]=45,n=-n),t[1]=t[1]+((n/60|0)/10|0)&X_e,t[2]=t[2]+(n/60|0)%10&X_e,t[3]=t[3]+(n%60/10|0)&X_e,t[4]=t[4]+n%10&X_e,lee(t,0,t.length)}(a):3==n?function(e){var t,n;return n=-e.a,t=q3(lw(tat,1),q_e,24,15,[43,48,48,58,48,48]),n<0&&(t[0]=45,n=-n),t[1]=t[1]+((n/60|0)/10|0)&X_e,t[2]=t[2]+(n/60|0)%10&X_e,t[4]=t[4]+(n%60/10|0)&X_e,t[5]=t[5]+n%10&X_e,lee(t,0,t.length)}(a):function(e){var t;return t=q3(lw(tat,1),q_e,24,15,[71,77,84,45,48,48,58,48,48]),e<=0&&(t[3]=43,e=-e),t[4]=t[4]+((e/60|0)/10|0)&X_e,t[5]=t[5]+(e/60|0)%10&X_e,t[7]=t[7]+(e%60/10|0)&X_e,t[8]=t[8]+e%10&X_e,lee(t,0,t.length)}(a.a));break;default:return!1}return!0}function cxe(e,t,n,r){var i,o,a,s,l,u,c,f,h,d,p,g,m,b,v,y,w,x,_,S,k,C,E,I,M;if(ege(t),l=LL(sJ((!t.b&&(t.b=new nR(nnt,t,4,7)),t.b),0),93),c=LL(sJ((!t.c&&(t.c=new nR(nnt,t,5,8)),t.c),0),93),s=Xoe(l),u=Xoe(c),a=0==(!t.a&&(t.a=new FF(int,t,6,6)),t.a).i?null:LL(sJ((!t.a&&(t.a=new FF(int,t,6,6)),t.a),0),201),_=LL(aB(e.a,s),10),E=LL(aB(e.a,u),10),S=null,I=null,BT(l,199)&&(BT(x=LL(aB(e.a,l),299),11)?S=LL(x,11):BT(x,10)&&(_=LL(x,10),S=LL(JN(_.j,0),11))),BT(c,199)&&(BT(C=LL(aB(e.a,c),299),11)?I=LL(C,11):BT(C,10)&&(E=LL(C,10),I=LL(JN(E.j,0),11))),!_||!E)throw Jm(new Xy("The source or the target of edge "+t+" could not be found. This usually happens when an edge connects a node laid out by ELK Layered to a node in another level of hierarchy laid out by either another instance of ELK Layered or another layout algorithm alltogether. The former can be solved by setting the hierarchyHandling option to INCLUDE_CHILDREN."));for(c3(g=new N$,t),S5(g,(hxe(),OXe),t),S5(g,(Kwe(),vQe),null),d=LL(Fae(r,mXe),21),_==E&&d.Dc((Kde(),Lqe)),S||(E0(),w=L0e,k=null,a&&jM(LL(Fae(_,tJe),100))&&(sq(k=new YE(a.j,a.k),VH(t)),vX(k,n),aJ(u,s)&&(w=R0e,BD(k,_.n))),S=nve(_,k,w,r)),I||(E0(),w=R0e,M=null,a&&jM(LL(Fae(E,tJe),100))&&(sq(M=new YE(a.b,a.c),VH(t)),vX(M,n)),I=nve(E,M,w,jB(E))),PG(g,S),AG(g,I),(S.e.c.length>1||S.g.c.length>1||I.e.c.length>1||I.g.c.length>1)&&d.Dc((Kde(),Aqe)),h=new SA((!t.n&&(t.n=new FF(unt,t,1,7)),t.n));h.e!=h.i.gc();)if(!Ty(VO(xfe(f=LL(Hee(h),137),HQe)))&&f.a)switch(m=M6(f),RL(g.b,m),LL(Fae(m,QZe),271).g){case 1:case 2:d.Dc((Kde(),Mqe));break;case 0:d.Dc((Kde(),Eqe)),S5(m,QZe,($J(),g7e))}if(o=LL(Fae(r,GZe),333),b=LL(Fae(r,zQe),312),i=o==($q(),TUe)||b==(Cne(),u0e),a&&0!=(!a.a&&(a.a=new hA(Jtt,a,5)),a.a).i&&i){for(v=$se(a),p=new bv,y=cte(v,0);y.b!=y.d.c;)bN(p,new lT(LL(BU(y),8)));S5(g,DXe,p)}return g}function fxe(){var e,t;fxe=S,M8e=new bm(QPe),G9e=new bm(JPe),ine(),T8e=new uM(MTe,A8e=e8e),new Bm,P8e=new uM(UCe,null),O8e=new bm(eOe),goe(),j8e=Oj(E8e,q3(lw(l7e,1),A_e,290,0,[_8e])),N8e=new uM(GTe,j8e),F8e=new uM(ITe,(_P(),!1)),A8(),z8e=new uM(DTe,B8e=h7e),$9(),G8e=new uM(nTe,W8e=S7e),X8e=new uM(gPe,!1),P8(),Y8e=new uM(ZMe,K8e=H7e),y9e=new sT(12),v9e=new uM(qCe,y9e),e9e=new uM(yEe,!1),t9e=new uM(rAe,!1),joe(),O9e=new uM(wEe,D9e=_et),V9e=new bm(eAe),$9e=new bm(pEe),H9e=new bm(bEe),U9e=new bm(vEe),r9e=new bv,n9e=new uM(UTe,r9e),L8e=new uM(YTe,!1),Z8e=new uM(KTe,!1),new bm(tOe),o9e=new av,i9e=new uM(tAe,o9e),b9e=new uM(CTe,!1),new Bm,W9e=new uM(nOe,1),new uM(rOe,!0),k8(0),new uM(iOe,k8(100)),new uM(oOe,!1),k8(0),new uM(aOe,k8(4e3)),k8(0),new uM(sOe,k8(400)),new uM(lOe,!1),new uM(uOe,!1),new uM(cOe,!0),new uM(fOe,!1),A7(),D8e=new uM(ZPe,R8e=Itt),q9e=new uM(pTe,10),X9e=new uM(gTe,10),Y9e=new uM(GCe,20),K9e=new uM(mTe,10),Z9e=new uM(mEe,2),Q9e=new uM(bTe,10),e7e=new uM(vTe,0),t7e=new uM(wTe,5),n7e=new uM(yTe,1),r7e=new uM(gEe,20),i7e=new uM(xTe,10),s7e=new uM(_Te,10),J9e=new bm(STe),a7e=new XM,o7e=new uM(nAe,a7e),_9e=new bm(JTe),w9e=new uM(QTe,x9e=!1),s9e=new sT(5),a9e=new uM(LTe,s9e),Sfe(),t=LL(Lx(get),9),u9e=new WR(t,LL(wD(t,t.length),9),0),l9e=new uM(RTe,u9e),pte(),k9e=new uM(zTe,C9e=het),I9e=new bm(BTe),M9e=new bm(VTe),T9e=new bm($Te),E9e=new bm(HTe),e=LL(Lx(xtt),9),f9e=new WR(e,LL(wD(e,e.length),9),0),c9e=new uM(PTe,f9e),m9e=o9((Vge(),ptt)),g9e=new uM(OTe,m9e),p9e=new YE(0,0),d9e=new uM(WTe,p9e),h9e=new uM(hOe,!1),$J(),$8e=new uM(qTe,H8e=g7e),V8e=new uM(xEe,!1),new bm(dOe),k8(1),new uM(pOe,null),A9e=new bm(ZTe),R9e=new bm(XTe),hwe(),z9e=new uM(ETe,B9e=Zet),P9e=new bm(kTe),iae(),j9e=o9(Met),N9e=new uM(NTe,j9e),L9e=new uM(jTe,!1),F9e=new uM(FTe,!0),Q8e=new uM(TTe,!1),J8e=new uM(ATe,!1),U8e=new uM(WCe,1),yae(),new uM(gOe,q8e=A7e),S9e=!0}function hxe(){var e,t;hxe=S,OXe=new bm(_Ee),rXe=new bm("coordinateOrigin"),$Xe=new bm("processors"),nXe=new JO("compoundNode",(_P(),!1)),yXe=new JO("insideConnections",!1),DXe=new bm("originalBendpoints"),RXe=new bm("originalDummyNodePosition"),LXe=new bm("originalLabelEdge"),GXe=new bm("representedLabels"),lXe=new bm("endLabels"),uXe=new bm("endLabel.origin"),kXe=new JO("labelSide",(Yre(),Y7e)),AXe=new JO("maxEdgeThickness",0),WXe=new JO("reversed",!1),HXe=new bm(SEe),IXe=new JO("longEdgeSource",null),MXe=new JO("longEdgeTarget",null),EXe=new JO("longEdgeHasLabelDummies",!1),CXe=new JO("longEdgeBeforeLabelDummy",!1),sXe=new JO("edgeConstraint",(h5(),XUe)),xXe=new bm("inLayerLayoutUnit"),wXe=new JO("inLayerConstraint",(JZ(),Gqe)),_Xe=new JO("inLayerSuccessorConstraint",new $m),SXe=new JO("inLayerSuccessorConstraintBetweenNonDummies",!1),BXe=new bm("portDummy"),iXe=new JO("crossingHint",k8(0)),mXe=new JO("graphProperties",new WR(t=LL(Lx(Vqe),9),LL(wD(t,t.length),9),0)),dXe=new JO("externalPortSide",(hwe(),Zet)),pXe=new JO("externalPortSize",new hx),fXe=new bm("externalPortReplacedDummies"),hXe=new bm("externalPortReplacedDummy"),cXe=new JO("externalPortConnections",new WR(e=LL(Lx(att),9),LL(wD(e,e.length),9),0)),VXe=new JO(hCe,0),Qqe=new bm("barycenterAssociates"),JXe=new bm("TopSideComments"),Jqe=new bm("BottomSideComments"),tXe=new bm("CommentConnectionPort"),vXe=new JO("inputCollect",!1),FXe=new JO("outputCollect",!1),aXe=new JO("cyclic",!1),oXe=new bm("crossHierarchyMap"),QXe=new bm("targetOffset"),new JO("splineLabelSize",new hx),qXe=new bm("spacings"),zXe=new JO("partitionConstraint",!1),eXe=new bm("breakingPoint.info"),ZXe=new bm("splines.survivingEdge"),KXe=new bm("splines.route.start"),XXe=new bm("splines.edgeChain"),jXe=new bm("originalPortConstraints"),UXe=new bm("selfLoopHolder"),YXe=new bm("splines.nsPortY"),PXe=new bm("modelOrder"),TXe=new bm("longEdgeTargetNode"),gXe=new JO("firstTryWithInitialOrder",!1),bXe=new bm("layerConstraints.hiddenNodes"),NXe=new bm("layerConstraints.opposidePort")}function dxe(){dxe=S,W5(),dYe=new uM(LIe,pYe=E0e),FQ(),DYe=new uM(NIe,RYe=HUe),ZYe=new uM(jIe,(_P(),!1)),ZU(),tKe=new uM(FIe,nKe=Xqe),wKe=new uM(zIe,!1),xKe=new uM(BIe,!0),sYe=new uM(VIe,!1),PZ(),BKe=new uM($Ie,VKe=A0e),k8(1),YKe=new uM(HIe,k8(7)),KKe=new uM(GIe,!1),tJ(),PYe=new uM(WIe,OYe=zUe),nae(),vKe=new uM(UIe,yKe=JJe),H9(),lKe=new uM(qIe,uKe=iYe),k8(-1),sKe=new uM(XIe,k8(-1)),k8(-1),cKe=new uM(YIe,k8(-1)),k8(-1),fKe=new uM(KIe,k8(4)),k8(-1),dKe=new uM(ZIe,k8(2)),Dhe(),mKe=new uM(QIe,bKe=x0e),k8(0),gKe=new uM(JIe,k8(0)),oKe=new uM(eMe,k8(Dxe)),$q(),TYe=new uM(tMe,AYe=AUe),SYe=new uM(nMe,.1),IYe=new uM(rMe,!1),k8(-1),CYe=new uM(iMe,k8(-1)),k8(-1),EYe=new uM(oMe,k8(-1)),k8(0),gYe=new uM(aMe,k8(40)),V2(),wYe=new uM(sMe,xYe=Bqe),mYe=new uM(lMe,bYe=Fqe),Cne(),FKe=new uM(uMe,zKe=l0e),MKe=new bm(cMe),lZ(),_Ke=new uM(fMe,SKe=aqe),Zie(),CKe=new uM(hMe,EKe=dqe),new Bm,PKe=new uM(dMe,.3),DKe=new bm(pMe),rne(),RKe=new uM(gMe,LKe=i0e),$2(),VYe=new uM(mMe,$Ye=B0e),IY(),HYe=new uM(bMe,GYe=W0e),d6(),WYe=new uM(vMe,UYe=Z0e),XYe=new uM(yMe,.2),zYe=new uM(wMe,2),WKe=new uM(xMe,null),qKe=new uM(_Me,10),UKe=new uM(SMe,10),XKe=new uM(kMe,20),k8(0),$Ke=new uM(CMe,k8(0)),k8(0),HKe=new uM(EMe,k8(0)),k8(0),GKe=new uM(IMe,k8(0)),lYe=new uM(MMe,!1),sse(),fYe=new uM(TMe,hYe=_qe),sK(),uYe=new uM(AMe,cYe=EUe),JYe=new uM(PMe,!1),k8(0),QYe=new uM(OMe,k8(16)),k8(0),eKe=new uM(DMe,k8(5)),k3(),vZe=new uM(RMe,yZe=o1e),ZKe=new uM(LMe,10),eZe=new uM(NMe,1),I0(),lZe=new uM(jMe,uZe=LUe),rZe=new bm(FMe),aZe=k8(1),k8(0),oZe=new uM(zMe,aZe),f2(),SZe=new uM(BMe,kZe=J0e),wZe=new bm(VMe),pZe=new uM($Me,!0),hZe=new uM(HMe,2),mZe=new uM(GMe,!0),wse(),jYe=new uM(WMe,FYe=nqe),xle(),LYe=new uM(UMe,NYe=wUe),iKe=BUe,rKe=TUe,hKe=QJe,pKe=QJe,aKe=YJe,P8(),kYe=$7e,MYe=AUe,_Ye=AUe,vYe=AUe,yYe=$7e,TKe=f0e,AKe=l0e,kKe=l0e,IKe=l0e,OKe=c0e,jKe=f0e,NKe=f0e,$9(),qYe=_7e,YYe=_7e,KYe=Z0e,BYe=x7e,QKe=a1e,JKe=i1e,tZe=a1e,nZe=i1e,cZe=a1e,fZe=i1e,iZe=RUe,sZe=LUe,CZe=a1e,EZe=i1e,xZe=a1e,_Ze=i1e,gZe=i1e,dZe=i1e,bZe=i1e}function pxe(){pxe=S,CGe=new Kk("DIRECTION_PREPROCESSOR",0),_Ge=new Kk("COMMENT_PREPROCESSOR",1),EGe=new Kk("EDGE_AND_LAYER_CONSTRAINT_EDGE_REVERSER",2),$Ge=new Kk("INTERACTIVE_EXTERNAL_PORT_POSITIONER",3),sWe=new Kk("PARTITION_PREPROCESSOR",4),UGe=new Kk("LABEL_DUMMY_INSERTER",5),dWe=new Kk("SELF_LOOP_PREPROCESSOR",6),ZGe=new Kk("LAYER_CONSTRAINT_PREPROCESSOR",7),oWe=new Kk("PARTITION_MIDPROCESSOR",8),jGe=new Kk("HIGH_DEGREE_NODE_LAYER_PROCESSOR",9),tWe=new Kk("NODE_PROMOTION",10),KGe=new Kk("LAYER_CONSTRAINT_POSTPROCESSOR",11),aWe=new Kk("PARTITION_POSTPROCESSOR",12),DGe=new Kk("HIERARCHICAL_PORT_CONSTRAINT_PROCESSOR",13),gWe=new Kk("SEMI_INTERACTIVE_CROSSMIN_PROCESSOR",14),mGe=new Kk("BREAKING_POINT_INSERTER",15),eWe=new Kk("LONG_EDGE_SPLITTER",16),uWe=new Kk("PORT_SIDE_PROCESSOR",17),HGe=new Kk("INVERTED_PORT_PROCESSOR",18),lWe=new Kk("PORT_LIST_SORTER",19),bWe=new Kk("SORT_BY_INPUT_ORDER_OF_MODEL",20),rWe=new Kk("NORTH_SOUTH_PORT_PREPROCESSOR",21),bGe=new Kk("BREAKING_POINT_PROCESSOR",22),iWe=new Kk(hIe,23),vWe=new Kk(dIe,24),fWe=new Kk("SELF_LOOP_PORT_RESTORER",25),mWe=new Kk("SINGLE_EDGE_GRAPH_WRAPPER",26),GGe=new Kk("IN_LAYER_CONSTRAINT_PROCESSOR",27),AGe=new Kk("END_NODE_PORT_LABEL_MANAGEMENT_PROCESSOR",28),WGe=new Kk("LABEL_AND_NODE_SIZE_PROCESSOR",29),VGe=new Kk("INNERMOST_NODE_MARGIN_CALCULATOR",30),pWe=new Kk("SELF_LOOP_ROUTER",31),wGe=new Kk("COMMENT_NODE_MARGIN_CALCULATOR",32),MGe=new Kk("END_LABEL_PREPROCESSOR",33),XGe=new Kk("LABEL_DUMMY_SWITCHER",34),yGe=new Kk("CENTER_LABEL_MANAGEMENT_PROCESSOR",35),YGe=new Kk("LABEL_SIDE_SELECTOR",36),zGe=new Kk("HYPEREDGE_DUMMY_MERGER",37),RGe=new Kk("HIERARCHICAL_PORT_DUMMY_SIZE_PROCESSOR",38),QGe=new Kk("LAYER_SIZE_AND_GRAPH_HEIGHT_CALCULATOR",39),NGe=new Kk("HIERARCHICAL_PORT_POSITION_PROCESSOR",40),SGe=new Kk("CONSTRAINTS_POSTPROCESSOR",41),xGe=new Kk("COMMENT_POSTPROCESSOR",42),BGe=new Kk("HYPERNODE_PROCESSOR",43),LGe=new Kk("HIERARCHICAL_PORT_ORTHOGONAL_EDGE_ROUTER",44),JGe=new Kk("LONG_EDGE_JOINER",45),hWe=new Kk("SELF_LOOP_POSTPROCESSOR",46),vGe=new Kk("BREAKING_POINT_REMOVER",47),nWe=new Kk("NORTH_SOUTH_PORT_POSTPROCESSOR",48),FGe=new Kk("HORIZONTAL_COMPACTOR",49),qGe=new Kk("LABEL_DUMMY_REMOVER",50),PGe=new Kk("FINAL_SPLINE_BENDPOINTS_CALCULATOR",51),TGe=new Kk("END_LABEL_SORTER",52),cWe=new Kk("REVERSED_EDGE_RESTORER",53),IGe=new Kk("END_LABEL_POSTPROCESSOR",54),OGe=new Kk("HIERARCHICAL_NODE_RESIZER",55),kGe=new Kk("DIRECTION_POSTPROCESSOR",56)}function gxe(){gxe=S,Oot=new zm(7),Dot=new vj(8,94),new vj(8,64),Rot=new vj(8,36),Bot=new vj(8,65),Vot=new vj(8,122),$ot=new vj(8,90),Wot=new vj(8,98),Fot=new vj(8,66),Hot=new vj(8,60),Uot=new vj(8,62),Pot=new zm(11),Fde(Aot=new lW(4),48,57),Fde(Got=new lW(4),48,57),Fde(Got,65,90),Fde(Got,95,95),Fde(Got,97,122),Fde(zot=new lW(4),9,9),Fde(zot,10,10),Fde(zot,12,12),Fde(zot,13,13),Fde(zot,32,32),Lot=Bme(Aot),jot=Bme(Got),Not=Bme(zot),Eot=new Hm,Iot=new Hm,Mot=q3(lw(CFe,1),s_e,2,6,["Cn","Lu","Ll","Lt","Lm","Lo","Mn","Me","Mc","Nd","Nl","No","Zs","Zl","Zp","Cc","Cf",null,"Co","Cs","Pd","Ps","Pe","Pc","Po","Sm","Sc","Sk","So","Pi","Pf","L","M","N","Z","C","P","S"]),Cot=q3(lw(CFe,1),s_e,2,6,["Basic Latin","Latin-1 Supplement","Latin Extended-A","Latin Extended-B","IPA Extensions","Spacing Modifier Letters","Combining Diacritical Marks","Greek","Cyrillic","Armenian","Hebrew","Arabic","Syriac","Thaana","Devanagari","Bengali","Gurmukhi","Gujarati","Oriya","Tamil","Telugu","Kannada","Malayalam","Sinhala","Thai","Lao","Tibetan","Myanmar","Georgian","Hangul Jamo","Ethiopic","Cherokee","Unified Canadian Aboriginal Syllabics","Ogham","Runic","Khmer","Mongolian","Latin Extended Additional","Greek Extended","General Punctuation","Superscripts and Subscripts","Currency Symbols","Combining Marks for Symbols","Letterlike Symbols","Number Forms","Arrows","Mathematical Operators","Miscellaneous Technical","Control Pictures","Optical Character Recognition","Enclosed Alphanumerics","Box Drawing","Block Elements","Geometric Shapes","Miscellaneous Symbols","Dingbats","Braille Patterns","CJK Radicals Supplement","Kangxi Radicals","Ideographic Description Characters","CJK Symbols and Punctuation","Hiragana","Katakana","Bopomofo","Hangul Compatibility Jamo","Kanbun","Bopomofo Extended","Enclosed CJK Letters and Months","CJK Compatibility","CJK Unified Ideographs Extension A","CJK Unified Ideographs","Yi Syllables","Yi Radicals","Hangul Syllables",eje,"CJK Compatibility Ideographs","Alphabetic Presentation Forms","Arabic Presentation Forms-A","Combining Half Marks","CJK Compatibility Forms","Small Form Variants","Arabic Presentation Forms-B","Specials","Halfwidth and Fullwidth Forms","Old Italic","Gothic","Deseret","Byzantine Musical Symbols","Musical Symbols","Mathematical Alphanumeric Symbols","CJK Unified Ideographs Extension B","CJK Compatibility Ideographs Supplement","Tags"]),Tot=q3(lw(nat,1),sSe,24,15,[66304,66351,66352,66383,66560,66639,118784,119039,119040,119295,119808,120831,131072,173782,194560,195103,917504,917631])}function mxe(){mxe=S,fVe=new e2("OUT_T_L",0,(JK(),RBe),(QZ(),VBe),(nJ(),MBe),MBe,q3(lw(wje,1),zxe,21,0,[Oj((Sfe(),ret),q3(lw(get,1),A_e,92,0,[aet,J7e]))])),cVe=new e2("OUT_T_C",1,DBe,VBe,MBe,TBe,q3(lw(wje,1),zxe,21,0,[Oj(ret,q3(lw(get,1),A_e,92,0,[aet,Q7e])),Oj(ret,q3(lw(get,1),A_e,92,0,[aet,Q7e,eet]))])),hVe=new e2("OUT_T_R",2,LBe,VBe,MBe,ABe,q3(lw(wje,1),zxe,21,0,[Oj(ret,q3(lw(get,1),A_e,92,0,[aet,tet]))])),nVe=new e2("OUT_B_L",3,RBe,HBe,ABe,MBe,q3(lw(wje,1),zxe,21,0,[Oj(ret,q3(lw(get,1),A_e,92,0,[iet,J7e]))])),tVe=new e2("OUT_B_C",4,DBe,HBe,ABe,TBe,q3(lw(wje,1),zxe,21,0,[Oj(ret,q3(lw(get,1),A_e,92,0,[iet,Q7e])),Oj(ret,q3(lw(get,1),A_e,92,0,[iet,Q7e,eet]))])),rVe=new e2("OUT_B_R",5,LBe,HBe,ABe,ABe,q3(lw(wje,1),zxe,21,0,[Oj(ret,q3(lw(get,1),A_e,92,0,[iet,tet]))])),aVe=new e2("OUT_L_T",6,LBe,HBe,MBe,MBe,q3(lw(wje,1),zxe,21,0,[Oj(ret,q3(lw(get,1),A_e,92,0,[J7e,aet,eet]))])),oVe=new e2("OUT_L_C",7,LBe,$Be,TBe,MBe,q3(lw(wje,1),zxe,21,0,[Oj(ret,q3(lw(get,1),A_e,92,0,[J7e,oet])),Oj(ret,q3(lw(get,1),A_e,92,0,[J7e,oet,eet]))])),iVe=new e2("OUT_L_B",8,LBe,VBe,ABe,MBe,q3(lw(wje,1),zxe,21,0,[Oj(ret,q3(lw(get,1),A_e,92,0,[J7e,iet,eet]))])),uVe=new e2("OUT_R_T",9,RBe,HBe,MBe,ABe,q3(lw(wje,1),zxe,21,0,[Oj(ret,q3(lw(get,1),A_e,92,0,[tet,aet,eet]))])),lVe=new e2("OUT_R_C",10,RBe,$Be,TBe,ABe,q3(lw(wje,1),zxe,21,0,[Oj(ret,q3(lw(get,1),A_e,92,0,[tet,oet])),Oj(ret,q3(lw(get,1),A_e,92,0,[tet,oet,eet]))])),sVe=new e2("OUT_R_B",11,RBe,VBe,ABe,ABe,q3(lw(wje,1),zxe,21,0,[Oj(ret,q3(lw(get,1),A_e,92,0,[tet,iet,eet]))])),JBe=new e2("IN_T_L",12,RBe,HBe,MBe,MBe,q3(lw(wje,1),zxe,21,0,[Oj(net,q3(lw(get,1),A_e,92,0,[aet,J7e])),Oj(net,q3(lw(get,1),A_e,92,0,[aet,J7e,eet]))])),QBe=new e2("IN_T_C",13,DBe,HBe,MBe,TBe,q3(lw(wje,1),zxe,21,0,[Oj(net,q3(lw(get,1),A_e,92,0,[aet,Q7e])),Oj(net,q3(lw(get,1),A_e,92,0,[aet,Q7e,eet]))])),eVe=new e2("IN_T_R",14,LBe,HBe,MBe,ABe,q3(lw(wje,1),zxe,21,0,[Oj(net,q3(lw(get,1),A_e,92,0,[aet,tet])),Oj(net,q3(lw(get,1),A_e,92,0,[aet,tet,eet]))])),KBe=new e2("IN_C_L",15,RBe,$Be,TBe,MBe,q3(lw(wje,1),zxe,21,0,[Oj(net,q3(lw(get,1),A_e,92,0,[oet,J7e])),Oj(net,q3(lw(get,1),A_e,92,0,[oet,J7e,eet]))])),YBe=new e2("IN_C_C",16,DBe,$Be,TBe,TBe,q3(lw(wje,1),zxe,21,0,[Oj(net,q3(lw(get,1),A_e,92,0,[oet,Q7e])),Oj(net,q3(lw(get,1),A_e,92,0,[oet,Q7e,eet]))])),ZBe=new e2("IN_C_R",17,LBe,$Be,TBe,ABe,q3(lw(wje,1),zxe,21,0,[Oj(net,q3(lw(get,1),A_e,92,0,[oet,tet])),Oj(net,q3(lw(get,1),A_e,92,0,[oet,tet,eet]))])),qBe=new e2("IN_B_L",18,RBe,VBe,ABe,MBe,q3(lw(wje,1),zxe,21,0,[Oj(net,q3(lw(get,1),A_e,92,0,[iet,J7e])),Oj(net,q3(lw(get,1),A_e,92,0,[iet,J7e,eet]))])),UBe=new e2("IN_B_C",19,DBe,VBe,ABe,TBe,q3(lw(wje,1),zxe,21,0,[Oj(net,q3(lw(get,1),A_e,92,0,[iet,Q7e])),Oj(net,q3(lw(get,1),A_e,92,0,[iet,Q7e,eet]))])),XBe=new e2("IN_B_R",20,LBe,VBe,ABe,ABe,q3(lw(wje,1),zxe,21,0,[Oj(net,q3(lw(get,1),A_e,92,0,[iet,tet])),Oj(net,q3(lw(get,1),A_e,92,0,[iet,tet,eet]))])),dVe=new e2(sCe,21,null,null,null,null,q3(lw(wje,1),zxe,21,0,[]))}function bxe(){bxe=S,Ert=($z(),krt).b,LL(sJ(k$(krt.b),0),32),LL(sJ(k$(krt.b),1),17),Crt=krt.a,LL(sJ(k$(krt.a),0),32),LL(sJ(k$(krt.a),1),17),LL(sJ(k$(krt.a),2),17),LL(sJ(k$(krt.a),3),17),LL(sJ(k$(krt.a),4),17),Irt=krt.o,LL(sJ(k$(krt.o),0),32),LL(sJ(k$(krt.o),1),32),Trt=LL(sJ(k$(krt.o),2),17),LL(sJ(k$(krt.o),3),17),LL(sJ(k$(krt.o),4),17),LL(sJ(k$(krt.o),5),17),LL(sJ(k$(krt.o),6),17),LL(sJ(k$(krt.o),7),17),LL(sJ(k$(krt.o),8),17),LL(sJ(k$(krt.o),9),17),LL(sJ(k$(krt.o),10),17),LL(sJ(k$(krt.o),11),17),LL(sJ(k$(krt.o),12),17),LL(sJ(k$(krt.o),13),17),LL(sJ(k$(krt.o),14),17),LL(sJ(k$(krt.o),15),17),LL(sJ(S$(krt.o),0),58),LL(sJ(S$(krt.o),1),58),LL(sJ(S$(krt.o),2),58),LL(sJ(S$(krt.o),3),58),LL(sJ(S$(krt.o),4),58),LL(sJ(S$(krt.o),5),58),LL(sJ(S$(krt.o),6),58),LL(sJ(S$(krt.o),7),58),LL(sJ(S$(krt.o),8),58),LL(sJ(S$(krt.o),9),58),Mrt=krt.p,LL(sJ(k$(krt.p),0),32),LL(sJ(k$(krt.p),1),32),LL(sJ(k$(krt.p),2),32),LL(sJ(k$(krt.p),3),32),LL(sJ(k$(krt.p),4),17),LL(sJ(k$(krt.p),5),17),LL(sJ(S$(krt.p),0),58),LL(sJ(S$(krt.p),1),58),Art=krt.q,LL(sJ(k$(krt.q),0),32),Prt=krt.v,LL(sJ(k$(krt.v),0),17),LL(sJ(S$(krt.v),0),58),LL(sJ(S$(krt.v),1),58),LL(sJ(S$(krt.v),2),58),Ort=krt.w,LL(sJ(k$(krt.w),0),32),LL(sJ(k$(krt.w),1),32),LL(sJ(k$(krt.w),2),32),LL(sJ(k$(krt.w),3),17),Drt=krt.B,LL(sJ(k$(krt.B),0),17),LL(sJ(S$(krt.B),0),58),LL(sJ(S$(krt.B),1),58),LL(sJ(S$(krt.B),2),58),Nrt=krt.Q,LL(sJ(k$(krt.Q),0),17),LL(sJ(S$(krt.Q),0),58),jrt=krt.R,LL(sJ(k$(krt.R),0),32),Frt=krt.S,LL(sJ(S$(krt.S),0),58),LL(sJ(S$(krt.S),1),58),LL(sJ(S$(krt.S),2),58),LL(sJ(S$(krt.S),3),58),LL(sJ(S$(krt.S),4),58),LL(sJ(S$(krt.S),5),58),LL(sJ(S$(krt.S),6),58),LL(sJ(S$(krt.S),7),58),LL(sJ(S$(krt.S),8),58),LL(sJ(S$(krt.S),9),58),LL(sJ(S$(krt.S),10),58),LL(sJ(S$(krt.S),11),58),LL(sJ(S$(krt.S),12),58),LL(sJ(S$(krt.S),13),58),LL(sJ(S$(krt.S),14),58),zrt=krt.T,LL(sJ(k$(krt.T),0),17),LL(sJ(k$(krt.T),2),17),Brt=LL(sJ(k$(krt.T),3),17),LL(sJ(k$(krt.T),4),17),LL(sJ(S$(krt.T),0),58),LL(sJ(S$(krt.T),1),58),LL(sJ(k$(krt.T),1),17),Vrt=krt.U,LL(sJ(k$(krt.U),0),32),LL(sJ(k$(krt.U),1),32),LL(sJ(k$(krt.U),2),17),LL(sJ(k$(krt.U),3),17),LL(sJ(k$(krt.U),4),17),LL(sJ(k$(krt.U),5),17),LL(sJ(S$(krt.U),0),58),$rt=krt.V,LL(sJ(k$(krt.V),0),17),Hrt=krt.W,LL(sJ(k$(krt.W),0),32),LL(sJ(k$(krt.W),1),32),LL(sJ(k$(krt.W),2),32),LL(sJ(k$(krt.W),3),17),LL(sJ(k$(krt.W),4),17),LL(sJ(k$(krt.W),5),17),Wrt=krt.bb,LL(sJ(k$(krt.bb),0),32),LL(sJ(k$(krt.bb),1),32),LL(sJ(k$(krt.bb),2),32),LL(sJ(k$(krt.bb),3),32),LL(sJ(k$(krt.bb),4),32),LL(sJ(k$(krt.bb),5),32),LL(sJ(k$(krt.bb),6),32),LL(sJ(k$(krt.bb),7),17),LL(sJ(S$(krt.bb),0),58),LL(sJ(S$(krt.bb),1),58),Urt=krt.eb,LL(sJ(k$(krt.eb),0),32),LL(sJ(k$(krt.eb),1),32),LL(sJ(k$(krt.eb),2),32),LL(sJ(k$(krt.eb),3),32),LL(sJ(k$(krt.eb),4),32),LL(sJ(k$(krt.eb),5),32),LL(sJ(k$(krt.eb),6),17),LL(sJ(k$(krt.eb),7),17),Grt=krt.ab,LL(sJ(k$(krt.ab),0),32),LL(sJ(k$(krt.ab),1),32),Rrt=krt.H,LL(sJ(k$(krt.H),0),17),LL(sJ(k$(krt.H),1),17),LL(sJ(k$(krt.H),2),17),LL(sJ(k$(krt.H),3),17),LL(sJ(k$(krt.H),4),17),LL(sJ(k$(krt.H),5),17),LL(sJ(S$(krt.H),0),58),qrt=krt.db,LL(sJ(k$(krt.db),0),17),Lrt=krt.M}function vxe(e){GS(e,new rae(Kw(Gw(Yw(Hw(Xw(Uw(new hs,rIe),"ELK Layered"),"Layer-based algorithm provided by the Eclipse Layout Kernel. Arranges as many edges as possible into one direction by placing nodes into subsequent layers. This implementation supports different routing styles (straight, orthogonal, splines); if orthogonal routing is selected, arbitrary port constraints are respected, thus enabling the layout of block diagrams such as actor-oriented models or circuit schematics. Furthermore, full layout of compound graphs with cross-hierarchy edges is supported when the respective option is activated on the top level."),new ko),rIe),Oj((qce(),Int),q3(lw(Tnt,1),A_e,237,0,[knt,Cnt,Snt,Ent,xnt,wnt]))))),rU(e,rIe,pTe,gte(mJe)),rU(e,rIe,gTe,gte(bJe)),rU(e,rIe,GCe,gte(vJe)),rU(e,rIe,mTe,gte(yJe)),rU(e,rIe,mEe,gte(xJe)),rU(e,rIe,bTe,gte(_Je)),rU(e,rIe,vTe,gte(CJe)),rU(e,rIe,yTe,gte(IJe)),rU(e,rIe,wTe,gte(EJe)),rU(e,rIe,gEe,gte(MJe)),rU(e,rIe,xTe,gte(AJe)),rU(e,rIe,_Te,gte(OJe)),rU(e,rIe,STe,gte(kJe)),rU(e,rIe,xMe,gte(gJe)),rU(e,rIe,SMe,gte(wJe)),rU(e,rIe,_Me,gte(SJe)),rU(e,rIe,kMe,gte(TJe)),rU(e,rIe,pEe,k8(0)),rU(e,rIe,CMe,gte(cJe)),rU(e,rIe,EMe,gte(fJe)),rU(e,rIe,IMe,gte(hJe)),rU(e,rIe,RMe,gte(HJe)),rU(e,rIe,LMe,gte(LJe)),rU(e,rIe,NMe,gte(NJe)),rU(e,rIe,jMe,gte(zJe)),rU(e,rIe,FMe,gte(jJe)),rU(e,rIe,zMe,gte(FJe)),rU(e,rIe,BMe,gte(WJe)),rU(e,rIe,VMe,gte(GJe)),rU(e,rIe,$Me,gte(VJe)),rU(e,rIe,HMe,gte(BJe)),rU(e,rIe,GMe,gte($Je)),rU(e,rIe,pMe,gte(jQe)),rU(e,rIe,gMe,gte(FQe)),rU(e,rIe,vMe,gte(oQe)),rU(e,rIe,yMe,gte(aQe)),rU(e,rIe,qCe,WQe),rU(e,rIe,nTe,tQe),rU(e,rIe,kTe,0),rU(e,rIe,bEe,k8(1)),rU(e,rIe,UCe,hEe),rU(e,rIe,CTe,gte(HQe)),rU(e,rIe,wEe,gte(tJe)),rU(e,rIe,ETe,gte(aJe)),rU(e,rIe,ITe,gte(UZe)),rU(e,rIe,MTe,gte(MZe)),rU(e,rIe,ZMe,gte(uQe)),rU(e,rIe,vEe,(_P(),!0)),rU(e,rIe,TTe,gte(pQe)),rU(e,rIe,ATe,gte(gQe)),rU(e,rIe,PTe,gte(BQe)),rU(e,rIe,OTe,gte($Qe)),rU(e,rIe,DTe,YZe),rU(e,rIe,RTe,gte(OQe)),rU(e,rIe,LTe,gte(PQe)),rU(e,rIe,NTe,gte(iJe)),rU(e,rIe,jTe,gte(rJe)),rU(e,rIe,FTe,gte(oJe)),rU(e,rIe,zTe,XQe),rU(e,rIe,BTe,gte(KQe)),rU(e,rIe,VTe,gte(ZQe)),rU(e,rIe,$Te,gte(QQe)),rU(e,rIe,HTe,gte(YQe)),rU(e,rIe,GIe,gte(RJe)),rU(e,rIe,UIe,gte(IQe)),rU(e,rIe,QIe,gte(EQe)),rU(e,rIe,HIe,gte(DJe)),rU(e,rIe,qIe,gte(xQe)),rU(e,rIe,WIe,gte(WZe)),rU(e,rIe,tMe,gte(GZe)),rU(e,rIe,aMe,gte(jZe)),rU(e,rIe,sMe,gte(zZe)),rU(e,rIe,lMe,gte(FZe)),rU(e,rIe,rMe,gte(HZe)),rU(e,rIe,zIe,gte(TQe)),rU(e,rIe,BIe,gte(AQe)),rU(e,rIe,FIe,gte(bQe)),rU(e,rIe,uMe,gte(zQe)),rU(e,rIe,hMe,gte(RQe)),rU(e,rIe,jIe,gte(lQe)),rU(e,rIe,dMe,gte(NQe)),rU(e,rIe,mMe,gte(rQe)),rU(e,rIe,bMe,gte(iQe)),rU(e,rIe,GTe,gte(NZe)),rU(e,rIe,fMe,gte(DQe)),rU(e,rIe,TMe,gte(RZe)),rU(e,rIe,AMe,gte(DZe)),rU(e,rIe,MMe,gte(OZe)),rU(e,rIe,PMe,gte(fQe)),rU(e,rIe,OMe,gte(cQe)),rU(e,rIe,DMe,gte(hQe)),rU(e,rIe,WTe,gte(VQe)),rU(e,rIe,UTe,gte(vQe)),rU(e,rIe,WCe,gte(sQe)),rU(e,rIe,qTe,gte(QZe)),rU(e,rIe,xEe,gte(ZZe)),rU(e,rIe,nMe,gte(BZe)),rU(e,rIe,XTe,gte(nJe)),rU(e,rIe,YTe,gte(PZe)),rU(e,rIe,KTe,gte(dQe)),rU(e,rIe,ZTe,gte(JQe)),rU(e,rIe,QTe,gte(UQe)),rU(e,rIe,JTe,gte(qQe)),rU(e,rIe,KIe,gte(SQe)),rU(e,rIe,ZIe,gte(kQe)),rU(e,rIe,eAe,gte(lJe)),rU(e,rIe,VIe,gte(TZe)),rU(e,rIe,JIe,gte(CQe)),rU(e,rIe,WMe,gte(JZe)),rU(e,rIe,UMe,gte(KZe)),rU(e,rIe,tAe,gte(MQe)),rU(e,rIe,eMe,gte(yQe)),rU(e,rIe,cMe,gte(LQe)),rU(e,rIe,nAe,gte(PJe)),rU(e,rIe,NIe,gte(XZe)),rU(e,rIe,$Ie,gte(sJe)),rU(e,rIe,wMe,gte(nQe)),rU(e,rIe,XIe,gte(wQe)),rU(e,rIe,iMe,gte(VZe)),rU(e,rIe,rAe,gte(mQe)),rU(e,rIe,YIe,gte(_Qe)),rU(e,rIe,oMe,gte($Ze)),rU(e,rIe,LIe,gte(LZe))}function yxe(e,t){var n;return Sot||(Sot=new Hm,kot=new Hm,gxe(),gxe(),D7(n=new lW(4),"\t\n\r\r "),vG(Sot,YNe,n),vG(kot,YNe,Bme(n)),D7(n=new lW(4),QNe),vG(Sot,qNe,n),vG(kot,qNe,Bme(n)),D7(n=new lW(4),QNe),vG(Sot,qNe,n),vG(kot,qNe,Bme(n)),D7(n=new lW(4),JNe),Zbe(n,LL(CH(Sot,qNe),117)),vG(Sot,XNe,n),vG(kot,XNe,Bme(n)),D7(n=new lW(4),"-.0:AZ__az··ÀÖØöøıĴľŁňŊžƀǃǍǰǴǵǺȗɐʨʻˁːˑ̀͠͡ͅΆΊΌΌΎΡΣώϐϖϚϚϜϜϞϞϠϠϢϳЁЌЎяёќўҁ҃҆ҐӄӇӈӋӌӐӫӮӵӸӹԱՖՙՙաֆֹֻֽֿֿׁׂ֑֣֡ׄׄאתװײءغـْ٠٩ٰڷںھۀێېۓە۪ۭۨ۰۹ँःअह़्॑॔क़ॣ०९ঁঃঅঌএঐওনপরললশহ়়াৄেৈো্ৗৗড়ঢ়য়ৣ০ৱਂਂਅਊਏਐਓਨਪਰਲਲ਼ਵਸ਼ਸਹ਼਼ਾੂੇੈੋ੍ਖ਼ੜਫ਼ਫ਼੦ੴઁઃઅઋઍઍએઑઓનપરલળવહ઼ૅેૉો્ૠૠ૦૯ଁଃଅଌଏଐଓନପରଲଳଶହ଼ୃେୈୋ୍ୖୗଡ଼ଢ଼ୟୡ୦୯ஂஃஅஊஎஐஒகஙசஜஜஞடணதநபமவஷஹாூெைொ்ௗௗ௧௯ఁఃఅఌఎఐఒనపళవహాౄెైొ్ౕౖౠౡ౦౯ಂಃಅಌಎಐಒನಪಳವಹಾೄೆೈೊ್ೕೖೞೞೠೡ೦೯ംഃഅഌഎഐഒനപഹാൃെൈൊ്ൗൗൠൡ൦൯กฮะฺเ๎๐๙ກຂຄຄງຈຊຊຍຍດທນຟມຣລລວວສຫອຮະູົຽເໄໆໆ່ໍ໐໙༘༙༠༩༹༹༵༵༷༷༾ཇཉཀྵ྄ཱ྆ྋྐྕྗྗྙྭྱྷྐྵྐྵႠჅაჶᄀᄀᄂᄃᄅᄇᄉᄉᄋᄌᄎᄒᄼᄼᄾᄾᅀᅀᅌᅌᅎᅎᅐᅐᅔᅕᅙᅙᅟᅡᅣᅣᅥᅥᅧᅧᅩᅩᅭᅮᅲᅳᅵᅵᆞᆞᆨᆨᆫᆫᆮᆯᆷᆸᆺᆺᆼᇂᇫᇫᇰᇰᇹᇹḀẛẠỹἀἕἘἝἠὅὈὍὐὗὙὙὛὛὝὝὟώᾀᾴᾶᾼιιῂῄῆῌῐΐῖΊῠῬῲῴῶῼ⃐⃜⃡⃡ΩΩKÅ℮℮ↀↂ々々〇〇〡〯〱〵ぁゔ゙゚ゝゞァヺーヾㄅㄬ一龥가힣"),vG(Sot,KNe,n),vG(kot,KNe,Bme(n)),D7(n=new lW(4),JNe),Fde(n,95,95),Fde(n,58,58),vG(Sot,ZNe,n),vG(kot,ZNe,Bme(n))),LL(CH(t?Sot:kot,e),136)}function wxe(e){return fR("_UI_EMFDiagnostic_marker",e)?"EMF Problem":fR("_UI_CircularContainment_diagnostic",e)?"An object may not circularly contain itself":fR(ZDe,e)?"Wrong character.":fR(QDe,e)?"Invalid reference number.":fR(JDe,e)?"A character is required after \\.":fR(eRe,e)?"'?' is not expected. '(?:' or '(?=' or '(?!' or '(?<' or '(?#' or '(?>'?":fR(tRe,e)?"'(?<' or '(?<!' is expected.":fR(nRe,e)?"A comment is not terminated.":fR(rRe,e)?"')' is expected.":fR(iRe,e)?"Unexpected end of the pattern in a modifier group.":fR(oRe,e)?"':' is expected.":fR(aRe,e)?"Unexpected end of the pattern in a conditional group.":fR(sRe,e)?"A back reference or an anchor or a lookahead or a look-behind is expected in a conditional pattern.":fR(lRe,e)?"There are more than three choices in a conditional group.":fR(uRe,e)?"A character in U+0040-U+005f must follow \\c.":fR(cRe,e)?"A '{' is required before a character category.":fR(fRe,e)?"A property name is not closed by '}'.":fR(hRe,e)?"Unexpected meta character.":fR(dRe,e)?"Unknown property.":fR(pRe,e)?"A POSIX character class must be closed by ':]'.":fR(gRe,e)?"Unexpected end of the pattern in a character class.":fR(mRe,e)?"Unknown name for a POSIX character class.":fR("parser.cc.4",e)?"'-' is invalid here.":fR(bRe,e)?"']' is expected.":fR(vRe,e)?"'[' is invalid in a character class. Write '\\['.":fR(yRe,e)?"']' is invalid in a character class. Write '\\]'.":fR(wRe,e)?"'-' is an invalid character range. Write '\\-'.":fR(xRe,e)?"'[' is expected.":fR(_Re,e)?"')' or '-[' or '+[' or '&[' is expected.":fR(SRe,e)?"The range end code point is less than the start code point.":fR(kRe,e)?"Invalid Unicode hex notation.":fR(CRe,e)?"Overflow in a hex notation.":fR(ERe,e)?"'\\x{' must be closed by '}'.":fR(IRe,e)?"Invalid Unicode code point.":fR(MRe,e)?"An anchor must not be here.":fR(TRe,e)?"This expression is not supported in the current option setting.":fR(ARe,e)?"Invalid quantifier. A digit is expected.":fR(PRe,e)?"Invalid quantifier. Invalid quantity or a '}' is missing.":fR(ORe,e)?"Invalid quantifier. A digit or '}' is expected.":fR(DRe,e)?"Invalid quantifier. A min quantity must be <= a max quantity.":fR(RRe,e)?"Invalid quantifier. A quantity value overflow.":fR("_UI_PackageRegistry_extensionpoint",e)?"Ecore Package Registry for Generated Packages":fR("_UI_DynamicPackageRegistry_extensionpoint",e)?"Ecore Package Registry for Dynamic Packages":fR("_UI_FactoryRegistry_extensionpoint",e)?"Ecore Factory Override Registry":fR("_UI_URIExtensionParserRegistry_extensionpoint",e)?"URI Extension Parser Registry":fR("_UI_URIProtocolParserRegistry_extensionpoint",e)?"URI Protocol Parser Registry":fR("_UI_URIContentParserRegistry_extensionpoint",e)?"URI Content Parser Registry":fR("_UI_ContentHandlerRegistry_extensionpoint",e)?"Content Handler Registry":fR("_UI_URIMappingRegistry_extensionpoint",e)?"URI Converter Mapping Registry":fR("_UI_PackageRegistryImplementation_extensionpoint",e)?"Ecore Package Registry Implementation":fR("_UI_ValidationDelegateRegistry_extensionpoint",e)?"Validation Delegate Registry":fR("_UI_SettingDelegateRegistry_extensionpoint",e)?"Feature Setting Delegate Factory Registry":fR("_UI_InvocationDelegateRegistry_extensionpoint",e)?"Operation Invocation Delegate Factory Registry":fR("_UI_EClassInterfaceNotAbstract_diagnostic",e)?"A class that is an interface must also be abstract":fR("_UI_EClassNoCircularSuperTypes_diagnostic",e)?"A class may not be a super type of itself":fR("_UI_EClassNotWellFormedMapEntryNoInstanceClassName_diagnostic",e)?"A class that inherits from a map entry class must have instance class name 'java.util.Map$Entry'":fR("_UI_EReferenceOppositeOfOppositeInconsistent_diagnostic",e)?"The opposite of the opposite may not be a reference different from this one":fR("_UI_EReferenceOppositeNotFeatureOfType_diagnostic",e)?"The opposite must be a feature of the reference's type":fR("_UI_EReferenceTransientOppositeNotTransient_diagnostic",e)?"The opposite of a transient reference must be transient if it is proxy resolving":fR("_UI_EReferenceOppositeBothContainment_diagnostic",e)?"The opposite of a containment reference must not be a containment reference":fR("_UI_EReferenceConsistentUnique_diagnostic",e)?"A containment or bidirectional reference must be unique if its upper bound is different from 1":fR("_UI_ETypedElementNoType_diagnostic",e)?"The typed element must have a type":fR("_UI_EAttributeNoDataType_diagnostic",e)?"The generic attribute type must not refer to a class":fR("_UI_EReferenceNoClass_diagnostic",e)?"The generic reference type must not refer to a data type":fR("_UI_EGenericTypeNoTypeParameterAndClassifier_diagnostic",e)?"A generic type can't refer to both a type parameter and a classifier":fR("_UI_EGenericTypeNoClass_diagnostic",e)?"A generic super type must refer to a class":fR("_UI_EGenericTypeNoTypeParameterOrClassifier_diagnostic",e)?"A generic type in this context must refer to a classifier or a type parameter":fR("_UI_EGenericTypeBoundsOnlyForTypeArgument_diagnostic",e)?"A generic type may have bounds only when used as a type argument":fR("_UI_EGenericTypeNoUpperAndLowerBound_diagnostic",e)?"A generic type must not have both a lower and an upper bound":fR("_UI_EGenericTypeNoTypeParameterOrClassifierAndBound_diagnostic",e)?"A generic type with bounds must not also refer to a type parameter or classifier":fR("_UI_EGenericTypeNoArguments_diagnostic",e)?"A generic type may have arguments only if it refers to a classifier":fR("_UI_EGenericTypeOutOfScopeTypeParameter_diagnostic",e)?"A generic type may only refer to a type parameter that is in scope":e}function xxe(){xxe=S,(_ot=fK(oat,rDe,24,FSe,15,1))[9]=35,_ot[10]=19,_ot[13]=19,_ot[32]=51,_ot[33]=49,_ot[34]=33,sz(_ot,35,38,49),_ot[38]=1,sz(_ot,39,45,49),sz(_ot,45,47,-71),_ot[47]=49,sz(_ot,48,58,-71),_ot[58]=61,_ot[59]=49,_ot[60]=1,_ot[61]=49,_ot[62]=33,sz(_ot,63,65,49),sz(_ot,65,91,-3),sz(_ot,91,93,33),_ot[93]=1,_ot[94]=33,_ot[95]=-3,_ot[96]=33,sz(_ot,97,123,-3),sz(_ot,123,183,33),_ot[183]=-87,sz(_ot,184,192,33),sz(_ot,192,215,-19),_ot[215]=33,sz(_ot,216,247,-19),_ot[247]=33,sz(_ot,248,306,-19),sz(_ot,306,308,33),sz(_ot,308,319,-19),sz(_ot,319,321,33),sz(_ot,321,329,-19),_ot[329]=33,sz(_ot,330,383,-19),_ot[383]=33,sz(_ot,384,452,-19),sz(_ot,452,461,33),sz(_ot,461,497,-19),sz(_ot,497,500,33),sz(_ot,500,502,-19),sz(_ot,502,506,33),sz(_ot,506,536,-19),sz(_ot,536,592,33),sz(_ot,592,681,-19),sz(_ot,681,699,33),sz(_ot,699,706,-19),sz(_ot,706,720,33),sz(_ot,720,722,-87),sz(_ot,722,768,33),sz(_ot,768,838,-87),sz(_ot,838,864,33),sz(_ot,864,866,-87),sz(_ot,866,902,33),_ot[902]=-19,_ot[903]=-87,sz(_ot,904,907,-19),_ot[907]=33,_ot[908]=-19,_ot[909]=33,sz(_ot,910,930,-19),_ot[930]=33,sz(_ot,931,975,-19),_ot[975]=33,sz(_ot,976,983,-19),sz(_ot,983,986,33),_ot[986]=-19,_ot[987]=33,_ot[988]=-19,_ot[989]=33,_ot[990]=-19,_ot[991]=33,_ot[992]=-19,_ot[993]=33,sz(_ot,994,1012,-19),sz(_ot,1012,1025,33),sz(_ot,1025,1037,-19),_ot[1037]=33,sz(_ot,1038,1104,-19),_ot[1104]=33,sz(_ot,1105,1117,-19),_ot[1117]=33,sz(_ot,1118,1154,-19),_ot[1154]=33,sz(_ot,1155,1159,-87),sz(_ot,1159,1168,33),sz(_ot,1168,1221,-19),sz(_ot,1221,1223,33),sz(_ot,1223,1225,-19),sz(_ot,1225,1227,33),sz(_ot,1227,1229,-19),sz(_ot,1229,1232,33),sz(_ot,1232,1260,-19),sz(_ot,1260,1262,33),sz(_ot,1262,1270,-19),sz(_ot,1270,1272,33),sz(_ot,1272,1274,-19),sz(_ot,1274,1329,33),sz(_ot,1329,1367,-19),sz(_ot,1367,1369,33),_ot[1369]=-19,sz(_ot,1370,1377,33),sz(_ot,1377,1415,-19),sz(_ot,1415,1425,33),sz(_ot,1425,1442,-87),_ot[1442]=33,sz(_ot,1443,1466,-87),_ot[1466]=33,sz(_ot,1467,1470,-87),_ot[1470]=33,_ot[1471]=-87,_ot[1472]=33,sz(_ot,1473,1475,-87),_ot[1475]=33,_ot[1476]=-87,sz(_ot,1477,1488,33),sz(_ot,1488,1515,-19),sz(_ot,1515,1520,33),sz(_ot,1520,1523,-19),sz(_ot,1523,1569,33),sz(_ot,1569,1595,-19),sz(_ot,1595,1600,33),_ot[1600]=-87,sz(_ot,1601,1611,-19),sz(_ot,1611,1619,-87),sz(_ot,1619,1632,33),sz(_ot,1632,1642,-87),sz(_ot,1642,1648,33),_ot[1648]=-87,sz(_ot,1649,1720,-19),sz(_ot,1720,1722,33),sz(_ot,1722,1727,-19),_ot[1727]=33,sz(_ot,1728,1743,-19),_ot[1743]=33,sz(_ot,1744,1748,-19),_ot[1748]=33,_ot[1749]=-19,sz(_ot,1750,1765,-87),sz(_ot,1765,1767,-19),sz(_ot,1767,1769,-87),_ot[1769]=33,sz(_ot,1770,1774,-87),sz(_ot,1774,1776,33),sz(_ot,1776,1786,-87),sz(_ot,1786,2305,33),sz(_ot,2305,2308,-87),_ot[2308]=33,sz(_ot,2309,2362,-19),sz(_ot,2362,2364,33),_ot[2364]=-87,_ot[2365]=-19,sz(_ot,2366,2382,-87),sz(_ot,2382,2385,33),sz(_ot,2385,2389,-87),sz(_ot,2389,2392,33),sz(_ot,2392,2402,-19),sz(_ot,2402,2404,-87),sz(_ot,2404,2406,33),sz(_ot,2406,2416,-87),sz(_ot,2416,2433,33),sz(_ot,2433,2436,-87),_ot[2436]=33,sz(_ot,2437,2445,-19),sz(_ot,2445,2447,33),sz(_ot,2447,2449,-19),sz(_ot,2449,2451,33),sz(_ot,2451,2473,-19),_ot[2473]=33,sz(_ot,2474,2481,-19),_ot[2481]=33,_ot[2482]=-19,sz(_ot,2483,2486,33),sz(_ot,2486,2490,-19),sz(_ot,2490,2492,33),_ot[2492]=-87,_ot[2493]=33,sz(_ot,2494,2501,-87),sz(_ot,2501,2503,33),sz(_ot,2503,2505,-87),sz(_ot,2505,2507,33),sz(_ot,2507,2510,-87),sz(_ot,2510,2519,33),_ot[2519]=-87,sz(_ot,2520,2524,33),sz(_ot,2524,2526,-19),_ot[2526]=33,sz(_ot,2527,2530,-19),sz(_ot,2530,2532,-87),sz(_ot,2532,2534,33),sz(_ot,2534,2544,-87),sz(_ot,2544,2546,-19),sz(_ot,2546,2562,33),_ot[2562]=-87,sz(_ot,2563,2565,33),sz(_ot,2565,2571,-19),sz(_ot,2571,2575,33),sz(_ot,2575,2577,-19),sz(_ot,2577,2579,33),sz(_ot,2579,2601,-19),_ot[2601]=33,sz(_ot,2602,2609,-19),_ot[2609]=33,sz(_ot,2610,2612,-19),_ot[2612]=33,sz(_ot,2613,2615,-19),_ot[2615]=33,sz(_ot,2616,2618,-19),sz(_ot,2618,2620,33),_ot[2620]=-87,_ot[2621]=33,sz(_ot,2622,2627,-87),sz(_ot,2627,2631,33),sz(_ot,2631,2633,-87),sz(_ot,2633,2635,33),sz(_ot,2635,2638,-87),sz(_ot,2638,2649,33),sz(_ot,2649,2653,-19),_ot[2653]=33,_ot[2654]=-19,sz(_ot,2655,2662,33),sz(_ot,2662,2674,-87),sz(_ot,2674,2677,-19),sz(_ot,2677,2689,33),sz(_ot,2689,2692,-87),_ot[2692]=33,sz(_ot,2693,2700,-19),_ot[2700]=33,_ot[2701]=-19,_ot[2702]=33,sz(_ot,2703,2706,-19),_ot[2706]=33,sz(_ot,2707,2729,-19),_ot[2729]=33,sz(_ot,2730,2737,-19),_ot[2737]=33,sz(_ot,2738,2740,-19),_ot[2740]=33,sz(_ot,2741,2746,-19),sz(_ot,2746,2748,33),_ot[2748]=-87,_ot[2749]=-19,sz(_ot,2750,2758,-87),_ot[2758]=33,sz(_ot,2759,2762,-87),_ot[2762]=33,sz(_ot,2763,2766,-87),sz(_ot,2766,2784,33),_ot[2784]=-19,sz(_ot,2785,2790,33),sz(_ot,2790,2800,-87),sz(_ot,2800,2817,33),sz(_ot,2817,2820,-87),_ot[2820]=33,sz(_ot,2821,2829,-19),sz(_ot,2829,2831,33),sz(_ot,2831,2833,-19),sz(_ot,2833,2835,33),sz(_ot,2835,2857,-19),_ot[2857]=33,sz(_ot,2858,2865,-19),_ot[2865]=33,sz(_ot,2866,2868,-19),sz(_ot,2868,2870,33),sz(_ot,2870,2874,-19),sz(_ot,2874,2876,33),_ot[2876]=-87,_ot[2877]=-19,sz(_ot,2878,2884,-87),sz(_ot,2884,2887,33),sz(_ot,2887,2889,-87),sz(_ot,2889,2891,33),sz(_ot,2891,2894,-87),sz(_ot,2894,2902,33),sz(_ot,2902,2904,-87),sz(_ot,2904,2908,33),sz(_ot,2908,2910,-19),_ot[2910]=33,sz(_ot,2911,2914,-19),sz(_ot,2914,2918,33),sz(_ot,2918,2928,-87),sz(_ot,2928,2946,33),sz(_ot,2946,2948,-87),_ot[2948]=33,sz(_ot,2949,2955,-19),sz(_ot,2955,2958,33),sz(_ot,2958,2961,-19),_ot[2961]=33,sz(_ot,2962,2966,-19),sz(_ot,2966,2969,33),sz(_ot,2969,2971,-19),_ot[2971]=33,_ot[2972]=-19,_ot[2973]=33,sz(_ot,2974,2976,-19),sz(_ot,2976,2979,33),sz(_ot,2979,2981,-19),sz(_ot,2981,2984,33),sz(_ot,2984,2987,-19),sz(_ot,2987,2990,33),sz(_ot,2990,2998,-19),_ot[2998]=33,sz(_ot,2999,3002,-19),sz(_ot,3002,3006,33),sz(_ot,3006,3011,-87),sz(_ot,3011,3014,33),sz(_ot,3014,3017,-87),_ot[3017]=33,sz(_ot,3018,3022,-87),sz(_ot,3022,3031,33),_ot[3031]=-87,sz(_ot,3032,3047,33),sz(_ot,3047,3056,-87),sz(_ot,3056,3073,33),sz(_ot,3073,3076,-87),_ot[3076]=33,sz(_ot,3077,3085,-19),_ot[3085]=33,sz(_ot,3086,3089,-19),_ot[3089]=33,sz(_ot,3090,3113,-19),_ot[3113]=33,sz(_ot,3114,3124,-19),_ot[3124]=33,sz(_ot,3125,3130,-19),sz(_ot,3130,3134,33),sz(_ot,3134,3141,-87),_ot[3141]=33,sz(_ot,3142,3145,-87),_ot[3145]=33,sz(_ot,3146,3150,-87),sz(_ot,3150,3157,33),sz(_ot,3157,3159,-87),sz(_ot,3159,3168,33),sz(_ot,3168,3170,-19),sz(_ot,3170,3174,33),sz(_ot,3174,3184,-87),sz(_ot,3184,3202,33),sz(_ot,3202,3204,-87),_ot[3204]=33,sz(_ot,3205,3213,-19),_ot[3213]=33,sz(_ot,3214,3217,-19),_ot[3217]=33,sz(_ot,3218,3241,-19),_ot[3241]=33,sz(_ot,3242,3252,-19),_ot[3252]=33,sz(_ot,3253,3258,-19),sz(_ot,3258,3262,33),sz(_ot,3262,3269,-87),_ot[3269]=33,sz(_ot,3270,3273,-87),_ot[3273]=33,sz(_ot,3274,3278,-87),sz(_ot,3278,3285,33),sz(_ot,3285,3287,-87),sz(_ot,3287,3294,33),_ot[3294]=-19,_ot[3295]=33,sz(_ot,3296,3298,-19),sz(_ot,3298,3302,33),sz(_ot,3302,3312,-87),sz(_ot,3312,3330,33),sz(_ot,3330,3332,-87),_ot[3332]=33,sz(_ot,3333,3341,-19),_ot[3341]=33,sz(_ot,3342,3345,-19),_ot[3345]=33,sz(_ot,3346,3369,-19),_ot[3369]=33,sz(_ot,3370,3386,-19),sz(_ot,3386,3390,33),sz(_ot,3390,3396,-87),sz(_ot,3396,3398,33),sz(_ot,3398,3401,-87),_ot[3401]=33,sz(_ot,3402,3406,-87),sz(_ot,3406,3415,33),_ot[3415]=-87,sz(_ot,3416,3424,33),sz(_ot,3424,3426,-19),sz(_ot,3426,3430,33),sz(_ot,3430,3440,-87),sz(_ot,3440,3585,33),sz(_ot,3585,3631,-19),_ot[3631]=33,_ot[3632]=-19,_ot[3633]=-87,sz(_ot,3634,3636,-19),sz(_ot,3636,3643,-87),sz(_ot,3643,3648,33),sz(_ot,3648,3654,-19),sz(_ot,3654,3663,-87),_ot[3663]=33,sz(_ot,3664,3674,-87),sz(_ot,3674,3713,33),sz(_ot,3713,3715,-19),_ot[3715]=33,_ot[3716]=-19,sz(_ot,3717,3719,33),sz(_ot,3719,3721,-19),_ot[3721]=33,_ot[3722]=-19,sz(_ot,3723,3725,33),_ot[3725]=-19,sz(_ot,3726,3732,33),sz(_ot,3732,3736,-19),_ot[3736]=33,sz(_ot,3737,3744,-19),_ot[3744]=33,sz(_ot,3745,3748,-19),_ot[3748]=33,_ot[3749]=-19,_ot[3750]=33,_ot[3751]=-19,sz(_ot,3752,3754,33),sz(_ot,3754,3756,-19),_ot[3756]=33,sz(_ot,3757,3759,-19),_ot[3759]=33,_ot[3760]=-19,_ot[3761]=-87,sz(_ot,3762,3764,-19),sz(_ot,3764,3770,-87),_ot[3770]=33,sz(_ot,3771,3773,-87),_ot[3773]=-19,sz(_ot,3774,3776,33),sz(_ot,3776,3781,-19),_ot[3781]=33,_ot[3782]=-87,_ot[3783]=33,sz(_ot,3784,3790,-87),sz(_ot,3790,3792,33),sz(_ot,3792,3802,-87),sz(_ot,3802,3864,33),sz(_ot,3864,3866,-87),sz(_ot,3866,3872,33),sz(_ot,3872,3882,-87),sz(_ot,3882,3893,33),_ot[3893]=-87,_ot[3894]=33,_ot[3895]=-87,_ot[3896]=33,_ot[3897]=-87,sz(_ot,3898,3902,33),sz(_ot,3902,3904,-87),sz(_ot,3904,3912,-19),_ot[3912]=33,sz(_ot,3913,3946,-19),sz(_ot,3946,3953,33),sz(_ot,3953,3973,-87),_ot[3973]=33,sz(_ot,3974,3980,-87),sz(_ot,3980,3984,33),sz(_ot,3984,3990,-87),_ot[3990]=33,_ot[3991]=-87,_ot[3992]=33,sz(_ot,3993,4014,-87),sz(_ot,4014,4017,33),sz(_ot,4017,4024,-87),_ot[4024]=33,_ot[4025]=-87,sz(_ot,4026,4256,33),sz(_ot,4256,4294,-19),sz(_ot,4294,4304,33),sz(_ot,4304,4343,-19),sz(_ot,4343,4352,33),_ot[4352]=-19,_ot[4353]=33,sz(_ot,4354,4356,-19),_ot[4356]=33,sz(_ot,4357,4360,-19),_ot[4360]=33,_ot[4361]=-19,_ot[4362]=33,sz(_ot,4363,4365,-19),_ot[4365]=33,sz(_ot,4366,4371,-19),sz(_ot,4371,4412,33),_ot[4412]=-19,_ot[4413]=33,_ot[4414]=-19,_ot[4415]=33,_ot[4416]=-19,sz(_ot,4417,4428,33),_ot[4428]=-19,_ot[4429]=33,_ot[4430]=-19,_ot[4431]=33,_ot[4432]=-19,sz(_ot,4433,4436,33),sz(_ot,4436,4438,-19),sz(_ot,4438,4441,33),_ot[4441]=-19,sz(_ot,4442,4447,33),sz(_ot,4447,4450,-19),_ot[4450]=33,_ot[4451]=-19,_ot[4452]=33,_ot[4453]=-19,_ot[4454]=33,_ot[4455]=-19,_ot[4456]=33,_ot[4457]=-19,sz(_ot,4458,4461,33),sz(_ot,4461,4463,-19),sz(_ot,4463,4466,33),sz(_ot,4466,4468,-19),_ot[4468]=33,_ot[4469]=-19,sz(_ot,4470,4510,33),_ot[4510]=-19,sz(_ot,4511,4520,33),_ot[4520]=-19,sz(_ot,4521,4523,33),_ot[4523]=-19,sz(_ot,4524,4526,33),sz(_ot,4526,4528,-19),sz(_ot,4528,4535,33),sz(_ot,4535,4537,-19),_ot[4537]=33,_ot[4538]=-19,_ot[4539]=33,sz(_ot,4540,4547,-19),sz(_ot,4547,4587,33),_ot[4587]=-19,sz(_ot,4588,4592,33),_ot[4592]=-19,sz(_ot,4593,4601,33),_ot[4601]=-19,sz(_ot,4602,7680,33),sz(_ot,7680,7836,-19),sz(_ot,7836,7840,33),sz(_ot,7840,7930,-19),sz(_ot,7930,7936,33),sz(_ot,7936,7958,-19),sz(_ot,7958,7960,33),sz(_ot,7960,7966,-19),sz(_ot,7966,7968,33),sz(_ot,7968,8006,-19),sz(_ot,8006,8008,33),sz(_ot,8008,8014,-19),sz(_ot,8014,8016,33),sz(_ot,8016,8024,-19),_ot[8024]=33,_ot[8025]=-19,_ot[8026]=33,_ot[8027]=-19,_ot[8028]=33,_ot[8029]=-19,_ot[8030]=33,sz(_ot,8031,8062,-19),sz(_ot,8062,8064,33),sz(_ot,8064,8117,-19),_ot[8117]=33,sz(_ot,8118,8125,-19),_ot[8125]=33,_ot[8126]=-19,sz(_ot,8127,8130,33),sz(_ot,8130,8133,-19),_ot[8133]=33,sz(_ot,8134,8141,-19),sz(_ot,8141,8144,33),sz(_ot,8144,8148,-19),sz(_ot,8148,8150,33),sz(_ot,8150,8156,-19),sz(_ot,8156,8160,33),sz(_ot,8160,8173,-19),sz(_ot,8173,8178,33),sz(_ot,8178,8181,-19),_ot[8181]=33,sz(_ot,8182,8189,-19),sz(_ot,8189,8400,33),sz(_ot,8400,8413,-87),sz(_ot,8413,8417,33),_ot[8417]=-87,sz(_ot,8418,8486,33),_ot[8486]=-19,sz(_ot,8487,8490,33),sz(_ot,8490,8492,-19),sz(_ot,8492,8494,33),_ot[8494]=-19,sz(_ot,8495,8576,33),sz(_ot,8576,8579,-19),sz(_ot,8579,12293,33),_ot[12293]=-87,_ot[12294]=33,_ot[12295]=-19,sz(_ot,12296,12321,33),sz(_ot,12321,12330,-19),sz(_ot,12330,12336,-87),_ot[12336]=33,sz(_ot,12337,12342,-87),sz(_ot,12342,12353,33),sz(_ot,12353,12437,-19),sz(_ot,12437,12441,33),sz(_ot,12441,12443,-87),sz(_ot,12443,12445,33),sz(_ot,12445,12447,-87),sz(_ot,12447,12449,33),sz(_ot,12449,12539,-19),_ot[12539]=33,sz(_ot,12540,12543,-87),sz(_ot,12543,12549,33),sz(_ot,12549,12589,-19),sz(_ot,12589,19968,33),sz(_ot,19968,40870,-19),sz(_ot,40870,44032,33),sz(_ot,44032,55204,-19),sz(_ot,55204,zSe,33),sz(_ot,57344,65534,33)}"undefined"!=typeof window?r=window:void 0!==n.g?r=n.g:"undefined"!=typeof self&&(r=self);var _xe,Sxe,kxe,Cxe,Exe,Ixe,Mxe="object",Txe="boolean",Axe="number",Pxe="string",Oxe="function",Dxe=2147483647,Rxe="java.lang",Lxe={3:1},Nxe="com.google.common.base",jxe=", ",Fxe="%s (%s) must not be negative",zxe={3:1,4:1,5:1},Bxe="negative size: ",Vxe="Optional.of(",$xe="null",Hxe={197:1,49:1},Gxe="com.google.common.collect",Wxe={197:1,49:1,123:1},Uxe={222:1,3:1},qxe={49:1},Xxe="java.util",Yxe={84:1},Kxe={19:1,28:1,15:1},Zxe=1937,Qxe={19:1,28:1,15:1,21:1},Jxe={84:1,171:1,161:1},e_e={19:1,28:1,15:1,21:1,81:1},t_e={19:1,28:1,15:1,270:1,21:1,81:1},n_e={49:1,123:1},r_e={342:1,43:1},i_e="AbstractMapEntry",o_e=1900,a_e="expectedValuesPerKey",s_e={3:1,6:1,4:1,5:1},l_e=16384,u_e={163:1},c_e={37:1},f_e={l:4194303,m:4194303,h:524287},h_e={195:1},d_e={244:1,3:1,36:1},p_e="range unbounded on this side",g_e={19:1},m_e={19:1,15:1},b_e={3:1,19:1,28:1,15:1},v_e={151:1,3:1,19:1,28:1,15:1,14:1,53:1},y_e={3:1,4:1,5:1,164:1},w_e={3:1,84:1},x_e={19:1,15:1,21:1},__e={3:1,19:1,28:1,15:1,21:1},S_e={19:1,15:1,21:1,81:1},k_e=461845907,C_e=-862048943,E_e={3:1,6:1,4:1,5:1,164:1},I_e="expectedSize",M_e=1073741824,T_e="initialArraySize",A_e={3:1,6:1,4:1,9:1,5:1},P_e={19:1,28:1,51:1,15:1,14:1},O_e="arraySize",D_e=1e3,R_e={19:1,28:1,51:1,15:1,14:1,53:1},L_e={45:1},N_e={362:1},j_e=1e-4,F_e=-2147483648,z_e="__noinit__",B_e={3:1,102:1,59:1,78:1},V_e="com.google.gwt.core.client.impl",$_e="String",H_e="com.google.gwt.core.client",G_e="anonymous",W_e="fnStack",U_e="Unknown",q_e={194:1,3:1,4:1},X_e=65535,Y_e="January",K_e="February",Z_e="March",Q_e="April",J_e="May",eSe="June",tSe="July",nSe="August",rSe="September",iSe="October",oSe="November",aSe="December",sSe={47:1,3:1,4:1},lSe="Before Christ",uSe="Anno Domini",cSe="Sunday",fSe="Monday",hSe="Tuesday",dSe="Wednesday",pSe="Thursday",gSe="Friday",mSe="Saturday",bSe="com.google.gwt.i18n.shared",vSe="DateTimeFormat",ySe="com.google.gwt.i18n.client",wSe="DefaultDateTimeFormatInfo",xSe={3:1,4:1,36:1,198:1},_Se="com.google.gwt.json.client",SSe=4194303,kSe=1048575,CSe=524288,ESe=4194304,ISe=17592186044416,MSe=1e9,TSe=-17592186044416,ASe="java.io",PSe={3:1,102:1,73:1,59:1,78:1},OSe={3:1,288:1,78:1},DSe='For input string: "',RSe=1/0,LSe=-1/0,NSe=4096,jSe={3:1,4:1,361:1},FSe=65536,zSe=55296,BSe={103:1,3:1,4:1},VSe=1e5,$Se=.3010299956639812,HSe=4294967295,GSe=4294967296,WSe="0.0",USe={43:1},qSe={3:1,4:1,19:1,28:1,51:1,12:1,15:1,14:1,53:1},XSe={3:1,19:1,28:1,51:1,15:1,14:1,53:1},YSe={19:1,15:1,14:1},KSe={3:1,62:1},ZSe={184:1},QSe={3:1,4:1,84:1},JSe={3:1,4:1,19:1,28:1,15:1,70:1,21:1},eke="delete",tke=1.4901161193847656e-8,nke=11102230246251565e-32,rke=15525485,ike=5.960464477539063e-8,oke=16777216,ake=16777215,ske=", length: ",lke={3:1,4:1,19:1,28:1,51:1,15:1,14:1,53:1},uke={3:1,36:1,22:1,297:1},cke="java.util.function",fke="java.util.logging",hke={3:1,4:1,5:1,821:1},dke="undefined",pke="java.util.stream",gke={518:1,658:1},mke="fromIndex: ",bke=" > toIndex: ",vke=", toIndex: ",yke="Index: ",wke=", Size: ",xke="org.eclipse.elk.alg.common",_ke={62:1},Ske="org.eclipse.elk.alg.common.compaction",kke="Scanline/EventHandler",Cke="org.eclipse.elk.alg.common.compaction.oned",Eke="CNode belongs to another CGroup.",Ike="ISpacingsHandler/1",Mke="The ",Tke=" instance has been finished already.",Ake="The direction ",Pke=" is not supported by the CGraph instance.",Oke="OneDimensionalCompactor",Dke="OneDimensionalCompactor/lambda$0$Type",Rke="Quadruplet",Lke="ScanlineConstraintCalculator",Nke="ScanlineConstraintCalculator/ConstraintsScanlineHandler",jke="ScanlineConstraintCalculator/ConstraintsScanlineHandler/lambda$0$Type",Fke="ScanlineConstraintCalculator/Timestamp",zke="ScanlineConstraintCalculator/lambda$0$Type",Bke={169:1,45:1},Vke="org.eclipse.elk.alg.common.compaction.options",$ke="org.eclipse.elk.core.data",Hke="org.eclipse.elk.polyomino.traversalStrategy",Gke="org.eclipse.elk.polyomino.lowLevelSort",Wke="org.eclipse.elk.polyomino.highLevelSort",Uke="org.eclipse.elk.polyomino.fill",qke={130:1},Xke="polyomino",Yke="org.eclipse.elk.alg.common.networksimplex",Kke={177:1,3:1,4:1},Zke="org.eclipse.elk.alg.common.nodespacing",Qke="org.eclipse.elk.alg.common.nodespacing.cellsystem",Jke="CENTER",eCe={210:1,324:1},tCe={3:1,4:1,5:1,586:1},nCe="LEFT",rCe="RIGHT",iCe="Vertical alignment cannot be null",oCe="BOTTOM",aCe="org.eclipse.elk.alg.common.nodespacing.internal",sCe="UNDEFINED",lCe=.01,uCe="org.eclipse.elk.alg.common.nodespacing.internal.algorithm",cCe="LabelPlacer/lambda$0$Type",fCe="LabelPlacer/lambda$1$Type",hCe="portRatioOrPosition",dCe="org.eclipse.elk.alg.common.overlaps",pCe="DOWN",gCe="org.eclipse.elk.alg.common.polyomino",mCe="NORTH",bCe="EAST",vCe="SOUTH",yCe="WEST",wCe="org.eclipse.elk.alg.common.polyomino.structures",xCe="Direction",_Ce="Grid is only of size ",SCe=". Requested point (",kCe=") is out of bounds.",CCe=" Given center based coordinates were (",ECe="org.eclipse.elk.graph.properties",ICe="IPropertyHolder",MCe={3:1,94:1,134:1},TCe="org.eclipse.elk.alg.common.spore",ACe="org.eclipse.elk.alg.common.utils",PCe={207:1},OCe="org.eclipse.elk.core",DCe="Connected Components Compaction",RCe="org.eclipse.elk.alg.disco",LCe="org.eclipse.elk.alg.disco.graph",NCe="org.eclipse.elk.alg.disco.options",jCe="CompactionStrategy",FCe="org.eclipse.elk.disco.componentCompaction.strategy",zCe="org.eclipse.elk.disco.componentCompaction.componentLayoutAlgorithm",BCe="org.eclipse.elk.disco.debug.discoGraph",VCe="org.eclipse.elk.disco.debug.discoPolys",$Ce="componentCompaction",HCe="org.eclipse.elk.disco",GCe="org.eclipse.elk.spacing.componentComponent",WCe="org.eclipse.elk.edge.thickness",UCe="org.eclipse.elk.aspectRatio",qCe="org.eclipse.elk.padding",XCe="org.eclipse.elk.alg.disco.transform",YCe=1.5707963267948966,KCe=17976931348623157e292,ZCe={3:1,4:1,5:1,192:1},QCe={3:1,6:1,4:1,5:1,105:1,125:1},JCe="org.eclipse.elk.alg.force",eEe="ComponentsProcessor",tEe="ComponentsProcessor/1",nEe="org.eclipse.elk.alg.force.graph",rEe="Component Layout",iEe="org.eclipse.elk.alg.force.model",oEe="org.eclipse.elk.force.model",aEe="org.eclipse.elk.force.iterations",sEe="org.eclipse.elk.force.repulsivePower",lEe="org.eclipse.elk.force.temperature",uEe=.001,cEe="org.eclipse.elk.force.repulsion",fEe="org.eclipse.elk.alg.force.options",hEe=1.600000023841858,dEe="org.eclipse.elk.force",pEe="org.eclipse.elk.priority",gEe="org.eclipse.elk.spacing.nodeNode",mEe="org.eclipse.elk.spacing.edgeLabel",bEe="org.eclipse.elk.randomSeed",vEe="org.eclipse.elk.separateConnectedComponents",yEe="org.eclipse.elk.interactive",wEe="org.eclipse.elk.portConstraints",xEe="org.eclipse.elk.edgeLabels.inline",_Ee="origin",SEe="random",kEe="boundingBox.upLeft",CEe="boundingBox.lowRight",EEe="org.eclipse.elk.stress.fixed",IEe="org.eclipse.elk.stress.desiredEdgeLength",MEe="org.eclipse.elk.stress.dimension",TEe="org.eclipse.elk.stress.epsilon",AEe="org.eclipse.elk.stress.iterationLimit",PEe="org.eclipse.elk.stress",OEe="ELK Stress",DEe="org.eclipse.elk.alg.force.stress",REe="Layered layout",LEe="org.eclipse.elk.alg.layered",NEe="org.eclipse.elk.alg.layered.compaction.components",jEe="org.eclipse.elk.alg.layered.compaction.oned",FEe="org.eclipse.elk.alg.layered.compaction.oned.algs",zEe="org.eclipse.elk.alg.layered.compaction.recthull",BEe="org.eclipse.elk.alg.layered.components",VEe={3:1,6:1,4:1,9:1,5:1,120:1},$Ee={3:1,6:1,4:1,5:1,153:1,105:1,125:1},HEe="org.eclipse.elk.alg.layered.compound",GEe={52:1},WEe="org.eclipse.elk.alg.layered.graph",UEe=" -> ",qEe="Not supported by LGraph",XEe={3:1,6:1,4:1,5:1,468:1,153:1,105:1,125:1},YEe={3:1,6:1,4:1,5:1,153:1,213:1,223:1,105:1,125:1},KEe={3:1,6:1,4:1,5:1,153:1,1915:1,223:1,105:1,125:1},ZEe="([{\"' \t\r\n",QEe=")]}\"' \t\r\n",JEe="The given string contains parts that cannot be parsed as numbers.",eIe="org.eclipse.elk.core.math",tIe={3:1,4:1,141:1,205:1,409:1},nIe={3:1,4:1,115:1,205:1,409:1},rIe="org.eclipse.elk.layered",iIe="org.eclipse.elk.alg.layered.graph.transform",oIe="ElkGraphImporter",aIe="ElkGraphImporter/lambda$0$Type",sIe="ElkGraphImporter/lambda$1$Type",lIe="ElkGraphImporter/lambda$2$Type",uIe="ElkGraphImporter/lambda$4$Type",cIe="Node margin calculation",fIe="org.eclipse.elk.alg.layered.intermediate",hIe="ONE_SIDED_GREEDY_SWITCH",dIe="TWO_SIDED_GREEDY_SWITCH",pIe="No implementation is available for the layout processor ",gIe="IntermediateProcessorStrategy",mIe="Node '",bIe="NONE",vIe="FIRST_SEPARATE",yIe="LAST_SEPARATE",wIe="Odd port side processing",xIe="org.eclipse.elk.alg.layered.intermediate.compaction",_Ie="org.eclipse.elk.alg.layered.intermediate.greedyswitch",SIe="org.eclipse.elk.alg.layered.p3order.counting",kIe={235:1},CIe="org.eclipse.elk.alg.layered.intermediate.loops",EIe="org.eclipse.elk.alg.layered.intermediate.loops.ordering",IIe="org.eclipse.elk.alg.layered.intermediate.loops.routing",MIe="org.eclipse.elk.alg.layered.intermediate.preserveorder",TIe="org.eclipse.elk.alg.layered.intermediate.wrapping",AIe="org.eclipse.elk.alg.layered.options",PIe="INTERACTIVE",OIe="DEPTH_FIRST",DIe="EDGE_LENGTH",RIe="SELF_LOOPS",LIe="org.eclipse.elk.layered.considerModelOrder",NIe="org.eclipse.elk.layered.directionCongruency",jIe="org.eclipse.elk.layered.feedbackEdges",FIe="org.eclipse.elk.layered.interactiveReferencePoint",zIe="org.eclipse.elk.layered.mergeEdges",BIe="org.eclipse.elk.layered.mergeHierarchyEdges",VIe="org.eclipse.elk.layered.allowNonFlowPortsToSwitchSides",$Ie="org.eclipse.elk.layered.portSortingStrategy",HIe="org.eclipse.elk.layered.thoroughness",GIe="org.eclipse.elk.layered.unnecessaryBendpoints",WIe="org.eclipse.elk.layered.cycleBreaking.strategy",UIe="org.eclipse.elk.layered.layering.strategy",qIe="org.eclipse.elk.layered.layering.layerConstraint",XIe="org.eclipse.elk.layered.layering.layerChoiceConstraint",YIe="org.eclipse.elk.layered.layering.layerId",KIe="org.eclipse.elk.layered.layering.minWidth.upperBoundOnWidth",ZIe="org.eclipse.elk.layered.layering.minWidth.upperLayerEstimationScalingFactor",QIe="org.eclipse.elk.layered.layering.nodePromotion.strategy",JIe="org.eclipse.elk.layered.layering.nodePromotion.maxIterations",eMe="org.eclipse.elk.layered.layering.coffmanGraham.layerBound",tMe="org.eclipse.elk.layered.crossingMinimization.strategy",nMe="org.eclipse.elk.layered.crossingMinimization.hierarchicalSweepiness",rMe="org.eclipse.elk.layered.crossingMinimization.semiInteractive",iMe="org.eclipse.elk.layered.crossingMinimization.positionChoiceConstraint",oMe="org.eclipse.elk.layered.crossingMinimization.positionId",aMe="org.eclipse.elk.layered.crossingMinimization.greedySwitch.activationThreshold",sMe="org.eclipse.elk.layered.crossingMinimization.greedySwitch.type",lMe="org.eclipse.elk.layered.crossingMinimization.greedySwitchHierarchical.type",uMe="org.eclipse.elk.layered.nodePlacement.strategy",cMe="org.eclipse.elk.layered.nodePlacement.favorStraightEdges",fMe="org.eclipse.elk.layered.nodePlacement.bk.edgeStraightening",hMe="org.eclipse.elk.layered.nodePlacement.bk.fixedAlignment",dMe="org.eclipse.elk.layered.nodePlacement.linearSegments.deflectionDampening",pMe="org.eclipse.elk.layered.nodePlacement.networkSimplex.nodeFlexibility",gMe="org.eclipse.elk.layered.nodePlacement.networkSimplex.nodeFlexibility.default",mMe="org.eclipse.elk.layered.edgeRouting.selfLoopDistribution",bMe="org.eclipse.elk.layered.edgeRouting.selfLoopOrdering",vMe="org.eclipse.elk.layered.edgeRouting.splines.mode",yMe="org.eclipse.elk.layered.edgeRouting.splines.sloppy.layerSpacingFactor",wMe="org.eclipse.elk.layered.edgeRouting.polyline.slopedEdgeZoneWidth",xMe="org.eclipse.elk.layered.spacing.baseValue",_Me="org.eclipse.elk.layered.spacing.edgeNodeBetweenLayers",SMe="org.eclipse.elk.layered.spacing.edgeEdgeBetweenLayers",kMe="org.eclipse.elk.layered.spacing.nodeNodeBetweenLayers",CMe="org.eclipse.elk.layered.priority.direction",EMe="org.eclipse.elk.layered.priority.shortness",IMe="org.eclipse.elk.layered.priority.straightness",MMe="org.eclipse.elk.layered.compaction.connectedComponents",TMe="org.eclipse.elk.layered.compaction.postCompaction.strategy",AMe="org.eclipse.elk.layered.compaction.postCompaction.constraints",PMe="org.eclipse.elk.layered.highDegreeNodes.treatment",OMe="org.eclipse.elk.layered.highDegreeNodes.threshold",DMe="org.eclipse.elk.layered.highDegreeNodes.treeHeight",RMe="org.eclipse.elk.layered.wrapping.strategy",LMe="org.eclipse.elk.layered.wrapping.additionalEdgeSpacing",NMe="org.eclipse.elk.layered.wrapping.correctionFactor",jMe="org.eclipse.elk.layered.wrapping.cutting.strategy",FMe="org.eclipse.elk.layered.wrapping.cutting.cuts",zMe="org.eclipse.elk.layered.wrapping.cutting.msd.freedom",BMe="org.eclipse.elk.layered.wrapping.validify.strategy",VMe="org.eclipse.elk.layered.wrapping.validify.forbiddenIndices",$Me="org.eclipse.elk.layered.wrapping.multiEdge.improveCuts",HMe="org.eclipse.elk.layered.wrapping.multiEdge.distancePenalty",GMe="org.eclipse.elk.layered.wrapping.multiEdge.improveWrappedEdges",WMe="org.eclipse.elk.layered.edgeLabels.sideSelection",UMe="org.eclipse.elk.layered.edgeLabels.centerLabelPlacementStrategy",qMe="layering",XMe="layering.minWidth",YMe="layering.nodePromotion",KMe="crossingMinimization",ZMe="org.eclipse.elk.hierarchyHandling",QMe="crossingMinimization.greedySwitch",JMe="nodePlacement",eTe="nodePlacement.bk",tTe="edgeRouting",nTe="org.eclipse.elk.edgeRouting",rTe="spacing",iTe="priority",oTe="compaction",aTe="compaction.postCompaction",sTe="Specifies whether and how post-process compaction is applied.",lTe="highDegreeNodes",uTe="wrapping",cTe="wrapping.cutting",fTe="wrapping.validify",hTe="wrapping.multiEdge",dTe="edgeLabels",pTe="org.eclipse.elk.spacing.commentComment",gTe="org.eclipse.elk.spacing.commentNode",mTe="org.eclipse.elk.spacing.edgeEdge",bTe="org.eclipse.elk.spacing.edgeNode",vTe="org.eclipse.elk.spacing.labelLabel",yTe="org.eclipse.elk.spacing.labelPort",wTe="org.eclipse.elk.spacing.labelNode",xTe="org.eclipse.elk.spacing.nodeSelfLoop",_Te="org.eclipse.elk.spacing.portPort",STe="org.eclipse.elk.spacing.individual",kTe="org.eclipse.elk.port.borderOffset",CTe="org.eclipse.elk.noLayout",ETe="org.eclipse.elk.port.side",ITe="org.eclipse.elk.debugMode",MTe="org.eclipse.elk.alignment",TTe="org.eclipse.elk.insideSelfLoops.activate",ATe="org.eclipse.elk.insideSelfLoops.yo",PTe="org.eclipse.elk.nodeSize.constraints",OTe="org.eclipse.elk.nodeSize.options",DTe="org.eclipse.elk.direction",RTe="org.eclipse.elk.nodeLabels.placement",LTe="org.eclipse.elk.nodeLabels.padding",NTe="org.eclipse.elk.portLabels.placement",jTe="org.eclipse.elk.portLabels.nextToPortIfPossible",FTe="org.eclipse.elk.portLabels.treatAsGroup",zTe="org.eclipse.elk.portAlignment.default",BTe="org.eclipse.elk.portAlignment.north",VTe="org.eclipse.elk.portAlignment.south",$Te="org.eclipse.elk.portAlignment.west",HTe="org.eclipse.elk.portAlignment.east",GTe="org.eclipse.elk.contentAlignment",WTe="org.eclipse.elk.nodeSize.minimum",UTe="org.eclipse.elk.junctionPoints",qTe="org.eclipse.elk.edgeLabels.placement",XTe="org.eclipse.elk.port.index",YTe="org.eclipse.elk.commentBox",KTe="org.eclipse.elk.hypernode",ZTe="org.eclipse.elk.port.anchor",QTe="org.eclipse.elk.partitioning.activate",JTe="org.eclipse.elk.partitioning.partition",eAe="org.eclipse.elk.position",tAe="org.eclipse.elk.margins",nAe="org.eclipse.elk.spacing.portsSurrounding",rAe="org.eclipse.elk.interactiveLayout",iAe="org.eclipse.elk.core.util",oAe={3:1,4:1,5:1,584:1},aAe="NETWORK_SIMPLEX",sAe={126:1,52:1},lAe="org.eclipse.elk.alg.layered.p1cycles",uAe="org.eclipse.elk.alg.layered.p2layers",cAe={451:1,235:1},fAe={811:1,3:1,4:1},hAe="org.eclipse.elk.alg.layered.p3order",dAe="org.eclipse.elk.alg.layered.p4nodes",pAe={3:1,4:1,5:1,819:1},gAe=1e-5,mAe="org.eclipse.elk.alg.layered.p4nodes.bk",bAe="org.eclipse.elk.alg.layered.p5edges",vAe="org.eclipse.elk.alg.layered.p5edges.orthogonal",yAe="org.eclipse.elk.alg.layered.p5edges.orthogonal.direction",wAe=1e-6,xAe="org.eclipse.elk.alg.layered.p5edges.splines",_Ae=.09999999999999998,SAe=1e-8,kAe=4.71238898038469,CAe=3.141592653589793,EAe="org.eclipse.elk.alg.mrtree",IAe="org.eclipse.elk.alg.mrtree.graph",MAe="org.eclipse.elk.alg.mrtree.intermediate",TAe="Set neighbors in level",AAe="DESCENDANTS",PAe="org.eclipse.elk.mrtree.weighting",OAe="org.eclipse.elk.mrtree.searchOrder",DAe="org.eclipse.elk.alg.mrtree.options",RAe="org.eclipse.elk.mrtree",LAe="org.eclipse.elk.tree",NAe="org.eclipse.elk.alg.radial",jAe=6.283185307179586,FAe=5e-324,zAe="org.eclipse.elk.alg.radial.intermediate",BAe="org.eclipse.elk.alg.radial.intermediate.compaction",VAe={3:1,4:1,5:1,105:1},$Ae="org.eclipse.elk.alg.radial.intermediate.optimization",HAe="No implementation is available for the layout option ",GAe="org.eclipse.elk.alg.radial.options",WAe="org.eclipse.elk.radial.orderId",UAe="org.eclipse.elk.radial.radius",qAe="org.eclipse.elk.radial.compactor",XAe="org.eclipse.elk.radial.compactionStepSize",YAe="org.eclipse.elk.radial.sorter",KAe="org.eclipse.elk.radial.wedgeCriteria",ZAe="org.eclipse.elk.radial.optimizationCriteria",QAe="org.eclipse.elk.radial",JAe="org.eclipse.elk.alg.radial.p1position.wedge",ePe="org.eclipse.elk.alg.radial.sorting",tPe=5.497787143782138,nPe=3.9269908169872414,rPe=2.356194490192345,iPe="org.eclipse.elk.alg.rectpacking",oPe="org.eclipse.elk.alg.rectpacking.firstiteration",aPe="org.eclipse.elk.alg.rectpacking.options",sPe="org.eclipse.elk.rectpacking.optimizationGoal",lPe="org.eclipse.elk.rectpacking.lastPlaceShift",uPe="org.eclipse.elk.rectpacking.currentPosition",cPe="org.eclipse.elk.rectpacking.desiredPosition",fPe="org.eclipse.elk.rectpacking.onlyFirstIteration",hPe="org.eclipse.elk.rectpacking.rowCompaction",dPe="org.eclipse.elk.rectpacking.expandToAspectRatio",pPe="org.eclipse.elk.rectpacking.targetWidth",gPe="org.eclipse.elk.expandNodes",mPe="org.eclipse.elk.rectpacking",bPe="org.eclipse.elk.alg.rectpacking.util",vPe="No implementation available for ",yPe="org.eclipse.elk.alg.spore",wPe="org.eclipse.elk.alg.spore.options",xPe="org.eclipse.elk.sporeCompaction",_Pe="org.eclipse.elk.underlyingLayoutAlgorithm",SPe="org.eclipse.elk.processingOrder.treeConstruction",kPe="org.eclipse.elk.processingOrder.spanningTreeCostFunction",CPe="org.eclipse.elk.processingOrder.preferredRoot",EPe="org.eclipse.elk.processingOrder.rootSelection",IPe="org.eclipse.elk.structure.structureExtractionStrategy",MPe="org.eclipse.elk.compaction.compactionStrategy",TPe="org.eclipse.elk.compaction.orthogonal",APe="org.eclipse.elk.overlapRemoval.maxIterations",PPe="org.eclipse.elk.overlapRemoval.runScanline",OPe="processingOrder",DPe="overlapRemoval",RPe="org.eclipse.elk.sporeOverlap",LPe="org.eclipse.elk.alg.spore.p1structure",NPe="org.eclipse.elk.alg.spore.p2processingorder",jPe="org.eclipse.elk.alg.spore.p3execution",FPe="Invalid index: ",zPe="org.eclipse.elk.core.alg",BPe={329:1},VPe={287:1},$Pe="Make sure it's type is registered with the ",HPe=" utility class.",GPe="true",WPe="false",UPe="Couldn't clone property '",qPe=.05,XPe="org.eclipse.elk.core.options",YPe=1.2999999523162842,KPe="org.eclipse.elk.box",ZPe="org.eclipse.elk.box.packingMode",QPe="org.eclipse.elk.algorithm",JPe="org.eclipse.elk.resolvedAlgorithm",eOe="org.eclipse.elk.bendPoints",tOe="org.eclipse.elk.labelManager",nOe="org.eclipse.elk.scaleFactor",rOe="org.eclipse.elk.animate",iOe="org.eclipse.elk.animTimeFactor",oOe="org.eclipse.elk.layoutAncestors",aOe="org.eclipse.elk.maxAnimTime",sOe="org.eclipse.elk.minAnimTime",lOe="org.eclipse.elk.progressBar",uOe="org.eclipse.elk.validateGraph",cOe="org.eclipse.elk.validateOptions",fOe="org.eclipse.elk.zoomToFit",hOe="org.eclipse.elk.nodeSize.fixedGraphSize",dOe="org.eclipse.elk.font.name",pOe="org.eclipse.elk.font.size",gOe="org.eclipse.elk.edge.type",mOe="partitioning",bOe="nodeLabels",vOe="portAlignment",yOe="nodeSize",wOe="port",xOe="portLabels",_Oe="insideSelfLoops",SOe="org.eclipse.elk.fixed",kOe="org.eclipse.elk.random",COe="port must have a parent node to calculate the port side",EOe="The edge needs to have exactly one edge section. Found: ",IOe="org.eclipse.elk.core.util.adapters",MOe="org.eclipse.emf.ecore",TOe="org.eclipse.elk.graph",AOe="EMapPropertyHolder",POe="ElkBendPoint",OOe="ElkGraphElement",DOe="ElkConnectableShape",ROe="ElkEdge",LOe="ElkEdgeSection",NOe="EModelElement",jOe="ENamedElement",FOe="ElkLabel",zOe="ElkNode",BOe="ElkPort",VOe={91:1,89:1},$Oe="org.eclipse.emf.common.notify.impl",HOe="The feature '",GOe="' is not a valid changeable feature",WOe="Expecting null",UOe="' is not a valid feature",qOe="The feature ID",XOe=" is not a valid feature ID",YOe=32768,KOe={104:1,91:1,89:1,55:1,48:1,96:1},ZOe="org.eclipse.emf.ecore.impl",QOe="org.eclipse.elk.graph.impl",JOe="Recursive containment not allowed for ",eDe="The datatype '",tDe="' is not a valid classifier",nDe="The value '",rDe={190:1,3:1,4:1},iDe="The class '",oDe="http://www.eclipse.org/elk/ElkGraph",aDe="property",sDe="value",lDe="source",uDe="properties",cDe="identifier",fDe="height",hDe="width",dDe="parent",pDe="text",gDe="children",mDe="hierarchical",bDe="sources",vDe="targets",yDe="sections",wDe="bendPoints",xDe="outgoingShape",_De="incomingShape",SDe="outgoingSections",kDe="incomingSections",CDe="org.eclipse.emf.common.util",EDe="Severe implementation error in the Json to ElkGraph importer.",IDe="id",MDe="org.eclipse.elk.graph.json",TDe="Unhandled parameter types: ",ADe="startPoint",PDe="An edge must have at least one source and one target (edge id: '",ODe="').",DDe="Referenced edge section does not exist: ",RDe=" (edge id: '",LDe="target",NDe="sourcePoint",jDe="targetPoint",FDe="group",zDe="name",BDe="connectableShape cannot be null",VDe="Passed edge is not 'simple'.",$De="The 'no duplicates' constraint is violated",HDe="targetIndex=",GDe=", size=",WDe="sourceIndex=",UDe={3:1,4:1,19:1,28:1,51:1,15:1,14:1,53:1,66:1,60:1,57:1},qDe={3:1,4:1,19:1,28:1,51:1,15:1,49:1,14:1,53:1,66:1,60:1,57:1,579:1},XDe="org.eclipse.elk.graph.util",YDe="logging",KDe="measureExecutionTime",ZDe="parser.parse.1",QDe="parser.parse.2",JDe="parser.next.1",eRe="parser.next.2",tRe="parser.next.3",nRe="parser.next.4",rRe="parser.factor.1",iRe="parser.factor.2",oRe="parser.factor.3",aRe="parser.factor.4",sRe="parser.factor.5",lRe="parser.factor.6",uRe="parser.atom.1",cRe="parser.atom.2",fRe="parser.atom.3",hRe="parser.atom.4",dRe="parser.atom.5",pRe="parser.cc.1",gRe="parser.cc.2",mRe="parser.cc.3",bRe="parser.cc.5",vRe="parser.cc.6",yRe="parser.cc.7",wRe="parser.cc.8",xRe="parser.ope.1",_Re="parser.ope.2",SRe="parser.ope.3",kRe="parser.descape.1",CRe="parser.descape.2",ERe="parser.descape.3",IRe="parser.descape.4",MRe="parser.descape.5",TRe="parser.process.1",ARe="parser.quantifier.1",PRe="parser.quantifier.2",ORe="parser.quantifier.3",DRe="parser.quantifier.4",RRe="parser.quantifier.5",LRe="org.eclipse.emf.common.notify",NRe={410:1,660:1},jRe={3:1,4:1,19:1,28:1,51:1,15:1,14:1,66:1,57:1},FRe={363:1,142:1},zRe="index=",BRe={3:1,4:1,5:1,124:1},VRe={3:1,4:1,19:1,28:1,51:1,15:1,14:1,53:1,66:1,57:1},$Re={3:1,6:1,4:1,5:1,192:1},HRe={3:1,4:1,5:1,164:1,364:1},GRe=1024,WRe=";/?:@&=+$,",URe="invalid authority: ",qRe="EAnnotation",XRe="ETypedElement",YRe="EStructuralFeature",KRe="EAttribute",ZRe="EClassifier",QRe="EEnumLiteral",JRe="EGenericType",eLe="EOperation",tLe="EParameter",nLe="EReference",rLe="ETypeParameter",iLe="org.eclipse.emf.ecore.util",oLe={76:1},aLe={3:1,19:1,15:1,14:1,57:1,580:1,76:1,67:1,95:1},sLe="org.eclipse.emf.ecore.util.FeatureMap$Entry",lLe=8192,uLe=2048,cLe="byte",fLe="char",hLe="double",dLe="float",pLe="int",gLe="long",mLe="short",bLe="java.lang.Object",vLe={3:1,4:1,5:1,246:1},yLe={3:1,4:1,5:1,661:1},wLe={3:1,4:1,19:1,28:1,51:1,15:1,14:1,53:1,66:1,60:1,57:1,67:1},xLe={3:1,4:1,19:1,28:1,51:1,15:1,14:1,53:1,66:1,60:1,57:1,76:1,67:1,95:1},_Le="mixed",SLe="http:///org/eclipse/emf/ecore/util/ExtendedMetaData",kLe="kind",CLe={3:1,4:1,5:1,662:1},ELe={3:1,4:1,19:1,28:1,51:1,15:1,14:1,66:1,57:1,76:1,67:1,95:1},ILe={19:1,28:1,51:1,15:1,14:1,57:1,67:1},MLe={49:1,123:1,277:1},TLe={71:1,330:1},ALe="The value of type '",PLe="' must be of type '",OLe=1287,DLe="http://www.eclipse.org/emf/2002/Ecore",RLe=-32768,LLe="constraints",NLe="baseType",jLe="getEStructuralFeature",FLe="getFeatureID",zLe="feature",BLe="getOperationID",VLe="operation",$Le="defaultValue",HLe="eTypeParameters",GLe="isInstance",WLe="getEEnumLiteral",ULe="eContainingClass",qLe={54:1},XLe={3:1,4:1,5:1,118:1},YLe="org.eclipse.emf.ecore.resource",KLe={91:1,89:1,582:1,1907:1},ZLe="org.eclipse.emf.ecore.resource.impl",QLe="unspecified",JLe="simple",eNe="attribute",tNe="attributeWildcard",nNe="element",rNe="elementWildcard",iNe="collapse",oNe="itemType",aNe="namespace",sNe="##targetNamespace",lNe="whiteSpace",uNe="wildcards",cNe="http://www.eclipse.org/emf/2003/XMLType",fNe="##any",hNe="uninitialized",dNe="The multiplicity constraint is violated",pNe="org.eclipse.emf.ecore.xml.type",gNe="ProcessingInstruction",mNe="SimpleAnyType",bNe="XMLTypeDocumentRoot",vNe="org.eclipse.emf.ecore.xml.type.impl",yNe="INF",wNe="processing",xNe="ENTITIES_._base",_Ne="minLength",SNe="ENTITY",kNe="NCName",CNe="IDREFS_._base",ENe="integer",INe="token",MNe="pattern",TNe="[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*",ANe="\\i\\c*",PNe="[\\i-[:]][\\c-[:]]*",ONe="nonPositiveInteger",DNe="maxInclusive",RNe="NMTOKEN",LNe="NMTOKENS_._base",NNe="nonNegativeInteger",jNe="minInclusive",FNe="normalizedString",zNe="unsignedByte",BNe="unsignedInt",VNe="18446744073709551615",$Ne="unsignedShort",HNe="processingInstruction",GNe="org.eclipse.emf.ecore.xml.type.internal",WNe=1114111,UNe="Internal Error: shorthands: \\u",qNe="xml:isDigit",XNe="xml:isWord",YNe="xml:isSpace",KNe="xml:isNameChar",ZNe="xml:isInitialNameChar",QNe="09٠٩۰۹०९০৯੦੯૦૯୦୯௧௯౦౯೦೯൦൯๐๙໐໙༠༩",JNe="AZazÀÖØöøıĴľŁňŊžƀǃǍǰǴǵǺȗɐʨʻˁΆΆΈΊΌΌΎΡΣώϐϖϚϚϜϜϞϞϠϠϢϳЁЌЎяёќўҁҐӄӇӈӋӌӐӫӮӵӸӹԱՖՙՙաֆאתװײءغفيٱڷںھۀێېۓەەۥۦअहऽऽक़ॡঅঌএঐওনপরললশহড়ঢ়য়ৡৰৱਅਊਏਐਓਨਪਰਲਲ਼ਵਸ਼ਸਹਖ਼ੜਫ਼ਫ਼ੲੴઅઋઍઍએઑઓનપરલળવહઽઽૠૠଅଌଏଐଓନପରଲଳଶହଽଽଡ଼ଢ଼ୟୡஅஊஎஐஒகஙசஜஜஞடணதநபமவஷஹఅఌఎఐఒనపళవహౠౡಅಌಎಐಒನಪಳವಹೞೞೠೡഅഌഎഐഒനപഹൠൡกฮะะาำเๅກຂຄຄງຈຊຊຍຍດທນຟມຣລລວວສຫອຮະະາຳຽຽເໄཀཇཉཀྵႠჅაჶᄀᄀᄂᄃᄅᄇᄉᄉᄋᄌᄎᄒᄼᄼᄾᄾᅀᅀᅌᅌᅎᅎᅐᅐᅔᅕᅙᅙᅟᅡᅣᅣᅥᅥᅧᅧᅩᅩᅭᅮᅲᅳᅵᅵᆞᆞᆨᆨᆫᆫᆮᆯᆷᆸᆺᆺᆼᇂᇫᇫᇰᇰᇹᇹḀẛẠỹἀἕἘἝἠὅὈὍὐὗὙὙὛὛὝὝὟώᾀᾴᾶᾼιιῂῄῆῌῐΐῖΊῠῬῲῴῶῼΩΩKÅ℮℮ↀↂ〇〇〡〩ぁゔァヺㄅㄬ一龥가힣",eje="Private Use",tje="ASSIGNED",nje="\0€ÿĀſƀɏɐʯʰ˿̀ͯͰϿЀӿ԰֏֐׿؀ۿ܀ݏހ޿ऀॿঀ৿਀੿઀૿଀୿஀௿ఀ౿ಀ೿ഀൿ඀෿฀๿຀໿ༀ࿿က႟Ⴀჿᄀᇿሀ፿Ꭰ᏿᐀ᙿ ᚟ᚠ᛿ក៿᠀᢯Ḁỿἀ῿ ⁰₟₠⃏⃐⃿℀⅏⅐↏←⇿∀⋿⌀⏿␀␿⑀⑟①⓿─╿▀▟■◿☀⛿✀➿⠀⣿⺀⻿⼀⿟⿰⿿ 〿぀ゟ゠ヿ㄀ㄯ㄰㆏㆐㆟ㆠㆿ㈀㋿㌀㏿㐀䶵一鿿ꀀ꒏꒐꓏가힣豈﫿ffﭏﭐ﷿︠︯︰﹏﹐﹯ﹰ﻾\ufeff\ufeff＀￯",rje="UNASSIGNED",ije={3:1,117:1},oje="org.eclipse.emf.ecore.xml.type.util",aje={3:1,4:1,5:1,365:1},sje="org.eclipse.xtext.xbase.lib",lje="Cannot add elements to a Range",uje="Cannot set elements in a Range",cje="Cannot remove elements from a Range",fje="locale",hje="default",dje="user.agent";r.goog=r.goog||{},r.goog.global=r.goog.global||r,Sxe={},!Array.isArray&&(Array.isArray=function(e){return"[object Array]"===Object.prototype.toString.call(e)}),!Date.now&&(Date.now=function(){return(new Date).getTime()}),Kce(1,null,{},a),_xe.Fb=function(e){return mM(this,e)},_xe.Gb=function(){return this.bm},_xe.Hb=function(){return lP(this)},_xe.Ib=function(){return Fx(g4(this))+"@"+(p4(this)>>>0).toString(16)},_xe.equals=function(e){return this.Fb(e)},_xe.hashCode=function(){return this.Hb()},_xe.toString=function(){return this.Ib()},Kce(289,1,{289:1,1995:1},I5),_xe.le=function(e){var t;return(t=new I5).i=4,t.c=e>1?aG(this,e-1):this,t},_xe.me=function(){return FO(this),this.b},_xe.ne=function(){return Fx(this)},_xe.oe=function(){return FO(this),this.k},_xe.pe=function(){return 0!=(4&this.i)},_xe.qe=function(){return 0!=(1&this.i)},_xe.Ib=function(){return fJ(this)},_xe.i=0;var pje=eB(Rxe,"Object",1),gje=eB(Rxe,"Class",289);Kce(1967,1,Lxe);var mje;eB(Nxe,"Optional",1967);Kce(1143,1967,Lxe,s),_xe.Fb=function(e){return e===this},_xe.Hb=function(){return 2040732332},_xe.Ib=function(){return"Optional.absent()"},_xe.Jb=function(e){return wz(e),Bv(),mje};eB(Nxe,"Absent",1143);Kce(620,1,{},iw);eB(Nxe,"Joiner",620);var bje=NN(Nxe,"Predicate");Kce(573,1,{169:1,573:1,3:1,45:1},Df),_xe.Mb=function(e){return K5(this,e)},_xe.Lb=function(e){return K5(this,e)},_xe.Fb=function(e){var t;return!!BT(e,573)&&(t=LL(e,573),cfe(this.a,t.a))},_xe.Hb=function(){return J5(this.a)+306654252},_xe.Ib=function(){return function(e){var t,n,r,i;for(t=iB(UI(new YA("Predicates."),"and"),40),n=!0,i=new Nh(e);i.b<i.d.gc();)EP(i.b<i.d.gc()),r=i.d.Xb(i.c=i.b++),n||(t.a+=","),t.a+=""+r,n=!1;return(t.a+=")",t).a}(this.a)};eB(Nxe,"Predicates/AndPredicate",573);Kce(403,1967,{403:1,3:1},Rf),_xe.Fb=function(e){var t;return!!BT(e,403)&&(t=LL(e,403),l8(this.a,t.a))},_xe.Hb=function(){return 1502476572+p4(this.a)},_xe.Ib=function(){return Vxe+this.a+")"},_xe.Jb=function(e){return new Rf(KV(e.Kb(this.a),"the Function passed to Optional.transform() must not return null."))};eB(Nxe,"Present",403);Kce(197,1,Hxe),_xe.Nb=function(e){GF(this,e)},_xe.Qb=function(){nw()};eB(Gxe,"UnmodifiableIterator",197);Kce(1948,197,Wxe),_xe.Qb=function(){nw()},_xe.Rb=function(e){throw Jm(new _b)},_xe.Wb=function(e){throw Jm(new _b)};eB(Gxe,"UnmodifiableListIterator",1948);Kce(381,1948,Wxe),_xe.Ob=function(){return this.c<this.d},_xe.Sb=function(){return this.c>0},_xe.Pb=function(){if(this.c>=this.d)throw Jm(new bb);return this.Xb(this.c++)},_xe.Tb=function(){return this.c},_xe.Ub=function(){if(this.c<=0)throw Jm(new bb);return this.Xb(--this.c)},_xe.Vb=function(){return this.c-1},_xe.c=0,_xe.d=0;eB(Gxe,"AbstractIndexedListIterator",381);Kce(679,197,Hxe),_xe.Ob=function(){return e1(this)},_xe.Pb=function(){return pZ(this)},_xe.e=1;eB(Gxe,"AbstractIterator",679);Kce(1958,1,{222:1}),_xe.Zb=function(){return this.f||(this.f=this.ac())},_xe.Fb=function(e){return k4(this,e)},_xe.Hb=function(){return p4(this.Zb())},_xe.dc=function(){return 0==this.gc()},_xe.ec=function(){return aF(this)},_xe.Ib=function(){return P9(this.Zb())};eB(Gxe,"AbstractMultimap",1958);Kce(713,1958,Uxe),_xe.$b=function(){N0(this)},_xe._b=function(e){return this.c._b(e)},_xe.ac=function(){return new l_(this,this.c)},_xe.ic=function(e){return this.hc()},_xe.bc=function(){return new CA(this,this.c)},_xe.jc=function(){return this.kc(this.hc())},_xe.cc=function(e){return KX(this,e)},_xe.fc=function(e){return A6(this,e)},_xe.gc=function(){return this.d},_xe.kc=function(e){return v$(),new Qh(e)},_xe.lc=function(){return new KQ(this)},_xe.mc=function(){return dae(this.c.Ac().Lc(),new l,64,this.d)},_xe.nc=function(e,t){return new wY(this,e,t,null)},_xe.d=0;eB(Gxe,"AbstractMapBasedMultimap",713);Kce(1601,713,Uxe),_xe.hc=function(){return new LY(this.a)},_xe.jc=function(){return v$(),v$(),XFe},_xe.cc=function(e){return LL(KX(this,e),14)},_xe.fc=function(e){return LL(A6(this,e),14)},_xe.Zb=function(){return this.f||(this.f=new l_(this,this.c))},_xe.Fb=function(e){return k4(this,e)},_xe.oc=function(e){return LL(KX(this,e),14)},_xe.pc=function(e){return LL(A6(this,e),14)},_xe.kc=function(e){return T$(LL(e,14))},_xe.nc=function(e,t){return NU(this,e,LL(t,14),null)};eB(Gxe,"AbstractListMultimap",1601);Kce(1079,1,qxe),_xe.Nb=function(e){GF(this,e)},_xe.Ob=function(){return this.c.Ob()||this.e.Ob()},_xe.Pb=function(){var e;return this.e.Ob()||(e=LL(this.c.Pb(),43),this.b=e.ad(),this.a=LL(e.bd(),15),this.e=this.a.Ic()),this.qc(this.b,this.e.Pb())},_xe.Qb=function(){this.e.Qb(),this.a.dc()&&this.c.Qb(),--this.d.d};eB(Gxe,"AbstractMapBasedMultimap/Itr",1079);Kce(1080,1079,qxe,KQ),_xe.qc=function(e,t){return t};eB(Gxe,"AbstractMapBasedMultimap/1",1080);Kce(1081,1,{},l),_xe.Kb=function(e){return LL(e,15).Lc()};eB(Gxe,"AbstractMapBasedMultimap/1methodref$spliterator$Type",1081);var vje=NN(Xxe,"Map");Kce(1949,1,Yxe),_xe.uc=function(e){S2(this,e)},_xe.wc=function(e,t,n){return c9(this,e,t,n)},_xe.$b=function(){this.tc().$b()},_xe.rc=function(e){return Jne(this,e)},_xe._b=function(e){return!!Moe(this,e,!1)},_xe.sc=function(e){var t,n;for(t=this.tc().Ic();t.Ob();)if(n=LL(t.Pb(),43).bd(),OI(e)===OI(n)||null!=e&&l8(e,n))return!0;return!1},_xe.Fb=function(e){var t,n,r;if(e===this)return!0;if(!BT(e,84))return!1;if(r=LL(e,84),this.gc()!=r.gc())return!1;for(n=r.tc().Ic();n.Ob();)if(t=LL(n.Pb(),43),!this.rc(t))return!1;return!0},_xe.vc=function(e){return PI(Moe(this,e,!1))},_xe.Hb=function(){return a5(this.tc())},_xe.dc=function(){return 0==this.gc()},_xe.ec=function(){return new Fh(this)},_xe.xc=function(e,t){throw Jm(new By("Put not supported on this map"))},_xe.yc=function(e){p2(this,e)},_xe.zc=function(e){return PI(Moe(this,e,!0))},_xe.gc=function(){return this.tc().gc()},_xe.Ib=function(){return Boe(this)},_xe.Ac=function(){return new Wh(this)};eB(Xxe,"AbstractMap",1949);Kce(1959,1949,Yxe),_xe.bc=function(){return new T_(this)},_xe.tc=function(){return this.f||(this.f=this.Bc())},_xe.ec=function(){return this.g||(this.g=this.bc())},_xe.Ac=function(){return this.i||(this.i=new A_(this))};eB(Gxe,"Maps/ViewCachingAbstractMap",1959);Kce(316,1959,Yxe,l_),_xe.vc=function(e){return function(e,t){var n,r;return(n=LL(t6(e.d,t),15))?(r=t,e.e.nc(r,n)):null}(this,e)},_xe.zc=function(e){return function(e,t){var n,r;return(n=LL(e.d.zc(t),15))?((r=e.e.hc()).Ec(n),e.e.d-=n.gc(),n.$b(),r):null}(this,e)},_xe.$b=function(){this.d==this.e.c?this.e.$b():$N(new VN(this))},_xe._b=function(e){return E6(this.d,e)},_xe.Cc=function(){return new Lf(this)},_xe.Bc=function(){return this.Cc()},_xe.Fb=function(e){return this===e||l8(this.d,e)},_xe.Hb=function(){return p4(this.d)},_xe.ec=function(){return this.e.ec()},_xe.gc=function(){return this.d.gc()},_xe.Ib=function(){return P9(this.d)};eB(Gxe,"AbstractMapBasedMultimap/AsMap",316);var yje=NN(Rxe,"Iterable");Kce(28,1,Kxe),_xe.Hc=function(e){yX(this,e)},_xe.Jc=function(){return this.Mc()},_xe.Lc=function(){return new ZG(this,0)},_xe.Mc=function(){return new cj(null,this.Lc())},_xe.Dc=function(e){throw Jm(new By("Add not supported on this collection"))},_xe.Ec=function(e){return G1(this,e)},_xe.$b=function(){zV(this)},_xe.Fc=function(e){return l7(this,e,!1)},_xe.Gc=function(e){return N3(this,e)},_xe.dc=function(){return 0==this.gc()},_xe.Kc=function(e){return l7(this,e,!0)},_xe.Nc=function(){return dF(this)},_xe.Oc=function(e){return Qne(this,e)},_xe.Ib=function(){return Wae(this)};eB(Xxe,"AbstractCollection",28);var wje=NN(Xxe,"Set");Kce(Zxe,28,Qxe),_xe.Lc=function(){return new ZG(this,1)},_xe.Fb=function(e){return yee(this,e)},_xe.Hb=function(){return a5(this)};eB(Xxe,"AbstractSet",Zxe);Kce(1939,Zxe,Qxe);eB(Gxe,"Sets/ImprovedAbstractSet",1939);Kce(1940,1939,Qxe),_xe.$b=function(){this.Pc().$b()},_xe.Fc=function(e){return I7(this,e)},_xe.dc=function(){return this.Pc().dc()},_xe.Kc=function(e){var t;return!!this.Fc(e)&&(t=LL(e,43),this.Pc().ec().Kc(t.ad()))},_xe.gc=function(){return this.Pc().gc()};eB(Gxe,"Maps/EntrySet",1940);Kce(1077,1940,Qxe,Lf),_xe.Fc=function(e){return C6(this.a.d.tc(),e)},_xe.Ic=function(){return new VN(this.a)},_xe.Pc=function(){return this.a},_xe.Kc=function(e){var t;return!!C6(this.a.d.tc(),e)&&(t=LL(e,43),DX(this.a.e,t.ad()),!0)},_xe.Lc=function(){return kL(this.a.d.tc().Lc(),new Nf(this.a))};eB(Gxe,"AbstractMapBasedMultimap/AsMap/AsMapEntries",1077);Kce(1078,1,{},Nf),_xe.Kb=function(e){return wX(this.a,LL(e,43))};eB(Gxe,"AbstractMapBasedMultimap/AsMap/AsMapEntries/0methodref$wrapEntry$Type",1078);Kce(717,1,qxe,VN),_xe.Nb=function(e){GF(this,e)},_xe.Pb=function(){var e;return e=LL(this.b.Pb(),43),this.a=LL(e.bd(),15),wX(this.c,e)},_xe.Ob=function(){return this.b.Ob()},_xe.Qb=function(){u2(!!this.a),this.b.Qb(),this.c.e.d-=this.a.gc(),this.a.$b(),this.a=null};eB(Gxe,"AbstractMapBasedMultimap/AsMap/AsMapIterator",717);Kce(524,1939,Qxe,T_),_xe.$b=function(){this.b.$b()},_xe.Fc=function(e){return this.b._b(e)},_xe.Hc=function(e){wz(e),this.b.uc(new eh(e))},_xe.dc=function(){return this.b.dc()},_xe.Ic=function(){return new iy(this.b.tc().Ic())},_xe.Kc=function(e){return!!this.b._b(e)&&(this.b.zc(e),!0)},_xe.gc=function(){return this.b.gc()};eB(Gxe,"Maps/KeySet",524);Kce(315,524,Qxe,CA),_xe.$b=function(){$N(new s_(this,this.b.tc().Ic()))},_xe.Gc=function(e){return this.b.ec().Gc(e)},_xe.Fb=function(e){return this===e||l8(this.b.ec(),e)},_xe.Hb=function(){return p4(this.b.ec())},_xe.Ic=function(){return new s_(this,this.b.tc().Ic())},_xe.Kc=function(e){var t,n;return n=0,(t=LL(this.b.zc(e),15))&&(n=t.gc(),t.$b(),this.a.d-=n),n>0},_xe.Lc=function(){return this.b.ec().Lc()};eB(Gxe,"AbstractMapBasedMultimap/KeySet",315);Kce(718,1,qxe,s_),_xe.Nb=function(e){GF(this,e)},_xe.Ob=function(){return this.c.Ob()},_xe.Pb=function(){return this.a=LL(this.c.Pb(),43),this.a.ad()},_xe.Qb=function(){var e;u2(!!this.a),e=LL(this.a.bd(),15),this.c.Qb(),this.b.a.d-=e.gc(),e.$b(),this.a=null};eB(Gxe,"AbstractMapBasedMultimap/KeySet/1",718);Kce(484,316,{84:1,161:1},OO),_xe.bc=function(){return this.Qc()},_xe.ec=function(){return this.Rc()},_xe.Qc=function(){return new o_(this.c,this.Sc())},_xe.Rc=function(){return this.b||(this.b=this.Qc())},_xe.Sc=function(){return LL(this.d,161)};eB(Gxe,"AbstractMapBasedMultimap/SortedAsMap",484);Kce(536,484,Jxe,DO),_xe.bc=function(){return new a_(this.a,LL(LL(this.d,161),171))},_xe.Qc=function(){return new a_(this.a,LL(LL(this.d,161),171))},_xe.ec=function(){return LL(this.b||(this.b=new a_(this.a,LL(LL(this.d,161),171))),270)},_xe.Rc=function(){return LL(this.b||(this.b=new a_(this.a,LL(LL(this.d,161),171))),270)},_xe.Sc=function(){return LL(LL(this.d,161),171)};eB(Gxe,"AbstractMapBasedMultimap/NavigableAsMap",536);Kce(483,315,e_e,o_),_xe.Lc=function(){return this.b.ec().Lc()};eB(Gxe,"AbstractMapBasedMultimap/SortedKeySet",483);Kce(385,483,t_e,a_);eB(Gxe,"AbstractMapBasedMultimap/NavigableKeySet",385);Kce(535,28,Kxe,wY),_xe.Dc=function(e){var t,n;return L9(this),n=this.d.dc(),(t=this.d.Dc(e))&&(++this.f.d,n&&XD(this)),t},_xe.Ec=function(e){var t,n,r;return!e.dc()&&(L9(this),r=this.d.gc(),(t=this.d.Ec(e))&&(n=this.d.gc(),this.f.d+=n-r,0==r&&XD(this)),t)},_xe.$b=function(){var e;L9(this),0!=(e=this.d.gc())&&(this.d.$b(),this.f.d-=e,_j(this))},_xe.Fc=function(e){return L9(this),this.d.Fc(e)},_xe.Gc=function(e){return L9(this),this.d.Gc(e)},_xe.Fb=function(e){return e===this||(L9(this),l8(this.d,e))},_xe.Hb=function(){return L9(this),p4(this.d)},_xe.Ic=function(){return L9(this),new IL(this)},_xe.Kc=function(e){var t;return L9(this),(t=this.d.Kc(e))&&(--this.f.d,_j(this)),t},_xe.gc=function(){return YI(this)},_xe.Lc=function(){return L9(this),this.d.Lc()},_xe.Ib=function(){return L9(this),P9(this.d)};eB(Gxe,"AbstractMapBasedMultimap/WrappedCollection",535);var xje=NN(Xxe,"List");Kce(715,535,{19:1,28:1,15:1,14:1},rF),_xe.$c=function(e){C1(this,e)},_xe.Lc=function(){return L9(this),this.d.Lc()},_xe.Tc=function(e,t){var n;L9(this),n=this.d.dc(),LL(this.d,14).Tc(e,t),++this.a.d,n&&XD(this)},_xe.Uc=function(e,t){var n,r,i;return!t.dc()&&(L9(this),i=this.d.gc(),(n=LL(this.d,14).Uc(e,t))&&(r=this.d.gc(),this.a.d+=r-i,0==i&&XD(this)),n)},_xe.Xb=function(e){return L9(this),LL(this.d,14).Xb(e)},_xe.Vc=function(e){return L9(this),LL(this.d,14).Vc(e)},_xe.Wc=function(){return L9(this),new wT(this)},_xe.Xc=function(e){return L9(this),new ZV(this,e)},_xe.Yc=function(e){var t;return L9(this),t=LL(this.d,14).Yc(e),--this.a.d,_j(this),t},_xe.Zc=function(e,t){return L9(this),LL(this.d,14).Zc(e,t)},_xe._c=function(e,t){return L9(this),NU(this.a,this.e,LL(this.d,14)._c(e,t),this.b?this.b:this)};eB(Gxe,"AbstractMapBasedMultimap/WrappedList",715);Kce(1076,715,{19:1,28:1,15:1,14:1,53:1},jP);eB(Gxe,"AbstractMapBasedMultimap/RandomAccessWrappedList",1076);Kce(610,1,qxe,IL),_xe.Nb=function(e){GF(this,e)},_xe.Ob=function(){return XV(this),this.b.Ob()},_xe.Pb=function(){return XV(this),this.b.Pb()},_xe.Qb=function(){WA(this)};eB(Gxe,"AbstractMapBasedMultimap/WrappedCollection/WrappedIterator",610);Kce(716,610,n_e,wT,ZV),_xe.Qb=function(){WA(this)},_xe.Rb=function(e){var t;t=0==YI(this.a),(XV(this),LL(this.b,123)).Rb(e),++this.a.a.d,t&&XD(this.a)},_xe.Sb=function(){return(XV(this),LL(this.b,123)).Sb()},_xe.Tb=function(){return(XV(this),LL(this.b,123)).Tb()},_xe.Ub=function(){return(XV(this),LL(this.b,123)).Ub()},_xe.Vb=function(){return(XV(this),LL(this.b,123)).Vb()},_xe.Wb=function(e){(XV(this),LL(this.b,123)).Wb(e)};eB(Gxe,"AbstractMapBasedMultimap/WrappedList/WrappedListIterator",716);Kce(714,535,e_e,AO),_xe.Lc=function(){return L9(this),this.d.Lc()};eB(Gxe,"AbstractMapBasedMultimap/WrappedSortedSet",714);Kce(1075,714,t_e,ZM);eB(Gxe,"AbstractMapBasedMultimap/WrappedNavigableSet",1075);Kce(1074,535,Qxe,PO),_xe.Lc=function(){return L9(this),this.d.Lc()};eB(Gxe,"AbstractMapBasedMultimap/WrappedSet",1074);var _je=NN(Xxe,"Map/Entry");Kce(342,1,r_e),_xe.Fb=function(e){var t;return!!BT(e,43)&&(t=LL(e,43),IB(this.ad(),t.ad())&&IB(this.bd(),t.bd()))},_xe.Hb=function(){var e,t;return e=this.ad(),t=this.bd(),(null==e?0:p4(e))^(null==t?0:p4(t))},_xe.cd=function(e){throw Jm(new _b)},_xe.Ib=function(){return this.ad()+"="+this.bd()};eB(Gxe,i_e,342);Kce(1960,28,Kxe),_xe.$b=function(){aw(this.dd())},_xe.Fc=function(e){var t;return!!BT(e,43)&&(t=LL(e,43),function(e,t,n){var r,i;return!!(r=LL((i=e.f,i||(e.f=new l_(e,e.c))).vc(t),15))&&r.Fc(n)}(this.dd(),t.ad(),t.bd()))},_xe.Kc=function(e){var t;return!!BT(e,43)&&(t=LL(e,43),Y1(this.dd(),t.ad(),t.bd()))},_xe.gc=function(){return this.dd().d};eB(Gxe,"Multimaps/Entries",1960);Kce(1082,1960,Kxe),_xe.Ic=function(){return new HA(this.a)},_xe.dd=function(){return this.a},_xe.Lc=function(){return LU(this.a)};eB(Gxe,"AbstractMultimap/Entries",1082);Kce(719,1082,Qxe,jf),_xe.Lc=function(){return LU(this.a)},_xe.Fb=function(e){return Ase(this,e)},_xe.Hb=function(){return H1(this)};eB(Gxe,"AbstractMultimap/EntrySet",719);Kce(720,28,Kxe,Ff),_xe.$b=function(){this.a.$b()},_xe.Fc=function(e){return function(e,t){var n;for(n=e.Zb().Ac().Ic();n.Ob();)if(LL(n.Pb(),15).Fc(t))return!0;return!1}(this.a,e)},_xe.Ic=function(){return this.a.lc()},_xe.gc=function(){return this.a.d},_xe.Lc=function(){return this.a.mc()};eB(Gxe,"AbstractMultimap/Values",720);Kce(609,713,Uxe),_xe.hc=function(){return this.ed()},_xe.jc=function(){return this.fd()},_xe.cc=function(e){return this.gd(e)},_xe.fc=function(e){return this.hd(e)},_xe.Zb=function(){return this.f||(this.f=this.ac())},_xe.fd=function(){return v$(),v$(),KFe},_xe.Fb=function(e){return k4(this,e)},_xe.gd=function(e){return LL(KX(this,e),21)},_xe.hd=function(e){return LL(A6(this,e),21)},_xe.kc=function(e){return v$(),new mw(LL(e,21))},_xe.nc=function(e,t){return new PO(this,e,LL(t,21))};eB(Gxe,"AbstractSetMultimap",609);Kce(1627,609,Uxe),_xe.hc=function(){return new Xx(this.b)},_xe.ed=function(){return new Xx(this.b)},_xe.jc=function(){return cB(new Xx(this.b))},_xe.fd=function(){return cB(new Xx(this.b))},_xe.cc=function(e){return LL(LL(KX(this,e),21),81)},_xe.gd=function(e){return LL(LL(KX(this,e),21),81)},_xe.fc=function(e){return LL(LL(A6(this,e),21),81)},_xe.hd=function(e){return LL(LL(A6(this,e),21),81)},_xe.kc=function(e){return BT(e,270)?cB(LL(e,270)):(v$(),new eP(LL(e,81)))},_xe.Zb=function(){return this.f||(this.f=BT(this.c,171)?new DO(this,LL(this.c,171)):BT(this.c,161)?new OO(this,LL(this.c,161)):new l_(this,this.c))},_xe.nc=function(e,t){return BT(t,270)?new ZM(this,e,LL(t,270)):new AO(this,e,LL(t,81))};eB(Gxe,"AbstractSortedSetMultimap",1627);Kce(1628,1627,Uxe),_xe.Zb=function(){return LL(LL(this.f||(this.f=BT(this.c,171)?new DO(this,LL(this.c,171)):BT(this.c,161)?new OO(this,LL(this.c,161)):new l_(this,this.c)),161),171)},_xe.ec=function(){return LL(LL(this.i||(this.i=BT(this.c,171)?new a_(this,LL(this.c,171)):BT(this.c,161)?new o_(this,LL(this.c,161)):new CA(this,this.c)),81),270)},_xe.bc=function(){return BT(this.c,171)?new a_(this,LL(this.c,171)):BT(this.c,161)?new o_(this,LL(this.c,161)):new CA(this,this.c)};eB(Gxe,"AbstractSortedKeySortedSetMultimap",1628);Kce(1979,1,{1919:1}),_xe.Fb=function(e){return function(e,t){var n;return t===e||!!BT(t,652)&&(n=LL(t,1919),yee(e.g||(e.g=new zf(e)),n.g||(n.g=new zf(n))))}(this,e)},_xe.Hb=function(){return a5(this.g||(this.g=new zf(this)))},_xe.Ib=function(){return Boe(this.f||(this.f=new PA(this)))};eB(Gxe,"AbstractTable",1979);Kce(653,Zxe,Qxe,zf),_xe.$b=function(){rw()},_xe.Fc=function(e){var t,n;return!!BT(e,462)&&(t=LL(e,669),!!(n=LL(t6(Xz(this.a),zI(t.c.e,t.b)),84))&&C6(n.tc(),new __(zI(t.c.c,t.a),_Y(t.c,t.b,t.a))))},_xe.Ic=function(){return new EA(e=this.a,e.e.Hd().gc()*e.c.Hd().gc());var e},_xe.Kc=function(e){var t,n;return!!BT(e,462)&&(t=LL(e,669),!!(n=LL(t6(Xz(this.a),zI(t.c.e,t.b)),84))&&function(e,t){wz(e);try{return e.Kc(t)}catch(e){if(BT(e=v3(e),203)||BT(e,173))return!1;throw Jm(e)}}(n.tc(),new __(zI(t.c.c,t.a),_Y(t.c,t.b,t.a))))},_xe.gc=function(){return BN(this.a)},_xe.Lc=function(){return zN((e=this.a).e.Hd().gc()*e.c.Hd().gc(),273,new Vf(e));var e};eB(Gxe,"AbstractTable/CellSet",653);Kce(o_e,28,Kxe,Bf),_xe.$b=function(){rw()},_xe.Fc=function(e){return function(e,t){var n,r,i,o,a,s,l;for(s=0,l=(a=e.a).length;s<l;++s)for(i=0,o=(r=a[s]).length;i<o;++i)if(n=r[i],OI(t)===OI(n)||null!=t&&l8(t,n))return!0;return!1}(this.a,e)},_xe.Ic=function(){return new IA(e=this.a,e.e.Hd().gc()*e.c.Hd().gc());var e},_xe.gc=function(){return BN(this.a)},_xe.Lc=function(){return ZW(this.a)};eB(Gxe,"AbstractTable/Values",o_e);Kce(1602,1601,Uxe);eB(Gxe,"ArrayListMultimapGwtSerializationDependencies",1602);Kce(506,1602,Uxe,Jy,JG),_xe.hc=function(){return new LY(this.a)},_xe.a=0;eB(Gxe,"ArrayListMultimap",506);Kce(652,1979,{652:1,1919:1,3:1},dce);eB(Gxe,"ArrayTable",652);Kce(1896,381,Wxe,EA),_xe.Xb=function(e){return new E5(this.a,e)};eB(Gxe,"ArrayTable/1",1896);Kce(1897,1,{},Vf),_xe.jd=function(e){return new E5(this.a,e)};eB(Gxe,"ArrayTable/1methodref$getCell$Type",1897);Kce(1980,1,{669:1}),_xe.Fb=function(e){var t;return e===this||!!BT(e,462)&&(t=LL(e,669),IB(zI(this.c.e,this.b),zI(t.c.e,t.b))&&IB(zI(this.c.c,this.a),zI(t.c.c,t.a))&&IB(_Y(this.c,this.b,this.a),_Y(t.c,t.b,t.a)))},_xe.Hb=function(){return J4(q3(lw(pje,1),zxe,1,5,[zI(this.c.e,this.b),zI(this.c.c,this.a),_Y(this.c,this.b,this.a)]))},_xe.Ib=function(){return"("+zI(this.c.e,this.b)+","+zI(this.c.c,this.a)+")="+_Y(this.c,this.b,this.a)};eB(Gxe,"Tables/AbstractCell",1980);Kce(462,1980,{462:1,669:1},E5),_xe.a=0,_xe.b=0,_xe.d=0;eB(Gxe,"ArrayTable/2",462);Kce(1899,1,{},$f),_xe.jd=function(e){return uZ(this.a,e)};eB(Gxe,"ArrayTable/2methodref$getValue$Type",1899);Kce(1898,381,Wxe,IA),_xe.Xb=function(e){return uZ(this.a,e)};eB(Gxe,"ArrayTable/3",1898);Kce(1951,1949,Yxe),_xe.$b=function(){$N(this.kd())},_xe.tc=function(){return new Jf(this)},_xe.ld=function(){return new TV(this.kd(),this.gc())};eB(Gxe,"Maps/IteratorBasedAbstractMap",1951);Kce(807,1951,Yxe),_xe.$b=function(){throw Jm(new _b)},_xe._b=function(e){return Px(this.c,e)},_xe.kd=function(){return new AA(this,this.c.b.c.gc())},_xe.ld=function(){return zN(this.c.b.c.gc(),16,new Hf(this))},_xe.vc=function(e){var t;return(t=LL(DR(this.c,e),20))?this.nd(t.a):null},_xe.dc=function(){return this.c.b.c.dc()},_xe.ec=function(){return uF(this.c)},_xe.xc=function(e,t){var n;if(!(n=LL(DR(this.c,e),20)))throw Jm(new Ny(this.md()+" "+e+" not in "+uF(this.c)));return this.od(n.a,t)},_xe.zc=function(e){throw Jm(new _b)},_xe.gc=function(){return this.c.b.c.gc()};eB(Gxe,"ArrayTable/ArrayMap",807);Kce(1895,1,{},Hf),_xe.jd=function(e){return Kz(this.a,e)};eB(Gxe,"ArrayTable/ArrayMap/0methodref$getEntry$Type",1895);Kce(1893,342,r_e,u_),_xe.ad=function(){return e=this.a,t=this.b,sF(uF(e.c)).Xb(t);var e,t},_xe.bd=function(){return this.a.nd(this.b)},_xe.cd=function(e){return this.a.od(this.b,e)},_xe.b=0;eB(Gxe,"ArrayTable/ArrayMap/1",1893);Kce(1894,381,Wxe,AA),_xe.Xb=function(e){return Kz(this.a,e)};eB(Gxe,"ArrayTable/ArrayMap/2",1894);Kce(1892,807,Yxe,tz),_xe.md=function(){return"Column"},_xe.nd=function(e){return _Y(this.b,this.a,e)},_xe.od=function(e,t){return U3(this.b,this.a,e,t)},_xe.a=0;eB(Gxe,"ArrayTable/Row",1892);Kce(808,807,Yxe,PA),_xe.nd=function(e){return new tz(this.a,e)},_xe.xc=function(e,t){return LL(t,84),function(){throw Jm(new _b)}()},_xe.od=function(e,t){return LL(t,84),function(){throw Jm(new _b)}()},_xe.md=function(){return"Row"};eB(Gxe,"ArrayTable/RowMap",808);Kce(1093,1,u_e,c_),_xe.qd=function(){return-262&this.a.qd()},_xe.rd=function(){return this.a.rd()},_xe.Nb=function(e){this.a.Nb(new h_(e,this.b))},_xe.sd=function(e){return this.a.sd(new f_(e,this.b))};eB(Gxe,"CollectSpliterators/1",1093);Kce(1094,1,c_e,f_),_xe.td=function(e){this.a.td(this.b.Kb(e))};eB(Gxe,"CollectSpliterators/1/lambda$0$Type",1094);Kce(1095,1,c_e,h_),_xe.td=function(e){this.a.td(this.b.Kb(e))};eB(Gxe,"CollectSpliterators/1/lambda$1$Type",1095);Kce(1096,1,u_e,YU),_xe.qd=function(){return this.a},_xe.rd=function(){return this.d&&(this.b=nT(this.b,this.d.rd())),nT(this.b,0)},_xe.Nb=function(e){this.d&&(this.d.Nb(e),this.d=null),this.c.Nb(new m_(this.e,e)),this.b=0},_xe.sd=function(e){for(;;){if(this.d&&this.d.sd(e))return B_(this.b,f_e)&&(this.b=s8(this.b,1)),!0;if(this.d=null,!this.c.sd(new d_(this,this.e)))return!1}},_xe.a=0,_xe.b=0;eB(Gxe,"CollectSpliterators/1FlatMapSpliterator",1096);Kce(1097,1,c_e,d_),_xe.td=function(e){!function(e,t,n){e.d=LL(t.Kb(n),163)}(this.a,this.b,e)};eB(Gxe,"CollectSpliterators/1FlatMapSpliterator/lambda$0$Type",1097);Kce(1098,1,c_e,m_),_xe.td=function(e){!function(e,t,n){LL(e.Kb(n),163).Nb(t)}(this.b,this.a,e)};eB(Gxe,"CollectSpliterators/1FlatMapSpliterator/lambda$1$Type",1098);Kce(1090,1,u_e,aR),_xe.qd=function(){return 16464|this.b},_xe.rd=function(){return this.a.rd()},_xe.Nb=function(e){this.a.xe(new g_(e,this.c))},_xe.sd=function(e){return this.a.ye(new p_(e,this.c))},_xe.b=0;eB(Gxe,"CollectSpliterators/1WithCharacteristics",1090);Kce(1091,1,h_e,p_),_xe.ud=function(e){this.a.td(this.b.jd(e))};eB(Gxe,"CollectSpliterators/1WithCharacteristics/lambda$0$Type",1091);Kce(1092,1,h_e,g_),_xe.ud=function(e){this.a.td(this.b.jd(e))};eB(Gxe,"CollectSpliterators/1WithCharacteristics/lambda$1$Type",1092);Kce(244,1,d_e),_xe.wd=function(e){return this.vd(LL(e,244))},_xe.vd=function(e){var t;return e==($v(),kje)?1:e==(Vv(),Sje)?-1:(pN(),0!=(t=b2(this.a,e.a))?t:BT(this,512)==BT(e,512)?0:BT(this,512)?1:-1)},_xe.zd=function(){return this.a},_xe.Fb=function(e){return B7(this,e)};var Sje;eB(Gxe,"Cut",244);Kce(1732,244,d_e,ew),_xe.vd=function(e){return e==this?0:1},_xe.xd=function(e){throw Jm(new pb)},_xe.yd=function(e){e.a+="+∞)"},_xe.zd=function(){throw Jm(new jy(p_e))},_xe.Hb=function(){return Q_(),Yte(this)},_xe.Ad=function(e){return!1},_xe.Ib=function(){return"+∞"};eB(Gxe,"Cut/AboveAll",1732);Kce(512,244,{244:1,512:1,3:1,36:1},KA),_xe.xd=function(e){WI((e.a+="(",e),this.a)},_xe.yd=function(e){iB(WI(e,this.a),93)},_xe.Hb=function(){return~p4(this.a)},_xe.Ad=function(e){return pN(),b2(this.a,e)<0},_xe.Ib=function(){return"/"+this.a+"\\"};var kje;eB(Gxe,"Cut/AboveValue",512);Kce(1731,244,d_e,tw),_xe.vd=function(e){return e==this?0:-1},_xe.xd=function(e){e.a+="(-∞"},_xe.yd=function(e){throw Jm(new pb)},_xe.zd=function(){throw Jm(new jy(p_e))},_xe.Hb=function(){return Q_(),Yte(this)},_xe.Ad=function(e){return!0},_xe.Ib=function(){return"-∞"};eB(Gxe,"Cut/BelowAll",1731);Kce(1733,244,d_e,ZA),_xe.xd=function(e){WI((e.a+="[",e),this.a)},_xe.yd=function(e){iB(WI(e,this.a),41)},_xe.Hb=function(){return p4(this.a)},_xe.Ad=function(e){return pN(),b2(this.a,e)<=0},_xe.Ib=function(){return"\\"+this.a+"/"};eB(Gxe,"Cut/BelowValue",1733);Kce(529,1,g_e),_xe.Hc=function(e){yX(this,e)},_xe.Ib=function(){return function(e){var t,n;for(n=iB(new pw,91),t=!0;e.Ob();)t||(n.a+=jxe),t=!1,WI(n,e.Pb());return(n.a+="]",n).a}(LL(KV(this,"use Optional.orNull() instead of Optional.or(null)"),19).Ic())};eB(Gxe,"FluentIterable",529);Kce(426,529,g_e,IM),_xe.Ic=function(){return new xF(BA(this.a.Ic(),new p))};eB(Gxe,"FluentIterable/2",426);Kce(1010,529,g_e,MM),_xe.Ic=function(){return ZF(this)};eB(Gxe,"FluentIterable/3",1010);Kce(694,381,Wxe,OA),_xe.Xb=function(e){return this.a[e].Ic()};eB(Gxe,"FluentIterable/3/1",694);Kce(1942,1,{}),_xe.Ib=function(){return P9(this.Bd().b)};eB(Gxe,"ForwardingObject",1942);Kce(1943,1942,m_e),_xe.Bd=function(){return this.Cd()},_xe.Hc=function(e){yX(this,e)},_xe.Jc=function(){return this.Mc()},_xe.Lc=function(){return new ZG(this,0)},_xe.Mc=function(){return new cj(null,this.Lc())},_xe.Dc=function(e){return this.Cd(),jw()},_xe.Ec=function(e){return this.Cd(),Fw()},_xe.$b=function(){this.Cd(),zw()},_xe.Fc=function(e){return this.Cd().Fc(e)},_xe.Gc=function(e){return this.Cd().Gc(e)},_xe.dc=function(){return this.Cd().b.dc()},_xe.Ic=function(){return this.Cd().Ic()},_xe.Kc=function(e){return this.Cd(),Bw()},_xe.gc=function(){return this.Cd().b.gc()},_xe.Nc=function(){return this.Cd().Nc()},_xe.Oc=function(e){return this.Cd().Oc(e)};eB(Gxe,"ForwardingCollection",1943);Kce(1952,28,b_e),_xe.Ic=function(){return this.Ed()},_xe.Dc=function(e){throw Jm(new _b)},_xe.Ec=function(e){throw Jm(new _b)},_xe.$b=function(){throw Jm(new _b)},_xe.Fc=function(e){return null!=e&&l7(this,e,!1)},_xe.Dd=function(){switch(this.gc()){case 0:return BB(),BB(),Cje;case 1:return BB(),new HN(wz(this.Ed().Pb()));default:return new iz(this,this.Nc())}},_xe.Kc=function(e){throw Jm(new _b)};eB(Gxe,"ImmutableCollection",1952);Kce(693,1952,b_e,sb),_xe.Ic=function(){return BK(this.a.Ic())},_xe.Fc=function(e){return null!=e&&this.a.Fc(e)},_xe.Gc=function(e){return this.a.Gc(e)},_xe.dc=function(){return this.a.dc()},_xe.Ed=function(){return BK(this.a.Ic())},_xe.gc=function(){return this.a.gc()},_xe.Nc=function(){return this.a.Nc()},_xe.Oc=function(e){return this.a.Oc(e)},_xe.Ib=function(){return P9(this.a)};var Cje;eB(Gxe,"ForwardingImmutableCollection",693);Kce(151,1952,v_e),_xe.Ic=function(){return this.Ed()},_xe.Wc=function(){return this.Fd(0)},_xe.Xc=function(e){return this.Fd(e)},_xe.$c=function(e){C1(this,e)},_xe.Lc=function(){return new ZG(this,16)},_xe._c=function(e,t){return this.Gd(e,t)},_xe.Tc=function(e,t){throw Jm(new _b)},_xe.Uc=function(e,t){throw Jm(new _b)},_xe.Fb=function(e){return bfe(this,e)},_xe.Hb=function(){return function(e){var t,n,r;for(t=1,r=e.Ic();r.Ob();)t=~~(t=31*t+(null==(n=r.Pb())?0:p4(n)));return t}(this)},_xe.Vc=function(e){return null==e?-1:function(e,t){var n,r;if(r=e.gc(),null==t){for(n=0;n<r;n++)if(null==e.Xb(n))return n}else for(n=0;n<r;n++)if(l8(t,e.Xb(n)))return n;return-1}(this,e)},_xe.Ed=function(){return this.Fd(0)},_xe.Fd=function(e){return BP(this,e)},_xe.Yc=function(e){throw Jm(new _b)},_xe.Zc=function(e,t){throw Jm(new _b)},_xe.Gd=function(e,t){return V6(new KG(new P_(this),e,t))};eB(Gxe,"ImmutableList",151);Kce(1975,151,v_e),_xe.Ic=function(){return BK(this.Hd().Ic())},_xe._c=function(e,t){return V6(this.Hd()._c(e,t))},_xe.Fc=function(e){return null!=e&&this.Hd().Fc(e)},_xe.Gc=function(e){return this.Hd().Gc(e)},_xe.Fb=function(e){return l8(this.Hd(),e)},_xe.Xb=function(e){return zI(this,e)},_xe.Hb=function(){return p4(this.Hd())},_xe.Vc=function(e){return this.Hd().Vc(e)},_xe.dc=function(){return this.Hd().dc()},_xe.Ed=function(){return BK(this.Hd().Ic())},_xe.gc=function(){return this.Hd().gc()},_xe.Gd=function(e,t){return V6(this.Hd()._c(e,t))},_xe.Nc=function(){return this.Hd().Oc(fK(pje,zxe,1,this.Hd().gc(),5,1))},_xe.Oc=function(e){return this.Hd().Oc(e)},_xe.Ib=function(){return P9(this.Hd())};var Eje;eB(Gxe,"ForwardingImmutableList",1975);Kce(703,1,w_e),_xe.tc=function(){return lF(this)},_xe.uc=function(e){S2(this,e)},_xe.ec=function(){return uF(this)},_xe.wc=function(e,t,n){return c9(this,e,t,n)},_xe.Ac=function(){return this.Ld()},_xe.$b=function(){throw Jm(new _b)},_xe._b=function(e){return null!=this.vc(e)},_xe.sc=function(e){return this.Ld().Fc(e)},_xe.Jd=function(){return new lb(this)},_xe.Kd=function(){return new ub(this)},_xe.Fb=function(e){return function(e,t){var n;return e===t||!!BT(t,84)&&(n=LL(t,84),Ase(lF(e),n.tc()))}(this,e)},_xe.Hb=function(){return lF(this).Hb()},_xe.dc=function(){return 0==this.gc()},_xe.xc=function(e,t){return function(){throw Jm(new _b)}()},_xe.zc=function(e){throw Jm(new _b)},_xe.Ib=function(){return function(e){var t,n,r,i;for(i=iB((k0(e.gc(),"size"),new gw),123),r=!0,n=lF(e).Ic();n.Ob();)t=LL(n.Pb(),43),r||(i.a+=jxe),r=!1,WI(iB(WI(i,t.ad()),61),t.bd());return(i.a+="}",i).a}(this)},_xe.Ld=function(){return this.e?this.e:this.e=this.Kd()},_xe.c=null,_xe.d=null,_xe.e=null;eB(Gxe,"ImmutableMap",703);Kce(704,703,w_e),_xe._b=function(e){return Px(this,e)},_xe.sc=function(e){return U_(this.b,e)},_xe.Id=function(){return $6(new Xf(this))},_xe.Jd=function(){return $6(aV(this.b))},_xe.Kd=function(){return IR(),new sb(sV(this.b))},_xe.Fb=function(e){return q_(this.b,e)},_xe.vc=function(e){return DR(this,e)},_xe.Hb=function(){return p4(this.b.c)},_xe.dc=function(){return this.b.c.dc()},_xe.gc=function(){return this.b.c.gc()},_xe.Ib=function(){return P9(this.b.c)};eB(Gxe,"ForwardingImmutableMap",704);Kce(1944,1943,x_e),_xe.Bd=function(){return this.Md()},_xe.Cd=function(){return this.Md()},_xe.Lc=function(){return new ZG(this,1)},_xe.Fb=function(e){return e===this||this.Md().Fb(e)},_xe.Hb=function(){return this.Md().Hb()};eB(Gxe,"ForwardingSet",1944);Kce(1053,1944,x_e,Xf),_xe.Bd=function(){return oV(this.a.b)},_xe.Cd=function(){return oV(this.a.b)},_xe.Fc=function(e){if(BT(e,43)&&null==LL(e,43).ad())return!1;try{return W_(oV(this.a.b),e)}catch(e){if(BT(e=v3(e),203))return!1;throw Jm(e)}},_xe.Md=function(){return oV(this.a.b)},_xe.Oc=function(e){var t;return t=J$(oV(this.a.b),e),oV(this.a.b).b.gc()<t.length&&nB(t,oV(this.a.b).b.gc(),null),t};eB(Gxe,"ForwardingImmutableMap/1",1053);Kce(1953,1952,__e),_xe.Ic=function(){return this.Ed()},_xe.Lc=function(){return new ZG(this,1)},_xe.Fb=function(e){return Ase(this,e)},_xe.Hb=function(){return H1(this)};eB(Gxe,"ImmutableSet",1953);Kce(690,1953,__e),_xe.Ic=function(){return BK(new Jh(this.a.b.Ic()))},_xe.Fc=function(e){return null!=e&&$_(this.a,e)},_xe.Gc=function(e){return H_(this.a,e)},_xe.Hb=function(){return p4(this.a.b)},_xe.dc=function(){return this.a.b.dc()},_xe.Ed=function(){return BK(new Jh(this.a.b.Ic()))},_xe.gc=function(){return this.a.b.gc()},_xe.Nc=function(){return this.a.b.Nc()},_xe.Oc=function(e){return G_(this.a,e)},_xe.Ib=function(){return P9(this.a.b)};eB(Gxe,"ForwardingImmutableSet",690);Kce(1945,1944,S_e),_xe.Bd=function(){return this.b},_xe.Cd=function(){return this.b},_xe.Md=function(){return this.b},_xe.Lc=function(){return new yk(this)};eB(Gxe,"ForwardingSortedSet",1945);Kce(527,1951,w_e,_ne),_xe.yc=function(e){p2(this,e)},_xe.Ac=function(){return new xT(this.d||(this.d=new Yf(this)))},_xe.$b=function(){hX(this)},_xe._b=function(e){return!!K1(this,e,QN(a8(k_e,uV(QN(a8(null==e?0:p4(e),C_e)),15))))},_xe.sc=function(e){return yQ(this,e)},_xe.kd=function(){return new DA(this,this)},_xe.uc=function(e){jH(this,e)},_xe.vc=function(e){return cJ(this,e)},_xe.ec=function(){return new _T(this)},_xe.xc=function(e,t){return fge(this,e,t)},_xe.zc=function(e){var t;return(t=K1(this,e,QN(a8(k_e,uV(QN(a8(null==e?0:p4(e),C_e)),15)))))?(ghe(this,t),t.e=null,t.c=null,t.i):null},_xe.gc=function(){return this.i},_xe.pd=function(){return new xT(this.d||(this.d=new Yf(this)))},_xe.f=0,_xe.g=0,_xe.i=0;eB(Gxe,"HashBiMap",527);Kce(528,1,qxe),_xe.Nb=function(e){GF(this,e)},_xe.Ob=function(){return PU(this)},_xe.Pb=function(){var e;if(!PU(this))throw Jm(new bb);return e=this.c,this.c=e.c,this.f=e,--this.d,this.Nd(e)},_xe.Qb=function(){if(this.e.g!=this.b)throw Jm(new Sb);u2(!!this.f),ghe(this.e,this.f),this.b=this.e.g,this.f=null},_xe.b=0,_xe.d=0,_xe.f=null;eB(Gxe,"HashBiMap/Itr",528);Kce(991,528,qxe,DA),_xe.Nd=function(e){return new b_(this,e)};eB(Gxe,"HashBiMap/1",991);Kce(992,342,r_e,b_),_xe.ad=function(){return this.a.g},_xe.bd=function(){return this.a.i},_xe.cd=function(e){var t,n,r;return n=this.a.i,(r=QN(a8(k_e,uV(QN(a8(null==e?0:p4(e),C_e)),15))))==this.a.f&&(OI(e)===OI(n)||null!=e&&l8(e,n))?e:(T3(!Z1(this.b.a,e,r),e),ghe(this.b.a,this.a),t=new XB(this.a.g,this.a.a,e,r),_ue(this.b.a,t,this.a),this.a.e=null,this.a.c=null,this.b.b=this.b.a.g,this.b.f==this.a&&(this.b.f=t),this.a=t,n)};eB(Gxe,"HashBiMap/1/MapEntry",992);Kce(263,342,{342:1,263:1,3:1,43:1},__),_xe.ad=function(){return this.g},_xe.bd=function(){return this.i},_xe.cd=function(e){throw Jm(new _b)};eB(Gxe,"ImmutableEntry",263);Kce(314,263,{342:1,314:1,263:1,3:1,43:1},XB),_xe.a=0,_xe.f=0;var Ije=eB(Gxe,"HashBiMap/BiEntry",314);Kce(600,1951,w_e,Yf),_xe.yc=function(e){p2(this,e)},_xe.Ac=function(){return new _T(this.a)},_xe.$b=function(){hX(this.a)},_xe._b=function(e){return yQ(this.a,e)},_xe.kd=function(){return new RA(this,this.a)},_xe.uc=function(e){wz(e),jH(this.a,new Kf(e))},_xe.vc=function(e){return IJ(this,e)},_xe.ec=function(){return new xT(this)},_xe.xc=function(e,t){return function(e,t,n,r){var i,o,a,s;if(s=QN(a8(k_e,uV(QN(a8(null==t?0:p4(t),C_e)),15))),i=QN(a8(k_e,uV(QN(a8(null==n?0:p4(n),C_e)),15))),a=Z1(e,t,s),o=K1(e,n,i),a&&i==a.a&&IB(n,a.g))return n;if(o&&!r)throw Jm(new Ny("key already present: "+n));return a&&ghe(e,a),o&&ghe(e,o),_ue(e,new XB(n,i,t,s),o),o&&(o.e=null,o.c=null),a&&(a.e=null,a.c=null),Cie(e),a?a.g:null}(this.a,e,t,!1)},_xe.zc=function(e){var t;return(t=Z1(this.a,e,QN(a8(k_e,uV(QN(a8(null==e?0:p4(e),C_e)),15)))))?(ghe(this.a,t),t.e=null,t.c=null,t.g):null},_xe.gc=function(){return this.a.i},_xe.pd=function(){return new _T(this.a)};eB(Gxe,"HashBiMap/Inverse",600);Kce(988,528,qxe,RA),_xe.Nd=function(e){return new v_(this,e)};eB(Gxe,"HashBiMap/Inverse/1",988);Kce(989,342,r_e,v_),_xe.ad=function(){return this.a.i},_xe.bd=function(){return this.a.g},_xe.cd=function(e){var t,n,r;return r=this.a.g,(t=QN(a8(k_e,uV(QN(a8(null==e?0:p4(e),C_e)),15))))==this.a.a&&(OI(e)===OI(r)||null!=e&&l8(e,r))?e:(T3(!K1(this.b.a.a,e,t),e),ghe(this.b.a.a,this.a),n=new XB(e,t,this.a.i,this.a.f),this.a=n,_ue(this.b.a.a,n,null),this.b.b=this.b.a.a.g,r)};eB(Gxe,"HashBiMap/Inverse/1/InverseEntry",989);Kce(601,524,Qxe,xT),_xe.Ic=function(){return new ey(this.a.a)},_xe.Kc=function(e){var t;return!!(t=Z1(this.a.a,e,QN(a8(k_e,uV(QN(a8(null==e?0:p4(e),C_e)),15)))))&&(ghe(this.a.a,t),!0)};eB(Gxe,"HashBiMap/Inverse/InverseKeySet",601);Kce(987,528,qxe,ey),_xe.Nd=function(e){return e.i};eB(Gxe,"HashBiMap/Inverse/InverseKeySet/1",987);Kce(990,1,{},Kf),_xe.Od=function(e,t){!function(e,t,n){e.Od(n,t)}(this.a,e,t)};eB(Gxe,"HashBiMap/Inverse/lambda$0$Type",990);Kce(599,524,Qxe,_T),_xe.Ic=function(){return new ty(this.a)},_xe.Kc=function(e){var t;return!!(t=K1(this.a,e,QN(a8(k_e,uV(QN(a8(null==e?0:p4(e),C_e)),15)))))&&(ghe(this.a,t),t.e=null,t.c=null,!0)};eB(Gxe,"HashBiMap/KeySet",599);Kce(986,528,qxe,ty),_xe.Nd=function(e){return e.g};eB(Gxe,"HashBiMap/KeySet/1",986);Kce(1073,609,Uxe);eB(Gxe,"HashMultimapGwtSerializationDependencies",1073);Kce(280,1073,Uxe,yH),_xe.hc=function(){return new qx(HQ(this.a))},_xe.ed=function(){return new qx(HQ(this.a))},_xe.a=2;eB(Gxe,"HashMultimap",280);Kce(1968,151,v_e),_xe.Fc=function(e){return this.Pd().Fc(e)},_xe.dc=function(){return this.Pd().dc()},_xe.gc=function(){return this.Pd().gc()};eB(Gxe,"ImmutableAsList",1968);Kce(1903,704,w_e),_xe.Ld=function(){return IR(),new ow(this.a)},_xe.Ac=function(){return IR(),new ow(this.a)},_xe.pd=function(){return IR(),new ow(this.a)};eB(Gxe,"ImmutableBiMap",1903);Kce(1947,1,{});eB(Gxe,"ImmutableCollection/Builder",1947);Kce(998,690,__e,ny);eB(Gxe,"ImmutableEnumSet",998);Kce(933,381,Wxe,oR),_xe.Xb=function(e){return this.a.Xb(e)};eB(Gxe,"ImmutableList/1",933);Kce(932,1947,{},fD);eB(Gxe,"ImmutableList/Builder",932);Kce(604,197,Hxe,Wf),_xe.Ob=function(){return this.a.Ob()},_xe.Pb=function(){return LL(this.a.Pb(),43).ad()};eB(Gxe,"ImmutableMap/1",604);Kce(1029,1,{},u),_xe.Kb=function(e){return LL(e,43).ad()};eB(Gxe,"ImmutableMap/2methodref$getKey$Type",1029);Kce(1028,1,{},hD);eB(Gxe,"ImmutableMap/Builder",1028);Kce(1969,1953,__e),_xe.Ic=function(){return new Wf(lF(this.a).Ed())},_xe.Dd=function(){return new cb(this)},_xe.Hc=function(e){var t,n;for(wz(e),n=this.gc(),t=0;t<n;t++)e.td(LL(sF(lF(this.a)).Xb(t),43).ad())},_xe.Ed=function(){var e;return(e=this.c,e||(this.c=new cb(this))).Ed()},_xe.Lc=function(){return zN(this.gc(),1296,new Gf(this))};eB(Gxe,"IndexedImmutableSet",1969);Kce(1153,1969,__e,lb),_xe.Ic=function(){return new Wf(lF(this.a).Ed())},_xe.Fc=function(e){return this.a._b(e)},_xe.Hc=function(e){wz(e),S2(this.a,new Uf(e))},_xe.Ed=function(){return new Wf(lF(this.a).Ed())},_xe.gc=function(){return this.a.gc()},_xe.Lc=function(){return kL(lF(this.a).Lc(),new u)};eB(Gxe,"ImmutableMapKeySet",1153);Kce(1154,1,{},Uf),_xe.Od=function(e,t){IR(),this.a.td(e)};eB(Gxe,"ImmutableMapKeySet/lambda$0$Type",1154);Kce(1151,1952,b_e,ub),_xe.Ic=function(){return new cN(this)},_xe.Fc=function(e){return null!=e&&function(e,t){if(null==t){for(;e.a.Ob();)if(null==LL(e.a.Pb(),43).bd())return!0}else for(;e.a.Ob();)if(l8(t,LL(e.a.Pb(),43).bd()))return!0;return!1}(new cN(this),e)},_xe.Ed=function(){return new cN(this)},_xe.gc=function(){return this.a.gc()},_xe.Lc=function(){return kL(lF(this.a).Lc(),new c)};eB(Gxe,"ImmutableMapValues",1151);Kce(1152,1,{},c),_xe.Kb=function(e){return LL(e,43).bd()};eB(Gxe,"ImmutableMapValues/0methodref$getValue$Type",1152);Kce(616,197,Hxe,cN),_xe.Ob=function(){return this.a.Ob()},_xe.Pb=function(){return LL(this.a.Pb(),43).bd()};eB(Gxe,"ImmutableMapValues/1",616);Kce(1155,1,{},Gf),_xe.jd=function(e){return bz(this.a,e)};eB(Gxe,"IndexedImmutableSet/0methodref$get$Type",1155);Kce(735,1968,v_e,cb),_xe.Pd=function(){return this.a},_xe.Xb=function(e){return bz(this.a,e)},_xe.gc=function(){return this.a.a.gc()};eB(Gxe,"IndexedImmutableSet/1",735);Kce(42,1,{},p),_xe.Kb=function(e){return LL(e,19).Ic()},_xe.Fb=function(e){return this===e};eB(Gxe,"Iterables/10",42);Kce(1006,529,g_e,fN),_xe.Hc=function(e){wz(e),this.b.Hc(new y_(this.a,e))},_xe.Ic=function(){return uT(this)};eB(Gxe,"Iterables/4",1006);Kce(1007,1,c_e,y_),_xe.td=function(e){!function(e,t,n){e.Mb(n)&&t.td(n)}(this.b,this.a,e)};eB(Gxe,"Iterables/4/lambda$0$Type",1007);Kce(1008,529,g_e,hN),_xe.Hc=function(e){wz(e),yX(this.a,new x_(e,this.b))},_xe.Ic=function(){return BA(new SA(this.a),this.b)};eB(Gxe,"Iterables/5",1008);Kce(1009,1,c_e,x_),_xe.td=function(e){this.a.td(zM(e))};eB(Gxe,"Iterables/5/lambda$0$Type",1009);Kce(1031,197,Hxe,Zf),_xe.Ob=function(){return this.a.Ob()},_xe.Pb=function(){return this.a.Pb()};eB(Gxe,"Iterators/1",1031);Kce(1032,679,Hxe,w_),_xe.Yb=function(){for(var e;this.b.Ob();)if(e=this.b.Pb(),this.a.Lb(e))return e;return this.e=2,null};eB(Gxe,"Iterators/5",1032);Kce(525,1,qxe),_xe.Nb=function(e){GF(this,e)},_xe.Ob=function(){return this.b.Ob()},_xe.Pb=function(){return this.Qd(this.b.Pb())},_xe.Qb=function(){this.b.Qb()};eB(Gxe,"TransformedIterator",525);Kce(1033,525,qxe,VA),_xe.Qd=function(e){return this.a.Kb(e)};eB(Gxe,"Iterators/6",1033);Kce(701,197,Hxe,hh),_xe.Ob=function(){return!this.a},_xe.Pb=function(){if(this.a)throw Jm(new bb);return this.a=!0,this.b},_xe.a=!1;var Mje;eB(Gxe,"Iterators/9",701);Kce(1030,381,Wxe,bj),_xe.Xb=function(e){return this.a[this.b+e]},_xe.b=0;eB(Gxe,"Iterators/ArrayItr",1030);Kce(40,1,{40:1,49:1},xF),_xe.Nb=function(e){GF(this,e)},_xe.Ob=function(){return Zce(this)},_xe.Pb=function(){return dX(this)},_xe.Qb=function(){u2(!!this.c),this.c.Qb(),this.c=null};eB(Gxe,"Iterators/ConcatenatedIterator",40);Kce(22,1,{3:1,36:1,22:1}),_xe.wd=function(e){return Ry(this,LL(e,22))},_xe.Fb=function(e){return this===e},_xe.Hb=function(){return lP(this)},_xe.Ib=function(){return JP(this)},_xe.g=0;var Tje,Aje=eB(Rxe,"Enum",22);Kce(532,22,{532:1,3:1,36:1,22:1,49:1},qT),_xe.Nb=function(e){GF(this,e)},_xe.Ob=function(){return!1},_xe.Pb=function(){throw Jm(new bb)},_xe.Qb=function(){u2(!1)};var Pje,Oje=f0(Gxe,"Iterators/EmptyModifiableIterator",532,Aje,(function(){return Zv(),q3(lw(Oje,1),A_e,532,0,[Tje])}),(function(e){return Zv(),fQ((wG(),Pje),e)}));Kce(1806,609,Uxe);eB(Gxe,"LinkedHashMultimapGwtSerializationDependencies",1806);Kce(1807,1806,Uxe,c6),_xe.hc=function(){return new tP(HQ(this.b))},_xe.$b=function(){aw(this)},_xe.ed=function(){return new tP(HQ(this.b))},_xe.ic=function(e){return new y4(this,e,this.b)},_xe.ec=function(){return this.i||(this.i=new CA(this,this.c))},_xe.lc=function(){return new oy(new HA(this))},_xe.mc=function(){return kL(new ZG(this.g||(this.g=new jf(this)),17),new m)},_xe.b=2;eB(Gxe,"LinkedHashMultimap",1807);Kce(1810,1,{},m),_xe.Kb=function(e){return LL(e,43).bd()};eB(Gxe,"LinkedHashMultimap/0methodref$getValue$Type",1810);Kce(803,1,qxe,HA),_xe.Nb=function(e){GF(this,e)},_xe.Pb=function(){return function(e){var t;if(e.a==e.b.a)throw Jm(new bb);return t=e.a,e.c=t,e.a=e.a.e,t}(this)},_xe.Ob=function(){return this.a!=this.b.a},_xe.Qb=function(){u2(!!this.c),Y1(this.b,this.c.g,this.c.i),this.c=null};eB(Gxe,"LinkedHashMultimap/1",803);Kce(328,263,{342:1,263:1,328:1,1989:1,3:1,43:1},YB),_xe.Rd=function(){return this.f},_xe.Sd=function(e){this.c=e},_xe.Td=function(e){this.f=e},_xe.d=0;var Dje=eB(Gxe,"LinkedHashMultimap/ValueEntry",328);Kce(1808,1939,{1989:1,19:1,28:1,15:1,21:1},y4),_xe.Dc=function(e){var t,n,r,i,o;for(t=(o=QN(a8(k_e,uV(QN(a8(null==e?0:p4(e),C_e)),15))))&this.b.length-1,n=i=this.b[t];n;n=n.a)if(n.d==o&&IB(n.i,e))return!1;return r=new YB(this.c,e,o,i),sw(this.d,r),r.f=this,this.d=r,ob(this.g.a.b,r),ob(r,this.g.a),this.b[t]=r,++this.f,++this.e,function(e){var t,n,r,i,o;if(V_(e.f,e.b.length))for(r=fK(Dje,E_e,328,2*e.b.length,0,1),e.b=r,i=r.length-1,n=e.a;n!=e;n=n.Rd())t=(o=LL(n,328)).d&i,o.a=r[t],r[t]=o}(this),!0},_xe.$b=function(){var e,t;for(mk(this.b,null),this.f=0,e=this.a;e!=this;e=e.Rd())ob((t=LL(e,328)).b,t.e);this.a=this,this.d=this,++this.e},_xe.Fc=function(e){var t,n;for(n=QN(a8(k_e,uV(QN(a8(null==e?0:p4(e),C_e)),15))),t=this.b[n&this.b.length-1];t;t=t.a)if(t.d==n&&IB(t.i,e))return!0;return!1},_xe.Hc=function(e){var t;for(wz(e),t=this.a;t!=this;t=t.Rd())e.td(LL(t,328).i)},_xe.Rd=function(){return this.a},_xe.Ic=function(){return new OB(this)},_xe.Kc=function(e){return Xce(this,e)},_xe.Sd=function(e){this.d=e},_xe.Td=function(e){this.a=e},_xe.gc=function(){return this.f},_xe.e=0,_xe.f=0;eB(Gxe,"LinkedHashMultimap/ValueSet",1808);Kce(1809,1,qxe,OB),_xe.Nb=function(e){GF(this,e)},_xe.Ob=function(){return aN(this),this.b!=this.c},_xe.Pb=function(){var e,t;if(aN(this),this.b==this.c)throw Jm(new bb);return t=(e=LL(this.b,328)).i,this.d=e,this.b=e.f,t},_xe.Qb=function(){aN(this),u2(!!this.d),Xce(this.c,this.d.i),this.a=this.c.e,this.d=null},_xe.a=0;eB(Gxe,"LinkedHashMultimap/ValueSet/1",1809);Kce(749,1958,Uxe,oM),_xe.Zb=function(){return this.f||(this.f=new ak(this))},_xe.Fb=function(e){return k4(this,e)},_xe.cc=function(e){return new k_(this,e)},_xe.fc=function(e){return dq(this,e)},_xe.$b=function(){yz(this)},_xe._b=function(e){return F_(this,e)},_xe.ac=function(){return new ak(this)},_xe.bc=function(){return new nh(this)},_xe.oc=function(e){return new k_(this,e)},_xe.dc=function(){return!this.a},_xe.pc=function(e){return dq(this,e)},_xe.gc=function(){return this.d},_xe.c=0,_xe.d=0;eB(Gxe,"LinkedListMultimap",749);Kce(51,28,P_e),_xe.$c=function(e){C1(this,e)},_xe.Lc=function(){return new ZG(this,16)},_xe.Tc=function(e,t){throw Jm(new By("Add not supported on this list"))},_xe.Dc=function(e){return this.Tc(this.gc(),e),!0},_xe.Uc=function(e,t){var n,r,i;for(wB(t),n=!1,i=t.Ic();i.Ob();)r=i.Pb(),this.Tc(e++,r),n=!0;return n},_xe.$b=function(){this.Ud(0,this.gc())},_xe.Fb=function(e){return cfe(this,e)},_xe.Hb=function(){return J5(this)},_xe.Vc=function(e){return j0(this,e)},_xe.Ic=function(){return new Nh(this)},_xe.Wc=function(){return this.Xc(0)},_xe.Xc=function(e){return new eU(this,e)},_xe.Yc=function(e){throw Jm(new By("Remove not supported on this list"))},_xe.Ud=function(e,t){var n,r;for(r=this.Xc(e),n=e;n<t;++n)r.Pb(),r.Qb()},_xe.Zc=function(e,t){throw Jm(new By("Set not supported on this list"))},_xe._c=function(e,t){return new KG(this,e,t)},_xe.j=0;eB(Xxe,"AbstractList",51);Kce(1936,51,P_e),_xe.Tc=function(e,t){TO(this,e,t)},_xe.Uc=function(e,t){return M4(this,e,t)},_xe.Xb=function(e){return bte(this,e)},_xe.Ic=function(){return this.Xc(0)},_xe.Yc=function(e){return Nre(this,e)},_xe.Zc=function(e,t){var n,r;n=this.Xc(e);try{return r=n.Pb(),n.Wb(t),r}catch(t){throw BT(t=v3(t),114)?Jm(new Ey("Can't set element "+e)):Jm(t)}};eB(Xxe,"AbstractSequentialList",1936);Kce(626,1936,P_e,k_),_xe.Xc=function(e){return zA(this,e)},_xe.gc=function(){var e;return(e=LL(aB(this.a.b,this.b),282))?e.a:0};eB(Gxe,"LinkedListMultimap/1",626);Kce(1268,1939,Qxe,nh),_xe.Fc=function(e){return F_(this.a,e)},_xe.Ic=function(){return new A1(this.a)},_xe.Kc=function(e){return!dq(this.a,e).a.dc()},_xe.gc=function(){return Y_(this.a.b)};eB(Gxe,"LinkedListMultimap/1KeySetImpl",1268);Kce(1267,1,qxe,A1),_xe.Nb=function(e){GF(this,e)},_xe.Ob=function(){return sN(this),!!this.c},_xe.Pb=function(){sN(this),ZT(this.c),this.a=this.c,uz(this.d,this.a.a);do{this.c=this.c.b}while(this.c&&!uz(this.d,this.c.a));return this.a.a},_xe.Qb=function(){sN(this),u2(!!this.a),$N(new bZ(this.e,this.a.a)),this.a=null,this.b=this.e.c},_xe.b=0;eB(Gxe,"LinkedListMultimap/DistinctKeyIterator",1267);Kce(282,1,{282:1},O$),_xe.a=0;eB(Gxe,"LinkedListMultimap/KeyList",282);Kce(1266,342,r_e,C_),_xe.ad=function(){return this.a},_xe.bd=function(){return this.f},_xe.cd=function(e){var t;return t=this.f,this.f=e,t};eB(Gxe,"LinkedListMultimap/Node",1266);Kce(553,1,n_e,bZ,Ele),_xe.Nb=function(e){GF(this,e)},_xe.Rb=function(e){this.e=yge(this.f,this.b,e,this.c),++this.d,this.a=null},_xe.Ob=function(){return!!this.c},_xe.Sb=function(){return!!this.e},_xe.Pb=function(){return fG(this)},_xe.Tb=function(){return this.d},_xe.Ub=function(){return hG(this)},_xe.Vb=function(){return this.d-1},_xe.Qb=function(){var e,t,n;u2(!!this.a),this.a!=this.c?(this.e=this.a.e,--this.d):this.c=this.a.c,e=this.f,(t=this.a).d?t.d.b=t.b:e.a=t.b,t.b?t.b.d=t.d:e.e=t.d,t.e||t.c?(--(n=LL(aB(e.b,t.a),282)).a,t.e?t.e.c=t.c:n.b=t.c,t.c?t.c.e=t.e:n.c=t.e):((n=LL(sY(e.b,t.a),282)).a=0,++e.c),--e.d,this.a=null},_xe.Wb=function(e){KT(!!this.a),this.a.f=e},_xe.d=0;eB(Gxe,"LinkedListMultimap/ValueForKeyIterator",553);Kce(999,51,P_e),_xe.Tc=function(e,t){this.a.Tc(e,t)},_xe.Uc=function(e,t){return this.a.Uc(e,t)},_xe.Fc=function(e){return this.a.Fc(e)},_xe.Xb=function(e){return this.a.Xb(e)},_xe.Yc=function(e){return this.a.Yc(e)},_xe.Zc=function(e,t){return this.a.Zc(e,t)},_xe.gc=function(){return this.a.gc()};eB(Gxe,"Lists/AbstractListWrapper",999);Kce(D_e,999,R_e);eB(Gxe,"Lists/RandomAccessListWrapper",D_e);Kce(1002,D_e,R_e,P_),_xe.Xc=function(e){return this.a.Xc(e)};eB(Gxe,"Lists/1",1002);Kce(131,51,{131:1,19:1,28:1,51:1,15:1,14:1},O_),_xe.Tc=function(e,t){this.a.Tc(UF(this,e),t)},_xe.$b=function(){this.a.$b()},_xe.Xb=function(e){return this.a.Xb(Jz(this,e))},_xe.Ic=function(){return cW(this,0)},_xe.Xc=function(e){return cW(this,e)},_xe.Yc=function(e){return this.a.Yc(Jz(this,e))},_xe.Ud=function(e,t){(HW(e,t,this.a.gc()),M2(this.a._c(UF(this,t),UF(this,e)))).$b()},_xe.Zc=function(e,t){return this.a.Zc(Jz(this,e),t)},_xe.gc=function(){return this.a.gc()},_xe._c=function(e,t){return HW(e,t,this.a.gc()),M2(this.a._c(UF(this,t),UF(this,e)))};eB(Gxe,"Lists/ReverseList",131);Kce(278,131,{131:1,19:1,28:1,51:1,15:1,14:1,53:1},ry);eB(Gxe,"Lists/RandomAccessReverseList",278);Kce(1001,1,n_e,R_),_xe.Nb=function(e){GF(this,e)},_xe.Rb=function(e){this.c.Rb(e),this.c.Ub(),this.a=!1},_xe.Ob=function(){return this.c.Sb()},_xe.Sb=function(){return this.c.Ob()},_xe.Pb=function(){return Bq(this)},_xe.Tb=function(){return UF(this.b,this.c.Tb())},_xe.Ub=function(){if(!this.c.Ob())throw Jm(new bb);return this.a=!0,this.c.Pb()},_xe.Vb=function(){return UF(this.b,this.c.Tb())-1},_xe.Qb=function(){u2(this.a),this.c.Qb(),this.a=!1},_xe.Wb=function(e){KT(this.a),this.c.Wb(e)},_xe.a=!1;eB(Gxe,"Lists/ReverseList/1",1001);Kce(923,525,qxe,iy),_xe.Qd=function(e){return LL(e,43).ad()};eB(Gxe,"Maps/1",923);Kce(675,525,qxe,oy),_xe.Qd=function(e){return LL(e,43).bd()};eB(Gxe,"Maps/2",675);Kce(924,525,qxe,$A),_xe.Qd=function(e){return new __(e,vM(this.a,e))};eB(Gxe,"Maps/3",924);Kce(920,1940,Qxe,Jf),_xe.Hc=function(e){!function(e,t){e.kd().Nb(t)}(this.a,e)},_xe.Ic=function(){return this.a.kd()},_xe.Pc=function(){return this.a},_xe.Lc=function(){return this.a.ld()};eB(Gxe,"Maps/IteratorBasedAbstractMap/1",920);Kce(921,1,{},eh),_xe.Od=function(e,t){this.a.td(e)};eB(Gxe,"Maps/KeySet/lambda$0$Type",921);Kce(919,28,Kxe,A_),_xe.$b=function(){this.a.$b()},_xe.Fc=function(e){return this.a.sc(e)},_xe.Hc=function(e){wz(e),this.a.uc(new th(e))},_xe.dc=function(){return this.a.dc()},_xe.Ic=function(){return new oy(this.a.tc().Ic())},_xe.Kc=function(e){var t,n;try{return l7(this,e,!0)}catch(r){if(BT(r=v3(r),41)){for(n=this.a.tc().Ic();n.Ob();)if(IB(e,(t=LL(n.Pb(),43)).bd()))return this.a.zc(t.ad()),!0;return!1}throw Jm(r)}},_xe.gc=function(){return this.a.gc()};eB(Gxe,"Maps/Values",919);Kce(922,1,{},th),_xe.Od=function(e,t){this.a.td(t)};eB(Gxe,"Maps/Values/lambda$0$Type",922);Kce(721,1959,Yxe,ak),_xe.vc=function(e){return this.a._b(e)?this.a.cc(e):null},_xe.zc=function(e){return this.a._b(e)?this.a.fc(e):null},_xe.$b=function(){this.a.$b()},_xe._b=function(e){return this.a._b(e)},_xe.Cc=function(){return new rh(this)},_xe.Bc=function(){return this.Cc()},_xe.dc=function(){return this.a.dc()},_xe.ec=function(){return this.a.ec()},_xe.gc=function(){return this.a.ec().gc()};eB(Gxe,"Multimaps/AsMap",721);Kce(1083,1940,Qxe,rh),_xe.Ic=function(){return e=this.a.a.ec(),t=new Qf(this),new $A(e.Ic(),t);var e,t},_xe.Pc=function(){return this.a},_xe.Kc=function(e){var t;return!!I7(this,e)&&(t=LL(e,43),function(e,t){e.a.ec().Kc(t)}(this.a,t.ad()),!0)};eB(Gxe,"Multimaps/AsMap/EntrySet",1083);Kce(1084,1,{},Qf),_xe.Kb=function(e){return vM(this,e)},_xe.Fb=function(e){return this===e};eB(Gxe,"Multimaps/AsMap/EntrySet/1",1084);Kce(1977,1,Lxe);eB(Gxe,"RangeGwtSerializationDependencies",1977);Kce(507,1977,{169:1,507:1,3:1,45:1},Qte),_xe.Lb=function(e){return cF(this,LL(e,36))},_xe.Mb=function(e){return cF(this,LL(e,36))},_xe.Fb=function(e){var t;return!!BT(e,507)&&(t=LL(e,507),B7(this.a,t.a)&&B7(this.b,t.b))},_xe.Hb=function(){return 31*this.a.Hb()+this.b.Hb()},_xe.Ib=function(){return lq(this.a,this.b)};eB(Gxe,"Range",507);Kce(761,1968,v_e,iz),_xe.Xc=function(e){return BP(this.b,e)},_xe.Pd=function(){return this.a},_xe.Xb=function(e){return zI(this.b,e)},_xe.Fd=function(e){return BP(this.b,e)};eB(Gxe,"RegularImmutableAsList",761);Kce(636,1975,v_e,pH),_xe.Hd=function(){return this.a};eB(Gxe,"RegularImmutableList",636);Kce(606,704,w_e,ay);var Rje;eB(Gxe,"RegularImmutableMap",606);Kce(700,690,__e,uk);eB(Gxe,"RegularImmutableSet",700);Kce(1946,Zxe,Qxe),_xe.Ic=function(){return new IV(this.a,this.b)},_xe.Dc=function(e){throw Jm(new _b)},_xe.Ec=function(e){throw Jm(new _b)},_xe.$b=function(){throw Jm(new _b)},_xe.Kc=function(e){throw Jm(new _b)};eB(Gxe,"Sets/SetView",1946);Kce(927,1946,Qxe,N_),_xe.Ic=function(){return new IV(this.a,this.b)},_xe.Fc=function(e){return Nj(this.a,e)&&this.b.Fc(e)},_xe.Gc=function(e){return N3(this.a,e)&&this.b.Gc(e)},_xe.dc=function(){return Ate(this.b,this.a)},_xe.Jc=function(){return _V(new cj(null,new ZG(this.a,1)),new oh(this.b))},_xe.gc=function(){return a3(this)},_xe.Mc=function(){return _V(new cj(null,new ZG(this.a,1)),new ih(this.b))};eB(Gxe,"Sets/2",927);Kce(680,679,Hxe,IV),_xe.Yb=function(){for(var e;ET(this.a);)if(e=vq(this.a),this.c.Fc(e))return e;return this.e=2,null};eB(Gxe,"Sets/2/1",680);Kce(928,1,L_e,ih),_xe.Mb=function(e){return this.a.Fc(e)};eB(Gxe,"Sets/2/4methodref$contains$Type",928);Kce(929,1,L_e,oh),_xe.Mb=function(e){return this.a.Fc(e)};eB(Gxe,"Sets/2/5methodref$contains$Type",929);Kce(594,1945,{594:1,3:1,19:1,15:1,270:1,21:1,81:1},gH),_xe.Bd=function(){return this.b},_xe.Cd=function(){return this.b},_xe.Md=function(){return this.b},_xe.Hc=function(e){this.a.Hc(e)},_xe.Jc=function(){return this.a.Jc()},_xe.Mc=function(){return this.a.Mc()};eB(Gxe,"Sets/UnmodifiableNavigableSet",594);Kce(1904,1903,w_e,KB),_xe.Ld=function(){return IR(),new ow(this.a)},_xe.Ac=function(){return IR(),new ow(this.a)},_xe.pd=function(){return IR(),new ow(this.a)};eB(Gxe,"SingletonImmutableBiMap",1904);Kce(637,1975,v_e,HN),_xe.Hd=function(){return this.a};eB(Gxe,"SingletonImmutableList",637);Kce(343,1953,__e,ow),_xe.Ic=function(){return new hh(this.a)},_xe.Fc=function(e){return l8(this.a,e)},_xe.Ed=function(){return new hh(this.a)},_xe.gc=function(){return 1};eB(Gxe,"SingletonImmutableSet",343);Kce(1088,1,{},b),_xe.Kb=function(e){return LL(e,163)};eB(Gxe,"Streams/lambda$0$Type",1088);Kce(1089,1,N_e,ah),_xe.Vd=function(){!function(e){var t,n,r;for(n=0,r=(t=e).length;n<r;++n)LB(t[n])}(this.a)};eB(Gxe,"Streams/lambda$1$Type",1089);Kce(1629,1628,Uxe,H$),_xe.Zb=function(){return LL(LL(this.f||(this.f=BT(this.c,171)?new DO(this,LL(this.c,171)):BT(this.c,161)?new OO(this,LL(this.c,161)):new l_(this,this.c)),161),171)},_xe.hc=function(){return new Xx(this.b)},_xe.ed=function(){return new Xx(this.b)},_xe.ec=function(){return LL(LL(this.i||(this.i=BT(this.c,171)?new a_(this,LL(this.c,171)):BT(this.c,161)?new o_(this,LL(this.c,161)):new CA(this,this.c)),81),270)},_xe.ac=function(){return BT(this.c,171)?new DO(this,LL(this.c,171)):BT(this.c,161)?new OO(this,LL(this.c,161)):new l_(this,this.c)},_xe.ic=function(e){return null==e&&this.a.ue(e,e),new Xx(this.b)};eB(Gxe,"TreeMultimap",1629);Kce(78,1,{3:1,78:1}),_xe.Wd=function(e){return new Error(e)},_xe.Xd=function(){return this.e},_xe.Yd=function(){return e=SV(vz((null==this.k&&(this.k=fK(Lje,s_e,78,0,0,1)),this.k)),new T),new J,(t=LL(Nq(e,CK(new F,new j,new re,q3(lw(jze,1),A_e,132,0,[(z4(),Rze)]))),14)).Oc(qL(t.gc()));var e,t},_xe.Zd=function(){return this.f},_xe.$d=function(){return this.g},_xe._d=function(){var e,t;e=this,t=function(e){if(!("stack"in e))try{throw e}catch(e){}return e}(this.Wd(Q$(this,this.g))),e.e=t,Sde(e,t),ab(this)},_xe.Ib=function(){return Q$(this,this.$d())},_xe.e=z_e,_xe.i=!1,_xe.n=!0;var Lje=eB(Rxe,"Throwable",78);Kce(102,78,{3:1,102:1,78:1});eB(Rxe,"Exception",102);Kce(59,102,B_e,db,sy);eB(Rxe,"RuntimeException",59);Kce(589,59,B_e);eB(Rxe,"JsException",589);Kce(842,589,B_e);var Nje;eB(V_e,"JavaScriptExceptionBase",842);Kce(471,842,{471:1,3:1,102:1,59:1,78:1},f6),_xe.$d=function(){var e,t;return null==(e=this).c&&(t=OI(e.b)===OI(Nje)?null:e.b,e.d=null==t?$xe:fF(t)?function(e){return null==e?null:e.name}(YV(t)):LI(t)?$_e:Fx(g4(t)),e.a=e.a+": "+(fF(t)?function(e){return null==e?null:e.message}(YV(t)):t+""),e.c="("+e.d+") "+e.a),this.c},_xe.ae=function(){return OI(this.b)===OI(Nje)?null:this.b};eB(H_e,"JavaScriptException",471);var jje,Fje=eB(H_e,"JavaScriptObject$",0);Kce(1920,1,{});eB(H_e,"Scheduler",1920);var zje,Bje=0,Vje=0,$je=-1;Kce(869,1920,{},h);var Hje;eB(V_e,"SchedulerImpl",869);Kce(1932,1,{});eB(V_e,"StackTraceCreator/Collector",1932);Kce(843,1932,{},d),_xe.be=function(e){var t={},n=[];e[W_e]=n;for(var r=arguments.callee.caller;r;){var i=(A$(),r.name||(r.name=u0(r.toString())));n.push(i);var o,a,s=":"+i,l=t[s];if(l)for(o=0,a=l.length;o<a;o++)if(l[o]===r)return;(l||(t[s]=[])).push(r),r=r.caller}},_xe.ce=function(e){var t,n,r,i;for(A$(),n=(r=e&&e[W_e]?e[W_e]:[]).length,i=fK(kFe,s_e,308,n,0,1),t=0;t<n;t++)i[t]=new MV(r[t],null,-1);return i};eB(V_e,"StackTraceCreator/CollectorLegacy",843);Kce(1933,1932,{}),_xe.be=function(e){},_xe.de=function(e,t,n,r){return new MV(t,e+"@"+r,n<0?-1:n)},_xe.ce=function(e){var t,n,r,i,o,a;if(i=function(e){A$();var t=e.e;if(t&&t.stack){var n=t.stack,r=t+"\n";return n.substring(0,r.length)==r&&(n=n.substring(r.length)),n.split("\n")}return[]}(e),o=fK(kFe,s_e,308,0,0,1),t=0,0==(r=i.length))return o;for(fR((a=$ve(this,i[0])).d,G_e)||(o[t++]=a),n=1;n<r;n++)o[t++]=$ve(this,i[n]);return o};eB(V_e,"StackTraceCreator/CollectorModern",1933);Kce(844,1933,{},f),_xe.de=function(e,t,n,r){return new MV(t,e,-1)};eB(V_e,"StackTraceCreator/CollectorModernNoSourceMap",844);Kce(1034,1,{});var Gje;eB(bSe,vSe,1034);Kce(605,1034,{605:1},vB);eB(ySe,vSe,605);Kce(1970,1,{});eB(bSe,wSe,1970);Kce(1971,1970,{});var Wje;eB(ySe,wSe,1971);Kce(1070,1,{},v);eB(ySe,"LocaleInfo",1070);Kce(1890,1,{},y),_xe.a=0;eB(ySe,"TimeZone",1890);Kce(1232,1971,{},w);eB("com.google.gwt.i18n.client.impl.cldr","DateTimeFormatInfoImpl",1232);Kce(427,1,{427:1},ML),_xe.a=!1,_xe.b=0;eB(bSe,"DateTimeFormat/PatternPart",427);Kce(198,1,xSe,ok,M5,cD),_xe.wd=function(e){return function(e,t){return mF(I2(e.q.getTime()),I2(t.q.getTime()))}(this,LL(e,198))},_xe.Fb=function(e){return BT(e,198)&&z_(I2(this.q.getTime()),I2(LL(e,198).q.getTime()))},_xe.Hb=function(){var e;return QN(WH(e=I2(this.q.getTime()),_N(e,32)))},_xe.Ib=function(){var e,t,n;return e=((n=-this.q.getTimezoneOffset())>=0?"+":"")+(n/60|0),t=xM(r.Math.abs(n)%60),(Nae(),tze)[this.q.getDay()]+" "+nze[this.q.getMonth()]+" "+xM(this.q.getDate())+" "+xM(this.q.getHours())+":"+xM(this.q.getMinutes())+":"+xM(this.q.getSeconds())+" GMT"+e+t+" "+this.q.getFullYear()};var Uje=eB(Xxe,"Date",198);Kce(1887,198,xSe,Tie),_xe.a=!1,_xe.b=0,_xe.c=0,_xe.d=0,_xe.e=0,_xe.f=0,_xe.g=!1,_xe.i=0,_xe.j=0,_xe.k=0,_xe.n=0,_xe.o=0,_xe.p=0;eB("com.google.gwt.i18n.shared.impl","DateRecord",1887);Kce(1938,1,{}),_xe.fe=function(){return null},_xe.ge=function(){return null},_xe.he=function(){return null},_xe.ie=function(){return null},_xe.je=function(){return null};eB(_Se,"JSONValue",1938);Kce(214,1938,{214:1},dh,sh),_xe.Fb=function(e){return!!BT(e,214)&&dW(this.a,LL(e,214).a)},_xe.ee=function(){return Xm},_xe.Hb=function(){return j$(this.a)},_xe.fe=function(){return this},_xe.Ib=function(){var e,t,n;for(n=new YA("["),t=0,e=this.a.length;t<e;t++)t>0&&(n.a+=","),WI(n,uQ(this,t));return n.a+="]",n.a};var qje,Xje;eB(_Se,"JSONArray",214);Kce(477,1938,{477:1},lh),_xe.ee=function(){return Ym},_xe.ge=function(){return this},_xe.Ib=function(){return _P(),""+this.a},_xe.a=!1;eB(_Se,"JSONBoolean",477);Kce(965,59,B_e,ly);var Yje;eB(_Se,"JSONException",965);Kce(1011,1938,{},x),_xe.ee=function(){return eb},_xe.Ib=function(){return $xe};eB(_Se,"JSONNull",1011);Kce(257,1938,{257:1},uh),_xe.Fb=function(e){return!!BT(e,257)&&this.a==LL(e,257).a},_xe.ee=function(){return Km},_xe.Hb=function(){return wM(this.a)},_xe.he=function(){return this},_xe.Ib=function(){return this.a+""},_xe.a=0;eB(_Se,"JSONNumber",257);Kce(185,1938,{185:1},uy,ch),_xe.Fb=function(e){return!!BT(e,185)&&dW(this.a,LL(e,185).a)},_xe.ee=function(){return Zm},_xe.Hb=function(){return j$(this.a)},_xe.ie=function(){return this},_xe.Ib=function(){var e,t,n,r,i,o;for(o=new YA("{"),e=!0,r=0,i=(n=l1(this,fK(CFe,s_e,2,0,6,1))).length;r<i;++r)t=n[r],e?e=!1:o.a+=jxe,UI(o,pce(t)),o.a+=":",WI(o,xH(this,t));return o.a+="}",o.a};eB(_Se,"JSONObject",185);Kce(587,Zxe,Qxe,j_),_xe.Fc=function(e){return LI(e)&&function(e,t){return t in e.a}(this.a,HO(e))},_xe.Ic=function(){return new Nh(new Vy(this.b))},_xe.gc=function(){return this.b.length};var Kje;eB(_Se,"JSONObject/1",587);Kce(202,1938,{202:1},xz),_xe.Fb=function(e){return!!BT(e,202)&&fR(this.a,LL(e,202).a)},_xe.ee=function(){return Qm},_xe.Hb=function(){return ane(this.a)},_xe.je=function(){return this},_xe.Ib=function(){return pce(this.a)};var Zje,Qje,Jje,eFe,tFe;eB(_Se,"JSONString",202);Kce(1934,1,{518:1});eB(ASe,"OutputStream",1934);Kce(1935,1934,{518:1});eB(ASe,"FilterOutputStream",1935);Kce(845,1935,{518:1},k);eB(ASe,"PrintStream",845);Kce(412,1,{469:1}),_xe.Ib=function(){return this.a};eB(Rxe,"AbstractStringBuilder",412);Kce(522,59,B_e,Cy);eB(Rxe,"ArithmeticException",522);Kce(73,59,PSe,gb,Ey);eB(Rxe,"IndexOutOfBoundsException",73);Kce(318,73,{3:1,318:1,102:1,73:1,59:1,78:1},rv,uw);eB(Rxe,"ArrayIndexOutOfBoundsException",318);Kce(521,59,B_e,mb,Iy);eB(Rxe,"ArrayStoreException",521);Kce(288,78,OSe,My);eB(Rxe,"Error",288);Kce(193,288,OSe,pb,TX);var nFe,rFe;eB(Rxe,"AssertionError",193);Cxe={3:1,470:1,36:1};var iFe,oFe=eB(Rxe,"Boolean",470);Kce(236,1,{3:1,236:1});eB(Rxe,"Number",236);Kce(215,236,{3:1,215:1,36:1,236:1},Bh),_xe.wd=function(e){return function(e,t){return e.a-t.a}(this,LL(e,215))},_xe.ke=function(){return this.a},_xe.Fb=function(e){return BT(e,215)&&LL(e,215).a==this.a},_xe.Hb=function(){return this.a},_xe.Ib=function(){return""+this.a},_xe.a=0;var aFe,sFe,lFe=eB(Rxe,"Byte",215);Kce(172,1,{3:1,172:1,36:1},Vh),_xe.wd=function(e){return function(e,t){return e.a-t.a}(this,LL(e,172))},_xe.Fb=function(e){return BT(e,172)&&LL(e,172).a==this.a},_xe.Hb=function(){return this.a},_xe.Ib=function(){return String.fromCharCode(this.a)},_xe.a=0;var uFe,cFe=eB(Rxe,"Character",172);Kce(203,59,{3:1,203:1,102:1,59:1,78:1},vb,Ly);eB(Rxe,"ClassCastException",203);Exe={3:1,36:1,331:1,236:1};var fFe=eB(Rxe,"Double",331);Kce(155,236,{3:1,36:1,155:1,236:1},$h,ev),_xe.wd=function(e){return function(e,t){return j8(e.a,t.a)}(this,LL(e,155))},_xe.ke=function(){return this.a},_xe.Fb=function(e){return BT(e,155)&&cR(this.a,LL(e,155).a)},_xe.Hb=function(){return IH(this.a)},_xe.Ib=function(){return""+this.a},_xe.a=0;var hFe=eB(Rxe,"Float",155);Kce(31,59,{3:1,102:1,31:1,59:1,78:1},yb,Ny,u6);eB(Rxe,"IllegalArgumentException",31);Kce(72,59,B_e,wb,jy);eB(Rxe,"IllegalStateException",72);Kce(20,236,{3:1,36:1,20:1,236:1},Xh),_xe.wd=function(e){return function(e,t){return MT(e.a,t.a)}(this,LL(e,20))},_xe.ke=function(){return this.a},_xe.Fb=function(e){return BT(e,20)&&LL(e,20).a==this.a},_xe.Hb=function(){return this.a},_xe.Ib=function(){return""+this.a},_xe.a=0;var dFe,pFe,gFe=eB(Rxe,"Integer",20);Kce(162,236,{3:1,36:1,162:1,236:1},Yh),_xe.wd=function(e){return function(e,t){return mF(e.a,t.a)}(this,LL(e,162))},_xe.ke=function(){return GW(this.a)},_xe.Fb=function(e){return BT(e,162)&&z_(LL(e,162).a,this.a)},_xe.Hb=function(){return QN(this.a)},_xe.Ib=function(){return""+Aj(this.a)},_xe.a=0;var mFe,bFe=eB(Rxe,"Long",162);Kce(2008,1,{}),Kce(1803,59,B_e,Fy);eB(Rxe,"NegativeArraySizeException",1803);Kce(173,589,{3:1,102:1,173:1,59:1,78:1},xb,zy),_xe.Wd=function(e){return new TypeError(e)};var vFe,yFe,wFe,xFe;eB(Rxe,"NullPointerException",173);Kce(127,31,{3:1,102:1,31:1,127:1,59:1,78:1},fw);eB(Rxe,"NumberFormatException",127);Kce(186,236,{3:1,36:1,236:1,186:1},Kh),_xe.wd=function(e){return function(e,t){return e.a-t.a}(this,LL(e,186))},_xe.ke=function(){return this.a},_xe.Fb=function(e){return BT(e,186)&&LL(e,186).a==this.a},_xe.Hb=function(){return this.a},_xe.Ib=function(){return""+this.a},_xe.a=0;var _Fe,SFe=eB(Rxe,"Short",186);Kce(308,1,{3:1,308:1},MV),_xe.Fb=function(e){var t;return!!BT(e,308)&&(t=LL(e,308),this.c==t.c&&this.d==t.d&&this.a==t.a&&this.b==t.b)},_xe.Hb=function(){return J4(q3(lw(pje,1),zxe,1,5,[k8(this.c),this.a,this.d,this.b]))},_xe.Ib=function(){return this.a+"."+this.d+"("+(null!=this.b?this.b:"Unknown Source")+(this.c>=0?":"+this.c:"")+")"},_xe.c=0;var kFe=eB(Rxe,"StackTraceElement",308);Ixe={3:1,469:1,36:1,2:1};var CFe=eB(Rxe,$_e,2);Kce(106,412,{469:1},hw,dw,XA);eB(Rxe,"StringBuffer",106);Kce(98,412,{469:1},pw,gw,YA);eB(Rxe,"StringBuilder",98);Kce(674,73,PSe,cw);var EFe;eB(Rxe,"StringIndexOutOfBoundsException",674);Kce(2012,1,{}),Kce(823,1,{},T),_xe.Kb=function(e){return LL(e,78).e};eB(Rxe,"Throwable/lambda$0$Type",823);Kce(41,59,{3:1,102:1,59:1,78:1,41:1},_b,By);var IFe,MFe,TFe,AFe,PFe,OFe,DFe,RFe;eB(Rxe,"UnsupportedOperationException",41);Kce(239,236,{3:1,36:1,236:1,239:1},mQ,t_),_xe.wd=function(e){return vme(this,LL(e,239))},_xe.ke=function(){return pse(Eve(this))},_xe.Fb=function(e){var t;return this===e||!!BT(e,239)&&(t=LL(e,239),this.e==t.e&&0==vme(this,t))},_xe.Hb=function(){var e;return 0!=this.b?this.b:this.a<54?(e=I2(this.f),this.b=QN(SH(e,-1)),this.b=33*this.b+QN(SH(wN(e,32),-1)),this.b=17*this.b+IH(this.e),this.b):(this.b=17*_6(this.c)+IH(this.e),this.b)},_xe.Ib=function(){return Eve(this)},_xe.a=0,_xe.b=0,_xe.d=0,_xe.e=0,_xe.f=0;var LFe,NFe,jFe,FFe,zFe,BFe,VFe=eB("java.math","BigDecimal",239);Kce(90,236,{3:1,36:1,236:1,90:1},zte,xY,nz,ioe,Fee,eT),_xe.wd=function(e){return hee(this,LL(e,90))},_xe.ke=function(){return pse(exe(this,0))},_xe.Fb=function(e){return e7(this,e)},_xe.Hb=function(){return _6(this)},_xe.Ib=function(){return exe(this,0)},_xe.b=-2,_xe.c=0,_xe.d=0,_xe.e=0;var $Fe,HFe,GFe,WFe,UFe=eB("java.math","BigInteger",90);Kce(480,1949,Yxe),_xe.$b=function(){JF(this)},_xe._b=function(e){return KF(this,e)},_xe.sc=function(e){return D4(this,e,this.g)||D4(this,e,this.f)},_xe.tc=function(){return new jh(this)},_xe.vc=function(e){return aB(this,e)},_xe.xc=function(e,t){return eV(this,e,t)},_xe.zc=function(e){return sY(this,e)},_xe.gc=function(){return Y_(this)};eB(Xxe,"AbstractHashMap",480);Kce(260,Zxe,Qxe,jh),_xe.$b=function(){this.a.$b()},_xe.Fc=function(e){return aU(this,e)},_xe.Ic=function(){return new m4(this.a)},_xe.Kc=function(e){var t;return!!aU(this,e)&&(t=LL(e,43).ad(),this.a.zc(t),!0)},_xe.gc=function(){return this.a.gc()};eB(Xxe,"AbstractHashMap/EntrySet",260);Kce(261,1,qxe,m4),_xe.Nb=function(e){GF(this,e)},_xe.Pb=function(){return kJ(this)},_xe.Ob=function(){return this.b},_xe.Qb=function(){OK(this)},_xe.b=!1;eB(Xxe,"AbstractHashMap/EntrySetIterator",261);Kce(411,1,qxe,Nh),_xe.Nb=function(e){GF(this,e)},_xe.Ob=function(){return pk(this)},_xe.Pb=function(){return c$(this)},_xe.Qb=function(){nV(this)},_xe.b=0,_xe.c=-1;eB(Xxe,"AbstractList/IteratorImpl",411);Kce(99,411,n_e,eU),_xe.Qb=function(){nV(this)},_xe.Rb=function(e){yD(this,e)},_xe.Sb=function(){return this.b>0},_xe.Tb=function(){return this.b},_xe.Ub=function(){return EP(this.b>0),this.a.Xb(this.c=--this.b)},_xe.Vb=function(){return this.b-1},_xe.Wb=function(e){CP(-1!=this.c),this.a.Zc(this.c,e)};eB(Xxe,"AbstractList/ListIteratorImpl",99);Kce(217,51,P_e,KG),_xe.Tc=function(e,t){GH(e,this.b),this.c.Tc(this.a+e,t),++this.b},_xe.Xb=function(e){return MG(e,this.b),this.c.Xb(this.a+e)},_xe.Yc=function(e){var t;return MG(e,this.b),t=this.c.Yc(this.a+e),--this.b,t},_xe.Zc=function(e,t){return MG(e,this.b),this.c.Zc(this.a+e,t)},_xe.gc=function(){return this.b},_xe.a=0,_xe.b=0;eB(Xxe,"AbstractList/SubList",217);Kce(380,Zxe,Qxe,Fh),_xe.$b=function(){this.a.$b()},_xe.Fc=function(e){return this.a._b(e)},_xe.Ic=function(){return new Gh(this.a.tc().Ic())},_xe.Kc=function(e){return!!this.a._b(e)&&(this.a.zc(e),!0)},_xe.gc=function(){return this.a.gc()};eB(Xxe,"AbstractMap/1",380);Kce(678,1,qxe,Gh),_xe.Nb=function(e){GF(this,e)},_xe.Ob=function(){return this.a.Ob()},_xe.Pb=function(){return LL(this.a.Pb(),43).ad()},_xe.Qb=function(){this.a.Qb()};eB(Xxe,"AbstractMap/1/1",678);Kce(224,28,Kxe,Wh),_xe.$b=function(){this.a.$b()},_xe.Fc=function(e){return this.a.sc(e)},_xe.Ic=function(){return new Uh(this.a.tc().Ic())},_xe.gc=function(){return this.a.gc()};eB(Xxe,"AbstractMap/2",224);Kce(294,1,qxe,Uh),_xe.Nb=function(e){GF(this,e)},_xe.Ob=function(){return this.a.Ob()},_xe.Pb=function(){return LL(this.a.Pb(),43).bd()},_xe.Qb=function(){this.a.Qb()};eB(Xxe,"AbstractMap/2/1",294);Kce(479,1,{479:1,43:1}),_xe.Fb=function(e){var t;return!!BT(e,43)&&(t=LL(e,43),cV(this.d,t.ad())&&cV(this.e,t.bd()))},_xe.ad=function(){return this.d},_xe.bd=function(){return this.e},_xe.Hb=function(){return tT(this.d)^tT(this.e)},_xe.cd=function(e){return bD(this,e)},_xe.Ib=function(){return this.d+"="+this.e};eB(Xxe,"AbstractMap/AbstractEntry",479);Kce(379,479,{479:1,379:1,43:1},sk);eB(Xxe,"AbstractMap/SimpleEntry",379);Kce(1954,1,USe),_xe.Fb=function(e){var t;return!!BT(e,43)&&(t=LL(e,43),cV(this.ad(),t.ad())&&cV(this.bd(),t.bd()))},_xe.Hb=function(){return tT(this.ad())^tT(this.bd())},_xe.Ib=function(){return this.ad()+"="+this.bd()};eB(Xxe,i_e,1954);Kce(1961,1949,Jxe),_xe.rc=function(e){return LX(this,e)},_xe._b=function(e){return MR(this,e)},_xe.tc=function(){return new ed(this)},_xe.vc=function(e){return PI(s4(this,e))},_xe.ec=function(){return new qh(this)};eB(Xxe,"AbstractNavigableMap",1961);Kce(722,Zxe,Qxe,ed),_xe.Fc=function(e){return BT(e,43)&&LX(this.b,LL(e,43))},_xe.Ic=function(){return new _D(this.b)},_xe.Kc=function(e){var t;return!!BT(e,43)&&(t=LL(e,43),dK(this.b,t))},_xe.gc=function(){return this.b.c};eB(Xxe,"AbstractNavigableMap/EntrySet",722);Kce(485,Zxe,t_e,qh),_xe.Lc=function(){return new yk(this)},_xe.$b=function(){ky(this.a)},_xe.Fc=function(e){return MR(this.a,e)},_xe.Ic=function(){return new Hh(new _D(new uP(this.a).b))},_xe.Kc=function(e){return!!MR(this.a,e)&&(TH(this.a,e),!0)},_xe.gc=function(){return this.a.c};eB(Xxe,"AbstractNavigableMap/NavigableKeySet",485);Kce(486,1,qxe,Hh),_xe.Nb=function(e){GF(this,e)},_xe.Ob=function(){return pk(this.a.a)},_xe.Pb=function(){return QP(this.a).ad()},_xe.Qb=function(){FR(this.a)};eB(Xxe,"AbstractNavigableMap/NavigableKeySet/1",486);Kce(1973,28,Kxe),_xe.Dc=function(e){return RY(xae(this,e)),!0},_xe.Ec=function(e){return wB(e),BR(e!=this,"Can't add a queue to itself"),G1(this,e)},_xe.$b=function(){for(;null!=hQ(this););};eB(Xxe,"AbstractQueue",1973);Kce(319,28,{4:1,19:1,28:1,15:1},Vm,sW),_xe.Dc=function(e){return zU(this,e),!0},_xe.$b=function(){yq(this)},_xe.Fc=function(e){return z3(new iV(this),e)},_xe.dc=function(){return Hy(this)},_xe.Ic=function(){return new iV(this)},_xe.Kc=function(e){return function(e,t){return!!z3(e,t)&&(w0(e),!0)}(new iV(this),e)},_xe.gc=function(){return this.c-this.b&this.a.length-1},_xe.Lc=function(){return new ZG(this,272)},_xe.Oc=function(e){var t;return t=this.c-this.b&this.a.length-1,e.length<t&&(e=yw(new Array(t),e)),u1(this,e,t),e.length>t&&nB(e,t,null),e},_xe.b=0,_xe.c=0;eB(Xxe,"ArrayDeque",319);Kce(440,1,qxe,iV),_xe.Nb=function(e){GF(this,e)},_xe.Ob=function(){return this.a!=this.b},_xe.Pb=function(){return T6(this)},_xe.Qb=function(){w0(this)},_xe.a=0,_xe.b=0,_xe.c=-1;eB(Xxe,"ArrayDeque/IteratorImpl",440);Kce(12,51,qSe,$m,LY,jR),_xe.Tc=function(e,t){Mj(this,e,t)},_xe.Dc=function(e){return RL(this,e)},_xe.Uc=function(e,t){return K4(this,e,t)},_xe.Ec=function(e){return L3(this,e)},_xe.$b=function(){this.c=fK(pje,zxe,1,0,5,1)},_xe.Fc=function(e){return-1!=vZ(this,e,0)},_xe.Hc=function(e){uJ(this,e)},_xe.Xb=function(e){return JN(this,e)},_xe.Vc=function(e){return vZ(this,e,0)},_xe.dc=function(){return 0==this.c.length},_xe.Ic=function(){return new td(this)},_xe.Yc=function(e){return eY(this,e)},_xe.Kc=function(e){return yZ(this,e)},_xe.Ud=function(e,t){YG(this,e,t)},_xe.Zc=function(e,t){return mX(this,e,t)},_xe.gc=function(){return this.c.length},_xe.$c=function(e){kT(this,e)},_xe.Nc=function(){return eO(this)},_xe.Oc=function(e){return tte(this,e)};var qFe=eB(Xxe,"ArrayList",12);Kce(7,1,qxe,td),_xe.Nb=function(e){GF(this,e)},_xe.Ob=function(){return CT(this)},_xe.Pb=function(){return xW(this)},_xe.Qb=function(){ez(this)},_xe.a=0,_xe.b=-1;eB(Xxe,"ArrayList/1",7);Kce(1982,r.Function,{},A),_xe.te=function(e,t){return j8(e,t)},Kce(154,51,XSe,Vy),_xe.Fc=function(e){return-1!=j0(this,e)},_xe.Hc=function(e){var t,n,r,i;for(wB(e),r=0,i=(n=this.a).length;r<i;++r)t=n[r],e.td(t)},_xe.Xb=function(e){return ej(this,e)},_xe.Zc=function(e,t){var n;return MG(e,this.a.length),n=this.a[e],nB(this.a,e,t),n},_xe.gc=function(){return this.a.length},_xe.$c=function(e){Ij(this.a,this.a.length,e)},_xe.Nc=function(){return nte(this,fK(pje,zxe,1,this.a.length,5,1))},_xe.Oc=function(e){return nte(this,e)};var XFe,YFe,KFe;eB(Xxe,"Arrays/ArrayList",154);Kce(948,51,XSe,P),_xe.Fc=function(e){return!1},_xe.Xb=function(e){return XI(e)},_xe.Ic=function(){return v$(),J_(),ZFe},_xe.Wc=function(){return v$(),J_(),ZFe},_xe.gc=function(){return 0};var ZFe;eB(Xxe,"Collections/EmptyList",948);Kce(949,1,n_e,O),_xe.Nb=function(e){GF(this,e)},_xe.Rb=function(e){throw Jm(new _b)},_xe.Ob=function(){return!1},_xe.Sb=function(){return!1},_xe.Pb=function(){throw Jm(new bb)},_xe.Tb=function(){return 0},_xe.Ub=function(){throw Jm(new bb)},_xe.Vb=function(){return-1},_xe.Qb=function(){throw Jm(new wb)},_xe.Wb=function(e){throw Jm(new wb)};eB(Xxe,"Collections/EmptyListIterator",949);Kce(951,1949,w_e,D),_xe._b=function(e){return!1},_xe.sc=function(e){return!1},_xe.tc=function(){return v$(),KFe},_xe.vc=function(e){return null},_xe.ec=function(){return v$(),KFe},_xe.gc=function(){return 0},_xe.Ac=function(){return v$(),XFe};eB(Xxe,"Collections/EmptyMap",951);Kce(950,Zxe,__e,R),_xe.Fc=function(e){return!1},_xe.Ic=function(){return v$(),J_(),ZFe},_xe.gc=function(){return 0};eB(Xxe,"Collections/EmptySet",950);Kce(596,51,{3:1,19:1,28:1,51:1,15:1,14:1},Zh),_xe.Fc=function(e){return cV(this.a,e)},_xe.Xb=function(e){return MG(e,1),this.a},_xe.gc=function(){return 1};eB(Xxe,"Collections/SingletonList",596);Kce(369,1,m_e,Qh),_xe.Hc=function(e){yX(this,e)},_xe.Jc=function(){return new cj(null,this.Lc())},_xe.Lc=function(){return new ZG(this,0)},_xe.Mc=function(){return new cj(null,this.Lc())},_xe.Dc=function(e){return jw()},_xe.Ec=function(e){return Fw()},_xe.$b=function(){zw()},_xe.Fc=function(e){return $_(this,e)},_xe.Gc=function(e){return H_(this,e)},_xe.dc=function(){return this.b.dc()},_xe.Ic=function(){return new Jh(this.b.Ic())},_xe.Kc=function(e){return Bw()},_xe.gc=function(){return this.b.gc()},_xe.Nc=function(){return this.b.Nc()},_xe.Oc=function(e){return G_(this,e)},_xe.Ib=function(){return P9(this.b)};eB(Xxe,"Collections/UnmodifiableCollection",369);Kce(368,1,qxe,Jh),_xe.Nb=function(e){GF(this,e)},_xe.Ob=function(){return this.b.Ob()},_xe.Pb=function(){return this.b.Pb()},_xe.Qb=function(){Vw()};eB(Xxe,"Collections/UnmodifiableCollectionIterator",368);Kce(526,369,YSe,QA),_xe.Lc=function(){return new ZG(this,16)},_xe.Tc=function(e,t){throw Jm(new _b)},_xe.Uc=function(e,t){throw Jm(new _b)},_xe.Fb=function(e){return l8(this.a,e)},_xe.Xb=function(e){return this.a.Xb(e)},_xe.Hb=function(){return p4(this.a)},_xe.Vc=function(e){return this.a.Vc(e)},_xe.dc=function(){return this.a.dc()},_xe.Wc=function(){return new JA(this.a.Xc(0))},_xe.Xc=function(e){return new JA(this.a.Xc(e))},_xe.Yc=function(e){throw Jm(new _b)},_xe.Zc=function(e,t){throw Jm(new _b)},_xe.$c=function(e){throw Jm(new _b)},_xe._c=function(e,t){return new QA(this.a._c(e,t))};eB(Xxe,"Collections/UnmodifiableList",526);Kce(686,368,n_e,JA),_xe.Qb=function(){Vw()},_xe.Rb=function(e){throw Jm(new _b)},_xe.Sb=function(){return this.a.Sb()},_xe.Tb=function(){return this.a.Tb()},_xe.Ub=function(){return this.a.Ub()},_xe.Vb=function(){return this.a.Vb()},_xe.Wb=function(e){throw Jm(new _b)};eB(Xxe,"Collections/UnmodifiableListIterator",686);Kce(597,1,Yxe,nd),_xe.uc=function(e){S2(this,e)},_xe.wc=function(e,t,n){return c9(this,e,t,n)},_xe.$b=function(){throw Jm(new _b)},_xe._b=function(e){return this.c._b(e)},_xe.sc=function(e){return U_(this,e)},_xe.tc=function(){return oV(this)},_xe.Fb=function(e){return q_(this,e)},_xe.vc=function(e){return this.c.vc(e)},_xe.Hb=function(){return p4(this.c)},_xe.dc=function(){return this.c.dc()},_xe.ec=function(){return aV(this)},_xe.xc=function(e,t){throw Jm(new _b)},_xe.zc=function(e){throw Jm(new _b)},_xe.gc=function(){return this.c.gc()},_xe.Ib=function(){return P9(this.c)},_xe.Ac=function(){return sV(this)};eB(Xxe,"Collections/UnmodifiableMap",597);Kce(383,369,x_e,mw),_xe.Lc=function(){return new ZG(this,1)},_xe.Fb=function(e){return l8(this.b,e)},_xe.Hb=function(){return p4(this.b)};eB(Xxe,"Collections/UnmodifiableSet",383);Kce(952,383,x_e,bw),_xe.Fc=function(e){return W_(this,e)},_xe.Gc=function(e){return this.b.Gc(e)},_xe.Ic=function(){return new rd(this.b.Ic())},_xe.Nc=function(){var e;return Pq(e=this.b.Nc(),e.length),e},_xe.Oc=function(e){return J$(this,e)};eB(Xxe,"Collections/UnmodifiableMap/UnmodifiableEntrySet",952);Kce(953,1,qxe,rd),_xe.Nb=function(e){GF(this,e)},_xe.Pb=function(){return new id(LL(this.a.Pb(),43))},_xe.Ob=function(){return this.a.Ob()},_xe.Qb=function(){throw Jm(new _b)};eB(Xxe,"Collections/UnmodifiableMap/UnmodifiableEntrySet/1",953);Kce(683,1,USe,id),_xe.Fb=function(e){return this.a.Fb(e)},_xe.ad=function(){return this.a.ad()},_xe.bd=function(){return this.a.bd()},_xe.Hb=function(){return this.a.Hb()},_xe.cd=function(e){throw Jm(new _b)},_xe.Ib=function(){return P9(this.a)};eB(Xxe,"Collections/UnmodifiableMap/UnmodifiableEntrySet/UnmodifiableEntry",683);Kce(684,526,{19:1,15:1,14:1,53:1},vw);eB(Xxe,"Collections/UnmodifiableRandomAccessList",684);Kce(685,383,S_e,eP),_xe.Lc=function(){return new yk(this)},_xe.Fb=function(e){return l8(this.a,e)},_xe.Hb=function(){return p4(this.a)};eB(Xxe,"Collections/UnmodifiableSortedSet",685);Kce(826,1,KSe,E),_xe.ue=function(e,t){var n;return 0!=(n=bq(LL(e,11),LL(t,11)))?n:qme(LL(e,11),LL(t,11))},_xe.Fb=function(e){return this===e},_xe.ve=function(){return new ad(this)};var QFe,JFe,eze;eB(Xxe,"Comparator/lambda$0$Type",826);Kce(734,1,KSe,C),_xe.ue=function(e,t){return function(e,t){return wB(e),b2(e,(wB(t),t))}(LL(e,36),LL(t,36))},_xe.Fb=function(e){return this===e},_xe.ve=function(){return y$(),eze};eB(Xxe,"Comparators/NaturalOrderComparator",734);Kce(1150,1,KSe,I),_xe.ue=function(e,t){return function(e,t){return wB(t),b2(t,(wB(e),e))}(LL(e,36),LL(t,36))},_xe.Fb=function(e){return this===e},_xe.ve=function(){return y$(),JFe};eB(Xxe,"Comparators/ReverseNaturalOrderComparator",1150);Kce(64,1,KSe,ad),_xe.Fb=function(e){return this===e},_xe.ue=function(e,t){return this.a.ue(t,e)},_xe.ve=function(){return this.a};eB(Xxe,"Comparators/ReversedComparator",64);Kce(166,59,B_e,Sb);var tze,nze;eB(Xxe,"ConcurrentModificationException",166);Kce(1876,1,ZSe,M),_xe.we=function(e){y7(this,e)},_xe.Ib=function(){return"DoubleSummaryStatistics[count = "+Aj(this.a)+", avg = "+(Ox(this.a,0)?iY(this)/GW(this.a):0)+", min = "+this.c+", max = "+this.b+", sum = "+iY(this)+"]"},_xe.a=0,_xe.b=LSe,_xe.c=RSe,_xe.d=0,_xe.e=0,_xe.f=0;eB(Xxe,"DoubleSummaryStatistics",1876);Kce(1777,59,B_e,kb);eB(Xxe,"EmptyStackException",1777);Kce(445,1949,Yxe,x9),_xe.xc=function(e,t){return gD(this,e,t)},_xe.$b=function(){RB(this)},_xe._b=function(e){return hk(this,e)},_xe.sc=function(e){var t,n;for(n=new aS(this.a);n.a<n.c.a.length;)if(t=vq(n),cV(e,this.b[t.g]))return!0;return!1},_xe.tc=function(){return new sd(this)},_xe.vc=function(e){return fV(this,e)},_xe.zc=function(e){return yG(this,e)},_xe.gc=function(){return this.a.c};eB(Xxe,"EnumMap",445);Kce(1323,Zxe,Qxe,sd),_xe.$b=function(){RB(this.a)},_xe.Fc=function(e){return sU(this,e)},_xe.Ic=function(){return new ZN(this.a)},_xe.Kc=function(e){var t;return!!sU(this,e)&&(t=LL(e,43).ad(),yG(this.a,t),!0)},_xe.gc=function(){return this.a.a.c};eB(Xxe,"EnumMap/EntrySet",1323);Kce(1324,1,qxe,ZN),_xe.Nb=function(e){GF(this,e)},_xe.Pb=function(){return this.b=vq(this.a),new wk(this.c,this.b)},_xe.Ob=function(){return ET(this.a)},_xe.Qb=function(){CP(!!this.b),yG(this.c,this.b),this.b=null};eB(Xxe,"EnumMap/EntrySetIterator",1324);Kce(1325,1954,USe,wk),_xe.ad=function(){return this.a},_xe.bd=function(){return this.b.b[this.a.g]},_xe.cd=function(e){return cz(this.b,this.a.g,e)};eB(Xxe,"EnumMap/MapEntry",1325);Kce(174,Zxe,{19:1,28:1,15:1,174:1,21:1});var rze=eB(Xxe,"EnumSet",174);Kce(156,174,{19:1,28:1,15:1,174:1,156:1,21:1},WR),_xe.Dc=function(e){return c1(this,LL(e,22))},_xe.Fc=function(e){return Nj(this,e)},_xe.Ic=function(){return new aS(this)},_xe.Kc=function(e){return jj(this,e)},_xe.gc=function(){return this.c},_xe.c=0;eB(Xxe,"EnumSet/EnumSetImpl",156);Kce(339,1,qxe,aS),_xe.Nb=function(e){GF(this,e)},_xe.Pb=function(){return vq(this)},_xe.Ob=function(){return ET(this)},_xe.Qb=function(){CP(-1!=this.b),nB(this.c.b,this.b,null),--this.c.c,this.b=-1},_xe.a=-1,_xe.b=-1;eB(Xxe,"EnumSet/EnumSetImpl/IteratorImpl",339);Kce(44,480,QSe,Hm,oS,lM),_xe.re=function(e,t){return OI(e)===OI(t)||null!=e&&l8(e,t)},_xe.se=function(e){return 0|p4(e)};eB(Xxe,"HashMap",44);Kce(70,Zxe,JSe,Pb,qx,YN),_xe.Dc=function(e){return uz(this,e)},_xe.$b=function(){this.a.$b()},_xe.Fc=function(e){return X_(this,e)},_xe.dc=function(){return 0==this.a.gc()},_xe.Ic=function(){return this.a.ec().Ic()},_xe.Kc=function(e){return nA(this,e)},_xe.gc=function(){return this.a.gc()};var ize=eB(Xxe,"HashSet",70);Kce(1752,1,h_e,B),_xe.ud=function(e){m2(this,e)},_xe.Ib=function(){return"IntSummaryStatistics[count = "+Aj(this.a)+", avg = "+(Ox(this.a,0)?GW(this.d)/GW(this.a):0)+", min = "+this.c+", max = "+this.b+", sum = "+Aj(this.d)+"]"},_xe.a=0,_xe.b=F_e,_xe.c=Dxe,_xe.d=0;eB(Xxe,"IntSummaryStatistics",1752);Kce(1005,1,g_e,CM),_xe.Hc=function(e){yX(this,e)},_xe.Ic=function(){return new vU(this)},_xe.c=0;eB(Xxe,"InternalHashCodeMap",1005);Kce(692,1,qxe,vU),_xe.Nb=function(e){GF(this,e)},_xe.Pb=function(){return this.d=this.a[this.c++],this.d},_xe.Ob=function(){var e;return this.c<this.a.length||!(e=this.b.next()).done&&(this.a=e.value[1],this.c=0,!0)},_xe.Qb=function(){Qce(this.e,this.d.ad()),0!=this.c&&--this.c},_xe.c=0,_xe.d=null;var oze;eB(Xxe,"InternalHashCodeMap/1",692);Kce(1003,1,g_e,EM),_xe.Hc=function(e){yX(this,e)},_xe.Ic=function(){return new zq(this)},_xe.c=0,_xe.d=0;eB(Xxe,"InternalStringMap",1003);Kce(691,1,qxe,zq),_xe.Nb=function(e){GF(this,e)},_xe.Pb=function(){return this.c=this.a,this.a=this.b.next(),new UR(this.d,this.c,this.d.d)},_xe.Ob=function(){return!this.a.done},_xe.Qb=function(){y3(this.d,this.c.value[0])};eB(Xxe,"InternalStringMap/1",691);Kce(1004,1954,USe,UR),_xe.ad=function(){return this.b.value[0]},_xe.bd=function(){return this.a.d!=this.c?ck(this.a,this.b.value[0]):this.b.value[1]},_xe.cd=function(e){return f9(this.a,this.b.value[0],e)},_xe.c=0;eB(Xxe,"InternalStringMap/2",1004);Kce(226,44,QSe,Fq,mK),_xe.$b=function(){qD(this)},_xe._b=function(e){return fk(this,e)},_xe.sc=function(e){var t;for(t=this.d.a;t!=this.d;){if(cV(t.e,e))return!0;t=t.a}return!1},_xe.tc=function(){return new ud(this)},_xe.vc=function(e){return oQ(this,e)},_xe.xc=function(e,t){return ste(this,e,t)},_xe.zc=function(e){return wZ(this,e)},_xe.gc=function(){return Y_(this.e)},_xe.c=!1;eB(Xxe,"LinkedHashMap",226);Kce(382,379,{479:1,379:1,382:1,43:1},UP,OL);eB(Xxe,"LinkedHashMap/ChainEntry",382);Kce(681,Zxe,Qxe,ud),_xe.$b=function(){qD(this.a)},_xe.Fc=function(e){return lU(this,e)},_xe.Ic=function(){return new DB(this)},_xe.Kc=function(e){var t;return!!lU(this,e)&&(t=LL(e,43).ad(),wZ(this.a,t),!0)},_xe.gc=function(){return Y_(this.a.e)};eB(Xxe,"LinkedHashMap/EntrySet",681);Kce(682,1,qxe,DB),_xe.Nb=function(e){GF(this,e)},_xe.Pb=function(){return _K(this)},_xe.Ob=function(){return this.b!=this.c.a.d},_xe.Qb=function(){CP(!!this.a),wW(this.c.a.e,this),mN(this.a),sY(this.c.a.e,this.a.d),wP(this.c.a.e,this),this.a=null};eB(Xxe,"LinkedHashMap/EntrySet/EntryIterator",682);Kce(178,70,JSe,qM,tP,KN);var aze=eB(Xxe,"LinkedHashSet",178);Kce(68,1936,{3:1,4:1,19:1,28:1,51:1,15:1,68:1,14:1},sS,NR),_xe.Dc=function(e){return bN(this,e)},_xe.$b=function(){s$(this)},_xe.Xc=function(e){return cte(this,e)},_xe.gc=function(){return this.b},_xe.b=0;var sze=eB(Xxe,"LinkedList",68);Kce(934,1,n_e,GR),_xe.Nb=function(e){GF(this,e)},_xe.Rb=function(e){Ez(this,e)},_xe.Ob=function(){return jx(this)},_xe.Sb=function(){return this.b.b!=this.d.a},_xe.Pb=function(){return BU(this)},_xe.Tb=function(){return this.a},_xe.Ub=function(){return WW(this)},_xe.Vb=function(){return this.a-1},_xe.Qb=function(){QQ(this)},_xe.Wb=function(e){CP(!!this.c),this.c.c=e},_xe.a=0,_xe.c=null;eB(Xxe,"LinkedList/ListIteratorImpl",934);Kce(595,1,{},V);var lze,uze;eB(Xxe,"LinkedList/Node",595);Kce(1931,1,{});eB(Xxe,"Locale",1931);Kce(840,1931,{},$),_xe.Ib=function(){return""};eB(Xxe,"Locale/1",840);Kce(841,1931,{},H),_xe.Ib=function(){return"unknown"};eB(Xxe,"Locale/4",841);Kce(114,59,{3:1,102:1,59:1,78:1,114:1},bb);var cze;eB(Xxe,"NoSuchElementException",114);Kce(399,1,{399:1},yy),_xe.Fb=function(e){var t;return e===this||!!BT(e,399)&&(t=LL(e,399),cV(this.a,t.a))},_xe.Hb=function(){return tT(this.a)},_xe.Ib=function(){return null!=this.a?Vxe+nP(this.a)+")":"Optional.empty()"};var fze;eB(Xxe,"Optional",399);Kce(457,1,{457:1},sM,XP),_xe.Fb=function(e){var t;return e===this||!!BT(e,457)&&(t=LL(e,457),this.a==t.a&&0==j8(this.b,t.b))},_xe.Hb=function(){return this.a?IH(this.b):0},_xe.Ib=function(){return this.a?"OptionalDouble.of("+this.b+")":"OptionalDouble.empty()"},_xe.a=!1,_xe.b=0;var hze;eB(Xxe,"OptionalDouble",457);Kce(510,1,{510:1},aM,YP),_xe.Fb=function(e){var t;return e===this||!!BT(e,510)&&(t=LL(e,510),this.a==t.a&&0==MT(this.b,t.b))},_xe.Hb=function(){return this.a?this.b:0},_xe.Ib=function(){return this.a?"OptionalInt.of("+this.b+")":"OptionalInt.empty()"},_xe.a=!1,_xe.b=0;eB(Xxe,"OptionalInt",510);Kce(494,1973,Kxe,yF),_xe.Ec=function(e){return eie(this,e)},_xe.$b=function(){this.b.c=fK(pje,zxe,1,0,5,1)},_xe.Fc=function(e){return-1!=(null==e?-1:vZ(this.b,e,0))},_xe.Ic=function(){return new jd(this)},_xe.Kc=function(e){return f1(this,e)},_xe.gc=function(){return this.b.c.length},_xe.Lc=function(){return new ZG(this,256)},_xe.Nc=function(){return eO(this.b)},_xe.Oc=function(e){return tte(this.b,e)};eB(Xxe,"PriorityQueue",494);Kce(1249,1,qxe,jd),_xe.Nb=function(e){GF(this,e)},_xe.Ob=function(){return this.a<this.c.b.c.length},_xe.Pb=function(){return EP(this.a<this.c.b.c.length),this.b=this.a++,JN(this.c.b,this.b)},_xe.Qb=function(){CP(-1!=this.b),h1(this.c,this.a=this.b),this.b=-1},_xe.a=0,_xe.b=-1;eB(Xxe,"PriorityQueue/1",1249);Kce(228,1,{228:1},y9,jU),_xe.a=0,_xe.b=0;var dze,pze,gze=0;eB(Xxe,"Random",228);Kce(27,1,u_e,ZG,Cz,TV),_xe.qd=function(){return this.a},_xe.rd=function(){return HF(this),this.c},_xe.Nb=function(e){HF(this),this.d.Nb(e)},_xe.sd=function(e){return $Q(this,e)},_xe.a=0,_xe.c=0;eB(Xxe,"Spliterators/IteratorSpliterator",27);Kce(478,27,u_e,yk);eB(Xxe,"SortedSet/1",478);Kce(590,1,ZSe,od),_xe.we=function(e){this.a.td(e)};eB(Xxe,"Spliterator/OfDouble/0methodref$accept$Type",590);Kce(591,1,ZSe,cd),_xe.we=function(e){this.a.td(e)};eB(Xxe,"Spliterator/OfDouble/1methodref$accept$Type",591);Kce(592,1,h_e,fd),_xe.ud=function(e){this.a.td(k8(e))};eB(Xxe,"Spliterator/OfInt/2methodref$accept$Type",592);Kce(593,1,h_e,hd),_xe.ud=function(e){this.a.td(k8(e))};eB(Xxe,"Spliterator/OfInt/3methodref$accept$Type",593);Kce(607,1,u_e),_xe.Nb=function(e){Ax(this,e)},_xe.qd=function(){return this.d},_xe.rd=function(){return this.e},_xe.d=0,_xe.e=0;eB(Xxe,"Spliterators/BaseSpliterator",607);Kce(708,607,u_e),_xe.xe=function(e){Wx(this,e)},_xe.Nb=function(e){BT(e,184)?Wx(this,LL(e,184)):Wx(this,new cd(e))},_xe.sd=function(e){return BT(e,184)?this.ye(LL(e,184)):this.ye(new od(e))};eB(Xxe,"Spliterators/AbstractDoubleSpliterator",708);Kce(707,607,u_e),_xe.xe=function(e){Wx(this,e)},_xe.Nb=function(e){BT(e,195)?Wx(this,LL(e,195)):Wx(this,new hd(e))},_xe.sd=function(e){return BT(e,195)?this.ye(LL(e,195)):this.ye(new fd(e))};eB(Xxe,"Spliterators/AbstractIntSpliterator",707);Kce(534,607,u_e);eB(Xxe,"Spliterators/AbstractSpliterator",534);Kce(676,1,u_e),_xe.Nb=function(e){Ax(this,e)},_xe.qd=function(){return this.b},_xe.rd=function(){return this.d-this.c},_xe.b=0,_xe.c=0,_xe.d=0;eB(Xxe,"Spliterators/BaseArraySpliterator",676);Kce(926,676,u_e,yN),_xe.ze=function(e,t){!function(e,t,n){t.td(e.a[n])}(this,LL(e,37),t)},_xe.Nb=function(e){sB(this,e)},_xe.sd=function(e){return kY(this,e)};eB(Xxe,"Spliterators/ArraySpliterator",926);Kce(677,676,u_e,wR),_xe.ze=function(e,t){!function(e,t,n){t.we(e.a[n])}(this,LL(e,184),t)},_xe.xe=function(e){sB(this,e)},_xe.Nb=function(e){BT(e,184)?sB(this,LL(e,184)):sB(this,new cd(e))},_xe.ye=function(e){return kY(this,e)},_xe.sd=function(e){return BT(e,184)?kY(this,LL(e,184)):kY(this,new od(e))};var mze;eB(Xxe,"Spliterators/DoubleArraySpliterator",677);Kce(1941,1,u_e),_xe.Nb=function(e){Ax(this,e)},_xe.qd=function(){return 16448},_xe.rd=function(){return 0};eB(Xxe,"Spliterators/EmptySpliterator",1941);Kce(925,1941,u_e,te),_xe.xe=function(e){Of(e)},_xe.Nb=function(e){BT(e,195)?Of(LL(e,195)):Of(new hd(e))},_xe.ye=function(e){return dk(e)},_xe.sd=function(e){return BT(e,195)?dk(LL(e,195)):dk(new fd(e))};eB(Xxe,"Spliterators/EmptySpliterator/OfInt",925);Kce(571,51,lke,Db),_xe.Tc=function(e,t){Xj(e,this.a.c.length+1),Mj(this.a,e,t)},_xe.Dc=function(e){return RL(this.a,e)},_xe.Uc=function(e,t){return Xj(e,this.a.c.length+1),K4(this.a,e,t)},_xe.Ec=function(e){return L3(this.a,e)},_xe.$b=function(){this.a.c=fK(pje,zxe,1,0,5,1)},_xe.Fc=function(e){return-1!=vZ(this.a,e,0)},_xe.Gc=function(e){return N3(this.a,e)},_xe.Hc=function(e){uJ(this.a,e)},_xe.Xb=function(e){return Xj(e,this.a.c.length),JN(this.a,e)},_xe.Vc=function(e){return vZ(this.a,e,0)},_xe.dc=function(){return 0==this.a.c.length},_xe.Ic=function(){return new td(this.a)},_xe.Yc=function(e){return Xj(e,this.a.c.length),eY(this.a,e)},_xe.Ud=function(e,t){YG(this.a,e,t)},_xe.Zc=function(e,t){return Xj(e,this.a.c.length),mX(this.a,e,t)},_xe.gc=function(){return this.a.c.length},_xe.$c=function(e){kT(this.a,e)},_xe._c=function(e,t){return new KG(this.a,e,t)},_xe.Nc=function(){return eO(this.a)},_xe.Oc=function(e){return tte(this.a,e)},_xe.Ib=function(){return Wae(this.a)};eB(Xxe,"Vector",571);Kce(790,571,lke,iv);eB(Xxe,"Stack",790);Kce(204,1,{204:1},u3),_xe.Ib=function(){return QW(this)};eB(Xxe,"StringJoiner",204);Kce(537,1961,{3:1,84:1,171:1,161:1},rS,wF),_xe.$b=function(){ky(this)},_xe.tc=function(){return new uP(this)},_xe.xc=function(e,t){return P5(this,e,t)},_xe.zc=function(e){return TH(this,e)},_xe.gc=function(){return this.c},_xe.c=0;eB(Xxe,"TreeMap",537);Kce(386,1,qxe,_D),_xe.Nb=function(e){GF(this,e)},_xe.Pb=function(){return QP(this)},_xe.Ob=function(){return pk(this.a)},_xe.Qb=function(){FR(this)};eB(Xxe,"TreeMap/EntryIterator",386);Kce(428,722,Qxe,uP),_xe.$b=function(){ky(this.a)};eB(Xxe,"TreeMap/EntrySet",428);Kce(429,379,{479:1,379:1,43:1,429:1},bK),_xe.b=!1;var bze=eB(Xxe,"TreeMap/Node",429);Kce(611,1,{},z),_xe.Ib=function(){return"State: mv="+this.c+" value="+this.d+" done="+this.a+" found="+this.b},_xe.a=!1,_xe.b=!1,_xe.c=!1;var vze,yze,wze,xze;eB(Xxe,"TreeMap/State",611);Kce(297,22,uke,bk),_xe.Ae=function(){return!1},_xe.Be=function(){return!1};var _ze=f0(Xxe,"TreeMap/SubMapType",297,Aje,(function(){return ZK(),q3(lw(_ze,1),A_e,297,0,[vze,yze,wze,xze])}),(function(e){return ZK(),fQ((QK(),Sze),e)}));Kce(1085,297,uke,QM),_xe.Be=function(){return!0};f0(Xxe,"TreeMap/SubMapType/1",1085,_ze,null,null);Kce(1086,297,uke,GT),_xe.Ae=function(){return!0},_xe.Be=function(){return!0};f0(Xxe,"TreeMap/SubMapType/2",1086,_ze,null,null);Kce(1087,297,uke,JM),_xe.Ae=function(){return!0};var Sze;f0(Xxe,"TreeMap/SubMapType/3",1087,_ze,null,null);Kce(206,Zxe,{3:1,19:1,28:1,15:1,270:1,21:1,81:1,206:1},zb,Xx),_xe.Lc=function(){return new yk(this)},_xe.Dc=function(e){return Iz(this,e)},_xe.$b=function(){ky(this.a)},_xe.Fc=function(e){return MR(this.a,e)},_xe.Ic=function(){return new Hh(new _D(new uP(new qh(this.a).a).b))},_xe.Kc=function(e){return sP(this,e)},_xe.gc=function(){return this.a.c};var kze=eB(Xxe,"TreeSet",206);Kce(930,1,{},dd),_xe.Ce=function(e,t){return function(e,t,n){return e.ue(t,n)<=0?n:t}(this.a,e,t)};eB(cke,"BinaryOperator/lambda$0$Type",930);Kce(931,1,{},pd),_xe.Ce=function(e,t){return function(e,t,n){return e.ue(t,n)<=0?t:n}(this.a,e,t)};eB(cke,"BinaryOperator/lambda$1$Type",931);Kce(825,1,{},Z),_xe.Kb=function(e){return e};eB(cke,"Function/lambda$0$Type",825);Kce(425,1,L_e,gd),_xe.Mb=function(e){return!this.a.Mb(e)};eB(cke,"Predicate/lambda$2$Type",425);Kce(564,1,{564:1});var Cze,Eze=eB(fke,"Handler",564);Kce(1976,1,Lxe),_xe.ne=function(){return"DUMMY"},_xe.Ib=function(){return this.ne()};eB(fke,"Level",1976);Kce(1591,1976,Lxe,Q),_xe.ne=function(){return"INFO"};var Ize;eB(fke,"Level/LevelInfo",1591);Kce(1610,1,{},Ob);eB(fke,"LogManager",1610);Kce(1751,1,Lxe,bR),_xe.b=null;eB(fke,"LogRecord",1751);Kce(505,1,{505:1},pX),_xe.e=!1;var Mze=!1,Tze=!1,Aze=!1,Pze=!1,Oze=!1;eB(fke,"Logger",505);Kce(798,564,{564:1},K);var Dze,Rze,Lze;eB(fke,"SimpleConsoleLogHandler",798);Kce(132,22,{3:1,36:1,22:1,132:1},vk);var Nze,jze=f0(pke,"Collector/Characteristics",132,Aje,(function(){return z4(),q3(lw(jze,1),A_e,132,0,[Dze,Rze,Lze])}),(function(e){return z4(),fQ((BY(),Nze),e)}));Kce(727,1,{},kz);eB(pke,"CollectorImpl",727);Kce(1044,1,{},L),_xe.Ce=function(e,t){return function(e,t){var n;return t.a&&(n=t.a.a.length,e.a?UI(e.a,e.b):e.a=new YA(e.d),VW(e.a,t.a,t.d.length,n)),e}(LL(e,204),LL(t,204))};eB(pke,"Collectors/10methodref$merge$Type",1044);Kce(1045,1,{},N),_xe.Kb=function(e){return QW(LL(e,204))};eB(pke,"Collectors/11methodref$toString$Type",1045);Kce(1046,1,{},md),_xe.Kb=function(e){return _P(),!!gM(e)};eB(pke,"Collectors/12methodref$test$Type",1046);Kce(250,1,{},j),_xe.Od=function(e,t){LL(e,15).Dc(t)};eB(pke,"Collectors/20methodref$add$Type",250);Kce(252,1,{},F),_xe.Ee=function(){return new $m};eB(pke,"Collectors/21methodref$ctor$Type",252);Kce(344,1,{},W),_xe.Ee=function(){return new Pb};eB(pke,"Collectors/23methodref$ctor$Type",344);Kce(345,1,{},U),_xe.Od=function(e,t){uz(LL(e,70),t)};eB(pke,"Collectors/24methodref$add$Type",345);Kce(1039,1,{},q),_xe.Ce=function(e,t){return uS(LL(e,14),LL(t,15))};eB(pke,"Collectors/4methodref$addAll$Type",1039);Kce(1043,1,{},X),_xe.Od=function(e,t){aY(LL(e,204),LL(t,469))};eB(pke,"Collectors/9methodref$add$Type",1043);Kce(1042,1,{},TL),_xe.Ee=function(){return new u3(this.a,this.b,this.c)};eB(pke,"Collectors/lambda$15$Type",1042);Kce(1047,1,{},G),_xe.Ee=function(){var e;return ste(e=new Fq,(_P(),!1),new $m),ste(e,!0,new $m),e};eB(pke,"Collectors/lambda$22$Type",1047);Kce(1048,1,{},bd),_xe.Ee=function(){return q3(lw(pje,1),zxe,1,5,[this.a])};eB(pke,"Collectors/lambda$25$Type",1048);Kce(1049,1,{},vd),_xe.Od=function(e,t){!function(e,t){nB(t,0,nj(t[0],vee(1)))}(this.a,xJ(e))};eB(pke,"Collectors/lambda$26$Type",1049);Kce(1050,1,{},yd),_xe.Ce=function(e,t){return function(e,t,n){return nB(t,0,nj(t[0],n[0])),t}(this.a,xJ(e),xJ(t))};eB(pke,"Collectors/lambda$27$Type",1050);Kce(1051,1,{},Y),_xe.Kb=function(e){return xJ(e)[0]};eB(pke,"Collectors/lambda$28$Type",1051);Kce(702,1,{},ne),_xe.Ce=function(e,t){return nj(e,t)};eB(pke,"Collectors/lambda$4$Type",702);Kce(251,1,{},re),_xe.Ce=function(e,t){return function(e,t){return e.Ec(t),e}(LL(e,15),LL(t,15))};eB(pke,"Collectors/lambda$42$Type",251);Kce(346,1,{},ie),_xe.Ce=function(e,t){return function(e,t){return G1(e,t),e}(LL(e,70),LL(t,70))};eB(pke,"Collectors/lambda$50$Type",346);Kce(347,1,{},oe),_xe.Kb=function(e){return LL(e,70)};eB(pke,"Collectors/lambda$51$Type",347);Kce(1038,1,{},wd),_xe.Od=function(e,t){!function(e,t,n){var r,i;_P(),r=!!gM(n),(i=LL(t.vc(r),14))||(i=new $m,t.xc(r,i)),i.Dc(n)}(this.a,LL(e,84),t)};eB(pke,"Collectors/lambda$7$Type",1038);Kce(1040,1,{},ae),_xe.Ce=function(e,t){return function(e,t,n){var r,i;for(i=t.tc().Ic();i.Ob();)r=LL(i.Pb(),43),e.wc(r.ad(),r.bd(),n);return e}(LL(e,84),LL(t,84),new q)};eB(pke,"Collectors/lambda$8$Type",1040);Kce(1041,1,{},xd),_xe.Kb=function(e){return function(e,t){var n,r,i;for(i=new Hm,r=t.tc().Ic();r.Ob();)eV(i,(n=LL(r.Pb(),43)).ad(),X2(e,LL(n.bd(),14)));return i}(this.a,LL(e,84))};eB(pke,"Collectors/lambda$9$Type",1041);Kce(533,1,{}),_xe.He=function(){LB(this)},_xe.d=!1;eB(pke,"TerminatableStream",533);Kce(793,533,gke,LO),_xe.He=function(){LB(this)};eB(pke,"DoubleStreamImpl",793);Kce(1755,708,u_e,PL),_xe.ye=function(e){return function(e,t){var n;return e.a||(n=fK(aat,BSe,24,0,15,1),Wx(e.b.a,new _d(n)),n.sort(wJ(A.prototype.te,A,[])),e.a=new wR(n,e.d)),kY(e.a,t)}(this,LL(e,184))},_xe.a=null;eB(pke,"DoubleStreamImpl/2",1755);Kce(1756,1,ZSe,_d),_xe.we=function(e){!function(e,t){e[e.length]=t}(this.a,e)};eB(pke,"DoubleStreamImpl/2/lambda$0$Type",1756);Kce(1753,1,ZSe,Sd),_xe.we=function(e){!function(e,t){e[e.length]=t}(this.a,e)};eB(pke,"DoubleStreamImpl/lambda$0$Type",1753);Kce(1754,1,ZSe,kd),_xe.we=function(e){y7(this.a,e)};eB(pke,"DoubleStreamImpl/lambda$2$Type",1754);Kce(1329,707,u_e,gX),_xe.ye=function(e){return function(e,t){return e.a<=e.b&&(t.ud(e.a++),!0)}(this,LL(e,195))},_xe.a=0,_xe.b=0,_xe.c=0;eB(pke,"IntStream/5",1329);Kce(769,533,gke,NO),_xe.He=function(){LB(this)},_xe.Ie=function(){return NB(this),this.a};eB(pke,"IntStreamImpl",769);Kce(770,533,gke,iS),_xe.He=function(){LB(this)},_xe.Ie=function(){return NB(this),jA(),mze};eB(pke,"IntStreamImpl/Empty",770);Kce(1432,1,h_e,Cd),_xe.ud=function(e){m2(this.a,e)};eB(pke,"IntStreamImpl/lambda$4$Type",1432);var Fze,zze=NN(pke,"Stream");Kce(30,533,{518:1,658:1,812:1},cj),_xe.He=function(){LB(this)};eB(pke,"StreamImpl",30);Kce(824,1,{},J),_xe.jd=function(e){return qL(e)};eB(pke,"StreamImpl/0methodref$lambda$2$Type",824);Kce(1064,534,u_e,vR),_xe.sd=function(e){for(;zK(this);){if(this.a.sd(e))return!0;LB(this.b),this.b=null,this.a=null}return!1};eB(pke,"StreamImpl/1",1064);Kce(1065,1,c_e,Ed),_xe.td=function(e){!function(e,t){t&&(e.b=t,e.a=(NB(t),t.a))}(this.a,LL(e,812))};eB(pke,"StreamImpl/1/lambda$0$Type",1065);Kce(1066,1,L_e,Id),_xe.Mb=function(e){return uz(this.a,e)};eB(pke,"StreamImpl/1methodref$add$Type",1066);Kce(1067,534,u_e,o$),_xe.sd=function(e){var t;return this.a||(t=new $m,this.b.a.Nb(new Md(t)),v$(),kT(t,this.c),this.a=new ZG(t,16)),$Q(this.a,e)},_xe.a=null;eB(pke,"StreamImpl/5",1067);Kce(1068,1,c_e,Md),_xe.td=function(e){RL(this.a,e)};eB(pke,"StreamImpl/5/2methodref$add$Type",1068);Kce(709,534,u_e,GK),_xe.sd=function(e){for(this.b=!1;!this.b&&this.c.sd(new xk(this,e)););return this.b},_xe.b=!1;eB(pke,"StreamImpl/FilterSpliterator",709);Kce(1059,1,c_e,xk),_xe.td=function(e){!function(e,t,n){e.a.Mb(n)&&(e.b=!0,t.td(n))}(this.a,this.b,e)};eB(pke,"StreamImpl/FilterSpliterator/lambda$0$Type",1059);Kce(1055,708,u_e,uY),_xe.ye=function(e){return function(e,t){return e.b.sd(new _k(e,t))}(this,LL(e,184))};eB(pke,"StreamImpl/MapToDoubleSpliterator",1055);Kce(1058,1,c_e,_k),_xe.td=function(e){!function(e,t,n){t.we(e.a.Fe(n))}(this.a,this.b,e)};eB(pke,"StreamImpl/MapToDoubleSpliterator/lambda$0$Type",1058);Kce(1054,707,u_e,lY),_xe.ye=function(e){return function(e,t){return e.b.sd(new Sk(e,t))}(this,LL(e,195))};eB(pke,"StreamImpl/MapToIntSpliterator",1054);Kce(1057,1,c_e,Sk),_xe.td=function(e){!function(e,t,n){t.ud(e.a.Ge(n))}(this.a,this.b,e)};eB(pke,"StreamImpl/MapToIntSpliterator/lambda$0$Type",1057);Kce(706,534,u_e,cY),_xe.sd=function(e){return pR(this,e)};eB(pke,"StreamImpl/MapToObjSpliterator",706);Kce(1056,1,c_e,kk),_xe.td=function(e){!function(e,t,n){t.td(e.a.Kb(n))}(this.a,this.b,e)};eB(pke,"StreamImpl/MapToObjSpliterator/lambda$0$Type",1056);Kce(608,1,c_e,ee),_xe.td=function(e){ph(this,e)};eB(pke,"StreamImpl/ValueConsumer",608);Kce(1060,1,c_e,se),_xe.td=function(e){xS()};eB(pke,"StreamImpl/lambda$0$Type",1060);Kce(1061,1,c_e,le),_xe.td=function(e){xS()};eB(pke,"StreamImpl/lambda$1$Type",1061);Kce(1062,1,{},Td),_xe.Ce=function(e,t){return function(e,t,n){return xS(),e.a.Od(t,n),t}(this.a,e,t)};eB(pke,"StreamImpl/lambda$4$Type",1062);Kce(1063,1,c_e,Ek),_xe.td=function(e){!function(e,t,n){xS(),ph(e,t.Ce(e.a,n))}(this.b,this.a,e)};eB(pke,"StreamImpl/lambda$5$Type",1063);Kce(1069,1,c_e,Ad),_xe.td=function(e){!function(e,t){var n;try{t.Vd()}catch(t){if(!BT(t=v3(t),78))throw Jm(t);n=t,e.c[e.c.length]=n}}(this.a,LL(e,362))};eB(pke,"TerminatableStream/lambda$0$Type",1069);Kce(2010,1,{}),Kce(1886,1,{},ue);eB("javaemul.internal","ConsoleLogger",1886);Kce(2007,1,{});var Bze,Vze,$ze=0,Hze=0;Kce(1739,1,c_e,ce),_xe.td=function(e){LL(e,306)};eB(xke,"BowyerWatsonTriangulation/lambda$0$Type",1739);Kce(1740,1,c_e,Pd),_xe.td=function(e){G1(this.a,LL(e,306).e)};eB(xke,"BowyerWatsonTriangulation/lambda$1$Type",1740);Kce(1741,1,c_e,fe),_xe.td=function(e){LL(e,168)};eB(xke,"BowyerWatsonTriangulation/lambda$2$Type",1741);Kce(1736,1,_ke,Od),_xe.ue=function(e,t){return function(e,t,n){return gF($O(PI(rH(e.f,t))),$O(PI(rH(e.f,n))))}(this.a,LL(e,168),LL(t,168))},_xe.Fb=function(e){return this===e},_xe.ve=function(){return new ad(this)};eB(xke,"NaiveMinST/lambda$0$Type",1736);Kce(168,1,{168:1},Ck),_xe.Fb=function(e){var t;return!!BT(e,168)&&(t=LL(e,168),cV(this.a,t.a)&&cV(this.b,t.b)||cV(this.a,t.b)&&cV(this.b,t.a))},_xe.Hb=function(){return tT(this.a)+tT(this.b)};var Gze=eB(xke,"TEdge",168);Kce(306,1,{306:1},ibe),_xe.Fb=function(e){var t;return!!BT(e,306)&&(HZ(this,(t=LL(e,306)).a)&&HZ(this,t.b)&&HZ(this,t.c))},_xe.Hb=function(){return tT(this.a)+tT(this.b)+tT(this.c)};eB(xke,"TTriangle",306);Kce(219,1,{219:1},VT);eB(xke,"Tree",219);Kce(1228,1,{},gG);eB(Ske,"Scanline",1228);var Wze=NN(Ske,kke);Kce(1662,1,{},WQ);eB(Cke,"CGraph",1662);Kce(305,1,{305:1},uG),_xe.b=0,_xe.c=0,_xe.d=0,_xe.g=0,_xe.i=0,_xe.k=LSe;eB(Cke,"CGroup",305);Kce(796,1,{},Bb);eB(Cke,"CGroup/CGroupBuilder",796);Kce(56,1,{56:1},MD),_xe.Ib=function(){return this.j?HO(this.j.Kb(this)):(FO(Uze),Uze.o+"@"+(lP(this)>>>0).toString(16))},_xe.f=0,_xe.i=LSe;var Uze=eB(Cke,"CNode",56);Kce(795,1,{},Vb);var qze;eB(Cke,"CNode/CNodeBuilder",795);Kce(1495,1,{},he),_xe.Oe=function(e,t){return 0},_xe.Pe=function(e,t){return 0};eB(Cke,Ike,1495);Kce(1761,1,{},de),_xe.Le=function(e){var t,n,i,o,a,s,l,u,c,f,h,d,p,g,m;for(c=RSe,i=new td(e.a.b);i.a<i.c.c.length;)t=LL(xW(i),56),c=r.Math.min(c,t.a.j.d.c+t.b.a);for(p=new sS,s=new td(e.a.a);s.a<s.c.c.length;)(a=LL(xW(s),305)).k=c,0==a.g&&jq(p,a,p.c.b,p.c);for(;0!=p.b;){for(o=(a=LL(0==p.b?null:(EP(0!=p.b),lJ(p,p.a.a)),305)).j.d.c,d=a.a.a.ec().Ic();d.Ob();)f=LL(d.Pb(),56),m=a.k+f.b.a,!k6(e,a,e.d)||f.d.c<m?f.i=m:f.i=f.d.c;for(o-=a.j.i,a.b+=o,e.d==(A8(),f7e)||e.d==u7e?a.c+=o:a.c-=o,h=a.a.a.ec().Ic();h.Ob();)for(u=(f=LL(h.Pb(),56)).c.Ic();u.Ob();)l=LL(u.Pb(),56),g=LM(e.d)?e.g.Oe(f,l):e.g.Pe(f,l),l.a.k=r.Math.max(l.a.k,f.i+f.d.b+g-l.b.a),B$(e,l,e.d)&&(l.a.k=r.Math.max(l.a.k,l.d.c-l.b.a)),--l.a.g,0==l.a.g&&bN(p,l.a)}for(n=new td(e.a.b);n.a<n.c.c.length;)(t=LL(xW(n),56)).d.c=t.i};var Xze,Yze,Kze;eB(Cke,"LongestPathCompaction",1761);Kce(1660,1,{},mce),_xe.e=!1;var Zze=eB(Cke,Oke,1660);Kce(1661,1,c_e,Dd),_xe.td=function(e){!function(e,t){e.d==(A8(),c7e)||e.d==d7e?LL(t.a,56).c.Dc(LL(t.b,56)):LL(t.b,56).c.Dc(LL(t.a,56))}(this.a,LL(e,46))};eB(Cke,Dke,1661);Kce(1762,1,{},pe),_xe.Me=function(e){var t,n,r,i,o,a;for(t=new td(e.a.b);t.a<t.c.c.length;)LL(xW(t),56).c.$b();for(r=new td(e.a.b);r.a<r.c.c.length;)for(n=LL(xW(r),56),o=new td(e.a.b);o.a<o.c.c.length;)n!=(i=LL(xW(o),56))&&(n.a&&n.a==i.a||(a=LM(e.d)?e.g.Pe(n,i):e.g.Oe(n,i),(i.d.c>n.d.c||n.d.c==i.d.c&&n.d.b<i.d.b)&&V7(i.d.d+i.d.a+a,n.d.d)&&$7(i.d.d,n.d.d+n.d.a+a)&&n.c.Dc(i)))};eB(Cke,"QuadraticConstraintCalculation",1762);Kce(515,1,{515:1},Gm),_xe.a=!1,_xe.b=!1,_xe.c=!1,_xe.d=!1;eB(Cke,Rke,515);Kce(785,1,{},Uj),_xe.Me=function(e){this.c=e,Jle(this,new be)};eB(Cke,Lke,785);Kce(1688,1,{667:1},R$),_xe.Ke=function(e){Ile(this,LL(e,458))};eB(Cke,Nke,1688);Kce(1689,1,_ke,ge),_xe.ue=function(e,t){return function(e,t){return j8(e.d.c+e.d.b/2,t.d.c+t.d.b/2)}(LL(e,56),LL(t,56))},_xe.Fb=function(e){return this===e},_xe.ve=function(){return new ad(this)};eB(Cke,jke,1689);Kce(458,1,{458:1},Ik),_xe.a=!1;eB(Cke,Fke,458);Kce(1690,1,_ke,me),_xe.ue=function(e,t){return function(e,t){var n,r,i;if(r=e.b.d.d,e.a||(r+=e.b.d.a),i=t.b.d.d,t.a||(i+=t.b.d.a),0==(n=j8(r,i))){if(!e.a&&t.a)return-1;if(!t.a&&e.a)return 1}return n}(LL(e,458),LL(t,458))},_xe.Fb=function(e){return this===e},_xe.ve=function(){return new ad(this)};eB(Cke,zke,1690);Kce(1691,1,Bke,be),_xe.Lb=function(e){return LL(e,56),!0},_xe.Fb=function(e){return this===e},_xe.Mb=function(e){return LL(e,56),!0};var Qze,Jze;eB(Cke,"ScanlineConstraintCalculator/lambda$1$Type",1691);Kce(422,22,{3:1,36:1,22:1,422:1},Mk);var eBe,tBe,nBe,rBe=f0(Vke,"HighLevelSortingCriterion",422,Aje,(function(){return vte(),q3(lw(rBe,1),A_e,422,0,[Jze,Qze])}),(function(e){return vte(),fQ((sX(),eBe),e)}));Kce(421,22,{3:1,36:1,22:1,421:1},Tk);var iBe,oBe,aBe,sBe,lBe,uBe,cBe,fBe,hBe=f0(Vke,"LowLevelSortingCriterion",421,Aje,(function(){return NQ(),q3(lw(hBe,1),A_e,421,0,[tBe,nBe])}),(function(e){return NQ(),fQ((lX(),iBe),e)})),dBe=NN($ke,"ILayoutMetaDataProvider");Kce(832,1,qke,Lc),_xe.Qe=function(e){M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,Hke),Xke),"Polyomino Traversal Strategy"),"Traversal strategy for trying different candidate positions for polyominoes."),fBe),(mle(),$6e)),kBe),o9((dte(),j6e))))),M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,Gke),Xke),"Polyomino Secondary Sorting Criterion"),"Possible secondary sorting criteria for the processing order of polyominoes. They are used when polyominoes are equal according to the primary sorting criterion HighLevelSortingCriterion."),uBe),$6e),hBe),o9(j6e)))),M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,Wke),Xke),"Polyomino Primary Sorting Criterion"),"Possible primary sorting criteria for the processing order of polyominoes."),sBe),$6e),rBe),o9(j6e)))),M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,Uke),Xke),"Fill Polyominoes"),"Use the Profile Fill algorithm to fill polyominoes to prevent small polyominoes from being placed inside of big polyominoes with large holes. Might increase packing area."),(_P(),!0)),B6e),oFe),o9(j6e))))};var pBe,gBe,mBe,bBe,vBe,yBe,wBe,xBe,_Be;eB(Vke,"PolyominoOptions",832);Kce(249,22,{3:1,36:1,22:1,249:1},Ak);var SBe,kBe=f0(Vke,"TraversalStrategy",249,Aje,(function(){return Epe(),q3(lw(kBe,1),A_e,249,0,[_Be,bBe,vBe,mBe,wBe,xBe,yBe,gBe,pBe])}),(function(e){return Epe(),fQ((M3(),SBe),e)}));Kce(211,1,{211:1},ve),_xe.Ib=function(){return"NEdge[id="+this.b+" w="+this.g+" d="+this.a+"]"},_xe.a=1,_xe.b=0,_xe.c=0,_xe.f=!1,_xe.g=0;var CBe=eB(Yke,"NEdge",211);Kce(176,1,{},Nb);eB(Yke,"NEdge/NEdgeBuilder",176);Kce(642,1,{},Rb);eB(Yke,"NGraph",642);Kce(119,1,{119:1},dY),_xe.c=-1,_xe.d=0,_xe.e=0,_xe.i=-1,_xe.j=!1;var EBe=eB(Yke,"NNode",119);Kce(777,1,YSe,Lb),_xe.Hc=function(e){yX(this,e)},_xe.Jc=function(){return new cj(null,new ZG(this,16))},_xe.$c=function(e){C1(this,e)},_xe.Lc=function(){return new ZG(this,16)},_xe.Mc=function(){return new cj(null,new ZG(this,16))},_xe.Tc=function(e,t){++this.b,Mj(this.a,e,t)},_xe.Dc=function(e){return pP(this,e)},_xe.Uc=function(e,t){return++this.b,K4(this.a,e,t)},_xe.Ec=function(e){return++this.b,L3(this.a,e)},_xe.$b=function(){++this.b,this.a.c=fK(pje,zxe,1,0,5,1)},_xe.Fc=function(e){return-1!=vZ(this.a,e,0)},_xe.Gc=function(e){return N3(this.a,e)},_xe.Xb=function(e){return JN(this.a,e)},_xe.Vc=function(e){return vZ(this.a,e,0)},_xe.dc=function(){return 0==this.a.c.length},_xe.Ic=function(){return BK(new td(this.a))},_xe.Wc=function(){throw Jm(new _b)},_xe.Xc=function(e){throw Jm(new _b)},_xe.Yc=function(e){return++this.b,eY(this.a,e)},_xe.Kc=function(e){return gP(this,e)},_xe.Zc=function(e,t){return++this.b,mX(this.a,e,t)},_xe.gc=function(){return this.a.c.length},_xe._c=function(e,t){return new KG(this.a,e,t)},_xe.Nc=function(){return eO(this.a)},_xe.Oc=function(e){return tte(this.a,e)},_xe.b=0;eB(Yke,"NNode/ChangeAwareArrayList",777);Kce(268,1,{},jb);eB(Yke,"NNode/NNodeBuilder",268);Kce(1600,1,{},Ce),_xe.a=!1,_xe.f=Dxe,_xe.j=0;eB(Yke,"NetworkSimplex",1600);Kce(745,1,c_e,Rd),_xe.td=function(e){Pye(this.a,LL(e,816),!0,!1)};eB(Zke,"NodeLabelAndSizeCalculator/lambda$0$Type",745);Kce(548,1,{},Ld),_xe.b=!0,_xe.c=!0,_xe.d=!0,_xe.e=!0;eB(Zke,"NodeMarginCalculator",548);Kce(210,1,{210:1}),_xe.j=!1,_xe.k=!1;var IBe=eB(Qke,"Cell",210);Kce(121,210,{121:1,210:1},CD),_xe.Re=function(){return MN(this)},_xe.Se=function(){var e;return e=this.n,this.a.a+e.b+e.c};var MBe,TBe,ABe;eB(Qke,"AtomicCell",121);Kce(230,22,{3:1,36:1,22:1,230:1},Pk);var PBe,OBe=f0(Qke,"ContainerArea",230,Aje,(function(){return nJ(),q3(lw(OBe,1),A_e,230,0,[MBe,TBe,ABe])}),(function(e){return nJ(),fQ((jY(),PBe),e)}));Kce(324,210,eCe);eB(Qke,"ContainerCell",324);Kce(1442,324,eCe,j7),_xe.Re=function(){var e;return e=0,this.e?this.b?e=this.b.b:this.a[1][1]&&(e=this.a[1][1].Re()):e=r7(this,gre(this,!0)),e>0?e+this.n.d+this.n.a:0},_xe.Se=function(){var e,t,n,i,o;if(o=0,this.e)this.b?o=this.b.a:this.a[1][1]&&(o=this.a[1][1].Se());else if(this.g)o=r7(this,die(this,null,!0));else for(nJ(),n=0,i=(t=q3(lw(OBe,1),A_e,230,0,[MBe,TBe,ABe])).length;n<i;++n)e=t[n],o=r.Math.max(o,r7(this,die(this,e,!0)));return o>0?o+this.n.b+this.n.c:0},_xe.Te=function(){var e,t,n,r,i;if(this.g)for(e=die(this,null,!1),nJ(),r=0,i=(n=q3(lw(OBe,1),A_e,230,0,[MBe,TBe,ABe])).length;r<i;++r)Nde(this,t=n[r],e);else for(nJ(),r=0,i=(n=q3(lw(OBe,1),A_e,230,0,[MBe,TBe,ABe])).length;r<i;++r)Nde(this,t=n[r],e=die(this,t,!1))},_xe.Ue=function(){var e,t,n,i;t=this.i,e=this.n,i=gre(this,!1),nY(this,(nJ(),MBe),t.d+e.d,i),nY(this,ABe,t.d+t.a-e.a-i[2],i),n=t.a-e.d-e.a,i[0]>0&&(i[0]+=this.d,n-=i[0]),i[2]>0&&(i[2]+=this.d,n-=i[2]),this.c.a=r.Math.max(0,n),this.c.d=t.d+e.d+(this.c.a-n)/2,i[1]=r.Math.max(i[1],n),nY(this,TBe,t.d+e.d+i[0]-(i[1]-n)/2,i)},_xe.b=null,_xe.d=0,_xe.e=!1,_xe.f=!1,_xe.g=!1;var DBe,RBe,LBe,NBe=0,jBe=0;eB(Qke,"GridContainerCell",1442);Kce(455,22,{3:1,36:1,22:1,455:1},Ok);var FBe,zBe=f0(Qke,"HorizontalLabelAlignment",455,Aje,(function(){return JK(),q3(lw(zBe,1),A_e,455,0,[RBe,DBe,LBe])}),(function(e){return JK(),fQ((FY(),FBe),e)}));Kce(304,210,{210:1,304:1},LH,qQ,vH),_xe.Re=function(){return TN(this)},_xe.Se=function(){return AN(this)},_xe.a=0,_xe.c=!1;var BBe=eB(Qke,"LabelCell",304);Kce(243,324,{210:1,324:1,243:1},zee),_xe.Re=function(){return Fue(this)},_xe.Se=function(){return zue(this)},_xe.Te=function(){Wme(this)},_xe.Ue=function(){Zme(this)},_xe.b=0,_xe.c=0,_xe.d=!1;eB(Qke,"StripContainerCell",243);Kce(1596,1,L_e,we),_xe.Mb=function(e){return function(e){return!!e&&e.k}(LL(e,210))};eB(Qke,"StripContainerCell/lambda$0$Type",1596);Kce(1597,1,{},xe),_xe.Fe=function(e){return LL(e,210).Se()};eB(Qke,"StripContainerCell/lambda$1$Type",1597);Kce(1598,1,L_e,_e),_xe.Mb=function(e){return function(e){return!!e&&e.j}(LL(e,210))};eB(Qke,"StripContainerCell/lambda$2$Type",1598);Kce(1599,1,{},ye),_xe.Fe=function(e){return LL(e,210).Re()};var VBe,$Be,HBe;eB(Qke,"StripContainerCell/lambda$3$Type",1599);Kce(456,22,{3:1,36:1,22:1,456:1},Dk);var GBe,WBe=f0(Qke,"VerticalLabelAlignment",456,Aje,(function(){return QZ(),q3(lw(WBe,1),A_e,456,0,[HBe,$Be,VBe])}),(function(e){return QZ(),fQ((zY(),GBe),e)}));Kce(772,1,{},Jye),_xe.c=0,_xe.d=0,_xe.k=0,_xe.s=0,_xe.u=!1,_xe.v=0,_xe.C=!1;eB(aCe,"NodeContext",772);Kce(1440,1,_ke,Se),_xe.ue=function(e,t){return kM(LL(e,61),LL(t,61))},_xe.Fb=function(e){return this===e},_xe.ve=function(){return new ad(this)};eB(aCe,"NodeContext/0methodref$comparePortSides$Type",1440);Kce(1441,1,_ke,ke),_xe.ue=function(e,t){return function(e,t){var n;if(0!=(n=kM(e.b.Ef(),t.b.Ef())))return n;switch(e.b.Ef().g){case 1:case 2:return MT(e.b.qf(),t.b.qf());case 3:case 4:return MT(t.b.qf(),e.b.qf())}return 0}(LL(e,110),LL(t,110))},_xe.Fb=function(e){return this===e},_xe.ve=function(){return new ad(this)};var UBe,qBe,XBe,YBe,KBe,ZBe,QBe,JBe,eVe,tVe,nVe,rVe,iVe,oVe,aVe,sVe,lVe,uVe,cVe,fVe,hVe,dVe;eB(aCe,"NodeContext/1methodref$comparePortContexts$Type",1441);Kce(159,22,{3:1,36:1,22:1,159:1},e2);var pVe,gVe=f0(aCe,"NodeLabelLocation",159,Aje,fte,(function(e){return mxe(),fQ((rM(),pVe),e)}));Kce(110,1,{110:1},vce),_xe.a=!1;eB(aCe,"PortContext",110);Kce(1446,1,c_e,Ee),_xe.td=function(e){I_(LL(e,304))};eB(uCe,cCe,1446);Kce(1447,1,L_e,Ie),_xe.Mb=function(e){return!!LL(e,110).c};eB(uCe,fCe,1447);Kce(1448,1,c_e,Te),_xe.td=function(e){I_(LL(e,110).c)};var mVe;eB(uCe,"LabelPlacer/lambda$2$Type",1448);Kce(1445,1,c_e,Ae),_xe.td=function(e){xD(),function(e){e.b.rf(e.e)}(LL(e,110))};eB(uCe,"NodeLabelAndSizeUtilities/lambda$0$Type",1445);Kce(1443,1,c_e,JR),_xe.td=function(e){$S(this.b,this.c,this.a,LL(e,183))},_xe.a=!1,_xe.c=!1;eB(uCe,"NodeLabelCellCreator/lambda$0$Type",1443);Kce(1444,1,c_e,Nd),_xe.td=function(e){!function(e,t){Gse(e.c,t)}(this.a,LL(e,183))};var bVe;eB(uCe,"PortContextCreator/lambda$0$Type",1444);Kce(1801,1,{},Me);eB(dCe,"GreedyRectangleStripOverlapRemover",1801);Kce(1802,1,_ke,Pe),_xe.ue=function(e,t){return function(e,t){return j8(e.c.d,t.c.d)}(LL(e,220),LL(t,220))},_xe.Fb=function(e){return this===e},_xe.ve=function(){return new ad(this)};eB(dCe,"GreedyRectangleStripOverlapRemover/0methodref$compareByYCoordinate$Type",1802);Kce(1757,1,{},qb),_xe.a=5,_xe.e=0;eB(dCe,"RectangleStripOverlapRemover",1757);Kce(1758,1,_ke,Oe),_xe.ue=function(e,t){return function(e,t){return j8(e.c.c,t.c.c)}(LL(e,220),LL(t,220))},_xe.Fb=function(e){return this===e},_xe.ve=function(){return new ad(this)};eB(dCe,"RectangleStripOverlapRemover/0methodref$compareLeftRectangleBorders$Type",1758);Kce(1760,1,_ke,De),_xe.ue=function(e,t){return function(e,t){return j8(e.c.c+e.c.b,t.c.c+t.c.b)}(LL(e,220),LL(t,220))},_xe.Fb=function(e){return this===e},_xe.ve=function(){return new ad(this)};var vVe,yVe,wVe,xVe;eB(dCe,"RectangleStripOverlapRemover/1methodref$compareRightRectangleBorders$Type",1760);Kce(401,22,{3:1,36:1,22:1,401:1},Rk);var _Ve,SVe=f0(dCe,"RectangleStripOverlapRemover/OverlapRemovalDirection",401,Aje,(function(){return h3(),q3(lw(SVe,1),A_e,401,0,[xVe,vVe,yVe,wVe])}),(function(e){return h3(),fQ((tZ(),_Ve),e)}));Kce(220,1,{220:1},$j);eB(dCe,"RectangleStripOverlapRemover/RectangleNode",220);Kce(1759,1,c_e,Fd),_xe.td=function(e){!function(e,t){var n,r;switch(r=t.c,n=t.a,e.b.g){case 0:n.d=e.e-r.a-r.d;break;case 1:n.d+=e.e;break;case 2:n.c=e.e-r.a-r.d;break;case 3:n.c=e.e+r.d}}(this.a,LL(e,220))};eB(dCe,"RectangleStripOverlapRemover/lambda$1$Type",1759);Kce(1275,1,_ke,Re),_xe.ue=function(e,t){return function(e,t){var n,r,i,o;return n=new Le,1==(i=2==(i=(r=LL(Nq(SV(new cj(null,new ZG(e.f,16)),n),xZ(new W,new U,new ie,new oe,q3(lw(jze,1),A_e,132,0,[(z4(),Lze),Rze]))),21)).gc())?1:0)&&z_(B9(LL(Nq(_V(r.Jc(),new Ne),T2(vee(0),new ne)),162).a,2),0)&&(i=0),1==(o=2==(o=(r=LL(Nq(SV(new cj(null,new ZG(t.f,16)),n),xZ(new W,new U,new ie,new oe,q3(lw(jze,1),A_e,132,0,[Lze,Rze]))),21)).gc())?1:0)&&z_(B9(LL(Nq(_V(r.Jc(),new je),T2(vee(0),new ne)),162).a,2),0)&&(o=0),i<o?-1:i==o?0:1}(LL(e,167),LL(t,167))},_xe.Fb=function(e){return this===e},_xe.ve=function(){return new ad(this)};eB(gCe,"PolyominoCompactor/CornerCasesGreaterThanRestComparator",1275);Kce(1278,1,{},Le),_xe.Kb=function(e){return LL(e,323).a};eB(gCe,"PolyominoCompactor/CornerCasesGreaterThanRestComparator/lambda$0$Type",1278);Kce(1279,1,L_e,Ne),_xe.Mb=function(e){return LL(e,322).a};eB(gCe,"PolyominoCompactor/CornerCasesGreaterThanRestComparator/lambda$1$Type",1279);Kce(1280,1,L_e,je),_xe.Mb=function(e){return LL(e,322).a};eB(gCe,"PolyominoCompactor/CornerCasesGreaterThanRestComparator/lambda$2$Type",1280);Kce(1273,1,_ke,Fe),_xe.ue=function(e,t){return function(e,t){var n,r,i;return n=new ze,(r=LL(Nq(SV(new cj(null,new ZG(e.f,16)),n),xZ(new W,new U,new ie,new oe,q3(lw(jze,1),A_e,132,0,[(z4(),Lze),Rze]))),21).gc())<(i=LL(Nq(SV(new cj(null,new ZG(t.f,16)),n),xZ(new W,new U,new ie,new oe,q3(lw(jze,1),A_e,132,0,[Lze,Rze]))),21).gc())?-1:r==i?0:1}(LL(e,167),LL(t,167))},_xe.Fb=function(e){return this===e},_xe.ve=function(){return new ad(this)};eB(gCe,"PolyominoCompactor/MinNumOfExtensionDirectionsComparator",1273);Kce(1276,1,{},ze),_xe.Kb=function(e){return LL(e,323).a};eB(gCe,"PolyominoCompactor/MinNumOfExtensionDirectionsComparator/lambda$0$Type",1276);Kce(750,1,_ke,Be),_xe.ue=function(e,t){return function(e,t){var n,r;return(n=e.f.c.length)<(r=t.f.c.length)?-1:n==r?0:1}(LL(e,167),LL(t,167))},_xe.Fb=function(e){return this===e},_xe.ve=function(){return new ad(this)};eB(gCe,"PolyominoCompactor/MinNumOfExtensionsComparator",750);Kce(1271,1,_ke,Ve),_xe.ue=function(e,t){return function(e,t){var n,r;return(n=e.o+e.p)<(r=t.o+t.p)?-1:n==r?0:1}(LL(e,320),LL(t,320))},_xe.Fb=function(e){return this===e},_xe.ve=function(){return new ad(this)};eB(gCe,"PolyominoCompactor/MinPerimeterComparator",1271);Kce(1272,1,_ke,$e),_xe.ue=function(e,t){return function(e,t){var n,r,i,o;return(o=e.o)<(n=e.p)?o*=o:n*=n,r=o+n,(o=t.o)<(n=t.p)?o*=o:n*=n,r<(i=o+n)?-1:r==i?0:1}(LL(e,320),LL(t,320))},_xe.Fb=function(e){return this===e},_xe.ve=function(){return new ad(this)};eB(gCe,"PolyominoCompactor/MinPerimeterComparatorWithShape",1272);Kce(1274,1,_ke,He),_xe.ue=function(e,t){return function(e,t){var n,r,i;return n=new Ge,(r=1==(r=LL(Nq(SV(new cj(null,new ZG(e.f,16)),n),xZ(new W,new U,new ie,new oe,q3(lw(jze,1),A_e,132,0,[(z4(),Lze),Rze]))),21).gc())?1:0)<(i=1==(i=LL(Nq(SV(new cj(null,new ZG(t.f,16)),n),xZ(new W,new U,new ie,new oe,q3(lw(jze,1),A_e,132,0,[Lze,Rze]))),21).gc())?1:0)?-1:r==i?0:1}(LL(e,167),LL(t,167))},_xe.Fb=function(e){return this===e},_xe.ve=function(){return new ad(this)};eB(gCe,"PolyominoCompactor/SingleExtensionSideGreaterThanRestComparator",1274);Kce(1277,1,{},Ge),_xe.Kb=function(e){return LL(e,323).a};eB(gCe,"PolyominoCompactor/SingleExtensionSideGreaterThanRestComparator/lambda$0$Type",1277);Kce(760,1,{},Nk),_xe.Ce=function(e,t){return function(e,t,n){return n.f.c.length>0?mz(e.a,t,n):mz(e.b,t,n)}(this,LL(e,46),LL(t,167))};eB(gCe,"SuccessorCombination",760);Kce(634,1,{},We),_xe.Ce=function(e,t){var n;return function(e){var t,n,i,o,a;return n=o=LL(e.a,20).a,i=a=LL(e.b,20).a,t=r.Math.max(r.Math.abs(o),r.Math.abs(a)),o<=0&&o==a?(n=0,i=a-1):o==-t&&a!=t?(n=a,i=o,a>=0&&++n):(n=-a,i=o),new KE(k8(n),k8(i))}((n=LL(e,46),LL(t,167),n))};eB(gCe,"SuccessorJitter",634);Kce(633,1,{},Ue),_xe.Ce=function(e,t){var n;return function(e){var t,n;if(t=LL(e.a,20).a,n=LL(e.b,20).a,t>=0){if(t==n)return new KE(k8(-t-1),k8(-t-1));if(t==-n)return new KE(k8(-t),k8(n+1))}return r.Math.abs(t)>r.Math.abs(n)?new KE(k8(-t),k8(t<0?n:n+1)):new KE(k8(t+1),k8(n))}((n=LL(e,46),LL(t,167),n))};eB(gCe,"SuccessorLineByLine",633);Kce(561,1,{},qe),_xe.Ce=function(e,t){var n;return function(e){var t,n,r,i;return t=r=LL(e.a,20).a,n=i=LL(e.b,20).a,0==r&&0==i?n-=1:-1==r&&i<=0?(t=0,n-=2):r<=0&&i>0?(t-=1,n-=1):r>=0&&i<0?(t+=1,n+=1):r>0&&i>=0?(t-=1,n+=1):(t+=1,n-=1),new KE(k8(t),k8(n))}((n=LL(e,46),LL(t,167),n))};eB(gCe,"SuccessorManhattan",561);Kce(1327,1,{},Xe),_xe.Ce=function(e,t){var n;return function(e){var t,n,i;return n=LL(e.a,20).a,i=LL(e.b,20).a,n<(t=r.Math.max(r.Math.abs(n),r.Math.abs(i)))&&i==-t?new KE(k8(n+1),k8(i)):n==t&&i<t?new KE(k8(n),k8(i+1)):n>=-t&&i==t?new KE(k8(n-1),k8(i)):new KE(k8(n),k8(i-1))}((n=LL(e,46),LL(t,167),n))};eB(gCe,"SuccessorMaxNormWindingInMathPosSense",1327);Kce(396,1,{},zd),_xe.Ce=function(e,t){return mz(this,e,t)},_xe.c=!1,_xe.d=!1,_xe.e=!1,_xe.f=!1;eB(gCe,"SuccessorQuadrantsGeneric",396);Kce(1328,1,{},Ye),_xe.Kb=function(e){return LL(e,323).a};var kVe,CVe,EVe,IVe;eB(gCe,"SuccessorQuadrantsGeneric/lambda$0$Type",1328);Kce(322,22,{3:1,36:1,22:1,322:1},Lk),_xe.a=!1;var MVe,TVe=f0(wCe,xCe,322,Aje,(function(){return Bte(),q3(lw(TVe,1),A_e,322,0,[CVe,kVe,EVe,IVe])}),(function(e){return Bte(),fQ((nZ(),MVe),e)}));Kce(1269,1,{}),_xe.Ib=function(){var e,t,n,r,i,o;for(n=" ",e=k8(0),i=0;i<this.o;i++)n+=""+e.a,e=k8(BO(e.a));for(n+="\n",e=k8(0),o=0;o<this.p;o++){for(n+=""+e.a,e=k8(BO(e.a)),r=0;r<this.o;r++)0==T4(t=EJ(this,r,o),0)?n+="_":0==T4(t,1)?n+="X":n+="0";n+="\n"}return zP(n,0,n.length-1)},_xe.o=0,_xe.p=0;eB(wCe,"TwoBitGrid",1269);Kce(320,1269,{320:1},F7),_xe.j=0,_xe.k=0;eB(wCe,"PlanarGrid",320);Kce(167,320,{320:1,167:1}),_xe.g=0,_xe.i=0;eB(wCe,"Polyomino",167);var AVe=NN(ECe,ICe);Kce(134,1,MCe,Ke),_xe.Ve=function(e){return c3(this,e)},_xe.Ze=function(e,t){return k5(this,e,t)},_xe.We=function(){return ij(this)},_xe.Xe=function(e){return Fae(this,e)},_xe.Ye=function(e){return ZP(this,e)};eB(ECe,"MapPropertyHolder",134);Kce(1270,134,MCe,bde);eB(wCe,"Polyominoes",1270);var PVe,OVe,DVe=!1;Kce(1737,1,c_e,Ze),_xe.td=function(e){Pve(LL(e,219))};eB(TCe,"DepthFirstCompaction/0methodref$compactTree$Type",1737);Kce(791,1,c_e,Bd),_xe.td=function(e){!function(e,t){Vj(LL(t.b,63),e),uJ(t.a,new Bd(e))}(this.a,LL(e,219))};eB(TCe,"DepthFirstCompaction/lambda$1$Type",791);Kce(1738,1,c_e,qR),_xe.td=function(e){!function(e,t,n,r){LL(n.b,63),LL(n.b,63),LL(r.b,63),LL(r.b,63).c.b,gK(r,t,e)}(this.a,this.b,this.c,LL(e,219))};var RVe,LVe;eB(TCe,"DepthFirstCompaction/lambda$2$Type",1738);Kce(63,1,{63:1},mG);eB(TCe,"Node",63);Kce(1224,1,{},$T);eB(TCe,"ScanlineOverlapCheck",1224);Kce(1225,1,{667:1},D$),_xe.Ke=function(e){QO(this,LL(e,434))};eB(TCe,"ScanlineOverlapCheck/OverlapsScanlineHandler",1225);Kce(1226,1,_ke,Qe),_xe.ue=function(e,t){return function(e,t){var n;return 0!=(n=j8(e.b.c,t.b.c))||0!=(n=j8(e.a.a,t.a.a))?n:j8(e.a.b,t.a.b)}(LL(e,63),LL(t,63))},_xe.Fb=function(e){return this===e},_xe.ve=function(){return new ad(this)};eB(TCe,"ScanlineOverlapCheck/OverlapsScanlineHandler/lambda$0$Type",1226);Kce(434,1,{434:1},jk),_xe.a=!1;eB(TCe,"ScanlineOverlapCheck/Timestamp",434);Kce(1227,1,_ke,Je),_xe.ue=function(e,t){return function(e,t){var n,r,i;if(r=e.b.b.d,e.a||(r+=e.b.b.a),i=t.b.b.d,t.a||(i+=t.b.b.a),0==(n=j8(r,i))){if(!e.a&&t.a)return-1;if(!t.a&&e.a)return 1}return n}(LL(e,434),LL(t,434))},_xe.Fb=function(e){return this===e},_xe.ve=function(){return new ad(this)};eB(TCe,"ScanlineOverlapCheck/lambda$0$Type",1227);Kce(545,1,{},et);eB(ACe,"SVGImage",545);Kce(323,1,{323:1},XR),_xe.Ib=function(){return"("+this.a+jxe+this.b+jxe+this.c+")"};eB(ACe,"UniqueTriple",323);Kce(207,1,PCe);eB(OCe,"AbstractLayoutProvider",207);Kce(1105,207,PCe,tt),_xe.$e=function(e,t){var n,r,i;if(qoe(t,DCe,1),this.a=Oy($O(xfe(e,(Ete(),s$e)))),hK(e,ZVe)&&(r=HO(xfe(e,ZVe)),(n=tge(C0(),r))&&LL(hH(n.f),207).$e(e,a2(t,1))),i=new Tq(this.a),this.b=function(e,t){var n,r,i,o,a,s,l,u,c,f,h,d,p,g,m,b,v,y,w;for(e.e=t,s=ece(t),y=new $m,r=new td(s);r.a<r.c.c.length;){for(n=LL(xW(r),14),w=new $m,y.c[y.c.length]=w,l=new Pb,h=n.Ic();h.Ob();){for(o=nge(e,f=LL(h.Pb(),34),!0,0,0),w.c[w.c.length]=o,new YE(d=f.i,p=f.j),!f.n&&(f.n=new FF(unt,f,1,7)),c=new SA(f.n);c.e!=c.i.gc();)i=nge(e,LL(Hee(c),137),!1,d,p),w.c[w.c.length]=i;for(!f.c&&(f.c=new FF(fnt,f,9,9)),m=new SA(f.c);m.e!=m.i.gc();)for(a=nge(e,g=LL(Hee(m),122),!1,d,p),w.c[w.c.length]=a,b=g.i+d,v=g.j+p,!g.n&&(g.n=new FF(unt,g,1,7)),u=new SA(g.n);u.e!=u.i.gc();)i=nge(e,LL(Hee(u),137),!1,b,v),w.c[w.c.length]=i;G1(l,E$(l0(q3(lw(yje,1),zxe,19,0,[she(f),ahe(f)]))))}khe(e,l,w)}return e.f=new Dw(y),c3(e.f,t),e.f}(i,e),0===LL(xfe(e,(H4(),WVe)),475).g)Ace(new nt,this.b),Fte(e,e$e,Fae(this.b,e$e));else Q_();!function(e){var t,n,r,i,o,a,s,l,u,c,f,h,d,p,g,m,b,v,y,w,x,_,S;for(h=(o=e.f.b).a,c=o.b,p=e.e.g,d=e.e.f,VM(e.e,o.a,o.b),_=h/p,S=c/d,u=new SA(gV(e.e));u.e!=u.i.gc();)UJ(l=LL(Hee(u),137),l.i*_),qJ(l,l.j*S);for(v=new SA(mV(e.e));v.e!=v.i.gc();)w=(b=LL(Hee(v),122)).i,x=b.j,w>0&&UJ(b,w*_),x>0&&qJ(b,x*S);for(S2(e.b,new ut),t=new $m,s=new m4(new jh(e.c).a);s.b;)r=LL((a=kJ(s)).ad(),80),n=LL(a.bd(),391).a,i=Wde(r,!1,!1),ebe(f=Yoe(Pae(r),$se(i),n),i),(y=Oae(r))&&-1==vZ(t,y,0)&&(t.c[t.c.length]=y,f$(y,(EP(0!=f.b),LL(f.a.a.c,8)),n));for(m=new m4(new jh(e.d).a);m.b;)r=LL((g=kJ(m)).ad(),80),n=LL(g.bd(),391).a,i=Wde(r,!1,!1),f=Yoe(Rae(r),i4($se(i)),n),ebe(f=i4(f),i),(y=Dae(r))&&-1==vZ(t,y,0)&&(t.c[t.c.length]=y,f$(y,(EP(0!=f.b),LL(f.c.b.c,8)),n))}(i),Fte(e,JVe,this.b),_se(t)},_xe.a=0;eB(RCe,"DisCoLayoutProvider",1105);Kce(1218,1,{},nt),_xe.c=!1,_xe.e=0,_xe.f=0;eB(RCe,"DisCoPolyominoCompactor",1218);Kce(554,1,{554:1},kj),_xe.b=!0;var NVe,jVe,FVe,zVe;eB(LCe,"DCComponent",554);Kce(390,22,{3:1,36:1,22:1,390:1},Fk),_xe.a=!1;var BVe,VVe=f0(LCe,"DCDirection",390,Aje,(function(){return Vte(),q3(lw(VVe,1),A_e,390,0,[jVe,NVe,FVe,zVe])}),(function(e){return Vte(),fQ((rZ(),BVe),e)}));Kce(265,134,{3:1,265:1,94:1,134:1},rfe);eB(LCe,"DCElement",265);Kce(391,1,{391:1},ere),_xe.c=0;eB(LCe,"DCExtension",391);Kce(738,134,MCe,Dw);var $Ve;eB(LCe,"DCGraph",738);Kce(475,22,{3:1,36:1,22:1,475:1},qP);var HVe,GVe,WVe,UVe,qVe,XVe,YVe=f0(NCe,jCe,475,Aje,(function(){return kS(),q3(lw(YVe,1),A_e,475,0,[$Ve])}),(function(e){return kS(),fQ((kU(),HVe),e)}));Kce(833,1,qke,Nc),_xe.Qe=function(e){M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,FCe),$Ce),"Connected Components Compaction Strategy"),"Strategy for packing different connected components in order to save space and enhance readability of a graph."),UVe),(mle(),$6e)),YVe),o9((dte(),j6e))))),M9(e,new ule(ix(rx(ox(Jw(nx(ex(tx(new Ns,zCe),$Ce),"Connected Components Layout Algorithm"),"A layout algorithm that is to be applied to each connected component before the components themselves are compacted. If unspecified, the positions of the components' nodes are not altered."),U6e),CFe),o9(j6e)))),M9(e,new ule(ix(rx(ox(Jw(nx(ex(tx(new Ns,BCe),"debug"),"DCGraph"),"Access to the DCGraph is intended for the debug view,"),W6e),pje),o9(j6e)))),M9(e,new ule(ix(rx(ox(Jw(nx(ex(tx(new Ns,VCe),"debug"),"List of Polyominoes"),"Access to the polyominoes is intended for the debug view,"),W6e),pje),o9(j6e)))),Fbe((new jc,e))};var KVe,ZVe,QVe,JVe,e$e,t$e,n$e,r$e,i$e,o$e,a$e,s$e;eB(NCe,"DisCoMetaDataProvider",833);Kce(978,1,qke,jc),_xe.Qe=function(e){Fbe(e)};eB(NCe,"DisCoOptions",978);Kce(979,1,{},rt),_xe._e=function(){return new tt},_xe.af=function(e){};eB(NCe,"DisCoOptions/DiscoFactory",979);Kce(555,167,{320:1,167:1,555:1},Zfe),_xe.a=0,_xe.b=0,_xe.c=0,_xe.d=0;var l$e,u$e,c$e;eB("org.eclipse.elk.alg.disco.structures","DCPolyomino",555);Kce(1240,1,L_e,it),_xe.Mb=function(e){return gM(e)};eB(XCe,"ElkGraphComponentsProcessor/lambda$0$Type",1240);Kce(1241,1,{},ot),_xe.Kb=function(e){return b$(),Pae(LL(e,80))};eB(XCe,"ElkGraphComponentsProcessor/lambda$1$Type",1241);Kce(1242,1,L_e,at),_xe.Mb=function(e){return function(e){return b$(),Pae(e)==rG(Rae(e))}(LL(e,80))};eB(XCe,"ElkGraphComponentsProcessor/lambda$2$Type",1242);Kce(1243,1,{},st),_xe.Kb=function(e){return b$(),Rae(LL(e,80))};eB(XCe,"ElkGraphComponentsProcessor/lambda$3$Type",1243);Kce(1244,1,L_e,lt),_xe.Mb=function(e){return function(e){return b$(),Rae(e)==rG(Pae(e))}(LL(e,80))};eB(XCe,"ElkGraphComponentsProcessor/lambda$4$Type",1244);Kce(1245,1,L_e,Vd),_xe.Mb=function(e){return function(e,t){return b$(),e==rG(Pae(t))||e==rG(Rae(t))}(this.a,LL(e,80))};eB(XCe,"ElkGraphComponentsProcessor/lambda$5$Type",1245);Kce(1246,1,{},$d),_xe.Kb=function(e){return function(e,t){return b$(),e==Pae(t)?Rae(t):Pae(t)}(this.a,LL(e,80))};eB(XCe,"ElkGraphComponentsProcessor/lambda$6$Type",1246);Kce(1215,1,{},Tq),_xe.a=0;eB(XCe,"ElkGraphTransformer",1215);Kce(1216,1,{},ut),_xe.Od=function(e,t){!function(e,t,n){var r,i,o,a;e.a=n.b.d,BT(t,349)?(yX(o=$se(i=Wde(LL(t,80),!1,!1)),r=new Hd(e)),ebe(o,i),null!=t.Xe((fxe(),n9e))&&yX(LL(t.Xe(n9e),74),r)):((a=LL(t,464)).Cg(a.yg()+e.a.a),a.Dg(a.zg()+e.a.b))}(this,LL(e,160),LL(t,265))};eB(XCe,"ElkGraphTransformer/OffsetApplier",1216);Kce(1217,1,c_e,Hd),_xe.td=function(e){!function(e,t){nO(t,e.a.a.a,e.a.a.b)}(this,LL(e,8))};eB(XCe,"ElkGraphTransformer/OffsetApplier/OffSetToChainApplier",1217);Kce(736,1,{},ct);eB(JCe,eEe,736);Kce(1205,1,_ke,ft),_xe.ue=function(e,t){return function(e,t){var n,r,i;return 0==(n=LL(Fae(t,(fde(),P$e)),20).a-LL(Fae(e,P$e),20).a)?(r=VD(RT(LL(Fae(e,(y1(),B$e)),8)),LL(Fae(e,V$e),8)),i=VD(RT(LL(Fae(t,B$e),8)),LL(Fae(t,V$e),8)),j8(r.a*r.b,i.a*i.b)):n}(LL(e,229),LL(t,229))},_xe.Fb=function(e){return this===e},_xe.ve=function(){return new ad(this)};eB(JCe,tEe,1205);Kce(723,207,PCe,Fb),_xe.$e=function(e,t){ale(this,e,t)};eB(JCe,"ForceLayoutProvider",723);Kce(354,134,{3:1,354:1,94:1,134:1});eB(nEe,"FParticle",354);Kce(552,354,{3:1,552:1,354:1,94:1,134:1},Fz),_xe.Ib=function(){var e;return this.a?(e=vZ(this.a.a,this,0))>=0?"b"+e+"["+Rq(this.a)+"]":"b["+Rq(this.a)+"]":"b_"+lP(this)};eB(nEe,"FBendpoint",552);Kce(281,134,{3:1,281:1,94:1,134:1},TD),_xe.Ib=function(){return Rq(this)};eB(nEe,"FEdge",281);Kce(229,134,{3:1,229:1,94:1,134:1},hY);var f$e=eB(nEe,"FGraph",229);Kce(441,354,{3:1,441:1,354:1,94:1,134:1},xq),_xe.Ib=function(){return null==this.b||0==this.b.length?"l["+Rq(this.a)+"]":"l_"+this.b};eB(nEe,"FLabel",441);Kce(144,354,{3:1,144:1,354:1,94:1,134:1},dB),_xe.Ib=function(){return gW(this)},_xe.b=0;eB(nEe,"FNode",144);Kce(1972,1,{}),_xe.cf=function(e){Ime(this,e)},_xe.df=function(){pre(this)},_xe.d=0;eB(iEe,"AbstractForceModel",1972);Kce(621,1972,{621:1},F2),_xe.bf=function(e,t){var n,i,o,a,s;return kue(this.f,e,t),o=VD(RT(t.d),e.d),s=r.Math.sqrt(o.a*o.a+o.b*o.b),i=r.Math.max(0,s-EB(e.e)/2-EB(t.e)/2),a=(n=t4(this.e,e,t))>0?-function(e,t){return e>0?r.Math.log(e/t):-100}(i,this.c)*n:function(e,t){return e>0?t/(e*e):100*t}(i,this.b)*LL(Fae(e,(fde(),P$e)),20).a,cA(o,a/s),o},_xe.cf=function(e){Ime(this,e),this.a=LL(Fae(e,(fde(),E$e)),20).a,this.c=Oy($O(Fae(e,j$e))),this.b=Oy($O(Fae(e,D$e)))},_xe.ef=function(e){return e<this.a},_xe.a=0,_xe.b=0,_xe.c=0;eB(iEe,"EadesModel",621);Kce(622,1972,{622:1},dN),_xe.bf=function(e,t){var n,i,o,a,s;return kue(this.f,e,t),o=VD(RT(t.d),e.d),s=r.Math.sqrt(o.a*o.a+o.b*o.b),a=function(e,t){return e>0?t*t/e:t*t*100}(i=r.Math.max(0,s-EB(e.e)/2-EB(t.e)/2),this.a)*LL(Fae(e,(fde(),P$e)),20).a,(n=t4(this.e,e,t))>0&&(a-=function(e,t){return e*e/t}(i,this.a)*n),cA(o,a*this.b/s),o},_xe.cf=function(e){var t,n,i,o,a,s,l;for(Ime(this,e),this.b=Oy($O(Fae(e,(fde(),F$e)))),this.c=this.b/LL(Fae(e,E$e),20).a,i=e.e.c.length,a=0,o=0,l=new td(e.e);l.a<l.c.c.length;)a+=(s=LL(xW(l),144)).e.a,o+=s.e.b;t=a*o,n=Oy($O(Fae(e,j$e)))*lCe,this.a=r.Math.sqrt(t/(2*i))*n},_xe.df=function(){pre(this),this.b-=this.c},_xe.ef=function(e){return this.b>0},_xe.a=0,_xe.b=0,_xe.c=0;var h$e,d$e,p$e,g$e,m$e,b$e,v$e,y$e;eB(iEe,"FruchtermanReingoldModel",622);Kce(828,1,qke,Fc),_xe.Qe=function(e){M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,oEe),""),"Force Model"),"Determines the model for force calculation."),p$e),(mle(),$6e)),z$e),o9((dte(),j6e))))),M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,aEe),""),"Iterations"),"The number of iterations on the force model."),k8(300)),G6e),gFe),o9(j6e)))),M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,sEe),""),"Repulsive Power"),"Determines how many bend points are added to the edge; such bend points are regarded as repelling particles in the force model"),k8(0)),G6e),gFe),o9(R6e)))),M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,lEe),""),"FR Temperature"),"The temperature is used as a scaling factor for particle displacements."),uEe),V6e),fFe),o9(j6e)))),nU(e,lEe,oEe,y$e),M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,cEe),""),"Eades Repulsion"),"Factor for repulsive forces in Eades' model."),5),V6e),fFe),o9(j6e)))),nU(e,cEe,oEe,m$e),Hye((new zc,e))};var w$e,x$e;eB(fEe,"ForceMetaDataProvider",828);Kce(418,22,{3:1,36:1,22:1,418:1},zk);var _$e,S$e,k$e,C$e,E$e,I$e,M$e,T$e,A$e,P$e,O$e,D$e,R$e,L$e,N$e,j$e,F$e,z$e=f0(fEe,"ForceModelStrategy",418,Aje,(function(){return jQ(),q3(lw(z$e,1),A_e,418,0,[w$e,x$e])}),(function(e){return jQ(),fQ((uX(),_$e),e)}));Kce(968,1,qke,zc),_xe.Qe=function(e){Hye(e)};eB(fEe,"ForceOptions",968);Kce(969,1,{},mt),_xe._e=function(){return new Fb},_xe.af=function(e){};var B$e,V$e,$$e,H$e,G$e,W$e,U$e,q$e,X$e,Y$e;eB(fEe,"ForceOptions/ForceFactory",969);Kce(829,1,qke,Bc),_xe.Qe=function(e){M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,EEe),""),"Fixed Position"),"Prevent that the node is moved by the layout algorithm."),(_P(),!1)),(mle(),B6e)),oFe),o9((dte(),N6e))))),M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,IEe),""),"Desired Edge Length"),"Either specified for parent nodes or for individual edges, where the latter takes higher precedence."),100),V6e),fFe),Oj(j6e,q3(lw(X6e,1),A_e,175,0,[R6e]))))),M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,MEe),""),"Layout Dimension"),"Dimensions that are permitted to be altered during layout."),U$e),$6e),sHe),o9(j6e)))),M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,TEe),""),"Stress Epsilon"),"Termination criterion for the iterative process."),uEe),V6e),fFe),o9(j6e)))),M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,AEe),""),"Iteration Limit"),"Maximum number of performed iterations. Takes higher precedence than 'epsilon'."),k8(Dxe)),G6e),gFe),o9(j6e)))),Ave((new Vc,e))};var K$e,Z$e,Q$e,J$e,eHe,tHe,nHe;eB(fEe,"StressMetaDataProvider",829);Kce(972,1,qke,Vc),_xe.Qe=function(e){Ave(e)};eB(fEe,"StressOptions",972);Kce(973,1,{},pt),_xe._e=function(){return new AD},_xe.af=function(e){};eB(fEe,"StressOptions/StressFactory",973);Kce(1101,207,PCe,AD),_xe.$e=function(e,t){var n,r,i,o;for(qoe(t,OEe,1),Ty(VO(xfe(e,(Xte(),eHe))))||ale(new Fb,e,a2(t,1)),r=_5(e),o=(n=Ume(this.a,r)).Ic();o.Ob();)(i=LL(o.Pb(),229)).e.c.length<=1||(wve(this.b,i),kfe(this.b),uJ(i.d,new gt));pwe(r=kwe(n)),_se(t)};eB(DEe,"StressLayoutProvider",1101);Kce(1102,1,c_e,gt),_xe.td=function(e){Lbe(LL(e,441))};eB(DEe,"StressLayoutProvider/lambda$0$Type",1102);Kce(970,1,{},Ab),_xe.c=0,_xe.e=0,_xe.g=0;var rHe,iHe,oHe;eB(DEe,"StressMajorization",970);Kce(376,22,{3:1,36:1,22:1,376:1},Bk);var aHe,sHe=f0(DEe,"StressMajorization/Dimension",376,Aje,(function(){return AZ(),q3(lw(sHe,1),A_e,376,0,[iHe,rHe,oHe])}),(function(e){return AZ(),fQ((NY(),aHe),e)}));Kce(971,1,_ke,Gd),_xe.ue=function(e,t){return function(e,t,n){return j8(e[t.b],e[n.b])}(this.a,LL(e,144),LL(t,144))},_xe.Fb=function(e){return this===e},_xe.ve=function(){return new ad(this)};eB(DEe,"StressMajorization/lambda$0$Type",971);Kce(1202,1,{},CW);eB(LEe,"ElkLayered",1202);Kce(1203,1,c_e,Wd),_xe.td=function(e){!function(e,t){LL(Fae(t,(Kwe(),GZe)),333)==($q(),AUe)&&S5(t,GZe,e)}(this.a,LL(e,38))};eB(LEe,"ElkLayered/lambda$0$Type",1203);Kce(1204,1,c_e,Ud),_xe.td=function(e){!function(e,t){S5(t,(Kwe(),FZe),e)}(this.a,LL(e,38))};var lHe,uHe,cHe;eB(LEe,"ElkLayered/lambda$1$Type",1204);Kce(1237,1,{},XT);eB(LEe,"GraphConfigurator",1237);Kce(742,1,c_e,qd),_xe.td=function(e){gse(this.a,LL(e,10))};eB(LEe,"GraphConfigurator/lambda$0$Type",742);Kce(743,1,{},dt),_xe.Kb=function(e){return Aie(),new cj(null,new ZG(LL(e,29).a,16))};eB(LEe,"GraphConfigurator/lambda$1$Type",743);Kce(744,1,c_e,Xd),_xe.td=function(e){gse(this.a,LL(e,10))};eB(LEe,"GraphConfigurator/lambda$2$Type",744);Kce(1100,207,PCe,$b),_xe.$e=function(e,t){var n;n=Ebe(new Kb,e),OI(xfe(e,(Kwe(),uQe)))===OI((P8(),$7e))?V9(this.a,n,t):cce(this.a,n,t),uwe(new $c,n)};var fHe,hHe,dHe,pHe,gHe;eB(LEe,"LayeredLayoutProvider",1100);Kce(353,22,{3:1,36:1,22:1,353:1},Vk);var mHe,bHe,vHe=f0(LEe,"LayeredPhases",353,Aje,(function(){return zae(),q3(lw(vHe,1),A_e,353,0,[fHe,hHe,dHe,pHe,gHe])}),(function(e){return zae(),fQ((LQ(),mHe),e)}));Kce(1621,1,{},D0),_xe.i=0;var yHe;eB(NEe,"ComponentsToCGraphTransformer",1621);Kce(1622,1,{},bt),_xe.ff=function(e,t){return r.Math.min(null!=e.a?Oy(e.a):e.c.i,null!=t.a?Oy(t.a):t.c.i)},_xe.gf=function(e,t){return r.Math.min(null!=e.a?Oy(e.a):e.c.i,null!=t.a?Oy(t.a):t.c.i)};eB(NEe,"ComponentsToCGraphTransformer/1",1622);Kce(79,1,{79:1}),_xe.i=0,_xe.k=!0,_xe.o=LSe;var wHe=eB(jEe,"CNode",79);Kce(454,79,{454:1,79:1},yP,Nee),_xe.Ib=function(){return""};var xHe,_He;eB(NEe,"ComponentsToCGraphTransformer/CRectNode",454);Kce(1593,1,{},vt);eB(NEe,"OneDimensionalComponentsCompaction",1593);Kce(1594,1,{},ht),_xe.Kb=function(e){return function(e){return p6(),_P(),0!=LL(e.a,79).d.e}(LL(e,46))},_xe.Fb=function(e){return this===e};eB(NEe,"OneDimensionalComponentsCompaction/lambda$0$Type",1594);Kce(1595,1,{},yt),_xe.Kb=function(e){return function(e){return p6(),_P(),!!(S9(LL(e.a,79).j,LL(e.b,108))||0!=LL(e.a,79).d.e&&S9(LL(e.a,79).j,LL(e.b,108)))}(LL(e,46))},_xe.Fb=function(e){return this===e};eB(NEe,"OneDimensionalComponentsCompaction/lambda$1$Type",1595);Kce(1624,1,{},pB);eB(jEe,"CGraph",1624);Kce(189,1,{189:1},jee),_xe.b=0,_xe.c=0,_xe.e=0,_xe.g=!0,_xe.i=LSe;eB(jEe,"CGroup",189);Kce(1623,1,{},St),_xe.ff=function(e,t){return r.Math.max(null!=e.a?Oy(e.a):e.c.i,null!=t.a?Oy(t.a):t.c.i)},_xe.gf=function(e,t){return r.Math.max(null!=e.a?Oy(e.a):e.c.i,null!=t.a?Oy(t.a):t.c.i)};var SHe;eB(jEe,Ike,1623);Kce(1625,1,{},ace),_xe.d=!1;var kHe=eB(jEe,Oke,1625);Kce(1626,1,{},kt),_xe.Kb=function(e){return wS(),_P(),0!=LL(LL(e,46).a,79).d.e},_xe.Fb=function(e){return this===e};eB(jEe,Dke,1626);Kce(802,1,{},GN),_xe.a=!1,_xe.b=!1,_xe.c=!1,_xe.d=!1;eB(jEe,Rke,802);Kce(1797,1,{},qj);eB(FEe,Lke,1797);var CHe=NN(zEe,kke);Kce(1798,1,{366:1},L$),_xe.Ke=function(e){!function(e,t){var n,r,i;t.a?(Iz(e.b,t.b),e.a[t.b.i]=LL(dR(e.b,t.b),79),(n=LL(hR(e.b,t.b),79))&&(e.a[n.i]=t.b)):(!!(r=LL(dR(e.b,t.b),79))&&r==e.a[t.b.i]&&!!r.d&&r.d!=t.b.d&&r.f.Dc(t.b),!!(i=LL(hR(e.b,t.b),79))&&e.a[i.i]==t.b&&!!i.d&&i.d!=t.b.d&&t.b.f.Dc(i),sP(e.b,t.b))}(this,LL(e,460))};eB(FEe,Nke,1798);Kce(1799,1,_ke,Ct),_xe.ue=function(e,t){return function(e,t){return j8(e.g.c+e.g.b/2,t.g.c+t.g.b/2)}(LL(e,79),LL(t,79))},_xe.Fb=function(e){return this===e},_xe.ve=function(){return new ad(this)};eB(FEe,jke,1799);Kce(460,1,{460:1},Wk),_xe.a=!1;eB(FEe,Fke,460);Kce(1800,1,_ke,Et),_xe.ue=function(e,t){return function(e,t){var n,r,i;if(r=e.b.g.d,e.a||(r+=e.b.g.a),i=t.b.g.d,t.a||(i+=t.b.g.a),0==(n=j8(r,i))){if(!e.a&&t.a)return-1;if(!t.a&&e.a)return 1}return n}(LL(e,460),LL(t,460))},_xe.Fb=function(e){return this===e},_xe.ve=function(){return new ad(this)};eB(FEe,zke,1800);Kce(140,1,{140:1},Uk,JL),_xe.Fb=function(e){var t;return null!=e&&(AHe==g4(e)&&(t=LL(e,140),cV(this.c,t.c)&&cV(this.d,t.d)))},_xe.Hb=function(){return J4(q3(lw(pje,1),zxe,1,5,[this.c,this.d]))},_xe.Ib=function(){return"("+this.c+jxe+this.d+(this.a?"cx":"")+this.b+")"},_xe.a=!0,_xe.c=0,_xe.d=0;var EHe,IHe,MHe,THe,AHe=eB(zEe,"Point",140);Kce(400,22,{3:1,36:1,22:1,400:1},Yk);var PHe,OHe,DHe,RHe,LHe,NHe,jHe=f0(zEe,"Point/Quadrant",400,Aje,(function(){return p5(),q3(lw(jHe,1),A_e,400,0,[EHe,THe,IHe,MHe])}),(function(e){return p5(),fQ((iZ(),PHe),e)}));Kce(1612,1,{},Hb),_xe.b=null,_xe.c=null,_xe.d=null,_xe.e=null,_xe.f=null;var FHe;eB(zEe,"RectilinearConvexHull",1612);Kce(566,1,{366:1},Ite),_xe.Ke=function(e){!function(e,t){e.a.ue(t.d,e.b)>0&&(RL(e.c,new JL(t.c,t.d,e.d)),e.b=t.d)}(this,LL(e,140))},_xe.b=0;eB(zEe,"RectilinearConvexHull/MaximalElementsEventHandler",566);Kce(1614,1,_ke,xt),_xe.ue=function(e,t){return function(e,t){return SS(),j8((wB(e),e),(wB(t),t))}($O(e),$O(t))},_xe.Fb=function(e){return this===e},_xe.ve=function(){return new ad(this)};eB(zEe,"RectilinearConvexHull/MaximalElementsEventHandler/lambda$0$Type",1614);Kce(1613,1,{366:1},UQ),_xe.Ke=function(e){Vhe(this,LL(e,140))},_xe.a=0,_xe.b=null,_xe.c=null,_xe.d=null,_xe.e=null;eB(zEe,"RectilinearConvexHull/RectangleEventHandler",1613);Kce(1615,1,_ke,_t),_xe.ue=function(e,t){return function(e,t){return zQ(),e.c==t.c?j8(t.d,e.d):j8(e.c,t.c)}(LL(e,140),LL(t,140))},_xe.Fb=function(e){return this===e},_xe.ve=function(){return new ad(this)};eB(zEe,"RectilinearConvexHull/lambda$0$Type",1615);Kce(1616,1,_ke,wt),_xe.ue=function(e,t){return function(e,t){return zQ(),e.c==t.c?j8(e.d,t.d):j8(e.c,t.c)}(LL(e,140),LL(t,140))},_xe.Fb=function(e){return this===e},_xe.ve=function(){return new ad(this)};eB(zEe,"RectilinearConvexHull/lambda$1$Type",1616);Kce(1617,1,_ke,It),_xe.ue=function(e,t){return function(e,t){return zQ(),e.c==t.c?j8(t.d,e.d):j8(t.c,e.c)}(LL(e,140),LL(t,140))},_xe.Fb=function(e){return this===e},_xe.ve=function(){return new ad(this)};eB(zEe,"RectilinearConvexHull/lambda$2$Type",1617);Kce(1618,1,_ke,Mt),_xe.ue=function(e,t){return function(e,t){return zQ(),e.c==t.c?j8(e.d,t.d):j8(t.c,e.c)}(LL(e,140),LL(t,140))},_xe.Fb=function(e){return this===e},_xe.ve=function(){return new ad(this)};eB(zEe,"RectilinearConvexHull/lambda$3$Type",1618);Kce(1619,1,_ke,Tt),_xe.ue=function(e,t){return Vae(LL(e,140),LL(t,140))},_xe.Fb=function(e){return this===e},_xe.ve=function(){return new ad(this)};eB(zEe,"RectilinearConvexHull/lambda$4$Type",1619);Kce(1620,1,{},bG);eB(zEe,"Scanline",1620);Kce(1974,1,{});var zHe;eB(BEe,"AbstractGraphPlacer",1974);Kce(503,1,{503:1},uN);eB(BEe,"ComponentGroup",503);Kce(1265,1974,{},Gb),_xe.mf=function(e,t){var n,r,i,o,a,s,l,u,c,f,h,d;if(this.a.c=fK(pje,zxe,1,0,5,1),t.a.c=fK(pje,zxe,1,0,5,1),e.dc())return t.f.a=0,void(t.f.b=0);for(c3(t,o=LL(e.Xb(0),38)),r=e.Ic();r.Ob();)K8(this,LL(r.Pb(),38));for(d=new hx,i=Oy($O(Fae(o,(Kwe(),vJe)))),l=new td(this.a);l.a<l.c.c.length;)u=Bwe(a=LL(xW(l),503),i),RK(Uz(a.a),d.a,d.b),d.a+=u.a,d.b+=u.b;if(t.f.a=d.a-i,t.f.b=d.b-i,Ty(VO(Fae(o,OZe)))&&OI(Fae(o,eQe))===OI(($9(),w7e))){for(h=e.Ic();h.Ob();)oge(c=LL(h.Pb(),38),c.c.a,c.c.b);for(Zwe(n=new At,e,i),f=e.Ic();f.Ob();)BD(nM((c=LL(f.Pb(),38)).c),n.e);BD(nM(t.f),n.a)}for(s=new td(this.a);s.a<s.c.c.length;)DK(t,Uz((a=LL(xW(s),503)).a))};eB(BEe,"ComponentGroupGraphPlacer",1265);Kce(771,1,{},At);eB(BEe,"ComponentsCompactor",771);Kce(1437,12,qSe,_X),_xe.Dc=function(e){return aoe(this,LL(e,140))};eB(BEe,"ComponentsCompactor/Hullpoints",1437);Kce(1434,1,{820:1},tne),_xe.a=!1;eB(BEe,"ComponentsCompactor/InternalComponent",1434);Kce(1433,1,g_e,Wb),_xe.Hc=function(e){yX(this,e)},_xe.Ic=function(){return new td(this.a)};eB(BEe,"ComponentsCompactor/InternalConnectedComponents",1433);Kce(1436,1,{585:1},sce),_xe.jf=function(){return null},_xe.kf=function(){return this.a},_xe.hf=function(){return yte(this.d)},_xe.lf=function(){return this.b};eB(BEe,"ComponentsCompactor/InternalExternalExtension",1436);Kce(1435,1,{585:1},Xb),_xe.kf=function(){return this.a},_xe.hf=function(){return yte(this.d)},_xe.jf=function(){return this.c},_xe.lf=function(){return this.b};eB(BEe,"ComponentsCompactor/InternalUnionExternalExtension",1435);Kce(1439,1,{},jde);eB(BEe,"ComponentsCompactor/OuterSegments",1439);Kce(1438,1,{},Ub);eB(BEe,"ComponentsCompactor/Segments",1438);Kce(1238,1,{},PD);eB(BEe,eEe,1238);Kce(1239,1,_ke,Pt),_xe.ue=function(e,t){return function(e,t){var n,i,o,a,s;for(n=Dxe,s=new td(e.a);s.a<s.c.c.length;)ZP(o=LL(xW(s),10),(hxe(),PXe))&&(n=r.Math.min(n,LL(Fae(o,PXe),20).a));for(i=Dxe,a=new td(t.a);a.a<a.c.c.length;)ZP(o=LL(xW(a),10),(hxe(),PXe))&&(i=r.Math.min(i,LL(Fae(o,PXe),20).a));return n<i?-1:n>i?1:0}(LL(e,38),LL(t,38))},_xe.Fb=function(e){return this===e},_xe.ve=function(){return new ad(this)};eB(BEe,"ComponentsProcessor/lambda$0$Type",1239);Kce(1263,1974,{},Ot),_xe.mf=function(e,t){var n,i,o,a,s,l,u,c,f,h,d,p,g,m,b,v,y,w,x,_;if(1!=e.gc()){if(e.dc())return t.a.c=fK(pje,zxe,1,0,5,1),t.f.a=0,void(t.f.b=0);for(u=e.Ic();u.Ob();){for(b=0,g=new td((s=LL(u.Pb(),38)).a);g.a<g.c.c.length;)p=LL(xW(g),10),b+=LL(Fae(p,(Kwe(),uJe)),20).a;s.p=b}for(v$(),e.$c(new Dt),a=LL(e.Xb(0),38),t.a.c=fK(pje,zxe,1,0,5,1),c3(t,a),d=0,w=0,c=e.Ic();c.Ob();)v=(s=LL(c.Pb(),38)).f,d=r.Math.max(d,v.a),w+=v.a*v.b;for(d=r.Math.max(d,r.Math.sqrt(w)*Oy($O(Fae(t,(Kwe(),AZe))))),x=0,_=0,h=0,n=o=Oy($O(Fae(t,vJe))),l=e.Ic();l.Ob();)x+(v=(s=LL(l.Pb(),38)).f).a>d&&(x=0,_+=h+o,h=0),oge(s,x+(m=s.c).a,_+m.b),nM(m),n=r.Math.max(n,x+v.a),h=r.Math.max(h,v.b),x+=v.a+o;if(t.f.a=n,t.f.b=_+h,Ty(VO(Fae(a,OZe)))){for(Zwe(i=new At,e,o),f=e.Ic();f.Ob();)BD(nM(LL(f.Pb(),38).c),i.e);BD(nM(t.f),i.a)}DK(t,e)}else(y=LL(e.Xb(0),38))!=t&&(t.a.c=fK(pje,zxe,1,0,5,1),Ige(t,y,0,0),c3(t,y),l$(t.d,y.d),t.f.a=y.f.a,t.f.b=y.f.b)};eB(BEe,"SimpleRowGraphPlacer",1263);Kce(1264,1,_ke,Dt),_xe.ue=function(e,t){return function(e,t){var n;return 0==(n=t.p-e.p)&&OI(Fae(e,(Kwe(),LZe)))===OI((W5(),E0e))?j8(e.f.a*e.f.b,t.f.a*t.f.b):n}(LL(e,38),LL(t,38))},_xe.Fb=function(e){return this===e},_xe.ve=function(){return new ad(this)};var BHe;eB(BEe,"SimpleRowGraphPlacer/1",1264);Kce(1236,1,Bke,Rt),_xe.Lb=function(e){var t;return!!(t=LL(Fae(LL(e,242).b,(Kwe(),vQe)),74))&&0!=t.b},_xe.Fb=function(e){return this===e},_xe.Mb=function(e){var t;return!!(t=LL(Fae(LL(e,242).b,(Kwe(),vQe)),74))&&0!=t.b};eB(HEe,"CompoundGraphPostprocessor/1",1236);Kce(1235,1,GEe,Yb),_xe.nf=function(e,t){pne(this,LL(e,38),t)};eB(HEe,"CompoundGraphPreprocessor",1235);Kce(435,1,{435:1},w9),_xe.c=!1;eB(HEe,"CompoundGraphPreprocessor/ExternalPort",435);Kce(242,1,{242:1},ZR),_xe.Ib=function(){return JP(this.c)+":"+$ue(this.b)};eB(HEe,"CrossHierarchyEdge",242);Kce(747,1,_ke,Yd),_xe.ue=function(e,t){return function(e,t,n){var r,i;return t.c==(E0(),L0e)&&n.c==R0e?-1:t.c==R0e&&n.c==L0e?1:(r=Q4(t.a,e.a),i=Q4(n.a,e.a),t.c==L0e?i-r:r-i)}(this,LL(e,242),LL(t,242))},_xe.Fb=function(e){return this===e},_xe.ve=function(){return new ad(this)};eB(HEe,"CrossHierarchyEdgeComparator",747);Kce(299,134,{3:1,299:1,94:1,134:1}),_xe.p=0;eB(WEe,"LGraphElement",299);Kce(18,299,{3:1,18:1,299:1,94:1,134:1},N$),_xe.Ib=function(){return $ue(this)};var VHe=eB(WEe,"LEdge",18);Kce(38,299,{3:1,19:1,38:1,299:1,94:1,134:1},R0),_xe.Hc=function(e){yX(this,e)},_xe.Ic=function(){return new td(this.b)},_xe.Ib=function(){return 0==this.b.c.length?"G-unlayered"+Wae(this.a):0==this.a.c.length?"G-layered"+Wae(this.b):"G[layerless"+Wae(this.a)+", layers"+Wae(this.b)+"]"};var $He=eB(WEe,"LGraph",38);Kce(646,1,{}),_xe.of=function(){return this.e.n},_xe.Xe=function(e){return Fae(this.e,e)},_xe.pf=function(){return this.e.o},_xe.qf=function(){return this.e.p},_xe.Ye=function(e){return ZP(this.e,e)},_xe.rf=function(e){this.e.n.a=e.a,this.e.n.b=e.b},_xe.sf=function(e){this.e.o.a=e.a,this.e.o.b=e.b},_xe.tf=function(e){this.e.p=e};eB(WEe,"LGraphAdapters/AbstractLShapeAdapter",646);Kce(569,1,{818:1},Kd),_xe.uf=function(){var e,t;if(!this.b)for(this.b=$P(this.a.b.c.length),t=new td(this.a.b);t.a<t.c.c.length;)e=LL(xW(t),69),RL(this.b,new Zd(e));return this.b},_xe.b=null;eB(WEe,"LGraphAdapters/LEdgeAdapter",569);Kce(645,1,{},OV),_xe.vf=function(){return Yme(this)},_xe.of=function(){throw Jm(new By(qEe))},_xe.Xe=function(e){return Fae(this.a,e)},_xe.pf=function(){return this.a.f},_xe.qf=function(){return this.a.p},_xe.Ye=function(e){return ZP(this.a,e)},_xe.rf=function(e){throw Jm(new By(qEe))},_xe.sf=function(e){this.a.f.a=e.a,this.a.f.b=e.b},_xe.tf=function(e){this.a.p=e},_xe.b=null,_xe.d=!1,_xe.e=!1;eB(WEe,"LGraphAdapters/LGraphAdapter",645);Kce(568,646,{183:1},Zd);eB(WEe,"LGraphAdapters/LLabelAdapter",568);Kce(567,646,{816:1},eL),_xe.wf=function(){return this.b},_xe.xf=function(){return v$(),v$(),XFe},_xe.uf=function(){var e,t;if(!this.a)for(this.a=$P(LL(this.e,10).b.c.length),t=new td(LL(this.e,10).b);t.a<t.c.c.length;)e=LL(xW(t),69),RL(this.a,new Zd(e));return this.a},_xe.yf=function(){var e;return new HD((e=LL(this.e,10).d).d,e.c,e.a,e.b)},_xe.zf=function(){return v$(),v$(),XFe},_xe.Af=function(){var e,t;if(!this.c)for(this.c=$P(LL(this.e,10).j.c.length),t=new td(LL(this.e,10).j);t.a<t.c.c.length;)e=LL(xW(t),11),RL(this.c,new qk(e,this.d));return this.c},_xe.Bf=function(){return Ty(VO(Fae(LL(this.e,10),(hxe(),nXe))))},_xe.Cf=function(e){LL(this.e,10).d.b=e.b,LL(this.e,10).d.d=e.d,LL(this.e,10).d.c=e.c,LL(this.e,10).d.a=e.a},_xe.Df=function(e){LL(this.e,10).f.b=e.b,LL(this.e,10).f.d=e.d,LL(this.e,10).f.c=e.c,LL(this.e,10).f.a=e.a},_xe.a=null,_xe.b=null,_xe.c=null,_xe.d=!1;eB(WEe,"LGraphAdapters/LNodeAdapter",567);Kce(1692,646,{817:1},qk),_xe.xf=function(){var e,t,n,r;if(this.d&&LL(this.e,11).i.k==(mse(),YHe))return v$(),v$(),XFe;if(!this.a){for(this.a=new $m,n=new td(LL(this.e,11).e);n.a<n.c.c.length;)e=LL(xW(n),18),RL(this.a,new Kd(e));if(this.d&&(r=LL(Fae(LL(this.e,11),(hxe(),BXe)),10)))for(t=new xF(BA(p9(r).a.Ic(),new p));Zce(t);)e=LL(dX(t),18),RL(this.a,new Kd(e))}return this.a},_xe.uf=function(){var e,t;if(!this.b)for(this.b=$P(LL(this.e,11).f.c.length),t=new td(LL(this.e,11).f);t.a<t.c.c.length;)e=LL(xW(t),69),RL(this.b,new Zd(e));return this.b},_xe.zf=function(){var e,t,n,r;if(this.d&&LL(this.e,11).i.k==(mse(),YHe))return v$(),v$(),XFe;if(!this.c){for(this.c=new $m,n=new td(LL(this.e,11).g);n.a<n.c.c.length;)e=LL(xW(n),18),RL(this.c,new Kd(e));if(this.d&&(r=LL(Fae(LL(this.e,11),(hxe(),BXe)),10)))for(t=new xF(BA(g9(r).a.Ic(),new p));Zce(t);)e=LL(dX(t),18),RL(this.c,new Kd(e))}return this.c},_xe.Ef=function(){return LL(this.e,11).j},_xe.Ff=function(){return Ty(VO(Fae(LL(this.e,11),(hxe(),yXe))))},_xe.a=null,_xe.b=null,_xe.c=null,_xe.d=!1;eB(WEe,"LGraphAdapters/LPortAdapter",1692);Kce(786,1,L_e,Lt),_xe.Mb=function(e){return LL(e,10),!0};eB(WEe,"LGraphAdapters/lambda$0$Type",786);Kce(388,299,{3:1,299:1,388:1,94:1,134:1});eB(WEe,"LShape",388);Kce(69,388,{3:1,299:1,69:1,388:1,94:1,134:1},Rw,HT),_xe.Ib=function(){var e;return null==(e=function(e){return e.a?e.a:$V(e)}(this))?"label":"l_"+e};eB(WEe,"LLabel",69);Kce(205,1,{3:1,4:1,205:1,409:1}),_xe.Fb=function(e){var t;return!!BT(e,205)&&(t=LL(e,205),this.d==t.d&&this.a==t.a&&this.b==t.b&&this.c==t.c)},_xe.Hb=function(){var e,t;return e=wM(this.b)<<16,e|=wM(this.a)&X_e,t=wM(this.c)<<16,e^(t|=wM(this.d)&X_e)},_xe.Gf=function(e){var t,n,r,i,o,a,s,l,u;for(i=0;i<e.length&&m6((TG(i,e.length),e.charCodeAt(i)),ZEe);)++i;for(t=e.length;t>0&&m6((TG(t-1,e.length),e.charCodeAt(t-1)),QEe);)--t;if(i<t){l=wge(e.substr(i,t-i),",|;");try{for(a=0,s=(o=l).length;a<s;++a){if(2!=(r=wge(o[a],"=")).length)throw Jm(new Ny("Expecting a list of key-value pairs."));n=Yae(r[0]),u=pse(Yae(r[1])),fR(n,"top")?this.d=u:fR(n,"left")?this.b=u:fR(n,"bottom")?this.a=u:fR(n,"right")&&(this.c=u)}}catch(e){throw BT(e=v3(e),127)?Jm(new Ny(JEe+e)):Jm(e)}}},_xe.Ib=function(){return"[top="+this.d+",left="+this.b+",bottom="+this.a+",right="+this.c+"]"},_xe.a=0,_xe.b=0,_xe.c=0,_xe.d=0;eB(eIe,"Spacing",205);Kce(141,205,tIe,av,XM,HD,tL);var HHe=eB(eIe,"ElkMargin",141);Kce(640,141,tIe,lv);eB(WEe,"LMargin",640);Kce(10,388,{3:1,299:1,10:1,388:1,94:1,134:1},Sne),_xe.Ib=function(){return Dte(this)},_xe.i=!1;var GHe,WHe,UHe,qHe,XHe,YHe,KHe=eB(WEe,"LNode",10);Kce(266,22,{3:1,36:1,22:1,266:1},Zk);var ZHe,QHe=f0(WEe,"LNode/NodeType",266,Aje,(function(){return mse(),q3(lw(QHe,1),A_e,266,0,[XHe,qHe,WHe,YHe,UHe,GHe])}),(function(e){return mse(),fQ((BJ(),ZHe),e)}));Kce(115,205,nIe,sv,sT,nL);var JHe=eB(eIe,"ElkPadding",115);Kce(748,115,nIe,uv);var eGe,tGe,nGe,rGe,iGe,oGe;eB(WEe,"LPadding",748);Kce(11,388,{3:1,299:1,11:1,388:1,94:1,134:1},Pse),_xe.Ib=function(){var e,t,n;return UI(((e=new pw).a+="p_",e),Tre(this)),this.i&&UI(WI((e.a+="[",e),this.i),"]"),1==this.e.c.length&&0==this.g.c.length&&LL(JN(this.e,0),18).c!=this&&(t=LL(JN(this.e,0),18).c,UI((e.a+=" << ",e),Tre(t)),UI(WI((e.a+="[",e),t.i),"]")),0==this.e.c.length&&1==this.g.c.length&&LL(JN(this.g,0),18).d!=this&&(n=LL(JN(this.g,0),18).d,UI((e.a+=" >> ",e),Tre(n)),UI(WI((e.a+="[",e),n.i),"]")),e.a},_xe.c=!0,_xe.d=!1;var aGe=eB(WEe,"LPort",11);Kce(393,1,g_e,Qd),_xe.Hc=function(e){yX(this,e)},_xe.Ic=function(){return new Jd(new td(this.a.e))};eB(WEe,"LPort/1",393);Kce(1262,1,qxe,Jd),_xe.Nb=function(e){GF(this,e)},_xe.Pb=function(){return LL(xW(this.a),18).c},_xe.Ob=function(){return CT(this.a)},_xe.Qb=function(){ez(this.a)};eB(WEe,"LPort/1/1",1262);Kce(356,1,g_e,ep),_xe.Hc=function(e){yX(this,e)},_xe.Ic=function(){return new tp(new td(this.a.g))};eB(WEe,"LPort/2",356);Kce(746,1,qxe,tp),_xe.Nb=function(e){GF(this,e)},_xe.Pb=function(){return LL(xW(this.a),18).d},_xe.Ob=function(){return CT(this.a)},_xe.Qb=function(){ez(this.a)};eB(WEe,"LPort/2/1",746);Kce(1255,1,g_e,Xk),_xe.Hc=function(e){yX(this,e)},_xe.Ic=function(){return new fY(this)};eB(WEe,"LPort/CombineIter",1255);Kce(200,1,qxe,fY),_xe.Nb=function(e){GF(this,e)},_xe.Qb=function(){!function(){throw Jm(new _b)}()},_xe.Ob=function(){return bP(this)},_xe.Pb=function(){return CT(this.a)?xW(this.a):xW(this.b)};eB(WEe,"LPort/CombineIter/1",200);Kce(1257,1,Bke,Nt),_xe.Lb=function(e){return SF(e)},_xe.Fb=function(e){return this===e},_xe.Mb=function(e){return h2(),0!=LL(e,11).e.c.length};eB(WEe,"LPort/lambda$0$Type",1257);Kce(1256,1,Bke,jt),_xe.Lb=function(e){return kF(e)},_xe.Fb=function(e){return this===e},_xe.Mb=function(e){return h2(),0!=LL(e,11).g.c.length};eB(WEe,"LPort/lambda$1$Type",1256);Kce(1258,1,Bke,Ft),_xe.Lb=function(e){return h2(),LL(e,11).j==(hwe(),Det)},_xe.Fb=function(e){return this===e},_xe.Mb=function(e){return h2(),LL(e,11).j==(hwe(),Det)};eB(WEe,"LPort/lambda$2$Type",1258);Kce(1259,1,Bke,zt),_xe.Lb=function(e){return h2(),LL(e,11).j==(hwe(),Oet)},_xe.Fb=function(e){return this===e},_xe.Mb=function(e){return h2(),LL(e,11).j==(hwe(),Oet)};eB(WEe,"LPort/lambda$3$Type",1259);Kce(1260,1,Bke,Bt),_xe.Lb=function(e){return h2(),LL(e,11).j==(hwe(),Ket)},_xe.Fb=function(e){return this===e},_xe.Mb=function(e){return h2(),LL(e,11).j==(hwe(),Ket)};eB(WEe,"LPort/lambda$4$Type",1260);Kce(1261,1,Bke,Vt),_xe.Lb=function(e){return h2(),LL(e,11).j==(hwe(),Qet)},_xe.Fb=function(e){return this===e},_xe.Mb=function(e){return h2(),LL(e,11).j==(hwe(),Qet)};eB(WEe,"LPort/lambda$5$Type",1261);Kce(29,299,{3:1,19:1,299:1,29:1,94:1,134:1},mB),_xe.Hc=function(e){yX(this,e)},_xe.Ic=function(){return new td(this.a)},_xe.Ib=function(){return"L_"+vZ(this.b.b,this,0)+Wae(this.a)};eB(WEe,"Layer",29);Kce(1313,1,{},Kb);eB(iIe,oIe,1313);Kce(1317,1,{},$t),_xe.Kb=function(e){return Xoe(LL(e,93))};eB(iIe,"ElkGraphImporter/0methodref$connectableShapeToNode$Type",1317);Kce(1320,1,{},Ht),_xe.Kb=function(e){return Xoe(LL(e,93))};eB(iIe,"ElkGraphImporter/1methodref$connectableShapeToNode$Type",1320);Kce(1314,1,c_e,np),_xe.td=function(e){Sce(this.a,LL(e,122))};eB(iIe,aIe,1314);Kce(1315,1,c_e,rp),_xe.td=function(e){Sce(this.a,LL(e,122))};eB(iIe,sIe,1315);Kce(1316,1,{},Gt),_xe.Kb=function(e){return new cj(null,new ZG(function(e){return!e.c&&(e.c=new nR(nnt,e,5,8)),e.c}(LL(e,80)),16))};eB(iIe,lIe,1316);Kce(1318,1,L_e,ip),_xe.Mb=function(e){return function(e,t){return aJ(t,$H(e))}(this.a,LL(e,34))};eB(iIe,uIe,1318);Kce(1319,1,{},Wt),_xe.Kb=function(e){return new cj(null,new ZG(function(e){return!e.b&&(e.b=new nR(nnt,e,4,7)),e.b}(LL(e,80)),16))};eB(iIe,"ElkGraphImporter/lambda$5$Type",1319);Kce(1321,1,L_e,op),_xe.Mb=function(e){return function(e,t){return aJ(t,$H(e))}(this.a,LL(e,34))};eB(iIe,"ElkGraphImporter/lambda$7$Type",1321);Kce(1322,1,L_e,Ut),_xe.Mb=function(e){return function(e){return Que(e)&&Ty(VO(xfe(e,(Kwe(),gQe))))}(LL(e,80))};var sGe;eB(iIe,"ElkGraphImporter/lambda$8$Type",1322);Kce(1250,1,{},$c);eB(iIe,"ElkGraphLayoutTransferrer",1250);Kce(1251,1,L_e,ap),_xe.Mb=function(e){return function(e,t){return TS(),!K2(t.d.i,e)}(this.a,LL(e,18))};eB(iIe,"ElkGraphLayoutTransferrer/lambda$0$Type",1251);Kce(1252,1,c_e,sp),_xe.td=function(e){TS(),RL(this.a,LL(e,18))};eB(iIe,"ElkGraphLayoutTransferrer/lambda$1$Type",1252);Kce(1253,1,L_e,lp),_xe.Mb=function(e){return function(e,t){return TS(),K2(t.d.i,e)}(this.a,LL(e,18))};eB(iIe,"ElkGraphLayoutTransferrer/lambda$2$Type",1253);Kce(1254,1,c_e,up),_xe.td=function(e){TS(),RL(this.a,LL(e,18))};eB(iIe,"ElkGraphLayoutTransferrer/lambda$3$Type",1254);Kce(1455,1,GEe,qt),_xe.nf=function(e,t){!function(e,t){qoe(t,cIe,1),lS(aQ(new cj(null,new ZG(e.b,16)),new Xt),new Yt),_se(t)}(LL(e,38),t)};eB(fIe,"CommentNodeMarginCalculator",1455);Kce(1456,1,{},Xt),_xe.Kb=function(e){return new cj(null,new ZG(LL(e,29).a,16))};eB(fIe,"CommentNodeMarginCalculator/lambda$0$Type",1456);Kce(1457,1,c_e,Yt),_xe.td=function(e){!function(e){var t,n,i,o,a,s,l,u,c,f,h,d;if(l=e.d,h=LL(Fae(e,(hxe(),JXe)),14),t=LL(Fae(e,Jqe),14),h||t){if(a=Oy($O(T7(e,(Kwe(),mJe)))),s=Oy($O(T7(e,bJe))),d=0,h){for(c=0,o=h.Ic();o.Ob();)i=LL(o.Pb(),10),c=r.Math.max(c,i.o.b),d+=i.o.a;d+=a*(h.gc()-1),l.d+=c+s}if(n=0,t){for(c=0,o=t.Ic();o.Ob();)i=LL(o.Pb(),10),c=r.Math.max(c,i.o.b),n+=i.o.a;n+=a*(t.gc()-1),l.a+=c+s}(u=r.Math.max(d,n))>e.o.a&&(f=(u-e.o.a)/2,l.b=r.Math.max(l.b,f),l.c=r.Math.max(l.c,f))}}(LL(e,10))};eB(fIe,"CommentNodeMarginCalculator/lambda$1$Type",1457);Kce(1458,1,GEe,Kt),_xe.nf=function(e,t){!function(e,t){var n,r,i,o,a,s,l;for(qoe(t,"Comment post-processing",1),o=new td(e.b);o.a<o.c.c.length;){for(i=LL(xW(o),29),r=new $m,s=new td(i.a);s.a<s.c.c.length;)a=LL(xW(s),10),l=LL(Fae(a,(hxe(),JXe)),14),n=LL(Fae(a,Jqe),14),(l||n)&&(ewe(a,l,n),l&&L3(r,l),n&&L3(r,n));L3(i.a,r)}_se(t)}(LL(e,38),t)};eB(fIe,"CommentPostprocessor",1458);Kce(1459,1,GEe,Zt),_xe.nf=function(e,t){!function(e,t){var n,r,i,o,a,s,l,u,c,f,h,d,p,g,m;for(qoe(t,"Comment pre-processing",1),n=0,l=new td(e.a);l.a<l.c.c.length;)if(Ty(VO(Fae(s=LL(xW(l),10),(Kwe(),PZe))))){for(++n,i=0,r=null,u=null,p=new td(s.j);p.a<p.c.c.length;)i+=(h=LL(xW(p),11)).e.c.length+h.g.c.length,1==h.e.c.length&&(u=(r=LL(JN(h.e,0),18)).c),1==h.g.c.length&&(u=(r=LL(JN(h.g,0),18)).d);if(1!=i||u.e.c.length+u.g.c.length!=1||Ty(VO(Fae(u.i,PZe)))){for(m=new $m,d=new td(s.j);d.a<d.c.c.length;){for(f=new td((h=LL(xW(d),11)).g);f.a<f.c.c.length;)0==(c=LL(xW(f),18)).d.g.c.length||(m.c[m.c.length]=c);for(a=new td(h.e);a.a<a.c.c.length;)0==(o=LL(xW(a),18)).c.e.c.length||(m.c[m.c.length]=o)}for(g=new td(m);g.a<g.c.c.length;)sbe(LL(xW(g),18),!0)}else Twe(s,r,u,u.i),ez(l)}t.n&&YL(t,"Found "+n+" comment boxes"),_se(t)}(LL(e,38),t)};eB(fIe,"CommentPreprocessor",1459);Kce(1460,1,GEe,Qt),_xe.nf=function(e,t){!function(e,t){var n,r,i,o,a;for(qoe(t,"Constraints Postprocessor",1),o=0,i=new td(e.b);i.a<i.c.c.length;){for(a=0,r=new td(LL(xW(i),29).a);r.a<r.c.c.length;)(n=LL(xW(r),10)).k==(mse(),XHe)&&(S5(n,(Kwe(),_Qe),k8(o)),S5(n,$Ze,k8(a)),++a);++o}_se(t)}(LL(e,38),t)};eB(fIe,"ConstraintsPostprocessor",1460);Kce(1461,1,GEe,Jt),_xe.nf=function(e,t){J2(LL(e,38),t)};eB(fIe,"EdgeAndLayerConstraintEdgeReverser",1461);Kce(1462,1,GEe,en),_xe.nf=function(e,t){!function(e,t){qoe(t,"End label post-processing",1),lS(_V(aQ(new cj(null,new ZG(e.b,16)),new tn),new nn),new rn),_se(t)}(LL(e,38),t)};eB(fIe,"EndLabelPostprocessor",1462);Kce(1463,1,{},tn),_xe.Kb=function(e){return new cj(null,new ZG(LL(e,29).a,16))};eB(fIe,"EndLabelPostprocessor/lambda$0$Type",1463);Kce(1464,1,L_e,nn),_xe.Mb=function(e){return function(e){return e.k==(mse(),XHe)&&ZP(e,(hxe(),lXe))}(LL(e,10))};eB(fIe,"EndLabelPostprocessor/lambda$1$Type",1464);Kce(1465,1,c_e,rn),_xe.td=function(e){!function(e){var t,n,r,i,o;for(t=LL(Fae(e,(hxe(),lXe)),84),o=e.n,r=t.Ac().Ic();r.Ob();)(i=(n=LL(r.Pb(),304)).i).c+=o.a,i.d+=o.b,n.c?upe(n):cpe(n);S5(e,lXe,null)}(LL(e,10))};eB(fIe,"EndLabelPostprocessor/lambda$2$Type",1465);Kce(1466,1,GEe,on),_xe.nf=function(e,t){!function(e,t){var n,r,i;qoe(t,"End label pre-processing",1),n=Oy($O(Fae(e,(Kwe(),xJe)))),r=Oy($O(Fae(e,CJe))),i=NM(LL(Fae(e,qZe),108)),lS(aQ(new cj(null,new ZG(e.b,16)),new an),new YR(n,r,i)),_se(t)}(LL(e,38),t)};eB(fIe,"EndLabelPreprocessor",1466);Kce(1467,1,{},an),_xe.Kb=function(e){return new cj(null,new ZG(LL(e,29).a,16))};eB(fIe,"EndLabelPreprocessor/lambda$0$Type",1467);Kce(1468,1,c_e,YR),_xe.td=function(e){BS(this.a,this.b,this.c,LL(e,10))},_xe.a=0,_xe.b=0,_xe.c=!1;eB(fIe,"EndLabelPreprocessor/lambda$1$Type",1468);Kce(1469,1,L_e,sn),_xe.Mb=function(e){return OI(Fae(LL(e,69),(Kwe(),QZe)))===OI(($J(),b7e))};eB(fIe,"EndLabelPreprocessor/lambda$2$Type",1469);Kce(1470,1,c_e,cp),_xe.td=function(e){bN(this.a,LL(e,69))};eB(fIe,"EndLabelPreprocessor/lambda$3$Type",1470);Kce(1471,1,L_e,ln),_xe.Mb=function(e){return OI(Fae(LL(e,69),(Kwe(),QZe)))===OI(($J(),m7e))};eB(fIe,"EndLabelPreprocessor/lambda$4$Type",1471);Kce(1472,1,c_e,fp),_xe.td=function(e){bN(this.a,LL(e,69))};var lGe;eB(fIe,"EndLabelPreprocessor/lambda$5$Type",1472);Kce(1521,1,GEe,Hc),_xe.nf=function(e,t){!function(e,t){qoe(t,"Sort end labels",1),lS(_V(aQ(new cj(null,new ZG(e.b,16)),new cn),new fn),new hn),_se(t)}(LL(e,38),t)};eB(fIe,"EndLabelSorter",1521);Kce(1522,1,_ke,un),_xe.ue=function(e,t){return function(e,t){var n,r;return 0!=(n=MT(e.a.c.p,t.a.c.p))?n:0!=(r=MT(e.a.d.i.p,t.a.d.i.p))?r:MT(t.a.d.p,e.a.d.p)}(LL(e,449),LL(t,449))},_xe.Fb=function(e){return this===e},_xe.ve=function(){return new ad(this)};eB(fIe,"EndLabelSorter/1",1522);Kce(449,1,{449:1},m$);eB(fIe,"EndLabelSorter/LabelGroup",449);Kce(1523,1,{},cn),_xe.Kb=function(e){return IS(),new cj(null,new ZG(LL(e,29).a,16))};eB(fIe,"EndLabelSorter/lambda$0$Type",1523);Kce(1524,1,L_e,fn),_xe.Mb=function(e){return IS(),LL(e,10).k==(mse(),XHe)};eB(fIe,"EndLabelSorter/lambda$1$Type",1524);Kce(1525,1,c_e,hn),_xe.td=function(e){!function(e){var t,n,r,i;if(t=!1,ZP(e,(hxe(),lXe)))for(n=LL(Fae(e,lXe),84),i=new td(e.j);i.a<i.c.c.length;)Jfe(r=LL(xW(i),11))&&(t||(Eue(jB(e)),t=!0),wte(LL(n.vc(r),304)))}(LL(e,10))};eB(fIe,"EndLabelSorter/lambda$2$Type",1525);Kce(1526,1,L_e,dn),_xe.Mb=function(e){return IS(),OI(Fae(LL(e,69),(Kwe(),QZe)))===OI(($J(),m7e))};eB(fIe,"EndLabelSorter/lambda$3$Type",1526);Kce(1527,1,L_e,pn),_xe.Mb=function(e){return IS(),OI(Fae(LL(e,69),(Kwe(),QZe)))===OI(($J(),b7e))};eB(fIe,"EndLabelSorter/lambda$4$Type",1527);Kce(1473,1,GEe,gn),_xe.nf=function(e,t){dve(this,LL(e,38))},_xe.b=0,_xe.c=0;eB(fIe,"FinalSplineBendpointsCalculator",1473);Kce(1474,1,{},mn),_xe.Kb=function(e){return new cj(null,new ZG(LL(e,29).a,16))};eB(fIe,"FinalSplineBendpointsCalculator/lambda$0$Type",1474);Kce(1475,1,{},bn),_xe.Kb=function(e){return new cj(null,new Cz(new xF(BA(g9(LL(e,10)).a.Ic(),new p))))};eB(fIe,"FinalSplineBendpointsCalculator/lambda$1$Type",1475);Kce(1476,1,L_e,vn),_xe.Mb=function(e){return!NX(LL(e,18))};eB(fIe,"FinalSplineBendpointsCalculator/lambda$2$Type",1476);Kce(1477,1,L_e,yn),_xe.Mb=function(e){return ZP(LL(e,18),(hxe(),KXe))};eB(fIe,"FinalSplineBendpointsCalculator/lambda$3$Type",1477);Kce(1478,1,c_e,hp),_xe.td=function(e){!function(e,t){var n,r,i,o,a;if(!t.e){for(t.e=!0,r=t.d.a.ec().Ic();r.Ob();)n=LL(r.Pb(),18),t.o&&t.d.a.gc()<=1?(a=new YE((o=t.a.c)+(t.a.c+t.a.b-o)/2,t.b),bN(LL(t.d.a.ec().Ic().Pb(),18).a,a)):(i=LL(aB(t.c,n),453)).b||i.c?bge(e,n,t):e.d==(d6(),Z0e)&&(i.d||i.e)&&kce(e,t)&&t.d.a.gc()<=1?Fye(n,t):fpe(e,n,t);t.k&&yX(t.d,new wn)}}(this.a,LL(e,128))};eB(fIe,"FinalSplineBendpointsCalculator/lambda$4$Type",1478);Kce(1479,1,c_e,wn),_xe.td=function(e){Fle(LL(e,18).a)};eB(fIe,"FinalSplineBendpointsCalculator/lambda$5$Type",1479);Kce(774,1,GEe,dp),_xe.nf=function(e,t){!function(e,t,n){var r,i;for(qoe(n,"Graph transformation ("+e.a+")",1),i=hW(t.a),r=new td(t.b);r.a<r.c.c.length;)L3(i,LL(xW(r),29).a);if(LL(Fae(t,(Kwe(),XZe)),413)==(FQ(),HUe))switch(LL(Fae(t,qZe),108).g){case 2:CU(t,i);break;case 3:N7(t,i);break;case 4:e.a==(x1(),cGe)?(N7(t,i),EU(t,i)):(EU(t,i),N7(t,i))}else if(e.a==(x1(),cGe))switch(LL(Fae(t,qZe),108).g){case 2:CU(t,i),EU(t,i);break;case 3:N7(t,i),CU(t,i);break;case 4:CU(t,i),N7(t,i)}else switch(LL(Fae(t,qZe),108).g){case 2:CU(t,i),EU(t,i);break;case 3:CU(t,i),N7(t,i);break;case 4:N7(t,i),CU(t,i)}_se(n)}(this,LL(e,38),t)};var uGe,cGe;eB(fIe,"GraphTransformer",774);Kce(504,22,{3:1,36:1,22:1,504:1},Qk);var fGe,hGe=f0(fIe,"GraphTransformer/Mode",504,Aje,(function(){return x1(),q3(lw(hGe,1),A_e,504,0,[cGe,uGe])}),(function(e){return x1(),fQ((cX(),fGe),e)}));Kce(1480,1,GEe,xn),_xe.nf=function(e,t){ode(LL(e,38),t)};eB(fIe,"HierarchicalNodeResizingProcessor",1480);Kce(1481,1,GEe,_n),_xe.nf=function(e,t){L0(LL(e,38),t)};eB(fIe,"HierarchicalPortConstraintProcessor",1481);Kce(1482,1,_ke,Sn),_xe.ue=function(e,t){return function(e,t){var n,r,i,o;return i=e.k,n=Oy($O(Fae(e,(hxe(),VXe)))),o=t.k,r=Oy($O(Fae(t,VXe))),o!=(mse(),WHe)?-1:i!=WHe?1:n==r?0:n<r?-1:1}(LL(e,10),LL(t,10))},_xe.Fb=function(e){return this===e},_xe.ve=function(){return new ad(this)};eB(fIe,"HierarchicalPortConstraintProcessor/NodeComparator",1482);Kce(1483,1,GEe,kn),_xe.nf=function(e,t){!function(e,t){var n,r,i,o,a,s,l,u;for(qoe(t,"Hierarchical port dummy size processing",1),s=new $m,u=new $m,n=2*Oy($O(Fae(e,(Kwe(),wJe)))),i=new td(e.b);i.a<i.c.c.length;){for(r=LL(xW(i),29),s.c=fK(pje,zxe,1,0,5,1),u.c=fK(pje,zxe,1,0,5,1),a=new td(r.a);a.a<a.c.c.length;)(o=LL(xW(a),10)).k==(mse(),WHe)&&((l=LL(Fae(o,(hxe(),dXe)),61))==(hwe(),Det)?s.c[s.c.length]=o:l==Ket&&(u.c[u.c.length]=o));Pce(s,!0,n),Pce(u,!1,n)}_se(t)}(LL(e,38),t)};eB(fIe,"HierarchicalPortDummySizeProcessor",1483);Kce(1484,1,GEe,Cn),_xe.nf=function(e,t){kpe(this,LL(e,38),t)},_xe.a=0;eB(fIe,"HierarchicalPortOrthogonalEdgeRouter",1484);Kce(1485,1,_ke,En),_xe.ue=function(e,t){return function(e,t){return j8(e.n.a,t.n.a)}(LL(e,10),LL(t,10))},_xe.Fb=function(e){return this===e},_xe.ve=function(){return new ad(this)};eB(fIe,"HierarchicalPortOrthogonalEdgeRouter/1",1485);Kce(1486,1,_ke,In),_xe.ue=function(e,t){return function(e,t){return j8(Oy($O(Fae(e,(hxe(),VXe)))),Oy($O(Fae(t,VXe))))}(LL(e,10),LL(t,10))},_xe.Fb=function(e){return this===e},_xe.ve=function(){return new ad(this)};eB(fIe,"HierarchicalPortOrthogonalEdgeRouter/2",1486);Kce(1487,1,GEe,Mn),_xe.nf=function(e,t){!function(e,t){var n;qoe(t,"Hierarchical port position processing",1),(n=e.b).c.length>0&&Uge((MG(0,n.c.length),LL(n.c[0],29)),e),n.c.length>1&&Uge(LL(JN(n,n.c.length-1),29),e),_se(t)}(LL(e,38),t)};var dGe,pGe;eB(fIe,"HierarchicalPortPositionProcessor",1487);Kce(1488,1,GEe,Gc),_xe.nf=function(e,t){!function(e,t){var n,i,o,a,s,l,u,c,f,h,d,g,m,b,v,y,w,x,_,S,k,C;for(e.b=t,e.a=LL(Fae(t,(Kwe(),cQe)),20).a,e.c=LL(Fae(t,hQe),20).a,0==e.c&&(e.c=Dxe),m=new eU(t.b,0);m.b<m.d.gc();){for(EP(m.b<m.d.gc()),g=LL(m.d.Xb(m.c=m.b++),29),l=new $m,f=-1,w=-1,y=new td(g.a);y.a<y.c.c.length;)v=LL(xW(y),10),DU((oL(),new xF(BA(d9(v).a.Ic(),new p))))>=e.a&&(i=_be(e,v),f=r.Math.max(f,i.b),w=r.Math.max(w,i.d),RL(l,new KE(v,i)));for(S=new $m,c=0;c<f;++c)Mj(S,0,(EP(m.b>0),m.a.Xb(m.c=--m.b),yD(m,k=new mB(e.b)),EP(m.b<m.d.gc()),m.d.Xb(m.c=m.b++),k));for(s=new td(l);s.a<s.c.c.length;)if(o=LL(xW(s),46),d=LL(o.b,563).a)for(h=new td(d);h.a<h.c.c.length;)tie(e,LL(xW(h),10),dGe,S);for(n=new $m,u=0;u<w;++u)RL(n,(yD(m,C=new mB(e.b)),C));for(a=new td(l);a.a<a.c.c.length;)if(o=LL(xW(a),46),_=LL(o.b,563).c)for(x=new td(_);x.a<x.c.c.length;)tie(e,LL(xW(x),10),pGe,n)}for(b=new eU(t.b,0);b.b<b.d.gc();)EP(b.b<b.d.gc()),0==LL(b.d.Xb(b.c=b.b++),29).a.c.length&&nV(b)}(this,LL(e,38))},_xe.a=0,_xe.c=0;eB(fIe,"HighDegreeNodeLayeringProcessor",1488);Kce(563,1,{563:1},Tn),_xe.b=-1,_xe.d=-1;eB(fIe,"HighDegreeNodeLayeringProcessor/HighDegreeNodeInformation",563);Kce(1489,1,{},An),_xe.Kb=function(e){return oL(),p9(LL(e,10))},_xe.Fb=function(e){return this===e};eB(fIe,"HighDegreeNodeLayeringProcessor/lambda$0$Type",1489);Kce(1490,1,{},Pn),_xe.Kb=function(e){return oL(),g9(LL(e,10))},_xe.Fb=function(e){return this===e};eB(fIe,"HighDegreeNodeLayeringProcessor/lambda$1$Type",1490);Kce(1496,1,GEe,On),_xe.nf=function(e,t){Ome(this,LL(e,38),t)};eB(fIe,"HyperedgeDummyMerger",1496);Kce(775,1,{},KR),_xe.a=!1,_xe.b=!1,_xe.c=!1;eB(fIe,"HyperedgeDummyMerger/MergeState",775);Kce(1497,1,{},Dn),_xe.Kb=function(e){return new cj(null,new ZG(LL(e,29).a,16))};eB(fIe,"HyperedgeDummyMerger/lambda$0$Type",1497);Kce(1498,1,{},Rn),_xe.Kb=function(e){return new cj(null,new ZG(LL(e,10).j,16))};eB(fIe,"HyperedgeDummyMerger/lambda$1$Type",1498);Kce(1499,1,c_e,Ln),_xe.td=function(e){LL(e,11).p=-1};eB(fIe,"HyperedgeDummyMerger/lambda$2$Type",1499);Kce(1500,1,GEe,Nn),_xe.nf=function(e,t){!function(e,t){var n,r,i,o,a,s,l,u;for(qoe(t,"Hypernodes processing",1),r=new td(e.b);r.a<r.c.c.length;)for(a=new td(LL(xW(r),29).a);a.a<a.c.c.length;)if(Ty(VO(Fae(o=LL(xW(a),10),(Kwe(),dQe))))&&o.j.c.length<=2){for(u=0,l=0,n=0,i=0,s=new td(o.j);s.a<s.c.c.length;)switch(LL(xW(s),11).j.g){case 1:++u;break;case 2:++l;break;case 3:++n;break;case 4:++i}0==u&&0==n&&Fwe(e,o,i<=l)}_se(t)}(LL(e,38),t)};eB(fIe,"HypernodesProcessor",1500);Kce(1501,1,GEe,jn),_xe.nf=function(e,t){!function(e,t){var n,r,i,o,a,s,l,u,c;for(qoe(t,"Layer constraint edge reversal",1),a=new td(e.b);a.a<a.c.c.length;){for(o=LL(xW(a),29),c=-1,n=new $m,u=mU(o.a),i=0;i<u.length;i++)r=LL(Fae(u[i],(hxe(),wXe)),301),-1==c?r!=(JZ(),Wqe)&&(c=i):r==(JZ(),Wqe)&&(OG(u[i],null),$re(u[i],c++,o)),r==(JZ(),Hqe)&&RL(n,u[i]);for(l=new td(n);l.a<l.c.c.length;)OG(s=LL(xW(l),10),null),OG(s,o)}_se(t)}(LL(e,38),t)};eB(fIe,"InLayerConstraintProcessor",1501);Kce(1502,1,GEe,Fn),_xe.nf=function(e,t){!function(e,t){qoe(t,cIe,1),o7(function(e){return e.b=!1,e}(new Ld(new OV(e,!1,!1,new Lt)))),_se(t)}(LL(e,38),t)};eB(fIe,"InnermostNodeMarginCalculator",1502);Kce(1503,1,GEe,zn),_xe.nf=function(e,t){!function(e,t){var n,i,o,a,s,l;if(LL(Fae(t,(hxe(),mXe)),21).Fc((Kde(),Tqe))){for(l=new td(t.a);l.a<l.c.c.length;)(a=LL(xW(l),10)).k==(mse(),XHe)&&(o=LL(Fae(a,(Kwe(),MQe)),141),e.c=r.Math.min(e.c,a.n.a-o.b),e.a=r.Math.max(e.a,a.n.a+a.o.a+o.c),e.d=r.Math.min(e.d,a.n.b-o.d),e.b=r.Math.max(e.b,a.n.b+a.o.b+o.a));for(s=new td(t.a);s.a<s.c.c.length;)if((a=LL(xW(s),10)).k!=(mse(),XHe))switch(a.k.g){case 2:if((i=LL(Fae(a,(Kwe(),xQe)),165))==(H9(),tYe)){a.n.a=e.c-10,Zre(a,new Bn).Jb(new pp(a));break}if(i==rYe){a.n.a=e.a+10,Zre(a,new Vn).Jb(new gp(a));break}if((n=LL(Fae(a,wXe),301))==(JZ(),Wqe)){Rve(a).Jb(new mp(a)),a.n.b=e.d-10;break}if(n==Hqe){Rve(a).Jb(new bp(a)),a.n.b=e.b+10;break}break;default:throw Jm(new Ny("The node type "+a.k+" is not supported by the "+gGe))}}}(this,LL(e,38))},_xe.a=LSe,_xe.b=LSe,_xe.c=RSe,_xe.d=RSe;var gGe=eB(fIe,"InteractiveExternalPortPositioner",1503);Kce(1504,1,{},Bn),_xe.Kb=function(e){return LL(e,18).d.i},_xe.Fb=function(e){return this===e};eB(fIe,"InteractiveExternalPortPositioner/lambda$0$Type",1504);Kce(1505,1,{},pp),_xe.Kb=function(e){return function(e,t){return e.n.b=(wB(t),t)}(this.a,$O(e))},_xe.Fb=function(e){return this===e};eB(fIe,"InteractiveExternalPortPositioner/lambda$1$Type",1505);Kce(1506,1,{},Vn),_xe.Kb=function(e){return LL(e,18).c.i},_xe.Fb=function(e){return this===e};eB(fIe,"InteractiveExternalPortPositioner/lambda$2$Type",1506);Kce(1507,1,{},gp),_xe.Kb=function(e){return function(e,t){return e.n.b=(wB(t),t)}(this.a,$O(e))},_xe.Fb=function(e){return this===e};eB(fIe,"InteractiveExternalPortPositioner/lambda$3$Type",1507);Kce(1508,1,{},mp),_xe.Kb=function(e){return function(e,t){return e.n.a=(wB(t),t+10)}(this.a,$O(e))},_xe.Fb=function(e){return this===e};eB(fIe,"InteractiveExternalPortPositioner/lambda$4$Type",1508);Kce(1509,1,{},bp),_xe.Kb=function(e){return function(e,t){return e.n.a=(wB(t),t+10)}(this.a,$O(e))},_xe.Fb=function(e){return this===e};var mGe,bGe,vGe,yGe,wGe,xGe,_Ge,SGe,kGe,CGe,EGe,IGe,MGe,TGe,AGe,PGe,OGe,DGe,RGe,LGe,NGe,jGe,FGe,zGe,BGe,VGe,$Ge,HGe,GGe,WGe,UGe,qGe,XGe,YGe,KGe,ZGe,QGe,JGe,eWe,tWe,nWe,rWe,iWe,oWe,aWe,sWe,lWe,uWe,cWe,fWe,hWe,dWe,pWe,gWe,mWe,bWe,vWe;eB(fIe,"InteractiveExternalPortPositioner/lambda$5$Type",1509);Kce(77,22,{3:1,36:1,22:1,77:1,233:1},Kk),_xe.Hf=function(){switch(this.g){case 15:return new fo;case 22:return new ho;case 47:return new mo;case 28:case 35:return new Qn;case 32:return new qt;case 42:return new Kt;case 1:return new Zt;case 41:return new Qt;case 56:return new dp((x1(),cGe));case 0:return new dp((x1(),uGe));case 2:return new Jt;case 54:return new en;case 33:return new on;case 51:return new gn;case 55:return new xn;case 13:return new _n;case 38:return new kn;case 44:return new Cn;case 40:return new Mn;case 9:return new Gc;case 49:return new DP;case 37:return new On;case 43:return new Nn;case 27:return new jn;case 30:return new Fn;case 3:return new zn;case 18:return new Hn;case 29:return new Gn;case 5:return new Wc;case 50:return new $n;case 34:return new Uc;case 36:return new Jn;case 52:return new Hc;case 11:return new tr;case 7:return new qc;case 39:return new nr;case 45:return new rr;case 16:return new ir;case 10:return new or;case 48:return new sr;case 21:return new lr;case 23:return new wy((M0(),S1e));case 8:return new cr;case 12:return new hr;case 4:return new dr;case 19:return new Xc;case 17:return new Sr;case 53:return new kr;case 6:return new jr;case 25:return new Zb;case 46:return new Ar;case 31:return new DD;case 14:return new Wr;case 26:return new So;case 20:return new Kr;case 24:return new wy((M0(),k1e));default:throw Jm(new Ny(pIe+(null!=this.f?this.f:""+this.g)))}};var yWe,wWe=f0(fIe,gIe,77,Aje,jhe,(function(e){return pxe(),fQ((iM(),yWe),e)}));Kce(1510,1,GEe,Hn),_xe.nf=function(e,t){!function(e,t){var n,r,i,o,a,s,l,u,c,f,h,d,p,g,m;for(qoe(t,"Inverted port preprocessing",1),s=new eU(e.b,0),n=null,m=new $m;s.b<s.d.gc();){for(g=n,EP(s.b<s.d.gc()),n=LL(s.d.Xb(s.c=s.b++),29),c=new td(m);c.a<c.c.c.length;)OG(l=LL(xW(c),10),g);for(m.c=fK(pje,zxe,1,0,5,1),f=new td(n.a);f.a<f.c.c.length;)if((l=LL(xW(f),10)).k==(mse(),XHe)&&jM(LL(Fae(l,(Kwe(),tJe)),100))){for(p=Ppe(l,(E0(),R0e),(hwe(),Oet)).Ic();p.Ob();)for(h=LL(p.Pb(),11),i=0,o=(r=LL(tte(a=h.e,fK(VHe,XEe,18,a.c.length,0,1)),468)).length;i<o;++i)Abe(e,h,r[i],m);for(d=Ppe(l,L0e,Qet).Ic();d.Ob();)for(h=LL(d.Pb(),11),i=0,o=(r=LL(tte(a=h.g,fK(VHe,XEe,18,a.c.length,0,1)),468)).length;i<o;++i)Tbe(e,h,r[i],m)}}for(u=new td(m);u.a<u.c.c.length;)OG(l=LL(xW(u),10),n);_se(t)}(LL(e,38),t)};eB(fIe,"InvertedPortProcessor",1510);Kce(1511,1,GEe,Gn),_xe.nf=function(e,t){vge(LL(e,38),t)};eB(fIe,"LabelAndNodeSizeProcessor",1511);Kce(1512,1,L_e,Wn),_xe.Mb=function(e){return LL(e,10).k==(mse(),XHe)};eB(fIe,"LabelAndNodeSizeProcessor/lambda$0$Type",1512);Kce(1513,1,L_e,Un),_xe.Mb=function(e){return LL(e,10).k==(mse(),WHe)};eB(fIe,"LabelAndNodeSizeProcessor/lambda$1$Type",1513);Kce(1514,1,c_e,QR),_xe.td=function(e){VS(this.b,this.a,this.c,LL(e,10))},_xe.a=!1,_xe.c=!1;var xWe;eB(fIe,"LabelAndNodeSizeProcessor/lambda$2$Type",1514);Kce(1515,1,GEe,Wc),_xe.nf=function(e,t){!function(e,t){var n,i,o,a,s,l,u,c,f,h,d,g,m;for(qoe(t,"Label dummy insertions",1),h=new $m,s=Oy($O(Fae(e,(Kwe(),xJe)))),c=Oy($O(Fae(e,CJe))),f=LL(Fae(e,qZe),108),d=new td(e.a);d.a<d.c.c.length;)for(a=new xF(BA(g9(LL(xW(d),10)).a.Ic(),new p));Zce(a);)if((o=LL(dX(a),18)).c.i!=o.d.i&&eA(o.b,xWe)){for(n=rhe(e,o,m=iJ(o),g=$P(o.b.c.length)),h.c[h.c.length]=n,i=n.o,l=new eU(o.b,0);l.b<l.d.gc();)EP(l.b<l.d.gc()),OI(Fae(u=LL(l.d.Xb(l.c=l.b++),69),QZe))===OI(($J(),g7e))&&(f==(A8(),d7e)||f==u7e?(i.a+=u.o.a+c,i.b=r.Math.max(i.b,u.o.b)):(i.a=r.Math.max(i.a,u.o.a),i.b+=u.o.b+c),g.c[g.c.length]=u,nV(l));f==(A8(),d7e)||f==u7e?(i.a-=c,i.b+=s+m):i.b+=s-c+m}L3(e.a,h),_se(t)}(LL(e,38),t)};eB(fIe,"LabelDummyInserter",1515);Kce(1516,1,Bke,qn),_xe.Lb=function(e){return OI(Fae(LL(e,69),(Kwe(),QZe)))===OI(($J(),g7e))},_xe.Fb=function(e){return this===e},_xe.Mb=function(e){return OI(Fae(LL(e,69),(Kwe(),QZe)))===OI(($J(),g7e))};eB(fIe,"LabelDummyInserter/1",1516);Kce(1517,1,GEe,$n),_xe.nf=function(e,t){!function(e,t){var n,r,i,o,a,s,l,u,c,f,h,d;for(qoe(t,"Label dummy removal",1),r=Oy($O(Fae(e,(Kwe(),xJe)))),i=Oy($O(Fae(e,CJe))),l=LL(Fae(e,qZe),108),s=new td(e.b);s.a<s.c.c.length;)for(c=new eU(LL(xW(s),29).a,0);c.b<c.d.gc();)EP(c.b<c.d.gc()),(u=LL(c.d.Xb(c.c=c.b++),10)).k==(mse(),UHe)&&(f=LL(Fae(u,(hxe(),OXe)),18),d=Oy($O(Fae(f,sQe))),a=OI(Fae(u,kXe))===OI((Yre(),q7e)),n=new lT(u.n),a&&(n.b+=d+r),o=new YE(u.o.a,u.o.b-d-r),h=LL(Fae(u,GXe),14),l==(A8(),d7e)||l==u7e?ape(h,n,i,o,a,l):N6(h,n,i,o),L3(f.b,h),tye(u,OI(Fae(e,eQe))===OI(($9(),x7e))),nV(c));_se(t)}(LL(e,38),t)};eB(fIe,"LabelDummyRemover",1517);Kce(1518,1,L_e,Xn),_xe.Mb=function(e){return Ty(VO(Fae(LL(e,69),(Kwe(),ZZe))))};var _We;eB(fIe,"LabelDummyRemover/lambda$0$Type",1518);Kce(1330,1,GEe,Uc),_xe.nf=function(e,t){gye(this,LL(e,38),t)},_xe.a=null;eB(fIe,"LabelDummySwitcher",1330);Kce(285,1,{285:1},uge),_xe.c=0,_xe.d=null,_xe.f=0;eB(fIe,"LabelDummySwitcher/LabelDummyInfo",285);Kce(1331,1,{},Yn),_xe.Kb=function(e){return j1(),new cj(null,new ZG(LL(e,29).a,16))};eB(fIe,"LabelDummySwitcher/lambda$0$Type",1331);Kce(1332,1,L_e,Kn),_xe.Mb=function(e){return j1(),LL(e,10).k==(mse(),UHe)};eB(fIe,"LabelDummySwitcher/lambda$1$Type",1332);Kce(1333,1,{},xp),_xe.Kb=function(e){return function(e,t){return j1(),new uge(t,e)}(this.a,LL(e,10))};eB(fIe,"LabelDummySwitcher/lambda$2$Type",1333);Kce(1334,1,c_e,_p),_xe.td=function(e){!function(e,t){j1(),LL(fV(e,t.d),14).Dc(t)}(this.a,LL(e,285))};eB(fIe,"LabelDummySwitcher/lambda$3$Type",1334);Kce(1335,1,_ke,Zn),_xe.ue=function(e,t){return function(e,t){return j1(),j8(t.a.o.a,e.a.o.a)}(LL(e,285),LL(t,285))},_xe.Fb=function(e){return this===e},_xe.ve=function(){return new ad(this)};eB(fIe,"LabelDummySwitcher/lambda$4$Type",1335);Kce(773,1,GEe,Qn),_xe.nf=function(e,t){!function(e,t){qoe(t,"Label management",1),qI(Fae(e,(TY(),K6e))),_se(t)}(LL(e,38),t)};eB(fIe,"LabelManagementProcessor",773);Kce(1519,1,GEe,Jn),_xe.nf=function(e,t){!function(e,t){var n;switch(qoe(t,"Label side selection ("+(n=LL(Fae(e,(Kwe(),JZe)),274))+")",1),n.g){case 0:ife(e,(Yre(),U7e));break;case 1:ife(e,(Yre(),q7e));break;case 2:hbe(e,(Yre(),U7e));break;case 3:hbe(e,(Yre(),q7e));break;case 4:Ude(e,(Yre(),U7e));break;case 5:Ude(e,(Yre(),q7e))}_se(t)}(LL(e,38),t)};eB(fIe,"LabelSideSelector",1519);Kce(1520,1,L_e,er),_xe.Mb=function(e){return Ty(VO(Fae(LL(e,69),(Kwe(),ZZe))))};eB(fIe,"LabelSideSelector/lambda$0$Type",1520);Kce(1528,1,GEe,tr),_xe.nf=function(e,t){Sbe(LL(e,38),t)};var SWe;eB(fIe,"LayerConstraintPostprocessor",1528);Kce(1529,1,GEe,qc),_xe.nf=function(e,t){!function(e,t){var n,r,i;for(qoe(t,"Layer constraint preprocessing",1),n=new $m,i=new eU(e.a,0);i.b<i.d.gc();)EP(i.b<i.d.gc()),i5(r=LL(i.d.Xb(i.c=i.b++),10))&&(Woe(r),n.c[n.c.length]=r,nV(i));0==n.c.length||S5(e,(hxe(),bXe),n),_se(t)}(LL(e,38),t)};var kWe,CWe,EWe,IWe;eB(fIe,"LayerConstraintPreprocessor",1529);Kce(357,22,{3:1,36:1,22:1,357:1},Jk);var MWe,TWe=f0(fIe,"LayerConstraintPreprocessor/HiddenNodeConnections",357,Aje,(function(){return d5(),q3(lw(TWe,1),A_e,357,0,[IWe,CWe,EWe,kWe])}),(function(e){return d5(),fQ((oZ(),MWe),e)}));Kce(1530,1,GEe,nr),_xe.nf=function(e,t){!function(e,t){var n,i,o,a,s,l,u,c,f,h,d,p,g,m;for(qoe(t,"Layer size calculation",1),f=RSe,c=LSe,o=!1,l=new td(e.b);l.a<l.c.c.length;)if((u=(s=LL(xW(l),29)).c).a=0,u.b=0,0!=s.a.c.length){for(o=!0,d=new td(s.a);d.a<d.c.c.length;)g=(h=LL(xW(d),10)).o,p=h.d,u.a=r.Math.max(u.a,g.a+p.b+p.c);m=(i=LL(JN(s.a,0),10)).n.b-i.d.d,i.k==(mse(),WHe)&&(m-=LL(Fae(e,(Kwe(),PJe)),141).d),n=(a=LL(JN(s.a,s.a.c.length-1),10)).n.b+a.o.b+a.d.a,a.k==WHe&&(n+=LL(Fae(e,(Kwe(),PJe)),141).a),u.b=n-m,f=r.Math.min(f,m),c=r.Math.max(c,n)}o||(f=0,c=0),e.f.b=c-f,e.c.b-=f,_se(t)}(LL(e,38),t)};eB(fIe,"LayerSizeAndGraphHeightCalculator",1530);Kce(1531,1,GEe,rr),_xe.nf=function(e,t){!function(e,t){var n,r,i,o;for(qoe(t,"Edge joining",1),n=Ty(VO(Fae(e,(Kwe(),RJe)))),r=new td(e.b);r.a<r.c.c.length;)for(o=new eU(LL(xW(r),29).a,0);o.b<o.d.gc();)EP(o.b<o.d.gc()),(i=LL(o.d.Xb(o.c=o.b++),10)).k==(mse(),qHe)&&(tye(i,n),nV(o));_se(t)}(LL(e,38),t)};eB(fIe,"LongEdgeJoiner",1531);Kce(1532,1,GEe,ir),_xe.nf=function(e,t){!function(e,t){var n,r,i,o,a,s,l,u,c;if(qoe(t,"Edge splitting",1),e.b.c.length<=2)_se(t);else{for(EP((o=new eU(e.b,0)).b<o.d.gc()),a=LL(o.d.Xb(o.c=o.b++),29);o.b<o.d.gc();)for(i=a,EP(o.b<o.d.gc()),a=LL(o.d.Xb(o.c=o.b++),29),s=new td(i.a);s.a<s.c.c.length;)for(l=new td(LL(xW(s),10).j);l.a<l.c.c.length;)for(r=new td(LL(xW(l),11).g);r.a<r.c.c.length;)(u=(n=LL(xW(r),18)).d.i.c)!=i&&u!=a&&Rde(n,(vh(c=new Sne(e),(mse(),qHe)),S5(c,(hxe(),OXe),n),S5(c,(Kwe(),tJe),(joe(),vet)),OG(c,a),c));_se(t)}}(LL(e,38),t)};eB(fIe,"LongEdgeSplitter",1532);Kce(1533,1,GEe,or),_xe.nf=function(e,t){bye(this,LL(e,38),t)},_xe.d=0,_xe.e=0,_xe.i=0,_xe.j=0,_xe.k=0,_xe.n=0;eB(fIe,"NodePromotion",1533);Kce(1534,1,{},ar),_xe.Kb=function(e){return LL(e,46),_P(),!0},_xe.Fb=function(e){return this===e};eB(fIe,"NodePromotion/lambda$0$Type",1534);Kce(1535,1,{},vp),_xe.Kb=function(e){return function(e,t){return _P(),LL(t.b,20).a<e}(this.a,LL(e,46))},_xe.Fb=function(e){return this===e},_xe.a=0;eB(fIe,"NodePromotion/lambda$1$Type",1535);Kce(1536,1,{},yp),_xe.Kb=function(e){return function(e,t){return _P(),LL(t.a,20).a<e}(this.a,LL(e,46))},_xe.Fb=function(e){return this===e},_xe.a=0;eB(fIe,"NodePromotion/lambda$2$Type",1536);Kce(1537,1,GEe,sr),_xe.nf=function(e,t){!function(e,t){var n,r,i,o,a,s,l,u,c,f,h,d,p,g,m,b,v,y;for(qoe(t,wIe,1),h=LL(Fae(e,(Kwe(),eQe)),216),r=new td(e.b);r.a<r.c.c.length;)for(a=0,s=(o=mU(LL(xW(r),29).a)).length;a<s;++a)if((i=o[a]).k==(mse(),YHe)){if(h==($9(),_7e))for(u=new td(i.j);u.a<u.c.c.length;)0==(l=LL(xW(u),11)).e.c.length||Bee(l),0==l.g.c.length||Vee(l);else if(BT(Fae(i,(hxe(),OXe)),18))p=LL(Fae(i,OXe),18),g=LL(jse(i,(hwe(),Qet)).Ic().Pb(),11),m=LL(jse(i,Oet).Ic().Pb(),11),b=LL(Fae(g,OXe),11),PG(p,v=LL(Fae(m,OXe),11)),AG(p,b),(y=new lT(m.i.n)).a=V5(q3(lw(J6e,1),s_e,8,0,[v.i.n,v.n,v.a])).a,bN(p.a,y),(y=new lT(g.i.n)).a=V5(q3(lw(J6e,1),s_e,8,0,[b.i.n,b.n,b.a])).a,bN(p.a,y);else{if(i.j.c.length>=2){for(d=!0,n=LL(xW(c=new td(i.j)),11),f=null;c.a<c.c.c.length;)if(f=n,n=LL(xW(c),11),!l8(Fae(f,OXe),Fae(n,OXe))){d=!1;break}}else d=!1;for(u=new td(i.j);u.a<u.c.c.length;)0==(l=LL(xW(u),11)).e.c.length||sde(l,d),0==l.g.c.length||lde(l,d)}OG(i,null)}_se(t)}(LL(e,38),t)};eB(fIe,"NorthSouthPortPostprocessor",1537);Kce(1538,1,GEe,lr),_xe.nf=function(e,t){!function(e,t){var n,r,i,o,a,s,l,u,c,f,h,d,p,g,m,b,v,y,w,x;for(qoe(t,wIe,1),p=new $m,w=new $m,u=new td(e.b);u.a<u.c.c.length;)for(m=-1,h=0,d=(f=mU((l=LL(xW(u),29)).a)).length;h<d;++h)if(++m,(c=f[h]).k==(mse(),XHe)&&jM(LL(Fae(c,(Kwe(),tJe)),100))){for(mR(LL(Fae(c,(Kwe(),tJe)),100))||Jhe(c),S5(c,(hxe(),xXe),c),p.c=fK(pje,zxe,1,0,5,1),w.c=fK(pje,zxe,1,0,5,1),n=new $m,z1(v=new sS,jse(c,(hwe(),Det))),Wwe(e,v,p,w,n),s=m,x=c,o=new td(p);o.a<o.c.c.length;)$re(r=LL(xW(o),10),s,l),++m,S5(r,xXe,c),a=LL(JN(r.j,0),11),g=LL(Fae(a,OXe),11),Ty(VO(Fae(g,TZe)))||LL(Fae(r,_Xe),14).Dc(x);for(s$(v),b=jse(c,Ket).Ic();b.Ob();)jq(v,LL(b.Pb(),11),v.a,v.a.a);for(Wwe(e,v,w,null,n),y=c,i=new td(w);i.a<i.c.c.length;)$re(r=LL(xW(i),10),++m,l),S5(r,xXe,c),a=LL(JN(r.j,0),11),g=LL(Fae(a,OXe),11),Ty(VO(Fae(g,TZe)))||LL(Fae(y,_Xe),14).Dc(r);0==n.c.length||S5(c,Qqe,n)}_se(t)}(LL(e,38),t)};eB(fIe,"NorthSouthPortPreprocessor",1538);Kce(1539,1,_ke,ur),_xe.ue=function(e,t){return function(e,t){var n,r;return(n=e.j)!=(r=t.j)?n.g-r.g:e.p==t.p?0:n==(hwe(),Det)?e.p-t.p:t.p-e.p}(LL(e,11),LL(t,11))},_xe.Fb=function(e){return this===e},_xe.ve=function(){return new ad(this)};eB(fIe,"NorthSouthPortPreprocessor/lambda$0$Type",1539);Kce(1540,1,GEe,cr),_xe.nf=function(e,t){!function(e,t){var n,r,i,o,a;if(qoe(t,"Partition midprocessing",1),i=new yH,lS(_V(new cj(null,new ZG(e.a,16)),new fr),new wp(i)),0!=i.d){for(a=LL(Nq(XG(new cj(null,(i.i||(i.i=new CA(i,i.c))).Lc())),CK(new F,new j,new re,q3(lw(jze,1),A_e,132,0,[(z4(),Rze)]))),14),n=LL((r=a.Ic()).Pb(),20);r.Ob();)o=LL(r.Pb(),20),Che(LL(KX(i,n),21),LL(KX(i,o),21)),n=o;_se(t)}}(LL(e,38),t)};eB(fIe,"PartitionMidprocessor",1540);Kce(1541,1,L_e,fr),_xe.Mb=function(e){return ZP(LL(e,10),(Kwe(),qQe))};eB(fIe,"PartitionMidprocessor/lambda$0$Type",1541);Kce(1542,1,c_e,wp),_xe.td=function(e){!function(e,t){Yue(e,LL(Fae(t,(Kwe(),qQe)),20),t)}(this.a,LL(e,10))};eB(fIe,"PartitionMidprocessor/lambda$1$Type",1542);Kce(1543,1,GEe,hr),_xe.nf=function(e,t){!function(e,t){var n,r,i;for(qoe(t,"Partition postprocessing",1),n=new td(e.b);n.a<n.c.c.length;)for(r=new td(LL(xW(n),29).a);r.a<r.c.c.length;)for(i=new td(LL(xW(r),10).j);i.a<i.c.c.length;)Ty(VO(Fae(LL(xW(i),11),(hxe(),zXe))))&&ez(i);_se(t)}(LL(e,38),t)};eB(fIe,"PartitionPostprocessor",1543);Kce(1544,1,GEe,dr),_xe.nf=function(e,t){!function(e,t){qoe(t,"Partition preprocessing",1),lS(LL(Nq(_V(aQ(_V(new cj(null,new ZG(e.a,16)),new pr),new gr),new mr),CK(new F,new j,new re,q3(lw(jze,1),A_e,132,0,[(z4(),Rze)]))),14).Mc(),new br),_se(t)}(LL(e,38),t)};eB(fIe,"PartitionPreprocessor",1544);Kce(1545,1,L_e,pr),_xe.Mb=function(e){return ZP(LL(e,10),(Kwe(),qQe))};eB(fIe,"PartitionPreprocessor/lambda$0$Type",1545);Kce(1546,1,{},gr),_xe.Kb=function(e){return new cj(null,new Cz(new xF(BA(g9(LL(e,10)).a.Ic(),new p))))};eB(fIe,"PartitionPreprocessor/lambda$1$Type",1546);Kce(1547,1,L_e,mr),_xe.Mb=function(e){return function(e){var t,n;return!!ZP(e.d.i,(Kwe(),qQe))&&(t=LL(Fae(e.c.i,qQe),20),n=LL(Fae(e.d.i,qQe),20),MT(t.a,n.a)>0)}(LL(e,18))};eB(fIe,"PartitionPreprocessor/lambda$2$Type",1547);Kce(1548,1,c_e,br),_xe.td=function(e){!function(e){var t;sbe(e,!0),t=D_e,ZP(e,(Kwe(),cJe))&&(t+=LL(Fae(e,cJe),20).a),S5(e,cJe,k8(t))}(LL(e,18))};var AWe,PWe,OWe,DWe,RWe;eB(fIe,"PartitionPreprocessor/lambda$3$Type",1548);Kce(1549,1,GEe,Xc),_xe.nf=function(e,t){!function(e,t){var n,r,i,o,a,s;for(qoe(t,"Port order processing",1),s=LL(Fae(e,(Kwe(),sJe)),415),n=new td(e.b);n.a<n.c.c.length;)for(i=new td(LL(xW(n),29).a);i.a<i.c.c.length;)r=LL(xW(i),10),o=LL(Fae(r,tJe),100),a=r.j,o==(joe(),bet)||o==yet||o==vet?(v$(),kT(a,AWe)):o!=xet&&o!=_et&&(v$(),kT(a,OWe),kne(a),s==(PZ(),P0e)&&kT(a,PWe)),r.i=!0,Cue(r);_se(t)}(LL(e,38),t)};eB(fIe,"PortListSorter",1549);Kce(1550,1,{},vr),_xe.Kb=function(e){return G5(),LL(e,11).e};eB(fIe,"PortListSorter/lambda$0$Type",1550);Kce(1551,1,{},yr),_xe.Kb=function(e){return G5(),LL(e,11).g};eB(fIe,"PortListSorter/lambda$1$Type",1551);Kce(1552,1,_ke,wr),_xe.ue=function(e,t){return bq(LL(e,11),LL(t,11))},_xe.Fb=function(e){return this===e},_xe.ve=function(){return new ad(this)};eB(fIe,"PortListSorter/lambda$2$Type",1552);Kce(1553,1,_ke,xr),_xe.ue=function(e,t){return function(e,t){if(G5(),0!=e.j.g-t.j.g)return 0;switch(e.j.g){case 2:return I9(t,RWe)-I9(e,RWe);case 4:return I9(e,DWe)-I9(t,DWe)}return 0}(LL(e,11),LL(t,11))},_xe.Fb=function(e){return this===e},_xe.ve=function(){return new ad(this)};eB(fIe,"PortListSorter/lambda$3$Type",1553);Kce(1554,1,_ke,_r),_xe.ue=function(e,t){return qme(LL(e,11),LL(t,11))},_xe.Fb=function(e){return this===e},_xe.ve=function(){return new ad(this)};eB(fIe,"PortListSorter/lambda$4$Type",1554);Kce(1555,1,GEe,Sr),_xe.nf=function(e,t){!function(e,t){var n,r,i;for(qoe(t,"Port side processing",1),i=new td(e.a);i.a<i.c.c.length;)fbe(LL(xW(i),10));for(n=new td(e.b);n.a<n.c.c.length;)for(r=new td(LL(xW(n),29).a);r.a<r.c.c.length;)fbe(LL(xW(r),10));_se(t)}(LL(e,38),t)};eB(fIe,"PortSideProcessor",1555);Kce(1556,1,GEe,kr),_xe.nf=function(e,t){!function(e,t){var n,r,i,o,a,s,l;for(qoe(t,"Restoring reversed edges",1),a=new td(e.b);a.a<a.c.c.length;)for(s=new td(LL(xW(a),29).a);s.a<s.c.c.length;)for(l=new td(LL(xW(s),10).j);l.a<l.c.c.length;)for(i=0,o=(r=gU(LL(xW(l),11).g)).length;i<o;++i)Ty(VO(Fae(n=r[i],(hxe(),WXe))))&&sbe(n,!1);_se(t)}(LL(e,38),t)};eB(fIe,"ReversedEdgeRestorer",1556);Kce(1561,1,GEe,Zb),_xe.nf=function(e,t){!function(e,t,n){qoe(n,"Self-Loop ordering",1),lS(SV(_V(_V(aQ(new cj(null,new ZG(t.b,16)),new Cr),new Er),new Ir),new Mr),new Sp(e)),_se(n)}(this,LL(e,38),t)};eB(fIe,"SelfLoopPortRestorer",1561);Kce(1562,1,{},Cr),_xe.Kb=function(e){return new cj(null,new ZG(LL(e,29).a,16))};eB(fIe,"SelfLoopPortRestorer/lambda$0$Type",1562);Kce(1563,1,L_e,Er),_xe.Mb=function(e){return LL(e,10).k==(mse(),XHe)};eB(fIe,"SelfLoopPortRestorer/lambda$1$Type",1563);Kce(1564,1,L_e,Ir),_xe.Mb=function(e){return ZP(LL(e,10),(hxe(),UXe))};eB(fIe,"SelfLoopPortRestorer/lambda$2$Type",1564);Kce(1565,1,{},Mr),_xe.Kb=function(e){return LL(Fae(LL(e,10),(hxe(),UXe)),398)};eB(fIe,"SelfLoopPortRestorer/lambda$3$Type",1565);Kce(1566,1,c_e,Sp),_xe.td=function(e){Rse(this.a,LL(e,398))};eB(fIe,"SelfLoopPortRestorer/lambda$4$Type",1566);Kce(776,1,c_e,Tr),_xe.td=function(e){Yse(LL(e,101))};eB(fIe,"SelfLoopPortRestorer/lambda$5$Type",776);Kce(1567,1,GEe,Ar),_xe.nf=function(e,t){!function(e,t){qoe(t,"Self-Loop post-processing",1),lS(_V(_V(aQ(new cj(null,new ZG(e.b,16)),new Pr),new Or),new Dr),new Rr),_se(t)}(LL(e,38),t)};eB(fIe,"SelfLoopPostProcessor",1567);Kce(1568,1,{},Pr),_xe.Kb=function(e){return new cj(null,new ZG(LL(e,29).a,16))};eB(fIe,"SelfLoopPostProcessor/lambda$0$Type",1568);Kce(1569,1,L_e,Or),_xe.Mb=function(e){return LL(e,10).k==(mse(),XHe)};eB(fIe,"SelfLoopPostProcessor/lambda$1$Type",1569);Kce(1570,1,L_e,Dr),_xe.Mb=function(e){return ZP(LL(e,10),(hxe(),UXe))};eB(fIe,"SelfLoopPostProcessor/lambda$2$Type",1570);Kce(1571,1,c_e,Rr),_xe.td=function(e){!function(e){var t;lS(aQ(new cj(null,new ZG((t=LL(Fae(e,(hxe(),UXe)),398)).d,16)),new Lr),new kp(e)),lS(_V(new cj(null,new ZG(t.d,16)),new Nr),new Cp(e))}(LL(e,10))};eB(fIe,"SelfLoopPostProcessor/lambda$3$Type",1571);Kce(1572,1,{},Lr),_xe.Kb=function(e){return new cj(null,new ZG(LL(e,101).f,1))};eB(fIe,"SelfLoopPostProcessor/lambda$4$Type",1572);Kce(1573,1,c_e,kp),_xe.td=function(e){!function(e,t){var n;PG(n=t.a,t.c.d),AG(n,t.d.d),gJ(n.a,e.n)}(this.a,LL(e,404))};eB(fIe,"SelfLoopPostProcessor/lambda$5$Type",1573);Kce(1574,1,L_e,Nr),_xe.Mb=function(e){return!!LL(e,101).i};eB(fIe,"SelfLoopPostProcessor/lambda$6$Type",1574);Kce(1575,1,c_e,Cp),_xe.td=function(e){by(this.a,LL(e,101))};eB(fIe,"SelfLoopPostProcessor/lambda$7$Type",1575);Kce(1557,1,GEe,jr),_xe.nf=function(e,t){!function(e,t){var n,r,i,o;for(qoe(t,"Self-Loop pre-processing",1),r=new td(e.a);r.a<r.c.c.length;)D9(n=LL(xW(r),10))&&(o=new rte(n),S5(n,(hxe(),UXe),o),Qge(o),lS(SV(aQ(new cj(null,new ZG((i=o).d,16)),new Fr),new zr),new Br),ude(i));_se(t)}(LL(e,38),t)};eB(fIe,"SelfLoopPreProcessor",1557);Kce(1558,1,{},Fr),_xe.Kb=function(e){return new cj(null,new ZG(LL(e,101).f,1))};eB(fIe,"SelfLoopPreProcessor/lambda$0$Type",1558);Kce(1559,1,{},zr),_xe.Kb=function(e){return LL(e,404).a};eB(fIe,"SelfLoopPreProcessor/lambda$1$Type",1559);Kce(1560,1,c_e,Br),_xe.td=function(e){!function(e){PG(e,null),AG(e,null)}(LL(e,18))};eB(fIe,"SelfLoopPreProcessor/lambda$2$Type",1560);Kce(1576,1,GEe,DD),_xe.nf=function(e,t){bse(this,LL(e,38),t)};eB(fIe,"SelfLoopRouter",1576);Kce(1577,1,{},Vr),_xe.Kb=function(e){return new cj(null,new ZG(LL(e,29).a,16))};eB(fIe,"SelfLoopRouter/lambda$0$Type",1577);Kce(1578,1,L_e,$r),_xe.Mb=function(e){return LL(e,10).k==(mse(),XHe)};eB(fIe,"SelfLoopRouter/lambda$1$Type",1578);Kce(1579,1,L_e,Hr),_xe.Mb=function(e){return ZP(LL(e,10),(hxe(),UXe))};eB(fIe,"SelfLoopRouter/lambda$2$Type",1579);Kce(1580,1,{},Gr),_xe.Kb=function(e){return LL(Fae(LL(e,10),(hxe(),UXe)),398)};eB(fIe,"SelfLoopRouter/lambda$3$Type",1580);Kce(1581,1,c_e,eC),_xe.td=function(e){AV(this.a,this.b,LL(e,398))};eB(fIe,"SelfLoopRouter/lambda$4$Type",1581);Kce(1582,1,GEe,Wr),_xe.nf=function(e,t){!function(e,t){var n,r;for(qoe(t,"Semi-Interactive Crossing Minimization Processor",1),n=!1,r=new td(e.b);r.a<r.c.c.length;)n|=null!=i8(JQ(_V(_V(new cj(null,new ZG(LL(xW(r),29).a,16)),new Ur),new qr),new Xr),new Yr).a;n&&S5(e,(hxe(),SXe),(_P(),!0)),_se(t)}(LL(e,38),t)};eB(fIe,"SemiInteractiveCrossMinProcessor",1582);Kce(1583,1,L_e,Ur),_xe.Mb=function(e){return LL(e,10).k==(mse(),XHe)};eB(fIe,"SemiInteractiveCrossMinProcessor/lambda$0$Type",1583);Kce(1584,1,L_e,qr),_xe.Mb=function(e){return ij(LL(e,10))._b((Kwe(),lJe))};eB(fIe,"SemiInteractiveCrossMinProcessor/lambda$1$Type",1584);Kce(1585,1,_ke,Xr),_xe.ue=function(e,t){return function(e,t){var n,r;return n=LL(Fae(e,(Kwe(),lJe)),8),r=LL(Fae(t,lJe),8),j8(n.b,r.b)}(LL(e,10),LL(t,10))},_xe.Fb=function(e){return this===e},_xe.ve=function(){return new ad(this)};eB(fIe,"SemiInteractiveCrossMinProcessor/lambda$2$Type",1585);Kce(1586,1,{},Yr),_xe.Ce=function(e,t){return function(e,t){return LL(Fae(e,(hxe(),_Xe)),14).Dc(t),t}(LL(e,10),LL(t,10))};eB(fIe,"SemiInteractiveCrossMinProcessor/lambda$3$Type",1586);Kce(1588,1,GEe,Kr),_xe.nf=function(e,t){!function(e){var t,n,r,i,o,a,s,l;for(r=0,n=new td(e.b);n.a<n.c.c.length;){for(t=LL(xW(n),29),s=0==r?0:r-1,a=LL(JN(e.b,s),29),o=new td(t.a);o.a<o.c.c.length;)OI(Fae(i=LL(xW(o),10),(Kwe(),tJe)))===OI((joe(),bet))&&OI(Fae(i,tJe))===OI(vet)||(l=new Hm,lS(_V(new cj(null,new ZG(i.j,16)),new Zr),new Ep(l)),v$(),kT(i.j,new dC(a,l)),i.i=!0,Cue(i));v$(),kT(t.a,new hC(a,LL(Fae(e,(Kwe(),LZe)),372))),++r}}(LL(e,38))};eB(fIe,"SortByInputModelProcessor",1588);Kce(1589,1,L_e,Zr),_xe.Mb=function(e){return 0!=LL(e,11).g.c.length};eB(fIe,"SortByInputModelProcessor/lambda$0$Type",1589);Kce(1590,1,c_e,Ep),_xe.td=function(e){$oe(this.a,LL(e,11))};eB(fIe,"SortByInputModelProcessor/lambda$1$Type",1590);Kce(1663,785,{},F1),_xe.Me=function(e){var t,n,r,i;switch(this.c=e,this.a.g){case 2:t=new $m,lS(_V(new cj(null,new ZG(this.c.a.b,16)),new fi),new oC(this,t)),Jle(this,new Jr),uJ(t,new ei),t.c=fK(pje,zxe,1,0,5,1),lS(_V(new cj(null,new ZG(this.c.a.b,16)),new ti),new Mp(t)),Jle(this,new ni),uJ(t,new ri),t.c=fK(pje,zxe,1,0,5,1),n=IT(B1(kV(new cj(null,new ZG(this.c.a.b,16)),new Tp(this))),new ii),lS(new cj(null,new ZG(this.c.a.a,16)),new nC(n,t)),Jle(this,new ai),uJ(t,new si),t.c=fK(pje,zxe,1,0,5,1);break;case 3:r=new $m,Jle(this,new Qr),i=IT(B1(kV(new cj(null,new ZG(this.c.a.b,16)),new Ip(this))),new oi),lS(_V(new cj(null,new ZG(this.c.a.b,16)),new li),new iC(i,r)),Jle(this,new ui),uJ(r,new ci),r.c=fK(pje,zxe,1,0,5,1);break;default:throw Jm(new Cb)}},_xe.b=0;eB(xIe,"EdgeAwareScanlineConstraintCalculation",1663);Kce(1664,1,Bke,Qr),_xe.Lb=function(e){return BT(LL(e,56).g,145)},_xe.Fb=function(e){return this===e},_xe.Mb=function(e){return BT(LL(e,56).g,145)};eB(xIe,"EdgeAwareScanlineConstraintCalculation/lambda$0$Type",1664);Kce(1665,1,{},Ip),_xe.Fe=function(e){return function(e,t){var n,i;return BT(t.g,10)&&LL(t.g,10).k==(mse(),WHe)?RSe:VU(t)?r.Math.max(0,e.b/2-.5):(n=oU(t))?(i=Oy($O(T7(n,(Kwe(),MJe)))),r.Math.max(0,i/2-.5)):RSe}(this.a,LL(e,56))};eB(xIe,"EdgeAwareScanlineConstraintCalculation/lambda$1$Type",1665);Kce(1673,1,N_e,tC),_xe.Vd=function(){xie(this.a,this.b,-1)},_xe.b=0;eB(xIe,"EdgeAwareScanlineConstraintCalculation/lambda$10$Type",1673);Kce(1675,1,Bke,Jr),_xe.Lb=function(e){return BT(LL(e,56).g,145)},_xe.Fb=function(e){return this===e},_xe.Mb=function(e){return BT(LL(e,56).g,145)};eB(xIe,"EdgeAwareScanlineConstraintCalculation/lambda$11$Type",1675);Kce(1676,1,c_e,ei),_xe.td=function(e){LL(e,362).Vd()};eB(xIe,"EdgeAwareScanlineConstraintCalculation/lambda$12$Type",1676);Kce(1677,1,L_e,ti),_xe.Mb=function(e){return BT(LL(e,56).g,10)};eB(xIe,"EdgeAwareScanlineConstraintCalculation/lambda$13$Type",1677);Kce(1679,1,c_e,Mp),_xe.td=function(e){!function(e,t){var n,i;i=Oy($O(T7(oU(t),(Kwe(),yJe)))),xie(t,n=r.Math.max(0,i/2-.5),1),RL(e,new lC(t,n))}(this.a,LL(e,56))};eB(xIe,"EdgeAwareScanlineConstraintCalculation/lambda$14$Type",1679);Kce(1678,1,N_e,lC),_xe.Vd=function(){xie(this.b,this.a,-1)},_xe.a=0;eB(xIe,"EdgeAwareScanlineConstraintCalculation/lambda$15$Type",1678);Kce(1680,1,Bke,ni),_xe.Lb=function(e){return BT(LL(e,56).g,10)},_xe.Fb=function(e){return this===e},_xe.Mb=function(e){return BT(LL(e,56).g,10)};eB(xIe,"EdgeAwareScanlineConstraintCalculation/lambda$16$Type",1680);Kce(1681,1,c_e,ri),_xe.td=function(e){LL(e,362).Vd()};eB(xIe,"EdgeAwareScanlineConstraintCalculation/lambda$17$Type",1681);Kce(1682,1,{},Tp),_xe.Fe=function(e){return function(e,t){var n,i;return BT(t.g,10)&&LL(t.g,10).k==(mse(),WHe)?RSe:VU(t)?r.Math.max(0,e.b/2-.5):(n=oU(t))?(i=Oy($O(T7(n,(Kwe(),MJe)))),r.Math.max(0,i/2-.5)):RSe}(this.a,LL(e,56))};eB(xIe,"EdgeAwareScanlineConstraintCalculation/lambda$18$Type",1682);Kce(1683,1,{},ii),_xe.De=function(){return 0};eB(xIe,"EdgeAwareScanlineConstraintCalculation/lambda$19$Type",1683);Kce(1666,1,{},oi),_xe.De=function(){return 0};eB(xIe,"EdgeAwareScanlineConstraintCalculation/lambda$2$Type",1666);Kce(1685,1,c_e,nC),_xe.td=function(e){!function(e,t,n){yfe(n,e,1),RL(t,new rC(n,e))}(this.a,this.b,LL(e,305))},_xe.a=0;eB(xIe,"EdgeAwareScanlineConstraintCalculation/lambda$20$Type",1685);Kce(1684,1,N_e,rC),_xe.Vd=function(){yfe(this.a,this.b,-1)},_xe.b=0;eB(xIe,"EdgeAwareScanlineConstraintCalculation/lambda$21$Type",1684);Kce(1686,1,Bke,ai),_xe.Lb=function(e){return LL(e,56),!0},_xe.Fb=function(e){return this===e},_xe.Mb=function(e){return LL(e,56),!0};eB(xIe,"EdgeAwareScanlineConstraintCalculation/lambda$22$Type",1686);Kce(1687,1,c_e,si),_xe.td=function(e){LL(e,362).Vd()};eB(xIe,"EdgeAwareScanlineConstraintCalculation/lambda$23$Type",1687);Kce(1667,1,L_e,li),_xe.Mb=function(e){return BT(LL(e,56).g,10)};eB(xIe,"EdgeAwareScanlineConstraintCalculation/lambda$3$Type",1667);Kce(1669,1,c_e,iC),_xe.td=function(e){!function(e,t,n){xie(n,e,1),RL(t,new uC(n,e))}(this.a,this.b,LL(e,56))},_xe.a=0;eB(xIe,"EdgeAwareScanlineConstraintCalculation/lambda$4$Type",1669);Kce(1668,1,N_e,uC),_xe.Vd=function(){xie(this.b,this.a,-1)},_xe.a=0;eB(xIe,"EdgeAwareScanlineConstraintCalculation/lambda$5$Type",1668);Kce(1670,1,Bke,ui),_xe.Lb=function(e){return LL(e,56),!0},_xe.Fb=function(e){return this===e},_xe.Mb=function(e){return LL(e,56),!0};eB(xIe,"EdgeAwareScanlineConstraintCalculation/lambda$6$Type",1670);Kce(1671,1,c_e,ci),_xe.td=function(e){LL(e,362).Vd()};eB(xIe,"EdgeAwareScanlineConstraintCalculation/lambda$7$Type",1671);Kce(1672,1,L_e,fi),_xe.Mb=function(e){return BT(LL(e,56).g,145)};eB(xIe,"EdgeAwareScanlineConstraintCalculation/lambda$8$Type",1672);Kce(1674,1,c_e,oC),_xe.td=function(e){!function(e,t,n){var i;xie(n,i=r.Math.max(0,e.b/2-.5),1),RL(t,new tC(n,i))}(this.a,this.b,LL(e,56))};var LWe;eB(xIe,"EdgeAwareScanlineConstraintCalculation/lambda$9$Type",1674);Kce(1491,1,GEe,DP),_xe.nf=function(e,t){Tve(this,LL(e,38),t)};eB(xIe,"HorizontalGraphCompactor",1491);Kce(1492,1,{},Ap),_xe.Oe=function(e,t){var n,r;return GZ(e,t)?0:(n=oU(e),r=oU(t),n&&n.k==(mse(),WHe)||r&&r.k==(mse(),WHe)?0:function(e,t,n){return GU(e,t,n,e.b)}(LL(Fae(this.a.a,(hxe(),qXe)),302),n?n.k:(mse(),qHe),r?r.k:(mse(),qHe)))},_xe.Pe=function(e,t){var n,r;return GZ(e,t)?1:(n=oU(e),r=oU(t),IP(LL(Fae(this.a.a,(hxe(),qXe)),302),n?n.k:(mse(),qHe),r?r.k:(mse(),qHe)))};eB(xIe,"HorizontalGraphCompactor/1",1492);Kce(1493,1,{},hi),_xe.Ne=function(e,t){return AS(),0==e.a.i};eB(xIe,"HorizontalGraphCompactor/lambda$0$Type",1493);Kce(1494,1,{},Pp),_xe.Ne=function(e,t){return function(e,t,n){return AS(),function(e,t){switch(t.g){case 2:return e.b;case 1:return e.c;case 4:return e.d;case 3:return e.a;default:return!1}}(LL(aB(e.e,t),515),n)}(this.a,e,t)};var NWe,jWe;eB(xIe,"HorizontalGraphCompactor/lambda$1$Type",1494);Kce(1634,1,{},OZ);eB(xIe,"LGraphToCGraphTransformer",1634);Kce(1642,1,L_e,di),_xe.Mb=function(e){return null!=e};eB(xIe,"LGraphToCGraphTransformer/0methodref$nonNull$Type",1642);Kce(1635,1,{},pi),_xe.Kb=function(e){return iL(),P9(Fae(LL(LL(e,56).g,10),(hxe(),OXe)))};eB(xIe,"LGraphToCGraphTransformer/lambda$0$Type",1635);Kce(1636,1,{},gi),_xe.Kb=function(e){return iL(),q6(LL(LL(e,56).g,145))};eB(xIe,"LGraphToCGraphTransformer/lambda$1$Type",1636);Kce(1645,1,L_e,mi),_xe.Mb=function(e){return iL(),BT(LL(e,56).g,10)};eB(xIe,"LGraphToCGraphTransformer/lambda$10$Type",1645);Kce(1646,1,c_e,bi),_xe.td=function(e){!function(e){var t;iL(),(t=LL(e.g,10)).n.a=e.d.c+t.d.b}(LL(e,56))};eB(xIe,"LGraphToCGraphTransformer/lambda$11$Type",1646);Kce(1647,1,L_e,vi),_xe.Mb=function(e){return iL(),BT(LL(e,56).g,145)};eB(xIe,"LGraphToCGraphTransformer/lambda$12$Type",1647);Kce(1651,1,c_e,yi),_xe.td=function(e){!function(e){var t,n;iL(),t=e.d.c-e.e.c,uJ((n=LL(e.g,145)).b,new Op(t)),uJ(n.c,new Dp(t)),yX(n.i,new Rp(t))}(LL(e,56))};eB(xIe,"LGraphToCGraphTransformer/lambda$13$Type",1651);Kce(1648,1,c_e,Op),_xe.td=function(e){!function(e,t){iL(),t.a+=e}(this.a,LL(e,8))},_xe.a=0;eB(xIe,"LGraphToCGraphTransformer/lambda$14$Type",1648);Kce(1649,1,c_e,Dp),_xe.td=function(e){!function(e,t){iL(),t.c+=e}(this.a,LL(e,109))},_xe.a=0;eB(xIe,"LGraphToCGraphTransformer/lambda$15$Type",1649);Kce(1650,1,c_e,Rp),_xe.td=function(e){!function(e,t){iL(),t.a+=e}(this.a,LL(e,8))},_xe.a=0;eB(xIe,"LGraphToCGraphTransformer/lambda$16$Type",1650);Kce(1652,1,{},wi),_xe.Kb=function(e){return iL(),new cj(null,new Cz(new xF(BA(g9(LL(e,10)).a.Ic(),new p))))};eB(xIe,"LGraphToCGraphTransformer/lambda$17$Type",1652);Kce(1653,1,L_e,xi),_xe.Mb=function(e){return iL(),NX(LL(e,18))};eB(xIe,"LGraphToCGraphTransformer/lambda$18$Type",1653);Kce(1654,1,c_e,Lp),_xe.td=function(e){!function(e,t){var n,r,i;i=t.c.i,r=(n=LL(aB(e.f,i),56)).d.c-n.e.c,X1(t.a,r,0)}(this.a,LL(e,18))};eB(xIe,"LGraphToCGraphTransformer/lambda$19$Type",1654);Kce(1638,1,c_e,Np),_xe.td=function(e){!function(e,t){var n;n=LL(aB(e.g,t),56),uJ(t.d,new aC(e,n))}(this.a,LL(e,145))};eB(xIe,"LGraphToCGraphTransformer/lambda$2$Type",1638);Kce(1655,1,{},_i),_xe.Kb=function(e){return iL(),new cj(null,new ZG(LL(e,29).a,16))};eB(xIe,"LGraphToCGraphTransformer/lambda$20$Type",1655);Kce(1656,1,{},Si),_xe.Kb=function(e){return iL(),new cj(null,new Cz(new xF(BA(g9(LL(e,10)).a.Ic(),new p))))};eB(xIe,"LGraphToCGraphTransformer/lambda$21$Type",1656);Kce(1657,1,{},ki),_xe.Kb=function(e){return iL(),LL(Fae(LL(e,18),(hxe(),KXe)),14)};eB(xIe,"LGraphToCGraphTransformer/lambda$22$Type",1657);Kce(1658,1,L_e,Ci),_xe.Mb=function(e){return function(e){return iL(),!!e&&!e.dc()}(LL(e,14))};eB(xIe,"LGraphToCGraphTransformer/lambda$23$Type",1658);Kce(1659,1,c_e,jp),_xe.td=function(e){!function(e,t){var n,r,i,o,a;if(!t.dc())if(i=LL(t.Xb(0),128),1!=t.gc())for(n=1;n<t.gc();)!i.j&&i.o||(o=Are(t,n))&&(r=LL(o.a,20).a,vde(e,i,a=LL(o.b,128),n,r,t),n=r+1,i=a);else vde(e,i,i,1,0,t)}(this.a,LL(e,14))};eB(xIe,"LGraphToCGraphTransformer/lambda$24$Type",1659);Kce(1637,1,c_e,aC),_xe.td=function(e){!function(e,t,n){var r;r=LL(aB(e.g,n),56),RL(e.a.c,new KE(t,r))}(this.a,this.b,LL(e,145))};eB(xIe,"LGraphToCGraphTransformer/lambda$3$Type",1637);Kce(1639,1,{},Ei),_xe.Kb=function(e){return iL(),new cj(null,new ZG(LL(e,29).a,16))};eB(xIe,"LGraphToCGraphTransformer/lambda$4$Type",1639);Kce(1640,1,{},Ii),_xe.Kb=function(e){return iL(),new cj(null,new Cz(new xF(BA(g9(LL(e,10)).a.Ic(),new p))))};eB(xIe,"LGraphToCGraphTransformer/lambda$5$Type",1640);Kce(1641,1,{},Mi),_xe.Kb=function(e){return iL(),LL(Fae(LL(e,18),(hxe(),KXe)),14)};eB(xIe,"LGraphToCGraphTransformer/lambda$6$Type",1641);Kce(1643,1,c_e,Fp),_xe.td=function(e){!function(e,t){var n,r,i,o;for(iL(),n=null,i=t.Ic();i.Ob();)(r=LL(i.Pb(),128)).o||(RL((o=new Ibe(NT(r.a),WL(r.a),null,LL(r.d.a.ec().Ic().Pb(),18))).c,r.a),e.c[e.c.length]=o,n&&RL(n.d,o),n=o)}(this.a,LL(e,14))};eB(xIe,"LGraphToCGraphTransformer/lambda$8$Type",1643);Kce(1644,1,c_e,sC),_xe.td=function(e){!function(e,t,n){eV(e.g,n,t)}(this.a,this.b,LL(e,145))};eB(xIe,"LGraphToCGraphTransformer/lambda$9$Type",1644);Kce(1633,1,{},Ti),_xe.Le=function(e){var t,n,i,o,a;for(this.a=e,this.d=new Rb,this.c=fK(EBe,zxe,119,this.a.a.a.c.length,0,1),this.b=0,n=new td(this.a.a.a);n.a<n.c.c.length;)(t=LL(xW(n),305)).d=this.b,a=dP(vS(new jb,t),this.d),this.c[this.b]=a,++this.b;for(function(e){var t,n,i,o,a,s,l,u,c,f,h,d;for(o=new td(e.a.a.b);o.a<o.c.c.length;)for(u=(i=LL(xW(o),56)).c.Ic();u.Ob();)l=LL(u.Pb(),56),i.a!=l.a&&(h=LM(e.a.d)?e.a.g.Oe(i,l):e.a.g.Pe(i,l),a=i.b.a+i.d.b+h-l.b.a,a=r.Math.ceil(a),a=r.Math.max(0,a),GZ(i,l)?(s=dP(new jb,e.d),t=(c=IH(r.Math.ceil(l.b.a-i.b.a)))-(l.b.a-i.b.a),n=i,(f=VU(i).a)||(f=VU(l).a,t=-t,n=l),f&&(n.b.a-=t,f.n.a-=t),Yhe(mS(gS(bS(pS(new Nb,r.Math.max(0,c)),1),s),e.c[i.a.d])),Yhe(mS(gS(bS(pS(new Nb,r.Math.max(0,-c)),1),s),e.c[l.a.d]))):(d=1,(BT(i.g,145)&&BT(l.g,10)||BT(l.g,145)&&BT(i.g,10))&&(d=2),Yhe(mS(gS(bS(pS(new Nb,IH(a)),d),e.c[i.a.d]),e.c[l.a.d]))))}(this),function(e){var t,n,r,i,o,a,s,l,u,c,f,h,d,g,m,b,v;for(u=new Hm,s=new yH,r=new td(e.a.a.b);r.a<r.c.c.length;)if(l=oU(t=LL(xW(r),56)))eue(u.f,l,t);else if(v=VU(t))for(i=new td(v.k);i.a<i.c.c.length;)Yue(s,LL(xW(i),18),t);for(n=new td(e.a.a.b);n.a<n.c.c.length;)if(l=oU(t=LL(xW(n),56)))for(a=new xF(BA(g9(l).a.Ic(),new p));Zce(a);)if(!NX(o=LL(dX(a),18))&&(d=o.c,b=o.d,!(hwe(),Get).Fc(o.c.j)||!Get.Fc(o.d.j))){if(g=LL(aB(u,o.d.i),56),Yhe(mS(gS(bS(pS(new Nb,0),100),e.c[t.a.d]),e.c[g.a.d])),d.j==Qet&&kF((h2(),d)))for(f=LL(KX(s,o),21).Ic();f.Ob();)if((c=LL(f.Pb(),56)).d.c<t.d.c){if((h=e.c[c.a.d])==(m=e.c[t.a.d]))continue;Yhe(mS(gS(bS(pS(new Nb,1),100),h),m))}if(b.j==Oet&&SF((h2(),b)))for(f=LL(KX(s,o),21).Ic();f.Ob();)if((c=LL(f.Pb(),56)).d.c>t.d.c){if((h=e.c[t.a.d])==(m=e.c[c.a.d]))continue;Yhe(mS(gS(bS(pS(new Nb,1),100),h),m))}}}(this),function(e){var t,n,r,i,o,a,s;for(o=new sS,i=new td(e.d.a);i.a<i.c.c.length;)0==(r=LL(xW(i),119)).b.a.c.length&&jq(o,r,o.c.b,o.c);if(o.b>1)for(t=dP((n=new jb,++e.b,n),e.d),s=cte(o,0);s.b!=s.d.c;)a=LL(BU(s),119),Yhe(mS(gS(bS(pS(new Nb,1),0),t),a))}(this),Lge(HR(this.d),new qv),o=new td(this.a.a.b);o.a<o.c.c.length;)(i=LL(xW(o),56)).d.c=this.c[i.a.d].e+i.b.a},_xe.b=0;eB(xIe,"NetworkSimplexCompaction",1633);Kce(145,1,{36:1,145:1},Ibe),_xe.wd=function(e){return function(e,t){var n;return 0==(n=X9(e.e.c,t.e.c))?j8(e.e.d,t.e.d):n}(this,LL(e,145))},_xe.Ib=function(){return q6(this)};eB(xIe,"VerticalSegment",145);Kce(806,1,{},Ooe),_xe.c=0,_xe.e=0,_xe.i=0;eB(_Ie,"BetweenLayerEdgeTwoNodeCrossingsCounter",806);Kce(651,1,{651:1},C2),_xe.Ib=function(){return"AdjacencyList [node="+this.d+", adjacencies= "+this.a+"]"},_xe.b=0,_xe.c=0,_xe.f=0;eB(_Ie,"BetweenLayerEdgeTwoNodeCrossingsCounter/AdjacencyList",651);Kce(286,1,{36:1,286:1},KP),_xe.wd=function(e){return function(e,t){return e.c<t.c?-1:e.c==t.c?0:1}(this,LL(e,286))},_xe.Ib=function(){return"Adjacency [position="+this.c+", cardinality="+this.a+", currentCardinality="+this.b+"]"},_xe.a=0,_xe.b=0,_xe.c=0;eB(_Ie,"BetweenLayerEdgeTwoNodeCrossingsCounter/AdjacencyList/Adjacency",286);Kce(1901,1,{},Use),_xe.b=0,_xe.e=!1;eB(_Ie,"CrossingMatrixFiller",1901);var FWe=NN(SIe,"IInitializable");Kce(1776,1,kIe,fC),_xe.Kf=function(e,t,n,r,i,o){},_xe.Mf=function(e,t,n){},_xe.If=function(){return this.c!=(M0(),S1e)},_xe.Jf=function(){this.e=fK(nat,sSe,24,this.d,15,1)},_xe.Lf=function(e,t){t[e][0].c.p=e},_xe.Nf=function(e,t,n,r){++this.d},_xe.Of=function(){return!0},_xe.Pf=function(e,t,n,r){return v6(this,e,t,n),function(e,t){var n,r;r=!1;do{r|=n=T5(e,t)}while(n);return r}(this,t)},_xe.Qf=function(e,t){var n;return n=function(e,t){return e?0:t-1}(t,e.length),v6(this,e,n,t),T5(this,n)},_xe.d=0;eB(_Ie,"GreedySwitchHeuristic",1776);Kce(1902,1,{},gj),_xe.b=0,_xe.d=0;eB(_Ie,"NorthSouthEdgeNeighbouringNodeCrossingsCounter",1902);Kce(1889,1,{},Ipe),_xe.a=!1;eB(_Ie,"SwitchDecider",1889);Kce(101,1,{101:1},hle),_xe.a=null,_xe.c=null,_xe.i=null;eB(CIe,"SelfHyperLoop",101);Kce(1888,1,{},ite),_xe.c=0,_xe.e=0;var zWe,BWe,VWe,$We;eB(CIe,"SelfHyperLoopLabels",1888);Kce(406,22,{3:1,36:1,22:1,406:1},pC);var HWe,GWe=f0(CIe,"SelfHyperLoopLabels/Alignment",406,Aje,(function(){return S3(),q3(lw(GWe,1),A_e,406,0,[zWe,BWe,VWe,$We])}),(function(e){return S3(),fQ((aZ(),HWe),e)}));Kce(404,1,{404:1},pY);eB(CIe,"SelfLoopEdge",404);Kce(398,1,{398:1},rte),_xe.a=!1;eB(CIe,"SelfLoopHolder",398);Kce(1693,1,L_e,Hi),_xe.Mb=function(e){return NX(LL(e,18))};eB(CIe,"SelfLoopHolder/lambda$0$Type",1693);Kce(112,1,{112:1},_te),_xe.a=!1,_xe.c=!1;eB(CIe,"SelfLoopPort",112);Kce(1763,1,L_e,Gi),_xe.Mb=function(e){return NX(LL(e,18))};var WWe,UWe,qWe,XWe,YWe;eB(CIe,"SelfLoopPort/lambda$0$Type",1763);Kce(360,22,{3:1,36:1,22:1,360:1},gC);var KWe,ZWe,QWe,JWe,eUe,tUe=f0(CIe,"SelfLoopType",360,Aje,(function(){return koe(),q3(lw(tUe,1),A_e,360,0,[UWe,XWe,YWe,qWe,WWe])}),(function(e){return koe(),fQ((MQ(),KWe),e)}));Kce(1701,1,{},Kc);var nUe,rUe,iUe;eB(EIe,"PortRestorer",1701);Kce(358,22,{3:1,36:1,22:1,358:1},mC);var oUe,aUe=f0(EIe,"PortRestorer/PortSideArea",358,Aje,(function(){return _1(),q3(lw(aUe,1),A_e,358,0,[iUe,rUe,nUe])}),(function(e){return _1(),fQ((iK(),oUe),e)}));Kce(1702,1,{},Pi),_xe.Kb=function(e){return Zae(),LL(e,14).Mc()};eB(EIe,"PortRestorer/lambda$0$Type",1702);Kce(1703,1,c_e,Oi),_xe.td=function(e){Zae(),LL(e,112).c=!1};eB(EIe,"PortRestorer/lambda$1$Type",1703);Kce(1712,1,L_e,Di),_xe.Mb=function(e){return Zae(),LL(e,11).j==(hwe(),Qet)};eB(EIe,"PortRestorer/lambda$10$Type",1712);Kce(1713,1,{},Ri),_xe.Kb=function(e){return Zae(),LL(e,112).d};eB(EIe,"PortRestorer/lambda$11$Type",1713);Kce(1714,1,c_e,zp),_xe.td=function(e){!function(e,t){Zae(),DG(t,e)}(this.a,LL(e,11))};eB(EIe,"PortRestorer/lambda$12$Type",1714);Kce(1704,1,c_e,Bp),_xe.td=function(e){!function(e,t){Zae(),Yue(e,t.e,t)}(this.a,LL(e,101))};eB(EIe,"PortRestorer/lambda$2$Type",1704);Kce(1705,1,_ke,Li),_xe.ue=function(e,t){return function(e,t){return Zae(),MT(e.b.c.length-e.e.c.length,t.b.c.length-t.e.c.length)}(LL(e,112),LL(t,112))},_xe.Fb=function(e){return this===e},_xe.ve=function(){return new ad(this)};eB(EIe,"PortRestorer/lambda$3$Type",1705);Kce(1706,1,L_e,Ni),_xe.Mb=function(e){return Zae(),LL(e,112).c};eB(EIe,"PortRestorer/lambda$4$Type",1706);Kce(1707,1,L_e,ji),_xe.Mb=function(e){return function(e){var t,n,r;return e.j==(hwe(),Det)&&(n=aP(t=Rce(e),Oet),(r=aP(t,Qet))||r&&n)}(LL(e,11))};eB(EIe,"PortRestorer/lambda$5$Type",1707);Kce(1708,1,L_e,Ai),_xe.Mb=function(e){return Zae(),LL(e,11).j==(hwe(),Det)};eB(EIe,"PortRestorer/lambda$6$Type",1708);Kce(1709,1,L_e,Fi),_xe.Mb=function(e){return Zae(),LL(e,11).j==(hwe(),Oet)};eB(EIe,"PortRestorer/lambda$7$Type",1709);Kce(1710,1,L_e,zi),_xe.Mb=function(e){return function(e){return e.j==(hwe(),Ket)&&aP(Rce(e),Oet)}(LL(e,11))};eB(EIe,"PortRestorer/lambda$8$Type",1710);Kce(1711,1,L_e,Bi),_xe.Mb=function(e){return Zae(),LL(e,11).j==(hwe(),Ket)};var sUe,lUe,uUe,cUe,fUe,hUe,dUe,pUe;eB(EIe,"PortRestorer/lambda$9$Type",1711);Kce(269,22,{3:1,36:1,22:1,269:1},PV);var gUe,mUe=f0(EIe,"PortSideAssigner/Target",269,Aje,(function(){return Qde(),q3(lw(mUe,1),A_e,269,0,[lUe,fUe,sUe,pUe,cUe,uUe,dUe,hUe])}),(function(e){return Qde(),fQ((W2(),gUe),e)}));Kce(1694,1,{},Vi),_xe.Kb=function(e){return _V(new cj(null,new ZG(LL(e,101).j,16)),new Yi)};eB(EIe,"PortSideAssigner/lambda$1$Type",1694);Kce(1695,1,{},$i),_xe.Kb=function(e){return LL(e,112).d};eB(EIe,"PortSideAssigner/lambda$2$Type",1695);Kce(1696,1,c_e,Ui),_xe.td=function(e){mue(LL(e,11),(hwe(),Det))};eB(EIe,"PortSideAssigner/lambda$3$Type",1696);Kce(1697,1,{},qi),_xe.Kb=function(e){return LL(e,112).d};eB(EIe,"PortSideAssigner/lambda$4$Type",1697);Kce(1698,1,c_e,Vp),_xe.td=function(e){!function(e,t){mue(t,e)}(this.a,LL(e,11))};eB(EIe,"PortSideAssigner/lambda$5$Type",1698);Kce(1699,1,_ke,Wi),_xe.ue=function(e,t){return function(e,t){return MT(t.j.c.length,e.j.c.length)}(LL(e,101),LL(t,101))},_xe.Fb=function(e){return this===e},_xe.ve=function(){return new ad(this)};eB(EIe,"PortSideAssigner/lambda$6$Type",1699);Kce(1700,1,_ke,Xi),_xe.ue=function(e,t){return function(e,t){return MT(EN(e.d),EN(t.d))}(LL(e,112),LL(t,112))},_xe.Fb=function(e){return this===e},_xe.ve=function(){return new ad(this)};eB(EIe,"PortSideAssigner/lambda$7$Type",1700);Kce(787,1,L_e,Yi),_xe.Mb=function(e){return LL(e,112).c};eB(EIe,"PortSideAssigner/lambda$8$Type",787);Kce(1978,1,{});eB(IIe,"AbstractSelfLoopRouter",1978);Kce(1719,1,_ke,Ki),_xe.ue=function(e,t){return function(e,t){return MT(e.a.d.p,t.a.d.p)}(LL(e,101),LL(t,101))},_xe.Fb=function(e){return this===e},_xe.ve=function(){return new ad(this)};eB(IIe,cCe,1719);Kce(1720,1,_ke,Zi),_xe.ue=function(e,t){return function(e,t){return MT(t.a.d.p,e.a.d.p)}(LL(e,101),LL(t,101))},_xe.Fb=function(e){return this===e},_xe.ve=function(){return new ad(this)};eB(IIe,fCe,1720);Kce(1764,1978,{},Qi),_xe.Rf=function(e,t,n){return n};eB(IIe,"OrthogonalSelfLoopRouter",1764);Kce(1766,1,c_e,cC),_xe.td=function(e){Iee(this.b,this.a,LL(e,8))};eB(IIe,"OrthogonalSelfLoopRouter/lambda$0$Type",1766);Kce(1765,1764,{},Ji),_xe.Rf=function(e,t,n){var i,o;return TO(n,0,BD(RT((i=e.c.d).n),i.a)),bN(n,BD(RT((o=e.d.d).n),o.a)),function(e){var t,n,i,o,a,s,l,u;for(u=new bv,l=null,n=LL(BU(t=cte(e,0)),8),o=LL(BU(t),8);t.b!=t.d.c;)l=n,n=o,o=LL(BU(t),8),a=ZQ(VD(new YE(l.a,l.b),n)),s=ZQ(VD(new YE(o.a,o.b),n)),i=10,i=r.Math.min(i,r.Math.abs(a.a+a.b)/2),i=r.Math.min(i,r.Math.abs(s.a+s.b)/2),a.a=kN(a.a)*i,a.b=kN(a.b)*i,s.a=kN(s.a)*i,s.b=kN(s.b)*i,bN(u,BD(a,n)),bN(u,BD(s,n));return u}(n)};var bUe;eB(IIe,"PolylineSelfLoopRouter",1765);Kce(1715,1,{},Yc),_xe.a=null;eB(IIe,"RoutingDirector",1715);Kce(1716,1,_ke,eo),_xe.ue=function(e,t){return function(e,t){return PS(),MT(e.d.p,t.d.p)}(LL(e,112),LL(t,112))},_xe.Fb=function(e){return this===e},_xe.ve=function(){return new ad(this)};eB(IIe,"RoutingDirector/lambda$0$Type",1716);Kce(1717,1,{},to),_xe.Kb=function(e){return PS(),LL(e,101).j};eB(IIe,"RoutingDirector/lambda$1$Type",1717);Kce(1718,1,c_e,no),_xe.td=function(e){PS(),LL(e,14).$c(bUe)};eB(IIe,"RoutingDirector/lambda$2$Type",1718);Kce(1721,1,{},ro);eB(IIe,"RoutingSlotAssigner",1721);Kce(1722,1,L_e,$p),_xe.Mb=function(e){return function(e,t){return aP(t.b,e)}(this.a,LL(e,101))};eB(IIe,"RoutingSlotAssigner/lambda$0$Type",1722);Kce(1723,1,_ke,Hp),_xe.ue=function(e,t){return function(e,t,n){return MT(t.d[e.g],n.d[e.g])}(this.a,LL(e,101),LL(t,101))},_xe.Fb=function(e){return this===e},_xe.ve=function(){return new ad(this)};eB(IIe,"RoutingSlotAssigner/lambda$1$Type",1723);Kce(1767,1764,{},io),_xe.Rf=function(e,t,n){var r,i,o,a;return r=Oy($O(Mte(e.b.g.b,(Kwe(),xJe)))),function(e,t,n,r,i){var o,a,s,l,u;for(o=e.c.d.j,a=LL(bte(n,0),8),u=1;u<n.b;u++)l=LL(bte(n,u),8),jq(r,a,r.c.b,r.c),s=cA(BD(new lT(a),l),.5),BD(s,cA(new zG(h4(o)),i)),jq(r,s,r.c.b,r.c),a=l,o=0==t?V8(o):z8(o);bN(r,(EP(0!=n.b),LL(n.c.b.c,8)))}(e,t,n,a=new uO(q3(lw(J6e,1),s_e,8,0,[(o=e.c.d,BD(new lT(o.n),o.a))])),r),bN(a,BD(new lT((i=e.d.d).n),i.a)),Fne(new ube(a))};eB(IIe,"SplineSelfLoopRouter",1767);Kce(1725,1,_ke,hC),_xe.ue=function(e,t){return function(e,t,n){var r,i,o,a,s,l,u,c;if(e.a==(W5(),I0e)||!ZP(t,(hxe(),PXe))||!ZP(n,(hxe(),PXe))){if(i=LL(rP(Vq(Z5(_V(new cj(null,new ZG(t.j,16)),new oo)),new ao)),11),a=LL(rP(Vq(Z5(_V(new cj(null,new ZG(n.j,16)),new so)),new lo)),11),i&&a){if(r=i.i,o=a.i,r&&r==o){for(l=new td(r.j);l.a<l.c.c.length;){if((s=LL(xW(l),11))==i)return-1;if(s==a)return 1}return MT(Eie(t),Eie(n))}for(c=new td(e.b.a);c.a<c.c.c.length;){if((u=LL(xW(c),10))==r)return-1;if(u==o)return 1}}if(!ZP(t,(hxe(),PXe))||!ZP(n,PXe))return MT(Eie(t),Eie(n))}return MT(LL(Fae(t,(hxe(),PXe)),20).a,LL(Fae(n,PXe),20).a)}(this,LL(e,10),LL(t,10))},_xe.Fb=function(e){return this===e},_xe.ve=function(){return new ad(this)};eB(MIe,"ModelOrderNodeComparator",1725);Kce(1726,1,L_e,oo),_xe.Mb=function(e){return 0!=LL(e,11).e.c.length};eB(MIe,"ModelOrderNodeComparator/lambda$0$Type",1726);Kce(1727,1,{},ao),_xe.Kb=function(e){return LL(JN(LL(e,11).e,0),18).c};eB(MIe,"ModelOrderNodeComparator/lambda$1$Type",1727);Kce(1728,1,L_e,so),_xe.Mb=function(e){return 0!=LL(e,11).e.c.length};eB(MIe,"ModelOrderNodeComparator/lambda$2$Type",1728);Kce(1729,1,{},lo),_xe.Kb=function(e){return LL(JN(LL(e,11).e,0),18).c};eB(MIe,"ModelOrderNodeComparator/lambda$3$Type",1729);Kce(1730,1,L_e,uo),_xe.Mb=function(e){return 0!=LL(e,11).e.c.length};eB(MIe,"ModelOrderNodeComparator/lambda$4$Type",1730);Kce(1724,1,_ke,dC),_xe.ue=function(e,t){return function(e,t,n){var r,i,o,a,s,l,u,c;if(0!=t.e.c.length&&0!=n.e.c.length){if((r=LL(JN(t.e,0),18).c.i)==(a=LL(JN(n.e,0),18).c.i))return MT(LL(Fae(LL(JN(t.e,0),18),(hxe(),PXe)),20).a,LL(Fae(LL(JN(n.e,0),18),PXe),20).a);for(c=new td(e.a.a);c.a<c.c.c.length;){if((u=LL(xW(c),10))==r)return 1;if(u==a)return-1}}return 0!=t.g.c.length&&0!=n.g.c.length?(o=LL(Fae(t,(hxe(),TXe)),10),l=LL(Fae(n,TXe),10),i=LL(Fae(LL(JN(t.g,0),18),PXe),20).a,s=LL(Fae(LL(JN(n.g,0),18),PXe),20).a,o&&o==l||(KF(e.b,o)&&(i=LL(aB(e.b,o),20).a),KF(e.b,l)&&(s=LL(aB(e.b,l),20).a)),i<s?-1:i>s?1:0):0!=t.e.c.length&&0!=n.g.c.length?1:-1}(this,LL(e,11),LL(t,11))},_xe.Fb=function(e){return this===e},_xe.ve=function(){return new ad(this)};eB(MIe,"ModelOrderPortComparator",1724);Kce(783,1,{},co),_xe.Sf=function(e,t){var n,i,o,a;for(o=Mse(t),n=new $m,a=t.f/o,i=1;i<o;++i)RL(n,k8(QN(I2(r.Math.round(i*a)))));return n},_xe.Tf=function(){return!1};eB(TIe,"ARDCutIndexHeuristic",783);Kce(1449,1,GEe,fo),_xe.nf=function(e,t){cge(LL(e,38),t)};eB(TIe,"BreakingPointInserter",1449);Kce(303,1,{303:1},qU),_xe.Ib=function(){var e;return(e=new pw).a+="BPInfo[",e.a+="\n\tstart=",WI(e,this.i),e.a+="\n\tend=",WI(e,this.a),e.a+="\n\tnodeStartEdge=",WI(e,this.e),e.a+="\n\tstartEndEdge=",WI(e,this.j),e.a+="\n\toriginalEdge=",WI(e,this.f),e.a+="\n\tstartInLayerDummy=",WI(e,this.k),e.a+="\n\tstartInLayerEdge=",WI(e,this.n),e.a+="\n\tendInLayerDummy=",WI(e,this.b),e.a+="\n\tendInLayerEdge=",WI(e,this.c),e.a};eB(TIe,"BreakingPointInserter/BPInfo",303);Kce(641,1,{641:1},Jp),_xe.a=!1,_xe.b=0,_xe.c=0;eB(TIe,"BreakingPointInserter/Cut",641);Kce(1450,1,GEe,ho),_xe.nf=function(e,t){uhe(LL(e,38),t)};eB(TIe,"BreakingPointProcessor",1450);Kce(1451,1,L_e,po),_xe.Mb=function(e){return SQ(LL(e,10))};eB(TIe,"BreakingPointProcessor/0methodref$isEnd$Type",1451);Kce(1452,1,L_e,go),_xe.Mb=function(e){return kQ(LL(e,10))};eB(TIe,"BreakingPointProcessor/1methodref$isStart$Type",1452);Kce(1453,1,GEe,mo),_xe.nf=function(e,t){!function(e,t,n){var r,i,o,a;for(qoe(n,"Breaking Point Removing",1),e.a=LL(Fae(t,(Kwe(),eQe)),216),i=new td(t.b);i.a<i.c.c.length;)for(a=new td(hW(LL(xW(i),29).a));a.a<a.c.c.length;)SQ(o=LL(xW(a),10))&&!(r=LL(Fae(o,(hxe(),eXe)),303)).d&&Cwe(e,r);_se(n)}(this,LL(e,38),t)};eB(TIe,"BreakingPointRemover",1453);Kce(1454,1,c_e,bo),_xe.td=function(e){LL(e,128).k=!0};eB(TIe,"BreakingPointRemover/lambda$0$Type",1454);Kce(779,1,{},ofe),_xe.b=0,_xe.e=0,_xe.f=0,_xe.j=0;eB(TIe,"GraphStats",779);Kce(780,1,{},vo),_xe.Ce=function(e,t){return r.Math.max(Oy($O(e)),Oy($O(t)))};eB(TIe,"GraphStats/0methodref$max$Type",780);Kce(781,1,{},yo),_xe.Ce=function(e,t){return r.Math.max(Oy($O(e)),Oy($O(t)))};eB(TIe,"GraphStats/2methodref$max$Type",781);Kce(1630,1,{},wo),_xe.Ce=function(e,t){return function(e,t){return wB(e),e+(wB(t),t)}($O(e),$O(t))};eB(TIe,"GraphStats/lambda$1$Type",1630);Kce(1631,1,{},Gp),_xe.Kb=function(e){return hte(this.a,LL(e,29))};eB(TIe,"GraphStats/lambda$2$Type",1631);Kce(1632,1,{},Wp),_xe.Kb=function(e){return Ihe(this.a,LL(e,29))};eB(TIe,"GraphStats/lambda$6$Type",1632);Kce(782,1,{},xo),_xe.Sf=function(e,t){return LL(Fae(e,(Kwe(),jJe)),14)||(v$(),v$(),XFe)},_xe.Tf=function(){return!1};eB(TIe,"ICutIndexCalculator/ManualCutIndexCalculator",782);Kce(784,1,{},_o),_xe.Sf=function(e,t){var n,i,o,a,s,l,u,c,f,h,d,p,g,m,b,v,y,w,x;for(null==t.n&&sre(t),x=t.n,null==t.d&&sre(t),u=t.d,(w=fK(aat,BSe,24,x.length,15,1))[0]=x[0],v=x[0],c=1;c<x.length;c++)w[c]=w[c-1]+x[c],v+=x[c];for(o=Mse(t)-1,s=LL(Fae(e,(Kwe(),FJe)),20).a,i=LSe,n=new $m,d=r.Math.max(0,o-s);d<=r.Math.min(t.f-1,o+s);d++){if(m=v/(d+1),b=0,f=1,a=new $m,y=LSe,h=0,l=0,g=u[0],0==d)y=v,null==t.g&&(t.g=U1(t,new yo)),l=Oy(t.g);else{for(;f<t.f;)w[f-1]-b>=m&&(RL(a,k8(f)),y=r.Math.max(y,w[f-1]-h),l+=g,b+=w[f-1]-b,h=w[f-1],g=u[f]),g=r.Math.max(g,u[f]),++f;l+=g}(p=r.Math.min(1/y,1/t.b/l))>i&&(i=p,n=a)}return n},_xe.Tf=function(){return!1};eB(TIe,"MSDCutIndexHeuristic",784);Kce(1587,1,GEe,So),_xe.nf=function(e,t){mbe(LL(e,38),t)};var vUe,yUe,wUe,xUe,_Ue,SUe;eB(TIe,"SingleEdgeGraphWrapper",1587);Kce(225,22,{3:1,36:1,22:1,225:1},bC);var kUe,CUe,EUe,IUe=f0(AIe,"CenterEdgeLabelPlacementStrategy",225,Aje,(function(){return xle(),q3(lw(IUe,1),A_e,225,0,[wUe,_Ue,yUe,xUe,SUe,vUe])}),(function(e){return xle(),fQ((DJ(),kUe),e)}));Kce(417,22,{3:1,36:1,22:1,417:1},vC);var MUe,TUe,AUe,PUe=f0(AIe,"ConstraintCalculationStrategy",417,Aje,(function(){return sK(),q3(lw(PUe,1),A_e,417,0,[CUe,EUe])}),(function(e){return sK(),fQ((Xq(),MUe),e)}));Kce(333,22,{3:1,36:1,22:1,333:1,245:1,233:1},yC),_xe.Hf=function(){return Lse(this)},_xe.Uf=function(){return Lse(this)};var OUe,DUe,RUe,LUe,NUe=f0(AIe,"CrossingMinimizationStrategy",333,Aje,(function(){return $q(),q3(lw(NUe,1),A_e,333,0,[AUe,TUe])}),(function(e){return $q(),fQ((Hq(),OUe),e)}));Kce(335,22,{3:1,36:1,22:1,335:1},wC);var jUe,FUe,zUe,BUe,VUe=f0(AIe,"CuttingStrategy",335,Aje,(function(){return I0(),q3(lw(VUe,1),A_e,335,0,[DUe,LUe,RUe])}),(function(e){return I0(),fQ((qY(),jUe),e)}));Kce(416,22,{3:1,36:1,22:1,416:1,245:1,233:1},xC),_xe.Hf=function(){return Kse(this)},_xe.Uf=function(){return Kse(this)};var $Ue,HUe,GUe,WUe=f0(AIe,"CycleBreakingStrategy",416,Aje,(function(){return tJ(),q3(lw(WUe,1),A_e,416,0,[zUe,FUe,BUe])}),(function(e){return tJ(),fQ((XY(),$Ue),e)}));Kce(413,22,{3:1,36:1,22:1,413:1},_C);var UUe,qUe,XUe,YUe,KUe=f0(AIe,"DirectionCongruency",413,Aje,(function(){return FQ(),q3(lw(KUe,1),A_e,413,0,[HUe,GUe])}),(function(e){return FQ(),fQ((Gq(),UUe),e)}));Kce(444,22,{3:1,36:1,22:1,444:1},SC);var ZUe,QUe,JUe,eqe,tqe,nqe,rqe,iqe=f0(AIe,"EdgeConstraint",444,Aje,(function(){return h5(),q3(lw(iqe,1),A_e,444,0,[XUe,qUe,YUe])}),(function(e){return h5(),fQ((YY(),ZUe),e)}));Kce(274,22,{3:1,36:1,22:1,274:1},kC);var oqe,aqe,sqe,lqe=f0(AIe,"EdgeLabelSideSelection",274,Aje,(function(){return wse(),q3(lw(lqe,1),A_e,274,0,[JUe,QUe,tqe,eqe,rqe,nqe])}),(function(e){return wse(),fQ((AJ(),oqe),e)}));Kce(473,22,{3:1,36:1,22:1,473:1},CC);var uqe,cqe,fqe,hqe,dqe,pqe,gqe,mqe=f0(AIe,"EdgeStraighteningStrategy",473,Aje,(function(){return lZ(),q3(lw(mqe,1),A_e,473,0,[sqe,aqe])}),(function(e){return lZ(),fQ((Yq(),uqe),e)}));Kce(272,22,{3:1,36:1,22:1,272:1},EC);var bqe,vqe,yqe,wqe,xqe,_qe,Sqe,kqe=f0(AIe,"FixedAlignment",272,Aje,(function(){return Zie(),q3(lw(kqe,1),A_e,272,0,[dqe,hqe,gqe,fqe,pqe,cqe])}),(function(e){return Zie(),fQ((PJ(),bqe),e)}));Kce(273,22,{3:1,36:1,22:1,273:1},IC);var Cqe,Eqe,Iqe,Mqe,Tqe,Aqe,Pqe,Oqe,Dqe,Rqe,Lqe,Nqe=f0(AIe,"GraphCompactionStrategy",273,Aje,(function(){return sse(),q3(lw(Nqe,1),A_e,273,0,[_qe,yqe,Sqe,xqe,wqe,vqe])}),(function(e){return sse(),fQ((OJ(),Cqe),e)}));Kce(255,22,{3:1,36:1,22:1,255:1},MC);var jqe,Fqe,zqe,Bqe,Vqe=f0(AIe,"GraphProperties",255,Aje,(function(){return Kde(),q3(lw(Vqe,1),A_e,255,0,[Iqe,Tqe,Aqe,Pqe,Oqe,Dqe,Lqe,Eqe,Mqe,Rqe])}),(function(e){return Kde(),fQ((m5(),jqe),e)}));Kce(292,22,{3:1,36:1,22:1,292:1},TC);var $qe,Hqe,Gqe,Wqe,Uqe=f0(AIe,"GreedySwitchType",292,Aje,(function(){return V2(),q3(lw(Uqe,1),A_e,292,0,[zqe,Bqe,Fqe])}),(function(e){return V2(),fQ((eK(),$qe),e)}));Kce(301,22,{3:1,36:1,22:1,301:1},AC);var qqe,Xqe,Yqe,Kqe=f0(AIe,"InLayerConstraint",301,Aje,(function(){return JZ(),q3(lw(Kqe,1),A_e,301,0,[Gqe,Wqe,Hqe])}),(function(e){return JZ(),fQ((JY(),qqe),e)}));Kce(414,22,{3:1,36:1,22:1,414:1},PC);var Zqe,Qqe,Jqe,eXe,tXe,nXe,rXe,iXe,oXe,aXe,sXe,lXe,uXe,cXe,fXe,hXe,dXe,pXe,gXe,mXe,bXe,vXe,yXe,wXe,xXe,_Xe,SXe,kXe,CXe,EXe,IXe,MXe,TXe,AXe,PXe,OXe,DXe,RXe,LXe,NXe,jXe,FXe,zXe,BXe,VXe,$Xe,HXe,GXe,WXe,UXe,qXe,XXe,YXe,KXe,ZXe,QXe,JXe,eYe,tYe,nYe,rYe,iYe,oYe=f0(AIe,"InteractiveReferencePoint",414,Aje,(function(){return ZU(),q3(lw(oYe,1),A_e,414,0,[Xqe,Yqe])}),(function(e){return ZU(),fQ((qq(),Zqe),e)}));Kce(165,22,{3:1,36:1,22:1,165:1},OC);var aYe,sYe,lYe,uYe,cYe,fYe,hYe,dYe,pYe,gYe,mYe,bYe,vYe,yYe,wYe,xYe,_Ye,SYe,kYe,CYe,EYe,IYe,MYe,TYe,AYe,PYe,OYe,DYe,RYe,LYe,NYe,jYe,FYe,zYe,BYe,VYe,$Ye,HYe,GYe,WYe,UYe,qYe,XYe,YYe,KYe,ZYe,QYe,JYe,eKe,tKe,nKe,rKe,iKe,oKe,aKe,sKe,lKe,uKe,cKe,fKe,hKe,dKe,pKe,gKe,mKe,bKe,vKe,yKe,wKe,xKe,_Ke,SKe,kKe,CKe,EKe,IKe,MKe,TKe,AKe,PKe,OKe,DKe,RKe,LKe,NKe,jKe,FKe,zKe,BKe,VKe,$Ke,HKe,GKe,WKe,UKe,qKe,XKe,YKe,KKe,ZKe,QKe,JKe,eZe,tZe,nZe,rZe,iZe,oZe,aZe,sZe,lZe,uZe,cZe,fZe,hZe,dZe,pZe,gZe,mZe,bZe,vZe,yZe,wZe,xZe,_Ze,SZe,kZe,CZe,EZe,IZe=f0(AIe,"LayerConstraint",165,Aje,(function(){return H9(),q3(lw(IZe,1),A_e,165,0,[iYe,eYe,tYe,nYe,rYe])}),(function(e){return H9(),fQ((TQ(),aYe),e)}));Kce(827,1,qke,Jc),_xe.Qe=function(e){M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,LIe),""),"Consider model order"),"Preserves the order of nodes and edges in the model file if this does not lead to edge crossings or conflicts between the ordering or edges and nodes."),pYe),(mle(),$6e)),O0e),o9((dte(),j6e))))),M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,NIe),""),"Direction Congruency"),"Specifies how drawings of the same graph with different layout directions compare to each other: either a natural reading direction is preserved or the drawings are rotated versions of each other."),RYe),$6e),KUe),o9(j6e)))),M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,jIe),""),"Feedback Edges"),"Whether feedback edges should be highlighted by routing around the nodes."),(_P(),!1)),B6e),oFe),o9(j6e)))),M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,FIe),""),"Interactive Reference Point"),"Determines which point of a node is considered by interactive layout phases."),nKe),$6e),oYe),o9(j6e)))),nU(e,FIe,WIe,iKe),nU(e,FIe,tMe,rKe),M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,zIe),""),"Merge Edges"),"Edges that have no ports are merged so they touch the connected nodes at the same points. When this option is disabled, one port is created for each edge directly connected to a node. When it is enabled, all such incoming edges share an input port, and all outgoing edges share an output port."),!1),B6e),oFe),o9(j6e)))),M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,BIe),""),"Merge Hierarchy-Crossing Edges"),"If hierarchical layout is active, hierarchy-crossing edges use as few hierarchical ports as possible. They are broken by the algorithm, with hierarchical ports inserted as required. Usually, one such port is created for each edge at each hierarchy crossing point. With this option set to true, we try to create as few hierarchical ports as possible in the process. In particular, all edges that form a hyperedge can share a port."),!0),B6e),oFe),o9(j6e)))),M9(e,new ule(function(e,t){return e.f=t,e}(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,VIe),""),"Allow Non-Flow Ports To Switch Sides"),"Specifies whether non-flow ports may switch sides if their node's port constraints are either FIXED_SIDE or FIXED_ORDER. A non-flow port is a port on a side that is not part of the currently configured layout flow. For instance, given a left-to-right layout direction, north and south ports would be considered non-flow ports. Further note that the underlying criterium whether to switch sides or not solely relies on the minimization of edge crossings. Hence, edge length and other aesthetics criteria are not addressed."),!1),B6e),oFe),o9(F6e)),q3(lw(CFe,1),s_e,2,6,["org.eclipse.elk.layered.northOrSouthPort"])))),M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,$Ie),""),"Port Sorting Strategy"),"Only relevant for nodes with FIXED_SIDE port constraints. Determines the way a node's ports are distributed on the sides of a node if their order is not prescribed. The option is set on parent nodes."),VKe),$6e),j0e),o9(j6e)))),M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,HIe),""),"Thoroughness"),"How much effort should be spent to produce a nice layout."),k8(7)),G6e),gFe),o9(j6e)))),M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,GIe),""),"Add Unnecessary Bendpoints"),"Adds bend points even if an edge does not change direction. If true, each long edge dummy will contribute a bend point to its edges and hierarchy-crossing edges will always get a bend point where they cross hierarchy boundaries. By default, bend points are only added where an edge changes direction."),!1),B6e),oFe),o9(j6e)))),M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,WIe),"cycleBreaking"),"Cycle Breaking Strategy"),"Strategy for cycle breaking. Cycle breaking looks for cycles in the graph and determines which edges to reverse to break the cycles. Reversed edges will end up pointing to the opposite direction of regular edges (that is, reversed edges will point left if edges usually point right)."),OYe),$6e),WUe),o9(j6e)))),M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,UIe),qMe),"Node Layering Strategy"),"Strategy for node layering."),yKe),$6e),a0e),o9(j6e)))),M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,qIe),qMe),"Layer Constraint"),"Determines a constraint on the placement of the node regarding the layering."),uKe),$6e),IZe),o9(N6e)))),M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,XIe),qMe),"Layer Choice Constraint"),"Allows to set a constraint regarding the layer placement of a node. Let i be the value of teh constraint. Assumed the drawing has n layers and i < n. If set to i, it expresses that the node should be placed in i-th layer. Should i>=n be true then the node is placed in the last layer of the drawing."),k8(-1)),G6e),gFe),o9(N6e)))),M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,YIe),qMe),"Layer ID"),"Layer identifier that was calculated by ELK Layered for a node"),k8(-1)),G6e),gFe),o9(N6e)))),M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,KIe),XMe),"Upper Bound On Width [MinWidth Layerer]"),"Defines a loose upper bound on the width of the MinWidth layerer. If set to '-1' multiple values are tested and the best result is selected."),k8(4)),G6e),gFe),o9(j6e)))),nU(e,KIe,UIe,hKe),M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,ZIe),XMe),"Upper Layer Estimation Scaling Factor [MinWidth Layerer]"),"Multiplied with Upper Bound On Width for defining an upper bound on the width of layers which haven't been determined yet, but whose maximum width had been (roughly) estimated by the MinWidth algorithm. Compensates for too high estimations. If set to '-1' multiple values are tested and the best result is selected."),k8(2)),G6e),gFe),o9(j6e)))),nU(e,ZIe,UIe,pKe),M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,QIe),YMe),"Node Promotion Strategy"),"Reduces number of dummy nodes after layering phase (if possible)."),bKe),$6e),M0e),o9(j6e)))),M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,JIe),YMe),"Max Node Promotion Iterations"),"Limits the number of iterations for node promotion."),k8(0)),G6e),gFe),o9(j6e)))),nU(e,JIe,QIe,null),M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,eMe),"layering.coffmanGraham"),"Layer Bound"),"The maximum number of nodes allowed per layer."),k8(Dxe)),G6e),gFe),o9(j6e)))),nU(e,eMe,UIe,aKe),M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,tMe),KMe),"Crossing Minimization Strategy"),"Strategy for crossing minimization."),AYe),$6e),NUe),o9(j6e)))),M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,nMe),KMe),"Hierarchical Sweepiness"),"How likely it is to use cross-hierarchy (1) vs bottom-up (-1)."),.1),V6e),fFe),o9(j6e)))),nU(e,nMe,ZMe,kYe),M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,rMe),KMe),"Semi-Interactive Crossing Minimization"),"Preserves the order of nodes within a layer but still minimizes crossings between edges connecting long edge dummies. Derives the desired order from positions specified by the 'org.eclipse.elk.position' layout option. Requires a crossing minimization strategy that is able to process 'in-layer' constraints."),!1),B6e),oFe),o9(j6e)))),nU(e,rMe,tMe,MYe),M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,iMe),KMe),"Position Choice Constraint"),"Allows to set a constraint regarding the position placement of a node in a layer. Assumed the layer in which the node placed includes n other nodes and i < n. If set to i, it expresses that the node should be placed at the i-th position. Should i>=n be true then the node is placed at the last position in the layer."),k8(-1)),G6e),gFe),o9(N6e)))),M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,oMe),KMe),"Position ID"),"Position within a layer that was determined by ELK Layered for a node."),k8(-1)),G6e),gFe),o9(N6e)))),M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,aMe),QMe),"Greedy Switch Activation Threshold"),"By default it is decided automatically if the greedy switch is activated or not. The decision is based on whether the size of the input graph (without dummy nodes) is smaller than the value of this option. A '0' enforces the activation."),k8(40)),G6e),gFe),o9(j6e)))),M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,sMe),QMe),"Greedy Switch Crossing Minimization"),"Greedy Switch strategy for crossing minimization. The greedy switch heuristic is executed after the regular crossing minimization as a post-processor. Note that if 'hierarchyHandling' is set to 'INCLUDE_CHILDREN', the 'greedySwitchHierarchical.type' option must be used."),xYe),$6e),Uqe),o9(j6e)))),nU(e,sMe,tMe,_Ye),M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,lMe),"crossingMinimization.greedySwitchHierarchical"),"Greedy Switch Crossing Minimization (hierarchical)"),"Activates the greedy switch heuristic in case hierarchical layout is used. The differences to the non-hierarchical case (see 'greedySwitch.type') are: 1) greedy switch is inactive by default, 3) only the option value set on the node at which hierarchical layout starts is relevant, and 2) if it's activated by the user, it properly addresses hierarchy-crossing edges."),bYe),$6e),Uqe),o9(j6e)))),nU(e,lMe,tMe,vYe),nU(e,lMe,ZMe,yYe),M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,uMe),JMe),"Node Placement Strategy"),"Strategy for node placement."),zKe),$6e),S0e),o9(j6e)))),M9(e,new ule(ix(rx(ox(Jw(nx(ex(tx(new Ns,cMe),JMe),"Favor Straight Edges Over Balancing"),"Favor straight edges over a balanced node placement. The default behavior is determined automatically based on the used 'edgeRouting'. For an orthogonal style it is set to true, for all other styles to false."),B6e),oFe),o9(j6e)))),nU(e,cMe,uMe,TKe),nU(e,cMe,uMe,AKe),M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,fMe),eTe),"BK Edge Straightening"),"Specifies whether the Brandes Koepf node placer tries to increase the number of straight edges at the expense of diagram size. There is a subtle difference to the 'favorStraightEdges' option, which decides whether a balanced placement of the nodes is desired, or not. In bk terms this means combining the four alignments into a single balanced one, or not. This option on the other hand tries to straighten additional edges during the creation of each of the four alignments."),SKe),$6e),mqe),o9(j6e)))),nU(e,fMe,uMe,kKe),M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,hMe),eTe),"BK Fixed Alignment"),"Tells the BK node placer to use a certain alignment (out of its four) instead of the one producing the smallest height, or the combination of all four."),EKe),$6e),kqe),o9(j6e)))),nU(e,hMe,uMe,IKe),M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,dMe),"nodePlacement.linearSegments"),"Linear Segments Deflection Dampening"),"Dampens the movement of nodes to keep the diagram from getting too large."),.3),V6e),fFe),o9(j6e)))),nU(e,dMe,uMe,OKe),M9(e,new ule(ix(rx(ox(Jw(nx(ex(tx(new Ns,pMe),"nodePlacement.networkSimplex"),"Node Flexibility"),"Aims at shorter and straighter edges. Two configurations are possible: (a) allow ports to move freely on the side they are assigned to (the order is always defined beforehand), (b) additionally allow to enlarge a node wherever it helps. If this option is not configured for a node, the 'nodeFlexibility.default' value is used, which is specified for the node's parent."),$6e),d0e),o9(N6e)))),nU(e,pMe,uMe,jKe),M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,gMe),"nodePlacement.networkSimplex.nodeFlexibility"),"Node Flexibility Default"),"Default value of the 'nodeFlexibility' option for the children of a hierarchical node."),LKe),$6e),d0e),o9(j6e)))),nU(e,gMe,uMe,NKe),M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,mMe),tTe),"Self-Loop Distribution"),"Alter the distribution of the loops around the node. It only takes effect for PortConstraints.FREE."),$Ye),$6e),U0e),o9(N6e)))),M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,bMe),tTe),"Self-Loop Ordering"),"Alter the ordering of the loops they can either be stacked or sequenced. It only takes effect for PortConstraints.FREE."),GYe),$6e),X0e),o9(N6e)))),M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,vMe),"edgeRouting.splines"),"Spline Routing Mode"),"Specifies the way control points are assembled for each individual edge. CONSERVATIVE ensures that edges are properly routed around the nodes but feels rather orthogonal at times. SLOPPY uses fewer control points to obtain curvier edge routes but may result in edges overlapping nodes."),UYe),$6e),n1e),o9(j6e)))),nU(e,vMe,nTe,qYe),M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,yMe),"edgeRouting.splines.sloppy"),"Sloppy Spline Layer Spacing Factor"),"Spacing factor for routing area between layers when using sloppy spline routing."),.2),V6e),fFe),o9(j6e)))),nU(e,yMe,nTe,YYe),nU(e,yMe,vMe,KYe),M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,wMe),"edgeRouting.polyline"),"Sloped Edge Zone Width"),"Width of the strip to the left and to the right of each layer where the polyline edge router is allowed to refrain from ensuring that edges are routed horizontally. This prevents awkward bend points for nodes that extent almost to the edge of their layer."),2),V6e),fFe),o9(j6e)))),nU(e,wMe,nTe,BYe),M9(e,new ule(ix(rx(ox(Jw(nx(ex(tx(new Ns,xMe),rTe),"Spacing Base Value"),"An optional base value for all other layout options of the 'spacing' group. It can be used to conveniently alter the overall 'spaciousness' of the drawing. Whenever an explicit value is set for the other layout options, this base value will have no effect. The base value is not inherited, i.e. it must be set for each hierarchical node."),V6e),fFe),o9(j6e)))),M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,_Me),rTe),"Edge Node Between Layers Spacing"),"The spacing to be preserved between nodes and edges that are routed next to the node's layer. For the spacing between nodes and edges that cross the node's layer 'spacing.edgeNode' is used."),10),V6e),fFe),o9(j6e)))),M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,SMe),rTe),"Edge Edge Between Layer Spacing"),"Spacing to be preserved between pairs of edges that are routed between the same pair of layers. Note that 'spacing.edgeEdge' is used for the spacing between pairs of edges crossing the same layer."),10),V6e),fFe),o9(j6e)))),M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,kMe),rTe),"Node Node Between Layers Spacing"),"The spacing to be preserved between any pair of nodes of two adjacent layers. Note that 'spacing.nodeNode' is used for the spacing between nodes within the layer itself."),20),V6e),fFe),o9(j6e)))),M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,CMe),iTe),"Direction Priority"),"Defines how important it is to have a certain edge point into the direction of the overall layout. This option is evaluated during the cycle breaking phase."),k8(0)),G6e),gFe),o9(R6e)))),M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,EMe),iTe),"Shortness Priority"),"Defines how important it is to keep an edge as short as possible. This option is evaluated during the layering phase."),k8(0)),G6e),gFe),o9(R6e)))),M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,IMe),iTe),"Straightness Priority"),"Defines how important it is to keep an edge straight, i.e. aligned with one of the two axes. This option is evaluated during node placement."),k8(0)),G6e),gFe),o9(R6e)))),M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,MMe),oTe),DCe),"Tries to further compact components (disconnected sub-graphs)."),!1),B6e),oFe),o9(j6e)))),nU(e,MMe,vEe,!0),M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,TMe),aTe),"Post Compaction Strategy"),sTe),hYe),$6e),Nqe),o9(j6e)))),M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,AMe),aTe),"Post Compaction Constraint Calculation"),sTe),cYe),$6e),PUe),o9(j6e)))),M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,PMe),lTe),"High Degree Node Treatment"),"Makes room around high degree nodes to place leafs and trees."),!1),B6e),oFe),o9(j6e)))),M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,OMe),lTe),"High Degree Node Threshold"),"Whether a node is considered to have a high degree."),k8(16)),G6e),gFe),o9(j6e)))),nU(e,OMe,PMe,!0),M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,DMe),lTe),"High Degree Node Maximum Tree Height"),"Maximum height of a subtree connected to a high degree node to be moved to separate layers."),k8(5)),G6e),gFe),o9(j6e)))),nU(e,DMe,PMe,!0),M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,RMe),uTe),"Graph Wrapping Strategy"),"For certain graphs and certain prescribed drawing areas it may be desirable to split the laid out graph into chunks that are placed side by side. The edges that connect different chunks are 'wrapped' around from the end of one chunk to the start of the other chunk. The points between the chunks are referred to as 'cuts'."),yZe),$6e),c1e),o9(j6e)))),M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,LMe),uTe),"Additional Wrapped Edges Spacing"),"To visually separate edges that are wrapped from regularly routed edges an additional spacing value can be specified in form of this layout option. The spacing is added to the regular edgeNode spacing."),10),V6e),fFe),o9(j6e)))),nU(e,LMe,RMe,QKe),nU(e,LMe,RMe,JKe),M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,NMe),uTe),"Correction Factor for Wrapping"),"At times and for certain types of graphs the executed wrapping may produce results that are consistently biased in the same fashion: either wrapping to often or to rarely. This factor can be used to correct the bias. Internally, it is simply multiplied with the 'aspect ratio' layout option."),1),V6e),fFe),o9(j6e)))),nU(e,NMe,RMe,tZe),nU(e,NMe,RMe,nZe),M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,jMe),cTe),"Cutting Strategy"),"The strategy by which the layer indexes are determined at which the layering crumbles into chunks."),uZe),$6e),VUe),o9(j6e)))),nU(e,jMe,RMe,cZe),nU(e,jMe,RMe,fZe),M9(e,new ule(ix(rx(ox(Jw(nx(ex(tx(new Ns,FMe),cTe),"Manually Specified Cuts"),"Allows the user to specify her own cuts for a certain graph."),W6e),xje),o9(j6e)))),nU(e,FMe,jMe,iZe),M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,zMe),"wrapping.cutting.msd"),"MSD Freedom"),"The MSD cutting strategy starts with an initial guess on the number of chunks the graph should be split into. The freedom specifies how much the strategy may deviate from this guess. E.g. if an initial number of 3 is computed, a freedom of 1 allows 2, 3, and 4 cuts."),aZe),G6e),gFe),o9(j6e)))),nU(e,zMe,jMe,sZe),M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,BMe),fTe),"Validification Strategy"),"When wrapping graphs, one can specify indices that are not allowed as split points. The validification strategy makes sure every computed split point is allowed."),kZe),$6e),s1e),o9(j6e)))),nU(e,BMe,RMe,CZe),nU(e,BMe,RMe,EZe),M9(e,new ule(ix(rx(ox(Jw(nx(ex(tx(new Ns,VMe),fTe),"Valid Indices for Wrapping"),null),W6e),xje),o9(j6e)))),nU(e,VMe,RMe,xZe),nU(e,VMe,RMe,_Ze),M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,$Me),hTe),"Improve Cuts"),"For general graphs it is important that not too many edges wrap backwards. Thus a compromise between evenly-distributed cuts and the total number of cut edges is sought."),!0),B6e),oFe),o9(j6e)))),nU(e,$Me,RMe,gZe),M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,HMe),hTe),"Distance Penalty When Improving Cuts"),null),2),V6e),fFe),o9(j6e)))),nU(e,HMe,RMe,dZe),nU(e,HMe,$Me,!0),M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,GMe),hTe),"Improve Wrapped Edges"),"The initial wrapping is performed in a very simple way. As a consequence, edges that wrap from one chunk to another may be unnecessarily long. Activating this option tries to shorten such edges."),!0),B6e),oFe),o9(j6e)))),nU(e,GMe,RMe,bZe),M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,WMe),dTe),"Edge Label Side Selection"),"Method to decide on edge label sides."),FYe),$6e),lqe),o9(j6e)))),M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,UMe),dTe),"Edge Center Label Placement Strategy"),"Determines in which layer center labels of long edges should be placed."),NYe),$6e),IUe),Oj(j6e,q3(lw(X6e,1),A_e,175,0,[L6e]))))),vxe((new ef,e))};var MZe,TZe,AZe,PZe,OZe,DZe,RZe,LZe,NZe,jZe,FZe,zZe,BZe,VZe,$Ze,HZe,GZe,WZe,UZe,qZe,XZe,YZe,KZe,ZZe,QZe,JZe,eQe,tQe,nQe,rQe,iQe,oQe,aQe,sQe,lQe,uQe,cQe,fQe,hQe,dQe,pQe,gQe,mQe,bQe,vQe,yQe,wQe,xQe,_Qe,SQe,kQe,CQe,EQe,IQe,MQe,TQe,AQe,PQe,OQe,DQe,RQe,LQe,NQe,jQe,FQe,zQe,BQe,VQe,$Qe,HQe,GQe,WQe,UQe,qQe,XQe,YQe,KQe,ZQe,QQe,JQe,eJe,tJe,nJe,rJe,iJe,oJe,aJe,sJe,lJe,uJe,cJe,fJe,hJe,dJe,pJe,gJe,mJe,bJe,vJe,yJe,wJe,xJe,_Je,SJe,kJe,CJe,EJe,IJe,MJe,TJe,AJe,PJe,OJe,DJe,RJe,LJe,NJe,jJe,FJe,zJe,BJe,VJe,$Je,HJe,GJe,WJe;eB(AIe,"LayeredMetaDataProvider",827);Kce(966,1,qke,ef),_xe.Qe=function(e){vxe(e)};eB(AIe,"LayeredOptions",966);Kce(967,1,{},ko),_xe._e=function(){return new $b},_xe.af=function(e){};var UJe;eB(AIe,"LayeredOptions/LayeredFactory",967);Kce(1343,1,{}),_xe.a=0;var qJe,XJe;eB(iAe,"ElkSpacings/AbstractSpacingsBuilder",1343);Kce(762,1343,{},q9);var YJe,KJe,ZJe,QJe,JJe,e0e;eB(AIe,"LayeredSpacings/LayeredSpacingsBuilder",762);Kce(311,22,{3:1,36:1,22:1,311:1,245:1,233:1},DC),_xe.Hf=function(){return ehe(this)},_xe.Uf=function(){return ehe(this)};var t0e,n0e,r0e,i0e,o0e,a0e=f0(AIe,"LayeringStrategy",311,Aje,(function(){return nae(),q3(lw(a0e,1),A_e,311,0,[JJe,ZJe,YJe,KJe,e0e,QJe])}),(function(e){return nae(),fQ((NJ(),t0e),e)}));Kce(196,22,{3:1,36:1,22:1,196:1},RC);var s0e,l0e,u0e,c0e,f0e,h0e,d0e=f0(AIe,"NodeFlexibility",196,Aje,(function(){return rne(),q3(lw(d0e,1),A_e,196,0,[i0e,o0e,r0e,n0e])}),(function(e){return rne(),fQ((sZ(),s0e),e)}));Kce(312,22,{3:1,36:1,22:1,312:1,245:1,233:1},LC),_xe.Hf=function(){return sfe(this)},_xe.Uf=function(){return sfe(this)};var p0e,g0e,m0e,b0e,v0e,y0e,w0e,x0e,_0e,S0e=f0(AIe,"NodePlacementStrategy",312,Aje,(function(){return Cne(),q3(lw(S0e,1),A_e,312,0,[h0e,u0e,c0e,l0e,f0e])}),(function(e){return Cne(),fQ((EQ(),p0e),e)}));Kce(259,22,{3:1,36:1,22:1,259:1},NC);var k0e,C0e,E0e,I0e,M0e=f0(AIe,"NodePromotionStrategy",259,Aje,(function(){return Dhe(),q3(lw(M0e,1),A_e,259,0,[x0e,m0e,y0e,b0e,v0e,g0e,w0e,_0e])}),(function(e){return Dhe(),fQ((U2(),k0e),e)}));Kce(372,22,{3:1,36:1,22:1,372:1},jC);var T0e,A0e,P0e,O0e=f0(AIe,"OrderingStrategy",372,Aje,(function(){return W5(),q3(lw(O0e,1),A_e,372,0,[E0e,C0e,I0e])}),(function(e){return W5(),fQ((VY(),T0e),e)}));Kce(415,22,{3:1,36:1,22:1,415:1},FC);var D0e,R0e,L0e,N0e,j0e=f0(AIe,"PortSortingStrategy",415,Aje,(function(){return PZ(),q3(lw(j0e,1),A_e,415,0,[A0e,P0e])}),(function(e){return PZ(),fQ((Uq(),D0e),e)}));Kce(446,22,{3:1,36:1,22:1,446:1},zC);var F0e,z0e,B0e,V0e,$0e=f0(AIe,"PortType",446,Aje,(function(){return E0(),q3(lw($0e,1),A_e,446,0,[N0e,R0e,L0e])}),(function(e){return E0(),fQ((HY(),F0e),e)}));Kce(373,22,{3:1,36:1,22:1,373:1},BC);var H0e,G0e,W0e,U0e=f0(AIe,"SelfLoopDistributionStrategy",373,Aje,(function(){return $2(),q3(lw(U0e,1),A_e,373,0,[z0e,B0e,V0e])}),(function(e){return $2(),fQ(($Y(),H0e),e)}));Kce(374,22,{3:1,36:1,22:1,374:1},VC);var q0e,X0e=f0(AIe,"SelfLoopOrderingStrategy",374,Aje,(function(){return IY(),q3(lw(X0e,1),A_e,374,0,[W0e,G0e])}),(function(e){return IY(),fQ((Wq(),q0e),e)}));Kce(302,1,{302:1},nye);var Y0e,K0e,Z0e;eB(AIe,"Spacings",302);Kce(334,22,{3:1,36:1,22:1,334:1},$C);var Q0e,J0e,e1e,t1e,n1e=f0(AIe,"SplineRoutingMode",334,Aje,(function(){return d6(),q3(lw(n1e,1),A_e,334,0,[Y0e,K0e,Z0e])}),(function(e){return d6(),fQ((GY(),Q0e),e)}));Kce(336,22,{3:1,36:1,22:1,336:1},HC);var r1e,i1e,o1e,a1e,s1e=f0(AIe,"ValidifyStrategy",336,Aje,(function(){return f2(),q3(lw(s1e,1),A_e,336,0,[t1e,J0e,e1e])}),(function(e){return f2(),fQ((WY(),r1e),e)}));Kce(375,22,{3:1,36:1,22:1,375:1},GC);var l1e,u1e,c1e=f0(AIe,"WrappingStrategy",375,Aje,(function(){return k3(),q3(lw(c1e,1),A_e,375,0,[o1e,a1e,i1e])}),(function(e){return k3(),fQ((UY(),l1e),e)}));Kce(1355,1,sAe,Zc),_xe.Vf=function(e){return LL(e,38),u1e},_xe.nf=function(e,t){!function(e,t,n){var r,i,o,a,s,l,u,c;for(qoe(n,"Depth-first cycle removal",1),l=(u=t.a).c.length,e.c=new $m,e.d=fK(rat,Kke,24,l,16,1),e.a=fK(rat,Kke,24,l,16,1),e.b=new $m,o=0,s=new td(u);s.a<s.c.c.length;)(a=LL(xW(s),10)).p=o,OU(p9(a))&&RL(e.c,a),++o;for(c=new td(e.c);c.a<c.c.c.length;)Ole(e,LL(xW(c),10));for(i=0;i<l;i++)e.d[i]||(MG(i,u.c.length),Ole(e,LL(u.c[i],10)));for(r=new td(e.b);r.a<r.c.c.length;)sbe(LL(xW(r),18),!0),S5(t,(hxe(),aXe),(_P(),!0));e.c=null,e.d=null,e.a=null,e.b=null,_se(n)}(this,LL(e,38),t)};var f1e;eB(lAe,"DepthFirstCycleBreaker",1355);Kce(1354,1,sAe,Gj),_xe.Vf=function(e){return LL(e,38),f1e},_xe.nf=function(e,t){!function(e,t,n){var r,i,o,a,s,l,u,c,f,h,d,p,g,m,b,v,y,w,x,_,S,k,C,E,I,M,T,A,P,O;for(qoe(n,"Greedy cycle removal",1),O=(y=t.a).c.length,e.a=fK(nat,sSe,24,O,15,1),e.c=fK(nat,sSe,24,O,15,1),e.b=fK(nat,sSe,24,O,15,1),u=0,b=new td(y);b.a<b.c.c.length;){for((g=LL(xW(b),10)).p=u,k=new td(g.j);k.a<k.c.c.length;){for(s=new td((x=LL(xW(k),11)).e);s.a<s.c.c.length;)(r=LL(xW(s),18)).c.i!=g&&(E=LL(Fae(r,(Kwe(),cJe)),20).a,e.a[u]+=E>0?E+1:1);for(a=new td(x.g);a.a<a.c.c.length;)(r=LL(xW(a),18)).d.i!=g&&(E=LL(Fae(r,(Kwe(),cJe)),20).a,e.c[u]+=E>0?E+1:1)}0==e.c[u]?bN(e.d,g):0==e.a[u]&&bN(e.e,g),++u}for(p=-1,d=1,f=new $m,I=LL(Fae(t,(hxe(),HXe)),228);O>0;){for(;0!=e.d.b;)T=LL(CL(e.d),10),e.b[T.p]=p--,jge(e,T),--O;for(;0!=e.e.b;)A=LL(CL(e.e),10),e.b[A.p]=d++,jge(e,A),--O;if(O>0){for(h=F_e,v=new td(y);v.a<v.c.c.length;)g=LL(xW(v),10),0==e.b[g.p]&&(w=e.c[g.p]-e.a[g.p])>=h&&(w>h&&(f.c=fK(pje,zxe,1,0,5,1),h=w),f.c[f.c.length]=g);c=LL(JN(f,one(I,f.c.length)),10),e.b[c.p]=d++,jge(e,c),--O}}for(M=y.c.length+1,u=0;u<y.c.length;u++)e.b[u]<0&&(e.b[u]+=M);for(m=new td(y);m.a<m.c.c.length;)for(S=0,C=(_=bU((g=LL(xW(m),10)).j)).length;S<C;++S)for(o=0,l=(i=gU((x=_[S]).g)).length;o<l;++o)P=(r=i[o]).d.i.p,e.b[g.p]>e.b[P]&&(sbe(r,!0),S5(t,aXe,(_P(),!0)));e.a=null,e.c=null,e.b=null,s$(e.e),s$(e.d),_se(n)}(this,LL(e,38),t)};var h1e;eB(lAe,"GreedyCycleBreaker",1354);Kce(1356,1,sAe,Qc),_xe.Vf=function(e){return LL(e,38),h1e},_xe.nf=function(e,t){!function(e,t,n){var r,i,o,a,s,l,u,c,f,h,d,p;for(qoe(n,"Interactive cycle breaking",1),c=new $m,h=new td(t.a);h.a<h.c.c.length;)for((f=LL(xW(h),10)).p=1,d=Kie(f).a,u=b7(f,(E0(),L0e)).Ic();u.Ob();)for(o=new td(LL(u.Pb(),11).g);o.a<o.c.c.length;)(p=(r=LL(xW(o),18)).d.i)!=f&&Kie(p).a<d&&(c.c[c.c.length]=r);for(a=new td(c);a.a<a.c.c.length;)sbe(r=LL(xW(a),18),!0);for(c.c=fK(pje,zxe,1,0,5,1),l=new td(t.a);l.a<l.c.c.length;)(s=LL(xW(l),10)).p>0&&lle(e,s,c);for(i=new td(c);i.a<i.c.c.length;)sbe(r=LL(xW(i),18),!0);c.c=fK(pje,zxe,1,0,5,1),_se(n)}(this,LL(e,38),t)};var d1e;eB(lAe,"InteractiveCycleBreaker",1356);Kce(1359,1,sAe,LS),_xe.Vf=function(e){return LL(e,38),d1e},_xe.nf=function(e,t){axe(this,LL(e,38),t)};eB(uAe,"CoffmanGrahamLayerer",1359);Kce(1360,1,_ke,Up),_xe.ue=function(e,t){return function(e,t,n){var r,i,o,a,s,l;for(r=LL(KX(e.c,t),14),i=LL(KX(e.c,n),14),o=r.Xc(r.gc()),a=i.Xc(i.gc());o.Sb()&&a.Sb();)if((s=LL(o.Ub(),20))!=(l=LL(a.Ub(),20)))return MT(s.a,l.a);return o.Ob()||a.Ob()?o.Ob()?1:-1:0}(this.a,LL(e,10),LL(t,10))},_xe.Fb=function(e){return this===e},_xe.ve=function(){return new ad(this)};eB(uAe,"CoffmanGrahamLayerer/0methodref$compareNodesInTopo$Type",1360);Kce(1361,1,_ke,qp),_xe.ue=function(e,t){return function(e,t,n){return-MT(e.f[t.p],e.f[n.p])}(this.a,LL(e,10),LL(t,10))},_xe.Fb=function(e){return this===e},_xe.ve=function(){return new ad(this)};eB(uAe,"CoffmanGrahamLayerer/lambda$1$Type",1361);Kce(1362,1,sAe,Co),_xe.Vf=function(e){return LL(e,38),jN(jN(jN(new wU,(zae(),fHe),(pxe(),$Ge)),hHe,ZGe),dHe,KGe)},_xe.nf=function(e,t){!function(e,t,n){var i,o,a,s,l,u,c,f,h,d,p,g,m,b,v;for(qoe(n,"Interactive node layering",1),i=new $m,p=new td(t.a);p.a<p.c.c.length;){for(u=(c=(h=LL(xW(p),10)).n.a)+h.o.a,u=r.Math.max(c+1,u),v=new eU(i,0),o=null;v.b<v.d.gc();){if(EP(v.b<v.d.gc()),(m=LL(v.d.Xb(v.c=v.b++),562)).c>=u){EP(v.b>0),v.a.Xb(v.c=--v.b);break}m.a>c&&(o?(L3(o.b,m.b),o.a=r.Math.max(o.a,m.a),nV(v)):(RL(m.b,h),m.c=r.Math.min(m.c,c),m.a=r.Math.max(m.a,u),o=m))}o||((o=new Qb).c=c,o.a=u,yD(v,o),RL(o.b,h))}for(l=t.b,f=0,b=new td(i);b.a<b.c.c.length;)for(m=LL(xW(b),562),(a=new mB(t)).p=f++,l.c[l.c.length]=a,g=new td(m.b);g.a<g.c.c.length;)OG(h=LL(xW(g),10),a),h.p=0;for(d=new td(t.a);d.a<d.c.c.length;)0==(h=LL(xW(d),10)).p&&ipe(e,h,t);for(s=new eU(l,0);s.b<s.d.gc();)0==(EP(s.b<s.d.gc()),LL(s.d.Xb(s.c=s.b++),29)).a.c.length&&nV(s);t.a.c=fK(pje,zxe,1,0,5,1),_se(n)}(this,LL(e,38),t)};eB(uAe,"InteractiveLayerer",1362);Kce(562,1,{562:1},Qb),_xe.a=0,_xe.c=0;var p1e;eB(uAe,"InteractiveLayerer/LayerSpan",562);Kce(1358,1,sAe,tf),_xe.Vf=function(e){return LL(e,38),p1e},_xe.nf=function(e,t){!function(e,t,n){var r,i,o,a;for(qoe(n,"Longest path layering",1),e.a=t,a=e.a.a,e.b=fK(nat,sSe,24,a.c.length,15,1),r=0,o=new td(a);o.a<o.c.c.length;)LL(xW(o),10).p=r,e.b[r]=-1,++r;for(i=new td(a);i.a<i.c.c.length;)$fe(e,LL(xW(i),10));a.c=fK(pje,zxe,1,0,5,1),e.a=null,e.b=null,_se(n)}(this,LL(e,38),t)};var g1e,m1e;eB(uAe,"LongestPathLayerer",1358);Kce(1365,1,sAe,nf),_xe.Vf=function(e){return LL(e,38),jN(jN(jN(new wU,(zae(),fHe),(pxe(),EGe)),hHe,ZGe),dHe,KGe)},_xe.nf=function(e,t){Awe(this,LL(e,38),t)},_xe.a=0,_xe.b=0,_xe.d=0;eB(uAe,"MinWidthLayerer",1365);Kce(1366,1,_ke,Xp),_xe.ue=function(e,t){return function(e,t,n){var r,i;return(r=e.a.f[t.p])<(i=e.a.f[n.p])?-1:r==i?0:1}(this,LL(e,10),LL(t,10))},_xe.Fb=function(e){return this===e},_xe.ve=function(){return new ad(this)};var b1e;eB(uAe,"MinWidthLayerer/MinOutgoingEdgesComparator",1366);Kce(1357,1,sAe,rf),_xe.Vf=function(e){return LL(e,38),b1e},_xe.nf=function(e,t){cye(this,LL(e,38),t)};eB(uAe,"NetworkSimplexLayerer",1357);Kce(1363,1,sAe,RD),_xe.Vf=function(e){return LL(e,38),jN(jN(jN(new wU,(zae(),fHe),(pxe(),EGe)),hHe,ZGe),dHe,KGe)},_xe.nf=function(e,t){qye(this,LL(e,38),t)},_xe.d=0,_xe.f=0,_xe.g=0,_xe.i=0,_xe.s=0,_xe.t=0,_xe.u=0;eB(uAe,"StretchWidthLayerer",1363);Kce(1364,1,_ke,Eo),_xe.ue=function(e,t){return function(e,t){return e.p<t.p?1:e.p>t.p?-1:0}(LL(e,10),LL(t,10))},_xe.Fb=function(e){return this===e},_xe.ve=function(){return new ad(this)};eB(uAe,"StretchWidthLayerer/1",1364);Kce(451,1,cAe),_xe.Kf=function(e,t,n,r,i,o){},_xe.Xf=function(e,t,n){return Gge(this,e,t,n)},_xe.Jf=function(){this.g=fK(sat,fAe,24,this.d,15,1),this.f=fK(sat,fAe,24,this.d,15,1)},_xe.Lf=function(e,t){this.e[e]=fK(nat,sSe,24,t[e].length,15,1)},_xe.Mf=function(e,t,n){n[e][t].p=t,this.e[e][t]=t},_xe.Nf=function(e,t,n,r){LL(JN(r[e][t].j,n),11).p=this.d++},_xe.b=0,_xe.c=0,_xe.d=0;eB(hAe,"AbstractBarycenterPortDistributor",451);Kce(1603,1,_ke,Yp),_xe.ue=function(e,t){return function(e,t,n){var r,i,o,a;return(o=t.j)!=(a=n.j)?o.g-a.g:(r=e.f[t.p],i=e.f[n.p],0==r&&0==i?0:0==r?-1:0==i?1:j8(r,i))}(this.a,LL(e,11),LL(t,11))},_xe.Fb=function(e){return this===e},_xe.ve=function(){return new ad(this)};eB(hAe,"AbstractBarycenterPortDistributor/lambda$0$Type",1603);Kce(1774,1,kIe,yU),_xe.Kf=function(e,t,n,r,i,o){},_xe.Mf=function(e,t,n){},_xe.Nf=function(e,t,n,r){},_xe.If=function(){return!1},_xe.Jf=function(){this.a=this.c.a,this.e=this.d.g},_xe.Lf=function(e,t){t[e][0].c.p=e},_xe.Of=function(){return!1},_xe.Pf=function(e,t,n,r){var i,o,a,s,l,u,c;for(t!=oj(n,e.length)&&(o=e[t-(n?1:-1)],gY(this.d,o,n?(E0(),L0e):(E0(),R0e))),i=e[t][0],c=!r||i.k==(mse(),WHe),W4(this,u=JX(e[t]),c,!1,n),a=0,l=new td(u);l.a<l.c.c.length;)s=LL(xW(l),10),e[t][a++]=s;return!1},_xe.Qf=function(e,t){var n,r,i,o,a;for(W4(this,o=JX(e[a=oj(t,e.length)]),!1,!0,t),n=0,i=new td(o);i.a<i.c.c.length;)r=LL(xW(i),10),e[a][n++]=r;return!1};eB(hAe,"BarycenterHeuristic",1774);Kce(647,1,{647:1},Qp),_xe.Ib=function(){return"BarycenterState [node="+this.c+", summedWeight="+this.d+", degree="+this.b+", barycenter="+this.a+", visited="+this.e+"]"},_xe.b=0,_xe.d=0,_xe.e=!1;var v1e=eB(hAe,"BarycenterHeuristic/BarycenterState",647);Kce(1775,1,_ke,Kp),_xe.ue=function(e,t){return function(e,t,n){var r,i;return r=e.a[t.c.p][t.p],i=e.a[n.c.p][n.p],null!=r.a&&null!=i.a?gF(r.a,i.a):null!=r.a?-1:null!=i.a?1:0}(this.a,LL(e,10),LL(t,10))},_xe.Fb=function(e){return this===e},_xe.ve=function(){return new ad(this)};eB(hAe,"BarycenterHeuristic/lambda$0$Type",1775);Kce(1768,1,kIe,Doe),_xe.Jf=function(){},_xe.Kf=function(e,t,n,r,i,o){},_xe.Nf=function(e,t,n,r){},_xe.Lf=function(e,t){this.a[e]=fK(v1e,{3:1,4:1,5:1,1987:1},647,t[e].length,0,1),this.b[e]=fK(y1e,{3:1,4:1,5:1,1988:1},232,t[e].length,0,1)},_xe.Mf=function(e,t,n){Kee(this,n[e][t],!0)},_xe.c=!1;eB(hAe,"ForsterConstraintResolver",1768);Kce(232,1,{232:1},W$,oye),_xe.Ib=function(){var e,t;for((t=new pw).a+="[",e=0;e<this.d.length;e++)UI(t,Dte(this.d[e])),null!=lA(this.g,this.d[0]).a&&UI(UI((t.a+="<",t),jI(lA(this.g,this.d[0]).a)),">"),e<this.d.length-1&&(t.a+=jxe);return(t.a+="]",t).a},_xe.a=0,_xe.c=0,_xe.f=0;var y1e=eB(hAe,"ForsterConstraintResolver/ConstraintGroup",232);Kce(1769,1,c_e,Zp),_xe.td=function(e){Kee(this.a,LL(e,10),!1)};eB(hAe,"ForsterConstraintResolver/lambda$0$Type",1769);Kce(231,1,{231:1,235:1},hve),_xe.Kf=function(e,t,n,r,i,o){},_xe.Lf=function(e,t){},_xe.Jf=function(){this.r=fK(nat,sSe,24,this.n,15,1)},_xe.Mf=function(e,t,n){var r;(r=n[e][t].e)&&RL(this.b,r)},_xe.Nf=function(e,t,n,r){++this.n},_xe.Ib=function(){return Aye(this.e,new Pb)},_xe.g=!1,_xe.i=!1,_xe.n=0,_xe.s=!1;eB(hAe,"GraphInfoHolder",231);Kce(1804,1,kIe,Ro),_xe.Kf=function(e,t,n,r,i,o){},_xe.Lf=function(e,t){},_xe.Nf=function(e,t,n,r){},_xe.Xf=function(e,t,n){return n&&t>0?XH(this.a,e[t-1],e[t]):!n&&t<e.length-1?XH(this.a,e[t],e[t+1]):k1(this.a,e[t],n?(hwe(),Qet):(hwe(),Oet)),function(e,t,n,r){var i,o,a,s,l,u,c,f,h;for(f=r?(hwe(),Qet):(hwe(),Oet),i=!1,u=0,c=(l=t[n]).length;u<c;++u)mR(LL(Fae(s=l[u],(Kwe(),tJe)),100))||(a=s.e,(h=!i9(s,f).dc()&&!!a)&&(o=Aoe(a),e.b=new Ooe(o,r?0:o.length-1)),i|=Wge(e,s,f,h));return i}(this,e,t,n)},_xe.Jf=function(){this.d=fK(nat,sSe,24,this.c,15,1),this.a=new SR(this.d)},_xe.Mf=function(e,t,n){var r;r=n[e][t],this.c+=r.j.c.length},_xe.c=0;var w1e;eB(hAe,"GreedyPortDistributor",1804);Kce(1371,1,sAe,of),_xe.Vf=function(e){return function(e){var t;return t=DM(w1e),LL(Fae(e,(hxe(),mXe)),21).Fc((Kde(),Oqe))&&jN(t,(zae(),dHe),(pxe(),lWe)),t}(LL(e,38))},_xe.nf=function(e,t){!function(e,t){var n,r,i,o,a,s,l,u,c,f,h,d,p,g,m;for(qoe(t,"Interactive crossing minimization",1),a=0,o=new td(e.b);o.a<o.c.c.length;)(r=LL(xW(o),29)).p=a++;for(g=new Ow((h=Aoe(e)).length),fve(new Vy(q3(lw(FWe,1),zxe,235,0,[g])),h),p=0,a=0,i=new td(e.b);i.a<i.c.c.length;){for(n=0,f=0,c=new td((r=LL(xW(i),29)).a);c.a<c.c.c.length;)for((l=LL(xW(c),10)).n.a>0&&(n+=l.n.a+l.o.a/2,++f),d=new td(l.j);d.a<d.c.c.length;)LL(xW(d),11).p=p++;for(f>0&&(n/=f),m=fK(aat,BSe,24,r.a.c.length,15,1),s=0,u=new td(r.a);u.a<u.c.c.length;)(l=LL(xW(u),10)).p=s++,m[l.p]=mye(l,n),l.k==(mse(),qHe)&&S5(l,(hxe(),RXe),m[l.p]);v$(),kT(r.a,new eg(m)),Gge(g,h,a,!0),++a}_se(t)}(LL(e,38),t)};eB(hAe,"InteractiveCrossingMinimizer",1371);Kce(1372,1,_ke,eg),_xe.ue=function(e,t){return function(e,t,n){var r,i,o;if(0==(r=j8(e.a[t.p],e.a[n.p]))){if(i=LL(Fae(t,(hxe(),_Xe)),14),o=LL(Fae(n,_Xe),14),i.Fc(n))return-1;if(o.Fc(t))return 1}return r}(this,LL(e,10),LL(t,10))},_xe.Fb=function(e){return this===e},_xe.ve=function(){return new ad(this)};var x1e;eB(hAe,"InteractiveCrossingMinimizer/1",1372);Kce(499,1,{499:1,126:1,52:1},wy),_xe.Vf=function(e){var t;return LL(e,38),jN(t=DM(x1e),(zae(),dHe),(pxe(),lWe)),t},_xe.nf=function(e,t){tme(this,LL(e,38),t)},_xe.e=0;eB(hAe,"LayerSweepCrossingMinimizer",499);Kce(1368,1,c_e,tg),_xe.td=function(e){Xue(this.a,LL(e,231))};eB(hAe,"LayerSweepCrossingMinimizer/0methodref$compareDifferentRandomizedLayouts$Type",1368);Kce(1369,1,c_e,ng),_xe.td=function(e){!function(e,t){var n,r;for(r=0!=Gfe(e.d,1),n=!0;n;)n=!1,n=t.c.Qf(t.e,r),n|=Cfe(e,t,r,!1),r=!r;M1(e)}(this.a,LL(e,231))};eB(hAe,"LayerSweepCrossingMinimizer/1methodref$minimizeCrossingsNoCounter$Type",1369);Kce(1370,1,c_e,rg),_xe.td=function(e){$he(this.a,LL(e,231))};var _1e,S1e,k1e;eB(hAe,"LayerSweepCrossingMinimizer/2methodref$minimizeCrossingsWithCounter$Type",1370);Kce(447,22,{3:1,36:1,22:1,447:1},WC);var C1e,E1e=f0(hAe,"LayerSweepCrossingMinimizer/CrossMinType",447,Aje,(function(){return M0(),q3(lw(E1e,1),A_e,447,0,[_1e,S1e,k1e])}),(function(e){return M0(),fQ((KY(),C1e),e)}));Kce(1367,1,L_e,Lo),_xe.Mb=function(e){return c2(),0==LL(e,29).a.c.length};eB(hAe,"LayerSweepCrossingMinimizer/lambda$0$Type",1367);Kce(1771,1,kIe,lG),_xe.Jf=function(){},_xe.Kf=function(e,t,n,r,i,o){},_xe.Nf=function(e,t,n,r){},_xe.Lf=function(e,t){t[e][0].c.p=e,this.b[e]=fK(I1e,{3:1,4:1,5:1,1916:1},648,t[e].length,0,1)},_xe.Mf=function(e,t,n){n[e][t].p=t,nB(this.b[e],t,new Bo)};eB(hAe,"LayerSweepTypeDecider",1771);Kce(648,1,{648:1},Bo),_xe.Ib=function(){return"NodeInfo [connectedEdges="+this.a+", hierarchicalInfluence="+this.b+", randomInfluence="+this.c+"]"},_xe.a=0,_xe.b=0,_xe.c=0;var I1e=eB(hAe,"LayerSweepTypeDecider/NodeInfo",648);Kce(1772,1,Bke,Vo),_xe.Lb=function(e){return bP(new fY(LL(e,11).b))},_xe.Fb=function(e){return this===e},_xe.Mb=function(e){return bP(new fY(LL(e,11).b))};eB(hAe,"LayerSweepTypeDecider/lambda$0$Type",1772);Kce(1773,1,Bke,$o),_xe.Lb=function(e){return bP(new fY(LL(e,11).b))},_xe.Fb=function(e){return this===e},_xe.Mb=function(e){return bP(new fY(LL(e,11).b))};eB(hAe,"LayerSweepTypeDecider/lambda$1$Type",1773);Kce(1805,451,cAe,Pw),_xe.Wf=function(e,t,n){var r,i,o,a,s,l,u,c,f;switch(u=this.g,n.g){case 1:for(r=0,i=0,l=new td(e.j);l.a<l.c.c.length;)0!=(a=LL(xW(l),11)).e.c.length&&(++r,a.j==(hwe(),Det)&&++i);for(o=t+i,f=t+r,s=b7(e,(E0(),R0e)).Ic();s.Ob();)(a=LL(s.Pb(),11)).j==(hwe(),Det)?(u[a.p]=o,--o):(u[a.p]=f,--f);return r;case 2:for(c=0,s=b7(e,(E0(),L0e)).Ic();s.Ob();)++c,u[(a=LL(s.Pb(),11)).p]=t+c;return c;default:throw Jm(new yb)}};eB(hAe,"LayerTotalPortDistributor",1805);Kce(778,451,cAe,Ow),_xe.Wf=function(e,t,n){var r,i,o,a,s,l,u,c,f,h,d;switch(f=this.g,n.g){case 1:for(i=0,o=0,c=new td(e.j);c.a<c.c.c.length;)0!=(l=LL(xW(c),11)).e.c.length&&(++i,l.j==(hwe(),Det)&&++o);for(a=t+o*(r=1/(i+1)),d=t+1-r,u=b7(e,(E0(),R0e)).Ic();u.Ob();)(l=LL(u.Pb(),11)).j==(hwe(),Det)?(f[l.p]=a,a-=r):(f[l.p]=d,d-=r);break;case 2:for(s=0,c=new td(e.j);c.a<c.c.c.length;)0==(l=LL(xW(c),11)).g.c.length||++s;for(h=t+(r=1/(s+1)),u=b7(e,(E0(),L0e)).Ic();u.Ob();)f[(l=LL(u.Pb(),11)).p]=h,h+=r;break;default:throw Jm(new Ny("Port type is undefined"))}return 1};eB(hAe,"NodeRelativePortDistributor",778);Kce(788,1,{},DF,ese);eB(hAe,"SweepCopy",788);Kce(1770,1,kIe,a7),_xe.Lf=function(e,t){},_xe.Jf=function(){var e;e=fK(nat,sSe,24,this.f,15,1),this.d=new fg(e),this.a=new SR(e)},_xe.Kf=function(e,t,n,r,i,o){var a;a=LL(JN(o[e][t].j,n),11),i.c==a&&i.c.i.c==i.d.i.c&&++this.e[e]},_xe.Mf=function(e,t,n){var r;r=n[e][t],this.c[e]=this.c[e]|r.k==(mse(),YHe)},_xe.Nf=function(e,t,n,r){var i;(i=LL(JN(r[e][t].j,n),11)).p=this.f++,i.g.c.length+i.e.c.length>1&&(i.j==(hwe(),Oet)?this.b[e]=!0:i.j==Qet&&e>0&&(this.b[e-1]=!0))},_xe.f=0;eB(SIe,"AllCrossingsCounter",1770);Kce(578,1,{},P1),_xe.b=0,_xe.d=0;var M1e,T1e;eB(SIe,"BinaryIndexedTree",578);Kce(517,1,{},SR);eB(SIe,"CrossingsCounter",517);Kce(1878,1,_ke,ig),_xe.ue=function(e,t){return function(e,t,n){return MT(e.d[t.p],e.d[n.p])}(this.a,LL(e,11),LL(t,11))},_xe.Fb=function(e){return this===e},_xe.ve=function(){return new ad(this)};eB(SIe,"CrossingsCounter/lambda$0$Type",1878);Kce(1879,1,_ke,og),_xe.ue=function(e,t){return function(e,t,n){return MT(e.d[t.p],e.d[n.p])}(this.a,LL(e,11),LL(t,11))},_xe.Fb=function(e){return this===e},_xe.ve=function(){return new ad(this)};eB(SIe,"CrossingsCounter/lambda$1$Type",1879);Kce(1880,1,_ke,ag),_xe.ue=function(e,t){return function(e,t,n){return MT(e.d[t.p],e.d[n.p])}(this.a,LL(e,11),LL(t,11))},_xe.Fb=function(e){return this===e},_xe.ve=function(){return new ad(this)};eB(SIe,"CrossingsCounter/lambda$2$Type",1880);Kce(1881,1,_ke,sg),_xe.ue=function(e,t){return function(e,t,n){return MT(e.d[t.p],e.d[n.p])}(this.a,LL(e,11),LL(t,11))},_xe.Fb=function(e){return this===e},_xe.ve=function(){return new ad(this)};eB(SIe,"CrossingsCounter/lambda$3$Type",1881);Kce(1882,1,c_e,lg),_xe.td=function(e){!function(e,t){aL(),RL(e,new KE(t,k8(t.e.c.length+t.g.c.length)))}(this.a,LL(e,11))};eB(SIe,"CrossingsCounter/lambda$4$Type",1882);Kce(1883,1,L_e,ug),_xe.Mb=function(e){return function(e,t){return aL(),t!=e}(this.a,LL(e,11))};eB(SIe,"CrossingsCounter/lambda$5$Type",1883);Kce(1884,1,c_e,cg),_xe.td=function(e){tE(this,e)};eB(SIe,"CrossingsCounter/lambda$6$Type",1884);Kce(1885,1,c_e,qC),_xe.td=function(e){var t;aL(),FU(this.b,(t=this.a,LL(e,11),t))};eB(SIe,"CrossingsCounter/lambda$7$Type",1885);Kce(805,1,Bke,Ho),_xe.Lb=function(e){return aL(),ZP(LL(e,11),(hxe(),BXe))},_xe.Fb=function(e){return this===e},_xe.Mb=function(e){return aL(),ZP(LL(e,11),(hxe(),BXe))};eB(SIe,"CrossingsCounter/lambda$8$Type",805);Kce(1877,1,{},fg);eB(SIe,"HyperedgeCrossingsCounter",1877);Kce(461,1,{36:1,461:1},LD),_xe.wd=function(e){return function(e,t){return e.e<t.e?-1:e.e>t.e?1:e.f<t.f?-1:e.f>t.f?1:p4(e)-p4(t)}(this,LL(e,461))},_xe.b=0,_xe.c=0,_xe.e=0,_xe.f=0;var A1e=eB(SIe,"HyperedgeCrossingsCounter/Hyperedge",461);Kce(359,1,{36:1,359:1},DV),_xe.wd=function(e){return function(e,t){return e.c<t.c?-1:e.c>t.c?1:e.b<t.b?-1:e.b>t.b?1:e.a!=t.a?p4(e.a)-p4(t.a):e.d==(KU(),O1e)&&t.d==P1e?-1:e.d==P1e&&t.d==O1e?1:0}(this,LL(e,359))},_xe.b=0,_xe.c=0;var P1e,O1e,D1e=eB(SIe,"HyperedgeCrossingsCounter/HyperedgeCorner",359);Kce(516,22,{3:1,36:1,22:1,516:1},UC);var R1e,L1e,N1e=f0(SIe,"HyperedgeCrossingsCounter/HyperedgeCorner/Type",516,Aje,(function(){return KU(),q3(lw(N1e,1),A_e,516,0,[O1e,P1e])}),(function(e){return KU(),fQ((Zq(),R1e),e)}));Kce(1374,1,sAe,af),_xe.Vf=function(e){return LL(Fae(LL(e,38),(hxe(),mXe)),21).Fc((Kde(),Tqe))?L1e:null},_xe.nf=function(e,t){!function(e,t,n){var r;for(qoe(n,"Interactive node placement",1),e.a=LL(Fae(t,(hxe(),qXe)),302),r=new td(t.b);r.a<r.c.c.length;)Vde(e,LL(xW(r),29));_se(n)}(this,LL(e,38),t)};var j1e,F1e,z1e;eB(dAe,"InteractiveNodePlacer",1374);Kce(1375,1,sAe,sf),_xe.Vf=function(e){return LL(Fae(LL(e,38),(hxe(),mXe)),21).Fc((Kde(),Tqe))?j1e:null},_xe.nf=function(e,t){Kne(this,LL(e,38),t)};eB(dAe,"LinearSegmentsNodePlacer",1375);Kce(256,1,{36:1,256:1},Jb),_xe.wd=function(e){return function(e,t){return e.b-t.b}(this,LL(e,256))},_xe.Fb=function(e){var t;return!!BT(e,256)&&(t=LL(e,256),this.b==t.b)},_xe.Hb=function(){return this.b},_xe.Ib=function(){return"ls"+Wae(this.e)},_xe.a=0,_xe.b=0,_xe.c=-1,_xe.d=-1,_xe.g=0;var B1e,V1e=eB(dAe,"LinearSegmentsNodePlacer/LinearSegment",256);Kce(1377,1,sAe,Wj),_xe.Vf=function(e){return LL(Fae(LL(e,38),(hxe(),mXe)),21).Fc((Kde(),Tqe))?B1e:null},_xe.nf=function(e,t){Vwe(this,LL(e,38),t)},_xe.b=0,_xe.g=0;eB(dAe,"NetworkSimplexPlacer",1377);Kce(1396,1,_ke,Io),_xe.ue=function(e,t){return MT(LL(e,20).a,LL(t,20).a)},_xe.Fb=function(e){return this===e},_xe.ve=function(){return new ad(this)};eB(dAe,"NetworkSimplexPlacer/0methodref$compare$Type",1396);Kce(1398,1,_ke,Mo),_xe.ue=function(e,t){return MT(LL(e,20).a,LL(t,20).a)},_xe.Fb=function(e){return this===e},_xe.ve=function(){return new ad(this)};eB(dAe,"NetworkSimplexPlacer/1methodref$compare$Type",1398);Kce(639,1,{639:1},XC);var $1e=eB(dAe,"NetworkSimplexPlacer/EdgeRep",639);Kce(397,1,{397:1},RV),_xe.b=!1;var H1e=eB(dAe,"NetworkSimplexPlacer/NodeRep",397);Kce(500,12,{3:1,4:1,19:1,28:1,51:1,12:1,15:1,14:1,53:1,500:1},cv);eB(dAe,"NetworkSimplexPlacer/Path",500);Kce(1378,1,{},To),_xe.Kb=function(e){return LL(e,18).d.i.k};eB(dAe,"NetworkSimplexPlacer/Path/lambda$0$Type",1378);Kce(1379,1,L_e,Ao),_xe.Mb=function(e){return LL(e,266)==(mse(),qHe)};eB(dAe,"NetworkSimplexPlacer/Path/lambda$1$Type",1379);Kce(1380,1,{},Po),_xe.Kb=function(e){return LL(e,18).d.i};eB(dAe,"NetworkSimplexPlacer/Path/lambda$2$Type",1380);Kce(1381,1,L_e,hg),_xe.Mb=function(e){return YO(M7(LL(e,10)))};eB(dAe,"NetworkSimplexPlacer/Path/lambda$3$Type",1381);Kce(1382,1,L_e,Oo),_xe.Mb=function(e){return function(e){return kG(),(hwe(),jet).Fc(e.j)}(LL(e,11))};eB(dAe,"NetworkSimplexPlacer/lambda$0$Type",1382);Kce(1383,1,c_e,YC),_xe.td=function(e){!function(e,t,n){eV(e.k,n,t)}(this.a,this.b,LL(e,11))};eB(dAe,"NetworkSimplexPlacer/lambda$1$Type",1383);Kce(1392,1,c_e,dg),_xe.td=function(e){wue(this.a,LL(e,18))};eB(dAe,"NetworkSimplexPlacer/lambda$10$Type",1392);Kce(1393,1,{},Do),_xe.Kb=function(e){return kG(),new cj(null,new ZG(LL(e,29).a,16))};eB(dAe,"NetworkSimplexPlacer/lambda$11$Type",1393);Kce(1394,1,c_e,pg),_xe.td=function(e){!function(e,t){var n,r,i,o;for(o=i9(t,(hwe(),Ket)).Ic();o.Ob();)r=LL(o.Pb(),11),(n=LL(Fae(r,(hxe(),BXe)),10))&&Yhe(mS(gS(bS(pS(new Nb,0),.1),e.i[t.p].d),e.i[n.p].a));for(i=i9(t,Det).Ic();i.Ob();)r=LL(i.Pb(),11),(n=LL(Fae(r,(hxe(),BXe)),10))&&Yhe(mS(gS(bS(pS(new Nb,0),.1),e.i[n.p].d),e.i[t.p].a))}(this.a,LL(e,10))};eB(dAe,"NetworkSimplexPlacer/lambda$12$Type",1394);Kce(1395,1,{},No),_xe.Kb=function(e){return kG(),k8(LL(e,119).e)};eB(dAe,"NetworkSimplexPlacer/lambda$13$Type",1395);Kce(1397,1,{},jo),_xe.Kb=function(e){return kG(),k8(LL(e,119).e)};eB(dAe,"NetworkSimplexPlacer/lambda$15$Type",1397);Kce(1399,1,L_e,Fo),_xe.Mb=function(e){return kG(),LL(e,397).c.k==(mse(),XHe)};eB(dAe,"NetworkSimplexPlacer/lambda$17$Type",1399);Kce(1400,1,L_e,zo),_xe.Mb=function(e){return kG(),LL(e,397).c.j.c.length>1};eB(dAe,"NetworkSimplexPlacer/lambda$18$Type",1400);Kce(1401,1,c_e,LV),_xe.td=function(e){!function(e,t,n,r,i){kG(),Yhe(mS(gS(pS(bS(new Nb,0),i.d.e-e),t),i.d)),Yhe(mS(gS(pS(bS(new Nb,0),n-i.a.e),i.a),r))}(this.c,this.b,this.d,this.a,LL(e,397))},_xe.c=0,_xe.d=0;eB(dAe,"NetworkSimplexPlacer/lambda$19$Type",1401);Kce(1384,1,{},Go),_xe.Kb=function(e){return kG(),new cj(null,new ZG(LL(e,29).a,16))};eB(dAe,"NetworkSimplexPlacer/lambda$2$Type",1384);Kce(1402,1,c_e,gg),_xe.td=function(e){!function(e,t){kG(),t.n.b+=e}(this.a,LL(e,11))},_xe.a=0;eB(dAe,"NetworkSimplexPlacer/lambda$20$Type",1402);Kce(1403,1,{},Wo),_xe.Kb=function(e){return kG(),new cj(null,new ZG(LL(e,29).a,16))};eB(dAe,"NetworkSimplexPlacer/lambda$21$Type",1403);Kce(1404,1,c_e,mg),_xe.td=function(e){uA(this.a,LL(e,10))};eB(dAe,"NetworkSimplexPlacer/lambda$22$Type",1404);Kce(1405,1,L_e,Uo),_xe.Mb=function(e){return YO(e)};eB(dAe,"NetworkSimplexPlacer/lambda$23$Type",1405);Kce(1406,1,{},qo),_xe.Kb=function(e){return kG(),new cj(null,new ZG(LL(e,29).a,16))};eB(dAe,"NetworkSimplexPlacer/lambda$24$Type",1406);Kce(1407,1,L_e,bg),_xe.Mb=function(e){return function(e,t){return 2==e.j[t.p]}(this.a,LL(e,10))};eB(dAe,"NetworkSimplexPlacer/lambda$25$Type",1407);Kce(1408,1,c_e,KC),_xe.td=function(e){!function(e,t,n){var r,i,o;for(i=new xF(BA(d9(n).a.Ic(),new p));Zce(i);)NX(r=LL(dX(i),18))||!NX(r)&&r.c.i.c==r.d.i.c||(o=She(e,r,n,new cv)).c.length>1&&(t.c[t.c.length]=o)}(this.a,this.b,LL(e,10))};eB(dAe,"NetworkSimplexPlacer/lambda$26$Type",1408);Kce(1409,1,L_e,Xo),_xe.Mb=function(e){return kG(),!NX(LL(e,18))};eB(dAe,"NetworkSimplexPlacer/lambda$27$Type",1409);Kce(1410,1,L_e,Yo),_xe.Mb=function(e){return kG(),!NX(LL(e,18))};eB(dAe,"NetworkSimplexPlacer/lambda$28$Type",1410);Kce(1411,1,{},vg),_xe.Ce=function(e,t){return PT(this.a,LL(e,29),LL(t,29))};eB(dAe,"NetworkSimplexPlacer/lambda$29$Type",1411);Kce(1385,1,{},Ko),_xe.Kb=function(e){return kG(),new cj(null,new Cz(new xF(BA(g9(LL(e,10)).a.Ic(),new p))))};eB(dAe,"NetworkSimplexPlacer/lambda$3$Type",1385);Kce(1386,1,L_e,Zo),_xe.Mb=function(e){return kG(),function(e){return kG(),!(NX(e)||!NX(e)&&e.c.i.c==e.d.i.c)}(LL(e,18))};eB(dAe,"NetworkSimplexPlacer/lambda$4$Type",1386);Kce(1387,1,c_e,yg),_xe.td=function(e){!function(e,t){var n,i,o,a,s,l,u,c,f,h,d;n=dP(new jb,e.f),l=e.i[t.c.i.p],h=e.i[t.d.i.p],s=t.c,f=t.d,a=s.a.b,c=f.a.b,l.b||(a+=s.n.b),h.b||(c+=f.n.b),u=IH(r.Math.max(0,a-c)),o=IH(r.Math.max(0,c-a)),d=r.Math.max(1,LL(Fae(t,(Kwe(),hJe)),20).a)*Lq(t.c.i.k,t.d.i.k),i=new XC(Yhe(mS(gS(pS(bS(new Nb,d),o),n),LL(aB(e.k,t.c),119))),Yhe(mS(gS(pS(bS(new Nb,d),u),n),LL(aB(e.k,t.d),119)))),e.c[t.p]=i}(this.a,LL(e,18))};eB(dAe,"NetworkSimplexPlacer/lambda$5$Type",1387);Kce(1388,1,{},Qo),_xe.Kb=function(e){return kG(),new cj(null,new ZG(LL(e,29).a,16))};eB(dAe,"NetworkSimplexPlacer/lambda$6$Type",1388);Kce(1389,1,L_e,Jo),_xe.Mb=function(e){return kG(),LL(e,10).k==(mse(),XHe)};eB(dAe,"NetworkSimplexPlacer/lambda$7$Type",1389);Kce(1390,1,{},ea),_xe.Kb=function(e){return kG(),new cj(null,new Cz(new xF(BA(d9(LL(e,10)).a.Ic(),new p))))};eB(dAe,"NetworkSimplexPlacer/lambda$8$Type",1390);Kce(1391,1,L_e,ta),_xe.Mb=function(e){return kG(),function(e){return!NX(e)&&e.c.i.c==e.d.i.c}(LL(e,18))};var G1e;eB(dAe,"NetworkSimplexPlacer/lambda$9$Type",1391);Kce(1373,1,sAe,pf),_xe.Vf=function(e){return LL(Fae(LL(e,38),(hxe(),mXe)),21).Fc((Kde(),Tqe))?G1e:null},_xe.nf=function(e,t){!function(e,t){var n,i,o,a,s,l,u,c,f,h;for(qoe(t,"Simple node placement",1),h=LL(Fae(e,(hxe(),qXe)),302),l=0,a=new td(e.b);a.a<a.c.c.length;){for((s=(i=LL(xW(a),29)).c).b=0,n=null,c=new td(i.a);c.a<c.c.c.length;)u=LL(xW(c),10),n&&(s.b+=W7(u,n,h.c)),s.b+=u.d.d+u.o.b+u.d.a,n=u;l=r.Math.max(l,s.b)}for(o=new td(e.b);o.a<o.c.c.length;)for(f=(l-(s=(i=LL(xW(o),29)).c).b)/2,n=null,c=new td(i.a);c.a<c.c.c.length;)u=LL(xW(c),10),n&&(f+=W7(u,n,h.c)),f+=u.d.d,u.n.b=f,f+=u.o.b+u.d.a,n=u;_se(t)}(LL(e,38),t)};eB(dAe,"SimpleNodePlacer",1373);Kce(182,1,{182:1},Oge),_xe.Ib=function(){var e;return e="",this.c==(sH(),U1e)?e+=rCe:this.c==W1e&&(e+=nCe),this.o==(YH(),X1e)?e+=pCe:this.o==Y1e?e+="UP":e+="BALANCED",e};var W1e,U1e;eB(mAe,"BKAlignedLayout",182);Kce(509,22,{3:1,36:1,22:1,509:1},ZC);var q1e,X1e,Y1e,K1e=f0(mAe,"BKAlignedLayout/HDirection",509,Aje,(function(){return sH(),q3(lw(K1e,1),A_e,509,0,[U1e,W1e])}),(function(e){return sH(),fQ((Qq(),q1e),e)}));Kce(508,22,{3:1,36:1,22:1,508:1},QC);var Z1e,Q1e=f0(mAe,"BKAlignedLayout/VDirection",508,Aje,(function(){return YH(),q3(lw(Q1e,1),A_e,508,0,[X1e,Y1e])}),(function(e){return YH(),fQ((Jq(),Z1e),e)}));Kce(1604,1,{},JC);eB(mAe,"BKAligner",1604);Kce(1607,1,{},Qre);eB(mAe,"BKCompactor",1607);Kce(643,1,{643:1},na),_xe.a=0;eB(mAe,"BKCompactor/ClassEdge",643);Kce(452,1,{452:1},tv),_xe.a=null,_xe.b=0;var J1e;eB(mAe,"BKCompactor/ClassNode",452);Kce(1376,1,sAe,MI),_xe.Vf=function(e){return LL(Fae(LL(e,38),(hxe(),mXe)),21).Fc((Kde(),Tqe))?J1e:null},_xe.nf=function(e,t){lxe(this,LL(e,38),t)},_xe.d=!1;eB(mAe,"BKNodePlacer",1376);Kce(1605,1,{},ra),_xe.d=0;eB(mAe,"NeighborhoodInformation",1605);Kce(1606,1,_ke,wg),_xe.ue=function(e,t){return function(e,t,n){return IH(kN(e.a.e[LL(t.a,10).p]-e.a.e[LL(n.a,10).p]))}(this,LL(e,46),LL(t,46))},_xe.Fb=function(e){return this===e},_xe.ve=function(){return new ad(this)};eB(mAe,"NeighborhoodInformation/NeighborComparator",1606);Kce(789,1,{});eB(mAe,"ThresholdStrategy",789);Kce(1734,789,{},fv),_xe.Yf=function(e,t,n){return this.a.o==(YH(),Y1e)?RSe:LSe},_xe.Zf=function(){};eB(mAe,"ThresholdStrategy/NullThresholdStrategy",1734);Kce(570,1,{570:1},eE),_xe.c=!1,_xe.d=!1;eB(mAe,"ThresholdStrategy/Postprocessable",570);Kce(1735,789,{},hv),_xe.Yf=function(e,t,n){var r,i,o;return i=t==n,r=this.a.a[n.p]==t,i||r?(o=e,this.a.c,sH(),i&&(o=ave(this,t,!0)),!isNaN(o)&&!isFinite(o)&&r&&(o=ave(this,n,!1)),o):e},_xe.Zf=function(){for(var e,t,n;0!=this.d.b;)(t=kme(this,n=LL(EH(this.d),570))).a&&(e=t.a,(Ty(this.a.f[this.a.g[n.b.p].p])||NX(e)||e.c.i.c!=e.d.i.c)&&(Tfe(this,n)||AM(this.e,n)));for(;0!=this.e.a.c.length;)Tfe(this,LL(O4(this.e),570))};var e2e;eB(mAe,"ThresholdStrategy/SimpleThresholdStrategy",1735);Kce(625,1,{625:1,245:1,233:1},ia),_xe.Hf=function(){return g3(this)},_xe.Uf=function(){return g3(this)};var t2e,n2e,r2e,i2e,o2e,a2e,s2e,l2e;eB(bAe,"EdgeRouterFactory",625);Kce(1427,1,sAe,gf),_xe.Vf=function(e){return function(e){var t,n;return n=LL(Fae(e,(hxe(),mXe)),21),t=new wU,n.Fc((Kde(),Aqe))&&(P2(t,i2e),P2(t,a2e)),(n.Fc(Oqe)||Ty(VO(Fae(e,(Kwe(),lQe)))))&&(P2(t,a2e),n.Fc(Dqe)&&P2(t,s2e)),n.Fc(Tqe)&&P2(t,r2e),n.Fc(Lqe)&&P2(t,l2e),n.Fc(Pqe)&&P2(t,o2e),n.Fc(Eqe)&&P2(t,t2e),n.Fc(Mqe)&&P2(t,n2e),t}(LL(e,38))},_xe.nf=function(e,t){!function(e,t){var n,r,i,o,a,s,l,u,c,f,h,d,p,g;qoe(t,"Orthogonal edge routing",1),u=Oy($O(Fae(e,(Kwe(),TJe)))),n=Oy($O(Fae(e,wJe))),r=Oy($O(Fae(e,SJe))),h=new zz(0,n),g=0,a=new eU(e.b,0),s=null,c=null,l=null,f=null;do{f=(c=a.b<a.d.gc()?(EP(a.b<a.d.gc()),LL(a.d.Xb(a.c=a.b++),29)):null)?c.a:null,s&&(zve(s,g),g+=s.c.a),p=yye(h,e,l,f,s?g+r:g),i=!s||FI(l,(pde(),d2e)),o=!c||FI(f,(pde(),d2e)),p>0?(d=(p-1)*n,s&&(d+=r),c&&(d+=r),d<u&&!i&&!o&&(d=u),g+=d):!i&&!o&&(g+=u),s=c,l=f}while(c);e.f.a=g,_se(t)}(LL(e,38),t)};var u2e,c2e,f2e,h2e,d2e,p2e;eB(bAe,"OrthogonalEdgeRouter",1427);Kce(1420,1,sAe,TI),_xe.Vf=function(e){return function(e){var t,n;return n=LL(Fae(e,(hxe(),mXe)),21),t=DM(u2e),n.Fc((Kde(),Dqe))&&P2(t,h2e),n.Fc(Lqe)&&P2(t,p2e),n.Fc(Eqe)&&P2(t,c2e),n.Fc(Mqe)&&P2(t,f2e),t}(LL(e,38))},_xe.nf=function(e,t){!function(e,t,n){var i,o,a,s,l,u,c,f,h,d,g,m,b,v,y,w,x,_;for(qoe(n,"Polyline edge routing",1),v=Oy($O(Fae(t,(Kwe(),nQe)))),g=Oy($O(Fae(t,TJe))),o=Oy($O(Fae(t,wJe))),i=r.Math.min(1,o/g),x=0,u=0,0!=t.b.c.length&&(x=.4*i*(_=ihe(LL(JN(t.b,0),29)))),l=new eU(t.b,0);l.b<l.d.gc();){for(EP(l.b<l.d.gc()),(a=FI(s=LL(l.d.Xb(l.c=l.b++),29),d2e))&&x>0&&(x-=g),zve(s,x),f=0,d=new td(s.a);d.a<d.c.c.length;){for(c=0,b=new xF(BA(g9(h=LL(xW(d),10)).a.Ic(),new p));Zce(b);)y=tW((m=LL(dX(b),18)).c).b,w=tW(m.d).b,s!=m.d.i.c||NX(m)||(Zue(m,x,.4*i*r.Math.abs(y-w)),m.c.j==(hwe(),Qet)&&(y=0,w=0)),c=r.Math.max(c,r.Math.abs(w-y));switch(h.k.g){case 0:case 4:case 1:case 3:case 5:Xve(e,h,x,v)}f=r.Math.max(f,c)}l.b<l.d.gc()&&(_=ihe((EP(l.b<l.d.gc()),LL(l.d.Xb(l.c=l.b++),29))),f=r.Math.max(f,_),EP(l.b>0),l.a.Xb(l.c=--l.b)),u=.4*i*f,!a&&l.b<l.d.gc()&&(u+=g),x+=s.c.a+u}e.a.a.$b(),t.f.a=x,_se(n)}(this,LL(e,38),t)};eB(bAe,"PolylineEdgeRouter",1420);Kce(1421,1,Bke,oa),_xe.Lb=function(e){return f3(LL(e,10))},_xe.Fb=function(e){return this===e},_xe.Mb=function(e){return f3(LL(e,10))};eB(bAe,"PolylineEdgeRouter/1",1421);Kce(1781,1,L_e,aa),_xe.Mb=function(e){return LL(e,129).c==(EY(),g2e)};eB(vAe,"HyperEdgeCycleDetector/lambda$0$Type",1781);Kce(1782,1,{},sa),_xe.Ge=function(e){return LL(e,129).d};eB(vAe,"HyperEdgeCycleDetector/lambda$1$Type",1782);Kce(1783,1,L_e,la),_xe.Mb=function(e){return LL(e,129).c==(EY(),g2e)};eB(vAe,"HyperEdgeCycleDetector/lambda$2$Type",1783);Kce(1784,1,{},ua),_xe.Ge=function(e){return LL(e,129).d};eB(vAe,"HyperEdgeCycleDetector/lambda$3$Type",1784);Kce(1785,1,{},ca),_xe.Ge=function(e){return LL(e,129).d};eB(vAe,"HyperEdgeCycleDetector/lambda$4$Type",1785);Kce(1786,1,{},fa),_xe.Ge=function(e){return LL(e,129).d};eB(vAe,"HyperEdgeCycleDetector/lambda$5$Type",1786);Kce(111,1,{36:1,111:1},p3),_xe.wd=function(e){return function(e,t){return e.g-t.g}(this,LL(e,111))},_xe.Fb=function(e){var t;return!!BT(e,111)&&(t=LL(e,111),this.g==t.g)},_xe.Hb=function(){return this.g},_xe.Ib=function(){var e,t,n,r;for(e=new YA("{"),r=new td(this.n);r.a<r.c.c.length;)null==(t=Mre((n=LL(xW(r),11)).i))&&(t="n"+gR(n.i)),e.a+=""+t,r.a<r.c.c.length&&(e.a+=",");return e.a+="}",e.a},_xe.a=0,_xe.b=0,_xe.c=NaN,_xe.d=0,_xe.g=0,_xe.i=0,_xe.o=0,_xe.s=NaN;eB(vAe,"HyperEdgeSegment",111);Kce(129,1,{129:1},BG),_xe.Ib=function(){return this.a+"->"+this.b+" ("+((null!=(e=this.c).f?e.f:""+e.g)+")");var e},_xe.d=0;var g2e,m2e;eB(vAe,"HyperEdgeSegmentDependency",129);Kce(513,22,{3:1,36:1,22:1,513:1},rE);var b2e,v2e=f0(vAe,"HyperEdgeSegmentDependency/DependencyType",513,Aje,(function(){return EY(),q3(lw(v2e,1),A_e,513,0,[m2e,g2e])}),(function(e){return EY(),fQ((Kq(),b2e),e)}));Kce(1787,1,{},xg);eB(vAe,"HyperEdgeSegmentSplitter",1787);Kce(1788,1,{},$w),_xe.a=0,_xe.b=0;eB(vAe,"HyperEdgeSegmentSplitter/AreaRating",1788);Kce(327,1,{327:1},dL),_xe.a=0,_xe.b=0,_xe.c=0;eB(vAe,"HyperEdgeSegmentSplitter/FreeArea",327);Kce(1789,1,_ke,ya),_xe.ue=function(e,t){return function(e,t){return j8(e.c-e.s,t.c-t.s)}(LL(e,111),LL(t,111))},_xe.Fb=function(e){return this===e},_xe.ve=function(){return new ad(this)};eB(vAe,"HyperEdgeSegmentSplitter/lambda$0$Type",1789);Kce(1790,1,c_e,NV),_xe.td=function(e){cq(this.a,this.d,this.c,this.b,LL(e,111))},_xe.b=0;eB(vAe,"HyperEdgeSegmentSplitter/lambda$1$Type",1790);Kce(1791,1,{},wa),_xe.Kb=function(e){return new cj(null,new ZG(LL(e,111).e,16))};eB(vAe,"HyperEdgeSegmentSplitter/lambda$2$Type",1791);Kce(1792,1,{},xa),_xe.Kb=function(e){return new cj(null,new ZG(LL(e,111).j,16))};eB(vAe,"HyperEdgeSegmentSplitter/lambda$3$Type",1792);Kce(1793,1,{},_a),_xe.Fe=function(e){return Oy($O(e))};eB(vAe,"HyperEdgeSegmentSplitter/lambda$4$Type",1793);Kce(644,1,{},zz),_xe.a=0,_xe.b=0,_xe.c=0;eB(vAe,"OrthogonalRoutingGenerator",644);Kce(1608,1,{},Sa),_xe.Kb=function(e){return new cj(null,new ZG(LL(e,111).e,16))};eB(vAe,"OrthogonalRoutingGenerator/lambda$0$Type",1608);Kce(1609,1,{},ka),_xe.Kb=function(e){return new cj(null,new ZG(LL(e,111).j,16))};eB(vAe,"OrthogonalRoutingGenerator/lambda$1$Type",1609);Kce(649,1,{});eB(yAe,"BaseRoutingDirectionStrategy",649);Kce(1779,649,{},dv),_xe.$f=function(e,t,n){var i,o,a,s,l,u,c,f,h,d,p,g,m;if(!e.r||e.q)for(f=t+e.o*n,c=new td(e.n);c.a<c.c.c.length;)for(u=LL(xW(c),11),h=V5(q3(lw(J6e,1),s_e,8,0,[u.i.n,u.n,u.a])).a,l=new td(u.g);l.a<l.c.c.length;)NX(s=LL(xW(l),18))||(g=s.d,m=V5(q3(lw(J6e,1),s_e,8,0,[g.i.n,g.n,g.a])).a,r.Math.abs(h-m)>uEe&&(o=e,i=new YE(h,a=f),bN(s.a,i),cme(this,s,o,i,!1),(d=e.r)&&(i=new YE(p=Oy($O(bte(d.e,0))),a),bN(s.a,i),cme(this,s,o,i,!1),o=d,i=new YE(p,a=t+d.o*n),bN(s.a,i),cme(this,s,o,i,!1)),i=new YE(m,a),bN(s.a,i),cme(this,s,o,i,!1)))},_xe._f=function(e){return e.i.n.a+e.n.a+e.a.a},_xe.ag=function(){return hwe(),Ket},_xe.bg=function(){return hwe(),Det};eB(yAe,"NorthToSouthRoutingStrategy",1779);Kce(1780,649,{},pv),_xe.$f=function(e,t,n){var i,o,a,s,l,u,c,f,h,d,p,g,m;if(!e.r||e.q)for(f=t-e.o*n,c=new td(e.n);c.a<c.c.c.length;)for(u=LL(xW(c),11),h=V5(q3(lw(J6e,1),s_e,8,0,[u.i.n,u.n,u.a])).a,l=new td(u.g);l.a<l.c.c.length;)NX(s=LL(xW(l),18))||(g=s.d,m=V5(q3(lw(J6e,1),s_e,8,0,[g.i.n,g.n,g.a])).a,r.Math.abs(h-m)>uEe&&(o=e,i=new YE(h,a=f),bN(s.a,i),cme(this,s,o,i,!1),(d=e.r)&&(i=new YE(p=Oy($O(bte(d.e,0))),a),bN(s.a,i),cme(this,s,o,i,!1),o=d,i=new YE(p,a=t-d.o*n),bN(s.a,i),cme(this,s,o,i,!1)),i=new YE(m,a),bN(s.a,i),cme(this,s,o,i,!1)))},_xe._f=function(e){return e.i.n.a+e.n.a+e.a.a},_xe.ag=function(){return hwe(),Det},_xe.bg=function(){return hwe(),Ket};eB(yAe,"SouthToNorthRoutingStrategy",1780);Kce(1778,649,{},gv),_xe.$f=function(e,t,n){var i,o,a,s,l,u,c,f,h,d,p,g,m;if(!e.r||e.q)for(f=t+e.o*n,c=new td(e.n);c.a<c.c.c.length;)for(u=LL(xW(c),11),h=V5(q3(lw(J6e,1),s_e,8,0,[u.i.n,u.n,u.a])).b,l=new td(u.g);l.a<l.c.c.length;)NX(s=LL(xW(l),18))||(g=s.d,m=V5(q3(lw(J6e,1),s_e,8,0,[g.i.n,g.n,g.a])).b,r.Math.abs(h-m)>uEe&&(o=e,i=new YE(a=f,h),bN(s.a,i),cme(this,s,o,i,!0),(d=e.r)&&(i=new YE(a,p=Oy($O(bte(d.e,0)))),bN(s.a,i),cme(this,s,o,i,!0),o=d,i=new YE(a=t+d.o*n,p),bN(s.a,i),cme(this,s,o,i,!0)),i=new YE(a,m),bN(s.a,i),cme(this,s,o,i,!0)))},_xe._f=function(e){return e.i.n.b+e.n.b+e.a.b},_xe.ag=function(){return hwe(),Oet},_xe.bg=function(){return hwe(),Qet};eB(yAe,"WestToEastRoutingStrategy",1778);Kce(794,1,{},ube),_xe.Ib=function(){return Wae(this.a)},_xe.b=0,_xe.c=!1,_xe.d=!1,_xe.f=0;eB(xAe,"NubSpline",794);Kce(402,1,{402:1},wde,oH);var y2e,w2e,x2e,_2e,S2e;eB(xAe,"NubSpline/PolarCP",402);Kce(1422,1,sAe,kre),_xe.Vf=function(e){return function(e){var t,n;return P2(t=new wU,y2e),(n=LL(Fae(e,(hxe(),mXe)),21)).Fc((Kde(),Lqe))&&P2(t,S2e),n.Fc(Eqe)&&P2(t,w2e),n.Fc(Dqe)&&P2(t,_2e),n.Fc(Mqe)&&P2(t,x2e),t}(LL(e,38))},_xe.nf=function(e,t){!function(e,t,n){var i,o,a,s,l,u,c,f,h,d,p,g,m,b,v,y,w,x,_,S,k,C,E,I,M;if(qoe(n,"Spline edge routing",1),0==t.b.c.length)return t.f.a=0,void _se(n);v=Oy($O(Fae(t,(Kwe(),TJe)))),l=Oy($O(Fae(t,SJe))),s=Oy($O(Fae(t,wJe))),k=LL(Fae(t,oQe),334)==(d6(),Z0e),S=Oy($O(Fae(t,aQe))),e.d=t,e.j.c=fK(pje,zxe,1,0,5,1),e.a.c=fK(pje,zxe,1,0,5,1),JF(e.k),f=FI((u=LL(JN(t.b,0),29)).a,(pde(),d2e)),h=FI((g=LL(JN(t.b,t.b.c.length-1),29)).a,d2e),m=new td(t.b),b=null,M=0;do{for(vwe(e,b,y=m.a<m.c.c.length?LL(xW(m),29):null),jme(e),I=0,w=M,d=!b||f&&b==u,p=!y||h&&y==g,(C=xw($1(CV(_V(new cj(null,new ZG(e.i,16)),new va),new ba))))>0?(c=0,b&&(c+=l),c+=(C-1)*s,y&&(c+=l),k&&y&&(c=r.Math.max(c,rde(y,s,v,S))),c<v&&!d&&!p&&(I=(v-c)/2,c=v),w+=c):!d&&!p&&(w+=v),y&&zve(y,w),_=new td(e.i);_.a<_.c.c.length;)(x=LL(xW(_),128)).a.c=M,x.a.b=w-M,x.F=I,x.p=!b;L3(e.a,e.i),M=w,y&&(M+=y.c.a),b=y,d=p}while(y);for(o=new td(e.j);o.a<o.c.c.length;)a=Q2(e,i=LL(xW(o),18)),S5(i,(hxe(),XXe),a),E=Tde(e,i),S5(i,KXe,E);t.f.a=M,e.d=null,_se(n)}(this,LL(e,38),t)};eB(xAe,"SplineEdgeRouter",1422);Kce(267,1,{267:1},yY),_xe.Ib=function(){return this.a+" ->("+this.c+") "+this.b},_xe.c=0;var k2e,C2e;eB(xAe,"SplineEdgeRouter/Dependency",267);Kce(448,22,{3:1,36:1,22:1,448:1},iE);var E2e,I2e=f0(xAe,"SplineEdgeRouter/SideToProcess",448,Aje,(function(){return aH(),q3(lw(I2e,1),A_e,448,0,[k2e,C2e])}),(function(e){return aH(),fQ((eX(),E2e),e)}));Kce(1423,1,L_e,va),_xe.Mb=function(e){return gde(),!LL(e,128).o};eB(xAe,"SplineEdgeRouter/lambda$0$Type",1423);Kce(1424,1,{},ba),_xe.Ge=function(e){return gde(),LL(e,128).v+1};eB(xAe,"SplineEdgeRouter/lambda$1$Type",1424);Kce(1425,1,c_e,WE),_xe.td=function(e){!function(e,t,n){eV(e.b,LL(n.b,18),t)}(this.a,this.b,LL(e,46))};eB(xAe,"SplineEdgeRouter/lambda$2$Type",1425);Kce(1426,1,c_e,UE),_xe.td=function(e){!function(e,t,n){eV(e.b,LL(n.b,18),t)}(this.a,this.b,LL(e,46))};eB(xAe,"SplineEdgeRouter/lambda$3$Type",1426);Kce(128,1,{36:1,128:1},Ble,Dve),_xe.wd=function(e){return function(e,t){return e.s-t.s}(this,LL(e,128))},_xe.b=0,_xe.e=!1,_xe.f=0,_xe.g=0,_xe.j=!1,_xe.k=!1,_xe.n=0,_xe.o=!1,_xe.p=!1,_xe.q=!1,_xe.s=0,_xe.u=0,_xe.v=0,_xe.F=0;eB(xAe,"SplineSegment",128);Kce(453,1,{453:1},da),_xe.a=0,_xe.b=!1,_xe.c=!1,_xe.d=!1,_xe.e=!1,_xe.f=0;eB(xAe,"SplineSegment/EdgeInformation",453);Kce(1207,1,{},ha);eB(EAe,eEe,1207);Kce(1208,1,_ke,pa),_xe.ue=function(e,t){return function(e,t){var n,r,i;return 0==(n=LL(Fae(t,(xse(),b3e)),20).a-LL(Fae(e,b3e),20).a)?(r=VD(RT(LL(Fae(e,(qve(),G2e)),8)),LL(Fae(e,W2e),8)),i=VD(RT(LL(Fae(t,G2e),8)),LL(Fae(t,W2e),8)),j8(r.a*r.b,i.a*i.b)):n}(LL(e,135),LL(t,135))},_xe.Fb=function(e){return this===e},_xe.ve=function(){return new ad(this)};eB(EAe,tEe,1208);Kce(1206,1,{},Kx);var M2e,T2e,A2e,P2e;eB(EAe,"MrTree",1206);Kce(389,22,{3:1,36:1,22:1,389:1,245:1,233:1},oE),_xe.Hf=function(){return Vue(this)},_xe.Uf=function(){return Vue(this)};var O2e,D2e=f0(EAe,"TreeLayoutPhases",389,Aje,(function(){return qre(),q3(lw(D2e,1),A_e,389,0,[M2e,T2e,A2e,P2e])}),(function(e){return qre(),fQ((IZ(),O2e),e)}));Kce(1103,207,PCe,ND),_xe.$e=function(e,t){var n,i,o,a,s,l;for(c3(s=new PY,e),S5(s,(qve(),e3e),e),function(e,t,n){var i,o,a,s,l;for(a=0,o=new SA((!e.a&&(e.a=new FF(cnt,e,10,11)),e.a));o.e!=o.i.gc();)s="",0==(!(i=LL(Hee(o),34)).n&&(i.n=new FF(unt,i,1,7)),i.n).i||(s=LL(sJ((!i.n&&(i.n=new FF(unt,i,1,7)),i.n),0),137).a),c3(l=new v4(a++,t,s),i),S5(l,(qve(),e3e),i),l.e.b=i.j+i.f/2,l.f.a=r.Math.max(i.g,1),l.e.a=i.i+i.g/2,l.f.b=r.Math.max(i.f,1),bN(t.b,l),eue(n.f,i,l)}(e,s,l=new Hm),function(e,t,n){var r,i,o,a,s,l,u;for(a=new SA((!e.a&&(e.a=new FF(cnt,e,10,11)),e.a));a.e!=a.i.gc();)for(i=new xF(BA(she(o=LL(Hee(a),34)).a.Ic(),new p));Zce(i);)zce(r=LL(dX(i),80))||zce(r)||Que(r)||(l=LL(PI(rH(n.f,o)),83),u=LL(aB(n,Xoe(LL(sJ((!r.c&&(r.c=new nR(nnt,r,5,8)),r.c),0),93))),83),l&&u&&(S5(s=new g$(l,u),(qve(),e3e),r),c3(s,r),bN(l.d,s),bN(u.b,s),bN(t.a,s)))}(e,s,l),a=s,i=new td(o=ome(this.a,a));i.a<i.c.c.length;)n=LL(xW(i),135),Loe(this.b,n,a2(t,1/o.c.length));a=function(e){var t,n,i,o,a,s,l,u,c,f,h,d,p,g,m,b,v,y,w,x,_,S,k,C,E,I,M;if(1==e.c.length)return MG(0,e.c.length),LL(e.c[0],135);if(e.c.length<=0)return new PY;for(u=new td(e);u.a<u.c.c.length;){for(s=LL(xW(u),135),y=0,g=Dxe,m=Dxe,d=F_e,p=F_e,v=cte(s.b,0);v.b!=v.d.c;)b=LL(BU(v),83),y+=LL(Fae(b,(xse(),b3e)),20).a,g=r.Math.min(g,b.e.a),m=r.Math.min(m,b.e.b),d=r.Math.max(d,b.e.a+b.f.a),p=r.Math.max(p,b.e.b+b.f.b);S5(s,(xse(),b3e),k8(y)),S5(s,(qve(),W2e),new YE(g,m)),S5(s,G2e,new YE(d,p))}for(v$(),kT(e,new pa),c3(x=new PY,(MG(0,e.c.length),LL(e.c[0],94))),h=0,E=0,c=new td(e);c.a<c.c.c.length;)s=LL(xW(c),135),_=VD(RT(LL(Fae(s,(qve(),G2e)),8)),LL(Fae(s,W2e),8)),h=r.Math.max(h,_.a),E+=_.a*_.b;for(h=r.Math.max(h,r.Math.sqrt(E)*Oy($O(Fae(x,(xse(),d3e))))),I=0,M=0,f=0,t=S=Oy($O(Fae(x,w3e))),l=new td(e);l.a<l.c.c.length;)s=LL(xW(l),135),I+(_=VD(RT(LL(Fae(s,(qve(),G2e)),8)),LL(Fae(s,W2e),8))).a>h&&(I=0,M+=f+S,f=0),fhe(x,s,I,M),t=r.Math.max(t,I+_.a),f=r.Math.max(f,_.b),I+=_.a+S;for(w=new Hm,n=new Hm,C=new td(e);C.a<C.c.c.length;)for(i=Ty(VO(Fae(k=LL(xW(C),135),(fxe(),F8e)))),a=(k.q?k.q:YFe).tc().Ic();a.Ob();)KF(w,(o=LL(a.Pb(),43)).ad())?OI(LL(o.ad(),146).rg())!==OI(o.bd())&&(i&&KF(n,o.ad())?(Q_(),LL(o.ad(),146).og()):(eV(w,LL(o.ad(),146),o.bd()),S5(x,LL(o.ad(),146),o.bd()),i&&eV(n,LL(o.ad(),146),o.bd()))):(eV(w,LL(o.ad(),146),o.bd()),S5(x,LL(o.ad(),146),o.bd()));return x}(o),function(e){var t,n,i,o,a,s,l,u,c,f,h,d,p,g,m,b,v,y,w,x,_;for(i=LL(Fae(e,(qve(),e3e)),34),l=Dxe,u=Dxe,a=F_e,s=F_e,x=cte(e.b,0);x.b!=x.d.c;)p=(y=LL(BU(x),83)).e,g=y.f,l=r.Math.min(l,p.a-g.a/2),u=r.Math.min(u,p.b-g.b/2),a=r.Math.max(a,p.a+g.a/2),s=r.Math.max(s,p.b+g.b/2);for(h=new YE((d=LL(xfe(i,(xse(),g3e)),115)).b-l,d.d-u),w=cte(e.b,0);w.b!=w.d.c;)BT(f=Fae(y=LL(BU(w),83),e3e),238)&&$M(o=LL(f,34),(c=BD(y.e,h)).a-o.g/2,c.b-o.f/2);for(v=cte(e.a,0);v.b!=v.d.c;)b=LL(BU(v),188),(n=LL(Fae(b,e3e),80))&&(jq(t=b.a,m=new lT(b.b.e),t.a,t.a.a),jq(t,_=new lT(b.c.e),t.c.b,t.c),lse(m,LL(bte(t,1),8),b.b.f),lse(_,LL(bte(t,t.b-2),8),b.c.f),ebe(t,Wde(n,!0,!0)));ywe(i,a-l+(d.b+d.c),s-u+(d.d+d.a),!1,!1)}(a)};eB(EAe,"TreeLayoutProvider",1103);Kce(1819,1,g_e,ga),_xe.Hc=function(e){yX(this,e)},_xe.Ic=function(){return v$(),J_(),ZFe};eB(EAe,"TreeUtil/1",1819);Kce(1820,1,g_e,ma),_xe.Hc=function(e){yX(this,e)},_xe.Ic=function(){return v$(),J_(),ZFe};eB(EAe,"TreeUtil/2",1820);Kce(493,134,{3:1,493:1,94:1,134:1}),_xe.g=0;eB(IAe,"TGraphElement",493);Kce(188,493,{3:1,188:1,493:1,94:1,134:1},g$),_xe.Ib=function(){return this.b&&this.c?mW(this.b)+"->"+mW(this.c):"e_"+p4(this)};eB(IAe,"TEdge",188);Kce(135,134,{3:1,135:1,94:1,134:1},PY),_xe.Ib=function(){var e,t,n,r,i;for(i=null,r=cte(this.b,0);r.b!=r.d.c;)i+=(null==(n=LL(BU(r),83)).c||0==n.c.length?"n_"+n.g:"n_"+n.c)+"\n";for(t=cte(this.a,0);t.b!=t.d.c;)i+=((e=LL(BU(t),188)).b&&e.c?mW(e.b)+"->"+mW(e.c):"e_"+p4(e))+"\n";return i};var R2e=eB(IAe,"TGraph",135);Kce(623,493,{3:1,493:1,623:1,94:1,134:1});eB(IAe,"TShape",623);Kce(83,623,{3:1,493:1,83:1,623:1,94:1,134:1},v4),_xe.Ib=function(){return mW(this)};var L2e=eB(IAe,"TNode",83);Kce(254,1,g_e,_g),_xe.Hc=function(e){yX(this,e)},_xe.Ic=function(){return new Sg(cte(this.a.d,0))};eB(IAe,"TNode/2",254);Kce(355,1,qxe,Sg),_xe.Nb=function(e){GF(this,e)},_xe.Pb=function(){return LL(BU(this.a),188).c},_xe.Ob=function(){return jx(this.a)},_xe.Qb=function(){QQ(this.a)};eB(IAe,"TNode/2/1",355);Kce(1812,1,GEe,jD),_xe.nf=function(e,t){Hme(this,LL(e,135),t)};var N2e,j2e,F2e,z2e,B2e,V2e;eB(MAe,"FanProcessor",1812);Kce(325,22,{3:1,36:1,22:1,325:1,233:1},aE),_xe.Hf=function(){switch(this.g){case 0:return new Gv;case 1:return new jD;case 2:return new Ia;case 3:return new Ca;case 4:return new Ta;case 5:return new Aa;default:throw Jm(new Ny(pIe+(null!=this.f?this.f:""+this.g)))}};var $2e,H2e=f0(MAe,gIe,325,Aje,(function(){return Cle(),q3(lw(H2e,1),A_e,325,0,[V2e,j2e,z2e,F2e,B2e,N2e])}),(function(e){return Cle(),fQ((RJ(),$2e),e)}));Kce(1815,1,GEe,Ca),_xe.nf=function(e,t){Ife(this,LL(e,135),t)},_xe.a=0;eB(MAe,"LevelHeightProcessor",1815);Kce(1816,1,g_e,Ea),_xe.Hc=function(e){yX(this,e)},_xe.Ic=function(){return v$(),J_(),ZFe};eB(MAe,"LevelHeightProcessor/1",1816);Kce(1813,1,GEe,Ia),_xe.nf=function(e,t){Nle(this,LL(e,135),t)},_xe.a=0;eB(MAe,"NeighborsProcessor",1813);Kce(1814,1,g_e,Ma),_xe.Hc=function(e){yX(this,e)},_xe.Ic=function(){return v$(),J_(),ZFe};eB(MAe,"NeighborsProcessor/1",1814);Kce(1817,1,GEe,Ta),_xe.nf=function(e,t){Efe(this,LL(e,135),t)},_xe.a=0;eB(MAe,"NodePositionProcessor",1817);Kce(1811,1,GEe,Gv),_xe.nf=function(e,t){!function(e,t){var n,r,i,o,a,s,l;for(e.a.c=fK(pje,zxe,1,0,5,1),r=cte(t.b,0);r.b!=r.d.c;)0==(n=LL(BU(r),83)).b.b&&(S5(n,(qve(),a3e),(_P(),!0)),RL(e.a,n));switch(e.a.c.length){case 0:S5(i=new v4(0,t,"DUMMY_ROOT"),(qve(),a3e),(_P(),!0)),S5(i,q2e,!0),bN(t.b,i);break;case 1:break;default:for(o=new v4(0,t,"SUPER_ROOT"),s=new td(e.a);s.a<s.c.c.length;)S5(l=new g$(o,a=LL(xW(s),83)),(qve(),q2e),(_P(),!0)),bN(o.a.a,l),bN(o.d,l),bN(a.b,l),S5(a,a3e,!1);S5(o,(qve(),a3e),(_P(),!0)),S5(o,q2e,!0),bN(t.b,o)}}(this,LL(e,135))};eB(MAe,"RootProcessor",1811);Kce(1818,1,GEe,Aa),_xe.nf=function(e,t){!function(e){var t,n;for(n=LL(Fae(e,(qve(),r3e)),14).Ic();n.Ob();)bN((t=LL(n.Pb(),188)).b.d,t),bN(t.c.b,t)}(LL(e,135))};var G2e,W2e,U2e,q2e,X2e,Y2e,K2e,Z2e,Q2e,J2e,e3e,t3e,n3e,r3e,i3e,o3e,a3e,s3e,l3e,u3e,c3e,f3e,h3e;eB(MAe,"Untreeifyer",1818);Kce(830,1,qke,mf),_xe.Qe=function(e){M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,PAe),""),"Weighting of Nodes"),"Which weighting to use when computing a node order."),h3e),(mle(),$6e)),I3e),o9((dte(),j6e))))),M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,OAe),""),"Search Order"),"Which search order to use when computing a spanning tree."),c3e),$6e),A3e),o9(j6e)))),yve((new bf,e))};var d3e,p3e,g3e,m3e,b3e,v3e,y3e,w3e,x3e;eB(DAe,"MrTreeMetaDataProvider",830);Kce(974,1,qke,bf),_xe.Qe=function(e){yve(e)};eB(DAe,"MrTreeOptions",974);Kce(975,1,{},Pa),_xe._e=function(){return new ND},_xe.af=function(e){};var _3e,S3e;eB(DAe,"MrTreeOptions/MrtreeFactory",975);Kce(474,22,{3:1,36:1,22:1,474:1},sE);var k3e,C3e,E3e,I3e=f0(DAe,"OrderWeighting",474,Aje,(function(){return KH(),q3(lw(I3e,1),A_e,474,0,[_3e,S3e])}),(function(e){return KH(),fQ((tX(),k3e),e)}));Kce(419,22,{3:1,36:1,22:1,419:1},lE);var M3e,T3e,A3e=f0(DAe,"TreeifyingOrder",419,Aje,(function(){return YW(),q3(lw(A3e,1),A_e,419,0,[E3e,C3e])}),(function(e){return YW(),fQ((nX(),M3e),e)}));Kce(1428,1,sAe,uf),_xe.Vf=function(e){return LL(e,135),T3e},_xe.nf=function(e,t){v2(this,LL(e,135),t)};var P3e;eB("org.eclipse.elk.alg.mrtree.p1treeify","DFSTreeifyer",1428);Kce(1429,1,sAe,lf),_xe.Vf=function(e){return LL(e,135),P3e},_xe.nf=function(e,t){qle(this,LL(e,135),t)};var O3e;eB("org.eclipse.elk.alg.mrtree.p2order","NodeOrderer",1429);Kce(1430,1,sAe,cf),_xe.Vf=function(e){return LL(e,135),O3e},_xe.nf=function(e,t){Cpe(this,LL(e,135),t)},_xe.a=0;var D3e;eB("org.eclipse.elk.alg.mrtree.p3place","NodePlacer",1430);Kce(1431,1,sAe,ff),_xe.Vf=function(e){return LL(e,135),D3e},_xe.nf=function(e,t){!function(e,t){var n,r;for(qoe(t,"Dull edge routing",1),r=cte(e.b,0);r.b!=r.d.c;)for(n=cte(LL(BU(r),83).d,0);n.b!=n.d.c;)s$(LL(BU(n),188).a)}(LL(e,135),t)};var R3e,L3e,N3e;eB("org.eclipse.elk.alg.mrtree.p4route","EdgeRouter",1431);Kce(487,22,{3:1,36:1,22:1,487:1,245:1,233:1},uE),_xe.Hf=function(){return Z9(this)},_xe.Uf=function(){return Z9(this)};var j3e,F3e=f0(NAe,"RadialLayoutPhases",487,Aje,(function(){return w1(),q3(lw(F3e,1),A_e,487,0,[L3e,N3e])}),(function(e){return w1(),fQ((rX(),j3e),e)}));Kce(1104,207,PCe,Yx),_xe.$e=function(e,t){var n,r,i,o;if(qoe(t,"Radial layout",tue(this,e).c.length),o=function(e){var t,n;for(n=new SA((!e.a&&(e.a=new FF(cnt,e,10,11)),e.a));n.e!=n.i.gc();)if(!Zce(new xF(BA(ahe(t=LL(Hee(n),34)).a.Ic(),new p))))return t;return null}(e),Fte(e,(MO(),R3e),o),!o)throw Jm(new Ny("The given graph is not a tree!"));for(0==(r=Oy($O(xfe(e,($4(),g5e)))))&&(r=Aue(e)),Fte(e,g5e,r),uJ(wre(n=new _y(e)),new Rd(n)),o7(new Ld(n)),i=new td(tue(this,e));i.a<i.c.c.length;)LL(xW(i),52).nf(e,a2(t,1));_se(t)};eB(NAe,"RadialLayoutProvider",1104);Kce(544,1,_ke,e_),_xe.ue=function(e,t){return function(e,t,n,i){var o,a,s,l,u,c,f,h;return u=(s=LL(xfe(n,(fxe(),V9e)),8)).a,f=s.b+e,(o=r.Math.atan2(f,u))<0&&(o+=jAe),(o+=t)>jAe&&(o-=jAe),c=(l=LL(xfe(i,V9e),8)).a,h=l.b+e,(a=r.Math.atan2(h,c))<0&&(a+=jAe),(a+=t)>jAe&&(a-=jAe),vT(),CJ(1e-10),r.Math.abs(o-a)<=1e-10||o==a||isNaN(o)&&isNaN(a)?0:o<a?-1:o>a?1:_M(isNaN(o),isNaN(a))}(this.a,this.b,LL(e,34),LL(t,34))},_xe.Fb=function(e){return this===e},_xe.ve=function(){return new ad(this)},_xe.a=0,_xe.b=0;eB(NAe,"RadialUtil/lambda$0$Type",544);Kce(1346,1,GEe,Oa),_xe.nf=function(e,t){!function(e){var t,n,i,o,a,s,l,u,c,f,h,d,p,g,m,b;for(s=KCe,l=KCe,o=FAe,a=FAe,f=new SA((!e.a&&(e.a=new FF(cnt,e,10,11)),e.a));f.e!=f.i.gc();)p=(u=LL(Hee(f),34)).i,g=u.j,b=u.g,n=u.f,i=LL(xfe(u,(fxe(),i9e)),141),s=r.Math.min(s,p-i.b),l=r.Math.min(l,g-i.d),o=r.Math.max(o,p+b+i.c),a=r.Math.max(a,g+n+i.a);for(h=new YE(s-(d=LL(xfe(e,(fxe(),v9e)),115)).b,l-d.d),c=new SA((!e.a&&(e.a=new FF(cnt,e,10,11)),e.a));c.e!=c.i.gc();)UJ(u=LL(Hee(c),34),u.i-h.a),qJ(u,u.j-h.b);m=o-s+(d.b+d.c),t=a-l+(d.d+d.a),WJ(e,m),GJ(e,t)}(LL(e,34))};var z3e,B3e,V3e;eB(zAe,"CalculateGraphSize",1346);Kce(436,22,{3:1,36:1,22:1,436:1,233:1},cE),_xe.Hf=function(){switch(this.g){case 0:return new Fa;case 1:return new Da;case 2:return new Oa;default:throw Jm(new Ny(pIe+(null!=this.f?this.f:""+this.g)))}};var $3e,H3e=f0(zAe,gIe,436,Aje,(function(){return G9(),q3(lw(H3e,1),A_e,436,0,[V3e,z3e,B3e])}),(function(e){return G9(),fQ((ZY(),$3e),e)}));Kce(635,1,{}),_xe.e=1,_xe.g=0;eB(BAe,"AbstractRadiusExtensionCompaction",635);Kce(1743,635,{},sO),_xe.cg=function(e){var t,n,r,i,o,a,s,l,u;for(this.c=LL(xfe(e,(MO(),R3e)),34),function(e,t){e.f=t}(this,this.c),this.d=Kte(LL(xfe(e,($4(),m5e)),293)),(l=LL(xfe(e,c5e),20))&&Ch(this,l.a),Eh(this,(wB(s=$O(xfe(e,(fxe(),r7e)))),s)),u=Zde(this.c),this.d&&this.d.gg(u),function(e,t){var n,r,i;for(r=new td(t);r.a<r.c.c.length;)if(n=LL(xW(r),34),Yue(e.a,n,n),Yue(e.b,n,n),0!=(i=Zde(n)).c.length)for(e.d&&e.d.gg(i),Yue(e.a,n,(MG(0,i.c.length),LL(i.c[0],34))),Yue(e.b,n,LL(JN(i,i.c.length-1),34));0!=Z3(i).c.length;)i=Z3(i),e.d&&e.d.gg(i),Yue(e.a,n,(MG(0,i.c.length),LL(i.c[0],34))),Yue(e.b,n,LL(JN(i,i.c.length-1),34))}(this,u),a=new Vy(q3(lw(cnt,1),VAe,34,0,[this.c])),n=0;n<2;n++)for(t=0;t<u.c.length;t++)i=new Vy(q3(lw(cnt,1),VAe,34,0,[(MG(t,u.c.length),LL(u.c[t],34))])),o=t<u.c.length-1?(MG(t+1,u.c.length),LL(u.c[t+1],34)):(MG(0,u.c.length),LL(u.c[0],34)),r=0==t?LL(JN(u,u.c.length-1),34):(MG(t-1,u.c.length),LL(u.c[t-1],34)),vae(this,(MG(t,u.c.length),LL(u.c[t],34),a),r,o,i)};eB(BAe,"AnnulusWedgeCompaction",1743);Kce(1345,1,GEe,Da),_xe.nf=function(e,t){UG(LL(e,34))};eB(BAe,"GeneralCompactor",1345);Kce(1742,635,{},Ra),_xe.cg=function(e){var t,n,r,i;n=LL(xfe(e,(MO(),R3e)),34),this.f=n,this.b=Kte(LL(xfe(e,($4(),m5e)),293)),(i=LL(xfe(e,c5e),20))&&Ch(this,i.a),Eh(this,(wB(r=$O(xfe(e,(fxe(),r7e)))),r)),t=Zde(n),this.b&&this.b.gg(t),dle(this,t)},_xe.a=0;eB(BAe,"RadialCompaction",1742);Kce(1750,1,{},La),_xe.dg=function(e){var t,n,r,i,o,a;for(this.a=e,t=0,r=0,o=new td(a=Zde(e));o.a<o.c.c.length;)for(i=LL(xW(o),34),n=++r;n<a.c.length;n++)rbe(this,i,(MG(n,a.c.length),LL(a.c[n],34)))&&(t+=1);return t};eB($Ae,"CrossingMinimizationPosition",1750);Kce(1748,1,{},Na),_xe.dg=function(e){var t,n,i,o,a,s,l,u,c,f,h,d,g;for(i=0,n=new xF(BA(she(e).a.Ic(),new p));Zce(n);)t=LL(dX(n),80),c=(l=Xoe(LL(sJ((!t.c&&(t.c=new nR(nnt,t,5,8)),t.c),0),93))).i+l.g/2,f=l.j+l.f/2,o=e.i+e.g/2,a=e.j+e.f/2,(h=new hx).a=c-o,h.b=f-a,Mie(s=new YE(h.a,h.b),e.g,e.f),h.a-=s.a,h.b-=s.b,o=c-h.a,a=f-h.b,Mie(u=new YE(h.a,h.b),l.g,l.f),h.a-=u.a,h.b-=u.b,d=(c=o+h.a)-o,g=(f=a+h.b)-a,i+=r.Math.sqrt(d*d+g*g);return i};eB($Ae,"EdgeLengthOptimization",1748);Kce(1749,1,{},ja),_xe.dg=function(e){var t,n,i,o,a,s,l,u,c;for(i=0,n=new xF(BA(she(e).a.Ic(),new p));Zce(n);)t=LL(dX(n),80),s=(a=Xoe(LL(sJ((!t.c&&(t.c=new nR(nnt,t,5,8)),t.c),0),93))).i+a.g/2,l=a.j+a.f/2,o=LL(xfe(a,(fxe(),V9e)),8),u=s-(e.i+o.a+e.g/2),c=l-(e.j+o.b+e.f),i+=r.Math.sqrt(u*u+c*c);return i};eB($Ae,"EdgeLengthPositionOptimization",1749);Kce(1344,635,GEe,Fa),_xe.nf=function(e,t){Xre(this,LL(e,34))};var G3e,W3e;eB("org.eclipse.elk.alg.radial.intermediate.overlaps","RadiusExtensionOverlapRemoval",1344);Kce(420,22,{3:1,36:1,22:1,420:1},hE);var U3e,q3e,X3e,Y3e,K3e=f0(GAe,"AnnulusWedgeCriteria",420,Aje,(function(){return KK(),q3(lw(K3e,1),A_e,420,0,[G3e,W3e])}),(function(e){return KK(),fQ((oX(),U3e),e)}));Kce(377,22,{3:1,36:1,22:1,377:1},dE);var Z3e,Q3e,J3e,e5e,t5e,n5e,r5e,i5e,o5e,a5e,s5e,l5e,u5e=f0(GAe,jCe,377,Aje,(function(){return B4(),q3(lw(u5e,1),A_e,377,0,[q3e,X3e,Y3e])}),(function(e){return B4(),fQ((nK(),Z3e),e)}));Kce(831,1,qke,wf),_xe.Qe=function(e){M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,WAe),""),"Order ID"),"The id can be used to define an order for nodes of one radius. This can be used to sort them in the layer accordingly."),k8(0)),(mle(),G6e)),gFe),o9((dte(),N6e))))),M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,UAe),""),"Radius"),"The radius option can be used to set the initial radius for the radial layouter."),0),V6e),fFe),o9(j6e)))),M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,qAe),""),"Compaction"),"With the compacter option it can be determined how compaction on the graph is done. It can be chosen between none, the radial compaction or the compaction of wedges separately."),e5e),$6e),u5e),o9(j6e)))),M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,XAe),""),"Compaction Step Size"),"Determine the size of steps with which the compaction is done. Step size 1 correlates to a compaction of 1 pixel per Iteration."),k8(1)),G6e),gFe),o9(j6e)))),nU(e,XAe,qAe,null),M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,YAe),""),"Sorter"),"Sort the nodes per radius according to the sorting algorithm. The strategies are none, by the given order id, or sorting them by polar coordinates."),a5e),$6e),T5e),o9(j6e)))),M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,KAe),""),"Annulus Wedge Criteria"),"Determine how the wedge for the node placement is calculated. It can be chosen between wedge determination by the number of leaves or by the maximum sum of diagonals."),l5e),$6e),K3e),o9(j6e)))),M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,ZAe),""),"Translation Optimization"),"Find the optimal translation of the nodes of the first radii according to this criteria. For example edge crossings can be minimized."),n5e),$6e),I5e),o9(j6e)))),Iye((new xf,e))};var c5e,f5e,h5e,d5e,p5e,g5e,m5e,b5e,v5e;eB(GAe,"RadialMetaDataProvider",831);Kce(976,1,qke,xf),_xe.Qe=function(e){Iye(e)};eB(GAe,"RadialOptions",976);Kce(977,1,{},za),_xe._e=function(){return new Yx},_xe.af=function(e){};var y5e,w5e,x5e,_5e;eB(GAe,"RadialOptions/RadialFactory",977);Kce(337,22,{3:1,36:1,22:1,337:1},mE);var S5e,k5e,C5e,E5e,I5e=f0(GAe,"RadialTranslationStrategy",337,Aje,(function(){return rre(),q3(lw(I5e,1),A_e,337,0,[_5e,w5e,x5e,y5e])}),(function(e){return rre(),fQ((EZ(),S5e),e)}));Kce(293,22,{3:1,36:1,22:1,293:1},bE);var M5e,T5e=f0(GAe,"SortingStrategy",293,Aje,(function(){return B2(),q3(lw(T5e,1),A_e,293,0,[C5e,E5e,k5e])}),(function(e){return B2(),fQ((tK(),M5e),e)}));Kce(1418,1,sAe,Va),_xe.Vf=function(e){return LL(e,34),null},_xe.nf=function(e,t){ooe(this,LL(e,34))},_xe.c=0;eB("org.eclipse.elk.alg.radial.p1position","EadesRadial",1418);Kce(1746,1,{},$a),_xe.eg=function(e){return $te(e)};eB(JAe,"AnnulusWedgeByLeafs",1746);Kce(1747,1,{},Ha),_xe.eg=function(e){return Noe(this,e)};eB(JAe,"AnnulusWedgeByNodeSpace",1747);Kce(1419,1,sAe,Ga),_xe.Vf=function(e){return LL(e,34),null},_xe.nf=function(e,t){iH(this,LL(e,34))};eB("org.eclipse.elk.alg.radial.p2routing","StraightLineEdgeRouter",1419);Kce(792,1,{},Xv),_xe.fg=function(e){},_xe.gg=function(e){nb(this,e)};eB(ePe,"IDSorter",792);Kce(1745,1,_ke,Wa),_xe.ue=function(e,t){return function(e,t){var n,r;return n=LL(xfe(e,($4(),d5e)),20),r=LL(xfe(t,d5e),20),MT(n.a,r.a)}(LL(e,34),LL(t,34))},_xe.Fb=function(e){return this===e},_xe.ve=function(){return new ad(this)};eB(ePe,"IDSorter/lambda$0$Type",1745);Kce(1744,1,{},T1),_xe.fg=function(e){tU(this,e)},_xe.gg=function(e){e.dc()||(this.e||tU(this,uj(LL(e.Xb(0),34))),nb(this.e,e))};eB(ePe,"PolarCoordinateSorter",1744);Kce(1109,207,PCe,Ba),_xe.$e=function(e,t){var n,i,o,a,s,l,u,c,f,h,d,p,g,m,b,v,y,w,x,_,S,k;if(qoe(t,"Rectangle Packing",1),t.n&&t.n&&e&&SW(t,cU(e),(F4(),Ott)),n=Oy($O(xfe(e,(Xle(),W5e)))),p=LL(xfe(e,t4e),378),b=Ty(VO(xfe(e,J5e))),w=Ty(VO(xfe(e,e4e))),f=Ty(VO(xfe(e,Y5e))),x=LL(xfe(e,n4e),115),y=Oy($O(xfe(e,o4e))),i=Ty(VO(xfe(e,i4e))),h=Ty(VO(xfe(e,K5e))),m=Ty(VO(xfe(e,Z5e))),k=-1,hK(e,a4e)&&(k=Oy($O(xfe(e,a4e)))),!e.a&&(e.a=new FF(cnt,e,10,11)),E1(S=e.a),m){for(d=new $m,l=new SA(S);l.e!=l.i.gc();)hK(a=LL(Hee(l),34),X5e)&&(d.c[d.c.length]=a);for(u=new td(d);u.a<u.c.c.length;)nQ(S,a=LL(xW(u),34));for(v$(),kT(d,new Ua),c=new td(d);c.a<c.c.c.length;)a=LL(xW(c),34),_=LL(xfe(a,X5e),20).a,J6(S,_=r.Math.min(_,S.i),a);for(g=0,s=new SA(S);s.e!=s.i.gc();)Fte(a=LL(Hee(s),34),q5e,k8(g)),++g}(v=Xse(e)).a-=x.b+x.c,v.b-=x.d+x.a,v.a,k<0||k<v.a?(o=function(e,t,n){var r,i,o,a,s,l,u;for(UJ(o=LL(sJ(t,0),34),0),qJ(o,0),(s=new $m).c[s.c.length]=o,a=o,i=new ON(e.a,o.g,o.f,(The(),f4e)),l=1;l<t.i;l++)UJ(u=LL(sJ(t,l),34),(r=Mve(e,Gbe(e,l4e,u,a,i,s,n),Gbe(e,s4e,u,a,i,s,n),Gbe(e,c4e,u,a,i,s,n),Gbe(e,u4e,u,a,i,s,n),u,a)).f),qJ(u,r.g),Th(r,f4e),i=r,a=u,s.c[s.c.length]=u;return i}(new sL(n,p,b),S,y),t.n&&t.n&&e&&SW(t,cU(e),(F4(),Ott))):o=new ON(n,k,0,(The(),f4e)),w||(E1(S),o=Cye(new UU(n,f,h,i,y),S,r.Math.max(v.a,o.e),v,t,e)),function(e,t){var n,r;for(r=new SA(e);r.e!=r.i.gc();)$M(n=LL(Hee(r),34),n.i+t.b,n.j+t.d)}(S,x),ywe(e,o.e+(x.b+x.c),o.d+(x.d+x.a),!1,!0),t.n&&t.n&&e&&SW(t,cU(e),(F4(),Ott)),_se(t)};eB(iPe,"RectPackingLayoutProvider",1109);Kce(1110,1,_ke,Ua),_xe.ue=function(e,t){return function(e,t){var n,r;return(n=LL(xfe(e,(Xle(),X5e)),20).a)==(r=LL(xfe(t,X5e),20).a)||n<r?-1:n>r?1:0}(LL(e,34),LL(t,34))},_xe.Fb=function(e){return this===e},_xe.ve=function(){return new ad(this)};eB(iPe,"RectPackingLayoutProvider/lambda$0$Type",1110);Kce(1230,1,{},sL),_xe.a=0,_xe.c=!1;eB(oPe,"AreaApproximation",1230);var A5e=NN(oPe,"BestCandidateFilter");Kce(628,1,{519:1},qa),_xe.hg=function(e,t){var n,i,o,a,s,l;for(l=new $m,o=RSe,s=new td(e);s.a<s.c.c.length;)a=LL(xW(s),218),o=r.Math.min(o,a.a);for(i=new td(e);i.a<i.c.c.length;)(n=LL(xW(i),218)).a==o&&(l.c[l.c.length]=n);return l};eB(oPe,"AreaFilter",628);Kce(629,1,{519:1},Xa),_xe.hg=function(e,t){var n,i,o,a,s,l;for(s=new $m,l=RSe,a=new td(e);a.a<a.c.c.length;)o=LL(xW(a),218),l=r.Math.min(l,r.Math.abs(o.b-t));for(i=new td(e);i.a<i.c.c.length;)n=LL(xW(i),218),r.Math.abs(n.b-t)==l&&(s.c[s.c.length]=n);return s};eB(oPe,"AspectRatioFilter",629);Kce(627,1,{519:1},Ya),_xe.hg=function(e,t){var n,i,o,a,s,l;for(l=new $m,o=LSe,s=new td(e);s.a<s.c.c.length;)a=LL(xW(s),218),o=r.Math.max(o,a.j);for(i=new td(e);i.a<i.c.c.length;)(n=LL(xW(i),218)).j==o&&(l.c[l.c.length]=n);return l};var P5e,O5e,D5e;eB(oPe,"ScaleMeasureFilter",627);Kce(378,22,{3:1,36:1,22:1,378:1},fE);var R5e,L5e,N5e,j5e,F5e,z5e,B5e,V5e,$5e,H5e,G5e=f0(aPe,"OptimizationGoal",378,Aje,(function(){return W9(),q3(lw(G5e,1),A_e,378,0,[O5e,D5e,P5e])}),(function(e){return W9(),fQ((rK(),R5e),e)}));Kce(835,1,qke,hf),_xe.Qe=function(e){M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,sPe),""),"Optimization Goal"),"Optimization goal for approximation of the bounding box given by the first iteration. Determines whether layout is sorted by the maximum scaling, aspect ratio, or area. Depending on the strategy the aspect ratio might be nearly ignored."),V5e),(mle(),$6e)),G5e),o9((dte(),N6e))))),M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,lPe),""),"Shift Last Placed."),"When placing a rectangle behind or below the last placed rectangle in the first iteration, it is sometimes possible to shift the rectangle further to the left or right, resulting in less whitespace. True (default) enables the shift and false disables it. Disabling the shift produces a greater approximated area by the first iteration and a layout, when using ONLY the first iteration (default not the case), where it is sometimes impossible to implement a size transformation of rectangles that will fill the bounding box and eliminate empty spaces."),(_P(),!0)),B6e),oFe),o9(N6e)))),M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,uPe),""),"Current position of a node in the order of nodes"),"The rectangles are ordered. Normally according to their definition the the model. This option specifies the current position of a node."),k8(-1)),G6e),gFe),o9(N6e)))),M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,cPe),""),"Desired index of node"),"The rectangles are ordered. Normally according to their definition the the model. This option allows to specify a desired position that has preference over the original position."),k8(-1)),G6e),gFe),o9(N6e)))),M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,fPe),""),"Only Area Approximation"),"If enabled only the width approximation step is executed and the nodes are placed accordingly. The nodes are layouted according to the packingStrategy. If set to true not expansion of nodes is taking place."),!1),B6e),oFe),o9(N6e)))),M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,hPe),""),"Compact Rows"),"Enables compaction. Compacts blocks if they do not use the full height of the row. This option allows to have a smaller drawing. If this option is disabled all nodes are placed next to each other in rows."),!0),B6e),oFe),o9(N6e)))),M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,dPe),""),"Fit Aspect Ratio"),"Expands nodes if expandNodes is true to fit the aspect ratio instead of only in their bounds. The option is only useful if the used packingStrategy is ASPECT_RATIO_DRIVEN, otherwise this may result in unreasonable ndoe expansion."),!1),B6e),oFe),o9(N6e)))),nU(e,dPe,gPe,null),M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,pPe),""),"Target Width"),"Option to place the rectangles in the given target width instead of approximating the width using the desired aspect ratio."),-1),V6e),fFe),o9(N6e)))),Pwe((new df,e))};var W5e,U5e,q5e,X5e,Y5e,K5e,Z5e,Q5e,J5e,e4e,t4e,n4e,r4e,i4e,o4e,a4e;eB(aPe,"RectPackingMetaDataProvider",835);Kce(984,1,qke,df),_xe.Qe=function(e){Pwe(e)};eB(aPe,"RectPackingOptions",984);Kce(985,1,{},Ka),_xe._e=function(){return new Ba},_xe.af=function(e){};eB(aPe,"RectPackingOptions/RectpackingFactory",985);Kce(1231,1,{},UU),_xe.a=0,_xe.b=!1,_xe.c=0,_xe.d=0,_xe.e=!1,_xe.f=!1,_xe.g=0;eB("org.eclipse.elk.alg.rectpacking.seconditeration","RowFillingAndCompaction",1231);Kce(181,1,{181:1},b4),_xe.a=0,_xe.c=!1,_xe.d=0,_xe.e=0,_xe.f=0,_xe.g=0,_xe.i=0,_xe.k=!1,_xe.o=RSe,_xe.p=RSe,_xe.r=0,_xe.s=0,_xe.t=0;eB(bPe,"Block",181);Kce(209,1,{209:1},DH),_xe.a=0,_xe.b=0,_xe.d=0,_xe.e=0,_xe.f=0;eB(bPe,"BlockRow",209);Kce(437,1,{437:1},Hj),_xe.b=0,_xe.c=0,_xe.d=0,_xe.e=0;eB(bPe,"BlockStack",437);Kce(218,1,{218:1},ON,Z0),_xe.a=0,_xe.b=0,_xe.c=0,_xe.d=0,_xe.e=0,_xe.f=0,_xe.g=0,_xe.j=0;var s4e,l4e,u4e,c4e,f4e,h4e=eB(bPe,"DrawingData",218);Kce(352,22,{3:1,36:1,22:1,352:1},vE);var d4e,p4e=f0(bPe,"DrawingDataDescriptor",352,Aje,(function(){return The(),q3(lw(p4e,1),A_e,352,0,[l4e,s4e,c4e,u4e,f4e])}),(function(e){return The(),fQ((IQ(),d4e),e)}));Kce(180,1,{180:1},gB),_xe.b=0,_xe.d=0,_xe.e=0;eB(bPe,"RectRow",180);Kce(739,1,{},h6),_xe.j=0;eB(yPe,oIe,739);Kce(1219,1,{},Za),_xe.Je=function(e){return wK(e.a,e.b)};eB(yPe,aIe,1219);Kce(1220,1,{},kg),_xe.Je=function(e){return function(e,t){return r.Math.min(wK(t.a,e.d.d.c),wK(t.b,e.d.d.c))}(this.a,e)};eB(yPe,sIe,1220);Kce(1221,1,{},Cg),_xe.Je=function(e){return function(e,t){var n,r;return n=LL(LL(aB(e.g,t.a),46).a,63),r=LL(LL(aB(e.g,t.b),46).a,63),wK(t.a,t.b)-wK(t.a,LT(n.b))-wK(t.b,LT(r.b))}(this.a,e)};eB(yPe,lIe,1221);Kce(1222,1,{},Eg),_xe.Je=function(e){return function(e,t){return Nme(LL(LL(aB(e.g,t.a),46).a,63),LL(LL(aB(e.g,t.b),46).a,63))}(this.a,e)};eB(yPe,"ElkGraphImporter/lambda$3$Type",1222);Kce(1223,1,{},Ig),_xe.Je=function(e){return ice(this.a,e)};eB(yPe,uIe,1223);Kce(1106,207,PCe,Zx),_xe.$e=function(e,t){var n,r,i,o,a,s,l,u,c,f;for(hK(e,(Hae(),q4e))&&(f=HO(xfe(e,(Tne(),m6e))),(o=tge(C0(),f))&&LL(hH(o.f),207).$e(e,a2(t,1))),Fte(e,$4e,(MY(),C4e)),Fte(e,H4e,(Nse(),P4e)),Fte(e,G4e,(C3(),w6e)),a=LL(xfe(e,(Tne(),h6e)),20).a,qoe(t,"Overlap removal",1),Ty(VO(xfe(e,f6e))),l=new Mg(s=new Pb),n=txe(r=new h6,e),u=!0,i=0;i<a&&u;){if(Ty(VO(xfe(e,d6e)))){if(s.a.$b(),Ale(new $T(l),n.i),0==s.a.gc())break;n.e=s}for(dU(this.b),dz(this.b,(O8(),g4e),(jS(),b6e)),dz(this.b,m4e,n.g),dz(this.b,b4e,(NS(),_4e)),this.a=Vve(this.b,n),c=new td(this.a);c.a<c.c.c.length;)LL(xW(c),52).nf(n,a2(t,1));Pie(r,n),u=Ty(VO(Fae(n,(H2(),LVe)))),++i}xye(r,n),_se(t)};eB(yPe,"OverlapRemovalLayoutProvider",1106);Kce(1107,1,{},Mg);var g4e,m4e,b4e;eB(yPe,"OverlapRemovalLayoutProvider/lambda$0$Type",1107);Kce(430,22,{3:1,36:1,22:1,430:1},yE);var v4e,y4e=f0(yPe,"SPOrEPhases",430,Aje,(function(){return O8(),q3(lw(y4e,1),A_e,430,0,[g4e,m4e,b4e])}),(function(e){return O8(),fQ((QY(),v4e),e)}));Kce(1229,1,{},Qx);eB(yPe,"ShrinkTree",1229);Kce(1108,207,PCe,Yv),_xe.$e=function(e,t){var n,r,i,o;hK(e,(Hae(),q4e))&&(o=HO(xfe(e,q4e)),(i=tge(C0(),o))&&LL(hH(i.f),207).$e(e,a2(t,1))),n=txe(r=new h6,e),function(e,t,n){var r;if(dU(e.b),dz(e.b,(O8(),g4e),(jS(),b6e)),dz(e.b,m4e,t.g),dz(e.b,b4e,t.a),e.a=Vve(e.b,t),qoe(n,"Compaction by shrinking a tree",e.a.c.length),t.i.c.length>1)for(r=new td(e.a);r.a<r.c.c.length;)LL(xW(r),52).nf(t,a2(n,1));_se(n)}(this.a,n,a2(t,1)),xye(r,n)};eB(yPe,"ShrinkTreeLayoutProvider",1108);Kce(300,134,{3:1,300:1,94:1,134:1},RH),_xe.c=!1;var w4e;eB("org.eclipse.elk.alg.spore.graph","Graph",300);Kce(476,22,{3:1,36:1,22:1,476:1,245:1,233:1},zS),_xe.Hf=function(){return U5(this)},_xe.Uf=function(){return U5(this)};var x4e,_4e,S4e=f0(wPe,jCe,476,Aje,(function(){return RS(),q3(lw(S4e,1),A_e,476,0,[w4e])}),(function(e){return RS(),fQ((_U(),x4e),e)}));Kce(546,22,{3:1,36:1,22:1,546:1,245:1,233:1},cO),_xe.Hf=function(){return new es},_xe.Uf=function(){return new es};var k4e,C4e,E4e,I4e=f0(wPe,"OverlapRemovalStrategy",546,Aje,(function(){return NS(),q3(lw(I4e,1),A_e,546,0,[_4e])}),(function(e){return NS(),fQ((xU(),k4e),e)}));Kce(424,22,{3:1,36:1,22:1,424:1},pE);var M4e,T4e,A4e,P4e,O4e,D4e,R4e=f0(wPe,"RootSelection",424,Aje,(function(){return MY(),q3(lw(R4e,1),A_e,424,0,[E4e,C4e])}),(function(e){return MY(),fQ((aX(),M4e),e)}));Kce(313,22,{3:1,36:1,22:1,313:1},gE);var L4e,N4e,j4e,F4e,z4e,B4e,V4e,$4e,H4e,G4e,W4e,U4e,q4e,X4e=f0(wPe,"SpanningTreeCostFunction",313,Aje,(function(){return Nse(),q3(lw(X4e,1),A_e,313,0,[T4e,A4e,D4e,P4e,O4e])}),(function(e){return Nse(),fQ((PQ(),L4e),e)}));Kce(982,1,qke,_f),_xe.Qe=function(e){ove(e)};eB(wPe,"SporeCompactionOptions",982);Kce(983,1,{},Qa),_xe._e=function(){return new Yv},_xe.af=function(e){};var Y4e,K4e,Z4e,Q4e,J4e,e6e,t6e,n6e,r6e,i6e,o6e,a6e,s6e,l6e,u6e,c6e;eB(wPe,"SporeCompactionOptions/SporeCompactionFactory",983);Kce(834,1,qke,Sf),_xe.Qe=function(e){M9(e,new ule(ix(rx(ox(Jw(nx(ex(tx(new Ns,_Pe),""),"Underlying Layout Algorithm"),"A layout algorithm that is applied to the graph before it is compacted. If this is null, nothing is applied before compaction."),(mle(),U6e)),CFe),o9((dte(),j6e))))),M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,IPe),"structure"),"Structure Extraction Strategy"),"This option defines what kind of triangulation or other partitioning of the plane is applied to the vertices."),u6e),$6e),x6e),o9(j6e)))),M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,SPe),OPe),"Tree Construction Strategy"),"Whether a minimum spanning tree or a maximum spanning tree should be constructed."),s6e),$6e),S6e),o9(j6e)))),M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,kPe),OPe),"Cost Function for Spanning Tree"),"The cost function is used in the creation of the spanning tree."),o6e),$6e),X4e),o9(j6e)))),M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,CPe),OPe),"Root node for spanning tree construction"),"The identifier of the node that is preferred as the root of the spanning tree. If this is null, the first node is chosen."),null),U6e),CFe),o9(j6e)))),nU(e,CPe,EPe,t6e),M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,EPe),OPe),"Root selection for spanning tree"),"This sets the method used to select a root node for the construction of a spanning tree"),r6e),$6e),R4e),o9(j6e)))),M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,MPe),oTe),"Compaction Strategy"),"This option defines how the compaction is applied."),K4e),$6e),S4e),o9(j6e)))),M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,TPe),oTe),"Orthogonal Compaction"),"Restricts the translation of nodes to orthogonal directions in the compaction phase."),(_P(),!1)),B6e),oFe),o9(j6e)))),M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,APe),DPe),"Upper limit for iterations of overlap removal"),null),k8(64)),G6e),gFe),o9(j6e)))),M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,PPe),DPe),"Whether to run a supplementary scanline overlap check."),null),!0),B6e),oFe),o9(j6e)))),Cge((new kf,e)),ove((new _f,e))};var f6e,h6e,d6e,p6e,g6e,m6e;eB(wPe,"SporeMetaDataProvider",834);Kce(980,1,qke,kf),_xe.Qe=function(e){Cge(e)};eB(wPe,"SporeOverlapRemovalOptions",980);Kce(981,1,{},os),_xe._e=function(){return new Zx},_xe.af=function(e){};var b6e;eB(wPe,"SporeOverlapRemovalOptions/SporeOverlapFactory",981);Kce(523,22,{3:1,36:1,22:1,523:1,245:1,233:1},qB),_xe.Hf=function(){return q5(this)},_xe.Uf=function(){return q5(this)};var v6e,y6e,w6e,x6e=f0(wPe,"StructureExtractionStrategy",523,Aje,(function(){return jS(),q3(lw(x6e,1),A_e,523,0,[b6e])}),(function(e){return jS(),fQ((SU(),v6e),e)}));Kce(423,22,{3:1,36:1,22:1,423:1,245:1,233:1},wE),_xe.Hf=function(){return Q9(this)},_xe.Uf=function(){return Q9(this)};var _6e,S6e=f0(wPe,"TreeConstructionStrategy",423,Aje,(function(){return C3(),q3(lw(S6e,1),A_e,423,0,[w6e,y6e])}),(function(e){return C3(),fQ((iX(),_6e),e)}));Kce(1412,1,sAe,is),_xe.Vf=function(e){return LL(e,300),new wU},_xe.nf=function(e,t){!function(e,t){var n;qoe(t,"Delaunay triangulation",1),n=new $m,uJ(e.i,new Tg(n)),Ty(VO(Fae(e,(H2(),RVe)))),e.e?G1(e.e,Uwe(n)):e.e=Uwe(n),_se(t)}(LL(e,300),t)};eB(LPe,"DelaunayTriangulationPhase",1412);Kce(1413,1,c_e,Tg),_xe.td=function(e){RL(this.a,LL(e,63).a)};eB(LPe,"DelaunayTriangulationPhase/lambda$0$Type",1413);Kce(765,1,sAe,Uv),_xe.Vf=function(e){return LL(e,300),new wU},_xe.nf=function(e,t){this.ig(LL(e,300),t)},_xe.ig=function(e,t){var n;qoe(t,"Minimum spanning tree construction",1),n=e.d?e.d.a:LL(JN(e.i,0),63).a,e5(this,Ty(VO(Fae(e,(H2(),RVe))))?Cve(e.e,n,e.b):Cve(e.e,n,e.b),e),_se(t)};eB(NPe,"MinSTPhase",765);Kce(1415,765,sAe,mv),_xe.ig=function(e,t){var n,r;qoe(t,"Maximum spanning tree construction",1),n=new Ag(e),r=e.d?e.d.c:LL(JN(e.i,0),63).c,e5(this,Ty(VO(Fae(e,(H2(),RVe))))?Cve(e.e,r,n):Cve(e.e,r,n),e),_se(t)};eB(NPe,"MaxSTPhase",1415);Kce(1416,1,{},Ag),_xe.Je=function(e){return function(e,t){return-e.b.Je(t)}(this.a,e)};eB(NPe,"MaxSTPhase/lambda$0$Type",1416);Kce(1414,1,c_e,Pg),_xe.td=function(e){!function(e,t){eV(e.a,t.a,t)}(this.a,LL(e,63))};eB(NPe,"MinSTPhase/lambda$0$Type",1414);Kce(767,1,sAe,es),_xe.Vf=function(e){return LL(e,300),new wU},_xe.nf=function(e,t){mae(this,LL(e,300),t)},_xe.a=!1;eB(jPe,"GrowTreePhase",767);Kce(768,1,c_e,lL),_xe.td=function(e){!function(e,t,n,r){LL(n.b,63),LL(n.b,63),LL(r.b,63),LL(r.b,63),LL(r.b,63),uJ(r.a,new lL(e,t,r))}(this.a,this.b,this.c,LL(e,219))};eB(jPe,"GrowTreePhase/lambda$0$Type",768);Kce(1417,1,sAe,ts),_xe.Vf=function(e){return LL(e,300),new wU},_xe.nf=function(e,t){Hne(this,LL(e,300),t)};eB(jPe,"ShrinkTreeCompactionPhase",1417);Kce(766,1,c_e,uL),_xe.td=function(e){!function(e,t,n,r){var i;LL(n.b,63),LL(n.b,63),LL(r.b,63),LL(r.b,63),GL(i=VD(RT(LL(n.b,63).c),LL(r.b,63).c),vue(LL(n.b,63),LL(r.b,63),i)),LL(r.b,63),LL(r.b,63),LL(r.b,63).c.a,i.a,LL(r.b,63).c.b,i.b,LL(r.b,63),uJ(r.a,new uL(e,t,r))}(this.a,this.b,this.c,LL(e,219))};eB(jPe,"ShrinkTreeCompactionPhase/lambda$0$Type",766);var k6e,C6e,E6e=NN(iAe,"IGraphElementVisitor");Kce(839,1,{520:1},kW),_xe.jg=function(e){var t;t=function(e,t){var n;return n=new Ke,t&&c3(n,LL(aB(e.a,ent),94)),BT(t,464)&&c3(n,LL(aB(e.a,tnt),94)),BT(t,351)?(c3(n,LL(aB(e.a,unt),94)),n):(BT(t,93)&&c3(n,LL(aB(e.a,nnt),94)),BT(t,238)?(c3(n,LL(aB(e.a,cnt),94)),n):BT(t,199)?(c3(n,LL(aB(e.a,fnt),94)),n):(BT(t,349)&&c3(n,LL(aB(e.a,rnt),94)),n))}(this,e),c3(t,LL(aB(this.b,e),94)),function(e,t,n){var r,i;if(0==e.c.c.length)t.Ve(n);else for(i=(n.q?n.q:(v$(),v$(),YFe)).tc().Ic();i.Ob();)r=LL(i.Pb(),43),!zx(_V(new cj(null,new ZG(e.c,16)),new gd(new qE(t,r)))).sd((xS(),Fze))&&t.Ze(LL(r.ad(),146),r.bd())}(this,e,t)};eB(OCe,"LayoutConfigurator",839);var I6e=NN(OCe,"LayoutConfigurator/IPropertyHolderOptionFilter");Kce(910,1,{810:1},ns),_xe.lg=function(e,t){return f5(),!e.Ye(t)};eB(OCe,"LayoutConfigurator/lambda$0$Type",910);Kce(911,1,{1905:1},Ja),_xe.kg=function(e,t){return f5(),!e.Ye(t)};eB(OCe,"LayoutConfigurator/lambda$1$Type",911);Kce(912,1,{1905:1},rs),_xe.kg=function(e,t){return i_(e,t)};eB(OCe,"LayoutConfigurator/lambda$2$Type",912);Kce(913,1,L_e,qE),_xe.Mb=function(e){return function(e,t,n){return f5(),n.kg(e,LL(t.ad(),146))}(this.a,this.b,LL(e,1905))};eB(OCe,"LayoutConfigurator/lambda$3$Type",913);Kce(837,1,{},as);eB(OCe,"RecursiveGraphLayoutEngine",837);Kce(296,59,B_e,Cb,qy);eB(OCe,"UnsupportedConfigurationException",296);Kce(497,59,B_e,Xy);eB(OCe,"UnsupportedGraphException",497);Kce(737,1,{});eB(iAe,"AbstractRandomListAccessor",737);Kce(491,737,{},Fhe),_xe.mg=function(){return null},_xe.d=!0,_xe.e=!0,_xe.f=0;eB(zPe,"AlgorithmAssembler",491);Kce(1209,1,L_e,ss),_xe.Mb=function(e){return!!LL(e,126)};eB(zPe,"AlgorithmAssembler/lambda$0$Type",1209);Kce(1210,1,{},Og),_xe.Kb=function(e){return function(e,t){return t.Vf(e)}(this.a,LL(e,126))};eB(zPe,"AlgorithmAssembler/lambda$1$Type",1210);Kce(1211,1,L_e,ls),_xe.Mb=function(e){return!!LL(e,85)};eB(zPe,"AlgorithmAssembler/lambda$2$Type",1211);Kce(1212,1,c_e,Dg),_xe.td=function(e){P2(this.a,LL(e,85))};eB(zPe,"AlgorithmAssembler/lambda$3$Type",1212);Kce(1213,1,c_e,XE),_xe.td=function(e){!function(e,t,n){RL(t,J9(e,n))}(this.a,this.b,LL(e,233))};eB(zPe,"AlgorithmAssembler/lambda$4$Type",1213);Kce(1326,1,_ke,us),_xe.ue=function(e,t){return function(e,t){return g4(e),g4(t),Ry(LL(e,22),LL(t,22))}(LL(e,233),LL(t,233))},_xe.Fb=function(e){return this===e},_xe.ve=function(){return new ad(this)};eB(zPe,"EnumBasedFactoryComparator",1326);Kce(85,737,{85:1},wU),_xe.mg=function(){return new Pb},_xe.a=0;var M6e,T6e,A6e;eB(zPe,"LayoutProcessorConfiguration",85);Kce(993,1,{520:1},Cf),_xe.jg=function(e){S2(T6e,new Rg(e))};eB($ke,"DeprecatedLayoutOptionReplacer",993);Kce(994,1,c_e,cs),_xe.td=function(e){!function(e){YK(),LL(e.Xe((fxe(),N9e)),174).Dc((iae(),Iet)),e.Ze(L9e,null)}(LL(e,160))};eB($ke,"DeprecatedLayoutOptionReplacer/lambda$0$Type",994);Kce(995,1,c_e,fs),_xe.td=function(e){!function(e){YK(),LL(e.Xe((fxe(),g9e)),174).Fc((Vge(),ytt))&&(LL(e.Xe(N9e),174).Dc((iae(),Tet)),LL(e.Xe(g9e),174).Kc(ytt))}(LL(e,160))};eB($ke,"DeprecatedLayoutOptionReplacer/lambda$1$Type",995);Kce(996,1,{},Rg),_xe.Od=function(e,t){!function(e,t,n){YK(),e.Ye(t)&&n.td(e)}(this.a,LL(e,146),LL(t,37))};eB($ke,"DeprecatedLayoutOptionReplacer/lambda$2$Type",996);Kce(149,1,{673:1,149:1},rae),_xe.Fb=function(e){return zX(this,e)},_xe.ng=function(){return this.b},_xe.og=function(){return this.c},_xe.ne=function(){return this.e},_xe.Hb=function(){return ane(this.c)},_xe.Ib=function(){return"Layout Algorithm: "+this.c};var P6e=eB($ke,"LayoutAlgorithmData",149);Kce(262,1,{},hs);eB($ke,"LayoutAlgorithmData/Builder",262);Kce(997,1,{520:1},ds),_xe.jg=function(e){BT(e,238)&&!Ty(VO(e.Xe((fxe(),b9e))))&&function(e){var t,n;if(!R2(t=HO(xfe(e,(fxe(),M8e))),e)&&!hK(e,G9e)&&(0!=(!e.a&&(e.a=new FF(cnt,e,10,11)),e.a).i||Ty(VO(xfe(e,Q8e))))){if(null!=t&&0!=Yae(t).length)throw zye(e,n=UI(UI(new YA("Layout algorithm '"),t),"' not found for ")),Jm(new qy(n.a));if(!R2(rIe,e))throw zye(e,n=UI(UI(new YA("Unable to load default layout algorithm "),rIe)," for unconfigured node ")),Jm(new qy(n.a))}}(LL(e,34))};eB($ke,"LayoutAlgorithmResolver",997);Kce(227,1,{673:1,227:1},FG),_xe.Fb=function(e){return!!BT(e,227)&&fR(this.b,LL(e,227).b)},_xe.ng=function(){return this.a},_xe.og=function(){return this.b},_xe.ne=function(){return this.d},_xe.Hb=function(){return ane(this.b)},_xe.Ib=function(){return"Layout Type: "+this.b};eB($ke,"LayoutCategoryData",227);Kce(340,1,{},ps);var O6e;eB($ke,"LayoutCategoryData/Builder",340);Kce(846,1,{},Gpe);eB($ke,"LayoutMetaDataService",846);Kce(847,1,{},bB);eB($ke,"LayoutMetaDataService/Registry",847);Kce(472,1,{472:1},gs);eB($ke,"LayoutMetaDataService/Registry/Triple",472);Kce(848,1,BPe,ms),_xe.pg=function(){return new hx};eB($ke,"LayoutMetaDataService/lambda$0$Type",848);Kce(849,1,VPe,bs),_xe.qg=function(e){return RT(LL(e,8))};eB($ke,"LayoutMetaDataService/lambda$1$Type",849);Kce(858,1,BPe,vs),_xe.pg=function(){return new $m};eB($ke,"LayoutMetaDataService/lambda$10$Type",858);Kce(859,1,VPe,ys),_xe.qg=function(e){return new jR(LL(e,12))};eB($ke,"LayoutMetaDataService/lambda$11$Type",859);Kce(860,1,BPe,ws),_xe.pg=function(){return new sS};eB($ke,"LayoutMetaDataService/lambda$12$Type",860);Kce(861,1,VPe,xs),_xe.qg=function(e){return jL(LL(e,68))};eB($ke,"LayoutMetaDataService/lambda$13$Type",861);Kce(862,1,BPe,_s),_xe.pg=function(){return new Pb};eB($ke,"LayoutMetaDataService/lambda$14$Type",862);Kce(863,1,VPe,Ss),_xe.qg=function(e){return E$(LL(e,70))};eB($ke,"LayoutMetaDataService/lambda$15$Type",863);Kce(864,1,BPe,ks),_xe.pg=function(){return new qM};eB($ke,"LayoutMetaDataService/lambda$16$Type",864);Kce(865,1,VPe,Cs),_xe.qg=function(e){return Aq(LL(e,70))};eB($ke,"LayoutMetaDataService/lambda$17$Type",865);Kce(866,1,BPe,Es),_xe.pg=function(){return new zb};eB($ke,"LayoutMetaDataService/lambda$18$Type",866);Kce(867,1,VPe,Is),_xe.qg=function(e){return FL(LL(e,206))};eB($ke,"LayoutMetaDataService/lambda$19$Type",867);Kce(850,1,BPe,Ms),_xe.pg=function(){return new bv};eB($ke,"LayoutMetaDataService/lambda$2$Type",850);Kce(851,1,VPe,Ts),_xe.qg=function(e){return new lx(LL(e,74))};eB($ke,"LayoutMetaDataService/lambda$3$Type",851);Kce(852,1,BPe,As),_xe.pg=function(){return new av};eB($ke,"LayoutMetaDataService/lambda$4$Type",852);Kce(853,1,VPe,Ps),_xe.qg=function(e){return new tL(LL(e,141))};eB($ke,"LayoutMetaDataService/lambda$5$Type",853);Kce(854,1,BPe,Os),_xe.pg=function(){return new sv};eB($ke,"LayoutMetaDataService/lambda$6$Type",854);Kce(855,1,VPe,Ds),_xe.qg=function(e){return new nL(LL(e,115))};eB($ke,"LayoutMetaDataService/lambda$7$Type",855);Kce(856,1,BPe,Rs),_xe.pg=function(){return new Xs};eB($ke,"LayoutMetaDataService/lambda$8$Type",856);Kce(857,1,VPe,Ls),_xe.qg=function(e){return new KZ(LL(e,370))};eB($ke,"LayoutMetaDataService/lambda$9$Type",857);var D6e=NN(ECe,"IProperty");Kce(23,1,{36:1,673:1,23:1,146:1},ule),_xe.wd=function(e){return function(e,t){return ZX(e.f,t.og())}(this,LL(e,146))},_xe.Fb=function(e){return BT(e,23)?fR(this.f,LL(e,23).f):BT(e,146)&&fR(this.f,LL(e,146).og())},_xe.rg=function(){var e;if(BT(this.b,4)){if(null==(e=fee(this.b)))throw Jm(new jy(UPe+this.f+"'. "+$Pe+(FO(Lnt),Lnt.k)+HPe));return e}return this.b},_xe.ng=function(){return this.d},_xe.og=function(){return this.f},_xe.ne=function(){return this.i},_xe.Hb=function(){return ane(this.f)},_xe.Ib=function(){return"Layout Option: "+this.f};eB($ke,"LayoutOptionData",23);Kce(25,1,{},Ns);var R6e,L6e,N6e,j6e,F6e;eB($ke,"LayoutOptionData/Builder",25);Kce(175,22,{3:1,36:1,22:1,175:1},xE);var z6e,B6e,V6e,$6e,H6e,G6e,W6e,U6e,q6e,X6e=f0($ke,"LayoutOptionData/Target",175,Aje,(function(){return dte(),q3(lw(X6e,1),A_e,175,0,[j6e,N6e,R6e,F6e,L6e])}),(function(e){return dte(),fQ((AQ(),z6e),e)}));Kce(275,22,{3:1,36:1,22:1,275:1},_E);var Y6e,K6e,Z6e,Q6e=f0($ke,"LayoutOptionData/Type",275,Aje,(function(){return mle(),q3(lw(Q6e,1),A_e,275,0,[q6e,B6e,G6e,U6e,V6e,$6e,H6e,W6e])}),(function(e){return mle(),fQ((q2(),Y6e),e)}));Kce(109,1,{109:1},YM,jV,G$),_xe.Fb=function(e){var t;return!(null==e||!BT(e,109))&&(t=LL(e,109),cV(this.c,t.c)&&cV(this.d,t.d)&&cV(this.b,t.b)&&cV(this.a,t.a))},_xe.Hb=function(){return J4(q3(lw(pje,1),zxe,1,5,[this.c,this.d,this.b,this.a]))},_xe.Ib=function(){return"Rect[x="+this.c+",y="+this.d+",w="+this.b+",h="+this.a+"]"},_xe.a=0,_xe.b=0,_xe.c=0,_xe.d=0;eB(eIe,"ElkRectangle",109);Kce(8,1,{3:1,4:1,8:1,409:1},hx,zG,YE,lT),_xe.Fb=function(e){return o1(this,e)},_xe.Hb=function(){return wM(this.a)+(e=wM(this.b),T0(),(t=pFe)[e>>>28]|t[e>>24&15]<<4|t[e>>20&15]<<8|t[e>>16&15]<<12|t[e>>12&15]<<16|t[e>>8&15]<<20|t[e>>4&15]<<24|t[15&e]<<28);var e,t},_xe.Gf=function(e){var t,n,r;for(n=0;n<e.length&&S6((TG(n,e.length),e.charCodeAt(n)),ZEe);)++n;for(t=e.length;t>0&&S6((TG(t-1,e.length),e.charCodeAt(t-1)),QEe);)--t;if(n>=t)throw Jm(new Ny("The given string does not contain any numbers."));if(2!=(r=wge(e.substr(n,t-n),",|;|\r|\n")).length)throw Jm(new Ny("Exactly two numbers are expected, "+r.length+" were found."));try{this.a=pse(Yae(r[0])),this.b=pse(Yae(r[1]))}catch(e){throw BT(e=v3(e),127)?Jm(new Ny(JEe+e)):Jm(e)}},_xe.Ib=function(){return"("+this.a+","+this.b+")"},_xe.a=0,_xe.b=0;var J6e=eB(eIe,"KVector",8);Kce(74,68,{3:1,4:1,19:1,28:1,51:1,15:1,68:1,14:1,74:1,409:1},bv,lx,uO),_xe.Nc=function(){return function(e){var t,n,r;for(t=0,r=fK(J6e,s_e,8,e.b,0,1),n=cte(e,0);n.b!=n.d.c;)r[t++]=LL(BU(n),8);return r}(this)},_xe.Gf=function(e){var t,n,r,i,o;n=wge(e,",|;|\\(|\\)|\\[|\\]|\\{|\\}| |\t|\n"),s$(this);try{for(t=0,i=0,r=0,o=0;t<n.length;)null!=n[t]&&Yae(n[t]).length>0&&(i%2==0?r=pse(n[t]):o=pse(n[t]),i>0&&i%2!=0&&bN(this,new YE(r,o)),++i),++t}catch(e){throw BT(e=v3(e),127)?Jm(new Ny("The given string does not match the expected format for vectors."+e)):Jm(e)}},_xe.Ib=function(){var e,t,n;for(e=new YA("("),t=cte(this,0);t.b!=t.d.c;)UI(e,(n=LL(BU(t),8)).a+","+n.b),t.b!=t.d.c&&(e.a+="; ");return(e.a+=")",e).a};var e8e,t8e,n8e,r8e,i8e,o8e,a8e=eB(eIe,"KVectorChain",74);Kce(247,22,{3:1,36:1,22:1,247:1},SE);var s8e,l8e,u8e,c8e,f8e,h8e,d8e,p8e,g8e,m8e,b8e,v8e,y8e,w8e=f0(XPe,"Alignment",247,Aje,(function(){return ine(),q3(lw(w8e,1),A_e,247,0,[e8e,r8e,i8e,o8e,t8e,n8e])}),(function(e){return ine(),fQ((jJ(),s8e),e)}));Kce(943,1,qke,vf),_xe.Qe=function(e){hme(e)};eB(XPe,"BoxLayouterOptions",943);Kce(944,1,{},js),_xe._e=function(){return new Bs},_xe.af=function(e){};var x8e,_8e,S8e,k8e,C8e,E8e;eB(XPe,"BoxLayouterOptions/BoxFactory",944);Kce(290,22,{3:1,36:1,22:1,290:1},kE);var I8e,M8e,T8e,A8e,P8e,O8e,D8e,R8e,L8e,N8e,j8e,F8e,z8e,B8e,V8e,$8e,H8e,G8e,W8e,U8e,q8e,X8e,Y8e,K8e,Z8e,Q8e,J8e,e9e,t9e,n9e,r9e,i9e,o9e,a9e,s9e,l9e,u9e,c9e,f9e,h9e,d9e,p9e,g9e,m9e,b9e,v9e,y9e,w9e,x9e,_9e,S9e,k9e,C9e,E9e,I9e,M9e,T9e,A9e,P9e,O9e,D9e,R9e,L9e,N9e,j9e,F9e,z9e,B9e,V9e,$9e,H9e,G9e,W9e,U9e,q9e,X9e,Y9e,K9e,Z9e,Q9e,J9e,e7e,t7e,n7e,r7e,i7e,o7e,a7e,s7e,l7e=f0(XPe,"ContentAlignment",290,Aje,(function(){return goe(),q3(lw(l7e,1),A_e,290,0,[E8e,C8e,k8e,_8e,x8e,S8e])}),(function(e){return goe(),fQ((FJ(),I8e),e)}));Kce(671,1,qke,Ef),_xe.Qe=function(e){M9(e,new ule(ix(rx(ox(Jw(nx(ex(tx(new Ns,QPe),""),"Layout Algorithm"),"Select a specific layout algorithm."),(mle(),U6e)),CFe),o9((dte(),j6e))))),M9(e,new ule(ix(rx(ox(Jw(nx(ex(tx(new Ns,JPe),""),"Resolved Layout Algorithm"),"Meta data associated with the selected algorithm."),W6e),P6e),o9(j6e)))),M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,MTe),""),"Alignment"),"Alignment of the selected node relative to other nodes; the exact meaning depends on the used algorithm."),A8e),$6e),w8e),o9(N6e)))),M9(e,new ule(ix(rx(ox(Jw(nx(ex(tx(new Ns,UCe),""),"Aspect Ratio"),"The desired aspect ratio of the drawing, that is the quotient of width by height."),V6e),fFe),o9(j6e)))),M9(e,new ule(ix(rx(ox(Jw(nx(ex(tx(new Ns,eOe),""),"Bend Points"),"A fixed list of bend points for the edge. This is used by the 'Fixed Layout' algorithm to specify a pre-defined routing for an edge. The vector chain must include the source point, any bend points, and the target point, so it must have at least two points."),W6e),a8e),o9(R6e)))),M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,GTe),""),"Content Alignment"),"Specifies how the content of compound nodes is to be aligned, e.g. top-left."),j8e),H6e),l7e),o9(j6e)))),M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,ITe),""),"Debug Mode"),"Whether additional debug information shall be generated."),(_P(),!1)),B6e),oFe),o9(j6e)))),M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,DTe),""),xCe),"Overall direction of edges: horizontal (right / left) or vertical (down / up)."),B8e),$6e),v7e),o9(j6e)))),M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,nTe),""),"Edge Routing"),"What kind of edge routing style should be applied for the content of a parent node. Algorithms may also set this option to single edges in order to mark them as splines. The bend point list of edges with this option set to SPLINES must be interpreted as control points for a piecewise cubic spline."),W8e),$6e),O7e),o9(j6e)))),M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,gPe),""),"Expand Nodes"),"If active, nodes are expanded to fill the area of their parent."),!1),B6e),oFe),o9(j6e)))),M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,ZMe),""),"Hierarchy Handling"),"Determines whether separate layout runs are triggered for different compound nodes in a hierarchical graph. Setting a node's hierarchy handling to `INCLUDE_CHILDREN` will lay out that node and all of its descendants in a single layout run, until a descendant is encountered which has its hierarchy handling set to `SEPARATE_CHILDREN`. In general, `SEPARATE_CHILDREN` will ensure that a new layout run is triggered for a node with that setting. Including multiple levels of hierarchy in a single layout run may allow cross-hierarchical edges to be laid out properly. If the root node is set to `INHERIT` (or not set at all), the default behavior is `SEPARATE_CHILDREN`."),K8e),$6e),K7e),Oj(j6e,q3(lw(X6e,1),A_e,175,0,[N6e]))))),M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,qCe),""),"Padding"),"The padding to be left to a parent element's border when placing child elements. This can also serve as an output option of a layout algorithm if node size calculation is setup appropriately."),y9e),W6e),JHe),Oj(j6e,q3(lw(X6e,1),A_e,175,0,[N6e]))))),M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,yEe),""),"Interactive"),"Whether the algorithm should be run in interactive mode for the content of a parent node. What this means exactly depends on how the specific algorithm interprets this option. Usually in the interactive mode algorithms try to modify the current layout as little as possible."),!1),B6e),oFe),o9(j6e)))),M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,rAe),""),"interactive Layout"),"Whether the graph should be changeable interactively and by setting constraints"),!1),B6e),oFe),o9(j6e)))),M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,wEe),""),"Port Constraints"),"Defines constraints of the position of the ports of a node."),D9e),$6e),Aet),o9(N6e)))),M9(e,new ule(ix(rx(ox(Jw(nx(ex(tx(new Ns,eAe),""),"Position"),"The position of a node, port, or label. This is used by the 'Fixed Layout' algorithm to specify a pre-defined position."),W6e),J6e),Oj(N6e,q3(lw(X6e,1),A_e,175,0,[F6e,L6e]))))),M9(e,new ule(ix(rx(ox(Jw(nx(ex(tx(new Ns,pEe),""),"Priority"),"Defines the priority of an object; its meaning depends on the specific layout algorithm and the context where it is used."),G6e),gFe),Oj(N6e,q3(lw(X6e,1),A_e,175,0,[R6e]))))),M9(e,new ule(ix(rx(ox(Jw(nx(ex(tx(new Ns,bEe),""),"Randomization Seed"),"Seed used for pseudo-random number generators to control the layout algorithm. If the value is 0, the seed shall be determined pseudo-randomly (e.g. from the system time)."),G6e),gFe),o9(j6e)))),M9(e,new ule(ix(rx(ox(Jw(nx(ex(tx(new Ns,vEe),""),"Separate Connected Components"),"Whether each connected component should be processed separately."),B6e),oFe),o9(j6e)))),M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,UTe),""),"Junction Points"),"This option is not used as option, but as output of the layout algorithms. It is attached to edges and determines the points where junction symbols should be drawn in order to represent hyperedges with orthogonal routing. Whether such points are computed depends on the chosen layout algorithm and edge routing style. The points are put into the vector chain with no specific order."),r9e),W6e),a8e),o9(R6e)))),M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,YTe),""),"Comment Box"),"Whether the node should be regarded as a comment box instead of a regular node. In that case its placement should be similar to how labels are handled. Any edges incident to a comment box specify to which graph elements the comment is related."),!1),B6e),oFe),o9(N6e)))),M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,KTe),""),"Hypernode"),"Whether the node should be handled as a hypernode."),!1),B6e),oFe),o9(N6e)))),M9(e,new ule(ix(rx(ox(Jw(nx(ex(tx(new Ns,tOe),""),"Label Manager"),"Label managers can shorten labels upon a layout algorithm's request."),W6e),uat),Oj(j6e,q3(lw(X6e,1),A_e,175,0,[L6e]))))),M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,tAe),""),"Margins"),"Margins define additional space around the actual bounds of a graph element. For instance, ports or labels being placed on the outside of a node's border might introduce such a margin. The margin is used to guarantee non-overlap of other graph elements with those ports or labels."),o9e),W6e),HHe),o9(N6e)))),M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,CTe),""),"No Layout"),"No layout is done for the associated element. This is used to mark parts of a diagram to avoid their inclusion in the layout graph, or to mark parts of the layout graph to prevent layout engines from processing them. If you wish to exclude the contents of a compound node from automatic layout, while the node itself is still considered on its own layer, use the 'Fixed Layout' algorithm for that node."),!1),B6e),oFe),Oj(N6e,q3(lw(X6e,1),A_e,175,0,[R6e,F6e,L6e]))))),M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,nOe),""),"Scale Factor"),"The scaling factor to be applied to the corresponding node in recursive layout. It causes the corresponding node's size to be adjusted, and its ports and labels to be sized and placed accordingly after the layout of that node has been determined (and before the node itself and its siblings are arranged). The scaling is not reverted afterwards, so the resulting layout graph contains the adjusted size and position data. This option is currently not supported if 'Layout Hierarchy' is set."),1),V6e),fFe),o9(N6e)))),M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,rOe),""),"Animate"),"Whether the shift from the old layout to the new computed layout shall be animated."),!0),B6e),oFe),o9(j6e)))),M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,iOe),""),"Animation Time Factor"),"Factor for computation of animation time. The higher the value, the longer the animation time. If the value is 0, the resulting time is always equal to the minimum defined by 'Minimal Animation Time'."),k8(100)),G6e),gFe),o9(j6e)))),M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,oOe),""),"Layout Ancestors"),"Whether the hierarchy levels on the path from the selected element to the root of the diagram shall be included in the layout process."),!1),B6e),oFe),o9(j6e)))),M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,aOe),""),"Maximal Animation Time"),"The maximal time for animations, in milliseconds."),k8(4e3)),G6e),gFe),o9(j6e)))),M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,sOe),""),"Minimal Animation Time"),"The minimal time for animations, in milliseconds."),k8(400)),G6e),gFe),o9(j6e)))),M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,lOe),""),"Progress Bar"),"Whether a progress bar shall be displayed during layout computations."),!1),B6e),oFe),o9(j6e)))),M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,uOe),""),"Validate Graph"),"Whether the graph shall be validated before any layout algorithm is applied. If this option is enabled and at least one error is found, the layout process is aborted and a message is shown to the user."),!1),B6e),oFe),o9(j6e)))),M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,cOe),""),"Validate Options"),"Whether layout options shall be validated before any layout algorithm is applied. If this option is enabled and at least one error is found, the layout process is aborted and a message is shown to the user."),!0),B6e),oFe),o9(j6e)))),M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,fOe),""),"Zoom to Fit"),"Whether the zoom level shall be set to view the whole diagram after layout."),!1),B6e),oFe),o9(j6e)))),M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,ZPe),"box"),"Box Layout Mode"),"Configures the packing mode used by the {@link BoxLayoutProvider}. If SIMPLE is not required (neither priorities are used nor the interactive mode), GROUP_DEC can improve the packing and decrease the area. GROUP_MIXED and GROUP_INC may, in very specific scenarios, work better."),R8e),$6e),Ttt),o9(j6e)))),M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,pTe),rTe),"Comment Comment Spacing"),"Spacing to be preserved between a comment box and other comment boxes connected to the same node. The space left between comment boxes of different nodes is controlled by the node-node spacing."),10),V6e),fFe),o9(j6e)))),M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,gTe),rTe),"Comment Node Spacing"),"Spacing to be preserved between a node and its connected comment boxes. The space left between a node and the comments of another node is controlled by the node-node spacing."),10),V6e),fFe),o9(j6e)))),M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,GCe),rTe),"Components Spacing"),"Spacing to be preserved between pairs of connected components. This option is only relevant if 'separateConnectedComponents' is activated."),20),V6e),fFe),o9(j6e)))),M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,mTe),rTe),"Edge Spacing"),"Spacing to be preserved between any two edges. Note that while this can somewhat easily be satisfied for the segments of orthogonally drawn edges, it is harder for general polylines or splines."),10),V6e),fFe),o9(j6e)))),M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,mEe),rTe),"Edge Label Spacing"),"The minimal distance to be preserved between a label and the edge it is associated with. Note that the placement of a label is influenced by the 'edgelabels.placement' option."),2),V6e),fFe),o9(j6e)))),M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,bTe),rTe),"Edge Node Spacing"),"Spacing to be preserved between nodes and edges."),10),V6e),fFe),o9(j6e)))),M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,vTe),rTe),"Label Spacing"),"Determines the amount of space to be left between two labels of the same graph element."),0),V6e),fFe),o9(j6e)))),M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,wTe),rTe),"Label Node Spacing"),"Spacing to be preserved between labels and the border of node they are associated with. Note that the placement of a label is influenced by the 'nodelabels.placement' option."),5),V6e),fFe),o9(j6e)))),M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,yTe),rTe),"Label Port Spacing"),"Spacing to be preserved between labels and the ports they are associated with. Note that the placement of a label is influenced by the 'portlabels.placement' option."),1),V6e),fFe),o9(j6e)))),M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,gEe),rTe),"Node Spacing"),"The minimal distance to be preserved between each two nodes."),20),V6e),fFe),o9(j6e)))),M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,xTe),rTe),"Node Self Loop Spacing"),"Spacing to be preserved between a node and its self loops."),10),V6e),fFe),o9(j6e)))),M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,_Te),rTe),"Port Spacing"),"Spacing between pairs of ports of the same node."),10),V6e),fFe),Oj(j6e,q3(lw(X6e,1),A_e,175,0,[N6e]))))),M9(e,new ule(ix(rx(ox(Jw(nx(ex(tx(new Ns,STe),rTe),"Individual Spacing"),"Allows to specify individual spacing values for graph elements that shall be different from the value specified for the element's parent."),W6e),Att),Oj(N6e,q3(lw(X6e,1),A_e,175,0,[R6e,F6e,L6e]))))),M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,nAe),rTe),"Additional Port Space"),"Additional space around the sets of ports on each node side. For each side of a node, this option can reserve additional space before and after the ports on each side. For example, a top spacing of 20 makes sure that the first port on the western and eastern side is 20 units away from the northern border."),a7e),W6e),HHe),o9(j6e)))),M9(e,new ule(ix(rx(ox(Jw(nx(ex(tx(new Ns,JTe),mOe),"Layout Partition"),"Partition to which the node belongs. This requires Layout Partitioning to be active. Nodes with lower partition IDs will appear to the left of nodes with higher partition IDs (assuming a left-to-right layout direction)."),G6e),gFe),Oj(j6e,q3(lw(X6e,1),A_e,175,0,[N6e]))))),nU(e,JTe,QTe,S9e),M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,QTe),mOe),"Layout Partitioning"),"Whether to activate partitioned layout. This will allow to group nodes through the Layout Partition option. a pair of nodes with different partition indices is then placed such that the node with lower index is placed to the left of the other node (with left-to-right layout direction). Depending on the layout algorithm, this may only be guaranteed to work if all nodes have a layout partition configured, or at least if edges that cross partitions are not part of a partition-crossing cycle."),x9e),B6e),oFe),o9(j6e)))),M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,LTe),bOe),"Node Label Padding"),"Define padding for node labels that are placed inside of a node."),s9e),W6e),JHe),o9(N6e)))),M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,RTe),bOe),"Node Label Placement"),"Hints for where node labels are to be placed; if empty, the node label's position is not modified."),u9e),H6e),get),Oj(N6e,q3(lw(X6e,1),A_e,175,0,[L6e]))))),M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,zTe),vOe),"Port Alignment"),"Defines the default port distribution for a node. May be overridden for each side individually."),C9e),$6e),Set),o9(N6e)))),M9(e,new ule(ix(rx(ox(Jw(nx(ex(tx(new Ns,BTe),vOe),"Port Alignment (North)"),"Defines how ports on the northern side are placed, overriding the node's general port alignment."),$6e),Set),o9(N6e)))),M9(e,new ule(ix(rx(ox(Jw(nx(ex(tx(new Ns,VTe),vOe),"Port Alignment (South)"),"Defines how ports on the southern side are placed, overriding the node's general port alignment."),$6e),Set),o9(N6e)))),M9(e,new ule(ix(rx(ox(Jw(nx(ex(tx(new Ns,$Te),vOe),"Port Alignment (West)"),"Defines how ports on the western side are placed, overriding the node's general port alignment."),$6e),Set),o9(N6e)))),M9(e,new ule(ix(rx(ox(Jw(nx(ex(tx(new Ns,HTe),vOe),"Port Alignment (East)"),"Defines how ports on the eastern side are placed, overriding the node's general port alignment."),$6e),Set),o9(N6e)))),M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,PTe),yOe),"Node Size Constraints"),"What should be taken into account when calculating a node's size. Empty size constraints specify that a node's size is already fixed and should not be changed."),f9e),H6e),xtt),o9(N6e)))),M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,OTe),yOe),"Node Size Options"),"Options modifying the behavior of the size constraints set on a node. Each member of the set specifies something that should be taken into account when calculating node sizes. The empty set corresponds to no further modifications."),m9e),H6e),Stt),o9(N6e)))),M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,WTe),yOe),"Node Size Minimum"),"The minimal size to which a node can be reduced."),p9e),W6e),J6e),o9(N6e)))),M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,hOe),yOe),"Fixed Graph Size"),"By default, the fixed layout provider will enlarge a graph until it is large enough to contain its children. If this option is set, it won't do so."),!1),B6e),oFe),o9(j6e)))),M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,qTe),dTe),"Edge Label Placement"),"Gives a hint on where to put edge labels."),H8e),$6e),k7e),o9(L6e)))),M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,xEe),dTe),"Inline Edge Labels"),"If true, an edge label is placed directly on its edge. May only apply to center edge labels. This kind of label placement is only advisable if the label's rendering is such that it is not crossed by its edge and thus stays legible."),!1),B6e),oFe),o9(L6e)))),M9(e,new ule(ix(rx(ox(Jw(nx(ex(tx(new Ns,dOe),"font"),"Font Name"),"Font name used for a label."),U6e),CFe),o9(L6e)))),M9(e,new ule(ix(rx(ox(Jw(nx(ex(tx(new Ns,pOe),"font"),"Font Size"),"Font size used for a label."),G6e),gFe),o9(L6e)))),M9(e,new ule(ix(rx(ox(Jw(nx(ex(tx(new Ns,ZTe),wOe),"Port Anchor Offset"),"The offset to the port position where connections shall be attached."),W6e),J6e),o9(F6e)))),M9(e,new ule(ix(rx(ox(Jw(nx(ex(tx(new Ns,XTe),wOe),"Port Index"),"The index of a port in the fixed order around a node. The order is assumed as clockwise, starting with the leftmost port on the top side. This option must be set if 'Port Constraints' is set to FIXED_ORDER and no specific positions are given for the ports. Additionally, the option 'Port Side' must be defined in this case."),G6e),gFe),o9(F6e)))),M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,ETe),wOe),"Port Side"),"The side of a node on which a port is situated. This option must be set if 'Port Constraints' is set to FIXED_SIDE or FIXED_ORDER and no specific positions are given for the ports."),B9e),$6e),att),o9(F6e)))),M9(e,new ule(ix(rx(ox(Jw(nx(ex(tx(new Ns,kTe),wOe),"Port Border Offset"),"The offset of ports on the node border. With a positive offset the port is moved outside of the node, while with a negative offset the port is moved towards the inside. An offset of 0 means that the port is placed directly on the node border, i.e. if the port side is north, the port's south border touches the nodes's north border; if the port side is east, the port's west border touches the nodes's east border; if the port side is south, the port's north border touches the node's south border; if the port side is west, the port's east border touches the node's west border."),V6e),fFe),o9(F6e)))),M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,NTe),xOe),"Port Label Placement"),"Decides on a placement method for port labels; if empty, the node label's position is not modified."),j9e),H6e),Jet),o9(N6e)))),M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,jTe),xOe),"Port Labels Next to Port"),"Use 'portLabels.placement': NEXT_TO_PORT_OF_POSSIBLE."),!1),B6e),oFe),o9(N6e)))),M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,FTe),xOe),"Treat Port Labels as Group"),"If this option is true (default), the labels of a port will be treated as a group when it comes to centering them next to their port. If this option is false, only the first label will be centered next to the port, with the others being placed below. This only applies to labels of eastern and western ports and will have no effect if labels are not placed next to their port."),!0),B6e),oFe),o9(N6e)))),M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,TTe),_Oe),"Activate Inside Self Loops"),"Whether this node allows to route self loops inside of it instead of around it. If set to true, this will make the node a compound node if it isn't already, and will require the layout algorithm to support compound nodes with hierarchical ports."),!1),B6e),oFe),o9(N6e)))),M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,ATe),_Oe),"Inside Self Loop"),"Whether a self loop should be routed inside a node instead of around that node."),!1),B6e),oFe),o9(R6e)))),M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,WCe),"edge"),"Edge Thickness"),"The thickness of an edge. This is a hint on the line width used to draw an edge, possibly requiring more space to be reserved for it."),1),V6e),fFe),o9(R6e)))),M9(e,new ule(ix(rx(ox(Qw(Jw(nx(ex(tx(new Ns,gOe),"edge"),"Edge Type"),"The type of an edge. This is usually used for UML class diagrams, where associations must be handled differently from generalizations."),q8e),$6e),V7e),o9(R6e)))),WS(e,new FG(Ww(qw(Zw(new ps,rIe),"Layered"),'The layer-based method was introduced by Sugiyama, Tagawa and Toda in 1981. It emphasizes the direction of edges by pointing as many edges as possible into the same direction. The nodes are arranged in layers, which are sometimes called "hierarchies", and then reordered such that the number of edge crossings is minimized. Afterwards, concrete coordinates are computed for the nodes and edge bend points.'))),WS(e,new FG(Ww(qw(Zw(new ps,"org.eclipse.elk.orthogonal"),"Orthogonal"),'Orthogonal methods that follow the "topology-shape-metrics" approach by Batini, Nardelli and Tamassia \'86. The first phase determines the topology of the drawing by applying a planarization technique, which results in a planar representation of the graph. The orthogonal shape is computed in the second phase, which aims at minimizing the number of edge bends, and is called orthogonalization. The third phase leads to concrete coordinates for nodes and edge bend points by applying a compaction method, thus defining the metrics.'))),WS(e,new FG(Ww(qw(Zw(new ps,dEe),"Force"),"Layout algorithms that follow physical analogies by simulating a system of attractive and repulsive forces. The first successful method of this kind was proposed by Eades in 1984."))),WS(e,new FG(Ww(qw(Zw(new ps,"org.eclipse.elk.circle"),"Circle"),"Circular layout algorithms emphasize cycles or biconnected components of a graph by arranging them in circles. This is useful if a drawing is desired where such components are clearly grouped, or where cycles are shown as prominent OPTIONS of the graph."))),WS(e,new FG(Ww(qw(Zw(new ps,LAe),"Tree"),"Specialized layout methods for trees, i.e. acyclic graphs. The regular structure of graphs that have no undirected cycles can be emphasized using an algorithm of this type."))),WS(e,new FG(Ww(qw(Zw(new ps,"org.eclipse.elk.planar"),"Planar"),"Algorithms that require a planar or upward planar graph. Most of these algorithms are theoretically interesting, but not practically usable."))),WS(e,new FG(Ww(qw(Zw(new ps,QAe),"Radial"),"Radial layout algorithms usually position the nodes of the graph on concentric circles."))),gge((new yf,e)),hme((new vf,e)),hpe((new If,e))};var u7e,c7e,f7e,h7e,d7e;eB(XPe,"CoreOptions",671);Kce(108,22,{3:1,36:1,22:1,108:1},CE);var p7e,g7e,m7e,b7e,v7e=f0(XPe,xCe,108,Aje,(function(){return A8(),q3(lw(v7e,1),A_e,108,0,[h7e,f7e,c7e,u7e,d7e])}),(function(e){return A8(),fQ((RQ(),p7e),e)}));Kce(271,22,{3:1,36:1,22:1,271:1},EE);var y7e,w7e,x7e,_7e,S7e,k7e=f0(XPe,"EdgeLabelPlacement",271,Aje,(function(){return $J(),q3(lw(k7e,1),A_e,271,0,[g7e,m7e,b7e])}),(function(e){return $J(),fQ((oK(),y7e),e)}));Kce(216,22,{3:1,36:1,22:1,216:1},IE);var C7e,E7e,I7e,M7e,T7e,A7e,P7e,O7e=f0(XPe,"EdgeRouting",216,Aje,(function(){return $9(),q3(lw(O7e,1),A_e,216,0,[S7e,x7e,w7e,_7e])}),(function(e){return $9(),fQ((SZ(),C7e),e)}));Kce(310,22,{3:1,36:1,22:1,310:1},ME);var D7e,R7e,L7e,N7e,j7e,F7e,z7e,B7e,V7e=f0(XPe,"EdgeType",310,Aje,(function(){return yae(),q3(lw(V7e,1),A_e,310,0,[A7e,M7e,P7e,E7e,T7e,I7e])}),(function(e){return yae(),fQ((LJ(),D7e),e)}));Kce(941,1,qke,yf),_xe.Qe=function(e){gge(e)};eB(XPe,"FixedLayouterOptions",941);Kce(942,1,{},Fs),_xe._e=function(){return new Us},_xe.af=function(e){};var $7e,H7e,G7e;eB(XPe,"FixedLayouterOptions/FixedFactory",942);Kce(332,22,{3:1,36:1,22:1,332:1},TE);var W7e,U7e,q7e,X7e,Y7e,K7e=f0(XPe,"HierarchyHandling",332,Aje,(function(){return P8(),q3(lw(K7e,1),A_e,332,0,[H7e,$7e,G7e])}),(function(e){return P8(),fQ((aK(),W7e),e)}));Kce(284,22,{3:1,36:1,22:1,284:1},AE);var Z7e,Q7e,J7e,eet,tet,net,ret,iet,oet,aet,set=f0(XPe,"LabelSide",284,Aje,(function(){return Yre(),q3(lw(set,1),A_e,284,0,[Y7e,U7e,q7e,X7e])}),(function(e){return Yre(),fQ((kZ(),Z7e),e)}));Kce(92,22,{3:1,36:1,22:1,92:1},PE);var uet,cet,fet,het,det,pet,get=f0(XPe,"NodeLabelPlacement",92,Aje,(function(){return Sfe(),q3(lw(get,1),A_e,92,0,[J7e,Q7e,tet,aet,oet,iet,net,ret,eet])}),(function(e){return Sfe(),fQ((E3(),uet),e)}));Kce(248,22,{3:1,36:1,22:1,248:1},OE);var met,bet,vet,yet,wet,xet,_et,Set=f0(XPe,"PortAlignment",248,Aje,(function(){return pte(),q3(lw(Set,1),A_e,248,0,[het,pet,cet,fet,det])}),(function(e){return pte(),fQ((OQ(),met),e)}));Kce(100,22,{3:1,36:1,22:1,100:1},DE);var ket,Cet,Eet,Iet,Met,Tet,Aet=f0(XPe,"PortConstraints",100,Aje,(function(){return joe(),q3(lw(Aet,1),A_e,100,0,[_et,xet,wet,bet,yet,vet])}),(function(e){return joe(),fQ((zJ(),ket),e)}));Kce(291,22,{3:1,36:1,22:1,291:1},RE);var Pet,Oet,Det,Ret,Let,Net,jet,Fet,zet,Bet,Vet,$et,Het,Get,Wet,Uet,qet,Xet,Yet,Ket,Zet,Qet,Jet=f0(XPe,"PortLabelPlacement",291,Aje,(function(){return iae(),q3(lw(Jet,1),A_e,291,0,[Met,Eet,Iet,Cet,Tet])}),(function(e){return iae(),fQ((DQ(),Pet),e)}));Kce(61,22,{3:1,36:1,22:1,61:1},LE);var ett,ttt,ntt,rtt,itt,ott,att=f0(XPe,"PortSide",61,Aje,(function(){return hwe(),q3(lw(att,1),VEe,61,0,[Zet,Det,Oet,Ket,Qet])}),(function(e){return hwe(),fQ((CQ(),ett),e)}));Kce(945,1,qke,If),_xe.Qe=function(e){hpe(e)};eB(XPe,"RandomLayouterOptions",945);Kce(946,1,{},zs),_xe._e=function(){return new Js},_xe.af=function(e){};var stt,ltt,utt,ctt;eB(XPe,"RandomLayouterOptions/RandomFactory",946);Kce(371,22,{3:1,36:1,22:1,371:1},NE);var ftt,htt,dtt,ptt,gtt,mtt,btt,vtt,ytt,wtt,xtt=f0(XPe,"SizeConstraint",371,Aje,(function(){return aee(),q3(lw(xtt,1),A_e,371,0,[utt,ctt,ltt,stt])}),(function(e){return aee(),fQ((CZ(),ftt),e)}));Kce(258,22,{3:1,36:1,22:1,258:1},jE);var _tt,Stt=f0(XPe,"SizeOptions",258,Aje,(function(){return Vge(),q3(lw(Stt,1),A_e,258,0,[ptt,mtt,dtt,btt,vtt,wtt,ytt,gtt,htt])}),(function(e){return Vge(),fQ((I3(),_tt),e)}));Kce(367,1,{1921:1},qv),_xe.b=!1,_xe.c=0,_xe.d=-1,_xe.e=null,_xe.f=null,_xe.g=-1,_xe.j=!1,_xe.k=!1,_xe.n=!1,_xe.o=0,_xe.q=0,_xe.r=0;eB(iAe,"BasicProgressMonitor",367);Kce(936,207,PCe,Bs),_xe.$e=function(e,t){var n,r,i,o,a,s,l,u,c;if(qoe(t,"Box layout",2),i=Dy($O(xfe(e,(Gae(),y8e)))),o=LL(xfe(e,m8e),115),n=Ty(VO(xfe(e,f8e))),r=Ty(VO(xfe(e,h8e))),0===LL(xfe(e,u8e),309).g)s=new jR((!e.a&&(e.a=new FF(cnt,e,10,11)),e.a)),v$(),kT(s,new Lg(r)),a=s,l=Xse(e),(null==(u=$O(xfe(e,l8e)))||(wB(u),u<=0))&&(u=1.3),ywe(e,(c=_we(a,i,o,l.a,l.b,n,(wB(u),u))).a,c.b,!1,!0);else Fve(e,i,o,n);_se(t)};eB(iAe,"BoxLayoutProvider",936);Kce(937,1,_ke,Lg),_xe.ue=function(e,t){return function(e,t,n){var r,i,o;if(!(i=LL(xfe(t,(Gae(),v8e)),20))&&(i=k8(0)),!(o=LL(xfe(n,v8e),20))&&(o=k8(0)),i.a>o.a)return-1;if(i.a<o.a)return 1;if(e.a){if(0!=(r=j8(t.j,n.j)))return r;if(0!=(r=j8(t.i,n.i)))return r}return j8(t.g*t.f,n.g*n.f)}(this,LL(e,34),LL(t,34))},_xe.Fb=function(e){return this===e},_xe.ve=function(){return new ad(this)},_xe.a=!1;eB(iAe,"BoxLayoutProvider/1",937);Kce(157,1,{157:1},SJ,lO),_xe.Ib=function(){return this.c?Qpe(this.c):Wae(this.b)};var ktt,Ctt,Ett,Itt;eB(iAe,"BoxLayoutProvider/Group",157);Kce(309,22,{3:1,36:1,22:1,309:1},FE);var Mtt,Ttt=f0(iAe,"BoxLayoutProvider/PackingMode",309,Aje,(function(){return A7(),q3(lw(Ttt,1),A_e,309,0,[Itt,ktt,Ett,Ctt])}),(function(e){return A7(),fQ((MZ(),Mtt),e)}));Kce(938,1,_ke,Vs),_xe.ue=function(e,t){return function(e,t){return-j8(sj(e)*aj(e),sj(t)*aj(t))}(LL(e,157),LL(t,157))},_xe.Fb=function(e){return this===e},_xe.ve=function(){return new ad(this)};eB(iAe,"BoxLayoutProvider/lambda$0$Type",938);Kce(939,1,_ke,$s),_xe.ue=function(e,t){return function(e,t){return j8(sj(e)*aj(e),sj(t)*aj(t))}(LL(e,157),LL(t,157))},_xe.Fb=function(e){return this===e},_xe.ve=function(){return new ad(this)};eB(iAe,"BoxLayoutProvider/lambda$1$Type",939);Kce(940,1,_ke,Hs),_xe.ue=function(e,t){return function(e,t){return j8(sj(e)*aj(e),sj(t)*aj(t))}(LL(e,157),LL(t,157))},_xe.Fb=function(e){return this===e},_xe.ve=function(){return new ad(this)};eB(iAe,"BoxLayoutProvider/lambda$2$Type",940);Kce(1336,1,{810:1},Gs),_xe.lg=function(e,t){return OS(),!BT(t,160)||i_((f5(),LL(e,160)),t)};eB(iAe,"ElkSpacings/AbstractSpacingsBuilder/lambda$0$Type",1336);Kce(1337,1,c_e,Ng),_xe.td=function(e){!function(e,t){var n;n=null!=gte((U9(),qJe))&&null!=t.rg()?Oy($O(t.rg()))/Oy($O(gte(qJe))):1,eV(e.b,t,n)}(this.a,LL(e,146))};eB(iAe,"ElkSpacings/AbstractSpacingsBuilder/lambda$1$Type",1337);Kce(1338,1,c_e,Ws),_xe.td=function(e){LL(e,94),OS()};eB(iAe,"ElkSpacings/AbstractSpacingsBuilder/lambda$2$Type",1338);Kce(1342,1,c_e,jg),_xe.td=function(e){!function(e,t){lS(_V(new cj(null,new ZG(new Fh(e.b),1)),new zE(e,t)),new VE(e,t))}(this.a,LL(e,94))};eB(iAe,"ElkSpacings/AbstractSpacingsBuilder/lambda$3$Type",1342);Kce(1340,1,L_e,zE),_xe.Mb=function(e){return function(e,t,n){return!zx(_V(new cj(null,new ZG(e.c,16)),new gd(new BE(t,n)))).sd((xS(),Fze))}(this.a,this.b,LL(e,146))};eB(iAe,"ElkSpacings/AbstractSpacingsBuilder/lambda$4$Type",1340);Kce(1339,1,L_e,BE),_xe.Mb=function(e){return function(e,t,n){return OS(),n.lg(e,t)}(this.a,this.b,LL(e,810))};eB(iAe,"ElkSpacings/AbstractSpacingsBuilder/lambda$5$Type",1339);Kce(1341,1,c_e,VE),_xe.td=function(e){!function(e,t,n){t.Ze(n,Oy($O(aB(e.b,n)))*e.a)}(this.a,this.b,LL(e,146))};eB(iAe,"ElkSpacings/AbstractSpacingsBuilder/lambda$6$Type",1341);Kce(914,1,{},qs),_xe.Kb=function(e){return zM(e)},_xe.Fb=function(e){return this===e};eB(iAe,"ElkUtil/lambda$0$Type",914);Kce(915,1,c_e,$E),_xe.td=function(e){!function(e,t,n){var r;lS(new cj(null,(!n.a&&(n.a=new FF(int,n,6,6)),new ZG(n.a,16))),new HE(e,t)),lS(new cj(null,(!n.n&&(n.n=new FF(unt,n,1,7)),new ZG(n.n,16))),new GE(e,t)),(r=LL(xfe(n,(fxe(),n9e)),74))&&X1(r,e,t)}(this.a,this.b,LL(e,80))},_xe.a=0,_xe.b=0;eB(iAe,"ElkUtil/lambda$1$Type",915);Kce(916,1,c_e,HE),_xe.td=function(e){my(this.a,this.b,LL(e,201))},_xe.a=0,_xe.b=0;eB(iAe,"ElkUtil/lambda$2$Type",916);Kce(917,1,c_e,GE),_xe.td=function(e){!function(e,t,n){$M(n,n.i+e,n.j+t)}(this.a,this.b,LL(e,137))},_xe.a=0,_xe.b=0;eB(iAe,"ElkUtil/lambda$3$Type",917);Kce(918,1,c_e,Fg),_xe.td=function(e){!function(e,t){RL(e,new YE(t.a,t.b))}(this.a,LL(e,463))};eB(iAe,"ElkUtil/lambda$4$Type",918);Kce(338,1,{36:1,338:1},Bm),_xe.wd=function(e){return function(e,t){return e.a<RR(t)?-1:1}(this,LL(e,236))},_xe.Fb=function(e){var t;return!!BT(e,338)&&(t=LL(e,338),this.a==t.a)},_xe.Hb=function(){return IH(this.a)},_xe.Ib=function(){return this.a+" (exclusive)"},_xe.a=0;eB(iAe,"ExclusiveBounds/ExclusiveLowerBound",338);Kce(1111,207,PCe,Us),_xe.$e=function(e,t){var n,i,o,a,s,l,u,c,f,h,d,g,m,b,v,y,w,x,_,S,k;for(qoe(t,"Fixed Layout",1),a=LL(xfe(e,(fxe(),G8e)),216),h=0,d=0,v=new SA((!e.a&&(e.a=new FF(cnt,e,10,11)),e.a));v.e!=v.i.gc();){for(m=LL(Hee(v),34),(k=LL(xfe(m,(V4(),B7e)),8))&&($M(m,k.a,k.b),LL(xfe(m,L7e),174).Fc((aee(),stt))&&(g=LL(xfe(m,j7e),8)).a>0&&g.b>0&&ywe(m,g.a,g.b,!0,!0)),h=r.Math.max(h,m.i+m.g),d=r.Math.max(d,m.j+m.f),c=new SA((!m.n&&(m.n=new FF(unt,m,1,7)),m.n));c.e!=c.i.gc();)l=LL(Hee(c),137),(k=LL(xfe(l,B7e),8))&&$M(l,k.a,k.b),h=r.Math.max(h,m.i+l.i+l.g),d=r.Math.max(d,m.j+l.j+l.f);for(x=new SA((!m.c&&(m.c=new FF(fnt,m,9,9)),m.c));x.e!=x.i.gc();)for(w=LL(Hee(x),122),(k=LL(xfe(w,B7e),8))&&$M(w,k.a,k.b),_=m.i+w.i,S=m.j+w.j,h=r.Math.max(h,_+w.g),d=r.Math.max(d,S+w.f),u=new SA((!w.n&&(w.n=new FF(unt,w,1,7)),w.n));u.e!=u.i.gc();)l=LL(Hee(u),137),(k=LL(xfe(l,B7e),8))&&$M(l,k.a,k.b),h=r.Math.max(h,_+l.i+l.g),d=r.Math.max(d,S+l.j+l.f);for(o=new xF(BA(she(m).a.Ic(),new p));Zce(o);)f=wwe(n=LL(dX(o),80)),h=r.Math.max(h,f.a),d=r.Math.max(d,f.b);for(i=new xF(BA(ahe(m).a.Ic(),new p));Zce(i);)rG(Pae(n=LL(dX(i),80)))!=e&&(f=wwe(n),h=r.Math.max(h,f.a),d=r.Math.max(d,f.b))}if(a==($9(),w7e))for(b=new SA((!e.a&&(e.a=new FF(cnt,e,10,11)),e.a));b.e!=b.i.gc();)for(i=new xF(BA(she(m=LL(Hee(b),34)).a.Ic(),new p));Zce(i);)0==(s=Sme(n=LL(dX(i),80))).b?Fte(n,n9e,null):Fte(n,n9e,s);Ty(VO(xfe(e,(V4(),N7e))))||ywe(e,h+(y=LL(xfe(e,F7e),115)).b+y.c,d+y.d+y.a,!0,!0),_se(t)};eB(iAe,"FixedLayoutProvider",1111);Kce(370,134,{3:1,409:1,370:1,94:1,134:1},Xs,KZ),_xe.Gf=function(e){var t,n,r,i,o,a,s;if(e)try{for(a=wge(e,";,;"),i=0,o=(r=a).length;i<o;++i){if(t=wge(r[i],"\\:"),!(n=uye(C0(),t[0])))throw Jm(new Ny("Invalid option id: "+t[0]));if(null==(s=Kve(n,t[1])))throw Jm(new Ny("Invalid option value: "+t[1]));null==s?(!this.q&&(this.q=new Hm),sY(this.q,n)):(!this.q&&(this.q=new Hm),eV(this.q,n,s))}}catch(e){throw BT(e=v3(e),102)?Jm(new u6(e)):Jm(e)}},_xe.Ib=function(){return HO(Nq(SV((this.q?this.q:(v$(),v$(),YFe)).tc().Mc(),new Ys),xZ(new TL,new X,new L,new N,q3(lw(jze,1),A_e,132,0,[]))))};var Att=eB(iAe,"IndividualSpacings",370);Kce(935,1,{},Ys),_xe.Kb=function(e){return function(e){return LL(e.ad(),146).og()+":"+P9(e.bd())}(LL(e,43))};eB(iAe,"IndividualSpacings/lambda$0$Type",935);Kce(695,1,{},mj),_xe.c=0;eB(iAe,"InstancePool",695);Kce(1247,1,{},Ks);var Ptt,Ott,Dtt,Rtt;eB(iAe,"LoggedGraph",1247);Kce(392,22,{3:1,36:1,22:1,392:1},hI);var Ltt,Ntt=f0(iAe,"LoggedGraph/Type",392,Aje,(function(){return F4(),q3(lw(Ntt,1),A_e,392,0,[Ott,Dtt,Ptt,Rtt])}),(function(e){return F4(),fQ((TZ(),Ltt),e)}));Kce(46,1,{19:1,46:1},KE),_xe.Hc=function(e){yX(this,e)},_xe.Fb=function(e){var t,n,r;return!!BT(e,46)&&(n=LL(e,46),t=null==this.a?null==n.a:l8(this.a,n.a),r=null==this.b?null==n.b:l8(this.b,n.b),t&&r)},_xe.Hb=function(){var e,t,n;return e=-65536&(t=null==this.a?0:p4(this.a)),t&X_e^(-65536&(n=null==this.b?0:p4(this.b)))>>16&X_e|e^(n&X_e)<<16},_xe.Ic=function(){return new zg(this)},_xe.Ib=function(){return null==this.a&&null==this.b?"pair(null,null)":null==this.a?"pair(null,"+P9(this.b)+")":null==this.b?"pair("+P9(this.a)+",null)":"pair("+P9(this.a)+","+P9(this.b)+")"};eB(iAe,"Pair",46);Kce(947,1,qxe,zg),_xe.Nb=function(e){GF(this,e)},_xe.Ob=function(){return!this.c&&(!this.b&&null!=this.a.a||null!=this.a.b)},_xe.Pb=function(){if(!this.c&&!this.b&&null!=this.a.a)return this.b=!0,this.a.a;if(!this.c&&null!=this.a.b)return this.c=!0,this.a.b;throw Jm(new bb)},_xe.Qb=function(){throw this.c&&null!=this.a.b?this.a.b=null:this.b&&null!=this.a.a&&(this.a.a=null),Jm(new wb)},_xe.b=!1,_xe.c=!1;eB(iAe,"Pair/1",947);Kce(442,1,{442:1},QV),_xe.Fb=function(e){return cV(this.a,LL(e,442).a)&&cV(this.c,LL(e,442).c)&&cV(this.d,LL(e,442).d)&&cV(this.b,LL(e,442).b)},_xe.Hb=function(){return J4(q3(lw(pje,1),zxe,1,5,[this.a,this.c,this.d,this.b]))},_xe.Ib=function(){return"("+this.a+jxe+this.c+jxe+this.d+jxe+this.b+")"};eB(iAe,"Quadruple",442);Kce(1099,207,PCe,Js),_xe.$e=function(e,t){var n;qoe(t,"Random Layout",1),0!=(!e.a&&(e.a=new FF(cnt,e,10,11)),e.a).i?(function(e,t,n,i,o){var a,s,l,u,c,f,h,d,g,m,b,v,y,w,x,_,S,k,C,E;for(w=0,m=0,g=0,d=1,y=new SA((!e.a&&(e.a=new FF(cnt,e,10,11)),e.a));y.e!=y.i.gc();)d+=DU(new xF(BA(she(b=LL(Hee(y),34)).a.Ic(),new p))),k=b.g,m=r.Math.max(m,k),h=b.f,g=r.Math.max(g,h),w+=k*h;for(s=w+2*i*i*d*(!e.a&&(e.a=new FF(cnt,e,10,11)),e.a).i,a=r.Math.sqrt(s),u=r.Math.max(a*n,m),l=r.Math.max(a/n,g),v=new SA((!e.a&&(e.a=new FF(cnt,e,10,11)),e.a));v.e!=v.i.gc();)b=LL(Hee(v),34),C=o.b+(Gfe(t,26)*tke+Gfe(t,27)*nke)*(u-b.g),E=o.b+(Gfe(t,26)*tke+Gfe(t,27)*nke)*(l-b.f),UJ(b,C),qJ(b,E);for(S=u+(o.b+o.c),_=l+(o.d+o.a),x=new SA((!e.a&&(e.a=new FF(cnt,e,10,11)),e.a));x.e!=x.i.gc();)for(f=new xF(BA(she(LL(Hee(x),34)).a.Ic(),new p));Zce(f);)zce(c=LL(dX(f),80))||Jwe(c,t,S,_);ywe(e,S+=o.b+o.c,_+=o.d+o.a,!1,!0)}(e,(n=LL(xfe(e,(O7(),itt)),20))&&0!=n.a?new jU(n.a):new y9,Dy($O(xfe(e,ttt))),Dy($O(xfe(e,ott))),LL(xfe(e,ntt),115)),_se(t)):_se(t)};var jtt;eB(iAe,"RandomLayoutProvider",1099);Kce(542,1,{}),_xe.of=function(){return new YE(this.f.i,this.f.j)},_xe.Xe=function(e){return nH(e,(fxe(),P9e))?xfe(this.f,jtt):xfe(this.f,e)},_xe.pf=function(){return new YE(this.f.g,this.f.f)},_xe.qf=function(){return this.g},_xe.Ye=function(e){return hK(this.f,e)},_xe.rf=function(e){UJ(this.f,e.a),qJ(this.f,e.b)},_xe.sf=function(e){WJ(this.f,e.a),GJ(this.f,e.b)},_xe.tf=function(e){this.g=e},_xe.g=0;eB(IOe,"ElkGraphAdapters/AbstractElkGraphElementAdapter",542);Kce(543,1,{818:1},Bg),_xe.uf=function(){var e,t;if(!this.b)for(this.b=pW(gV(this.a).i),t=new SA(gV(this.a));t.e!=t.i.gc();)e=LL(Hee(t),137),RL(this.b,new Sy(e));return this.b},_xe.b=null;eB(IOe,"ElkGraphAdapters/ElkEdgeAdapter",543);Kce(433,542,{},_y),_xe.vf=function(){return wre(this)},_xe.a=null;eB(IOe,"ElkGraphAdapters/ElkGraphAdapter",433);Kce(618,542,{183:1},Sy);eB(IOe,"ElkGraphAdapters/ElkLabelAdapter",618);Kce(617,542,{816:1},PP),_xe.uf=function(){return function(e){var t,n;if(!e.b)for(e.b=pW(LL(e.f,34).vg().i),n=new SA(LL(e.f,34).vg());n.e!=n.i.gc();)t=LL(Hee(n),137),RL(e.b,new Sy(t));return e.b}(this)},_xe.yf=function(){var e;return!(e=LL(xfe(this.f,(fxe(),i9e)),141))&&(e=new av),e},_xe.Af=function(){return function(e){var t,n;if(!e.e)for(e.e=pW(mV(LL(e.f,34)).i),n=new SA(mV(LL(e.f,34)));n.e!=n.i.gc();)t=LL(Hee(n),122),RL(e.e,new Vg(t));return e.e}(this)},_xe.Cf=function(e){var t;t=new tL(e),Fte(this.f,(fxe(),i9e),t)},_xe.Df=function(e){Fte(this.f,(fxe(),v9e),new nL(e))},_xe.wf=function(){return this.d},_xe.xf=function(){var e,t;if(!this.a)for(this.a=new $m,t=new xF(BA(ahe(LL(this.f,34)).a.Ic(),new p));Zce(t);)e=LL(dX(t),80),RL(this.a,new Bg(e));return this.a},_xe.zf=function(){var e,t;if(!this.c)for(this.c=new $m,t=new xF(BA(she(LL(this.f,34)).a.Ic(),new p));Zce(t);)e=LL(dX(t),80),RL(this.c,new Bg(e));return this.c},_xe.Bf=function(){return 0!=_$(LL(this.f,34)).i||Ty(VO(LL(this.f,34).Xe((fxe(),Q8e))))},_xe.a=null,_xe.b=null,_xe.c=null,_xe.d=null,_xe.e=null;eB(IOe,"ElkGraphAdapters/ElkNodeAdapter",617);Kce(1214,542,{817:1},Vg),_xe.uf=function(){return function(e){var t,n;if(!e.b)for(e.b=pW(LL(e.f,122).vg().i),n=new SA(LL(e.f,122).vg());n.e!=n.i.gc();)t=LL(Hee(n),137),RL(e.b,new Sy(t));return e.b}(this)},_xe.xf=function(){var e,t;if(!this.a)for(this.a=$P(LL(this.f,122).sg().i),t=new SA(LL(this.f,122).sg());t.e!=t.i.gc();)e=LL(Hee(t),80),RL(this.a,new Bg(e));return this.a},_xe.zf=function(){var e,t;if(!this.c)for(this.c=$P(LL(this.f,122).tg().i),t=new SA(LL(this.f,122).tg());t.e!=t.i.gc();)e=LL(Hee(t),80),RL(this.c,new Bg(e));return this.c},_xe.Ef=function(){return LL(LL(this.f,122).Xe((fxe(),z9e)),61)},_xe.Ff=function(){var e,t,n,r,i,o,a;for(r=$H(LL(this.f,122)),n=new SA(LL(this.f,122).tg());n.e!=n.i.gc();)for(a=new SA((!(e=LL(Hee(n),80)).c&&(e.c=new nR(nnt,e,5,8)),e.c));a.e!=a.i.gc();){if(aJ(Xoe(o=LL(Hee(a),93)),r))return!0;if(Xoe(o)==r&&Ty(VO(xfe(e,(fxe(),J8e)))))return!0}for(t=new SA(LL(this.f,122).sg());t.e!=t.i.gc();)for(i=new SA((!(e=LL(Hee(t),80)).b&&(e.b=new nR(nnt,e,4,7)),e.b));i.e!=i.i.gc();)if(aJ(Xoe(LL(Hee(i),93)),r))return!0;return!1},_xe.a=null,_xe.b=null,_xe.c=null;eB(IOe,"ElkGraphAdapters/ElkPortAdapter",1214);var Ftt,ztt,Btt,Vtt,$tt,Htt,Gtt,Wtt,Utt,qtt,Xtt,Ytt,Ktt,Ztt=NN(MOe,"EObject"),Qtt=NN(TOe,AOe),Jtt=NN(TOe,POe),ent=NN(TOe,OOe),tnt=NN(TOe,"ElkShape"),nnt=NN(TOe,DOe),rnt=NN(TOe,ROe),int=NN(TOe,LOe),ont=NN(MOe,NOe),ant=NN(MOe,"EFactory"),snt=NN(MOe,jOe),lnt=NN(MOe,"EPackage"),unt=NN(TOe,FOe),cnt=NN(TOe,zOe),fnt=NN(TOe,BOe);Kce(89,1,VOe),_xe.Eg=function(){return this.Fg(),null},_xe.Fg=function(){return null},_xe.Gg=function(){return this.Fg(),!1},_xe.Hg=function(){return!1},_xe.Ig=function(e){Y2(this,e)};eB($Oe,"BasicNotifierImpl",89);Kce(96,89,KOe),_xe.ih=function(){return FM(this)},_xe.Jg=function(e,t){return e},_xe.Kg=function(){throw Jm(new _b)},_xe.Lg=function(e){var t;return t=yne(LL(VQ(this.Og(),this.Qg()),17)),this.$g().dh(this,t.n,t.f,e)},_xe.Mg=function(e,t){throw Jm(new _b)},_xe.Ng=function(e,t,n){return Jge(this,e,t,n)},_xe.Og=function(){var e;return this.Kg()&&(e=this.Kg().Zj())?e:this.uh()},_xe.Pg=function(){return $ce(this)},_xe.Qg=function(){throw Jm(new _b)},_xe.Rg=function(){var e,t;return!(t=this.kh().$j())&&this.Kg().dk((qS(),t=null==(e=dH(Kme(this.Og())))?iit:new TP(this,e))),t},_xe.Sg=function(e,t){return e},_xe.Tg=function(e){return e.Bj()?e.Xi():u7(this.Og(),e)},_xe.Ug=function(){var e;return(e=this.Kg())?e.ak():null},_xe.Vg=function(){return this.Kg()?this.Kg().Zj():null},_xe.Wg=function(e,t,n){return Ute(this,e,t,n)},_xe.Xg=function(e){return jK(this,e)},_xe.Yg=function(e,t){return YX(this,e,t)},_xe.Zg=function(){var e;return!!(e=this.Kg())&&e.bk()},_xe.$g=function(){throw Jm(new _b)},_xe._g=function(){return wee(this)},_xe.ah=function(e,t,n,r){return Rte(this,e,t,r)},_xe.bh=function(e,t,n){return LL(VQ(this.Og(),t),65).Ij().Lj(this,this.th(),t-this.vh(),e,n)},_xe.dh=function(e,t,n,r){return fH(this,e,t,r)},_xe.eh=function(e,t,n){return LL(VQ(this.Og(),t),65).Ij().Mj(this,this.th(),t-this.vh(),e,n)},_xe.fh=function(){return!!this.Kg()&&!!this.Kg()._j()},_xe.gh=function(e){return kte(this,e)},_xe.hh=function(e){return JH(this,e)},_xe.jh=function(e){return Hve(this,e)},_xe.kh=function(){throw Jm(new _b)},_xe.lh=function(){return this.Kg()?this.Kg()._j():null},_xe.mh=function(){return wee(this)},_xe.nh=function(e,t){Vle(this,e,t)},_xe.oh=function(e){this.kh().ck(e)},_xe.ph=function(e){this.kh().fk(e)},_xe.qh=function(e){this.kh().ek(e)},_xe.rh=function(e,t){var n,r,i,o;return(o=this.Ug())&&e&&(t=Nte(o.Qk(),this,t),o.Uk(this)),(r=this.$g())&&(0!=(mge(this,this.$g(),this.Qg()).Bb&FSe)?(i=r._g())&&(e?!o&&i.Uk(this):i.Tk(this)):(t=(n=this.Qg())>=0?this.Lg(t):this.$g().dh(this,-1-n,null,t),t=this.Ng(null,-1,t))),this.ph(e),t},_xe.sh=function(e){var t,n,r,i,o,a,s;if((o=u7(n=this.Og(),e))>=(t=this.vh()))return LL(e,65).Ij().Pj(this,this.th(),o-t);if(o<=-1){if(!(a=Uve((vle(),Sit),n,e)))throw Jm(new Ny(HOe+e.ne()+UOe));if(tk(),LL(a,65).Jj()||(a=iW(FZ(Sit,a))),i=LL((r=this.Tg(a))>=0?this.Wg(r,!0,!0):tce(this,a,!0),152),(s=a.Uj())>1||-1==s)return LL(LL(i,212).cl(e,!1),76)}else if(e.Vj())return LL((r=this.Tg(e))>=0?this.Wg(r,!1,!0):tce(this,e,!1),76);return new yI(this,e)},_xe.th=function(){return YZ(this)},_xe.uh=function(){return($z(),krt).S},_xe.vh=function(){return Hz(this.uh())},_xe.wh=function(e){rle(this,e)},_xe.Ib=function(){return jfe(this)};var hnt;eB(ZOe,"BasicEObjectImpl",96);Kce(113,96,{104:1,91:1,89:1,55:1,107:1,48:1,96:1,113:1}),_xe.xh=function(e){return XZ(this)[e]},_xe.yh=function(e,t){nB(XZ(this),e,t)},_xe.zh=function(e){nB(XZ(this),e,null)},_xe.Eg=function(){return LL(n3(this,4),124)},_xe.Fg=function(){throw Jm(new _b)},_xe.Gg=function(){return 0!=(4&this.Db)},_xe.Kg=function(){throw Jm(new _b)},_xe.Ah=function(e){Tee(this,2,e)},_xe.Mg=function(e,t){this.Db=t<<16|255&this.Db,this.Ah(e)},_xe.Og=function(){return Z$(this)},_xe.Qg=function(){return this.Db>>16},_xe.Rg=function(){var e;return qS(),null==(e=dH(Kme(LL(n3(this,16),26)||this.uh())))?iit:new TP(this,e)},_xe.Hg=function(){return 0==(1&this.Db)},_xe.Ug=function(){return LL(n3(this,128),1907)},_xe.Vg=function(){return LL(n3(this,16),26)},_xe.Zg=function(){return 0!=(32&this.Db)},_xe.$g=function(){return LL(n3(this,2),48)},_xe.fh=function(){return 0!=(64&this.Db)},_xe.kh=function(){throw Jm(new _b)},_xe.lh=function(){return LL(n3(this,64),279)},_xe.oh=function(e){Tee(this,16,e)},_xe.ph=function(e){Tee(this,128,e)},_xe.qh=function(e){Tee(this,64,e)},_xe.th=function(){return Aee(this)},_xe.Db=0;eB(ZOe,"MinimalEObjectImpl",113);Kce(116,113,{104:1,91:1,89:1,55:1,107:1,48:1,96:1,113:1,116:1}),_xe.Ah=function(e){this.Cb=e},_xe.$g=function(){return this.Cb};eB(ZOe,"MinimalEObjectImpl/Container",116);Kce(1957,116,{104:1,408:1,94:1,91:1,89:1,55:1,107:1,48:1,96:1,113:1,116:1}),_xe.Ve=function(e){return!this.o&&(this.o=new EK((Hwe(),Xtt),ynt,this,0)),r1(this.o,e.q?e.q:(v$(),v$(),YFe)),this},_xe.Wg=function(e,t,n){return Ore(this,e,t,n)},_xe.eh=function(e,t,n){return hse(this,e,t,n)},_xe.gh=function(e){return yW(this,e)},_xe.nh=function(e,t){f4(this,e,t)},_xe.uh=function(){return Hwe(),Ktt},_xe.wh=function(e){n5(this,e)},_xe.We=function(){return Cte(this)},_xe.Xe=function(e){return xfe(this,e)},_xe.Ye=function(e){return hK(this,e)},_xe.Ze=function(e,t){return Fte(this,e,t)};eB(QOe,"EMapPropertyHolderImpl",1957);Kce(560,116,{104:1,463:1,91:1,89:1,55:1,107:1,48:1,96:1,113:1,116:1},el),_xe.Wg=function(e,t,n){switch(e){case 0:return this.a;case 1:return this.b}return Ute(this,e,t,n)},_xe.gh=function(e){switch(e){case 0:return 0!=this.a;case 1:return 0!=this.b}return kte(this,e)},_xe.nh=function(e,t){switch(e){case 0:return void JJ(this,Oy($O(t)));case 1:return void YJ(this,Oy($O(t)))}Vle(this,e,t)},_xe.uh=function(){return Hwe(),Btt},_xe.wh=function(e){switch(e){case 0:return void JJ(this,0);case 1:return void YJ(this,0)}rle(this,e)},_xe.Ib=function(){var e;return 0!=(64&this.Db)?jfe(this):((e=new XA(jfe(this))).a+=" (x: ",Bx(e,this.a),e.a+=", y: ",Bx(e,this.b),e.a+=")",e.a)},_xe.a=0,_xe.b=0;eB(QOe,"ElkBendPointImpl",560);Kce(710,1957,{104:1,408:1,160:1,94:1,91:1,89:1,55:1,107:1,48:1,96:1,113:1,116:1}),_xe.Wg=function(e,t,n){return f8(this,e,t,n)},_xe.bh=function(e,t,n){return cae(this,e,t,n)},_xe.eh=function(e,t,n){return P3(this,e,t,n)},_xe.gh=function(e){return m3(this,e)},_xe.nh=function(e,t){Qie(this,e,t)},_xe.uh=function(){return Hwe(),Gtt},_xe.wh=function(e){G6(this,e)},_xe.ug=function(){return this.k},_xe.vg=function(){return gV(this)},_xe.Ib=function(){return h9(this)},_xe.k=null;eB(QOe,"ElkGraphElementImpl",710);Kce(711,710,{104:1,408:1,160:1,464:1,94:1,91:1,89:1,55:1,107:1,48:1,96:1,113:1,116:1}),_xe.Wg=function(e,t,n){return O9(this,e,t,n)},_xe.gh=function(e){return g7(this,e)},_xe.nh=function(e,t){Jie(this,e,t)},_xe.uh=function(){return Hwe(),Ytt},_xe.wh=function(e){m7(this,e)},_xe.wg=function(){return this.f},_xe.xg=function(){return this.g},_xe.yg=function(){return this.i},_xe.zg=function(){return this.j},_xe.Ag=function(e,t){VM(this,e,t)},_xe.Bg=function(e,t){$M(this,e,t)},_xe.Cg=function(e){UJ(this,e)},_xe.Dg=function(e){qJ(this,e)},_xe.Ib=function(){return kse(this)},_xe.f=0,_xe.g=0,_xe.i=0,_xe.j=0;eB(QOe,"ElkShapeImpl",711);Kce(712,711,{104:1,408:1,93:1,160:1,464:1,94:1,91:1,89:1,55:1,107:1,48:1,96:1,113:1,116:1}),_xe.Wg=function(e,t,n){return Ane(this,e,t,n)},_xe.bh=function(e,t,n){return jie(this,e,t,n)},_xe.eh=function(e,t,n){return Fie(this,e,t,n)},_xe.gh=function(e){return X5(this,e)},_xe.nh=function(e,t){ufe(this,e,t)},_xe.uh=function(){return Hwe(),Vtt},_xe.wh=function(e){jte(this,e)},_xe.sg=function(){return!this.d&&(this.d=new nR(rnt,this,8,5)),this.d},_xe.tg=function(){return!this.e&&(this.e=new nR(rnt,this,7,4)),this.e};eB(QOe,"ElkConnectableShapeImpl",712);Kce(349,710,{104:1,408:1,80:1,160:1,349:1,94:1,91:1,89:1,55:1,107:1,48:1,96:1,113:1,116:1},Qs),_xe.Lg=function(e){return lie(this,e)},_xe.Wg=function(e,t,n){switch(e){case 3:return VH(this);case 4:return!this.b&&(this.b=new nR(nnt,this,4,7)),this.b;case 5:return!this.c&&(this.c=new nR(nnt,this,5,8)),this.c;case 6:return!this.a&&(this.a=new FF(int,this,6,6)),this.a;case 7:return _P(),!this.b&&(this.b=new nR(nnt,this,4,7)),!(this.b.i<=1&&(!this.c&&(this.c=new nR(nnt,this,5,8)),this.c.i<=1));case 8:return _P(),!!zce(this);case 9:return _P(),!!Que(this);case 10:return _P(),!this.b&&(this.b=new nR(nnt,this,4,7)),0!=this.b.i&&(!this.c&&(this.c=new nR(nnt,this,5,8)),0!=this.c.i)}return f8(this,e,t,n)},_xe.bh=function(e,t,n){var r;switch(t){case 3:return this.Cb&&(n=(r=this.Db>>16)>=0?lie(this,n):this.Cb.dh(this,-1-r,null,n)),tD(this,LL(e,34),n);case 4:return!this.b&&(this.b=new nR(nnt,this,4,7)),C7(this.b,e,n);case 5:return!this.c&&(this.c=new nR(nnt,this,5,8)),C7(this.c,e,n);case 6:return!this.a&&(this.a=new FF(int,this,6,6)),C7(this.a,e,n)}return cae(this,e,t,n)},_xe.eh=function(e,t,n){switch(t){case 3:return tD(this,null,n);case 4:return!this.b&&(this.b=new nR(nnt,this,4,7)),Nte(this.b,e,n);case 5:return!this.c&&(this.c=new nR(nnt,this,5,8)),Nte(this.c,e,n);case 6:return!this.a&&(this.a=new FF(int,this,6,6)),Nte(this.a,e,n)}return P3(this,e,t,n)},_xe.gh=function(e){switch(e){case 3:return!!VH(this);case 4:return!!this.b&&0!=this.b.i;case 5:return!!this.c&&0!=this.c.i;case 6:return!!this.a&&0!=this.a.i;case 7:return!this.b&&(this.b=new nR(nnt,this,4,7)),!(this.b.i<=1&&(!this.c&&(this.c=new nR(nnt,this,5,8)),this.c.i<=1));case 8:return zce(this);case 9:return Que(this);case 10:return!this.b&&(this.b=new nR(nnt,this,4,7)),0!=this.b.i&&(!this.c&&(this.c=new nR(nnt,this,5,8)),0!=this.c.i)}return m3(this,e)},_xe.nh=function(e,t){switch(e){case 3:return void yhe(this,LL(t,34));case 4:return!this.b&&(this.b=new nR(nnt,this,4,7)),Ove(this.b),!this.b&&(this.b=new nR(nnt,this,4,7)),void Qz(this.b,LL(t,15));case 5:return!this.c&&(this.c=new nR(nnt,this,5,8)),Ove(this.c),!this.c&&(this.c=new nR(nnt,this,5,8)),void Qz(this.c,LL(t,15));case 6:return!this.a&&(this.a=new FF(int,this,6,6)),Ove(this.a),!this.a&&(this.a=new FF(int,this,6,6)),void Qz(this.a,LL(t,15))}Qie(this,e,t)},_xe.uh=function(){return Hwe(),$tt},_xe.wh=function(e){switch(e){case 3:return void yhe(this,null);case 4:return!this.b&&(this.b=new nR(nnt,this,4,7)),void Ove(this.b);case 5:return!this.c&&(this.c=new nR(nnt,this,5,8)),void Ove(this.c);case 6:return!this.a&&(this.a=new FF(int,this,6,6)),void Ove(this.a)}G6(this,e)},_xe.Ib=function(){return Jbe(this)};eB(QOe,"ElkEdgeImpl",349);Kce(432,1957,{104:1,408:1,201:1,432:1,94:1,91:1,89:1,55:1,107:1,48:1,96:1,113:1,116:1},Zs),_xe.Lg=function(e){return nie(this,e)},_xe.Wg=function(e,t,n){switch(e){case 1:return this.j;case 2:return this.k;case 3:return this.b;case 4:return this.c;case 5:return!this.a&&(this.a=new hA(Jtt,this,5)),this.a;case 6:return HH(this);case 7:return t?vne(this):this.i;case 8:return t?bne(this):this.f;case 9:return!this.g&&(this.g=new nR(int,this,9,10)),this.g;case 10:return!this.e&&(this.e=new nR(int,this,10,9)),this.e;case 11:return this.d}return Ore(this,e,t,n)},_xe.bh=function(e,t,n){var r;switch(t){case 6:return this.Cb&&(n=(r=this.Db>>16)>=0?nie(this,n):this.Cb.dh(this,-1-r,null,n)),nD(this,LL(e,80),n);case 9:return!this.g&&(this.g=new nR(int,this,9,10)),C7(this.g,e,n);case 10:return!this.e&&(this.e=new nR(int,this,10,9)),C7(this.e,e,n)}return LL(VQ(LL(n3(this,16),26)||(Hwe(),Htt),t),65).Ij().Lj(this,Aee(this),t-Hz((Hwe(),Htt)),e,n)},_xe.eh=function(e,t,n){switch(t){case 5:return!this.a&&(this.a=new hA(Jtt,this,5)),Nte(this.a,e,n);case 6:return nD(this,null,n);case 9:return!this.g&&(this.g=new nR(int,this,9,10)),Nte(this.g,e,n);case 10:return!this.e&&(this.e=new nR(int,this,10,9)),Nte(this.e,e,n)}return hse(this,e,t,n)},_xe.gh=function(e){switch(e){case 1:return 0!=this.j;case 2:return 0!=this.k;case 3:return 0!=this.b;case 4:return 0!=this.c;case 5:return!!this.a&&0!=this.a.i;case 6:return!!HH(this);case 7:return!!this.i;case 8:return!!this.f;case 9:return!!this.g&&0!=this.g.i;case 10:return!!this.e&&0!=this.e.i;case 11:return null!=this.d}return yW(this,e)},_xe.nh=function(e,t){switch(e){case 1:return void XJ(this,Oy($O(t)));case 2:return void QJ(this,Oy($O(t)));case 3:return void KJ(this,Oy($O(t)));case 4:return void ZJ(this,Oy($O(t)));case 5:return!this.a&&(this.a=new hA(Jtt,this,5)),Ove(this.a),!this.a&&(this.a=new hA(Jtt,this,5)),void Qz(this.a,LL(t,15));case 6:return void vhe(this,LL(t,80));case 7:return void V0(this,LL(t,93));case 8:return void B0(this,LL(t,93));case 9:return!this.g&&(this.g=new nR(int,this,9,10)),Ove(this.g),!this.g&&(this.g=new nR(int,this,9,10)),void Qz(this.g,LL(t,15));case 10:return!this.e&&(this.e=new nR(int,this,10,9)),Ove(this.e),!this.e&&(this.e=new nR(int,this,10,9)),void Qz(this.e,LL(t,15));case 11:return void n1(this,HO(t))}f4(this,e,t)},_xe.uh=function(){return Hwe(),Htt},_xe.wh=function(e){switch(e){case 1:return void XJ(this,0);case 2:return void QJ(this,0);case 3:return void KJ(this,0);case 4:return void ZJ(this,0);case 5:return!this.a&&(this.a=new hA(Jtt,this,5)),void Ove(this.a);case 6:return void vhe(this,null);case 7:return void V0(this,null);case 8:return void B0(this,null);case 9:return!this.g&&(this.g=new nR(int,this,9,10)),void Ove(this.g);case 10:return!this.e&&(this.e=new nR(int,this,10,9)),void Ove(this.e);case 11:return void n1(this,null)}n5(this,e)},_xe.Ib=function(){return Ece(this)},_xe.b=0,_xe.c=0,_xe.d=null,_xe.j=0,_xe.k=0;eB(QOe,"ElkEdgeSectionImpl",432);Kce(150,116,{104:1,91:1,89:1,147:1,55:1,107:1,48:1,96:1,150:1,113:1,116:1}),_xe.Wg=function(e,t,n){return 0==e?(!this.Ab&&(this.Ab=new FF(srt,this,0,3)),this.Ab):hZ(this,e-Hz(this.uh()),VQ(LL(n3(this,16),26)||this.uh(),e),t,n)},_xe.bh=function(e,t,n){return 0==t?(!this.Ab&&(this.Ab=new FF(srt,this,0,3)),C7(this.Ab,e,n)):LL(VQ(LL(n3(this,16),26)||this.uh(),t),65).Ij().Lj(this,Aee(this),t-Hz(this.uh()),e,n)},_xe.eh=function(e,t,n){return 0==t?(!this.Ab&&(this.Ab=new FF(srt,this,0,3)),Nte(this.Ab,e,n)):LL(VQ(LL(n3(this,16),26)||this.uh(),t),65).Ij().Mj(this,Aee(this),t-Hz(this.uh()),e,n)},_xe.gh=function(e){return 0==e?!!this.Ab&&0!=this.Ab.i:QU(this,e-Hz(this.uh()),VQ(LL(n3(this,16),26)||this.uh(),e))},_xe.jh=function(e){return swe(this,e)},_xe.nh=function(e,t){if(0===e)return!this.Ab&&(this.Ab=new FF(srt,this,0,3)),Ove(this.Ab),!this.Ab&&(this.Ab=new FF(srt,this,0,3)),void Qz(this.Ab,LL(t,15));C9(this,e-Hz(this.uh()),VQ(LL(n3(this,16),26)||this.uh(),e),t)},_xe.ph=function(e){Tee(this,128,e)},_xe.uh=function(){return bxe(),Nrt},_xe.wh=function(e){if(0===e)return!this.Ab&&(this.Ab=new FF(srt,this,0,3)),void Ove(this.Ab);e8(this,e-Hz(this.uh()),VQ(LL(n3(this,16),26)||this.uh(),e))},_xe.Bh=function(){this.Bb|=1},_xe.Ch=function(e){return ime(this,e)},_xe.Bb=0;var dnt,pnt,gnt;eB(ZOe,"EModelElementImpl",150);Kce(696,150,{104:1,91:1,89:1,465:1,147:1,55:1,107:1,48:1,96:1,150:1,113:1,116:1},Mf),_xe.Dh=function(e,t){return _ye(this,e,t)},_xe.Eh=function(e){var t,n,r,i;if(this.a!=mJ(e)||0!=(256&e.Bb))throw Jm(new Ny(iDe+e.zb+tDe));for(n=K$(e);0!=pq(n.a).i;){if(ire(t=LL(Jve(n,0,BT(i=LL(sJ(pq(n.a),0),86).c,87)?LL(i,26):(bxe(),Frt)),26)))return LL(r=mJ(t).Ih().Eh(t),48).oh(e),r;n=K$(t)}return"java.util.Map$Entry"==(null!=e.D?e.D:e.B)?new RN(e):new nN(e)},_xe.Fh=function(e,t){return Xwe(this,e,t)},_xe.Wg=function(e,t,n){switch(e){case 0:return!this.Ab&&(this.Ab=new FF(srt,this,0,3)),this.Ab;case 1:return this.a}return hZ(this,e-Hz((bxe(),Drt)),VQ(LL(n3(this,16),26)||Drt,e),t,n)},_xe.bh=function(e,t,n){switch(t){case 0:return!this.Ab&&(this.Ab=new FF(srt,this,0,3)),C7(this.Ab,e,n);case 1:return this.a&&(n=LL(this.a,48).dh(this,4,lnt,n)),O6(this,LL(e,234),n)}return LL(VQ(LL(n3(this,16),26)||(bxe(),Drt),t),65).Ij().Lj(this,Aee(this),t-Hz((bxe(),Drt)),e,n)},_xe.eh=function(e,t,n){switch(t){case 0:return!this.Ab&&(this.Ab=new FF(srt,this,0,3)),Nte(this.Ab,e,n);case 1:return O6(this,null,n)}return LL(VQ(LL(n3(this,16),26)||(bxe(),Drt),t),65).Ij().Mj(this,Aee(this),t-Hz((bxe(),Drt)),e,n)},_xe.gh=function(e){switch(e){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return!!this.a}return QU(this,e-Hz((bxe(),Drt)),VQ(LL(n3(this,16),26)||Drt,e))},_xe.nh=function(e,t){switch(e){case 0:return!this.Ab&&(this.Ab=new FF(srt,this,0,3)),Ove(this.Ab),!this.Ab&&(this.Ab=new FF(srt,this,0,3)),void Qz(this.Ab,LL(t,15));case 1:return void qae(this,LL(t,234))}C9(this,e-Hz((bxe(),Drt)),VQ(LL(n3(this,16),26)||Drt,e),t)},_xe.uh=function(){return bxe(),Drt},_xe.wh=function(e){switch(e){case 0:return!this.Ab&&(this.Ab=new FF(srt,this,0,3)),void Ove(this.Ab);case 1:return void qae(this,null)}e8(this,e-Hz((bxe(),Drt)),VQ(LL(n3(this,16),26)||Drt,e))};eB(ZOe,"EFactoryImpl",696);Kce(1012,696,{104:1,1983:1,91:1,89:1,465:1,147:1,55:1,107:1,48:1,96:1,150:1,113:1,116:1},rl),_xe.Dh=function(e,t){switch(e.tj()){case 12:return LL(t,146).og();case 13:return P9(t);default:throw Jm(new Ny(eDe+e.ne()+tDe))}},_xe.Eh=function(e){var t;switch(-1==e.G&&(e.G=(t=mJ(e))?ene(t.Hh(),e):-1),e.G){case 4:return new il;case 6:return new vv;case 7:return new yv;case 8:return new Qs;case 9:return new el;case 10:return new Zs;case 11:return new ol;default:throw Jm(new Ny(iDe+e.zb+tDe))}},_xe.Fh=function(e,t){switch(e.tj()){case 13:case 12:return null;default:throw Jm(new Ny(eDe+e.ne()+tDe))}};eB(QOe,"ElkGraphFactoryImpl",1012);Kce(431,150,{104:1,91:1,89:1,147:1,191:1,55:1,107:1,48:1,96:1,150:1,113:1,116:1}),_xe.Rg=function(){var e;return null==(e=dH(Kme(LL(n3(this,16),26)||this.uh())))?(qS(),qS(),iit):new hO(this,e)},_xe.Wg=function(e,t,n){switch(e){case 0:return!this.Ab&&(this.Ab=new FF(srt,this,0,3)),this.Ab;case 1:return this.ne()}return hZ(this,e-Hz(this.uh()),VQ(LL(n3(this,16),26)||this.uh(),e),t,n)},_xe.gh=function(e){switch(e){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb}return QU(this,e-Hz(this.uh()),VQ(LL(n3(this,16),26)||this.uh(),e))},_xe.nh=function(e,t){switch(e){case 0:return!this.Ab&&(this.Ab=new FF(srt,this,0,3)),Ove(this.Ab),!this.Ab&&(this.Ab=new FF(srt,this,0,3)),void Qz(this.Ab,LL(t,15));case 1:return void this.Gh(HO(t))}C9(this,e-Hz(this.uh()),VQ(LL(n3(this,16),26)||this.uh(),e),t)},_xe.uh=function(){return bxe(),jrt},_xe.wh=function(e){switch(e){case 0:return!this.Ab&&(this.Ab=new FF(srt,this,0,3)),void Ove(this.Ab);case 1:return void this.Gh(null)}e8(this,e-Hz(this.uh()),VQ(LL(n3(this,16),26)||this.uh(),e))},_xe.ne=function(){return this.zb},_xe.Gh=function(e){O1(this,e)},_xe.Ib=function(){return Z6(this)},_xe.zb=null;var mnt;eB(ZOe,"ENamedElementImpl",431);Kce(179,431,{104:1,91:1,89:1,147:1,191:1,55:1,234:1,107:1,48:1,96:1,150:1,179:1,113:1,116:1,663:1},C$),_xe.Lg=function(e){return aie(this,e)},_xe.Wg=function(e,t,n){switch(e){case 0:return!this.Ab&&(this.Ab=new FF(srt,this,0,3)),this.Ab;case 1:return this.zb;case 2:return this.yb;case 3:return this.xb;case 4:return this.sb;case 5:return!this.rb&&(this.rb=new $F(this,frt,this)),this.rb;case 6:return!this.vb&&(this.vb=new GD(lnt,this,6,7)),this.vb;case 7:return t?this.Db>>16==7?LL(this.Cb,234):null:eG(this)}return hZ(this,e-Hz((bxe(),Vrt)),VQ(LL(n3(this,16),26)||Vrt,e),t,n)},_xe.bh=function(e,t,n){var r;switch(t){case 0:return!this.Ab&&(this.Ab=new FF(srt,this,0,3)),C7(this.Ab,e,n);case 4:return this.sb&&(n=LL(this.sb,48).dh(this,1,ant,n)),Q6(this,LL(e,465),n);case 5:return!this.rb&&(this.rb=new $F(this,frt,this)),C7(this.rb,e,n);case 6:return!this.vb&&(this.vb=new GD(lnt,this,6,7)),C7(this.vb,e,n);case 7:return this.Cb&&(n=(r=this.Db>>16)>=0?aie(this,n):this.Cb.dh(this,-1-r,null,n)),Jge(this,e,7,n)}return LL(VQ(LL(n3(this,16),26)||(bxe(),Vrt),t),65).Ij().Lj(this,Aee(this),t-Hz((bxe(),Vrt)),e,n)},_xe.eh=function(e,t,n){switch(t){case 0:return!this.Ab&&(this.Ab=new FF(srt,this,0,3)),Nte(this.Ab,e,n);case 4:return Q6(this,null,n);case 5:return!this.rb&&(this.rb=new $F(this,frt,this)),Nte(this.rb,e,n);case 6:return!this.vb&&(this.vb=new GD(lnt,this,6,7)),Nte(this.vb,e,n);case 7:return Jge(this,null,7,n)}return LL(VQ(LL(n3(this,16),26)||(bxe(),Vrt),t),65).Ij().Mj(this,Aee(this),t-Hz((bxe(),Vrt)),e,n)},_xe.gh=function(e){switch(e){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return null!=this.yb;case 3:return null!=this.xb;case 4:return!!this.sb;case 5:return!!this.rb&&0!=this.rb.i;case 6:return!!this.vb&&0!=this.vb.i;case 7:return!!eG(this)}return QU(this,e-Hz((bxe(),Vrt)),VQ(LL(n3(this,16),26)||Vrt,e))},_xe.jh=function(e){var t;return t=function(e,t){var n,r,i,o,a,s;if(!e.tb){for(!e.rb&&(e.rb=new $F(e,frt,e)),s=new oS((o=e.rb).i),i=new SA(o);i.e!=i.i.gc();)r=LL(Hee(i),138),(n=LL(null==(a=r.ne())?eue(s.f,null,r):f9(s.g,a,r),138))&&(null==a?eue(s.f,null,n):f9(s.g,a,n));e.tb=s}return LL(CH(e.tb,t),138)}(this,e),t||swe(this,e)},_xe.nh=function(e,t){switch(e){case 0:return!this.Ab&&(this.Ab=new FF(srt,this,0,3)),Ove(this.Ab),!this.Ab&&(this.Ab=new FF(srt,this,0,3)),void Qz(this.Ab,LL(t,15));case 1:return void O1(this,HO(t));case 2:return void R1(this,HO(t));case 3:return void D1(this,HO(t));case 4:return void dse(this,LL(t,465));case 5:return!this.rb&&(this.rb=new $F(this,frt,this)),Ove(this.rb),!this.rb&&(this.rb=new $F(this,frt,this)),void Qz(this.rb,LL(t,15));case 6:return!this.vb&&(this.vb=new GD(lnt,this,6,7)),Ove(this.vb),!this.vb&&(this.vb=new GD(lnt,this,6,7)),void Qz(this.vb,LL(t,15))}C9(this,e-Hz((bxe(),Vrt)),VQ(LL(n3(this,16),26)||Vrt,e),t)},_xe.qh=function(e){var t,n;if(e&&this.rb)for(n=new SA(this.rb);n.e!=n.i.gc();)BT(t=Hee(n),348)&&(LL(t,348).w=null);Tee(this,64,e)},_xe.uh=function(){return bxe(),Vrt},_xe.wh=function(e){switch(e){case 0:return!this.Ab&&(this.Ab=new FF(srt,this,0,3)),void Ove(this.Ab);case 1:return void O1(this,null);case 2:return void R1(this,null);case 3:return void D1(this,null);case 4:return void dse(this,null);case 5:return!this.rb&&(this.rb=new $F(this,frt,this)),void Ove(this.rb);case 6:return!this.vb&&(this.vb=new GD(lnt,this,6,7)),void Ove(this.vb)}e8(this,e-Hz((bxe(),Vrt)),VQ(LL(n3(this,16),26)||Vrt,e))},_xe.Bh=function(){Dre(this)},_xe.Hh=function(){return!this.rb&&(this.rb=new $F(this,frt,this)),this.rb},_xe.Ih=function(){return this.sb},_xe.Jh=function(){return this.ub},_xe.Kh=function(){return this.xb},_xe.Lh=function(){return this.yb},_xe.Mh=function(e){this.ub=e},_xe.Ib=function(){var e;return 0!=(64&this.Db)?Z6(this):((e=new XA(Z6(this))).a+=" (nsURI: ",HI(e,this.yb),e.a+=", nsPrefix: ",HI(e,this.xb),e.a+=")",e.a)},_xe.xb=null,_xe.yb=null;eB(ZOe,"EPackageImpl",179);Kce(549,179,{104:1,1985:1,549:1,91:1,89:1,147:1,191:1,55:1,234:1,107:1,48:1,96:1,150:1,179:1,113:1,116:1,663:1},Uce),_xe.q=!1,_xe.r=!1;var bnt=!1;eB(QOe,"ElkGraphPackageImpl",549);Kce(351,711,{104:1,408:1,160:1,137:1,464:1,351:1,94:1,91:1,89:1,55:1,107:1,48:1,96:1,113:1,116:1},il),_xe.Lg=function(e){return rie(this,e)},_xe.Wg=function(e,t,n){switch(e){case 7:return tG(this);case 8:return this.a}return O9(this,e,t,n)},_xe.bh=function(e,t,n){var r;return 7===t?(this.Cb&&(n=(r=this.Db>>16)>=0?rie(this,n):this.Cb.dh(this,-1-r,null,n)),Kj(this,LL(e,160),n)):cae(this,e,t,n)},_xe.eh=function(e,t,n){return 7==t?Kj(this,null,n):P3(this,e,t,n)},_xe.gh=function(e){switch(e){case 7:return!!tG(this);case 8:return!fR("",this.a)}return g7(this,e)},_xe.nh=function(e,t){switch(e){case 7:return void zhe(this,LL(t,160));case 8:return void $0(this,HO(t))}Jie(this,e,t)},_xe.uh=function(){return Hwe(),Wtt},_xe.wh=function(e){switch(e){case 7:return void zhe(this,null);case 8:return void $0(this,"")}m7(this,e)},_xe.Ib=function(){return ile(this)},_xe.a="";eB(QOe,"ElkLabelImpl",351);Kce(238,712,{104:1,408:1,93:1,160:1,34:1,464:1,238:1,94:1,91:1,89:1,55:1,107:1,48:1,96:1,113:1,116:1},vv),_xe.Lg=function(e){return mie(this,e)},_xe.Wg=function(e,t,n){switch(e){case 9:return!this.c&&(this.c=new FF(fnt,this,9,9)),this.c;case 10:return!this.a&&(this.a=new FF(cnt,this,10,11)),this.a;case 11:return rG(this);case 12:return!this.b&&(this.b=new FF(rnt,this,12,3)),this.b;case 13:return _P(),!this.a&&(this.a=new FF(cnt,this,10,11)),this.a.i>0}return Ane(this,e,t,n)},_xe.bh=function(e,t,n){var r;switch(t){case 9:return!this.c&&(this.c=new FF(fnt,this,9,9)),C7(this.c,e,n);case 10:return!this.a&&(this.a=new FF(cnt,this,10,11)),C7(this.a,e,n);case 11:return this.Cb&&(n=(r=this.Db>>16)>=0?mie(this,n):this.Cb.dh(this,-1-r,null,n)),$D(this,LL(e,34),n);case 12:return!this.b&&(this.b=new FF(rnt,this,12,3)),C7(this.b,e,n)}return jie(this,e,t,n)},_xe.eh=function(e,t,n){switch(t){case 9:return!this.c&&(this.c=new FF(fnt,this,9,9)),Nte(this.c,e,n);case 10:return!this.a&&(this.a=new FF(cnt,this,10,11)),Nte(this.a,e,n);case 11:return $D(this,null,n);case 12:return!this.b&&(this.b=new FF(rnt,this,12,3)),Nte(this.b,e,n)}return Fie(this,e,t,n)},_xe.gh=function(e){switch(e){case 9:return!!this.c&&0!=this.c.i;case 10:return!!this.a&&0!=this.a.i;case 11:return!!rG(this);case 12:return!!this.b&&0!=this.b.i;case 13:return!this.a&&(this.a=new FF(cnt,this,10,11)),this.a.i>0}return X5(this,e)},_xe.nh=function(e,t){switch(e){case 9:return!this.c&&(this.c=new FF(fnt,this,9,9)),Ove(this.c),!this.c&&(this.c=new FF(fnt,this,9,9)),void Qz(this.c,LL(t,15));case 10:return!this.a&&(this.a=new FF(cnt,this,10,11)),Ove(this.a),!this.a&&(this.a=new FF(cnt,this,10,11)),void Qz(this.a,LL(t,15));case 11:return void Ahe(this,LL(t,34));case 12:return!this.b&&(this.b=new FF(rnt,this,12,3)),Ove(this.b),!this.b&&(this.b=new FF(rnt,this,12,3)),void Qz(this.b,LL(t,15))}ufe(this,e,t)},_xe.uh=function(){return Hwe(),Utt},_xe.wh=function(e){switch(e){case 9:return!this.c&&(this.c=new FF(fnt,this,9,9)),void Ove(this.c);case 10:return!this.a&&(this.a=new FF(cnt,this,10,11)),void Ove(this.a);case 11:return void Ahe(this,null);case 12:return!this.b&&(this.b=new FF(rnt,this,12,3)),void Ove(this.b)}jte(this,e)},_xe.Ib=function(){return Qpe(this)};eB(QOe,"ElkNodeImpl",238);Kce(199,712,{104:1,408:1,93:1,160:1,122:1,464:1,199:1,94:1,91:1,89:1,55:1,107:1,48:1,96:1,113:1,116:1},yv),_xe.Lg=function(e){return iie(this,e)},_xe.Wg=function(e,t,n){return 9==e?$H(this):Ane(this,e,t,n)},_xe.bh=function(e,t,n){var r;return 9===t?(this.Cb&&(n=(r=this.Db>>16)>=0?iie(this,n):this.Cb.dh(this,-1-r,null,n)),rD(this,LL(e,34),n)):jie(this,e,t,n)},_xe.eh=function(e,t,n){return 9==t?rD(this,null,n):Fie(this,e,t,n)},_xe.gh=function(e){return 9==e?!!$H(this):X5(this,e)},_xe.nh=function(e,t){9!==e?ufe(this,e,t):whe(this,LL(t,34))},_xe.uh=function(){return Hwe(),qtt},_xe.wh=function(e){9!==e?jte(this,e):whe(this,null)},_xe.Ib=function(){return Jpe(this)};eB(QOe,"ElkPortImpl",199);var vnt=NN(CDe,"BasicEMap/Entry");Kce(1072,116,{104:1,43:1,91:1,89:1,133:1,55:1,107:1,48:1,96:1,113:1,116:1},ol),_xe.Fb=function(e){return this===e},_xe.ad=function(){return this.b},_xe.Hb=function(){return lP(this)},_xe.Ph=function(e){H0(this,LL(e,146))},_xe.Wg=function(e,t,n){switch(e){case 0:return this.b;case 1:return this.c}return Ute(this,e,t,n)},_xe.gh=function(e){switch(e){case 0:return!!this.b;case 1:return null!=this.c}return kte(this,e)},_xe.nh=function(e,t){switch(e){case 0:return void H0(this,LL(t,146));case 1:return void G0(this,t)}Vle(this,e,t)},_xe.uh=function(){return Hwe(),Xtt},_xe.wh=function(e){switch(e){case 0:return void H0(this,null);case 1:return void G0(this,null)}rle(this,e)},_xe.Nh=function(){var e;return-1==this.a&&(e=this.b,this.a=e?p4(e):0),this.a},_xe.bd=function(){return this.c},_xe.Oh=function(e){this.a=e},_xe.cd=function(e){var t;return t=this.c,G0(this,e),t},_xe.Ib=function(){var e;return 0!=(64&this.Db)?jfe(this):(UI(UI(UI(e=new pw,this.b?this.b.og():$xe),UEe),nP(this.c)),e.a)},_xe.a=-1,_xe.c=null;var ynt=eB(QOe,"ElkPropertyToValueMapEntryImpl",1072);Kce(964,1,{},al);eB(MDe,"JsonAdapter",964);Kce(208,59,B_e,Yy);eB(MDe,"JsonImportException",208);Kce(836,1,{},uie);eB(MDe,"JsonImporter",836);Kce(870,1,{},ZE);eB(MDe,"JsonImporter/lambda$0$Type",870);Kce(871,1,{},QE);eB(MDe,"JsonImporter/lambda$1$Type",871);Kce(879,1,{},$g);eB(MDe,"JsonImporter/lambda$10$Type",879);Kce(881,1,{},JE);eB(MDe,"JsonImporter/lambda$11$Type",881);Kce(882,1,{},eI);eB(MDe,"JsonImporter/lambda$12$Type",882);Kce(888,1,{},e$);eB(MDe,"JsonImporter/lambda$13$Type",888);Kce(887,1,{},t$);eB(MDe,"JsonImporter/lambda$14$Type",887);Kce(883,1,{},tI);eB(MDe,"JsonImporter/lambda$15$Type",883);Kce(884,1,{},nI);eB(MDe,"JsonImporter/lambda$16$Type",884);Kce(885,1,{},rI);eB(MDe,"JsonImporter/lambda$17$Type",885);Kce(886,1,{},iI);eB(MDe,"JsonImporter/lambda$18$Type",886);Kce(891,1,{},Hg);eB(MDe,"JsonImporter/lambda$19$Type",891);Kce(872,1,{},Gg);eB(MDe,"JsonImporter/lambda$2$Type",872);Kce(889,1,{},Wg);eB(MDe,"JsonImporter/lambda$20$Type",889);Kce(890,1,{},Ug);eB(MDe,"JsonImporter/lambda$21$Type",890);Kce(894,1,{},qg);eB(MDe,"JsonImporter/lambda$22$Type",894);Kce(892,1,{},Xg);eB(MDe,"JsonImporter/lambda$23$Type",892);Kce(893,1,{},Yg);eB(MDe,"JsonImporter/lambda$24$Type",893);Kce(896,1,{},Kg);eB(MDe,"JsonImporter/lambda$25$Type",896);Kce(895,1,{},Zg);eB(MDe,"JsonImporter/lambda$26$Type",895);Kce(897,1,c_e,oI),_xe.td=function(e){!function(e,t,n){var r,i;i=null,(r=xH(e,n))&&(i=cle(r)),ate(t,n,i)}(this.b,this.a,HO(e))};eB(MDe,"JsonImporter/lambda$27$Type",897);Kce(898,1,c_e,aI),_xe.td=function(e){!function(e,t,n){var r,i;i=null,(r=xH(e,n))&&(i=cle(r)),ate(t,n,i)}(this.b,this.a,HO(e))};eB(MDe,"JsonImporter/lambda$28$Type",898);Kce(899,1,{},sI);eB(MDe,"JsonImporter/lambda$29$Type",899);Kce(875,1,{},Qg);eB(MDe,"JsonImporter/lambda$3$Type",875);Kce(900,1,{},lI);eB(MDe,"JsonImporter/lambda$30$Type",900);Kce(901,1,{},Jg);eB(MDe,"JsonImporter/lambda$31$Type",901);Kce(902,1,{},em);eB(MDe,"JsonImporter/lambda$32$Type",902);Kce(903,1,{},tm);eB(MDe,"JsonImporter/lambda$33$Type",903);Kce(904,1,{},nm);eB(MDe,"JsonImporter/lambda$34$Type",904);Kce(838,1,{},rm);eB(MDe,"JsonImporter/lambda$35$Type",838);Kce(908,1,{},cL);eB(MDe,"JsonImporter/lambda$36$Type",908);Kce(905,1,c_e,im),_xe.td=function(e){!function(e,t){var n;x$(n=new uy,"x",t.a),x$(n,"y",t.b),SB(e,n)}(this.a,LL(e,463))};eB(MDe,"JsonImporter/lambda$37$Type",905);Kce(906,1,c_e,uI),_xe.td=function(e){!function(e,t,n){Uie(t,_le(e,n))}(this.a,this.b,LL(e,201))};eB(MDe,"JsonImporter/lambda$38$Type",906);Kce(907,1,c_e,cI),_xe.td=function(e){!function(e,t,n){Uie(t,_le(e,n))}(this.a,this.b,LL(e,201))};eB(MDe,"JsonImporter/lambda$39$Type",907);Kce(873,1,{},om);eB(MDe,"JsonImporter/lambda$4$Type",873);Kce(909,1,c_e,am),_xe.td=function(e){!function(e,t){var n;x$(n=new uy,"x",t.a),x$(n,"y",t.b),SB(e,n)}(this.a,LL(e,8))};eB(MDe,"JsonImporter/lambda$40$Type",909);Kce(874,1,{},sm);eB(MDe,"JsonImporter/lambda$5$Type",874);Kce(878,1,{},lm);eB(MDe,"JsonImporter/lambda$6$Type",878);Kce(876,1,{},um);eB(MDe,"JsonImporter/lambda$7$Type",876);Kce(877,1,{},cm);eB(MDe,"JsonImporter/lambda$8$Type",877);Kce(880,1,{},fm);eB(MDe,"JsonImporter/lambda$9$Type",880);Kce(954,1,c_e,hm),_xe.td=function(e){SB(this.a,new xz(HO(e)))};eB(MDe,"JsonMetaDataConverter/lambda$0$Type",954);Kce(955,1,c_e,dm),_xe.td=function(e){!function(e,t){SB(e,new xz(null!=t.f?t.f:""+t.g))}(this.a,LL(e,237))};eB(MDe,"JsonMetaDataConverter/lambda$1$Type",955);Kce(956,1,c_e,pm),_xe.td=function(e){!function(e,t){null!=t.c&&SB(e,new xz(t.c))}(this.a,LL(e,149))};eB(MDe,"JsonMetaDataConverter/lambda$2$Type",956);Kce(957,1,c_e,gm),_xe.td=function(e){!function(e,t){SB(e,new xz(null!=t.f?t.f:""+t.g))}(this.a,LL(e,175))};var wnt,xnt,_nt,Snt,knt,Cnt,Ent,Int;eB(MDe,"JsonMetaDataConverter/lambda$3$Type",957);Kce(237,22,{3:1,36:1,22:1,237:1},dI);var Mnt,Tnt=f0(ECe,"GraphFeature",237,Aje,(function(){return qce(),q3(lw(Tnt,1),A_e,237,0,[Int,knt,Cnt,Snt,Ent,xnt,wnt,_nt])}),(function(e){return qce(),fQ((G2(),Mnt),e)}));Kce(13,1,{36:1,146:1},bm,JO,uM,cT),_xe.wd=function(e){return function(e,t){return ZX(e.b,t.og())}(this,LL(e,146))},_xe.Fb=function(e){return nH(this,e)},_xe.rg=function(){return gte(this)},_xe.og=function(){return this.b},_xe.Hb=function(){return ane(this.b)},_xe.Ib=function(){return this.b};eB(ECe,"Property",13);Kce(797,1,_ke,mm),_xe.ue=function(e,t){return function(e,t,n){var r,i;return r=LL(t.Xe(e.a),36),i=LL(n.Xe(e.a),36),null!=r&&null!=i?b2(r,i):null!=r?-1:null!=i?1:0}(this,LL(e,94),LL(t,94))},_xe.Fb=function(e){return this===e},_xe.ve=function(){return new ad(this)};eB(ECe,"PropertyHolderComparator",797);var Ant=NN(CDe,"EList");Kce(66,51,{19:1,28:1,51:1,15:1,14:1,66:1,57:1}),_xe.Tc=function(e,t){J6(this,e,t)},_xe.Dc=function(e){return AK(this,e)},_xe.Uc=function(e,t){return t5(this,e,t)},_xe.Ec=function(e){return Qz(this,e)},_xe.Uh=function(){return new LP(this)},_xe.Vh=function(){return new NP(this)},_xe.Wh=function(e){return i0(this,e)},_xe.Xh=function(){return!0},_xe.Yh=function(e,t){},_xe.Zh=function(){},_xe.$h=function(e,t){uK(this,e,t)},_xe._h=function(e,t,n){},_xe.ai=function(e,t){},_xe.bi=function(e,t,n){},_xe.Fb=function(e){return xpe(this,e)},_xe.Hb=function(){return G3(this)},_xe.ci=function(){return!1},_xe.Ic=function(){return new SA(this)},_xe.Wc=function(){return new RP(this)},_xe.Xc=function(e){var t;if(t=this.gc(),e<0||e>t)throw Jm(new WD(e,t));return new Sz(this,e)},_xe.ei=function(e,t){this.di(e,this.Vc(t))},_xe.Kc=function(e){return nQ(this,e)},_xe.gi=function(e,t){return t},_xe.Zc=function(e,t){return Lte(this,e,t)},_xe.Ib=function(){return i7(this)},_xe.ii=function(){return!0},_xe.ji=function(e,t){return a4(this,t)};eB(CDe,"AbstractEList",66);Kce(60,66,UDe,sl,GQ,E2),_xe.Qh=function(e,t){return fae(this,e,t)},_xe.Rh=function(e){return Une(this,e)},_xe.Sh=function(e,t){t8(this,e,t)},_xe.Th=function(e){WX(this,e)},_xe.ki=function(e){return VK(this,e)},_xe.$b=function(){GX(this)},_xe.Fc=function(e){return qie(this,e)},_xe.Xb=function(e){return sJ(this,e)},_xe.li=function(e){var t,n,r;++this.j,e>(n=null==this.g?0:this.g.length)&&(r=this.g,(t=n+(n/2|0)+4)<e&&(t=e),this.g=this.mi(t),null!=r&&Xbe(r,0,this.g,0,this.i))},_xe.Vc=function(e){return Kre(this,e)},_xe.dc=function(){return 0==this.i},_xe.di=function(e,t){return que(this,e,t)},_xe.mi=function(e){return fK(pje,zxe,1,e,5,1)},_xe.fi=function(e){return this.g[e]},_xe.Yc=function(e){return Lre(this,e)},_xe.hi=function(e,t){return tQ(this,e,t)},_xe.gc=function(){return this.i},_xe.Nc=function(){return oq(this)},_xe.Oc=function(e){return _7(this,e)},_xe.i=0;var Pnt=eB(CDe,"BasicEList",60),Ont=NN(CDe,"TreeIterator");Kce(687,60,qDe),_xe.Nb=function(e){GF(this,e)},_xe.Ob=function(){return null!=this.g||this.c?null==this.g||0!=this.i&&LL(this.g[this.i-1],49).Ob():QH(this)},_xe.Pb=function(){return nhe(this)},_xe.Qb=function(){if(!this.e)throw Jm(new jy("There is no valid object to remove."));this.e.Qb()},_xe.c=!1;eB(CDe,"AbstractTreeIterator",687);Kce(672,687,qDe,KM),_xe.ni=function(e){var t;return BT(t=LL(e,55).Rg().Ic(),277)&&LL(t,277).Ik(new ll),t};eB(XDe,"ElkGraphUtil/PropertiesSkippingTreeIterator",672);Kce(958,1,{},ll);eB(XDe,"ElkGraphUtil/PropertiesSkippingTreeIterator/1",958);var Dnt,Rnt,Lnt=eB(XDe,"ElkReflect",null);Kce(868,1,VPe,ul),_xe.qg=function(e){return IG(),function(e){var t;return t=LL(Oz(e.b,e.b.length),9),new WR(e.a,t,e.c)}(LL(e,174))};var Nnt;eB(XDe,"ElkReflect/lambda$0$Type",868),NN(CDe,"ResourceLocator");Kce(1035,1,{});eB(CDe,"DelegatingResourceLocator",1035);Kce(1036,1035,{});eB("org.eclipse.emf.common","EMFPlugin",1036);var jnt=NN(LRe,"Adapter"),Fnt=NN(LRe,"Notification");Kce(1126,1,NRe),_xe.oi=function(){return this.d},_xe.pi=function(e){},_xe.qi=function(e){this.d=e},_xe.ri=function(e){this.d==e&&(this.d=null)},_xe.d=null;eB($Oe,"AdapterImpl",1126);Kce(1964,66,jRe),_xe.Qh=function(e,t){return d7(this,e,t)},_xe.Rh=function(e){var t,n,r;if(++this.j,e.dc())return!1;for(t=this.Qi(),r=e.Ic();r.Ob();)n=r.Pb(),this.Di(this.ji(t,n)),++t;return!0},_xe.Sh=function(e,t){KO(this,e,t)},_xe.Th=function(e){kB(this,e)},_xe.Bi=function(){return this.Ei()},_xe.$b=function(){ZO(this,this.Qi(),this.Ri())},_xe.Fc=function(e){return this.Gi(e)},_xe.Gc=function(e){return this.Hi(e)},_xe.Ci=function(e,t){this.Ni().em()},_xe.Di=function(e){this.Ni().em()},_xe.Ei=function(){return this.Ni()},_xe.Fi=function(){this.Ni().em()},_xe.Gi=function(e){return this.Ni().em()},_xe.Hi=function(e){return this.Ni().em()},_xe.Ii=function(e){return this.Ni().em()},_xe.Ji=function(e){return this.Ni().em()},_xe.Ki=function(){return this.Ni().em()},_xe.Li=function(e){return this.Ni().em()},_xe.Mi=function(){return this.Ni().em()},_xe.Oi=function(e){return this.Ni().em()},_xe.Pi=function(e,t){return this.Ni().em()},_xe.Qi=function(){return this.Ni().em()},_xe.Ri=function(){return this.Ni().em()},_xe.Si=function(e){return this.Ni().em()},_xe.Ti=function(){return this.Ni().em()},_xe.Fb=function(e){return this.Ii(e)},_xe.Xb=function(e){return this.gi(e,this.Ji(e))},_xe.Hb=function(){return this.Ki()},_xe.Vc=function(e){return this.Li(e)},_xe.dc=function(){return this.Mi()},_xe.di=function(e,t){return Tae(this,e,t)},_xe.fi=function(e){return this.Ji(e)},_xe.Yc=function(e){return LN(this,e)},_xe.Kc=function(e){var t;return(t=this.Vc(e))>=0&&(this.Yc(t),!0)},_xe.hi=function(e,t){return this.Pi(e,this.ji(e,t))},_xe.gc=function(){return this.Qi()},_xe.Nc=function(){return this.Ri()},_xe.Oc=function(e){return this.Si(e)},_xe.Ib=function(){return this.Ti()};eB(CDe,"DelegatingEList",1964);Kce(1965,1964,jRe),_xe.Qh=function(e,t){return Cme(this,e,t)},_xe.Rh=function(e){return this.Qh(this.Qi(),e)},_xe.Sh=function(e,t){Vce(this,e,t)},_xe.Th=function(e){xce(this,e)},_xe.Xh=function(){return!this.Yi()},_xe.$b=function(){jve(this)},_xe.Ui=function(e,t,n,r,i){return new U$(this,e,t,n,r,i)},_xe.Vi=function(e){Y2(this.vi(),e)},_xe.Wi=function(){return null},_xe.Xi=function(){return-1},_xe.vi=function(){return null},_xe.Yi=function(){return!1},_xe.Zi=function(e,t){return t},_xe.$i=function(e,t){return t},_xe._i=function(){return!1},_xe.aj=function(){return!this.Mi()},_xe.di=function(e,t){var n,r;return this._i()?(r=this.aj(),n=Tae(this,e,t),this.Vi(this.Ui(7,k8(t),n,e,r)),n):Tae(this,e,t)},_xe.Yc=function(e){var t,n,r,i;return this._i()?(n=null,r=this.aj(),t=this.Ui(4,i=LN(this,e),null,e,r),this.Yi()&&i?(n=this.$i(i,n))?(n.zi(t),n.Ai()):this.Vi(t):n?(n.zi(t),n.Ai()):this.Vi(t),i):(i=LN(this,e),this.Yi()&&i&&(n=this.$i(i,null))&&n.Ai(),i)},_xe.hi=function(e,t){return Eme(this,e,t)};eB($Oe,"DelegatingNotifyingListImpl",1965);Kce(142,1,FRe),_xe.zi=function(e){return Ioe(this,e)},_xe.Ai=function(){mZ(this)},_xe.si=function(){return this.d},_xe.Wi=function(){return null},_xe.bj=function(){return null},_xe.ti=function(e){return-1},_xe.ui=function(){return Ade(this)},_xe.vi=function(){return null},_xe.wi=function(){return Pde(this)},_xe.xi=function(){return this.o<0?this.o<-2?-2-this.o-1:-1:this.o},_xe.cj=function(){return!1},_xe.yi=function(e){var t,n,r,i,o,a,s,l;switch(this.d){case 1:case 2:switch(e.si()){case 1:case 2:if(OI(e.vi())===OI(this.vi())&&this.ti(null)==e.ti(null))return this.g=e.ui(),1==e.si()&&(this.d=1),!0}case 4:if(4===e.si())if(OI(e.vi())===OI(this.vi())&&this.ti(null)==e.ti(null))return a=Qve(this),o=this.o<0?this.o<-2?-2-this.o-1:-1:this.o,r=e.xi(),this.d=6,l=new GQ(2),o<=r?(AK(l,this.n),AK(l,e.wi()),this.g=q3(lw(nat,1),sSe,24,15,[this.o=o,r+1])):(AK(l,e.wi()),AK(l,this.n),this.g=q3(lw(nat,1),sSe,24,15,[this.o=r,o])),this.n=l,a||(this.o=-2-this.o-1),!0;break;case 6:if(4===e.si())if(OI(e.vi())===OI(this.vi())&&this.ti(null)==e.ti(null)){for(a=Qve(this),r=e.xi(),s=LL(this.g,47),n=fK(nat,sSe,24,s.length+1,15,1),t=0;t<s.length&&(i=s[t])<=r;)n[t++]=i,++r;for(LL(this.n,14).Tc(t,e.wi()),n[t]=r;++t<n.length;)n[t]=s[t-1];return this.g=n,a||(this.o=-2-n[0]),!0}}return!1},_xe.Ib=function(){var e,t,n;switch((n=new XA(Fx(this.bm)+"@"+(p4(this)>>>0).toString(16))).a+=" (eventType: ",this.d){case 1:n.a+="SET";break;case 2:n.a+="UNSET";break;case 3:n.a+="ADD";break;case 5:n.a+="ADD_MANY";break;case 4:n.a+="REMOVE";break;case 6:n.a+="REMOVE_MANY";break;case 7:n.a+="MOVE";break;case 8:n.a+="REMOVING_ADAPTER";break;case 9:n.a+="RESOLVE";break;default:Vx(n,this.d)}if(hge(this)&&(n.a+=", touch: true"),n.a+=", position: ",Vx(n,this.o<0?this.o<-2?-2-this.o-1:-1:this.o),n.a+=", notifier: ",$I(n,this.vi()),n.a+=", feature: ",$I(n,this.Wi()),n.a+=", oldValue: ",$I(n,Pde(this)),n.a+=", newValue: ",6==this.d&&BT(this.g,47)){for(t=LL(this.g,47),n.a+="[",e=0;e<t.length;)n.a+=t[e],++e<t.length&&(n.a+=jxe);n.a+="]"}else $I(n,Ade(this));return n.a+=", isTouch: ",$x(n,hge(this)),n.a+=", wasSet: ",$x(n,Qve(this)),n.a+=")",n.a},_xe.d=0,_xe.e=0,_xe.f=0,_xe.j=0,_xe.k=0,_xe.o=0,_xe.p=0;eB($Oe,"NotificationImpl",142);Kce(1140,142,FRe,U$),_xe.Wi=function(){return this.a.Wi()},_xe.ti=function(e){return this.a.Xi()},_xe.vi=function(){return this.a.vi()};eB($Oe,"DelegatingNotifyingListImpl/1",1140);Kce(241,60,UDe,cl,ux),_xe.Dc=function(e){return p7(this,LL(e,363))},_xe.zi=function(e){return p7(this,e)},_xe.Ai=function(){var e,t,n;for(e=0;e<this.i;++e)null!=(n=(t=LL(this.g[e],363)).vi())&&-1!=t.si()&&LL(n,91).Ig(t)},_xe.mi=function(e){return fK(Fnt,zxe,363,e,0,1)};eB($Oe,"NotificationChainImpl",241);Kce(1349,89,VOe),_xe.Fg=function(){return this.e},_xe.Hg=function(){return 0!=(1&this.f)},_xe.f=1;eB($Oe,"NotifierImpl",1349);Kce(1962,60,UDe),_xe.Qh=function(e,t){return Vme(this,e,t)},_xe.Rh=function(e){return this.Qh(this.i,e)},_xe.Sh=function(e,t){Oce(this,e,t)},_xe.Th=function(e){Bce(this,e)},_xe.Xh=function(){return!this.Yi()},_xe.$b=function(){Ove(this)},_xe.Ui=function(e,t,n,r,i){return new q$(this,e,t,n,r,i)},_xe.Vi=function(e){Y2(this.vi(),e)},_xe.Wi=function(){return null},_xe.Xi=function(){return-1},_xe.vi=function(){return null},_xe.Yi=function(){return!1},_xe.dj=function(){return!1},_xe.Zi=function(e,t){return t},_xe.$i=function(e,t){return t},_xe._i=function(){return!1},_xe.aj=function(){return 0!=this.i},_xe.di=function(e,t){return Y8(this,e,t)},_xe.Yc=function(e){return Yde(this,e)},_xe.hi=function(e,t){return dbe(this,e,t)},_xe.ej=function(e,t){return t},_xe.fj=function(e,t){return t},_xe.gj=function(e,t,n){return n};eB($Oe,"NotifyingListImpl",1962);Kce(1139,142,FRe,q$),_xe.Wi=function(){return this.a.Wi()},_xe.ti=function(e){return this.a.Xi()},_xe.vi=function(){return this.a.vi()};eB($Oe,"NotifyingListImpl/1",1139);Kce(959,60,UDe,sD),_xe.Fc=function(e){return this.i>10?(this.b&&this.c.j==this.a||(this.b=new YN(this),this.a=this.j),X_(this.b,e)):qie(this,e)},_xe.ii=function(){return!0},_xe.a=0;eB(CDe,"AbstractEList/1",959);Kce(295,73,PSe,WD);eB(CDe,"AbstractEList/BasicIndexOutOfBoundsException",295);Kce(39,1,qxe,SA),_xe.Nb=function(e){GF(this,e)},_xe.hj=function(){if(this.i.j!=this.f)throw Jm(new Sb)},_xe.ij=function(){return Hee(this)},_xe.Ob=function(){return this.e!=this.i.gc()},_xe.Pb=function(){return this.ij()},_xe.Qb=function(){zie(this)},_xe.e=0,_xe.f=0,_xe.g=-1;eB(CDe,"AbstractEList/EIterator",39);Kce(276,39,n_e,RP,Sz),_xe.Qb=function(){zie(this)},_xe.Rb=function(e){Y9(this,e)},_xe.jj=function(){var e;try{return e=this.d.Xb(--this.e),this.hj(),this.g=this.e,e}catch(e){throw BT(e=v3(e),73)?(this.hj(),Jm(new bb)):Jm(e)}},_xe.kj=function(e){Pne(this,e)},_xe.Sb=function(){return 0!=this.e},_xe.Tb=function(){return this.e},_xe.Ub=function(){return this.jj()},_xe.Vb=function(){return this.e-1},_xe.Wb=function(e){this.kj(e)};eB(CDe,"AbstractEList/EListIterator",276);Kce(341,39,qxe,LP),_xe.ij=function(){return Gee(this)},_xe.Qb=function(){throw Jm(new _b)};eB(CDe,"AbstractEList/NonResolvingEIterator",341);Kce(384,276,n_e,NP,yR),_xe.Rb=function(e){throw Jm(new _b)},_xe.ij=function(){var e;try{return e=this.c.fi(this.e),this.hj(),this.g=this.e++,e}catch(e){throw BT(e=v3(e),73)?(this.hj(),Jm(new bb)):Jm(e)}},_xe.jj=function(){var e;try{return e=this.c.fi(--this.e),this.hj(),this.g=this.e,e}catch(e){throw BT(e=v3(e),73)?(this.hj(),Jm(new bb)):Jm(e)}},_xe.Qb=function(){throw Jm(new _b)},_xe.Wb=function(e){throw Jm(new _b)};var znt;eB(CDe,"AbstractEList/NonResolvingEListIterator",384);Kce(1955,66,VRe),_xe.Qh=function(e,t){var n,r,i,o,a,s,l,u,c;if(0!=(r=t.gc())){for(n=E4(this,(u=null==(l=LL(n3(this.a,4),124))?0:l.length)+r),(c=u-e)>0&&Xbe(l,e,n,e+r,c),s=t.Ic(),o=0;o<r;++o)hT(n,e+o,a4(this,a=s.Pb()));for(ute(this,n),i=0;i<r;++i)a=n[e],this.Yh(e,a),++e;return!0}return++this.j,!1},_xe.Rh=function(e){var t,n,r,i,o,a,s,l,u;if(0!=(r=e.gc())){for(t=E4(this,u=(l=null==(n=LL(n3(this.a,4),124))?0:n.length)+r),s=e.Ic(),o=l;o<u;++o)hT(t,o,a4(this,a=s.Pb()));for(ute(this,t),i=l;i<u;++i)a=t[i],this.Yh(i,a);return!0}return++this.j,!1},_xe.Sh=function(e,t){var n,r,i,o;n=E4(this,(i=null==(r=LL(n3(this.a,4),124))?0:r.length)+1),o=a4(this,t),e!=i&&Xbe(r,e,n,e+1,i-e),nB(n,e,o),ute(this,n),this.Yh(e,t)},_xe.Th=function(e){var t,n,r;hT(t=E4(this,(r=null==(n=LL(n3(this.a,4),124))?0:n.length)+1),r,a4(this,e)),ute(this,t),this.Yh(r,e)},_xe.Uh=function(){return new kX(this)},_xe.Vh=function(){return new LF(this)},_xe.Wh=function(e){var t,n;if(n=null==(t=LL(n3(this.a,4),124))?0:t.length,e<0||e>n)throw Jm(new WD(e,n));return new GB(this,e)},_xe.$b=function(){var e,t;++this.j,t=null==(e=LL(n3(this.a,4),124))?0:e.length,ute(this,null),uK(this,t,e)},_xe.Fc=function(e){var t,n,r,i;if(null!=(t=LL(n3(this.a,4),124)))if(null!=e){for(r=0,i=(n=t).length;r<i;++r)if(l8(e,n[r]))return!0}else for(r=0,i=(n=t).length;r<i;++r)if(OI(n[r])===OI(e))return!0;return!1},_xe.Xb=function(e){var t,n;if(e>=(n=null==(t=LL(n3(this.a,4),124))?0:t.length))throw Jm(new WD(e,n));return t[e]},_xe.Vc=function(e){var t,n,r;if(null!=(t=LL(n3(this.a,4),124)))if(null!=e){for(n=0,r=t.length;n<r;++n)if(l8(e,t[n]))return n}else for(n=0,r=t.length;n<r;++n)if(OI(t[n])===OI(e))return n;return-1},_xe.dc=function(){return null==LL(n3(this.a,4),124)},_xe.Ic=function(){return new SX(this)},_xe.Wc=function(){return new RF(this)},_xe.Xc=function(e){var t,n;if(n=null==(t=LL(n3(this.a,4),124))?0:t.length,e<0||e>n)throw Jm(new WD(e,n));return new HB(this,e)},_xe.di=function(e,t){var n,r,i;if(e>=(i=null==(n=tee(this))?0:n.length))throw Jm(new Ey(HDe+e+GDe+i));if(t>=i)throw Jm(new Ey(WDe+t+GDe+i));return r=n[t],e!=t&&(e<t?Xbe(n,e,n,e+1,t-e):Xbe(n,t+1,n,t,e-t),nB(n,e,r),ute(this,n)),r},_xe.fi=function(e){return LL(n3(this.a,4),124)[e]},_xe.Yc=function(e){return function(e,t){var n,r,i,o,a;if(t>=(a=null==(n=LL(n3(e.a,4),124))?0:n.length))throw Jm(new WD(t,a));return i=n[t],1==a?r=null:(Xbe(n,0,r=fK(jnt,BRe,410,a-1,0,1),0,t),(o=a-t-1)>0&&Xbe(n,t+1,r,t,o)),ute(e,r),$le(e,t,i),i}(this,e)},_xe.hi=function(e,t){var n,r;return r=(n=tee(this))[e],hT(n,e,a4(this,t)),ute(this,n),r},_xe.gc=function(){var e;return null==(e=LL(n3(this.a,4),124))?0:e.length},_xe.Nc=function(){var e,t,n;return n=null==(e=LL(n3(this.a,4),124))?0:e.length,t=fK(jnt,BRe,410,n,0,1),n>0&&Xbe(e,0,t,0,n),t},_xe.Oc=function(e){var t,n;return(n=null==(t=LL(n3(this.a,4),124))?0:t.length)>0&&(e.length<n&&(e=s0(g4(e).c,n)),Xbe(t,0,e,0,n)),e.length>n&&nB(e,n,null),e};eB(CDe,"ArrayDelegatingEList",1955);Kce(1026,39,qxe,SX),_xe.hj=function(){if(this.b.j!=this.f||OI(LL(n3(this.b.a,4),124))!==OI(this.a))throw Jm(new Sb)},_xe.Qb=function(){zie(this),this.a=LL(n3(this.b.a,4),124)};eB(CDe,"ArrayDelegatingEList/EIterator",1026);Kce(698,276,n_e,RF,HB),_xe.hj=function(){if(this.b.j!=this.f||OI(LL(n3(this.b.a,4),124))!==OI(this.a))throw Jm(new Sb)},_xe.kj=function(e){Pne(this,e),this.a=LL(n3(this.b.a,4),124)},_xe.Qb=function(){zie(this),this.a=LL(n3(this.b.a,4),124)};eB(CDe,"ArrayDelegatingEList/EListIterator",698);Kce(1027,341,qxe,kX),_xe.hj=function(){if(this.b.j!=this.f||OI(LL(n3(this.b.a,4),124))!==OI(this.a))throw Jm(new Sb)};eB(CDe,"ArrayDelegatingEList/NonResolvingEIterator",1027);Kce(699,384,n_e,LF,GB),_xe.hj=function(){if(this.b.j!=this.f||OI(LL(n3(this.b.a,4),124))!==OI(this.a))throw Jm(new Sb)};eB(CDe,"ArrayDelegatingEList/NonResolvingEListIterator",699);Kce(598,295,PSe,cM);eB(CDe,"BasicEList/BasicIndexOutOfBoundsException",598);Kce(688,60,UDe,SI),_xe.Tc=function(e,t){throw Jm(new _b)},_xe.Dc=function(e){throw Jm(new _b)},_xe.Uc=function(e,t){throw Jm(new _b)},_xe.Ec=function(e){throw Jm(new _b)},_xe.$b=function(){throw Jm(new _b)},_xe.li=function(e){throw Jm(new _b)},_xe.Ic=function(){return this.Uh()},_xe.Wc=function(){return this.Vh()},_xe.Xc=function(e){return this.Wh(e)},_xe.di=function(e,t){throw Jm(new _b)},_xe.ei=function(e,t){throw Jm(new _b)},_xe.Yc=function(e){throw Jm(new _b)},_xe.Kc=function(e){throw Jm(new _b)},_xe.Zc=function(e,t){throw Jm(new _b)};eB(CDe,"BasicEList/UnmodifiableEList",688);Kce(697,1,{3:1,19:1,15:1,14:1,57:1,580:1}),_xe.Tc=function(e,t){!function(e,t,n){e.c.Tc(t,LL(n,133))}(this,e,LL(t,43))},_xe.Dc=function(e){return function(e,t){return e.c.Dc(LL(t,133))}(this,LL(e,43))},_xe.Hc=function(e){yX(this,e)},_xe.Xb=function(e){return LL(sJ(this.c,e),133)},_xe.di=function(e,t){return LL(this.c.di(e,t),43)},_xe.ei=function(e,t){!function(e,t,n){e.c.ei(t,LL(n,133))}(this,e,LL(t,43))},_xe.Jc=function(){return new cj(null,new ZG(this,16))},_xe.Yc=function(e){return LL(this.c.Yc(e),43)},_xe.Zc=function(e,t){return function(e,t,n){return LL(e.c.Zc(t,LL(n,133)),43)}(this,e,LL(t,43))},_xe.$c=function(e){C1(this,e)},_xe.Lc=function(){return new ZG(this,16)},_xe.Mc=function(){return new cj(null,new ZG(this,16))},_xe.Uc=function(e,t){return this.c.Uc(e,t)},_xe.Ec=function(e){return this.c.Ec(e)},_xe.$b=function(){this.c.$b()},_xe.Fc=function(e){return this.c.Fc(e)},_xe.Gc=function(e){return N3(this.c,e)},_xe.lj=function(){var e,t;if(null==this.d){for(this.d=fK(Pnt,$Re,60,2*this.f+1,0,1),t=this.e,this.f=0,e=this.c.Ic();e.e!=e.i.gc();)wne(this,LL(e.ij(),133));this.e=t}},_xe.Fb=function(e){return TR(this,e)},_xe.Hb=function(){return G3(this.c)},_xe.Vc=function(e){return this.c.Vc(e)},_xe.mj=function(){this.c=new vm(this)},_xe.dc=function(){return 0==this.f},_xe.Ic=function(){return this.c.Ic()},_xe.Wc=function(){return this.c.Wc()},_xe.Xc=function(e){return this.c.Xc(e)},_xe.nj=function(){return lK(this)},_xe.oj=function(e,t,n){return new fL(e,t,n)},_xe.pj=function(){return new fl},_xe.Kc=function(e){return _0(this,e)},_xe.gc=function(){return this.f},_xe._c=function(e,t){return new KG(this.c,e,t)},_xe.Nc=function(){return this.c.Nc()},_xe.Oc=function(e){return this.c.Oc(e)},_xe.Ib=function(){return i7(this.c)},_xe.e=0,_xe.f=0;eB(CDe,"BasicEMap",697);Kce(1021,60,UDe,vm),_xe.Yh=function(e,t){!function(e,t){wne(e.a,t)}(this,LL(t,133))},_xe._h=function(e,t,n){++(this,LL(t,133),this).a.e},_xe.ai=function(e,t){!function(e,t){X8(e.a,t)}(this,LL(t,133))},_xe.bi=function(e,t,n){!function(e,t,n){X8(e.a,n),wne(e.a,t)}(this,LL(t,133),LL(n,133))},_xe.$h=function(e,t){i3(this.a)};eB(CDe,"BasicEMap/1",1021);Kce(1022,60,UDe,fl),_xe.mi=function(e){return fK(Bnt,HRe,602,e,0,1)};eB(CDe,"BasicEMap/2",1022);Kce(1023,Zxe,Qxe,ym),_xe.$b=function(){this.a.c.$b()},_xe.Fc=function(e){return w7(this.a,e)},_xe.Ic=function(){return 0==this.a.f?(IO(),Vnt.a):new cx(this.a)},_xe.Kc=function(e){var t;return t=this.a.f,uee(this.a,e),this.a.f!=t},_xe.gc=function(){return this.a.f};eB(CDe,"BasicEMap/3",1023);Kce(GRe,28,Kxe,wm),_xe.$b=function(){this.a.c.$b()},_xe.Fc=function(e){return _pe(this.a,e)},_xe.Ic=function(){return 0==this.a.f?(IO(),Vnt.a):new fx(this.a)},_xe.gc=function(){return this.a.f};eB(CDe,"BasicEMap/4",GRe);Kce(1025,Zxe,Qxe,xm),_xe.$b=function(){this.a.c.$b()},_xe.Fc=function(e){var t,n,r,i,o,a,s,l,u;if(this.a.f>0&&BT(e,43)&&(this.a.lj(),i=null==(s=(l=LL(e,43)).ad())?0:p4(s),o=aD(this.a,i),t=this.a.d[o]))for(n=LL(t.g,364),u=t.i,a=0;a<u;++a)if((r=n[a]).Nh()==i&&r.Fb(l))return!0;return!1},_xe.Ic=function(){return 0==this.a.f?(IO(),Vnt.a):new a$(this.a)},_xe.Kc=function(e){return afe(this,e)},_xe.gc=function(){return this.a.f};eB(CDe,"BasicEMap/5",1025);Kce(603,1,qxe,a$),_xe.Nb=function(e){GF(this,e)},_xe.Ob=function(){return-1!=this.b},_xe.Pb=function(){var e;if(this.f.e!=this.c)throw Jm(new Sb);if(-1==this.b)throw Jm(new bb);return this.d=this.a,this.e=this.b,Die(this),e=LL(this.f.d[this.d].g[this.e],133),this.qj(e)},_xe.Qb=function(){if(this.f.e!=this.c)throw Jm(new Sb);if(-1==this.e)throw Jm(new wb);this.f.c.Kc(sJ(this.f.d[this.d],this.e)),this.c=this.f.e,this.e=-1,this.a==this.d&&-1!=this.b&&--this.b},_xe.qj=function(e){return e},_xe.a=0,_xe.b=-1,_xe.c=0,_xe.d=0,_xe.e=0;eB(CDe,"BasicEMap/BasicEMapIterator",603);Kce(1019,603,qxe,cx),_xe.qj=function(e){return e.ad()};eB(CDe,"BasicEMap/BasicEMapKeyIterator",1019);Kce(1020,603,qxe,fx),_xe.qj=function(e){return e.bd()};eB(CDe,"BasicEMap/BasicEMapValueIterator",1020);Kce(1018,1,Yxe,_m),_xe.uc=function(e){S2(this,e)},_xe.wc=function(e,t,n){return c9(this,e,t,n)},_xe.$b=function(){this.a.c.$b()},_xe._b=function(e){return pI(this,e)},_xe.sc=function(e){return _pe(this.a,e)},_xe.tc=function(){return!(e=this.a).g&&(e.g=new nl),!e.g.a&&(e.g.a=new xm(e)),e.g.a;var e},_xe.Fb=function(e){return TR(this.a,e)},_xe.vc=function(e){return E7(this.a,e)},_xe.Hb=function(){return G3(this.a.c)},_xe.dc=function(){return 0==this.a.f},_xe.ec=function(){return!(e=this.a).g&&(e.g=new nl),!e.g.b&&(e.g.b=new ym(e)),e.g.b;var e},_xe.xc=function(e,t){return Bie(this.a,e,t)},_xe.zc=function(e){return uee(this.a,e)},_xe.gc=function(){return this.a.f},_xe.Ib=function(){return i7(this.a.c)},_xe.Ac=function(){return!(e=this.a).g&&(e.g=new nl),!e.g.d&&(e.g.d=new wm(e)),e.g.d;var e};eB(CDe,"BasicEMap/DelegatingMap",1018);Kce(602,1,{43:1,133:1,602:1},fL),_xe.Fb=function(e){var t;return!!BT(e,43)&&(t=LL(e,43),(null!=this.b?l8(this.b,t.ad()):OI(this.b)===OI(t.ad()))&&(null!=this.c?l8(this.c,t.bd()):OI(this.c)===OI(t.bd())))},_xe.Nh=function(){return this.a},_xe.ad=function(){return this.b},_xe.bd=function(){return this.c},_xe.Hb=function(){return this.a^(null==this.c?0:p4(this.c))},_xe.Oh=function(e){this.a=e},_xe.Ph=function(e){throw Jm(new db)},_xe.cd=function(e){var t;return t=this.c,this.c=e,t},_xe.Ib=function(){return this.b+"->"+this.c},_xe.a=0;var Bnt=eB(CDe,"BasicEMap/EntryImpl",602);Kce(531,1,{},nl);var Vnt;eB(CDe,"BasicEMap/View",531);Kce(751,1,{}),_xe.Fb=function(e){return cfe((v$(),XFe),e)},_xe.Hb=function(){return J5((v$(),XFe))},_xe.Ib=function(){return Wae((v$(),XFe))};eB(CDe,"ECollections/BasicEmptyUnmodifiableEList",751);Kce(1283,1,n_e,hl),_xe.Nb=function(e){GF(this,e)},_xe.Rb=function(e){throw Jm(new _b)},_xe.Ob=function(){return!1},_xe.Sb=function(){return!1},_xe.Pb=function(){throw Jm(new bb)},_xe.Tb=function(){return 0},_xe.Ub=function(){throw Jm(new bb)},_xe.Vb=function(){return-1},_xe.Qb=function(){throw Jm(new _b)},_xe.Wb=function(e){throw Jm(new _b)};eB(CDe,"ECollections/BasicEmptyUnmodifiableEList/1",1283);Kce(1281,751,{19:1,15:1,14:1,57:1},wv),_xe.Tc=function(e,t){dx()},_xe.Dc=function(e){return px()},_xe.Uc=function(e,t){return gx()},_xe.Ec=function(e){return mx()},_xe.$b=function(){bx()},_xe.Fc=function(e){return!1},_xe.Gc=function(e){return!1},_xe.Hc=function(e){yX(this,e)},_xe.Xb=function(e){return XI((v$(),e)),null},_xe.Vc=function(e){return-1},_xe.dc=function(){return!0},_xe.Ic=function(){return this.a},_xe.Wc=function(){return this.a},_xe.Xc=function(e){return this.a},_xe.di=function(e,t){return vx()},_xe.ei=function(e,t){yx()},_xe.Jc=function(){return new cj(null,new ZG(this,16))},_xe.Yc=function(e){return wx()},_xe.Kc=function(e){return xx()},_xe.Zc=function(e,t){return _x()},_xe.gc=function(){return 0},_xe.$c=function(e){C1(this,e)},_xe.Lc=function(){return new ZG(this,16)},_xe.Mc=function(){return new cj(null,new ZG(this,16))},_xe._c=function(e,t){return v$(),new KG(XFe,e,t)},_xe.Nc=function(){return dF((v$(),XFe))},_xe.Oc=function(e){return v$(),Qne(XFe,e)};eB(CDe,"ECollections/EmptyUnmodifiableEList",1281);Kce(1282,751,{19:1,15:1,14:1,57:1,580:1},xv),_xe.Tc=function(e,t){dx()},_xe.Dc=function(e){return px()},_xe.Uc=function(e,t){return gx()},_xe.Ec=function(e){return mx()},_xe.$b=function(){bx()},_xe.Fc=function(e){return!1},_xe.Gc=function(e){return!1},_xe.Hc=function(e){yX(this,e)},_xe.Xb=function(e){return XI((v$(),e)),null},_xe.Vc=function(e){return-1},_xe.dc=function(){return!0},_xe.Ic=function(){return this.a},_xe.Wc=function(){return this.a},_xe.Xc=function(e){return this.a},_xe.di=function(e,t){return vx()},_xe.ei=function(e,t){yx()},_xe.Jc=function(){return new cj(null,new ZG(this,16))},_xe.Yc=function(e){return wx()},_xe.Kc=function(e){return xx()},_xe.Zc=function(e,t){return _x()},_xe.gc=function(){return 0},_xe.$c=function(e){C1(this,e)},_xe.Lc=function(){return new ZG(this,16)},_xe.Mc=function(){return new cj(null,new ZG(this,16))},_xe._c=function(e,t){return v$(),new KG(XFe,e,t)},_xe.Nc=function(){return dF((v$(),XFe))},_xe.Oc=function(e){return v$(),Qne(XFe,e)},_xe.nj=function(){return v$(),v$(),YFe};eB(CDe,"ECollections/EmptyUnmodifiableEMap",1282);var $nt,Hnt=NN(CDe,"Enumerator");Kce(279,1,{279:1},Ape),_xe.Fb=function(e){var t;return this===e||!!BT(e,279)&&(t=LL(e,279),this.f==t.f&&function(e,t){return null==e?null==t:Oee(e,t)}(this.i,t.i)&&wj(this.a,0!=(256&this.f)?0!=(256&t.f)?t.a:null:0!=(256&t.f)?null:t.a)&&wj(this.d,t.d)&&wj(this.g,t.g)&&wj(this.e,t.e)&&function(e,t){var n,r;if(e.j.length!=t.j.length)return!1;for(n=0,r=e.j.length;n<r;n++)if(!fR(e.j[n],t.j[n]))return!1;return!0}(this,t))},_xe.Hb=function(){return this.f},_xe.Ib=function(){return eme(this)},_xe.f=0;var Gnt,Wnt,Unt,qnt=0,Xnt=0,Ynt=0,Knt=0,Znt=0,Qnt=0,Jnt=0,ert=0,trt=0,nrt=0,rrt=0,irt=0,ort=0;eB(CDe,"URI",279);Kce(1071,44,QSe,_v),_xe.xc=function(e,t){return LL(vG(this,HO(e),LL(t,279)),279)};eB(CDe,"URI/URICache",1071);Kce(489,60,UDe,dl,pj),_xe.ci=function(){return!0};eB(CDe,"UniqueEList",489);Kce(572,59,B_e,DZ);eB(CDe,"WrappedException",572);var art,srt=NN(MOe,qRe),lrt=NN(MOe,XRe),urt=NN(MOe,YRe),crt=NN(MOe,KRe),frt=NN(MOe,ZRe),hrt=NN(MOe,"EClass"),drt=NN(MOe,"EDataType");Kce(1156,44,QSe,Sv),_xe.vc=function(e){return LI(e)?CH(this,e):PI(rH(this.f,e))};eB(MOe,"EDataType/Internal/ConversionDelegate/Factory/Registry/Impl",1156);var prt,grt=NN(MOe,"EEnum"),mrt=NN(MOe,QRe),brt=NN(MOe,JRe),vrt=NN(MOe,eLe),yrt=NN(MOe,tLe),wrt=NN(MOe,nLe);Kce(1017,1,{},pl),_xe.Ib=function(){return"NIL"};var xrt;eB(MOe,"EStructuralFeature/Internal/DynamicValueHolder/1",1017);Kce(1016,44,QSe,kv),_xe.vc=function(e){return LI(e)?CH(this,e):PI(rH(this.f,e))};eB(MOe,"EStructuralFeature/Internal/SettingDelegate/Factory/Registry/Impl",1016);var _rt,Srt,krt,Crt,Ert,Irt,Mrt,Trt,Art,Prt,Ort,Drt,Rrt,Lrt,Nrt,jrt,Frt,zrt,Brt,Vrt,$rt,Hrt,Grt,Wrt,Urt,qrt,Xrt=NN(MOe,rLe),Yrt=NN(MOe,"EValidator/PatternMatcher"),Krt=NN(iLe,"FeatureMap/Entry");Kce(530,1,{71:1},vI),_xe.Xj=function(){return this.a},_xe.bd=function(){return this.b};eB(ZOe,"BasicEObjectImpl/1",530);Kce(1015,1,oLe,yI),_xe.Rj=function(e){return YX(this.a,this.b,e)},_xe.aj=function(){return JH(this.a,this.b)},_xe.Wb=function(e){PH(this.a,this.b,e)},_xe.Sj=function(){var e,t,n;e=this.a,t=this.b,(n=e.Tg(t))>=0?e.wh(n):xue(e,t)};var Zrt;eB(ZOe,"BasicEObjectImpl/4",1015);Kce(1956,1,{107:1}),_xe.Yj=function(e){this.e=0==e?Zrt:fK(pje,zxe,1,e,5,1)},_xe.xh=function(e){return this.e[e]},_xe.yh=function(e,t){this.e[e]=t},_xe.zh=function(e){this.e[e]=null},_xe.Zj=function(){return this.c},_xe.$j=function(){throw Jm(new _b)},_xe._j=function(){throw Jm(new _b)},_xe.ak=function(){return this.d},_xe.bk=function(){return null!=this.e},_xe.ck=function(e){this.c=e},_xe.dk=function(e){throw Jm(new _b)},_xe.ek=function(e){throw Jm(new _b)},_xe.fk=function(e){this.d=e};eB(ZOe,"BasicEObjectImpl/EPropertiesHolderBaseImpl",1956);Kce(187,1956,{107:1},Tf),_xe.$j=function(){return this.a},_xe._j=function(){return this.b},_xe.dk=function(e){this.a=e},_xe.ek=function(e){this.b=e};eB(ZOe,"BasicEObjectImpl/EPropertiesHolderImpl",187);Kce(498,96,KOe,vl),_xe.Fg=function(){return this.f},_xe.Kg=function(){return this.k},_xe.Mg=function(e,t){this.g=e,this.i=t},_xe.Og=function(){return 0==(2&this.j)?this.uh():this.kh().Zj()},_xe.Qg=function(){return this.i},_xe.Hg=function(){return 0!=(1&this.j)},_xe.$g=function(){return this.g},_xe.fh=function(){return 0!=(4&this.j)},_xe.kh=function(){return!this.k&&(this.k=new Tf),this.k},_xe.oh=function(e){this.kh().ck(e),e?this.j|=2:this.j&=-3},_xe.qh=function(e){this.kh().ek(e),e?this.j|=4:this.j&=-5},_xe.uh=function(){return($z(),krt).S},_xe.i=0,_xe.j=1;var Qrt;eB(ZOe,"EObjectImpl",498);Kce(763,498,{104:1,91:1,89:1,55:1,107:1,48:1,96:1},nN),_xe.xh=function(e){return this.e[e]},_xe.yh=function(e,t){this.e[e]=t},_xe.zh=function(e){this.e[e]=null},_xe.Og=function(){return this.d},_xe.Tg=function(e){return u7(this.d,e)},_xe.Vg=function(){return this.d},_xe.Zg=function(){return null!=this.e},_xe.kh=function(){return!this.k&&(this.k=new bl),this.k},_xe.oh=function(e){this.d=e},_xe.th=function(){var e;return null==this.e&&(e=Hz(this.d),this.e=0==e?Qrt:fK(pje,zxe,1,e,5,1)),this},_xe.vh=function(){return 0};eB(ZOe,"DynamicEObjectImpl",763);Kce(1347,763,{104:1,43:1,91:1,89:1,133:1,55:1,107:1,48:1,96:1},RN),_xe.Fb=function(e){return this===e},_xe.Hb=function(){return lP(this)},_xe.oh=function(e){this.d=e,this.b=Whe(e,"key"),this.c=Whe(e,sDe)},_xe.Nh=function(){var e;return-1==this.a&&(e=UZ(this,this.b),this.a=null==e?0:p4(e)),this.a},_xe.ad=function(){return UZ(this,this.b)},_xe.bd=function(){return UZ(this,this.c)},_xe.Oh=function(e){this.a=e},_xe.Ph=function(e){PH(this,this.b,e)},_xe.cd=function(e){var t;return t=UZ(this,this.c),PH(this,this.c,e),t},_xe.a=0;eB(ZOe,"DynamicEObjectImpl/BasicEMapEntry",1347);Kce(1348,1,{107:1},bl),_xe.Yj=function(e){throw Jm(new _b)},_xe.xh=function(e){throw Jm(new _b)},_xe.yh=function(e,t){throw Jm(new _b)},_xe.zh=function(e){throw Jm(new _b)},_xe.Zj=function(){throw Jm(new _b)},_xe.$j=function(){return this.a},_xe._j=function(){return this.b},_xe.ak=function(){return this.c},_xe.bk=function(){throw Jm(new _b)},_xe.ck=function(e){throw Jm(new _b)},_xe.dk=function(e){this.a=e},_xe.ek=function(e){this.b=e},_xe.fk=function(e){this.c=e};eB(ZOe,"DynamicEObjectImpl/DynamicEPropertiesHolderImpl",1348);Kce(502,150,{104:1,91:1,89:1,581:1,147:1,55:1,107:1,48:1,96:1,502:1,150:1,113:1,116:1},yl),_xe.Lg=function(e){return sie(this,e)},_xe.Wg=function(e,t,n){switch(e){case 0:return!this.Ab&&(this.Ab=new FF(srt,this,0,3)),this.Ab;case 1:return this.d;case 2:return n?(!this.b&&(this.b=new fO((bxe(),Grt),ait,this)),this.b):(!this.b&&(this.b=new fO((bxe(),Grt),ait,this)),lK(this.b));case 3:return nG(this);case 4:return!this.a&&(this.a=new hA(Ztt,this,4)),this.a;case 5:return!this.c&&(this.c=new wA(Ztt,this,5)),this.c}return hZ(this,e-Hz((bxe(),Crt)),VQ(LL(n3(this,16),26)||Crt,e),t,n)},_xe.bh=function(e,t,n){var r;switch(t){case 0:return!this.Ab&&(this.Ab=new FF(srt,this,0,3)),C7(this.Ab,e,n);case 3:return this.Cb&&(n=(r=this.Db>>16)>=0?sie(this,n):this.Cb.dh(this,-1-r,null,n)),Zj(this,LL(e,147),n)}return LL(VQ(LL(n3(this,16),26)||(bxe(),Crt),t),65).Ij().Lj(this,Aee(this),t-Hz((bxe(),Crt)),e,n)},_xe.eh=function(e,t,n){switch(t){case 0:return!this.Ab&&(this.Ab=new FF(srt,this,0,3)),Nte(this.Ab,e,n);case 2:return!this.b&&(this.b=new fO((bxe(),Grt),ait,this)),AR(this.b,e,n);case 3:return Zj(this,null,n);case 4:return!this.a&&(this.a=new hA(Ztt,this,4)),Nte(this.a,e,n)}return LL(VQ(LL(n3(this,16),26)||(bxe(),Crt),t),65).Ij().Mj(this,Aee(this),t-Hz((bxe(),Crt)),e,n)},_xe.gh=function(e){switch(e){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.d;case 2:return!!this.b&&0!=this.b.f;case 3:return!!nG(this);case 4:return!!this.a&&0!=this.a.i;case 5:return!!this.c&&0!=this.c.i}return QU(this,e-Hz((bxe(),Crt)),VQ(LL(n3(this,16),26)||Crt,e))},_xe.nh=function(e,t){switch(e){case 0:return!this.Ab&&(this.Ab=new FF(srt,this,0,3)),Ove(this.Ab),!this.Ab&&(this.Ab=new FF(srt,this,0,3)),void Qz(this.Ab,LL(t,15));case 1:return void function(e,t){W0(e,null==t?null:(wB(t),t))}(this,HO(t));case 2:return!this.b&&(this.b=new fO((bxe(),Grt),ait,this)),void _2(this.b,t);case 3:return void Bhe(this,LL(t,147));case 4:return!this.a&&(this.a=new hA(Ztt,this,4)),Ove(this.a),!this.a&&(this.a=new hA(Ztt,this,4)),void Qz(this.a,LL(t,15));case 5:return!this.c&&(this.c=new wA(Ztt,this,5)),Ove(this.c),!this.c&&(this.c=new wA(Ztt,this,5)),void Qz(this.c,LL(t,15))}C9(this,e-Hz((bxe(),Crt)),VQ(LL(n3(this,16),26)||Crt,e),t)},_xe.uh=function(){return bxe(),Crt},_xe.wh=function(e){switch(e){case 0:return!this.Ab&&(this.Ab=new FF(srt,this,0,3)),void Ove(this.Ab);case 1:return void W0(this,null);case 2:return!this.b&&(this.b=new fO((bxe(),Grt),ait,this)),void this.b.c.$b();case 3:return void Bhe(this,null);case 4:return!this.a&&(this.a=new hA(Ztt,this,4)),void Ove(this.a);case 5:return!this.c&&(this.c=new wA(Ztt,this,5)),void Ove(this.c)}e8(this,e-Hz((bxe(),Crt)),VQ(LL(n3(this,16),26)||Crt,e))},_xe.Ib=function(){return p8(this)},_xe.d=null;eB(ZOe,"EAnnotationImpl",502);Kce(143,697,aLe,EK),_xe.Sh=function(e,t){!function(e,t,n){LL(e.c,67).Sh(t,n)}(this,e,LL(t,43))},_xe.gk=function(e,t){return function(e,t,n){return LL(e.c,67).gk(t,n)}(this,LL(e,43),t)},_xe.ki=function(e){return LL(LL(this.c,67).ki(e),133)},_xe.Uh=function(){return LL(this.c,67).Uh()},_xe.Vh=function(){return LL(this.c,67).Vh()},_xe.Wh=function(e){return LL(this.c,67).Wh(e)},_xe.hk=function(e,t){return AR(this,e,t)},_xe.Rj=function(e){return LL(this.c,76).Rj(e)},_xe.mj=function(){},_xe.aj=function(){return LL(this.c,76).aj()},_xe.oj=function(e,t,n){var r;return(r=LL(mJ(this.b).Ih().Eh(this.b),133)).Oh(e),r.Ph(t),r.cd(n),r},_xe.pj=function(){return new jm(this)},_xe.Wb=function(e){_2(this,e)},_xe.Sj=function(){LL(this.c,76).Sj()};eB(iLe,"EcoreEMap",143);Kce(158,143,aLe,fO),_xe.lj=function(){var e,t,n,r,i;if(null==this.d){for(i=fK(Pnt,$Re,60,2*this.f+1,0,1),n=this.c.Ic();n.e!=n.i.gc();)!(e=i[r=((t=LL(n.ij(),133)).Nh()&Dxe)%i.length])&&(e=i[r]=new jm(this)),e.Dc(t);this.d=i}};eB(ZOe,"EAnnotationImpl/1",158);Kce(283,431,{104:1,91:1,89:1,147:1,191:1,55:1,107:1,466:1,48:1,96:1,150:1,283:1,113:1,116:1}),_xe.Wg=function(e,t,n){switch(e){case 0:return!this.Ab&&(this.Ab=new FF(srt,this,0,3)),this.Ab;case 1:return this.zb;case 2:return _P(),0!=(256&this.Bb);case 3:return _P(),0!=(512&this.Bb);case 4:return k8(this.s);case 5:return k8(this.t);case 6:return _P(),!!this.Vj();case 7:return _P(),this.s>=1;case 8:return t?fie(this):this.r;case 9:return this.q}return hZ(this,e-Hz(this.uh()),VQ(LL(n3(this,16),26)||this.uh(),e),t,n)},_xe.eh=function(e,t,n){switch(t){case 0:return!this.Ab&&(this.Ab=new FF(srt,this,0,3)),Nte(this.Ab,e,n);case 9:return Zz(this,n)}return LL(VQ(LL(n3(this,16),26)||this.uh(),t),65).Ij().Mj(this,Aee(this),t-Hz(this.uh()),e,n)},_xe.gh=function(e){switch(e){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return 0==(256&this.Bb);case 3:return 0==(512&this.Bb);case 4:return 0!=this.s;case 5:return 1!=this.t;case 6:return this.Vj();case 7:return this.s>=1;case 8:return!!this.r&&!this.q.e&&0==_B(this.q).i;case 9:return!(!this.q||this.r&&!this.q.e&&0==_B(this.q).i)}return QU(this,e-Hz(this.uh()),VQ(LL(n3(this,16),26)||this.uh(),e))},_xe.nh=function(e,t){var n;switch(e){case 0:return!this.Ab&&(this.Ab=new FF(srt,this,0,3)),Ove(this.Ab),!this.Ab&&(this.Ab=new FF(srt,this,0,3)),void Qz(this.Ab,LL(t,15));case 1:return void this.Gh(HO(t));case 2:return void w8(this,Ty(VO(t)));case 3:return void m8(this,Ty(VO(t)));case 4:return void e0(this,LL(t,20).a);case 5:return void this.jk(LL(t,20).a);case 8:return void g6(this,LL(t,138));case 9:return void((n=hae(this,LL(t,86),null))&&n.Ai())}C9(this,e-Hz(this.uh()),VQ(LL(n3(this,16),26)||this.uh(),e),t)},_xe.uh=function(){return bxe(),Urt},_xe.wh=function(e){var t;switch(e){case 0:return!this.Ab&&(this.Ab=new FF(srt,this,0,3)),void Ove(this.Ab);case 1:return void this.Gh(null);case 2:return void w8(this,!0);case 3:return void m8(this,!0);case 4:return void e0(this,0);case 5:return void this.jk(1);case 8:return void g6(this,null);case 9:return void((t=hae(this,null,null))&&t.Ai())}e8(this,e-Hz(this.uh()),VQ(LL(n3(this,16),26)||this.uh(),e))},_xe.Bh=function(){fie(this),this.Bb|=1},_xe.Tj=function(){return fie(this)},_xe.Uj=function(){return this.t},_xe.Vj=function(){var e;return(e=this.t)>1||-1==e},_xe.ci=function(){return 0!=(512&this.Bb)},_xe.ik=function(e,t){return n8(this,e,t)},_xe.jk=function(e){t0(this,e)},_xe.Ib=function(){return Ice(this)},_xe.s=0,_xe.t=1;eB(ZOe,"ETypedElementImpl",283);Kce(443,283,{104:1,91:1,89:1,147:1,191:1,55:1,170:1,65:1,107:1,466:1,48:1,96:1,150:1,443:1,283:1,113:1,116:1,665:1}),_xe.Lg=function(e){return zre(this,e)},_xe.Wg=function(e,t,n){switch(e){case 0:return!this.Ab&&(this.Ab=new FF(srt,this,0,3)),this.Ab;case 1:return this.zb;case 2:return _P(),0!=(256&this.Bb);case 3:return _P(),0!=(512&this.Bb);case 4:return k8(this.s);case 5:return k8(this.t);case 6:return _P(),!!this.Vj();case 7:return _P(),this.s>=1;case 8:return t?fie(this):this.r;case 9:return this.q;case 10:return _P(),0!=(this.Bb&GRe);case 11:return _P(),0!=(this.Bb&uLe);case 12:return _P(),0!=(this.Bb&NSe);case 13:return this.j;case 14:return phe(this);case 15:return _P(),0!=(this.Bb&lLe);case 16:return _P(),0!=(this.Bb&l_e);case 17:return iG(this)}return hZ(this,e-Hz(this.uh()),VQ(LL(n3(this,16),26)||this.uh(),e),t,n)},_xe.bh=function(e,t,n){var r;switch(t){case 0:return!this.Ab&&(this.Ab=new FF(srt,this,0,3)),C7(this.Ab,e,n);case 17:return this.Cb&&(n=(r=this.Db>>16)>=0?zre(this,n):this.Cb.dh(this,-1-r,null,n)),Jge(this,e,17,n)}return LL(VQ(LL(n3(this,16),26)||this.uh(),t),65).Ij().Lj(this,Aee(this),t-Hz(this.uh()),e,n)},_xe.eh=function(e,t,n){switch(t){case 0:return!this.Ab&&(this.Ab=new FF(srt,this,0,3)),Nte(this.Ab,e,n);case 9:return Zz(this,n);case 17:return Jge(this,null,17,n)}return LL(VQ(LL(n3(this,16),26)||this.uh(),t),65).Ij().Mj(this,Aee(this),t-Hz(this.uh()),e,n)},_xe.gh=function(e){switch(e){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return 0==(256&this.Bb);case 3:return 0==(512&this.Bb);case 4:return 0!=this.s;case 5:return 1!=this.t;case 6:return this.Vj();case 7:return this.s>=1;case 8:return!!this.r&&!this.q.e&&0==_B(this.q).i;case 9:return!(!this.q||this.r&&!this.q.e&&0==_B(this.q).i);case 10:return 0==(this.Bb&GRe);case 11:return 0!=(this.Bb&uLe);case 12:return 0!=(this.Bb&NSe);case 13:return null!=this.j;case 14:return null!=phe(this);case 15:return 0!=(this.Bb&lLe);case 16:return 0!=(this.Bb&l_e);case 17:return!!iG(this)}return QU(this,e-Hz(this.uh()),VQ(LL(n3(this,16),26)||this.uh(),e))},_xe.nh=function(e,t){var n;switch(e){case 0:return!this.Ab&&(this.Ab=new FF(srt,this,0,3)),Ove(this.Ab),!this.Ab&&(this.Ab=new FF(srt,this,0,3)),void Qz(this.Ab,LL(t,15));case 1:return void VG(this,HO(t));case 2:return void w8(this,Ty(VO(t)));case 3:return void m8(this,Ty(VO(t)));case 4:return void e0(this,LL(t,20).a);case 5:return void this.jk(LL(t,20).a);case 8:return void g6(this,LL(t,138));case 9:return void((n=hae(this,LL(t,86),null))&&n.Ai());case 10:return void W8(this,Ty(VO(t)));case 11:return void U8(this,Ty(VO(t)));case 12:return void G8(this,Ty(VO(t)));case 13:return void mI(this,HO(t));case 15:return void q8(this,Ty(VO(t)));case 16:return void n9(this,Ty(VO(t)))}C9(this,e-Hz(this.uh()),VQ(LL(n3(this,16),26)||this.uh(),e),t)},_xe.uh=function(){return bxe(),Wrt},_xe.wh=function(e){var t;switch(e){case 0:return!this.Ab&&(this.Ab=new FF(srt,this,0,3)),void Ove(this.Ab);case 1:return BT(this.Cb,87)&&sue(VX(LL(this.Cb,87)),4),void O1(this,null);case 2:return void w8(this,!0);case 3:return void m8(this,!0);case 4:return void e0(this,0);case 5:return void this.jk(1);case 8:return void g6(this,null);case 9:return void((t=hae(this,null,null))&&t.Ai());case 10:return void W8(this,!0);case 11:return void U8(this,!1);case 12:return void G8(this,!1);case 13:return this.i=null,void i1(this,null);case 15:return void q8(this,!1);case 16:return void n9(this,!1)}e8(this,e-Hz(this.uh()),VQ(LL(n3(this,16),26)||this.uh(),e))},_xe.Bh=function(){WV(FZ((vle(),Sit),this)),fie(this),this.Bb|=1},_xe.Bj=function(){return this.f},_xe.uj=function(){return phe(this)},_xe.Cj=function(){return iG(this)},_xe.Gj=function(){return null},_xe.kk=function(){return this.k},_xe.Xi=function(){return this.n},_xe.Hj=function(){return hoe(this)},_xe.Ij=function(){var e,t,n,r,i,o,a,s,l;return this.p||((null==(n=iG(this)).i&&Kme(n),n.i).length,(r=this.Gj())&&Hz(iG(r)),e=(a=(i=fie(this)).wj())?0!=(1&a.i)?a==rat?oFe:a==nat?gFe:a==sat?hFe:a==aat?fFe:a==iat?bFe:a==lat?SFe:a==oat?lFe:cFe:a:null,t=phe(this),s=i.uj(),b9(this),0!=(this.Bb&l_e)&&((o=Vie((vle(),Sit),n))&&o!=this||(o=iW(FZ(Sit,this))))?this.p=new xI(this,o):this.Vj()?this.mk()?r?0!=(this.Bb&lLe)?e?this.nk()?this.p=new n$(47,e,this,r):this.p=new n$(5,e,this,r):this.nk()?this.p=new Cq(46,this,r):this.p=new Cq(4,this,r):e?this.nk()?this.p=new n$(49,e,this,r):this.p=new n$(7,e,this,r):this.nk()?this.p=new Cq(48,this,r):this.p=new Cq(6,this,r):0!=(this.Bb&lLe)?e?e==_je?this.p=new hL(50,vnt,this):this.nk()?this.p=new hL(43,e,this):this.p=new hL(1,e,this):this.nk()?this.p=new X$(42,this):this.p=new X$(0,this):e?e==_je?this.p=new hL(41,vnt,this):this.nk()?this.p=new hL(45,e,this):this.p=new hL(3,e,this):this.nk()?this.p=new X$(44,this):this.p=new X$(2,this):BT(i,148)?e==Krt?this.p=new X$(40,this):0!=(512&this.Bb)?0!=(this.Bb&lLe)?this.p=e?new hL(9,e,this):new X$(8,this):this.p=e?new hL(11,e,this):new X$(10,this):0!=(this.Bb&lLe)?this.p=e?new hL(13,e,this):new X$(12,this):this.p=e?new hL(15,e,this):new X$(14,this):r?(l=r.t)>1||-1==l?this.nk()?0!=(this.Bb&lLe)?this.p=e?new n$(25,e,this,r):new Cq(24,this,r):this.p=e?new n$(27,e,this,r):new Cq(26,this,r):0!=(this.Bb&lLe)?this.p=e?new n$(29,e,this,r):new Cq(28,this,r):this.p=e?new n$(31,e,this,r):new Cq(30,this,r):this.nk()?0!=(this.Bb&lLe)?this.p=e?new n$(33,e,this,r):new Cq(32,this,r):this.p=e?new n$(35,e,this,r):new Cq(34,this,r):0!=(this.Bb&lLe)?this.p=e?new n$(37,e,this,r):new Cq(36,this,r):this.p=e?new n$(39,e,this,r):new Cq(38,this,r):this.nk()?0!=(this.Bb&lLe)?this.p=e?new hL(17,e,this):new X$(16,this):this.p=e?new hL(19,e,this):new X$(18,this):0!=(this.Bb&lLe)?this.p=e?new hL(21,e,this):new X$(20,this):this.p=e?new hL(23,e,this):new X$(22,this):this.lk()?this.nk()?this.p=new pL(LL(i,26),this,r):this.p=new bH(LL(i,26),this,r):BT(i,148)?e==Krt?this.p=new X$(40,this):0!=(this.Bb&lLe)?this.p=e?new nF(t,s,this,(P7(),a==nat?pit:a==rat?uit:a==iat?git:a==sat?dit:a==aat?hit:a==lat?bit:a==oat?cit:a==tat?fit:mit)):new i$(LL(i,148),t,s,this):this.p=e?new tF(t,s,this,(P7(),a==nat?pit:a==rat?uit:a==iat?git:a==sat?dit:a==aat?hit:a==lat?bit:a==oat?cit:a==tat?fit:mit)):new r$(LL(i,148),t,s,this):this.mk()?r?0!=(this.Bb&lLe)?this.nk()?this.p=new vL(LL(i,26),this,r):this.p=new bL(LL(i,26),this,r):this.nk()?this.p=new mL(LL(i,26),this,r):this.p=new gL(LL(i,26),this,r):0!=(this.Bb&lLe)?this.nk()?this.p=new yO(LL(i,26),this):this.p=new vO(LL(i,26),this):this.nk()?this.p=new bO(LL(i,26),this):this.p=new mO(LL(i,26),this):this.nk()?r?0!=(this.Bb&lLe)?this.p=new xL(LL(i,26),this,r):this.p=new yL(LL(i,26),this,r):0!=(this.Bb&lLe)?this.p=new _O(LL(i,26),this):this.p=new wO(LL(i,26),this):r?0!=(this.Bb&lLe)?this.p=new _L(LL(i,26),this,r):this.p=new wL(LL(i,26),this,r):0!=(this.Bb&lLe)?this.p=new xO(LL(i,26),this):this.p=new fj(LL(i,26),this)),this.p},_xe.Dj=function(){return 0!=(this.Bb&GRe)},_xe.lk=function(){return!1},_xe.mk=function(){return!1},_xe.Ej=function(){return 0!=(this.Bb&l_e)},_xe.Jj=function(){return rQ(this)},_xe.nk=function(){return!1},_xe.Fj=function(){return 0!=(this.Bb&lLe)},_xe.ok=function(e){this.k=e},_xe.Gh=function(e){VG(this,e)},_xe.Ib=function(){return $pe(this)},_xe.e=!1,_xe.n=0;eB(ZOe,"EStructuralFeatureImpl",443);Kce(321,443,{104:1,91:1,89:1,32:1,147:1,191:1,55:1,170:1,65:1,107:1,466:1,48:1,96:1,321:1,150:1,443:1,283:1,113:1,116:1,665:1},Ev),_xe.Wg=function(e,t,n){switch(e){case 0:return!this.Ab&&(this.Ab=new FF(srt,this,0,3)),this.Ab;case 1:return this.zb;case 2:return _P(),0!=(256&this.Bb);case 3:return _P(),0!=(512&this.Bb);case 4:return k8(this.s);case 5:return k8(this.t);case 6:return _P(),!!Gue(this);case 7:return _P(),this.s>=1;case 8:return t?fie(this):this.r;case 9:return this.q;case 10:return _P(),0!=(this.Bb&GRe);case 11:return _P(),0!=(this.Bb&uLe);case 12:return _P(),0!=(this.Bb&NSe);case 13:return this.j;case 14:return phe(this);case 15:return _P(),0!=(this.Bb&lLe);case 16:return _P(),0!=(this.Bb&l_e);case 17:return iG(this);case 18:return _P(),0!=(this.Bb&YOe);case 19:return t?W3(this):vY(this)}return hZ(this,e-Hz((bxe(),Ert)),VQ(LL(n3(this,16),26)||Ert,e),t,n)},_xe.gh=function(e){switch(e){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return 0==(256&this.Bb);case 3:return 0==(512&this.Bb);case 4:return 0!=this.s;case 5:return 1!=this.t;case 6:return Gue(this);case 7:return this.s>=1;case 8:return!!this.r&&!this.q.e&&0==_B(this.q).i;case 9:return!(!this.q||this.r&&!this.q.e&&0==_B(this.q).i);case 10:return 0==(this.Bb&GRe);case 11:return 0!=(this.Bb&uLe);case 12:return 0!=(this.Bb&NSe);case 13:return null!=this.j;case 14:return null!=phe(this);case 15:return 0!=(this.Bb&lLe);case 16:return 0!=(this.Bb&l_e);case 17:return!!iG(this);case 18:return 0!=(this.Bb&YOe);case 19:return!!vY(this)}return QU(this,e-Hz((bxe(),Ert)),VQ(LL(n3(this,16),26)||Ert,e))},_xe.nh=function(e,t){var n;switch(e){case 0:return!this.Ab&&(this.Ab=new FF(srt,this,0,3)),Ove(this.Ab),!this.Ab&&(this.Ab=new FF(srt,this,0,3)),void Qz(this.Ab,LL(t,15));case 1:return void VG(this,HO(t));case 2:return void w8(this,Ty(VO(t)));case 3:return void m8(this,Ty(VO(t)));case 4:return void e0(this,LL(t,20).a);case 5:return void Tx(this,LL(t,20).a);case 8:return void g6(this,LL(t,138));case 9:return void((n=hae(this,LL(t,86),null))&&n.Ai());case 10:return void W8(this,Ty(VO(t)));case 11:return void U8(this,Ty(VO(t)));case 12:return void G8(this,Ty(VO(t)));case 13:return void mI(this,HO(t));case 15:return void q8(this,Ty(VO(t)));case 16:return void n9(this,Ty(VO(t)));case 18:return void e9(this,Ty(VO(t)))}C9(this,e-Hz((bxe(),Ert)),VQ(LL(n3(this,16),26)||Ert,e),t)},_xe.uh=function(){return bxe(),Ert},_xe.wh=function(e){var t;switch(e){case 0:return!this.Ab&&(this.Ab=new FF(srt,this,0,3)),void Ove(this.Ab);case 1:return BT(this.Cb,87)&&sue(VX(LL(this.Cb,87)),4),void O1(this,null);case 2:return void w8(this,!0);case 3:return void m8(this,!0);case 4:return void e0(this,0);case 5:return this.b=0,void t0(this,1);case 8:return void g6(this,null);case 9:return void((t=hae(this,null,null))&&t.Ai());case 10:return void W8(this,!0);case 11:return void U8(this,!1);case 12:return void G8(this,!1);case 13:return this.i=null,void i1(this,null);case 15:return void q8(this,!1);case 16:return void n9(this,!1);case 18:return void e9(this,!1)}e8(this,e-Hz((bxe(),Ert)),VQ(LL(n3(this,16),26)||Ert,e))},_xe.Bh=function(){W3(this),WV(FZ((vle(),Sit),this)),fie(this),this.Bb|=1},_xe.Vj=function(){return Gue(this)},_xe.ik=function(e,t){return this.b=0,this.a=null,n8(this,e,t)},_xe.jk=function(e){Tx(this,e)},_xe.Ib=function(){var e;return 0!=(64&this.Db)?$pe(this):((e=new XA($pe(this))).a+=" (iD: ",$x(e,0!=(this.Bb&YOe)),e.a+=")",e.a)},_xe.b=0;eB(ZOe,"EAttributeImpl",321);Kce(348,431,{104:1,91:1,89:1,138:1,147:1,191:1,55:1,107:1,48:1,96:1,348:1,150:1,113:1,116:1,664:1}),_xe.pk=function(e){return e.Og()==this},_xe.Lg=function(e){return Cre(this,e)},_xe.Mg=function(e,t){this.w=null,this.Db=t<<16|255&this.Db,this.Cb=e},_xe.Wg=function(e,t,n){switch(e){case 0:return!this.Ab&&(this.Ab=new FF(srt,this,0,3)),this.Ab;case 1:return this.zb;case 2:return null!=this.D?this.D:this.B;case 3:return ire(this);case 4:return this.uj();case 5:return this.F;case 6:return t?mJ(this):oG(this);case 7:return!this.A&&(this.A=new bA(Xrt,this,7)),this.A}return hZ(this,e-Hz(this.uh()),VQ(LL(n3(this,16),26)||this.uh(),e),t,n)},_xe.bh=function(e,t,n){var r;switch(t){case 0:return!this.Ab&&(this.Ab=new FF(srt,this,0,3)),C7(this.Ab,e,n);case 6:return this.Cb&&(n=(r=this.Db>>16)>=0?Cre(this,n):this.Cb.dh(this,-1-r,null,n)),Jge(this,e,6,n)}return LL(VQ(LL(n3(this,16),26)||this.uh(),t),65).Ij().Lj(this,Aee(this),t-Hz(this.uh()),e,n)},_xe.eh=function(e,t,n){switch(t){case 0:return!this.Ab&&(this.Ab=new FF(srt,this,0,3)),Nte(this.Ab,e,n);case 6:return Jge(this,null,6,n);case 7:return!this.A&&(this.A=new bA(Xrt,this,7)),Nte(this.A,e,n)}return LL(VQ(LL(n3(this,16),26)||this.uh(),t),65).Ij().Mj(this,Aee(this),t-Hz(this.uh()),e,n)},_xe.gh=function(e){switch(e){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return null!=this.D&&this.D==this.F;case 3:return!!ire(this);case 4:return null!=this.uj();case 5:return null!=this.F&&this.F!=this.D&&this.F!=this.B;case 6:return!!oG(this);case 7:return!!this.A&&0!=this.A.i}return QU(this,e-Hz(this.uh()),VQ(LL(n3(this,16),26)||this.uh(),e))},_xe.nh=function(e,t){switch(e){case 0:return!this.Ab&&(this.Ab=new FF(srt,this,0,3)),Ove(this.Ab),!this.Ab&&(this.Ab=new FF(srt,this,0,3)),void Qz(this.Ab,LL(t,15));case 1:return void $G(this,HO(t));case 2:return void WM(this,HO(t));case 5:return void Zve(this,HO(t));case 7:return!this.A&&(this.A=new bA(Xrt,this,7)),Ove(this.A),!this.A&&(this.A=new bA(Xrt,this,7)),void Qz(this.A,LL(t,15))}C9(this,e-Hz(this.uh()),VQ(LL(n3(this,16),26)||this.uh(),e),t)},_xe.uh=function(){return bxe(),Mrt},_xe.wh=function(e){switch(e){case 0:return!this.Ab&&(this.Ab=new FF(srt,this,0,3)),void Ove(this.Ab);case 1:return BT(this.Cb,179)&&(LL(this.Cb,179).tb=null),void O1(this,null);case 2:return j4(this,null),void r0(this,this.D);case 5:return void Zve(this,null);case 7:return!this.A&&(this.A=new bA(Xrt,this,7)),void Ove(this.A)}e8(this,e-Hz(this.uh()),VQ(LL(n3(this,16),26)||this.uh(),e))},_xe.tj=function(){var e;return-1==this.G&&(this.G=(e=mJ(this))?ene(e.Hh(),this):-1),this.G},_xe.uj=function(){return null},_xe.vj=function(){return mJ(this)},_xe.qk=function(){return this.v},_xe.wj=function(){return ire(this)},_xe.xj=function(){return null!=this.D?this.D:this.B},_xe.yj=function(){return this.F},_xe.rj=function(e){return Dme(this,e)},_xe.rk=function(e){this.v=e},_xe.sk=function(e){t2(this,e)},_xe.tk=function(e){this.C=e},_xe.Gh=function(e){$G(this,e)},_xe.Ib=function(){return h7(this)},_xe.C=null,_xe.D=null,_xe.G=-1;var Jrt,eit,tit;eB(ZOe,"EClassifierImpl",348);Kce(87,348,{104:1,91:1,89:1,26:1,138:1,147:1,191:1,55:1,107:1,48:1,96:1,87:1,348:1,150:1,467:1,113:1,116:1,664:1},Af),_xe.pk=function(e){return function(e,t){return t==e||qie(dhe(t),e)}(this,e.Og())},_xe.Wg=function(e,t,n){switch(e){case 0:return!this.Ab&&(this.Ab=new FF(srt,this,0,3)),this.Ab;case 1:return this.zb;case 2:return null!=this.D?this.D:this.B;case 3:return ire(this);case 4:return null;case 5:return this.F;case 6:return t?mJ(this):oG(this);case 7:return!this.A&&(this.A=new bA(Xrt,this,7)),this.A;case 8:return _P(),0!=(256&this.Bb);case 9:return _P(),0!=(512&this.Bb);case 10:return K$(this);case 11:return!this.q&&(this.q=new FF(vrt,this,11,10)),this.q;case 12:return Hbe(this);case 13:return Dbe(this);case 14:return Dbe(this),this.r;case 15:return Hbe(this),this.k;case 16:return Rle(this);case 17:return ybe(this);case 18:return Kme(this);case 19:return dhe(this);case 20:return Hbe(this),this.o;case 21:return!this.s&&(this.s=new FF(urt,this,21,17)),this.s;case 22:return pq(this);case 23:return vpe(this)}return hZ(this,e-Hz((bxe(),Irt)),VQ(LL(n3(this,16),26)||Irt,e),t,n)},_xe.bh=function(e,t,n){var r;switch(t){case 0:return!this.Ab&&(this.Ab=new FF(srt,this,0,3)),C7(this.Ab,e,n);case 6:return this.Cb&&(n=(r=this.Db>>16)>=0?Cre(this,n):this.Cb.dh(this,-1-r,null,n)),Jge(this,e,6,n);case 11:return!this.q&&(this.q=new FF(vrt,this,11,10)),C7(this.q,e,n);case 21:return!this.s&&(this.s=new FF(urt,this,21,17)),C7(this.s,e,n)}return LL(VQ(LL(n3(this,16),26)||(bxe(),Irt),t),65).Ij().Lj(this,Aee(this),t-Hz((bxe(),Irt)),e,n)},_xe.eh=function(e,t,n){switch(t){case 0:return!this.Ab&&(this.Ab=new FF(srt,this,0,3)),Nte(this.Ab,e,n);case 6:return Jge(this,null,6,n);case 7:return!this.A&&(this.A=new bA(Xrt,this,7)),Nte(this.A,e,n);case 11:return!this.q&&(this.q=new FF(vrt,this,11,10)),Nte(this.q,e,n);case 21:return!this.s&&(this.s=new FF(urt,this,21,17)),Nte(this.s,e,n);case 22:return Nte(pq(this),e,n)}return LL(VQ(LL(n3(this,16),26)||(bxe(),Irt),t),65).Ij().Mj(this,Aee(this),t-Hz((bxe(),Irt)),e,n)},_xe.gh=function(e){switch(e){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return null!=this.D&&this.D==this.F;case 3:return!!ire(this);case 4:return!1;case 5:return null!=this.F&&this.F!=this.D&&this.F!=this.B;case 6:return!!oG(this);case 7:return!!this.A&&0!=this.A.i;case 8:return 0!=(256&this.Bb);case 9:return 0!=(512&this.Bb);case 10:return!(!this.u||0==pq(this.u.a).i||this.n&&Ine(this.n));case 11:return!!this.q&&0!=this.q.i;case 12:return 0!=Hbe(this).i;case 13:return 0!=Dbe(this).i;case 14:return Dbe(this),0!=this.r.i;case 15:return Hbe(this),0!=this.k.i;case 16:return 0!=Rle(this).i;case 17:return 0!=ybe(this).i;case 18:return 0!=Kme(this).i;case 19:return 0!=dhe(this).i;case 20:return Hbe(this),!!this.o;case 21:return!!this.s&&0!=this.s.i;case 22:return!!this.n&&Ine(this.n);case 23:return 0!=vpe(this).i}return QU(this,e-Hz((bxe(),Irt)),VQ(LL(n3(this,16),26)||Irt,e))},_xe.jh=function(e){return(null==this.i||this.q&&0!=this.q.i?null:Whe(this,e))||swe(this,e)},_xe.nh=function(e,t){switch(e){case 0:return!this.Ab&&(this.Ab=new FF(srt,this,0,3)),Ove(this.Ab),!this.Ab&&(this.Ab=new FF(srt,this,0,3)),void Qz(this.Ab,LL(t,15));case 1:return void $G(this,HO(t));case 2:return void WM(this,HO(t));case 5:return void Zve(this,HO(t));case 7:return!this.A&&(this.A=new bA(Xrt,this,7)),Ove(this.A),!this.A&&(this.A=new bA(Xrt,this,7)),void Qz(this.A,LL(t,15));case 8:return void v8(this,Ty(VO(t)));case 9:return void b8(this,Ty(VO(t)));case 10:return jve(K$(this)),void Qz(K$(this),LL(t,15));case 11:return!this.q&&(this.q=new FF(vrt,this,11,10)),Ove(this.q),!this.q&&(this.q=new FF(vrt,this,11,10)),void Qz(this.q,LL(t,15));case 21:return!this.s&&(this.s=new FF(urt,this,21,17)),Ove(this.s),!this.s&&(this.s=new FF(urt,this,21,17)),void Qz(this.s,LL(t,15));case 22:return Ove(pq(this)),void Qz(pq(this),LL(t,15))}C9(this,e-Hz((bxe(),Irt)),VQ(LL(n3(this,16),26)||Irt,e),t)},_xe.uh=function(){return bxe(),Irt},_xe.wh=function(e){switch(e){case 0:return!this.Ab&&(this.Ab=new FF(srt,this,0,3)),void Ove(this.Ab);case 1:return BT(this.Cb,179)&&(LL(this.Cb,179).tb=null),void O1(this,null);case 2:return j4(this,null),void r0(this,this.D);case 5:return void Zve(this,null);case 7:return!this.A&&(this.A=new bA(Xrt,this,7)),void Ove(this.A);case 8:return void v8(this,!1);case 9:return void b8(this,!1);case 10:return void(this.u&&jve(this.u));case 11:return!this.q&&(this.q=new FF(vrt,this,11,10)),void Ove(this.q);case 21:return!this.s&&(this.s=new FF(urt,this,21,17)),void Ove(this.s);case 22:return void(this.n&&Ove(this.n))}e8(this,e-Hz((bxe(),Irt)),VQ(LL(n3(this,16),26)||Irt,e))},_xe.Bh=function(){var e,t;if(Hbe(this),Dbe(this),Rle(this),ybe(this),Kme(this),dhe(this),vpe(this),GX(function(e){return!e.c&&(e.c=new Nl),e.c}(VX(this))),this.s)for(e=0,t=this.s.i;e<t;++e)WP(sJ(this.s,e));if(this.q)for(e=0,t=this.q.i;e<t;++e)WP(sJ(this.q,e));r8((vle(),Sit),this).ne(),this.Bb|=1},_xe.Ib=function(){return moe(this)},_xe.k=null,_xe.r=null;eB(ZOe,"EClassImpl",87);Kce(1963,1962,wLe),_xe.Qh=function(e,t){return Vme(this,e,t)},_xe.Rh=function(e){return Vme(this,this.i,e)},_xe.Sh=function(e,t){Oce(this,e,t)},_xe.Th=function(e){Bce(this,e)},_xe.gk=function(e,t){return C7(this,e,t)},_xe.ki=function(e){return VK(this,e)},_xe.hk=function(e,t){return Nte(this,e,t)},_xe.hi=function(e,t){return dbe(this,e,t)},_xe.Uh=function(){return new LP(this)},_xe.Vh=function(){return new NP(this)},_xe.Wh=function(e){return i0(this,e)};eB(iLe,"NotifyingInternalEListImpl",1963);Kce(612,1963,xLe),_xe.Fc=function(e){return Lve(this,e)},_xe.Ui=function(e,t,n,r,i){return sG(this,e,t,n,r,i)},_xe.Vi=function(e){Ib(this,e)},_xe.Rj=function(e){return this},_xe.Xj=function(){return VQ(this.e.Og(),this.Xi())},_xe.Wi=function(){return this.Xj()},_xe.Xi=function(){return u7(this.e.Og(),this.Xj())},_xe.uk=function(){return LL(this.Xj().Tj(),26).wj()},_xe.vk=function(){return yne(LL(this.Xj(),17)).n},_xe.vi=function(){return this.e},_xe.wk=function(){return!0},_xe.xk=function(){return!1},_xe.yk=function(){return!1},_xe.zk=function(){return!1},_xe.Vc=function(e){return ene(this,e)},_xe.Zi=function(e,t){var n;return n=LL(e,48),this.yk()?this.wk()?n.ah(this.e,this.vk(),this.uk(),t):n.ah(this.e,u7(n.Og(),yne(LL(this.Xj(),17))),null,t):n.ah(this.e,-1-this.Xi(),null,t)},_xe.$i=function(e,t){var n;return n=LL(e,48),this.yk()?this.wk()?n.dh(this.e,this.vk(),this.uk(),t):n.dh(this.e,u7(n.Og(),yne(LL(this.Xj(),17))),null,t):n.dh(this.e,-1-this.Xi(),null,t)},_xe.mk=function(){return!1},_xe.Ak=function(){return!0},_xe.rj=function(e){return nq(this.d,e)},_xe._i=function(){return FM(this.e)},_xe.aj=function(){return 0!=this.i},_xe.mi=function(e){return s0(this.d,e)},_xe.gi=function(e,t){return this.Ak()&&this.zk()?Dce(this,e,LL(t,55)):t},_xe.Bk=function(e){return e.fh()?P6(this.e,LL(e,48)):e},_xe.Wb=function(e){FT(this,e)},_xe.Nc=function(){var e;if(this.zk())for(e=this.i-1;e>=0;--e)sJ(this,e);return oq(this)},_xe.Oc=function(e){var t;if(this.zk())for(t=this.i-1;t>=0;--t)sJ(this,t);return _7(this,e)},_xe.Sj=function(){Ove(this)},_xe.ji=function(e,t){return bJ(this,0,t)};eB(iLe,"EcoreEList",612);Kce(488,612,xLe,eN),_xe.Xh=function(){return!1},_xe.Xi=function(){return this.c},_xe.Yi=function(){return!1},_xe.Ak=function(){return!0},_xe.ci=function(){return!0},_xe.gi=function(e,t){return t},_xe.ii=function(){return!1},_xe.c=0;eB(iLe,"EObjectEList",488);Kce(82,488,xLe,hA),_xe.Yi=function(){return!0},_xe.yk=function(){return!1},_xe.mk=function(){return!0};eB(iLe,"EObjectContainmentEList",82);Kce(538,82,xLe,dA),_xe.Zh=function(){this.b=!0},_xe.aj=function(){return this.b},_xe.Sj=function(){var e;Ove(this),FM(this.e)?(e=this.b,this.b=!1,Y2(this.e,new CX(this.e,2,this.c,e,!1))):this.b=!1},_xe.b=!1;eB(iLe,"EObjectContainmentEList/Unsettable",538);Kce(1113,538,xLe,Jj),_xe.di=function(e,t){var n,r;return n=LL(Y8(this,e,t),86),FM(this.e)&&Ib(this,new MK(this.a,7,(bxe(),Trt),k8(t),BT(r=n.c,87)?LL(r,26):Frt,e)),n},_xe.ej=function(e,t){return function(e,t,n){var r,i;return r=new RZ(e.e,3,10,null,BT(i=t.c,87)?LL(i,26):(bxe(),Frt),ene(e,t),!1),n?n.zi(r):n=r,n}(this,LL(e,86),t)},_xe.fj=function(e,t){return function(e,t,n){var r,i;return r=new RZ(e.e,4,10,BT(i=t.c,87)?LL(i,26):(bxe(),Frt),null,ene(e,t),!1),n?n.zi(r):n=r,n}(this,LL(e,86),t)},_xe.gj=function(e,t,n){return function(e,t,n,r){var i,o,a;return i=new RZ(e.e,1,10,BT(a=t.c,87)?LL(a,26):(bxe(),Frt),BT(o=n.c,87)?LL(o,26):(bxe(),Frt),ene(e,t),!1),r?r.zi(i):r=i,r}(this,LL(e,86),LL(t,86),n)},_xe.Ui=function(e,t,n,r,i){switch(e){case 3:return sG(this,e,t,n,r,this.i>1);case 5:return sG(this,e,t,n,r,this.i-LL(n,14).gc()>0);default:return new RZ(this.e,e,this.c,t,n,r,!0)}},_xe.dj=function(){return!0},_xe.aj=function(){return Ine(this)},_xe.Sj=function(){Ove(this)};eB(ZOe,"EClassImpl/1",1113);Kce(1127,1126,NRe),_xe.pi=function(e){var t,n,r,i,o,a,s;if(8!=(n=e.si())){if(r=function(e){switch(e.ti(null)){case 10:return 0;case 15:return 1;case 14:return 2;case 11:return 3;case 21:return 4}return-1}(e),0==r)switch(n){case 1:case 9:null!=(s=e.wi())&&(!(t=VX(LL(s,467))).c&&(t.c=new Nl),nQ(t.c,e.vi())),null!=(a=e.ui())&&0==(1&(i=LL(a,467)).Bb)&&(!(t=VX(i)).c&&(t.c=new Nl),AK(t.c,LL(e.vi(),26)));break;case 3:null!=(a=e.ui())&&0==(1&(i=LL(a,467)).Bb)&&(!(t=VX(i)).c&&(t.c=new Nl),AK(t.c,LL(e.vi(),26)));break;case 5:if(null!=(a=e.ui()))for(o=LL(a,15).Ic();o.Ob();)0==(1&(i=LL(o.Pb(),467)).Bb)&&(!(t=VX(i)).c&&(t.c=new Nl),AK(t.c,LL(e.vi(),26)));break;case 4:null!=(s=e.wi())&&0==(1&(i=LL(s,467)).Bb)&&(!(t=VX(i)).c&&(t.c=new Nl),nQ(t.c,e.vi()));break;case 6:if(null!=(s=e.wi()))for(o=LL(s,15).Ic();o.Ob();)0==(1&(i=LL(o.Pb(),467)).Bb)&&(!(t=VX(i)).c&&(t.c=new Nl),nQ(t.c,e.vi()))}this.Ck(r)}},_xe.Ck=function(e){Fpe(this,e)},_xe.b=63;eB(ZOe,"ESuperAdapter",1127);Kce(1128,1127,NRe,Sm),_xe.Ck=function(e){sue(this,e)};eB(ZOe,"EClassImpl/10",1128);Kce(1117,688,xLe),_xe.Qh=function(e,t){return fae(this,e,t)},_xe.Rh=function(e){return Une(this,e)},_xe.Sh=function(e,t){t8(this,e,t)},_xe.Th=function(e){WX(this,e)},_xe.ki=function(e){return VK(this,e)},_xe.hi=function(e,t){return tQ(this,e,t)},_xe.gk=function(e,t){throw Jm(new _b)},_xe.Uh=function(){return new LP(this)},_xe.Vh=function(){return new NP(this)},_xe.Wh=function(e){return i0(this,e)},_xe.hk=function(e,t){throw Jm(new _b)},_xe.Rj=function(e){return this},_xe.aj=function(){return 0!=this.i},_xe.Wb=function(e){throw Jm(new _b)},_xe.Sj=function(){throw Jm(new _b)};eB(iLe,"EcoreEList/UnmodifiableEList",1117);Kce(317,1117,xLe,fM),_xe.ii=function(){return!1};eB(iLe,"EcoreEList/UnmodifiableEList/FastCompare",317);Kce(1120,317,xLe,C5),_xe.Vc=function(e){var t,n;if(BT(e,170)&&-1!=(t=LL(e,170).Xi()))for(n=this.i;t<n;++t)if(OI(this.g[t])===OI(e))return t;return-1};eB(ZOe,"EClassImpl/1EAllStructuralFeaturesList",1120);Kce(1114,489,UDe,ml),_xe.mi=function(e){return fK(brt,CLe,86,e,0,1)},_xe.ii=function(){return!1};eB(ZOe,"EClassImpl/1EGenericSuperTypeEList",1114);Kce(613,489,UDe,wl),_xe.mi=function(e){return fK(urt,vLe,170,e,0,1)},_xe.ii=function(){return!1};eB(ZOe,"EClassImpl/1EStructuralFeatureUniqueEList",613);Kce(724,489,UDe,gl),_xe.mi=function(e){return fK(wrt,vLe,17,e,0,1)},_xe.ii=function(){return!1};eB(ZOe,"EClassImpl/1ReferenceList",724);Kce(1115,489,UDe,km),_xe.Yh=function(e,t){!function(e,t){0!=(t.Bb&YOe)&&!e.a.o&&(e.a.o=t)}(this,LL(t,32))},_xe.mi=function(e){return fK(crt,vLe,32,e,0,1)},_xe.ii=function(){return!1};eB(ZOe,"EClassImpl/2",1115);Kce(1116,489,UDe,xl),_xe.mi=function(e){return fK(crt,vLe,32,e,0,1)},_xe.ii=function(){return!1};eB(ZOe,"EClassImpl/3",1116);Kce(1118,317,xLe,ZL),_xe.Dc=function(e){return function(e,t){return Q_(),AK(k$(e.a),t)}(this,LL(e,32))},_xe.Th=function(e){!function(e,t){Bce(k$(e.a),t)}(this,LL(e,32))};eB(ZOe,"EClassImpl/4",1118);Kce(1119,317,xLe,QL),_xe.Dc=function(e){return function(e,t){return Q_(),AK(k$(e.a),t)}(this,LL(e,17))},_xe.Th=function(e){!function(e,t){Bce(k$(e.a),t)}(this,LL(e,17))};eB(ZOe,"EClassImpl/5",1119);Kce(1121,489,UDe,_l),_xe.mi=function(e){return fK(vrt,yLe,58,e,0,1)},_xe.ii=function(){return!1};eB(ZOe,"EClassImpl/6",1121);Kce(1122,489,UDe,Sl),_xe.mi=function(e){return fK(wrt,vLe,17,e,0,1)},_xe.ii=function(){return!1};eB(ZOe,"EClassImpl/7",1122);Kce(1966,1965,{3:1,4:1,19:1,28:1,51:1,15:1,14:1,66:1,57:1,67:1}),_xe.Qh=function(e,t){return Cme(this,e,t)},_xe.Rh=function(e){return Cme(this,this.Qi(),e)},_xe.Sh=function(e,t){Vce(this,e,t)},_xe.Th=function(e){xce(this,e)},_xe.gk=function(e,t){return function(e,t,n){var r,i,o;return e._i()?(r=e.Qi(),o=e.aj(),++e.j,e.Ci(r,e.ji(r,t)),i=e.Ui(3,null,t,r,o),n?n.zi(i):n=i):KO(e,e.Qi(),t),n}(this,e,t)},_xe.hk=function(e,t){return function(e,t,n){var r,i,o,a;return-1!=(r=e.Vc(t))&&(e._i()?(o=e.aj(),a=LN(e,r),i=e.Ui(4,a,null,r,o),n?n.zi(i):n=i):LN(e,r)),n}(this,e,t)},_xe.hi=function(e,t){return Eme(this,e,t)},_xe.ki=function(e){return this.Ji(e)},_xe.Uh=function(){return new LP(this)},_xe.Bi=function(){return this.Ei()},_xe.Vh=function(){return new NP(this)},_xe.Wh=function(e){return i0(this,e)};eB(iLe,"DelegatingNotifyingInternalEListImpl",1966);Kce(725,1966,ELe),_xe.Xh=function(){var e;return BT(e=VQ(Z$(this.b),this.Xi()).Tj(),148)&&!BT(e,450)&&0==(1&e.wj().i)},_xe.Fc=function(e){var t,n,r,i,o,a,s;if(this.Ak()){if((s=this.Qi())>4){if(!this.rj(e))return!1;if(this.mk()){if(a=(t=(n=LL(e,48)).Pg())==this.b&&(this.yk()?n.Jg(n.Qg(),LL(VQ(Z$(this.b),this.Xi()).Tj(),26).wj())==yne(LL(VQ(Z$(this.b),this.Xi()),17)).n:-1-n.Qg()==this.Xi()),this.zk()&&!a&&!t&&n.Ug())for(r=0;r<s;++r)if(OI(XF(this,this.Ji(r)))===OI(e))return!0;return a}if(this.yk()&&!this.xk()){if(OI(i=LL(e,55).Xg(yne(LL(VQ(Z$(this.b),this.Xi()),17))))===OI(this.b))return!0;if(null==i||!LL(i,55).fh())return!1}}if(o=this.Gi(e),this.zk()&&!o)for(r=0;r<s;++r)if(OI(n=XF(this,this.Ji(r)))===OI(e))return!0;return o}return this.Gi(e)},_xe.Ui=function(e,t,n,r,i){return new RZ(this.b,e,this.Xi(),t,n,r,i)},_xe.Vi=function(e){Y2(this.b,e)},_xe.Rj=function(e){return this},_xe.Wi=function(){return VQ(Z$(this.b),this.Xi())},_xe.Xi=function(){return u7(Z$(this.b),VQ(Z$(this.b),this.Xi()))},_xe.vi=function(){return this.b},_xe.wk=function(){return!!VQ(Z$(this.b),this.Xi()).Tj().wj()},_xe.Yi=function(){var e;return!!BT(e=VQ(Z$(this.b),this.Xi()),97)&&(0!=(LL(e,17).Bb&YOe)||!!yne(LL(e,17)))},_xe.xk=function(){var e,t,n;return!!BT(e=VQ(Z$(this.b),this.Xi()),97)&&(!!(t=yne(LL(e,17)))&&((n=t.t)>1||-1==n))},_xe.yk=function(){var e;return!!BT(e=VQ(Z$(this.b),this.Xi()),97)&&!!yne(LL(e,17))},_xe.zk=function(){var e;return!!BT(e=VQ(Z$(this.b),this.Xi()),97)&&0!=(LL(e,17).Bb&FSe)},_xe.Vc=function(e){var t,n,r;if((n=this.Li(e))>=0)return n;if(this.Ak())for(t=0,r=this.Qi();t<r;++t)if(OI(XF(this,this.Ji(t)))===OI(e))return t;return-1},_xe.Zi=function(e,t){var n;return n=LL(e,48),this.yk()?this.wk()?n.ah(this.b,yne(LL(VQ(Z$(this.b),this.Xi()),17)).n,LL(VQ(Z$(this.b),this.Xi()).Tj(),26).wj(),t):n.ah(this.b,u7(n.Og(),yne(LL(VQ(Z$(this.b),this.Xi()),17))),null,t):n.ah(this.b,-1-this.Xi(),null,t)},_xe.$i=function(e,t){var n;return n=LL(e,48),this.yk()?this.wk()?n.dh(this.b,yne(LL(VQ(Z$(this.b),this.Xi()),17)).n,LL(VQ(Z$(this.b),this.Xi()).Tj(),26).wj(),t):n.dh(this.b,u7(n.Og(),yne(LL(VQ(Z$(this.b),this.Xi()),17))),null,t):n.dh(this.b,-1-this.Xi(),null,t)},_xe.mk=function(){var e;return!!BT(e=VQ(Z$(this.b),this.Xi()),97)&&0!=(LL(e,17).Bb&YOe)},_xe.Ak=function(){return BT(VQ(Z$(this.b),this.Xi()).Tj(),87)},_xe.rj=function(e){return VQ(Z$(this.b),this.Xi()).Tj().rj(e)},_xe._i=function(){return FM(this.b)},_xe.aj=function(){return!this.Mi()},_xe.ci=function(){return VQ(Z$(this.b),this.Xi()).ci()},_xe.gi=function(e,t){return Jve(this,e,t)},_xe.Wb=function(e){jve(this),Qz(this,LL(e,14))},_xe.Nc=function(){var e;if(this.zk())for(e=this.Qi()-1;e>=0;--e)Jve(this,e,this.Ji(e));return this.Ri()},_xe.Oc=function(e){var t;if(this.zk())for(t=this.Qi()-1;t>=0;--t)Jve(this,t,this.Ji(t));return this.Si(e)},_xe.Sj=function(){jve(this)},_xe.ji=function(e,t){return $K(this,0,t)};eB(iLe,"DelegatingEcoreEList",725);Kce(1123,725,ELe,lD),_xe.Ci=function(e,t){!function(e,t,n){J6(pq(e.a),t,HG(n))}(this,e,LL(t,26))},_xe.Di=function(e){!function(e,t){AK(pq(e.a),HG(t))}(this,LL(e,26))},_xe.Ji=function(e){var t;return BT(t=LL(sJ(pq(this.a),e),86).c,87)?LL(t,26):(bxe(),Frt)},_xe.Oi=function(e){var t;return BT(t=LL(Yde(pq(this.a),e),86).c,87)?LL(t,26):(bxe(),Frt)},_xe.Pi=function(e,t){return function(e,t,n){var r,i,o;return(0!=(64&(o=BT(i=(r=LL(sJ(pq(e.a),t),86)).c,87)?LL(i,26):(bxe(),Frt)).Db)?P6(e.b,o):o)==n?Pme(r):vJ(r,n),o}(this,e,LL(t,26))},_xe.Xh=function(){return!1},_xe.Ui=function(e,t,n,r,i){return null},_xe.Ei=function(){return new Cm(this)},_xe.Fi=function(){Ove(pq(this.a))},_xe.Gi=function(e){return _8(this,e)},_xe.Hi=function(e){var t;for(t=e.Ic();t.Ob();)if(!_8(this,t.Pb()))return!1;return!0},_xe.Ii=function(e){var t,n,r;if(BT(e,14)&&(r=LL(e,14)).gc()==pq(this.a).i){for(t=r.Ic(),n=new SA(this);t.Ob();)if(OI(t.Pb())!==OI(Hee(n)))return!1;return!0}return!1},_xe.Ki=function(){var e,t,n,r;for(t=1,e=new SA(pq(this.a));e.e!=e.i.gc();)t=31*t+((n=BT(r=LL(Hee(e),86).c,87)?LL(r,26):(bxe(),Frt))?lP(n):0);return t},_xe.Li=function(e){var t,n,r,i;for(r=0,n=new SA(pq(this.a));n.e!=n.i.gc();){if(t=LL(Hee(n),86),OI(e)===OI(BT(i=t.c,87)?LL(i,26):(bxe(),Frt)))return r;++r}return-1},_xe.Mi=function(){return 0==pq(this.a).i},_xe.Ni=function(){return null},_xe.Qi=function(){return pq(this.a).i},_xe.Ri=function(){var e,t,n,r,i,o;for(o=pq(this.a).i,i=fK(pje,zxe,1,o,5,1),n=0,t=new SA(pq(this.a));t.e!=t.i.gc();)e=LL(Hee(t),86),i[n++]=BT(r=e.c,87)?LL(r,26):(bxe(),Frt);return i},_xe.Si=function(e){var t,n,r,i;for(i=pq(this.a).i,e.length<i&&(e=s0(g4(e).c,i)),e.length>i&&nB(e,i,null),n=0,t=new SA(pq(this.a));t.e!=t.i.gc();)nB(e,n++,BT(r=LL(Hee(t),86).c,87)?LL(r,26):(bxe(),Frt));return e},_xe.Ti=function(){var e,t,n,r,i;for((i=new hw).a+="[",e=pq(this.a),t=0,r=pq(this.a).i;t<r;)HI(i,nP(BT(n=LL(sJ(e,t),86).c,87)?LL(n,26):(bxe(),Frt))),++t<r&&(i.a+=jxe);return i.a+="]",i.a},_xe.Vi=function(e){},_xe.Xi=function(){return 10},_xe.wk=function(){return!0},_xe.Yi=function(){return!1},_xe.xk=function(){return!1},_xe.yk=function(){return!1},_xe.zk=function(){return!0},_xe.mk=function(){return!1},_xe.Ak=function(){return!0},_xe.rj=function(e){return BT(e,87)},_xe.aj=function(){return!(!(e=this.a).u||0==pq(e.u.a).i||e.n&&Ine(e.n));var e},_xe.ci=function(){return!0},_xe.ii=function(){return!0};eB(ZOe,"EClassImpl/8",1123);Kce(1124,1936,P_e,Cm),_xe.Xc=function(e){return i0(this.a,e)},_xe.gc=function(){return pq(this.a.a).i};eB(ZOe,"EClassImpl/8/1",1124);Kce(1125,489,UDe,kl),_xe.mi=function(e){return fK(frt,zxe,138,e,0,1)},_xe.ii=function(){return!1};eB(ZOe,"EClassImpl/9",1125);Kce(1112,70,JSe,Cv);eB(ZOe,"EClassImpl/MyHashSet",1112);Kce(559,348,{104:1,91:1,89:1,138:1,148:1,813:1,147:1,191:1,55:1,107:1,48:1,96:1,348:1,150:1,113:1,116:1,664:1},hb),_xe.Wg=function(e,t,n){switch(e){case 0:return!this.Ab&&(this.Ab=new FF(srt,this,0,3)),this.Ab;case 1:return this.zb;case 2:return null!=this.D?this.D:this.B;case 3:return ire(this);case 4:return this.uj();case 5:return this.F;case 6:return t?mJ(this):oG(this);case 7:return!this.A&&(this.A=new bA(Xrt,this,7)),this.A;case 8:return _P(),0!=(256&this.Bb)}return hZ(this,e-Hz(this.uh()),VQ(LL(n3(this,16),26)||this.uh(),e),t,n)},_xe.gh=function(e){switch(e){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return null!=this.D&&this.D==this.F;case 3:return!!ire(this);case 4:return null!=this.uj();case 5:return null!=this.F&&this.F!=this.D&&this.F!=this.B;case 6:return!!oG(this);case 7:return!!this.A&&0!=this.A.i;case 8:return 0==(256&this.Bb)}return QU(this,e-Hz(this.uh()),VQ(LL(n3(this,16),26)||this.uh(),e))},_xe.nh=function(e,t){switch(e){case 0:return!this.Ab&&(this.Ab=new FF(srt,this,0,3)),Ove(this.Ab),!this.Ab&&(this.Ab=new FF(srt,this,0,3)),void Qz(this.Ab,LL(t,15));case 1:return void $G(this,HO(t));case 2:return void WM(this,HO(t));case 5:return void Zve(this,HO(t));case 7:return!this.A&&(this.A=new bA(Xrt,this,7)),Ove(this.A),!this.A&&(this.A=new bA(Xrt,this,7)),void Qz(this.A,LL(t,15));case 8:return void y8(this,Ty(VO(t)))}C9(this,e-Hz(this.uh()),VQ(LL(n3(this,16),26)||this.uh(),e),t)},_xe.uh=function(){return bxe(),Art},_xe.wh=function(e){switch(e){case 0:return!this.Ab&&(this.Ab=new FF(srt,this,0,3)),void Ove(this.Ab);case 1:return BT(this.Cb,179)&&(LL(this.Cb,179).tb=null),void O1(this,null);case 2:return j4(this,null),void r0(this,this.D);case 5:return void Zve(this,null);case 7:return!this.A&&(this.A=new bA(Xrt,this,7)),void Ove(this.A);case 8:return void y8(this,!0)}e8(this,e-Hz(this.uh()),VQ(LL(n3(this,16),26)||this.uh(),e))},_xe.Bh=function(){r8((vle(),Sit),this).ne(),this.Bb|=1},_xe.Aj=function(){var e,t;if(!this.c&&!(e=Ufe(mJ(this))).dc())for(t=e.Ic();t.Ob();)ime(this,HO(t.Pb()))&&J8(this);return this.b},_xe.uj=function(){var e;if(!this.e){e=null;try{e=ire(this)}catch(e){if(!BT(e=v3(e),102))throw Jm(e)}this.d=null,e&&0!=(1&e.i)&&(this.d=e==rat?(_P(),nFe):e==nat?k8(0):e==sat?new $h(0):e==aat?0:e==iat?vee(0):e==lat?S8(0):e==oat?dQ(0):Y3(0)),this.e=!0}return this.d},_xe.zj=function(){return 0!=(256&this.Bb)},_xe.Dk=function(e){e&&(this.D="org.eclipse.emf.common.util.AbstractEnumerator")},_xe.sk=function(e){t2(this,e),this.Dk(e)},_xe.tk=function(e){this.C=e,this.e=!1},_xe.Ib=function(){var e;return 0!=(64&this.Db)?h7(this):((e=new XA(h7(this))).a+=" (serializable: ",$x(e,0!=(256&this.Bb)),e.a+=")",e.a)},_xe.c=!1,_xe.d=null,_xe.e=!1;eB(ZOe,"EDataTypeImpl",559);Kce(450,559,{104:1,91:1,89:1,138:1,148:1,813:1,659:1,147:1,191:1,55:1,107:1,48:1,96:1,348:1,450:1,150:1,113:1,116:1,664:1},Iv),_xe.Wg=function(e,t,n){switch(e){case 0:return!this.Ab&&(this.Ab=new FF(srt,this,0,3)),this.Ab;case 1:return this.zb;case 2:return null!=this.D?this.D:this.B;case 3:return ire(this);case 4:return q4(this);case 5:return this.F;case 6:return t?mJ(this):oG(this);case 7:return!this.A&&(this.A=new bA(Xrt,this,7)),this.A;case 8:return _P(),0!=(256&this.Bb);case 9:return!this.a&&(this.a=new FF(mrt,this,9,5)),this.a}return hZ(this,e-Hz((bxe(),Prt)),VQ(LL(n3(this,16),26)||Prt,e),t,n)},_xe.bh=function(e,t,n){var r;switch(t){case 0:return!this.Ab&&(this.Ab=new FF(srt,this,0,3)),C7(this.Ab,e,n);case 6:return this.Cb&&(n=(r=this.Db>>16)>=0?Cre(this,n):this.Cb.dh(this,-1-r,null,n)),Jge(this,e,6,n);case 9:return!this.a&&(this.a=new FF(mrt,this,9,5)),C7(this.a,e,n)}return LL(VQ(LL(n3(this,16),26)||(bxe(),Prt),t),65).Ij().Lj(this,Aee(this),t-Hz((bxe(),Prt)),e,n)},_xe.eh=function(e,t,n){switch(t){case 0:return!this.Ab&&(this.Ab=new FF(srt,this,0,3)),Nte(this.Ab,e,n);case 6:return Jge(this,null,6,n);case 7:return!this.A&&(this.A=new bA(Xrt,this,7)),Nte(this.A,e,n);case 9:return!this.a&&(this.a=new FF(mrt,this,9,5)),Nte(this.a,e,n)}return LL(VQ(LL(n3(this,16),26)||(bxe(),Prt),t),65).Ij().Mj(this,Aee(this),t-Hz((bxe(),Prt)),e,n)},_xe.gh=function(e){switch(e){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return null!=this.D&&this.D==this.F;case 3:return!!ire(this);case 4:return!!q4(this);case 5:return null!=this.F&&this.F!=this.D&&this.F!=this.B;case 6:return!!oG(this);case 7:return!!this.A&&0!=this.A.i;case 8:return 0==(256&this.Bb);case 9:return!!this.a&&0!=this.a.i}return QU(this,e-Hz((bxe(),Prt)),VQ(LL(n3(this,16),26)||Prt,e))},_xe.nh=function(e,t){switch(e){case 0:return!this.Ab&&(this.Ab=new FF(srt,this,0,3)),Ove(this.Ab),!this.Ab&&(this.Ab=new FF(srt,this,0,3)),void Qz(this.Ab,LL(t,15));case 1:return void $G(this,HO(t));case 2:return void WM(this,HO(t));case 5:return void Zve(this,HO(t));case 7:return!this.A&&(this.A=new bA(Xrt,this,7)),Ove(this.A),!this.A&&(this.A=new bA(Xrt,this,7)),void Qz(this.A,LL(t,15));case 8:return void y8(this,Ty(VO(t)));case 9:return!this.a&&(this.a=new FF(mrt,this,9,5)),Ove(this.a),!this.a&&(this.a=new FF(mrt,this,9,5)),void Qz(this.a,LL(t,15))}C9(this,e-Hz((bxe(),Prt)),VQ(LL(n3(this,16),26)||Prt,e),t)},_xe.uh=function(){return bxe(),Prt},_xe.wh=function(e){switch(e){case 0:return!this.Ab&&(this.Ab=new FF(srt,this,0,3)),void Ove(this.Ab);case 1:return BT(this.Cb,179)&&(LL(this.Cb,179).tb=null),void O1(this,null);case 2:return j4(this,null),void r0(this,this.D);case 5:return void Zve(this,null);case 7:return!this.A&&(this.A=new bA(Xrt,this,7)),void Ove(this.A);case 8:return void y8(this,!0);case 9:return!this.a&&(this.a=new FF(mrt,this,9,5)),void Ove(this.a)}e8(this,e-Hz((bxe(),Prt)),VQ(LL(n3(this,16),26)||Prt,e))},_xe.Bh=function(){var e,t;if(this.a)for(e=0,t=this.a.i;e<t;++e)WP(sJ(this.a,e));r8((vle(),Sit),this).ne(),this.Bb|=1},_xe.uj=function(){return q4(this)},_xe.rj=function(e){return null!=e},_xe.Dk=function(e){};eB(ZOe,"EEnumImpl",450);Kce(565,431,{104:1,91:1,89:1,1912:1,666:1,147:1,191:1,55:1,107:1,48:1,96:1,565:1,150:1,113:1,116:1},fb),_xe.ne=function(){return this.zb},_xe.Lg=function(e){return oie(this,e)},_xe.Wg=function(e,t,n){var r;switch(e){case 0:return!this.Ab&&(this.Ab=new FF(srt,this,0,3)),this.Ab;case 1:return this.zb;case 2:return k8(this.d);case 3:return this.b?this.b:this.a;case 4:return null==(r=this.c)?this.zb:r;case 5:return this.Db>>16==5?LL(this.Cb,659):null}return hZ(this,e-Hz((bxe(),Ort)),VQ(LL(n3(this,16),26)||Ort,e),t,n)},_xe.bh=function(e,t,n){var r;switch(t){case 0:return!this.Ab&&(this.Ab=new FF(srt,this,0,3)),C7(this.Ab,e,n);case 5:return this.Cb&&(n=(r=this.Db>>16)>=0?oie(this,n):this.Cb.dh(this,-1-r,null,n)),Jge(this,e,5,n)}return LL(VQ(LL(n3(this,16),26)||(bxe(),Ort),t),65).Ij().Lj(this,Aee(this),t-Hz((bxe(),Ort)),e,n)},_xe.eh=function(e,t,n){switch(t){case 0:return!this.Ab&&(this.Ab=new FF(srt,this,0,3)),Nte(this.Ab,e,n);case 5:return Jge(this,null,5,n)}return LL(VQ(LL(n3(this,16),26)||(bxe(),Ort),t),65).Ij().Mj(this,Aee(this),t-Hz((bxe(),Ort)),e,n)},_xe.gh=function(e){switch(e){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return 0!=this.d;case 3:return!!this.b;case 4:return null!=this.c;case 5:return!(this.Db>>16!=5||!LL(this.Cb,659))}return QU(this,e-Hz((bxe(),Ort)),VQ(LL(n3(this,16),26)||Ort,e))},_xe.nh=function(e,t){switch(e){case 0:return!this.Ab&&(this.Ab=new FF(srt,this,0,3)),Ove(this.Ab),!this.Ab&&(this.Ab=new FF(srt,this,0,3)),void Qz(this.Ab,LL(t,15));case 1:return void O1(this,HO(t));case 2:return void n0(this,LL(t,20).a);case 3:return void fce(this,LL(t,1912));case 4:return void q0(this,HO(t))}C9(this,e-Hz((bxe(),Ort)),VQ(LL(n3(this,16),26)||Ort,e),t)},_xe.uh=function(){return bxe(),Ort},_xe.wh=function(e){switch(e){case 0:return!this.Ab&&(this.Ab=new FF(srt,this,0,3)),void Ove(this.Ab);case 1:return void O1(this,null);case 2:return void n0(this,0);case 3:return void fce(this,null);case 4:return void q0(this,null)}e8(this,e-Hz((bxe(),Ort)),VQ(LL(n3(this,16),26)||Ort,e))},_xe.Ib=function(){var e;return null==(e=this.c)?this.zb:e},_xe.b=null,_xe.c=null,_xe.d=0;eB(ZOe,"EEnumLiteralImpl",565);var nit=NN(ZOe,"EFactoryImpl/InternalEDateTimeFormat");Kce(482,1,{1984:1},Em);var rit;eB(ZOe,"EFactoryImpl/1ClientInternalEDateTimeFormat",482);Kce(240,116,{104:1,91:1,89:1,86:1,55:1,107:1,48:1,96:1,240:1,113:1,116:1},Um),_xe.Ng=function(e,t,n){var r;return n=Jge(this,e,t,n),this.e&&BT(e,170)&&(r=che(this,this.e))!=this.c&&(n=Dye(this,r,n)),n},_xe.Wg=function(e,t,n){switch(e){case 0:return this.f;case 1:return!this.d&&(this.d=new hA(brt,this,1)),this.d;case 2:return t?Pme(this):this.c;case 3:return this.b;case 4:return this.e;case 5:return t?One(this):this.a}return hZ(this,e-Hz((bxe(),Rrt)),VQ(LL(n3(this,16),26)||Rrt,e),t,n)},_xe.eh=function(e,t,n){switch(t){case 0:return L6(this,null,n);case 1:return!this.d&&(this.d=new hA(brt,this,1)),Nte(this.d,e,n);case 3:return R6(this,null,n)}return LL(VQ(LL(n3(this,16),26)||(bxe(),Rrt),t),65).Ij().Mj(this,Aee(this),t-Hz((bxe(),Rrt)),e,n)},_xe.gh=function(e){switch(e){case 0:return!!this.f;case 1:return!!this.d&&0!=this.d.i;case 2:return!!this.c;case 3:return!!this.b;case 4:return!!this.e;case 5:return!!this.a}return QU(this,e-Hz((bxe(),Rrt)),VQ(LL(n3(this,16),26)||Rrt,e))},_xe.nh=function(e,t){switch(e){case 0:return void yoe(this,LL(t,86));case 1:return!this.d&&(this.d=new hA(brt,this,1)),Ove(this.d),!this.d&&(this.d=new hA(brt,this,1)),void Qz(this.d,LL(t,15));case 3:return void voe(this,LL(t,86));case 4:return void Xae(this,LL(t,814));case 5:return void vJ(this,LL(t,138))}C9(this,e-Hz((bxe(),Rrt)),VQ(LL(n3(this,16),26)||Rrt,e),t)},_xe.uh=function(){return bxe(),Rrt},_xe.wh=function(e){switch(e){case 0:return void yoe(this,null);case 1:return!this.d&&(this.d=new hA(brt,this,1)),void Ove(this.d);case 3:return void voe(this,null);case 4:return void Xae(this,null);case 5:return void vJ(this,null)}e8(this,e-Hz((bxe(),Rrt)),VQ(LL(n3(this,16),26)||Rrt,e))},_xe.Ib=function(){var e;return(e=new YA(jfe(this))).a+=" (expression: ",eve(this,e),e.a+=")",e.a};eB(ZOe,"EGenericTypeImpl",240);Kce(1950,1936,ILe),_xe.Sh=function(e,t){iD(this,e,t)},_xe.gk=function(e,t){return iD(this,this.gc(),e),t},_xe.ki=function(e){return bte(this.Bi(),e)},_xe.Uh=function(){return this.Vh()},_xe.Bi=function(){return new Nm(this)},_xe.Vh=function(){return this.Wh(0)},_xe.Wh=function(e){return this.Bi().Xc(e)},_xe.hk=function(e,t){return l7(this,e,!0),t},_xe.di=function(e,t){var n;return n=Nre(this,t),this.Xc(e).Rb(n),n},_xe.ei=function(e,t){l7(this,t,!0),this.Xc(e).Rb(t)};var iit;eB(iLe,"AbstractSequentialInternalEList",1950);Kce(481,1950,ILe,TP),_xe.ki=function(e){return bte(this.Bi(),e)},_xe.Uh=function(){return null==this.b?(XS(),XS(),oit):this.Ek()},_xe.Bi=function(){return new dM(this.a,this.b)},_xe.Vh=function(){return null==this.b?(XS(),XS(),oit):this.Ek()},_xe.Wh=function(e){var t,n;if(null==this.b){if(e<0||e>1)throw Jm(new Ey(zRe+e+", size=0"));return XS(),XS(),oit}for(n=this.Ek(),t=0;t<e;++t)r3(n);return n},_xe.dc=function(){var e,t,n,r,i,o;if(null!=this.b)for(n=0;n<this.b.length;++n)if(e=this.b[n],!this.Hk()||this.a.hh(e))if(o=this.a.Yg(e,!1),tk(),LL(e,65).Jj()){for(r=0,i=(t=LL(o,152)).gc();r<i;++r)if(Gz(t.dl(r))&&null!=t.el(r))return!1}else if(e.Vj()){if(!LL(o,15).dc())return!1}else if(null!=o)return!1;return!0},_xe.Ic=function(){return a1(this)},_xe.Xc=function(e){var t,n;if(null==this.b){if(0!=e)throw Jm(new Ey(zRe+e+", size=0"));return XS(),XS(),oit}for(n=this.Gk()?this.Fk():this.Ek(),t=0;t<e;++t)r3(n);return n},_xe.di=function(e,t){throw Jm(new _b)},_xe.ei=function(e,t){throw Jm(new _b)},_xe.Ek=function(){return new AP(this.a,this.b)},_xe.Fk=function(){return new dO(this.a,this.b)},_xe.Gk=function(){return!0},_xe.gc=function(){var e,t,n,r,i,o,a;if(i=0,null!=this.b)for(n=0;n<this.b.length;++n)if(e=this.b[n],!this.Hk()||this.a.hh(e))if(a=this.a.Yg(e,!1),tk(),LL(e,65).Jj())for(r=0,o=(t=LL(a,152)).gc();r<o;++r)Gz(t.dl(r))&&null!=t.el(r)&&++i;else e.Vj()?i+=LL(a,15).gc():null!=a&&++i;return i},_xe.Hk=function(){return!0};eB(iLe,"EContentsEList",481);Kce(1129,481,ILe,hO),_xe.Ek=function(){return new pO(this.a,this.b)},_xe.Fk=function(){return new gO(this.a,this.b)},_xe.Hk=function(){return!1};var oit;eB(ZOe,"ENamedElementImpl/1",1129);Kce(277,1,MLe,AP),_xe.Nb=function(e){GF(this,e)},_xe.Rb=function(e){throw Jm(new _b)},_xe.Ik=function(e){if(0!=this.g||this.e)throw Jm(new jy("Iterator already in use or already filtered"));this.e=e},_xe.Ob=function(){var e,t,n,r,i,o;switch(this.g){case 3:case 2:return!0;case 1:return!1;case-3:this.p?this.p.Pb():++this.n;default:if(this.k&&(this.p?ple(this,this.p):hce(this)))return i=this.p?this.p.Pb():this.j?this.j.ki(this.n++):this.k.Xb(this.n++),this.f?((e=LL(i,71)).Xj(),n=e.bd(),this.i=n):(n=i,this.i=n),this.g=3,!0;for(;this.d<this.c.length;)if(t=this.c[this.d++],(!this.e||t.Bj()!=Qtt||0!=t.Xi())&&(!this.Hk()||this.b.hh(t)))if(o=this.b.Yg(t,this.Gk()),this.f=(tk(),LL(t,65).Jj()),this.f||t.Vj()){if(this.Gk()?(r=LL(o,14),this.k=r):(r=LL(o,67),this.k=this.j=r),BT(this.k,53)?(this.p=null,this.o=this.k.gc(),this.n=0):this.p=this.j?this.j.Vh():this.k.Wc(),this.p?ple(this,this.p):hce(this))return i=this.p?this.p.Pb():this.j?this.j.ki(this.n++):this.k.Xb(this.n++),this.f?((e=LL(i,71)).Xj(),n=e.bd(),this.i=n):(n=i,this.i=n),this.g=3,!0}else if(null!=o)return this.k=null,this.p=null,n=o,this.i=n,this.g=2,!0;return this.k=null,this.p=null,this.f=!1,this.g=1,!1}},_xe.Sb=function(){var e,t,n,r,i,o;switch(this.g){case-3:case-2:return!0;case-1:return!1;case 3:this.p?this.p.Ub():--this.n;default:if(this.k&&(this.p?gle(this,this.p):Zle(this)))return i=this.p?this.p.Ub():this.j?this.j.ki(--this.n):this.k.Xb(--this.n),this.f?((e=LL(i,71)).Xj(),n=e.bd(),this.i=n):(n=i,this.i=n),this.g=-3,!0;for(;this.d>0;)if(t=this.c[--this.d],(!this.e||t.Bj()!=Qtt||0!=t.Xi())&&(!this.Hk()||this.b.hh(t)))if(o=this.b.Yg(t,this.Gk()),this.f=(tk(),LL(t,65).Jj()),this.f||t.Vj()){if(this.Gk()?(r=LL(o,14),this.k=r):(r=LL(o,67),this.k=this.j=r),BT(this.k,53)?(this.o=this.k.gc(),this.n=this.o):this.p=this.j?this.j.Wh(this.k.gc()):this.k.Xc(this.k.gc()),this.p?gle(this,this.p):Zle(this))return i=this.p?this.p.Ub():this.j?this.j.ki(--this.n):this.k.Xb(--this.n),this.f?((e=LL(i,71)).Xj(),n=e.bd(),this.i=n):(n=i,this.i=n),this.g=-3,!0}else if(null!=o)return this.k=null,this.p=null,n=o,this.i=n,this.g=-2,!0;return this.k=null,this.p=null,this.g=-1,!1}},_xe.Pb=function(){return r3(this)},_xe.Tb=function(){return this.a},_xe.Ub=function(){var e;if(this.g<-1||this.Sb())return--this.a,this.g=0,e=this.i,this.Sb(),e;throw Jm(new bb)},_xe.Vb=function(){return this.a-1},_xe.Qb=function(){throw Jm(new _b)},_xe.Gk=function(){return!1},_xe.Wb=function(e){throw Jm(new _b)},_xe.Hk=function(){return!0},_xe.a=0,_xe.d=0,_xe.f=!1,_xe.g=0,_xe.n=0,_xe.o=0;eB(iLe,"EContentsEList/FeatureIteratorImpl",277);Kce(689,277,MLe,dO),_xe.Gk=function(){return!0};eB(iLe,"EContentsEList/ResolvingFeatureIteratorImpl",689);Kce(1130,689,MLe,gO),_xe.Hk=function(){return!1};eB(ZOe,"ENamedElementImpl/1/1",1130);Kce(1131,277,MLe,pO),_xe.Hk=function(){return!1};eB(ZOe,"ENamedElementImpl/1/2",1131);Kce(35,142,FRe,Sq,kq,NF,IK,RZ,CX,p0,MW,g0,TW,IX,AW,v0,PW,MX,OW,m0,DW,jF,MK,V$,b0,RW,EX,LW),_xe.Wi=function(){return SK(this)},_xe.bj=function(){var e;return(e=SK(this))?e.uj():null},_xe.ti=function(e){return-1==this.b&&this.a&&(this.b=this.c.Sg(this.a.Xi(),this.a.Bj())),this.c.Jg(this.b,e)},_xe.vi=function(){return this.c},_xe.cj=function(){var e;return!!(e=SK(this))&&e.Fj()},_xe.b=-1;eB(ZOe,"ENotificationImpl",35);Kce(395,283,{104:1,91:1,89:1,147:1,191:1,55:1,58:1,107:1,466:1,48:1,96:1,150:1,395:1,283:1,113:1,116:1},Mv),_xe.Lg=function(e){return bie(this,e)},_xe.Wg=function(e,t,n){var r;switch(e){case 0:return!this.Ab&&(this.Ab=new FF(srt,this,0,3)),this.Ab;case 1:return this.zb;case 2:return _P(),0!=(256&this.Bb);case 3:return _P(),0!=(512&this.Bb);case 4:return k8(this.s);case 5:return k8(this.t);case 6:return _P(),(r=this.t)>1||-1==r;case 7:return _P(),this.s>=1;case 8:return t?fie(this):this.r;case 9:return this.q;case 10:return this.Db>>16==10?LL(this.Cb,26):null;case 11:return!this.d&&(this.d=new bA(Xrt,this,11)),this.d;case 12:return!this.c&&(this.c=new FF(yrt,this,12,10)),this.c;case 13:return!this.a&&(this.a=new uD(this,this)),this.a;case 14:return NZ(this)}return hZ(this,e-Hz((bxe(),zrt)),VQ(LL(n3(this,16),26)||zrt,e),t,n)},_xe.bh=function(e,t,n){var r;switch(t){case 0:return!this.Ab&&(this.Ab=new FF(srt,this,0,3)),C7(this.Ab,e,n);case 10:return this.Cb&&(n=(r=this.Db>>16)>=0?bie(this,n):this.Cb.dh(this,-1-r,null,n)),Jge(this,e,10,n);case 12:return!this.c&&(this.c=new FF(yrt,this,12,10)),C7(this.c,e,n)}return LL(VQ(LL(n3(this,16),26)||(bxe(),zrt),t),65).Ij().Lj(this,Aee(this),t-Hz((bxe(),zrt)),e,n)},_xe.eh=function(e,t,n){switch(t){case 0:return!this.Ab&&(this.Ab=new FF(srt,this,0,3)),Nte(this.Ab,e,n);case 9:return Zz(this,n);case 10:return Jge(this,null,10,n);case 11:return!this.d&&(this.d=new bA(Xrt,this,11)),Nte(this.d,e,n);case 12:return!this.c&&(this.c=new FF(yrt,this,12,10)),Nte(this.c,e,n);case 14:return Nte(NZ(this),e,n)}return LL(VQ(LL(n3(this,16),26)||(bxe(),zrt),t),65).Ij().Mj(this,Aee(this),t-Hz((bxe(),zrt)),e,n)},_xe.gh=function(e){var t;switch(e){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return 0==(256&this.Bb);case 3:return 0==(512&this.Bb);case 4:return 0!=this.s;case 5:return 1!=this.t;case 6:return(t=this.t)>1||-1==t;case 7:return this.s>=1;case 8:return!!this.r&&!this.q.e&&0==_B(this.q).i;case 9:return!(!this.q||this.r&&!this.q.e&&0==_B(this.q).i);case 10:return!(this.Db>>16!=10||!LL(this.Cb,26));case 11:return!!this.d&&0!=this.d.i;case 12:return!!this.c&&0!=this.c.i;case 13:return!(!this.a||0==NZ(this.a.a).i||this.b&&Mne(this.b));case 14:return!!this.b&&Mne(this.b)}return QU(this,e-Hz((bxe(),zrt)),VQ(LL(n3(this,16),26)||zrt,e))},_xe.nh=function(e,t){var n;switch(e){case 0:return!this.Ab&&(this.Ab=new FF(srt,this,0,3)),Ove(this.Ab),!this.Ab&&(this.Ab=new FF(srt,this,0,3)),void Qz(this.Ab,LL(t,15));case 1:return void O1(this,HO(t));case 2:return void w8(this,Ty(VO(t)));case 3:return void m8(this,Ty(VO(t)));case 4:return void e0(this,LL(t,20).a);case 5:return void t0(this,LL(t,20).a);case 8:return void g6(this,LL(t,138));case 9:return void((n=hae(this,LL(t,86),null))&&n.Ai());case 11:return!this.d&&(this.d=new bA(Xrt,this,11)),Ove(this.d),!this.d&&(this.d=new bA(Xrt,this,11)),void Qz(this.d,LL(t,15));case 12:return!this.c&&(this.c=new FF(yrt,this,12,10)),Ove(this.c),!this.c&&(this.c=new FF(yrt,this,12,10)),void Qz(this.c,LL(t,15));case 13:return!this.a&&(this.a=new uD(this,this)),jve(this.a),!this.a&&(this.a=new uD(this,this)),void Qz(this.a,LL(t,15));case 14:return Ove(NZ(this)),void Qz(NZ(this),LL(t,15))}C9(this,e-Hz((bxe(),zrt)),VQ(LL(n3(this,16),26)||zrt,e),t)},_xe.uh=function(){return bxe(),zrt},_xe.wh=function(e){var t;switch(e){case 0:return!this.Ab&&(this.Ab=new FF(srt,this,0,3)),void Ove(this.Ab);case 1:return void O1(this,null);case 2:return void w8(this,!0);case 3:return void m8(this,!0);case 4:return void e0(this,0);case 5:return void t0(this,1);case 8:return void g6(this,null);case 9:return void((t=hae(this,null,null))&&t.Ai());case 11:return!this.d&&(this.d=new bA(Xrt,this,11)),void Ove(this.d);case 12:return!this.c&&(this.c=new FF(yrt,this,12,10)),void Ove(this.c);case 13:return void(this.a&&jve(this.a));case 14:return void(this.b&&Ove(this.b))}e8(this,e-Hz((bxe(),zrt)),VQ(LL(n3(this,16),26)||zrt,e))},_xe.Bh=function(){var e,t;if(this.c)for(e=0,t=this.c.i;e<t;++e)WP(sJ(this.c,e));fie(this),this.Bb|=1};eB(ZOe,"EOperationImpl",395);Kce(496,725,ELe,uD),_xe.Ci=function(e,t){!function(e,t,n){J6(NZ(e.a),t,GG(n))}(this,e,LL(t,138))},_xe.Di=function(e){!function(e,t){AK(NZ(e.a),GG(t))}(this,LL(e,138))},_xe.Ji=function(e){return LL(sJ(NZ(this.a),e),86).c||(bxe(),Lrt)},_xe.Oi=function(e){return LL(Yde(NZ(this.a),e),86).c||(bxe(),Lrt)},_xe.Pi=function(e,t){return function(e,t,n){var r,i;return((i=(r=LL(sJ(NZ(e.a),t),86)).c||(bxe(),Lrt)).fh()?P6(e.b,LL(i,48)):i)==n?Pme(r):vJ(r,n),i}(this,e,LL(t,138))},_xe.Xh=function(){return!1},_xe.Ui=function(e,t,n,r,i){return null},_xe.Ei=function(){return new Im(this)},_xe.Fi=function(){Ove(NZ(this.a))},_xe.Gi=function(e){return T8(this,e)},_xe.Hi=function(e){var t;for(t=e.Ic();t.Ob();)if(!T8(this,t.Pb()))return!1;return!0},_xe.Ii=function(e){var t,n,r;if(BT(e,14)&&(r=LL(e,14)).gc()==NZ(this.a).i){for(t=r.Ic(),n=new SA(this);t.Ob();)if(OI(t.Pb())!==OI(Hee(n)))return!1;return!0}return!1},_xe.Ki=function(){var e,t,n;for(t=1,e=new SA(NZ(this.a));e.e!=e.i.gc();)t=31*t+((n=LL(Hee(e),86).c||(bxe(),Lrt))?p4(n):0);return t},_xe.Li=function(e){var t,n,r;for(r=0,n=new SA(NZ(this.a));n.e!=n.i.gc();){if(t=LL(Hee(n),86),OI(e)===OI(t.c||(bxe(),Lrt)))return r;++r}return-1},_xe.Mi=function(){return 0==NZ(this.a).i},_xe.Ni=function(){return null},_xe.Qi=function(){return NZ(this.a).i},_xe.Ri=function(){var e,t,n,r,i;for(i=NZ(this.a).i,r=fK(pje,zxe,1,i,5,1),n=0,t=new SA(NZ(this.a));t.e!=t.i.gc();)e=LL(Hee(t),86),r[n++]=e.c||(bxe(),Lrt);return r},_xe.Si=function(e){var t,n,r;for(r=NZ(this.a).i,e.length<r&&(e=s0(g4(e).c,r)),e.length>r&&nB(e,r,null),n=0,t=new SA(NZ(this.a));t.e!=t.i.gc();)nB(e,n++,LL(Hee(t),86).c||(bxe(),Lrt));return e},_xe.Ti=function(){var e,t,n,r;for((r=new hw).a+="[",e=NZ(this.a),t=0,n=NZ(this.a).i;t<n;)HI(r,nP(LL(sJ(e,t),86).c||(bxe(),Lrt))),++t<n&&(r.a+=jxe);return r.a+="]",r.a},_xe.Vi=function(e){},_xe.Xi=function(){return 13},_xe.wk=function(){return!0},_xe.Yi=function(){return!1},_xe.xk=function(){return!1},_xe.yk=function(){return!1},_xe.zk=function(){return!0},_xe.mk=function(){return!1},_xe.Ak=function(){return!0},_xe.rj=function(e){return BT(e,138)},_xe.aj=function(){return!(!(e=this.a).a||0==NZ(e.a.a).i||e.b&&Mne(e.b));var e},_xe.ci=function(){return!0},_xe.ii=function(){return!0};eB(ZOe,"EOperationImpl/1",496);Kce(1311,1936,P_e,Im),_xe.Xc=function(e){return i0(this.a,e)},_xe.gc=function(){return NZ(this.a.a).i};eB(ZOe,"EOperationImpl/1/1",1311);Kce(1312,538,xLe,eF),_xe.di=function(e,t){var n;return n=LL(Y8(this,e,t),86),FM(this.e)&&Ib(this,new MK(this.a,7,(bxe(),Brt),k8(t),n.c||Lrt,e)),n},_xe.ej=function(e,t){return function(e,t,n){var r;return r=new RZ(e.e,3,13,null,t.c||(bxe(),Lrt),ene(e,t),!1),n?n.zi(r):n=r,n}(this,LL(e,86),t)},_xe.fj=function(e,t){return function(e,t,n){var r;return r=new RZ(e.e,4,13,t.c||(bxe(),Lrt),null,ene(e,t),!1),n?n.zi(r):n=r,n}(this,LL(e,86),t)},_xe.gj=function(e,t,n){return function(e,t,n,r){var i;return i=new RZ(e.e,1,13,t.c||(bxe(),Lrt),n.c||(bxe(),Lrt),ene(e,t),!1),r?r.zi(i):r=i,r}(this,LL(e,86),LL(t,86),n)},_xe.Ui=function(e,t,n,r,i){switch(e){case 3:return sG(this,e,t,n,r,this.i>1);case 5:return sG(this,e,t,n,r,this.i-LL(n,14).gc()>0);default:return new RZ(this.e,e,this.c,t,n,r,!0)}},_xe.dj=function(){return!0},_xe.aj=function(){return Mne(this)},_xe.Sj=function(){Ove(this)};eB(ZOe,"EOperationImpl/2",1312);Kce(490,1,{1910:1,490:1},wI);eB(ZOe,"EPackageImpl/1",490);Kce(16,82,xLe,FF),_xe.uk=function(){return this.d},_xe.vk=function(){return this.b},_xe.yk=function(){return!0},_xe.b=0;eB(iLe,"EObjectContainmentWithInverseEList",16);Kce(350,16,xLe,GD),_xe.zk=function(){return!0},_xe.gi=function(e,t){return Dce(this,e,LL(t,55))};eB(iLe,"EObjectContainmentWithInverseEList/Resolving",350);Kce(298,350,xLe,$F),_xe.Zh=function(){this.a.tb=null};eB(ZOe,"EPackageImpl/2",298);Kce(1201,1,{},Cl);eB(ZOe,"EPackageImpl/3",1201);Kce(705,44,QSe,Av),_xe._b=function(e){return LI(e)?M$(this,e):!!rH(this.f,e)};eB(ZOe,"EPackageRegistryImpl",705);Kce(501,283,{104:1,91:1,89:1,147:1,191:1,55:1,1986:1,107:1,466:1,48:1,96:1,150:1,501:1,283:1,113:1,116:1},Tv),_xe.Lg=function(e){return vie(this,e)},_xe.Wg=function(e,t,n){var r;switch(e){case 0:return!this.Ab&&(this.Ab=new FF(srt,this,0,3)),this.Ab;case 1:return this.zb;case 2:return _P(),0!=(256&this.Bb);case 3:return _P(),0!=(512&this.Bb);case 4:return k8(this.s);case 5:return k8(this.t);case 6:return _P(),(r=this.t)>1||-1==r;case 7:return _P(),this.s>=1;case 8:return t?fie(this):this.r;case 9:return this.q;case 10:return this.Db>>16==10?LL(this.Cb,58):null}return hZ(this,e-Hz((bxe(),$rt)),VQ(LL(n3(this,16),26)||$rt,e),t,n)},_xe.bh=function(e,t,n){var r;switch(t){case 0:return!this.Ab&&(this.Ab=new FF(srt,this,0,3)),C7(this.Ab,e,n);case 10:return this.Cb&&(n=(r=this.Db>>16)>=0?vie(this,n):this.Cb.dh(this,-1-r,null,n)),Jge(this,e,10,n)}return LL(VQ(LL(n3(this,16),26)||(bxe(),$rt),t),65).Ij().Lj(this,Aee(this),t-Hz((bxe(),$rt)),e,n)},_xe.eh=function(e,t,n){switch(t){case 0:return!this.Ab&&(this.Ab=new FF(srt,this,0,3)),Nte(this.Ab,e,n);case 9:return Zz(this,n);case 10:return Jge(this,null,10,n)}return LL(VQ(LL(n3(this,16),26)||(bxe(),$rt),t),65).Ij().Mj(this,Aee(this),t-Hz((bxe(),$rt)),e,n)},_xe.gh=function(e){var t;switch(e){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return 0==(256&this.Bb);case 3:return 0==(512&this.Bb);case 4:return 0!=this.s;case 5:return 1!=this.t;case 6:return(t=this.t)>1||-1==t;case 7:return this.s>=1;case 8:return!!this.r&&!this.q.e&&0==_B(this.q).i;case 9:return!(!this.q||this.r&&!this.q.e&&0==_B(this.q).i);case 10:return!(this.Db>>16!=10||!LL(this.Cb,58))}return QU(this,e-Hz((bxe(),$rt)),VQ(LL(n3(this,16),26)||$rt,e))},_xe.uh=function(){return bxe(),$rt};eB(ZOe,"EParameterImpl",501);Kce(97,443,{104:1,91:1,89:1,147:1,191:1,55:1,17:1,170:1,65:1,107:1,466:1,48:1,96:1,150:1,97:1,443:1,283:1,113:1,116:1,665:1},jO),_xe.Wg=function(e,t,n){var r,i;switch(e){case 0:return!this.Ab&&(this.Ab=new FF(srt,this,0,3)),this.Ab;case 1:return this.zb;case 2:return _P(),0!=(256&this.Bb);case 3:return _P(),0!=(512&this.Bb);case 4:return k8(this.s);case 5:return k8(this.t);case 6:return _P(),(i=this.t)>1||-1==i;case 7:return _P(),this.s>=1;case 8:return t?fie(this):this.r;case 9:return this.q;case 10:return _P(),0!=(this.Bb&GRe);case 11:return _P(),0!=(this.Bb&uLe);case 12:return _P(),0!=(this.Bb&NSe);case 13:return this.j;case 14:return phe(this);case 15:return _P(),0!=(this.Bb&lLe);case 16:return _P(),0!=(this.Bb&l_e);case 17:return iG(this);case 18:return _P(),0!=(this.Bb&YOe);case 19:return _P(),!(!(r=yne(this))||0==(r.Bb&YOe));case 20:return _P(),0!=(this.Bb&FSe);case 21:return t?yne(this):this.b;case 22:return t?R5(this):AX(this);case 23:return!this.a&&(this.a=new wA(crt,this,23)),this.a}return hZ(this,e-Hz((bxe(),Hrt)),VQ(LL(n3(this,16),26)||Hrt,e),t,n)},_xe.gh=function(e){var t,n;switch(e){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return 0==(256&this.Bb);case 3:return 0==(512&this.Bb);case 4:return 0!=this.s;case 5:return 1!=this.t;case 6:return(n=this.t)>1||-1==n;case 7:return this.s>=1;case 8:return!!this.r&&!this.q.e&&0==_B(this.q).i;case 9:return!(!this.q||this.r&&!this.q.e&&0==_B(this.q).i);case 10:return 0==(this.Bb&GRe);case 11:return 0!=(this.Bb&uLe);case 12:return 0!=(this.Bb&NSe);case 13:return null!=this.j;case 14:return null!=phe(this);case 15:return 0!=(this.Bb&lLe);case 16:return 0!=(this.Bb&l_e);case 17:return!!iG(this);case 18:return 0!=(this.Bb&YOe);case 19:return!!(t=yne(this))&&0!=(t.Bb&YOe);case 20:return 0==(this.Bb&FSe);case 21:return!!this.b;case 22:return!!AX(this);case 23:return!!this.a&&0!=this.a.i}return QU(this,e-Hz((bxe(),Hrt)),VQ(LL(n3(this,16),26)||Hrt,e))},_xe.nh=function(e,t){var n;switch(e){case 0:return!this.Ab&&(this.Ab=new FF(srt,this,0,3)),Ove(this.Ab),!this.Ab&&(this.Ab=new FF(srt,this,0,3)),void Qz(this.Ab,LL(t,15));case 1:return void VG(this,HO(t));case 2:return void w8(this,Ty(VO(t)));case 3:return void m8(this,Ty(VO(t)));case 4:return void e0(this,LL(t,20).a);case 5:return void t0(this,LL(t,20).a);case 8:return void g6(this,LL(t,138));case 9:return void((n=hae(this,LL(t,86),null))&&n.Ai());case 10:return void W8(this,Ty(VO(t)));case 11:return void U8(this,Ty(VO(t)));case 12:return void G8(this,Ty(VO(t)));case 13:return void mI(this,HO(t));case 15:return void q8(this,Ty(VO(t)));case 16:return void n9(this,Ty(VO(t)));case 18:return void function(e,t){t9(e,t),BT(e.Cb,87)&&sue(VX(LL(e.Cb,87)),2)}(this,Ty(VO(t)));case 20:return void r9(this,Ty(VO(t)));case 21:return void s1(this,LL(t,17));case 23:return!this.a&&(this.a=new wA(crt,this,23)),Ove(this.a),!this.a&&(this.a=new wA(crt,this,23)),void Qz(this.a,LL(t,15))}C9(this,e-Hz((bxe(),Hrt)),VQ(LL(n3(this,16),26)||Hrt,e),t)},_xe.uh=function(){return bxe(),Hrt},_xe.wh=function(e){var t;switch(e){case 0:return!this.Ab&&(this.Ab=new FF(srt,this,0,3)),void Ove(this.Ab);case 1:return BT(this.Cb,87)&&sue(VX(LL(this.Cb,87)),4),void O1(this,null);case 2:return void w8(this,!0);case 3:return void m8(this,!0);case 4:return void e0(this,0);case 5:return void t0(this,1);case 8:return void g6(this,null);case 9:return void((t=hae(this,null,null))&&t.Ai());case 10:return void W8(this,!0);case 11:return void U8(this,!1);case 12:return void G8(this,!1);case 13:return this.i=null,void i1(this,null);case 15:return void q8(this,!1);case 16:return void n9(this,!1);case 18:return t9(this,!1),void(BT(this.Cb,87)&&sue(VX(LL(this.Cb,87)),2));case 20:return void r9(this,!0);case 21:return void s1(this,null);case 23:return!this.a&&(this.a=new wA(crt,this,23)),void Ove(this.a)}e8(this,e-Hz((bxe(),Hrt)),VQ(LL(n3(this,16),26)||Hrt,e))},_xe.Bh=function(){R5(this),WV(FZ((vle(),Sit),this)),fie(this),this.Bb|=1},_xe.Gj=function(){return yne(this)},_xe.lk=function(){var e;return!!(e=yne(this))&&0!=(e.Bb&YOe)},_xe.mk=function(){return 0!=(this.Bb&YOe)},_xe.nk=function(){return 0!=(this.Bb&FSe)},_xe.ik=function(e,t){return this.c=null,n8(this,e,t)},_xe.Ib=function(){var e;return 0!=(64&this.Db)?$pe(this):((e=new XA($pe(this))).a+=" (containment: ",$x(e,0!=(this.Bb&YOe)),e.a+=", resolveProxies: ",$x(e,0!=(this.Bb&FSe)),e.a+=")",e.a)};eB(ZOe,"EReferenceImpl",97);Kce(541,116,{104:1,43:1,91:1,89:1,133:1,55:1,107:1,48:1,96:1,541:1,113:1,116:1},El),_xe.Fb=function(e){return this===e},_xe.ad=function(){return this.b},_xe.bd=function(){return this.c},_xe.Hb=function(){return lP(this)},_xe.Ph=function(e){!function(e,t){X0(e,null==t?null:(wB(t),t))}(this,HO(e))},_xe.cd=function(e){return function(e,t){var n;return n=e.c,Y0(e,t),n}(this,HO(e))},_xe.Wg=function(e,t,n){switch(e){case 0:return this.b;case 1:return this.c}return hZ(this,e-Hz((bxe(),Grt)),VQ(LL(n3(this,16),26)||Grt,e),t,n)},_xe.gh=function(e){switch(e){case 0:return null!=this.b;case 1:return null!=this.c}return QU(this,e-Hz((bxe(),Grt)),VQ(LL(n3(this,16),26)||Grt,e))},_xe.nh=function(e,t){switch(e){case 0:return void function(e,t){X0(e,null==t?null:(wB(t),t))}(this,HO(t));case 1:return void Y0(this,HO(t))}C9(this,e-Hz((bxe(),Grt)),VQ(LL(n3(this,16),26)||Grt,e),t)},_xe.uh=function(){return bxe(),Grt},_xe.wh=function(e){switch(e){case 0:return void X0(this,null);case 1:return void Y0(this,null)}e8(this,e-Hz((bxe(),Grt)),VQ(LL(n3(this,16),26)||Grt,e))},_xe.Nh=function(){var e;return-1==this.a&&(e=this.b,this.a=null==e?0:ane(e)),this.a},_xe.Oh=function(e){this.a=e},_xe.Ib=function(){var e;return 0!=(64&this.Db)?jfe(this):((e=new XA(jfe(this))).a+=" (key: ",HI(e,this.b),e.a+=", value: ",HI(e,this.c),e.a+=")",e.a)},_xe.a=-1,_xe.b=null,_xe.c=null;var ait=eB(ZOe,"EStringToStringMapEntryImpl",541),sit=NN(iLe,"FeatureMap/Entry/Internal");Kce(558,1,TLe),_xe.Jk=function(e){return this.Kk(LL(e,48))},_xe.Kk=function(e){return this.Jk(e)},_xe.Fb=function(e){var t,n;return this===e||!!BT(e,71)&&((t=LL(e,71)).Xj()==this.c&&(null==(n=this.bd())?null==t.bd():l8(n,t.bd())))},_xe.Xj=function(){return this.c},_xe.Hb=function(){var e;return e=this.bd(),p4(this.c)^(null==e?0:p4(e))},_xe.Ib=function(){var e,t;return t=mJ((e=this.c).Cj()).Kh(),e.ne(),(null!=t&&0!=t.length?t+":"+e.ne():e.ne())+"="+this.bd()};eB(ZOe,"EStructuralFeatureImpl/BasicFeatureMapEntry",558);Kce(759,558,TLe,SD),_xe.Kk=function(e){return new SD(this.c,e)},_xe.bd=function(){return this.a},_xe.Lk=function(e,t,n){return function(e,t,n,r,i){var o;return n&&(o=u7(t.Og(),e.c),i=n.ah(t,-1-(-1==o?r:o),null,i)),i}(this,e,this.a,t,n)},_xe.Mk=function(e,t,n){return function(e,t,n,r,i){var o;return n&&(o=u7(t.Og(),e.c),i=n.dh(t,-1-(-1==o?r:o),null,i)),i}(this,e,this.a,t,n)};eB(ZOe,"EStructuralFeatureImpl/ContainmentUpdatingFeatureMapEntry",759);Kce(1285,1,{},xI),_xe.Kj=function(e,t,n,r,i){return LL(jK(e,this.b),212).il(this.a).Rj(r)},_xe.Lj=function(e,t,n,r,i){return LL(jK(e,this.b),212)._k(this.a,r,i)},_xe.Mj=function(e,t,n,r,i){return LL(jK(e,this.b),212).al(this.a,r,i)},_xe.Nj=function(e,t,n){return LL(jK(e,this.b),212).il(this.a).aj()},_xe.Oj=function(e,t,n,r){LL(jK(e,this.b),212).il(this.a).Wb(r)},_xe.Pj=function(e,t,n){return LL(jK(e,this.b),212).il(this.a)},_xe.Qj=function(e,t,n){LL(jK(e,this.b),212).il(this.a).Sj()};eB(ZOe,"EStructuralFeatureImpl/InternalSettingDelegateFeatureMapDelegator",1285);Kce(88,1,{},hL,n$,X$,Cq),_xe.Kj=function(e,t,n,r,i){var o;if(null==(o=t.xh(n))&&t.yh(n,o=sxe(this,e)),!i)switch(this.e){case 50:case 41:return LL(o,580).nj();case 40:return LL(o,212).fl()}return o},_xe.Lj=function(e,t,n,r,i){var o;return null==(o=t.xh(n))&&t.yh(n,o=sxe(this,e)),LL(o,67).gk(r,i)},_xe.Mj=function(e,t,n,r,i){var o;return null!=(o=t.xh(n))&&(i=LL(o,67).hk(r,i)),i},_xe.Nj=function(e,t,n){var r;return null!=(r=t.xh(n))&&LL(r,76).aj()},_xe.Oj=function(e,t,n,r){var i;!(i=LL(t.xh(n),76))&&t.yh(n,i=sxe(this,e)),i.Wb(r)},_xe.Pj=function(e,t,n){var r;return null==(r=t.xh(n))&&t.yh(n,r=sxe(this,e)),BT(r,76)?LL(r,76):new Pm(LL(t.xh(n),14))},_xe.Qj=function(e,t,n){var r;!(r=LL(t.xh(n),76))&&t.yh(n,r=sxe(this,e)),r.Sj()},_xe.b=0,_xe.e=0;var lit;eB(ZOe,"EStructuralFeatureImpl/InternalSettingDelegateMany",88);Kce(495,1,{}),_xe.Lj=function(e,t,n,r,i){throw Jm(new _b)},_xe.Mj=function(e,t,n,r,i){throw Jm(new _b)},_xe.Pj=function(e,t,n){return new JV(this,e,t,n)};eB(ZOe,"EStructuralFeatureImpl/InternalSettingDelegateSingle",495);Kce(1302,1,oLe,JV),_xe.Rj=function(e){return this.a.Kj(this.c,this.d,this.b,e,!0)},_xe.aj=function(){return this.a.Nj(this.c,this.d,this.b)},_xe.Wb=function(e){this.a.Oj(this.c,this.d,this.b,e)},_xe.Sj=function(){this.a.Qj(this.c,this.d,this.b)},_xe.b=0;eB(ZOe,"EStructuralFeatureImpl/InternalSettingDelegateSingle/1",1302);Kce(752,495,{},bH),_xe.Kj=function(e,t,n,r,i){return mge(e,e.$g(),e.Qg())==this.b?this.nk()&&r?$ce(e):e.$g():null},_xe.Lj=function(e,t,n,r,i){var o,a;return e.$g()&&(i=(o=e.Qg())>=0?e.Lg(i):e.$g().dh(e,-1-o,null,i)),a=u7(e.Og(),this.e),e.Ng(r,a,i)},_xe.Mj=function(e,t,n,r,i){var o;return o=u7(e.Og(),this.e),e.Ng(null,o,i)},_xe.Nj=function(e,t,n){var r;return r=u7(e.Og(),this.e),!!e.$g()&&e.Qg()==r},_xe.Oj=function(e,t,n,r){var i,o,a,s,l;if(null!=r&&!Dme(this.a,r))throw Jm(new Ly(ALe+(BT(r,55)?moe(LL(r,55).Og()):fJ(g4(r)))+PLe+this.a+"'"));if(i=e.$g(),a=u7(e.Og(),this.e),OI(r)!==OI(i)||e.Qg()!=a&&null!=r){if(cie(e,LL(r,55)))throw Jm(new Ny(JOe+e.Ib()));l=null,i&&(l=(o=e.Qg())>=0?e.Lg(l):e.$g().dh(e,-1-o,null,l)),(s=LL(r,48))&&(l=s.ah(e,u7(s.Og(),this.b),null,l)),(l=e.Ng(s,a,l))&&l.Ai()}else e.Gg()&&e.Hg()&&Y2(e,new NF(e,1,a,r,r))},_xe.Qj=function(e,t,n){var r,i,o;e.$g()?(o=(r=e.Qg())>=0?e.Lg(null):e.$g().dh(e,-1-r,null,null),i=u7(e.Og(),this.e),(o=e.Ng(null,i,o))&&o.Ai()):e.Gg()&&e.Hg()&&Y2(e,new jF(e,1,this.e,null,null))},_xe.nk=function(){return!1};eB(ZOe,"EStructuralFeatureImpl/InternalSettingDelegateSingleContainer",752);Kce(1286,752,{},pL),_xe.nk=function(){return!0};eB(ZOe,"EStructuralFeatureImpl/InternalSettingDelegateSingleContainerResolving",1286);Kce(556,495,{}),_xe.Kj=function(e,t,n,r,i){var o;return null==(o=t.xh(n))?this.b:OI(o)===OI(lit)?null:o},_xe.Nj=function(e,t,n){var r;return null!=(r=t.xh(n))&&(OI(r)===OI(lit)||!l8(r,this.b))},_xe.Oj=function(e,t,n,r){var i,o;e.Gg()&&e.Hg()?(i=null==(o=t.xh(n))?this.b:OI(o)===OI(lit)?null:o,null==r?null!=this.c?(t.yh(n,null),r=this.b):null!=this.b?t.yh(n,lit):t.yh(n,null):(this.Nk(r),t.yh(n,r)),Y2(e,this.d.Ok(e,1,this.e,i,r))):null==r?null!=this.c?t.yh(n,null):null!=this.b?t.yh(n,lit):t.yh(n,null):(this.Nk(r),t.yh(n,r))},_xe.Qj=function(e,t,n){var r,i;e.Gg()&&e.Hg()?(r=null==(i=t.xh(n))?this.b:OI(i)===OI(lit)?null:i,t.zh(n),Y2(e,this.d.Ok(e,1,this.e,r,this.b))):t.zh(n)},_xe.Nk=function(e){throw Jm(new vb)};var uit,cit,fit,hit,dit,pit,git,mit,bit;eB(ZOe,"EStructuralFeatureImpl/InternalSettingDelegateSingleData",556);Kce(OLe,1,{},Il),_xe.Ok=function(e,t,n,r,i){return new jF(e,t,n,r,i)},_xe.Pk=function(e,t,n,r,i,o){return new V$(e,t,n,r,i,o)};eB(ZOe,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator",OLe);Kce(1303,OLe,{},Ml),_xe.Ok=function(e,t,n,r,i){return new EX(e,t,n,Ty(VO(r)),Ty(VO(i)))},_xe.Pk=function(e,t,n,r,i,o){return new LW(e,t,n,Ty(VO(r)),Ty(VO(i)),o)};eB(ZOe,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/1",1303);Kce(1304,OLe,{},Tl),_xe.Ok=function(e,t,n,r,i){return new p0(e,t,n,LL(r,215).a,LL(i,215).a)},_xe.Pk=function(e,t,n,r,i,o){return new MW(e,t,n,LL(r,215).a,LL(i,215).a,o)};eB(ZOe,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/2",1304);Kce(1305,OLe,{},Al),_xe.Ok=function(e,t,n,r,i){return new g0(e,t,n,LL(r,172).a,LL(i,172).a)},_xe.Pk=function(e,t,n,r,i,o){return new TW(e,t,n,LL(r,172).a,LL(i,172).a,o)};eB(ZOe,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/3",1305);Kce(1306,OLe,{},Pl),_xe.Ok=function(e,t,n,r,i){return new IX(e,t,n,Oy($O(r)),Oy($O(i)))},_xe.Pk=function(e,t,n,r,i,o){return new AW(e,t,n,Oy($O(r)),Oy($O(i)),o)};eB(ZOe,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/4",1306);Kce(1307,OLe,{},Ol),_xe.Ok=function(e,t,n,r,i){return new v0(e,t,n,LL(r,155).a,LL(i,155).a)},_xe.Pk=function(e,t,n,r,i,o){return new PW(e,t,n,LL(r,155).a,LL(i,155).a,o)};eB(ZOe,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/5",1307);Kce(1308,OLe,{},Dl),_xe.Ok=function(e,t,n,r,i){return new MX(e,t,n,LL(r,20).a,LL(i,20).a)},_xe.Pk=function(e,t,n,r,i,o){return new OW(e,t,n,LL(r,20).a,LL(i,20).a,o)};eB(ZOe,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/6",1308);Kce(1309,OLe,{},Rl),_xe.Ok=function(e,t,n,r,i){return new m0(e,t,n,LL(r,162).a,LL(i,162).a)},_xe.Pk=function(e,t,n,r,i,o){return new DW(e,t,n,LL(r,162).a,LL(i,162).a,o)};eB(ZOe,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/7",1309);Kce(1310,OLe,{},Ll),_xe.Ok=function(e,t,n,r,i){return new b0(e,t,n,LL(r,186).a,LL(i,186).a)},_xe.Pk=function(e,t,n,r,i,o){return new RW(e,t,n,LL(r,186).a,LL(i,186).a,o)};eB(ZOe,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/8",1310);Kce(1288,556,{},r$),_xe.Nk=function(e){if(!this.a.rj(e))throw Jm(new Ly(ALe+g4(e)+PLe+this.a+"'"))};eB(ZOe,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataDynamic",1288);Kce(1289,556,{},tF),_xe.Nk=function(e){};eB(ZOe,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataStatic",1289);Kce(753,556,{}),_xe.Nj=function(e,t,n){return null!=t.xh(n)},_xe.Oj=function(e,t,n,r){var i,o;e.Gg()&&e.Hg()?(i=!0,null==(o=t.xh(n))?(i=!1,o=this.b):OI(o)===OI(lit)&&(o=null),null==r?null!=this.c?(t.yh(n,null),r=this.b):t.yh(n,lit):(this.Nk(r),t.yh(n,r)),Y2(e,this.d.Pk(e,1,this.e,o,r,!i))):null==r?null!=this.c?t.yh(n,null):t.yh(n,lit):(this.Nk(r),t.yh(n,r))},_xe.Qj=function(e,t,n){var r,i;e.Gg()&&e.Hg()?(r=!0,null==(i=t.xh(n))?(r=!1,i=this.b):OI(i)===OI(lit)&&(i=null),t.zh(n),Y2(e,this.d.Pk(e,2,this.e,i,this.b,r))):t.zh(n)};eB(ZOe,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettable",753);Kce(1290,753,{},i$),_xe.Nk=function(e){if(!this.a.rj(e))throw Jm(new Ly(ALe+g4(e)+PLe+this.a+"'"))};eB(ZOe,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettableDynamic",1290);Kce(1291,753,{},nF),_xe.Nk=function(e){};eB(ZOe,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettableStatic",1291);Kce(394,495,{},fj),_xe.Kj=function(e,t,n,r,i){var o,a,s,l,u;if(u=t.xh(n),this.Fj()&&OI(u)===OI(lit))return null;if(this.nk()&&r&&null!=u){if((s=LL(u,48)).fh()&&s!=(l=P6(e,s))){if(!Dme(this.a,l))throw Jm(new Ly(ALe+g4(l)+PLe+this.a+"'"));t.yh(n,u=l),this.mk()&&(o=LL(l,48),a=s.dh(e,this.b?u7(s.Og(),this.b):-1-u7(e.Og(),this.e),null,null),!o.$g()&&(a=o.ah(e,this.b?u7(o.Og(),this.b):-1-u7(e.Og(),this.e),null,a)),a&&a.Ai()),e.Gg()&&e.Hg()&&Y2(e,new jF(e,9,this.e,s,l))}return u}return u},_xe.Lj=function(e,t,n,r,i){var o,a;return OI(a=t.xh(n))===OI(lit)&&(a=null),t.yh(n,r),this.Yi()?OI(a)!==OI(r)&&null!=a&&(i=(o=LL(a,48)).dh(e,u7(o.Og(),this.b),null,i)):this.mk()&&null!=a&&(i=LL(a,48).dh(e,-1-u7(e.Og(),this.e),null,i)),e.Gg()&&e.Hg()&&(!i&&(i=new ux(4)),i.zi(new jF(e,1,this.e,a,r))),i},_xe.Mj=function(e,t,n,r,i){var o;return OI(o=t.xh(n))===OI(lit)&&(o=null),t.zh(n),e.Gg()&&e.Hg()&&(!i&&(i=new ux(4)),this.Fj()?i.zi(new jF(e,2,this.e,o,null)):i.zi(new jF(e,1,this.e,o,null))),i},_xe.Nj=function(e,t,n){return null!=t.xh(n)},_xe.Oj=function(e,t,n,r){var i,o,a,s,l;if(null!=r&&!Dme(this.a,r))throw Jm(new Ly(ALe+(BT(r,55)?moe(LL(r,55).Og()):fJ(g4(r)))+PLe+this.a+"'"));s=null!=(l=t.xh(n)),this.Fj()&&OI(l)===OI(lit)&&(l=null),a=null,this.Yi()?OI(l)!==OI(r)&&(null!=l&&(a=(i=LL(l,48)).dh(e,u7(i.Og(),this.b),null,a)),null!=r&&(a=(i=LL(r,48)).ah(e,u7(i.Og(),this.b),null,a))):this.mk()&&OI(l)!==OI(r)&&(null!=l&&(a=LL(l,48).dh(e,-1-u7(e.Og(),this.e),null,a)),null!=r&&(a=LL(r,48).ah(e,-1-u7(e.Og(),this.e),null,a))),null==r&&this.Fj()?t.yh(n,lit):t.yh(n,r),e.Gg()&&e.Hg()?(o=new V$(e,1,this.e,l,r,this.Fj()&&!s),a?(a.zi(o),a.Ai()):Y2(e,o)):a&&a.Ai()},_xe.Qj=function(e,t,n){var r,i,o,a,s;a=null!=(s=t.xh(n)),this.Fj()&&OI(s)===OI(lit)&&(s=null),o=null,null!=s&&(this.Yi()?o=(r=LL(s,48)).dh(e,u7(r.Og(),this.b),null,o):this.mk()&&(o=LL(s,48).dh(e,-1-u7(e.Og(),this.e),null,o))),t.zh(n),e.Gg()&&e.Hg()?(i=new V$(e,this.Fj()?2:1,this.e,s,null,a),o?(o.zi(i),o.Ai()):Y2(e,i)):o&&o.Ai()},_xe.Yi=function(){return!1},_xe.mk=function(){return!1},_xe.nk=function(){return!1},_xe.Fj=function(){return!1};eB(ZOe,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObject",394);Kce(557,394,{},mO),_xe.mk=function(){return!0};eB(ZOe,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainment",557);Kce(1294,557,{},bO),_xe.nk=function(){return!0};eB(ZOe,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentResolving",1294);Kce(755,557,{},vO),_xe.Fj=function(){return!0};eB(ZOe,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentUnsettable",755);Kce(1296,755,{},yO),_xe.nk=function(){return!0};eB(ZOe,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentUnsettableResolving",1296);Kce(630,557,{},gL),_xe.Yi=function(){return!0};eB(ZOe,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverse",630);Kce(1295,630,{},mL),_xe.nk=function(){return!0};eB(ZOe,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseResolving",1295);Kce(756,630,{},bL),_xe.Fj=function(){return!0};eB(ZOe,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseUnsettable",756);Kce(1297,756,{},vL),_xe.nk=function(){return!0};eB(ZOe,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseUnsettableResolving",1297);Kce(631,394,{},wO),_xe.nk=function(){return!0};eB(ZOe,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolving",631);Kce(1298,631,{},_O),_xe.Fj=function(){return!0};eB(ZOe,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingUnsettable",1298);Kce(757,631,{},yL),_xe.Yi=function(){return!0};eB(ZOe,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingWithInverse",757);Kce(1299,757,{},xL),_xe.Fj=function(){return!0};eB(ZOe,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingWithInverseUnsettable",1299);Kce(1292,394,{},xO),_xe.Fj=function(){return!0};eB(ZOe,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectUnsettable",1292);Kce(754,394,{},wL),_xe.Yi=function(){return!0};eB(ZOe,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectWithInverse",754);Kce(1293,754,{},_L),_xe.Fj=function(){return!0};eB(ZOe,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectWithInverseUnsettable",1293);Kce(758,558,TLe,TB),_xe.Kk=function(e){return new TB(this.a,this.c,e)},_xe.bd=function(){return this.b},_xe.Lk=function(e,t,n){return function(e,t,n,r){return n&&(r=n.ah(t,u7(n.Og(),e.c.Gj()),null,r)),r}(this,e,this.b,n)},_xe.Mk=function(e,t,n){return function(e,t,n,r){return n&&(r=n.dh(t,u7(n.Og(),e.c.Gj()),null,r)),r}(this,e,this.b,n)};eB(ZOe,"EStructuralFeatureImpl/InverseUpdatingFeatureMapEntry",758);Kce(1300,1,oLe,Pm),_xe.Rj=function(e){return this.a},_xe.aj=function(){return BT(this.a,95)?LL(this.a,95).aj():!this.a.dc()},_xe.Wb=function(e){this.a.$b(),this.a.Ec(LL(e,14))},_xe.Sj=function(){BT(this.a,95)?LL(this.a,95).Sj():this.a.$b()};eB(ZOe,"EStructuralFeatureImpl/SettingMany",1300);Kce(1301,558,TLe,Mq),_xe.Jk=function(e){return new kD((Yve(),uot),this.b.Dh(this.a,e))},_xe.bd=function(){return null},_xe.Lk=function(e,t,n){return n},_xe.Mk=function(e,t,n){return n};eB(ZOe,"EStructuralFeatureImpl/SimpleContentFeatureMapEntry",1301);Kce(632,558,TLe,kD),_xe.Jk=function(e){return new kD(this.c,e)},_xe.bd=function(){return this.a},_xe.Lk=function(e,t,n){return n},_xe.Mk=function(e,t,n){return n};eB(ZOe,"EStructuralFeatureImpl/SimpleFeatureMapEntry",632);Kce(387,489,UDe,Nl),_xe.mi=function(e){return fK(hrt,zxe,26,e,0,1)},_xe.ii=function(){return!1};eB(ZOe,"ESuperAdapter/1",387);Kce(438,431,{104:1,91:1,89:1,147:1,191:1,55:1,107:1,814:1,48:1,96:1,150:1,438:1,113:1,116:1},jl),_xe.Wg=function(e,t,n){switch(e){case 0:return!this.Ab&&(this.Ab=new FF(srt,this,0,3)),this.Ab;case 1:return this.zb;case 2:return!this.a&&(this.a=new hj(this,brt,this)),this.a}return hZ(this,e-Hz((bxe(),qrt)),VQ(LL(n3(this,16),26)||qrt,e),t,n)},_xe.eh=function(e,t,n){switch(t){case 0:return!this.Ab&&(this.Ab=new FF(srt,this,0,3)),Nte(this.Ab,e,n);case 2:return!this.a&&(this.a=new hj(this,brt,this)),Nte(this.a,e,n)}return LL(VQ(LL(n3(this,16),26)||(bxe(),qrt),t),65).Ij().Mj(this,Aee(this),t-Hz((bxe(),qrt)),e,n)},_xe.gh=function(e){switch(e){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return!!this.a&&0!=this.a.i}return QU(this,e-Hz((bxe(),qrt)),VQ(LL(n3(this,16),26)||qrt,e))},_xe.nh=function(e,t){switch(e){case 0:return!this.Ab&&(this.Ab=new FF(srt,this,0,3)),Ove(this.Ab),!this.Ab&&(this.Ab=new FF(srt,this,0,3)),void Qz(this.Ab,LL(t,15));case 1:return void O1(this,HO(t));case 2:return!this.a&&(this.a=new hj(this,brt,this)),Ove(this.a),!this.a&&(this.a=new hj(this,brt,this)),void Qz(this.a,LL(t,15))}C9(this,e-Hz((bxe(),qrt)),VQ(LL(n3(this,16),26)||qrt,e),t)},_xe.uh=function(){return bxe(),qrt},_xe.wh=function(e){switch(e){case 0:return!this.Ab&&(this.Ab=new FF(srt,this,0,3)),void Ove(this.Ab);case 1:return void O1(this,null);case 2:return!this.a&&(this.a=new hj(this,brt,this)),void Ove(this.a)}e8(this,e-Hz((bxe(),qrt)),VQ(LL(n3(this,16),26)||qrt,e))};eB(ZOe,"ETypeParameterImpl",438);Kce(439,82,xLe,hj),_xe.Zi=function(e,t){return function(e,t,n){var r,i;for(n=Rte(t,e.e,-1-e.c,n),i=new Dm(new m4(new jh(QB(e.a).a).a));i.a.b;)n=Dye(r=LL(kJ(i.a).ad(),86),che(r,e.a),n);return n}(this,LL(e,86),t)},_xe.$i=function(e,t){return function(e,t,n){var r,i;for(n=fH(t,e.e,-1-e.c,n),i=new Dm(new m4(new jh(QB(e.a).a).a));i.a.b;)n=Dye(r=LL(kJ(i.a).ad(),86),che(r,e.a),n);return n}(this,LL(e,86),t)};eB(ZOe,"ETypeParameterImpl/1",439);Kce(624,44,QSe,Pv),_xe.ec=function(){return new Om(this)};eB(ZOe,"ETypeParameterImpl/2",624);Kce(550,Zxe,Qxe,Om),_xe.Dc=function(e){return UD(this,LL(e,86))},_xe.Ec=function(e){var t,n,r;for(r=!1,n=e.Ic();n.Ob();)t=LL(n.Pb(),86),null==eV(this.a,t,"")&&(r=!0);return r},_xe.$b=function(){JF(this.a)},_xe.Fc=function(e){return KF(this.a,e)},_xe.Ic=function(){return new Dm(new m4(new jh(this.a).a))},_xe.Kc=function(e){return SY(this,e)},_xe.gc=function(){return Y_(this.a)};eB(ZOe,"ETypeParameterImpl/2/1",550);Kce(551,1,qxe,Dm),_xe.Nb=function(e){GF(this,e)},_xe.Pb=function(){return LL(kJ(this.a).ad(),86)},_xe.Ob=function(){return this.a.b},_xe.Qb=function(){OK(this.a)};eB(ZOe,"ETypeParameterImpl/2/1/1",551);Kce(1248,44,QSe,Ov),_xe._b=function(e){return LI(e)?M$(this,e):!!rH(this.f,e)},_xe.vc=function(e){var t;return BT(t=LI(e)?CH(this,e):PI(rH(this.f,e)),815)?(t=LL(t,815).Wj(),eV(this,LL(e,234),t),t):null!=t?t:null==e?(ek(),Mit):null};eB(ZOe,"EValidatorRegistryImpl",1248);Kce(1284,696,{104:1,91:1,89:1,465:1,147:1,55:1,107:1,1913:1,48:1,96:1,150:1,113:1,116:1},Fl),_xe.Dh=function(e,t){switch(e.tj()){case 21:case 22:case 23:case 24:case 26:case 31:case 32:case 37:case 38:case 39:case 40:case 43:case 44:case 48:case 49:case 20:return null==t?null:P9(t);case 25:return yJ(t);case 27:case 28:return function(e){return BT(e,172)?""+LL(e,172).a:null==e?null:P9(e)}(t);case 29:return null==t?null:jT(dnt[0],LL(t,198));case 41:return null==t?"":Fx(LL(t,289));case 42:return P9(t);case 50:return HO(t);default:throw Jm(new Ny(eDe+e.ne()+tDe))}},_xe.Eh=function(e){var t;switch(-1==e.G&&(e.G=(t=mJ(e))?ene(t.Hh(),e):-1),e.G){case 0:return new Ev;case 1:return new yl;case 2:return new Af;case 4:return new hb;case 5:return new Iv;case 6:return new fb;case 7:return new Mf;case 10:return new vl;case 11:return new Mv;case 12:return new C$;case 13:return new Tv;case 14:return new jO;case 17:return new El;case 18:return new Um;case 19:return new jl;default:throw Jm(new Ny(iDe+e.zb+tDe))}},_xe.Fh=function(e,t){switch(e.tj()){case 20:return null==t?null:new t_(t);case 21:return null==t?null:new eT(t);case 23:case 22:return null==t?null:function(e){if(Oee(GPe,e))return _P(),rFe;if(Oee(WPe,e))return _P(),nFe;throw Jm(new Ny("Expecting true or false"))}(t);case 26:case 24:return null==t?null:dQ(Hge(t,-128,127)<<24>>24);case 25:return function(e){var t,n,r,i,o,a,s;if(null==e)return null;for(s=e.length,a=fK(oat,rDe,24,i=(s+1)/2|0,15,1),s%2!=0&&(a[--i]=Spe((TG(s-1,e.length),e.charCodeAt(s-1)))),n=0,r=0;n<i;++n)t=Spe(dV(e,r++)),o=Spe(dV(e,r++)),a[n]=(t<<4|o)<<24>>24;return a}(t);case 27:return function(e){var t;if(null==e)return null;t=0;try{t=Hge(e,F_e,Dxe)&X_e}catch(n){if(!BT(n=v3(n),127))throw Jm(n);t=BZ(e)[0]}return Y3(t)}(t);case 28:return function(e){var t;if(null==e)return null;t=0;try{t=Hge(e,F_e,Dxe)&X_e}catch(n){if(!BT(n=v3(n),127))throw Jm(n);t=BZ(e)[0]}return Y3(t)}(t);case 29:return function(e){var t,n;if(null==e)return null;for(t=null,n=0;n<dnt.length;++n)try{return US(dnt[n],e)}catch(e){if(!BT(e=v3(e),31))throw Jm(e);t=e}throw Jm(new DZ(t))}(t);case 32:case 31:return null==t?null:pse(t);case 38:case 37:return null==t?null:new ev(t);case 40:case 39:return null==t?null:k8(Hge(t,F_e,Dxe));case 41:case 42:return null;case 44:case 43:return null==t?null:vee(nwe(t));case 49:case 48:return null==t?null:S8(Hge(t,RLe,32767)<<16>>16);case 50:return t;default:throw Jm(new Ny(eDe+e.ne()+tDe))}};eB(ZOe,"EcoreFactoryImpl",1284);Kce(540,179,{104:1,91:1,89:1,147:1,191:1,55:1,234:1,107:1,1911:1,48:1,96:1,150:1,179:1,540:1,113:1,116:1,663:1},WB),_xe.gb=!1,_xe.hb=!1;var vit,yit=!1;eB(ZOe,"EcorePackageImpl",540);Kce(1157,1,{815:1},zl),_xe.Wj=function(){return NA(),Tit};eB(ZOe,"EcorePackageImpl/1",1157);Kce(1166,1,qLe,Bl),_xe.rj=function(e){return BT(e,147)},_xe.sj=function(e){return fK(ont,zxe,147,e,0,1)};eB(ZOe,"EcorePackageImpl/10",1166);Kce(1167,1,qLe,Vl),_xe.rj=function(e){return BT(e,191)},_xe.sj=function(e){return fK(snt,zxe,191,e,0,1)};eB(ZOe,"EcorePackageImpl/11",1167);Kce(1168,1,qLe,$l),_xe.rj=function(e){return BT(e,55)},_xe.sj=function(e){return fK(Ztt,zxe,55,e,0,1)};eB(ZOe,"EcorePackageImpl/12",1168);Kce(1169,1,qLe,Hl),_xe.rj=function(e){return BT(e,395)},_xe.sj=function(e){return fK(vrt,yLe,58,e,0,1)};eB(ZOe,"EcorePackageImpl/13",1169);Kce(1170,1,qLe,Gl),_xe.rj=function(e){return BT(e,234)},_xe.sj=function(e){return fK(lnt,zxe,234,e,0,1)};eB(ZOe,"EcorePackageImpl/14",1170);Kce(1171,1,qLe,Wl),_xe.rj=function(e){return BT(e,501)},_xe.sj=function(e){return fK(yrt,zxe,1986,e,0,1)};eB(ZOe,"EcorePackageImpl/15",1171);Kce(1172,1,qLe,Ul),_xe.rj=function(e){return BT(e,97)},_xe.sj=function(e){return fK(wrt,vLe,17,e,0,1)};eB(ZOe,"EcorePackageImpl/16",1172);Kce(1173,1,qLe,ql),_xe.rj=function(e){return BT(e,170)},_xe.sj=function(e){return fK(urt,vLe,170,e,0,1)};eB(ZOe,"EcorePackageImpl/17",1173);Kce(1174,1,qLe,Xl),_xe.rj=function(e){return BT(e,466)},_xe.sj=function(e){return fK(lrt,zxe,466,e,0,1)};eB(ZOe,"EcorePackageImpl/18",1174);Kce(1175,1,qLe,Yl),_xe.rj=function(e){return BT(e,541)},_xe.sj=function(e){return fK(ait,HRe,541,e,0,1)};eB(ZOe,"EcorePackageImpl/19",1175);Kce(1158,1,qLe,Kl),_xe.rj=function(e){return BT(e,321)},_xe.sj=function(e){return fK(crt,vLe,32,e,0,1)};eB(ZOe,"EcorePackageImpl/2",1158);Kce(1176,1,qLe,Zl),_xe.rj=function(e){return BT(e,240)},_xe.sj=function(e){return fK(brt,CLe,86,e,0,1)};eB(ZOe,"EcorePackageImpl/20",1176);Kce(1177,1,qLe,Ql),_xe.rj=function(e){return BT(e,438)},_xe.sj=function(e){return fK(Xrt,zxe,814,e,0,1)};eB(ZOe,"EcorePackageImpl/21",1177);Kce(1178,1,qLe,Jl),_xe.rj=function(e){return DI(e)},_xe.sj=function(e){return fK(oFe,s_e,470,e,8,1)};eB(ZOe,"EcorePackageImpl/22",1178);Kce(1179,1,qLe,eu),_xe.rj=function(e){return BT(e,190)},_xe.sj=function(e){return fK(oat,s_e,190,e,0,2)};eB(ZOe,"EcorePackageImpl/23",1179);Kce(1180,1,qLe,tu),_xe.rj=function(e){return BT(e,215)},_xe.sj=function(e){return fK(lFe,s_e,215,e,0,1)};eB(ZOe,"EcorePackageImpl/24",1180);Kce(1181,1,qLe,nu),_xe.rj=function(e){return BT(e,172)},_xe.sj=function(e){return fK(cFe,s_e,172,e,0,1)};eB(ZOe,"EcorePackageImpl/25",1181);Kce(1182,1,qLe,ru),_xe.rj=function(e){return BT(e,198)},_xe.sj=function(e){return fK(Uje,s_e,198,e,0,1)};eB(ZOe,"EcorePackageImpl/26",1182);Kce(1183,1,qLe,iu),_xe.rj=function(e){return!1},_xe.sj=function(e){return fK(cat,zxe,2078,e,0,1)};eB(ZOe,"EcorePackageImpl/27",1183);Kce(1184,1,qLe,ou),_xe.rj=function(e){return RI(e)},_xe.sj=function(e){return fK(fFe,s_e,331,e,7,1)};eB(ZOe,"EcorePackageImpl/28",1184);Kce(1185,1,qLe,au),_xe.rj=function(e){return BT(e,57)},_xe.sj=function(e){return fK(Ant,ZCe,57,e,0,1)};eB(ZOe,"EcorePackageImpl/29",1185);Kce(1159,1,qLe,su),_xe.rj=function(e){return BT(e,502)},_xe.sj=function(e){return fK(srt,{3:1,4:1,5:1,1906:1},581,e,0,1)};eB(ZOe,"EcorePackageImpl/3",1159);Kce(1186,1,qLe,lu),_xe.rj=function(e){return BT(e,565)},_xe.sj=function(e){return fK(Hnt,zxe,1912,e,0,1)};eB(ZOe,"EcorePackageImpl/30",1186);Kce(1187,1,qLe,uu),_xe.rj=function(e){return BT(e,152)},_xe.sj=function(e){return fK(Iit,ZCe,152,e,0,1)};eB(ZOe,"EcorePackageImpl/31",1187);Kce(1188,1,qLe,cu),_xe.rj=function(e){return BT(e,71)},_xe.sj=function(e){return fK(Krt,XLe,71,e,0,1)};eB(ZOe,"EcorePackageImpl/32",1188);Kce(1189,1,qLe,fu),_xe.rj=function(e){return BT(e,155)},_xe.sj=function(e){return fK(hFe,s_e,155,e,0,1)};eB(ZOe,"EcorePackageImpl/33",1189);Kce(1190,1,qLe,hu),_xe.rj=function(e){return BT(e,20)},_xe.sj=function(e){return fK(gFe,s_e,20,e,0,1)};eB(ZOe,"EcorePackageImpl/34",1190);Kce(1191,1,qLe,du),_xe.rj=function(e){return BT(e,289)},_xe.sj=function(e){return fK(gje,zxe,289,e,0,1)};eB(ZOe,"EcorePackageImpl/35",1191);Kce(1192,1,qLe,pu),_xe.rj=function(e){return BT(e,162)},_xe.sj=function(e){return fK(bFe,s_e,162,e,0,1)};eB(ZOe,"EcorePackageImpl/36",1192);Kce(1193,1,qLe,gu),_xe.rj=function(e){return BT(e,84)},_xe.sj=function(e){return fK(vje,zxe,84,e,0,1)};eB(ZOe,"EcorePackageImpl/37",1193);Kce(1194,1,qLe,mu),_xe.rj=function(e){return BT(e,582)},_xe.sj=function(e){return fK(wit,zxe,582,e,0,1)};eB(ZOe,"EcorePackageImpl/38",1194);Kce(1195,1,qLe,bu),_xe.rj=function(e){return!1},_xe.sj=function(e){return fK(fat,zxe,2079,e,0,1)};eB(ZOe,"EcorePackageImpl/39",1195);Kce(1160,1,qLe,vu),_xe.rj=function(e){return BT(e,87)},_xe.sj=function(e){return fK(hrt,zxe,26,e,0,1)};eB(ZOe,"EcorePackageImpl/4",1160);Kce(1196,1,qLe,yu),_xe.rj=function(e){return BT(e,186)},_xe.sj=function(e){return fK(SFe,s_e,186,e,0,1)};eB(ZOe,"EcorePackageImpl/40",1196);Kce(1197,1,qLe,wu),_xe.rj=function(e){return LI(e)},_xe.sj=function(e){return fK(CFe,s_e,2,e,6,1)};eB(ZOe,"EcorePackageImpl/41",1197);Kce(1198,1,qLe,xu),_xe.rj=function(e){return BT(e,579)},_xe.sj=function(e){return fK(Ont,zxe,579,e,0,1)};eB(ZOe,"EcorePackageImpl/42",1198);Kce(1199,1,qLe,_u),_xe.rj=function(e){return!1},_xe.sj=function(e){return fK(hat,s_e,2080,e,0,1)};eB(ZOe,"EcorePackageImpl/43",1199);Kce(1200,1,qLe,Su),_xe.rj=function(e){return BT(e,43)},_xe.sj=function(e){return fK(_je,y_e,43,e,0,1)};eB(ZOe,"EcorePackageImpl/44",1200);Kce(1161,1,qLe,ku),_xe.rj=function(e){return BT(e,138)},_xe.sj=function(e){return fK(frt,zxe,138,e,0,1)};eB(ZOe,"EcorePackageImpl/5",1161);Kce(1162,1,qLe,Cu),_xe.rj=function(e){return BT(e,148)},_xe.sj=function(e){return fK(drt,zxe,148,e,0,1)};eB(ZOe,"EcorePackageImpl/6",1162);Kce(1163,1,qLe,Eu),_xe.rj=function(e){return BT(e,450)},_xe.sj=function(e){return fK(grt,zxe,659,e,0,1)};eB(ZOe,"EcorePackageImpl/7",1163);Kce(1164,1,qLe,Iu),_xe.rj=function(e){return BT(e,565)},_xe.sj=function(e){return fK(mrt,zxe,666,e,0,1)};eB(ZOe,"EcorePackageImpl/8",1164);Kce(1165,1,qLe,Mu),_xe.rj=function(e){return BT(e,465)},_xe.sj=function(e){return fK(ant,zxe,465,e,0,1)};eB(ZOe,"EcorePackageImpl/9",1165);Kce(1013,1955,VRe,xy),_xe.Yh=function(e,t){!function(e,t){var n,r,i;if(t.qi(e.a),null!=(i=LL(n3(e.a,8),1908)))for(n=0,r=i.length;n<r;++n)null.em()}(this,LL(t,410))},_xe.ai=function(e,t){$le(this,e,LL(t,410))};eB(ZOe,"MinimalEObjectImpl/1ArrayDelegatingAdapterList",1013);Kce(1014,142,FRe,MB),_xe.vi=function(){return this.a.a};eB(ZOe,"MinimalEObjectImpl/1ArrayDelegatingAdapterList/1",1014);Kce(1037,1036,{},gT);eB("org.eclipse.emf.ecore.plugin","EcorePlugin",1037);var wit=NN(YLe,"Resource");Kce(764,1349,KLe),_xe.Tk=function(e){},_xe.Uk=function(e){},_xe.Qk=function(){return!this.a&&(this.a=new Rm(this)),this.a},_xe.Rk=function(e){var t,n,r,i,o;if((r=e.length)>0){if(TG(0,e.length),47==e.charCodeAt(0)){for(o=new LY(4),i=1,t=1;t<r;++t)TG(t,e.length),47==e.charCodeAt(t)&&(RL(o,i==t?"":e.substr(i,t-i)),i=t+1);return RL(o,e.substr(i)),Rie(this,o)}TG(r-1,e.length),63==e.charCodeAt(r-1)&&(n=sR(e,bae(63),r-2))>0&&(e=e.substr(0,n))}return function(e,t){var n,r,i,o,a,s;for(o=null,i=new zF((!e.a&&(e.a=new Rm(e)),e.a));uce(i);)if(Hbe(a=(n=LL(nhe(i),55)).Og()),null!=(r=(s=a.o)&&n.hh(s)?lR(W3(s),n.Xg(s)):null)&&fR(r,t)){o=n;break}return o}(this,e)},_xe.Sk=function(){return this.c},_xe.Ib=function(){return Fx(this.bm)+"@"+((p4(this)>>>0).toString(16)+" uri='")+this.d+"'"},_xe.b=!1;eB(ZLe,"ResourceImpl",764);Kce(1350,764,KLe,Lm);eB(ZLe,"BinaryResourceImpl",1350);Kce(1142,687,qDe),_xe.ni=function(e){return BT(e,55)?function(e,t){return e.a?t.Rg().Ic():LL(t.Rg(),67).Uh()}(this,LL(e,55)):BT(e,582)?new SA(LL(e,582).Qk()):OI(e)===OI(this.f)?LL(e,15).Ic():(IO(),Vnt.a)},_xe.Ob=function(){return uce(this)},_xe.a=!1;eB(iLe,"EcoreUtil/ContentTreeIterator",1142);Kce(1351,1142,qDe,zF),_xe.ni=function(e){return OI(e)===OI(this.f)?LL(e,14).Ic():new RU(LL(e,55))};eB(ZLe,"ResourceImpl/5",1351);Kce(638,1963,wLe,Rm),_xe.Fc=function(e){return this.i<=4?qie(this,e):BT(e,48)&&LL(e,48).Ug()==this.a},_xe.Yh=function(e,t){e==this.i-1&&(this.a.b||(this.a.b=!0))},_xe.$h=function(e,t){0==e?this.a.b||(this.a.b=!0):uK(this,e,t)},_xe.ai=function(e,t){},_xe.bi=function(e,t,n){},_xe.Xi=function(){return 2},_xe.vi=function(){return this.a},_xe.Yi=function(){return!0},_xe.Zi=function(e,t){return t=LL(e,48).rh(this.a,t)},_xe.$i=function(e,t){return LL(e,48).rh(null,t)},_xe._i=function(){return!1},_xe.ci=function(){return!0},_xe.mi=function(e){return fK(Ztt,zxe,55,e,0,1)},_xe.ii=function(){return!1};eB(ZLe,"ResourceImpl/ContentsEList",638);Kce(963,1936,P_e,Nm),_xe.Xc=function(e){return this.a.Wh(e)},_xe.gc=function(){return this.a.gc()};var xit,_it,Sit,kit,Cit,Eit;eB(iLe,"AbstractSequentialInternalEList/1",963);Kce(614,1,{},rN);eB(iLe,"BasicExtendedMetaData",614);Kce(1133,1,{},CI),_xe.Vk=function(){return null},_xe.Wk=function(){var e,t;return-2==this.a&&(e=this,t=function(e,t){var n,r,i;if((n=t.Ch(e.a))&&null!=(i=E7((!n.b&&(n.b=new fO((bxe(),Grt),ait,n)),n.b),kLe)))for(r=1;r<(vle(),xit).length;++r)if(fR(xit[r],i))return r;return 0}(this.d,this.b),e.a=t),this.a},_xe.Xk=function(){return null},_xe.Yk=function(){return v$(),v$(),XFe},_xe.ne=function(){var e,t;return this.c==hNe&&(e=this,t=Lee(this.d,this.b),e.c=t),this.c},_xe.Zk=function(){return 0},_xe.a=-2,_xe.c=hNe;eB(iLe,"BasicExtendedMetaData/EClassExtendedMetaDataImpl",1133);Kce(1134,1,{},jW),_xe.Vk=function(){var e,t;return this.a==(AY(),Cit)&&(e=this,t=function(e,t){var n,r,i,o;return(r=t.Ch(e.a))&&(!r.b&&(r.b=new fO((bxe(),Grt),ait,r)),null!=(n=HO(E7(r.b,NLe)))&&BT(o=-1==(i=n.lastIndexOf("#"))?SO(e,t.vj(),n):0==i?LK(e,null,n.substr(1)):LK(e,n.substr(0,i),n.substr(i+1)),148))?LL(o,148):null}(this.f,this.b),e.a=t),this.a},_xe.Wk=function(){return 0},_xe.Xk=function(){var e,t;return this.c==(AY(),Cit)&&(e=this,t=function(e,t){var n,r,i,o;return(n=t.Ch(e.a))&&(!n.b&&(n.b=new fO((bxe(),Grt),ait,n)),null!=(i=HO(E7(n.b,oNe)))&&BT(o=-1==(r=i.lastIndexOf("#"))?SO(e,t.vj(),i):0==r?LK(e,null,i.substr(1)):LK(e,i.substr(0,r),i.substr(r+1)),148))?LL(o,148):null}(this.f,this.b),e.c=t),this.c},_xe.Yk=function(){var e,t;return!this.d&&(e=this,t=function(e,t){var n,r,i,o,a,s,l,u,c;if((n=t.Ch(e.a))&&null!=(l=HO(E7((!n.b&&(n.b=new fO((bxe(),Grt),ait,n)),n.b),"memberTypes")))){for(u=new $m,a=0,s=(o=wge(l,"\\w")).length;a<s;++a)BT(c=-1==(r=(i=o[a]).lastIndexOf("#"))?SO(e,t.vj(),i):0==r?LK(e,null,i.substr(1)):LK(e,i.substr(0,r),i.substr(r+1)),148)&&RL(u,LL(c,148));return u}return v$(),v$(),XFe}(this.f,this.b),e.d=t),this.d},_xe.ne=function(){var e,t;return this.e==hNe&&(e=this,t=Lee(this.f,this.b),e.e=t),this.e},_xe.Zk=function(){var e,t;return-2==this.g&&(e=this,t=function(e,t){var n,r,i;if(n=t.Ch(e.a))for(i=HO(E7((!n.b&&(n.b=new fO((bxe(),Grt),ait,n)),n.b),lNe)),r=1;r<(vle(),kit).length;++r)if(fR(kit[r],i))return r;return 0}(this.f,this.b),e.g=t),this.g},_xe.e=hNe,_xe.g=-2;eB(iLe,"BasicExtendedMetaData/EDataTypeExtendedMetaDataImpl",1134);Kce(1132,1,{},EI),_xe.b=!1,_xe.c=!1;eB(iLe,"BasicExtendedMetaData/EPackageExtendedMetaDataImpl",1132);Kce(1135,1,{},FW),_xe.c=-2,_xe.e=hNe,_xe.f=hNe;eB(iLe,"BasicExtendedMetaData/EStructuralFeatureExtendedMetaDataImpl",1135);Kce(576,612,xLe,tN),_xe.Xi=function(){return this.c},_xe.Ak=function(){return!1},_xe.gi=function(e,t){return t},_xe.c=0;eB(iLe,"EDataTypeEList",576);var Iit=NN(iLe,"FeatureMap");Kce(75,576,{3:1,4:1,19:1,28:1,51:1,15:1,14:1,53:1,66:1,60:1,57:1,76:1,152:1,212:1,1909:1,67:1,95:1},k2),_xe.Tc=function(e,t){!function(e,t,n){var r,i,o,a,s,l;if(o=(i=n).Xj(),Ede(e.e,o)){if(o.ci())for(r=LL(e.g,118),a=0;a<e.i;++a)if(l8(s=r[a],i)&&a!=t)throw Jm(new Ny($De))}else for(l=ade(e.e.Og(),o),r=LL(e.g,118),a=0;a<e.i;++a)if(s=r[a],l.ml(s.Xj()))throw Jm(new Ny(dNe));J6(e,t,n)}(this,e,LL(t,71))},_xe.Dc=function(e){return function(e,t){var n,r,i,o,a,s;if(i=(r=t).Xj(),Ede(e.e,i)){if(i.ci()&&JU(e,i,r.bd()))return!1}else for(s=ade(e.e.Og(),i),n=LL(e.g,118),o=0;o<e.i;++o)if(a=n[o],s.ml(a.Xj()))return!l8(a,r)&&(LL(Lte(e,o,t),71),!0);return AK(e,t)}(this,LL(e,71))},_xe.Th=function(e){oB(this,LL(e,71))},_xe.Zi=function(e,t){return function(e,t,n){return function(e,t,n){return t.Lk(e.e,e.c,n)}(e,LL(t,330),n)}(this,LL(e,71),t)},_xe.$i=function(e,t){return PR(this,LL(e,71),t)},_xe.di=function(e,t){return function(e,t,n){var r,i,o,a,s,l,u,c,f,h,d,p;if(!FM(e.e))return LL(que(e,t,n),71);if(t!=n&&(a=(d=(i=LL(e.g,118))[n]).Xj(),Ede(e.e,a))){for(p=ade(e.e.Og(),a),l=-1,s=-1,r=0,u=0,f=t>n?t:n;u<=f;++u)u==n?s=r++:(o=i[u],c=p.ml(o.Xj()),u==t&&(l=u!=f||c?r:r-1),c&&++r);return h=LL(Y8(e,t,n),71),s!=l&&Ib(e,new MK(e.e,7,a,k8(s),d.bd(),l)),h}return LL(Y8(e,t,n),71)}(this,e,t)},_xe.gi=function(e,t){return function(e,t,n){var r,i,o,a,s,l,u,c,f,h,d,p,g,m;if(BT(a=n.Xj(),97)&&0!=(LL(a,17).Bb&FSe)&&(h=LL(n.bd(),48),(g=P6(e.e,h))!=h)){if(fA(e,t,Goe(e,0,c=uq(a,g))),f=null,FM(e.e)&&(r=Uve((vle(),Sit),e.e.Og(),a))!=VQ(e.e.Og(),e.c)){for(m=ade(e.e.Og(),a),s=0,o=LL(e.g,118),l=0;l<t;++l)i=o[l],m.ml(i.Xj())&&++s;(f=new Eq(e.e,9,r,h,g,s,!1)).zi(new RZ(e.e,9,e.c,n,c,t,!1))}return(d=yne(p=LL(a,17)))?(f=h.dh(e.e,u7(h.Og(),d),null,f),f=LL(g,48).ah(e.e,u7(g.Og(),d),null,f)):0!=(p.Bb&YOe)&&(u=-1-u7(e.e.Og(),p),f=h.dh(e.e,u,null,null),!LL(g,48).$g()&&(f=LL(g,48).ah(e.e,u,null,f))),f&&f.Ai(),c}return n}(this,e,LL(t,71))},_xe.Zc=function(e,t){return function(e,t,n){var r,i,o,a,s,l;if(o=(i=n).Xj(),Ede(e.e,o)){if(o.ci())for(r=LL(e.g,118),a=0;a<e.i;++a)if(l8(s=r[a],i)&&a!=t)throw Jm(new Ny($De))}else for(l=ade(e.e.Og(),o),r=LL(e.g,118),a=0;a<e.i;++a)if(s=r[a],l.ml(s.Xj())&&a!=t)throw Jm(new Ny(dNe));return LL(Lte(e,t,n),71)}(this,e,LL(t,71))},_xe.ej=function(e,t){return function(e,t,n){return _oe(e,LL(t,330),n)}(this,LL(e,71),t)},_xe.fj=function(e,t){return OR(this,LL(e,71),t)},_xe.gj=function(e,t,n){return function(e,t,n,r){var i,o,a;return FM(e.e)&&(a=cH(e,1,i=t.Xj(),t.bd(),o=n.bd(),i.Vj()?wbe(e,i,o,BT(i,97)&&0!=(LL(i,17).Bb&FSe)):-1,!0),r?r.zi(a):r=a),r}(this,LL(e,71),LL(t,71),n)},_xe.ji=function(e,t){return Goe(this,0,LL(t,71))},_xe.$k=function(e,t){return Mge(this,e,t)},_xe.Uc=function(e,t){var n,r,i,o,a,s,l,u,c;for(u=new GQ(t.gc()),i=t.Ic();i.Ob();)if(o=(r=LL(i.Pb(),71)).Xj(),Ede(this.e,o))(!o.ci()||!JU(this,o,r.bd())&&!qie(u,r))&&AK(u,r);else{for(c=ade(this.e.Og(),o),n=LL(this.g,118),a=!0,s=0;s<this.i;++s)if(l=n[s],c.ml(l.Xj())){LL(Lte(this,s,r),71),a=!1;break}a&&AK(u,r)}return t5(this,e,u)},_xe.Ec=function(e){var t,n,r,i,o,a,s,l,u;for(l=new GQ(e.gc()),r=e.Ic();r.Ob();)if(i=(n=LL(r.Pb(),71)).Xj(),Ede(this.e,i))(!i.ci()||!JU(this,i,n.bd())&&!qie(l,n))&&AK(l,n);else{for(u=ade(this.e.Og(),i),t=LL(this.g,118),o=!0,a=0;a<this.i;++a)if(s=t[a],u.ml(s.Xj())){LL(Lte(this,a,n),71),o=!1;break}o&&AK(l,n)}return Qz(this,l)},_xe.Rh=function(e){return this.j=-1,Vme(this,this.i,e)},_xe._k=function(e,t,n){return Hpe(this,e,t,n)},_xe.hk=function(e,t){return Sge(this,e,t)},_xe.al=function(e,t,n){return Wbe(this,e,t,n)},_xe.bl=function(){return this},_xe.cl=function(e,t){return qbe(this,e,t)},_xe.dl=function(e){return LL(sJ(this,e),71).Xj()},_xe.el=function(e){return LL(sJ(this,e),71).bd()},_xe.fl=function(){return this.b},_xe.Yi=function(){return!0},_xe.dj=function(){return!0},_xe.gl=function(e){return!x7(this,e)},_xe.mi=function(e){return fK(sit,XLe,330,e,0,1)},_xe.Bk=function(e){return kO(this,e)},_xe.Wb=function(e){Mz(this,e)},_xe.hl=function(e,t){sve(this,e,t)},_xe.il=function(e){return t1(this,e)},_xe.jl=function(e){ure(this,e)};eB(iLe,"BasicFeatureMap",75);Kce(1823,1,n_e),_xe.Nb=function(e){GF(this,e)},_xe.Rb=function(e){if(-1==this.g)throw Jm(new wb);Sj(this);try{xde(this.e,this.b,this.a,e),this.d=this.e.j,Wte(this)}catch(e){throw BT(e=v3(e),73)?Jm(new Sb):Jm(e)}},_xe.Ob=function(){return A4(this)},_xe.Sb=function(){return P4(this)},_xe.Pb=function(){return Wte(this)},_xe.Tb=function(){return this.a},_xe.Ub=function(){var e;if(P4(this))return Sj(this),this.g=--this.a,this.Gk()&&(e=Uue(this.e,this.b,this.c,this.a,this.j),this.j=e),this.i=0,this.j;throw Jm(new bb)},_xe.Vb=function(){return this.a-1},_xe.Qb=function(){if(-1==this.g)throw Jm(new wb);Sj(this);try{tle(this.e,this.b,this.g),this.d=this.e.j,this.g<this.a&&(--this.a,--this.c),--this.g}catch(e){throw BT(e=v3(e),73)?Jm(new Sb):Jm(e)}},_xe.Gk=function(){return!1},_xe.Wb=function(e){if(-1==this.g)throw Jm(new wb);Sj(this);try{Qme(this.e,this.b,this.g,e),this.d=this.e.j}catch(e){throw BT(e=v3(e),73)?Jm(new Sb):Jm(e)}},_xe.a=0,_xe.c=0,_xe.d=0,_xe.f=!1,_xe.g=0,_xe.i=0;eB(iLe,"FeatureMapUtil/BasicFeatureEIterator",1823);Kce(405,1823,n_e,l3),_xe.kl=function(){var e,t,n;for(n=this.e.i,e=LL(this.e.g,118);this.c<n;){if(t=e[this.c],this.k.ml(t.Xj()))return this.j=this.f?t:t.bd(),this.i=2,!0;++this.c}return this.i=1,this.g=-1,!1},_xe.ll=function(){var e,t;for(e=LL(this.e.g,118);--this.c>=0;)if(t=e[this.c],this.k.ml(t.Xj()))return this.j=this.f?t:t.bd(),this.i=-2,!0;return this.i=-1,this.g=-1,!1};eB(iLe,"BasicFeatureMap/FeatureEIterator",405);Kce(650,405,n_e,hM),_xe.Gk=function(){return!0};eB(iLe,"BasicFeatureMap/ResolvingFeatureEIterator",650);Kce(961,481,ILe,WT),_xe.Bi=function(){return this};eB(iLe,"EContentsEList/1",961);Kce(962,481,ILe,dM),_xe.Gk=function(){return!1};eB(iLe,"EContentsEList/2",962);Kce(960,277,MLe,UT),_xe.Ik=function(e){},_xe.Ob=function(){return!1},_xe.Sb=function(){return!1};eB(iLe,"EContentsEList/FeatureIteratorImpl/1",960);Kce(804,576,xLe,pA),_xe.Zh=function(){this.a=!0},_xe.aj=function(){return this.a},_xe.Sj=function(){var e;Ove(this),FM(this.e)?(e=this.a,this.a=!1,Y2(this.e,new CX(this.e,2,this.c,e,!1))):this.a=!1},_xe.a=!1;eB(iLe,"EDataTypeEList/Unsettable",804);Kce(1821,576,xLe,gA),_xe.ci=function(){return!0};eB(iLe,"EDataTypeUniqueEList",1821);Kce(1822,804,xLe,mA),_xe.ci=function(){return!0};eB(iLe,"EDataTypeUniqueEList/Unsettable",1822);Kce(139,82,xLe,bA),_xe.zk=function(){return!0},_xe.gi=function(e,t){return Dce(this,e,LL(t,55))};eB(iLe,"EObjectContainmentEList/Resolving",139);Kce(1136,538,xLe,vA),_xe.zk=function(){return!0},_xe.gi=function(e,t){return Dce(this,e,LL(t,55))};eB(iLe,"EObjectContainmentEList/Unsettable/Resolving",1136);Kce(731,16,xLe,YD),_xe.Zh=function(){this.a=!0},_xe.aj=function(){return this.a},_xe.Sj=function(){var e;Ove(this),FM(this.e)?(e=this.a,this.a=!1,Y2(this.e,new CX(this.e,2,this.c,e,!1))):this.a=!1},_xe.a=!1;eB(iLe,"EObjectContainmentWithInverseEList/Unsettable",731);Kce(1146,731,xLe,KD),_xe.zk=function(){return!0},_xe.gi=function(e,t){return Dce(this,e,LL(t,55))};eB(iLe,"EObjectContainmentWithInverseEList/Unsettable/Resolving",1146);Kce(726,488,xLe,yA),_xe.Zh=function(){this.a=!0},_xe.aj=function(){return this.a},_xe.Sj=function(){var e;Ove(this),FM(this.e)?(e=this.a,this.a=!1,Y2(this.e,new CX(this.e,2,this.c,e,!1))):this.a=!1},_xe.a=!1;eB(iLe,"EObjectEList/Unsettable",726);Kce(326,488,xLe,wA),_xe.zk=function(){return!0},_xe.gi=function(e,t){return Dce(this,e,LL(t,55))};eB(iLe,"EObjectResolvingEList",326);Kce(1611,726,xLe,xA),_xe.zk=function(){return!0},_xe.gi=function(e,t){return Dce(this,e,LL(t,55))};var Mit;eB(iLe,"EObjectResolvingEList/Unsettable",1611);Kce(1352,1,{},Tu);eB(iLe,"EObjectValidator",1352);Kce(539,488,xLe,BF),_xe.uk=function(){return this.d},_xe.vk=function(){return this.b},_xe.Yi=function(){return!0},_xe.yk=function(){return!0},_xe.b=0;eB(iLe,"EObjectWithInverseEList",539);Kce(1149,539,xLe,ZD),_xe.xk=function(){return!0};eB(iLe,"EObjectWithInverseEList/ManyInverse",1149);Kce(615,539,xLe,QD),_xe.Zh=function(){this.a=!0},_xe.aj=function(){return this.a},_xe.Sj=function(){var e;Ove(this),FM(this.e)?(e=this.a,this.a=!1,Y2(this.e,new CX(this.e,2,this.c,e,!1))):this.a=!1},_xe.a=!1;eB(iLe,"EObjectWithInverseEList/Unsettable",615);Kce(1148,615,xLe,eR),_xe.xk=function(){return!0};eB(iLe,"EObjectWithInverseEList/Unsettable/ManyInverse",1148);Kce(732,539,xLe,JD),_xe.zk=function(){return!0},_xe.gi=function(e,t){return Dce(this,e,LL(t,55))};eB(iLe,"EObjectWithInverseResolvingEList",732);Kce(33,732,xLe,nR),_xe.xk=function(){return!0};eB(iLe,"EObjectWithInverseResolvingEList/ManyInverse",33);Kce(733,615,xLe,tR),_xe.zk=function(){return!0},_xe.gi=function(e,t){return Dce(this,e,LL(t,55))};eB(iLe,"EObjectWithInverseResolvingEList/Unsettable",733);Kce(1147,733,xLe,rR),_xe.xk=function(){return!0};eB(iLe,"EObjectWithInverseResolvingEList/Unsettable/ManyInverse",1147);Kce(1137,612,xLe),_xe.Xh=function(){return 0==(1792&this.b)},_xe.Zh=function(){this.b|=1},_xe.wk=function(){return 0!=(4&this.b)},_xe.Yi=function(){return 0!=(40&this.b)},_xe.xk=function(){return 0!=(16&this.b)},_xe.yk=function(){return 0!=(8&this.b)},_xe.zk=function(){return 0!=(this.b&uLe)},_xe.mk=function(){return 0!=(32&this.b)},_xe.Ak=function(){return 0!=(this.b&GRe)},_xe.rj=function(e){return this.d?nq(this.d,e):this.Xj().Tj().rj(e)},_xe.aj=function(){return 0!=(2&this.b)?0!=(1&this.b):0!=this.i},_xe.ci=function(){return 0!=(128&this.b)},_xe.Sj=function(){var e;Ove(this),0!=(2&this.b)&&(FM(this.e)?(e=0!=(1&this.b),this.b&=-2,Ib(this,new CX(this.e,2,u7(this.e.Og(),this.Xj()),e,!1))):this.b&=-2)},_xe.ii=function(){return 0==(1536&this.b)},_xe.b=0;eB(iLe,"EcoreEList/Generic",1137);Kce(1138,1137,xLe,$$),_xe.Xj=function(){return this.a};eB(iLe,"EcoreEList/Dynamic",1138);Kce(730,60,UDe,jm),_xe.mi=function(e){return s0(this.a.a,e)};eB(iLe,"EcoreEMap/1",730);Kce(729,82,xLe,VF),_xe.Yh=function(e,t){wne(this.b,LL(t,133))},_xe.$h=function(e,t){i3(this.b)},_xe._h=function(e,t,n){var r;++(r=this.b,LL(t,133),r).e},_xe.ai=function(e,t){X8(this.b,LL(t,133))},_xe.bi=function(e,t,n){X8(this.b,LL(n,133)),OI(n)===OI(t)&&LL(n,133).Oh(function(e){return null==e?0:p4(e)}(LL(t,133).ad())),wne(this.b,LL(t,133))};eB(iLe,"EcoreEMap/DelegateEObjectContainmentEList",729);Kce(1144,143,aLe,A0);eB(iLe,"EcoreEMap/Unsettable",1144);Kce(1145,729,xLe,iR),_xe.Zh=function(){this.a=!0},_xe.aj=function(){return this.a},_xe.Sj=function(){var e;Ove(this),FM(this.e)?(e=this.a,this.a=!1,Y2(this.e,new CX(this.e,2,this.c,e,!1))):this.a=!1},_xe.a=!1;eB(iLe,"EcoreEMap/Unsettable/UnsettableDelegateEObjectContainmentEList",1145);Kce(1141,226,QSe,Bz),_xe.a=!1,_xe.b=!1;eB(iLe,"EcoreUtil/Copier",1141);Kce(728,1,qxe,RU),_xe.Nb=function(e){GF(this,e)},_xe.Ob=function(){return z7(this)},_xe.Pb=function(){var e;return z7(this),e=this.b,this.b=null,e},_xe.Qb=function(){this.a.Qb()};var Tit;eB(iLe,"EcoreUtil/ProperContentIterator",728);Kce(1353,1352,{},Pf);var Ait;eB(iLe,"EcoreValidator",1353),NN(iLe,"FeatureMapUtil/Validator");Kce(1234,1,{1914:1},Ou),_xe.ml=function(e){return!0};var Pit;eB(iLe,"FeatureMapUtil/1",1234);Kce(740,1,{1914:1},awe),_xe.ml=function(e){var t;return this.c==e||(null==(t=VO(aB(this.a,e)))?function(e,t){var n;return e.f==Pit?(n=ZB(FZ((vle(),Sit),t)),e.e?4==n&&t!=(bce(),Lit)&&t!=(bce(),Oit)&&t!=(bce(),Dit)&&t!=(bce(),Rit):2==n):!(!e.d||!(e.d.Fc(t)||e.d.Fc(iW(FZ((vle(),Sit),t)))||e.d.Fc(Uve((vle(),Sit),e.b,t))))||!(!e.f||!Ohe((vle(),e.f),UV(FZ(Sit,t))))&&(n=ZB(FZ(Sit,t)),e.e?4==n:2==n)}(this,e)?(XX(this.a,e,(_P(),rFe)),!0):(XX(this.a,e,(_P(),nFe)),!1):t==(_P(),rFe))},_xe.e=!1;eB(iLe,"FeatureMapUtil/BasicValidator",740);Kce(741,44,QSe,_A);eB(iLe,"FeatureMapUtil/BasicValidator/Cache",741);Kce(492,51,{19:1,28:1,51:1,15:1,14:1,57:1,76:1,67:1,95:1},II),_xe.Tc=function(e,t){xde(this.c,this.b,e,t)},_xe.Dc=function(e){return Mge(this.c,this.b,e)},_xe.Uc=function(e,t){return function(e,t,n,r){var i,o,a,s,l,u,c,f;if(0==r.gc())return!1;if(tk(),a=(l=LL(t,65).Jj())?r:new GQ(r.gc()),Ede(e.e,t)){if(t.ci())for(c=r.Ic();c.Ob();)Jme(e,t,u=c.Pb(),BT(t,97)&&0!=(LL(t,17).Bb&FSe))||(o=uq(t,u),a.Dc(o));else if(!l)for(c=r.Ic();c.Ob();)o=uq(t,u=c.Pb()),a.Dc(o)}else{for(f=ade(e.e.Og(),t),i=LL(e.g,118),s=0;s<e.i;++s)if(o=i[s],f.ml(o.Xj()))throw Jm(new Ny(dNe));if(r.gc()>1)throw Jm(new Ny(dNe));l||(o=uq(t,r.Ic().Pb()),a.Dc(o))}return t5(e,nle(e,t,n),a)}(this.c,this.b,e,t)},_xe.Ec=function(e){return zT(this,e)},_xe.Sh=function(e,t){!function(e,t,n,r){e.j=-1,Oce(e,nle(e,t,n),(tk(),LL(t,65).Hj().Jk(r)))}(this.c,this.b,e,t)},_xe.gk=function(e,t){return Hpe(this.c,this.b,e,t)},_xe.ki=function(e){return Ube(this.c,this.b,e,!1)},_xe.Uh=function(){return UM(this.c,this.b)},_xe.Vh=function(){return e=this.c,new l3(this.b,e);var e},_xe.Wh=function(e){return function(e,t,n){var r,i;for(i=new l3(t,e),r=0;r<n;++r)Wte(i);return i}(this.c,this.b,e)},_xe.hk=function(e,t){return oD(this,e,t)},_xe.$b=function(){Eb(this)},_xe.Fc=function(e){return JU(this.c,this.b,e)},_xe.Gc=function(e){return function(e,t,n){var r;for(r=n.Ic();r.Ob();)if(!JU(e,t,r.Pb()))return!1;return!0}(this.c,this.b,e)},_xe.Xb=function(e){return Ube(this.c,this.b,e,!0)},_xe.Rj=function(e){return this},_xe.Vc=function(e){return function(e,t,n){return wbe(e,t,n,BT(t,97)&&0!=(LL(t,17).Bb&FSe))}(this.c,this.b,e)},_xe.dc=function(){return AI(this)},_xe.aj=function(){return!x7(this.c,this.b)},_xe.Ic=function(){return e=this.c,BT(t=this.b,97)&&0!=(LL(t,17).Bb&FSe)?new hM(t,e):new l3(t,e);var e,t},_xe.Wc=function(){return e=this.c,BT(t=this.b,97)&&0!=(LL(t,17).Bb&FSe)?new hM(t,e):new l3(t,e);var e,t},_xe.Xc=function(e){return function(e,t,n){var r,i;for(i=BT(t,97)&&0!=(LL(t,17).Bb&FSe)?new hM(t,e):new l3(t,e),r=0;r<n;++r)Wte(i);return i}(this.c,this.b,e)},_xe.di=function(e,t){return Tme(this.c,this.b,e,t)},_xe.ei=function(e,t){!function(e,t,n,r){Tme(e,t,n,wbe(e,t,r,BT(t,97)&&0!=(LL(t,17).Bb&FSe)))}(this.c,this.b,e,t)},_xe.Yc=function(e){return tle(this.c,this.b,e)},_xe.Kc=function(e){return function(e,t,n){var r,i,o,a;if(a=ade(e.e.Og(),t),r=LL(e.g,118),tk(),LL(t,65).Jj()){for(o=0;o<e.i;++o)if(i=r[o],a.ml(i.Xj())&&l8(i,n))return Yde(e,o),!0}else if(null!=n){for(o=0;o<e.i;++o)if(i=r[o],a.ml(i.Xj())&&l8(n,i.bd()))return Yde(e,o),!0}else for(o=0;o<e.i;++o)if(i=r[o],a.ml(i.Xj())&&null==i.bd())return Yde(e,o),!0;return!1}(this.c,this.b,e)},_xe.Zc=function(e,t){return Qme(this.c,this.b,e,t)},_xe.Wb=function(e){_ce(this.c,this.b),zT(this,LL(e,14))},_xe.gc=function(){return function(e,t){var n,r,i,o,a;for(a=ade(e.e.Og(),t),o=0,n=LL(e.g,118),i=0;i<e.i;++i)r=n[i],a.ml(r.Xj())&&++o;return o}(this.c,this.b)},_xe.Nc=function(){return nW(this.c,this.b)},_xe.Oc=function(e){return eq(this.c,this.b,e)},_xe.Ib=function(){var e,t;for((t=new hw).a+="[",e=UM(this.c,this.b);A4(e);)HI(t,nP(Wte(e))),A4(e)&&(t.a+=jxe);return t.a+="]",t.a},_xe.Sj=function(){_ce(this.c,this.b)};eB(iLe,"FeatureMapUtil/FeatureEList",492);Kce(619,35,FRe,Eq),_xe.ti=function(e){return x8(this,e)},_xe.yi=function(e){var t,n,r,i;switch(this.d){case 1:case 2:if(OI(e.vi())===OI(this.c)&&x8(this,null)==e.ti(null))return this.g=e.ui(),1==e.si()&&(this.d=1),!0;break;case 3:if(3===e.si())if(OI(e.vi())===OI(this.c)&&x8(this,null)==e.ti(null))return this.d=5,AK(t=new GQ(2),this.g),AK(t,e.ui()),this.g=t,!0;break;case 5:if(3===e.si())if(OI(e.vi())===OI(this.c)&&x8(this,null)==e.ti(null))return LL(this.g,15).Dc(e.ui()),!0;break;case 4:switch(e.si()){case 3:if(OI(e.vi())===OI(this.c)&&x8(this,null)==e.ti(null))return this.d=1,this.g=e.ui(),!0;break;case 4:if(OI(e.vi())===OI(this.c)&&x8(this,null)==e.ti(null))return this.d=6,AK(i=new GQ(2),this.n),AK(i,e.wi()),this.n=i,r=q3(lw(nat,1),sSe,24,15,[this.o,e.xi()]),this.g=r,!0}break;case 6:if(4===e.si())if(OI(e.vi())===OI(this.c)&&x8(this,null)==e.ti(null))return LL(this.n,15).Dc(e.wi()),Xbe(r=LL(this.g,47),0,n=fK(nat,sSe,24,r.length+1,15,1),0,r.length),n[r.length]=e.xi(),this.g=n,!0}return!1};eB(iLe,"FeatureMapUtil/FeatureENotificationImpl",619);Kce(547,492,{19:1,28:1,51:1,15:1,14:1,57:1,76:1,152:1,212:1,1909:1,67:1,95:1},DN),_xe.$k=function(e,t){return Mge(this.c,e,t)},_xe._k=function(e,t,n){return Hpe(this.c,e,t,n)},_xe.al=function(e,t,n){return Wbe(this.c,e,t,n)},_xe.bl=function(){return this},_xe.cl=function(e,t){return qbe(this.c,e,t)},_xe.dl=function(e){return LL(Ube(this.c,this.b,e,!1),71).Xj()},_xe.el=function(e){return LL(Ube(this.c,this.b,e,!1),71).bd()},_xe.fl=function(){return this.a},_xe.gl=function(e){return!x7(this.c,e)},_xe.hl=function(e,t){sve(this.c,e,t)},_xe.il=function(e){return t1(this.c,e)},_xe.jl=function(e){ure(this.c,e)};eB(iLe,"FeatureMapUtil/FeatureFeatureMap",547);Kce(1233,1,oLe,_I),_xe.Rj=function(e){return Ube(this.b,this.a,-1,e)},_xe.aj=function(){return!x7(this.b,this.a)},_xe.Wb=function(e){sve(this.b,this.a,e)},_xe.Sj=function(){_ce(this.b,this.a)};eB(iLe,"FeatureMapUtil/FeatureValue",1233);var Oit,Dit,Rit,Lit,Nit,jit=NN(pNe,"AnyType");Kce(654,59,B_e,Ky);eB(pNe,"InvalidDatatypeValueException",654);var Fit,zit,Bit,Vit,$it,Hit,Git,Wit,Uit,qit,Xit,Yit,Kit,Zit,Qit,Jit,eot,tot,not,rot,iot,oot,aot,sot,lot,uot,cot=NN(pNe,gNe),fot=NN(pNe,mNe),hot=NN(pNe,bNe);Kce(809,498,{104:1,91:1,89:1,55:1,48:1,96:1,822:1},Dv),_xe.Wg=function(e,t,n){switch(e){case 0:return n?(!this.c&&(this.c=new k2(this,0)),this.c):(!this.c&&(this.c=new k2(this,0)),this.c.b);case 1:return n?(!this.c&&(this.c=new k2(this,0)),LL(eW(this.c,(Yve(),Vit)),152)):(!this.c&&(this.c=new k2(this,0)),LL(LL(eW(this.c,(Yve(),Vit)),152),212)).fl();case 2:return n?(!this.b&&(this.b=new k2(this,2)),this.b):(!this.b&&(this.b=new k2(this,2)),this.b.b)}return hZ(this,e-Hz(this.uh()),VQ(0==(2&this.j)?this.uh():(!this.k&&(this.k=new Tf),this.k).Zj(),e),t,n)},_xe.eh=function(e,t,n){switch(t){case 0:return!this.c&&(this.c=new k2(this,0)),Sge(this.c,e,n);case 1:return(!this.c&&(this.c=new k2(this,0)),LL(LL(eW(this.c,(Yve(),Vit)),152),67)).hk(e,n);case 2:return!this.b&&(this.b=new k2(this,2)),Sge(this.b,e,n)}return LL(VQ(0==(2&this.j)?this.uh():(!this.k&&(this.k=new Tf),this.k).Zj(),t),65).Ij().Mj(this,YZ(this),t-Hz(this.uh()),e,n)},_xe.gh=function(e){switch(e){case 0:return!!this.c&&0!=this.c.i;case 1:return!(!this.c&&(this.c=new k2(this,0)),LL(eW(this.c,(Yve(),Vit)),152)).dc();case 2:return!!this.b&&0!=this.b.i}return QU(this,e-Hz(this.uh()),VQ(0==(2&this.j)?this.uh():(!this.k&&(this.k=new Tf),this.k).Zj(),e))},_xe.nh=function(e,t){switch(e){case 0:return!this.c&&(this.c=new k2(this,0)),void Mz(this.c,t);case 1:return void(!this.c&&(this.c=new k2(this,0)),LL(LL(eW(this.c,(Yve(),Vit)),152),212)).Wb(t);case 2:return!this.b&&(this.b=new k2(this,2)),void Mz(this.b,t)}C9(this,e-Hz(this.uh()),VQ(0==(2&this.j)?this.uh():(!this.k&&(this.k=new Tf),this.k).Zj(),e),t)},_xe.uh=function(){return Yve(),Bit},_xe.wh=function(e){switch(e){case 0:return!this.c&&(this.c=new k2(this,0)),void Ove(this.c);case 1:return void(!this.c&&(this.c=new k2(this,0)),LL(eW(this.c,(Yve(),Vit)),152)).$b();case 2:return!this.b&&(this.b=new k2(this,2)),void Ove(this.b)}e8(this,e-Hz(this.uh()),VQ(0==(2&this.j)?this.uh():(!this.k&&(this.k=new Tf),this.k).Zj(),e))},_xe.Ib=function(){var e;return 0!=(4&this.j)?jfe(this):((e=new XA(jfe(this))).a+=" (mixed: ",$I(e,this.c),e.a+=", anyAttribute: ",$I(e,this.b),e.a+=")",e.a)};eB(vNe,"AnyTypeImpl",809);Kce(655,498,{104:1,91:1,89:1,55:1,48:1,96:1,1990:1,655:1},Du),_xe.Wg=function(e,t,n){switch(e){case 0:return this.a;case 1:return this.b}return hZ(this,e-Hz((Yve(),Jit)),VQ(0==(2&this.j)?Jit:(!this.k&&(this.k=new Tf),this.k).Zj(),e),t,n)},_xe.gh=function(e){switch(e){case 0:return null!=this.a;case 1:return null!=this.b}return QU(this,e-Hz((Yve(),Jit)),VQ(0==(2&this.j)?Jit:(!this.k&&(this.k=new Tf),this.k).Zj(),e))},_xe.nh=function(e,t){switch(e){case 0:return void function(e,t){e.a=t}(this,HO(t));case 1:return void function(e,t){e.b=t}(this,HO(t))}C9(this,e-Hz((Yve(),Jit)),VQ(0==(2&this.j)?Jit:(!this.k&&(this.k=new Tf),this.k).Zj(),e),t)},_xe.uh=function(){return Yve(),Jit},_xe.wh=function(e){switch(e){case 0:return void(this.a=null);case 1:return void(this.b=null)}e8(this,e-Hz((Yve(),Jit)),VQ(0==(2&this.j)?Jit:(!this.k&&(this.k=new Tf),this.k).Zj(),e))},_xe.Ib=function(){var e;return 0!=(4&this.j)?jfe(this):((e=new XA(jfe(this))).a+=" (data: ",HI(e,this.a),e.a+=", target: ",HI(e,this.b),e.a+=")",e.a)},_xe.a=null,_xe.b=null;eB(vNe,"ProcessingInstructionImpl",655);Kce(656,809,{104:1,91:1,89:1,55:1,48:1,96:1,822:1,1991:1,656:1},Lv),_xe.Wg=function(e,t,n){switch(e){case 0:return n?(!this.c&&(this.c=new k2(this,0)),this.c):(!this.c&&(this.c=new k2(this,0)),this.c.b);case 1:return n?(!this.c&&(this.c=new k2(this,0)),LL(eW(this.c,(Yve(),Vit)),152)):(!this.c&&(this.c=new k2(this,0)),LL(LL(eW(this.c,(Yve(),Vit)),152),212)).fl();case 2:return n?(!this.b&&(this.b=new k2(this,2)),this.b):(!this.b&&(this.b=new k2(this,2)),this.b.b);case 3:return!this.c&&(this.c=new k2(this,0)),HO(qbe(this.c,(Yve(),not),!0));case 4:return uR(this.a,(!this.c&&(this.c=new k2(this,0)),HO(qbe(this.c,(Yve(),not),!0))));case 5:return this.a}return hZ(this,e-Hz((Yve(),tot)),VQ(0==(2&this.j)?tot:(!this.k&&(this.k=new Tf),this.k).Zj(),e),t,n)},_xe.gh=function(e){switch(e){case 0:return!!this.c&&0!=this.c.i;case 1:return!(!this.c&&(this.c=new k2(this,0)),LL(eW(this.c,(Yve(),Vit)),152)).dc();case 2:return!!this.b&&0!=this.b.i;case 3:return!this.c&&(this.c=new k2(this,0)),null!=HO(qbe(this.c,(Yve(),not),!0));case 4:return null!=uR(this.a,(!this.c&&(this.c=new k2(this,0)),HO(qbe(this.c,(Yve(),not),!0))));case 5:return!!this.a}return QU(this,e-Hz((Yve(),tot)),VQ(0==(2&this.j)?tot:(!this.k&&(this.k=new Tf),this.k).Zj(),e))},_xe.nh=function(e,t){switch(e){case 0:return!this.c&&(this.c=new k2(this,0)),void Mz(this.c,t);case 1:return void(!this.c&&(this.c=new k2(this,0)),LL(LL(eW(this.c,(Yve(),Vit)),152),212)).Wb(t);case 2:return!this.b&&(this.b=new k2(this,2)),void Mz(this.b,t);case 3:return void zW(this,HO(t));case 4:return void zW(this,lR(this.a,t));case 5:return void function(e,t){e.a=t}(this,LL(t,148))}C9(this,e-Hz((Yve(),tot)),VQ(0==(2&this.j)?tot:(!this.k&&(this.k=new Tf),this.k).Zj(),e),t)},_xe.uh=function(){return Yve(),tot},_xe.wh=function(e){switch(e){case 0:return!this.c&&(this.c=new k2(this,0)),void Ove(this.c);case 1:return void(!this.c&&(this.c=new k2(this,0)),LL(eW(this.c,(Yve(),Vit)),152)).$b();case 2:return!this.b&&(this.b=new k2(this,2)),void Ove(this.b);case 3:return!this.c&&(this.c=new k2(this,0)),void sve(this.c,(Yve(),not),null);case 4:return void zW(this,lR(this.a,null));case 5:return void(this.a=null)}e8(this,e-Hz((Yve(),tot)),VQ(0==(2&this.j)?tot:(!this.k&&(this.k=new Tf),this.k).Zj(),e))};eB(vNe,"SimpleAnyTypeImpl",656);Kce(657,498,{104:1,91:1,89:1,55:1,48:1,96:1,1992:1,657:1},Rv),_xe.Wg=function(e,t,n){switch(e){case 0:return n?(!this.a&&(this.a=new k2(this,0)),this.a):(!this.a&&(this.a=new k2(this,0)),this.a.b);case 1:return n?(!this.b&&(this.b=new EK((bxe(),Grt),ait,this,1)),this.b):(!this.b&&(this.b=new EK((bxe(),Grt),ait,this,1)),lK(this.b));case 2:return n?(!this.c&&(this.c=new EK((bxe(),Grt),ait,this,2)),this.c):(!this.c&&(this.c=new EK((bxe(),Grt),ait,this,2)),lK(this.c));case 3:return!this.a&&(this.a=new k2(this,0)),eW(this.a,(Yve(),oot));case 4:return!this.a&&(this.a=new k2(this,0)),eW(this.a,(Yve(),aot));case 5:return!this.a&&(this.a=new k2(this,0)),eW(this.a,(Yve(),lot));case 6:return!this.a&&(this.a=new k2(this,0)),eW(this.a,(Yve(),uot))}return hZ(this,e-Hz((Yve(),iot)),VQ(0==(2&this.j)?iot:(!this.k&&(this.k=new Tf),this.k).Zj(),e),t,n)},_xe.eh=function(e,t,n){switch(t){case 0:return!this.a&&(this.a=new k2(this,0)),Sge(this.a,e,n);case 1:return!this.b&&(this.b=new EK((bxe(),Grt),ait,this,1)),AR(this.b,e,n);case 2:return!this.c&&(this.c=new EK((bxe(),Grt),ait,this,2)),AR(this.c,e,n);case 5:return!this.a&&(this.a=new k2(this,0)),oD(eW(this.a,(Yve(),lot)),e,n)}return LL(VQ(0==(2&this.j)?(Yve(),iot):(!this.k&&(this.k=new Tf),this.k).Zj(),t),65).Ij().Mj(this,YZ(this),t-Hz((Yve(),iot)),e,n)},_xe.gh=function(e){switch(e){case 0:return!!this.a&&0!=this.a.i;case 1:return!!this.b&&0!=this.b.f;case 2:return!!this.c&&0!=this.c.f;case 3:return!this.a&&(this.a=new k2(this,0)),!AI(eW(this.a,(Yve(),oot)));case 4:return!this.a&&(this.a=new k2(this,0)),!AI(eW(this.a,(Yve(),aot)));case 5:return!this.a&&(this.a=new k2(this,0)),!AI(eW(this.a,(Yve(),lot)));case 6:return!this.a&&(this.a=new k2(this,0)),!AI(eW(this.a,(Yve(),uot)))}return QU(this,e-Hz((Yve(),iot)),VQ(0==(2&this.j)?iot:(!this.k&&(this.k=new Tf),this.k).Zj(),e))},_xe.nh=function(e,t){switch(e){case 0:return!this.a&&(this.a=new k2(this,0)),void Mz(this.a,t);case 1:return!this.b&&(this.b=new EK((bxe(),Grt),ait,this,1)),void _2(this.b,t);case 2:return!this.c&&(this.c=new EK((bxe(),Grt),ait,this,2)),void _2(this.c,t);case 3:return!this.a&&(this.a=new k2(this,0)),Eb(eW(this.a,(Yve(),oot))),!this.a&&(this.a=new k2(this,0)),void zT(eW(this.a,oot),LL(t,15));case 4:return!this.a&&(this.a=new k2(this,0)),Eb(eW(this.a,(Yve(),aot))),!this.a&&(this.a=new k2(this,0)),void zT(eW(this.a,aot),LL(t,15));case 5:return!this.a&&(this.a=new k2(this,0)),Eb(eW(this.a,(Yve(),lot))),!this.a&&(this.a=new k2(this,0)),void zT(eW(this.a,lot),LL(t,15));case 6:return!this.a&&(this.a=new k2(this,0)),Eb(eW(this.a,(Yve(),uot))),!this.a&&(this.a=new k2(this,0)),void zT(eW(this.a,uot),LL(t,15))}C9(this,e-Hz((Yve(),iot)),VQ(0==(2&this.j)?iot:(!this.k&&(this.k=new Tf),this.k).Zj(),e),t)},_xe.uh=function(){return Yve(),iot},_xe.wh=function(e){switch(e){case 0:return!this.a&&(this.a=new k2(this,0)),void Ove(this.a);case 1:return!this.b&&(this.b=new EK((bxe(),Grt),ait,this,1)),void this.b.c.$b();case 2:return!this.c&&(this.c=new EK((bxe(),Grt),ait,this,2)),void this.c.c.$b();case 3:return!this.a&&(this.a=new k2(this,0)),void Eb(eW(this.a,(Yve(),oot)));case 4:return!this.a&&(this.a=new k2(this,0)),void Eb(eW(this.a,(Yve(),aot)));case 5:return!this.a&&(this.a=new k2(this,0)),void Eb(eW(this.a,(Yve(),lot)));case 6:return!this.a&&(this.a=new k2(this,0)),void Eb(eW(this.a,(Yve(),uot)))}e8(this,e-Hz((Yve(),iot)),VQ(0==(2&this.j)?iot:(!this.k&&(this.k=new Tf),this.k).Zj(),e))},_xe.Ib=function(){var e;return 0!=(4&this.j)?jfe(this):((e=new XA(jfe(this))).a+=" (mixed: ",$I(e,this.a),e.a+=")",e.a)};var dot,pot,got,mot;eB(vNe,"XMLTypeDocumentRootImpl",657);Kce(1891,696,{104:1,91:1,89:1,465:1,147:1,55:1,107:1,48:1,96:1,150:1,113:1,116:1,1993:1},Pu),_xe.Dh=function(e,t){switch(e.tj()){case 7:case 8:case 9:case 10:case 16:case 22:case 23:case 24:case 25:case 26:case 32:case 33:case 34:case 36:case 37:case 44:case 45:case 50:case 51:case 53:case 55:case 56:case 57:case 58:case 60:case 61:case 4:return null==t?null:P9(t);case 19:case 28:case 29:case 35:case 38:case 39:case 41:case 46:case 52:case 54:case 5:return HO(t);case 6:return CO(LL(t,190));case 12:case 47:case 49:case 11:return _ye(this,e,t);case 13:return null==t?null:function(e){var t,n,i,o;if(i=exe((!e.c&&(e.c=B6(e.f)),e.c),0),0==e.e||0==e.a&&-1!=e.f&&e.e<0)return i;if(t=x0(e)<0?1:0,n=e.e,i.length,r.Math.abs(IH(e.e)),o=new gw,1==t&&(o.a+="-"),e.e>0)if((n-=i.length-t)>=0){for(o.a+="0.";n>MFe.length;n-=MFe.length)tj(o,MFe);mD(o,MFe,IH(n)),UI(o,i.substr(t))}else UI(o,zP(i,t,IH(n=t-n))),o.a+=".",UI(o,BI(i,IH(n)));else{for(UI(o,i.substr(t));n<-MFe.length;n+=MFe.length)tj(o,MFe);mD(o,MFe,IH(-n))}return o.a}(LL(t,239));case 15:case 14:return null==t?null:function(e){return e==RSe?yNe:e==LSe?"-INF":""+e}(Oy($O(t)));case 17:return woe((Yve(),t));case 18:return woe(t);case 21:case 20:return null==t?null:function(e){return e==RSe?yNe:e==LSe?"-INF":""+e}(LL(t,155).a);case 27:return EO(LL(t,190));case 30:return cre((Yve(),LL(t,14)));case 31:return cre(LL(t,14));case 40:case 59:case 48:return function(e){return null==e?null:P9(e)}((Yve(),t));case 42:return xoe((Yve(),t));case 43:return xoe(t);default:throw Jm(new Ny(eDe+e.ne()+tDe))}},_xe.Eh=function(e){var t;switch(-1==e.G&&(e.G=(t=mJ(e))?ene(t.Hh(),e):-1),e.G){case 0:return new Dv;case 1:return new Du;case 2:return new Lv;case 3:return new Rv;default:throw Jm(new Ny(iDe+e.zb+tDe))}},_xe.Fh=function(e,t){var n,r,i,o,a,s,l,u,c,f,h,d,p,g,m,b;switch(e.tj()){case 5:case 52:case 4:return t;case 6:return mte(t);case 8:case 7:return null==t?null:function(e){if(e=Nbe(e,!0),fR(GPe,e)||fR("1",e))return _P(),rFe;if(fR(WPe,e)||fR("0",e))return _P(),nFe;throw Jm(new Ky("Invalid boolean value: '"+e+"'"))}(t);case 9:return null==t?null:dQ(Hge((r=Nbe(t,!0)).length>0&&(TG(0,r.length),43==r.charCodeAt(0))?r.substr(1):r,-128,127)<<24>>24);case 10:return null==t?null:dQ(Hge((i=Nbe(t,!0)).length>0&&(TG(0,i.length),43==i.charCodeAt(0))?i.substr(1):i,-128,127)<<24>>24);case 11:return HO(Xwe(this,(Yve(),Git),t));case 12:return HO(Xwe(this,(Yve(),Wit),t));case 13:return null==t?null:new t_(Nbe(t,!0));case 15:case 14:return function(e){var t,n,r,i;if(null==e)return null;if(r=Nbe(e,!0),i=yNe.length,fR(r.substr(r.length-i,i),yNe))if(4==(n=r.length)){if(TG(0,r.length),43==(t=r.charCodeAt(0)))return pot;if(45==t)return dot}else if(3==n)return pot;return pse(r)}(t);case 16:return HO(Xwe(this,(Yve(),Uit),t));case 17:return nee((Yve(),t));case 18:return nee(t);case 28:case 29:case 35:case 38:case 39:case 41:case 54:case 19:return Nbe(t,!0);case 21:case 20:return function(e){var t,n,r,i;if(null==e)return null;if(r=Nbe(e,!0),i=yNe.length,fR(r.substr(r.length-i,i),yNe))if(4==(n=r.length)){if(TG(0,r.length),43==(t=r.charCodeAt(0)))return mot;if(45==t)return got}else if(3==n)return mot;return new ev(r)}(t);case 22:return HO(Xwe(this,(Yve(),qit),t));case 23:return HO(Xwe(this,(Yve(),Xit),t));case 24:return HO(Xwe(this,(Yve(),Yit),t));case 25:return HO(Xwe(this,(Yve(),Kit),t));case 26:return HO(Xwe(this,(Yve(),Zit),t));case 27:return Wee(t);case 30:return ree((Yve(),t));case 31:return ree(t);case 32:return null==t?null:k8(Hge((c=Nbe(t,!0)).length>0&&(TG(0,c.length),43==c.charCodeAt(0))?c.substr(1):c,F_e,Dxe));case 33:return null==t?null:new eT((f=Nbe(t,!0)).length>0&&(TG(0,f.length),43==f.charCodeAt(0))?f.substr(1):f);case 34:return null==t?null:k8(Hge((h=Nbe(t,!0)).length>0&&(TG(0,h.length),43==h.charCodeAt(0))?h.substr(1):h,F_e,Dxe));case 36:return null==t?null:vee(nwe((d=Nbe(t,!0)).length>0&&(TG(0,d.length),43==d.charCodeAt(0))?d.substr(1):d));case 37:return null==t?null:vee(nwe((p=Nbe(t,!0)).length>0&&(TG(0,p.length),43==p.charCodeAt(0))?p.substr(1):p));case 40:case 59:case 48:return function(e){var t;return null==e?null:new eT((t=Nbe(e,!0)).length>0&&(TG(0,t.length),43==t.charCodeAt(0))?t.substr(1):t)}((Yve(),t));case 42:return iee((Yve(),t));case 43:return iee(t);case 44:return null==t?null:new eT((g=Nbe(t,!0)).length>0&&(TG(0,g.length),43==g.charCodeAt(0))?g.substr(1):g);case 45:return null==t?null:new eT((m=Nbe(t,!0)).length>0&&(TG(0,m.length),43==m.charCodeAt(0))?m.substr(1):m);case 46:return Nbe(t,!1);case 47:return HO(Xwe(this,(Yve(),Qit),t));case 49:return HO(Xwe(this,(Yve(),eot),t));case 50:return null==t?null:S8(Hge((b=Nbe(t,!0)).length>0&&(TG(0,b.length),43==b.charCodeAt(0))?b.substr(1):b,RLe,32767)<<16>>16);case 51:return null==t?null:S8(Hge((o=Nbe(t,!0)).length>0&&(TG(0,o.length),43==o.charCodeAt(0))?o.substr(1):o,RLe,32767)<<16>>16);case 53:return HO(Xwe(this,(Yve(),rot),t));case 55:return null==t?null:S8(Hge((a=Nbe(t,!0)).length>0&&(TG(0,a.length),43==a.charCodeAt(0))?a.substr(1):a,RLe,32767)<<16>>16);case 56:return null==t?null:S8(Hge((s=Nbe(t,!0)).length>0&&(TG(0,s.length),43==s.charCodeAt(0))?s.substr(1):s,RLe,32767)<<16>>16);case 57:return null==t?null:vee(nwe((l=Nbe(t,!0)).length>0&&(TG(0,l.length),43==l.charCodeAt(0))?l.substr(1):l));case 58:return null==t?null:vee(nwe((u=Nbe(t,!0)).length>0&&(TG(0,u.length),43==u.charCodeAt(0))?u.substr(1):u));case 60:return null==t?null:k8(Hge((n=Nbe(t,!0)).length>0&&(TG(0,n.length),43==n.charCodeAt(0))?n.substr(1):n,F_e,Dxe));case 61:return null==t?null:k8(Hge(Nbe(t,!0),F_e,Dxe));default:throw Jm(new Ny(eDe+e.ne()+tDe))}};eB(vNe,"XMLTypeFactoryImpl",1891);Kce(577,179,{104:1,91:1,89:1,147:1,191:1,55:1,234:1,107:1,48:1,96:1,150:1,179:1,113:1,116:1,663:1,1917:1,577:1},UB),_xe.N=!1,_xe.O=!1;var bot=!1;eB(vNe,"XMLTypePackageImpl",577);Kce(1824,1,{815:1},Ru),_xe.Wj=function(){return Ame(),Zot};eB(vNe,"XMLTypePackageImpl/1",1824);Kce(1833,1,qLe,Au),_xe.rj=function(e){return LI(e)},_xe.sj=function(e){return fK(CFe,s_e,2,e,6,1)};eB(vNe,"XMLTypePackageImpl/10",1833);Kce(1834,1,qLe,Lu),_xe.rj=function(e){return LI(e)},_xe.sj=function(e){return fK(CFe,s_e,2,e,6,1)};eB(vNe,"XMLTypePackageImpl/11",1834);Kce(1835,1,qLe,Nu),_xe.rj=function(e){return LI(e)},_xe.sj=function(e){return fK(CFe,s_e,2,e,6,1)};eB(vNe,"XMLTypePackageImpl/12",1835);Kce(1836,1,qLe,ju),_xe.rj=function(e){return RI(e)},_xe.sj=function(e){return fK(fFe,s_e,331,e,7,1)};eB(vNe,"XMLTypePackageImpl/13",1836);Kce(1837,1,qLe,Fu),_xe.rj=function(e){return LI(e)},_xe.sj=function(e){return fK(CFe,s_e,2,e,6,1)};eB(vNe,"XMLTypePackageImpl/14",1837);Kce(1838,1,qLe,zu),_xe.rj=function(e){return BT(e,14)},_xe.sj=function(e){return fK(xje,ZCe,14,e,0,1)};eB(vNe,"XMLTypePackageImpl/15",1838);Kce(1839,1,qLe,Bu),_xe.rj=function(e){return BT(e,14)},_xe.sj=function(e){return fK(xje,ZCe,14,e,0,1)};eB(vNe,"XMLTypePackageImpl/16",1839);Kce(1840,1,qLe,Vu),_xe.rj=function(e){return LI(e)},_xe.sj=function(e){return fK(CFe,s_e,2,e,6,1)};eB(vNe,"XMLTypePackageImpl/17",1840);Kce(1841,1,qLe,$u),_xe.rj=function(e){return BT(e,155)},_xe.sj=function(e){return fK(hFe,s_e,155,e,0,1)};eB(vNe,"XMLTypePackageImpl/18",1841);Kce(1842,1,qLe,Hu),_xe.rj=function(e){return LI(e)},_xe.sj=function(e){return fK(CFe,s_e,2,e,6,1)};eB(vNe,"XMLTypePackageImpl/19",1842);Kce(1825,1,qLe,Gu),_xe.rj=function(e){return BT(e,822)},_xe.sj=function(e){return fK(jit,zxe,822,e,0,1)};eB(vNe,"XMLTypePackageImpl/2",1825);Kce(1843,1,qLe,Wu),_xe.rj=function(e){return LI(e)},_xe.sj=function(e){return fK(CFe,s_e,2,e,6,1)};eB(vNe,"XMLTypePackageImpl/20",1843);Kce(1844,1,qLe,Uu),_xe.rj=function(e){return LI(e)},_xe.sj=function(e){return fK(CFe,s_e,2,e,6,1)};eB(vNe,"XMLTypePackageImpl/21",1844);Kce(1845,1,qLe,qu),_xe.rj=function(e){return LI(e)},_xe.sj=function(e){return fK(CFe,s_e,2,e,6,1)};eB(vNe,"XMLTypePackageImpl/22",1845);Kce(1846,1,qLe,Xu),_xe.rj=function(e){return LI(e)},_xe.sj=function(e){return fK(CFe,s_e,2,e,6,1)};eB(vNe,"XMLTypePackageImpl/23",1846);Kce(1847,1,qLe,Yu),_xe.rj=function(e){return BT(e,190)},_xe.sj=function(e){return fK(oat,s_e,190,e,0,2)};eB(vNe,"XMLTypePackageImpl/24",1847);Kce(1848,1,qLe,Ku),_xe.rj=function(e){return LI(e)},_xe.sj=function(e){return fK(CFe,s_e,2,e,6,1)};eB(vNe,"XMLTypePackageImpl/25",1848);Kce(1849,1,qLe,Zu),_xe.rj=function(e){return LI(e)},_xe.sj=function(e){return fK(CFe,s_e,2,e,6,1)};eB(vNe,"XMLTypePackageImpl/26",1849);Kce(1850,1,qLe,Qu),_xe.rj=function(e){return BT(e,14)},_xe.sj=function(e){return fK(xje,ZCe,14,e,0,1)};eB(vNe,"XMLTypePackageImpl/27",1850);Kce(1851,1,qLe,Ju),_xe.rj=function(e){return BT(e,14)},_xe.sj=function(e){return fK(xje,ZCe,14,e,0,1)};eB(vNe,"XMLTypePackageImpl/28",1851);Kce(1852,1,qLe,ec),_xe.rj=function(e){return LI(e)},_xe.sj=function(e){return fK(CFe,s_e,2,e,6,1)};eB(vNe,"XMLTypePackageImpl/29",1852);Kce(1826,1,qLe,tc),_xe.rj=function(e){return BT(e,655)},_xe.sj=function(e){return fK(cot,zxe,1990,e,0,1)};eB(vNe,"XMLTypePackageImpl/3",1826);Kce(1853,1,qLe,nc),_xe.rj=function(e){return BT(e,20)},_xe.sj=function(e){return fK(gFe,s_e,20,e,0,1)};eB(vNe,"XMLTypePackageImpl/30",1853);Kce(1854,1,qLe,rc),_xe.rj=function(e){return LI(e)},_xe.sj=function(e){return fK(CFe,s_e,2,e,6,1)};eB(vNe,"XMLTypePackageImpl/31",1854);Kce(1855,1,qLe,ic),_xe.rj=function(e){return BT(e,162)},_xe.sj=function(e){return fK(bFe,s_e,162,e,0,1)};eB(vNe,"XMLTypePackageImpl/32",1855);Kce(1856,1,qLe,oc),_xe.rj=function(e){return LI(e)},_xe.sj=function(e){return fK(CFe,s_e,2,e,6,1)};eB(vNe,"XMLTypePackageImpl/33",1856);Kce(1857,1,qLe,ac),_xe.rj=function(e){return LI(e)},_xe.sj=function(e){return fK(CFe,s_e,2,e,6,1)};eB(vNe,"XMLTypePackageImpl/34",1857);Kce(1858,1,qLe,sc),_xe.rj=function(e){return LI(e)},_xe.sj=function(e){return fK(CFe,s_e,2,e,6,1)};eB(vNe,"XMLTypePackageImpl/35",1858);Kce(1859,1,qLe,lc),_xe.rj=function(e){return LI(e)},_xe.sj=function(e){return fK(CFe,s_e,2,e,6,1)};eB(vNe,"XMLTypePackageImpl/36",1859);Kce(1860,1,qLe,uc),_xe.rj=function(e){return BT(e,14)},_xe.sj=function(e){return fK(xje,ZCe,14,e,0,1)};eB(vNe,"XMLTypePackageImpl/37",1860);Kce(1861,1,qLe,cc),_xe.rj=function(e){return BT(e,14)},_xe.sj=function(e){return fK(xje,ZCe,14,e,0,1)};eB(vNe,"XMLTypePackageImpl/38",1861);Kce(1862,1,qLe,fc),_xe.rj=function(e){return LI(e)},_xe.sj=function(e){return fK(CFe,s_e,2,e,6,1)};eB(vNe,"XMLTypePackageImpl/39",1862);Kce(1827,1,qLe,hc),_xe.rj=function(e){return BT(e,656)},_xe.sj=function(e){return fK(fot,zxe,1991,e,0,1)};eB(vNe,"XMLTypePackageImpl/4",1827);Kce(1863,1,qLe,dc),_xe.rj=function(e){return LI(e)},_xe.sj=function(e){return fK(CFe,s_e,2,e,6,1)};eB(vNe,"XMLTypePackageImpl/40",1863);Kce(1864,1,qLe,pc),_xe.rj=function(e){return LI(e)},_xe.sj=function(e){return fK(CFe,s_e,2,e,6,1)};eB(vNe,"XMLTypePackageImpl/41",1864);Kce(1865,1,qLe,gc),_xe.rj=function(e){return LI(e)},_xe.sj=function(e){return fK(CFe,s_e,2,e,6,1)};eB(vNe,"XMLTypePackageImpl/42",1865);Kce(1866,1,qLe,mc),_xe.rj=function(e){return LI(e)},_xe.sj=function(e){return fK(CFe,s_e,2,e,6,1)};eB(vNe,"XMLTypePackageImpl/43",1866);Kce(1867,1,qLe,bc),_xe.rj=function(e){return LI(e)},_xe.sj=function(e){return fK(CFe,s_e,2,e,6,1)};eB(vNe,"XMLTypePackageImpl/44",1867);Kce(1868,1,qLe,vc),_xe.rj=function(e){return BT(e,186)},_xe.sj=function(e){return fK(SFe,s_e,186,e,0,1)};eB(vNe,"XMLTypePackageImpl/45",1868);Kce(1869,1,qLe,yc),_xe.rj=function(e){return LI(e)},_xe.sj=function(e){return fK(CFe,s_e,2,e,6,1)};eB(vNe,"XMLTypePackageImpl/46",1869);Kce(1870,1,qLe,wc),_xe.rj=function(e){return LI(e)},_xe.sj=function(e){return fK(CFe,s_e,2,e,6,1)};eB(vNe,"XMLTypePackageImpl/47",1870);Kce(1871,1,qLe,xc),_xe.rj=function(e){return LI(e)},_xe.sj=function(e){return fK(CFe,s_e,2,e,6,1)};eB(vNe,"XMLTypePackageImpl/48",1871);Kce(1872,1,qLe,_c),_xe.rj=function(e){return BT(e,186)},_xe.sj=function(e){return fK(SFe,s_e,186,e,0,1)};eB(vNe,"XMLTypePackageImpl/49",1872);Kce(1828,1,qLe,Sc),_xe.rj=function(e){return BT(e,657)},_xe.sj=function(e){return fK(hot,zxe,1992,e,0,1)};eB(vNe,"XMLTypePackageImpl/5",1828);Kce(1873,1,qLe,kc),_xe.rj=function(e){return BT(e,162)},_xe.sj=function(e){return fK(bFe,s_e,162,e,0,1)};eB(vNe,"XMLTypePackageImpl/50",1873);Kce(1874,1,qLe,Cc),_xe.rj=function(e){return LI(e)},_xe.sj=function(e){return fK(CFe,s_e,2,e,6,1)};eB(vNe,"XMLTypePackageImpl/51",1874);Kce(1875,1,qLe,Ec),_xe.rj=function(e){return BT(e,20)},_xe.sj=function(e){return fK(gFe,s_e,20,e,0,1)};eB(vNe,"XMLTypePackageImpl/52",1875);Kce(1829,1,qLe,Ic),_xe.rj=function(e){return LI(e)},_xe.sj=function(e){return fK(CFe,s_e,2,e,6,1)};eB(vNe,"XMLTypePackageImpl/6",1829);Kce(1830,1,qLe,Mc),_xe.rj=function(e){return BT(e,190)},_xe.sj=function(e){return fK(oat,s_e,190,e,0,2)};eB(vNe,"XMLTypePackageImpl/7",1830);Kce(1831,1,qLe,Tc),_xe.rj=function(e){return DI(e)},_xe.sj=function(e){return fK(oFe,s_e,470,e,8,1)};eB(vNe,"XMLTypePackageImpl/8",1831);Kce(1832,1,qLe,Ac),_xe.rj=function(e){return BT(e,215)},_xe.sj=function(e){return fK(lFe,s_e,215,e,0,1)};var vot,yot,wot,xot,_ot;eB(vNe,"XMLTypePackageImpl/9",1832);Kce(50,59,B_e,Zy);eB(GNe,"RegEx/ParseException",50);Kce(799,1,{},Pc),_xe.nl=function(e){return e<this.j&&63==dV(this.i,e)},_xe.ol=function(){var e,t,n,r,i;if(10!=this.c)throw Jm(new Zy(wxe((pT(),JDe))));switch(e=this.a){case 101:e=27;break;case 102:e=12;break;case 110:e=10;break;case 114:e=13;break;case 116:e=9;break;case 120:if(ixe(this),0!=this.c)throw Jm(new Zy(wxe((pT(),kRe))));if(123==this.a){for(i=0,n=0;;){if(ixe(this),0!=this.c)throw Jm(new Zy(wxe((pT(),kRe))));if((i=Dne(this.a))<0)break;if(n>16*n)throw Jm(new Zy(wxe((pT(),CRe))));n=16*n+i}if(125!=this.a)throw Jm(new Zy(wxe((pT(),ERe))));if(n>WNe)throw Jm(new Zy(wxe((pT(),IRe))));e=n}else{if(i=0,0!=this.c||(i=Dne(this.a))<0)throw Jm(new Zy(wxe((pT(),kRe))));if(n=i,ixe(this),0!=this.c||(i=Dne(this.a))<0)throw Jm(new Zy(wxe((pT(),kRe))));e=n=16*n+i}break;case 117:if(r=0,ixe(this),0!=this.c||(r=Dne(this.a))<0)throw Jm(new Zy(wxe((pT(),kRe))));if(t=r,ixe(this),0!=this.c||(r=Dne(this.a))<0)throw Jm(new Zy(wxe((pT(),kRe))));if(t=16*t+r,ixe(this),0!=this.c||(r=Dne(this.a))<0)throw Jm(new Zy(wxe((pT(),kRe))));if(t=16*t+r,ixe(this),0!=this.c||(r=Dne(this.a))<0)throw Jm(new Zy(wxe((pT(),kRe))));e=t=16*t+r;break;case 118:if(ixe(this),0!=this.c||(r=Dne(this.a))<0)throw Jm(new Zy(wxe((pT(),kRe))));if(t=r,ixe(this),0!=this.c||(r=Dne(this.a))<0)throw Jm(new Zy(wxe((pT(),kRe))));if(t=16*t+r,ixe(this),0!=this.c||(r=Dne(this.a))<0)throw Jm(new Zy(wxe((pT(),kRe))));if(t=16*t+r,ixe(this),0!=this.c||(r=Dne(this.a))<0)throw Jm(new Zy(wxe((pT(),kRe))));if(t=16*t+r,ixe(this),0!=this.c||(r=Dne(this.a))<0)throw Jm(new Zy(wxe((pT(),kRe))));if(t=16*t+r,ixe(this),0!=this.c||(r=Dne(this.a))<0)throw Jm(new Zy(wxe((pT(),kRe))));if((t=16*t+r)>WNe)throw Jm(new Zy(wxe((pT(),"parser.descappe.4"))));e=t;break;case 65:case 90:case 122:throw Jm(new Zy(wxe((pT(),MRe))))}return e},_xe.pl=function(e){var t;switch(e){case 100:t=32==(32&this.e)?Mwe("Nd",!0):(gxe(),Aot);break;case 68:t=32==(32&this.e)?Mwe("Nd",!1):(gxe(),Lot);break;case 119:t=32==(32&this.e)?Mwe("IsWord",!0):(gxe(),Got);break;case 87:t=32==(32&this.e)?Mwe("IsWord",!1):(gxe(),jot);break;case 115:t=32==(32&this.e)?Mwe("IsSpace",!0):(gxe(),zot);break;case 83:t=32==(32&this.e)?Mwe("IsSpace",!1):(gxe(),Not);break;default:throw Jm(new sy(UNe+e.toString(16)))}return t},_xe.ql=function(e){var t,n,r,i,o,a,s,l,u,c,f;for(this.b=1,ixe(this),t=null,0==this.c&&94==this.a?(ixe(this),e?(gxe(),gxe(),u=new lW(5)):(gxe(),gxe(),Fde(t=new lW(4),0,WNe),u=new lW(4))):(gxe(),gxe(),u=new lW(4)),i=!0;1!=(f=this.c)&&(0!=f||93!=this.a||i);){if(i=!1,n=this.a,r=!1,10==f)switch(n){case 100:case 68:case 119:case 87:case 115:case 83:Zbe(u,this.pl(n)),r=!0;break;case 105:case 73:case 99:case 67:(n=this.Gl(u,n))<0&&(r=!0);break;case 112:case 80:if(!(c=jue(this,n)))throw Jm(new Zy(wxe((pT(),dRe))));Zbe(u,c),r=!0;break;default:n=this.ol()}else if(20==f){if((o=FP(this.i,58,this.d))<0)throw Jm(new Zy(wxe((pT(),pRe))));if(a=!0,94==dV(this.i,this.d)&&(++this.d,a=!1),!(s=TK(zP(this.i,this.d,o),a,512==(512&this.e))))throw Jm(new Zy(wxe((pT(),mRe))));if(Zbe(u,s),r=!0,o+1>=this.j||93!=dV(this.i,o+1))throw Jm(new Zy(wxe((pT(),pRe))));this.d=o+2}if(ixe(this),!r)if(0!=this.c||45!=this.a)Fde(u,n,n);else{if(ixe(this),1==(f=this.c))throw Jm(new Zy(wxe((pT(),gRe))));0==f&&93==this.a?(Fde(u,n,n),Fde(u,45,45)):(l=this.a,10==f&&(l=this.ol()),ixe(this),Fde(u,n,l))}(this.e&GRe)==GRe&&0==this.c&&44==this.a&&ixe(this)}if(1==this.c)throw Jm(new Zy(wxe((pT(),gRe))));return t&&(Eye(t,u),u=t),Rfe(u),xve(u),this.b=0,ixe(this),u},_xe.rl=function(){var e,t,n,r;for(n=this.ql(!1);7!=(r=this.c);){if(e=this.a,(0!=r||45!=e&&38!=e)&&4!=r)throw Jm(new Zy(wxe((pT(),_Re))));if(ixe(this),9!=this.c)throw Jm(new Zy(wxe((pT(),xRe))));if(t=this.ql(!1),4==r)Zbe(n,t);else if(45==e)Eye(n,t);else{if(38!=e)throw Jm(new sy("ASSERT"));hye(n,t)}}return ixe(this),n},_xe.sl=function(){var e,t;return e=this.a-48,gxe(),gxe(),t=new mH(12,null,e),!this.g&&(this.g=new Db),Mb(this.g,new Fm(e)),ixe(this),t},_xe.tl=function(){return ixe(this),gxe(),Bot},_xe.ul=function(){return ixe(this),gxe(),Fot},_xe.vl=function(){throw Jm(new Zy(wxe((pT(),TRe))))},_xe.wl=function(){throw Jm(new Zy(wxe((pT(),TRe))))},_xe.xl=function(){return ixe(this),l4()},_xe.yl=function(){return ixe(this),gxe(),$ot},_xe.zl=function(){return ixe(this),gxe(),Wot},_xe.Al=function(){var e;if(this.d>=this.j||64!=(65504&(e=dV(this.i,this.d++))))throw Jm(new Zy(wxe((pT(),uRe))));return ixe(this),gxe(),gxe(),new vj(0,e-64)},_xe.Bl=function(){return ixe(this),function(){var e,t,n,r,i,o;if(gxe(),Yot)return Yot;for(Zbe(e=new lW(4),Mwe(tje,!0)),Eye(e,Mwe("M",!0)),Eye(e,Mwe("C",!0)),o=new lW(4),r=0;r<11;r++)Fde(o,r,r);return Zbe(t=new lW(4),Mwe("M",!0)),Fde(t,4448,4607),Fde(t,65438,65439),Ive(i=new ST(2),e),Ive(i,Oot),(n=new ST(2)).Vl(yj(o,Mwe("L",!0))),n.Vl(t),n=new _q(3,n),n=new _z(i,n),Yot=n}()},_xe.Cl=function(){return ixe(this),gxe(),Uot},_xe.Dl=function(){var e;return gxe(),gxe(),e=new vj(0,105),ixe(this),e},_xe.El=function(){return ixe(this),gxe(),Hot},_xe.Fl=function(){return ixe(this),gxe(),Vot},_xe.Gl=function(e,t){return this.ol()},_xe.Hl=function(){return ixe(this),gxe(),Dot},_xe.Il=function(){var e,t,n,r,i;if(this.d+1>=this.j)throw Jm(new Zy(wxe((pT(),aRe))));if(r=-1,t=null,49<=(e=dV(this.i,this.d))&&e<=57){if(r=e-48,!this.g&&(this.g=new Db),Mb(this.g,new Fm(r)),++this.d,41!=dV(this.i,this.d))throw Jm(new Zy(wxe((pT(),rRe))));++this.d}else switch(63==e&&--this.d,ixe(this),(t=Gwe(this)).e){case 20:case 21:case 22:case 23:break;case 8:if(7!=this.c)throw Jm(new Zy(wxe((pT(),rRe))));break;default:throw Jm(new Zy(wxe((pT(),sRe))))}if(ixe(this),n=null,2==(i=cee(this)).e){if(2!=i._l())throw Jm(new Zy(wxe((pT(),lRe))));n=i.Xl(1),i=i.Xl(0)}if(7!=this.c)throw Jm(new Zy(wxe((pT(),rRe))));return ixe(this),gxe(),gxe(),new gQ(r,t,i,n)},_xe.Jl=function(){return ixe(this),gxe(),Rot},_xe.Kl=function(){var e;if(ixe(this),e=oz(24,cee(this)),7!=this.c)throw Jm(new Zy(wxe((pT(),rRe))));return ixe(this),e},_xe.Ll=function(){var e;if(ixe(this),e=oz(20,cee(this)),7!=this.c)throw Jm(new Zy(wxe((pT(),rRe))));return ixe(this),e},_xe.Ml=function(){var e;if(ixe(this),e=oz(22,cee(this)),7!=this.c)throw Jm(new Zy(wxe((pT(),rRe))));return ixe(this),e},_xe.Nl=function(){var e,t,n,r,i;for(e=0,n=0,t=-1;this.d<this.j&&0!=(i=jce(t=dV(this.i,this.d)));)e|=i,++this.d;if(this.d>=this.j)throw Jm(new Zy(wxe((pT(),iRe))));if(45==t){for(++this.d;this.d<this.j&&0!=(i=jce(t=dV(this.i,this.d)));)n|=i,++this.d;if(this.d>=this.j)throw Jm(new Zy(wxe((pT(),iRe))))}if(58==t){if(++this.d,ixe(this),r=Yz(cee(this),e,n),7!=this.c)throw Jm(new Zy(wxe((pT(),rRe))));ixe(this)}else{if(41!=t)throw Jm(new Zy(wxe((pT(),oRe))));++this.d,ixe(this),r=Yz(cee(this),e,n)}return r},_xe.Ol=function(){var e;if(ixe(this),e=oz(21,cee(this)),7!=this.c)throw Jm(new Zy(wxe((pT(),rRe))));return ixe(this),e},_xe.Pl=function(){var e;if(ixe(this),e=oz(23,cee(this)),7!=this.c)throw Jm(new Zy(wxe((pT(),rRe))));return ixe(this),e},_xe.Ql=function(){var e,t;if(ixe(this),e=this.f++,t=az(cee(this),e),7!=this.c)throw Jm(new Zy(wxe((pT(),rRe))));return ixe(this),t},_xe.Rl=function(){var e;if(ixe(this),e=az(cee(this),0),7!=this.c)throw Jm(new Zy(wxe((pT(),rRe))));return ixe(this),e},_xe.Sl=function(e){return ixe(this),5==this.c?(ixe(this),yj(e,(gxe(),gxe(),new _q(9,e)))):yj(e,(gxe(),gxe(),new _q(3,e)))},_xe.Tl=function(e){var t;return ixe(this),gxe(),gxe(),t=new ST(2),5==this.c?(ixe(this),Ive(t,Oot),Ive(t,e)):(Ive(t,e),Ive(t,Oot)),t},_xe.Ul=function(e){return ixe(this),5==this.c?(ixe(this),gxe(),gxe(),new _q(9,e)):(gxe(),gxe(),new _q(3,e))},_xe.a=0,_xe.b=0,_xe.c=0,_xe.d=0,_xe.e=0,_xe.f=1,_xe.g=null,_xe.j=0;eB(GNe,"RegEx/RegexParser",799);Kce(1796,799,{},Nv),_xe.nl=function(e){return!1},_xe.ol=function(){return ppe(this)},_xe.pl=function(e){return Yge(e)},_xe.ql=function(e){return oxe(this)},_xe.rl=function(){throw Jm(new Zy(wxe((pT(),TRe))))},_xe.sl=function(){throw Jm(new Zy(wxe((pT(),TRe))))},_xe.tl=function(){throw Jm(new Zy(wxe((pT(),TRe))))},_xe.ul=function(){throw Jm(new Zy(wxe((pT(),TRe))))},_xe.vl=function(){return ixe(this),Yge(67)},_xe.wl=function(){return ixe(this),Yge(73)},_xe.xl=function(){throw Jm(new Zy(wxe((pT(),TRe))))},_xe.yl=function(){throw Jm(new Zy(wxe((pT(),TRe))))},_xe.zl=function(){throw Jm(new Zy(wxe((pT(),TRe))))},_xe.Al=function(){return ixe(this),Yge(99)},_xe.Bl=function(){throw Jm(new Zy(wxe((pT(),TRe))))},_xe.Cl=function(){throw Jm(new Zy(wxe((pT(),TRe))))},_xe.Dl=function(){return ixe(this),Yge(105)},_xe.El=function(){throw Jm(new Zy(wxe((pT(),TRe))))},_xe.Fl=function(){throw Jm(new Zy(wxe((pT(),TRe))))},_xe.Gl=function(e,t){return Zbe(e,Yge(t)),-1},_xe.Hl=function(){return ixe(this),gxe(),gxe(),new vj(0,94)},_xe.Il=function(){throw Jm(new Zy(wxe((pT(),TRe))))},_xe.Jl=function(){return ixe(this),gxe(),gxe(),new vj(0,36)},_xe.Kl=function(){throw Jm(new Zy(wxe((pT(),TRe))))},_xe.Ll=function(){throw Jm(new Zy(wxe((pT(),TRe))))},_xe.Ml=function(){throw Jm(new Zy(wxe((pT(),TRe))))},_xe.Nl=function(){throw Jm(new Zy(wxe((pT(),TRe))))},_xe.Ol=function(){throw Jm(new Zy(wxe((pT(),TRe))))},_xe.Pl=function(){throw Jm(new Zy(wxe((pT(),TRe))))},_xe.Ql=function(){var e;if(ixe(this),e=az(cee(this),0),7!=this.c)throw Jm(new Zy(wxe((pT(),rRe))));return ixe(this),e},_xe.Rl=function(){throw Jm(new Zy(wxe((pT(),TRe))))},_xe.Sl=function(e){return ixe(this),yj(e,(gxe(),gxe(),new _q(3,e)))},_xe.Tl=function(e){var t;return ixe(this),gxe(),gxe(),Ive(t=new ST(2),e),Ive(t,Oot),t},_xe.Ul=function(e){return ixe(this),gxe(),gxe(),new _q(3,e)};var Sot=null,kot=null;eB(GNe,"RegEx/ParserForXMLSchema",1796);Kce(117,1,ije,zm),_xe.Vl=function(e){throw Jm(new sy("Not supported."))},_xe.Wl=function(){return-1},_xe.Xl=function(e){return null},_xe.Yl=function(){return null},_xe.Zl=function(e){},_xe.$l=function(e){},_xe._l=function(){return 0},_xe.Ib=function(){return this.am(0)},_xe.am=function(e){return 11==this.e?".":""},_xe.e=0;var Cot,Eot,Iot,Mot,Tot,Aot,Pot,Oot,Dot,Rot,Lot,Not,jot,Fot,zot,Bot,Vot,$ot,Hot,Got,Wot,Uot,qot=null,Xot=null,Yot=null,Kot=eB(GNe,"RegEx/Token",117);Kce(136,117,{3:1,136:1,117:1},lW),_xe.am=function(e){var t,n,r;if(4==this.e)if(this==Pot)n=".";else if(this==Aot)n="\\d";else if(this==Got)n="\\w";else if(this==zot)n="\\s";else{for((r=new hw).a+="[",t=0;t<this.b.length;t+=2)0!=(e&GRe)&&t>0&&(r.a+=","),this.b[t]===this.b[t+1]?HI(r,cbe(this.b[t])):(HI(r,cbe(this.b[t])),r.a+="-",HI(r,cbe(this.b[t+1])));r.a+="]",n=r.a}else if(this==Lot)n="\\D";else if(this==jot)n="\\W";else if(this==Not)n="\\S";else{for((r=new hw).a+="[^",t=0;t<this.b.length;t+=2)0!=(e&GRe)&&t>0&&(r.a+=","),this.b[t]===this.b[t+1]?HI(r,cbe(this.b[t])):(HI(r,cbe(this.b[t])),r.a+="-",HI(r,cbe(this.b[t+1])));r.a+="]",n=r.a}return n},_xe.a=!1,_xe.c=!1;eB(GNe,"RegEx/RangeToken",136);Kce(575,1,{575:1},Fm),_xe.a=0;eB(GNe,"RegEx/RegexParser/ReferencePosition",575);Kce(574,1,{3:1,574:1},n_),_xe.Fb=function(e){var t;return null!=e&&(!!BT(e,574)&&(t=LL(e,574),fR(this.b,t.b)&&this.a==t.a))},_xe.Hb=function(){return ane(this.b+"/"+ide(this.a))},_xe.Ib=function(){return this.c.am(this.a)},_xe.a=0;eB(GNe,"RegEx/RegularExpression",574);Kce(221,117,ije,vj),_xe.Wl=function(){return this.a},_xe.am=function(e){var t,n;switch(this.e){case 0:switch(this.a){case 124:case 42:case 43:case 63:case 40:case 41:case 46:case 91:case 123:case 92:n="\\"+pD(this.a&X_e);break;case 12:n="\\f";break;case 10:n="\\n";break;case 13:n="\\r";break;case 9:n="\\t";break;case 27:n="\\e";break;default:n=this.a>=FSe?"\\v"+zP(t="0"+(this.a>>>0).toString(16),t.length-6,t.length):""+pD(this.a&X_e)}break;case 8:n=this==Dot||this==Rot?""+pD(this.a&X_e):"\\"+pD(this.a&X_e);break;default:n=null}return n},_xe.a=0;eB(GNe,"RegEx/Token/CharToken",221);Kce(307,117,ije,_q),_xe.Xl=function(e){return this.a},_xe.Zl=function(e){this.b=e},_xe.$l=function(e){this.c=e},_xe._l=function(){return 1},_xe.am=function(e){var t;if(3==this.e)if(this.c<0&&this.b<0)t=this.a.am(e)+"*";else if(this.c==this.b)t=this.a.am(e)+"{"+this.c+"}";else if(this.c>=0&&this.b>=0)t=this.a.am(e)+"{"+this.c+","+this.b+"}";else{if(!(this.c>=0&&this.b<0))throw Jm(new sy("Token#toString(): CLOSURE "+this.c+jxe+this.b));t=this.a.am(e)+"{"+this.c+",}"}else if(this.c<0&&this.b<0)t=this.a.am(e)+"*?";else if(this.c==this.b)t=this.a.am(e)+"{"+this.c+"}?";else if(this.c>=0&&this.b>=0)t=this.a.am(e)+"{"+this.c+","+this.b+"}?";else{if(!(this.c>=0&&this.b<0))throw Jm(new sy("Token#toString(): NONGREEDYCLOSURE "+this.c+jxe+this.b));t=this.a.am(e)+"{"+this.c+",}?"}return t},_xe.b=0,_xe.c=0;eB(GNe,"RegEx/Token/ClosureToken",307);Kce(800,117,ije,_z),_xe.Xl=function(e){return 0==e?this.a:this.b},_xe._l=function(){return 2},_xe.am=function(e){return 3==this.b.e&&this.b.Xl(0)==this.a?this.a.am(e)+"+":9==this.b.e&&this.b.Xl(0)==this.a?this.a.am(e)+"+?":this.a.am(e)+""+this.b.am(e)};eB(GNe,"RegEx/Token/ConcatToken",800);Kce(1794,117,ije,gQ),_xe.Xl=function(e){if(0==e)return this.d;if(1==e)return this.b;throw Jm(new sy("Internal Error: "+e))},_xe._l=function(){return this.b?2:1},_xe.am=function(e){var t;return t=this.c>0?"(?("+this.c+")":8==this.a.e?"(?("+this.a+")":"(?"+this.a,this.b?t+=this.d+"|"+this.b+")":t+=this.d+")",t},_xe.c=0;eB(GNe,"RegEx/Token/ConditionToken",1794);Kce(1795,117,ije,uW),_xe.Xl=function(e){return this.b},_xe._l=function(){return 1},_xe.am=function(e){return"(?"+(0==this.a?"":ide(this.a))+(0==this.c?"":ide(this.c))+":"+this.b.am(e)+")"},_xe.a=0,_xe.c=0;eB(GNe,"RegEx/Token/ModifierToken",1795);Kce(801,117,ije,PB),_xe.Xl=function(e){return this.a},_xe._l=function(){return 1},_xe.am=function(e){var t;switch(t=null,this.e){case 6:t=0==this.b?"(?:"+this.a.am(e)+")":"("+this.a.am(e)+")";break;case 20:t="(?="+this.a.am(e)+")";break;case 21:t="(?!"+this.a.am(e)+")";break;case 22:t="(?<="+this.a.am(e)+")";break;case 23:t="(?<!"+this.a.am(e)+")";break;case 24:t="(?>"+this.a.am(e)+")"}return t},_xe.b=0;eB(GNe,"RegEx/Token/ParenToken",801);Kce(514,117,{3:1,117:1,514:1},mH),_xe.Yl=function(){return this.b},_xe.am=function(e){return 12==this.e?"\\"+this.a:function(e){var t,n,r,i;for(i=e.length,t=null,r=0;r<i;r++)TG(r,e.length),SM(".*+?{[()|\\^$",bae(n=e.charCodeAt(r)))>=0?(t||(t=new dw,r>0&&HI(t,e.substr(0,r))),t.a+="\\",rB(t,n&X_e)):t&&rB(t,n&X_e);return t?t.a:e}(this.b)},_xe.a=0;eB(GNe,"RegEx/Token/StringToken",514);Kce(459,117,ije,ST),_xe.Vl=function(e){Ive(this,e)},_xe.Xl=function(e){return LL(zB(this.a,e),117)},_xe._l=function(){return this.a?this.a.a.c.length:0},_xe.am=function(e){var t,n,r,i,o;if(1==this.e){if(2==this.a.a.c.length)t=LL(zB(this.a,0),117),i=3==(n=LL(zB(this.a,1),117)).e&&n.Xl(0)==t?t.am(e)+"+":9==n.e&&n.Xl(0)==t?t.am(e)+"+?":t.am(e)+""+n.am(e);else{for(o=new hw,r=0;r<this.a.a.c.length;r++)HI(o,LL(zB(this.a,r),117).am(e));i=o.a}return i}if(2==this.a.a.c.length&&7==LL(zB(this.a,1),117).e)i=LL(zB(this.a,0),117).am(e)+"?";else if(2==this.a.a.c.length&&7==LL(zB(this.a,0),117).e)i=LL(zB(this.a,1),117).am(e)+"??";else{for(HI(o=new hw,LL(zB(this.a,0),117).am(e)),r=1;r<this.a.a.c.length;r++)o.a+="|",HI(o,LL(zB(this.a,r),117).am(e));i=o.a}return i};eB(GNe,"RegEx/Token/UnionToken",459);Kce(511,1,{583:1},Jx),_xe.Ib=function(){return this.a.b};var Zot;eB(oje,"XMLTypeUtil/PatternMatcherImpl",511);Kce(1592,1352,{},Oc);var Qot;eB(oje,"XMLTypeValidator",1592);Kce(264,1,g_e,iF),_xe.Hc=function(e){yX(this,e)},_xe.Ic=function(){return(this.b-this.a)*this.c<0?Qot:new kA(this)},_xe.a=0,_xe.b=0,_xe.c=0;eB(sje,"ExclusiveRange",264);Kce(1052,1,n_e,Dc),_xe.Rb=function(e){LL(e,20),function(){throw Jm(new By(lje))}()},_xe.Nb=function(e){GF(this,e)},_xe.Pb=function(){return function(){throw Jm(new bb)}()},_xe.Ub=function(){return function(){throw Jm(new bb)}()},_xe.Wb=function(e){LL(e,20),function(){throw Jm(new By(uje))}()},_xe.Ob=function(){return!1},_xe.Sb=function(){return!1},_xe.Tb=function(){return-1},_xe.Vb=function(){return-1},_xe.Qb=function(){throw Jm(new By(cje))};eB(sje,"ExclusiveRange/1",1052);Kce(253,1,n_e,kA),_xe.Rb=function(e){LL(e,20),function(){throw Jm(new By(lje))}()},_xe.Nb=function(e){GF(this,e)},_xe.Pb=function(){return function(e){var t;if(!(e.c.c<0?e.a>=e.c.b:e.a<=e.c.b))throw Jm(new bb);return t=e.a,e.a+=e.c.c,++e.b,k8(t)}(this)},_xe.Ub=function(){return function(e){if(e.b<=0)throw Jm(new bb);return--e.b,e.a-=e.c.c,k8(e.a)}(this)},_xe.Wb=function(e){LL(e,20),function(){throw Jm(new By(uje))}()},_xe.Ob=function(){return this.c.c<0?this.a>=this.c.b:this.a<=this.c.b},_xe.Sb=function(){return this.b>0},_xe.Tb=function(){return this.b},_xe.Vb=function(){return this.b-1},_xe.Qb=function(){throw Jm(new By(cje))},_xe.a=0,_xe.b=0;eB(sje,"ExclusiveRange/RangeIterator",253);var Jot,eat,tat=lV(fLe,"C"),nat=lV(pLe,"I"),rat=lV(Txe,"Z"),iat=lV(gLe,"J"),oat=lV(cLe,"B"),aat=lV(hLe,"D"),sat=lV(dLe,"F"),lat=lV(mLe,"S"),uat=NN("org.eclipse.elk.core.labels","ILabelManager"),cat=NN(CDe,"DiagnosticChain"),fat=NN(YLe,"ResourceSet"),hat=eB(CDe,"InvocationTargetException",null),dat=(Nw(),function(e){return Nw(),function(){return iU(e,this,arguments)}}),pat=pat=function(e,t,n,r){M_();var i=kxe;function o(){for(var e=0;e<i.length;e++)i[e]()}if(t,n,r,e)try{dat(o)()}catch(n){e(t,n)}else dat(o)()};!function(){M_();for(var e=kxe,t=0;t<arguments.length;t++)e.push(arguments[t])}((function(){Mx(),function(){function n(e){var t=this;this.dispatch=function(t){var n=t.data;switch(n.cmd){case"algorithms":var r=c7((v$(),new Qh(new Wh(Nnt.b))));e.postMessage({id:n.id,data:r});break;case"categories":var i=c7((v$(),new Qh(new Wh(Nnt.c))));e.postMessage({id:n.id,data:i});break;case"options":var o=c7((v$(),new Qh(new Wh(Nnt.d))));e.postMessage({id:n.id,data:o});break;case"register":!function(e){var t,n,r;for(_4(Nnt,q3(lw(dBe,1),zxe,130,0,[new Ef])),n=new sh(e),r=0;r<n.a.length;++r)fR(t=uQ(n,r).je().a,"layered")?_4(Nnt,q3(lw(dBe,1),zxe,130,0,[new Jc])):fR(t,"force")?_4(Nnt,q3(lw(dBe,1),zxe,130,0,[new Fc])):fR(t,"stress")?_4(Nnt,q3(lw(dBe,1),zxe,130,0,[new Bc])):fR(t,"mrtree")?_4(Nnt,q3(lw(dBe,1),zxe,130,0,[new mf])):fR(t,"radial")?_4(Nnt,q3(lw(dBe,1),zxe,130,0,[new wf])):fR(t,"disco")?_4(Nnt,q3(lw(dBe,1),zxe,130,0,[new Lc,new Nc])):fR(t,"sporeOverlap")||fR(t,"sporeCompaction")?_4(Nnt,q3(lw(dBe,1),zxe,130,0,[new Sf])):fR(t,"rectpacking")&&_4(Nnt,q3(lw(dBe,1),zxe,130,0,[new hf]))}(n.algorithms),e.postMessage({id:n.id});break;case"layout":!function(e,t,n){var r,i,o,a,s,l,u,c,f,h,d;o=new ch(e),hX((a=new uie).g),hX(a.j),JF(a.b),hX(a.d),hX(a.i),JF(a.k),JF(a.c),JF(a.e),d=Oue(a,o,null),Ffe(a,o),i=d,t&&(s=function(e){var t,n,r,i,o,a,s;for(function(e,t){RL(e.c,t)}(o=new kW,(f5(),k6e)),i=l1(e,fK(CFe,s_e,2,0,6,1)),r=new Nh(new Vy(new j_(e,i).b));r.b<r.d.gc();)EP(r.b<r.d.gc()),n=HO(r.d.Xb(r.c=r.b++)),(a=uye(Nnt,n))&&null!=(s=Kve(a,(t=xH(e,n)).je()?t.je().a:t.ge()?""+t.ge().a:t.he()?""+t.he().a:t.Ib()))&&((aP(a.j,(dte(),N6e))||aP(a.j,j6e))&&k5(BQ(o,cnt),a,s),aP(a.j,R6e)&&k5(BQ(o,rnt),a,s),aP(a.j,F6e)&&k5(BQ(o,fnt),a,s),aP(a.j,L6e)&&k5(BQ(o,unt),a,s));return o}(u=new ch(t)),Sse(i,q3(lw(E6e,1),zxe,520,0,[s])));h=!1,f=!1,n&&(u=new ch(n),YDe in u.a&&(h=xH(u,YDe).ge().a),KDe in u.a&&(f=xH(u,KDe).ge().a));c=ax(HJ(new qv,h),f),function(e,t,n){var r;r=Xde(e,t,!0),qoe(n,"Recursive Graph Layout",r),Sse(t,q3(lw(E6e,1),zxe,520,0,[new Cf])),hK(t,(fxe(),G9e))||Sse(t,q3(lw(E6e,1),zxe,520,0,[new ds])),Lwe(e,t,null,n),_se(n)}(new as,i,c),YDe in o.a&&pQ(o,YDe,null),(h||f)&&(obe(c,l=new uy,h,f),pQ(o,YDe,l));r=new rm(a),function(e,t){for(;null!=e.g||e.c?null==e.g||0!=e.i&&LL(e.g[e.i-1],49).Ob():QH(e);)bI(t,nhe(e))}(new KM(i),r)}(n.graph,n.layoutOptions||{},n.options||{}),e.postMessage({id:n.id,data:n.graph})}},this.saveDispatch=function(n){try{t.dispatch(n)}catch(t){e.postMessage({id:n.data.id,error:t})}}}function r(e){var t=this;this.dispatcher=new n({postMessage:function(e){t.onmessage({data:e})}}),this.postMessage=function(e){setTimeout((function(){t.dispatcher.saveDispatch({data:e})}),0)}}if(Mx(),typeof document===dke&&typeof self!==dke){var i=new n(self);self.onmessage=i.saveDispatch}else"object"!==dke&&e.exports&&(Object.defineProperty(t,"__esModule",{value:!0}),e.exports={default:r,Worker:r})}()})),Jot="permProps",eat=[[[fje,hje],[dje,"gecko1_8"]],[[fje,hje],[dje,"ie10"]],[[fje,hje],[dje,"ie8"]],[[fje,hje],[dje,"ie9"]],[[fje,hje],[dje,"safari"]]],typeof window===Mxe&&typeof window.$gwt===Mxe&&(window.$gwt[Jot]=eat),pat(null,"elk",null)},9845:(e,t,n)=>{"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var o=function(e){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};r(this,t);var o=Object.assign({},e),a=!1;try{a=!0}catch(e){}if(e.workerUrl)if(a){var s=n(1723);o.workerFactory=function(e){return new s(e)}}else console.warn("Web worker requested but 'web-worker' package not installed. \nConsider installing the package or pass your own 'workerFactory' to ELK's constructor.\n... Falling back to non-web worker version.");if(!o.workerFactory){var l=n(5877),u=l.Worker;o.workerFactory=function(e){return new u(e)}}return i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,o))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t}(n(2905).default);Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports=o,o.default=o},2849:e=>{"use strict";var t=Object.prototype.hasOwnProperty,n=Object.prototype.toString,r=Object.defineProperty,i=Object.getOwnPropertyDescriptor,o=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===n.call(e)},a=function(e){if(!e||"[object Object]"!==n.call(e))return!1;var r,i=t.call(e,"constructor"),o=e.constructor&&e.constructor.prototype&&t.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!i&&!o)return!1;for(r in e);return void 0===r||t.call(e,r)},s=function(e,t){r&&"__proto__"===t.name?r(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},l=function(e,n){if("__proto__"===n){if(!t.call(e,n))return;if(i)return i(e,n).value}return e[n]};e.exports=function e(){var t,n,r,i,u,c,f=arguments[0],h=1,d=arguments.length,p=!1;for("boolean"==typeof f&&(p=f,f=arguments[1]||{},h=2),(null==f||"object"!=typeof f&&"function"!=typeof f)&&(f={});h<d;++h)if(null!=(t=arguments[h]))for(n in t)r=l(f,n),f!==(i=l(t,n))&&(p&&i&&(a(i)||(u=o(i)))?(u?(u=!1,c=r&&o(r)?r:[]):c=r&&a(r)?r:{},s(f,{name:n,newValue:e(p,c,i)})):void 0!==i&&s(f,{name:n,newValue:i}));return f}},80:e=>{"use strict";e.exports=function(e,n){var r,i,o,a=e||"",s=n||"div",l={},u=0;for(;u<a.length;)t.lastIndex=u,o=t.exec(a),(r=a.slice(u,o?o.index:a.length))&&(i?"#"===i?l.id=r:l.className?l.className.push(r):l.className=[r]:s=r,u+=r.length),o&&(i=o[0],u++);return{type:"element",tagName:s,properties:l,children:[]}};var t=/[#.]/g},5704:(e,t,n)=>{"use strict";var r=n(3405),i=n(1179),o=n(80),a=n(323).q,s=n(3672).q;e.exports=function(e,t,n){var i=n?function(e){var t,n=e.length,r=-1,i={};for(;++r<n;)i[(t=e[r]).toLowerCase()]=t;return i}(n):null;return function(e,n){var r,a=o(e,t),s=Array.prototype.slice.call(arguments,2),f=a.tagName.toLowerCase();a.tagName=i&&l.call(i,f)?i[f]:f,n&&u(n,a)&&(s.unshift(n),n=null);if(n)for(r in n)h(a.properties,r,n[r]);c(a.children,s),"template"===a.tagName&&(a.content={type:"root",children:a.children},a.children=[]);return a};function h(t,n,i){var o,l,u;null!=i&&i==i&&(l=(o=r(e,n)).property,"string"==typeof(u=i)&&(o.spaceSeparated?u=a(u):o.commaSeparated?u=s(u):o.commaOrSpaceSeparated&&(u=a(s(u).join(" ")))),"style"===l&&"string"!=typeof i&&(u=function(e){var t,n=[];for(t in e)n.push([t,e[t]].join(": "));return n.join("; ")}(u)),"className"===l&&t.className&&(u=t.className.concat(u)),t[l]=function(e,t,n){var r,i,o;if("object"!=typeof n||!("length"in n))return f(e,t,n);i=n.length,r=-1,o=[];for(;++r<i;)o[r]=f(e,t,n[r]);return o}(o,l,u))}};var l={}.hasOwnProperty;function u(e,t){return"string"==typeof e||"length"in e||function(e,t){var n=t.type;if("input"===e||!n||"string"!=typeof n)return!1;if("object"==typeof t.children&&"length"in t.children)return!0;if(n=n.toLowerCase(),"button"===e)return"menu"!==n&&"submit"!==n&&"reset"!==n&&"button"!==n;return"value"in t}(t.tagName,e)}function c(e,t){var n,r;if("string"!=typeof t&&"number"!=typeof t)if("object"==typeof t&&"length"in t)for(n=-1,r=t.length;++n<r;)c(e,t[n]);else{if("object"!=typeof t||!("type"in t))throw new Error("Expected node, nodes, or string, got `"+t+"`");e.push(t)}else e.push({type:"text",value:String(t)})}function f(e,t,n){var r=n;return e.number||e.positiveNumber?isNaN(r)||""===r||(r=Number(r)):(e.boolean||e.overloadedBoolean)&&("string"!=typeof r||""!==r&&i(n)!==i(t)||(r=!0)),r}},3605:(e,t,n)=>{"use strict";var r=n(8095),i=n(5704)(r,"div");i.displayName="html",e.exports=i},702:(e,t,n)=>{"use strict";e.exports=n(3605)},3672:(e,t)=>{"use strict";t.q=function(e){var t,n=[],r=String(e||""),i=r.indexOf(","),o=0,a=!1;for(;!a;)-1===i&&(i=r.length,a=!0),!(t=r.slice(o,i).trim())&&a||n.push(t),o=i+1,i=r.indexOf(",",o);return n}},3405:(e,t,n)=>{"use strict";var r=n(1179),i=n(5505),o=n(6001),a="data";e.exports=function(e,t){var n=r(t),h=t,d=o;if(n in e.normal)return e.property[e.normal[n]];n.length>4&&n.slice(0,4)===a&&s.test(t)&&("-"===t.charAt(4)?h=function(e){var t=e.slice(5).replace(l,f);return a+t.charAt(0).toUpperCase()+t.slice(1)}(t):t=function(e){var t=e.slice(4);if(l.test(t))return e;"-"!==(t=t.replace(u,c)).charAt(0)&&(t="-"+t);return a+t}(t),d=i);return new d(h,t)};var s=/^data[-\w.:]+$/i,l=/-[a-z]/g,u=/[A-Z]/g;function c(e){return"-"+e.toLowerCase()}function f(e){return e.charAt(1).toUpperCase()}},8095:(e,t,n)=>{"use strict";var r=n(465),i=n(1380),o=n(7109),a=n(2558),s=n(7355),l=n(3635);e.exports=r([o,i,a,s,l])},7355:(e,t,n)=>{"use strict";var r=n(3388),i=n(7333),o=r.booleanish,a=r.number,s=r.spaceSeparated;e.exports=i({transform:function(e,t){return"role"===t?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:o,ariaAutoComplete:null,ariaBusy:o,ariaChecked:o,ariaColCount:a,ariaColIndex:a,ariaColSpan:a,ariaControls:s,ariaCurrent:null,ariaDescribedBy:s,ariaDetails:null,ariaDisabled:o,ariaDropEffect:s,ariaErrorMessage:null,ariaExpanded:o,ariaFlowTo:s,ariaGrabbed:o,ariaHasPopup:null,ariaHidden:o,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:s,ariaLevel:a,ariaLive:null,ariaModal:o,ariaMultiLine:o,ariaMultiSelectable:o,ariaOrientation:null,ariaOwns:s,ariaPlaceholder:null,ariaPosInSet:a,ariaPressed:o,ariaReadOnly:o,ariaRelevant:null,ariaRequired:o,ariaRoleDescription:s,ariaRowCount:a,ariaRowIndex:a,ariaRowSpan:a,ariaSelected:o,ariaSetSize:a,ariaSort:null,ariaValueMax:a,ariaValueMin:a,ariaValueNow:a,ariaValueText:null,role:null}})},3635:(e,t,n)=>{"use strict";var r=n(3388),i=n(7333),o=n(3152),a=r.boolean,s=r.overloadedBoolean,l=r.booleanish,u=r.number,c=r.spaceSeparated,f=r.commaSeparated;e.exports=i({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:o,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:f,acceptCharset:c,accessKey:c,action:null,allow:null,allowFullScreen:a,allowPaymentRequest:a,allowUserMedia:a,alt:null,as:null,async:a,autoCapitalize:null,autoComplete:c,autoFocus:a,autoPlay:a,capture:a,charSet:null,checked:a,cite:null,className:c,cols:u,colSpan:null,content:null,contentEditable:l,controls:a,controlsList:c,coords:u|f,crossOrigin:null,data:null,dateTime:null,decoding:null,default:a,defer:a,dir:null,dirName:null,disabled:a,download:s,draggable:l,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:a,formTarget:null,headers:c,height:u,hidden:a,high:u,href:null,hrefLang:null,htmlFor:c,httpEquiv:c,id:null,imageSizes:null,imageSrcSet:f,inputMode:null,integrity:null,is:null,isMap:a,itemId:null,itemProp:c,itemRef:c,itemScope:a,itemType:c,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:a,low:u,manifest:null,max:null,maxLength:u,media:null,method:null,min:null,minLength:u,multiple:a,muted:a,name:null,nonce:null,noModule:a,noValidate:a,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforePrint:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextMenu:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:a,optimum:u,pattern:null,ping:c,placeholder:null,playsInline:a,poster:null,preload:null,readOnly:a,referrerPolicy:null,rel:c,required:a,reversed:a,rows:u,rowSpan:u,sandbox:c,scope:null,scoped:a,seamless:a,selected:a,shape:null,size:u,sizes:null,slot:null,span:u,spellCheck:l,src:null,srcDoc:null,srcLang:null,srcSet:f,start:u,step:null,style:null,tabIndex:u,target:null,title:null,translate:null,type:null,typeMustMatch:a,useMap:null,value:l,width:u,wrap:null,align:null,aLink:null,archive:c,axis:null,background:null,bgColor:null,border:u,borderColor:null,bottomMargin:u,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:a,declare:a,event:null,face:null,frame:null,frameBorder:null,hSpace:u,leftMargin:u,link:null,longDesc:null,lowSrc:null,marginHeight:u,marginWidth:u,noResize:a,noHref:a,noShade:a,noWrap:a,object:null,profile:null,prompt:null,rev:null,rightMargin:u,rules:null,scheme:null,scrolling:l,standby:null,summary:null,text:null,topMargin:u,valueType:null,version:null,vAlign:null,vLink:null,vSpace:u,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:a,disableRemotePlayback:a,prefix:null,property:null,results:u,security:null,unselectable:null}})},3152:(e,t,n)=>{"use strict";var r=n(9817);e.exports=function(e,t){return r(e,t.toLowerCase())}},9817:e=>{"use strict";e.exports=function(e,t){return t in e?e[t]:t}},7333:(e,t,n)=>{"use strict";var r=n(1179),i=n(3378),o=n(5505);e.exports=function(e){var t,n,a=e.space,s=e.mustUseProperty||[],l=e.attributes||{},u=e.properties,c=e.transform,f={},h={};for(t in u)n=new o(t,c(l,t),u[t],a),-1!==s.indexOf(t)&&(n.mustUseProperty=!0),f[t]=n,h[r(t)]=t,h[r(n.attribute)]=t;return new i(f,h,a)}},5505:(e,t,n)=>{"use strict";var r=n(6001),i=n(3388);e.exports=s,s.prototype=new r,s.prototype.defined=!0;var o=["boolean","booleanish","overloadedBoolean","number","commaSeparated","spaceSeparated","commaOrSpaceSeparated"],a=o.length;function s(e,t,n,s){var u,c=-1;for(l(this,"space",s),r.call(this,e,t);++c<a;)l(this,u=o[c],(n&i[u])===i[u])}function l(e,t,n){n&&(e[t]=n)}},6001:e=>{"use strict";e.exports=n;var t=n.prototype;function n(e,t){this.property=e,this.attribute=t}t.space=null,t.attribute=null,t.property=null,t.boolean=!1,t.booleanish=!1,t.overloadedBoolean=!1,t.number=!1,t.commaSeparated=!1,t.spaceSeparated=!1,t.commaOrSpaceSeparated=!1,t.mustUseProperty=!1,t.defined=!1},465:(e,t,n)=>{"use strict";var r=n(7510),i=n(3378);e.exports=function(e){var t,n,o=e.length,a=[],s=[],l=-1;for(;++l<o;)t=e[l],a.push(t.property),s.push(t.normal),n=t.space;return new i(r.apply(null,a),r.apply(null,s),n)}},3378:e=>{"use strict";e.exports=n;var t=n.prototype;function n(e,t,n){this.property=e,this.normal=t,n&&(this.space=n)}t.space=null,t.normal={},t.property={}},3388:(e,t)=>{"use strict";var n=0;function r(){return Math.pow(2,++n)}t.boolean=r(),t.booleanish=r(),t.overloadedBoolean=r(),t.number=r(),t.spaceSeparated=r(),t.commaSeparated=r(),t.commaOrSpaceSeparated=r()},1380:(e,t,n)=>{"use strict";var r=n(7333);e.exports=r({space:"xlink",transform:function(e,t){return"xlink:"+t.slice(5).toLowerCase()},properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}})},7109:(e,t,n)=>{"use strict";var r=n(7333);e.exports=r({space:"xml",transform:function(e,t){return"xml:"+t.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}})},2558:(e,t,n)=>{"use strict";var r=n(7333),i=n(3152);e.exports=r({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:i,properties:{xmlns:null,xmlnsXLink:null}})},1179:e=>{"use strict";e.exports=function(e){return e.toLowerCase()}},323:(e,t)=>{"use strict";t.q=function(e){var t=String(e||"").trim();return""===t?[]:t.split(n)};var n=/[ \t\n\r\f]+/g},4146:(e,t,n)=>{"use strict";var r=n(4363),i={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return r.isMemo(e)?a:s[e.$$typeof]||i}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=a;var u=Object.defineProperty,c=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,h=Object.getOwnPropertyDescriptor,d=Object.getPrototypeOf,p=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(p){var i=d(n);i&&i!==p&&e(t,i,r)}var a=c(n);f&&(a=a.concat(f(n)));for(var s=l(t),g=l(n),m=0;m<a.length;++m){var b=a[m];if(!(o[b]||r&&r[b]||g&&g[b]||s&&s[b])){var v=h(n,b);try{u(t,b,v)}catch(e){}}}}return t}},9788:e=>{var t=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,n=/\n/g,r=/^\s*/,i=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,o=/^:\s*/,a=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,s=/^[;\s]*/,l=/^\s+|\s+$/g,u="";function c(e){return e?e.replace(l,u):u}e.exports=function(e,l){if("string"!=typeof e)throw new TypeError("First argument must be a string");if(!e)return[];l=l||{};var f=1,h=1;function d(e){var t=e.match(n);t&&(f+=t.length);var r=e.lastIndexOf("\n");h=~r?e.length-r:h+e.length}function p(){var e={line:f,column:h};return function(t){return t.position=new g(e),y(),t}}function g(e){this.start=e,this.end={line:f,column:h},this.source=l.source}g.prototype.content=e;var m=[];function b(t){var n=new Error(l.source+":"+f+":"+h+": "+t);if(n.reason=t,n.filename=l.source,n.line=f,n.column=h,n.source=e,!l.silent)throw n;m.push(n)}function v(t){var n=t.exec(e);if(n){var r=n[0];return d(r),e=e.slice(r.length),n}}function y(){v(r)}function w(e){var t;for(e=e||[];t=x();)!1!==t&&e.push(t);return e}function x(){var t=p();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var n=2;u!=e.charAt(n)&&("*"!=e.charAt(n)||"/"!=e.charAt(n+1));)++n;if(n+=2,u===e.charAt(n-1))return b("End of comment missing");var r=e.slice(2,n-2);return h+=2,d(r),e=e.slice(n),h+=2,t({type:"comment",comment:r})}}function _(){var e=p(),n=v(i);if(n){if(x(),!v(o))return b("property missing ':'");var r=v(a),l=e({type:"declaration",property:c(n[0].replace(t,u)),value:r?c(r[0].replace(t,u)):u});return v(s),l}}return y(),function(){var e,t=[];for(w(t);e=_();)!1!==e&&(t.push(e),w(t));return t}()}},8534:e=>{"use strict";e.exports=function(e){var t="string"==typeof e?e.charCodeAt(0):e;return t>=97&&t<=122||t>=65&&t<=90}},4934:(e,t,n)=>{"use strict";var r=n(8534),i=n(2899);e.exports=function(e){return r(e)||i(e)}},6195:e=>{e.exports=function(e){return!(!e||"string"==typeof e)&&(e instanceof Array||Array.isArray(e)||e.length>=0&&(e.splice instanceof Function||Object.getOwnPropertyDescriptor(e,e.length-1)&&"String"!==e.constructor.name))}},7206:e=>{e.exports=function(e){return null!=e&&null!=e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}},2899:e=>{"use strict";e.exports=function(e){var t="string"==typeof e?e.charCodeAt(0):e;return t>=48&&t<=57}},1711:e=>{"use strict";e.exports=function(e){var t="string"==typeof e?e.charCodeAt(0):e;return t>=97&&t<=102||t>=65&&t<=70||t>=48&&t<=57}},1370:(e,t,n)=>{!function(){"use strict";var t=n(3056).typeOf,r=n(8152);e.exports.stringify=function(e){var n,i="";return r((n={undefined:function(){return"null"},null:function(){return"null"},number:function(e){return e},boolean:function(e){return e?"true":"false"},string:function(e){return JSON.stringify(e)},array:function(e){var r="";return 0===e.length?r+="[]":(i=i.replace(/$/," "),e.forEach((function(e,o){var a=n[t(e)];if(!a)throw new Error("what the crap: "+t(e));r+="\n"+i+"- "+a(e,!0)})),i=i.replace(/ /,""),r)},object:function(e,r,o){var a="";return 0===Object.keys(e).length?a+="{}":(o||(i=i.replace(/$/," ")),Object.keys(e).forEach((function(o,s){var l=e[o],u=n[t(l)];if(void 0!==l){if(!u)throw new Error("what the crap: "+t(l));r&&0===s||(a+="\n"+i),a+=o+": "+u(l)}})),i=i.replace(/ /,""),a)},function:function(){return"[object Function]"}})[t(e)](e,!0,!0)+"\n")}}()},8394:(e,t,n)=>{e=n.nmd(e);var r="__lodash_hash_undefined__",i=9007199254740991,o="[object Arguments]",a="[object Function]",s="[object Object]",l=/^\[object .+?Constructor\]$/,u=/^(?:0|[1-9]\d*)$/,c={};c["[object Float32Array]"]=c["[object Float64Array]"]=c["[object Int8Array]"]=c["[object Int16Array]"]=c["[object Int32Array]"]=c["[object Uint8Array]"]=c["[object Uint8ClampedArray]"]=c["[object Uint16Array]"]=c["[object Uint32Array]"]=!0,c[o]=c["[object Array]"]=c["[object ArrayBuffer]"]=c["[object Boolean]"]=c["[object DataView]"]=c["[object Date]"]=c["[object Error]"]=c[a]=c["[object Map]"]=c["[object Number]"]=c[s]=c["[object RegExp]"]=c["[object Set]"]=c["[object String]"]=c["[object WeakMap]"]=!1;var f="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,h="object"==typeof self&&self&&self.Object===Object&&self,d=f||h||Function("return this")(),p=t&&!t.nodeType&&t,g=p&&e&&!e.nodeType&&e,m=g&&g.exports===p,b=m&&f.process,v=function(){try{var e=g&&g.require&&g.require("util").types;return e||b&&b.binding&&b.binding("util")}catch(e){}}(),y=v&&v.isTypedArray;function w(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}var x,_,S,k=Array.prototype,C=Function.prototype,E=Object.prototype,I=d["__core-js_shared__"],M=C.toString,T=E.hasOwnProperty,A=(x=/[^.]+$/.exec(I&&I.keys&&I.keys.IE_PROTO||""))?"Symbol(src)_1."+x:"",P=E.toString,O=M.call(Object),D=RegExp("^"+M.call(T).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),R=m?d.Buffer:void 0,L=d.Symbol,N=d.Uint8Array,j=R?R.allocUnsafe:void 0,F=(_=Object.getPrototypeOf,S=Object,function(e){return _(S(e))}),z=Object.create,B=E.propertyIsEnumerable,V=k.splice,$=L?L.toStringTag:void 0,H=function(){try{var e=ge(Object,"defineProperty");return e({},"",{}),e}catch(e){}}(),G=R?R.isBuffer:void 0,W=Math.max,U=Date.now,q=ge(d,"Map"),X=ge(Object,"create"),Y=function(){function e(){}return function(t){if(!Ie(t))return{};if(z)return z(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();function K(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Z(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Q(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function J(e){var t=this.__data__=new Z(e);this.size=t.size}function ee(e,t){var n=_e(e),r=!n&&xe(e),i=!n&&!r&&ke(e),o=!n&&!r&&!i&&Te(e),a=n||r||i||o,s=a?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],l=s.length;for(var u in e)!t&&!T.call(e,u)||a&&("length"==u||i&&("offset"==u||"parent"==u)||o&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||me(u,l))||s.push(u);return s}function te(e,t,n){(void 0!==n&&!we(e[t],n)||void 0===n&&!(t in e))&&ie(e,t,n)}function ne(e,t,n){var r=e[t];T.call(e,t)&&we(r,n)&&(void 0!==n||t in e)||ie(e,t,n)}function re(e,t){for(var n=e.length;n--;)if(we(e[n][0],t))return n;return-1}function ie(e,t,n){"__proto__"==t&&H?H(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}K.prototype.clear=function(){this.__data__=X?X(null):{},this.size=0},K.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},K.prototype.get=function(e){var t=this.__data__;if(X){var n=t[e];return n===r?void 0:n}return T.call(t,e)?t[e]:void 0},K.prototype.has=function(e){var t=this.__data__;return X?void 0!==t[e]:T.call(t,e)},K.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=X&&void 0===t?r:t,this},Z.prototype.clear=function(){this.__data__=[],this.size=0},Z.prototype.delete=function(e){var t=this.__data__,n=re(t,e);return!(n<0)&&(n==t.length-1?t.pop():V.call(t,n,1),--this.size,!0)},Z.prototype.get=function(e){var t=this.__data__,n=re(t,e);return n<0?void 0:t[n][1]},Z.prototype.has=function(e){return re(this.__data__,e)>-1},Z.prototype.set=function(e,t){var n=this.__data__,r=re(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},Q.prototype.clear=function(){this.size=0,this.__data__={hash:new K,map:new(q||Z),string:new K}},Q.prototype.delete=function(e){var t=pe(this,e).delete(e);return this.size-=t?1:0,t},Q.prototype.get=function(e){return pe(this,e).get(e)},Q.prototype.has=function(e){return pe(this,e).has(e)},Q.prototype.set=function(e,t){var n=pe(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},J.prototype.clear=function(){this.__data__=new Z,this.size=0},J.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},J.prototype.get=function(e){return this.__data__.get(e)},J.prototype.has=function(e){return this.__data__.has(e)},J.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Z){var r=n.__data__;if(!q||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Q(r)}return n.set(e,t),this.size=n.size,this};var oe,ae=function(e,t,n){for(var r=-1,i=Object(e),o=n(e),a=o.length;a--;){var s=o[oe?a:++r];if(!1===t(i[s],s,i))break}return e};function se(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":$&&$ in Object(e)?function(e){var t=T.call(e,$),n=e[$];try{e[$]=void 0;var r=!0}catch(e){}var i=P.call(e);r&&(t?e[$]=n:delete e[$]);return i}(e):function(e){return P.call(e)}(e)}function le(e){return Me(e)&&se(e)==o}function ue(e){return!(!Ie(e)||function(e){return!!A&&A in e}(e))&&(Ce(e)?D:l).test(function(e){if(null!=e){try{return M.call(e)}catch(e){}try{return e+""}catch(e){}}return""}(e))}function ce(e){if(!Ie(e))return function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}(e);var t=be(e),n=[];for(var r in e)("constructor"!=r||!t&&T.call(e,r))&&n.push(r);return n}function fe(e,t,n,r,i){e!==t&&ae(t,(function(o,a){if(i||(i=new J),Ie(o))!function(e,t,n,r,i,o,a){var l=ve(e,n),u=ve(t,n),c=a.get(u);if(c)return void te(e,n,c);var f=o?o(l,u,n+"",e,t,a):void 0,h=void 0===f;if(h){var d=_e(u),p=!d&&ke(u),g=!d&&!p&&Te(u);f=u,d||p||g?_e(l)?f=l:Me(w=l)&&Se(w)?f=function(e,t){var n=-1,r=e.length;t||(t=Array(r));for(;++n<r;)t[n]=e[n];return t}(l):p?(h=!1,f=function(e,t){if(t)return e.slice();var n=e.length,r=j?j(n):new e.constructor(n);return e.copy(r),r}(u,!0)):g?(h=!1,m=u,b=!0?(v=m.buffer,y=new v.constructor(v.byteLength),new N(y).set(new N(v)),y):m.buffer,f=new m.constructor(b,m.byteOffset,m.length)):f=[]:function(e){if(!Me(e)||se(e)!=s)return!1;var t=F(e);if(null===t)return!0;var n=T.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&M.call(n)==O}(u)||xe(u)?(f=l,xe(l)?f=function(e){return function(e,t,n,r){var i=!n;n||(n={});var o=-1,a=t.length;for(;++o<a;){var s=t[o],l=r?r(n[s],e[s],s,n,e):void 0;void 0===l&&(l=e[s]),i?ie(n,s,l):ne(n,s,l)}return n}(e,Ae(e))}(l):Ie(l)&&!Ce(l)||(f=function(e){return"function"!=typeof e.constructor||be(e)?{}:Y(F(e))}(u))):h=!1}var m,b,v,y;var w;h&&(a.set(u,f),i(f,u,r,o,a),a.delete(u));te(e,n,f)}(e,t,a,n,fe,r,i);else{var l=r?r(ve(e,a),o,a+"",e,t,i):void 0;void 0===l&&(l=o),te(e,a,l)}}),Ae)}function he(e,t){return ye(function(e,t,n){return t=W(void 0===t?e.length-1:t,0),function(){for(var r=arguments,i=-1,o=W(r.length-t,0),a=Array(o);++i<o;)a[i]=r[t+i];i=-1;for(var s=Array(t+1);++i<t;)s[i]=r[i];return s[t]=n(a),w(e,this,s)}}(e,t,De),e+"")}var de=H?function(e,t){return H(e,"toString",{configurable:!0,enumerable:!1,value:(n=t,function(){return n}),writable:!0});var n}:De;function pe(e,t){var n,r,i=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?i["string"==typeof t?"string":"hash"]:i.map}function ge(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return ue(n)?n:void 0}function me(e,t){var n=typeof e;return!!(t=null==t?i:t)&&("number"==n||"symbol"!=n&&u.test(e))&&e>-1&&e%1==0&&e<t}function be(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||E)}function ve(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var ye=function(e){var t=0,n=0;return function(){var r=U(),i=16-(r-n);if(n=r,i>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}(de);function we(e,t){return e===t||e!=e&&t!=t}var xe=le(function(){return arguments}())?le:function(e){return Me(e)&&T.call(e,"callee")&&!B.call(e,"callee")},_e=Array.isArray;function Se(e){return null!=e&&Ee(e.length)&&!Ce(e)}var ke=G||function(){return!1};function Ce(e){if(!Ie(e))return!1;var t=se(e);return t==a||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}function Ee(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=i}function Ie(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function Me(e){return null!=e&&"object"==typeof e}var Te=y?function(e){return function(t){return e(t)}}(y):function(e){return Me(e)&&Ee(e.length)&&!!c[se(e)]};function Ae(e){return Se(e)?ee(e,!0):ce(e)}var Pe,Oe=(Pe=function(e,t,n,r){fe(e,t,n,r)},he((function(e,t){var n=-1,r=t.length,i=r>1?t[r-1]:void 0,o=r>2?t[2]:void 0;for(i=Pe.length>3&&"function"==typeof i?(r--,i):void 0,o&&function(e,t,n){if(!Ie(n))return!1;var r=typeof t;return!!("number"==r?Se(n)&&me(t,n.length):"string"==r&&t in n)&&we(n[t],e)}(t[0],t[1],o)&&(i=r<3?void 0:i,r=1),e=Object(e);++n<r;){var a=t[n];a&&Pe(e,a,n,i)}return e})));function De(e){return e}e.exports=Oe},2543:function(e,t,n){var r;e=n.nmd(e),function(){var i,o="Expected a function",a="__lodash_hash_undefined__",s="__lodash_placeholder__",l=16,u=32,c=64,f=128,h=256,d=1/0,p=9007199254740991,g=NaN,m=4294967295,b=[["ary",f],["bind",1],["bindKey",2],["curry",8],["curryRight",l],["flip",512],["partial",u],["partialRight",c],["rearg",h]],v="[object Arguments]",y="[object Array]",w="[object Boolean]",x="[object Date]",_="[object Error]",S="[object Function]",k="[object GeneratorFunction]",C="[object Map]",E="[object Number]",I="[object Object]",M="[object Promise]",T="[object RegExp]",A="[object Set]",P="[object String]",O="[object Symbol]",D="[object WeakMap]",R="[object ArrayBuffer]",L="[object DataView]",N="[object Float32Array]",j="[object Float64Array]",F="[object Int8Array]",z="[object Int16Array]",B="[object Int32Array]",V="[object Uint8Array]",$="[object Uint8ClampedArray]",H="[object Uint16Array]",G="[object Uint32Array]",W=/\b__p \+= '';/g,U=/\b(__p \+=) '' \+/g,q=/(__e\(.*?\)|\b__t\)) \+\n'';/g,X=/&(?:amp|lt|gt|quot|#39);/g,Y=/[&<>"']/g,K=RegExp(X.source),Z=RegExp(Y.source),Q=/<%-([\s\S]+?)%>/g,J=/<%([\s\S]+?)%>/g,ee=/<%=([\s\S]+?)%>/g,te=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ne=/^\w*$/,re=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ie=/[\\^$.*+?()[\]{}|]/g,oe=RegExp(ie.source),ae=/^\s+/,se=/\s/,le=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,ue=/\{\n\/\* \[wrapped with (.+)\] \*/,ce=/,? & /,fe=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,he=/[()=,{}\[\]\/\s]/,de=/\\(\\)?/g,pe=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,ge=/\w*$/,me=/^[-+]0x[0-9a-f]+$/i,be=/^0b[01]+$/i,ve=/^\[object .+?Constructor\]$/,ye=/^0o[0-7]+$/i,we=/^(?:0|[1-9]\d*)$/,xe=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,_e=/($^)/,Se=/['\n\r\u2028\u2029\\]/g,ke="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",Ce="\\u2700-\\u27bf",Ee="a-z\\xdf-\\xf6\\xf8-\\xff",Ie="A-Z\\xc0-\\xd6\\xd8-\\xde",Me="\\ufe0e\\ufe0f",Te="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Ae="['’]",Pe="[\\ud800-\\udfff]",Oe="["+Te+"]",De="["+ke+"]",Re="\\d+",Le="[\\u2700-\\u27bf]",Ne="["+Ee+"]",je="[^\\ud800-\\udfff"+Te+Re+Ce+Ee+Ie+"]",Fe="\\ud83c[\\udffb-\\udfff]",ze="[^\\ud800-\\udfff]",Be="(?:\\ud83c[\\udde6-\\uddff]){2}",Ve="[\\ud800-\\udbff][\\udc00-\\udfff]",$e="["+Ie+"]",He="(?:"+Ne+"|"+je+")",Ge="(?:"+$e+"|"+je+")",We="(?:['’](?:d|ll|m|re|s|t|ve))?",Ue="(?:['’](?:D|LL|M|RE|S|T|VE))?",qe="(?:"+De+"|"+Fe+")"+"?",Xe="[\\ufe0e\\ufe0f]?",Ye=Xe+qe+("(?:\\u200d(?:"+[ze,Be,Ve].join("|")+")"+Xe+qe+")*"),Ke="(?:"+[Le,Be,Ve].join("|")+")"+Ye,Ze="(?:"+[ze+De+"?",De,Be,Ve,Pe].join("|")+")",Qe=RegExp(Ae,"g"),Je=RegExp(De,"g"),et=RegExp(Fe+"(?="+Fe+")|"+Ze+Ye,"g"),tt=RegExp([$e+"?"+Ne+"+"+We+"(?="+[Oe,$e,"$"].join("|")+")",Ge+"+"+Ue+"(?="+[Oe,$e+He,"$"].join("|")+")",$e+"?"+He+"+"+We,$e+"+"+Ue,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Re,Ke].join("|"),"g"),nt=RegExp("[\\u200d\\ud800-\\udfff"+ke+Me+"]"),rt=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,it=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],ot=-1,at={};at[N]=at[j]=at[F]=at[z]=at[B]=at[V]=at[$]=at[H]=at[G]=!0,at[v]=at[y]=at[R]=at[w]=at[L]=at[x]=at[_]=at[S]=at[C]=at[E]=at[I]=at[T]=at[A]=at[P]=at[D]=!1;var st={};st[v]=st[y]=st[R]=st[L]=st[w]=st[x]=st[N]=st[j]=st[F]=st[z]=st[B]=st[C]=st[E]=st[I]=st[T]=st[A]=st[P]=st[O]=st[V]=st[$]=st[H]=st[G]=!0,st[_]=st[S]=st[D]=!1;var lt={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},ut=parseFloat,ct=parseInt,ft="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,ht="object"==typeof self&&self&&self.Object===Object&&self,dt=ft||ht||Function("return this")(),pt=t&&!t.nodeType&&t,gt=pt&&e&&!e.nodeType&&e,mt=gt&&gt.exports===pt,bt=mt&&ft.process,vt=function(){try{var e=gt&&gt.require&&gt.require("util").types;return e||bt&&bt.binding&&bt.binding("util")}catch(e){}}(),yt=vt&&vt.isArrayBuffer,wt=vt&&vt.isDate,xt=vt&&vt.isMap,_t=vt&&vt.isRegExp,St=vt&&vt.isSet,kt=vt&&vt.isTypedArray;function Ct(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function Et(e,t,n,r){for(var i=-1,o=null==e?0:e.length;++i<o;){var a=e[i];t(r,a,n(a),e)}return r}function It(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}function Mt(e,t){for(var n=null==e?0:e.length;n--&&!1!==t(e[n],n,e););return e}function Tt(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(!t(e[n],n,e))return!1;return!0}function At(e,t){for(var n=-1,r=null==e?0:e.length,i=0,o=[];++n<r;){var a=e[n];t(a,n,e)&&(o[i++]=a)}return o}function Pt(e,t){return!!(null==e?0:e.length)&&Vt(e,t,0)>-1}function Ot(e,t,n){for(var r=-1,i=null==e?0:e.length;++r<i;)if(n(t,e[r]))return!0;return!1}function Dt(e,t){for(var n=-1,r=null==e?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}function Rt(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}function Lt(e,t,n,r){var i=-1,o=null==e?0:e.length;for(r&&o&&(n=e[++i]);++i<o;)n=t(n,e[i],i,e);return n}function Nt(e,t,n,r){var i=null==e?0:e.length;for(r&&i&&(n=e[--i]);i--;)n=t(n,e[i],i,e);return n}function jt(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}var Ft=Wt("length");function zt(e,t,n){var r;return n(e,(function(e,n,i){if(t(e,n,i))return r=n,!1})),r}function Bt(e,t,n,r){for(var i=e.length,o=n+(r?1:-1);r?o--:++o<i;)if(t(e[o],o,e))return o;return-1}function Vt(e,t,n){return t==t?function(e,t,n){var r=n-1,i=e.length;for(;++r<i;)if(e[r]===t)return r;return-1}(e,t,n):Bt(e,Ht,n)}function $t(e,t,n,r){for(var i=n-1,o=e.length;++i<o;)if(r(e[i],t))return i;return-1}function Ht(e){return e!=e}function Gt(e,t){var n=null==e?0:e.length;return n?Xt(e,t)/n:g}function Wt(e){return function(t){return null==t?i:t[e]}}function Ut(e){return function(t){return null==e?i:e[t]}}function qt(e,t,n,r,i){return i(e,(function(e,i,o){n=r?(r=!1,e):t(n,e,i,o)})),n}function Xt(e,t){for(var n,r=-1,o=e.length;++r<o;){var a=t(e[r]);a!==i&&(n=n===i?a:n+a)}return n}function Yt(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}function Kt(e){return e?e.slice(0,gn(e)+1).replace(ae,""):e}function Zt(e){return function(t){return e(t)}}function Qt(e,t){return Dt(t,(function(t){return e[t]}))}function Jt(e,t){return e.has(t)}function en(e,t){for(var n=-1,r=e.length;++n<r&&Vt(t,e[n],0)>-1;);return n}function tn(e,t){for(var n=e.length;n--&&Vt(t,e[n],0)>-1;);return n}function nn(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&++r;return r}var rn=Ut({À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"}),on=Ut({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"});function an(e){return"\\"+lt[e]}function sn(e){return nt.test(e)}function ln(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function un(e,t){return function(n){return e(t(n))}}function cn(e,t){for(var n=-1,r=e.length,i=0,o=[];++n<r;){var a=e[n];a!==t&&a!==s||(e[n]=s,o[i++]=n)}return o}function fn(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}function hn(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=[e,e]})),n}function dn(e){return sn(e)?function(e){var t=et.lastIndex=0;for(;et.test(e);)++t;return t}(e):Ft(e)}function pn(e){return sn(e)?function(e){return e.match(et)||[]}(e):function(e){return e.split("")}(e)}function gn(e){for(var t=e.length;t--&&se.test(e.charAt(t)););return t}var mn=Ut({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"});var bn=function e(t){var n,r=(t=null==t?dt:bn.defaults(dt.Object(),t,bn.pick(dt,it))).Array,se=t.Date,ke=t.Error,Ce=t.Function,Ee=t.Math,Ie=t.Object,Me=t.RegExp,Te=t.String,Ae=t.TypeError,Pe=r.prototype,Oe=Ce.prototype,De=Ie.prototype,Re=t["__core-js_shared__"],Le=Oe.toString,Ne=De.hasOwnProperty,je=0,Fe=(n=/[^.]+$/.exec(Re&&Re.keys&&Re.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",ze=De.toString,Be=Le.call(Ie),Ve=dt._,$e=Me("^"+Le.call(Ne).replace(ie,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),He=mt?t.Buffer:i,Ge=t.Symbol,We=t.Uint8Array,Ue=He?He.allocUnsafe:i,qe=un(Ie.getPrototypeOf,Ie),Xe=Ie.create,Ye=De.propertyIsEnumerable,Ke=Pe.splice,Ze=Ge?Ge.isConcatSpreadable:i,et=Ge?Ge.iterator:i,nt=Ge?Ge.toStringTag:i,lt=function(){try{var e=po(Ie,"defineProperty");return e({},"",{}),e}catch(e){}}(),ft=t.clearTimeout!==dt.clearTimeout&&t.clearTimeout,ht=se&&se.now!==dt.Date.now&&se.now,pt=t.setTimeout!==dt.setTimeout&&t.setTimeout,gt=Ee.ceil,bt=Ee.floor,vt=Ie.getOwnPropertySymbols,Ft=He?He.isBuffer:i,Ut=t.isFinite,vn=Pe.join,yn=un(Ie.keys,Ie),wn=Ee.max,xn=Ee.min,_n=se.now,Sn=t.parseInt,kn=Ee.random,Cn=Pe.reverse,En=po(t,"DataView"),In=po(t,"Map"),Mn=po(t,"Promise"),Tn=po(t,"Set"),An=po(t,"WeakMap"),Pn=po(Ie,"create"),On=An&&new An,Dn={},Rn=Vo(En),Ln=Vo(In),Nn=Vo(Mn),jn=Vo(Tn),Fn=Vo(An),zn=Ge?Ge.prototype:i,Bn=zn?zn.valueOf:i,Vn=zn?zn.toString:i;function $n(e){if(is(e)&&!qa(e)&&!(e instanceof Un)){if(e instanceof Wn)return e;if(Ne.call(e,"__wrapped__"))return $o(e)}return new Wn(e)}var Hn=function(){function e(){}return function(t){if(!rs(t))return{};if(Xe)return Xe(t);e.prototype=t;var n=new e;return e.prototype=i,n}}();function Gn(){}function Wn(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=i}function Un(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=m,this.__views__=[]}function qn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Xn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Yn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Kn(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new Yn;++t<n;)this.add(e[t])}function Zn(e){var t=this.__data__=new Xn(e);this.size=t.size}function Qn(e,t){var n=qa(e),r=!n&&Ua(e),i=!n&&!r&&Za(e),o=!n&&!r&&!i&&hs(e),a=n||r||i||o,s=a?Yt(e.length,Te):[],l=s.length;for(var u in e)!t&&!Ne.call(e,u)||a&&("length"==u||i&&("offset"==u||"parent"==u)||o&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||xo(u,l))||s.push(u);return s}function Jn(e){var t=e.length;return t?e[Kr(0,t-1)]:i}function er(e,t){return Fo(Pi(e),ur(t,0,e.length))}function tr(e){return Fo(Pi(e))}function nr(e,t,n){(n!==i&&!Ha(e[t],n)||n===i&&!(t in e))&&sr(e,t,n)}function rr(e,t,n){var r=e[t];Ne.call(e,t)&&Ha(r,n)&&(n!==i||t in e)||sr(e,t,n)}function ir(e,t){for(var n=e.length;n--;)if(Ha(e[n][0],t))return n;return-1}function or(e,t,n,r){return pr(e,(function(e,i,o){t(r,e,n(e),o)})),r}function ar(e,t){return e&&Oi(t,Rs(t),e)}function sr(e,t,n){"__proto__"==t&&lt?lt(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function lr(e,t){for(var n=-1,o=t.length,a=r(o),s=null==e;++n<o;)a[n]=s?i:Ts(e,t[n]);return a}function ur(e,t,n){return e==e&&(n!==i&&(e=e<=n?e:n),t!==i&&(e=e>=t?e:t)),e}function cr(e,t,n,r,o,a){var s,l=1&t,u=2&t,c=4&t;if(n&&(s=o?n(e,r,o,a):n(e)),s!==i)return s;if(!rs(e))return e;var f=qa(e);if(f){if(s=function(e){var t=e.length,n=new e.constructor(t);t&&"string"==typeof e[0]&&Ne.call(e,"index")&&(n.index=e.index,n.input=e.input);return n}(e),!l)return Pi(e,s)}else{var h=bo(e),d=h==S||h==k;if(Za(e))return Ci(e,l);if(h==I||h==v||d&&!o){if(s=u||d?{}:yo(e),!l)return u?function(e,t){return Oi(e,mo(e),t)}(e,function(e,t){return e&&Oi(t,Ls(t),e)}(s,e)):function(e,t){return Oi(e,go(e),t)}(e,ar(s,e))}else{if(!st[h])return o?e:{};s=function(e,t,n){var r=e.constructor;switch(t){case R:return Ei(e);case w:case x:return new r(+e);case L:return function(e,t){var n=t?Ei(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,n);case N:case j:case F:case z:case B:case V:case $:case H:case G:return Ii(e,n);case C:return new r;case E:case P:return new r(e);case T:return function(e){var t=new e.constructor(e.source,ge.exec(e));return t.lastIndex=e.lastIndex,t}(e);case A:return new r;case O:return i=e,Bn?Ie(Bn.call(i)):{}}var i}(e,h,l)}}a||(a=new Zn);var p=a.get(e);if(p)return p;a.set(e,s),us(e)?e.forEach((function(r){s.add(cr(r,t,n,r,e,a))})):os(e)&&e.forEach((function(r,i){s.set(i,cr(r,t,n,i,e,a))}));var g=f?i:(c?u?ao:oo:u?Ls:Rs)(e);return It(g||e,(function(r,i){g&&(r=e[i=r]),rr(s,i,cr(r,t,n,i,e,a))})),s}function fr(e,t,n){var r=n.length;if(null==e)return!r;for(e=Ie(e);r--;){var o=n[r],a=t[o],s=e[o];if(s===i&&!(o in e)||!a(s))return!1}return!0}function hr(e,t,n){if("function"!=typeof e)throw new Ae(o);return Ro((function(){e.apply(i,n)}),t)}function dr(e,t,n,r){var i=-1,o=Pt,a=!0,s=e.length,l=[],u=t.length;if(!s)return l;n&&(t=Dt(t,Zt(n))),r?(o=Ot,a=!1):t.length>=200&&(o=Jt,a=!1,t=new Kn(t));e:for(;++i<s;){var c=e[i],f=null==n?c:n(c);if(c=r||0!==c?c:0,a&&f==f){for(var h=u;h--;)if(t[h]===f)continue e;l.push(c)}else o(t,f,r)||l.push(c)}return l}$n.templateSettings={escape:Q,evaluate:J,interpolate:ee,variable:"",imports:{_:$n}},$n.prototype=Gn.prototype,$n.prototype.constructor=$n,Wn.prototype=Hn(Gn.prototype),Wn.prototype.constructor=Wn,Un.prototype=Hn(Gn.prototype),Un.prototype.constructor=Un,qn.prototype.clear=function(){this.__data__=Pn?Pn(null):{},this.size=0},qn.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},qn.prototype.get=function(e){var t=this.__data__;if(Pn){var n=t[e];return n===a?i:n}return Ne.call(t,e)?t[e]:i},qn.prototype.has=function(e){var t=this.__data__;return Pn?t[e]!==i:Ne.call(t,e)},qn.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=Pn&&t===i?a:t,this},Xn.prototype.clear=function(){this.__data__=[],this.size=0},Xn.prototype.delete=function(e){var t=this.__data__,n=ir(t,e);return!(n<0)&&(n==t.length-1?t.pop():Ke.call(t,n,1),--this.size,!0)},Xn.prototype.get=function(e){var t=this.__data__,n=ir(t,e);return n<0?i:t[n][1]},Xn.prototype.has=function(e){return ir(this.__data__,e)>-1},Xn.prototype.set=function(e,t){var n=this.__data__,r=ir(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},Yn.prototype.clear=function(){this.size=0,this.__data__={hash:new qn,map:new(In||Xn),string:new qn}},Yn.prototype.delete=function(e){var t=fo(this,e).delete(e);return this.size-=t?1:0,t},Yn.prototype.get=function(e){return fo(this,e).get(e)},Yn.prototype.has=function(e){return fo(this,e).has(e)},Yn.prototype.set=function(e,t){var n=fo(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},Kn.prototype.add=Kn.prototype.push=function(e){return this.__data__.set(e,a),this},Kn.prototype.has=function(e){return this.__data__.has(e)},Zn.prototype.clear=function(){this.__data__=new Xn,this.size=0},Zn.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},Zn.prototype.get=function(e){return this.__data__.get(e)},Zn.prototype.has=function(e){return this.__data__.has(e)},Zn.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Xn){var r=n.__data__;if(!In||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Yn(r)}return n.set(e,t),this.size=n.size,this};var pr=Li(_r),gr=Li(Sr,!0);function mr(e,t){var n=!0;return pr(e,(function(e,r,i){return n=!!t(e,r,i)})),n}function br(e,t,n){for(var r=-1,o=e.length;++r<o;){var a=e[r],s=t(a);if(null!=s&&(l===i?s==s&&!fs(s):n(s,l)))var l=s,u=a}return u}function vr(e,t){var n=[];return pr(e,(function(e,r,i){t(e,r,i)&&n.push(e)})),n}function yr(e,t,n,r,i){var o=-1,a=e.length;for(n||(n=wo),i||(i=[]);++o<a;){var s=e[o];t>0&&n(s)?t>1?yr(s,t-1,n,r,i):Rt(i,s):r||(i[i.length]=s)}return i}var wr=Ni(),xr=Ni(!0);function _r(e,t){return e&&wr(e,t,Rs)}function Sr(e,t){return e&&xr(e,t,Rs)}function kr(e,t){return At(t,(function(t){return es(e[t])}))}function Cr(e,t){for(var n=0,r=(t=xi(t,e)).length;null!=e&&n<r;)e=e[Bo(t[n++])];return n&&n==r?e:i}function Er(e,t,n){var r=t(e);return qa(e)?r:Rt(r,n(e))}function Ir(e){return null==e?e===i?"[object Undefined]":"[object Null]":nt&&nt in Ie(e)?function(e){var t=Ne.call(e,nt),n=e[nt];try{e[nt]=i;var r=!0}catch(e){}var o=ze.call(e);r&&(t?e[nt]=n:delete e[nt]);return o}(e):function(e){return ze.call(e)}(e)}function Mr(e,t){return e>t}function Tr(e,t){return null!=e&&Ne.call(e,t)}function Ar(e,t){return null!=e&&t in Ie(e)}function Pr(e,t,n){for(var o=n?Ot:Pt,a=e[0].length,s=e.length,l=s,u=r(s),c=1/0,f=[];l--;){var h=e[l];l&&t&&(h=Dt(h,Zt(t))),c=xn(h.length,c),u[l]=!n&&(t||a>=120&&h.length>=120)?new Kn(l&&h):i}h=e[0];var d=-1,p=u[0];e:for(;++d<a&&f.length<c;){var g=h[d],m=t?t(g):g;if(g=n||0!==g?g:0,!(p?Jt(p,m):o(f,m,n))){for(l=s;--l;){var b=u[l];if(!(b?Jt(b,m):o(e[l],m,n)))continue e}p&&p.push(m),f.push(g)}}return f}function Or(e,t,n){var r=null==(e=Ao(e,t=xi(t,e)))?e:e[Bo(Jo(t))];return null==r?i:Ct(r,e,n)}function Dr(e){return is(e)&&Ir(e)==v}function Rr(e,t,n,r,o){return e===t||(null==e||null==t||!is(e)&&!is(t)?e!=e&&t!=t:function(e,t,n,r,o,a){var s=qa(e),l=qa(t),u=s?y:bo(e),c=l?y:bo(t),f=(u=u==v?I:u)==I,h=(c=c==v?I:c)==I,d=u==c;if(d&&Za(e)){if(!Za(t))return!1;s=!0,f=!1}if(d&&!f)return a||(a=new Zn),s||hs(e)?ro(e,t,n,r,o,a):function(e,t,n,r,i,o,a){switch(n){case L:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case R:return!(e.byteLength!=t.byteLength||!o(new We(e),new We(t)));case w:case x:case E:return Ha(+e,+t);case _:return e.name==t.name&&e.message==t.message;case T:case P:return e==t+"";case C:var s=ln;case A:var l=1&r;if(s||(s=fn),e.size!=t.size&&!l)return!1;var u=a.get(e);if(u)return u==t;r|=2,a.set(e,t);var c=ro(s(e),s(t),r,i,o,a);return a.delete(e),c;case O:if(Bn)return Bn.call(e)==Bn.call(t)}return!1}(e,t,u,n,r,o,a);if(!(1&n)){var p=f&&Ne.call(e,"__wrapped__"),g=h&&Ne.call(t,"__wrapped__");if(p||g){var m=p?e.value():e,b=g?t.value():t;return a||(a=new Zn),o(m,b,n,r,a)}}if(!d)return!1;return a||(a=new Zn),function(e,t,n,r,o,a){var s=1&n,l=oo(e),u=l.length,c=oo(t).length;if(u!=c&&!s)return!1;var f=u;for(;f--;){var h=l[f];if(!(s?h in t:Ne.call(t,h)))return!1}var d=a.get(e),p=a.get(t);if(d&&p)return d==t&&p==e;var g=!0;a.set(e,t),a.set(t,e);var m=s;for(;++f<u;){var b=e[h=l[f]],v=t[h];if(r)var y=s?r(v,b,h,t,e,a):r(b,v,h,e,t,a);if(!(y===i?b===v||o(b,v,n,r,a):y)){g=!1;break}m||(m="constructor"==h)}if(g&&!m){var w=e.constructor,x=t.constructor;w==x||!("constructor"in e)||!("constructor"in t)||"function"==typeof w&&w instanceof w&&"function"==typeof x&&x instanceof x||(g=!1)}return a.delete(e),a.delete(t),g}(e,t,n,r,o,a)}(e,t,n,r,Rr,o))}function Lr(e,t,n,r){var o=n.length,a=o,s=!r;if(null==e)return!a;for(e=Ie(e);o--;){var l=n[o];if(s&&l[2]?l[1]!==e[l[0]]:!(l[0]in e))return!1}for(;++o<a;){var u=(l=n[o])[0],c=e[u],f=l[1];if(s&&l[2]){if(c===i&&!(u in e))return!1}else{var h=new Zn;if(r)var d=r(c,f,u,e,t,h);if(!(d===i?Rr(f,c,3,r,h):d))return!1}}return!0}function Nr(e){return!(!rs(e)||(t=e,Fe&&Fe in t))&&(es(e)?$e:ve).test(Vo(e));var t}function jr(e){return"function"==typeof e?e:null==e?al:"object"==typeof e?qa(e)?Hr(e[0],e[1]):$r(e):gl(e)}function Fr(e){if(!Eo(e))return yn(e);var t=[];for(var n in Ie(e))Ne.call(e,n)&&"constructor"!=n&&t.push(n);return t}function zr(e){if(!rs(e))return function(e){var t=[];if(null!=e)for(var n in Ie(e))t.push(n);return t}(e);var t=Eo(e),n=[];for(var r in e)("constructor"!=r||!t&&Ne.call(e,r))&&n.push(r);return n}function Br(e,t){return e<t}function Vr(e,t){var n=-1,i=Ya(e)?r(e.length):[];return pr(e,(function(e,r,o){i[++n]=t(e,r,o)})),i}function $r(e){var t=ho(e);return 1==t.length&&t[0][2]?Mo(t[0][0],t[0][1]):function(n){return n===e||Lr(n,e,t)}}function Hr(e,t){return So(e)&&Io(t)?Mo(Bo(e),t):function(n){var r=Ts(n,e);return r===i&&r===t?As(n,e):Rr(t,r,3)}}function Gr(e,t,n,r,o){e!==t&&wr(t,(function(a,s){if(o||(o=new Zn),rs(a))!function(e,t,n,r,o,a,s){var l=Oo(e,n),u=Oo(t,n),c=s.get(u);if(c)return void nr(e,n,c);var f=a?a(l,u,n+"",e,t,s):i,h=f===i;if(h){var d=qa(u),p=!d&&Za(u),g=!d&&!p&&hs(u);f=u,d||p||g?qa(l)?f=l:Ka(l)?f=Pi(l):p?(h=!1,f=Ci(u,!0)):g?(h=!1,f=Ii(u,!0)):f=[]:ss(u)||Ua(u)?(f=l,Ua(l)?f=ws(l):rs(l)&&!es(l)||(f=yo(u))):h=!1}h&&(s.set(u,f),o(f,u,r,a,s),s.delete(u));nr(e,n,f)}(e,t,s,n,Gr,r,o);else{var l=r?r(Oo(e,s),a,s+"",e,t,o):i;l===i&&(l=a),nr(e,s,l)}}),Ls)}function Wr(e,t){var n=e.length;if(n)return xo(t+=t<0?n:0,n)?e[t]:i}function Ur(e,t,n){t=t.length?Dt(t,(function(e){return qa(e)?function(t){return Cr(t,1===e.length?e[0]:e)}:e})):[al];var r=-1;t=Dt(t,Zt(co()));var i=Vr(e,(function(e,n,i){var o=Dt(t,(function(t){return t(e)}));return{criteria:o,index:++r,value:e}}));return function(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}(i,(function(e,t){return function(e,t,n){var r=-1,i=e.criteria,o=t.criteria,a=i.length,s=n.length;for(;++r<a;){var l=Mi(i[r],o[r]);if(l)return r>=s?l:l*("desc"==n[r]?-1:1)}return e.index-t.index}(e,t,n)}))}function qr(e,t,n){for(var r=-1,i=t.length,o={};++r<i;){var a=t[r],s=Cr(e,a);n(s,a)&&ti(o,xi(a,e),s)}return o}function Xr(e,t,n,r){var i=r?$t:Vt,o=-1,a=t.length,s=e;for(e===t&&(t=Pi(t)),n&&(s=Dt(e,Zt(n)));++o<a;)for(var l=0,u=t[o],c=n?n(u):u;(l=i(s,c,l,r))>-1;)s!==e&&Ke.call(s,l,1),Ke.call(e,l,1);return e}function Yr(e,t){for(var n=e?t.length:0,r=n-1;n--;){var i=t[n];if(n==r||i!==o){var o=i;xo(i)?Ke.call(e,i,1):di(e,i)}}return e}function Kr(e,t){return e+bt(kn()*(t-e+1))}function Zr(e,t){var n="";if(!e||t<1||t>p)return n;do{t%2&&(n+=e),(t=bt(t/2))&&(e+=e)}while(t);return n}function Qr(e,t){return Lo(To(e,t,al),e+"")}function Jr(e){return Jn(Hs(e))}function ei(e,t){var n=Hs(e);return Fo(n,ur(t,0,n.length))}function ti(e,t,n,r){if(!rs(e))return e;for(var o=-1,a=(t=xi(t,e)).length,s=a-1,l=e;null!=l&&++o<a;){var u=Bo(t[o]),c=n;if("__proto__"===u||"constructor"===u||"prototype"===u)return e;if(o!=s){var f=l[u];(c=r?r(f,u,l):i)===i&&(c=rs(f)?f:xo(t[o+1])?[]:{})}rr(l,u,c),l=l[u]}return e}var ni=On?function(e,t){return On.set(e,t),e}:al,ri=lt?function(e,t){return lt(e,"toString",{configurable:!0,enumerable:!1,value:rl(t),writable:!0})}:al;function ii(e){return Fo(Hs(e))}function oi(e,t,n){var i=-1,o=e.length;t<0&&(t=-t>o?0:o+t),(n=n>o?o:n)<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var a=r(o);++i<o;)a[i]=e[i+t];return a}function ai(e,t){var n;return pr(e,(function(e,r,i){return!(n=t(e,r,i))})),!!n}function si(e,t,n){var r=0,i=null==e?r:e.length;if("number"==typeof t&&t==t&&i<=2147483647){for(;r<i;){var o=r+i>>>1,a=e[o];null!==a&&!fs(a)&&(n?a<=t:a<t)?r=o+1:i=o}return i}return li(e,t,al,n)}function li(e,t,n,r){var o=0,a=null==e?0:e.length;if(0===a)return 0;for(var s=(t=n(t))!=t,l=null===t,u=fs(t),c=t===i;o<a;){var f=bt((o+a)/2),h=n(e[f]),d=h!==i,p=null===h,g=h==h,m=fs(h);if(s)var b=r||g;else b=c?g&&(r||d):l?g&&d&&(r||!p):u?g&&d&&!p&&(r||!m):!p&&!m&&(r?h<=t:h<t);b?o=f+1:a=f}return xn(a,4294967294)}function ui(e,t){for(var n=-1,r=e.length,i=0,o=[];++n<r;){var a=e[n],s=t?t(a):a;if(!n||!Ha(s,l)){var l=s;o[i++]=0===a?0:a}}return o}function ci(e){return"number"==typeof e?e:fs(e)?g:+e}function fi(e){if("string"==typeof e)return e;if(qa(e))return Dt(e,fi)+"";if(fs(e))return Vn?Vn.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function hi(e,t,n){var r=-1,i=Pt,o=e.length,a=!0,s=[],l=s;if(n)a=!1,i=Ot;else if(o>=200){var u=t?null:Zi(e);if(u)return fn(u);a=!1,i=Jt,l=new Kn}else l=t?[]:s;e:for(;++r<o;){var c=e[r],f=t?t(c):c;if(c=n||0!==c?c:0,a&&f==f){for(var h=l.length;h--;)if(l[h]===f)continue e;t&&l.push(f),s.push(c)}else i(l,f,n)||(l!==s&&l.push(f),s.push(c))}return s}function di(e,t){return null==(e=Ao(e,t=xi(t,e)))||delete e[Bo(Jo(t))]}function pi(e,t,n,r){return ti(e,t,n(Cr(e,t)),r)}function gi(e,t,n,r){for(var i=e.length,o=r?i:-1;(r?o--:++o<i)&&t(e[o],o,e););return n?oi(e,r?0:o,r?o+1:i):oi(e,r?o+1:0,r?i:o)}function mi(e,t){var n=e;return n instanceof Un&&(n=n.value()),Lt(t,(function(e,t){return t.func.apply(t.thisArg,Rt([e],t.args))}),n)}function bi(e,t,n){var i=e.length;if(i<2)return i?hi(e[0]):[];for(var o=-1,a=r(i);++o<i;)for(var s=e[o],l=-1;++l<i;)l!=o&&(a[o]=dr(a[o]||s,e[l],t,n));return hi(yr(a,1),t,n)}function vi(e,t,n){for(var r=-1,o=e.length,a=t.length,s={};++r<o;){var l=r<a?t[r]:i;n(s,e[r],l)}return s}function yi(e){return Ka(e)?e:[]}function wi(e){return"function"==typeof e?e:al}function xi(e,t){return qa(e)?e:So(e,t)?[e]:zo(xs(e))}var _i=Qr;function Si(e,t,n){var r=e.length;return n=n===i?r:n,!t&&n>=r?e:oi(e,t,n)}var ki=ft||function(e){return dt.clearTimeout(e)};function Ci(e,t){if(t)return e.slice();var n=e.length,r=Ue?Ue(n):new e.constructor(n);return e.copy(r),r}function Ei(e){var t=new e.constructor(e.byteLength);return new We(t).set(new We(e)),t}function Ii(e,t){var n=t?Ei(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function Mi(e,t){if(e!==t){var n=e!==i,r=null===e,o=e==e,a=fs(e),s=t!==i,l=null===t,u=t==t,c=fs(t);if(!l&&!c&&!a&&e>t||a&&s&&u&&!l&&!c||r&&s&&u||!n&&u||!o)return 1;if(!r&&!a&&!c&&e<t||c&&n&&o&&!r&&!a||l&&n&&o||!s&&o||!u)return-1}return 0}function Ti(e,t,n,i){for(var o=-1,a=e.length,s=n.length,l=-1,u=t.length,c=wn(a-s,0),f=r(u+c),h=!i;++l<u;)f[l]=t[l];for(;++o<s;)(h||o<a)&&(f[n[o]]=e[o]);for(;c--;)f[l++]=e[o++];return f}function Ai(e,t,n,i){for(var o=-1,a=e.length,s=-1,l=n.length,u=-1,c=t.length,f=wn(a-l,0),h=r(f+c),d=!i;++o<f;)h[o]=e[o];for(var p=o;++u<c;)h[p+u]=t[u];for(;++s<l;)(d||o<a)&&(h[p+n[s]]=e[o++]);return h}function Pi(e,t){var n=-1,i=e.length;for(t||(t=r(i));++n<i;)t[n]=e[n];return t}function Oi(e,t,n,r){var o=!n;n||(n={});for(var a=-1,s=t.length;++a<s;){var l=t[a],u=r?r(n[l],e[l],l,n,e):i;u===i&&(u=e[l]),o?sr(n,l,u):rr(n,l,u)}return n}function Di(e,t){return function(n,r){var i=qa(n)?Et:or,o=t?t():{};return i(n,e,co(r,2),o)}}function Ri(e){return Qr((function(t,n){var r=-1,o=n.length,a=o>1?n[o-1]:i,s=o>2?n[2]:i;for(a=e.length>3&&"function"==typeof a?(o--,a):i,s&&_o(n[0],n[1],s)&&(a=o<3?i:a,o=1),t=Ie(t);++r<o;){var l=n[r];l&&e(t,l,r,a)}return t}))}function Li(e,t){return function(n,r){if(null==n)return n;if(!Ya(n))return e(n,r);for(var i=n.length,o=t?i:-1,a=Ie(n);(t?o--:++o<i)&&!1!==r(a[o],o,a););return n}}function Ni(e){return function(t,n,r){for(var i=-1,o=Ie(t),a=r(t),s=a.length;s--;){var l=a[e?s:++i];if(!1===n(o[l],l,o))break}return t}}function ji(e){return function(t){var n=sn(t=xs(t))?pn(t):i,r=n?n[0]:t.charAt(0),o=n?Si(n,1).join(""):t.slice(1);return r[e]()+o}}function Fi(e){return function(t){return Lt(el(Us(t).replace(Qe,"")),e,"")}}function zi(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=Hn(e.prototype),r=e.apply(n,t);return rs(r)?r:n}}function Bi(e){return function(t,n,r){var o=Ie(t);if(!Ya(t)){var a=co(n,3);t=Rs(t),n=function(e){return a(o[e],e,o)}}var s=e(t,n,r);return s>-1?o[a?t[s]:s]:i}}function Vi(e){return io((function(t){var n=t.length,r=n,a=Wn.prototype.thru;for(e&&t.reverse();r--;){var s=t[r];if("function"!=typeof s)throw new Ae(o);if(a&&!l&&"wrapper"==lo(s))var l=new Wn([],!0)}for(r=l?r:n;++r<n;){var u=lo(s=t[r]),c="wrapper"==u?so(s):i;l=c&&ko(c[0])&&424==c[1]&&!c[4].length&&1==c[9]?l[lo(c[0])].apply(l,c[3]):1==s.length&&ko(s)?l[u]():l.thru(s)}return function(){var e=arguments,r=e[0];if(l&&1==e.length&&qa(r))return l.plant(r).value();for(var i=0,o=n?t[i].apply(this,e):r;++i<n;)o=t[i].call(this,o);return o}}))}function $i(e,t,n,o,a,s,l,u,c,h){var d=t&f,p=1&t,g=2&t,m=24&t,b=512&t,v=g?i:zi(e);return function i(){for(var f=arguments.length,y=r(f),w=f;w--;)y[w]=arguments[w];if(m)var x=uo(i),_=nn(y,x);if(o&&(y=Ti(y,o,a,m)),s&&(y=Ai(y,s,l,m)),f-=_,m&&f<h){var S=cn(y,x);return Yi(e,t,$i,i.placeholder,n,y,S,u,c,h-f)}var k=p?n:this,C=g?k[e]:e;return f=y.length,u?y=Po(y,u):b&&f>1&&y.reverse(),d&&c<f&&(y.length=c),this&&this!==dt&&this instanceof i&&(C=v||zi(C)),C.apply(k,y)}}function Hi(e,t){return function(n,r){return function(e,t,n,r){return _r(e,(function(e,i,o){t(r,n(e),i,o)})),r}(n,e,t(r),{})}}function Gi(e,t){return function(n,r){var o;if(n===i&&r===i)return t;if(n!==i&&(o=n),r!==i){if(o===i)return r;"string"==typeof n||"string"==typeof r?(n=fi(n),r=fi(r)):(n=ci(n),r=ci(r)),o=e(n,r)}return o}}function Wi(e){return io((function(t){return t=Dt(t,Zt(co())),Qr((function(n){var r=this;return e(t,(function(e){return Ct(e,r,n)}))}))}))}function Ui(e,t){var n=(t=t===i?" ":fi(t)).length;if(n<2)return n?Zr(t,e):t;var r=Zr(t,gt(e/dn(t)));return sn(t)?Si(pn(r),0,e).join(""):r.slice(0,e)}function qi(e){return function(t,n,o){return o&&"number"!=typeof o&&_o(t,n,o)&&(n=o=i),t=ms(t),n===i?(n=t,t=0):n=ms(n),function(e,t,n,i){for(var o=-1,a=wn(gt((t-e)/(n||1)),0),s=r(a);a--;)s[i?a:++o]=e,e+=n;return s}(t,n,o=o===i?t<n?1:-1:ms(o),e)}}function Xi(e){return function(t,n){return"string"==typeof t&&"string"==typeof n||(t=ys(t),n=ys(n)),e(t,n)}}function Yi(e,t,n,r,o,a,s,l,f,h){var d=8&t;t|=d?u:c,4&(t&=~(d?c:u))||(t&=-4);var p=[e,t,o,d?a:i,d?s:i,d?i:a,d?i:s,l,f,h],g=n.apply(i,p);return ko(e)&&Do(g,p),g.placeholder=r,No(g,e,t)}function Ki(e){var t=Ee[e];return function(e,n){if(e=ys(e),(n=null==n?0:xn(bs(n),292))&&Ut(e)){var r=(xs(e)+"e").split("e");return+((r=(xs(t(r[0]+"e"+(+r[1]+n)))+"e").split("e"))[0]+"e"+(+r[1]-n))}return t(e)}}var Zi=Tn&&1/fn(new Tn([,-0]))[1]==d?function(e){return new Tn(e)}:fl;function Qi(e){return function(t){var n=bo(t);return n==C?ln(t):n==A?hn(t):function(e,t){return Dt(t,(function(t){return[t,e[t]]}))}(t,e(t))}}function Ji(e,t,n,a,d,p,g,m){var b=2&t;if(!b&&"function"!=typeof e)throw new Ae(o);var v=a?a.length:0;if(v||(t&=-97,a=d=i),g=g===i?g:wn(bs(g),0),m=m===i?m:bs(m),v-=d?d.length:0,t&c){var y=a,w=d;a=d=i}var x=b?i:so(e),_=[e,t,n,a,d,y,w,p,g,m];if(x&&function(e,t){var n=e[1],r=t[1],i=n|r,o=i<131,a=r==f&&8==n||r==f&&n==h&&e[7].length<=t[8]||384==r&&t[7].length<=t[8]&&8==n;if(!o&&!a)return e;1&r&&(e[2]=t[2],i|=1&n?0:4);var l=t[3];if(l){var u=e[3];e[3]=u?Ti(u,l,t[4]):l,e[4]=u?cn(e[3],s):t[4]}(l=t[5])&&(u=e[5],e[5]=u?Ai(u,l,t[6]):l,e[6]=u?cn(e[5],s):t[6]);(l=t[7])&&(e[7]=l);r&f&&(e[8]=null==e[8]?t[8]:xn(e[8],t[8]));null==e[9]&&(e[9]=t[9]);e[0]=t[0],e[1]=i}(_,x),e=_[0],t=_[1],n=_[2],a=_[3],d=_[4],!(m=_[9]=_[9]===i?b?0:e.length:wn(_[9]-v,0))&&24&t&&(t&=-25),t&&1!=t)S=8==t||t==l?function(e,t,n){var o=zi(e);return function a(){for(var s=arguments.length,l=r(s),u=s,c=uo(a);u--;)l[u]=arguments[u];var f=s<3&&l[0]!==c&&l[s-1]!==c?[]:cn(l,c);return(s-=f.length)<n?Yi(e,t,$i,a.placeholder,i,l,f,i,i,n-s):Ct(this&&this!==dt&&this instanceof a?o:e,this,l)}}(e,t,m):t!=u&&33!=t||d.length?$i.apply(i,_):function(e,t,n,i){var o=1&t,a=zi(e);return function t(){for(var s=-1,l=arguments.length,u=-1,c=i.length,f=r(c+l),h=this&&this!==dt&&this instanceof t?a:e;++u<c;)f[u]=i[u];for(;l--;)f[u++]=arguments[++s];return Ct(h,o?n:this,f)}}(e,t,n,a);else var S=function(e,t,n){var r=1&t,i=zi(e);return function t(){return(this&&this!==dt&&this instanceof t?i:e).apply(r?n:this,arguments)}}(e,t,n);return No((x?ni:Do)(S,_),e,t)}function eo(e,t,n,r){return e===i||Ha(e,De[n])&&!Ne.call(r,n)?t:e}function to(e,t,n,r,o,a){return rs(e)&&rs(t)&&(a.set(t,e),Gr(e,t,i,to,a),a.delete(t)),e}function no(e){return ss(e)?i:e}function ro(e,t,n,r,o,a){var s=1&n,l=e.length,u=t.length;if(l!=u&&!(s&&u>l))return!1;var c=a.get(e),f=a.get(t);if(c&&f)return c==t&&f==e;var h=-1,d=!0,p=2&n?new Kn:i;for(a.set(e,t),a.set(t,e);++h<l;){var g=e[h],m=t[h];if(r)var b=s?r(m,g,h,t,e,a):r(g,m,h,e,t,a);if(b!==i){if(b)continue;d=!1;break}if(p){if(!jt(t,(function(e,t){if(!Jt(p,t)&&(g===e||o(g,e,n,r,a)))return p.push(t)}))){d=!1;break}}else if(g!==m&&!o(g,m,n,r,a)){d=!1;break}}return a.delete(e),a.delete(t),d}function io(e){return Lo(To(e,i,Xo),e+"")}function oo(e){return Er(e,Rs,go)}function ao(e){return Er(e,Ls,mo)}var so=On?function(e){return On.get(e)}:fl;function lo(e){for(var t=e.name+"",n=Dn[t],r=Ne.call(Dn,t)?n.length:0;r--;){var i=n[r],o=i.func;if(null==o||o==e)return i.name}return t}function uo(e){return(Ne.call($n,"placeholder")?$n:e).placeholder}function co(){var e=$n.iteratee||sl;return e=e===sl?jr:e,arguments.length?e(arguments[0],arguments[1]):e}function fo(e,t){var n,r,i=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?i["string"==typeof t?"string":"hash"]:i.map}function ho(e){for(var t=Rs(e),n=t.length;n--;){var r=t[n],i=e[r];t[n]=[r,i,Io(i)]}return t}function po(e,t){var n=function(e,t){return null==e?i:e[t]}(e,t);return Nr(n)?n:i}var go=vt?function(e){return null==e?[]:(e=Ie(e),At(vt(e),(function(t){return Ye.call(e,t)})))}:vl,mo=vt?function(e){for(var t=[];e;)Rt(t,go(e)),e=qe(e);return t}:vl,bo=Ir;function vo(e,t,n){for(var r=-1,i=(t=xi(t,e)).length,o=!1;++r<i;){var a=Bo(t[r]);if(!(o=null!=e&&n(e,a)))break;e=e[a]}return o||++r!=i?o:!!(i=null==e?0:e.length)&&ns(i)&&xo(a,i)&&(qa(e)||Ua(e))}function yo(e){return"function"!=typeof e.constructor||Eo(e)?{}:Hn(qe(e))}function wo(e){return qa(e)||Ua(e)||!!(Ze&&e&&e[Ze])}function xo(e,t){var n=typeof e;return!!(t=null==t?p:t)&&("number"==n||"symbol"!=n&&we.test(e))&&e>-1&&e%1==0&&e<t}function _o(e,t,n){if(!rs(n))return!1;var r=typeof t;return!!("number"==r?Ya(n)&&xo(t,n.length):"string"==r&&t in n)&&Ha(n[t],e)}function So(e,t){if(qa(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!fs(e))||(ne.test(e)||!te.test(e)||null!=t&&e in Ie(t))}function ko(e){var t=lo(e),n=$n[t];if("function"!=typeof n||!(t in Un.prototype))return!1;if(e===n)return!0;var r=so(n);return!!r&&e===r[0]}(En&&bo(new En(new ArrayBuffer(1)))!=L||In&&bo(new In)!=C||Mn&&bo(Mn.resolve())!=M||Tn&&bo(new Tn)!=A||An&&bo(new An)!=D)&&(bo=function(e){var t=Ir(e),n=t==I?e.constructor:i,r=n?Vo(n):"";if(r)switch(r){case Rn:return L;case Ln:return C;case Nn:return M;case jn:return A;case Fn:return D}return t});var Co=Re?es:yl;function Eo(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||De)}function Io(e){return e==e&&!rs(e)}function Mo(e,t){return function(n){return null!=n&&(n[e]===t&&(t!==i||e in Ie(n)))}}function To(e,t,n){return t=wn(t===i?e.length-1:t,0),function(){for(var i=arguments,o=-1,a=wn(i.length-t,0),s=r(a);++o<a;)s[o]=i[t+o];o=-1;for(var l=r(t+1);++o<t;)l[o]=i[o];return l[t]=n(s),Ct(e,this,l)}}function Ao(e,t){return t.length<2?e:Cr(e,oi(t,0,-1))}function Po(e,t){for(var n=e.length,r=xn(t.length,n),o=Pi(e);r--;){var a=t[r];e[r]=xo(a,n)?o[a]:i}return e}function Oo(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var Do=jo(ni),Ro=pt||function(e,t){return dt.setTimeout(e,t)},Lo=jo(ri);function No(e,t,n){var r=t+"";return Lo(e,function(e,t){var n=t.length;if(!n)return e;var r=n-1;return t[r]=(n>1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace(le,"{\n/* [wrapped with "+t+"] */\n")}(r,function(e,t){return It(b,(function(n){var r="_."+n[0];t&n[1]&&!Pt(e,r)&&e.push(r)})),e.sort()}(function(e){var t=e.match(ue);return t?t[1].split(ce):[]}(r),n)))}function jo(e){var t=0,n=0;return function(){var r=_n(),o=16-(r-n);if(n=r,o>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(i,arguments)}}function Fo(e,t){var n=-1,r=e.length,o=r-1;for(t=t===i?r:t;++n<t;){var a=Kr(n,o),s=e[a];e[a]=e[n],e[n]=s}return e.length=t,e}var zo=function(e){var t=ja(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(re,(function(e,n,r,i){t.push(r?i.replace(de,"$1"):n||e)})),t}));function Bo(e){if("string"==typeof e||fs(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function Vo(e){if(null!=e){try{return Le.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function $o(e){if(e instanceof Un)return e.clone();var t=new Wn(e.__wrapped__,e.__chain__);return t.__actions__=Pi(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}var Ho=Qr((function(e,t){return Ka(e)?dr(e,yr(t,1,Ka,!0)):[]})),Go=Qr((function(e,t){var n=Jo(t);return Ka(n)&&(n=i),Ka(e)?dr(e,yr(t,1,Ka,!0),co(n,2)):[]})),Wo=Qr((function(e,t){var n=Jo(t);return Ka(n)&&(n=i),Ka(e)?dr(e,yr(t,1,Ka,!0),i,n):[]}));function Uo(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=null==n?0:bs(n);return i<0&&(i=wn(r+i,0)),Bt(e,co(t,3),i)}function qo(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=r-1;return n!==i&&(o=bs(n),o=n<0?wn(r+o,0):xn(o,r-1)),Bt(e,co(t,3),o,!0)}function Xo(e){return(null==e?0:e.length)?yr(e,1):[]}function Yo(e){return e&&e.length?e[0]:i}var Ko=Qr((function(e){var t=Dt(e,yi);return t.length&&t[0]===e[0]?Pr(t):[]})),Zo=Qr((function(e){var t=Jo(e),n=Dt(e,yi);return t===Jo(n)?t=i:n.pop(),n.length&&n[0]===e[0]?Pr(n,co(t,2)):[]})),Qo=Qr((function(e){var t=Jo(e),n=Dt(e,yi);return(t="function"==typeof t?t:i)&&n.pop(),n.length&&n[0]===e[0]?Pr(n,i,t):[]}));function Jo(e){var t=null==e?0:e.length;return t?e[t-1]:i}var ea=Qr(ta);function ta(e,t){return e&&e.length&&t&&t.length?Xr(e,t):e}var na=io((function(e,t){var n=null==e?0:e.length,r=lr(e,t);return Yr(e,Dt(t,(function(e){return xo(e,n)?+e:e})).sort(Mi)),r}));function ra(e){return null==e?e:Cn.call(e)}var ia=Qr((function(e){return hi(yr(e,1,Ka,!0))})),oa=Qr((function(e){var t=Jo(e);return Ka(t)&&(t=i),hi(yr(e,1,Ka,!0),co(t,2))})),aa=Qr((function(e){var t=Jo(e);return t="function"==typeof t?t:i,hi(yr(e,1,Ka,!0),i,t)}));function sa(e){if(!e||!e.length)return[];var t=0;return e=At(e,(function(e){if(Ka(e))return t=wn(e.length,t),!0})),Yt(t,(function(t){return Dt(e,Wt(t))}))}function la(e,t){if(!e||!e.length)return[];var n=sa(e);return null==t?n:Dt(n,(function(e){return Ct(t,i,e)}))}var ua=Qr((function(e,t){return Ka(e)?dr(e,t):[]})),ca=Qr((function(e){return bi(At(e,Ka))})),fa=Qr((function(e){var t=Jo(e);return Ka(t)&&(t=i),bi(At(e,Ka),co(t,2))})),ha=Qr((function(e){var t=Jo(e);return t="function"==typeof t?t:i,bi(At(e,Ka),i,t)})),da=Qr(sa);var pa=Qr((function(e){var t=e.length,n=t>1?e[t-1]:i;return n="function"==typeof n?(e.pop(),n):i,la(e,n)}));function ga(e){var t=$n(e);return t.__chain__=!0,t}function ma(e,t){return t(e)}var ba=io((function(e){var t=e.length,n=t?e[0]:0,r=this.__wrapped__,o=function(t){return lr(t,e)};return!(t>1||this.__actions__.length)&&r instanceof Un&&xo(n)?((r=r.slice(n,+n+(t?1:0))).__actions__.push({func:ma,args:[o],thisArg:i}),new Wn(r,this.__chain__).thru((function(e){return t&&!e.length&&e.push(i),e}))):this.thru(o)}));var va=Di((function(e,t,n){Ne.call(e,n)?++e[n]:sr(e,n,1)}));var ya=Bi(Uo),wa=Bi(qo);function xa(e,t){return(qa(e)?It:pr)(e,co(t,3))}function _a(e,t){return(qa(e)?Mt:gr)(e,co(t,3))}var Sa=Di((function(e,t,n){Ne.call(e,n)?e[n].push(t):sr(e,n,[t])}));var ka=Qr((function(e,t,n){var i=-1,o="function"==typeof t,a=Ya(e)?r(e.length):[];return pr(e,(function(e){a[++i]=o?Ct(t,e,n):Or(e,t,n)})),a})),Ca=Di((function(e,t,n){sr(e,n,t)}));function Ea(e,t){return(qa(e)?Dt:Vr)(e,co(t,3))}var Ia=Di((function(e,t,n){e[n?0:1].push(t)}),(function(){return[[],[]]}));var Ma=Qr((function(e,t){if(null==e)return[];var n=t.length;return n>1&&_o(e,t[0],t[1])?t=[]:n>2&&_o(t[0],t[1],t[2])&&(t=[t[0]]),Ur(e,yr(t,1),[])})),Ta=ht||function(){return dt.Date.now()};function Aa(e,t,n){return t=n?i:t,t=e&&null==t?e.length:t,Ji(e,f,i,i,i,i,t)}function Pa(e,t){var n;if("function"!=typeof t)throw new Ae(o);return e=bs(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=i),n}}var Oa=Qr((function(e,t,n){var r=1;if(n.length){var i=cn(n,uo(Oa));r|=u}return Ji(e,r,t,n,i)})),Da=Qr((function(e,t,n){var r=3;if(n.length){var i=cn(n,uo(Da));r|=u}return Ji(t,r,e,n,i)}));function Ra(e,t,n){var r,a,s,l,u,c,f=0,h=!1,d=!1,p=!0;if("function"!=typeof e)throw new Ae(o);function g(t){var n=r,o=a;return r=a=i,f=t,l=e.apply(o,n)}function m(e){return f=e,u=Ro(v,t),h?g(e):l}function b(e){var n=e-c;return c===i||n>=t||n<0||d&&e-f>=s}function v(){var e=Ta();if(b(e))return y(e);u=Ro(v,function(e){var n=t-(e-c);return d?xn(n,s-(e-f)):n}(e))}function y(e){return u=i,p&&r?g(e):(r=a=i,l)}function w(){var e=Ta(),n=b(e);if(r=arguments,a=this,c=e,n){if(u===i)return m(c);if(d)return ki(u),u=Ro(v,t),g(c)}return u===i&&(u=Ro(v,t)),l}return t=ys(t)||0,rs(n)&&(h=!!n.leading,s=(d="maxWait"in n)?wn(ys(n.maxWait)||0,t):s,p="trailing"in n?!!n.trailing:p),w.cancel=function(){u!==i&&ki(u),f=0,r=c=a=u=i},w.flush=function(){return u===i?l:y(Ta())},w}var La=Qr((function(e,t){return hr(e,1,t)})),Na=Qr((function(e,t,n){return hr(e,ys(t)||0,n)}));function ja(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new Ae(o);var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=e.apply(this,r);return n.cache=o.set(i,a)||o,a};return n.cache=new(ja.Cache||Yn),n}function Fa(e){if("function"!=typeof e)throw new Ae(o);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}ja.Cache=Yn;var za=_i((function(e,t){var n=(t=1==t.length&&qa(t[0])?Dt(t[0],Zt(co())):Dt(yr(t,1),Zt(co()))).length;return Qr((function(r){for(var i=-1,o=xn(r.length,n);++i<o;)r[i]=t[i].call(this,r[i]);return Ct(e,this,r)}))})),Ba=Qr((function(e,t){var n=cn(t,uo(Ba));return Ji(e,u,i,t,n)})),Va=Qr((function(e,t){var n=cn(t,uo(Va));return Ji(e,c,i,t,n)})),$a=io((function(e,t){return Ji(e,h,i,i,i,t)}));function Ha(e,t){return e===t||e!=e&&t!=t}var Ga=Xi(Mr),Wa=Xi((function(e,t){return e>=t})),Ua=Dr(function(){return arguments}())?Dr:function(e){return is(e)&&Ne.call(e,"callee")&&!Ye.call(e,"callee")},qa=r.isArray,Xa=yt?Zt(yt):function(e){return is(e)&&Ir(e)==R};function Ya(e){return null!=e&&ns(e.length)&&!es(e)}function Ka(e){return is(e)&&Ya(e)}var Za=Ft||yl,Qa=wt?Zt(wt):function(e){return is(e)&&Ir(e)==x};function Ja(e){if(!is(e))return!1;var t=Ir(e);return t==_||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!ss(e)}function es(e){if(!rs(e))return!1;var t=Ir(e);return t==S||t==k||"[object AsyncFunction]"==t||"[object Proxy]"==t}function ts(e){return"number"==typeof e&&e==bs(e)}function ns(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=p}function rs(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function is(e){return null!=e&&"object"==typeof e}var os=xt?Zt(xt):function(e){return is(e)&&bo(e)==C};function as(e){return"number"==typeof e||is(e)&&Ir(e)==E}function ss(e){if(!is(e)||Ir(e)!=I)return!1;var t=qe(e);if(null===t)return!0;var n=Ne.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&Le.call(n)==Be}var ls=_t?Zt(_t):function(e){return is(e)&&Ir(e)==T};var us=St?Zt(St):function(e){return is(e)&&bo(e)==A};function cs(e){return"string"==typeof e||!qa(e)&&is(e)&&Ir(e)==P}function fs(e){return"symbol"==typeof e||is(e)&&Ir(e)==O}var hs=kt?Zt(kt):function(e){return is(e)&&ns(e.length)&&!!at[Ir(e)]};var ds=Xi(Br),ps=Xi((function(e,t){return e<=t}));function gs(e){if(!e)return[];if(Ya(e))return cs(e)?pn(e):Pi(e);if(et&&e[et])return function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}(e[et]());var t=bo(e);return(t==C?ln:t==A?fn:Hs)(e)}function ms(e){return e?(e=ys(e))===d||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}function bs(e){var t=ms(e),n=t%1;return t==t?n?t-n:t:0}function vs(e){return e?ur(bs(e),0,m):0}function ys(e){if("number"==typeof e)return e;if(fs(e))return g;if(rs(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=rs(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=Kt(e);var n=be.test(e);return n||ye.test(e)?ct(e.slice(2),n?2:8):me.test(e)?g:+e}function ws(e){return Oi(e,Ls(e))}function xs(e){return null==e?"":fi(e)}var _s=Ri((function(e,t){if(Eo(t)||Ya(t))Oi(t,Rs(t),e);else for(var n in t)Ne.call(t,n)&&rr(e,n,t[n])})),Ss=Ri((function(e,t){Oi(t,Ls(t),e)})),ks=Ri((function(e,t,n,r){Oi(t,Ls(t),e,r)})),Cs=Ri((function(e,t,n,r){Oi(t,Rs(t),e,r)})),Es=io(lr);var Is=Qr((function(e,t){e=Ie(e);var n=-1,r=t.length,o=r>2?t[2]:i;for(o&&_o(t[0],t[1],o)&&(r=1);++n<r;)for(var a=t[n],s=Ls(a),l=-1,u=s.length;++l<u;){var c=s[l],f=e[c];(f===i||Ha(f,De[c])&&!Ne.call(e,c))&&(e[c]=a[c])}return e})),Ms=Qr((function(e){return e.push(i,to),Ct(js,i,e)}));function Ts(e,t,n){var r=null==e?i:Cr(e,t);return r===i?n:r}function As(e,t){return null!=e&&vo(e,t,Ar)}var Ps=Hi((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=ze.call(t)),e[t]=n}),rl(al)),Os=Hi((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=ze.call(t)),Ne.call(e,t)?e[t].push(n):e[t]=[n]}),co),Ds=Qr(Or);function Rs(e){return Ya(e)?Qn(e):Fr(e)}function Ls(e){return Ya(e)?Qn(e,!0):zr(e)}var Ns=Ri((function(e,t,n){Gr(e,t,n)})),js=Ri((function(e,t,n,r){Gr(e,t,n,r)})),Fs=io((function(e,t){var n={};if(null==e)return n;var r=!1;t=Dt(t,(function(t){return t=xi(t,e),r||(r=t.length>1),t})),Oi(e,ao(e),n),r&&(n=cr(n,7,no));for(var i=t.length;i--;)di(n,t[i]);return n}));var zs=io((function(e,t){return null==e?{}:function(e,t){return qr(e,t,(function(t,n){return As(e,n)}))}(e,t)}));function Bs(e,t){if(null==e)return{};var n=Dt(ao(e),(function(e){return[e]}));return t=co(t),qr(e,n,(function(e,n){return t(e,n[0])}))}var Vs=Qi(Rs),$s=Qi(Ls);function Hs(e){return null==e?[]:Qt(e,Rs(e))}var Gs=Fi((function(e,t,n){return t=t.toLowerCase(),e+(n?Ws(t):t)}));function Ws(e){return Js(xs(e).toLowerCase())}function Us(e){return(e=xs(e))&&e.replace(xe,rn).replace(Je,"")}var qs=Fi((function(e,t,n){return e+(n?"-":"")+t.toLowerCase()})),Xs=Fi((function(e,t,n){return e+(n?" ":"")+t.toLowerCase()})),Ys=ji("toLowerCase");var Ks=Fi((function(e,t,n){return e+(n?"_":"")+t.toLowerCase()}));var Zs=Fi((function(e,t,n){return e+(n?" ":"")+Js(t)}));var Qs=Fi((function(e,t,n){return e+(n?" ":"")+t.toUpperCase()})),Js=ji("toUpperCase");function el(e,t,n){return e=xs(e),(t=n?i:t)===i?function(e){return rt.test(e)}(e)?function(e){return e.match(tt)||[]}(e):function(e){return e.match(fe)||[]}(e):e.match(t)||[]}var tl=Qr((function(e,t){try{return Ct(e,i,t)}catch(e){return Ja(e)?e:new ke(e)}})),nl=io((function(e,t){return It(t,(function(t){t=Bo(t),sr(e,t,Oa(e[t],e))})),e}));function rl(e){return function(){return e}}var il=Vi(),ol=Vi(!0);function al(e){return e}function sl(e){return jr("function"==typeof e?e:cr(e,1))}var ll=Qr((function(e,t){return function(n){return Or(n,e,t)}})),ul=Qr((function(e,t){return function(n){return Or(e,n,t)}}));function cl(e,t,n){var r=Rs(t),i=kr(t,r);null!=n||rs(t)&&(i.length||!r.length)||(n=t,t=e,e=this,i=kr(t,Rs(t)));var o=!(rs(n)&&"chain"in n&&!n.chain),a=es(e);return It(i,(function(n){var r=t[n];e[n]=r,a&&(e.prototype[n]=function(){var t=this.__chain__;if(o||t){var n=e(this.__wrapped__),i=n.__actions__=Pi(this.__actions__);return i.push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,Rt([this.value()],arguments))})})),e}function fl(){}var hl=Wi(Dt),dl=Wi(Tt),pl=Wi(jt);function gl(e){return So(e)?Wt(Bo(e)):function(e){return function(t){return Cr(t,e)}}(e)}var ml=qi(),bl=qi(!0);function vl(){return[]}function yl(){return!1}var wl=Gi((function(e,t){return e+t}),0),xl=Ki("ceil"),_l=Gi((function(e,t){return e/t}),1),Sl=Ki("floor");var kl,Cl=Gi((function(e,t){return e*t}),1),El=Ki("round"),Il=Gi((function(e,t){return e-t}),0);return $n.after=function(e,t){if("function"!=typeof t)throw new Ae(o);return e=bs(e),function(){if(--e<1)return t.apply(this,arguments)}},$n.ary=Aa,$n.assign=_s,$n.assignIn=Ss,$n.assignInWith=ks,$n.assignWith=Cs,$n.at=Es,$n.before=Pa,$n.bind=Oa,$n.bindAll=nl,$n.bindKey=Da,$n.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return qa(e)?e:[e]},$n.chain=ga,$n.chunk=function(e,t,n){t=(n?_o(e,t,n):t===i)?1:wn(bs(t),0);var o=null==e?0:e.length;if(!o||t<1)return[];for(var a=0,s=0,l=r(gt(o/t));a<o;)l[s++]=oi(e,a,a+=t);return l},$n.compact=function(e){for(var t=-1,n=null==e?0:e.length,r=0,i=[];++t<n;){var o=e[t];o&&(i[r++]=o)}return i},$n.concat=function(){var e=arguments.length;if(!e)return[];for(var t=r(e-1),n=arguments[0],i=e;i--;)t[i-1]=arguments[i];return Rt(qa(n)?Pi(n):[n],yr(t,1))},$n.cond=function(e){var t=null==e?0:e.length,n=co();return e=t?Dt(e,(function(e){if("function"!=typeof e[1])throw new Ae(o);return[n(e[0]),e[1]]})):[],Qr((function(n){for(var r=-1;++r<t;){var i=e[r];if(Ct(i[0],this,n))return Ct(i[1],this,n)}}))},$n.conforms=function(e){return function(e){var t=Rs(e);return function(n){return fr(n,e,t)}}(cr(e,1))},$n.constant=rl,$n.countBy=va,$n.create=function(e,t){var n=Hn(e);return null==t?n:ar(n,t)},$n.curry=function e(t,n,r){var o=Ji(t,8,i,i,i,i,i,n=r?i:n);return o.placeholder=e.placeholder,o},$n.curryRight=function e(t,n,r){var o=Ji(t,l,i,i,i,i,i,n=r?i:n);return o.placeholder=e.placeholder,o},$n.debounce=Ra,$n.defaults=Is,$n.defaultsDeep=Ms,$n.defer=La,$n.delay=Na,$n.difference=Ho,$n.differenceBy=Go,$n.differenceWith=Wo,$n.drop=function(e,t,n){var r=null==e?0:e.length;return r?oi(e,(t=n||t===i?1:bs(t))<0?0:t,r):[]},$n.dropRight=function(e,t,n){var r=null==e?0:e.length;return r?oi(e,0,(t=r-(t=n||t===i?1:bs(t)))<0?0:t):[]},$n.dropRightWhile=function(e,t){return e&&e.length?gi(e,co(t,3),!0,!0):[]},$n.dropWhile=function(e,t){return e&&e.length?gi(e,co(t,3),!0):[]},$n.fill=function(e,t,n,r){var o=null==e?0:e.length;return o?(n&&"number"!=typeof n&&_o(e,t,n)&&(n=0,r=o),function(e,t,n,r){var o=e.length;for((n=bs(n))<0&&(n=-n>o?0:o+n),(r=r===i||r>o?o:bs(r))<0&&(r+=o),r=n>r?0:vs(r);n<r;)e[n++]=t;return e}(e,t,n,r)):[]},$n.filter=function(e,t){return(qa(e)?At:vr)(e,co(t,3))},$n.flatMap=function(e,t){return yr(Ea(e,t),1)},$n.flatMapDeep=function(e,t){return yr(Ea(e,t),d)},$n.flatMapDepth=function(e,t,n){return n=n===i?1:bs(n),yr(Ea(e,t),n)},$n.flatten=Xo,$n.flattenDeep=function(e){return(null==e?0:e.length)?yr(e,d):[]},$n.flattenDepth=function(e,t){return(null==e?0:e.length)?yr(e,t=t===i?1:bs(t)):[]},$n.flip=function(e){return Ji(e,512)},$n.flow=il,$n.flowRight=ol,$n.fromPairs=function(e){for(var t=-1,n=null==e?0:e.length,r={};++t<n;){var i=e[t];r[i[0]]=i[1]}return r},$n.functions=function(e){return null==e?[]:kr(e,Rs(e))},$n.functionsIn=function(e){return null==e?[]:kr(e,Ls(e))},$n.groupBy=Sa,$n.initial=function(e){return(null==e?0:e.length)?oi(e,0,-1):[]},$n.intersection=Ko,$n.intersectionBy=Zo,$n.intersectionWith=Qo,$n.invert=Ps,$n.invertBy=Os,$n.invokeMap=ka,$n.iteratee=sl,$n.keyBy=Ca,$n.keys=Rs,$n.keysIn=Ls,$n.map=Ea,$n.mapKeys=function(e,t){var n={};return t=co(t,3),_r(e,(function(e,r,i){sr(n,t(e,r,i),e)})),n},$n.mapValues=function(e,t){var n={};return t=co(t,3),_r(e,(function(e,r,i){sr(n,r,t(e,r,i))})),n},$n.matches=function(e){return $r(cr(e,1))},$n.matchesProperty=function(e,t){return Hr(e,cr(t,1))},$n.memoize=ja,$n.merge=Ns,$n.mergeWith=js,$n.method=ll,$n.methodOf=ul,$n.mixin=cl,$n.negate=Fa,$n.nthArg=function(e){return e=bs(e),Qr((function(t){return Wr(t,e)}))},$n.omit=Fs,$n.omitBy=function(e,t){return Bs(e,Fa(co(t)))},$n.once=function(e){return Pa(2,e)},$n.orderBy=function(e,t,n,r){return null==e?[]:(qa(t)||(t=null==t?[]:[t]),qa(n=r?i:n)||(n=null==n?[]:[n]),Ur(e,t,n))},$n.over=hl,$n.overArgs=za,$n.overEvery=dl,$n.overSome=pl,$n.partial=Ba,$n.partialRight=Va,$n.partition=Ia,$n.pick=zs,$n.pickBy=Bs,$n.property=gl,$n.propertyOf=function(e){return function(t){return null==e?i:Cr(e,t)}},$n.pull=ea,$n.pullAll=ta,$n.pullAllBy=function(e,t,n){return e&&e.length&&t&&t.length?Xr(e,t,co(n,2)):e},$n.pullAllWith=function(e,t,n){return e&&e.length&&t&&t.length?Xr(e,t,i,n):e},$n.pullAt=na,$n.range=ml,$n.rangeRight=bl,$n.rearg=$a,$n.reject=function(e,t){return(qa(e)?At:vr)(e,Fa(co(t,3)))},$n.remove=function(e,t){var n=[];if(!e||!e.length)return n;var r=-1,i=[],o=e.length;for(t=co(t,3);++r<o;){var a=e[r];t(a,r,e)&&(n.push(a),i.push(r))}return Yr(e,i),n},$n.rest=function(e,t){if("function"!=typeof e)throw new Ae(o);return Qr(e,t=t===i?t:bs(t))},$n.reverse=ra,$n.sampleSize=function(e,t,n){return t=(n?_o(e,t,n):t===i)?1:bs(t),(qa(e)?er:ei)(e,t)},$n.set=function(e,t,n){return null==e?e:ti(e,t,n)},$n.setWith=function(e,t,n,r){return r="function"==typeof r?r:i,null==e?e:ti(e,t,n,r)},$n.shuffle=function(e){return(qa(e)?tr:ii)(e)},$n.slice=function(e,t,n){var r=null==e?0:e.length;return r?(n&&"number"!=typeof n&&_o(e,t,n)?(t=0,n=r):(t=null==t?0:bs(t),n=n===i?r:bs(n)),oi(e,t,n)):[]},$n.sortBy=Ma,$n.sortedUniq=function(e){return e&&e.length?ui(e):[]},$n.sortedUniqBy=function(e,t){return e&&e.length?ui(e,co(t,2)):[]},$n.split=function(e,t,n){return n&&"number"!=typeof n&&_o(e,t,n)&&(t=n=i),(n=n===i?m:n>>>0)?(e=xs(e))&&("string"==typeof t||null!=t&&!ls(t))&&!(t=fi(t))&&sn(e)?Si(pn(e),0,n):e.split(t,n):[]},$n.spread=function(e,t){if("function"!=typeof e)throw new Ae(o);return t=null==t?0:wn(bs(t),0),Qr((function(n){var r=n[t],i=Si(n,0,t);return r&&Rt(i,r),Ct(e,this,i)}))},$n.tail=function(e){var t=null==e?0:e.length;return t?oi(e,1,t):[]},$n.take=function(e,t,n){return e&&e.length?oi(e,0,(t=n||t===i?1:bs(t))<0?0:t):[]},$n.takeRight=function(e,t,n){var r=null==e?0:e.length;return r?oi(e,(t=r-(t=n||t===i?1:bs(t)))<0?0:t,r):[]},$n.takeRightWhile=function(e,t){return e&&e.length?gi(e,co(t,3),!1,!0):[]},$n.takeWhile=function(e,t){return e&&e.length?gi(e,co(t,3)):[]},$n.tap=function(e,t){return t(e),e},$n.throttle=function(e,t,n){var r=!0,i=!0;if("function"!=typeof e)throw new Ae(o);return rs(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),Ra(e,t,{leading:r,maxWait:t,trailing:i})},$n.thru=ma,$n.toArray=gs,$n.toPairs=Vs,$n.toPairsIn=$s,$n.toPath=function(e){return qa(e)?Dt(e,Bo):fs(e)?[e]:Pi(zo(xs(e)))},$n.toPlainObject=ws,$n.transform=function(e,t,n){var r=qa(e),i=r||Za(e)||hs(e);if(t=co(t,4),null==n){var o=e&&e.constructor;n=i?r?new o:[]:rs(e)&&es(o)?Hn(qe(e)):{}}return(i?It:_r)(e,(function(e,r,i){return t(n,e,r,i)})),n},$n.unary=function(e){return Aa(e,1)},$n.union=ia,$n.unionBy=oa,$n.unionWith=aa,$n.uniq=function(e){return e&&e.length?hi(e):[]},$n.uniqBy=function(e,t){return e&&e.length?hi(e,co(t,2)):[]},$n.uniqWith=function(e,t){return t="function"==typeof t?t:i,e&&e.length?hi(e,i,t):[]},$n.unset=function(e,t){return null==e||di(e,t)},$n.unzip=sa,$n.unzipWith=la,$n.update=function(e,t,n){return null==e?e:pi(e,t,wi(n))},$n.updateWith=function(e,t,n,r){return r="function"==typeof r?r:i,null==e?e:pi(e,t,wi(n),r)},$n.values=Hs,$n.valuesIn=function(e){return null==e?[]:Qt(e,Ls(e))},$n.without=ua,$n.words=el,$n.wrap=function(e,t){return Ba(wi(t),e)},$n.xor=ca,$n.xorBy=fa,$n.xorWith=ha,$n.zip=da,$n.zipObject=function(e,t){return vi(e||[],t||[],rr)},$n.zipObjectDeep=function(e,t){return vi(e||[],t||[],ti)},$n.zipWith=pa,$n.entries=Vs,$n.entriesIn=$s,$n.extend=Ss,$n.extendWith=ks,cl($n,$n),$n.add=wl,$n.attempt=tl,$n.camelCase=Gs,$n.capitalize=Ws,$n.ceil=xl,$n.clamp=function(e,t,n){return n===i&&(n=t,t=i),n!==i&&(n=(n=ys(n))==n?n:0),t!==i&&(t=(t=ys(t))==t?t:0),ur(ys(e),t,n)},$n.clone=function(e){return cr(e,4)},$n.cloneDeep=function(e){return cr(e,5)},$n.cloneDeepWith=function(e,t){return cr(e,5,t="function"==typeof t?t:i)},$n.cloneWith=function(e,t){return cr(e,4,t="function"==typeof t?t:i)},$n.conformsTo=function(e,t){return null==t||fr(e,t,Rs(t))},$n.deburr=Us,$n.defaultTo=function(e,t){return null==e||e!=e?t:e},$n.divide=_l,$n.endsWith=function(e,t,n){e=xs(e),t=fi(t);var r=e.length,o=n=n===i?r:ur(bs(n),0,r);return(n-=t.length)>=0&&e.slice(n,o)==t},$n.eq=Ha,$n.escape=function(e){return(e=xs(e))&&Z.test(e)?e.replace(Y,on):e},$n.escapeRegExp=function(e){return(e=xs(e))&&oe.test(e)?e.replace(ie,"\\$&"):e},$n.every=function(e,t,n){var r=qa(e)?Tt:mr;return n&&_o(e,t,n)&&(t=i),r(e,co(t,3))},$n.find=ya,$n.findIndex=Uo,$n.findKey=function(e,t){return zt(e,co(t,3),_r)},$n.findLast=wa,$n.findLastIndex=qo,$n.findLastKey=function(e,t){return zt(e,co(t,3),Sr)},$n.floor=Sl,$n.forEach=xa,$n.forEachRight=_a,$n.forIn=function(e,t){return null==e?e:wr(e,co(t,3),Ls)},$n.forInRight=function(e,t){return null==e?e:xr(e,co(t,3),Ls)},$n.forOwn=function(e,t){return e&&_r(e,co(t,3))},$n.forOwnRight=function(e,t){return e&&Sr(e,co(t,3))},$n.get=Ts,$n.gt=Ga,$n.gte=Wa,$n.has=function(e,t){return null!=e&&vo(e,t,Tr)},$n.hasIn=As,$n.head=Yo,$n.identity=al,$n.includes=function(e,t,n,r){e=Ya(e)?e:Hs(e),n=n&&!r?bs(n):0;var i=e.length;return n<0&&(n=wn(i+n,0)),cs(e)?n<=i&&e.indexOf(t,n)>-1:!!i&&Vt(e,t,n)>-1},$n.indexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=null==n?0:bs(n);return i<0&&(i=wn(r+i,0)),Vt(e,t,i)},$n.inRange=function(e,t,n){return t=ms(t),n===i?(n=t,t=0):n=ms(n),function(e,t,n){return e>=xn(t,n)&&e<wn(t,n)}(e=ys(e),t,n)},$n.invoke=Ds,$n.isArguments=Ua,$n.isArray=qa,$n.isArrayBuffer=Xa,$n.isArrayLike=Ya,$n.isArrayLikeObject=Ka,$n.isBoolean=function(e){return!0===e||!1===e||is(e)&&Ir(e)==w},$n.isBuffer=Za,$n.isDate=Qa,$n.isElement=function(e){return is(e)&&1===e.nodeType&&!ss(e)},$n.isEmpty=function(e){if(null==e)return!0;if(Ya(e)&&(qa(e)||"string"==typeof e||"function"==typeof e.splice||Za(e)||hs(e)||Ua(e)))return!e.length;var t=bo(e);if(t==C||t==A)return!e.size;if(Eo(e))return!Fr(e).length;for(var n in e)if(Ne.call(e,n))return!1;return!0},$n.isEqual=function(e,t){return Rr(e,t)},$n.isEqualWith=function(e,t,n){var r=(n="function"==typeof n?n:i)?n(e,t):i;return r===i?Rr(e,t,i,n):!!r},$n.isError=Ja,$n.isFinite=function(e){return"number"==typeof e&&Ut(e)},$n.isFunction=es,$n.isInteger=ts,$n.isLength=ns,$n.isMap=os,$n.isMatch=function(e,t){return e===t||Lr(e,t,ho(t))},$n.isMatchWith=function(e,t,n){return n="function"==typeof n?n:i,Lr(e,t,ho(t),n)},$n.isNaN=function(e){return as(e)&&e!=+e},$n.isNative=function(e){if(Co(e))throw new ke("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return Nr(e)},$n.isNil=function(e){return null==e},$n.isNull=function(e){return null===e},$n.isNumber=as,$n.isObject=rs,$n.isObjectLike=is,$n.isPlainObject=ss,$n.isRegExp=ls,$n.isSafeInteger=function(e){return ts(e)&&e>=-9007199254740991&&e<=p},$n.isSet=us,$n.isString=cs,$n.isSymbol=fs,$n.isTypedArray=hs,$n.isUndefined=function(e){return e===i},$n.isWeakMap=function(e){return is(e)&&bo(e)==D},$n.isWeakSet=function(e){return is(e)&&"[object WeakSet]"==Ir(e)},$n.join=function(e,t){return null==e?"":vn.call(e,t)},$n.kebabCase=qs,$n.last=Jo,$n.lastIndexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=r;return n!==i&&(o=(o=bs(n))<0?wn(r+o,0):xn(o,r-1)),t==t?function(e,t,n){for(var r=n+1;r--;)if(e[r]===t)return r;return r}(e,t,o):Bt(e,Ht,o,!0)},$n.lowerCase=Xs,$n.lowerFirst=Ys,$n.lt=ds,$n.lte=ps,$n.max=function(e){return e&&e.length?br(e,al,Mr):i},$n.maxBy=function(e,t){return e&&e.length?br(e,co(t,2),Mr):i},$n.mean=function(e){return Gt(e,al)},$n.meanBy=function(e,t){return Gt(e,co(t,2))},$n.min=function(e){return e&&e.length?br(e,al,Br):i},$n.minBy=function(e,t){return e&&e.length?br(e,co(t,2),Br):i},$n.stubArray=vl,$n.stubFalse=yl,$n.stubObject=function(){return{}},$n.stubString=function(){return""},$n.stubTrue=function(){return!0},$n.multiply=Cl,$n.nth=function(e,t){return e&&e.length?Wr(e,bs(t)):i},$n.noConflict=function(){return dt._===this&&(dt._=Ve),this},$n.noop=fl,$n.now=Ta,$n.pad=function(e,t,n){e=xs(e);var r=(t=bs(t))?dn(e):0;if(!t||r>=t)return e;var i=(t-r)/2;return Ui(bt(i),n)+e+Ui(gt(i),n)},$n.padEnd=function(e,t,n){e=xs(e);var r=(t=bs(t))?dn(e):0;return t&&r<t?e+Ui(t-r,n):e},$n.padStart=function(e,t,n){e=xs(e);var r=(t=bs(t))?dn(e):0;return t&&r<t?Ui(t-r,n)+e:e},$n.parseInt=function(e,t,n){return n||null==t?t=0:t&&(t=+t),Sn(xs(e).replace(ae,""),t||0)},$n.random=function(e,t,n){if(n&&"boolean"!=typeof n&&_o(e,t,n)&&(t=n=i),n===i&&("boolean"==typeof t?(n=t,t=i):"boolean"==typeof e&&(n=e,e=i)),e===i&&t===i?(e=0,t=1):(e=ms(e),t===i?(t=e,e=0):t=ms(t)),e>t){var r=e;e=t,t=r}if(n||e%1||t%1){var o=kn();return xn(e+o*(t-e+ut("1e-"+((o+"").length-1))),t)}return Kr(e,t)},$n.reduce=function(e,t,n){var r=qa(e)?Lt:qt,i=arguments.length<3;return r(e,co(t,4),n,i,pr)},$n.reduceRight=function(e,t,n){var r=qa(e)?Nt:qt,i=arguments.length<3;return r(e,co(t,4),n,i,gr)},$n.repeat=function(e,t,n){return t=(n?_o(e,t,n):t===i)?1:bs(t),Zr(xs(e),t)},$n.replace=function(){var e=arguments,t=xs(e[0]);return e.length<3?t:t.replace(e[1],e[2])},$n.result=function(e,t,n){var r=-1,o=(t=xi(t,e)).length;for(o||(o=1,e=i);++r<o;){var a=null==e?i:e[Bo(t[r])];a===i&&(r=o,a=n),e=es(a)?a.call(e):a}return e},$n.round=El,$n.runInContext=e,$n.sample=function(e){return(qa(e)?Jn:Jr)(e)},$n.size=function(e){if(null==e)return 0;if(Ya(e))return cs(e)?dn(e):e.length;var t=bo(e);return t==C||t==A?e.size:Fr(e).length},$n.snakeCase=Ks,$n.some=function(e,t,n){var r=qa(e)?jt:ai;return n&&_o(e,t,n)&&(t=i),r(e,co(t,3))},$n.sortedIndex=function(e,t){return si(e,t)},$n.sortedIndexBy=function(e,t,n){return li(e,t,co(n,2))},$n.sortedIndexOf=function(e,t){var n=null==e?0:e.length;if(n){var r=si(e,t);if(r<n&&Ha(e[r],t))return r}return-1},$n.sortedLastIndex=function(e,t){return si(e,t,!0)},$n.sortedLastIndexBy=function(e,t,n){return li(e,t,co(n,2),!0)},$n.sortedLastIndexOf=function(e,t){if(null==e?0:e.length){var n=si(e,t,!0)-1;if(Ha(e[n],t))return n}return-1},$n.startCase=Zs,$n.startsWith=function(e,t,n){return e=xs(e),n=null==n?0:ur(bs(n),0,e.length),t=fi(t),e.slice(n,n+t.length)==t},$n.subtract=Il,$n.sum=function(e){return e&&e.length?Xt(e,al):0},$n.sumBy=function(e,t){return e&&e.length?Xt(e,co(t,2)):0},$n.template=function(e,t,n){var r=$n.templateSettings;n&&_o(e,t,n)&&(t=i),e=xs(e),t=ks({},t,r,eo);var o,a,s=ks({},t.imports,r.imports,eo),l=Rs(s),u=Qt(s,l),c=0,f=t.interpolate||_e,h="__p += '",d=Me((t.escape||_e).source+"|"+f.source+"|"+(f===ee?pe:_e).source+"|"+(t.evaluate||_e).source+"|$","g"),p="//# sourceURL="+(Ne.call(t,"sourceURL")?(t.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++ot+"]")+"\n";e.replace(d,(function(t,n,r,i,s,l){return r||(r=i),h+=e.slice(c,l).replace(Se,an),n&&(o=!0,h+="' +\n__e("+n+") +\n'"),s&&(a=!0,h+="';\n"+s+";\n__p += '"),r&&(h+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),c=l+t.length,t})),h+="';\n";var g=Ne.call(t,"variable")&&t.variable;if(g){if(he.test(g))throw new ke("Invalid `variable` option passed into `_.template`")}else h="with (obj) {\n"+h+"\n}\n";h=(a?h.replace(W,""):h).replace(U,"$1").replace(q,"$1;"),h="function("+(g||"obj")+") {\n"+(g?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(o?", __e = _.escape":"")+(a?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+h+"return __p\n}";var m=tl((function(){return Ce(l,p+"return "+h).apply(i,u)}));if(m.source=h,Ja(m))throw m;return m},$n.times=function(e,t){if((e=bs(e))<1||e>p)return[];var n=m,r=xn(e,m);t=co(t),e-=m;for(var i=Yt(r,t);++n<e;)t(n);return i},$n.toFinite=ms,$n.toInteger=bs,$n.toLength=vs,$n.toLower=function(e){return xs(e).toLowerCase()},$n.toNumber=ys,$n.toSafeInteger=function(e){return e?ur(bs(e),-9007199254740991,p):0===e?e:0},$n.toString=xs,$n.toUpper=function(e){return xs(e).toUpperCase()},$n.trim=function(e,t,n){if((e=xs(e))&&(n||t===i))return Kt(e);if(!e||!(t=fi(t)))return e;var r=pn(e),o=pn(t);return Si(r,en(r,o),tn(r,o)+1).join("")},$n.trimEnd=function(e,t,n){if((e=xs(e))&&(n||t===i))return e.slice(0,gn(e)+1);if(!e||!(t=fi(t)))return e;var r=pn(e);return Si(r,0,tn(r,pn(t))+1).join("")},$n.trimStart=function(e,t,n){if((e=xs(e))&&(n||t===i))return e.replace(ae,"");if(!e||!(t=fi(t)))return e;var r=pn(e);return Si(r,en(r,pn(t))).join("")},$n.truncate=function(e,t){var n=30,r="...";if(rs(t)){var o="separator"in t?t.separator:o;n="length"in t?bs(t.length):n,r="omission"in t?fi(t.omission):r}var a=(e=xs(e)).length;if(sn(e)){var s=pn(e);a=s.length}if(n>=a)return e;var l=n-dn(r);if(l<1)return r;var u=s?Si(s,0,l).join(""):e.slice(0,l);if(o===i)return u+r;if(s&&(l+=u.length-l),ls(o)){if(e.slice(l).search(o)){var c,f=u;for(o.global||(o=Me(o.source,xs(ge.exec(o))+"g")),o.lastIndex=0;c=o.exec(f);)var h=c.index;u=u.slice(0,h===i?l:h)}}else if(e.indexOf(fi(o),l)!=l){var d=u.lastIndexOf(o);d>-1&&(u=u.slice(0,d))}return u+r},$n.unescape=function(e){return(e=xs(e))&&K.test(e)?e.replace(X,mn):e},$n.uniqueId=function(e){var t=++je;return xs(e)+t},$n.upperCase=Qs,$n.upperFirst=Js,$n.each=xa,$n.eachRight=_a,$n.first=Yo,cl($n,(kl={},_r($n,(function(e,t){Ne.call($n.prototype,t)||(kl[t]=e)})),kl),{chain:!1}),$n.VERSION="4.17.21",It(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){$n[e].placeholder=$n})),It(["drop","take"],(function(e,t){Un.prototype[e]=function(n){n=n===i?1:wn(bs(n),0);var r=this.__filtered__&&!t?new Un(this):this.clone();return r.__filtered__?r.__takeCount__=xn(n,r.__takeCount__):r.__views__.push({size:xn(n,m),type:e+(r.__dir__<0?"Right":"")}),r},Un.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}})),It(["filter","map","takeWhile"],(function(e,t){var n=t+1,r=1==n||3==n;Un.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:co(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}})),It(["head","last"],(function(e,t){var n="take"+(t?"Right":"");Un.prototype[e]=function(){return this[n](1).value()[0]}})),It(["initial","tail"],(function(e,t){var n="drop"+(t?"":"Right");Un.prototype[e]=function(){return this.__filtered__?new Un(this):this[n](1)}})),Un.prototype.compact=function(){return this.filter(al)},Un.prototype.find=function(e){return this.filter(e).head()},Un.prototype.findLast=function(e){return this.reverse().find(e)},Un.prototype.invokeMap=Qr((function(e,t){return"function"==typeof e?new Un(this):this.map((function(n){return Or(n,e,t)}))})),Un.prototype.reject=function(e){return this.filter(Fa(co(e)))},Un.prototype.slice=function(e,t){e=bs(e);var n=this;return n.__filtered__&&(e>0||t<0)?new Un(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),t!==i&&(n=(t=bs(t))<0?n.dropRight(-t):n.take(t-e)),n)},Un.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},Un.prototype.toArray=function(){return this.take(m)},_r(Un.prototype,(function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),r=/^(?:head|last)$/.test(t),o=$n[r?"take"+("last"==t?"Right":""):t],a=r||/^find/.test(t);o&&($n.prototype[t]=function(){var t=this.__wrapped__,s=r?[1]:arguments,l=t instanceof Un,u=s[0],c=l||qa(t),f=function(e){var t=o.apply($n,Rt([e],s));return r&&h?t[0]:t};c&&n&&"function"==typeof u&&1!=u.length&&(l=c=!1);var h=this.__chain__,d=!!this.__actions__.length,p=a&&!h,g=l&&!d;if(!a&&c){t=g?t:new Un(this);var m=e.apply(t,s);return m.__actions__.push({func:ma,args:[f],thisArg:i}),new Wn(m,h)}return p&&g?e.apply(this,s):(m=this.thru(f),p?r?m.value()[0]:m.value():m)})})),It(["pop","push","shift","sort","splice","unshift"],(function(e){var t=Pe[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",r=/^(?:pop|shift)$/.test(e);$n.prototype[e]=function(){var e=arguments;if(r&&!this.__chain__){var i=this.value();return t.apply(qa(i)?i:[],e)}return this[n]((function(n){return t.apply(qa(n)?n:[],e)}))}})),_r(Un.prototype,(function(e,t){var n=$n[t];if(n){var r=n.name+"";Ne.call(Dn,r)||(Dn[r]=[]),Dn[r].push({name:t,func:n})}})),Dn[$i(i,2).name]=[{name:"wrapper",func:i}],Un.prototype.clone=function(){var e=new Un(this.__wrapped__);return e.__actions__=Pi(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=Pi(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=Pi(this.__views__),e},Un.prototype.reverse=function(){if(this.__filtered__){var e=new Un(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},Un.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=qa(e),r=t<0,i=n?e.length:0,o=function(e,t,n){var r=-1,i=n.length;for(;++r<i;){var o=n[r],a=o.size;switch(o.type){case"drop":e+=a;break;case"dropRight":t-=a;break;case"take":t=xn(t,e+a);break;case"takeRight":e=wn(e,t-a)}}return{start:e,end:t}}(0,i,this.__views__),a=o.start,s=o.end,l=s-a,u=r?s:a-1,c=this.__iteratees__,f=c.length,h=0,d=xn(l,this.__takeCount__);if(!n||!r&&i==l&&d==l)return mi(e,this.__actions__);var p=[];e:for(;l--&&h<d;){for(var g=-1,m=e[u+=t];++g<f;){var b=c[g],v=b.iteratee,y=b.type,w=v(m);if(2==y)m=w;else if(!w){if(1==y)continue e;break e}}p[h++]=m}return p},$n.prototype.at=ba,$n.prototype.chain=function(){return ga(this)},$n.prototype.commit=function(){return new Wn(this.value(),this.__chain__)},$n.prototype.next=function(){this.__values__===i&&(this.__values__=gs(this.value()));var e=this.__index__>=this.__values__.length;return{done:e,value:e?i:this.__values__[this.__index__++]}},$n.prototype.plant=function(e){for(var t,n=this;n instanceof Gn;){var r=$o(n);r.__index__=0,r.__values__=i,t?o.__wrapped__=r:t=r;var o=r;n=n.__wrapped__}return o.__wrapped__=e,t},$n.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof Un){var t=e;return this.__actions__.length&&(t=new Un(this)),(t=t.reverse()).__actions__.push({func:ma,args:[ra],thisArg:i}),new Wn(t,this.__chain__)}return this.thru(ra)},$n.prototype.toJSON=$n.prototype.valueOf=$n.prototype.value=function(){return mi(this.__wrapped__,this.__actions__)},$n.prototype.first=$n.prototype.head,et&&($n.prototype[et]=function(){return this}),$n}();dt._=bn,(r=function(){return bn}.call(t,n,t,e))===i||(e.exports=r)}.call(this)},8089:e=>{"use strict";const t=e=>"object"==typeof e&&null!==e,n=Symbol("skip"),r=e=>t(e)&&!(e instanceof RegExp)&&!(e instanceof Error)&&!(e instanceof Date),i=(e,t,o,a=new WeakMap)=>{if(o={deep:!1,target:{},...o},a.has(e))return a.get(e);a.set(e,o.target);const{target:s}=o;delete o.target;const l=e=>e.map((e=>r(e)?i(e,t,o,a):e));if(Array.isArray(e))return l(e);for(const[u,c]of Object.entries(e)){const f=t(u,c,e);if(f===n)continue;let[h,d,{shouldRecurse:p=!0}={}]=f;"__proto__"!==h&&(o.deep&&p&&r(d)&&(d=Array.isArray(d)?l(d):i(d,t,o,a)),s[h]=d)}return s};e.exports=(e,n,r)=>{if(!t(e))throw new TypeError(`Expected an object, got \`${e}\` (${typeof e})`);return i(e,n,r)},e.exports.mapObjectSkip=n},1979:e=>{"use strict";var t;e.exports=function(e){var n,r="&"+e+";";if((t=t||document.createElement("i")).innerHTML=r,59===(n=t.textContent).charCodeAt(n.length-1)&&"semi"!==e)return!1;return n!==r&&n}},9632:(e,t,n)=>{"use strict";var r=n(2719),i=n(1257),o=n(2899),a=n(1711),s=n(4934),l=n(1979);e.exports=function(e,t){var n,o,a={};t||(t={});for(o in h)n=t[o],a[o]=null==n?h[o]:n;(a.position.indent||a.position.start)&&(a.indent=a.position.indent||[],a.position=a.position.start);return function(e,t){var n,o,a,h,x,_,S,k,C,E,I,M,T,A,P,O,D,R,L,N=t.additional,j=t.nonTerminated,F=t.text,z=t.reference,B=t.warning,V=t.textContext,$=t.referenceContext,H=t.warningContext,G=t.position,W=t.indent||[],U=e.length,q=0,X=-1,Y=G.column||1,K=G.line||1,Z="",Q=[];"string"==typeof N&&(N=N.charCodeAt(0));O=J(),k=B?ee:f,q--,U++;for(;++q<U;)if(10===x&&(Y=W[X]||1),38===(x=e.charCodeAt(q))){if(9===(S=e.charCodeAt(q+1))||10===S||12===S||32===S||38===S||60===S||S!=S||N&&S===N){Z+=c(x),Y++;continue}for(M=T=q+1,L=T,35===S?(L=++M,88===(S=e.charCodeAt(L))||120===S?(A=p,L=++M):A=g):A=d,n="",I="",h="",P=b[A],L--;++L<U&&P(S=e.charCodeAt(L));)h+=c(S),A===d&&u.call(r,h)&&(n=h,I=r[h]);(a=59===e.charCodeAt(L))&&(L++,(o=A===d&&l(h))&&(n=h,I=o)),R=1+L-T,(a||j)&&(h?A===d?(a&&!I?k(5,1):(n!==h&&(R=1+(L=M+n.length)-M,a=!1),a||(C=n?1:3,t.attribute?61===(S=e.charCodeAt(L))?(k(C,R),I=null):s(S)?I=null:k(C,R):k(C,R))),_=I):(a||k(2,R),y(_=parseInt(h,m[A]))?(k(7,R),_=c(65533)):_ in i?(k(6,R),_=i[_]):(E="",w(_)&&k(6,R),_>65535&&(E+=c((_-=65536)>>>10|55296),_=56320|1023&_),_=E+c(_))):A!==d&&k(4,R)),_?(te(),O=J(),q=L-1,Y+=L-T+1,Q.push(_),(D=J()).offset++,z&&z.call($,_,{start:O,end:D},e.slice(T-1,L)),O=D):(h=e.slice(T-1,L),Z+=h,Y+=h.length,q=L-1)}else 10===x&&(K++,X++,Y=0),x==x?(Z+=c(x),Y++):te();return Q.join("");function J(){return{line:K,column:Y,offset:q+(G.offset||0)}}function ee(e,t){var n=J();n.column+=t,n.offset+=t,B.call(H,v[e],n,e)}function te(){Z&&(Q.push(Z),F&&F.call(V,Z,{start:O,end:J()}),Z="")}}(e,a)};var u={}.hasOwnProperty,c=String.fromCharCode,f=Function.prototype,h={warning:null,reference:null,text:null,warningContext:null,referenceContext:null,textContext:null,position:{},additional:null,attribute:!1,nonTerminated:!0},d="named",p="hexadecimal",g="decimal",m={hexadecimal:16,decimal:10},b={};b.named=s,b[g]=o,b[p]=a;var v={};function y(e){return e>=55296&&e<=57343||e>1114111}function w(e){return e>=1&&e<=8||11===e||e>=13&&e<=31||e>=127&&e<=159||e>=64976&&e<=65007||65535==(65535&e)||65534==(65535&e)}v[1]="Named character references must be terminated by a semicolon",v[2]="Numeric character references must be terminated by a semicolon",v[3]="Named character references cannot be empty",v[4]="Numeric character references cannot be empty",v[5]="Named character references must be known",v[6]="Numeric character references cannot be disallowed",v[7]="Numeric character references cannot be outside the permissible Unicode range"},2694:(e,t,n)=>{"use strict";var r=n(6925);function i(){}function o(){}o.resetWarningCache=i,e.exports=function(){function e(e,t,n,i,o,a){if(a!==r){var s=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 s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:i};return n.PropTypes=n,n}},5556:(e,t,n)=>{e.exports=n(2694)()},6925:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},7392:e=>{"use strict";class t{constructor(e={}){if(!(e.maxSize&&e.maxSize>0))throw new TypeError("`maxSize` must be a number greater than 0");this.maxSize=e.maxSize,this.onEviction=e.onEviction,this.cache=new Map,this.oldCache=new Map,this._size=0}_set(e,t){if(this.cache.set(e,t),this._size++,this._size>=this.maxSize){if(this._size=0,"function"==typeof this.onEviction)for(const[e,t]of this.oldCache.entries())this.onEviction(e,t);this.oldCache=this.cache,this.cache=new Map}}get(e){if(this.cache.has(e))return this.cache.get(e);if(this.oldCache.has(e)){const t=this.oldCache.get(e);return this.oldCache.delete(e),this._set(e,t),t}}set(e,t){return this.cache.has(e)?this.cache.set(e,t):this._set(e,t),this}has(e){return this.cache.has(e)||this.oldCache.has(e)}peek(e){return this.cache.has(e)?this.cache.get(e):this.oldCache.has(e)?this.oldCache.get(e):void 0}delete(e){const t=this.cache.delete(e);return t&&this._size--,this.oldCache.delete(e)||t}clear(){this.cache.clear(),this.oldCache.clear(),this._size=0}*keys(){for(const[e]of this)yield e}*values(){for(const[,e]of this)yield e}*[Symbol.iterator](){for(const e of this.cache)yield e;for(const e of this.oldCache){const[t]=e;this.cache.has(t)||(yield e)}}get size(){let e=0;for(const t of this.oldCache.keys())this.cache.has(t)||e++;return Math.min(this._size+e,this.maxSize)}}e.exports=t},2551:(e,t,n)=>{"use strict";var r=n(6540),i=n(9982);function o(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var a=new Set,s={};function l(e,t){u(e,t),u(e+"Capture",t)}function u(e,t){for(s[e]=t,e=0;e<t.length;e++)a.add(t[e])}var c=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),f=Object.prototype.hasOwnProperty,h=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,d={},p={};function g(e,t,n,r,i,o,a){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=a}var m={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){m[e]=new g(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];m[t]=new g(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){m[e]=new g(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){m[e]=new g(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){m[e]=new g(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){m[e]=new g(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){m[e]=new g(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){m[e]=new g(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){m[e]=new g(e,5,!1,e.toLowerCase(),null,!1,!1)}));var b=/[\-:]([a-z])/g;function v(e){return e[1].toUpperCase()}function y(e,t,n,r){var i=m.hasOwnProperty(t)?m[t]:null;(null!==i?0!==i.type:r||!(2<t.length)||"o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1])&&(function(e,t,n,r){if(null==t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,i,r)&&(n=null),r||null===i?function(e){return!!f.call(p,e)||!f.call(d,e)&&(h.test(e)?p[e]=!0:(d[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):i.mustUseProperty?e[i.propertyName]=null===n?3!==i.type&&"":n:(t=i.attributeName,r=i.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(i=i.type)||4===i&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(b,v);m[t]=new g(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(b,v);m[t]=new g(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(b,v);m[t]=new g(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){m[e]=new g(e,1,!1,e.toLowerCase(),null,!1,!1)})),m.xlinkHref=new g("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){m[e]=new g(e,1,!1,e.toLowerCase(),null,!0,!0)}));var w=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,x=Symbol.for("react.element"),_=Symbol.for("react.portal"),S=Symbol.for("react.fragment"),k=Symbol.for("react.strict_mode"),C=Symbol.for("react.profiler"),E=Symbol.for("react.provider"),I=Symbol.for("react.context"),M=Symbol.for("react.forward_ref"),T=Symbol.for("react.suspense"),A=Symbol.for("react.suspense_list"),P=Symbol.for("react.memo"),O=Symbol.for("react.lazy");Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode");var D=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker");var R=Symbol.iterator;function L(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=R&&e[R]||e["@@iterator"])?e:null}var N,j=Object.assign;function F(e){if(void 0===N)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);N=t&&t[1]||""}return"\n"+N+e}var z=!1;function B(e,t){if(!e||z)return"";z=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(e){var r=e}Reflect.construct(e,[],t)}else{try{t.call()}catch(e){r=e}e.call(t.prototype)}else{try{throw Error()}catch(e){r=e}e()}}catch(t){if(t&&r&&"string"==typeof t.stack){for(var i=t.stack.split("\n"),o=r.stack.split("\n"),a=i.length-1,s=o.length-1;1<=a&&0<=s&&i[a]!==o[s];)s--;for(;1<=a&&0<=s;a--,s--)if(i[a]!==o[s]){if(1!==a||1!==s)do{if(a--,0>--s||i[a]!==o[s]){var l="\n"+i[a].replace(" at new "," at ");return e.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",e.displayName)),l}}while(1<=a&&0<=s);break}}}finally{z=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?F(e):""}function V(e){switch(e.tag){case 5:return F(e.type);case 16:return F("Lazy");case 13:return F("Suspense");case 19:return F("SuspenseList");case 0:case 2:case 15:return e=B(e.type,!1);case 11:return e=B(e.type.render,!1);case 1:return e=B(e.type,!0);default:return""}}function $(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case S:return"Fragment";case _:return"Portal";case C:return"Profiler";case k:return"StrictMode";case T:return"Suspense";case A:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case I:return(e.displayName||"Context")+".Consumer";case E:return(e._context.displayName||"Context")+".Provider";case M:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case P:return null!==(t=e.displayName||null)?t:$(e.type)||"Memo";case O:t=e._payload,e=e._init;try{return $(e(t))}catch(e){}}return null}function H(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=(e=t.render).displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return $(t);case 8:return t===k?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"==typeof t)return t.displayName||t.name||null;if("string"==typeof t)return t}return null}function G(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function W(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function U(e){e._valueTracker||(e._valueTracker=function(e){var t=W(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var i=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(e){r=""+e,o.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function q(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=W(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function X(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function Y(e,t){var n=t.checked;return j({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function K(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=G(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function Z(e,t){null!=(t=t.checked)&&y(e,"checked",t,!1)}function Q(e,t){Z(e,t);var n=G(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?ee(e,t.type,n):t.hasOwnProperty("defaultValue")&&ee(e,t.type,G(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function J(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function ee(e,t,n){"number"===t&&X(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var te=Array.isArray;function ne(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t["$"+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty("$"+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=""+G(n),t=null,i=0;i<e.length;i++){if(e[i].value===n)return e[i].selected=!0,void(r&&(e[i].defaultSelected=!0));null!==t||e[i].disabled||(t=e[i])}null!==t&&(t.selected=!0)}}function re(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(o(91));return j({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function ie(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(o(92));if(te(n)){if(1<n.length)throw Error(o(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:G(n)}}function oe(e,t){var n=G(t.value),r=G(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function ae(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function se(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function le(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?se(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var ue,ce,fe=(ce=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((ue=ue||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=ue.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction((function(){return ce(e,t)}))}:ce);function he(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var de={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},pe=["Webkit","ms","Moz","O"];function ge(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||de.hasOwnProperty(e)&&de[e]?(""+t).trim():t+"px"}function me(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),i=ge(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}Object.keys(de).forEach((function(e){pe.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),de[t]=de[e]}))}));var be=j({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function ve(e,t){if(t){if(be[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(o(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(o(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(o(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(o(62))}}function ye(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var we=null;function xe(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var _e=null,Se=null,ke=null;function Ce(e){if(e=yi(e)){if("function"!=typeof _e)throw Error(o(280));var t=e.stateNode;t&&(t=xi(t),_e(e.stateNode,e.type,t))}}function Ee(e){Se?ke?ke.push(e):ke=[e]:Se=e}function Ie(){if(Se){var e=Se,t=ke;if(ke=Se=null,Ce(e),t)for(e=0;e<t.length;e++)Ce(t[e])}}function Me(e,t){return e(t)}function Te(){}var Ae=!1;function Pe(e,t,n){if(Ae)return e(t,n);Ae=!0;try{return Me(e,t,n)}finally{Ae=!1,(null!==Se||null!==ke)&&(Te(),Ie())}}function Oe(e,t){var n=e.stateNode;if(null===n)return null;var r=xi(n);if(null===r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(o(231,t,typeof n));return n}var De=!1;if(c)try{var Re={};Object.defineProperty(Re,"passive",{get:function(){De=!0}}),window.addEventListener("test",Re,Re),window.removeEventListener("test",Re,Re)}catch(ce){De=!1}function Le(e,t,n,r,i,o,a,s,l){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(e){this.onError(e)}}var Ne=!1,je=null,Fe=!1,ze=null,Be={onError:function(e){Ne=!0,je=e}};function Ve(e,t,n,r,i,o,a,s,l){Ne=!1,je=null,Le.apply(Be,arguments)}function $e(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!=(4098&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function He(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function Ge(e){if($e(e)!==e)throw Error(o(188))}function We(e){return null!==(e=function(e){var t=e.alternate;if(!t){if(null===(t=$e(e)))throw Error(o(188));return t!==e?null:e}for(var n=e,r=t;;){var i=n.return;if(null===i)break;var a=i.alternate;if(null===a){if(null!==(r=i.return)){n=r;continue}break}if(i.child===a.child){for(a=i.child;a;){if(a===n)return Ge(i),e;if(a===r)return Ge(i),t;a=a.sibling}throw Error(o(188))}if(n.return!==r.return)n=i,r=a;else{for(var s=!1,l=i.child;l;){if(l===n){s=!0,n=i,r=a;break}if(l===r){s=!0,r=i,n=a;break}l=l.sibling}if(!s){for(l=a.child;l;){if(l===n){s=!0,n=a,r=i;break}if(l===r){s=!0,r=a,n=i;break}l=l.sibling}if(!s)throw Error(o(189))}}if(n.alternate!==r)throw Error(o(190))}if(3!==n.tag)throw Error(o(188));return n.stateNode.current===n?e:t}(e))?Ue(e):null}function Ue(e){if(5===e.tag||6===e.tag)return e;for(e=e.child;null!==e;){var t=Ue(e);if(null!==t)return t;e=e.sibling}return null}var qe=i.unstable_scheduleCallback,Xe=i.unstable_cancelCallback,Ye=i.unstable_shouldYield,Ke=i.unstable_requestPaint,Ze=i.unstable_now,Qe=i.unstable_getCurrentPriorityLevel,Je=i.unstable_ImmediatePriority,et=i.unstable_UserBlockingPriority,tt=i.unstable_NormalPriority,nt=i.unstable_LowPriority,rt=i.unstable_IdlePriority,it=null,ot=null;var at=Math.clz32?Math.clz32:function(e){return 0===(e>>>=0)?32:31-(st(e)/lt|0)|0},st=Math.log,lt=Math.LN2;var ut=64,ct=4194304;function ft(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194240&e;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function ht(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,i=e.suspendedLanes,o=e.pingedLanes,a=268435455&n;if(0!==a){var s=a&~i;0!==s?r=ft(s):0!==(o&=a)&&(r=ft(o))}else 0!==(a=n&~i)?r=ft(a):0!==o&&(r=ft(o));if(0===r)return 0;if(0!==t&&t!==r&&0==(t&i)&&((i=r&-r)>=(o=t&-t)||16===i&&0!=(4194240&o)))return t;if(0!=(4&r)&&(r|=16&n),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)i=1<<(n=31-at(t)),r|=e[n],t&=~i;return r}function dt(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;default:return-1}}function pt(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function gt(){var e=ut;return 0==(4194240&(ut<<=1))&&(ut=64),e}function mt(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function bt(e,t,n){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-at(t)]=n}function vt(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-at(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}var yt=0;function wt(e){return 1<(e&=-e)?4<e?0!=(268435455&e)?16:536870912:4:1}var xt,_t,St,kt,Ct,Et=!1,It=[],Mt=null,Tt=null,At=null,Pt=new Map,Ot=new Map,Dt=[],Rt="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function Lt(e,t){switch(e){case"focusin":case"focusout":Mt=null;break;case"dragenter":case"dragleave":Tt=null;break;case"mouseover":case"mouseout":At=null;break;case"pointerover":case"pointerout":Pt.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Ot.delete(t.pointerId)}}function Nt(e,t,n,r,i,o){return null===e||e.nativeEvent!==o?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:o,targetContainers:[i]},null!==t&&(null!==(t=yi(t))&&_t(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==i&&-1===t.indexOf(i)&&t.push(i),e)}function jt(e){var t=vi(e.target);if(null!==t){var n=$e(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=He(n)))return e.blockedOn=t,void Ct(e.priority,(function(){St(n)}))}else if(3===t&&n.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function Ft(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=Yt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=yi(n))&&_t(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);we=r,n.target.dispatchEvent(r),we=null,t.shift()}return!0}function zt(e,t,n){Ft(e)&&n.delete(t)}function Bt(){Et=!1,null!==Mt&&Ft(Mt)&&(Mt=null),null!==Tt&&Ft(Tt)&&(Tt=null),null!==At&&Ft(At)&&(At=null),Pt.forEach(zt),Ot.forEach(zt)}function Vt(e,t){e.blockedOn===t&&(e.blockedOn=null,Et||(Et=!0,i.unstable_scheduleCallback(i.unstable_NormalPriority,Bt)))}function $t(e){function t(t){return Vt(t,e)}if(0<It.length){Vt(It[0],e);for(var n=1;n<It.length;n++){var r=It[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==Mt&&Vt(Mt,e),null!==Tt&&Vt(Tt,e),null!==At&&Vt(At,e),Pt.forEach(t),Ot.forEach(t),n=0;n<Dt.length;n++)(r=Dt[n]).blockedOn===e&&(r.blockedOn=null);for(;0<Dt.length&&null===(n=Dt[0]).blockedOn;)jt(n),null===n.blockedOn&&Dt.shift()}var Ht=w.ReactCurrentBatchConfig,Gt=!0;function Wt(e,t,n,r){var i=yt,o=Ht.transition;Ht.transition=null;try{yt=1,qt(e,t,n,r)}finally{yt=i,Ht.transition=o}}function Ut(e,t,n,r){var i=yt,o=Ht.transition;Ht.transition=null;try{yt=4,qt(e,t,n,r)}finally{yt=i,Ht.transition=o}}function qt(e,t,n,r){if(Gt){var i=Yt(e,t,n,r);if(null===i)Gr(e,t,r,Xt,n),Lt(e,r);else if(function(e,t,n,r,i){switch(t){case"focusin":return Mt=Nt(Mt,e,t,n,r,i),!0;case"dragenter":return Tt=Nt(Tt,e,t,n,r,i),!0;case"mouseover":return At=Nt(At,e,t,n,r,i),!0;case"pointerover":var o=i.pointerId;return Pt.set(o,Nt(Pt.get(o)||null,e,t,n,r,i)),!0;case"gotpointercapture":return o=i.pointerId,Ot.set(o,Nt(Ot.get(o)||null,e,t,n,r,i)),!0}return!1}(i,e,t,n,r))r.stopPropagation();else if(Lt(e,r),4&t&&-1<Rt.indexOf(e)){for(;null!==i;){var o=yi(i);if(null!==o&&xt(o),null===(o=Yt(e,t,n,r))&&Gr(e,t,r,Xt,n),o===i)break;i=o}null!==i&&r.stopPropagation()}else Gr(e,t,r,null,n)}}var Xt=null;function Yt(e,t,n,r){if(Xt=null,null!==(e=vi(e=xe(r))))if(null===(t=$e(e)))e=null;else if(13===(n=t.tag)){if(null!==(e=He(t)))return e;e=null}else if(3===n){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return Xt=e,null}function Kt(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Qe()){case Je:return 1;case et:return 4;case tt:case nt:return 16;case rt:return 536870912;default:return 16}default:return 16}}var Zt=null,Qt=null,Jt=null;function en(){if(Jt)return Jt;var e,t,n=Qt,r=n.length,i="value"in Zt?Zt.value:Zt.textContent,o=i.length;for(e=0;e<r&&n[e]===i[e];e++);var a=r-e;for(t=1;t<=a&&n[r-t]===i[o-t];t++);return Jt=i.slice(e,1<t?1-t:void 0)}function tn(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function nn(){return!0}function rn(){return!1}function on(e){function t(t,n,r,i,o){for(var a in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=i,this.target=o,this.currentTarget=null,e)e.hasOwnProperty(a)&&(t=e[a],this[a]=t?t(i):i[a]);return this.isDefaultPrevented=(null!=i.defaultPrevented?i.defaultPrevented:!1===i.returnValue)?nn:rn,this.isPropagationStopped=rn,this}return j(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=nn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=nn)},persist:function(){},isPersistent:nn}),t}var an,sn,ln,un={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},cn=on(un),fn=j({},un,{view:0,detail:0}),hn=on(fn),dn=j({},fn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Cn,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==ln&&(ln&&"mousemove"===e.type?(an=e.screenX-ln.screenX,sn=e.screenY-ln.screenY):sn=an=0,ln=e),an)},movementY:function(e){return"movementY"in e?e.movementY:sn}}),pn=on(dn),gn=on(j({},dn,{dataTransfer:0})),mn=on(j({},fn,{relatedTarget:0})),bn=on(j({},un,{animationName:0,elapsedTime:0,pseudoElement:0})),vn=j({},un,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),yn=on(vn),wn=on(j({},un,{data:0})),xn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},_n={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Sn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function kn(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=Sn[e])&&!!t[e]}function Cn(){return kn}var En=j({},fn,{key:function(e){if(e.key){var t=xn[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=tn(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?_n[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Cn,charCode:function(e){return"keypress"===e.type?tn(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?tn(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),In=on(En),Mn=on(j({},dn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Tn=on(j({},fn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Cn})),An=on(j({},un,{propertyName:0,elapsedTime:0,pseudoElement:0})),Pn=j({},dn,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),On=on(Pn),Dn=[9,13,27,32],Rn=c&&"CompositionEvent"in window,Ln=null;c&&"documentMode"in document&&(Ln=document.documentMode);var Nn=c&&"TextEvent"in window&&!Ln,jn=c&&(!Rn||Ln&&8<Ln&&11>=Ln),Fn=String.fromCharCode(32),zn=!1;function Bn(e,t){switch(e){case"keyup":return-1!==Dn.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Vn(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var $n=!1;var Hn={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Gn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Hn[e.type]:"textarea"===t}function Wn(e,t,n,r){Ee(r),0<(t=Ur(t,"onChange")).length&&(n=new cn("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Un=null,qn=null;function Xn(e){Fr(e,0)}function Yn(e){if(q(wi(e)))return e}function Kn(e,t){if("change"===e)return t}var Zn=!1;if(c){var Qn;if(c){var Jn="oninput"in document;if(!Jn){var er=document.createElement("div");er.setAttribute("oninput","return;"),Jn="function"==typeof er.oninput}Qn=Jn}else Qn=!1;Zn=Qn&&(!document.documentMode||9<document.documentMode)}function tr(){Un&&(Un.detachEvent("onpropertychange",nr),qn=Un=null)}function nr(e){if("value"===e.propertyName&&Yn(qn)){var t=[];Wn(t,qn,e,xe(e)),Pe(Xn,t)}}function rr(e,t,n){"focusin"===e?(tr(),qn=n,(Un=t).attachEvent("onpropertychange",nr)):"focusout"===e&&tr()}function ir(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Yn(qn)}function or(e,t){if("click"===e)return Yn(t)}function ar(e,t){if("input"===e||"change"===e)return Yn(t)}var sr="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function lr(e,t){if(sr(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var i=n[r];if(!f.call(t,i)||!sr(e[i],t[i]))return!1}return!0}function ur(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function cr(e,t){var n,r=ur(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=ur(r)}}function fr(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?fr(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function hr(){for(var e=window,t=X();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=X((e=t.contentWindow).document)}return t}function dr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function pr(e){var t=hr(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&fr(n.ownerDocument.documentElement,n)){if(null!==r&&dr(n))if(t=r.start,void 0===(e=r.end)&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if((e=(t=n.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection();var i=n.textContent.length,o=Math.min(r.start,i);r=void 0===r.end?o:Math.min(r.end,i),!e.extend&&o>r&&(i=r,r=o,o=i),i=cr(n,o);var a=cr(n,r);i&&a&&(1!==e.rangeCount||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&((t=t.createRange()).setStart(i.node,i.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.offset),e.addRange(t)))}for(t=[],e=n;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"==typeof n.focus&&n.focus(),n=0;n<t.length;n++)(e=t[n]).element.scrollLeft=e.left,e.element.scrollTop=e.top}}var gr=c&&"documentMode"in document&&11>=document.documentMode,mr=null,br=null,vr=null,yr=!1;function wr(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;yr||null==mr||mr!==X(r)||("selectionStart"in(r=mr)&&dr(r)?r={start:r.selectionStart,end:r.selectionEnd}:r={anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},vr&&lr(vr,r)||(vr=r,0<(r=Ur(br,"onSelect")).length&&(t=new cn("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=mr)))}function xr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var _r={animationend:xr("Animation","AnimationEnd"),animationiteration:xr("Animation","AnimationIteration"),animationstart:xr("Animation","AnimationStart"),transitionend:xr("Transition","TransitionEnd")},Sr={},kr={};function Cr(e){if(Sr[e])return Sr[e];if(!_r[e])return e;var t,n=_r[e];for(t in n)if(n.hasOwnProperty(t)&&t in kr)return Sr[e]=n[t];return e}c&&(kr=document.createElement("div").style,"AnimationEvent"in window||(delete _r.animationend.animation,delete _r.animationiteration.animation,delete _r.animationstart.animation),"TransitionEvent"in window||delete _r.transitionend.transition);var Er=Cr("animationend"),Ir=Cr("animationiteration"),Mr=Cr("animationstart"),Tr=Cr("transitionend"),Ar=new Map,Pr="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Or(e,t){Ar.set(e,t),l(t,[e])}for(var Dr=0;Dr<Pr.length;Dr++){var Rr=Pr[Dr];Or(Rr.toLowerCase(),"on"+(Rr[0].toUpperCase()+Rr.slice(1)))}Or(Er,"onAnimationEnd"),Or(Ir,"onAnimationIteration"),Or(Mr,"onAnimationStart"),Or("dblclick","onDoubleClick"),Or("focusin","onFocus"),Or("focusout","onBlur"),Or(Tr,"onTransitionEnd"),u("onMouseEnter",["mouseout","mouseover"]),u("onMouseLeave",["mouseout","mouseover"]),u("onPointerEnter",["pointerout","pointerover"]),u("onPointerLeave",["pointerout","pointerover"]),l("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),l("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),l("onBeforeInput",["compositionend","keypress","textInput","paste"]),l("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),l("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),l("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Lr="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Nr=new Set("cancel close invalid load scroll toggle".split(" ").concat(Lr));function jr(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,i,a,s,l,u){if(Ve.apply(this,arguments),Ne){if(!Ne)throw Error(o(198));var c=je;Ne=!1,je=null,Fe||(Fe=!0,ze=c)}}(r,t,void 0,e),e.currentTarget=null}function Fr(e,t){t=0!=(4&t);for(var n=0;n<e.length;n++){var r=e[n],i=r.event;r=r.listeners;e:{var o=void 0;if(t)for(var a=r.length-1;0<=a;a--){var s=r[a],l=s.instance,u=s.currentTarget;if(s=s.listener,l!==o&&i.isPropagationStopped())break e;jr(i,s,u),o=l}else for(a=0;a<r.length;a++){if(l=(s=r[a]).instance,u=s.currentTarget,s=s.listener,l!==o&&i.isPropagationStopped())break e;jr(i,s,u),o=l}}}if(Fe)throw e=ze,Fe=!1,ze=null,e}function zr(e,t){var n=t[gi];void 0===n&&(n=t[gi]=new Set);var r=e+"__bubble";n.has(r)||(Hr(t,e,2,!1),n.add(r))}function Br(e,t,n){var r=0;t&&(r|=4),Hr(n,e,r,t)}var Vr="_reactListening"+Math.random().toString(36).slice(2);function $r(e){if(!e[Vr]){e[Vr]=!0,a.forEach((function(t){"selectionchange"!==t&&(Nr.has(t)||Br(t,!1,e),Br(t,!0,e))}));var t=9===e.nodeType?e:e.ownerDocument;null===t||t[Vr]||(t[Vr]=!0,Br("selectionchange",!1,t))}}function Hr(e,t,n,r){switch(Kt(t)){case 1:var i=Wt;break;case 4:i=Ut;break;default:i=qt}n=i.bind(null,t,n,e),i=void 0,!De||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(i=!0),r?void 0!==i?e.addEventListener(t,n,{capture:!0,passive:i}):e.addEventListener(t,n,!0):void 0!==i?e.addEventListener(t,n,{passive:i}):e.addEventListener(t,n,!1)}function Gr(e,t,n,r,i){var o=r;if(0==(1&t)&&0==(2&t)&&null!==r)e:for(;;){if(null===r)return;var a=r.tag;if(3===a||4===a){var s=r.stateNode.containerInfo;if(s===i||8===s.nodeType&&s.parentNode===i)break;if(4===a)for(a=r.return;null!==a;){var l=a.tag;if((3===l||4===l)&&((l=a.stateNode.containerInfo)===i||8===l.nodeType&&l.parentNode===i))return;a=a.return}for(;null!==s;){if(null===(a=vi(s)))return;if(5===(l=a.tag)||6===l){r=o=a;continue e}s=s.parentNode}}r=r.return}Pe((function(){var r=o,i=xe(n),a=[];e:{var s=Ar.get(e);if(void 0!==s){var l=cn,u=e;switch(e){case"keypress":if(0===tn(n))break e;case"keydown":case"keyup":l=In;break;case"focusin":u="focus",l=mn;break;case"focusout":u="blur",l=mn;break;case"beforeblur":case"afterblur":l=mn;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":l=pn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":l=gn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":l=Tn;break;case Er:case Ir:case Mr:l=bn;break;case Tr:l=An;break;case"scroll":l=hn;break;case"wheel":l=On;break;case"copy":case"cut":case"paste":l=yn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":l=Mn}var c=0!=(4&t),f=!c&&"scroll"===e,h=c?null!==s?s+"Capture":null:s;c=[];for(var d,p=r;null!==p;){var g=(d=p).stateNode;if(5===d.tag&&null!==g&&(d=g,null!==h&&(null!=(g=Oe(p,h))&&c.push(Wr(p,g,d)))),f)break;p=p.return}0<c.length&&(s=new l(s,u,null,n,i),a.push({event:s,listeners:c}))}}if(0==(7&t)){if(l="mouseout"===e||"pointerout"===e,(!(s="mouseover"===e||"pointerover"===e)||n===we||!(u=n.relatedTarget||n.fromElement)||!vi(u)&&!u[pi])&&(l||s)&&(s=i.window===i?i:(s=i.ownerDocument)?s.defaultView||s.parentWindow:window,l?(l=r,null!==(u=(u=n.relatedTarget||n.toElement)?vi(u):null)&&(u!==(f=$e(u))||5!==u.tag&&6!==u.tag)&&(u=null)):(l=null,u=r),l!==u)){if(c=pn,g="onMouseLeave",h="onMouseEnter",p="mouse","pointerout"!==e&&"pointerover"!==e||(c=Mn,g="onPointerLeave",h="onPointerEnter",p="pointer"),f=null==l?s:wi(l),d=null==u?s:wi(u),(s=new c(g,p+"leave",l,n,i)).target=f,s.relatedTarget=d,g=null,vi(i)===r&&((c=new c(h,p+"enter",u,n,i)).target=d,c.relatedTarget=f,g=c),f=g,l&&u)e:{for(h=u,p=0,d=c=l;d;d=qr(d))p++;for(d=0,g=h;g;g=qr(g))d++;for(;0<p-d;)c=qr(c),p--;for(;0<d-p;)h=qr(h),d--;for(;p--;){if(c===h||null!==h&&c===h.alternate)break e;c=qr(c),h=qr(h)}c=null}else c=null;null!==l&&Xr(a,s,l,c,!1),null!==u&&null!==f&&Xr(a,f,u,c,!0)}if("select"===(l=(s=r?wi(r):window).nodeName&&s.nodeName.toLowerCase())||"input"===l&&"file"===s.type)var m=Kn;else if(Gn(s))if(Zn)m=ar;else{m=ir;var b=rr}else(l=s.nodeName)&&"input"===l.toLowerCase()&&("checkbox"===s.type||"radio"===s.type)&&(m=or);switch(m&&(m=m(e,r))?Wn(a,m,n,i):(b&&b(e,s,r),"focusout"===e&&(b=s._wrapperState)&&b.controlled&&"number"===s.type&&ee(s,"number",s.value)),b=r?wi(r):window,e){case"focusin":(Gn(b)||"true"===b.contentEditable)&&(mr=b,br=r,vr=null);break;case"focusout":vr=br=mr=null;break;case"mousedown":yr=!0;break;case"contextmenu":case"mouseup":case"dragend":yr=!1,wr(a,n,i);break;case"selectionchange":if(gr)break;case"keydown":case"keyup":wr(a,n,i)}var v;if(Rn)e:{switch(e){case"compositionstart":var y="onCompositionStart";break e;case"compositionend":y="onCompositionEnd";break e;case"compositionupdate":y="onCompositionUpdate";break e}y=void 0}else $n?Bn(e,n)&&(y="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(y="onCompositionStart");y&&(jn&&"ko"!==n.locale&&($n||"onCompositionStart"!==y?"onCompositionEnd"===y&&$n&&(v=en()):(Qt="value"in(Zt=i)?Zt.value:Zt.textContent,$n=!0)),0<(b=Ur(r,y)).length&&(y=new wn(y,e,null,n,i),a.push({event:y,listeners:b}),v?y.data=v:null!==(v=Vn(n))&&(y.data=v))),(v=Nn?function(e,t){switch(e){case"compositionend":return Vn(t);case"keypress":return 32!==t.which?null:(zn=!0,Fn);case"textInput":return(e=t.data)===Fn&&zn?null:e;default:return null}}(e,n):function(e,t){if($n)return"compositionend"===e||!Rn&&Bn(e,t)?(e=en(),Jt=Qt=Zt=null,$n=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return jn&&"ko"!==t.locale?null:t.data}}(e,n))&&(0<(r=Ur(r,"onBeforeInput")).length&&(i=new wn("onBeforeInput","beforeinput",null,n,i),a.push({event:i,listeners:r}),i.data=v))}Fr(a,t)}))}function Wr(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Ur(e,t){for(var n=t+"Capture",r=[];null!==e;){var i=e,o=i.stateNode;5===i.tag&&null!==o&&(i=o,null!=(o=Oe(e,n))&&r.unshift(Wr(e,o,i)),null!=(o=Oe(e,t))&&r.push(Wr(e,o,i))),e=e.return}return r}function qr(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function Xr(e,t,n,r,i){for(var o=t._reactName,a=[];null!==n&&n!==r;){var s=n,l=s.alternate,u=s.stateNode;if(null!==l&&l===r)break;5===s.tag&&null!==u&&(s=u,i?null!=(l=Oe(n,o))&&a.unshift(Wr(n,l,s)):i||null!=(l=Oe(n,o))&&a.push(Wr(n,l,s))),n=n.return}0!==a.length&&e.push({event:t,listeners:a})}var Yr=/\r\n?/g,Kr=/\u0000|\uFFFD/g;function Zr(e){return("string"==typeof e?e:""+e).replace(Yr,"\n").replace(Kr,"")}function Qr(e,t,n){if(t=Zr(t),Zr(e)!==t&&n)throw Error(o(425))}function Jr(){}var ei=null,ti=null;function ni(e,t){return"textarea"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var ri="function"==typeof setTimeout?setTimeout:void 0,ii="function"==typeof clearTimeout?clearTimeout:void 0,oi="function"==typeof Promise?Promise:void 0,ai="function"==typeof queueMicrotask?queueMicrotask:void 0!==oi?function(e){return oi.resolve(null).then(e).catch(si)}:ri;function si(e){setTimeout((function(){throw e}))}function li(e,t){var n=t,r=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&8===i.nodeType)if("/$"===(n=i.data)){if(0===r)return e.removeChild(i),void $t(t);r--}else"$"!==n&&"$?"!==n&&"$!"!==n||r++;n=i}while(n);$t(t)}function ui(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t)break;if("/$"===t)return null}}return e}function ci(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var fi=Math.random().toString(36).slice(2),hi="__reactFiber$"+fi,di="__reactProps$"+fi,pi="__reactContainer$"+fi,gi="__reactEvents$"+fi,mi="__reactListeners$"+fi,bi="__reactHandles$"+fi;function vi(e){var t=e[hi];if(t)return t;for(var n=e.parentNode;n;){if(t=n[pi]||n[hi]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=ci(e);null!==e;){if(n=e[hi])return n;e=ci(e)}return t}n=(e=n).parentNode}return null}function yi(e){return!(e=e[hi]||e[pi])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function wi(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(o(33))}function xi(e){return e[di]||null}var _i=[],Si=-1;function ki(e){return{current:e}}function Ci(e){0>Si||(e.current=_i[Si],_i[Si]=null,Si--)}function Ei(e,t){Si++,_i[Si]=e.current,e.current=t}var Ii={},Mi=ki(Ii),Ti=ki(!1),Ai=Ii;function Pi(e,t){var n=e.type.contextTypes;if(!n)return Ii;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i,o={};for(i in n)o[i]=t[i];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function Oi(e){return null!=(e=e.childContextTypes)}function Di(){Ci(Ti),Ci(Mi)}function Ri(e,t,n){if(Mi.current!==Ii)throw Error(o(168));Ei(Mi,t),Ei(Ti,n)}function Li(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var i in r=r.getChildContext())if(!(i in t))throw Error(o(108,H(e)||"Unknown",i));return j({},n,r)}function Ni(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Ii,Ai=Mi.current,Ei(Mi,e),Ei(Ti,Ti.current),!0}function ji(e,t,n){var r=e.stateNode;if(!r)throw Error(o(169));n?(e=Li(e,t,Ai),r.__reactInternalMemoizedMergedChildContext=e,Ci(Ti),Ci(Mi),Ei(Mi,e)):Ci(Ti),Ei(Ti,n)}var Fi=null,zi=!1,Bi=!1;function Vi(e){null===Fi?Fi=[e]:Fi.push(e)}function $i(){if(!Bi&&null!==Fi){Bi=!0;var e=0,t=yt;try{var n=Fi;for(yt=1;e<n.length;e++){var r=n[e];do{r=r(!0)}while(null!==r)}Fi=null,zi=!1}catch(t){throw null!==Fi&&(Fi=Fi.slice(e+1)),qe(Je,$i),t}finally{yt=t,Bi=!1}}return null}var Hi=w.ReactCurrentBatchConfig;function Gi(e,t){if(e&&e.defaultProps){for(var n in t=j({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}var Wi=ki(null),Ui=null,qi=null,Xi=null;function Yi(){Xi=qi=Ui=null}function Ki(e){var t=Wi.current;Ci(Wi),e._currentValue=t}function Zi(e,t,n){for(;null!==e;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==r&&(r.childLanes|=t)):null!==r&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Qi(e,t){Ui=e,Xi=qi=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!=(e.lanes&t)&&(xs=!0),e.firstContext=null)}function Ji(e){var t=e._currentValue;if(Xi!==e)if(e={context:e,memoizedValue:t,next:null},null===qi){if(null===Ui)throw Error(o(308));qi=e,Ui.dependencies={lanes:0,firstContext:e}}else qi=qi.next=e;return t}var eo=null,to=!1;function no(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function ro(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function io(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function oo(e,t){var n=e.updateQueue;null!==n&&(n=n.shared,tu(e)?(null===(e=n.interleaved)?(t.next=t,null===eo?eo=[n]:eo.push(n)):(t.next=e.next,e.next=t),n.interleaved=t):(null===(e=n.pending)?t.next=t:(t.next=e.next,e.next=t),n.pending=t))}function ao(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,0!=(4194240&n))){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,vt(e,n)}}function so(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var i=null,o=null;if(null!==(n=n.firstBaseUpdate)){do{var a={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===o?i=o=a:o=o.next=a,n=n.next}while(null!==n);null===o?i=o=t:o=o.next=t}else i=o=t;return n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:o,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function lo(e,t,n,r){var i=e.updateQueue;to=!1;var o=i.firstBaseUpdate,a=i.lastBaseUpdate,s=i.shared.pending;if(null!==s){i.shared.pending=null;var l=s,u=l.next;l.next=null,null===a?o=u:a.next=u,a=l;var c=e.alternate;null!==c&&((s=(c=c.updateQueue).lastBaseUpdate)!==a&&(null===s?c.firstBaseUpdate=u:s.next=u,c.lastBaseUpdate=l))}if(null!==o){var f=i.baseState;for(a=0,c=u=l=null,s=o;;){var h=s.lane,d=s.eventTime;if((r&h)===h){null!==c&&(c=c.next={eventTime:d,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var p=e,g=s;switch(h=t,d=n,g.tag){case 1:if("function"==typeof(p=g.payload)){f=p.call(d,f,h);break e}f=p;break e;case 3:p.flags=-65537&p.flags|128;case 0:if(null==(h="function"==typeof(p=g.payload)?p.call(d,f,h):p))break e;f=j({},f,h);break e;case 2:to=!0}}null!==s.callback&&0!==s.lane&&(e.flags|=64,null===(h=i.effects)?i.effects=[s]:h.push(s))}else d={eventTime:d,lane:h,tag:s.tag,payload:s.payload,callback:s.callback,next:null},null===c?(u=c=d,l=f):c=c.next=d,a|=h;if(null===(s=s.next)){if(null===(s=i.shared.pending))break;s=(h=s).next,h.next=null,i.lastBaseUpdate=h,i.shared.pending=null}}if(null===c&&(l=f),i.baseState=l,i.firstBaseUpdate=u,i.lastBaseUpdate=c,null!==(t=i.shared.interleaved)){i=t;do{a|=i.lane,i=i.next}while(i!==t)}else null===o&&(i.shared.lanes=0);Dl|=a,e.lanes=a,e.memoizedState=f}}function uo(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],i=r.callback;if(null!==i){if(r.callback=null,r=n,"function"!=typeof i)throw Error(o(191,i));i.call(r)}}}var co=(new r.Component).refs;function fo(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:j({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var ho={isMounted:function(e){return!!(e=e._reactInternals)&&$e(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=Zl(),i=Ql(e),o=io(r,i);o.payload=t,null!=n&&(o.callback=n),oo(e,o),null!==(t=Jl(e,i,r))&&ao(t,e,i)},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=Zl(),i=Ql(e),o=io(r,i);o.tag=1,o.payload=t,null!=n&&(o.callback=n),oo(e,o),null!==(t=Jl(e,i,r))&&ao(t,e,i)},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Zl(),r=Ql(e),i=io(n,r);i.tag=2,null!=t&&(i.callback=t),oo(e,i),null!==(t=Jl(e,r,n))&&ao(t,e,r)}};function po(e,t,n,r,i,o,a){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,o,a):!t.prototype||!t.prototype.isPureReactComponent||(!lr(n,r)||!lr(i,o))}function go(e,t,n){var r=!1,i=Ii,o=t.contextType;return"object"==typeof o&&null!==o?o=Ji(o):(i=Oi(t)?Ai:Mi.current,o=(r=null!=(r=t.contextTypes))?Pi(e,i):Ii),t=new t(n,o),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=ho,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=o),t}function mo(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&ho.enqueueReplaceState(t,t.state,null)}function bo(e,t,n,r){var i=e.stateNode;i.props=n,i.state=e.memoizedState,i.refs=co,no(e);var o=t.contextType;"object"==typeof o&&null!==o?i.context=Ji(o):(o=Oi(t)?Ai:Mi.current,i.context=Pi(e,o)),i.state=e.memoizedState,"function"==typeof(o=t.getDerivedStateFromProps)&&(fo(e,t,o,n),i.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof i.getSnapshotBeforeUpdate||"function"!=typeof i.UNSAFE_componentWillMount&&"function"!=typeof i.componentWillMount||(t=i.state,"function"==typeof i.componentWillMount&&i.componentWillMount(),"function"==typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount(),t!==i.state&&ho.enqueueReplaceState(i,i.state,null),lo(e,n,i,r),i.state=e.memoizedState),"function"==typeof i.componentDidMount&&(e.flags|=4194308)}var vo=[],yo=0,wo=null,xo=0,_o=[],So=0,ko=null,Co=1,Eo="";function Io(e,t){vo[yo++]=xo,vo[yo++]=wo,wo=e,xo=t}function Mo(e,t,n){_o[So++]=Co,_o[So++]=Eo,_o[So++]=ko,ko=e;var r=Co;e=Eo;var i=32-at(r)-1;r&=~(1<<i),n+=1;var o=32-at(t)+i;if(30<o){var a=i-i%5;o=(r&(1<<a)-1).toString(32),r>>=a,i-=a,Co=1<<32-at(t)+i|n<<i|r,Eo=o+e}else Co=1<<o|n<<i|r,Eo=e}function To(e){null!==e.return&&(Io(e,1),Mo(e,1,0))}function Ao(e){for(;e===wo;)wo=vo[--yo],vo[yo]=null,xo=vo[--yo],vo[yo]=null;for(;e===ko;)ko=_o[--So],_o[So]=null,Eo=_o[--So],_o[So]=null,Co=_o[--So],_o[So]=null}var Po=null,Oo=null,Do=!1,Ro=null;function Lo(e,t){var n=Au(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,null===(t=e.deletions)?(e.deletions=[n],e.flags|=16):t.push(n)}function No(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,Po=e,Oo=ui(t.firstChild),!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,Po=e,Oo=null,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(n=null!==ko?{id:Co,overflow:Eo}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},(n=Au(18,null,null,0)).stateNode=t,n.return=e,e.child=n,Po=e,Oo=null,!0);default:return!1}}function jo(e){return 0!=(1&e.mode)&&0==(128&e.flags)}function Fo(e){if(Do){var t=Oo;if(t){var n=t;if(!No(e,t)){if(jo(e))throw Error(o(418));t=ui(n.nextSibling);var r=Po;t&&No(e,t)?Lo(r,n):(e.flags=-4097&e.flags|2,Do=!1,Po=e)}}else{if(jo(e))throw Error(o(418));e.flags=-4097&e.flags|2,Do=!1,Po=e}}}function zo(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;Po=e}function Bo(e){if(e!==Po)return!1;if(!Do)return zo(e),Do=!0,!1;var t;if((t=3!==e.tag)&&!(t=5!==e.tag)&&(t="head"!==(t=e.type)&&"body"!==t&&!ni(e.type,e.memoizedProps)),t&&(t=Oo)){if(jo(e)){for(e=Oo;e;)e=ui(e.nextSibling);throw Error(o(418))}for(;t;)Lo(e,t),t=ui(t.nextSibling)}if(zo(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(o(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){Oo=ui(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}Oo=null}}else Oo=Po?ui(e.stateNode.nextSibling):null;return!0}function Vo(){Oo=Po=null,Do=!1}function $o(e){null===Ro?Ro=[e]:Ro.push(e)}function Ho(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!=typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(o(309));var r=n.stateNode}if(!r)throw Error(o(147,e));var i=r,a=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===a?t.ref:(t=function(e){var t=i.refs;t===co&&(t=i.refs={}),null===e?delete t[a]:t[a]=e},t._stringRef=a,t)}if("string"!=typeof e)throw Error(o(284));if(!n._owner)throw Error(o(290,e))}return e}function Go(e,t){throw e=Object.prototype.toString.call(t),Error(o(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Wo(e){return(0,e._init)(e._payload)}function Uo(e){function t(t,n){if(e){var r=t.deletions;null===r?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function i(e,t){return(e=Ou(e,t)).index=0,e.sibling=null,e}function a(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags|=2,n):r:(t.flags|=2,n):(t.flags|=1048576,n)}function s(t){return e&&null===t.alternate&&(t.flags|=2),t}function l(e,t,n,r){return null===t||6!==t.tag?((t=Nu(n,e.mode,r)).return=e,t):((t=i(t,n)).return=e,t)}function u(e,t,n,r){var o=n.type;return o===S?f(e,t,n.props.children,r,n.key):null!==t&&(t.elementType===o||"object"==typeof o&&null!==o&&o.$$typeof===O&&Wo(o)===t.type)?((r=i(t,n.props)).ref=Ho(e,t,n),r.return=e,r):((r=Du(n.type,n.key,n.props,null,e.mode,r)).ref=Ho(e,t,n),r.return=e,r)}function c(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=ju(n,e.mode,r)).return=e,t):((t=i(t,n.children||[])).return=e,t)}function f(e,t,n,r,o){return null===t||7!==t.tag?((t=Ru(n,e.mode,r,o)).return=e,t):((t=i(t,n)).return=e,t)}function h(e,t,n){if("string"==typeof t&&""!==t||"number"==typeof t)return(t=Nu(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case x:return(n=Du(t.type,t.key,t.props,null,e.mode,n)).ref=Ho(e,null,t),n.return=e,n;case _:return(t=ju(t,e.mode,n)).return=e,t;case O:return h(e,(0,t._init)(t._payload),n)}if(te(t)||L(t))return(t=Ru(t,e.mode,n,null)).return=e,t;Go(e,t)}return null}function d(e,t,n,r){var i=null!==t?t.key:null;if("string"==typeof n&&""!==n||"number"==typeof n)return null!==i?null:l(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case x:return n.key===i?u(e,t,n,r):null;case _:return n.key===i?c(e,t,n,r):null;case O:return d(e,t,(i=n._init)(n._payload),r)}if(te(n)||L(n))return null!==i?null:f(e,t,n,r,null);Go(e,n)}return null}function p(e,t,n,r,i){if("string"==typeof r&&""!==r||"number"==typeof r)return l(t,e=e.get(n)||null,""+r,i);if("object"==typeof r&&null!==r){switch(r.$$typeof){case x:return u(t,e=e.get(null===r.key?n:r.key)||null,r,i);case _:return c(t,e=e.get(null===r.key?n:r.key)||null,r,i);case O:return p(e,t,n,(0,r._init)(r._payload),i)}if(te(r)||L(r))return f(t,e=e.get(n)||null,r,i,null);Go(t,r)}return null}function g(i,o,s,l){for(var u=null,c=null,f=o,g=o=0,m=null;null!==f&&g<s.length;g++){f.index>g?(m=f,f=null):m=f.sibling;var b=d(i,f,s[g],l);if(null===b){null===f&&(f=m);break}e&&f&&null===b.alternate&&t(i,f),o=a(b,o,g),null===c?u=b:c.sibling=b,c=b,f=m}if(g===s.length)return n(i,f),Do&&Io(i,g),u;if(null===f){for(;g<s.length;g++)null!==(f=h(i,s[g],l))&&(o=a(f,o,g),null===c?u=f:c.sibling=f,c=f);return Do&&Io(i,g),u}for(f=r(i,f);g<s.length;g++)null!==(m=p(f,i,g,s[g],l))&&(e&&null!==m.alternate&&f.delete(null===m.key?g:m.key),o=a(m,o,g),null===c?u=m:c.sibling=m,c=m);return e&&f.forEach((function(e){return t(i,e)})),Do&&Io(i,g),u}function m(i,s,l,u){var c=L(l);if("function"!=typeof c)throw Error(o(150));if(null==(l=c.call(l)))throw Error(o(151));for(var f=c=null,g=s,m=s=0,b=null,v=l.next();null!==g&&!v.done;m++,v=l.next()){g.index>m?(b=g,g=null):b=g.sibling;var y=d(i,g,v.value,u);if(null===y){null===g&&(g=b);break}e&&g&&null===y.alternate&&t(i,g),s=a(y,s,m),null===f?c=y:f.sibling=y,f=y,g=b}if(v.done)return n(i,g),Do&&Io(i,m),c;if(null===g){for(;!v.done;m++,v=l.next())null!==(v=h(i,v.value,u))&&(s=a(v,s,m),null===f?c=v:f.sibling=v,f=v);return Do&&Io(i,m),c}for(g=r(i,g);!v.done;m++,v=l.next())null!==(v=p(g,i,m,v.value,u))&&(e&&null!==v.alternate&&g.delete(null===v.key?m:v.key),s=a(v,s,m),null===f?c=v:f.sibling=v,f=v);return e&&g.forEach((function(e){return t(i,e)})),Do&&Io(i,m),c}return function e(r,o,a,l){if("object"==typeof a&&null!==a&&a.type===S&&null===a.key&&(a=a.props.children),"object"==typeof a&&null!==a){switch(a.$$typeof){case x:e:{for(var u=a.key,c=o;null!==c;){if(c.key===u){if((u=a.type)===S){if(7===c.tag){n(r,c.sibling),(o=i(c,a.props.children)).return=r,r=o;break e}}else if(c.elementType===u||"object"==typeof u&&null!==u&&u.$$typeof===O&&Wo(u)===c.type){n(r,c.sibling),(o=i(c,a.props)).ref=Ho(r,c,a),o.return=r,r=o;break e}n(r,c);break}t(r,c),c=c.sibling}a.type===S?((o=Ru(a.props.children,r.mode,l,a.key)).return=r,r=o):((l=Du(a.type,a.key,a.props,null,r.mode,l)).ref=Ho(r,o,a),l.return=r,r=l)}return s(r);case _:e:{for(c=a.key;null!==o;){if(o.key===c){if(4===o.tag&&o.stateNode.containerInfo===a.containerInfo&&o.stateNode.implementation===a.implementation){n(r,o.sibling),(o=i(o,a.children||[])).return=r,r=o;break e}n(r,o);break}t(r,o),o=o.sibling}(o=ju(a,r.mode,l)).return=r,r=o}return s(r);case O:return e(r,o,(c=a._init)(a._payload),l)}if(te(a))return g(r,o,a,l);if(L(a))return m(r,o,a,l);Go(r,a)}return"string"==typeof a&&""!==a||"number"==typeof a?(a=""+a,null!==o&&6===o.tag?(n(r,o.sibling),(o=i(o,a)).return=r,r=o):(n(r,o),(o=Nu(a,r.mode,l)).return=r,r=o),s(r)):n(r,o)}}var qo=Uo(!0),Xo=Uo(!1),Yo={},Ko=ki(Yo),Zo=ki(Yo),Qo=ki(Yo);function Jo(e){if(e===Yo)throw Error(o(174));return e}function ea(e,t){switch(Ei(Qo,t),Ei(Zo,e),Ei(Ko,Yo),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:le(null,"");break;default:t=le(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}Ci(Ko),Ei(Ko,t)}function ta(){Ci(Ko),Ci(Zo),Ci(Qo)}function na(e){Jo(Qo.current);var t=Jo(Ko.current),n=le(t,e.type);t!==n&&(Ei(Zo,e),Ei(Ko,n))}function ra(e){Zo.current===e&&(Ci(Ko),Ci(Zo))}var ia=ki(0);function oa(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!=(128&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var aa=[];function sa(){for(var e=0;e<aa.length;e++)aa[e]._workInProgressVersionPrimary=null;aa.length=0}var la=w.ReactCurrentDispatcher,ua=w.ReactCurrentBatchConfig,ca=0,fa=null,ha=null,da=null,pa=!1,ga=!1,ma=0,ba=0;function va(){throw Error(o(321))}function ya(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!sr(e[n],t[n]))return!1;return!0}function wa(e,t,n,r,i,a){if(ca=a,fa=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,la.current=null===e||null===e.memoizedState?rs:is,e=n(r,i),ga){a=0;do{if(ga=!1,ma=0,25<=a)throw Error(o(301));a+=1,da=ha=null,t.updateQueue=null,la.current=os,e=n(r,i)}while(ga)}if(la.current=ns,t=null!==ha&&null!==ha.next,ca=0,da=ha=fa=null,pa=!1,t)throw Error(o(300));return e}function xa(){var e=0!==ma;return ma=0,e}function _a(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===da?fa.memoizedState=da=e:da=da.next=e,da}function Sa(){if(null===ha){var e=fa.alternate;e=null!==e?e.memoizedState:null}else e=ha.next;var t=null===da?fa.memoizedState:da.next;if(null!==t)da=t,ha=e;else{if(null===e)throw Error(o(310));e={memoizedState:(ha=e).memoizedState,baseState:ha.baseState,baseQueue:ha.baseQueue,queue:ha.queue,next:null},null===da?fa.memoizedState=da=e:da=da.next=e}return da}function ka(e,t){return"function"==typeof t?t(e):t}function Ca(e){var t=Sa(),n=t.queue;if(null===n)throw Error(o(311));n.lastRenderedReducer=e;var r=ha,i=r.baseQueue,a=n.pending;if(null!==a){if(null!==i){var s=i.next;i.next=a.next,a.next=s}r.baseQueue=i=a,n.pending=null}if(null!==i){a=i.next,r=r.baseState;var l=s=null,u=null,c=a;do{var f=c.lane;if((ca&f)===f)null!==u&&(u=u.next={lane:0,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),r=c.hasEagerState?c.eagerState:e(r,c.action);else{var h={lane:f,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null};null===u?(l=u=h,s=r):u=u.next=h,fa.lanes|=f,Dl|=f}c=c.next}while(null!==c&&c!==a);null===u?s=r:u.next=l,sr(r,t.memoizedState)||(xs=!0),t.memoizedState=r,t.baseState=s,t.baseQueue=u,n.lastRenderedState=r}if(null!==(e=n.interleaved)){i=e;do{a=i.lane,fa.lanes|=a,Dl|=a,i=i.next}while(i!==e)}else null===i&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function Ea(e){var t=Sa(),n=t.queue;if(null===n)throw Error(o(311));n.lastRenderedReducer=e;var r=n.dispatch,i=n.pending,a=t.memoizedState;if(null!==i){n.pending=null;var s=i=i.next;do{a=e(a,s.action),s=s.next}while(s!==i);sr(a,t.memoizedState)||(xs=!0),t.memoizedState=a,null===t.baseQueue&&(t.baseState=a),n.lastRenderedState=a}return[a,r]}function Ia(){}function Ma(e,t){var n=fa,r=Sa(),i=t(),a=!sr(r.memoizedState,i);if(a&&(r.memoizedState=i,xs=!0),r=r.queue,za(Pa.bind(null,n,r,e),[e]),r.getSnapshot!==t||a||null!==da&&1&da.memoizedState.tag){if(n.flags|=2048,Ra(9,Aa.bind(null,n,r,i,t),void 0,null),null===El)throw Error(o(349));0!=(30&ca)||Ta(n,t,i)}return i}function Ta(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=fa.updateQueue)?(t={lastEffect:null,stores:null},fa.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function Aa(e,t,n,r){t.value=n,t.getSnapshot=r,Oa(t)&&Jl(e,1,-1)}function Pa(e,t,n){return n((function(){Oa(t)&&Jl(e,1,-1)}))}function Oa(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!sr(e,n)}catch(e){return!0}}function Da(e){var t=_a();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:ka,lastRenderedState:e},t.queue=e,e=e.dispatch=Za.bind(null,fa,e),[t.memoizedState,e]}function Ra(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=fa.updateQueue)?(t={lastEffect:null,stores:null},fa.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function La(){return Sa().memoizedState}function Na(e,t,n,r){var i=_a();fa.flags|=e,i.memoizedState=Ra(1|t,n,void 0,void 0===r?null:r)}function ja(e,t,n,r){var i=Sa();r=void 0===r?null:r;var o=void 0;if(null!==ha){var a=ha.memoizedState;if(o=a.destroy,null!==r&&ya(r,a.deps))return void(i.memoizedState=Ra(t,n,o,r))}fa.flags|=e,i.memoizedState=Ra(1|t,n,o,r)}function Fa(e,t){return Na(8390656,8,e,t)}function za(e,t){return ja(2048,8,e,t)}function Ba(e,t){return ja(4,2,e,t)}function Va(e,t){return ja(4,4,e,t)}function $a(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function Ha(e,t,n){return n=null!=n?n.concat([e]):null,ja(4,4,$a.bind(null,t,e),n)}function Ga(){}function Wa(e,t){var n=Sa();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&ya(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Ua(e,t){var n=Sa();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&ya(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function qa(e,t,n){return 0==(21&ca)?(e.baseState&&(e.baseState=!1,xs=!0),e.memoizedState=n):(sr(n,t)||(n=gt(),fa.lanes|=n,Dl|=n,e.baseState=!0),t)}function Xa(e,t){var n=yt;yt=0!==n&&4>n?n:4,e(!0);var r=ua.transition;ua.transition={};try{e(!1),t()}finally{yt=n,ua.transition=r}}function Ya(){return Sa().memoizedState}function Ka(e,t,n){var r=Ql(e);n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Qa(e)?Ja(t,n):(es(e,t,n),null!==(e=Jl(e,r,n=Zl()))&&ts(e,t,r))}function Za(e,t,n){var r=Ql(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Qa(e))Ja(t,i);else{es(e,t,i);var o=e.alternate;if(0===e.lanes&&(null===o||0===o.lanes)&&null!==(o=t.lastRenderedReducer))try{var a=t.lastRenderedState,s=o(a,n);if(i.hasEagerState=!0,i.eagerState=s,sr(s,a))return}catch(e){}null!==(e=Jl(e,r,n=Zl()))&&ts(e,t,r)}}function Qa(e){var t=e.alternate;return e===fa||null!==t&&t===fa}function Ja(e,t){ga=pa=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function es(e,t,n){tu(e)?(null===(e=t.interleaved)?(n.next=n,null===eo?eo=[t]:eo.push(t)):(n.next=e.next,e.next=n),t.interleaved=n):(null===(e=t.pending)?n.next=n:(n.next=e.next,e.next=n),t.pending=n)}function ts(e,t,n){if(0!=(4194240&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,vt(e,n)}}var ns={readContext:Ji,useCallback:va,useContext:va,useEffect:va,useImperativeHandle:va,useInsertionEffect:va,useLayoutEffect:va,useMemo:va,useReducer:va,useRef:va,useState:va,useDebugValue:va,useDeferredValue:va,useTransition:va,useMutableSource:va,useSyncExternalStore:va,useId:va,unstable_isNewReconciler:!1},rs={readContext:Ji,useCallback:function(e,t){return _a().memoizedState=[e,void 0===t?null:t],e},useContext:Ji,useEffect:Fa,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,Na(4194308,4,$a.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Na(4194308,4,e,t)},useInsertionEffect:function(e,t){return Na(4,2,e,t)},useMemo:function(e,t){var n=_a();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=_a();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=Ka.bind(null,fa,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},_a().memoizedState=e},useState:Da,useDebugValue:Ga,useDeferredValue:function(e){return _a().memoizedState=e},useTransition:function(){var e=Da(!1),t=e[0];return e=Xa.bind(null,e[1]),_a().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=fa,i=_a();if(Do){if(void 0===n)throw Error(o(407));n=n()}else{if(n=t(),null===El)throw Error(o(349));0!=(30&ca)||Ta(r,t,n)}i.memoizedState=n;var a={value:n,getSnapshot:t};return i.queue=a,Fa(Pa.bind(null,r,a,e),[e]),r.flags|=2048,Ra(9,Aa.bind(null,r,a,n,t),void 0,null),n},useId:function(){var e=_a(),t=El.identifierPrefix;if(Do){var n=Eo;t=":"+t+"R"+(n=(Co&~(1<<32-at(Co)-1)).toString(32)+n),0<(n=ma++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=ba++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},is={readContext:Ji,useCallback:Wa,useContext:Ji,useEffect:za,useImperativeHandle:Ha,useInsertionEffect:Ba,useLayoutEffect:Va,useMemo:Ua,useReducer:Ca,useRef:La,useState:function(){return Ca(ka)},useDebugValue:Ga,useDeferredValue:function(e){return qa(Sa(),ha.memoizedState,e)},useTransition:function(){return[Ca(ka)[0],Sa().memoizedState]},useMutableSource:Ia,useSyncExternalStore:Ma,useId:Ya,unstable_isNewReconciler:!1},os={readContext:Ji,useCallback:Wa,useContext:Ji,useEffect:za,useImperativeHandle:Ha,useInsertionEffect:Ba,useLayoutEffect:Va,useMemo:Ua,useReducer:Ea,useRef:La,useState:function(){return Ea(ka)},useDebugValue:Ga,useDeferredValue:function(e){var t=Sa();return null===ha?t.memoizedState=e:qa(t,ha.memoizedState,e)},useTransition:function(){return[Ea(ka)[0],Sa().memoizedState]},useMutableSource:Ia,useSyncExternalStore:Ma,useId:Ya,unstable_isNewReconciler:!1};function as(e,t){try{var n="",r=t;do{n+=V(r),r=r.return}while(r);var i=n}catch(e){i="\nError generating stack: "+e.message+"\n"+e.stack}return{value:e,source:t,stack:i}}function ss(e,t){try{console.error(t.value)}catch(e){setTimeout((function(){throw e}))}}var ls,us,cs,fs="function"==typeof WeakMap?WeakMap:Map;function hs(e,t,n){(n=io(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Vl||(Vl=!0,$l=r),ss(0,t)},n}function ds(e,t,n){(n=io(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var i=t.value;n.payload=function(){return r(i)},n.callback=function(){ss(0,t)}}var o=e.stateNode;return null!==o&&"function"==typeof o.componentDidCatch&&(n.callback=function(){ss(0,t),"function"!=typeof r&&(null===Hl?Hl=new Set([this]):Hl.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}function ps(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new fs;var i=new Set;r.set(t,i)}else void 0===(i=r.get(t))&&(i=new Set,r.set(t,i));i.has(n)||(i.add(n),e=ku.bind(null,e,t,n),t.then(e,e))}function gs(e){do{var t;if((t=13===e.tag)&&(t=null===(t=e.memoizedState)||null!==t.dehydrated),t)return e;e=e.return}while(null!==e);return null}function ms(e,t,n,r,i){return 0==(1&e.mode)?(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,1===n.tag&&(null===n.alternate?n.tag=17:((t=io(-1,1)).tag=2,oo(n,t))),n.lanes|=1),e):(e.flags|=65536,e.lanes=i,e)}function bs(e,t){if(!Do)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function vs(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;null!==i;)n|=i.lanes|i.childLanes,r|=14680064&i.subtreeFlags,r|=14680064&i.flags,i.return=e,i=i.sibling;else for(i=e.child;null!==i;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function ys(e,t,n){var r=t.pendingProps;switch(Ao(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return vs(t),null;case 1:case 17:return Oi(t.type)&&Di(),vs(t),null;case 3:return r=t.stateNode,ta(),Ci(Ti),Ci(Mi),sa(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(Bo(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&0==(256&t.flags)||(t.flags|=1024,null!==Ro&&(ou(Ro),Ro=null))),vs(t),null;case 5:ra(t);var i=Jo(Qo.current);if(n=t.type,null!==e&&null!=t.stateNode)us(e,t,n,r),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(null===t.stateNode)throw Error(o(166));return vs(t),null}if(e=Jo(Ko.current),Bo(t)){r=t.stateNode,n=t.type;var a=t.memoizedProps;switch(r[hi]=t,r[di]=a,e=0!=(1&t.mode),n){case"dialog":zr("cancel",r),zr("close",r);break;case"iframe":case"object":case"embed":zr("load",r);break;case"video":case"audio":for(i=0;i<Lr.length;i++)zr(Lr[i],r);break;case"source":zr("error",r);break;case"img":case"image":case"link":zr("error",r),zr("load",r);break;case"details":zr("toggle",r);break;case"input":K(r,a),zr("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!a.multiple},zr("invalid",r);break;case"textarea":ie(r,a),zr("invalid",r)}for(var l in ve(n,a),i=null,a)if(a.hasOwnProperty(l)){var u=a[l];"children"===l?"string"==typeof u?r.textContent!==u&&(!0!==a.suppressHydrationWarning&&Qr(r.textContent,u,e),i=["children",u]):"number"==typeof u&&r.textContent!==""+u&&(!0!==a.suppressHydrationWarning&&Qr(r.textContent,u,e),i=["children",""+u]):s.hasOwnProperty(l)&&null!=u&&"onScroll"===l&&zr("scroll",r)}switch(n){case"input":U(r),J(r,a,!0);break;case"textarea":U(r),ae(r);break;case"select":case"option":break;default:"function"==typeof a.onClick&&(r.onclick=Jr)}r=i,t.updateQueue=r,null!==r&&(t.flags|=4)}else{l=9===i.nodeType?i:i.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=se(n)),"http://www.w3.org/1999/xhtml"===e?"script"===n?((e=l.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=l.createElement(n,{is:r.is}):(e=l.createElement(n),"select"===n&&(l=e,r.multiple?l.multiple=!0:r.size&&(l.size=r.size))):e=l.createElementNS(e,n),e[hi]=t,e[di]=r,ls(e,t),t.stateNode=e;e:{switch(l=ye(n,r),n){case"dialog":zr("cancel",e),zr("close",e),i=r;break;case"iframe":case"object":case"embed":zr("load",e),i=r;break;case"video":case"audio":for(i=0;i<Lr.length;i++)zr(Lr[i],e);i=r;break;case"source":zr("error",e),i=r;break;case"img":case"image":case"link":zr("error",e),zr("load",e),i=r;break;case"details":zr("toggle",e),i=r;break;case"input":K(e,r),i=Y(e,r),zr("invalid",e);break;case"option":default:i=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},i=j({},r,{value:void 0}),zr("invalid",e);break;case"textarea":ie(e,r),i=re(e,r),zr("invalid",e)}for(a in ve(n,i),u=i)if(u.hasOwnProperty(a)){var c=u[a];"style"===a?me(e,c):"dangerouslySetInnerHTML"===a?null!=(c=c?c.__html:void 0)&&fe(e,c):"children"===a?"string"==typeof c?("textarea"!==n||""!==c)&&he(e,c):"number"==typeof c&&he(e,""+c):"suppressContentEditableWarning"!==a&&"suppressHydrationWarning"!==a&&"autoFocus"!==a&&(s.hasOwnProperty(a)?null!=c&&"onScroll"===a&&zr("scroll",e):null!=c&&y(e,a,c,l))}switch(n){case"input":U(e),J(e,r,!1);break;case"textarea":U(e),ae(e);break;case"option":null!=r.value&&e.setAttribute("value",""+G(r.value));break;case"select":e.multiple=!!r.multiple,null!=(a=r.value)?ne(e,!!r.multiple,a,!1):null!=r.defaultValue&&ne(e,!!r.multiple,r.defaultValue,!0);break;default:"function"==typeof i.onClick&&(e.onclick=Jr)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}null!==t.ref&&(t.flags|=512,t.flags|=2097152)}return vs(t),null;case 6:if(e&&null!=t.stateNode)cs(0,t,e.memoizedProps,r);else{if("string"!=typeof r&&null===t.stateNode)throw Error(o(166));if(n=Jo(Qo.current),Jo(Ko.current),Bo(t)){if(r=t.stateNode,n=t.memoizedProps,r[hi]=t,(a=r.nodeValue!==n)&&null!==(e=Po))switch(e.tag){case 3:Qr(r.nodeValue,n,0!=(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&Qr(r.nodeValue,n,0!=(1&e.mode))}a&&(t.flags|=4)}else(r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[hi]=t,t.stateNode=r}return vs(t),null;case 13:if(Ci(ia),r=t.memoizedState,Do&&null!==Oo&&0!=(1&t.mode)&&0==(128&t.flags)){for(r=Oo;r;)r=ui(r.nextSibling);return Vo(),t.flags|=98560,t}if(null!==r&&null!==r.dehydrated){if(r=Bo(t),null===e){if(!r)throw Error(o(318));if(!(r=null!==(r=t.memoizedState)?r.dehydrated:null))throw Error(o(317));r[hi]=t}else Vo(),0==(128&t.flags)&&(t.memoizedState=null),t.flags|=4;return vs(t),null}return null!==Ro&&(ou(Ro),Ro=null),0!=(128&t.flags)?(t.lanes=n,t):(r=null!==r,n=!1,null===e?Bo(t):n=null!==e.memoizedState,r!==n&&r&&(t.child.flags|=8192,0!=(1&t.mode)&&(null===e||0!=(1&ia.current)?0===Pl&&(Pl=3):pu())),null!==t.updateQueue&&(t.flags|=4),vs(t),null);case 4:return ta(),null===e&&$r(t.stateNode.containerInfo),vs(t),null;case 10:return Ki(t.type._context),vs(t),null;case 19:if(Ci(ia),null===(a=t.memoizedState))return vs(t),null;if(r=0!=(128&t.flags),null===(l=a.rendering))if(r)bs(a,!1);else{if(0!==Pl||null!==e&&0!=(128&e.flags))for(e=t.child;null!==e;){if(null!==(l=oa(e))){for(t.flags|=128,bs(a,!1),null!==(r=l.updateQueue)&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;null!==n;)e=r,(a=n).flags&=14680066,null===(l=a.alternate)?(a.childLanes=0,a.lanes=e,a.child=null,a.subtreeFlags=0,a.memoizedProps=null,a.memoizedState=null,a.updateQueue=null,a.dependencies=null,a.stateNode=null):(a.childLanes=l.childLanes,a.lanes=l.lanes,a.child=l.child,a.subtreeFlags=0,a.deletions=null,a.memoizedProps=l.memoizedProps,a.memoizedState=l.memoizedState,a.updateQueue=l.updateQueue,a.type=l.type,e=l.dependencies,a.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return Ei(ia,1&ia.current|2),t.child}e=e.sibling}null!==a.tail&&Ze()>zl&&(t.flags|=128,r=!0,bs(a,!1),t.lanes=4194304)}else{if(!r)if(null!==(e=oa(l))){if(t.flags|=128,r=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),bs(a,!0),null===a.tail&&"hidden"===a.tailMode&&!l.alternate&&!Do)return vs(t),null}else 2*Ze()-a.renderingStartTime>zl&&1073741824!==n&&(t.flags|=128,r=!0,bs(a,!1),t.lanes=4194304);a.isBackwards?(l.sibling=t.child,t.child=l):(null!==(n=a.last)?n.sibling=l:t.child=l,a.last=l)}return null!==a.tail?(t=a.tail,a.rendering=t,a.tail=t.sibling,a.renderingStartTime=Ze(),t.sibling=null,n=ia.current,Ei(ia,r?1&n|2:1&n),t):(vs(t),null);case 22:case 23:return cu(),r=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==r&&(t.flags|=8192),r&&0!=(1&t.mode)?0!=(1073741824&Tl)&&(vs(t),6&t.subtreeFlags&&(t.flags|=8192)):vs(t),null;case 24:case 25:return null}throw Error(o(156,t.tag))}ls=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},us=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,Jo(Ko.current);var o,a=null;switch(n){case"input":i=Y(e,i),r=Y(e,r),a=[];break;case"select":i=j({},i,{value:void 0}),r=j({},r,{value:void 0}),a=[];break;case"textarea":i=re(e,i),r=re(e,r),a=[];break;default:"function"!=typeof i.onClick&&"function"==typeof r.onClick&&(e.onclick=Jr)}for(c in ve(n,r),n=null,i)if(!r.hasOwnProperty(c)&&i.hasOwnProperty(c)&&null!=i[c])if("style"===c){var l=i[c];for(o in l)l.hasOwnProperty(o)&&(n||(n={}),n[o]="")}else"dangerouslySetInnerHTML"!==c&&"children"!==c&&"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&"autoFocus"!==c&&(s.hasOwnProperty(c)?a||(a=[]):(a=a||[]).push(c,null));for(c in r){var u=r[c];if(l=null!=i?i[c]:void 0,r.hasOwnProperty(c)&&u!==l&&(null!=u||null!=l))if("style"===c)if(l){for(o in l)!l.hasOwnProperty(o)||u&&u.hasOwnProperty(o)||(n||(n={}),n[o]="");for(o in u)u.hasOwnProperty(o)&&l[o]!==u[o]&&(n||(n={}),n[o]=u[o])}else n||(a||(a=[]),a.push(c,n)),n=u;else"dangerouslySetInnerHTML"===c?(u=u?u.__html:void 0,l=l?l.__html:void 0,null!=u&&l!==u&&(a=a||[]).push(c,u)):"children"===c?"string"!=typeof u&&"number"!=typeof u||(a=a||[]).push(c,""+u):"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&(s.hasOwnProperty(c)?(null!=u&&"onScroll"===c&&zr("scroll",e),a||l===u||(a=[])):(a=a||[]).push(c,u))}n&&(a=a||[]).push("style",n);var c=a;(t.updateQueue=c)&&(t.flags|=4)}},cs=function(e,t,n,r){n!==r&&(t.flags|=4)};var ws=w.ReactCurrentOwner,xs=!1;function _s(e,t,n,r){t.child=null===e?Xo(t,null,n,r):qo(t,e.child,n,r)}function Ss(e,t,n,r,i){n=n.render;var o=t.ref;return Qi(t,i),r=wa(e,t,n,r,o,i),n=xa(),null===e||xs?(Do&&n&&To(t),t.flags|=1,_s(e,t,r,i),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,Gs(e,t,i))}function ks(e,t,n,r,i){if(null===e){var o=n.type;return"function"!=typeof o||Pu(o)||void 0!==o.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Du(n.type,null,r,t,t.mode,i)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=o,Cs(e,t,o,r,i))}if(o=e.child,0==(e.lanes&i)){var a=o.memoizedProps;if((n=null!==(n=n.compare)?n:lr)(a,r)&&e.ref===t.ref)return Gs(e,t,i)}return t.flags|=1,(e=Ou(o,r)).ref=t.ref,e.return=t,t.child=e}function Cs(e,t,n,r,i){if(null!==e){var o=e.memoizedProps;if(lr(o,r)&&e.ref===t.ref){if(xs=!1,t.pendingProps=r=o,0==(e.lanes&i))return t.lanes=e.lanes,Gs(e,t,i);0!=(131072&e.flags)&&(xs=!0)}}return Ms(e,t,n,r,i)}function Es(e,t,n){var r=t.pendingProps,i=r.children,o=null!==e?e.memoizedState:null;if("hidden"===r.mode)if(0==(1&t.mode))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Ei(Al,Tl),Tl|=n;else{if(0==(1073741824&n))return e=null!==o?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Ei(Al,Tl),Tl|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==o?o.baseLanes:n,Ei(Al,Tl),Tl|=r}else null!==o?(r=o.baseLanes|n,t.memoizedState=null):r=n,Ei(Al,Tl),Tl|=r;return _s(e,t,i,n),t.child}function Is(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Ms(e,t,n,r,i){var o=Oi(n)?Ai:Mi.current;return o=Pi(t,o),Qi(t,i),n=wa(e,t,n,r,o,i),r=xa(),null===e||xs?(Do&&r&&To(t),t.flags|=1,_s(e,t,n,i),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,Gs(e,t,i))}function Ts(e,t,n,r,i){if(Oi(n)){var o=!0;Ni(t)}else o=!1;if(Qi(t,i),null===t.stateNode)null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),go(t,n,r),bo(t,n,r,i),r=!0;else if(null===e){var a=t.stateNode,s=t.memoizedProps;a.props=s;var l=a.context,u=n.contextType;"object"==typeof u&&null!==u?u=Ji(u):u=Pi(t,u=Oi(n)?Ai:Mi.current);var c=n.getDerivedStateFromProps,f="function"==typeof c||"function"==typeof a.getSnapshotBeforeUpdate;f||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(s!==r||l!==u)&&mo(t,a,r,u),to=!1;var h=t.memoizedState;a.state=h,lo(t,r,a,i),l=t.memoizedState,s!==r||h!==l||Ti.current||to?("function"==typeof c&&(fo(t,n,c,r),l=t.memoizedState),(s=to||po(t,n,s,r,h,l,u))?(f||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||("function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"==typeof a.componentDidMount&&(t.flags|=4194308)):("function"==typeof a.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),a.props=r,a.state=l,a.context=u,r=s):("function"==typeof a.componentDidMount&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,ro(e,t),s=t.memoizedProps,u=t.type===t.elementType?s:Gi(t.type,s),a.props=u,f=t.pendingProps,h=a.context,"object"==typeof(l=n.contextType)&&null!==l?l=Ji(l):l=Pi(t,l=Oi(n)?Ai:Mi.current);var d=n.getDerivedStateFromProps;(c="function"==typeof d||"function"==typeof a.getSnapshotBeforeUpdate)||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(s!==f||h!==l)&&mo(t,a,r,l),to=!1,h=t.memoizedState,a.state=h,lo(t,r,a,i);var p=t.memoizedState;s!==f||h!==p||Ti.current||to?("function"==typeof d&&(fo(t,n,d,r),p=t.memoizedState),(u=to||po(t,n,u,r,h,p,l)||!1)?(c||"function"!=typeof a.UNSAFE_componentWillUpdate&&"function"!=typeof a.componentWillUpdate||("function"==typeof a.componentWillUpdate&&a.componentWillUpdate(r,p,l),"function"==typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,p,l)),"function"==typeof a.componentDidUpdate&&(t.flags|=4),"function"==typeof a.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof a.componentDidUpdate||s===e.memoizedProps&&h===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&h===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=p),a.props=r,a.state=p,a.context=l,r=u):("function"!=typeof a.componentDidUpdate||s===e.memoizedProps&&h===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&h===e.memoizedState||(t.flags|=1024),r=!1)}return As(e,t,n,r,o,i)}function As(e,t,n,r,i,o){Is(e,t);var a=0!=(128&t.flags);if(!r&&!a)return i&&ji(t,n,!1),Gs(e,t,o);r=t.stateNode,ws.current=t;var s=a&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&a?(t.child=qo(t,e.child,null,o),t.child=qo(t,null,s,o)):_s(e,t,s,o),t.memoizedState=r.state,i&&ji(t,n,!0),t.child}function Ps(e){var t=e.stateNode;t.pendingContext?Ri(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Ri(0,t.context,!1),ea(e,t.containerInfo)}function Os(e,t,n,r,i){return Vo(),$o(i),t.flags|=256,_s(e,t,n,r),t.child}var Ds={dehydrated:null,treeContext:null,retryLane:0};function Rs(e){return{baseLanes:e,cachePool:null,transitions:null}}function Ls(e,t){return{baseLanes:e.baseLanes|t,cachePool:null,transitions:e.transitions}}function Ns(e,t,n){var r,i=t.pendingProps,a=ia.current,s=!1,l=0!=(128&t.flags);if((r=l)||(r=(null===e||null!==e.memoizedState)&&0!=(2&a)),r?(s=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(a|=1),Ei(ia,1&a),null===e)return Fo(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated)?(0==(1&t.mode)?t.lanes=1:"$!"===e.data?t.lanes=8:t.lanes=1073741824,null):(a=i.children,e=i.fallback,s?(i=t.mode,s=t.child,a={mode:"hidden",children:a},0==(1&i)&&null!==s?(s.childLanes=0,s.pendingProps=a):s=Lu(a,i,0,null),e=Ru(e,i,n,null),s.return=t,e.return=t,s.sibling=e,t.child=s,t.child.memoizedState=Rs(n),t.memoizedState=Ds,e):js(t,a));if(null!==(a=e.memoizedState)){if(null!==(r=a.dehydrated)){if(l)return 256&t.flags?(t.flags&=-257,Bs(e,t,n,Error(o(422)))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(s=i.fallback,a=t.mode,i=Lu({mode:"visible",children:i.children},a,0,null),(s=Ru(s,a,n,null)).flags|=2,i.return=t,s.return=t,i.sibling=s,t.child=i,0!=(1&t.mode)&&qo(t,e.child,null,n),t.child.memoizedState=Rs(n),t.memoizedState=Ds,s);if(0==(1&t.mode))t=Bs(e,t,n,null);else if("$!"===r.data)t=Bs(e,t,n,Error(o(419)));else if(i=0!=(n&e.childLanes),xs||i){if(null!==(i=El)){switch(n&-n){case 4:s=2;break;case 16:s=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:s=32;break;case 536870912:s=268435456;break;default:s=0}0!==(i=0!=(s&(i.suspendedLanes|n))?0:s)&&i!==a.retryLane&&(a.retryLane=i,Jl(e,i,-1))}pu(),t=Bs(e,t,n,Error(o(421)))}else"$?"===r.data?(t.flags|=128,t.child=e.child,t=Eu.bind(null,e),r._reactRetry=t,t=null):(n=a.treeContext,Oo=ui(r.nextSibling),Po=t,Do=!0,Ro=null,null!==n&&(_o[So++]=Co,_o[So++]=Eo,_o[So++]=ko,Co=n.id,Eo=n.overflow,ko=t),(t=js(t,t.pendingProps.children)).flags|=4096);return t}return s?(i=zs(e,t,i.children,i.fallback,n),s=t.child,a=e.child.memoizedState,s.memoizedState=null===a?Rs(n):Ls(a,n),s.childLanes=e.childLanes&~n,t.memoizedState=Ds,i):(n=Fs(e,t,i.children,n),t.memoizedState=null,n)}return s?(i=zs(e,t,i.children,i.fallback,n),s=t.child,a=e.child.memoizedState,s.memoizedState=null===a?Rs(n):Ls(a,n),s.childLanes=e.childLanes&~n,t.memoizedState=Ds,i):(n=Fs(e,t,i.children,n),t.memoizedState=null,n)}function js(e,t){return(t=Lu({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function Fs(e,t,n,r){var i=e.child;return e=i.sibling,n=Ou(i,{mode:"visible",children:n}),0==(1&t.mode)&&(n.lanes=r),n.return=t,n.sibling=null,null!==e&&(null===(r=t.deletions)?(t.deletions=[e],t.flags|=16):r.push(e)),t.child=n}function zs(e,t,n,r,i){var o=t.mode,a=(e=e.child).sibling,s={mode:"hidden",children:n};return 0==(1&o)&&t.child!==e?((n=t.child).childLanes=0,n.pendingProps=s,t.deletions=null):(n=Ou(e,s)).subtreeFlags=14680064&e.subtreeFlags,null!==a?r=Ou(a,r):(r=Ru(r,o,i,null)).flags|=2,r.return=t,n.return=t,n.sibling=r,t.child=n,r}function Bs(e,t,n,r){return null!==r&&$o(r),qo(t,e.child,null,n),(e=js(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function Vs(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),Zi(e.return,t,n)}function $s(e,t,n,r,i){var o=e.memoizedState;null===o?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=i)}function Hs(e,t,n){var r=t.pendingProps,i=r.revealOrder,o=r.tail;if(_s(e,t,r.children,n),0!=(2&(r=ia.current)))r=1&r|2,t.flags|=128;else{if(null!==e&&0!=(128&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Vs(e,n,t);else if(19===e.tag)Vs(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(Ei(ia,r),0==(1&t.mode))t.memoizedState=null;else switch(i){case"forwards":for(n=t.child,i=null;null!==n;)null!==(e=n.alternate)&&null===oa(e)&&(i=n),n=n.sibling;null===(n=i)?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),$s(t,!1,i,n,o);break;case"backwards":for(n=null,i=t.child,t.child=null;null!==i;){if(null!==(e=i.alternate)&&null===oa(e)){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}$s(t,!0,n,null,o);break;case"together":$s(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Gs(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Dl|=t.lanes,0==(n&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(o(153));if(null!==t.child){for(n=Ou(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Ou(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function Ws(e,t){switch(Ao(t),t.tag){case 1:return Oi(t.type)&&Di(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return ta(),Ci(Ti),Ci(Mi),sa(),0!=(65536&(e=t.flags))&&0==(128&e)?(t.flags=-65537&e|128,t):null;case 5:return ra(t),null;case 13:if(Ci(ia),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(o(340));Vo()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return Ci(ia),null;case 4:return ta(),null;case 10:return Ki(t.type._context),null;case 22:case 23:return cu(),null;default:return null}}var Us=!1,qs=!1,Xs="function"==typeof WeakSet?WeakSet:Set,Ys=null;function Ks(e,t){var n=e.ref;if(null!==n)if("function"==typeof n)try{n(null)}catch(n){Su(e,t,n)}else n.current=null}function Zs(e,t,n){try{n()}catch(n){Su(e,t,n)}}var Qs=!1;function Js(e,t,n){var r=t.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var i=r=r.next;do{if((i.tag&e)===e){var o=i.destroy;i.destroy=void 0,void 0!==o&&Zs(t,n,o)}i=i.next}while(i!==r)}}function el(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function tl(e){var t=e.ref;if(null!==t){var n=e.stateNode;e.tag,e=n,"function"==typeof t?t(e):t.current=e}}function nl(e){var t=e.alternate;null!==t&&(e.alternate=null,nl(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&(null!==(t=e.stateNode)&&(delete t[hi],delete t[di],delete t[gi],delete t[mi],delete t[bi])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function rl(e){return 5===e.tag||3===e.tag||4===e.tag}function il(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||rl(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function ol(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!=(n=n._reactRootContainer)||null!==t.onclick||(t.onclick=Jr));else if(4!==r&&null!==(e=e.child))for(ol(e,t,n),e=e.sibling;null!==e;)ol(e,t,n),e=e.sibling}function al(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(al(e,t,n),e=e.sibling;null!==e;)al(e,t,n),e=e.sibling}var sl=null,ll=!1;function ul(e,t,n){for(n=n.child;null!==n;)cl(e,t,n),n=n.sibling}function cl(e,t,n){if(ot&&"function"==typeof ot.onCommitFiberUnmount)try{ot.onCommitFiberUnmount(it,n)}catch(e){}switch(n.tag){case 5:qs||Ks(n,t);case 6:var r=sl,i=ll;sl=null,ul(e,t,n),ll=i,null!==(sl=r)&&(ll?(e=sl,n=n.stateNode,8===e.nodeType?e.parentNode.removeChild(n):e.removeChild(n)):sl.removeChild(n.stateNode));break;case 18:null!==sl&&(ll?(e=sl,n=n.stateNode,8===e.nodeType?li(e.parentNode,n):1===e.nodeType&&li(e,n),$t(e)):li(sl,n.stateNode));break;case 4:r=sl,i=ll,sl=n.stateNode.containerInfo,ll=!0,ul(e,t,n),sl=r,ll=i;break;case 0:case 11:case 14:case 15:if(!qs&&(null!==(r=n.updateQueue)&&null!==(r=r.lastEffect))){i=r=r.next;do{var o=i,a=o.destroy;o=o.tag,void 0!==a&&(0!=(2&o)||0!=(4&o))&&Zs(n,t,a),i=i.next}while(i!==r)}ul(e,t,n);break;case 1:if(!qs&&(Ks(n,t),"function"==typeof(r=n.stateNode).componentWillUnmount))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(e){Su(n,t,e)}ul(e,t,n);break;case 21:ul(e,t,n);break;case 22:1&n.mode?(qs=(r=qs)||null!==n.memoizedState,ul(e,t,n),qs=r):ul(e,t,n);break;default:ul(e,t,n)}}function fl(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Xs),t.forEach((function(t){var r=Iu.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function hl(e,t){var n=t.deletions;if(null!==n)for(var r=0;r<n.length;r++){var i=n[r];try{var a=e,s=t,l=s;e:for(;null!==l;){switch(l.tag){case 5:sl=l.stateNode,ll=!1;break e;case 3:case 4:sl=l.stateNode.containerInfo,ll=!0;break e}l=l.return}if(null===sl)throw Error(o(160));cl(a,s,i),sl=null,ll=!1;var u=i.alternate;null!==u&&(u.return=null),i.return=null}catch(e){Su(i,t,e)}}if(12854&t.subtreeFlags)for(t=t.child;null!==t;)dl(t,e),t=t.sibling}function dl(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(hl(t,e),pl(e),4&r){try{Js(3,e,e.return),el(3,e)}catch(t){Su(e,e.return,t)}try{Js(5,e,e.return)}catch(t){Su(e,e.return,t)}}break;case 1:hl(t,e),pl(e),512&r&&null!==n&&Ks(n,n.return);break;case 5:if(hl(t,e),pl(e),512&r&&null!==n&&Ks(n,n.return),32&e.flags){var i=e.stateNode;try{he(i,"")}catch(t){Su(e,e.return,t)}}if(4&r&&null!=(i=e.stateNode)){var a=e.memoizedProps,s=null!==n?n.memoizedProps:a,l=e.type,u=e.updateQueue;if(e.updateQueue=null,null!==u)try{"input"===l&&"radio"===a.type&&null!=a.name&&Z(i,a),ye(l,s);var c=ye(l,a);for(s=0;s<u.length;s+=2){var f=u[s],h=u[s+1];"style"===f?me(i,h):"dangerouslySetInnerHTML"===f?fe(i,h):"children"===f?he(i,h):y(i,f,h,c)}switch(l){case"input":Q(i,a);break;case"textarea":oe(i,a);break;case"select":var d=i._wrapperState.wasMultiple;i._wrapperState.wasMultiple=!!a.multiple;var p=a.value;null!=p?ne(i,!!a.multiple,p,!1):d!==!!a.multiple&&(null!=a.defaultValue?ne(i,!!a.multiple,a.defaultValue,!0):ne(i,!!a.multiple,a.multiple?[]:"",!1))}i[di]=a}catch(t){Su(e,e.return,t)}}break;case 6:if(hl(t,e),pl(e),4&r){if(null===e.stateNode)throw Error(o(162));c=e.stateNode,f=e.memoizedProps;try{c.nodeValue=f}catch(t){Su(e,e.return,t)}}break;case 3:if(hl(t,e),pl(e),4&r&&null!==n&&n.memoizedState.isDehydrated)try{$t(t.containerInfo)}catch(t){Su(e,e.return,t)}break;case 4:default:hl(t,e),pl(e);break;case 13:hl(t,e),pl(e),8192&(c=e.child).flags&&null!==c.memoizedState&&(null===c.alternate||null===c.alternate.memoizedState)&&(Fl=Ze()),4&r&&fl(e);break;case 22:if(c=null!==n&&null!==n.memoizedState,1&e.mode?(qs=(f=qs)||c,hl(t,e),qs=f):hl(t,e),pl(e),8192&r){f=null!==e.memoizedState;e:for(h=null,d=e;;){if(5===d.tag){if(null===h){h=d;try{i=d.stateNode,f?"function"==typeof(a=i.style).setProperty?a.setProperty("display","none","important"):a.display="none":(l=d.stateNode,s=null!=(u=d.memoizedProps.style)&&u.hasOwnProperty("display")?u.display:null,l.style.display=ge("display",s))}catch(t){Su(e,e.return,t)}}}else if(6===d.tag){if(null===h)try{d.stateNode.nodeValue=f?"":d.memoizedProps}catch(t){Su(e,e.return,t)}}else if((22!==d.tag&&23!==d.tag||null===d.memoizedState||d===e)&&null!==d.child){d.child.return=d,d=d.child;continue}if(d===e)break e;for(;null===d.sibling;){if(null===d.return||d.return===e)break e;h===d&&(h=null),d=d.return}h===d&&(h=null),d.sibling.return=d.return,d=d.sibling}if(f&&!c&&0!=(1&e.mode))for(Ys=e,e=e.child;null!==e;){for(c=Ys=e;null!==Ys;){switch(h=(f=Ys).child,f.tag){case 0:case 11:case 14:case 15:Js(4,f,f.return);break;case 1:if(Ks(f,f.return),"function"==typeof(a=f.stateNode).componentWillUnmount){d=f,p=f.return;try{i=d,a.props=i.memoizedProps,a.state=i.memoizedState,a.componentWillUnmount()}catch(e){Su(d,p,e)}}break;case 5:Ks(f,f.return);break;case 22:if(null!==f.memoizedState){vl(c);continue}}null!==h?(h.return=f,Ys=h):vl(c)}e=e.sibling}}break;case 19:hl(t,e),pl(e),4&r&&fl(e);case 21:}}function pl(e){var t=e.flags;if(2&t){try{e:{for(var n=e.return;null!==n;){if(rl(n)){var r=n;break e}n=n.return}throw Error(o(160))}switch(r.tag){case 5:var i=r.stateNode;32&r.flags&&(he(i,""),r.flags&=-33),al(e,il(e),i);break;case 3:case 4:var a=r.stateNode.containerInfo;ol(e,il(e),a);break;default:throw Error(o(161))}}catch(t){Su(e,e.return,t)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function gl(e,t,n){Ys=e,ml(e,t,n)}function ml(e,t,n){for(var r=0!=(1&e.mode);null!==Ys;){var i=Ys,o=i.child;if(22===i.tag&&r){var a=null!==i.memoizedState||Us;if(!a){var s=i.alternate,l=null!==s&&null!==s.memoizedState||qs;s=Us;var u=qs;if(Us=a,(qs=l)&&!u)for(Ys=i;null!==Ys;)l=(a=Ys).child,22===a.tag&&null!==a.memoizedState?yl(i):null!==l?(l.return=a,Ys=l):yl(i);for(;null!==o;)Ys=o,ml(o,t,n),o=o.sibling;Ys=i,Us=s,qs=u}bl(e)}else 0!=(8772&i.subtreeFlags)&&null!==o?(o.return=i,Ys=o):bl(e)}}function bl(e){for(;null!==Ys;){var t=Ys;if(0!=(8772&t.flags)){var n=t.alternate;try{if(0!=(8772&t.flags))switch(t.tag){case 0:case 11:case 15:qs||el(5,t);break;case 1:var r=t.stateNode;if(4&t.flags&&!qs)if(null===n)r.componentDidMount();else{var i=t.elementType===t.type?n.memoizedProps:Gi(t.type,n.memoizedProps);r.componentDidUpdate(i,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var a=t.updateQueue;null!==a&&uo(t,a,r);break;case 3:var s=t.updateQueue;if(null!==s){if(n=null,null!==t.child)switch(t.child.tag){case 5:case 1:n=t.child.stateNode}uo(t,s,n)}break;case 5:var l=t.stateNode;if(null===n&&4&t.flags){n=l;var u=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":u.autoFocus&&n.focus();break;case"img":u.src&&(n.src=u.src)}}break;case 6:case 4:case 12:case 19:case 17:case 21:case 22:case 23:break;case 13:if(null===t.memoizedState){var c=t.alternate;if(null!==c){var f=c.memoizedState;if(null!==f){var h=f.dehydrated;null!==h&&$t(h)}}}break;default:throw Error(o(163))}qs||512&t.flags&&tl(t)}catch(e){Su(t,t.return,e)}}if(t===e){Ys=null;break}if(null!==(n=t.sibling)){n.return=t.return,Ys=n;break}Ys=t.return}}function vl(e){for(;null!==Ys;){var t=Ys;if(t===e){Ys=null;break}var n=t.sibling;if(null!==n){n.return=t.return,Ys=n;break}Ys=t.return}}function yl(e){for(;null!==Ys;){var t=Ys;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{el(4,t)}catch(e){Su(t,n,e)}break;case 1:var r=t.stateNode;if("function"==typeof r.componentDidMount){var i=t.return;try{r.componentDidMount()}catch(e){Su(t,i,e)}}var o=t.return;try{tl(t)}catch(e){Su(t,o,e)}break;case 5:var a=t.return;try{tl(t)}catch(e){Su(t,a,e)}}}catch(e){Su(t,t.return,e)}if(t===e){Ys=null;break}var s=t.sibling;if(null!==s){s.return=t.return,Ys=s;break}Ys=t.return}}var wl,xl=Math.ceil,_l=w.ReactCurrentDispatcher,Sl=w.ReactCurrentOwner,kl=w.ReactCurrentBatchConfig,Cl=0,El=null,Il=null,Ml=0,Tl=0,Al=ki(0),Pl=0,Ol=null,Dl=0,Rl=0,Ll=0,Nl=null,jl=null,Fl=0,zl=1/0,Bl=null,Vl=!1,$l=null,Hl=null,Gl=!1,Wl=null,Ul=0,ql=0,Xl=null,Yl=-1,Kl=0;function Zl(){return 0!=(6&Cl)?Ze():-1!==Yl?Yl:Yl=Ze()}function Ql(e){return 0==(1&e.mode)?1:0!=(2&Cl)&&0!==Ml?Ml&-Ml:null!==Hi.transition?(0===Kl&&(Kl=gt()),Kl):0!==(e=yt)?e:e=void 0===(e=window.event)?16:Kt(e.type)}function Jl(e,t,n){if(50<ql)throw ql=0,Xl=null,Error(o(185));var r=eu(e,t);return null===r?null:(bt(r,t,n),0!=(2&Cl)&&r===El||(r===El&&(0==(2&Cl)&&(Rl|=t),4===Pl&&au(r,Ml)),nu(r,n),1===t&&0===Cl&&0==(1&e.mode)&&(zl=Ze()+500,zi&&$i())),r)}function eu(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}function tu(e){return(null!==El||null!==eo)&&0!=(1&e.mode)&&0==(2&Cl)}function nu(e,t){var n=e.callbackNode;!function(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,o=e.pendingLanes;0<o;){var a=31-at(o),s=1<<a,l=i[a];-1===l?0!=(s&n)&&0==(s&r)||(i[a]=dt(s,t)):l<=t&&(e.expiredLanes|=s),o&=~s}}(e,t);var r=ht(e,e===El?Ml:0);if(0===r)null!==n&&Xe(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(null!=n&&Xe(n),1===t)0===e.tag?function(e){zi=!0,Vi(e)}(su.bind(null,e)):Vi(su.bind(null,e)),ai((function(){0===Cl&&$i()})),n=null;else{switch(wt(r)){case 1:n=Je;break;case 4:n=et;break;case 16:default:n=tt;break;case 536870912:n=rt}n=Mu(n,ru.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function ru(e,t){if(Yl=-1,Kl=0,0!=(6&Cl))throw Error(o(327));var n=e.callbackNode;if(xu()&&e.callbackNode!==n)return null;var r=ht(e,e===El?Ml:0);if(0===r)return null;if(0!=(30&r)||0!=(r&e.expiredLanes)||t)t=gu(e,r);else{t=r;var i=Cl;Cl|=2;var a=du();for(El===e&&Ml===t||(Bl=null,zl=Ze()+500,fu(e,t));;)try{bu();break}catch(t){hu(e,t)}Yi(),_l.current=a,Cl=i,null!==Il?t=0:(El=null,Ml=0,t=Pl)}if(0!==t){if(2===t&&(0!==(i=pt(e))&&(r=i,t=iu(e,i))),1===t)throw n=Ol,fu(e,0),au(e,r),nu(e,Ze()),n;if(6===t)au(e,r);else{if(i=e.current.alternate,0==(30&r)&&!function(e){for(var t=e;;){if(16384&t.flags){var n=t.updateQueue;if(null!==n&&null!==(n=n.stores))for(var r=0;r<n.length;r++){var i=n[r],o=i.getSnapshot;i=i.value;try{if(!sr(o(),i))return!1}catch(e){return!1}}}if(n=t.child,16384&t.subtreeFlags&&null!==n)n.return=t,t=n;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}(i)&&(2===(t=gu(e,r))&&(0!==(a=pt(e))&&(r=a,t=iu(e,a))),1===t))throw n=Ol,fu(e,0),au(e,r),nu(e,Ze()),n;switch(e.finishedWork=i,e.finishedLanes=r,t){case 0:case 1:throw Error(o(345));case 2:case 5:wu(e,jl,Bl);break;case 3:if(au(e,r),(130023424&r)===r&&10<(t=Fl+500-Ze())){if(0!==ht(e,0))break;if(((i=e.suspendedLanes)&r)!==r){Zl(),e.pingedLanes|=e.suspendedLanes&i;break}e.timeoutHandle=ri(wu.bind(null,e,jl,Bl),t);break}wu(e,jl,Bl);break;case 4:if(au(e,r),(4194240&r)===r)break;for(t=e.eventTimes,i=-1;0<r;){var s=31-at(r);a=1<<s,(s=t[s])>i&&(i=s),r&=~a}if(r=i,10<(r=(120>(r=Ze()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*xl(r/1960))-r)){e.timeoutHandle=ri(wu.bind(null,e,jl,Bl),r);break}wu(e,jl,Bl);break;default:throw Error(o(329))}}}return nu(e,Ze()),e.callbackNode===n?ru.bind(null,e):null}function iu(e,t){var n=Nl;return e.current.memoizedState.isDehydrated&&(fu(e,t).flags|=256),2!==(e=gu(e,t))&&(t=jl,jl=n,null!==t&&ou(t)),e}function ou(e){null===jl?jl=e:jl.push.apply(jl,e)}function au(e,t){for(t&=~Ll,t&=~Rl,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-at(t),r=1<<n;e[n]=-1,t&=~r}}function su(e){if(0!=(6&Cl))throw Error(o(327));xu();var t=ht(e,0);if(0==(1&t))return nu(e,Ze()),null;var n=gu(e,t);if(0!==e.tag&&2===n){var r=pt(e);0!==r&&(t=r,n=iu(e,r))}if(1===n)throw n=Ol,fu(e,0),au(e,t),nu(e,Ze()),n;if(6===n)throw Error(o(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,wu(e,jl,Bl),nu(e,Ze()),null}function lu(e,t){var n=Cl;Cl|=1;try{return e(t)}finally{0===(Cl=n)&&(zl=Ze()+500,zi&&$i())}}function uu(e){null!==Wl&&0===Wl.tag&&0==(6&Cl)&&xu();var t=Cl;Cl|=1;var n=kl.transition,r=yt;try{if(kl.transition=null,yt=1,e)return e()}finally{yt=r,kl.transition=n,0==(6&(Cl=t))&&$i()}}function cu(){Tl=Al.current,Ci(Al)}function fu(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,ii(n)),null!==Il)for(n=Il.return;null!==n;){var r=n;switch(Ao(r),r.tag){case 1:null!=(r=r.type.childContextTypes)&&Di();break;case 3:ta(),Ci(Ti),Ci(Mi),sa();break;case 5:ra(r);break;case 4:ta();break;case 13:case 19:Ci(ia);break;case 10:Ki(r.type._context);break;case 22:case 23:cu()}n=n.return}if(El=e,Il=e=Ou(e.current,null),Ml=Tl=t,Pl=0,Ol=null,Ll=Rl=Dl=0,jl=Nl=null,null!==eo){for(t=0;t<eo.length;t++)if(null!==(r=(n=eo[t]).interleaved)){n.interleaved=null;var i=r.next,o=n.pending;if(null!==o){var a=o.next;o.next=i,r.next=a}n.pending=r}eo=null}return e}function hu(e,t){for(;;){var n=Il;try{if(Yi(),la.current=ns,pa){for(var r=fa.memoizedState;null!==r;){var i=r.queue;null!==i&&(i.pending=null),r=r.next}pa=!1}if(ca=0,da=ha=fa=null,ga=!1,ma=0,Sl.current=null,null===n||null===n.return){Pl=1,Ol=t,Il=null;break}e:{var a=e,s=n.return,l=n,u=t;if(t=Ml,l.flags|=32768,null!==u&&"object"==typeof u&&"function"==typeof u.then){var c=u,f=l,h=f.tag;if(0==(1&f.mode)&&(0===h||11===h||15===h)){var d=f.alternate;d?(f.updateQueue=d.updateQueue,f.memoizedState=d.memoizedState,f.lanes=d.lanes):(f.updateQueue=null,f.memoizedState=null)}var p=gs(s);if(null!==p){p.flags&=-257,ms(p,s,l,0,t),1&p.mode&&ps(a,c,t),u=c;var g=(t=p).updateQueue;if(null===g){var m=new Set;m.add(u),t.updateQueue=m}else g.add(u);break e}if(0==(1&t)){ps(a,c,t),pu();break e}u=Error(o(426))}else if(Do&&1&l.mode){var b=gs(s);if(null!==b){0==(65536&b.flags)&&(b.flags|=256),ms(b,s,l,0,t),$o(u);break e}}a=u,4!==Pl&&(Pl=2),null===Nl?Nl=[a]:Nl.push(a),u=as(u,l),l=s;do{switch(l.tag){case 3:l.flags|=65536,t&=-t,l.lanes|=t,so(l,hs(0,u,t));break e;case 1:a=u;var v=l.type,y=l.stateNode;if(0==(128&l.flags)&&("function"==typeof v.getDerivedStateFromError||null!==y&&"function"==typeof y.componentDidCatch&&(null===Hl||!Hl.has(y)))){l.flags|=65536,t&=-t,l.lanes|=t,so(l,ds(l,a,t));break e}}l=l.return}while(null!==l)}yu(n)}catch(e){t=e,Il===n&&null!==n&&(Il=n=n.return);continue}break}}function du(){var e=_l.current;return _l.current=ns,null===e?ns:e}function pu(){0!==Pl&&3!==Pl&&2!==Pl||(Pl=4),null===El||0==(268435455&Dl)&&0==(268435455&Rl)||au(El,Ml)}function gu(e,t){var n=Cl;Cl|=2;var r=du();for(El===e&&Ml===t||(Bl=null,fu(e,t));;)try{mu();break}catch(t){hu(e,t)}if(Yi(),Cl=n,_l.current=r,null!==Il)throw Error(o(261));return El=null,Ml=0,Pl}function mu(){for(;null!==Il;)vu(Il)}function bu(){for(;null!==Il&&!Ye();)vu(Il)}function vu(e){var t=wl(e.alternate,e,Tl);e.memoizedProps=e.pendingProps,null===t?yu(e):Il=t,Sl.current=null}function yu(e){var t=e;do{var n=t.alternate;if(e=t.return,0==(32768&t.flags)){if(null!==(n=ys(n,t,Tl)))return void(Il=n)}else{if(null!==(n=Ws(n,t)))return n.flags&=32767,void(Il=n);if(null===e)return Pl=6,void(Il=null);e.flags|=32768,e.subtreeFlags=0,e.deletions=null}if(null!==(t=t.sibling))return void(Il=t);Il=t=e}while(null!==t);0===Pl&&(Pl=5)}function wu(e,t,n){var r=yt,i=kl.transition;try{kl.transition=null,yt=1,function(e,t,n,r){do{xu()}while(null!==Wl);if(0!=(6&Cl))throw Error(o(327));n=e.finishedWork;var i=e.finishedLanes;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(o(177));e.callbackNode=null,e.callbackPriority=0;var a=n.lanes|n.childLanes;if(function(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var i=31-at(n),o=1<<i;t[i]=0,r[i]=-1,e[i]=-1,n&=~o}}(e,a),e===El&&(Il=El=null,Ml=0),0==(2064&n.subtreeFlags)&&0==(2064&n.flags)||Gl||(Gl=!0,Mu(tt,(function(){return xu(),null}))),a=0!=(15990&n.flags),0!=(15990&n.subtreeFlags)||a){a=kl.transition,kl.transition=null;var s=yt;yt=1;var l=Cl;Cl|=4,Sl.current=null,function(e,t){if(ei=Gt,dr(e=hr())){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{var r=(n=(n=e.ownerDocument)&&n.defaultView||window).getSelection&&n.getSelection();if(r&&0!==r.rangeCount){n=r.anchorNode;var i=r.anchorOffset,a=r.focusNode;r=r.focusOffset;try{n.nodeType,a.nodeType}catch(e){n=null;break e}var s=0,l=-1,u=-1,c=0,f=0,h=e,d=null;t:for(;;){for(var p;h!==n||0!==i&&3!==h.nodeType||(l=s+i),h!==a||0!==r&&3!==h.nodeType||(u=s+r),3===h.nodeType&&(s+=h.nodeValue.length),null!==(p=h.firstChild);)d=h,h=p;for(;;){if(h===e)break t;if(d===n&&++c===i&&(l=s),d===a&&++f===r&&(u=s),null!==(p=h.nextSibling))break;d=(h=d).parentNode}h=p}n=-1===l||-1===u?null:{start:l,end:u}}else n=null}n=n||{start:0,end:0}}else n=null;for(ti={focusedElem:e,selectionRange:n},Gt=!1,Ys=t;null!==Ys;)if(e=(t=Ys).child,0!=(1028&t.subtreeFlags)&&null!==e)e.return=t,Ys=e;else for(;null!==Ys;){t=Ys;try{var g=t.alternate;if(0!=(1024&t.flags))switch(t.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:if(null!==g){var m=g.memoizedProps,b=g.memoizedState,v=t.stateNode,y=v.getSnapshotBeforeUpdate(t.elementType===t.type?m:Gi(t.type,m),b);v.__reactInternalSnapshotBeforeUpdate=y}break;case 3:var w=t.stateNode.containerInfo;if(1===w.nodeType)w.textContent="";else if(9===w.nodeType){var x=w.body;null!=x&&(x.textContent="")}break;default:throw Error(o(163))}}catch(e){Su(t,t.return,e)}if(null!==(e=t.sibling)){e.return=t.return,Ys=e;break}Ys=t.return}g=Qs,Qs=!1}(e,n),dl(n,e),pr(ti),Gt=!!ei,ti=ei=null,e.current=n,gl(n,e,i),Ke(),Cl=l,yt=s,kl.transition=a}else e.current=n;if(Gl&&(Gl=!1,Wl=e,Ul=i),0===(a=e.pendingLanes)&&(Hl=null),function(e){if(ot&&"function"==typeof ot.onCommitFiberRoot)try{ot.onCommitFiberRoot(it,e,void 0,128==(128&e.current.flags))}catch(e){}}(n.stateNode),nu(e,Ze()),null!==t)for(r=e.onRecoverableError,n=0;n<t.length;n++)r(t[n]);if(Vl)throw Vl=!1,e=$l,$l=null,e;0!=(1&Ul)&&0!==e.tag&&xu(),0!=(1&(a=e.pendingLanes))?e===Xl?ql++:(ql=0,Xl=e):ql=0,$i()}(e,t,n,r)}finally{kl.transition=i,yt=r}return null}function xu(){if(null!==Wl){var e=wt(Ul),t=kl.transition,n=yt;try{if(kl.transition=null,yt=16>e?16:e,null===Wl)var r=!1;else{if(e=Wl,Wl=null,Ul=0,0!=(6&Cl))throw Error(o(331));var i=Cl;for(Cl|=4,Ys=e.current;null!==Ys;){var a=Ys,s=a.child;if(0!=(16&Ys.flags)){var l=a.deletions;if(null!==l){for(var u=0;u<l.length;u++){var c=l[u];for(Ys=c;null!==Ys;){var f=Ys;switch(f.tag){case 0:case 11:case 15:Js(8,f,a)}var h=f.child;if(null!==h)h.return=f,Ys=h;else for(;null!==Ys;){var d=(f=Ys).sibling,p=f.return;if(nl(f),f===c){Ys=null;break}if(null!==d){d.return=p,Ys=d;break}Ys=p}}}var g=a.alternate;if(null!==g){var m=g.child;if(null!==m){g.child=null;do{var b=m.sibling;m.sibling=null,m=b}while(null!==m)}}Ys=a}}if(0!=(2064&a.subtreeFlags)&&null!==s)s.return=a,Ys=s;else e:for(;null!==Ys;){if(0!=(2048&(a=Ys).flags))switch(a.tag){case 0:case 11:case 15:Js(9,a,a.return)}var v=a.sibling;if(null!==v){v.return=a.return,Ys=v;break e}Ys=a.return}}var y=e.current;for(Ys=y;null!==Ys;){var w=(s=Ys).child;if(0!=(2064&s.subtreeFlags)&&null!==w)w.return=s,Ys=w;else e:for(s=y;null!==Ys;){if(0!=(2048&(l=Ys).flags))try{switch(l.tag){case 0:case 11:case 15:el(9,l)}}catch(e){Su(l,l.return,e)}if(l===s){Ys=null;break e}var x=l.sibling;if(null!==x){x.return=l.return,Ys=x;break e}Ys=l.return}}if(Cl=i,$i(),ot&&"function"==typeof ot.onPostCommitFiberRoot)try{ot.onPostCommitFiberRoot(it,e)}catch(e){}r=!0}return r}finally{yt=n,kl.transition=t}}return!1}function _u(e,t,n){oo(e,t=hs(0,t=as(n,t),1)),t=Zl(),null!==(e=eu(e,1))&&(bt(e,1,t),nu(e,t))}function Su(e,t,n){if(3===e.tag)_u(e,e,n);else for(;null!==t;){if(3===t.tag){_u(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===Hl||!Hl.has(r))){oo(t,e=ds(t,e=as(n,e),1)),e=Zl(),null!==(t=eu(t,1))&&(bt(t,1,e),nu(t,e));break}}t=t.return}}function ku(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=Zl(),e.pingedLanes|=e.suspendedLanes&n,El===e&&(Ml&n)===n&&(4===Pl||3===Pl&&(130023424&Ml)===Ml&&500>Ze()-Fl?fu(e,0):Ll|=n),nu(e,t)}function Cu(e,t){0===t&&(0==(1&e.mode)?t=1:(t=ct,0==(130023424&(ct<<=1))&&(ct=4194304)));var n=Zl();null!==(e=eu(e,t))&&(bt(e,t,n),nu(e,n))}function Eu(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),Cu(e,n)}function Iu(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;null!==i&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(o(314))}null!==r&&r.delete(t),Cu(e,n)}function Mu(e,t){return qe(e,t)}function Tu(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Au(e,t,n,r){return new Tu(e,t,n,r)}function Pu(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Ou(e,t){var n=e.alternate;return null===n?((n=Au(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=14680064&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Du(e,t,n,r,i,a){var s=2;if(r=e,"function"==typeof e)Pu(e)&&(s=1);else if("string"==typeof e)s=5;else e:switch(e){case S:return Ru(n.children,i,a,t);case k:s=8,i|=8;break;case C:return(e=Au(12,n,t,2|i)).elementType=C,e.lanes=a,e;case T:return(e=Au(13,n,t,i)).elementType=T,e.lanes=a,e;case A:return(e=Au(19,n,t,i)).elementType=A,e.lanes=a,e;case D:return Lu(n,i,a,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case E:s=10;break e;case I:s=9;break e;case M:s=11;break e;case P:s=14;break e;case O:s=16,r=null;break e}throw Error(o(130,null==e?e:typeof e,""))}return(t=Au(s,n,t,i)).elementType=e,t.type=r,t.lanes=a,t}function Ru(e,t,n,r){return(e=Au(7,e,r,t)).lanes=n,e}function Lu(e,t,n,r){return(e=Au(22,e,r,t)).elementType=D,e.lanes=n,e.stateNode={},e}function Nu(e,t,n){return(e=Au(6,e,null,t)).lanes=n,e}function ju(e,t,n){return(t=Au(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Fu(e,t,n,r,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=mt(0),this.expirationTimes=mt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=mt(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function zu(e,t,n,r,i,o,a,s,l){return e=new Fu(e,t,n,s,l),1===t?(t=1,!0===o&&(t|=8)):t=0,o=Au(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},no(o),e}function Bu(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:_,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}function Vu(e){if(!e)return Ii;e:{if($e(e=e._reactInternals)!==e||1!==e.tag)throw Error(o(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Oi(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(o(171))}if(1===e.tag){var n=e.type;if(Oi(n))return Li(e,n,t)}return t}function $u(e,t,n,r,i,o,a,s,l){return(e=zu(n,r,!0,e,0,o,0,s,l)).context=Vu(null),n=e.current,(o=io(r=Zl(),i=Ql(n))).callback=null!=t?t:null,oo(n,o),e.current.lanes=i,bt(e,i,r),nu(e,r),e}function Hu(e,t,n,r){var i=t.current,o=Zl(),a=Ql(i);return n=Vu(n),null===t.context?t.context=n:t.pendingContext=n,(t=io(o,a)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),oo(i,t),null!==(e=Jl(i,a,o))&&ao(e,i,a),a}function Gu(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function Wu(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function Uu(e,t){Wu(e,t),(e=e.alternate)&&Wu(e,t)}wl=function(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps||Ti.current)xs=!0;else{if(0==(e.lanes&n)&&0==(128&t.flags))return xs=!1,function(e,t,n){switch(t.tag){case 3:Ps(t),Vo();break;case 5:na(t);break;case 1:Oi(t.type)&&Ni(t);break;case 4:ea(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,i=t.memoizedProps.value;Ei(Wi,r._currentValue),r._currentValue=i;break;case 13:if(null!==(r=t.memoizedState))return null!==r.dehydrated?(Ei(ia,1&ia.current),t.flags|=128,null):0!=(n&t.child.childLanes)?Ns(e,t,n):(Ei(ia,1&ia.current),null!==(e=Gs(e,t,n))?e.sibling:null);Ei(ia,1&ia.current);break;case 19:if(r=0!=(n&t.childLanes),0!=(128&e.flags)){if(r)return Hs(e,t,n);t.flags|=128}if(null!==(i=t.memoizedState)&&(i.rendering=null,i.tail=null,i.lastEffect=null),Ei(ia,ia.current),r)break;return null;case 22:case 23:return t.lanes=0,Es(e,t,n)}return Gs(e,t,n)}(e,t,n);xs=0!=(131072&e.flags)}else xs=!1,Do&&0!=(1048576&t.flags)&&Mo(t,xo,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps;var i=Pi(t,Mi.current);Qi(t,n),i=wa(null,t,r,e,i,n);var a=xa();return t.flags|=1,"object"==typeof i&&null!==i&&"function"==typeof i.render&&void 0===i.$$typeof?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Oi(r)?(a=!0,Ni(t)):a=!1,t.memoizedState=null!==i.state&&void 0!==i.state?i.state:null,no(t),i.updater=ho,t.stateNode=i,i._reactInternals=t,bo(t,r,e,n),t=As(null,t,r,!0,a,n)):(t.tag=0,Do&&a&&To(t),_s(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,r=(i=r._init)(r._payload),t.type=r,i=t.tag=function(e){if("function"==typeof e)return Pu(e)?1:0;if(null!=e){if((e=e.$$typeof)===M)return 11;if(e===P)return 14}return 2}(r),e=Gi(r,e),i){case 0:t=Ms(null,t,r,e,n);break e;case 1:t=Ts(null,t,r,e,n);break e;case 11:t=Ss(null,t,r,e,n);break e;case 14:t=ks(null,t,r,Gi(r.type,e),n);break e}throw Error(o(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,Ms(e,t,r,i=t.elementType===r?i:Gi(r,i),n);case 1:return r=t.type,i=t.pendingProps,Ts(e,t,r,i=t.elementType===r?i:Gi(r,i),n);case 3:e:{if(Ps(t),null===e)throw Error(o(387));r=t.pendingProps,i=(a=t.memoizedState).element,ro(e,t),lo(t,r,null,n);var s=t.memoizedState;if(r=s.element,a.isDehydrated){if(a={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=a,t.memoizedState=a,256&t.flags){t=Os(e,t,r,n,i=Error(o(423)));break e}if(r!==i){t=Os(e,t,r,n,i=Error(o(424)));break e}for(Oo=ui(t.stateNode.containerInfo.firstChild),Po=t,Do=!0,Ro=null,n=Xo(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(Vo(),r===i){t=Gs(e,t,n);break e}_s(e,t,r,n)}t=t.child}return t;case 5:return na(t),null===e&&Fo(t),r=t.type,i=t.pendingProps,a=null!==e?e.memoizedProps:null,s=i.children,ni(r,i)?s=null:null!==a&&ni(r,a)&&(t.flags|=32),Is(e,t),_s(e,t,s,n),t.child;case 6:return null===e&&Fo(t),null;case 13:return Ns(e,t,n);case 4:return ea(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=qo(t,null,r,n):_s(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,Ss(e,t,r,i=t.elementType===r?i:Gi(r,i),n);case 7:return _s(e,t,t.pendingProps,n),t.child;case 8:case 12:return _s(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,a=t.memoizedProps,s=i.value,Ei(Wi,r._currentValue),r._currentValue=s,null!==a)if(sr(a.value,s)){if(a.children===i.children&&!Ti.current){t=Gs(e,t,n);break e}}else for(null!==(a=t.child)&&(a.return=t);null!==a;){var l=a.dependencies;if(null!==l){s=a.child;for(var u=l.firstContext;null!==u;){if(u.context===r){if(1===a.tag){(u=io(-1,n&-n)).tag=2;var c=a.updateQueue;if(null!==c){var f=(c=c.shared).pending;null===f?u.next=u:(u.next=f.next,f.next=u),c.pending=u}}a.lanes|=n,null!==(u=a.alternate)&&(u.lanes|=n),Zi(a.return,n,t),l.lanes|=n;break}u=u.next}}else if(10===a.tag)s=a.type===t.type?null:a.child;else if(18===a.tag){if(null===(s=a.return))throw Error(o(341));s.lanes|=n,null!==(l=s.alternate)&&(l.lanes|=n),Zi(s,n,t),s=a.sibling}else s=a.child;if(null!==s)s.return=a;else for(s=a;null!==s;){if(s===t){s=null;break}if(null!==(a=s.sibling)){a.return=s.return,s=a;break}s=s.return}a=s}_s(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,Qi(t,n),r=r(i=Ji(i)),t.flags|=1,_s(e,t,r,n),t.child;case 14:return i=Gi(r=t.type,t.pendingProps),ks(e,t,r,i=Gi(r.type,i),n);case 15:return Cs(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Gi(r,i),null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),t.tag=1,Oi(r)?(e=!0,Ni(t)):e=!1,Qi(t,n),go(t,r,i),bo(t,r,i,n),As(null,t,r,!0,e,n);case 19:return Hs(e,t,n);case 22:return Es(e,t,n)}throw Error(o(156,t.tag))};var qu="function"==typeof reportError?reportError:function(e){console.error(e)};function Xu(e){this._internalRoot=e}function Yu(e){this._internalRoot=e}function Ku(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function Zu(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Qu(){}function Ju(e,t,n,r,i){var o=n._reactRootContainer;if(o){var a=o;if("function"==typeof i){var s=i;i=function(){var e=Gu(a);s.call(e)}}Hu(t,a,e,i)}else a=function(e,t,n,r,i){if(i){if("function"==typeof r){var o=r;r=function(){var e=Gu(a);o.call(e)}}var a=$u(t,r,e,0,null,!1,0,"",Qu);return e._reactRootContainer=a,e[pi]=a.current,$r(8===e.nodeType?e.parentNode:e),uu(),a}for(;i=e.lastChild;)e.removeChild(i);if("function"==typeof r){var s=r;r=function(){var e=Gu(l);s.call(e)}}var l=zu(e,0,!1,null,0,!1,0,"",Qu);return e._reactRootContainer=l,e[pi]=l.current,$r(8===e.nodeType?e.parentNode:e),uu((function(){Hu(t,l,n,r)})),l}(n,t,e,i,r);return Gu(a)}Yu.prototype.render=Xu.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(o(409));Hu(e,t,null,null)},Yu.prototype.unmount=Xu.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;uu((function(){Hu(null,e,null,null)})),t[pi]=null}},Yu.prototype.unstable_scheduleHydration=function(e){if(e){var t=kt();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Dt.length&&0!==t&&t<Dt[n].priority;n++);Dt.splice(n,0,e),0===n&&jt(e)}},xt=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=ft(t.pendingLanes);0!==n&&(vt(t,1|n),nu(t,Ze()),0==(6&Cl)&&(zl=Ze()+500,$i()))}break;case 13:var r=Zl();uu((function(){return Jl(e,1,r)})),Uu(e,1)}},_t=function(e){13===e.tag&&(Jl(e,134217728,Zl()),Uu(e,134217728))},St=function(e){if(13===e.tag){var t=Zl(),n=Ql(e);Jl(e,n,t),Uu(e,n)}},kt=function(){return yt},Ct=function(e,t){var n=yt;try{return yt=e,t()}finally{yt=n}},_e=function(e,t,n){switch(t){case"input":if(Q(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var i=xi(r);if(!i)throw Error(o(90));q(r),Q(r,i)}}}break;case"textarea":oe(e,n);break;case"select":null!=(t=n.value)&&ne(e,!!n.multiple,t,!1)}},Me=lu,Te=uu;var ec={usingClientEntryPoint:!1,Events:[yi,wi,xi,Ee,Ie,lu]},tc={findFiberByHostInstance:vi,bundleType:0,version:"18.1.0",rendererPackageName:"react-dom"},nc={bundleType:tc.bundleType,version:tc.version,rendererPackageName:tc.rendererPackageName,rendererConfig:tc.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:w.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=We(e))?null:e.stateNode},findFiberByHostInstance:tc.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.1.0-next-22edb9f77-20220426"};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var rc=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!rc.isDisabled&&rc.supportsFiber)try{it=rc.inject(nc),ot=rc}catch(ce){}}t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=ec,t.createPortal=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Ku(t))throw Error(o(200));return Bu(e,t,null,n)},t.createRoot=function(e,t){if(!Ku(e))throw Error(o(299));var n=!1,r="",i=qu;return null!=t&&(!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(r=t.identifierPrefix),void 0!==t.onRecoverableError&&(i=t.onRecoverableError)),t=zu(e,1,!1,null,0,n,0,r,i),e[pi]=t.current,$r(8===e.nodeType?e.parentNode:e),new Xu(t)},t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"==typeof e.render)throw Error(o(188));throw e=Object.keys(e).join(","),Error(o(268,e))}return e=null===(e=We(t))?null:e.stateNode},t.flushSync=function(e){return uu(e)},t.hydrate=function(e,t,n){if(!Zu(t))throw Error(o(200));return Ju(null,e,t,!0,n)},t.hydrateRoot=function(e,t,n){if(!Ku(e))throw Error(o(405));var r=null!=n&&n.hydratedSources||null,i=!1,a="",s=qu;if(null!=n&&(!0===n.unstable_strictMode&&(i=!0),void 0!==n.identifierPrefix&&(a=n.identifierPrefix),void 0!==n.onRecoverableError&&(s=n.onRecoverableError)),t=$u(t,null,e,1,null!=n?n:null,i,0,a,s),e[pi]=t.current,$r(e),r)for(e=0;e<r.length;e++)i=(i=(n=r[e])._getVersion)(n._source),null==t.mutableSourceEagerHydrationData?t.mutableSourceEagerHydrationData=[n,i]:t.mutableSourceEagerHydrationData.push(n,i);return new Yu(t)},t.render=function(e,t,n){if(!Zu(t))throw Error(o(200));return Ju(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!Zu(e))throw Error(o(40));return!!e._reactRootContainer&&(uu((function(){Ju(null,null,e,!1,(function(){e._reactRootContainer=null,e[pi]=null}))})),!0)},t.unstable_batchedUpdates=lu,t.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Zu(n))throw Error(o(200));if(null==e||void 0===e._reactInternals)throw Error(o(38));return Ju(e,t,n,!1,r)},t.version="18.1.0-next-22edb9f77-20220426"},5338:(e,t,n)=>{"use strict";var r=n(961);t.H=r.createRoot,r.hydrateRoot},961:(e,t,n)=>{"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=n(2551)},115:e=>{var t="undefined"!=typeof Element,n="function"==typeof Map,r="function"==typeof Set,i="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function o(e,a){if(e===a)return!0;if(e&&a&&"object"==typeof e&&"object"==typeof a){if(e.constructor!==a.constructor)return!1;var s,l,u,c;if(Array.isArray(e)){if((s=e.length)!=a.length)return!1;for(l=s;0!=l--;)if(!o(e[l],a[l]))return!1;return!0}if(n&&e instanceof Map&&a instanceof Map){if(e.size!==a.size)return!1;for(c=e.entries();!(l=c.next()).done;)if(!a.has(l.value[0]))return!1;for(c=e.entries();!(l=c.next()).done;)if(!o(l.value[1],a.get(l.value[0])))return!1;return!0}if(r&&e instanceof Set&&a instanceof Set){if(e.size!==a.size)return!1;for(c=e.entries();!(l=c.next()).done;)if(!a.has(l.value[0]))return!1;return!0}if(i&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(a)){if((s=e.length)!=a.length)return!1;for(l=s;0!=l--;)if(e[l]!==a[l])return!1;return!0}if(e.constructor===RegExp)return e.source===a.source&&e.flags===a.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===a.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===a.toString();if((s=(u=Object.keys(e)).length)!==Object.keys(a).length)return!1;for(l=s;0!=l--;)if(!Object.prototype.hasOwnProperty.call(a,u[l]))return!1;if(t&&e instanceof Element)return!1;for(l=s;0!=l--;)if(("_owner"!==u[l]&&"__v"!==u[l]&&"__o"!==u[l]||!e.$$typeof)&&!o(e[u[l]],a[u[l]]))return!1;return!0}return e!=e&&a!=a}e.exports=function(e,t){try{return o(e,t)}catch(e){if((e.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw e}}},2799:(e,t)=>{"use strict";var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,i=n?Symbol.for("react.portal"):60106,o=n?Symbol.for("react.fragment"):60107,a=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,l=n?Symbol.for("react.provider"):60109,u=n?Symbol.for("react.context"):60110,c=n?Symbol.for("react.async_mode"):60111,f=n?Symbol.for("react.concurrent_mode"):60111,h=n?Symbol.for("react.forward_ref"):60112,d=n?Symbol.for("react.suspense"):60113,p=n?Symbol.for("react.suspense_list"):60120,g=n?Symbol.for("react.memo"):60115,m=n?Symbol.for("react.lazy"):60116,b=n?Symbol.for("react.block"):60121,v=n?Symbol.for("react.fundamental"):60117,y=n?Symbol.for("react.responder"):60118,w=n?Symbol.for("react.scope"):60119;function x(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case c:case f:case o:case s:case a:case d:return e;default:switch(e=e&&e.$$typeof){case u:case h:case m:case g:case l:return e;default:return t}}case i:return t}}}function _(e){return x(e)===f}t.AsyncMode=c,t.ConcurrentMode=f,t.ContextConsumer=u,t.ContextProvider=l,t.Element=r,t.ForwardRef=h,t.Fragment=o,t.Lazy=m,t.Memo=g,t.Portal=i,t.Profiler=s,t.StrictMode=a,t.Suspense=d,t.isAsyncMode=function(e){return _(e)||x(e)===c},t.isConcurrentMode=_,t.isContextConsumer=function(e){return x(e)===u},t.isContextProvider=function(e){return x(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return x(e)===h},t.isFragment=function(e){return x(e)===o},t.isLazy=function(e){return x(e)===m},t.isMemo=function(e){return x(e)===g},t.isPortal=function(e){return x(e)===i},t.isProfiler=function(e){return x(e)===s},t.isStrictMode=function(e){return x(e)===a},t.isSuspense=function(e){return x(e)===d},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===f||e===s||e===a||e===d||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===g||e.$$typeof===l||e.$$typeof===u||e.$$typeof===h||e.$$typeof===v||e.$$typeof===y||e.$$typeof===w||e.$$typeof===b)},t.typeOf=x},4363:(e,t,n)=>{"use strict";e.exports=n(2799)},8785:function(e,t,n){var r;e.exports=(r=n(6540),function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=48)}([function(e,t){e.exports=r},function(e,t){var n=e.exports={version:"2.6.12"};"number"==typeof __e&&(__e=n)},function(e,t,n){var r=n(26)("wks"),i=n(17),o=n(3).Symbol,a="function"==typeof o;(e.exports=function(e){return r[e]||(r[e]=a&&o[e]||(a?o:i)("Symbol."+e))}).store=r},function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t,n){e.exports=!n(8)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var r=n(7),i=n(16);e.exports=n(4)?function(e,t,n){return r.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var r=n(10),i=n(35),o=n(23),a=Object.defineProperty;t.f=n(4)?Object.defineProperty:function(e,t,n){if(r(e),t=o(t,!0),r(n),i)try{return a(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){var r=n(40),i=n(22);e.exports=function(e){return r(i(e))}},function(e,t,n){var r=n(11);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t){e.exports={}},function(e,t,n){var r=n(39),i=n(27);e.exports=Object.keys||function(e){return r(e,i)}},function(e,t){e.exports=!0},function(e,t,n){var r=n(3),i=n(1),o=n(53),a=n(6),s=n(5),l=function(e,t,n){var u,c,f,h=e&l.F,d=e&l.G,p=e&l.S,g=e&l.P,m=e&l.B,b=e&l.W,v=d?i:i[t]||(i[t]={}),y=v.prototype,w=d?r:p?r[t]:(r[t]||{}).prototype;for(u in d&&(n=t),n)(c=!h&&w&&void 0!==w[u])&&s(v,u)||(f=c?w[u]:n[u],v[u]=d&&"function"!=typeof w[u]?n[u]:m&&c?o(f,r):b&&w[u]==f?function(e){var t=function(t,n,r){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,r)}return e.apply(this,arguments)};return t.prototype=e.prototype,t}(f):g&&"function"==typeof f?o(Function.call,f):f,g&&((v.virtual||(v.virtual={}))[u]=f,e&l.R&&y&&!y[u]&&a(y,u,f)))};l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,e.exports=l},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},function(e,t,n){var r=n(22);e.exports=function(e){return Object(r(e))}},function(e,t){t.f={}.propertyIsEnumerable},function(e,t,n){"use strict";var r=n(52)(!0);n(34)(String,"String",(function(e){this._t=String(e),this._i=0}),(function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})}))},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){var r=n(11);e.exports=function(e,t){if(!r(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!r(i=n.call(e)))return i;if(!t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t,n){var r=n(26)("keys"),i=n(17);e.exports=function(e){return r[e]||(r[e]=i(e))}},function(e,t,n){var r=n(1),i=n(3),o=i["__core-js_shared__"]||(i["__core-js_shared__"]={});(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:r.version,mode:n(14)?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t,n){var r=n(7).f,i=n(5),o=n(2)("toStringTag");e.exports=function(e,t,n){e&&!i(e=n?e:e.prototype,o)&&r(e,o,{configurable:!0,value:t})}},function(e,t,n){n(62);for(var r=n(3),i=n(6),o=n(12),a=n(2)("toStringTag"),s="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),l=0;l<s.length;l++){var u=s[l],c=r[u],f=c&&c.prototype;f&&!f[a]&&i(f,a,u),o[u]=o.Array}},function(e,t,n){t.f=n(2)},function(e,t,n){var r=n(3),i=n(1),o=n(14),a=n(30),s=n(7).f;e.exports=function(e){var t=i.Symbol||(i.Symbol=o?{}:r.Symbol||{});"_"==e.charAt(0)||e in t||s(t,e,{value:a.f(e)})}},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t){e.exports=function(e,t,n){return Math.min(Math.max(e,t),n)}},function(e,t,n){"use strict";var r=n(14),i=n(15),o=n(37),a=n(6),s=n(12),l=n(55),u=n(28),c=n(61),f=n(2)("iterator"),h=!([].keys&&"next"in[].keys()),d=function(){return this};e.exports=function(e,t,n,p,g,m,b){l(n,t,p);var v,y,w,x=function(e){if(!h&&e in C)return C[e];switch(e){case"keys":case"values":return function(){return new n(this,e)}}return function(){return new n(this,e)}},_=t+" Iterator",S="values"==g,k=!1,C=e.prototype,E=C[f]||C["@@iterator"]||g&&C[g],I=E||x(g),M=g?S?x("entries"):I:void 0,T="Array"==t&&C.entries||E;if(T&&(w=c(T.call(new e)))!==Object.prototype&&w.next&&(u(w,_,!0),r||"function"==typeof w[f]||a(w,f,d)),S&&E&&"values"!==E.name&&(k=!0,I=function(){return E.call(this)}),r&&!b||!h&&!k&&C[f]||a(C,f,I),s[t]=I,s[_]=d,g)if(v={values:S?I:x("values"),keys:m?I:x("keys"),entries:M},b)for(y in v)y in C||o(C,y,v[y]);else i(i.P+i.F*(h||k),t,v);return v}},function(e,t,n){e.exports=!n(4)&&!n(8)((function(){return 7!=Object.defineProperty(n(36)("div"),"a",{get:function(){return 7}}).a}))},function(e,t,n){var r=n(11),i=n(3).document,o=r(i)&&r(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},function(e,t,n){e.exports=n(6)},function(e,t,n){var r=n(10),i=n(56),o=n(27),a=n(25)("IE_PROTO"),s=function(){},l=function(){var e,t=n(36)("iframe"),r=o.length;for(t.style.display="none",n(60).appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),l=e.F;r--;)delete l.prototype[o[r]];return l()};e.exports=Object.create||function(e,t){var n;return null!==e?(s.prototype=r(e),n=new s,s.prototype=null,n[a]=e):n=l(),void 0===t?n:i(n,t)}},function(e,t,n){var r=n(5),i=n(9),o=n(57)(!1),a=n(25)("IE_PROTO");e.exports=function(e,t){var n,s=i(e),l=0,u=[];for(n in s)n!=a&&r(s,n)&&u.push(n);for(;t.length>l;)r(s,n=t[l++])&&(~o(u,n)||u.push(n));return u}},function(e,t,n){var r=n(24);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},function(e,t,n){var r=n(39),i=n(27).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,i)}},function(e,t,n){var r=n(24),i=n(2)("toStringTag"),o="Arguments"==r(function(){return arguments}());e.exports=function(e){var t,n,a;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),i))?n:o?r(t):"Object"==(a=r(t))&&"function"==typeof t.callee?"Arguments":a}},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t){var n=/-?\d+(\.\d+)?%?/g;e.exports=function(e){return e.match(n)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getBase16Theme=t.createStyling=t.invertTheme=void 0;var r=d(n(49)),i=d(n(76)),o=d(n(81)),a=d(n(89)),s=d(n(93)),l=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(94)),u=d(n(132)),c=d(n(133)),f=d(n(138)),h=n(139);function d(e){return e&&e.__esModule?e:{default:e}}var p=l.default,g=(0,a.default)(p),m=(0,f.default)(c.default,h.rgb2yuv,(function(e){var t,n=(0,o.default)(e,3);return[(t=n[0],t<.25?1:t<.5?.9-t:1.1-t),n[1],n[2]]}),h.yuv2rgb,u.default),b=function(e){return function(t){return{className:[t.className,e.className].filter(Boolean).join(" "),style:(0,i.default)({},t.style||{},e.style||{})}}},v=function(e,t){var n=(0,a.default)(t);for(var o in e)-1===n.indexOf(o)&&n.push(o);return n.reduce((function(n,o){return n[o]=function(e,t){if(void 0===e)return t;if(void 0===t)return e;var n=void 0===e?"undefined":(0,r.default)(e),o=void 0===t?"undefined":(0,r.default)(t);switch(n){case"string":switch(o){case"string":return[t,e].filter(Boolean).join(" ");case"object":return b({className:e,style:t});case"function":return function(n){for(var r=arguments.length,i=Array(r>1?r-1:0),o=1;o<r;o++)i[o-1]=arguments[o];return b({className:e})(t.apply(void 0,[n].concat(i)))}}case"object":switch(o){case"string":return b({className:t,style:e});case"object":return(0,i.default)({},t,e);case"function":return function(n){for(var r=arguments.length,i=Array(r>1?r-1:0),o=1;o<r;o++)i[o-1]=arguments[o];return b({style:e})(t.apply(void 0,[n].concat(i)))}}case"function":switch(o){case"string":return function(n){for(var r=arguments.length,i=Array(r>1?r-1:0),o=1;o<r;o++)i[o-1]=arguments[o];return e.apply(void 0,[b(n)({className:t})].concat(i))};case"object":return function(n){for(var r=arguments.length,i=Array(r>1?r-1:0),o=1;o<r;o++)i[o-1]=arguments[o];return e.apply(void 0,[b(n)({style:t})].concat(i))};case"function":return function(n){for(var r=arguments.length,i=Array(r>1?r-1:0),o=1;o<r;o++)i[o-1]=arguments[o];return e.apply(void 0,[t.apply(void 0,[n].concat(i))].concat(i))}}}}(e[o],t[o]),n}),{})},y=function(e,t){for(var n=arguments.length,o=Array(n>2?n-2:0),s=2;s<n;s++)o[s-2]=arguments[s];if(null===t)return e;Array.isArray(t)||(t=[t]);var l=t.map((function(t){return e[t]})).filter(Boolean).reduce((function(e,t){return"string"==typeof t?e.className=[e.className,t].filter(Boolean).join(" "):"object"===(void 0===t?"undefined":(0,r.default)(t))?e.style=(0,i.default)({},e.style,t):"function"==typeof t&&(e=(0,i.default)({},e,t.apply(void 0,[e].concat(o)))),e}),{className:"",style:{}});return l.className||delete l.className,0===(0,a.default)(l.style).length&&delete l.style,l},w=t.invertTheme=function(e){return(0,a.default)(e).reduce((function(t,n){return t[n]=/^base/.test(n)?m(e[n]):"scheme"===n?e[n]+":inverted":e[n],t}),{})},x=(t.createStyling=(0,s.default)((function(e){for(var t=arguments.length,n=Array(t>3?t-3:0),r=3;r<t;r++)n[r-3]=arguments[r];var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},u=o.defaultBase16,c=void 0===u?p:u,f=o.base16Themes,h=x(l,void 0===f?null:f);h&&(l=(0,i.default)({},h,l));var d=g.reduce((function(e,t){return e[t]=l[t]||c[t],e}),{}),m=(0,a.default)(l).reduce((function(e,t){return-1===g.indexOf(t)?(e[t]=l[t],e):e}),{}),b=e(d),w=v(m,b);return(0,s.default)(y,2).apply(void 0,[w].concat(n))}),3),t.getBase16Theme=function(e,t){if(e&&e.extend&&(e=e.extend),"string"==typeof e){var n=e.split(":"),r=(0,o.default)(n,2),i=r[0],a=r[1];e=(t||{})[i]||l[i],"inverted"===a&&(e=w(e))}return e&&e.hasOwnProperty("base00")?e:void 0})},function(e,t,n){"use strict";var r,i="object"==typeof Reflect?Reflect:null,o=i&&"function"==typeof i.apply?i.apply:function(e,t,n){return Function.prototype.apply.call(e,t,n)};r=i&&"function"==typeof i.ownKeys?i.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var a=Number.isNaN||function(e){return e!=e};function s(){s.init.call(this)}e.exports=s,e.exports.once=function(e,t){return new Promise((function(n,r){function i(){void 0!==o&&e.removeListener("error",o),n([].slice.call(arguments))}var o;"error"!==t&&(o=function(n){e.removeListener(t,i),r(n)},e.once("error",o)),e.once(t,i)}))},s.EventEmitter=s,s.prototype._events=void 0,s.prototype._eventsCount=0,s.prototype._maxListeners=void 0;var l=10;function u(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function c(e){return void 0===e._maxListeners?s.defaultMaxListeners:e._maxListeners}function f(e,t,n,r){var i,o,a,s;if(u(n),void 0===(o=e._events)?(o=e._events=Object.create(null),e._eventsCount=0):(void 0!==o.newListener&&(e.emit("newListener",t,n.listener?n.listener:n),o=e._events),a=o[t]),void 0===a)a=o[t]=n,++e._eventsCount;else if("function"==typeof a?a=o[t]=r?[n,a]:[a,n]:r?a.unshift(n):a.push(n),(i=c(e))>0&&a.length>i&&!a.warned){a.warned=!0;var l=new Error("Possible EventEmitter memory leak detected. "+a.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");l.name="MaxListenersExceededWarning",l.emitter=e,l.type=t,l.count=a.length,s=l,console&&console.warn&&console.warn(s)}return e}function h(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function d(e,t,n){var r={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},i=h.bind(r);return i.listener=n,r.wrapFn=i,i}function p(e,t,n){var r=e._events;if(void 0===r)return[];var i=r[t];return void 0===i?[]:"function"==typeof i?n?[i.listener||i]:[i]:n?function(e){for(var t=new Array(e.length),n=0;n<t.length;++n)t[n]=e[n].listener||e[n];return t}(i):m(i,i.length)}function g(e){var t=this._events;if(void 0!==t){var n=t[e];if("function"==typeof n)return 1;if(void 0!==n)return n.length}return 0}function m(e,t){for(var n=new Array(t),r=0;r<t;++r)n[r]=e[r];return n}Object.defineProperty(s,"defaultMaxListeners",{enumerable:!0,get:function(){return l},set:function(e){if("number"!=typeof e||e<0||a(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");l=e}}),s.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},s.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||a(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},s.prototype.getMaxListeners=function(){return c(this)},s.prototype.emit=function(e){for(var t=[],n=1;n<arguments.length;n++)t.push(arguments[n]);var r="error"===e,i=this._events;if(void 0!==i)r=r&&void 0===i.error;else if(!r)return!1;if(r){var a;if(t.length>0&&(a=t[0]),a instanceof Error)throw a;var s=new Error("Unhandled error."+(a?" ("+a.message+")":""));throw s.context=a,s}var l=i[e];if(void 0===l)return!1;if("function"==typeof l)o(l,this,t);else{var u=l.length,c=m(l,u);for(n=0;n<u;++n)o(c[n],this,t)}return!0},s.prototype.addListener=function(e,t){return f(this,e,t,!1)},s.prototype.on=s.prototype.addListener,s.prototype.prependListener=function(e,t){return f(this,e,t,!0)},s.prototype.once=function(e,t){return u(t),this.on(e,d(this,e,t)),this},s.prototype.prependOnceListener=function(e,t){return u(t),this.prependListener(e,d(this,e,t)),this},s.prototype.removeListener=function(e,t){var n,r,i,o,a;if(u(t),void 0===(r=this._events))return this;if(void 0===(n=r[e]))return this;if(n===t||n.listener===t)0==--this._eventsCount?this._events=Object.create(null):(delete r[e],r.removeListener&&this.emit("removeListener",e,n.listener||t));else if("function"!=typeof n){for(i=-1,o=n.length-1;o>=0;o--)if(n[o]===t||n[o].listener===t){a=n[o].listener,i=o;break}if(i<0)return this;0===i?n.shift():function(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}(n,i),1===n.length&&(r[e]=n[0]),void 0!==r.removeListener&&this.emit("removeListener",e,a||t)}return this},s.prototype.off=s.prototype.removeListener,s.prototype.removeAllListeners=function(e){var t,n,r;if(void 0===(n=this._events))return this;if(void 0===n.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==n[e]&&(0==--this._eventsCount?this._events=Object.create(null):delete n[e]),this;if(0===arguments.length){var i,o=Object.keys(n);for(r=0;r<o.length;++r)"removeListener"!==(i=o[r])&&this.removeAllListeners(i);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(t=n[e]))this.removeListener(e,t);else if(void 0!==t)for(r=t.length-1;r>=0;r--)this.removeListener(e,t[r]);return this},s.prototype.listeners=function(e){return p(this,e,!0)},s.prototype.rawListeners=function(e){return p(this,e,!1)},s.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):g.call(e,t)},s.prototype.listenerCount=g,s.prototype.eventNames=function(){return this._eventsCount>0?r(this._events):[]}},function(e,t,n){e.exports.Dispatcher=n(140)},function(e,t,n){e.exports=n(142)},function(e,t,n){"use strict";t.__esModule=!0;var r=a(n(50)),i=a(n(65)),o="function"==typeof i.default&&"symbol"==typeof r.default?function(e){return typeof e}:function(e){return e&&"function"==typeof i.default&&e.constructor===i.default&&e!==i.default.prototype?"symbol":typeof e};function a(e){return e&&e.__esModule?e:{default:e}}t.default="function"==typeof i.default&&"symbol"===o(r.default)?function(e){return void 0===e?"undefined":o(e)}:function(e){return e&&"function"==typeof i.default&&e.constructor===i.default&&e!==i.default.prototype?"symbol":void 0===e?"undefined":o(e)}},function(e,t,n){e.exports={default:n(51),__esModule:!0}},function(e,t,n){n(20),n(29),e.exports=n(30).f("iterator")},function(e,t,n){var r=n(21),i=n(22);e.exports=function(e){return function(t,n){var o,a,s=String(i(t)),l=r(n),u=s.length;return l<0||l>=u?e?"":void 0:(o=s.charCodeAt(l))<55296||o>56319||l+1===u||(a=s.charCodeAt(l+1))<56320||a>57343?e?s.charAt(l):o:e?s.slice(l,l+2):a-56320+(o-55296<<10)+65536}}},function(e,t,n){var r=n(54);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,n){"use strict";var r=n(38),i=n(16),o=n(28),a={};n(6)(a,n(2)("iterator"),(function(){return this})),e.exports=function(e,t,n){e.prototype=r(a,{next:i(1,n)}),o(e,t+" Iterator")}},function(e,t,n){var r=n(7),i=n(10),o=n(13);e.exports=n(4)?Object.defineProperties:function(e,t){i(e);for(var n,a=o(t),s=a.length,l=0;s>l;)r.f(e,n=a[l++],t[n]);return e}},function(e,t,n){var r=n(9),i=n(58),o=n(59);e.exports=function(e){return function(t,n,a){var s,l=r(t),u=i(l.length),c=o(a,u);if(e&&n!=n){for(;u>c;)if((s=l[c++])!=s)return!0}else for(;u>c;c++)if((e||c in l)&&l[c]===n)return e||c||0;return!e&&-1}}},function(e,t,n){var r=n(21),i=Math.min;e.exports=function(e){return e>0?i(r(e),9007199254740991):0}},function(e,t,n){var r=n(21),i=Math.max,o=Math.min;e.exports=function(e,t){return(e=r(e))<0?i(e+t,0):o(e,t)}},function(e,t,n){var r=n(3).document;e.exports=r&&r.documentElement},function(e,t,n){var r=n(5),i=n(18),o=n(25)("IE_PROTO"),a=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=i(e),r(e,o)?e[o]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?a:null}},function(e,t,n){"use strict";var r=n(63),i=n(64),o=n(12),a=n(9);e.exports=n(34)(Array,"Array",(function(e,t){this._t=a(e),this._i=0,this._k=t}),(function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,i(1)):i(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])}),"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},function(e,t){e.exports=function(){}},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t,n){e.exports={default:n(66),__esModule:!0}},function(e,t,n){n(67),n(73),n(74),n(75),e.exports=n(1).Symbol},function(e,t,n){"use strict";var r=n(3),i=n(5),o=n(4),a=n(15),s=n(37),l=n(68).KEY,u=n(8),c=n(26),f=n(28),h=n(17),d=n(2),p=n(30),g=n(31),m=n(69),b=n(70),v=n(10),y=n(11),w=n(18),x=n(9),_=n(23),S=n(16),k=n(38),C=n(71),E=n(72),I=n(32),M=n(7),T=n(13),A=E.f,P=M.f,O=C.f,D=r.Symbol,R=r.JSON,L=R&&R.stringify,N=d("_hidden"),j=d("toPrimitive"),F={}.propertyIsEnumerable,z=c("symbol-registry"),B=c("symbols"),V=c("op-symbols"),$=Object.prototype,H="function"==typeof D&&!!I.f,G=r.QObject,W=!G||!G.prototype||!G.prototype.findChild,U=o&&u((function(){return 7!=k(P({},"a",{get:function(){return P(this,"a",{value:7}).a}})).a}))?function(e,t,n){var r=A($,t);r&&delete $[t],P(e,t,n),r&&e!==$&&P($,t,r)}:P,q=function(e){var t=B[e]=k(D.prototype);return t._k=e,t},X=H&&"symbol"==typeof D.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof D},Y=function(e,t,n){return e===$&&Y(V,t,n),v(e),t=_(t,!0),v(n),i(B,t)?(n.enumerable?(i(e,N)&&e[N][t]&&(e[N][t]=!1),n=k(n,{enumerable:S(0,!1)})):(i(e,N)||P(e,N,S(1,{})),e[N][t]=!0),U(e,t,n)):P(e,t,n)},K=function(e,t){v(e);for(var n,r=m(t=x(t)),i=0,o=r.length;o>i;)Y(e,n=r[i++],t[n]);return e},Z=function(e){var t=F.call(this,e=_(e,!0));return!(this===$&&i(B,e)&&!i(V,e))&&(!(t||!i(this,e)||!i(B,e)||i(this,N)&&this[N][e])||t)},Q=function(e,t){if(e=x(e),t=_(t,!0),e!==$||!i(B,t)||i(V,t)){var n=A(e,t);return!n||!i(B,t)||i(e,N)&&e[N][t]||(n.enumerable=!0),n}},J=function(e){for(var t,n=O(x(e)),r=[],o=0;n.length>o;)i(B,t=n[o++])||t==N||t==l||r.push(t);return r},ee=function(e){for(var t,n=e===$,r=O(n?V:x(e)),o=[],a=0;r.length>a;)!i(B,t=r[a++])||n&&!i($,t)||o.push(B[t]);return o};H||(s((D=function(){if(this instanceof D)throw TypeError("Symbol is not a constructor!");var e=h(arguments.length>0?arguments[0]:void 0),t=function(n){this===$&&t.call(V,n),i(this,N)&&i(this[N],e)&&(this[N][e]=!1),U(this,e,S(1,n))};return o&&W&&U($,e,{configurable:!0,set:t}),q(e)}).prototype,"toString",(function(){return this._k})),E.f=Q,M.f=Y,n(41).f=C.f=J,n(19).f=Z,I.f=ee,o&&!n(14)&&s($,"propertyIsEnumerable",Z,!0),p.f=function(e){return q(d(e))}),a(a.G+a.W+a.F*!H,{Symbol:D});for(var te="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ne=0;te.length>ne;)d(te[ne++]);for(var re=T(d.store),ie=0;re.length>ie;)g(re[ie++]);a(a.S+a.F*!H,"Symbol",{for:function(e){return i(z,e+="")?z[e]:z[e]=D(e)},keyFor:function(e){if(!X(e))throw TypeError(e+" is not a symbol!");for(var t in z)if(z[t]===e)return t},useSetter:function(){W=!0},useSimple:function(){W=!1}}),a(a.S+a.F*!H,"Object",{create:function(e,t){return void 0===t?k(e):K(k(e),t)},defineProperty:Y,defineProperties:K,getOwnPropertyDescriptor:Q,getOwnPropertyNames:J,getOwnPropertySymbols:ee});var oe=u((function(){I.f(1)}));a(a.S+a.F*oe,"Object",{getOwnPropertySymbols:function(e){return I.f(w(e))}}),R&&a(a.S+a.F*(!H||u((function(){var e=D();return"[null]"!=L([e])||"{}"!=L({a:e})||"{}"!=L(Object(e))}))),"JSON",{stringify:function(e){for(var t,n,r=[e],i=1;arguments.length>i;)r.push(arguments[i++]);if(n=t=r[1],(y(t)||void 0!==e)&&!X(e))return b(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!X(t))return t}),r[1]=t,L.apply(R,r)}}),D.prototype[j]||n(6)(D.prototype,j,D.prototype.valueOf),f(D,"Symbol"),f(Math,"Math",!0),f(r.JSON,"JSON",!0)},function(e,t,n){var r=n(17)("meta"),i=n(11),o=n(5),a=n(7).f,s=0,l=Object.isExtensible||function(){return!0},u=!n(8)((function(){return l(Object.preventExtensions({}))})),c=function(e){a(e,r,{value:{i:"O"+ ++s,w:{}}})},f=e.exports={KEY:r,NEED:!1,fastKey:function(e,t){if(!i(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!o(e,r)){if(!l(e))return"F";if(!t)return"E";c(e)}return e[r].i},getWeak:function(e,t){if(!o(e,r)){if(!l(e))return!0;if(!t)return!1;c(e)}return e[r].w},onFreeze:function(e){return u&&f.NEED&&l(e)&&!o(e,r)&&c(e),e}}},function(e,t,n){var r=n(13),i=n(32),o=n(19);e.exports=function(e){var t=r(e),n=i.f;if(n)for(var a,s=n(e),l=o.f,u=0;s.length>u;)l.call(e,a=s[u++])&&t.push(a);return t}},function(e,t,n){var r=n(24);e.exports=Array.isArray||function(e){return"Array"==r(e)}},function(e,t,n){var r=n(9),i=n(41).f,o={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return a&&"[object Window]"==o.call(e)?function(e){try{return i(e)}catch(e){return a.slice()}}(e):i(r(e))}},function(e,t,n){var r=n(19),i=n(16),o=n(9),a=n(23),s=n(5),l=n(35),u=Object.getOwnPropertyDescriptor;t.f=n(4)?u:function(e,t){if(e=o(e),t=a(t,!0),l)try{return u(e,t)}catch(e){}if(s(e,t))return i(!r.f.call(e,t),e[t])}},function(e,t){},function(e,t,n){n(31)("asyncIterator")},function(e,t,n){n(31)("observable")},function(e,t,n){"use strict";t.__esModule=!0;var r,i=(r=n(77))&&r.__esModule?r:{default:r};t.default=i.default||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}},function(e,t,n){e.exports={default:n(78),__esModule:!0}},function(e,t,n){n(79),e.exports=n(1).Object.assign},function(e,t,n){var r=n(15);r(r.S+r.F,"Object",{assign:n(80)})},function(e,t,n){"use strict";var r=n(4),i=n(13),o=n(32),a=n(19),s=n(18),l=n(40),u=Object.assign;e.exports=!u||n(8)((function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach((function(e){t[e]=e})),7!=u({},e)[n]||Object.keys(u({},t)).join("")!=r}))?function(e,t){for(var n=s(e),u=arguments.length,c=1,f=o.f,h=a.f;u>c;)for(var d,p=l(arguments[c++]),g=f?i(p).concat(f(p)):i(p),m=g.length,b=0;m>b;)d=g[b++],r&&!h.call(p,d)||(n[d]=p[d]);return n}:u},function(e,t,n){"use strict";t.__esModule=!0;var r=o(n(82)),i=o(n(85));function o(e){return e&&e.__esModule?e:{default:e}}t.default=function(e,t){if(Array.isArray(e))return e;if((0,r.default)(Object(e)))return function(e,t){var n=[],r=!0,o=!1,a=void 0;try{for(var s,l=(0,i.default)(e);!(r=(s=l.next()).done)&&(n.push(s.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{!r&&l.return&&l.return()}finally{if(o)throw a}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}},function(e,t,n){e.exports={default:n(83),__esModule:!0}},function(e,t,n){n(29),n(20),e.exports=n(84)},function(e,t,n){var r=n(42),i=n(2)("iterator"),o=n(12);e.exports=n(1).isIterable=function(e){var t=Object(e);return void 0!==t[i]||"@@iterator"in t||o.hasOwnProperty(r(t))}},function(e,t,n){e.exports={default:n(86),__esModule:!0}},function(e,t,n){n(29),n(20),e.exports=n(87)},function(e,t,n){var r=n(10),i=n(88);e.exports=n(1).getIterator=function(e){var t=i(e);if("function"!=typeof t)throw TypeError(e+" is not iterable!");return r(t.call(e))}},function(e,t,n){var r=n(42),i=n(2)("iterator"),o=n(12);e.exports=n(1).getIteratorMethod=function(e){if(null!=e)return e[i]||e["@@iterator"]||o[r(e)]}},function(e,t,n){e.exports={default:n(90),__esModule:!0}},function(e,t,n){n(91),e.exports=n(1).Object.keys},function(e,t,n){var r=n(18),i=n(13);n(92)("keys",(function(){return function(e){return i(r(e))}}))},function(e,t,n){var r=n(15),i=n(1),o=n(8);e.exports=function(e,t){var n=(i.Object||{})[e]||Object[e],a={};a[e]=t(n),r(r.S+r.F*o((function(){n(1)})),"Object",a)}},function(e,t,n){(function(t){var n=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]],r=/^\s+|\s+$/g,i=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,o=/\{\n\/\* \[wrapped with (.+)\] \*/,a=/,? & /,s=/^[-+]0x[0-9a-f]+$/i,l=/^0b[01]+$/i,u=/^\[object .+?Constructor\]$/,c=/^0o[0-7]+$/i,f=/^(?:0|[1-9]\d*)$/,h=parseInt,d="object"==typeof t&&t&&t.Object===Object&&t,p="object"==typeof self&&self&&self.Object===Object&&self,g=d||p||Function("return this")();function m(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function b(e,t){return!(!e||!e.length)&&function(e,t,n){if(t!=t)return function(e,t,n,r){for(var i=e.length,o=n+(r?1:-1);r?o--:++o<i;)if(t(e[o],o,e))return o;return-1}(e,v,n);for(var r=n-1,i=e.length;++r<i;)if(e[r]===t)return r;return-1}(e,t,0)>-1}function v(e){return e!=e}function y(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&r++;return r}function w(e,t){for(var n=-1,r=e.length,i=0,o=[];++n<r;){var a=e[n];a!==t&&"__lodash_placeholder__"!==a||(e[n]="__lodash_placeholder__",o[i++]=n)}return o}var x,_,S,k=Function.prototype,C=Object.prototype,E=g["__core-js_shared__"],I=(x=/[^.]+$/.exec(E&&E.keys&&E.keys.IE_PROTO||""))?"Symbol(src)_1."+x:"",M=k.toString,T=C.hasOwnProperty,A=C.toString,P=RegExp("^"+M.call(T).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),O=Object.create,D=Math.max,R=Math.min,L=(_=W(Object,"defineProperty"),(S=W.name)&&S.length>2?_:void 0);function N(e){return J(e)?O(e):{}}function j(e){return!(!J(e)||function(e){return!!I&&I in e}(e))&&(function(e){var t=J(e)?A.call(e):"";return"[object Function]"==t||"[object GeneratorFunction]"==t}(e)||function(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}(e)?P:u).test(function(e){if(null!=e){try{return M.call(e)}catch(e){}try{return e+""}catch(e){}}return""}(e))}function F(e,t,n,r){for(var i=-1,o=e.length,a=n.length,s=-1,l=t.length,u=D(o-a,0),c=Array(l+u),f=!r;++s<l;)c[s]=t[s];for(;++i<a;)(f||i<o)&&(c[n[i]]=e[i]);for(;u--;)c[s++]=e[i++];return c}function z(e,t,n,r){for(var i=-1,o=e.length,a=-1,s=n.length,l=-1,u=t.length,c=D(o-s,0),f=Array(c+u),h=!r;++i<c;)f[i]=e[i];for(var d=i;++l<u;)f[d+l]=t[l];for(;++a<s;)(h||i<o)&&(f[d+n[a]]=e[i++]);return f}function B(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=N(e.prototype),r=e.apply(n,t);return J(r)?r:n}}function V(e,t,n,r,i,o,a,s,l,u){var c=128&t,f=1&t,h=2&t,d=24&t,p=512&t,m=h?void 0:B(e);return function b(){for(var v=arguments.length,x=Array(v),_=v;_--;)x[_]=arguments[_];if(d)var S=G(b),k=y(x,S);if(r&&(x=F(x,r,i,d)),o&&(x=z(x,o,a,d)),v-=k,d&&v<u){var C=w(x,S);return $(e,t,V,b.placeholder,n,x,C,s,l,u-v)}var E=f?n:this,I=h?E[e]:e;return v=x.length,s?x=Y(x,s):p&&v>1&&x.reverse(),c&&l<v&&(x.length=l),this&&this!==g&&this instanceof b&&(I=m||B(I)),I.apply(E,x)}}function $(e,t,n,r,i,o,a,s,l,u){var c=8&t;t|=c?32:64,4&(t&=~(c?64:32))||(t&=-4);var f=n(e,t,i,c?o:void 0,c?a:void 0,c?void 0:o,c?void 0:a,s,l,u);return f.placeholder=r,K(f,e,t)}function H(e,t,n,r,i,o,a,s){var l=2&t;if(!l&&"function"!=typeof e)throw new TypeError("Expected a function");var u=r?r.length:0;if(u||(t&=-97,r=i=void 0),a=void 0===a?a:D(te(a),0),s=void 0===s?s:te(s),u-=i?i.length:0,64&t){var c=r,f=i;r=i=void 0}var h=[e,t,n,r,i,c,f,o,a,s];if(e=h[0],t=h[1],n=h[2],r=h[3],i=h[4],!(s=h[9]=null==h[9]?l?0:e.length:D(h[9]-u,0))&&24&t&&(t&=-25),t&&1!=t)d=8==t||16==t?function(e,t,n){var r=B(e);return function i(){for(var o=arguments.length,a=Array(o),s=o,l=G(i);s--;)a[s]=arguments[s];var u=o<3&&a[0]!==l&&a[o-1]!==l?[]:w(a,l);return(o-=u.length)<n?$(e,t,V,i.placeholder,void 0,a,u,void 0,void 0,n-o):m(this&&this!==g&&this instanceof i?r:e,this,a)}}(e,t,s):32!=t&&33!=t||i.length?V.apply(void 0,h):function(e,t,n,r){var i=1&t,o=B(e);return function t(){for(var a=-1,s=arguments.length,l=-1,u=r.length,c=Array(u+s),f=this&&this!==g&&this instanceof t?o:e;++l<u;)c[l]=r[l];for(;s--;)c[l++]=arguments[++a];return m(f,i?n:this,c)}}(e,t,n,r);else var d=function(e,t,n){var r=1&t,i=B(e);return function t(){return(this&&this!==g&&this instanceof t?i:e).apply(r?n:this,arguments)}}(e,t,n);return K(d,e,t)}function G(e){return e.placeholder}function W(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return j(n)?n:void 0}function U(e){var t=e.match(o);return t?t[1].split(a):[]}function q(e,t){var n=t.length,r=n-1;return t[r]=(n>1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace(i,"{\n/* [wrapped with "+t+"] */\n")}function X(e,t){return!!(t=null==t?9007199254740991:t)&&("number"==typeof e||f.test(e))&&e>-1&&e%1==0&&e<t}function Y(e,t){for(var n=e.length,r=R(t.length,n),i=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}(e);r--;){var o=t[r];e[r]=X(o,n)?i[o]:void 0}return e}var K=L?function(e,t,n){var r,i=t+"";return L(e,"toString",{configurable:!0,enumerable:!1,value:(r=q(i,Z(U(i),n)),function(){return r})})}:function(e){return e};function Z(e,t){return function(e,t){for(var n=-1,r=e?e.length:0;++n<r&&!1!==t(e[n],n,e););}(n,(function(n){var r="_."+n[0];t&n[1]&&!b(e,r)&&e.push(r)})),e.sort()}function Q(e,t,n){var r=H(e,8,void 0,void 0,void 0,void 0,void 0,t=n?void 0:t);return r.placeholder=Q.placeholder,r}function J(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function ee(e){return e?(e=function(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==A.call(e)}(e))return NaN;if(J(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=J(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(r,"");var n=l.test(e);return n||c.test(e)?h(e.slice(2),n?2:8):s.test(e)?NaN:+e}(e))===1/0||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}function te(e){var t=ee(e),n=t%1;return t==t?n?t-n:t:0}Q.placeholder={},e.exports=Q}).call(this,n(43))},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e.default:e}t.__esModule=!0;var i=n(95);t.threezerotwofour=r(i);var o=n(96);t.apathy=r(o);var a=n(97);t.ashes=r(a);var s=n(98);t.atelierDune=r(s);var l=n(99);t.atelierForest=r(l);var u=n(100);t.atelierHeath=r(u);var c=n(101);t.atelierLakeside=r(c);var f=n(102);t.atelierSeaside=r(f);var h=n(103);t.bespin=r(h);var d=n(104);t.brewer=r(d);var p=n(105);t.bright=r(p);var g=n(106);t.chalk=r(g);var m=n(107);t.codeschool=r(m);var b=n(108);t.colors=r(b);var v=n(109);t.default=r(v);var y=n(110);t.eighties=r(y);var w=n(111);t.embers=r(w);var x=n(112);t.flat=r(x);var _=n(113);t.google=r(_);var S=n(114);t.grayscale=r(S);var k=n(115);t.greenscreen=r(k);var C=n(116);t.harmonic=r(C);var E=n(117);t.hopscotch=r(E);var I=n(118);t.isotope=r(I);var M=n(119);t.marrakesh=r(M);var T=n(120);t.mocha=r(T);var A=n(121);t.monokai=r(A);var P=n(122);t.ocean=r(P);var O=n(123);t.paraiso=r(O);var D=n(124);t.pop=r(D);var R=n(125);t.railscasts=r(R);var L=n(126);t.shapeshifter=r(L);var N=n(127);t.solarized=r(N);var j=n(128);t.summerfruit=r(j);var F=n(129);t.tomorrow=r(F);var z=n(130);t.tube=r(z);var B=n(131);t.twilight=r(B)},function(e,t,n){"use strict";t.__esModule=!0,t.default={scheme:"threezerotwofour",author:"jan t. sott (http://github.com/idleberg)",base00:"#090300",base01:"#3a3432",base02:"#4a4543",base03:"#5c5855",base04:"#807d7c",base05:"#a5a2a2",base06:"#d6d5d4",base07:"#f7f7f7",base08:"#db2d20",base09:"#e8bbd0",base0A:"#fded02",base0B:"#01a252",base0C:"#b5e4f4",base0D:"#01a0e4",base0E:"#a16a94",base0F:"#cdab53"},e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0,t.default={scheme:"apathy",author:"jannik siebert (https://github.com/janniks)",base00:"#031A16",base01:"#0B342D",base02:"#184E45",base03:"#2B685E",base04:"#5F9C92",base05:"#81B5AC",base06:"#A7CEC8",base07:"#D2E7E4",base08:"#3E9688",base09:"#3E7996",base0A:"#3E4C96",base0B:"#883E96",base0C:"#963E4C",base0D:"#96883E",base0E:"#4C963E",base0F:"#3E965B"},e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0,t.default={scheme:"ashes",author:"jannik siebert (https://github.com/janniks)",base00:"#1C2023",base01:"#393F45",base02:"#565E65",base03:"#747C84",base04:"#ADB3BA",base05:"#C7CCD1",base06:"#DFE2E5",base07:"#F3F4F5",base08:"#C7AE95",base09:"#C7C795",base0A:"#AEC795",base0B:"#95C7AE",base0C:"#95AEC7",base0D:"#AE95C7",base0E:"#C795AE",base0F:"#C79595"},e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0,t.default={scheme:"atelier dune",author:"bram de haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/dune)",base00:"#20201d",base01:"#292824",base02:"#6e6b5e",base03:"#7d7a68",base04:"#999580",base05:"#a6a28c",base06:"#e8e4cf",base07:"#fefbec",base08:"#d73737",base09:"#b65611",base0A:"#cfb017",base0B:"#60ac39",base0C:"#1fad83",base0D:"#6684e1",base0E:"#b854d4",base0F:"#d43552"},e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0,t.default={scheme:"atelier forest",author:"bram de haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/forest)",base00:"#1b1918",base01:"#2c2421",base02:"#68615e",base03:"#766e6b",base04:"#9c9491",base05:"#a8a19f",base06:"#e6e2e0",base07:"#f1efee",base08:"#f22c40",base09:"#df5320",base0A:"#d5911a",base0B:"#5ab738",base0C:"#00ad9c",base0D:"#407ee7",base0E:"#6666ea",base0F:"#c33ff3"},e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0,t.default={scheme:"atelier heath",author:"bram de haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/heath)",base00:"#1b181b",base01:"#292329",base02:"#695d69",base03:"#776977",base04:"#9e8f9e",base05:"#ab9bab",base06:"#d8cad8",base07:"#f7f3f7",base08:"#ca402b",base09:"#a65926",base0A:"#bb8a35",base0B:"#379a37",base0C:"#159393",base0D:"#516aec",base0E:"#7b59c0",base0F:"#cc33cc"},e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0,t.default={scheme:"atelier lakeside",author:"bram de haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/lakeside/)",base00:"#161b1d",base01:"#1f292e",base02:"#516d7b",base03:"#5a7b8c",base04:"#7195a8",base05:"#7ea2b4",base06:"#c1e4f6",base07:"#ebf8ff",base08:"#d22d72",base09:"#935c25",base0A:"#8a8a0f",base0B:"#568c3b",base0C:"#2d8f6f",base0D:"#257fad",base0E:"#5d5db1",base0F:"#b72dd2"},e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0,t.default={scheme:"atelier seaside",author:"bram de haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/seaside/)",base00:"#131513",base01:"#242924",base02:"#5e6e5e",base03:"#687d68",base04:"#809980",base05:"#8ca68c",base06:"#cfe8cf",base07:"#f0fff0",base08:"#e6193c",base09:"#87711d",base0A:"#c3c322",base0B:"#29a329",base0C:"#1999b3",base0D:"#3d62f5",base0E:"#ad2bee",base0F:"#e619c3"},e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0,t.default={scheme:"bespin",author:"jan t. sott",base00:"#28211c",base01:"#36312e",base02:"#5e5d5c",base03:"#666666",base04:"#797977",base05:"#8a8986",base06:"#9d9b97",base07:"#baae9e",base08:"#cf6a4c",base09:"#cf7d34",base0A:"#f9ee98",base0B:"#54be0d",base0C:"#afc4db",base0D:"#5ea6ea",base0E:"#9b859d",base0F:"#937121"},e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0,t.default={scheme:"brewer",author:"timothée poisot (http://github.com/tpoisot)",base00:"#0c0d0e",base01:"#2e2f30",base02:"#515253",base03:"#737475",base04:"#959697",base05:"#b7b8b9",base06:"#dadbdc",base07:"#fcfdfe",base08:"#e31a1c",base09:"#e6550d",base0A:"#dca060",base0B:"#31a354",base0C:"#80b1d3",base0D:"#3182bd",base0E:"#756bb1",base0F:"#b15928"},e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0,t.default={scheme:"bright",author:"chris kempson (http://chriskempson.com)",base00:"#000000",base01:"#303030",base02:"#505050",base03:"#b0b0b0",base04:"#d0d0d0",base05:"#e0e0e0",base06:"#f5f5f5",base07:"#ffffff",base08:"#fb0120",base09:"#fc6d24",base0A:"#fda331",base0B:"#a1c659",base0C:"#76c7b7",base0D:"#6fb3d2",base0E:"#d381c3",base0F:"#be643c"},e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0,t.default={scheme:"chalk",author:"chris kempson (http://chriskempson.com)",base00:"#151515",base01:"#202020",base02:"#303030",base03:"#505050",base04:"#b0b0b0",base05:"#d0d0d0",base06:"#e0e0e0",base07:"#f5f5f5",base08:"#fb9fb1",base09:"#eda987",base0A:"#ddb26f",base0B:"#acc267",base0C:"#12cfc0",base0D:"#6fc2ef",base0E:"#e1a3ee",base0F:"#deaf8f"},e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0,t.default={scheme:"codeschool",author:"brettof86",base00:"#232c31",base01:"#1c3657",base02:"#2a343a",base03:"#3f4944",base04:"#84898c",base05:"#9ea7a6",base06:"#a7cfa3",base07:"#b5d8f6",base08:"#2a5491",base09:"#43820d",base0A:"#a03b1e",base0B:"#237986",base0C:"#b02f30",base0D:"#484d79",base0E:"#c59820",base0F:"#c98344"},e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0,t.default={scheme:"colors",author:"mrmrs (http://clrs.cc)",base00:"#111111",base01:"#333333",base02:"#555555",base03:"#777777",base04:"#999999",base05:"#bbbbbb",base06:"#dddddd",base07:"#ffffff",base08:"#ff4136",base09:"#ff851b",base0A:"#ffdc00",base0B:"#2ecc40",base0C:"#7fdbff",base0D:"#0074d9",base0E:"#b10dc9",base0F:"#85144b"},e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0,t.default={scheme:"default",author:"chris kempson (http://chriskempson.com)",base00:"#181818",base01:"#282828",base02:"#383838",base03:"#585858",base04:"#b8b8b8",base05:"#d8d8d8",base06:"#e8e8e8",base07:"#f8f8f8",base08:"#ab4642",base09:"#dc9656",base0A:"#f7ca88",base0B:"#a1b56c",base0C:"#86c1b9",base0D:"#7cafc2",base0E:"#ba8baf",base0F:"#a16946"},e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0,t.default={scheme:"eighties",author:"chris kempson (http://chriskempson.com)",base00:"#2d2d2d",base01:"#393939",base02:"#515151",base03:"#747369",base04:"#a09f93",base05:"#d3d0c8",base06:"#e8e6df",base07:"#f2f0ec",base08:"#f2777a",base09:"#f99157",base0A:"#ffcc66",base0B:"#99cc99",base0C:"#66cccc",base0D:"#6699cc",base0E:"#cc99cc",base0F:"#d27b53"},e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0,t.default={scheme:"embers",author:"jannik siebert (https://github.com/janniks)",base00:"#16130F",base01:"#2C2620",base02:"#433B32",base03:"#5A5047",base04:"#8A8075",base05:"#A39A90",base06:"#BEB6AE",base07:"#DBD6D1",base08:"#826D57",base09:"#828257",base0A:"#6D8257",base0B:"#57826D",base0C:"#576D82",base0D:"#6D5782",base0E:"#82576D",base0F:"#825757"},e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0,t.default={scheme:"flat",author:"chris kempson (http://chriskempson.com)",base00:"#2C3E50",base01:"#34495E",base02:"#7F8C8D",base03:"#95A5A6",base04:"#BDC3C7",base05:"#e0e0e0",base06:"#f5f5f5",base07:"#ECF0F1",base08:"#E74C3C",base09:"#E67E22",base0A:"#F1C40F",base0B:"#2ECC71",base0C:"#1ABC9C",base0D:"#3498DB",base0E:"#9B59B6",base0F:"#be643c"},e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0,t.default={scheme:"google",author:"seth wright (http://sethawright.com)",base00:"#1d1f21",base01:"#282a2e",base02:"#373b41",base03:"#969896",base04:"#b4b7b4",base05:"#c5c8c6",base06:"#e0e0e0",base07:"#ffffff",base08:"#CC342B",base09:"#F96A38",base0A:"#FBA922",base0B:"#198844",base0C:"#3971ED",base0D:"#3971ED",base0E:"#A36AC7",base0F:"#3971ED"},e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0,t.default={scheme:"grayscale",author:"alexandre gavioli (https://github.com/alexx2/)",base00:"#101010",base01:"#252525",base02:"#464646",base03:"#525252",base04:"#ababab",base05:"#b9b9b9",base06:"#e3e3e3",base07:"#f7f7f7",base08:"#7c7c7c",base09:"#999999",base0A:"#a0a0a0",base0B:"#8e8e8e",base0C:"#868686",base0D:"#686868",base0E:"#747474",base0F:"#5e5e5e"},e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0,t.default={scheme:"green screen",author:"chris kempson (http://chriskempson.com)",base00:"#001100",base01:"#003300",base02:"#005500",base03:"#007700",base04:"#009900",base05:"#00bb00",base06:"#00dd00",base07:"#00ff00",base08:"#007700",base09:"#009900",base0A:"#007700",base0B:"#00bb00",base0C:"#005500",base0D:"#009900",base0E:"#00bb00",base0F:"#005500"},e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0,t.default={scheme:"harmonic16",author:"jannik siebert (https://github.com/janniks)",base00:"#0b1c2c",base01:"#223b54",base02:"#405c79",base03:"#627e99",base04:"#aabcce",base05:"#cbd6e2",base06:"#e5ebf1",base07:"#f7f9fb",base08:"#bf8b56",base09:"#bfbf56",base0A:"#8bbf56",base0B:"#56bf8b",base0C:"#568bbf",base0D:"#8b56bf",base0E:"#bf568b",base0F:"#bf5656"},e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0,t.default={scheme:"hopscotch",author:"jan t. sott",base00:"#322931",base01:"#433b42",base02:"#5c545b",base03:"#797379",base04:"#989498",base05:"#b9b5b8",base06:"#d5d3d5",base07:"#ffffff",base08:"#dd464c",base09:"#fd8b19",base0A:"#fdcc59",base0B:"#8fc13e",base0C:"#149b93",base0D:"#1290bf",base0E:"#c85e7c",base0F:"#b33508"},e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0,t.default={scheme:"isotope",author:"jan t. sott",base00:"#000000",base01:"#404040",base02:"#606060",base03:"#808080",base04:"#c0c0c0",base05:"#d0d0d0",base06:"#e0e0e0",base07:"#ffffff",base08:"#ff0000",base09:"#ff9900",base0A:"#ff0099",base0B:"#33ff00",base0C:"#00ffff",base0D:"#0066ff",base0E:"#cc00ff",base0F:"#3300ff"},e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0,t.default={scheme:"marrakesh",author:"alexandre gavioli (http://github.com/alexx2/)",base00:"#201602",base01:"#302e00",base02:"#5f5b17",base03:"#6c6823",base04:"#86813b",base05:"#948e48",base06:"#ccc37a",base07:"#faf0a5",base08:"#c35359",base09:"#b36144",base0A:"#a88339",base0B:"#18974e",base0C:"#75a738",base0D:"#477ca1",base0E:"#8868b3",base0F:"#b3588e"},e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0,t.default={scheme:"mocha",author:"chris kempson (http://chriskempson.com)",base00:"#3B3228",base01:"#534636",base02:"#645240",base03:"#7e705a",base04:"#b8afad",base05:"#d0c8c6",base06:"#e9e1dd",base07:"#f5eeeb",base08:"#cb6077",base09:"#d28b71",base0A:"#f4bc87",base0B:"#beb55b",base0C:"#7bbda4",base0D:"#8ab3b5",base0E:"#a89bb9",base0F:"#bb9584"},e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0,t.default={scheme:"monokai",author:"wimer hazenberg (http://www.monokai.nl)",base00:"#272822",base01:"#383830",base02:"#49483e",base03:"#75715e",base04:"#a59f85",base05:"#f8f8f2",base06:"#f5f4f1",base07:"#f9f8f5",base08:"#f92672",base09:"#fd971f",base0A:"#f4bf75",base0B:"#a6e22e",base0C:"#a1efe4",base0D:"#66d9ef",base0E:"#ae81ff",base0F:"#cc6633"},e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0,t.default={scheme:"ocean",author:"chris kempson (http://chriskempson.com)",base00:"#2b303b",base01:"#343d46",base02:"#4f5b66",base03:"#65737e",base04:"#a7adba",base05:"#c0c5ce",base06:"#dfe1e8",base07:"#eff1f5",base08:"#bf616a",base09:"#d08770",base0A:"#ebcb8b",base0B:"#a3be8c",base0C:"#96b5b4",base0D:"#8fa1b3",base0E:"#b48ead",base0F:"#ab7967"},e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0,t.default={scheme:"paraiso",author:"jan t. sott",base00:"#2f1e2e",base01:"#41323f",base02:"#4f424c",base03:"#776e71",base04:"#8d8687",base05:"#a39e9b",base06:"#b9b6b0",base07:"#e7e9db",base08:"#ef6155",base09:"#f99b15",base0A:"#fec418",base0B:"#48b685",base0C:"#5bc4bf",base0D:"#06b6ef",base0E:"#815ba4",base0F:"#e96ba8"},e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0,t.default={scheme:"pop",author:"chris kempson (http://chriskempson.com)",base00:"#000000",base01:"#202020",base02:"#303030",base03:"#505050",base04:"#b0b0b0",base05:"#d0d0d0",base06:"#e0e0e0",base07:"#ffffff",base08:"#eb008a",base09:"#f29333",base0A:"#f8ca12",base0B:"#37b349",base0C:"#00aabb",base0D:"#0e5a94",base0E:"#b31e8d",base0F:"#7a2d00"},e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0,t.default={scheme:"railscasts",author:"ryan bates (http://railscasts.com)",base00:"#2b2b2b",base01:"#272935",base02:"#3a4055",base03:"#5a647e",base04:"#d4cfc9",base05:"#e6e1dc",base06:"#f4f1ed",base07:"#f9f7f3",base08:"#da4939",base09:"#cc7833",base0A:"#ffc66d",base0B:"#a5c261",base0C:"#519f50",base0D:"#6d9cbe",base0E:"#b6b3eb",base0F:"#bc9458"},e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0,t.default={scheme:"shapeshifter",author:"tyler benziger (http://tybenz.com)",base00:"#000000",base01:"#040404",base02:"#102015",base03:"#343434",base04:"#555555",base05:"#ababab",base06:"#e0e0e0",base07:"#f9f9f9",base08:"#e92f2f",base09:"#e09448",base0A:"#dddd13",base0B:"#0ed839",base0C:"#23edda",base0D:"#3b48e3",base0E:"#f996e2",base0F:"#69542d"},e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0,t.default={scheme:"solarized",author:"ethan schoonover (http://ethanschoonover.com/solarized)",base00:"#002b36",base01:"#073642",base02:"#586e75",base03:"#657b83",base04:"#839496",base05:"#93a1a1",base06:"#eee8d5",base07:"#fdf6e3",base08:"#dc322f",base09:"#cb4b16",base0A:"#b58900",base0B:"#859900",base0C:"#2aa198",base0D:"#268bd2",base0E:"#6c71c4",base0F:"#d33682"},e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0,t.default={scheme:"summerfruit",author:"christopher corley (http://cscorley.github.io/)",base00:"#151515",base01:"#202020",base02:"#303030",base03:"#505050",base04:"#B0B0B0",base05:"#D0D0D0",base06:"#E0E0E0",base07:"#FFFFFF",base08:"#FF0086",base09:"#FD8900",base0A:"#ABA800",base0B:"#00C918",base0C:"#1faaaa",base0D:"#3777E6",base0E:"#AD00A1",base0F:"#cc6633"},e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0,t.default={scheme:"tomorrow",author:"chris kempson (http://chriskempson.com)",base00:"#1d1f21",base01:"#282a2e",base02:"#373b41",base03:"#969896",base04:"#b4b7b4",base05:"#c5c8c6",base06:"#e0e0e0",base07:"#ffffff",base08:"#cc6666",base09:"#de935f",base0A:"#f0c674",base0B:"#b5bd68",base0C:"#8abeb7",base0D:"#81a2be",base0E:"#b294bb",base0F:"#a3685a"},e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0,t.default={scheme:"london tube",author:"jan t. sott",base00:"#231f20",base01:"#1c3f95",base02:"#5a5758",base03:"#737171",base04:"#959ca1",base05:"#d9d8d8",base06:"#e7e7e8",base07:"#ffffff",base08:"#ee2e24",base09:"#f386a1",base0A:"#ffd204",base0B:"#00853e",base0C:"#85cebc",base0D:"#009ddc",base0E:"#98005d",base0F:"#b06110"},e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0,t.default={scheme:"twilight",author:"david hart (http://hart-dev.com)",base00:"#1e1e1e",base01:"#323537",base02:"#464b50",base03:"#5f5a60",base04:"#838184",base05:"#a7a7a7",base06:"#c3c3c3",base07:"#ffffff",base08:"#cf6a4c",base09:"#cda869",base0A:"#f9ee98",base0B:"#8f9d6a",base0C:"#afc4db",base0D:"#7587a6",base0E:"#9b859d",base0F:"#9b703f"},e.exports=t.default},function(e,t,n){var r=n(33);function i(e){var t=Math.round(r(e,0,255)).toString(16);return 1==t.length?"0"+t:t}e.exports=function(e){var t=4===e.length?i(255*e[3]):"";return"#"+i(e[0])+i(e[1])+i(e[2])+t}},function(e,t,n){var r=n(134),i=n(135),o=n(136),a=n(137),s={"#":i,hsl:function(e){var t=r(e),n=a(t);return 4===t.length&&n.push(t[3]),n},rgb:o};function l(e){for(var t in s)if(0===e.indexOf(t))return s[t](e)}l.rgb=o,l.hsl=r,l.hex=i,e.exports=l},function(e,t,n){var r=n(44),i=n(33);function o(e,t){switch(e=parseFloat(e),t){case 0:return i(e,0,360);case 1:case 2:return i(e,0,100);case 3:return i(e,0,1)}}e.exports=function(e){return r(e).map(o)}},function(e,t){e.exports=function(e){4!==e.length&&5!==e.length||(e=function(e){for(var t="#",n=1;n<e.length;n++){var r=e.charAt(n);t+=r+r}return t}(e));var t=[parseInt(e.substring(1,3),16),parseInt(e.substring(3,5),16),parseInt(e.substring(5,7),16)];if(9===e.length){var n=parseFloat((parseInt(e.substring(7,9),16)/255).toFixed(2));t.push(n)}return t}},function(e,t,n){var r=n(44),i=n(33);function o(e,t){return t<3?-1!=e.indexOf("%")?Math.round(255*i(parseInt(e,10),0,100)/100):i(parseInt(e,10),0,255):i(parseFloat(e),0,1)}e.exports=function(e){return r(e).map(o)}},function(e,t){e.exports=function(e){var t,n,r,i,o,a=e[0]/360,s=e[1]/100,l=e[2]/100;if(0==s)return[o=255*l,o,o];t=2*l-(n=l<.5?l*(1+s):l+s-l*s),i=[0,0,0];for(var u=0;u<3;u++)(r=a+1/3*-(u-1))<0&&r++,r>1&&r--,o=6*r<1?t+6*(n-t)*r:2*r<1?n:3*r<2?t+(n-t)*(2/3-r)*6:t,i[u]=255*o;return i}},function(e,t,n){(function(t){var n="object"==typeof t&&t&&t.Object===Object&&t,r="object"==typeof self&&self&&self.Object===Object&&self,i=n||r||Function("return this")();function o(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function a(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}var s=Object.prototype,l=s.hasOwnProperty,u=s.toString,c=i.Symbol,f=s.propertyIsEnumerable,h=c?c.isConcatSpreadable:void 0,d=Math.max;function p(e){return v(e)||function(e){return function(e){return function(e){return!!e&&"object"==typeof e}(e)&&function(e){return null!=e&&function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}(e.length)&&!function(e){var t=function(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}(e)?u.call(e):"";return"[object Function]"==t||"[object GeneratorFunction]"==t}(e)}(e)}(e)&&l.call(e,"callee")&&(!f.call(e,"callee")||"[object Arguments]"==u.call(e))}(e)||!!(h&&e&&e[h])}var g,m,b,v=Array.isArray,y=(m=function(e){var t=(e=function e(t,n,r,i,o){var s=-1,l=t.length;for(r||(r=p),o||(o=[]);++s<l;){var u=t[s];n>0&&r(u)?n>1?e(u,n-1,r,i,o):a(o,u):i||(o[o.length]=u)}return o}(e,1)).length,n=t;for(g&&e.reverse();n--;)if("function"!=typeof e[n])throw new TypeError("Expected a function");return function(){for(var n=0,r=t?e[n].apply(this,arguments):arguments[0];++n<t;)r=e[n].call(this,r);return r}},b=d(void 0===b?m.length-1:b,0),function(){for(var e=arguments,t=-1,n=d(e.length-b,0),r=Array(n);++t<n;)r[t]=e[b+t];t=-1;for(var i=Array(b+1);++t<b;)i[t]=e[t];return i[b]=r,o(m,this,i)});e.exports=y}).call(this,n(43))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.yuv2rgb=function(e){var t,n,r,i=e[0],o=e[1],a=e[2];return t=1*i+0*o+1.13983*a,n=1*i+-.39465*o+-.5806*a,r=1*i+2.02311*o+0*a,[255*(t=Math.min(Math.max(0,t),1)),255*(n=Math.min(Math.max(0,n),1)),255*(r=Math.min(Math.max(0,r),1))]},t.rgb2yuv=function(e){var t=e[0]/255,n=e[1]/255,r=e[2]/255;return[.299*t+.587*n+.114*r,-.14713*t+-.28886*n+.436*r,.615*t+-.51499*n+-.10001*r]}},function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var i=n(141),o=function(){function e(){r(this,"_callbacks",void 0),r(this,"_isDispatching",void 0),r(this,"_isHandled",void 0),r(this,"_isPending",void 0),r(this,"_lastID",void 0),r(this,"_pendingPayload",void 0),this._callbacks={},this._isDispatching=!1,this._isHandled={},this._isPending={},this._lastID=1}var t=e.prototype;return t.register=function(e){var t="ID_"+this._lastID++;return this._callbacks[t]=e,t},t.unregister=function(e){this._callbacks[e]||i(!1),delete this._callbacks[e]},t.waitFor=function(e){this._isDispatching||i(!1);for(var t=0;t<e.length;t++){var n=e[t];this._isPending[n]?this._isHandled[n]||i(!1):(this._callbacks[n]||i(!1),this._invokeCallback(n))}},t.dispatch=function(e){this._isDispatching&&i(!1),this._startDispatching(e);try{for(var t in this._callbacks)this._isPending[t]||this._invokeCallback(t)}finally{this._stopDispatching()}},t.isDispatching=function(){return this._isDispatching},t._invokeCallback=function(e){this._isPending[e]=!0,this._callbacks[e](this._pendingPayload),this._isHandled[e]=!0},t._startDispatching=function(e){for(var t in this._callbacks)this._isPending[t]=!1,this._isHandled[t]=!1;this._pendingPayload=e,this._isDispatching=!0},t._stopDispatching=function(){delete this._pendingPayload,this._isDispatching=!1},e}();e.exports=o},function(e,t,n){"use strict";var r=function(e){};e.exports=function(e,t){for(var n=arguments.length,i=new Array(n>2?n-2:0),o=2;o<n;o++)i[o-2]=arguments[o];if(r(t),!e){var a;if(void 0===t)a=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var s=0;(a=new Error(t.replace(/%s/g,(function(){return String(i[s++])})))).name="Invariant Violation"}throw a.framesToPop=1,a}}},function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){r(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function l(e,t,n){return t&&s(e.prototype,t),n&&s(e,n),e}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function c(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&u(e,t)}function f(e){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function h(e){return(h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function d(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function p(e,t){return!t||"object"!==h(t)&&"function"!=typeof t?d(e):t}function g(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=f(e);if(t){var i=f(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return p(this,n)}}n.r(t);var m=n(0),b=n.n(m);function v(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!=e&&this.setState(e)}function y(e){this.setState(function(t){var n=this.constructor.getDerivedStateFromProps(e,t);return null!=n?n:null}.bind(this))}function w(e,t){try{var n=this.props,r=this.state;this.props=e,this.state=t,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(n,r)}finally{this.props=n,this.state=r}}function x(e){var t=e.prototype;if(!t||!t.isReactComponent)throw new Error("Can only polyfill class components");if("function"!=typeof e.getDerivedStateFromProps&&"function"!=typeof t.getSnapshotBeforeUpdate)return e;var n=null,r=null,i=null;if("function"==typeof t.componentWillMount?n="componentWillMount":"function"==typeof t.UNSAFE_componentWillMount&&(n="UNSAFE_componentWillMount"),"function"==typeof t.componentWillReceiveProps?r="componentWillReceiveProps":"function"==typeof t.UNSAFE_componentWillReceiveProps&&(r="UNSAFE_componentWillReceiveProps"),"function"==typeof t.componentWillUpdate?i="componentWillUpdate":"function"==typeof t.UNSAFE_componentWillUpdate&&(i="UNSAFE_componentWillUpdate"),null!==n||null!==r||null!==i){var o=e.displayName||e.name,a="function"==typeof e.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n"+o+" uses "+a+" but also contains the following legacy lifecycles:"+(null!==n?"\n "+n:"")+(null!==r?"\n "+r:"")+(null!==i?"\n "+i:"")+"\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks")}if("function"==typeof e.getDerivedStateFromProps&&(t.componentWillMount=v,t.componentWillReceiveProps=y),"function"==typeof t.getSnapshotBeforeUpdate){if("function"!=typeof t.componentDidUpdate)throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");t.componentWillUpdate=w;var s=t.componentDidUpdate;t.componentDidUpdate=function(e,t,n){var r=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:n;s.call(this,e,t,r)}}return e}function _(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function S(e){var t=function(e){return{}.toString.call(e).match(/\s([a-zA-Z]+)/)[1].toLowerCase()}(e);return"number"===t&&(t=isNaN(e)?"nan":(0|e)!=e?"float":"integer"),t}v.__suppressDeprecationWarning=!0,y.__suppressDeprecationWarning=!0,w.__suppressDeprecationWarning=!0;var k={scheme:"rjv-default",author:"mac gainor",base00:"rgba(0, 0, 0, 0)",base01:"rgb(245, 245, 245)",base02:"rgb(235, 235, 235)",base03:"#93a1a1",base04:"rgba(0, 0, 0, 0.3)",base05:"#586e75",base06:"#073642",base07:"#002b36",base08:"#d33682",base09:"#cb4b16",base0A:"#dc322f",base0B:"#859900",base0C:"#6c71c4",base0D:"#586e75",base0E:"#2aa198",base0F:"#268bd2"},C={scheme:"rjv-grey",author:"mac gainor",base00:"rgba(1, 1, 1, 0)",base01:"rgba(1, 1, 1, 0.1)",base02:"rgba(0, 0, 0, 0.2)",base03:"rgba(1, 1, 1, 0.3)",base04:"rgba(0, 0, 0, 0.4)",base05:"rgba(1, 1, 1, 0.5)",base06:"rgba(1, 1, 1, 0.6)",base07:"rgba(1, 1, 1, 0.7)",base08:"rgba(1, 1, 1, 0.8)",base09:"rgba(1, 1, 1, 0.8)",base0A:"rgba(1, 1, 1, 0.8)",base0B:"rgba(1, 1, 1, 0.8)",base0C:"rgba(1, 1, 1, 0.8)",base0D:"rgba(1, 1, 1, 0.8)",base0E:"rgba(1, 1, 1, 0.8)",base0F:"rgba(1, 1, 1, 0.8)"},E={white:"#fff",black:"#000",transparent:"rgba(1, 1, 1, 0)",globalFontFamily:"monospace",globalCursor:"default",indentBlockWidth:"5px",braceFontWeight:"bold",braceCursor:"pointer",ellipsisFontSize:"18px",ellipsisLineHeight:"10px",ellipsisCursor:"pointer",keyMargin:"0px 5px",keyLetterSpacing:"0.5px",keyFontStyle:"none",keyBorderRadius:"3px",keyColonWeight:"bold",keyVerticalAlign:"top",keyOpacity:"0.85",keyOpacityHover:"1",keyValPaddingTop:"3px",keyValPaddingBottom:"3px",keyValPaddingRight:"5px",keyValBorderLeft:"1px solid",keyValBorderHover:"2px solid",keyValPaddingHover:"3px 5px 3px 4px",pushedContentMarginLeft:"6px",variableValuePaddingRight:"6px",nullFontSize:"11px",nullFontWeight:"bold",nullPadding:"1px 2px",nullBorderRadius:"3px",nanFontSize:"11px",nanFontWeight:"bold",nanPadding:"1px 2px",nanBorderRadius:"3px",undefinedFontSize:"11px",undefinedFontWeight:"bold",undefinedPadding:"1px 2px",undefinedBorderRadius:"3px",dataTypeFontSize:"11px",dataTypeMarginRight:"4px",datatypeOpacity:"0.8",objectSizeBorderRadius:"3px",objectSizeFontStyle:"italic",objectSizeMargin:"0px 6px 0px 0px",clipboardCursor:"pointer",clipboardCheckMarginLeft:"-12px",metaDataPadding:"0px 0px 0px 10px",arrayGroupMetaPadding:"0px 0px 0px 4px",iconContainerWidth:"17px",tooltipPadding:"4px",editInputMinWidth:"130px",editInputBorderRadius:"2px",editInputPadding:"5px",editInputMarginRight:"4px",editInputFontFamily:"monospace",iconCursor:"pointer",iconFontSize:"15px",iconPaddingRight:"1px",dateValueMarginLeft:"2px",iconMarginRight:"3px",detectedRowPaddingTop:"3px",addKeyCoverBackground:"rgba(255, 255, 255, 0.3)",addKeyCoverPosition:"absolute",addKeyCoverPositionPx:"0px",addKeyModalWidth:"200px",addKeyModalMargin:"auto",addKeyModalPadding:"10px",addKeyModalRadius:"3px"},I=n(45),M=function(e){var t=function(e){return{backgroundColor:e.base00,ellipsisColor:e.base09,braceColor:e.base07,expandedIcon:e.base0D,collapsedIcon:e.base0E,keyColor:e.base07,arrayKeyColor:e.base0C,objectSize:e.base04,copyToClipboard:e.base0F,copyToClipboardCheck:e.base0D,objectBorder:e.base02,dataTypes:{boolean:e.base0E,date:e.base0D,float:e.base0B,function:e.base0D,integer:e.base0F,string:e.base09,nan:e.base08,null:e.base0A,undefined:e.base05,regexp:e.base0A,background:e.base02},editVariable:{editIcon:e.base0E,cancelIcon:e.base09,removeIcon:e.base09,addIcon:e.base0E,checkIcon:e.base0E,background:e.base01,color:e.base0A,border:e.base07},addKeyModal:{background:e.base05,border:e.base04,color:e.base0A,labelColor:e.base01},validationFailure:{background:e.base09,iconColor:e.base01,fontColor:e.base01}}}(e);return{"app-container":{fontFamily:E.globalFontFamily,cursor:E.globalCursor,backgroundColor:t.backgroundColor,position:"relative"},ellipsis:{display:"inline-block",color:t.ellipsisColor,fontSize:E.ellipsisFontSize,lineHeight:E.ellipsisLineHeight,cursor:E.ellipsisCursor},"brace-row":{display:"inline-block",cursor:"pointer"},brace:{display:"inline-block",cursor:E.braceCursor,fontWeight:E.braceFontWeight,color:t.braceColor},"expanded-icon":{color:t.expandedIcon},"collapsed-icon":{color:t.collapsedIcon},colon:{display:"inline-block",margin:E.keyMargin,color:t.keyColor,verticalAlign:"top"},objectKeyVal:function(e,n){return{style:o({paddingTop:E.keyValPaddingTop,paddingRight:E.keyValPaddingRight,paddingBottom:E.keyValPaddingBottom,borderLeft:E.keyValBorderLeft+" "+t.objectBorder,":hover":{paddingLeft:n.paddingLeft-1+"px",borderLeft:E.keyValBorderHover+" "+t.objectBorder}},n)}},"object-key-val-no-border":{padding:E.keyValPadding},"pushed-content":{marginLeft:E.pushedContentMarginLeft},variableValue:function(e,t){return{style:o({display:"inline-block",paddingRight:E.variableValuePaddingRight,position:"relative"},t)}},"object-name":{display:"inline-block",color:t.keyColor,letterSpacing:E.keyLetterSpacing,fontStyle:E.keyFontStyle,verticalAlign:E.keyVerticalAlign,opacity:E.keyOpacity,":hover":{opacity:E.keyOpacityHover}},"array-key":{display:"inline-block",color:t.arrayKeyColor,letterSpacing:E.keyLetterSpacing,fontStyle:E.keyFontStyle,verticalAlign:E.keyVerticalAlign,opacity:E.keyOpacity,":hover":{opacity:E.keyOpacityHover}},"object-size":{color:t.objectSize,borderRadius:E.objectSizeBorderRadius,fontStyle:E.objectSizeFontStyle,margin:E.objectSizeMargin,cursor:"default"},"data-type-label":{fontSize:E.dataTypeFontSize,marginRight:E.dataTypeMarginRight,opacity:E.datatypeOpacity},boolean:{display:"inline-block",color:t.dataTypes.boolean},date:{display:"inline-block",color:t.dataTypes.date},"date-value":{marginLeft:E.dateValueMarginLeft},float:{display:"inline-block",color:t.dataTypes.float},function:{display:"inline-block",color:t.dataTypes.function,cursor:"pointer",whiteSpace:"pre-line"},"function-value":{fontStyle:"italic"},integer:{display:"inline-block",color:t.dataTypes.integer},string:{display:"inline-block",color:t.dataTypes.string},nan:{display:"inline-block",color:t.dataTypes.nan,fontSize:E.nanFontSize,fontWeight:E.nanFontWeight,backgroundColor:t.dataTypes.background,padding:E.nanPadding,borderRadius:E.nanBorderRadius},null:{display:"inline-block",color:t.dataTypes.null,fontSize:E.nullFontSize,fontWeight:E.nullFontWeight,backgroundColor:t.dataTypes.background,padding:E.nullPadding,borderRadius:E.nullBorderRadius},undefined:{display:"inline-block",color:t.dataTypes.undefined,fontSize:E.undefinedFontSize,padding:E.undefinedPadding,borderRadius:E.undefinedBorderRadius,backgroundColor:t.dataTypes.background},regexp:{display:"inline-block",color:t.dataTypes.regexp},"copy-to-clipboard":{cursor:E.clipboardCursor},"copy-icon":{color:t.copyToClipboard,fontSize:E.iconFontSize,marginRight:E.iconMarginRight,verticalAlign:"top"},"copy-icon-copied":{color:t.copyToClipboardCheck,marginLeft:E.clipboardCheckMarginLeft},"array-group-meta-data":{display:"inline-block",padding:E.arrayGroupMetaPadding},"object-meta-data":{display:"inline-block",padding:E.metaDataPadding},"icon-container":{display:"inline-block",width:E.iconContainerWidth},tooltip:{padding:E.tooltipPadding},removeVarIcon:{verticalAlign:"top",display:"inline-block",color:t.editVariable.removeIcon,cursor:E.iconCursor,fontSize:E.iconFontSize,marginRight:E.iconMarginRight},addVarIcon:{verticalAlign:"top",display:"inline-block",color:t.editVariable.addIcon,cursor:E.iconCursor,fontSize:E.iconFontSize,marginRight:E.iconMarginRight},editVarIcon:{verticalAlign:"top",display:"inline-block",color:t.editVariable.editIcon,cursor:E.iconCursor,fontSize:E.iconFontSize,marginRight:E.iconMarginRight},"edit-icon-container":{display:"inline-block",verticalAlign:"top"},"check-icon":{display:"inline-block",cursor:E.iconCursor,color:t.editVariable.checkIcon,fontSize:E.iconFontSize,paddingRight:E.iconPaddingRight},"cancel-icon":{display:"inline-block",cursor:E.iconCursor,color:t.editVariable.cancelIcon,fontSize:E.iconFontSize,paddingRight:E.iconPaddingRight},"edit-input":{display:"inline-block",minWidth:E.editInputMinWidth,borderRadius:E.editInputBorderRadius,backgroundColor:t.editVariable.background,color:t.editVariable.color,padding:E.editInputPadding,marginRight:E.editInputMarginRight,fontFamily:E.editInputFontFamily},"detected-row":{paddingTop:E.detectedRowPaddingTop},"key-modal-request":{position:E.addKeyCoverPosition,top:E.addKeyCoverPositionPx,left:E.addKeyCoverPositionPx,right:E.addKeyCoverPositionPx,bottom:E.addKeyCoverPositionPx,backgroundColor:E.addKeyCoverBackground},"key-modal":{width:E.addKeyModalWidth,backgroundColor:t.addKeyModal.background,marginLeft:E.addKeyModalMargin,marginRight:E.addKeyModalMargin,padding:E.addKeyModalPadding,borderRadius:E.addKeyModalRadius,marginTop:"15px",position:"relative"},"key-modal-label":{color:t.addKeyModal.labelColor,marginLeft:"2px",marginBottom:"5px",fontSize:"11px"},"key-modal-input-container":{overflow:"hidden"},"key-modal-input":{width:"100%",padding:"3px 6px",fontFamily:"monospace",color:t.addKeyModal.color,border:"none",boxSizing:"border-box",borderRadius:"2px"},"key-modal-cancel":{backgroundColor:t.editVariable.removeIcon,position:"absolute",top:"0px",right:"0px",borderRadius:"0px 3px 0px 3px",cursor:"pointer"},"key-modal-cancel-icon":{color:t.addKeyModal.labelColor,fontSize:E.iconFontSize,transform:"rotate(45deg)"},"key-modal-submit":{color:t.editVariable.addIcon,fontSize:E.iconFontSize,position:"absolute",right:"2px",top:"3px",cursor:"pointer"},"function-ellipsis":{display:"inline-block",color:t.ellipsisColor,fontSize:E.ellipsisFontSize,lineHeight:E.ellipsisLineHeight,cursor:E.ellipsisCursor},"validation-failure":{float:"right",padding:"3px 6px",borderRadius:"2px",cursor:"pointer",color:t.validationFailure.fontColor,backgroundColor:t.validationFailure.background},"validation-failure-label":{marginRight:"6px"},"validation-failure-clear":{position:"relative",verticalAlign:"top",cursor:"pointer",color:t.validationFailure.iconColor,fontSize:E.iconFontSize,transform:"rotate(45deg)"}}};function T(e,t,n){return e||console.error("theme has not been set"),function(e){var t=k;return!1!==e&&"none"!==e||(t=C),Object(I.createStyling)(M,{defaultBase16:t})(e)}(e)(t,n)}var A=function(e){c(n,e);var t=g(n);function n(){return a(this,n),t.apply(this,arguments)}return l(n,[{key:"render",value:function(){var e=this.props,t=(e.rjvId,e.type_name),n=e.displayDataTypes,r=e.theme;return n?b.a.createElement("span",Object.assign({className:"data-type-label"},T(r,"data-type-label")),t):null}}]),n}(b.a.PureComponent),P=function(e){c(n,e);var t=g(n);function n(){return a(this,n),t.apply(this,arguments)}return l(n,[{key:"render",value:function(){var e=this.props;return b.a.createElement("div",T(e.theme,"boolean"),b.a.createElement(A,Object.assign({type_name:"bool"},e)),e.value?"true":"false")}}]),n}(b.a.PureComponent),O=function(e){c(n,e);var t=g(n);function n(){return a(this,n),t.apply(this,arguments)}return l(n,[{key:"render",value:function(){var e=this.props;return b.a.createElement("div",T(e.theme,"date"),b.a.createElement(A,Object.assign({type_name:"date"},e)),b.a.createElement("span",Object.assign({className:"date-value"},T(e.theme,"date-value")),e.value.toLocaleTimeString("en-us",{weekday:"short",year:"numeric",month:"short",day:"numeric",hour:"2-digit",minute:"2-digit"})))}}]),n}(b.a.PureComponent),D=function(e){c(n,e);var t=g(n);function n(){return a(this,n),t.apply(this,arguments)}return l(n,[{key:"render",value:function(){var e=this.props;return b.a.createElement("div",T(e.theme,"float"),b.a.createElement(A,Object.assign({type_name:"float"},e)),this.props.value)}}]),n}(b.a.PureComponent);function R(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function L(e,t){if(e){if("string"==typeof e)return R(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?R(e,t):void 0}}function N(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=L(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function j(e){return function(e){if(Array.isArray(e))return R(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||L(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var F=n(46),z=new(n(47).Dispatcher),B=new(function(e){c(n,e);var t=g(n);function n(){var e;a(this,n);for(var r=arguments.length,i=new Array(r),s=0;s<r;s++)i[s]=arguments[s];return(e=t.call.apply(t,[this].concat(i))).objects={},e.set=function(t,n,r,i){void 0===e.objects[t]&&(e.objects[t]={}),void 0===e.objects[t][n]&&(e.objects[t][n]={}),e.objects[t][n][r]=i},e.get=function(t,n,r,i){return void 0===e.objects[t]||void 0===e.objects[t][n]||null==e.objects[t][n][r]?i:e.objects[t][n][r]},e.handleAction=function(t){var n=t.rjvId,r=t.data;switch(t.name){case"RESET":e.emit("reset-"+n);break;case"VARIABLE_UPDATED":t.data.updated_src=e.updateSrc(n,r),e.set(n,"action","variable-update",o(o({},r),{},{type:"variable-edited"})),e.emit("variable-update-"+n);break;case"VARIABLE_REMOVED":t.data.updated_src=e.updateSrc(n,r),e.set(n,"action","variable-update",o(o({},r),{},{type:"variable-removed"})),e.emit("variable-update-"+n);break;case"VARIABLE_ADDED":t.data.updated_src=e.updateSrc(n,r),e.set(n,"action","variable-update",o(o({},r),{},{type:"variable-added"})),e.emit("variable-update-"+n);break;case"ADD_VARIABLE_KEY_REQUEST":e.set(n,"action","new-key-request",r),e.emit("add-key-request-"+n)}},e.updateSrc=function(t,n){var r=n.name,i=n.namespace,o=n.new_value,a=(n.existing_value,n.variable_removed);i.shift();var s,l=e.get(t,"global","src"),u=e.deepCopy(l,j(i)),c=u,f=N(i);try{for(f.s();!(s=f.n()).done;)c=c[s.value]}catch(e){f.e(e)}finally{f.f()}return a?"array"==S(c)?c.splice(r,1):delete c[r]:null!==r?c[r]=o:u=o,e.set(t,"global","src",u),u},e.deepCopy=function(t,n){var r,i=S(t),a=n.shift();return"array"==i?r=j(t):"object"==i&&(r=o({},t)),void 0!==a&&(r[a]=e.deepCopy(t[a],n)),r},e}return n}(F.EventEmitter));z.register(B.handleAction.bind(B));var V=B,$=function(e){c(n,e);var t=g(n);function n(e){var r;return a(this,n),(r=t.call(this,e)).toggleCollapsed=function(){r.setState({collapsed:!r.state.collapsed},(function(){V.set(r.props.rjvId,r.props.namespace,"collapsed",r.state.collapsed)}))},r.getFunctionDisplay=function(e){var t=d(r).props;return e?b.a.createElement("span",null,r.props.value.toString().slice(9,-1).replace(/\{[\s\S]+/,""),b.a.createElement("span",{className:"function-collapsed",style:{fontWeight:"bold"}},b.a.createElement("span",null,"{"),b.a.createElement("span",T(t.theme,"ellipsis"),"..."),b.a.createElement("span",null,"}"))):r.props.value.toString().slice(9,-1)},r.state={collapsed:V.get(e.rjvId,e.namespace,"collapsed",!0)},r}return l(n,[{key:"render",value:function(){var e=this.props,t=this.state.collapsed;return b.a.createElement("div",T(e.theme,"function"),b.a.createElement(A,Object.assign({type_name:"function"},e)),b.a.createElement("span",Object.assign({},T(e.theme,"function-value"),{className:"rjv-function-container",onClick:this.toggleCollapsed}),this.getFunctionDisplay(t)))}}]),n}(b.a.PureComponent),H=function(e){c(n,e);var t=g(n);function n(){return a(this,n),t.apply(this,arguments)}return l(n,[{key:"render",value:function(){return b.a.createElement("div",T(this.props.theme,"nan"),"NaN")}}]),n}(b.a.PureComponent),G=function(e){c(n,e);var t=g(n);function n(){return a(this,n),t.apply(this,arguments)}return l(n,[{key:"render",value:function(){return b.a.createElement("div",T(this.props.theme,"null"),"NULL")}}]),n}(b.a.PureComponent),W=function(e){c(n,e);var t=g(n);function n(){return a(this,n),t.apply(this,arguments)}return l(n,[{key:"render",value:function(){var e=this.props;return b.a.createElement("div",T(e.theme,"integer"),b.a.createElement(A,Object.assign({type_name:"int"},e)),this.props.value)}}]),n}(b.a.PureComponent),U=function(e){c(n,e);var t=g(n);function n(){return a(this,n),t.apply(this,arguments)}return l(n,[{key:"render",value:function(){var e=this.props;return b.a.createElement("div",T(e.theme,"regexp"),b.a.createElement(A,Object.assign({type_name:"regexp"},e)),this.props.value.toString())}}]),n}(b.a.PureComponent),q=function(e){c(n,e);var t=g(n);function n(e){var r;return a(this,n),(r=t.call(this,e)).toggleCollapsed=function(){r.setState({collapsed:!r.state.collapsed},(function(){V.set(r.props.rjvId,r.props.namespace,"collapsed",r.state.collapsed)}))},r.state={collapsed:V.get(e.rjvId,e.namespace,"collapsed",!0)},r}return l(n,[{key:"render",value:function(){this.state.collapsed;var e=this.props,t=e.collapseStringsAfterLength,n=e.theme,r=e.value,i={style:{cursor:"default"}};return"integer"===S(t)&&r.length>t&&(i.style.cursor="pointer",this.state.collapsed&&(r=b.a.createElement("span",null,r.substring(0,t),b.a.createElement("span",T(n,"ellipsis")," ...")))),b.a.createElement("div",T(n,"string"),b.a.createElement(A,Object.assign({type_name:"string"},e)),b.a.createElement("span",Object.assign({className:"string-value"},i,{onClick:this.toggleCollapsed}),'"',r,'"'))}}]),n}(b.a.PureComponent),X=function(e){c(n,e);var t=g(n);function n(){return a(this,n),t.apply(this,arguments)}return l(n,[{key:"render",value:function(){return b.a.createElement("div",T(this.props.theme,"undefined"),"undefined")}}]),n}(b.a.PureComponent);function Y(){return(Y=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var K=m.useLayoutEffect,Z=function(e){var t=Object(m.useRef)(e);return K((function(){t.current=e})),t},Q=function(e,t){"function"!=typeof e?e.current=t:e(t)},J=function(e,t){var n=Object(m.useRef)();return Object(m.useCallback)((function(r){e.current=r,n.current&&Q(n.current,null),n.current=t,t&&Q(t,r)}),[t])},ee={"min-height":"0","max-height":"none",height:"0",visibility:"hidden",overflow:"hidden",position:"absolute","z-index":"-1000",top:"0",right:"0"},te=function(e){Object.keys(ee).forEach((function(t){e.style.setProperty(t,ee[t],"important")}))},ne=null,re=function(){},ie=["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth","boxSizing","fontFamily","fontSize","fontStyle","fontWeight","letterSpacing","lineHeight","paddingBottom","paddingLeft","paddingRight","paddingTop","tabSize","textIndent","textRendering","textTransform","width"],oe=!!document.documentElement.currentStyle,ae=function(e,t){var n,r=e.cacheMeasurements,i=e.maxRows,o=e.minRows,a=e.onChange,s=void 0===a?re:a,l=e.onHeightChange,u=void 0===l?re:l,c=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,["cacheMeasurements","maxRows","minRows","onChange","onHeightChange"]),f=void 0!==c.value,h=Object(m.useRef)(null),d=J(h,t),p=Object(m.useRef)(0),g=Object(m.useRef)(),b=function(){var e=h.current,t=r&&g.current?g.current:function(e){var t=window.getComputedStyle(e);if(null===t)return null;var n,r=(n=t,ie.reduce((function(e,t){return e[t]=n[t],e}),{})),i=r.boxSizing;return""===i?null:(oe&&"border-box"===i&&(r.width=parseFloat(r.width)+parseFloat(r.borderRightWidth)+parseFloat(r.borderLeftWidth)+parseFloat(r.paddingRight)+parseFloat(r.paddingLeft)+"px"),{sizingStyle:r,paddingSize:parseFloat(r.paddingBottom)+parseFloat(r.paddingTop),borderSize:parseFloat(r.borderBottomWidth)+parseFloat(r.borderTopWidth)})}(e);if(t){g.current=t;var n=function(e,t,n,r){void 0===n&&(n=1),void 0===r&&(r=1/0),ne||((ne=document.createElement("textarea")).setAttribute("tab-index","-1"),ne.setAttribute("aria-hidden","true"),te(ne)),null===ne.parentNode&&document.body.appendChild(ne);var i=e.paddingSize,o=e.borderSize,a=e.sizingStyle,s=a.boxSizing;Object.keys(a).forEach((function(e){var t=e;ne.style[t]=a[t]})),te(ne),ne.value=t;var l=function(e,t){var n=e.scrollHeight;return"border-box"===t.sizingStyle.boxSizing?n+t.borderSize:n-t.paddingSize}(ne,e);ne.value="x";var u=ne.scrollHeight-i,c=u*n;"border-box"===s&&(c=c+i+o),l=Math.max(c,l);var f=u*r;return"border-box"===s&&(f=f+i+o),[l=Math.min(f,l),u]}(t,e.value||e.placeholder||"x",o,i),a=n[0],s=n[1];p.current!==a&&(p.current=a,e.style.setProperty("height",a+"px","important"),u(a,{rowHeight:s}))}};return Object(m.useLayoutEffect)(b),n=Z(b),Object(m.useLayoutEffect)((function(){var e=function(e){n.current(e)};return window.addEventListener("resize",e),function(){window.removeEventListener("resize",e)}}),[]),Object(m.createElement)("textarea",Y({},c,{onChange:function(e){f||b(),s(e)},ref:d}))},se=Object(m.forwardRef)(ae);function le(e){e=e.trim();try{if("["===(e=JSON.stringify(JSON.parse(e)))[0])return ue("array",JSON.parse(e));if("{"===e[0])return ue("object",JSON.parse(e));if(e.match(/\-?\d+\.\d+/)&&e.match(/\-?\d+\.\d+/)[0]===e)return ue("float",parseFloat(e));if(e.match(/\-?\d+e-\d+/)&&e.match(/\-?\d+e-\d+/)[0]===e)return ue("float",Number(e));if(e.match(/\-?\d+/)&&e.match(/\-?\d+/)[0]===e)return ue("integer",parseInt(e));if(e.match(/\-?\d+e\+\d+/)&&e.match(/\-?\d+e\+\d+/)[0]===e)return ue("integer",Number(e))}catch(e){}switch(e=e.toLowerCase()){case"undefined":return ue("undefined",void 0);case"nan":return ue("nan",NaN);case"null":return ue("null",null);case"true":return ue("boolean",!0);case"false":return ue("boolean",!1);default:if(e=Date.parse(e))return ue("date",new Date(e))}return ue(!1,null)}function ue(e,t){return{type:e,value:t}}var ce=function(e){c(n,e);var t=g(n);function n(){return a(this,n),t.apply(this,arguments)}return l(n,[{key:"render",value:function(){var e=this.props,t=e.style,n=_(e,["style"]);return b.a.createElement("span",n,b.a.createElement("svg",Object.assign({},_e(t),{viewBox:"0 0 24 24",fill:"currentColor",preserveAspectRatio:"xMidYMid meet"}),b.a.createElement("path",{d:"M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20,12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M7,13H17V11H7"})))}}]),n}(b.a.PureComponent),fe=function(e){c(n,e);var t=g(n);function n(){return a(this,n),t.apply(this,arguments)}return l(n,[{key:"render",value:function(){var e=this.props,t=e.style,n=_(e,["style"]);return b.a.createElement("span",n,b.a.createElement("svg",Object.assign({},_e(t),{viewBox:"0 0 24 24",fill:"currentColor",preserveAspectRatio:"xMidYMid meet"}),b.a.createElement("path",{d:"M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20,12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M13,7H11V11H7V13H11V17H13V13H17V11H13V7Z"})))}}]),n}(b.a.PureComponent),he=function(e){c(n,e);var t=g(n);function n(){return a(this,n),t.apply(this,arguments)}return l(n,[{key:"render",value:function(){var e=this.props,t=e.style,n=_(e,["style"]),r=_e(t).style;return b.a.createElement("span",n,b.a.createElement("svg",{fill:r.color,width:r.height,height:r.width,style:r,viewBox:"0 0 1792 1792"},b.a.createElement("path",{d:"M1344 800v64q0 14-9 23t-23 9h-832q-14 0-23-9t-9-23v-64q0-14 9-23t23-9h832q14 0 23 9t9 23zm128 448v-832q0-66-47-113t-113-47h-832q-66 0-113 47t-47 113v832q0 66 47 113t113 47h832q66 0 113-47t47-113zm128-832v832q0 119-84.5 203.5t-203.5 84.5h-832q-119 0-203.5-84.5t-84.5-203.5v-832q0-119 84.5-203.5t203.5-84.5h832q119 0 203.5 84.5t84.5 203.5z"})))}}]),n}(b.a.PureComponent),de=function(e){c(n,e);var t=g(n);function n(){return a(this,n),t.apply(this,arguments)}return l(n,[{key:"render",value:function(){var e=this.props,t=e.style,n=_(e,["style"]),r=_e(t).style;return b.a.createElement("span",n,b.a.createElement("svg",{fill:r.color,width:r.height,height:r.width,style:r,viewBox:"0 0 1792 1792"},b.a.createElement("path",{d:"M1344 800v64q0 14-9 23t-23 9h-352v352q0 14-9 23t-23 9h-64q-14 0-23-9t-9-23v-352h-352q-14 0-23-9t-9-23v-64q0-14 9-23t23-9h352v-352q0-14 9-23t23-9h64q14 0 23 9t9 23v352h352q14 0 23 9t9 23zm128 448v-832q0-66-47-113t-113-47h-832q-66 0-113 47t-47 113v832q0 66 47 113t113 47h832q66 0 113-47t47-113zm128-832v832q0 119-84.5 203.5t-203.5 84.5h-832q-119 0-203.5-84.5t-84.5-203.5v-832q0-119 84.5-203.5t203.5-84.5h832q119 0 203.5 84.5t84.5 203.5z"})))}}]),n}(b.a.PureComponent),pe=function(e){c(n,e);var t=g(n);function n(){return a(this,n),t.apply(this,arguments)}return l(n,[{key:"render",value:function(){var e=this.props,t=e.style,n=_(e,["style"]);return b.a.createElement("span",n,b.a.createElement("svg",{style:o(o({},_e(t).style),{},{paddingLeft:"2px",verticalAlign:"top"}),viewBox:"0 0 15 15",fill:"currentColor"},b.a.createElement("path",{d:"M0 14l6-6-6-6z"})))}}]),n}(b.a.PureComponent),ge=function(e){c(n,e);var t=g(n);function n(){return a(this,n),t.apply(this,arguments)}return l(n,[{key:"render",value:function(){var e=this.props,t=e.style,n=_(e,["style"]);return b.a.createElement("span",n,b.a.createElement("svg",{style:o(o({},_e(t).style),{},{paddingLeft:"2px",verticalAlign:"top"}),viewBox:"0 0 15 15",fill:"currentColor"},b.a.createElement("path",{d:"M0 5l6 6 6-6z"})))}}]),n}(b.a.PureComponent),me=function(e){c(n,e);var t=g(n);function n(){return a(this,n),t.apply(this,arguments)}return l(n,[{key:"render",value:function(){var e=this.props,t=e.style,n=_(e,["style"]);return b.a.createElement("span",n,b.a.createElement("svg",Object.assign({},_e(t),{viewBox:"0 0 40 40",fill:"currentColor",preserveAspectRatio:"xMidYMid meet"}),b.a.createElement("g",null,b.a.createElement("path",{d:"m30 35h-25v-22.5h25v7.5h2.5v-12.5c0-1.4-1.1-2.5-2.5-2.5h-7.5c0-2.8-2.2-5-5-5s-5 2.2-5 5h-7.5c-1.4 0-2.5 1.1-2.5 2.5v27.5c0 1.4 1.1 2.5 2.5 2.5h25c1.4 0 2.5-1.1 2.5-2.5v-5h-2.5v5z m-20-27.5h2.5s2.5-1.1 2.5-2.5 1.1-2.5 2.5-2.5 2.5 1.1 2.5 2.5 1.3 2.5 2.5 2.5h2.5s2.5 1.1 2.5 2.5h-20c0-1.5 1.1-2.5 2.5-2.5z m-2.5 20h5v-2.5h-5v2.5z m17.5-5v-5l-10 7.5 10 7.5v-5h12.5v-5h-12.5z m-17.5 10h7.5v-2.5h-7.5v2.5z m12.5-17.5h-12.5v2.5h12.5v-2.5z m-7.5 5h-5v2.5h5v-2.5z"}))))}}]),n}(b.a.PureComponent),be=function(e){c(n,e);var t=g(n);function n(){return a(this,n),t.apply(this,arguments)}return l(n,[{key:"render",value:function(){var e=this.props,t=e.style,n=_(e,["style"]);return b.a.createElement("span",n,b.a.createElement("svg",Object.assign({},_e(t),{viewBox:"0 0 40 40",fill:"currentColor",preserveAspectRatio:"xMidYMid meet"}),b.a.createElement("g",null,b.a.createElement("path",{d:"m28.6 25q0-0.5-0.4-1l-4-4 4-4q0.4-0.5 0.4-1 0-0.6-0.4-1.1l-2-2q-0.4-0.4-1-0.4-0.6 0-1 0.4l-4.1 4.1-4-4.1q-0.4-0.4-1-0.4-0.6 0-1 0.4l-2 2q-0.5 0.5-0.5 1.1 0 0.5 0.5 1l4 4-4 4q-0.5 0.5-0.5 1 0 0.7 0.5 1.1l2 2q0.4 0.4 1 0.4 0.6 0 1-0.4l4-4.1 4.1 4.1q0.4 0.4 1 0.4 0.6 0 1-0.4l2-2q0.4-0.4 0.4-1z m8.7-5q0 4.7-2.3 8.6t-6.3 6.2-8.6 2.3-8.6-2.3-6.2-6.2-2.3-8.6 2.3-8.6 6.2-6.2 8.6-2.3 8.6 2.3 6.3 6.2 2.3 8.6z"}))))}}]),n}(b.a.PureComponent),ve=function(e){c(n,e);var t=g(n);function n(){return a(this,n),t.apply(this,arguments)}return l(n,[{key:"render",value:function(){var e=this.props,t=e.style,n=_(e,["style"]);return b.a.createElement("span",n,b.a.createElement("svg",Object.assign({},_e(t),{viewBox:"0 0 40 40",fill:"currentColor",preserveAspectRatio:"xMidYMid meet"}),b.a.createElement("g",null,b.a.createElement("path",{d:"m30.1 21.4v-2.8q0-0.6-0.4-1t-1-0.5h-5.7v-5.7q0-0.6-0.4-1t-1-0.4h-2.9q-0.6 0-1 0.4t-0.4 1v5.7h-5.7q-0.6 0-1 0.5t-0.5 1v2.8q0 0.6 0.5 1t1 0.5h5.7v5.7q0 0.5 0.4 1t1 0.4h2.9q0.6 0 1-0.4t0.4-1v-5.7h5.7q0.6 0 1-0.5t0.4-1z m7.2-1.4q0 4.7-2.3 8.6t-6.3 6.2-8.6 2.3-8.6-2.3-6.2-6.2-2.3-8.6 2.3-8.6 6.2-6.2 8.6-2.3 8.6 2.3 6.3 6.2 2.3 8.6z"}))))}}]),n}(b.a.PureComponent),ye=function(e){c(n,e);var t=g(n);function n(){return a(this,n),t.apply(this,arguments)}return l(n,[{key:"render",value:function(){var e=this.props,t=e.style,n=_(e,["style"]);return b.a.createElement("span",n,b.a.createElement("svg",Object.assign({},_e(t),{viewBox:"0 0 40 40",fill:"currentColor",preserveAspectRatio:"xMidYMid meet"}),b.a.createElement("g",null,b.a.createElement("path",{d:"m31.6 21.6h-10v10h-3.2v-10h-10v-3.2h10v-10h3.2v10h10v3.2z"}))))}}]),n}(b.a.PureComponent),we=function(e){c(n,e);var t=g(n);function n(){return a(this,n),t.apply(this,arguments)}return l(n,[{key:"render",value:function(){var e=this.props,t=e.style,n=_(e,["style"]);return b.a.createElement("span",n,b.a.createElement("svg",Object.assign({},_e(t),{viewBox:"0 0 40 40",fill:"currentColor",preserveAspectRatio:"xMidYMid meet"}),b.a.createElement("g",null,b.a.createElement("path",{d:"m19.8 26.4l2.6-2.6-3.4-3.4-2.6 2.6v1.3h2.2v2.1h1.2z m9.8-16q-0.3-0.4-0.7 0l-7.8 7.8q-0.4 0.4 0 0.7t0.7 0l7.8-7.8q0.4-0.4 0-0.7z m1.8 13.2v4.3q0 2.6-1.9 4.5t-4.5 1.9h-18.6q-2.6 0-4.5-1.9t-1.9-4.5v-18.6q0-2.7 1.9-4.6t4.5-1.8h18.6q1.4 0 2.6 0.5 0.3 0.2 0.4 0.5 0.1 0.4-0.2 0.7l-1.1 1.1q-0.3 0.3-0.7 0.1-0.5-0.1-1-0.1h-18.6q-1.4 0-2.5 1.1t-1 2.5v18.6q0 1.4 1 2.5t2.5 1h18.6q1.5 0 2.5-1t1.1-2.5v-2.9q0-0.2 0.2-0.4l1.4-1.5q0.3-0.3 0.8-0.1t0.4 0.6z m-2.1-16.5l6.4 6.5-15 15h-6.4v-6.5z m9.9 3l-2.1 2-6.4-6.4 2.1-2q0.6-0.7 1.5-0.7t1.5 0.7l3.4 3.4q0.6 0.6 0.6 1.5t-0.6 1.5z"}))))}}]),n}(b.a.PureComponent),xe=function(e){c(n,e);var t=g(n);function n(){return a(this,n),t.apply(this,arguments)}return l(n,[{key:"render",value:function(){var e=this.props,t=e.style,n=_(e,["style"]);return b.a.createElement("span",n,b.a.createElement("svg",Object.assign({},_e(t),{viewBox:"0 0 40 40",fill:"currentColor",preserveAspectRatio:"xMidYMid meet"}),b.a.createElement("g",null,b.a.createElement("path",{d:"m31.7 16.4q0-0.6-0.4-1l-2.1-2.1q-0.4-0.4-1-0.4t-1 0.4l-9.1 9.1-5-5q-0.5-0.4-1-0.4t-1 0.4l-2.1 2q-0.4 0.4-0.4 1 0 0.6 0.4 1l8.1 8.1q0.4 0.4 1 0.4 0.6 0 1-0.4l12.2-12.1q0.4-0.4 0.4-1z m5.6 3.6q0 4.7-2.3 8.6t-6.3 6.2-8.6 2.3-8.6-2.3-6.2-6.2-2.3-8.6 2.3-8.6 6.2-6.2 8.6-2.3 8.6 2.3 6.3 6.2 2.3 8.6z"}))))}}]),n}(b.a.PureComponent);function _e(e){return e||(e={}),{style:o(o({verticalAlign:"middle"},e),{},{color:e.color?e.color:"#000000",height:"1em",width:"1em"})}}var Se=function(e){c(n,e);var t=g(n);function n(e){var r;return a(this,n),(r=t.call(this,e)).copiedTimer=null,r.handleCopy=function(){var e=document.createElement("textarea"),t=r.props,n=t.clickCallback,i=t.src,o=t.namespace;e.innerHTML=JSON.stringify(r.clipboardValue(i),null," "),document.body.appendChild(e),e.select(),document.execCommand("copy"),document.body.removeChild(e),r.copiedTimer=setTimeout((function(){r.setState({copied:!1})}),5500),r.setState({copied:!0},(function(){"function"==typeof n&&n({src:i,namespace:o,name:o[o.length-1]})}))},r.getClippyIcon=function(){var e=r.props.theme;return r.state.copied?b.a.createElement("span",null,b.a.createElement(me,Object.assign({className:"copy-icon"},T(e,"copy-icon"))),b.a.createElement("span",T(e,"copy-icon-copied"),"✔")):b.a.createElement(me,Object.assign({className:"copy-icon"},T(e,"copy-icon")))},r.clipboardValue=function(e){switch(S(e)){case"function":case"regexp":return e.toString();default:return e}},r.state={copied:!1},r}return l(n,[{key:"componentWillUnmount",value:function(){this.copiedTimer&&(clearTimeout(this.copiedTimer),this.copiedTimer=null)}},{key:"render",value:function(){var e=this.props,t=(e.src,e.theme),n=e.hidden,r=e.rowHovered,i=T(t,"copy-to-clipboard").style,a="inline";return n&&(a="none"),b.a.createElement("span",{className:"copy-to-clipboard-container",title:"Copy to clipboard",style:{verticalAlign:"top",display:r?"inline-block":"none"}},b.a.createElement("span",{style:o(o({},i),{},{display:a}),onClick:this.handleCopy},this.getClippyIcon()))}}]),n}(b.a.PureComponent),ke=function(e){c(n,e);var t=g(n);function n(e){var r;return a(this,n),(r=t.call(this,e)).getEditIcon=function(){var e=r.props,t=e.variable,n=e.theme;return b.a.createElement("div",{className:"click-to-edit",style:{verticalAlign:"top",display:r.state.hovered?"inline-block":"none"}},b.a.createElement(we,Object.assign({className:"click-to-edit-icon"},T(n,"editVarIcon"),{onClick:function(){r.prepopInput(t)}})))},r.prepopInput=function(e){if(!1!==r.props.onEdit){var t=function(e){var t;switch(S(e)){case"undefined":t="undefined";break;case"nan":t="NaN";break;case"string":t=e;break;case"date":case"function":case"regexp":t=e.toString();break;default:try{t=JSON.stringify(e,null," ")}catch(e){t=""}}return t}(e.value),n=le(t);r.setState({editMode:!0,editValue:t,parsedInput:{type:n.type,value:n.value}})}},r.getRemoveIcon=function(){var e=r.props,t=e.variable,n=e.namespace,i=e.theme,o=e.rjvId;return b.a.createElement("div",{className:"click-to-remove",style:{verticalAlign:"top",display:r.state.hovered?"inline-block":"none"}},b.a.createElement(be,Object.assign({className:"click-to-remove-icon"},T(i,"removeVarIcon"),{onClick:function(){z.dispatch({name:"VARIABLE_REMOVED",rjvId:o,data:{name:t.name,namespace:n,existing_value:t.value,variable_removed:!0}})}})))},r.getValue=function(e,t){var n=!t&&e.type,i=d(r).props;switch(n){case!1:return r.getEditInput();case"string":return b.a.createElement(q,Object.assign({value:e.value},i));case"integer":return b.a.createElement(W,Object.assign({value:e.value},i));case"float":return b.a.createElement(D,Object.assign({value:e.value},i));case"boolean":return b.a.createElement(P,Object.assign({value:e.value},i));case"function":return b.a.createElement($,Object.assign({value:e.value},i));case"null":return b.a.createElement(G,i);case"nan":return b.a.createElement(H,i);case"undefined":return b.a.createElement(X,i);case"date":return b.a.createElement(O,Object.assign({value:e.value},i));case"regexp":return b.a.createElement(U,Object.assign({value:e.value},i));default:return b.a.createElement("div",{className:"object-value"},JSON.stringify(e.value))}},r.getEditInput=function(){var e=r.props.theme,t=r.state.editValue;return b.a.createElement("div",null,b.a.createElement(se,Object.assign({type:"text",inputRef:function(e){return e&&e.focus()},value:t,className:"variable-editor",onChange:function(e){var t=e.target.value,n=le(t);r.setState({editValue:t,parsedInput:{type:n.type,value:n.value}})},onKeyDown:function(e){switch(e.key){case"Escape":r.setState({editMode:!1,editValue:""});break;case"Enter":(e.ctrlKey||e.metaKey)&&r.submitEdit(!0)}e.stopPropagation()},placeholder:"update this value",minRows:2},T(e,"edit-input"))),b.a.createElement("div",T(e,"edit-icon-container"),b.a.createElement(be,Object.assign({className:"edit-cancel"},T(e,"cancel-icon"),{onClick:function(){r.setState({editMode:!1,editValue:""})}})),b.a.createElement(xe,Object.assign({className:"edit-check string-value"},T(e,"check-icon"),{onClick:function(){r.submitEdit()}})),b.a.createElement("div",null,r.showDetected())))},r.submitEdit=function(e){var t=r.props,n=t.variable,i=t.namespace,o=t.rjvId,a=r.state,s=a.editValue,l=a.parsedInput,u=s;e&&l.type&&(u=l.value),r.setState({editMode:!1}),z.dispatch({name:"VARIABLE_UPDATED",rjvId:o,data:{name:n.name,namespace:i,existing_value:n.value,new_value:u,variable_removed:!1}})},r.showDetected=function(){var e=r.props,t=e.theme,n=(e.variable,e.namespace,e.rjvId,r.state.parsedInput),i=(n.type,n.value,r.getDetectedInput());if(i)return b.a.createElement("div",null,b.a.createElement("div",T(t,"detected-row"),i,b.a.createElement(xe,{className:"edit-check detected",style:o({verticalAlign:"top",paddingLeft:"3px"},T(t,"check-icon").style),onClick:function(){r.submitEdit(!0)}})))},r.getDetectedInput=function(){var e=r.state.parsedInput,t=e.type,n=e.value,i=d(r).props,a=i.theme;if(!1!==t)switch(t.toLowerCase()){case"object":return b.a.createElement("span",null,b.a.createElement("span",{style:o(o({},T(a,"brace").style),{},{cursor:"default"})},"{"),b.a.createElement("span",{style:o(o({},T(a,"ellipsis").style),{},{cursor:"default"})},"..."),b.a.createElement("span",{style:o(o({},T(a,"brace").style),{},{cursor:"default"})},"}"));case"array":return b.a.createElement("span",null,b.a.createElement("span",{style:o(o({},T(a,"brace").style),{},{cursor:"default"})},"["),b.a.createElement("span",{style:o(o({},T(a,"ellipsis").style),{},{cursor:"default"})},"..."),b.a.createElement("span",{style:o(o({},T(a,"brace").style),{},{cursor:"default"})},"]"));case"string":return b.a.createElement(q,Object.assign({value:n},i));case"integer":return b.a.createElement(W,Object.assign({value:n},i));case"float":return b.a.createElement(D,Object.assign({value:n},i));case"boolean":return b.a.createElement(P,Object.assign({value:n},i));case"function":return b.a.createElement($,Object.assign({value:n},i));case"null":return b.a.createElement(G,i);case"nan":return b.a.createElement(H,i);case"undefined":return b.a.createElement(X,i);case"date":return b.a.createElement(O,Object.assign({value:new Date(n)},i))}},r.state={editMode:!1,editValue:"",hovered:!1,renameKey:!1,parsedInput:{type:!1,value:null}},r}return l(n,[{key:"render",value:function(){var e=this,t=this.props,n=t.variable,r=t.singleIndent,i=t.type,a=t.theme,s=t.namespace,l=t.indentWidth,u=t.enableClipboard,c=t.onEdit,f=t.onDelete,h=t.onSelect,d=t.displayArrayKey,p=t.quotesOnKeys,g=this.state.editMode;return b.a.createElement("div",Object.assign({},T(a,"objectKeyVal",{paddingLeft:l*r}),{onMouseEnter:function(){return e.setState(o(o({},e.state),{},{hovered:!0}))},onMouseLeave:function(){return e.setState(o(o({},e.state),{},{hovered:!1}))},className:"variable-row",key:n.name}),"array"==i?d?b.a.createElement("span",Object.assign({},T(a,"array-key"),{key:n.name+"_"+s}),n.name,b.a.createElement("div",T(a,"colon"),":")):null:b.a.createElement("span",null,b.a.createElement("span",Object.assign({},T(a,"object-name"),{className:"object-key",key:n.name+"_"+s}),!!p&&b.a.createElement("span",{style:{verticalAlign:"top"}},'"'),b.a.createElement("span",{style:{display:"inline-block"}},n.name),!!p&&b.a.createElement("span",{style:{verticalAlign:"top"}},'"')),b.a.createElement("span",T(a,"colon"),":")),b.a.createElement("div",Object.assign({className:"variable-value",onClick:!1===h&&!1===c?null:function(t){var r=j(s);(t.ctrlKey||t.metaKey)&&!1!==c?e.prepopInput(n):!1!==h&&(r.shift(),h(o(o({},n),{},{namespace:r})))}},T(a,"variableValue",{cursor:!1===h?"default":"pointer"})),this.getValue(n,g)),u?b.a.createElement(Se,{rowHovered:this.state.hovered,hidden:g,src:n.value,clickCallback:u,theme:a,namespace:[].concat(j(s),[n.name])}):null,!1!==c&&0==g?this.getEditIcon():null,!1!==f&&0==g?this.getRemoveIcon():null)}}]),n}(b.a.PureComponent),Ce=function(e){c(n,e);var t=g(n);function n(){var e;a(this,n);for(var r=arguments.length,i=new Array(r),s=0;s<r;s++)i[s]=arguments[s];return(e=t.call.apply(t,[this].concat(i))).getObjectSize=function(){var t=e.props,n=t.size,r=t.theme;if(t.displayObjectSize)return b.a.createElement("span",Object.assign({className:"object-size"},T(r,"object-size")),n," item",1===n?"":"s")},e.getAddAttribute=function(t){var n=e.props,r=n.theme,i=n.namespace,a=n.name,s=n.src,l=n.rjvId,u=n.depth;return b.a.createElement("span",{className:"click-to-add",style:{verticalAlign:"top",display:t?"inline-block":"none"}},b.a.createElement(ve,Object.assign({className:"click-to-add-icon"},T(r,"addVarIcon"),{onClick:function(){var e={name:u>0?a:null,namespace:i.splice(0,i.length-1),existing_value:s,variable_removed:!1,key_name:null};"object"===S(s)?z.dispatch({name:"ADD_VARIABLE_KEY_REQUEST",rjvId:l,data:e}):z.dispatch({name:"VARIABLE_ADDED",rjvId:l,data:o(o({},e),{},{new_value:[].concat(j(s),[null])})})}})))},e.getRemoveObject=function(t){var n=e.props,r=n.theme,i=(n.hover,n.namespace),o=n.name,a=n.src,s=n.rjvId;if(1!==i.length)return b.a.createElement("span",{className:"click-to-remove",style:{display:t?"inline-block":"none"}},b.a.createElement(be,Object.assign({className:"click-to-remove-icon"},T(r,"removeVarIcon"),{onClick:function(){z.dispatch({name:"VARIABLE_REMOVED",rjvId:s,data:{name:o,namespace:i.splice(0,i.length-1),existing_value:a,variable_removed:!0}})}})))},e.render=function(){var t=e.props,n=t.theme,r=t.onDelete,i=t.onAdd,o=t.enableClipboard,a=t.src,s=t.namespace,l=t.rowHovered;return b.a.createElement("div",Object.assign({},T(n,"object-meta-data"),{className:"object-meta-data",onClick:function(e){e.stopPropagation()}}),e.getObjectSize(),o?b.a.createElement(Se,{rowHovered:l,clickCallback:o,src:a,theme:n,namespace:s}):null,!1!==i?e.getAddAttribute(l):null,!1!==r?e.getRemoveObject(l):null)},e}return n}(b.a.PureComponent);function Ee(e){var t=e.parent_type,n=e.namespace,r=e.quotesOnKeys,i=e.theme,o=e.jsvRoot,a=e.name,s=e.displayArrayKey,l=e.name?e.name:"";return!o||!1!==a&&null!==a?"array"==t?s?b.a.createElement("span",Object.assign({},T(i,"array-key"),{key:n}),b.a.createElement("span",{className:"array-key"},l),b.a.createElement("span",T(i,"colon"),":")):b.a.createElement("span",null):b.a.createElement("span",Object.assign({},T(i,"object-name"),{key:n}),b.a.createElement("span",{className:"object-key"},r&&b.a.createElement("span",{style:{verticalAlign:"top"}},'"'),b.a.createElement("span",null,l),r&&b.a.createElement("span",{style:{verticalAlign:"top"}},'"')),b.a.createElement("span",T(i,"colon"),":")):b.a.createElement("span",null)}function Ie(e){var t=e.theme;switch(e.iconStyle){case"triangle":return b.a.createElement(ge,Object.assign({},T(t,"expanded-icon"),{className:"expanded-icon"}));case"square":return b.a.createElement(he,Object.assign({},T(t,"expanded-icon"),{className:"expanded-icon"}));default:return b.a.createElement(ce,Object.assign({},T(t,"expanded-icon"),{className:"expanded-icon"}))}}function Me(e){var t=e.theme;switch(e.iconStyle){case"triangle":return b.a.createElement(pe,Object.assign({},T(t,"collapsed-icon"),{className:"collapsed-icon"}));case"square":return b.a.createElement(de,Object.assign({},T(t,"collapsed-icon"),{className:"collapsed-icon"}));default:return b.a.createElement(fe,Object.assign({},T(t,"collapsed-icon"),{className:"collapsed-icon"}))}}var Te=function(e){c(n,e);var t=g(n);function n(e){var r;return a(this,n),(r=t.call(this,e)).toggleCollapsed=function(e){var t=[];for(var n in r.state.expanded)t.push(r.state.expanded[n]);t[e]=!t[e],r.setState({expanded:t})},r.state={expanded:[]},r}return l(n,[{key:"getExpandedIcon",value:function(e){var t=this.props,n=t.theme,r=t.iconStyle;return this.state.expanded[e]?b.a.createElement(Ie,{theme:n,iconStyle:r}):b.a.createElement(Me,{theme:n,iconStyle:r})}},{key:"render",value:function(){var e=this,t=this.props,n=t.src,r=t.groupArraysAfterLength,i=(t.depth,t.name),o=t.theme,a=t.jsvRoot,s=t.namespace,l=(t.parent_type,_(t,["src","groupArraysAfterLength","depth","name","theme","jsvRoot","namespace","parent_type"])),u=0,c=5*this.props.indentWidth;a||(u=5*this.props.indentWidth);var f=r,h=Math.ceil(n.length/f);return b.a.createElement("div",Object.assign({className:"object-key-val"},T(o,a?"jsv-root":"objectKeyVal",{paddingLeft:u})),b.a.createElement(Ee,this.props),b.a.createElement("span",null,b.a.createElement(Ce,Object.assign({size:n.length},this.props))),j(Array(h)).map((function(t,r){return b.a.createElement("div",Object.assign({key:r,className:"object-key-val array-group"},T(o,"objectKeyVal",{marginLeft:6,paddingLeft:c})),b.a.createElement("span",T(o,"brace-row"),b.a.createElement("div",Object.assign({className:"icon-container"},T(o,"icon-container"),{onClick:function(t){e.toggleCollapsed(r)}}),e.getExpandedIcon(r)),e.state.expanded[r]?b.a.createElement(Oe,Object.assign({key:i+r,depth:0,name:!1,collapsed:!1,groupArraysAfterLength:f,index_offset:r*f,src:n.slice(r*f,r*f+f),namespace:s,type:"array",parent_type:"array_group",theme:o},l)):b.a.createElement("span",Object.assign({},T(o,"brace"),{onClick:function(t){e.toggleCollapsed(r)},className:"array-group-brace"}),"[",b.a.createElement("div",Object.assign({},T(o,"array-group-meta-data"),{className:"array-group-meta-data"}),b.a.createElement("span",Object.assign({className:"object-size"},T(o,"object-size")),r*f," - ",r*f+f>n.length?n.length:r*f+f)),"]")))})))}}]),n}(b.a.PureComponent),Ae=function(e){c(n,e);var t=g(n);function n(e){var r;a(this,n),(r=t.call(this,e)).toggleCollapsed=function(){r.setState({expanded:!r.state.expanded},(function(){V.set(r.props.rjvId,r.props.namespace,"expanded",r.state.expanded)}))},r.getObjectContent=function(e,t,n){return b.a.createElement("div",{className:"pushed-content object-container"},b.a.createElement("div",Object.assign({className:"object-content"},T(r.props.theme,"pushed-content")),r.renderObjectContents(t,n)))},r.getEllipsis=function(){return 0===r.state.size?null:b.a.createElement("div",Object.assign({},T(r.props.theme,"ellipsis"),{className:"node-ellipsis",onClick:r.toggleCollapsed}),"...")},r.getObjectMetaData=function(e){var t=r.props,n=(t.rjvId,t.theme,r.state),i=n.size,o=n.hovered;return b.a.createElement(Ce,Object.assign({rowHovered:o,size:i},r.props))},r.renderObjectContents=function(e,t){var n,i=r.props,o=i.depth,a=i.parent_type,s=i.index_offset,l=i.groupArraysAfterLength,u=i.namespace,c=r.state.object_type,f=[],h=Object.keys(e||{});return r.props.sortKeys&&"array"!==c&&(h=h.sort()),h.forEach((function(i){if(n=new Pe(i,e[i]),"array_group"===a&&s&&(n.name=parseInt(n.name)+s),e.hasOwnProperty(i))if("object"===n.type)f.push(b.a.createElement(Oe,Object.assign({key:n.name,depth:o+1,name:n.name,src:n.value,namespace:u.concat(n.name),parent_type:c},t)));else if("array"===n.type){var h=Oe;l&&n.value.length>l&&(h=Te),f.push(b.a.createElement(h,Object.assign({key:n.name,depth:o+1,name:n.name,src:n.value,namespace:u.concat(n.name),type:"array",parent_type:c},t)))}else f.push(b.a.createElement(ke,Object.assign({key:n.name+"_"+u,variable:n,singleIndent:5,namespace:u,type:r.props.type},t)))})),f};var i=n.getState(e);return r.state=o(o({},i),{},{prevProps:{}}),r}return l(n,[{key:"getBraceStart",value:function(e,t){var n=this,r=this.props,i=r.src,o=r.theme,a=r.iconStyle;if("array_group"===r.parent_type)return b.a.createElement("span",null,b.a.createElement("span",T(o,"brace"),"array"===e?"[":"{"),t?this.getObjectMetaData(i):null);var s=t?Ie:Me;return b.a.createElement("span",null,b.a.createElement("span",Object.assign({onClick:function(e){n.toggleCollapsed()}},T(o,"brace-row")),b.a.createElement("div",Object.assign({className:"icon-container"},T(o,"icon-container")),b.a.createElement(s,{theme:o,iconStyle:a})),b.a.createElement(Ee,this.props),b.a.createElement("span",T(o,"brace"),"array"===e?"[":"{")),t?this.getObjectMetaData(i):null)}},{key:"render",value:function(){var e=this,t=this.props,n=t.depth,r=t.src,i=(t.namespace,t.name,t.type,t.parent_type),a=t.theme,s=t.jsvRoot,l=t.iconStyle,u=_(t,["depth","src","namespace","name","type","parent_type","theme","jsvRoot","iconStyle"]),c=this.state,f=c.object_type,h=c.expanded,d={};return s||"array_group"===i?"array_group"===i&&(d.borderLeft=0,d.display="inline"):d.paddingLeft=5*this.props.indentWidth,b.a.createElement("div",Object.assign({className:"object-key-val",onMouseEnter:function(){return e.setState(o(o({},e.state),{},{hovered:!0}))},onMouseLeave:function(){return e.setState(o(o({},e.state),{},{hovered:!1}))}},T(a,s?"jsv-root":"objectKeyVal",d)),this.getBraceStart(f,h),h?this.getObjectContent(n,r,o({theme:a,iconStyle:l},u)):this.getEllipsis(),b.a.createElement("span",{className:"brace-row"},b.a.createElement("span",{style:o(o({},T(a,"brace").style),{},{paddingLeft:h?"3px":"0px"})},"array"===f?"]":"}"),h?null:this.getObjectMetaData(r)))}}],[{key:"getDerivedStateFromProps",value:function(e,t){var r=t.prevProps;return e.src!==r.src||e.collapsed!==r.collapsed||e.name!==r.name||e.namespace!==r.namespace||e.rjvId!==r.rjvId?o(o({},n.getState(e)),{},{prevProps:e}):null}}]),n}(b.a.PureComponent);Ae.getState=function(e){var t=Object.keys(e.src).length,n=(!1===e.collapsed||!0!==e.collapsed&&e.collapsed>e.depth)&&(!e.shouldCollapse||!1===e.shouldCollapse({name:e.name,src:e.src,type:S(e.src),namespace:e.namespace}))&&0!==t;return{expanded:V.get(e.rjvId,e.namespace,"expanded",n),object_type:"array"===e.type?"array":"object",parent_type:"array"===e.type?"array":"object",size:t,hovered:!1}};var Pe=function e(t,n){a(this,e),this.name=t,this.value=n,this.type=S(n)};x(Ae);var Oe=Ae,De=function(e){c(n,e);var t=g(n);function n(){var e;a(this,n);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return(e=t.call.apply(t,[this].concat(i))).render=function(){var t=d(e).props,n=[t.name],r=Oe;return Array.isArray(t.src)&&t.groupArraysAfterLength&&t.src.length>t.groupArraysAfterLength&&(r=Te),b.a.createElement("div",{className:"pretty-json-container object-container"},b.a.createElement("div",{className:"object-content"},b.a.createElement(r,Object.assign({namespace:n,depth:0,jsvRoot:!0},t))))},e}return n}(b.a.PureComponent),Re=function(e){c(n,e);var t=g(n);function n(e){var r;return a(this,n),(r=t.call(this,e)).closeModal=function(){z.dispatch({rjvId:r.props.rjvId,name:"RESET"})},r.submit=function(){r.props.submit(r.state.input)},r.state={input:e.input?e.input:""},r}return l(n,[{key:"render",value:function(){var e=this,t=this.props,n=t.theme,r=t.rjvId,i=t.isValid,o=this.state.input,a=i(o);return b.a.createElement("div",Object.assign({className:"key-modal-request"},T(n,"key-modal-request"),{onClick:this.closeModal}),b.a.createElement("div",Object.assign({},T(n,"key-modal"),{onClick:function(e){e.stopPropagation()}}),b.a.createElement("div",T(n,"key-modal-label"),"Key Name:"),b.a.createElement("div",{style:{position:"relative"}},b.a.createElement("input",Object.assign({},T(n,"key-modal-input"),{className:"key-modal-input",ref:function(e){return e&&e.focus()},spellCheck:!1,value:o,placeholder:"...",onChange:function(t){e.setState({input:t.target.value})},onKeyPress:function(t){a&&"Enter"===t.key?e.submit():"Escape"===t.key&&e.closeModal()}})),a?b.a.createElement(xe,Object.assign({},T(n,"key-modal-submit"),{className:"key-modal-submit",onClick:function(t){return e.submit()}})):null),b.a.createElement("span",T(n,"key-modal-cancel"),b.a.createElement(ye,Object.assign({},T(n,"key-modal-cancel-icon"),{className:"key-modal-cancel",onClick:function(){z.dispatch({rjvId:r,name:"RESET"})}})))))}}]),n}(b.a.PureComponent),Le=function(e){c(n,e);var t=g(n);function n(){var e;a(this,n);for(var r=arguments.length,i=new Array(r),s=0;s<r;s++)i[s]=arguments[s];return(e=t.call.apply(t,[this].concat(i))).isValid=function(t){var n=e.props.rjvId,r=V.get(n,"action","new-key-request");return""!=t&&-1===Object.keys(r.existing_value).indexOf(t)},e.submit=function(t){var n=e.props.rjvId,r=V.get(n,"action","new-key-request");r.new_value=o({},r.existing_value),r.new_value[t]=e.props.defaultValue,z.dispatch({name:"VARIABLE_ADDED",rjvId:n,data:r})},e}return l(n,[{key:"render",value:function(){var e=this.props,t=e.active,n=e.theme,r=e.rjvId;return t?b.a.createElement(Re,{rjvId:r,theme:n,isValid:this.isValid,submit:this.submit}):null}}]),n}(b.a.PureComponent),Ne=function(e){c(n,e);var t=g(n);function n(){return a(this,n),t.apply(this,arguments)}return l(n,[{key:"render",value:function(){var e=this.props,t=e.message,n=e.active,r=e.theme,i=e.rjvId;return n?b.a.createElement("div",Object.assign({className:"validation-failure"},T(r,"validation-failure"),{onClick:function(){z.dispatch({rjvId:i,name:"RESET"})}}),b.a.createElement("span",T(r,"validation-failure-label"),t),b.a.createElement(ye,T(r,"validation-failure-clear"))):null}}]),n}(b.a.PureComponent),je=function(e){c(n,e);var t=g(n);function n(e){var r;return a(this,n),(r=t.call(this,e)).rjvId=Date.now().toString(),r.getListeners=function(){return{reset:r.resetState,"variable-update":r.updateSrc,"add-key-request":r.addKeyRequest}},r.updateSrc=function(){var e,t=V.get(r.rjvId,"action","variable-update"),n=t.name,i=t.namespace,o=t.new_value,a=t.existing_value,s=(t.variable_removed,t.updated_src),l=t.type,u=r.props,c=u.onEdit,f=u.onDelete,h=u.onAdd,d={existing_src:r.state.src,new_value:o,updated_src:s,name:n,namespace:i,existing_value:a};switch(l){case"variable-added":e=h(d);break;case"variable-edited":e=c(d);break;case"variable-removed":e=f(d)}!1!==e?(V.set(r.rjvId,"global","src",s),r.setState({src:s})):r.setState({validationFailure:!0})},r.addKeyRequest=function(){r.setState({addKeyRequest:!0})},r.resetState=function(){r.setState({validationFailure:!1,addKeyRequest:!1})},r.state={addKeyRequest:!1,editKeyRequest:!1,validationFailure:!1,src:n.defaultProps.src,name:n.defaultProps.name,theme:n.defaultProps.theme,validationMessage:n.defaultProps.validationMessage,prevSrc:n.defaultProps.src,prevName:n.defaultProps.name,prevTheme:n.defaultProps.theme},r}return l(n,[{key:"componentDidMount",value:function(){V.set(this.rjvId,"global","src",this.state.src);var e=this.getListeners();for(var t in e)V.on(t+"-"+this.rjvId,e[t]);this.setState({addKeyRequest:!1,editKeyRequest:!1})}},{key:"componentDidUpdate",value:function(e,t){!1!==t.addKeyRequest&&this.setState({addKeyRequest:!1}),!1!==t.editKeyRequest&&this.setState({editKeyRequest:!1}),e.src!==this.state.src&&V.set(this.rjvId,"global","src",this.state.src)}},{key:"componentWillUnmount",value:function(){var e=this.getListeners();for(var t in e)V.removeListener(t+"-"+this.rjvId,e[t])}},{key:"render",value:function(){var e=this.state,t=e.validationFailure,n=e.validationMessage,r=e.addKeyRequest,i=e.theme,a=e.src,s=e.name,l=this.props,u=l.style,c=l.defaultValue;return b.a.createElement("div",{className:"react-json-view",style:o(o({},T(i,"app-container").style),u)},b.a.createElement(Ne,{message:n,active:t,theme:i,rjvId:this.rjvId}),b.a.createElement(De,Object.assign({},this.props,{src:a,name:s,theme:i,type:S(a),rjvId:this.rjvId})),b.a.createElement(Le,{active:r,theme:i,rjvId:this.rjvId,defaultValue:c}))}}],[{key:"getDerivedStateFromProps",value:function(e,t){if(e.src!==t.prevSrc||e.name!==t.prevName||e.theme!==t.prevTheme){var r={src:e.src,name:e.name,theme:e.theme,validationMessage:e.validationMessage,prevSrc:e.src,prevName:e.name,prevTheme:e.theme};return n.validateState(r)}return null}}]),n}(b.a.PureComponent);je.defaultProps={src:{},name:"root",theme:"rjv-default",collapsed:!1,collapseStringsAfterLength:!1,shouldCollapse:!1,sortKeys:!1,quotesOnKeys:!0,groupArraysAfterLength:100,indentWidth:4,enableClipboard:!0,displayObjectSize:!0,displayDataTypes:!0,onEdit:!1,onDelete:!1,onAdd:!1,onSelect:!1,iconStyle:"triangle",style:{},validationMessage:"Validation Error",defaultValue:null,displayArrayKey:!0},je.validateState=function(e){var t={};return"object"!==S(e.theme)||function(e){var t=["base00","base01","base02","base03","base04","base05","base06","base07","base08","base09","base0A","base0B","base0C","base0D","base0E","base0F"];if("object"===S(e)){for(var n=0;n<t.length;n++)if(!(t[n]in e))return!1;return!0}return!1}(e.theme)||(console.error("react-json-view error:","theme prop must be a theme name or valid base-16 theme object.",'defaulting to "rjv-default" theme'),t.theme="rjv-default"),"object"!==S(e.src)&&"array"!==S(e.src)&&(console.error("react-json-view error:","src property must be a valid json object"),t.name="ERROR",t.src={message:"src property must be a valid json object"}),o(o({},e),t)},x(je),t.default=je}]))},976:(e,t)=>{"use strict";var n,r=Symbol.for("react.element"),i=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),u=Symbol.for("react.context"),c=Symbol.for("react.server_context"),f=Symbol.for("react.forward_ref"),h=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),g=Symbol.for("react.lazy"),m=Symbol.for("react.offscreen");function b(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case o:case s:case a:case h:case d:return e;default:switch(e=e&&e.$$typeof){case c:case u:case f:case g:case p:case l:return e;default:return t}}case i:return t}}}n=Symbol.for("react.module.reference"),t.ContextConsumer=u,t.ContextProvider=l,t.Element=r,t.ForwardRef=f,t.Fragment=o,t.Lazy=g,t.Memo=p,t.Portal=i,t.Profiler=s,t.StrictMode=a,t.Suspense=h,t.SuspenseList=d,t.isAsyncMode=function(){return!1},t.isConcurrentMode=function(){return!1},t.isContextConsumer=function(e){return b(e)===u},t.isContextProvider=function(e){return b(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return b(e)===f},t.isFragment=function(e){return b(e)===o},t.isLazy=function(e){return b(e)===g},t.isMemo=function(e){return b(e)===p},t.isPortal=function(e){return b(e)===i},t.isProfiler=function(e){return b(e)===s},t.isStrictMode=function(e){return b(e)===a},t.isSuspense=function(e){return b(e)===h},t.isSuspenseList=function(e){return b(e)===d},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===s||e===a||e===h||e===d||e===m||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===p||e.$$typeof===l||e.$$typeof===u||e.$$typeof===f||e.$$typeof===n||void 0!==e.getModuleId)},t.typeOf=b},8316:(e,t,n)=>{"use strict";e.exports=n(976)},1289:(e,t,n)=>{"use strict";n.d(t,{m:()=>a});var r=n(5566),i=n(3287),o=n(941),a=new(function(e){function t(){var t;return(t=e.call(this)||this).setup=function(e){var t;if(!o.S$&&(null==(t=window)?void 0:t.addEventListener)){var n=function(){return e()};return window.addEventListener("visibilitychange",n,!1),window.addEventListener("focus",n,!1),function(){window.removeEventListener("visibilitychange",n),window.removeEventListener("focus",n)}}},t}(0,r.A)(t,e);var n=t.prototype;return n.onSubscribe=function(){this.cleanup||this.setEventListener(this.setup)},n.onUnsubscribe=function(){var e;this.hasListeners()||(null==(e=this.cleanup)||e.call(this),this.cleanup=void 0)},n.setEventListener=function(e){var t,n=this;this.setup=e,null==(t=this.cleanup)||t.call(this),this.cleanup=e((function(e){"boolean"==typeof e?n.setFocused(e):n.onFocus()}))},n.setFocused=function(e){this.focused=e,e&&this.onFocus()},n.onFocus=function(){this.listeners.forEach((function(e){e()}))},n.isFocused=function(){return"boolean"==typeof this.focused?this.focused:"undefined"==typeof document||[void 0,"visible","prerender"].includes(document.visibilityState)},t}(i.Q))},4468:(e,t,n)=>{"use strict";n.d(t,{QueryClient:()=>r.E});var r=n(7098),i=n(6449);n.o(i,"QueryClientProvider")&&n.d(t,{QueryClientProvider:function(){return i.QueryClientProvider}}),n.o(i,"useMutation")&&n.d(t,{useMutation:function(){return i.useMutation}}),n.o(i,"useQuery")&&n.d(t,{useQuery:function(){return i.useQuery}}),n.o(i,"useQueryClient")&&n.d(t,{useQueryClient:function(){return i.useQueryClient}})},9690:(e,t,n)=>{"use strict";n.d(t,{B:()=>o,t:()=>i});var r=console;function i(){return r}function o(e){r=e}},3465:(e,t,n)=>{"use strict";n.d(t,{$:()=>u,s:()=>l});var r=n(1098),i=n(9690),o=n(428),a=n(6281),s=n(941),l=function(){function e(e){this.options=(0,r.A)({},e.defaultOptions,e.options),this.mutationId=e.mutationId,this.mutationCache=e.mutationCache,this.observers=[],this.state=e.state||u(),this.meta=e.meta}var t=e.prototype;return t.setState=function(e){this.dispatch({type:"setState",state:e})},t.addObserver=function(e){-1===this.observers.indexOf(e)&&this.observers.push(e)},t.removeObserver=function(e){this.observers=this.observers.filter((function(t){return t!==e}))},t.cancel=function(){return this.retryer?(this.retryer.cancel(),this.retryer.promise.then(s.lQ).catch(s.lQ)):Promise.resolve()},t.continue=function(){return this.retryer?(this.retryer.continue(),this.retryer.promise):this.execute()},t.execute=function(){var e,t=this,n="loading"===this.state.status,r=Promise.resolve();return n||(this.dispatch({type:"loading",variables:this.options.variables}),r=r.then((function(){null==t.mutationCache.config.onMutate||t.mutationCache.config.onMutate(t.state.variables,t)})).then((function(){return null==t.options.onMutate?void 0:t.options.onMutate(t.state.variables)})).then((function(e){e!==t.state.context&&t.dispatch({type:"loading",context:e,variables:t.state.variables})}))),r.then((function(){return t.executeMutation()})).then((function(n){e=n,null==t.mutationCache.config.onSuccess||t.mutationCache.config.onSuccess(e,t.state.variables,t.state.context,t)})).then((function(){return null==t.options.onSuccess?void 0:t.options.onSuccess(e,t.state.variables,t.state.context)})).then((function(){return null==t.options.onSettled?void 0:t.options.onSettled(e,null,t.state.variables,t.state.context)})).then((function(){return t.dispatch({type:"success",data:e}),e})).catch((function(e){return null==t.mutationCache.config.onError||t.mutationCache.config.onError(e,t.state.variables,t.state.context,t),(0,i.t)().error(e),Promise.resolve().then((function(){return null==t.options.onError?void 0:t.options.onError(e,t.state.variables,t.state.context)})).then((function(){return null==t.options.onSettled?void 0:t.options.onSettled(void 0,e,t.state.variables,t.state.context)})).then((function(){throw t.dispatch({type:"error",error:e}),e}))}))},t.executeMutation=function(){var e,t=this;return this.retryer=new a.eJ({fn:function(){return t.options.mutationFn?t.options.mutationFn(t.state.variables):Promise.reject("No mutationFn found")},onFail:function(){t.dispatch({type:"failed"})},onPause:function(){t.dispatch({type:"pause"})},onContinue:function(){t.dispatch({type:"continue"})},retry:null!=(e=this.options.retry)?e:0,retryDelay:this.options.retryDelay}),this.retryer.promise},t.dispatch=function(e){var t=this;this.state=function(e,t){switch(t.type){case"failed":return(0,r.A)({},e,{failureCount:e.failureCount+1});case"pause":return(0,r.A)({},e,{isPaused:!0});case"continue":return(0,r.A)({},e,{isPaused:!1});case"loading":return(0,r.A)({},e,{context:t.context,data:void 0,error:null,isPaused:!1,status:"loading",variables:t.variables});case"success":return(0,r.A)({},e,{data:t.data,error:null,status:"success",isPaused:!1});case"error":return(0,r.A)({},e,{data:void 0,error:t.error,failureCount:e.failureCount+1,isPaused:!1,status:"error"});case"setState":return(0,r.A)({},e,t.state);default:return e}}(this.state,e),o.j.batch((function(){t.observers.forEach((function(t){t.onMutationUpdate(e)})),t.mutationCache.notify(t)}))},e}();function u(){return{context:void 0,data:void 0,error:null,failureCount:0,isPaused:!1,status:"idle",variables:void 0}}},428:(e,t,n)=>{"use strict";n.d(t,{j:()=>i});var r=n(941),i=new(function(){function e(){this.queue=[],this.transactions=0,this.notifyFn=function(e){e()},this.batchNotifyFn=function(e){e()}}var t=e.prototype;return t.batch=function(e){var t;this.transactions++;try{t=e()}finally{this.transactions--,this.transactions||this.flush()}return t},t.schedule=function(e){var t=this;this.transactions?this.queue.push(e):(0,r.G6)((function(){t.notifyFn(e)}))},t.batchCalls=function(e){var t=this;return function(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];t.schedule((function(){e.apply(void 0,r)}))}},t.flush=function(){var e=this,t=this.queue;this.queue=[],t.length&&(0,r.G6)((function(){e.batchNotifyFn((function(){t.forEach((function(t){e.notifyFn(t)}))}))}))},t.setNotifyFunction=function(e){this.notifyFn=e},t.setBatchNotifyFunction=function(e){this.batchNotifyFn=e},e}())},4622:(e,t,n)=>{"use strict";n.d(t,{t:()=>a});var r=n(5566),i=n(3287),o=n(941),a=new(function(e){function t(){var t;return(t=e.call(this)||this).setup=function(e){var t;if(!o.S$&&(null==(t=window)?void 0:t.addEventListener)){var n=function(){return e()};return window.addEventListener("online",n,!1),window.addEventListener("offline",n,!1),function(){window.removeEventListener("online",n),window.removeEventListener("offline",n)}}},t}(0,r.A)(t,e);var n=t.prototype;return n.onSubscribe=function(){this.cleanup||this.setEventListener(this.setup)},n.onUnsubscribe=function(){var e;this.hasListeners()||(null==(e=this.cleanup)||e.call(this),this.cleanup=void 0)},n.setEventListener=function(e){var t,n=this;this.setup=e,null==(t=this.cleanup)||t.call(this),this.cleanup=e((function(e){"boolean"==typeof e?n.setOnline(e):n.onOnline()}))},n.setOnline=function(e){this.online=e,e&&this.onOnline()},n.onOnline=function(){this.listeners.forEach((function(e){e()}))},n.isOnline=function(){return"boolean"==typeof this.online?this.online:"undefined"==typeof navigator||void 0===navigator.onLine||navigator.onLine},t}(i.Q))},7098:(e,t,n)=>{"use strict";n.d(t,{E:()=>v});var r=n(1098),i=n(941),o=n(5566),a=n(428),s=n(9690),l=n(6281),u=function(){function e(e){this.abortSignalConsumed=!1,this.hadObservers=!1,this.defaultOptions=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.cache=e.cache,this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.initialState=e.state||this.getDefaultState(this.options),this.state=this.initialState,this.meta=e.meta,this.scheduleGc()}var t=e.prototype;return t.setOptions=function(e){var t;this.options=(0,r.A)({},this.defaultOptions,e),this.meta=null==e?void 0:e.meta,this.cacheTime=Math.max(this.cacheTime||0,null!=(t=this.options.cacheTime)?t:3e5)},t.setDefaultOptions=function(e){this.defaultOptions=e},t.scheduleGc=function(){var e=this;this.clearGcTimeout(),(0,i.gn)(this.cacheTime)&&(this.gcTimeout=setTimeout((function(){e.optionalRemove()}),this.cacheTime))},t.clearGcTimeout=function(){clearTimeout(this.gcTimeout),this.gcTimeout=void 0},t.optionalRemove=function(){this.observers.length||(this.state.isFetching?this.hadObservers&&this.scheduleGc():this.cache.remove(this))},t.setData=function(e,t){var n,r,o=this.state.data,a=(0,i.Zw)(e,o);return(null==(n=(r=this.options).isDataEqual)?void 0:n.call(r,o,a))?a=o:!1!==this.options.structuralSharing&&(a=(0,i.BH)(o,a)),this.dispatch({data:a,type:"success",dataUpdatedAt:null==t?void 0:t.updatedAt}),a},t.setState=function(e,t){this.dispatch({type:"setState",state:e,setStateOptions:t})},t.cancel=function(e){var t,n=this.promise;return null==(t=this.retryer)||t.cancel(e),n?n.then(i.lQ).catch(i.lQ):Promise.resolve()},t.destroy=function(){this.clearGcTimeout(),this.cancel({silent:!0})},t.reset=function(){this.destroy(),this.setState(this.initialState)},t.isActive=function(){return this.observers.some((function(e){return!1!==e.options.enabled}))},t.isFetching=function(){return this.state.isFetching},t.isStale=function(){return this.state.isInvalidated||!this.state.dataUpdatedAt||this.observers.some((function(e){return e.getCurrentResult().isStale}))},t.isStaleByTime=function(e){return void 0===e&&(e=0),this.state.isInvalidated||!this.state.dataUpdatedAt||!(0,i.j3)(this.state.dataUpdatedAt,e)},t.onFocus=function(){var e,t=this.observers.find((function(e){return e.shouldFetchOnWindowFocus()}));t&&t.refetch(),null==(e=this.retryer)||e.continue()},t.onOnline=function(){var e,t=this.observers.find((function(e){return e.shouldFetchOnReconnect()}));t&&t.refetch(),null==(e=this.retryer)||e.continue()},t.addObserver=function(e){-1===this.observers.indexOf(e)&&(this.observers.push(e),this.hadObservers=!0,this.clearGcTimeout(),this.cache.notify({type:"observerAdded",query:this,observer:e}))},t.removeObserver=function(e){-1!==this.observers.indexOf(e)&&(this.observers=this.observers.filter((function(t){return t!==e})),this.observers.length||(this.retryer&&(this.retryer.isTransportCancelable||this.abortSignalConsumed?this.retryer.cancel({revert:!0}):this.retryer.cancelRetry()),this.cacheTime?this.scheduleGc():this.cache.remove(this)),this.cache.notify({type:"observerRemoved",query:this,observer:e}))},t.getObserversCount=function(){return this.observers.length},t.invalidate=function(){this.state.isInvalidated||this.dispatch({type:"invalidate"})},t.fetch=function(e,t){var n,r,o,a=this;if(this.state.isFetching)if(this.state.dataUpdatedAt&&(null==t?void 0:t.cancelRefetch))this.cancel({silent:!0});else if(this.promise){var u;return null==(u=this.retryer)||u.continueRetry(),this.promise}if(e&&this.setOptions(e),!this.options.queryFn){var c=this.observers.find((function(e){return e.options.queryFn}));c&&this.setOptions(c.options)}var f=(0,i.HN)(this.queryKey),h=(0,i.jY)(),d={queryKey:f,pageParam:void 0,meta:this.meta};Object.defineProperty(d,"signal",{enumerable:!0,get:function(){if(h)return a.abortSignalConsumed=!0,h.signal}});var p,g,m={fetchOptions:t,options:this.options,queryKey:f,state:this.state,fetchFn:function(){return a.options.queryFn?(a.abortSignalConsumed=!1,a.options.queryFn(d)):Promise.reject("Missing queryFn")},meta:this.meta};(null==(n=this.options.behavior)?void 0:n.onFetch)&&(null==(p=this.options.behavior)||p.onFetch(m));(this.revertState=this.state,this.state.isFetching&&this.state.fetchMeta===(null==(r=m.fetchOptions)?void 0:r.meta))||this.dispatch({type:"fetch",meta:null==(g=m.fetchOptions)?void 0:g.meta});return this.retryer=new l.eJ({fn:m.fetchFn,abort:null==h||null==(o=h.abort)?void 0:o.bind(h),onSuccess:function(e){a.setData(e),null==a.cache.config.onSuccess||a.cache.config.onSuccess(e,a),0===a.cacheTime&&a.optionalRemove()},onError:function(e){(0,l.wm)(e)&&e.silent||a.dispatch({type:"error",error:e}),(0,l.wm)(e)||(null==a.cache.config.onError||a.cache.config.onError(e,a),(0,s.t)().error(e)),0===a.cacheTime&&a.optionalRemove()},onFail:function(){a.dispatch({type:"failed"})},onPause:function(){a.dispatch({type:"pause"})},onContinue:function(){a.dispatch({type:"continue"})},retry:m.options.retry,retryDelay:m.options.retryDelay}),this.promise=this.retryer.promise,this.promise},t.dispatch=function(e){var t=this;this.state=this.reducer(this.state,e),a.j.batch((function(){t.observers.forEach((function(t){t.onQueryUpdate(e)})),t.cache.notify({query:t,type:"queryUpdated",action:e})}))},t.getDefaultState=function(e){var t="function"==typeof e.initialData?e.initialData():e.initialData,n=void 0!==e.initialData?"function"==typeof e.initialDataUpdatedAt?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0,r=void 0!==t;return{data:t,dataUpdateCount:0,dataUpdatedAt:r?null!=n?n:Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchMeta:null,isFetching:!1,isInvalidated:!1,isPaused:!1,status:r?"success":"idle"}},t.reducer=function(e,t){var n,i;switch(t.type){case"failed":return(0,r.A)({},e,{fetchFailureCount:e.fetchFailureCount+1});case"pause":return(0,r.A)({},e,{isPaused:!0});case"continue":return(0,r.A)({},e,{isPaused:!1});case"fetch":return(0,r.A)({},e,{fetchFailureCount:0,fetchMeta:null!=(n=t.meta)?n:null,isFetching:!0,isPaused:!1},!e.dataUpdatedAt&&{error:null,status:"loading"});case"success":return(0,r.A)({},e,{data:t.data,dataUpdateCount:e.dataUpdateCount+1,dataUpdatedAt:null!=(i=t.dataUpdatedAt)?i:Date.now(),error:null,fetchFailureCount:0,isFetching:!1,isInvalidated:!1,isPaused:!1,status:"success"});case"error":var o=t.error;return(0,l.wm)(o)&&o.revert&&this.revertState?(0,r.A)({},this.revertState):(0,r.A)({},e,{error:o,errorUpdateCount:e.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:e.fetchFailureCount+1,isFetching:!1,isPaused:!1,status:"error"});case"invalidate":return(0,r.A)({},e,{isInvalidated:!0});case"setState":return(0,r.A)({},e,t.state);default:return e}},e}(),c=n(3287),f=function(e){function t(t){var n;return(n=e.call(this)||this).config=t||{},n.queries=[],n.queriesMap={},n}(0,o.A)(t,e);var n=t.prototype;return n.build=function(e,t,n){var r,o=t.queryKey,a=null!=(r=t.queryHash)?r:(0,i.F$)(o,t),s=this.get(a);return s||(s=new u({cache:this,queryKey:o,queryHash:a,options:e.defaultQueryOptions(t),state:n,defaultOptions:e.getQueryDefaults(o),meta:t.meta}),this.add(s)),s},n.add=function(e){this.queriesMap[e.queryHash]||(this.queriesMap[e.queryHash]=e,this.queries.push(e),this.notify({type:"queryAdded",query:e}))},n.remove=function(e){var t=this.queriesMap[e.queryHash];t&&(e.destroy(),this.queries=this.queries.filter((function(t){return t!==e})),t===e&&delete this.queriesMap[e.queryHash],this.notify({type:"queryRemoved",query:e}))},n.clear=function(){var e=this;a.j.batch((function(){e.queries.forEach((function(t){e.remove(t)}))}))},n.get=function(e){return this.queriesMap[e]},n.getAll=function(){return this.queries},n.find=function(e,t){var n=(0,i.b_)(e,t)[0];return void 0===n.exact&&(n.exact=!0),this.queries.find((function(e){return(0,i.MK)(n,e)}))},n.findAll=function(e,t){var n=(0,i.b_)(e,t)[0];return Object.keys(n).length>0?this.queries.filter((function(e){return(0,i.MK)(n,e)})):this.queries},n.notify=function(e){var t=this;a.j.batch((function(){t.listeners.forEach((function(t){t(e)}))}))},n.onFocus=function(){var e=this;a.j.batch((function(){e.queries.forEach((function(e){e.onFocus()}))}))},n.onOnline=function(){var e=this;a.j.batch((function(){e.queries.forEach((function(e){e.onOnline()}))}))},t}(c.Q),h=n(3465),d=function(e){function t(t){var n;return(n=e.call(this)||this).config=t||{},n.mutations=[],n.mutationId=0,n}(0,o.A)(t,e);var n=t.prototype;return n.build=function(e,t,n){var r=new h.s({mutationCache:this,mutationId:++this.mutationId,options:e.defaultMutationOptions(t),state:n,defaultOptions:t.mutationKey?e.getMutationDefaults(t.mutationKey):void 0,meta:t.meta});return this.add(r),r},n.add=function(e){this.mutations.push(e),this.notify(e)},n.remove=function(e){this.mutations=this.mutations.filter((function(t){return t!==e})),e.cancel(),this.notify(e)},n.clear=function(){var e=this;a.j.batch((function(){e.mutations.forEach((function(t){e.remove(t)}))}))},n.getAll=function(){return this.mutations},n.find=function(e){return void 0===e.exact&&(e.exact=!0),this.mutations.find((function(t){return(0,i.nJ)(e,t)}))},n.findAll=function(e){return this.mutations.filter((function(t){return(0,i.nJ)(e,t)}))},n.notify=function(e){var t=this;a.j.batch((function(){t.listeners.forEach((function(t){t(e)}))}))},n.onFocus=function(){this.resumePausedMutations()},n.onOnline=function(){this.resumePausedMutations()},n.resumePausedMutations=function(){var e=this.mutations.filter((function(e){return e.state.isPaused}));return a.j.batch((function(){return e.reduce((function(e,t){return e.then((function(){return t.continue().catch(i.lQ)}))}),Promise.resolve())}))},t}(c.Q),p=n(1289),g=n(4622);function m(e,t){return null==e.getNextPageParam?void 0:e.getNextPageParam(t[t.length-1],t)}function b(e,t){return null==e.getPreviousPageParam?void 0:e.getPreviousPageParam(t[0],t)}var v=function(){function e(e){void 0===e&&(e={}),this.queryCache=e.queryCache||new f,this.mutationCache=e.mutationCache||new d,this.defaultOptions=e.defaultOptions||{},this.queryDefaults=[],this.mutationDefaults=[]}var t=e.prototype;return t.mount=function(){var e=this;this.unsubscribeFocus=p.m.subscribe((function(){p.m.isFocused()&&g.t.isOnline()&&(e.mutationCache.onFocus(),e.queryCache.onFocus())})),this.unsubscribeOnline=g.t.subscribe((function(){p.m.isFocused()&&g.t.isOnline()&&(e.mutationCache.onOnline(),e.queryCache.onOnline())}))},t.unmount=function(){var e,t;null==(e=this.unsubscribeFocus)||e.call(this),null==(t=this.unsubscribeOnline)||t.call(this)},t.isFetching=function(e,t){var n=(0,i.b_)(e,t)[0];return n.fetching=!0,this.queryCache.findAll(n).length},t.isMutating=function(e){return this.mutationCache.findAll((0,r.A)({},e,{fetching:!0})).length},t.getQueryData=function(e,t){var n;return null==(n=this.queryCache.find(e,t))?void 0:n.state.data},t.getQueriesData=function(e){return this.getQueryCache().findAll(e).map((function(e){return[e.queryKey,e.state.data]}))},t.setQueryData=function(e,t,n){var r=(0,i.vh)(e),o=this.defaultQueryOptions(r);return this.queryCache.build(this,o).setData(t,n)},t.setQueriesData=function(e,t,n){var r=this;return a.j.batch((function(){return r.getQueryCache().findAll(e).map((function(e){var i=e.queryKey;return[i,r.setQueryData(i,t,n)]}))}))},t.getQueryState=function(e,t){var n;return null==(n=this.queryCache.find(e,t))?void 0:n.state},t.removeQueries=function(e,t){var n=(0,i.b_)(e,t)[0],r=this.queryCache;a.j.batch((function(){r.findAll(n).forEach((function(e){r.remove(e)}))}))},t.resetQueries=function(e,t,n){var o=this,s=(0,i.b_)(e,t,n),l=s[0],u=s[1],c=this.queryCache,f=(0,r.A)({},l,{active:!0});return a.j.batch((function(){return c.findAll(l).forEach((function(e){e.reset()})),o.refetchQueries(f,u)}))},t.cancelQueries=function(e,t,n){var r=this,o=(0,i.b_)(e,t,n),s=o[0],l=o[1],u=void 0===l?{}:l;void 0===u.revert&&(u.revert=!0);var c=a.j.batch((function(){return r.queryCache.findAll(s).map((function(e){return e.cancel(u)}))}));return Promise.all(c).then(i.lQ).catch(i.lQ)},t.invalidateQueries=function(e,t,n){var o,s,l,u=this,c=(0,i.b_)(e,t,n),f=c[0],h=c[1],d=(0,r.A)({},f,{active:null==(o=null!=(s=f.refetchActive)?s:f.active)||o,inactive:null!=(l=f.refetchInactive)&&l});return a.j.batch((function(){return u.queryCache.findAll(f).forEach((function(e){e.invalidate()})),u.refetchQueries(d,h)}))},t.refetchQueries=function(e,t,n){var o=this,s=(0,i.b_)(e,t,n),l=s[0],u=s[1],c=a.j.batch((function(){return o.queryCache.findAll(l).map((function(e){return e.fetch(void 0,(0,r.A)({},u,{meta:{refetchPage:null==l?void 0:l.refetchPage}}))}))})),f=Promise.all(c).then(i.lQ);return(null==u?void 0:u.throwOnError)||(f=f.catch(i.lQ)),f},t.fetchQuery=function(e,t,n){var r=(0,i.vh)(e,t,n),o=this.defaultQueryOptions(r);void 0===o.retry&&(o.retry=!1);var a=this.queryCache.build(this,o);return a.isStaleByTime(o.staleTime)?a.fetch(o):Promise.resolve(a.state.data)},t.prefetchQuery=function(e,t,n){return this.fetchQuery(e,t,n).then(i.lQ).catch(i.lQ)},t.fetchInfiniteQuery=function(e,t,n){var r=(0,i.vh)(e,t,n);return r.behavior={onFetch:function(e){e.fetchFn=function(){var t,n,r,o,a,s,u,c=null==(t=e.fetchOptions)||null==(n=t.meta)?void 0:n.refetchPage,f=null==(r=e.fetchOptions)||null==(o=r.meta)?void 0:o.fetchMore,h=null==f?void 0:f.pageParam,d="forward"===(null==f?void 0:f.direction),p="backward"===(null==f?void 0:f.direction),g=(null==(a=e.state.data)?void 0:a.pages)||[],v=(null==(s=e.state.data)?void 0:s.pageParams)||[],y=(0,i.jY)(),w=null==y?void 0:y.signal,x=v,_=!1,S=e.options.queryFn||function(){return Promise.reject("Missing queryFn")},k=function(e,t,n,r){return x=r?[t].concat(x):[].concat(x,[t]),r?[n].concat(e):[].concat(e,[n])},C=function(t,n,r,i){if(_)return Promise.reject("Cancelled");if(void 0===r&&!n&&t.length)return Promise.resolve(t);var o={queryKey:e.queryKey,signal:w,pageParam:r,meta:e.meta},a=S(o),s=Promise.resolve(a).then((function(e){return k(t,r,e,i)}));return(0,l.dd)(a)&&(s.cancel=a.cancel),s};if(g.length)if(d){var E=void 0!==h,I=E?h:m(e.options,g);u=C(g,E,I)}else if(p){var M=void 0!==h,T=M?h:b(e.options,g);u=C(g,M,T,!0)}else!function(){x=[];var t=void 0===e.options.getNextPageParam,n=!c||!g[0]||c(g[0],0,g);u=n?C([],t,v[0]):Promise.resolve(k([],v[0],g[0]));for(var r=function(n){u=u.then((function(r){if(!c||!g[n]||c(g[n],n,g)){var i=t?v[n]:m(e.options,r);return C(r,t,i)}return Promise.resolve(k(r,v[n],g[n]))}))},i=1;i<g.length;i++)r(i)}();else u=C([]);var A=u.then((function(e){return{pages:e,pageParams:x}}));return A.cancel=function(){_=!0,null==y||y.abort(),(0,l.dd)(u)&&u.cancel()},A}}},this.fetchQuery(r)},t.prefetchInfiniteQuery=function(e,t,n){return this.fetchInfiniteQuery(e,t,n).then(i.lQ).catch(i.lQ)},t.cancelMutations=function(){var e=this,t=a.j.batch((function(){return e.mutationCache.getAll().map((function(e){return e.cancel()}))}));return Promise.all(t).then(i.lQ).catch(i.lQ)},t.resumePausedMutations=function(){return this.getMutationCache().resumePausedMutations()},t.executeMutation=function(e){return this.mutationCache.build(this,e).execute()},t.getQueryCache=function(){return this.queryCache},t.getMutationCache=function(){return this.mutationCache},t.getDefaultOptions=function(){return this.defaultOptions},t.setDefaultOptions=function(e){this.defaultOptions=e},t.setQueryDefaults=function(e,t){var n=this.queryDefaults.find((function(t){return(0,i.Od)(e)===(0,i.Od)(t.queryKey)}));n?n.defaultOptions=t:this.queryDefaults.push({queryKey:e,defaultOptions:t})},t.getQueryDefaults=function(e){var t;return e?null==(t=this.queryDefaults.find((function(t){return(0,i.Cp)(e,t.queryKey)})))?void 0:t.defaultOptions:void 0},t.setMutationDefaults=function(e,t){var n=this.mutationDefaults.find((function(t){return(0,i.Od)(e)===(0,i.Od)(t.mutationKey)}));n?n.defaultOptions=t:this.mutationDefaults.push({mutationKey:e,defaultOptions:t})},t.getMutationDefaults=function(e){var t;return e?null==(t=this.mutationDefaults.find((function(t){return(0,i.Cp)(e,t.mutationKey)})))?void 0:t.defaultOptions:void 0},t.defaultQueryOptions=function(e){if(null==e?void 0:e._defaulted)return e;var t=(0,r.A)({},this.defaultOptions.queries,this.getQueryDefaults(null==e?void 0:e.queryKey),e,{_defaulted:!0});return!t.queryHash&&t.queryKey&&(t.queryHash=(0,i.F$)(t.queryKey,t)),t},t.defaultQueryObserverOptions=function(e){return this.defaultQueryOptions(e)},t.defaultMutationOptions=function(e){return(null==e?void 0:e._defaulted)?e:(0,r.A)({},this.defaultOptions.mutations,this.getMutationDefaults(null==e?void 0:e.mutationKey),e,{_defaulted:!0})},t.clear=function(){this.queryCache.clear(),this.mutationCache.clear()},e}()},6281:(e,t,n)=>{"use strict";n.d(t,{dd:()=>s,eJ:()=>c,wm:()=>u});var r=n(1289),i=n(4622),o=n(941);function a(e){return Math.min(1e3*Math.pow(2,e),3e4)}function s(e){return"function"==typeof(null==e?void 0:e.cancel)}var l=function(e){this.revert=null==e?void 0:e.revert,this.silent=null==e?void 0:e.silent};function u(e){return e instanceof l}var c=function(e){var t,n,u,c,f=this,h=!1;this.abort=e.abort,this.cancel=function(e){return null==t?void 0:t(e)},this.cancelRetry=function(){h=!0},this.continueRetry=function(){h=!1},this.continue=function(){return null==n?void 0:n()},this.failureCount=0,this.isPaused=!1,this.isResolved=!1,this.isTransportCancelable=!1,this.promise=new Promise((function(e,t){u=e,c=t}));var d=function(t){f.isResolved||(f.isResolved=!0,null==e.onSuccess||e.onSuccess(t),null==n||n(),u(t))},p=function(t){f.isResolved||(f.isResolved=!0,null==e.onError||e.onError(t),null==n||n(),c(t))};!function u(){if(!f.isResolved){var c;try{c=e.fn()}catch(e){c=Promise.reject(e)}t=function(e){if(!f.isResolved&&(p(new l(e)),null==f.abort||f.abort(),s(c)))try{c.cancel()}catch(e){}},f.isTransportCancelable=s(c),Promise.resolve(c).then(d).catch((function(t){var s,l;if(!f.isResolved){var c=null!=(s=e.retry)?s:3,d=null!=(l=e.retryDelay)?l:a,g="function"==typeof d?d(f.failureCount,t):d,m=!0===c||"number"==typeof c&&f.failureCount<c||"function"==typeof c&&c(f.failureCount,t);!h&&m?(f.failureCount++,null==e.onFail||e.onFail(f.failureCount,t),(0,o.yy)(g).then((function(){if(!r.m.isFocused()||!i.t.isOnline())return new Promise((function(t){n=t,f.isPaused=!0,null==e.onPause||e.onPause()})).then((function(){n=void 0,f.isPaused=!1,null==e.onContinue||e.onContinue()}))})).then((function(){h?p(t):u()}))):p(t)}}))}}()}},3287:(e,t,n)=>{"use strict";n.d(t,{Q:()=>r});var r=function(){function e(){this.listeners=[]}var t=e.prototype;return t.subscribe=function(e){var t=this,n=e||function(){};return this.listeners.push(n),this.onSubscribe(),function(){t.listeners=t.listeners.filter((function(e){return e!==n})),t.onUnsubscribe()}},t.hasListeners=function(){return this.listeners.length>0},t.onSubscribe=function(){},t.onUnsubscribe=function(){},e}()},6449:()=>{},941:(e,t,n)=>{"use strict";n.d(t,{BH:()=>y,Cp:()=>b,F$:()=>g,G6:()=>C,GR:()=>f,HN:()=>l,MK:()=>d,Od:()=>m,S$:()=>i,Zw:()=>a,b_:()=>h,f8:()=>w,gn:()=>s,j3:()=>u,jY:()=>E,lQ:()=>o,nJ:()=>p,vh:()=>c,yy:()=>k});var r=n(1098),i="undefined"==typeof window;function o(){}function a(e,t){return"function"==typeof e?e(t):e}function s(e){return"number"==typeof e&&e>=0&&e!==1/0}function l(e){return Array.isArray(e)?e:[e]}function u(e,t){return Math.max(e+(t||0)-Date.now(),0)}function c(e,t,n){return S(e)?"function"==typeof t?(0,r.A)({},n,{queryKey:e,queryFn:t}):(0,r.A)({},t,{queryKey:e}):e}function f(e,t,n){return S(e)?"function"==typeof t?(0,r.A)({},n,{mutationKey:e,mutationFn:t}):(0,r.A)({},t,{mutationKey:e}):"function"==typeof e?(0,r.A)({},t,{mutationFn:e}):(0,r.A)({},e)}function h(e,t,n){return S(e)?[(0,r.A)({},t,{queryKey:e}),n]:[e||{},t]}function d(e,t){var n=e.active,r=e.exact,i=e.fetching,o=e.inactive,a=e.predicate,s=e.queryKey,l=e.stale;if(S(s))if(r){if(t.queryHash!==g(s,t.options))return!1}else if(!b(t.queryKey,s))return!1;var u=function(e,t){return!0===e&&!0===t||null==e&&null==t?"all":!1===e&&!1===t?"none":(null!=e?e:!t)?"active":"inactive"}(n,o);if("none"===u)return!1;if("all"!==u){var c=t.isActive();if("active"===u&&!c)return!1;if("inactive"===u&&c)return!1}return("boolean"!=typeof l||t.isStale()===l)&&(("boolean"!=typeof i||t.isFetching()===i)&&!(a&&!a(t)))}function p(e,t){var n=e.exact,r=e.fetching,i=e.predicate,o=e.mutationKey;if(S(o)){if(!t.options.mutationKey)return!1;if(n){if(m(t.options.mutationKey)!==m(o))return!1}else if(!b(t.options.mutationKey,o))return!1}return("boolean"!=typeof r||"loading"===t.state.status===r)&&!(i&&!i(t))}function g(e,t){return((null==t?void 0:t.queryKeyHashFn)||m)(e)}function m(e){var t,n=l(e);return t=n,JSON.stringify(t,(function(e,t){return x(t)?Object.keys(t).sort().reduce((function(e,n){return e[n]=t[n],e}),{}):t}))}function b(e,t){return v(l(e),l(t))}function v(e,t){return e===t||typeof e==typeof t&&(!(!e||!t||"object"!=typeof e||"object"!=typeof t)&&!Object.keys(t).some((function(n){return!v(e[n],t[n])})))}function y(e,t){if(e===t)return e;var n=Array.isArray(e)&&Array.isArray(t);if(n||x(e)&&x(t)){for(var r=n?e.length:Object.keys(e).length,i=n?t:Object.keys(t),o=i.length,a=n?[]:{},s=0,l=0;l<o;l++){var u=n?l:i[l];a[u]=y(e[u],t[u]),a[u]===e[u]&&s++}return r===o&&s===r?e:a}return t}function w(e,t){if(e&&!t||t&&!e)return!1;for(var n in e)if(e[n]!==t[n])return!1;return!0}function x(e){if(!_(e))return!1;var t=e.constructor;if(void 0===t)return!0;var n=t.prototype;return!!_(n)&&!!n.hasOwnProperty("isPrototypeOf")}function _(e){return"[object Object]"===Object.prototype.toString.call(e)}function S(e){return"string"==typeof e||Array.isArray(e)}function k(e){return new Promise((function(t){setTimeout(t,e)}))}function C(e){Promise.resolve().then(e).catch((function(e){return setTimeout((function(){throw e}))}))}function E(){if("function"==typeof AbortController)return new AbortController}},5942:(e,t,n)=>{"use strict";n.d(t,{QueryClient:()=>r.QueryClient,QueryClientProvider:()=>i.QueryClientProvider,useMutation:()=>i.useMutation,useQuery:()=>i.useQuery,useQueryClient:()=>i.useQueryClient});var r=n(4468);n.o(r,"QueryClientProvider")&&n.d(t,{QueryClientProvider:function(){return r.QueryClientProvider}}),n.o(r,"useMutation")&&n.d(t,{useMutation:function(){return r.useMutation}}),n.o(r,"useQuery")&&n.d(t,{useQuery:function(){return r.useQuery}}),n.o(r,"useQueryClient")&&n.d(t,{useQueryClient:function(){return r.useQueryClient}});var i=n(4740)},4360:(e,t,n)=>{"use strict";n.d(t,{H:()=>l,j:()=>s});var r=n(6540),i=r.createContext(void 0),o=r.createContext(!1);function a(e){return e&&"undefined"!=typeof window?(window.ReactQueryClientContext||(window.ReactQueryClientContext=i),window.ReactQueryClientContext):i}var s=function(){var e=r.useContext(a(r.useContext(o)));if(!e)throw new Error("No QueryClient set, use QueryClientProvider to set one");return e},l=function(e){var t=e.client,n=e.contextSharing,i=void 0!==n&&n,s=e.children;r.useEffect((function(){return t.mount(),function(){t.unmount()}}),[t]);var l=a(i);return r.createElement(o.Provider,{value:i},r.createElement(l.Provider,{value:t},s))}},4740:(e,t,n)=>{"use strict";n.d(t,{QueryClientProvider:()=>s.H,useMutation:()=>l.n,useQuery:()=>C,useQueryClient:()=>s.j});var r=n(428),i=n(961).unstable_batchedUpdates;r.j.setBatchNotifyFunction(i);var o=n(9690),a=console;(0,o.B)(a);var s=n(4360),l=n(1990),u=n(1098),c=n(5566),f=n(941),h=n(1289),d=n(3287),p=n(6281),g=function(e){function t(t,n){var r;return(r=e.call(this)||this).client=t,r.options=n,r.trackedProps=[],r.selectError=null,r.bindMethods(),r.setOptions(n),r}(0,c.A)(t,e);var n=t.prototype;return n.bindMethods=function(){this.remove=this.remove.bind(this),this.refetch=this.refetch.bind(this)},n.onSubscribe=function(){1===this.listeners.length&&(this.currentQuery.addObserver(this),m(this.currentQuery,this.options)&&this.executeFetch(),this.updateTimers())},n.onUnsubscribe=function(){this.listeners.length||this.destroy()},n.shouldFetchOnReconnect=function(){return b(this.currentQuery,this.options,this.options.refetchOnReconnect)},n.shouldFetchOnWindowFocus=function(){return b(this.currentQuery,this.options,this.options.refetchOnWindowFocus)},n.destroy=function(){this.listeners=[],this.clearTimers(),this.currentQuery.removeObserver(this)},n.setOptions=function(e,t){var n=this.options,r=this.currentQuery;if(this.options=this.client.defaultQueryObserverOptions(e),void 0!==this.options.enabled&&"boolean"!=typeof this.options.enabled)throw new Error("Expected enabled to be a boolean");this.options.queryKey||(this.options.queryKey=n.queryKey),this.updateQuery();var i=this.hasListeners();i&&v(this.currentQuery,r,this.options,n)&&this.executeFetch(),this.updateResult(t),!i||this.currentQuery===r&&this.options.enabled===n.enabled&&this.options.staleTime===n.staleTime||this.updateStaleTimeout();var o=this.computeRefetchInterval();!i||this.currentQuery===r&&this.options.enabled===n.enabled&&o===this.currentRefetchInterval||this.updateRefetchInterval(o)},n.getOptimisticResult=function(e){var t=this.client.defaultQueryObserverOptions(e),n=this.client.getQueryCache().build(this.client,t);return this.createResult(n,t)},n.getCurrentResult=function(){return this.currentResult},n.trackResult=function(e,t){var n=this,r={},i=function(e){n.trackedProps.includes(e)||n.trackedProps.push(e)};return Object.keys(e).forEach((function(t){Object.defineProperty(r,t,{configurable:!1,enumerable:!0,get:function(){return i(t),e[t]}})})),(t.useErrorBoundary||t.suspense)&&i("error"),r},n.getNextResult=function(e){var t=this;return new Promise((function(n,r){var i=t.subscribe((function(t){t.isFetching||(i(),t.isError&&(null==e?void 0:e.throwOnError)?r(t.error):n(t))}))}))},n.getCurrentQuery=function(){return this.currentQuery},n.remove=function(){this.client.getQueryCache().remove(this.currentQuery)},n.refetch=function(e){return this.fetch((0,u.A)({},e,{meta:{refetchPage:null==e?void 0:e.refetchPage}}))},n.fetchOptimistic=function(e){var t=this,n=this.client.defaultQueryObserverOptions(e),r=this.client.getQueryCache().build(this.client,n);return r.fetch().then((function(){return t.createResult(r,n)}))},n.fetch=function(e){var t=this;return this.executeFetch(e).then((function(){return t.updateResult(),t.currentResult}))},n.executeFetch=function(e){this.updateQuery();var t=this.currentQuery.fetch(this.options,e);return(null==e?void 0:e.throwOnError)||(t=t.catch(f.lQ)),t},n.updateStaleTimeout=function(){var e=this;if(this.clearStaleTimeout(),!f.S$&&!this.currentResult.isStale&&(0,f.gn)(this.options.staleTime)){var t=(0,f.j3)(this.currentResult.dataUpdatedAt,this.options.staleTime)+1;this.staleTimeoutId=setTimeout((function(){e.currentResult.isStale||e.updateResult()}),t)}},n.computeRefetchInterval=function(){var e;return"function"==typeof this.options.refetchInterval?this.options.refetchInterval(this.currentResult.data,this.currentQuery):null!=(e=this.options.refetchInterval)&&e},n.updateRefetchInterval=function(e){var t=this;this.clearRefetchInterval(),this.currentRefetchInterval=e,!f.S$&&!1!==this.options.enabled&&(0,f.gn)(this.currentRefetchInterval)&&0!==this.currentRefetchInterval&&(this.refetchIntervalId=setInterval((function(){(t.options.refetchIntervalInBackground||h.m.isFocused())&&t.executeFetch()}),this.currentRefetchInterval))},n.updateTimers=function(){this.updateStaleTimeout(),this.updateRefetchInterval(this.computeRefetchInterval())},n.clearTimers=function(){this.clearStaleTimeout(),this.clearRefetchInterval()},n.clearStaleTimeout=function(){clearTimeout(this.staleTimeoutId),this.staleTimeoutId=void 0},n.clearRefetchInterval=function(){clearInterval(this.refetchIntervalId),this.refetchIntervalId=void 0},n.createResult=function(e,t){var n,r=this.currentQuery,i=this.options,a=this.currentResult,s=this.currentResultState,l=this.currentResultOptions,u=e!==r,c=u?e.state:this.currentQueryInitialState,h=u?this.currentResult:this.previousQueryResult,d=e.state,p=d.dataUpdatedAt,g=d.error,b=d.errorUpdatedAt,w=d.isFetching,x=d.status,_=!1,S=!1;if(t.optimisticResults){var k=this.hasListeners(),C=!k&&m(e,t),E=k&&v(e,r,t,i);(C||E)&&(w=!0,p||(x="loading"))}if(t.keepPreviousData&&!d.dataUpdateCount&&(null==h?void 0:h.isSuccess)&&"error"!==x)n=h.data,p=h.dataUpdatedAt,x=h.status,_=!0;else if(t.select&&void 0!==d.data)if(a&&d.data===(null==s?void 0:s.data)&&t.select===this.selectFn)n=this.selectResult;else try{this.selectFn=t.select,n=t.select(d.data),!1!==t.structuralSharing&&(n=(0,f.BH)(null==a?void 0:a.data,n)),this.selectResult=n,this.selectError=null}catch(e){(0,o.t)().error(e),this.selectError=e}else n=d.data;if(void 0!==t.placeholderData&&void 0===n&&("loading"===x||"idle"===x)){var I;if((null==a?void 0:a.isPlaceholderData)&&t.placeholderData===(null==l?void 0:l.placeholderData))I=a.data;else if(I="function"==typeof t.placeholderData?t.placeholderData():t.placeholderData,t.select&&void 0!==I)try{I=t.select(I),!1!==t.structuralSharing&&(I=(0,f.BH)(null==a?void 0:a.data,I)),this.selectError=null}catch(e){(0,o.t)().error(e),this.selectError=e}void 0!==I&&(x="success",n=I,S=!0)}return this.selectError&&(g=this.selectError,n=this.selectResult,b=Date.now(),x="error"),{status:x,isLoading:"loading"===x,isSuccess:"success"===x,isError:"error"===x,isIdle:"idle"===x,data:n,dataUpdatedAt:p,error:g,errorUpdatedAt:b,failureCount:d.fetchFailureCount,errorUpdateCount:d.errorUpdateCount,isFetched:d.dataUpdateCount>0||d.errorUpdateCount>0,isFetchedAfterMount:d.dataUpdateCount>c.dataUpdateCount||d.errorUpdateCount>c.errorUpdateCount,isFetching:w,isRefetching:w&&"loading"!==x,isLoadingError:"error"===x&&0===d.dataUpdatedAt,isPlaceholderData:S,isPreviousData:_,isRefetchError:"error"===x&&0!==d.dataUpdatedAt,isStale:y(e,t),refetch:this.refetch,remove:this.remove}},n.shouldNotifyListeners=function(e,t){if(!t)return!0;var n=this.options,r=n.notifyOnChangeProps,i=n.notifyOnChangePropsExclusions;if(!r&&!i)return!0;if("tracked"===r&&!this.trackedProps.length)return!0;var o="tracked"===r?this.trackedProps:r;return Object.keys(e).some((function(n){var r=n,a=e[r]!==t[r],s=null==o?void 0:o.some((function(e){return e===n})),l=null==i?void 0:i.some((function(e){return e===n}));return a&&!l&&(!o||s)}))},n.updateResult=function(e){var t=this.currentResult;if(this.currentResult=this.createResult(this.currentQuery,this.options),this.currentResultState=this.currentQuery.state,this.currentResultOptions=this.options,!(0,f.f8)(this.currentResult,t)){var n={cache:!0};!1!==(null==e?void 0:e.listeners)&&this.shouldNotifyListeners(this.currentResult,t)&&(n.listeners=!0),this.notify((0,u.A)({},n,e))}},n.updateQuery=function(){var e=this.client.getQueryCache().build(this.client,this.options);if(e!==this.currentQuery){var t=this.currentQuery;this.currentQuery=e,this.currentQueryInitialState=e.state,this.previousQueryResult=this.currentResult,this.hasListeners()&&(null==t||t.removeObserver(this),e.addObserver(this))}},n.onQueryUpdate=function(e){var t={};"success"===e.type?t.onSuccess=!0:"error"!==e.type||(0,p.wm)(e.error)||(t.onError=!0),this.updateResult(t),this.hasListeners()&&this.updateTimers()},n.notify=function(e){var t=this;r.j.batch((function(){e.onSuccess?(null==t.options.onSuccess||t.options.onSuccess(t.currentResult.data),null==t.options.onSettled||t.options.onSettled(t.currentResult.data,null)):e.onError&&(null==t.options.onError||t.options.onError(t.currentResult.error),null==t.options.onSettled||t.options.onSettled(void 0,t.currentResult.error)),e.listeners&&t.listeners.forEach((function(e){e(t.currentResult)})),e.cache&&t.client.getQueryCache().notify({query:t.currentQuery,type:"observerResultsUpdated"})}))},t}(d.Q);function m(e,t){return function(e,t){return!(!1===t.enabled||e.state.dataUpdatedAt||"error"===e.state.status&&!1===t.retryOnMount)}(e,t)||e.state.dataUpdatedAt>0&&b(e,t,t.refetchOnMount)}function b(e,t,n){if(!1!==t.enabled){var r="function"==typeof n?n(e):n;return"always"===r||!1!==r&&y(e,t)}return!1}function v(e,t,n,r){return!1!==n.enabled&&(e!==t||!1===r.enabled)&&(!n.suspense||"error"!==e.state.status)&&y(e,n)}function y(e,t){return e.isStaleByTime(t.staleTime)}var w=n(6540);function x(){var e=!1;return{clearReset:function(){e=!1},reset:function(){e=!0},isReset:function(){return e}}}var _=w.createContext(x()),S=n(4439);function k(e,t){var n=w.useRef(!1),i=w.useState(0)[1],o=(0,s.j)(),a=w.useContext(_),l=o.defaultQueryObserverOptions(e);l.optimisticResults=!0,l.onError&&(l.onError=r.j.batchCalls(l.onError)),l.onSuccess&&(l.onSuccess=r.j.batchCalls(l.onSuccess)),l.onSettled&&(l.onSettled=r.j.batchCalls(l.onSettled)),l.suspense&&("number"!=typeof l.staleTime&&(l.staleTime=1e3),0===l.cacheTime&&(l.cacheTime=1)),(l.suspense||l.useErrorBoundary)&&(a.isReset()||(l.retryOnMount=!1));var u=w.useState((function(){return new t(o,l)}))[0],c=u.getOptimisticResult(l);if(w.useEffect((function(){n.current=!0,a.clearReset();var e=u.subscribe(r.j.batchCalls((function(){n.current&&i((function(e){return e+1}))})));return u.updateResult(),function(){n.current=!1,e()}}),[a,u]),w.useEffect((function(){u.setOptions(l,{listeners:!1})}),[l,u]),l.suspense&&c.isLoading)throw u.fetchOptimistic(l).then((function(e){var t=e.data;null==l.onSuccess||l.onSuccess(t),null==l.onSettled||l.onSettled(t,null)})).catch((function(e){a.clearReset(),null==l.onError||l.onError(e),null==l.onSettled||l.onSettled(void 0,e)}));if(c.isError&&!a.isReset()&&!c.isFetching&&(0,S.G)(l.suspense,l.useErrorBoundary,[c.error,u.getCurrentQuery()]))throw c.error;return"tracked"===l.notifyOnChangeProps&&(c=u.trackResult(c,l)),c}function C(e,t,n){return k((0,f.vh)(e,t,n),g)}},1990:(e,t,n)=>{"use strict";n.d(t,{n:()=>h});var r=n(1098),i=n(6540),o=n(428),a=n(941),s=n(5566),l=n(3465),u=function(e){function t(t,n){var r;return(r=e.call(this)||this).client=t,r.setOptions(n),r.bindMethods(),r.updateResult(),r}(0,s.A)(t,e);var n=t.prototype;return n.bindMethods=function(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)},n.setOptions=function(e){this.options=this.client.defaultMutationOptions(e)},n.onUnsubscribe=function(){var e;this.listeners.length||(null==(e=this.currentMutation)||e.removeObserver(this))},n.onMutationUpdate=function(e){this.updateResult();var t={listeners:!0};"success"===e.type?t.onSuccess=!0:"error"===e.type&&(t.onError=!0),this.notify(t)},n.getCurrentResult=function(){return this.currentResult},n.reset=function(){this.currentMutation=void 0,this.updateResult(),this.notify({listeners:!0})},n.mutate=function(e,t){return this.mutateOptions=t,this.currentMutation&&this.currentMutation.removeObserver(this),this.currentMutation=this.client.getMutationCache().build(this.client,(0,r.A)({},this.options,{variables:void 0!==e?e:this.options.variables})),this.currentMutation.addObserver(this),this.currentMutation.execute()},n.updateResult=function(){var e=this.currentMutation?this.currentMutation.state:(0,l.$)(),t=(0,r.A)({},e,{isLoading:"loading"===e.status,isSuccess:"success"===e.status,isError:"error"===e.status,isIdle:"idle"===e.status,mutate:this.mutate,reset:this.reset});this.currentResult=t},n.notify=function(e){var t=this;o.j.batch((function(){t.mutateOptions&&(e.onSuccess?(null==t.mutateOptions.onSuccess||t.mutateOptions.onSuccess(t.currentResult.data,t.currentResult.variables,t.currentResult.context),null==t.mutateOptions.onSettled||t.mutateOptions.onSettled(t.currentResult.data,null,t.currentResult.variables,t.currentResult.context)):e.onError&&(null==t.mutateOptions.onError||t.mutateOptions.onError(t.currentResult.error,t.currentResult.variables,t.currentResult.context),null==t.mutateOptions.onSettled||t.mutateOptions.onSettled(void 0,t.currentResult.error,t.currentResult.variables,t.currentResult.context))),e.listeners&&t.listeners.forEach((function(e){e(t.currentResult)}))}))},t}(n(3287).Q),c=n(4360),f=n(4439);function h(e,t,n){var s=i.useRef(!1),l=i.useState(0)[1],h=(0,a.GR)(e,t,n),d=(0,c.j)(),p=i.useRef();p.current?p.current.setOptions(h):p.current=new u(d,h);var g=p.current.getCurrentResult();i.useEffect((function(){s.current=!0;var e=p.current.subscribe(o.j.batchCalls((function(){s.current&&l((function(e){return e+1}))})));return function(){s.current=!1,e()}}),[]);var m=i.useCallback((function(e,t){p.current.mutate(e,t).catch(a.lQ)}),[]);if(g.error&&(0,f.G)(void 0,p.current.options.useErrorBoundary,[g.error]))throw g.error;return(0,r.A)({},g,{mutate:m,mutateAsync:g.mutate})}},4439:(e,t,n)=>{"use strict";function r(e,t,n){return"function"==typeof t?t.apply(void 0,n):"boolean"==typeof t?t:!!e}n.d(t,{G:()=>r})},8829:function(e,t,n){!function(e,t){"use strict";function n(e,t,n,r,i,o,a){try{var s=e[o](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,i)}function r(e){return function(){var t=this,r=arguments;return new Promise((function(i,o){var a=e.apply(t,r);function s(e){n(a,i,o,s,l,"next",e)}function l(e){n(a,i,o,s,l,"throw",e)}s(void 0)}))}}function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function o(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}function a(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}t=t&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t;var s={init:"init"},l=function(e){var t=e.value;return void 0===t?"":t},u=function(){return t.createElement(t.Fragment,null," ")},c={Cell:l,width:150,minWidth:0,maxWidth:Number.MAX_SAFE_INTEGER};function f(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.reduce((function(e,t){var n=t.style,r=t.className;return e=i({},e,{},o(t,["style","className"])),n&&(e.style=e.style?i({},e.style||{},{},n||{}):n),r&&(e.className=e.className?e.className+" "+r:r),""===e.className&&delete e.className,e}),{})}var h=function(e,t){return void 0===t&&(t={}),function(n){return void 0===n&&(n={}),[].concat(e,[n]).reduce((function(e,r){return function e(t,n,r){return"function"==typeof n?e({},n(t,r)):Array.isArray(n)?f.apply(void 0,[t].concat(n)):f(t,n)}(e,r,i({},t,{userProps:n}))}),{})}},d=function(e,t,n,r){return void 0===n&&(n={}),e.reduce((function(e,t){return t(e,n)}),t)},p=function(e,t,n){return void 0===n&&(n={}),e.forEach((function(e){e(t,n)}))};function g(e,t,n,r){e.findIndex((function(e){return e.pluginName===n})),t.forEach((function(t){e.findIndex((function(e){return e.pluginName===t}))}))}function m(e,t){return"function"==typeof e?e(t):e}function b(e){var n=t.useRef();return n.current=e,t.useCallback((function(){return n.current}),[])}var v="undefined"!=typeof document?t.useLayoutEffect:t.useEffect;function y(e,n){var r=t.useRef(!1);v((function(){r.current&&e(),r.current=!0}),n)}function w(e,t,n){return void 0===n&&(n={}),function(r,o){void 0===o&&(o={});var a="string"==typeof r?t[r]:r;if(void 0===a)throw console.info(t),new Error("Renderer Error ☝️");return x(a,i({},e,{column:t},n,{},o))}}function x(e,n){return function(e){return"function"==typeof e&&(t=Object.getPrototypeOf(e)).prototype&&t.prototype.isReactComponent;var t}(r=e)||"function"==typeof r||function(e){return"object"==typeof e&&"symbol"==typeof e.$$typeof&&["react.memo","react.forward_ref"].includes(e.$$typeof.description)}(r)?t.createElement(e,n):e;var r}function _(e,t,n){return void 0===n&&(n=0),e.map((function(e){return k(e=i({},e,{parent:t,depth:n})),e.columns&&(e.columns=_(e.columns,e,n+1)),e}))}function S(e){return A(e,"columns")}function k(e){var t=e.id,n=e.accessor,r=e.Header;if("string"==typeof n){t=t||n;var i=n.split(".");n=function(e){return function(e,t,n){if(!t)return e;var r,i="function"==typeof t?t:JSON.stringify(t),o=I.get(i)||function(){var e=function(e){return function e(t,n){if(void 0===n&&(n=[]),Array.isArray(t))for(var r=0;r<t.length;r+=1)e(t[r],n);else n.push(t);return n}(e).map((function(e){return String(e).replace(".","_")})).join(".").replace(N,".").replace(j,"").split(".")}(t);return I.set(i,e),e}();try{r=o.reduce((function(e,t){return e[t]}),e)}catch(e){}return void 0!==r?r:n}(e,i)}}if(!t&&"string"==typeof r&&r&&(t=r),!t&&e.columns)throw console.error(e),new Error('A column ID (or unique "Header" value) is required!');if(!t)throw console.error(e),new Error("A column ID (or string accessor) is required!");return Object.assign(e,{id:t,accessor:n}),e}function C(e,t){if(!t)throw new Error;return Object.assign(e,i({Header:u,Footer:u},c,{},t,{},e)),Object.assign(e,{originalWidth:e.width}),e}function E(e,t,n){void 0===n&&(n=function(){return{}});for(var r=[],o=e,a=0,s=function(){return a++},l=function(){var e={headers:[]},a=[],l=o.some((function(e){return e.parent}));o.forEach((function(r){var o,u=[].concat(a).reverse()[0];l&&(o=r.parent?i({},r.parent,{originalId:r.parent.id,id:r.parent.id+"_"+s(),headers:[r]},n(r)):C(i({originalId:r.id+"_placeholder",id:r.id+"_placeholder_"+s(),placeholderOf:r,headers:[r]},n(r)),t),u&&u.originalId===o.originalId?u.headers.push(r):a.push(o)),e.headers.push(r)})),r.push(e),o=a};o.length;)l();return r.reverse()}var I=new Map;function M(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];for(var r=0;r<t.length;r+=1)if(void 0!==t[r])return t[r]}function T(e){if("function"==typeof e)return e}function A(e,t){var n=[];return function e(r){r.forEach((function(r){r[t]?e(r[t]):n.push(r)}))}(e),n}function P(e,t){var n=t.manualExpandedKey,r=t.expanded,i=t.expandSubRows,o=void 0===i||i,a=[];return e.forEach((function(e){return function e(t,i){void 0===i&&(i=!0),t.isExpanded=t.original&&t.original[n]||r[t.id],t.canExpand=t.subRows&&!!t.subRows.length,i&&a.push(t),t.subRows&&t.subRows.length&&t.isExpanded&&t.subRows.forEach((function(t){return e(t,o)}))}(e)})),a}function O(e,t,n){return T(e)||t[e]||n[e]||n.text}function D(e,t,n){return e?e(t,n):void 0===t}function R(){throw new Error("React-Table: You have not called prepareRow(row) one or more rows you are attempting to render.")}var L=null,N=/\[/g,j=/\]/g,F=function(e){return i({role:"table"},e)},z=function(e){return i({role:"rowgroup"},e)},B=function(e,t){var n=t.column;return i({key:"header_"+n.id,colSpan:n.totalVisibleHeaderCount,role:"columnheader"},e)},V=function(e,t){var n=t.column;return i({key:"footer_"+n.id,colSpan:n.totalVisibleHeaderCount},e)},$=function(e,t){return i({key:"headerGroup_"+t.index,role:"row"},e)},H=function(e,t){return i({key:"footerGroup_"+t.index},e)},G=function(e,t){return i({key:"row_"+t.row.id,role:"row"},e)},W=function(e,t){var n=t.cell;return i({key:"cell_"+n.row.id+"_"+n.column.id,role:"cell"},e)};function U(){return{useOptions:[],stateReducers:[],useControlledState:[],columns:[],columnsDeps:[],allColumns:[],allColumnsDeps:[],accessValue:[],materializedColumns:[],materializedColumnsDeps:[],useInstanceAfterData:[],visibleColumns:[],visibleColumnsDeps:[],headerGroups:[],headerGroupsDeps:[],useInstanceBeforeDimensions:[],useInstance:[],prepareRow:[],getTableProps:[F],getTableBodyProps:[z],getHeaderGroupProps:[$],getFooterGroupProps:[H],getHeaderProps:[B],getFooterProps:[V],getRowProps:[G],getCellProps:[W],useFinalInstance:[]}}s.resetHiddenColumns="resetHiddenColumns",s.toggleHideColumn="toggleHideColumn",s.setHiddenColumns="setHiddenColumns",s.toggleHideAllColumns="toggleHideAllColumns";var q=function(e){e.getToggleHiddenProps=[X],e.getToggleHideAllColumnsProps=[Y],e.stateReducers.push(K),e.useInstanceBeforeDimensions.push(Z),e.headerGroupsDeps.push((function(e,t){var n=t.instance;return[].concat(e,[n.state.hiddenColumns])})),e.useInstance.push(Q)};q.pluginName="useColumnVisibility";var X=function(e,t){var n=t.column;return[e,{onChange:function(e){n.toggleHidden(!e.target.checked)},style:{cursor:"pointer"},checked:n.isVisible,title:"Toggle Column Visible"}]},Y=function(e,t){var n=t.instance;return[e,{onChange:function(e){n.toggleHideAllColumns(!e.target.checked)},style:{cursor:"pointer"},checked:!n.allColumnsHidden&&!n.state.hiddenColumns.length,title:"Toggle All Columns Hidden",indeterminate:!n.allColumnsHidden&&n.state.hiddenColumns.length}]};function K(e,t,n,r){if(t.type===s.init)return i({hiddenColumns:[]},e);if(t.type===s.resetHiddenColumns)return i({},e,{hiddenColumns:r.initialState.hiddenColumns||[]});if(t.type===s.toggleHideColumn){var o=(void 0!==t.value?t.value:!e.hiddenColumns.includes(t.columnId))?[].concat(e.hiddenColumns,[t.columnId]):e.hiddenColumns.filter((function(e){return e!==t.columnId}));return i({},e,{hiddenColumns:o})}return t.type===s.setHiddenColumns?i({},e,{hiddenColumns:m(t.value,e.hiddenColumns)}):t.type===s.toggleHideAllColumns?i({},e,{hiddenColumns:(void 0!==t.value?t.value:!e.hiddenColumns.length)?r.allColumns.map((function(e){return e.id})):[]}):void 0}function Z(e){var n=e.headers,r=e.state.hiddenColumns;t.useRef(!1).current;var i=0;n.forEach((function(e){return i+=function e(t,n){t.isVisible=n&&!r.includes(t.id);var i=0;return t.headers&&t.headers.length?t.headers.forEach((function(n){return i+=e(n,t.isVisible)})):i=t.isVisible?1:0,t.totalVisibleHeaderCount=i,i}(e,!0)}))}function Q(e){var n=e.columns,r=e.flatHeaders,i=e.dispatch,o=e.allColumns,a=e.getHooks,l=e.state.hiddenColumns,u=e.autoResetHiddenColumns,c=void 0===u||u,f=b(e),d=o.length===l.length,p=t.useCallback((function(e,t){return i({type:s.toggleHideColumn,columnId:e,value:t})}),[i]),g=t.useCallback((function(e){return i({type:s.setHiddenColumns,value:e})}),[i]),m=t.useCallback((function(e){return i({type:s.toggleHideAllColumns,value:e})}),[i]),v=h(a().getToggleHideAllColumnsProps,{instance:f()});r.forEach((function(e){e.toggleHidden=function(t){i({type:s.toggleHideColumn,columnId:e.id,value:t})},e.getToggleHiddenProps=h(a().getToggleHiddenProps,{instance:f(),column:e})}));var w=b(c);y((function(){w()&&i({type:s.resetHiddenColumns})}),[i,n]),Object.assign(e,{allColumnsHidden:d,toggleHideColumn:p,setHiddenColumns:g,toggleHideAllColumns:m,getToggleHideAllColumnsProps:v})}var J={},ee={},te=function(e,t,n){return e},ne=function(e,t){return e.subRows||[]},re=function(e,t,n){return""+(n?[n.id,t].join("."):t)},ie=function(e){return e};function oe(e){var t=e.initialState,n=void 0===t?J:t,r=e.defaultColumn,a=void 0===r?ee:r,s=e.getSubRows,l=void 0===s?ne:s,u=e.getRowId,c=void 0===u?re:u,f=e.stateReducer,h=void 0===f?te:f,d=e.useControlledState,p=void 0===d?ie:d;return i({},o(e,["initialState","defaultColumn","getSubRows","getRowId","stateReducer","useControlledState"]),{initialState:n,defaultColumn:a,getSubRows:l,getRowId:c,stateReducer:h,useControlledState:p})}function ae(e,t){void 0===t&&(t=0);var n=0,r=0,i=0,o=0;return e.forEach((function(e){var a=e.headers;if(e.totalLeft=t,a&&a.length){var s=ae(a,t),l=s[0],u=s[1],c=s[2],f=s[3];e.totalMinWidth=l,e.totalWidth=u,e.totalMaxWidth=c,e.totalFlexWidth=f}else e.totalMinWidth=e.minWidth,e.totalWidth=Math.min(Math.max(e.minWidth,e.width),e.maxWidth),e.totalMaxWidth=e.maxWidth,e.totalFlexWidth=e.canResize?e.totalWidth:0;e.isVisible&&(t+=e.totalWidth,n+=e.totalMinWidth,r+=e.totalWidth,i+=e.totalMaxWidth,o+=e.totalFlexWidth)})),[n,r,i,o]}function se(e){var t=e.data,n=e.rows,r=e.flatRows,i=e.rowsById,o=e.column,a=e.getRowId,s=e.getSubRows,l=e.accessValueHooks,u=e.getInstance;t.forEach((function(e,c){return function e(n,c,f,h,p){void 0===f&&(f=0);var g=n,m=a(n,c,h),b=i[m];if(b)b.subRows&&b.originalSubRows.forEach((function(t,n){return e(t,n,f+1,b)}));else if((b={id:m,original:g,index:c,depth:f,cells:[{}]}).cells.map=R,b.cells.filter=R,b.cells.forEach=R,b.cells[0].getCellProps=R,b.values={},p.push(b),r.push(b),i[m]=b,b.originalSubRows=s(n,c),b.originalSubRows){var v=[];b.originalSubRows.forEach((function(t,n){return e(t,n,f+1,b,v)})),b.subRows=v}o.accessor&&(b.values[o.id]=o.accessor(n,c,b,p,t)),b.values[o.id]=d(l,b.values[o.id],{row:b,column:o,instance:u()})}(e,c,0,void 0,n)}))}s.resetExpanded="resetExpanded",s.toggleRowExpanded="toggleRowExpanded",s.toggleAllRowsExpanded="toggleAllRowsExpanded";var le=function(e){e.getToggleAllRowsExpandedProps=[ue],e.getToggleRowExpandedProps=[ce],e.stateReducers.push(fe),e.useInstance.push(he),e.prepareRow.push(de)};le.pluginName="useExpanded";var ue=function(e,t){var n=t.instance;return[e,{onClick:function(e){n.toggleAllRowsExpanded()},style:{cursor:"pointer"},title:"Toggle All Rows Expanded"}]},ce=function(e,t){var n=t.row;return[e,{onClick:function(){n.toggleRowExpanded()},style:{cursor:"pointer"},title:"Toggle Row Expanded"}]};function fe(e,t,n,r){if(t.type===s.init)return i({expanded:{}},e);if(t.type===s.resetExpanded)return i({},e,{expanded:r.initialState.expanded||{}});if(t.type===s.toggleAllRowsExpanded){var l=t.value,u=r.rowsById,c=Object.keys(u).length===Object.keys(e.expanded).length;if(void 0!==l?l:!c){var f={};return Object.keys(u).forEach((function(e){f[e]=!0})),i({},e,{expanded:f})}return i({},e,{expanded:{}})}if(t.type===s.toggleRowExpanded){var h,d=t.id,p=t.value,g=e.expanded[d],m=void 0!==p?p:!g;if(!g&&m)return i({},e,{expanded:i({},e.expanded,(h={},h[d]=!0,h))});if(g&&!m){var b=e.expanded;return b[d],i({},e,{expanded:o(b,[d].map(a))})}return e}}function he(e){var n=e.data,r=e.rows,i=e.rowsById,o=e.manualExpandedKey,a=void 0===o?"expanded":o,l=e.paginateExpandedRows,u=void 0===l||l,c=e.expandSubRows,f=void 0===c||c,d=e.autoResetExpanded,p=void 0===d||d,m=e.getHooks,v=e.plugins,w=e.state.expanded,x=e.dispatch;g(v,["useSortBy","useGroupBy","usePivotColumns","useGlobalFilter"],"useExpanded");var _=b(p),S=Boolean(Object.keys(i).length&&Object.keys(w).length);S&&Object.keys(i).some((function(e){return!w[e]}))&&(S=!1),y((function(){_()&&x({type:s.resetExpanded})}),[x,n]);var k=t.useCallback((function(e,t){x({type:s.toggleRowExpanded,id:e,value:t})}),[x]),C=t.useCallback((function(e){return x({type:s.toggleAllRowsExpanded,value:e})}),[x]),E=t.useMemo((function(){return u?P(r,{manualExpandedKey:a,expanded:w,expandSubRows:f}):r}),[u,r,a,w,f]),I=t.useMemo((function(){return function(e){var t=0;return Object.keys(e).forEach((function(e){var n=e.split(".");t=Math.max(t,n.length)})),t}(w)}),[w]),M=b(e),T=h(m().getToggleAllRowsExpandedProps,{instance:M()});Object.assign(e,{preExpandedRows:r,expandedRows:E,rows:E,expandedDepth:I,isAllRowsExpanded:S,toggleRowExpanded:k,toggleAllRowsExpanded:C,getToggleAllRowsExpandedProps:T})}function de(e,t){var n=t.instance.getHooks,r=t.instance;e.toggleRowExpanded=function(t){return r.toggleRowExpanded(e.id,t)},e.getToggleRowExpandedProps=h(n().getToggleRowExpandedProps,{instance:r,row:e})}var pe=function(e,t,n){return e.filter((function(e){return t.some((function(t){var r=e.values[t];return String(r).toLowerCase().includes(String(n).toLowerCase())}))}))};pe.autoRemove=function(e){return!e};var ge=function(e,t,n){return e.filter((function(e){return t.some((function(t){var r=e.values[t];return void 0===r||String(r).toLowerCase()===String(n).toLowerCase()}))}))};ge.autoRemove=function(e){return!e};var me=function(e,t,n){return e.filter((function(e){return t.some((function(t){var r=e.values[t];return void 0===r||String(r)===String(n)}))}))};me.autoRemove=function(e){return!e};var be=function(e,t,n){return e.filter((function(e){return t.some((function(t){return e.values[t].includes(n)}))}))};be.autoRemove=function(e){return!e||!e.length};var ve=function(e,t,n){return e.filter((function(e){return t.some((function(t){var r=e.values[t];return r&&r.length&&n.every((function(e){return r.includes(e)}))}))}))};ve.autoRemove=function(e){return!e||!e.length};var ye=function(e,t,n){return e.filter((function(e){return t.some((function(t){var r=e.values[t];return r&&r.length&&n.some((function(e){return r.includes(e)}))}))}))};ye.autoRemove=function(e){return!e||!e.length};var we=function(e,t,n){return e.filter((function(e){return t.some((function(t){var r=e.values[t];return n.includes(r)}))}))};we.autoRemove=function(e){return!e||!e.length};var xe=function(e,t,n){return e.filter((function(e){return t.some((function(t){return e.values[t]===n}))}))};xe.autoRemove=function(e){return void 0===e};var _e=function(e,t,n){return e.filter((function(e){return t.some((function(t){return e.values[t]==n}))}))};_e.autoRemove=function(e){return null==e};var Se=function(e,t,n){var r=n||[],i=r[0],o=r[1];if((i="number"==typeof i?i:-1/0)>(o="number"==typeof o?o:1/0)){var a=i;i=o,o=a}return e.filter((function(e){return t.some((function(t){var n=e.values[t];return n>=i&&n<=o}))}))};Se.autoRemove=function(e){return!e||"number"!=typeof e[0]&&"number"!=typeof e[1]};var ke=Object.freeze({__proto__:null,text:pe,exactText:ge,exactTextCase:me,includes:be,includesAll:ve,includesSome:ye,includesValue:we,exact:xe,equals:_e,between:Se});s.resetFilters="resetFilters",s.setFilter="setFilter",s.setAllFilters="setAllFilters";var Ce=function(e){e.stateReducers.push(Ee),e.useInstance.push(Ie)};function Ee(e,t,n,r){if(t.type===s.init)return i({filters:[]},e);if(t.type===s.resetFilters)return i({},e,{filters:r.initialState.filters||[]});if(t.type===s.setFilter){var o=t.columnId,a=t.filterValue,l=r.allColumns,u=r.filterTypes,c=l.find((function(e){return e.id===o}));if(!c)throw new Error("React-Table: Could not find a column with id: "+o);var f=O(c.filter,u||{},ke),h=e.filters.find((function(e){return e.id===o})),d=m(a,h&&h.value);return D(f.autoRemove,d,c)?i({},e,{filters:e.filters.filter((function(e){return e.id!==o}))}):i({},e,h?{filters:e.filters.map((function(e){return e.id===o?{id:o,value:d}:e}))}:{filters:[].concat(e.filters,[{id:o,value:d}])})}if(t.type===s.setAllFilters){var p=t.filters,g=r.allColumns,b=r.filterTypes;return i({},e,{filters:m(p,e.filters).filter((function(e){var t=g.find((function(t){return t.id===e.id}));return!D(O(t.filter,b||{},ke).autoRemove,e.value,t)}))})}}function Ie(e){var n=e.data,r=e.rows,i=e.flatRows,o=e.rowsById,a=e.allColumns,l=e.filterTypes,u=e.manualFilters,c=e.defaultCanFilter,f=void 0!==c&&c,h=e.disableFilters,d=e.state.filters,p=e.dispatch,g=e.autoResetFilters,m=void 0===g||g,v=t.useCallback((function(e,t){p({type:s.setFilter,columnId:e,filterValue:t})}),[p]),w=t.useCallback((function(e){p({type:s.setAllFilters,filters:e})}),[p]);a.forEach((function(e){var t=e.id,n=e.accessor,r=e.defaultCanFilter,i=e.disableFilters;e.canFilter=n?M(!0!==i&&void 0,!0!==h&&void 0,!0):M(r,f,!1),e.setFilter=function(t){return v(e.id,t)};var o=d.find((function(e){return e.id===t}));e.filterValue=o&&o.value}));var x=t.useMemo((function(){if(u||!d.length)return[r,i,o];var e=[],t={};return[function n(r,i){void 0===i&&(i=0);var o=r;return(o=d.reduce((function(e,t){var n=t.id,r=t.value,o=a.find((function(e){return e.id===n}));if(!o)return e;0===i&&(o.preFilteredRows=e);var s=O(o.filter,l||{},ke);return s?(o.filteredRows=s(e,[n],r),o.filteredRows):(console.warn("Could not find a valid 'column.filter' for column with the ID: "+o.id+"."),e)}),r)).forEach((function(r){e.push(r),t[r.id]=r,r.subRows&&(r.subRows=r.subRows&&r.subRows.length>0?n(r.subRows,i+1):r.subRows)})),o}(r),e,t]}),[u,d,r,i,o,a,l]),_=x[0],S=x[1],k=x[2];t.useMemo((function(){a.filter((function(e){return!d.find((function(t){return t.id===e.id}))})).forEach((function(e){e.preFilteredRows=_,e.filteredRows=_}))}),[_,d,a]);var C=b(m);y((function(){C()&&p({type:s.resetFilters})}),[p,u?null:n]),Object.assign(e,{preFilteredRows:r,preFilteredFlatRows:i,preFilteredRowsById:o,filteredRows:_,filteredFlatRows:S,filteredRowsById:k,rows:_,flatRows:S,rowsById:k,setFilter:v,setAllFilters:w})}Ce.pluginName="useFilters",s.resetGlobalFilter="resetGlobalFilter",s.setGlobalFilter="setGlobalFilter";var Me=function(e){e.stateReducers.push(Te),e.useInstance.push(Ae)};function Te(e,t,n,r){if(t.type===s.resetGlobalFilter)return i({},e,{globalFilter:r.initialState.globalFilter||void 0});if(t.type===s.setGlobalFilter){var a=t.filterValue,l=r.userFilterTypes,u=O(r.globalFilter,l||{},ke),c=m(a,e.globalFilter);return D(u.autoRemove,c)?(e.globalFilter,o(e,["globalFilter"])):i({},e,{globalFilter:c})}}function Ae(e){var n=e.data,r=e.rows,i=e.flatRows,o=e.rowsById,a=e.allColumns,l=e.filterTypes,u=e.globalFilter,c=e.manualGlobalFilter,f=e.state.globalFilter,h=e.dispatch,d=e.autoResetGlobalFilter,p=void 0===d||d,g=e.disableGlobalFilter,m=t.useCallback((function(e){h({type:s.setGlobalFilter,filterValue:e})}),[h]),v=t.useMemo((function(){if(c||void 0===f)return[r,i,o];var e=[],t={},n=O(u,l||{},ke);if(!n)return console.warn("Could not find a valid 'globalFilter' option."),r;a.forEach((function(e){var t=e.disableGlobalFilter;e.canFilter=M(!0!==t&&void 0,!0!==g&&void 0,!0)}));var s=a.filter((function(e){return!0===e.canFilter}));return[function r(i){return(i=n(i,s.map((function(e){return e.id})),f)).forEach((function(n){e.push(n),t[n.id]=n,n.subRows=n.subRows&&n.subRows.length?r(n.subRows):n.subRows})),i}(r),e,t]}),[c,f,u,l,a,r,i,o,g]),w=v[0],x=v[1],_=v[2],S=b(p);y((function(){S()&&h({type:s.resetGlobalFilter})}),[h,c?null:n]),Object.assign(e,{preGlobalFilteredRows:r,preGlobalFilteredFlatRows:i,preGlobalFilteredRowsById:o,globalFilteredRows:w,globalFilteredFlatRows:x,globalFilteredRowsById:_,rows:w,flatRows:x,rowsById:_,setGlobalFilter:m,disableGlobalFilter:g})}function Pe(e,t){return t.reduce((function(e,t){return e+("number"==typeof t?t:0)}),0)}Me.pluginName="useGlobalFilter";var Oe=Object.freeze({__proto__:null,sum:Pe,min:function(e){var t=e[0]||0;return e.forEach((function(e){"number"==typeof e&&(t=Math.min(t,e))})),t},max:function(e){var t=e[0]||0;return e.forEach((function(e){"number"==typeof e&&(t=Math.max(t,e))})),t},minMax:function(e){var t=e[0]||0,n=e[0]||0;return e.forEach((function(e){"number"==typeof e&&(t=Math.min(t,e),n=Math.max(n,e))})),t+".."+n},average:function(e){return Pe(0,e)/e.length},median:function(e){if(!e.length)return null;var t=Math.floor(e.length/2),n=[].concat(e).sort((function(e,t){return e-t}));return e.length%2!=0?n[t]:(n[t-1]+n[t])/2},unique:function(e){return Array.from(new Set(e).values())},uniqueCount:function(e){return new Set(e).size},count:function(e){return e.length}}),De=[],Re={};s.resetGroupBy="resetGroupBy",s.setGroupBy="setGroupBy",s.toggleGroupBy="toggleGroupBy";var Le=function(e){e.getGroupByToggleProps=[Ne],e.stateReducers.push(je),e.visibleColumnsDeps.push((function(e,t){var n=t.instance;return[].concat(e,[n.state.groupBy])})),e.visibleColumns.push(Fe),e.useInstance.push(Be),e.prepareRow.push(Ve)};Le.pluginName="useGroupBy";var Ne=function(e,t){var n=t.header;return[e,{onClick:n.canGroupBy?function(e){e.persist(),n.toggleGroupBy()}:void 0,style:{cursor:n.canGroupBy?"pointer":void 0},title:"Toggle GroupBy"}]};function je(e,t,n,r){if(t.type===s.init)return i({groupBy:[]},e);if(t.type===s.resetGroupBy)return i({},e,{groupBy:r.initialState.groupBy||[]});if(t.type===s.setGroupBy)return i({},e,{groupBy:t.value});if(t.type===s.toggleGroupBy){var o=t.columnId,a=t.value,l=void 0!==a?a:!e.groupBy.includes(o);return i({},e,l?{groupBy:[].concat(e.groupBy,[o])}:{groupBy:e.groupBy.filter((function(e){return e!==o}))})}}function Fe(e,t){var n=t.instance.state.groupBy,r=n.map((function(t){return e.find((function(e){return e.id===t}))})).filter(Boolean),i=e.filter((function(e){return!n.includes(e.id)}));return(e=[].concat(r,i)).forEach((function(e){e.isGrouped=n.includes(e.id),e.groupedIndex=n.indexOf(e.id)})),e}var ze={};function Be(e){var n=e.data,r=e.rows,o=e.flatRows,a=e.rowsById,l=e.allColumns,u=e.flatHeaders,c=e.groupByFn,f=void 0===c?$e:c,d=e.manualGroupBy,p=e.aggregations,m=void 0===p?ze:p,v=e.plugins,w=e.state.groupBy,x=e.dispatch,_=e.autoResetGroupBy,S=void 0===_||_,k=e.disableGroupBy,C=e.defaultCanGroupBy,E=e.getHooks;g(v,["useColumnOrder","useFilters"],"useGroupBy");var I=b(e);l.forEach((function(t){var n=t.accessor,r=t.defaultGroupBy,i=t.disableGroupBy;t.canGroupBy=n?M(t.canGroupBy,!0!==i&&void 0,!0!==k&&void 0,!0):M(t.canGroupBy,r,C,!1),t.canGroupBy&&(t.toggleGroupBy=function(){return e.toggleGroupBy(t.id)}),t.Aggregated=t.Aggregated||t.Cell}));var T=t.useCallback((function(e,t){x({type:s.toggleGroupBy,columnId:e,value:t})}),[x]),P=t.useCallback((function(e){x({type:s.setGroupBy,value:e})}),[x]);u.forEach((function(e){e.getGroupByToggleProps=h(E().getGroupByToggleProps,{instance:I(),header:e})}));var O=t.useMemo((function(){if(d||!w.length)return[r,o,a,De,Re,o,a];var e=w.filter((function(e){return l.find((function(t){return t.id===e}))})),t=[],n={},s=[],u={},c=[],h={},p=function r(o,a,d){if(void 0===a&&(a=0),a===e.length)return o.map((function(e){return i({},e,{depth:a})}));var p=e[a],g=f(o,p);return Object.entries(g).map((function(i,o){var f=i[0],g=i[1],b=p+":"+f,v=r(g,a+1,b=d?d+">"+b:b),y=a?A(g,"leafRows"):g,w=function(t,n,r){var i={};return l.forEach((function(o){if(e.includes(o.id))i[o.id]=n[0]?n[0].values[o.id]:null;else{var a="function"==typeof o.aggregate?o.aggregate:m[o.aggregate]||Oe[o.aggregate];if(a){var s=n.map((function(e){return e.values[o.id]})),l=t.map((function(e){var t=e.values[o.id];if(!r&&o.aggregateValue){var n="function"==typeof o.aggregateValue?o.aggregateValue:m[o.aggregateValue]||Oe[o.aggregateValue];if(!n)throw console.info({column:o}),new Error("React Table: Invalid column.aggregateValue option for column listed above");t=n(t,e,o)}return t}));i[o.id]=a(l,s)}else{if(o.aggregate)throw console.info({column:o}),new Error("React Table: Invalid column.aggregate option for column listed above");i[o.id]=null}}})),i}(y,g,a),x={id:b,isGrouped:!0,groupByID:p,groupByVal:f,values:w,subRows:v,leafRows:y,depth:a,index:o};return v.forEach((function(e){t.push(e),n[e.id]=e,e.isGrouped?(s.push(e),u[e.id]=e):(c.push(e),h[e.id]=e)})),x}))}(r);return p.forEach((function(e){t.push(e),n[e.id]=e,e.isGrouped?(s.push(e),u[e.id]=e):(c.push(e),h[e.id]=e)})),[p,t,n,s,u,c,h]}),[d,w,r,o,a,l,m,f]),D=O[0],R=O[1],L=O[2],N=O[3],j=O[4],F=O[5],z=O[6],B=b(S);y((function(){B()&&x({type:s.resetGroupBy})}),[x,d?null:n]),Object.assign(e,{preGroupedRows:r,preGroupedFlatRow:o,preGroupedRowsById:a,groupedRows:D,groupedFlatRows:R,groupedRowsById:L,onlyGroupedFlatRows:N,onlyGroupedRowsById:j,nonGroupedFlatRows:F,nonGroupedRowsById:z,rows:D,flatRows:R,rowsById:L,toggleGroupBy:T,setGroupBy:P})}function Ve(e){e.allCells.forEach((function(t){var n;t.isGrouped=t.column.isGrouped&&t.column.id===e.groupByID,t.isPlaceholder=!t.isGrouped&&t.column.isGrouped,t.isAggregated=!t.isGrouped&&!t.isPlaceholder&&(null==(n=e.subRows)?void 0:n.length)}))}function $e(e,t){return e.reduce((function(e,n,r){var i=""+n.values[t];return e[i]=Array.isArray(e[i])?e[i]:[],e[i].push(n),e}),{})}var He=/([0-9]+)/gm;function Ge(e,t){return e===t?0:e>t?1:-1}function We(e,t,n){return[e.values[n],t.values[n]]}function Ue(e){return"number"==typeof e?isNaN(e)||e===1/0||e===-1/0?"":String(e):"string"==typeof e?e:""}var qe=Object.freeze({__proto__:null,alphanumeric:function(e,t,n){var r=We(e,t,n),i=r[0],o=r[1];for(i=Ue(i),o=Ue(o),i=i.split(He).filter(Boolean),o=o.split(He).filter(Boolean);i.length&&o.length;){var a=i.shift(),s=o.shift(),l=parseInt(a,10),u=parseInt(s,10),c=[l,u].sort();if(isNaN(c[0])){if(a>s)return 1;if(s>a)return-1}else{if(isNaN(c[1]))return isNaN(l)?-1:1;if(l>u)return 1;if(u>l)return-1}}return i.length-o.length},datetime:function(e,t,n){var r=We(e,t,n),i=r[0],o=r[1];return Ge(i=i.getTime(),o=o.getTime())},basic:function(e,t,n){var r=We(e,t,n);return Ge(r[0],r[1])},string:function(e,t,n){var r=We(e,t,n),i=r[0],o=r[1];for(i=i.split("").filter(Boolean),o=o.split("").filter(Boolean);i.length&&o.length;){var a=i.shift(),s=o.shift(),l=a.toLowerCase(),u=s.toLowerCase();if(l>u)return 1;if(u>l)return-1;if(a>s)return 1;if(s>a)return-1}return i.length-o.length},number:function(e,t,n){var r=We(e,t,n),i=r[0],o=r[1],a=/[^0-9.]/gi;return Ge(i=Number(String(i).replace(a,"")),o=Number(String(o).replace(a,"")))}});s.resetSortBy="resetSortBy",s.setSortBy="setSortBy",s.toggleSortBy="toggleSortBy",s.clearSortBy="clearSortBy",c.sortType="alphanumeric",c.sortDescFirst=!1;var Xe=function(e){e.getSortByToggleProps=[Ye],e.stateReducers.push(Ke),e.useInstance.push(Ze)};Xe.pluginName="useSortBy";var Ye=function(e,t){var n=t.instance,r=t.column,i=n.isMultiSortEvent,o=void 0===i?function(e){return e.shiftKey}:i;return[e,{onClick:r.canSort?function(e){e.persist(),r.toggleSortBy(void 0,!n.disableMultiSort&&o(e))}:void 0,style:{cursor:r.canSort?"pointer":void 0},title:r.canSort?"Toggle SortBy":void 0}]};function Ke(e,t,n,r){if(t.type===s.init)return i({sortBy:[]},e);if(t.type===s.resetSortBy)return i({},e,{sortBy:r.initialState.sortBy||[]});if(t.type===s.clearSortBy)return i({},e,{sortBy:e.sortBy.filter((function(e){return e.id!==t.columnId}))});if(t.type===s.setSortBy)return i({},e,{sortBy:t.sortBy});if(t.type===s.toggleSortBy){var o,a=t.columnId,l=t.desc,u=t.multi,c=r.allColumns,f=r.disableMultiSort,h=r.disableSortRemove,d=r.disableMultiRemove,p=r.maxMultiSortColCount,g=void 0===p?Number.MAX_SAFE_INTEGER:p,m=e.sortBy,b=c.find((function(e){return e.id===a})).sortDescFirst,v=m.find((function(e){return e.id===a})),y=m.findIndex((function(e){return e.id===a})),w=null!=l,x=[];return"toggle"!=(o=!f&&u?v?"toggle":"add":y!==m.length-1||1!==m.length?"replace":v?"toggle":"replace")||h||w||u&&d||!(v&&v.desc&&!b||!v.desc&&b)||(o="remove"),"replace"===o?x=[{id:a,desc:w?l:b}]:"add"===o?(x=[].concat(m,[{id:a,desc:w?l:b}])).splice(0,x.length-g):"toggle"===o?x=m.map((function(e){return e.id===a?i({},e,{desc:w?l:!v.desc}):e})):"remove"===o&&(x=m.filter((function(e){return e.id!==a}))),i({},e,{sortBy:x})}}function Ze(e){var n=e.data,r=e.rows,i=e.flatRows,o=e.allColumns,a=e.orderByFn,l=void 0===a?Qe:a,u=e.sortTypes,c=e.manualSortBy,f=e.defaultCanSort,d=e.disableSortBy,p=e.flatHeaders,m=e.state.sortBy,v=e.dispatch,w=e.plugins,x=e.getHooks,_=e.autoResetSortBy,S=void 0===_||_;g(w,["useFilters","useGlobalFilter","useGroupBy","usePivotColumns"],"useSortBy");var k=t.useCallback((function(e){v({type:s.setSortBy,sortBy:e})}),[v]),C=t.useCallback((function(e,t,n){v({type:s.toggleSortBy,columnId:e,desc:t,multi:n})}),[v]),E=b(e);p.forEach((function(e){var t=e.accessor,n=e.canSort,r=e.disableSortBy,i=e.id,o=t?M(!0!==r&&void 0,!0!==d&&void 0,!0):M(f,n,!1);e.canSort=o,e.canSort&&(e.toggleSortBy=function(t,n){return C(e.id,t,n)},e.clearSortBy=function(){v({type:s.clearSortBy,columnId:e.id})}),e.getSortByToggleProps=h(x().getSortByToggleProps,{instance:E(),column:e});var a=m.find((function(e){return e.id===i}));e.isSorted=!!a,e.sortedIndex=m.findIndex((function(e){return e.id===i})),e.isSortedDesc=e.isSorted?a.desc:void 0}));var I=t.useMemo((function(){if(c||!m.length)return[r,i];var e=[],t=m.filter((function(e){return o.find((function(t){return t.id===e.id}))}));return[function n(r){var i=l(r,t.map((function(e){var t=o.find((function(t){return t.id===e.id}));if(!t)throw new Error("React-Table: Could not find a column with id: "+e.id+" while sorting");var n=t.sortType,r=T(n)||(u||{})[n]||qe[n];if(!r)throw new Error("React-Table: Could not find a valid sortType of '"+n+"' for column '"+e.id+"'.");return function(t,n){return r(t,n,e.id,e.desc)}})),t.map((function(e){var t=o.find((function(t){return t.id===e.id}));return t&&t.sortInverted?e.desc:!e.desc})));return i.forEach((function(t){e.push(t),t.subRows&&0!==t.subRows.length&&(t.subRows=n(t.subRows))})),i}(r),e]}),[c,m,r,i,o,l,u]),A=I[0],P=I[1],O=b(S);y((function(){O()&&v({type:s.resetSortBy})}),[c?null:n]),Object.assign(e,{preSortedRows:r,preSortedFlatRows:i,sortedRows:A,sortedFlatRows:P,rows:A,flatRows:P,setSortBy:k,toggleSortBy:C})}function Qe(e,t,n){return[].concat(e).sort((function(e,r){for(var i=0;i<t.length;i+=1){var o=t[i],a=!1===n[i]||"desc"===n[i],s=o(e,r);if(0!==s)return a?-s:s}return n[0]?e.index-r.index:r.index-e.index}))}s.resetPage="resetPage",s.gotoPage="gotoPage",s.setPageSize="setPageSize";var Je=function(e){e.stateReducers.push(et),e.useInstance.push(tt)};function et(e,t,n,r){if(t.type===s.init)return i({pageSize:10,pageIndex:0},e);if(t.type===s.resetPage)return i({},e,{pageIndex:r.initialState.pageIndex||0});if(t.type===s.gotoPage){var o=r.pageCount,a=r.page,l=m(t.pageIndex,e.pageIndex),u=!1;return l>e.pageIndex?u=-1===o?a.length>=e.pageSize:l<o:l<e.pageIndex&&(u=l>-1),u?i({},e,{pageIndex:l}):e}if(t.type===s.setPageSize){var c=t.pageSize,f=e.pageSize*e.pageIndex;return i({},e,{pageIndex:Math.floor(f/c),pageSize:c})}}function tt(e){var n=e.rows,r=e.autoResetPage,i=void 0===r||r,o=e.manualExpandedKey,a=void 0===o?"expanded":o,l=e.plugins,u=e.pageCount,c=e.paginateExpandedRows,f=void 0===c||c,h=e.expandSubRows,d=void 0===h||h,p=e.state,m=p.pageSize,v=p.pageIndex,w=p.expanded,x=p.globalFilter,_=p.filters,S=p.groupBy,k=p.sortBy,C=e.dispatch,E=e.data,I=e.manualPagination;g(l,["useGlobalFilter","useFilters","useGroupBy","useSortBy","useExpanded"],"usePagination");var M=b(i);y((function(){M()&&C({type:s.resetPage})}),[C,I?null:E,x,_,S,k]);var T=I?u:Math.ceil(n.length/m),A=t.useMemo((function(){return T>0?[].concat(new Array(T)).fill(null).map((function(e,t){return t})):[]}),[T]),O=t.useMemo((function(){var e;if(I)e=n;else{var t=m*v,r=t+m;e=n.slice(t,r)}return f?e:P(e,{manualExpandedKey:a,expanded:w,expandSubRows:d})}),[d,w,a,I,v,m,f,n]),D=v>0,R=-1===T?O.length>=m:v<T-1,L=t.useCallback((function(e){C({type:s.gotoPage,pageIndex:e})}),[C]),N=t.useCallback((function(){return L((function(e){return e-1}))}),[L]),j=t.useCallback((function(){return L((function(e){return e+1}))}),[L]),F=t.useCallback((function(e){C({type:s.setPageSize,pageSize:e})}),[C]);Object.assign(e,{pageOptions:A,pageCount:T,page:O,canPreviousPage:D,canNextPage:R,gotoPage:L,previousPage:N,nextPage:j,setPageSize:F})}Je.pluginName="usePagination",s.resetPivot="resetPivot",s.togglePivot="togglePivot";var nt=function(e){e.getPivotToggleProps=[it],e.stateReducers.push(ot),e.useInstanceAfterData.push(at),e.allColumns.push(st),e.accessValue.push(lt),e.materializedColumns.push(ut),e.materializedColumnsDeps.push(ct),e.visibleColumns.push(ft),e.visibleColumnsDeps.push(ht),e.useInstance.push(dt),e.prepareRow.push(pt)};nt.pluginName="usePivotColumns";var rt=[],it=function(e,t){var n=t.header;return[e,{onClick:n.canPivot?function(e){e.persist(),n.togglePivot()}:void 0,style:{cursor:n.canPivot?"pointer":void 0},title:"Toggle Pivot"}]};function ot(e,t,n,r){if(t.type===s.init)return i({pivotColumns:rt},e);if(t.type===s.resetPivot)return i({},e,{pivotColumns:r.initialState.pivotColumns||rt});if(t.type===s.togglePivot){var o=t.columnId,a=t.value,l=void 0!==a?a:!e.pivotColumns.includes(o);return i({},e,l?{pivotColumns:[].concat(e.pivotColumns,[o])}:{pivotColumns:e.pivotColumns.filter((function(e){return e!==o}))})}}function at(e){e.allColumns.forEach((function(t){t.isPivotSource=e.state.pivotColumns.includes(t.id)}))}function st(e,t){var n=t.instance;return e.forEach((function(e){e.isPivotSource=n.state.pivotColumns.includes(e.id),e.uniqueValues=new Set})),e}function lt(e,t){var n=t.column;return n.uniqueValues&&void 0!==e&&n.uniqueValues.add(e),e}function ut(e,t){var n=t.instance,r=n.allColumns,o=n.state;if(!o.pivotColumns.length||!o.groupBy||!o.groupBy.length)return e;var a=o.pivotColumns.map((function(e){return r.find((function(t){return t.id===e}))})).filter(Boolean),s=r.filter((function(e){return!e.isPivotSource&&!o.groupBy.includes(e.id)&&!o.pivotColumns.includes(e.id)})),l=S(function e(t,n,r){void 0===t&&(t=0),void 0===r&&(r=[]);var o=a[t];return o?Array.from(o.uniqueValues).sort().map((function(a){var s=i({},o,{Header:o.PivotHeader||"string"==typeof o.header?o.Header+": "+a:a,isPivotGroup:!0,parent:n,depth:t,id:n?n.id+"."+o.id+"."+a:o.id+"."+a,pivotValue:a});return s.columns=e(t+1,s,[].concat(r,[function(e){return e.values[o.id]===a}])),s})):s.map((function(e){return i({},e,{canPivot:!1,isPivoted:!0,parent:n,depth:t,id:""+(n?n.id+"."+e.id:e.id),accessor:function(t,n,i){if(r.every((function(e){return e(i)})))return i.values[e.id]}})}))}());return[].concat(e,l)}function ct(e,t){var n=t.instance.state,r=n.pivotColumns,i=n.groupBy;return[].concat(e,[r,i])}function ft(e,t){var n=t.instance.state;return e=e.filter((function(e){return!e.isPivotSource})),n.pivotColumns.length&&n.groupBy&&n.groupBy.length&&(e=e.filter((function(e){return e.isGrouped||e.isPivoted}))),e}function ht(e,t){var n=t.instance;return[].concat(e,[n.state.pivotColumns,n.state.groupBy])}function dt(e){var t=e.columns,n=e.allColumns,r=e.flatHeaders,i=e.getHooks,o=e.plugins,a=e.dispatch,l=e.autoResetPivot,u=void 0===l||l,c=e.manaulPivot,f=e.disablePivot,d=e.defaultCanPivot;g(o,["useGroupBy"],"usePivotColumns");var p=b(e);n.forEach((function(t){var n=t.accessor,r=t.defaultPivot,i=t.disablePivot;t.canPivot=n?M(t.canPivot,!0!==i&&void 0,!0!==f&&void 0,!0):M(t.canPivot,r,d,!1),t.canPivot&&(t.togglePivot=function(){return e.togglePivot(t.id)}),t.Aggregated=t.Aggregated||t.Cell})),r.forEach((function(e){e.getPivotToggleProps=h(i().getPivotToggleProps,{instance:p(),header:e})}));var m=b(u);y((function(){m()&&a({type:s.resetPivot})}),[a,c?null:t]),Object.assign(e,{togglePivot:function(e,t){a({type:s.togglePivot,columnId:e,value:t})}})}function pt(e){e.allCells.forEach((function(e){e.isPivoted=e.column.isPivoted}))}s.resetSelectedRows="resetSelectedRows",s.toggleAllRowsSelected="toggleAllRowsSelected",s.toggleRowSelected="toggleRowSelected",s.toggleAllPageRowsSelected="toggleAllPageRowsSelected";var gt=function(e){e.getToggleRowSelectedProps=[mt],e.getToggleAllRowsSelectedProps=[bt],e.getToggleAllPageRowsSelectedProps=[vt],e.stateReducers.push(yt),e.useInstance.push(wt),e.prepareRow.push(xt)};gt.pluginName="useRowSelect";var mt=function(e,t){var n=t.instance,r=t.row,i=n.manualRowSelectedKey,o=void 0===i?"isSelected":i;return[e,{onChange:function(e){r.toggleRowSelected(e.target.checked)},style:{cursor:"pointer"},checked:!(!r.original||!r.original[o])||r.isSelected,title:"Toggle Row Selected",indeterminate:r.isSomeSelected}]},bt=function(e,t){var n=t.instance;return[e,{onChange:function(e){n.toggleAllRowsSelected(e.target.checked)},style:{cursor:"pointer"},checked:n.isAllRowsSelected,title:"Toggle All Rows Selected",indeterminate:Boolean(!n.isAllRowsSelected&&Object.keys(n.state.selectedRowIds).length)}]},vt=function(e,t){var n=t.instance;return[e,{onChange:function(e){n.toggleAllPageRowsSelected(e.target.checked)},style:{cursor:"pointer"},checked:n.isAllPageRowsSelected,title:"Toggle All Current Page Rows Selected",indeterminate:Boolean(!n.isAllPageRowsSelected&&n.page.some((function(e){var t=e.id;return n.state.selectedRowIds[t]})))}]};function yt(e,t,n,r){if(t.type===s.init)return i({selectedRowIds:{}},e);if(t.type===s.resetSelectedRows)return i({},e,{selectedRowIds:r.initialState.selectedRowIds||{}});if(t.type===s.toggleAllRowsSelected){var o=t.value,a=r.isAllRowsSelected,l=r.rowsById,u=r.nonGroupedRowsById,c=void 0===u?l:u,f=void 0!==o?o:!a,h=Object.assign({},e.selectedRowIds);return f?Object.keys(c).forEach((function(e){h[e]=!0})):Object.keys(c).forEach((function(e){delete h[e]})),i({},e,{selectedRowIds:h})}if(t.type===s.toggleRowSelected){var d=t.id,p=t.value,g=r.rowsById,m=r.selectSubRows,b=void 0===m||m,v=r.getSubRows,y=e.selectedRowIds[d],w=void 0!==p?p:!y;if(y===w)return e;var x=i({},e.selectedRowIds);return function e(t){var n=g[t];if(n&&(n.isGrouped||(w?x[t]=!0:delete x[t]),b&&v(n)))return v(n).forEach((function(t){return e(t.id)}))}(d),i({},e,{selectedRowIds:x})}if(t.type===s.toggleAllPageRowsSelected){var _=t.value,S=r.page,k=r.rowsById,C=r.selectSubRows,E=void 0===C||C,I=r.isAllPageRowsSelected,M=r.getSubRows,T=void 0!==_?_:!I,A=i({},e.selectedRowIds);return S.forEach((function(e){return function e(t){var n=k[t];if(n.isGrouped||(T?A[t]=!0:delete A[t]),E&&M(n))return M(n).forEach((function(t){return e(t.id)}))}(e.id)})),i({},e,{selectedRowIds:A})}return e}function wt(e){var n=e.data,r=e.rows,i=e.getHooks,o=e.plugins,a=e.rowsById,l=e.nonGroupedRowsById,u=void 0===l?a:l,c=e.autoResetSelectedRows,f=void 0===c||c,d=e.state.selectedRowIds,p=e.selectSubRows,m=void 0===p||p,v=e.dispatch,w=e.page,x=e.getSubRows;g(o,["useFilters","useGroupBy","useSortBy","useExpanded","usePagination"],"useRowSelect");var _=t.useMemo((function(){var e=[];return r.forEach((function(t){var n=m?function e(t,n,r){if(n[t.id])return!0;var i=r(t);if(i&&i.length){var o=!0,a=!1;return i.forEach((function(t){a&&!o||(e(t,n,r)?a=!0:o=!1)})),!!o||!!a&&null}return!1}(t,d,x):!!d[t.id];t.isSelected=!!n,t.isSomeSelected=null===n,n&&e.push(t)})),e}),[r,m,d,x]),S=Boolean(Object.keys(u).length&&Object.keys(d).length),k=S;S&&Object.keys(u).some((function(e){return!d[e]}))&&(S=!1),S||w&&w.length&&w.some((function(e){var t=e.id;return!d[t]}))&&(k=!1);var C=b(f);y((function(){C()&&v({type:s.resetSelectedRows})}),[v,n]);var E=t.useCallback((function(e){return v({type:s.toggleAllRowsSelected,value:e})}),[v]),I=t.useCallback((function(e){return v({type:s.toggleAllPageRowsSelected,value:e})}),[v]),M=t.useCallback((function(e,t){return v({type:s.toggleRowSelected,id:e,value:t})}),[v]),T=b(e),A=h(i().getToggleAllRowsSelectedProps,{instance:T()}),P=h(i().getToggleAllPageRowsSelectedProps,{instance:T()});Object.assign(e,{selectedFlatRows:_,isAllRowsSelected:S,isAllPageRowsSelected:k,toggleRowSelected:M,toggleAllRowsSelected:E,getToggleAllRowsSelectedProps:A,getToggleAllPageRowsSelectedProps:P,toggleAllPageRowsSelected:I})}function xt(e,t){var n=t.instance;e.toggleRowSelected=function(t){return n.toggleRowSelected(e.id,t)},e.getToggleRowSelectedProps=h(n.getHooks().getToggleRowSelectedProps,{instance:n,row:e})}var _t=function(e){return{}},St=function(e){return{}};s.setRowState="setRowState",s.setCellState="setCellState",s.resetRowState="resetRowState";var kt=function(e){e.stateReducers.push(Ct),e.useInstance.push(Et),e.prepareRow.push(It)};function Ct(e,t,n,r){var o=r.initialRowStateAccessor,a=void 0===o?_t:o,l=r.initialCellStateAccessor,u=void 0===l?St:l,c=r.rowsById;if(t.type===s.init)return i({rowState:{}},e);if(t.type===s.resetRowState)return i({},e,{rowState:r.initialState.rowState||{}});if(t.type===s.setRowState){var f,h=t.rowId,d=t.value,p=void 0!==e.rowState[h]?e.rowState[h]:a(c[h]);return i({},e,{rowState:i({},e.rowState,(f={},f[h]=m(d,p),f))})}if(t.type===s.setCellState){var g,b,v,y,w,x=t.rowId,_=t.columnId,S=t.value,k=void 0!==e.rowState[x]?e.rowState[x]:a(c[x]),C=void 0!==(null==k||null==(g=k.cellState)?void 0:g[_])?k.cellState[_]:u(null==(b=c[x])||null==(v=b.cells)?void 0:v.find((function(e){return e.column.id===_})));return i({},e,{rowState:i({},e.rowState,(w={},w[x]=i({},k,{cellState:i({},k.cellState||{},(y={},y[_]=m(S,C),y))}),w))})}}function Et(e){var n=e.autoResetRowState,r=void 0===n||n,i=e.data,o=e.dispatch,a=t.useCallback((function(e,t){return o({type:s.setRowState,rowId:e,value:t})}),[o]),l=t.useCallback((function(e,t,n){return o({type:s.setCellState,rowId:e,columnId:t,value:n})}),[o]),u=b(r);y((function(){u()&&o({type:s.resetRowState})}),[i]),Object.assign(e,{setRowState:a,setCellState:l})}function It(e,t){var n=t.instance,r=n.initialRowStateAccessor,i=void 0===r?_t:r,o=n.initialCellStateAccessor,a=void 0===o?St:o,s=n.state.rowState;e&&(e.state=void 0!==s[e.id]?s[e.id]:i(e),e.setState=function(t){return n.setRowState(e.id,t)},e.cells.forEach((function(t){e.state.cellState||(e.state.cellState={}),t.state=void 0!==e.state.cellState[t.column.id]?e.state.cellState[t.column.id]:a(t),t.setState=function(r){return n.setCellState(e.id,t.column.id,r)}})))}kt.pluginName="useRowState",s.resetColumnOrder="resetColumnOrder",s.setColumnOrder="setColumnOrder";var Mt=function(e){e.stateReducers.push(Tt),e.visibleColumnsDeps.push((function(e,t){var n=t.instance;return[].concat(e,[n.state.columnOrder])})),e.visibleColumns.push(At),e.useInstance.push(Pt)};function Tt(e,t,n,r){return t.type===s.init?i({columnOrder:[]},e):t.type===s.resetColumnOrder?i({},e,{columnOrder:r.initialState.columnOrder||[]}):t.type===s.setColumnOrder?i({},e,{columnOrder:m(t.columnOrder,e.columnOrder)}):void 0}function At(e,t){var n=t.instance.state.columnOrder;if(!n||!n.length)return e;for(var r=[].concat(n),i=[].concat(e),o=[],a=function(){var e=r.shift(),t=i.findIndex((function(t){return t.id===e}));t>-1&&o.push(i.splice(t,1)[0])};i.length&&r.length;)a();return[].concat(o,i)}function Pt(e){var n=e.dispatch;e.setColumnOrder=t.useCallback((function(e){return n({type:s.setColumnOrder,columnOrder:e})}),[n])}Mt.pluginName="useColumnOrder",c.canResize=!0,s.columnStartResizing="columnStartResizing",s.columnResizing="columnResizing",s.columnDoneResizing="columnDoneResizing",s.resetResize="resetResize";var Ot=function(e){e.getResizerProps=[Dt],e.getHeaderProps.push({style:{position:"relative"}}),e.stateReducers.push(Rt),e.useInstance.push(Nt),e.useInstanceBeforeDimensions.push(Lt)},Dt=function(e,t){var n=t.instance,r=t.header,i=n.dispatch,o=function(e,t){var n=!1;if("touchstart"===e.type){if(e.touches&&e.touches.length>1)return;n=!0}var r,o,a=function(e){var t=[];return function e(n){n.columns&&n.columns.length&&n.columns.map(e),t.push(n)}(e),t}(t).map((function(e){return[e.id,e.totalWidth]})),l=n?Math.round(e.touches[0].clientX):e.clientX,u=function(){window.cancelAnimationFrame(r),r=null,i({type:s.columnDoneResizing})},c=function(){window.cancelAnimationFrame(r),r=null,i({type:s.columnResizing,clientX:o})},f=function(e){o=e,r||(r=window.requestAnimationFrame(c))},h={mouse:{moveEvent:"mousemove",moveHandler:function(e){return f(e.clientX)},upEvent:"mouseup",upHandler:function(e){document.removeEventListener("mousemove",h.mouse.moveHandler),document.removeEventListener("mouseup",h.mouse.upHandler),u()}},touch:{moveEvent:"touchmove",moveHandler:function(e){return e.cancelable&&(e.preventDefault(),e.stopPropagation()),f(e.touches[0].clientX),!1},upEvent:"touchend",upHandler:function(e){document.removeEventListener(h.touch.moveEvent,h.touch.moveHandler),document.removeEventListener(h.touch.upEvent,h.touch.moveHandler),u()}}},d=n?h.touch:h.mouse,p=!!function(){if("boolean"==typeof L)return L;var e=!1;try{var t={get passive(){return e=!0,!1}};window.addEventListener("test",null,t),window.removeEventListener("test",null,t)}catch(t){e=!1}return L=e}()&&{passive:!1};document.addEventListener(d.moveEvent,d.moveHandler,p),document.addEventListener(d.upEvent,d.upHandler,p),i({type:s.columnStartResizing,columnId:t.id,columnWidth:t.totalWidth,headerIdWidths:a,clientX:l})};return[e,{onMouseDown:function(e){return e.persist()||o(e,r)},onTouchStart:function(e){return e.persist()||o(e,r)},style:{cursor:"col-resize"},draggable:!1,role:"separator"}]};function Rt(e,t){if(t.type===s.init)return i({columnResizing:{columnWidths:{}}},e);if(t.type===s.resetResize)return i({},e,{columnResizing:{columnWidths:{}}});if(t.type===s.columnStartResizing){var n=t.clientX,r=t.columnId,o=t.columnWidth,a=t.headerIdWidths;return i({},e,{columnResizing:i({},e.columnResizing,{startX:n,headerIdWidths:a,columnWidth:o,isResizingColumn:r})})}if(t.type===s.columnResizing){var l=t.clientX,u=e.columnResizing,c=u.startX,f=u.columnWidth,h=u.headerIdWidths,d=(l-c)/f,p={};return(void 0===h?[]:h).forEach((function(e){var t=e[0],n=e[1];p[t]=Math.max(n+n*d,0)})),i({},e,{columnResizing:i({},e.columnResizing,{columnWidths:i({},e.columnResizing.columnWidths,{},p)})})}return t.type===s.columnDoneResizing?i({},e,{columnResizing:i({},e.columnResizing,{startX:null,isResizingColumn:null})}):void 0}Ot.pluginName="useResizeColumns";var Lt=function(e){var t=e.flatHeaders,n=e.disableResizing,r=e.getHooks,i=e.state.columnResizing,o=b(e);t.forEach((function(e){var t=M(!0!==e.disableResizing&&void 0,!0!==n&&void 0,!0);e.canResize=t,e.width=i.columnWidths[e.id]||e.originalWidth||e.width,e.isResizing=i.isResizingColumn===e.id,t&&(e.getResizerProps=h(r().getResizerProps,{instance:o(),header:e}))}))};function Nt(e){var n=e.plugins,r=e.dispatch,i=e.autoResetResize,o=void 0===i||i,a=e.columns;g(n,["useAbsoluteLayout"],"useResizeColumns");var l=b(o);y((function(){l()&&r({type:s.resetResize})}),[a]);var u=t.useCallback((function(){return r({type:s.resetResize})}),[r]);Object.assign(e,{resetResizing:u})}var jt={position:"absolute",top:0},Ft=function(e){e.getTableBodyProps.push(zt),e.getRowProps.push(zt),e.getHeaderGroupProps.push(zt),e.getFooterGroupProps.push(zt),e.getHeaderProps.push((function(e,t){var n=t.column;return[e,{style:i({},jt,{left:n.totalLeft+"px",width:n.totalWidth+"px"})}]})),e.getCellProps.push((function(e,t){var n=t.cell;return[e,{style:i({},jt,{left:n.column.totalLeft+"px",width:n.column.totalWidth+"px"})}]})),e.getFooterProps.push((function(e,t){var n=t.column;return[e,{style:i({},jt,{left:n.totalLeft+"px",width:n.totalWidth+"px"})}]}))};Ft.pluginName="useAbsoluteLayout";var zt=function(e,t){return[e,{style:{position:"relative",width:t.instance.totalColumnsWidth+"px"}}]},Bt={display:"inline-block",boxSizing:"border-box"},Vt=function(e,t){return[e,{style:{display:"flex",width:t.instance.totalColumnsWidth+"px"}}]},$t=function(e){e.getRowProps.push(Vt),e.getHeaderGroupProps.push(Vt),e.getFooterGroupProps.push(Vt),e.getHeaderProps.push((function(e,t){var n=t.column;return[e,{style:i({},Bt,{width:n.totalWidth+"px"})}]})),e.getCellProps.push((function(e,t){var n=t.cell;return[e,{style:i({},Bt,{width:n.column.totalWidth+"px"})}]})),e.getFooterProps.push((function(e,t){var n=t.column;return[e,{style:i({},Bt,{width:n.totalWidth+"px"})}]}))};function Ht(e){e.getTableProps.push(Gt),e.getRowProps.push(Wt),e.getHeaderGroupProps.push(Wt),e.getFooterGroupProps.push(Wt),e.getHeaderProps.push(Ut),e.getCellProps.push(qt),e.getFooterProps.push(Xt)}$t.pluginName="useBlockLayout",Ht.pluginName="useFlexLayout";var Gt=function(e,t){return[e,{style:{minWidth:t.instance.totalColumnsMinWidth+"px"}}]},Wt=function(e,t){return[e,{style:{display:"flex",flex:"1 0 auto",minWidth:t.instance.totalColumnsMinWidth+"px"}}]},Ut=function(e,t){var n=t.column;return[e,{style:{boxSizing:"border-box",flex:n.totalFlexWidth?n.totalFlexWidth+" 0 auto":void 0,minWidth:n.totalMinWidth+"px",width:n.totalWidth+"px"}}]},qt=function(e,t){var n=t.cell;return[e,{style:{boxSizing:"border-box",flex:n.column.totalFlexWidth+" 0 auto",minWidth:n.column.totalMinWidth+"px",width:n.column.totalWidth+"px"}}]},Xt=function(e,t){var n=t.column;return[e,{style:{boxSizing:"border-box",flex:n.totalFlexWidth?n.totalFlexWidth+" 0 auto":void 0,minWidth:n.totalMinWidth+"px",width:n.totalWidth+"px"}}]};function Yt(e){e.stateReducers.push(Jt),e.getTableProps.push(Kt),e.getHeaderProps.push(Zt),e.getRowProps.push(Qt)}s.columnStartResizing="columnStartResizing",s.columnResizing="columnResizing",s.columnDoneResizing="columnDoneResizing",s.resetResize="resetResize",Yt.pluginName="useGridLayout";var Kt=function(e,t){var n=t.instance;return[e,{style:{display:"grid",gridTemplateColumns:n.visibleColumns.map((function(e){var t;return n.state.gridLayout.columnWidths[e.id]?n.state.gridLayout.columnWidths[e.id]+"px":(null==(t=n.state.columnResizing)?void 0:t.isResizingColumn)?n.state.gridLayout.startWidths[e.id]+"px":"number"==typeof e.width?e.width+"px":e.width})).join(" ")}}]},Zt=function(e,t){var n=t.column;return[e,{id:"header-cell-"+n.id,style:{position:"sticky",gridColumn:"span "+n.totalVisibleHeaderCount}}]},Qt=function(e,t){var n=t.row;return n.isExpanded?[e,{style:{gridColumn:"1 / "+(n.cells.length+1)}}]:[e,{}]};function Jt(e,t,n,r){if(t.type===s.init)return i({gridLayout:{columnWidths:{}}},e);if(t.type===s.resetResize)return i({},e,{gridLayout:{columnWidths:{}}});if(t.type===s.columnStartResizing){var o=t.columnId,a=t.headerIdWidths,l=en(o);if(void 0!==l){var u=r.visibleColumns.reduce((function(e,t){var n;return i({},e,((n={})[t.id]=en(t.id),n))}),{}),c=r.visibleColumns.reduce((function(e,t){var n;return i({},e,((n={})[t.id]=t.minWidth,n))}),{}),f=r.visibleColumns.reduce((function(e,t){var n;return i({},e,((n={})[t.id]=t.maxWidth,n))}),{}),h=a.map((function(e){var t=e[0];return[t,en(t)]}));return i({},e,{gridLayout:i({},e.gridLayout,{startWidths:u,minWidths:c,maxWidths:f,headerIdGridWidths:h,columnWidth:l})})}return e}if(t.type===s.columnResizing){var d=t.clientX,p=e.columnResizing.startX,g=e.gridLayout,m=g.columnWidth,b=g.minWidths,v=g.maxWidths,y=g.headerIdGridWidths,w=(d-p)/m,x={};return(void 0===y?[]:y).forEach((function(e){var t=e[0],n=e[1];x[t]=Math.min(Math.max(b[t],n+n*w),v[t])})),i({},e,{gridLayout:i({},e.gridLayout,{columnWidths:i({},e.gridLayout.columnWidths,{},x)})})}return t.type===s.columnDoneResizing?i({},e,{gridLayout:i({},e.gridLayout,{startWidths:{},minWidths:{},maxWidths:{}})}):void 0}function en(e){var t,n=null==(t=document.getElementById("header-cell-"+e))?void 0:t.offsetWidth;if(void 0!==n)return n}e._UNSTABLE_usePivotColumns=nt,e.actions=s,e.defaultColumn=c,e.defaultGroupByFn=$e,e.defaultOrderByFn=Qe,e.defaultRenderer=l,e.emptyRenderer=u,e.ensurePluginOrder=g,e.flexRender=x,e.functionalUpdate=m,e.loopHooks=p,e.makePropGetter=h,e.makeRenderer=w,e.reduceHooks=d,e.safeUseLayoutEffect=v,e.useAbsoluteLayout=Ft,e.useAsyncDebounce=function(e,n){void 0===n&&(n=0);var i=t.useRef({}),o=b(e),a=b(n);return t.useCallback(function(){var e=r(regeneratorRuntime.mark((function e(){var t,n,s,l=arguments;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:for(t=l.length,n=new Array(t),s=0;s<t;s++)n[s]=l[s];return i.current.promise||(i.current.promise=new Promise((function(e,t){i.current.resolve=e,i.current.reject=t}))),i.current.timeout&&clearTimeout(i.current.timeout),i.current.timeout=setTimeout(r(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return delete i.current.timeout,e.prev=1,e.t0=i.current,e.next=5,o().apply(void 0,n);case 5:e.t1=e.sent,e.t0.resolve.call(e.t0,e.t1),e.next=12;break;case 9:e.prev=9,e.t2=e.catch(1),i.current.reject(e.t2);case 12:return e.prev=12,delete i.current.promise,e.finish(12);case 15:case"end":return e.stop()}}),e,null,[[1,9,12,15]])}))),a()),e.abrupt("return",i.current.promise);case 5:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),[o,a])},e.useBlockLayout=$t,e.useColumnOrder=Mt,e.useExpanded=le,e.useFilters=Ce,e.useFlexLayout=Ht,e.useGetLatest=b,e.useGlobalFilter=Me,e.useGridLayout=Yt,e.useGroupBy=Le,e.useMountedLayoutEffect=y,e.usePagination=Je,e.useResizeColumns=Ot,e.useRowSelect=gt,e.useRowState=kt,e.useSortBy=Xe,e.useTable=function(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];e=oe(e),r=[q].concat(r);var a=b(t.useRef({}).current);Object.assign(a(),i({},e,{plugins:r,hooks:U()})),r.filter(Boolean).forEach((function(e){e(a().hooks)}));var l=b(a().hooks);a().getHooks=l,delete a().hooks,Object.assign(a(),d(l().useOptions,oe(e)));var u=a(),c=u.data,f=u.columns,g=u.initialState,m=u.defaultColumn,v=u.getSubRows,y=u.getRowId,x=u.stateReducer,I=u.useControlledState,M=b(x),T=t.useCallback((function(e,t){if(!t.type)throw console.info({action:t}),new Error("Unknown Action 👆");return[].concat(l().stateReducers,Array.isArray(M())?M():[M()]).reduce((function(n,r){return r(n,t,e,a())||n}),e)}),[l,M,a]),A=t.useReducer(T,void 0,(function(){return T(g,{type:s.init})})),P=A[0],O=A[1],D=d([].concat(l().useControlledState,[I]),P,{instance:a()});Object.assign(a(),{state:D,dispatch:O});var R=t.useMemo((function(){return _(d(l().columns,f,{instance:a()}))}),[l,a,f].concat(d(l().columnsDeps,[],{instance:a()})));a().columns=R;var L=t.useMemo((function(){return d(l().allColumns,S(R),{instance:a()}).map(k)}),[R,l,a].concat(d(l().allColumnsDeps,[],{instance:a()})));a().allColumns=L;var N=t.useMemo((function(){for(var e=[],t=[],n={},r=[].concat(L);r.length;){var i=r.shift();se({data:c,rows:e,flatRows:t,rowsById:n,column:i,getRowId:y,getSubRows:v,accessValueHooks:l().accessValue,getInstance:a})}return[e,t,n]}),[L,c,y,v,l,a]),j=N[0],F=N[1],z=N[2];Object.assign(a(),{rows:j,initialRows:[].concat(j),flatRows:F,rowsById:z}),p(l().useInstanceAfterData,a());var B=t.useMemo((function(){return d(l().visibleColumns,L,{instance:a()}).map((function(e){return C(e,m)}))}),[l,L,a,m].concat(d(l().visibleColumnsDeps,[],{instance:a()})));L=t.useMemo((function(){var e=[].concat(B);return L.forEach((function(t){e.find((function(e){return e.id===t.id}))||e.push(t)})),e}),[L,B]),a().allColumns=L;var V=t.useMemo((function(){return d(l().headerGroups,E(B,m),a())}),[l,B,m,a].concat(d(l().headerGroupsDeps,[],{instance:a()})));a().headerGroups=V;var $=t.useMemo((function(){return V.length?V[0].headers:[]}),[V]);a().headers=$,a().flatHeaders=V.reduce((function(e,t){return[].concat(e,t.headers)}),[]),p(l().useInstanceBeforeDimensions,a());var H=B.filter((function(e){return e.isVisible})).map((function(e){return e.id})).sort().join("_");B=t.useMemo((function(){return B.filter((function(e){return e.isVisible}))}),[B,H]),a().visibleColumns=B;var G=ae($),W=G[0],X=G[1],Y=G[2];return a().totalColumnsMinWidth=W,a().totalColumnsWidth=X,a().totalColumnsMaxWidth=Y,p(l().useInstance,a()),[].concat(a().flatHeaders,a().allColumns).forEach((function(e){e.render=w(a(),e),e.getHeaderProps=h(l().getHeaderProps,{instance:a(),column:e}),e.getFooterProps=h(l().getFooterProps,{instance:a(),column:e})})),a().headerGroups=t.useMemo((function(){return V.filter((function(e,t){return e.headers=e.headers.filter((function(e){return e.headers?function e(t){return t.filter((function(t){return t.headers?e(t.headers):t.isVisible})).length}(e.headers):e.isVisible})),!!e.headers.length&&(e.getHeaderGroupProps=h(l().getHeaderGroupProps,{instance:a(),headerGroup:e,index:t}),e.getFooterGroupProps=h(l().getFooterGroupProps,{instance:a(),headerGroup:e,index:t}),!0)}))}),[V,a,l]),a().footerGroups=[].concat(a().headerGroups).reverse(),a().prepareRow=t.useCallback((function(e){e.getRowProps=h(l().getRowProps,{instance:a(),row:e}),e.allCells=L.map((function(t){var n=e.values[t.id],r={column:t,row:e,value:n};return r.getCellProps=h(l().getCellProps,{instance:a(),cell:r}),r.render=w(a(),t,{row:e,cell:r,value:n}),r})),e.cells=B.map((function(t){return e.allCells.find((function(e){return e.column.id===t.id}))})),p(l().prepareRow,e,{instance:a()})}),[l,a,L,B]),a().getTableProps=h(l().getTableProps,{instance:a()}),a().getTableBodyProps=h(l().getTableBodyProps,{instance:a()}),p(l().useFinalInstance,a()),a()},Object.defineProperty(e,"__esModule",{value:!0})}(t,n(6540))},2885:(e,t,n)=>{e.exports=n(8829)},1020:(e,t,n)=>{"use strict";var r=n(6540),i=Symbol.for("react.element"),o=Symbol.for("react.fragment"),a=Object.prototype.hasOwnProperty,s=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0};function u(e,t,n){var r,o={},u=null,c=null;for(r in void 0!==n&&(u=""+n),void 0!==t.key&&(u=""+t.key),void 0!==t.ref&&(c=t.ref),t)a.call(t,r)&&!l.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===o[r]&&(o[r]=t[r]);return{$$typeof:i,type:e,key:u,ref:c,props:o,_owner:s.current}}t.Fragment=o,t.jsx=u,t.jsxs=u},5287:(e,t)=>{"use strict";var n=Symbol.for("react.element"),r=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),l=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),f=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),d=Symbol.iterator;var p={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},g=Object.assign,m={};function b(e,t,n){this.props=e,this.context=t,this.refs=m,this.updater=n||p}function v(){}function y(e,t,n){this.props=e,this.context=t,this.refs=m,this.updater=n||p}b.prototype.isReactComponent={},b.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},b.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},v.prototype=b.prototype;var w=y.prototype=new v;w.constructor=y,g(w,b.prototype),w.isPureReactComponent=!0;var x=Array.isArray,_=Object.prototype.hasOwnProperty,S={current:null},k={key:!0,ref:!0,__self:!0,__source:!0};function C(e,t,r){var i,o={},a=null,s=null;if(null!=t)for(i in void 0!==t.ref&&(s=t.ref),void 0!==t.key&&(a=""+t.key),t)_.call(t,i)&&!k.hasOwnProperty(i)&&(o[i]=t[i]);var l=arguments.length-2;if(1===l)o.children=r;else if(1<l){for(var u=Array(l),c=0;c<l;c++)u[c]=arguments[c+2];o.children=u}if(e&&e.defaultProps)for(i in l=e.defaultProps)void 0===o[i]&&(o[i]=l[i]);return{$$typeof:n,type:e,key:a,ref:s,props:o,_owner:S.current}}function E(e){return"object"==typeof e&&null!==e&&e.$$typeof===n}var I=/\/+/g;function M(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function T(e,t,i,o,a){var s=typeof e;"undefined"!==s&&"boolean"!==s||(e=null);var l=!1;if(null===e)l=!0;else switch(s){case"string":case"number":l=!0;break;case"object":switch(e.$$typeof){case n:case r:l=!0}}if(l)return a=a(l=e),e=""===o?"."+M(l,0):o,x(a)?(i="",null!=e&&(i=e.replace(I,"$&/")+"/"),T(a,t,i,"",(function(e){return e}))):null!=a&&(E(a)&&(a=function(e,t){return{$$typeof:n,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(a,i+(!a.key||l&&l.key===a.key?"":(""+a.key).replace(I,"$&/")+"/")+e)),t.push(a)),1;if(l=0,o=""===o?".":o+":",x(e))for(var u=0;u<e.length;u++){var c=o+M(s=e[u],u);l+=T(s,t,i,c,a)}else if(c=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=d&&e[d]||e["@@iterator"])?e:null}(e),"function"==typeof c)for(e=c.call(e),u=0;!(s=e.next()).done;)l+=T(s=s.value,t,i,c=o+M(s,u++),a);else if("object"===s)throw t=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return l}function A(e,t,n){if(null==e)return e;var r=[],i=0;return T(e,r,"","",(function(e){return t.call(n,e,i++)})),r}function P(e){if(-1===e._status){var t=e._result;(t=t()).then((function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)}),(function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)})),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var O={current:null},D={transition:null},R={ReactCurrentDispatcher:O,ReactCurrentBatchConfig:D,ReactCurrentOwner:S};t.Children={map:A,forEach:function(e,t,n){A(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return A(e,(function(){t++})),t},toArray:function(e){return A(e,(function(e){return e}))||[]},only:function(e){if(!E(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},t.Component=b,t.Fragment=i,t.Profiler=a,t.PureComponent=y,t.StrictMode=o,t.Suspense=c,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=R,t.cloneElement=function(e,t,r){if(null==e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var i=g({},e.props),o=e.key,a=e.ref,s=e._owner;if(null!=t){if(void 0!==t.ref&&(a=t.ref,s=S.current),void 0!==t.key&&(o=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(u in t)_.call(t,u)&&!k.hasOwnProperty(u)&&(i[u]=void 0===t[u]&&void 0!==l?l[u]:t[u])}var u=arguments.length-2;if(1===u)i.children=r;else if(1<u){l=Array(u);for(var c=0;c<u;c++)l[c]=arguments[c+2];i.children=l}return{$$typeof:n,type:e.type,key:o,ref:a,props:i,_owner:s}},t.createContext=function(e){return(e={$$typeof:l,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:s,_context:e},e.Consumer=e},t.createElement=C,t.createFactory=function(e){var t=C.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:u,render:e}},t.isValidElement=E,t.lazy=function(e){return{$$typeof:h,_payload:{_status:-1,_result:e},_init:P}},t.memo=function(e,t){return{$$typeof:f,type:e,compare:void 0===t?null:t}},t.startTransition=function(e){var t=D.transition;D.transition={};try{e()}finally{D.transition=t}},t.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},t.useCallback=function(e,t){return O.current.useCallback(e,t)},t.useContext=function(e){return O.current.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e){return O.current.useDeferredValue(e)},t.useEffect=function(e,t){return O.current.useEffect(e,t)},t.useId=function(){return O.current.useId()},t.useImperativeHandle=function(e,t,n){return O.current.useImperativeHandle(e,t,n)},t.useInsertionEffect=function(e,t){return O.current.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return O.current.useLayoutEffect(e,t)},t.useMemo=function(e,t){return O.current.useMemo(e,t)},t.useReducer=function(e,t,n){return O.current.useReducer(e,t,n)},t.useRef=function(e){return O.current.useRef(e)},t.useState=function(e){return O.current.useState(e)},t.useSyncExternalStore=function(e,t,n){return O.current.useSyncExternalStore(e,t,n)},t.useTransition=function(){return O.current.useTransition()},t.version="18.1.0"},6540:(e,t,n)=>{"use strict";e.exports=n(5287)},4848:(e,t,n)=>{"use strict";e.exports=n(1020)},7054:(e,t,n)=>{"use strict";var r,i,o="object"==typeof globalThis?globalThis:"object"==typeof self?self:"object"==typeof window?window:"object"==typeof n.g?n.g:{},a=(i=(r="Prism"in o)?o.Prism:void 0,function(){r?o.Prism=i:delete o.Prism,r=void 0,i=void 0});o.Prism={manual:!0,disableWorkerMessageHandler:!0};var s=n(702),l=n(9632),u=n(5235),c=n(9264),f=n(9137),h=n(3248),d=n(9283);a();var p={}.hasOwnProperty;function g(){}g.prototype=u;var m=new g;function b(e){if("function"!=typeof e||!e.displayName)throw new Error("Expected `function` for `grammar`, got `"+e+"`");void 0===m.languages[e.displayName]&&e(m)}e.exports=m,m.highlight=function(e,t){var n,r=u.highlight;if("string"!=typeof e)throw new Error("Expected `string` for `value`, got `"+e+"`");if("Object"===m.util.type(t))n=t,t=null;else{if("string"!=typeof t)throw new Error("Expected `string` for `name`, got `"+t+"`");if(!p.call(m.languages,t))throw new Error("Unknown language: `"+t+"` is not registered");n=m.languages[t]}return r.call(this,e,n,t)},m.register=b,m.alias=function(e,t){var n,r,i,o,a=m.languages,s=e;t&&((s={})[e]=t);for(n in s)for(r=s[n],i=(r="string"==typeof r?[r]:r).length,o=-1;++o<i;)a[r[o]]=a[n]},m.registered=function(e){if("string"!=typeof e)throw new Error("Expected `string` for `language`, got `"+e+"`");return p.call(m.languages,e)},m.listLanguages=function(){var e,t=m.languages,n=[];for(e in t)p.call(t,e)&&"object"==typeof t[e]&&n.push(e);return n},b(c),b(f),b(h),b(d),m.util.encode=function(e){return e},m.Token.stringify=function(e,t,n){var r;if("string"==typeof e)return{type:"text",value:e};if("Array"===m.util.type(e))return function(e,t){var n,r=[],i=e.length,o=-1;for(;++o<i;)""!==(n=e[o])&&null!=n&&r.push(n);o=-1,i=r.length;for(;++o<i;)n=r[o],r[o]=m.Token.stringify(n,t,r);return r}(e,t);r={type:e.type,content:m.Token.stringify(e.content,t,n),tag:"span",classes:["token",e.type],attributes:{},language:t,parent:n},e.alias&&(r.classes=r.classes.concat(e.alias));return m.hooks.run("wrap",r),s(r.tag+"."+r.classes.join("."),function(e){var t;for(t in e)e[t]=l(e[t]);return e}(r.attributes),r.content)}},3248:e=>{"use strict";function t(e){e.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/}}e.exports=t,t.displayName="clike",t.aliases=[]},9137:e=>{"use strict";function t(e){!function(e){var t=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;e.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-](?:[^;{\s]|\s+(?![\s{]))*(?:;|(?=\s*\{))/,inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+t.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+t.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+t.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:t,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},e.languages.css.atrule.inside.rest=e.languages.css;var n=e.languages.markup;n&&(n.tag.addInlined("style","css"),n.tag.addAttribute("style","css"))}(e)}e.exports=t,t.displayName="css",t.aliases=[]},9283:e=>{"use strict";function t(e){e.languages.javascript=e.languages.extend("clike",{"class-name":[e.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),e.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,e.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:e.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:e.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:e.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:e.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:e.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),e.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:e.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),e.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),e.languages.markup&&(e.languages.markup.tag.addInlined("script","javascript"),e.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),e.languages.js=e.languages.javascript}e.exports=t,t.displayName="javascript",t.aliases=["js"]},9264:e=>{"use strict";function t(e){e.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},e.languages.markup.tag.inside["attr-value"].inside.entity=e.languages.markup.entity,e.languages.markup.doctype.inside["internal-subset"].inside=e.languages.markup,e.hooks.add("wrap",(function(e){"entity"===e.type&&(e.attributes.title=e.content.value.replace(/&amp;/,"&"))})),Object.defineProperty(e.languages.markup.tag,"addInlined",{value:function(t,n){var r={};r["language-"+n]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:e.languages[n]},r.cdata=/^<!\[CDATA\[|\]\]>$/i;var i={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:r}};i["language-"+n]={pattern:/[\s\S]+/,inside:e.languages[n]};var o={};o[t]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,(function(){return t})),"i"),lookbehind:!0,greedy:!0,inside:i},e.languages.insertBefore("markup","cdata",o)}}),Object.defineProperty(e.languages.markup.tag,"addAttribute",{value:function(t,n){e.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+t+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[n,"language-"+n],inside:e.languages[n]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),e.languages.html=e.languages.markup,e.languages.mathml=e.languages.markup,e.languages.svg=e.languages.markup,e.languages.xml=e.languages.extend("markup",{}),e.languages.ssml=e.languages.xml,e.languages.atom=e.languages.xml,e.languages.rss=e.languages.xml}e.exports=t,t.displayName="markup",t.aliases=["html","mathml","svg","xml","ssml","atom","rss"]},3870:e=>{"use strict";function t(e){e.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},e.languages.python["string-interpolation"].inside.interpolation.inside.rest=e.languages.python,e.languages.py=e.languages.python}e.exports=t,t.displayName="python",t.aliases=["py"]},5235:(e,t,n)=>{var r=function(e){var t=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,n=0,r={},i={manual:e.Prism&&e.Prism.manual,disableWorkerMessageHandler:e.Prism&&e.Prism.disableWorkerMessageHandler,util:{encode:function e(t){return t instanceof o?new o(t.type,e(t.content),t.alias):Array.isArray(t)?t.map(e):t.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/\u00a0/g," ")},type:function(e){return Object.prototype.toString.call(e).slice(8,-1)},objId:function(e){return e.__id||Object.defineProperty(e,"__id",{value:++n}),e.__id},clone:function e(t,n){var r,o;switch(n=n||{},i.util.type(t)){case"Object":if(o=i.util.objId(t),n[o])return n[o];for(var a in r={},n[o]=r,t)t.hasOwnProperty(a)&&(r[a]=e(t[a],n));return r;case"Array":return o=i.util.objId(t),n[o]?n[o]:(r=[],n[o]=r,t.forEach((function(t,i){r[i]=e(t,n)})),r);default:return t}},getLanguage:function(e){for(;e;){var n=t.exec(e.className);if(n)return n[1].toLowerCase();e=e.parentElement}return"none"},setLanguage:function(e,n){e.className=e.className.replace(RegExp(t,"gi"),""),e.classList.add("language-"+n)},currentScript:function(){if("undefined"==typeof document)return null;if("currentScript"in document)return document.currentScript;try{throw new Error}catch(r){var e=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(r.stack)||[])[1];if(e){var t=document.getElementsByTagName("script");for(var n in t)if(t[n].src==e)return t[n]}return null}},isActive:function(e,t,n){for(var r="no-"+t;e;){var i=e.classList;if(i.contains(t))return!0;if(i.contains(r))return!1;e=e.parentElement}return!!n}},languages:{plain:r,plaintext:r,text:r,txt:r,extend:function(e,t){var n=i.util.clone(i.languages[e]);for(var r in t)n[r]=t[r];return n},insertBefore:function(e,t,n,r){var o=(r=r||i.languages)[e],a={};for(var s in o)if(o.hasOwnProperty(s)){if(s==t)for(var l in n)n.hasOwnProperty(l)&&(a[l]=n[l]);n.hasOwnProperty(s)||(a[s]=o[s])}var u=r[e];return r[e]=a,i.languages.DFS(i.languages,(function(t,n){n===u&&t!=e&&(this[t]=a)})),a},DFS:function e(t,n,r,o){o=o||{};var a=i.util.objId;for(var s in t)if(t.hasOwnProperty(s)){n.call(t,s,t[s],r||s);var l=t[s],u=i.util.type(l);"Object"!==u||o[a(l)]?"Array"!==u||o[a(l)]||(o[a(l)]=!0,e(l,n,s,o)):(o[a(l)]=!0,e(l,n,null,o))}}},plugins:{},highlightAll:function(e,t){i.highlightAllUnder(document,e,t)},highlightAllUnder:function(e,t,n){var r={callback:n,container:e,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};i.hooks.run("before-highlightall",r),r.elements=Array.prototype.slice.apply(r.container.querySelectorAll(r.selector)),i.hooks.run("before-all-elements-highlight",r);for(var o,a=0;o=r.elements[a++];)i.highlightElement(o,!0===t,r.callback)},highlightElement:function(t,n,r){var o=i.util.getLanguage(t),a=i.languages[o];i.util.setLanguage(t,o);var s=t.parentElement;s&&"pre"===s.nodeName.toLowerCase()&&i.util.setLanguage(s,o);var l={element:t,language:o,grammar:a,code:t.textContent};function u(e){l.highlightedCode=e,i.hooks.run("before-insert",l),l.element.innerHTML=l.highlightedCode,i.hooks.run("after-highlight",l),i.hooks.run("complete",l),r&&r.call(l.element)}if(i.hooks.run("before-sanity-check",l),(s=l.element.parentElement)&&"pre"===s.nodeName.toLowerCase()&&!s.hasAttribute("tabindex")&&s.setAttribute("tabindex","0"),!l.code)return i.hooks.run("complete",l),void(r&&r.call(l.element));if(i.hooks.run("before-highlight",l),l.grammar)if(n&&e.Worker){var c=new Worker(i.filename);c.onmessage=function(e){u(e.data)},c.postMessage(JSON.stringify({language:l.language,code:l.code,immediateClose:!0}))}else u(i.highlight(l.code,l.grammar,l.language));else u(i.util.encode(l.code))},highlight:function(e,t,n){var r={code:e,grammar:t,language:n};if(i.hooks.run("before-tokenize",r),!r.grammar)throw new Error('The language "'+r.language+'" has no grammar.');return r.tokens=i.tokenize(r.code,r.grammar),i.hooks.run("after-tokenize",r),o.stringify(i.util.encode(r.tokens),r.language)},tokenize:function(e,t){var n=t.rest;if(n){for(var r in n)t[r]=n[r];delete t.rest}var i=new l;return u(i,i.head,e),s(e,i,t,i.head,0),function(e){var t=[],n=e.head.next;for(;n!==e.tail;)t.push(n.value),n=n.next;return t}(i)},hooks:{all:{},add:function(e,t){var n=i.hooks.all;n[e]=n[e]||[],n[e].push(t)},run:function(e,t){var n=i.hooks.all[e];if(n&&n.length)for(var r,o=0;r=n[o++];)r(t)}},Token:o};function o(e,t,n,r){this.type=e,this.content=t,this.alias=n,this.length=0|(r||"").length}function a(e,t,n,r){e.lastIndex=t;var i=e.exec(n);if(i&&r&&i[1]){var o=i[1].length;i.index+=o,i[0]=i[0].slice(o)}return i}function s(e,t,n,r,l,f){for(var h in n)if(n.hasOwnProperty(h)&&n[h]){var d=n[h];d=Array.isArray(d)?d:[d];for(var p=0;p<d.length;++p){if(f&&f.cause==h+","+p)return;var g=d[p],m=g.inside,b=!!g.lookbehind,v=!!g.greedy,y=g.alias;if(v&&!g.pattern.global){var w=g.pattern.toString().match(/[imsuy]*$/)[0];g.pattern=RegExp(g.pattern.source,w+"g")}for(var x=g.pattern||g,_=r.next,S=l;_!==t.tail&&!(f&&S>=f.reach);S+=_.value.length,_=_.next){var k=_.value;if(t.length>e.length)return;if(!(k instanceof o)){var C,E=1;if(v){if(!(C=a(x,S,e,b))||C.index>=e.length)break;var I=C.index,M=C.index+C[0].length,T=S;for(T+=_.value.length;I>=T;)T+=(_=_.next).value.length;if(S=T-=_.value.length,_.value instanceof o)continue;for(var A=_;A!==t.tail&&(T<M||"string"==typeof A.value);A=A.next)E++,T+=A.value.length;E--,k=e.slice(S,T),C.index-=S}else if(!(C=a(x,0,k,b)))continue;I=C.index;var P=C[0],O=k.slice(0,I),D=k.slice(I+P.length),R=S+k.length;f&&R>f.reach&&(f.reach=R);var L=_.prev;if(O&&(L=u(t,L,O),S+=O.length),c(t,L,E),_=u(t,L,new o(h,m?i.tokenize(P,m):P,y,P)),D&&u(t,_,D),E>1){var N={cause:h+","+p,reach:R};s(e,t,n,_.prev,S,N),f&&N.reach>f.reach&&(f.reach=N.reach)}}}}}}function l(){var e={value:null,prev:null,next:null},t={value:null,prev:e,next:null};e.next=t,this.head=e,this.tail=t,this.length=0}function u(e,t,n){var r=t.next,i={value:n,prev:t,next:r};return t.next=i,r.prev=i,e.length++,i}function c(e,t,n){for(var r=t.next,i=0;i<n&&r!==e.tail;i++)r=r.next;t.next=r,r.prev=t,e.length-=i}if(e.Prism=i,o.stringify=function e(t,n){if("string"==typeof t)return t;if(Array.isArray(t)){var r="";return t.forEach((function(t){r+=e(t,n)})),r}var o={type:t.type,content:e(t.content,n),tag:"span",classes:["token",t.type],attributes:{},language:n},a=t.alias;a&&(Array.isArray(a)?Array.prototype.push.apply(o.classes,a):o.classes.push(a)),i.hooks.run("wrap",o);var s="";for(var l in o.attributes)s+=" "+l+'="'+(o.attributes[l]||"").replace(/"/g,"&quot;")+'"';return"<"+o.tag+' class="'+o.classes.join(" ")+'"'+s+">"+o.content+"</"+o.tag+">"},!e.document)return e.addEventListener?(i.disableWorkerMessageHandler||e.addEventListener("message",(function(t){var n=JSON.parse(t.data),r=n.language,o=n.code,a=n.immediateClose;e.postMessage(i.highlight(o,i.languages[r],r)),a&&e.close()}),!1),i):i;var f=i.util.currentScript();function h(){i.manual||i.highlightAll()}if(f&&(i.filename=f.src,f.hasAttribute("data-manual")&&(i.manual=!0)),!i.manual){var d=document.readyState;"loading"===d||"interactive"===d&&f&&f.defer?document.addEventListener("DOMContentLoaded",h):window.requestAnimationFrame?window.requestAnimationFrame(h):window.setTimeout(h,16)}return i}("undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{});e.exports&&(e.exports=r),void 0!==n.g&&(n.g.Prism=r)},3056:e=>{!function(){"use strict";var t,n,r=Function("return this")(),i="Boolean Number String Function Array Date RegExp Object".split(" "),o={};for(t in i)i.hasOwnProperty(t)&&(n=i[t],o["[object "+n+"]"]=n.toLowerCase());function a(e){return null==e?String(e):o[Object.prototype.toString.call(e)]||"object"}function s(e){var t,n;if("object"===a(e))for(t in e)if(void 0!==(n=e[t])&&"function"!==a(n))return!1;return!0}String.prototype.entityify||(String.prototype.entityify=function(){return this.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}),String.prototype.quote||(String.prototype.quote=function(){var e,t,n=this.length,r='"';for(t=0;t<n;t+=1)if((e=this.charAt(t))>=" ")"\\"!==e&&'"'!==e||(r+="\\"),r+=e;else switch(e){case"\b":r+="\\b";break;case"\f":r+="\\f";break;case"\n":r+="\\n";break;case"\r":r+="\\r";break;case"\t":r+="\\t";break;default:e=e.charCodeAt(),r+="\\u00"+Math.floor(e/16).toString(16)+(e%16).toString(16)}return r+'"'}),String.prototype.supplant||(String.prototype.supplant=function(e){return this.replace(/{([^{}]*)}/g,(function(t,n){var r=e[n];return"string"==typeof r||"number"==typeof r?r:t}))}),String.prototype.trim||(String.prototype.trim=function(){return this.replace(/^\s*(\S*(?:\s+\S+)*)\s*$/,"$1")}),e.exports={typeOf:a,isEmpty:s},r.typeOf=r.typeOf||a,r.isEmpty=r.isEmpty||s}()},8152:e=>{"use strict";e.exports=function(e){return e.split("\n").map((function(e){return e.trimRight()})).join("\n")}},7463:(e,t)=>{"use strict";function n(e,t){var n=e.length;e.push(t);e:for(;0<n;){var r=n-1>>>1,i=e[r];if(!(0<o(i,t)))break e;e[r]=t,e[n]=i,n=r}}function r(e){return 0===e.length?null:e[0]}function i(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,i=e.length,a=i>>>1;r<a;){var s=2*(r+1)-1,l=e[s],u=s+1,c=e[u];if(0>o(l,n))u<i&&0>o(c,l)?(e[r]=c,e[u]=n,r=u):(e[r]=l,e[s]=n,r=s);else{if(!(u<i&&0>o(c,n)))break e;e[r]=c,e[u]=n,r=u}}}return t}function o(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if("object"==typeof performance&&"function"==typeof performance.now){var a=performance;t.unstable_now=function(){return a.now()}}else{var s=Date,l=s.now();t.unstable_now=function(){return s.now()-l}}var u=[],c=[],f=1,h=null,d=3,p=!1,g=!1,m=!1,b="function"==typeof setTimeout?setTimeout:null,v="function"==typeof clearTimeout?clearTimeout:null,y="undefined"!=typeof setImmediate?setImmediate:null;function w(e){for(var t=r(c);null!==t;){if(null===t.callback)i(c);else{if(!(t.startTime<=e))break;i(c),t.sortIndex=t.expirationTime,n(u,t)}t=r(c)}}function x(e){if(m=!1,w(e),!g)if(null!==r(u))g=!0,D(_);else{var t=r(c);null!==t&&R(x,t.startTime-e)}}function _(e,n){g=!1,m&&(m=!1,v(E),E=-1),p=!0;var o=d;try{for(w(n),h=r(u);null!==h&&(!(h.expirationTime>n)||e&&!T());){var a=h.callback;if("function"==typeof a){h.callback=null,d=h.priorityLevel;var s=a(h.expirationTime<=n);n=t.unstable_now(),"function"==typeof s?h.callback=s:h===r(u)&&i(u),w(n)}else i(u);h=r(u)}if(null!==h)var l=!0;else{var f=r(c);null!==f&&R(x,f.startTime-n),l=!1}return l}finally{h=null,d=o,p=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var S,k=!1,C=null,E=-1,I=5,M=-1;function T(){return!(t.unstable_now()-M<I)}function A(){if(null!==C){var e=t.unstable_now();M=e;var n=!0;try{n=C(!0,e)}finally{n?S():(k=!1,C=null)}}else k=!1}if("function"==typeof y)S=function(){y(A)};else if("undefined"!=typeof MessageChannel){var P=new MessageChannel,O=P.port2;P.port1.onmessage=A,S=function(){O.postMessage(null)}}else S=function(){b(A,0)};function D(e){C=e,k||(k=!0,S())}function R(e,n){E=b((function(){e(t.unstable_now())}),n)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){g||p||(g=!0,D(_))},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):I=0<e?Math.floor(1e3/e):5},t.unstable_getCurrentPriorityLevel=function(){return d},t.unstable_getFirstCallbackNode=function(){return r(u)},t.unstable_next=function(e){switch(d){case 1:case 2:case 3:var t=3;break;default:t=d}var n=d;d=t;try{return e()}finally{d=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=d;d=e;try{return t()}finally{d=n}},t.unstable_scheduleCallback=function(e,i,o){var a=t.unstable_now();switch("object"==typeof o&&null!==o?o="number"==typeof(o=o.delay)&&0<o?a+o:a:o=a,e){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return e={id:f++,callback:i,priorityLevel:e,startTime:o,expirationTime:s=o+s,sortIndex:-1},o>a?(e.sortIndex=o,n(c,e),null===r(u)&&e===r(c)&&(m?(v(E),E=-1):m=!0,R(x,o-a))):(e.sortIndex=s,n(u,e),g||p||(g=!0,D(_))),e},t.unstable_shouldYield=T,t.unstable_wrapCallback=function(e){var t=d;return function(){var n=d;d=t;try{return e.apply(this,arguments)}finally{d=n}}}},9982:(e,t,n)=>{"use strict";e.exports=n(7463)},9872:(e,t,n)=>{"use strict";var r=n(6195),i=Array.prototype.concat,o=Array.prototype.slice,a=e.exports=function(e){for(var t=[],n=0,a=e.length;n<a;n++){var s=e[n];r(s)?t=i.call(t,o.call(s)):t.push(s)}return t};a.wrap=function(e){return function(){return e(a(arguments))}}},9108:(e,t,n)=>{var r=n(9788);e.exports=function(e,t){var n,i=null;if(!e||"string"!=typeof e)return i;for(var o,a,s=r(e),l="function"==typeof t,u=0,c=s.length;u<c;u++)o=(n=s[u]).property,a=n.value,l?t(o,a,n):a&&(i||(i={}),i[o]=a);return i}},6426:e=>{e.exports=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,n=[],r=0;r<e.rangeCount;r++)n.push(e.getRangeAt(r));switch(t.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":t.blur();break;default:t=null}return e.removeAllRanges(),function(){"Caret"===e.type&&e.removeAllRanges(),e.rangeCount||n.forEach((function(t){e.addRange(t)})),t&&t.focus()}}},1063:(e,t,n)=>{"use strict";var r=n(6540);var i="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},o=r.useState,a=r.useEffect,s=r.useLayoutEffect,l=r.useDebugValue;function u(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!i(e,n)}catch(e){return!0}}var c="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),r=o({inst:{value:n,getSnapshot:t}}),i=r[0].inst,c=r[1];return s((function(){i.value=n,i.getSnapshot=t,u(i)&&c({inst:i})}),[e,n,t]),a((function(){return u(i)&&c({inst:i}),e((function(){u(i)&&c({inst:i})}))}),[e]),l(n),n};t.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:c},8940:(e,t,n)=>{"use strict";var r=n(6540),i=n(9888);var o="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},a=i.useSyncExternalStore,s=r.useRef,l=r.useEffect,u=r.useMemo,c=r.useDebugValue;t.useSyncExternalStoreWithSelector=function(e,t,n,r,i){var f=s(null);if(null===f.current){var h={hasValue:!1,value:null};f.current=h}else h=f.current;f=u((function(){function e(e){if(!l){if(l=!0,a=e,e=r(e),void 0!==i&&h.hasValue){var t=h.value;if(i(t,e))return s=t}return s=e}if(t=s,o(a,e))return t;var n=r(e);return void 0!==i&&i(t,n)?t:(a=e,s=n)}var a,s,l=!1,u=void 0===n?null:n;return[function(){return e(t())},null===u?void 0:function(){return e(u())}]}),[t,n,r,i]);var d=a(e,f[0],f[1]);return l((function(){h.hasValue=!0,h.value=d}),[d]),c(d),d}},9888:(e,t,n)=>{"use strict";e.exports=n(1063)},9242:(e,t,n)=>{"use strict";e.exports=n(8940)},1723:e=>{e.exports=Worker},7510:e=>{e.exports=function(){for(var e={},n=0;n<arguments.length;n++){var r=arguments[n];for(var i in r)t.call(r,i)&&(e[i]=r[i])}return e};var t=Object.prototype.hasOwnProperty},1098:(e,t,n)=>{"use strict";function r(){return r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}n.d(t,{A:()=>r})},5566:(e,t,n)=>{"use strict";function r(e,t){return r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},r(e,t)}function i(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,r(e,t)}n.d(t,{A:()=>i})},2719:e=>{"use strict";e.exports=JSON.parse('{"AElig":"Æ","AMP":"&","Aacute":"Á","Acirc":"Â","Agrave":"À","Aring":"Å","Atilde":"Ã","Auml":"Ä","COPY":"©","Ccedil":"Ç","ETH":"Ð","Eacute":"É","Ecirc":"Ê","Egrave":"È","Euml":"Ë","GT":">","Iacute":"Í","Icirc":"Î","Igrave":"Ì","Iuml":"Ï","LT":"<","Ntilde":"Ñ","Oacute":"Ó","Ocirc":"Ô","Ograve":"Ò","Oslash":"Ø","Otilde":"Õ","Ouml":"Ö","QUOT":"\\"","REG":"®","THORN":"Þ","Uacute":"Ú","Ucirc":"Û","Ugrave":"Ù","Uuml":"Ü","Yacute":"Ý","aacute":"á","acirc":"â","acute":"´","aelig":"æ","agrave":"à","amp":"&","aring":"å","atilde":"ã","auml":"ä","brvbar":"¦","ccedil":"ç","cedil":"¸","cent":"¢","copy":"©","curren":"¤","deg":"°","divide":"÷","eacute":"é","ecirc":"ê","egrave":"è","eth":"ð","euml":"ë","frac12":"½","frac14":"¼","frac34":"¾","gt":">","iacute":"í","icirc":"î","iexcl":"¡","igrave":"ì","iquest":"¿","iuml":"ï","laquo":"«","lt":"<","macr":"¯","micro":"µ","middot":"·","nbsp":" ","not":"¬","ntilde":"ñ","oacute":"ó","ocirc":"ô","ograve":"ò","ordf":"ª","ordm":"º","oslash":"ø","otilde":"õ","ouml":"ö","para":"¶","plusmn":"±","pound":"£","quot":"\\"","raquo":"»","reg":"®","sect":"§","shy":"­","sup1":"¹","sup2":"²","sup3":"³","szlig":"ß","thorn":"þ","times":"×","uacute":"ú","ucirc":"û","ugrave":"ù","uml":"¨","uuml":"ü","yacute":"ý","yen":"¥","yuml":"ÿ"}')},1257:e=>{"use strict";e.exports=JSON.parse('{"0":"�","128":"€","130":"‚","131":"ƒ","132":"„","133":"…","134":"†","135":"‡","136":"ˆ","137":"‰","138":"Š","139":"‹","140":"Œ","142":"Ž","145":"‘","146":"’","147":"“","148":"”","149":"•","150":"–","151":"—","152":"˜","153":"™","154":"š","155":"›","156":"œ","158":"ž","159":"Ÿ"}')}},r={};function a(e){var t=r[e];if(void 0!==t)return t.exports;var i=r[e]={id:e,loaded:!1,exports:{}};return n[e].call(i.exports,i,i.exports,a),i.loaded=!0,i.exports}a.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return a.d(t,{a:t}),t},t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,a.t=function(n,r){if(1&r&&(n=this(n)),8&r)return n;if("object"==typeof n&&n){if(4&r&&n.__esModule)return n;if(16&r&&"function"==typeof n.then)return n}var i=Object.create(null);a.r(i);var o={};e=e||[null,t({}),t([]),t(t)];for(var s=2&r&&n;"object"==typeof s&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach((e=>o[e]=()=>n[e]));return o.default=()=>n,a.d(i,o),i},a.d=(e,t)=>{for(var n in t)a.o(t,n)&&!a.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},a.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),a.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),a.nc=void 0;return(()=>{"use strict";var e={};a.r(e),a.d(e,{hasBrowserEnv:()=>jS,hasStandardBrowserEnv:()=>FS,hasStandardBrowserWebWorkerEnv:()=>BS});var t={};a.r(t),a.d(t,{attentionMarkers:()=>EL,contentInitial:()=>wL,disable:()=>IL,document:()=>yL,flow:()=>_L,flowInitial:()=>xL,insideSpan:()=>CL,string:()=>SL,text:()=>kL});var n={};a.r(n),a.d(n,{boolean:()=>wN,booleanish:()=>xN,commaOrSpaceSeparated:()=>EN,commaSeparated:()=>CN,number:()=>SN,overloadedBoolean:()=>_N,spaceSeparated:()=>kN});var r={};a.r(r),a.d(r,{Arc:()=>hle,BezierCurve:()=>ule,BoundingRect:()=>$5,Circle:()=>Cse,CompoundPath:()=>ple,Ellipse:()=>Mse,Group:()=>X8,Image:()=>zee,IncrementalDisplayable:()=>Mle,Line:()=>ile,LinearGradient:()=>ble,OrientedBoundingRect:()=>Cle,Path:()=>Oee,Point:()=>O5,Polygon:()=>Zse,Polyline:()=>ele,RadialGradient:()=>yle,Rect:()=>qee,Ring:()=>qse,Sector:()=>Gse,Text:()=>ute,applyTransform:()=>Ule,clipPointsByRect:()=>Kle,clipRectByRect:()=>Zle,createIcon:()=>Qle,extendPath:()=>Rle,extendShape:()=>Ole,getShapeClass:()=>Nle,getTransform:()=>Wle,groupTransition:()=>Yle,initProps:()=>pne,isElementRemoved:()=>gne,lineLineIntersect:()=>eue,linePolygonIntersect:()=>Jle,makeImage:()=>Fle,makePath:()=>jle,mergePath:()=>Ble,registerShape:()=>Lle,removeElement:()=>mne,removeElementWithFadeOut:()=>vne,resizePath:()=>Vle,setTooltipConfig:()=>nue,subPixelOptimize:()=>Gle,subPixelOptimizeLine:()=>$le,subPixelOptimizeRect:()=>Hle,transformDirection:()=>qle,traverseElements:()=>iue,updateProps:()=>dne});var i=a(6540),o=a.t(i,2),s=a(5338);var l=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{n.insertRule(e,n.cssRules.length)}catch(e){0}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){return e.parentNode&&e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0},e}(),u=Math.abs,c=String.fromCharCode,f=Object.assign;function h(e){return e.trim()}function d(e,t,n){return e.replace(t,n)}function p(e,t){return e.indexOf(t)}function g(e,t){return 0|e.charCodeAt(t)}function m(e,t,n){return e.slice(t,n)}function b(e){return e.length}function v(e){return e.length}function y(e,t){return t.push(e),e}var w=1,x=1,_=0,S=0,k=0,C="";function E(e,t,n,r,i,o,a){return{value:e,root:t,parent:n,type:r,props:i,children:o,line:w,column:x,length:a,return:""}}function I(e,t){return f(E("",null,null,"",null,null,0),e,{length:-e.length},t)}function M(){return k=S>0?g(C,--S):0,x--,10===k&&(x=1,w--),k}function T(){return k=S<_?g(C,S++):0,x++,10===k&&(x=1,w++),k}function A(){return g(C,S)}function P(){return S}function O(e,t){return m(C,e,t)}function D(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function R(e){return w=x=1,_=b(C=e),S=0,[]}function L(e){return C="",e}function N(e){return h(O(S-1,z(91===e?e+2:40===e?e+1:e)))}function j(e){for(;(k=A())&&k<33;)T();return D(e)>2||D(k)>3?"":" "}function F(e,t){for(;--t&&T()&&!(k<48||k>102||k>57&&k<65||k>70&&k<97););return O(e,P()+(t<6&&32==A()&&32==T()))}function z(e){for(;T();)switch(k){case e:return S;case 34:case 39:34!==e&&39!==e&&z(k);break;case 40:41===e&&z(e);break;case 92:T()}return S}function B(e,t){for(;T()&&e+k!==57&&(e+k!==84||47!==A()););return"/*"+O(t,S-1)+"*"+c(47===e?e:T())}function V(e){for(;!D(A());)T();return O(e,S)}var $="-ms-",H="-moz-",G="-webkit-",W="comm",U="rule",q="decl",X="@keyframes";function Y(e,t){for(var n="",r=v(e),i=0;i<r;i++)n+=t(e[i],i,e,t)||"";return n}function K(e,t,n,r){switch(e.type){case"@import":case q:return e.return=e.return||e.value;case W:return"";case X:return e.return=e.value+"{"+Y(e.children,r)+"}";case U:e.value=e.props.join(",")}return b(n=Y(e.children,r))?e.return=e.value+"{"+n+"}":""}function Z(e,t){switch(function(e,t){return(((t<<2^g(e,0))<<2^g(e,1))<<2^g(e,2))<<2^g(e,3)}(e,t)){case 5103:return G+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return G+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return G+e+H+e+$+e+e;case 6828:case 4268:return G+e+$+e+e;case 6165:return G+e+$+"flex-"+e+e;case 5187:return G+e+d(e,/(\w+).+(:[^]+)/,"-webkit-box-$1$2-ms-flex-$1$2")+e;case 5443:return G+e+$+"flex-item-"+d(e,/flex-|-self/,"")+e;case 4675:return G+e+$+"flex-line-pack"+d(e,/align-content|flex-|-self/,"")+e;case 5548:return G+e+$+d(e,"shrink","negative")+e;case 5292:return G+e+$+d(e,"basis","preferred-size")+e;case 6060:return G+"box-"+d(e,"-grow","")+G+e+$+d(e,"grow","positive")+e;case 4554:return G+d(e,/([^-])(transform)/g,"$1-webkit-$2")+e;case 6187:return d(d(d(e,/(zoom-|grab)/,G+"$1"),/(image-set)/,G+"$1"),e,"")+e;case 5495:case 3959:return d(e,/(image-set\([^]*)/,G+"$1$`$1");case 4968:return d(d(e,/(.+:)(flex-)?(.*)/,"-webkit-box-pack:$3-ms-flex-pack:$3"),/s.+-b[^;]+/,"justify")+G+e+e;case 4095:case 3583:case 4068:case 2532:return d(e,/(.+)-inline(.+)/,G+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(b(e)-1-t>6)switch(g(e,t+1)){case 109:if(45!==g(e,t+4))break;case 102:return d(e,/(.+:)(.+)-([^]+)/,"$1-webkit-$2-$3$1"+H+(108==g(e,t+3)?"$3":"$2-$3"))+e;case 115:return~p(e,"stretch")?Z(d(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==g(e,t+1))break;case 6444:switch(g(e,b(e)-3-(~p(e,"!important")&&10))){case 107:return d(e,":",":"+G)+e;case 101:return d(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+G+(45===g(e,14)?"inline-":"")+"box$3$1"+G+"$2$3$1"+$+"$2box$3")+e}break;case 5936:switch(g(e,t+11)){case 114:return G+e+$+d(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return G+e+$+d(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return G+e+$+d(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return G+e+$+e+e}return e}function Q(e){return L(J("",null,null,null,[""],e=R(e),0,[0],e))}function J(e,t,n,r,i,o,a,s,l){for(var u=0,f=0,h=a,g=0,m=0,v=0,w=1,x=1,_=1,S=0,k="",C=i,E=o,I=r,O=k;x;)switch(v=S,S=T()){case 40:if(108!=v&&58==O.charCodeAt(h-1)){-1!=p(O+=d(N(S),"&","&\f"),"&\f")&&(_=-1);break}case 34:case 39:case 91:O+=N(S);break;case 9:case 10:case 13:case 32:O+=j(v);break;case 92:O+=F(P()-1,7);continue;case 47:switch(A()){case 42:case 47:y(te(B(T(),P()),t,n),l);break;default:O+="/"}break;case 123*w:s[u++]=b(O)*_;case 125*w:case 59:case 0:switch(S){case 0:case 125:x=0;case 59+f:m>0&&b(O)-h&&y(m>32?ne(O+";",r,n,h-1):ne(d(O," ","")+";",r,n,h-2),l);break;case 59:O+=";";default:if(y(I=ee(O,t,n,u,f,i,s,k,C=[],E=[],h),o),123===S)if(0===f)J(O,t,I,I,C,o,h,s,E);else switch(g){case 100:case 109:case 115:J(e,I,I,r&&y(ee(e,I,I,0,0,i,s,k,i,C=[],h),E),i,E,h,s,r?C:E);break;default:J(O,I,I,I,[""],E,0,s,E)}}u=f=m=0,w=_=1,k=O="",h=a;break;case 58:h=1+b(O),m=v;default:if(w<1)if(123==S)--w;else if(125==S&&0==w++&&125==M())continue;switch(O+=c(S),S*w){case 38:_=f>0?1:(O+="\f",-1);break;case 44:s[u++]=(b(O)-1)*_,_=1;break;case 64:45===A()&&(O+=N(T())),g=A(),f=h=b(k=O+=V(P())),S++;break;case 45:45===v&&2==b(O)&&(w=0)}}return o}function ee(e,t,n,r,i,o,a,s,l,c,f){for(var p=i-1,g=0===i?o:[""],b=v(g),y=0,w=0,x=0;y<r;++y)for(var _=0,S=m(e,p+1,p=u(w=a[y])),k=e;_<b;++_)(k=h(w>0?g[_]+" "+S:d(S,/&\f/g,g[_])))&&(l[x++]=k);return E(e,t,n,0===i?U:s,l,c,f)}function te(e,t,n){return E(e,t,n,W,c(k),m(e,2,-2),0)}function ne(e,t,n,r){return E(e,t,n,q,m(e,0,r),m(e,r+1,-1),r)}var re=function(e,t,n){for(var r=0,i=0;r=i,i=A(),38===r&&12===i&&(t[n]=1),!D(i);)T();return O(e,S)},ie=function(e,t){return L(function(e,t){var n=-1,r=44;do{switch(D(r)){case 0:38===r&&12===A()&&(t[n]=1),e[n]+=re(S-1,t,n);break;case 2:e[n]+=N(r);break;case 4:if(44===r){e[++n]=58===A()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=c(r)}}while(r=T());return e}(R(e),t))},oe=new WeakMap,ae=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||oe.get(n))&&!r){oe.set(e,!0);for(var i=[],o=ie(t,i),a=n.props,s=0,l=0;s<o.length;s++)for(var u=0;u<a.length;u++,l++)e.props[l]=i[s]?o[s].replace(/&\f/g,a[u]):a[u]+" "+o[s]}}},se=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}},le=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case q:e.return=Z(e.value,e.length);break;case X:return Y([I(e,{value:d(e.value,"@","@"+G)})],r);case U:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e,t){return(e=t.exec(e))?e[0]:e}(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Y([I(e,{props:[d(t,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return Y([I(e,{props:[d(t,/:(plac\w+)/,":-webkit-input-$1")]}),I(e,{props:[d(t,/:(plac\w+)/,":-moz-$1")]}),I(e,{props:[d(t,/:(plac\w+)/,$+"input-$1")]})],r)}return""}))}}];const ue=function(e){var t=e.key;if("css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var r=e.stylisPlugins||le;var i,o,a={},s=[];i=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n<t.length;n++)a[t[n]]=!0;s.push(e)}));var u,c,f,h,d=[K,(h=function(e){u.insert(e)},function(e){e.root||(e=e.return)&&h(e)})],p=(c=[ae,se].concat(r,d),f=v(c),function(e,t,n,r){for(var i="",o=0;o<f;o++)i+=c[o](e,t,n,r)||"";return i});o=function(e,t,n,r){u=n,function(e){Y(Q(e),p)}(e?e+"{"+t.styles+"}":t.styles),r&&(g.inserted[t.name]=!0)};var g={key:t,sheet:new l({key:t,container:i,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:a,registered:{},insert:o};return g.sheet.hydrate(s),g};var ce,fe=a(4739);function he(){return he=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},he.apply(this,arguments)}!function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"}(ce||(ce={}));var de=function(e){return e};var pe="beforeunload",ge="popstate";function me(e){e.preventDefault(),e.returnValue=""}function be(){var e=[];return{get length(){return e.length},push:function(t){return e.push(t),function(){e=e.filter((function(e){return e!==t}))}},call:function(t){e.forEach((function(e){return e&&e(t)}))}}}function ve(){return Math.random().toString(36).substr(2,8)}function ye(e){var t=e.pathname,n=void 0===t?"/":t,r=e.search,i=void 0===r?"":r,o=e.hash,a=void 0===o?"":o;return i&&"?"!==i&&(n+="?"===i.charAt(0)?i:"?"+i),a&&"#"!==a&&(n+="#"===a.charAt(0)?a:"#"+a),n}function we(e){var t={};if(e){var n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));var r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}const xe=(0,i.createContext)(null);const _e=(0,i.createContext)(null);const Se=(0,i.createContext)({outlet:null,matches:[]});function ke(e,t){if(!e)throw new Error(t)}function Ce(e,t,n){let r,i="string"==typeof e?we(e):e,o=""===e||""===i.pathname?"/":i.pathname;if(null==o)r=n;else{let e=t.length-1;if(o.startsWith("..")){let t=o.split("/");for(;".."===t[0];)t.shift(),e-=1;i.pathname=t.join("/")}r=e>=0?t[e]:"/"}let a=function(e,t){void 0===t&&(t="/");let{pathname:n,search:r="",hash:i=""}="string"==typeof e?we(e):e,o=n?n.startsWith("/")?n:function(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach((e=>{".."===e?n.length>1&&n.pop():"."!==e&&n.push(e)})),n.length>1?n.join("/"):"/"}(n,t):t;return{pathname:o,search:Te(r),hash:Ae(i)}}(i,r);return o&&"/"!==o&&o.endsWith("/")&&!a.pathname.endsWith("/")&&(a.pathname+="/"),a}function Ee(e,t){if("/"===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=e.charAt(t.length);return n&&"/"!==n?null:e.slice(t.length)||"/"}const Ie=e=>e.join("/").replace(/\/\/+/g,"/"),Me=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),Te=e=>e&&"?"!==e?e.startsWith("?")?e:"?"+e:"",Ae=e=>e&&"#"!==e?e.startsWith("#")?e:"#"+e:"";function Pe(){return null!=(0,i.useContext)(_e)}function Oe(){return Pe()||ke(!1),(0,i.useContext)(_e).location}function De(){Pe()||ke(!1);let{basename:e,navigator:t}=(0,i.useContext)(xe),{matches:n}=(0,i.useContext)(Se),{pathname:r}=Oe(),o=JSON.stringify(n.map((e=>e.pathnameBase))),a=(0,i.useRef)(!1);(0,i.useEffect)((()=>{a.current=!0}));let s=(0,i.useCallback)((function(n,i){if(void 0===i&&(i={}),!a.current)return;if("number"==typeof n)return void t.go(n);let s=Ce(n,JSON.parse(o),r);"/"!==e&&(s.pathname=Ie([e,s.pathname])),(i.replace?t.replace:t.push)(s,i.state)}),[e,t,o,r]);return s}function Re(e){let{basename:t="/",children:n=null,location:r,navigationType:o=ce.Pop,navigator:a,static:s=!1}=e;Pe()&&ke(!1);let l=Me(t),u=(0,i.useMemo)((()=>({basename:l,navigator:a,static:s})),[l,a,s]);"string"==typeof r&&(r=we(r));let{pathname:c="/",search:f="",hash:h="",state:d=null,key:p="default"}=r,g=(0,i.useMemo)((()=>{let e=Ee(c,l);return null==e?null:{pathname:e,search:f,hash:h,state:d,key:p}}),[l,c,f,h,d,p]);return null==g?null:(0,i.createElement)(xe.Provider,{value:u},(0,i.createElement)(_e.Provider,{children:n,value:{location:g,navigationType:o}}))}function Le(e){let{basename:t,children:n,window:r}=e,o=(0,i.useRef)();null==o.current&&(o.current=function(e){void 0===e&&(e={});var t=e.window,n=void 0===t?document.defaultView:t,r=n.history;function i(){var e=n.location,t=e.pathname,i=e.search,o=e.hash,a=r.state||{};return[a.idx,de({pathname:t,search:i,hash:o,state:a.usr||null,key:a.key||"default"})]}var o=null;n.addEventListener(ge,(function(){if(o)f.call(o),o=null;else{var e=ce.Pop,t=i(),n=t[0],r=t[1];if(f.length){if(null!=n){var a=l-n;a&&(o={action:e,location:r,retry:function(){b(-1*a)}},b(a))}}else m(e)}}));var a=ce.Pop,s=i(),l=s[0],u=s[1],c=be(),f=be();function h(e){return"string"==typeof e?e:ye(e)}function d(e,t){return void 0===t&&(t=null),de(he({pathname:u.pathname,hash:"",search:""},"string"==typeof e?we(e):e,{state:t,key:ve()}))}function p(e,t){return[{usr:e.state,key:e.key,idx:t},h(e)]}function g(e,t,n){return!f.length||(f.call({action:e,location:t,retry:n}),!1)}function m(e){a=e;var t=i();l=t[0],u=t[1],c.call({action:a,location:u})}function b(e){r.go(e)}null==l&&(l=0,r.replaceState(he({},r.state,{idx:l}),""));var v={get action(){return a},get location(){return u},createHref:h,push:function e(t,i){var o=ce.Push,a=d(t,i);if(g(o,a,(function(){e(t,i)}))){var s=p(a,l+1),u=s[0],c=s[1];try{r.pushState(u,"",c)}catch(e){n.location.assign(c)}m(o)}},replace:function e(t,n){var i=ce.Replace,o=d(t,n);if(g(i,o,(function(){e(t,n)}))){var a=p(o,l),s=a[0],u=a[1];r.replaceState(s,"",u),m(i)}},go:b,back:function(){b(-1)},forward:function(){b(1)},listen:function(e){return c.push(e)},block:function(e){var t=f.push(e);return 1===f.length&&n.addEventListener(pe,me),function(){t(),f.length||n.removeEventListener(pe,me)}}};return v}({window:r}));let a=o.current,[s,l]=(0,i.useState)({action:a.action,location:a.location});return(0,i.useLayoutEffect)((()=>a.listen(l)),[a]),(0,i.createElement)(Re,{basename:t,children:n,location:s.location,navigationType:s.action,navigator:a})}function Ne(e){let t=(0,i.useRef)(je(e)),n=Oe(),r=(0,i.useMemo)((()=>{let e=je(n.search);for(let n of t.current.keys())e.has(n)||t.current.getAll(n).forEach((t=>{e.append(n,t)}));return e}),[n.search]),o=De();return[r,(0,i.useCallback)(((e,t)=>{o("?"+je(e),t)}),[o])]}function je(e){return void 0===e&&(e=""),new URLSearchParams("string"==typeof e||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce(((t,n)=>{let r=e[n];return t.concat(Array.isArray(r)?r.map((e=>[n,e])):[[n,r]])}),[]))}function Fe(){return Fe=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Fe.apply(this,arguments)}const ze=function(e){var t=new WeakMap;return function(n){if(t.has(n))return t.get(n);var r=e(n);return t.set(n,r),r}};function Be(e,t,n){var r="";return n.split(" ").forEach((function(n){void 0!==e[n]?t.push(e[n]+";"):r+=n+" "})),r}var Ve=function(e,t,n){var r=e.key+"-"+t.name;!1===n&&void 0===e.registered[r]&&(e.registered[r]=t.styles)},$e=function(e,t,n){Ve(e,t,n);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var i=t;do{e.insert(t===i?"."+r:"",i,e.sheet,!0);i=i.next}while(void 0!==i)}};const He=function(e){for(var t,n=0,r=0,i=e.length;i>=4;++r,i-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(i){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)};const Ge={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};const We=function(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}};var Ue=/[A-Z]|^ms/g,qe=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Xe=function(e){return 45===e.charCodeAt(1)},Ye=function(e){return null!=e&&"boolean"!=typeof e},Ke=We((function(e){return Xe(e)?e:e.replace(Ue,"-$&").toLowerCase()})),Ze=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(qe,(function(e,t,n){return Je={name:t,styles:n,next:Je},t}))}return 1===Ge[e]||Xe(e)||"number"!=typeof t||0===t?t:t+"px"};function Qe(e,t,n){if(null==n)return"";if(void 0!==n.__emotion_styles)return n;switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return Je={name:n.name,styles:n.styles,next:Je},n.name;if(void 0!==n.styles){var r=n.next;if(void 0!==r)for(;void 0!==r;)Je={name:r.name,styles:r.styles,next:Je},r=r.next;return n.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var i=0;i<n.length;i++)r+=Qe(e,t,n[i])+";";else for(var o in n){var a=n[o];if("object"!=typeof a)null!=t&&void 0!==t[a]?r+=o+"{"+t[a]+"}":Ye(a)&&(r+=Ke(o)+":"+Ze(o,a)+";");else if(!Array.isArray(a)||"string"!=typeof a[0]||null!=t&&void 0!==t[a[0]]){var s=Qe(e,t,a);switch(o){case"animation":case"animationName":r+=Ke(o)+":"+s+";";break;default:r+=o+"{"+s+"}"}}else for(var l=0;l<a.length;l++)Ye(a[l])&&(r+=Ke(o)+":"+Ze(o,a[l])+";")}return r}(e,t,n);case"function":if(void 0!==e){var i=Je,o=n(e);return Je=i,Qe(e,t,o)}}if(null==t)return n;var a=t[n];return void 0!==a?a:n}var Je,et=/label:\s*([^\s;\n{]+)\s*(;|$)/g;var tt=function(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var r=!0,i="";Je=void 0;var o=e[0];null==o||void 0===o.raw?(r=!1,i+=Qe(n,t,o)):i+=o[0];for(var a=1;a<e.length;a++)i+=Qe(n,t,e[a]),r&&(i+=o[a]);et.lastIndex=0;for(var s,l="";null!==(s=et.exec(i));)l+="-"+s[1];return{name:He(i)+l,styles:i,next:Je}},nt={}.hasOwnProperty,rt=(0,i.createContext)("undefined"!=typeof HTMLElement?ue({key:"css"}):null);var it=rt.Provider,ot=function(e){return(0,i.forwardRef)((function(t,n){var r=(0,i.useContext)(rt);return e(t,r,n)}))},at=(0,i.createContext)({});var st=ze((function(e){return ze((function(t){return function(e,t){return"function"==typeof t?t(e):Fe({},e,t)}(e,t)}))})),lt=function(e){var t=(0,i.useContext)(at);return e.theme!==t&&(t=st(t)(e.theme)),(0,i.createElement)(at.Provider,{value:t},e.children)};var ut=o.useInsertionEffect?o.useInsertionEffect:function(e){e()};function ct(e){ut(e)}var ft="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",ht=function(e,t){var n={};for(var r in t)nt.call(t,r)&&(n[r]=t[r]);return n[ft]=e,n},dt=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;Ve(t,n,r);ct((function(){return $e(t,n,r)}));return null},pt=ot((function(e,t,n){var r=e.css;"string"==typeof r&&void 0!==t.registered[r]&&(r=t.registered[r]);var o=e[ft],a=[r],s="";"string"==typeof e.className?s=Be(t.registered,a,e.className):null!=e.className&&(s=e.className+" ");var l=tt(a,void 0,(0,i.useContext)(at));s+=t.key+"-"+l.name;var u={};for(var c in e)nt.call(e,c)&&"css"!==c&&c!==ft&&(u[c]=e[c]);return u.ref=n,u.className=s,(0,i.createElement)(i.Fragment,null,(0,i.createElement)(dt,{cache:t,serialized:l,isStringTag:"string"==typeof o}),(0,i.createElement)(o,u))}));a(4146);var gt=function(e,t){var n=arguments;if(null==t||!nt.call(t,"css"))return i.createElement.apply(void 0,n);var r=n.length,o=new Array(r);o[0]=pt,o[1]=ht(e,t);for(var a=2;a<r;a++)o[a]=n[a];return i.createElement.apply(null,o)},mt=o.useInsertionEffect?o.useInsertionEffect:i.useLayoutEffect,bt=ot((function(e,t){var n=e.styles,r=tt([n],void 0,(0,i.useContext)(at)),o=(0,i.useRef)();return mt((function(){var e=t.key+"-global",n=new t.sheet.constructor({key:e,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),i=!1,a=document.querySelector('style[data-emotion="'+e+" "+r.name+'"]');return t.sheet.tags.length&&(n.before=t.sheet.tags[0]),null!==a&&(i=!0,a.setAttribute("data-emotion",e),n.hydrate([a])),o.current=[n,i],function(){n.flush()}}),[t]),mt((function(){var e=o.current,n=e[0];if(e[1])e[1]=!1;else{if(void 0!==r.next&&$e(t,r.next,!0),n.tags.length){var i=n.tags[n.tags.length-1].nextElementSibling;n.before=i,n.flush()}t.insert("",r,n,!1)}}),[t,r.name]),null}));function vt(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return tt(t)}var yt=function(){var e=vt.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}},wt=function e(t){for(var n=t.length,r=0,i="";r<n;r++){var o=t[r];if(null!=o){var a=void 0;switch(typeof o){case"boolean":break;case"object":if(Array.isArray(o))a=e(o);else for(var s in a="",o)o[s]&&s&&(a&&(a+=" "),a+=s);break;default:a=o}a&&(i&&(i+=" "),i+=a)}}return i};function xt(e,t,n){var r=[],i=Be(e,r,n);return r.length<2?n:i+t(r)}var _t=function(e){var t=e.cache,n=e.serializedArr;ct((function(){for(var e=0;e<n.length;e++)$e(t,n[e],!1)}));return null},St=ot((function(e,t){var n=[],r=function(){for(var e=arguments.length,r=new Array(e),i=0;i<e;i++)r[i]=arguments[i];var o=tt(r,t.registered);return n.push(o),Ve(t,o,!1),t.key+"-"+o.name},o={css:r,cx:function(){for(var e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];return xt(t.registered,r,wt(n))},theme:(0,i.useContext)(at)},a=e.children(o);return!0,(0,i.createElement)(i.Fragment,null,(0,i.createElement)(_t,{cache:t,serializedArr:n}),a)}));var kt="\n :root {\n --chakra-vh: 100vh;\n }\n\n @supports (height: -webkit-fill-available) {\n :root {\n --chakra-vh: -webkit-fill-available;\n }\n }\n\n @supports (height: -moz-fill-available) {\n :root {\n --chakra-vh: -moz-fill-available;\n }\n }\n\n @supports (height: 100dvh) {\n :root {\n --chakra-vh: 100dvh;\n }\n }\n",Ct=()=>i.createElement(bt,{styles:kt}),Et=()=>i.createElement(bt,{styles:`\n html {\n line-height: 1.5;\n -webkit-text-size-adjust: 100%;\n font-family: system-ui, sans-serif;\n -webkit-font-smoothing: antialiased;\n text-rendering: optimizeLegibility;\n -moz-osx-font-smoothing: grayscale;\n touch-action: manipulation;\n }\n\n body {\n position: relative;\n min-height: 100%;\n font-feature-settings: 'kern';\n }\n\n *,\n *::before,\n *::after {\n border-width: 0;\n border-style: solid;\n box-sizing: border-box;\n }\n\n main {\n display: block;\n }\n\n hr {\n border-top-width: 1px;\n box-sizing: content-box;\n height: 0;\n overflow: visible;\n }\n\n pre,\n code,\n kbd,\n samp {\n font-family: SFMono-Regular, Menlo, Monaco, Consolas, monospace;\n font-size: 1em;\n }\n\n a {\n background-color: transparent;\n color: inherit;\n text-decoration: inherit;\n }\n\n abbr[title] {\n border-bottom: none;\n text-decoration: underline;\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted;\n }\n\n b,\n strong {\n font-weight: bold;\n }\n\n small {\n font-size: 80%;\n }\n\n sub,\n sup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n }\n\n sub {\n bottom: -0.25em;\n }\n\n sup {\n top: -0.5em;\n }\n\n img {\n border-style: none;\n }\n\n button,\n input,\n optgroup,\n select,\n textarea {\n font-family: inherit;\n font-size: 100%;\n line-height: 1.15;\n margin: 0;\n }\n\n button,\n input {\n overflow: visible;\n }\n\n button,\n select {\n text-transform: none;\n }\n\n button::-moz-focus-inner,\n [type="button"]::-moz-focus-inner,\n [type="reset"]::-moz-focus-inner,\n [type="submit"]::-moz-focus-inner {\n border-style: none;\n padding: 0;\n }\n\n fieldset {\n padding: 0.35em 0.75em 0.625em;\n }\n\n legend {\n box-sizing: border-box;\n color: inherit;\n display: table;\n max-width: 100%;\n padding: 0;\n white-space: normal;\n }\n\n progress {\n vertical-align: baseline;\n }\n\n textarea {\n overflow: auto;\n }\n\n [type="checkbox"],\n [type="radio"] {\n box-sizing: border-box;\n padding: 0;\n }\n\n [type="number"]::-webkit-inner-spin-button,\n [type="number"]::-webkit-outer-spin-button {\n -webkit-appearance: none !important;\n }\n\n input[type="number"] {\n -moz-appearance: textfield;\n }\n\n [type="search"] {\n -webkit-appearance: textfield;\n outline-offset: -2px;\n }\n\n [type="search"]::-webkit-search-decoration {\n -webkit-appearance: none !important;\n }\n\n ::-webkit-file-upload-button {\n -webkit-appearance: button;\n font: inherit;\n }\n\n details {\n display: block;\n }\n\n summary {\n display: list-item;\n }\n\n template {\n display: none;\n }\n\n [hidden] {\n display: none !important;\n }\n\n body,\n blockquote,\n dl,\n dd,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n hr,\n figure,\n p,\n pre {\n margin: 0;\n }\n\n button {\n background: transparent;\n padding: 0;\n }\n\n fieldset {\n margin: 0;\n padding: 0;\n }\n\n ol,\n ul {\n margin: 0;\n padding: 0;\n }\n\n textarea {\n resize: vertical;\n }\n\n button,\n [role="button"] {\n cursor: pointer;\n }\n\n button::-moz-focus-inner {\n border: 0 !important;\n }\n\n table {\n border-collapse: collapse;\n }\n\n h1,\n h2,\n h3,\n h4,\n h5,\n h6 {\n font-size: inherit;\n font-weight: inherit;\n }\n\n button,\n input,\n optgroup,\n select,\n textarea {\n padding: 0;\n line-height: inherit;\n color: inherit;\n }\n\n img,\n svg,\n video,\n canvas,\n audio,\n iframe,\n embed,\n object {\n display: block;\n }\n\n img,\n video {\n max-width: 100%;\n height: auto;\n }\n\n [data-js-focus-visible] :focus:not([data-focus-visible-added]):not([data-focus-visible-disabled]) {\n outline: none;\n box-shadow: none;\n }\n\n select::-ms-expand {\n display: none;\n }\n\n ${kt}\n `});function It(e={}){const{name:t,strict:n=!0,hookName:r="useContext",providerName:o="Provider",errorMessage:a}=e,s=(0,i.createContext)(void 0);return s.displayName=t,[s.Provider,function e(){var t;const l=(0,i.useContext)(s);if(!l&&n){const n=new Error(a??`${r} returned \`undefined\`. Seems you forgot to wrap component within ${o}`);throw n.name="ContextError",null==(t=Error.captureStackTrace)||t.call(Error,n,e),n}return l},s]}var Mt=Boolean(null==globalThis?void 0:globalThis.document)?i.useLayoutEffect:i.useEffect,Tt=a(961),[At,Pt]=It({strict:!1,name:"PortalManagerContext"});function Ot(e){const{children:t,zIndex:n}=e;return i.createElement(At,{value:{zIndex:n}},t)}Ot.displayName="PortalManager";var[Dt,Rt]=It({strict:!1,name:"PortalContext"}),Lt="chakra-portal",Nt=e=>i.createElement("div",{className:"chakra-portal-zIndex",style:{position:"absolute",zIndex:e.zIndex,top:0,left:0,right:0}},e.children),jt=e=>{const{appendToParentPortal:t,children:n}=e,[r,o]=(0,i.useState)(null),a=(0,i.useRef)(null),[,s]=(0,i.useState)({});(0,i.useEffect)((()=>s({})),[]);const l=Rt(),u=Pt();Mt((()=>{if(!r)return;const e=r.ownerDocument,n=t?l??e.body:e.body;if(!n)return;a.current=e.createElement("div"),a.current.className=Lt,n.appendChild(a.current),s({});const i=a.current;return()=>{n.contains(i)&&n.removeChild(i)}}),[r]);const c=(null==u?void 0:u.zIndex)?i.createElement(Nt,{zIndex:null==u?void 0:u.zIndex},n):n;return a.current?(0,Tt.createPortal)(i.createElement(Dt,{value:a.current},c),a.current):i.createElement("span",{ref:e=>{e&&o(e)}})},Ft=e=>{const{children:t,containerRef:n,appendToParentPortal:r}=e,o=n.current,a=o??("undefined"!=typeof window?document.body:void 0),s=(0,i.useMemo)((()=>{const e=null==o?void 0:o.ownerDocument.createElement("div");return e&&(e.className=Lt),e}),[o]),[,l]=(0,i.useState)({});return Mt((()=>l({})),[]),Mt((()=>{if(s&&a)return a.appendChild(s),()=>{a.removeChild(s)}}),[s,a]),a&&s?(0,Tt.createPortal)(i.createElement(Dt,{value:r?s:null},t),s):null};function zt(e){const{containerRef:t,...n}=e;return t?i.createElement(Ft,{containerRef:t,...n}):i.createElement(jt,{...n})}zt.defaultProps={appendToParentPortal:!0},zt.className=Lt,zt.selector=".chakra-portal",zt.displayName="Portal";var Bt=(0,i.createContext)({});function Vt(){const e=(0,i.useContext)(Bt);if(void 0===e)throw new Error("useColorMode must be used within a ColorModeProvider");return e}function $t(e,t){const{colorMode:n}=Vt();return"dark"===n?t:e}Bt.displayName="ColorModeContext";var Ht="chakra-ui-light",Gt="chakra-ui-dark";var Wt="chakra-ui-color-mode";var Ut,qt=(Ut=Wt,{ssr:!1,type:"localStorage",get(e){if(!(null==globalThis?void 0:globalThis.document))return e;let t;try{t=localStorage.getItem(Ut)||e}catch(e){}return t||e},set(e){try{localStorage.setItem(Ut,e)}catch(e){}}});function Xt(e,t){const n=e.match(new RegExp(`(^| )${t}=([^;]+)`));return null==n?void 0:n[2]}function Yt(e,t){return{ssr:!!t,type:"cookie",get:n=>t?Xt(t,e):(null==globalThis?void 0:globalThis.document)&&Xt(document.cookie,e)||n,set(t){document.cookie=`${e}=${t}; max-age=31536000; path=/`}}}Yt(Wt);var Kt=()=>{};function Zt(e,t){return"cookie"===e.type&&e.ssr?e.get(t):t}function Qt(e){const{value:t,children:n,options:{useSystemColorMode:r,initialColorMode:o,disableTransitionOnChange:a}={},colorModeManager:s=qt}=e,l="dark"===o?"dark":"light",[u,c]=(0,i.useState)((()=>Zt(s,l))),[f,h]=(0,i.useState)((()=>Zt(s))),{getSystemTheme:d,setClassName:p,setDataset:g,addListener:m}=(0,i.useMemo)((()=>function(e={}){const{preventTransition:t=!0}=e,n={setDataset:e=>{const r=t?n.preventTransition():void 0;document.documentElement.dataset.theme=e,document.documentElement.style.colorScheme=e,null==r||r()},setClassName(e){document.body.classList.add(e?Gt:Ht),document.body.classList.remove(e?Ht:Gt)},query:()=>window.matchMedia("(prefers-color-scheme: dark)"),getSystemTheme:e=>n.query().matches??"dark"===e?"dark":"light",addListener(e){const t=n.query(),r=t=>{e(t.matches?"dark":"light")};return"function"==typeof t.addListener?t.addListener(r):t.addEventListener("change",r),()=>{"function"==typeof t.removeListener?t.removeListener(r):t.removeEventListener("change",r)}},preventTransition(){const e=document.createElement("style");return e.appendChild(document.createTextNode("*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),document.head.appendChild(e),()=>{window.getComputedStyle(document.body),requestAnimationFrame((()=>{requestAnimationFrame((()=>{document.head.removeChild(e)}))}))}}};return n}({preventTransition:a})),[a]),b="system"!==o||u?u:f,v=(0,i.useCallback)((e=>{const t="system"===e?d():e;c(t),p("dark"===t),g(t),s.set(t)}),[s,d,p,g]);Mt((()=>{"system"===o&&h(d())}),[]),(0,i.useEffect)((()=>{const e=s.get();v(e||("system"!==o?l:"system"))}),[s,l,o,v]);const y=(0,i.useCallback)((()=>{v("dark"===b?"light":"dark")}),[b,v]);(0,i.useEffect)((()=>{if(r)return m(v)}),[r,m,v]);const w=(0,i.useMemo)((()=>({colorMode:t??b,toggleColorMode:t?Kt:y,setColorMode:t?Kt:v,forced:void 0!==t})),[b,y,v,t]);return i.createElement(Bt.Provider,{value:w},n)}Qt.displayName="ColorModeProvider";var Jt=a(8394),en=a.n(Jt);function tn(e){const t=typeof e;return null!=e&&("object"===t||"function"===t)&&!Array.isArray(e)}function nn(e,...t){return rn(e)?e(...t):e}var rn=e=>"function"==typeof e,on=e=>"string"==typeof e?e.replace(/!(important)?$/,"").trim():e,an=(e,t)=>n=>{const r=String(t),i=(e=>/!(important)?$/.test(e))(r),o=on(r),a=e?`${e}.${o}`:o;let s=tn(n.__cssMap)&&a in n.__cssMap?n.__cssMap[a].varRef:t;return s=on(s),i?`${s} !important`:s};function sn(e){const{scale:t,transform:n,compose:r}=e;return(e,i)=>{const o=an(t,e)(i);let a=(null==n?void 0:n(o,i))??o;return r&&(a=r(a,i)),a}}var ln=(...e)=>t=>e.reduce(((e,t)=>t(e)),t);function un(e,t){return n=>{const r={property:n,scale:e};return r.transform=sn({scale:e,transform:t}),r}}var cn=({rtl:e,ltr:t})=>n=>"rtl"===n.direction?e:t;var fn=["rotate(var(--chakra-rotate, 0))","scaleX(var(--chakra-scale-x, 1))","scaleY(var(--chakra-scale-y, 1))","skewX(var(--chakra-skew-x, 0))","skewY(var(--chakra-skew-y, 0))"];var hn={"--chakra-blur":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-brightness":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-contrast":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-grayscale":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-hue-rotate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-invert":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-saturate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-sepia":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-drop-shadow":"var(--chakra-empty,/*!*/ /*!*/)",filter:["var(--chakra-blur)","var(--chakra-brightness)","var(--chakra-contrast)","var(--chakra-grayscale)","var(--chakra-hue-rotate)","var(--chakra-invert)","var(--chakra-saturate)","var(--chakra-sepia)","var(--chakra-drop-shadow)"].join(" ")},dn={backdropFilter:["var(--chakra-backdrop-blur)","var(--chakra-backdrop-brightness)","var(--chakra-backdrop-contrast)","var(--chakra-backdrop-grayscale)","var(--chakra-backdrop-hue-rotate)","var(--chakra-backdrop-invert)","var(--chakra-backdrop-opacity)","var(--chakra-backdrop-saturate)","var(--chakra-backdrop-sepia)"].join(" "),"--chakra-backdrop-blur":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-brightness":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-contrast":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-grayscale":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-hue-rotate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-invert":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-opacity":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-saturate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-sepia":"var(--chakra-empty,/*!*/ /*!*/)"};var pn={"row-reverse":{space:"--chakra-space-x-reverse",divide:"--chakra-divide-x-reverse"},"column-reverse":{space:"--chakra-space-y-reverse",divide:"--chakra-divide-y-reverse"}},gn="& > :not(style) ~ :not(style)",mn={[gn]:{marginInlineStart:"calc(var(--chakra-space-x) * calc(1 - var(--chakra-space-x-reverse)))",marginInlineEnd:"calc(var(--chakra-space-x) * var(--chakra-space-x-reverse))"}},bn={[gn]:{marginTop:"calc(var(--chakra-space-y) * calc(1 - var(--chakra-space-y-reverse)))",marginBottom:"calc(var(--chakra-space-y) * var(--chakra-space-y-reverse))"}},vn={"to-t":"to top","to-tr":"to top right","to-r":"to right","to-br":"to bottom right","to-b":"to bottom","to-bl":"to bottom left","to-l":"to left","to-tl":"to top left"},yn=new Set(Object.values(vn)),wn=new Set(["none","-moz-initial","inherit","initial","revert","unset"]),xn=e=>e.trim();var _n=e=>"string"==typeof e&&e.includes("(")&&e.includes(")");var Sn=e=>t=>`${e}(${t})`,kn={filter:e=>"auto"!==e?e:hn,backdropFilter:e=>"auto"!==e?e:dn,ring:e=>function(e){return{"--chakra-ring-offset-shadow":"var(--chakra-ring-inset) 0 0 0 var(--chakra-ring-offset-width) var(--chakra-ring-offset-color)","--chakra-ring-shadow":"var(--chakra-ring-inset) 0 0 0 calc(var(--chakra-ring-width) + var(--chakra-ring-offset-width)) var(--chakra-ring-color)","--chakra-ring-width":e,boxShadow:["var(--chakra-ring-offset-shadow)","var(--chakra-ring-shadow)","var(--chakra-shadow, 0 0 #0000)"].join(", ")}}(kn.px(e)),bgClip:e=>"text"===e?{color:"transparent",backgroundClip:"text"}:{backgroundClip:e},transform:e=>"auto"===e?["translateX(var(--chakra-translate-x, 0))","translateY(var(--chakra-translate-y, 0))",...fn].join(" "):"auto-gpu"===e?["translate3d(var(--chakra-translate-x, 0), var(--chakra-translate-y, 0), 0)",...fn].join(" "):e,vh:e=>"$100vh"===e?"var(--chakra-vh)":e,px(e){if(null==e)return e;const{unitless:t}=(e=>{const t=parseFloat(e.toString()),n=e.toString().replace(String(t),"");return{unitless:!n,value:t,unit:n}})(e);return t||"number"==typeof e?`${e}px`:e},fraction:e=>"number"!=typeof e||e>1?e:100*e+"%",float:(e,t)=>"rtl"===t.direction?{left:"right",right:"left"}[e]:e,degree(e){if(function(e){return/^var\(--.+\)$/.test(e)}(e)||null==e)return e;const t="string"==typeof e&&!e.endsWith("deg");return"number"==typeof e||t?`${e}deg`:e},gradient:(e,t)=>function(e,t){var n;if(null==e||wn.has(e))return e;const{type:r,values:i}=(null==(n=/(?<type>^[a-z-A-Z]+)\((?<values>(.*))\)/g.exec(e))?void 0:n.groups)??{};if(!r||!i)return e;const o=r.includes("-gradient")?r:`${r}-gradient`,[a,...s]=i.split(",").map(xn).filter(Boolean);if(0===(null==s?void 0:s.length))return e;const l=a in vn?vn[a]:a;s.unshift(l);const u=s.map((e=>{if(yn.has(e))return e;const n=e.indexOf(" "),[r,i]=-1!==n?[e.substr(0,n),e.substr(n+1)]:[e],o=_n(i)?i:i&&i.split(" "),a=`colors.${r}`,s=a in t.__cssMap?t.__cssMap[a].varRef:r;return o?[s,...Array.isArray(o)?o:[o]].join(" "):s}));return`${o}(${u.join(", ")})`}(e,t??{}),blur:Sn("blur"),opacity:Sn("opacity"),brightness:Sn("brightness"),contrast:Sn("contrast"),dropShadow:Sn("drop-shadow"),grayscale:Sn("grayscale"),hueRotate:Sn("hue-rotate"),invert:Sn("invert"),saturate:Sn("saturate"),sepia:Sn("sepia"),bgImage(e){if(null==e)return e;return _n(e)||wn.has(e)?e:`url(${e})`},outline(e){const t="0"===String(e)||"none"===String(e);return null!==e&&t?{outline:"2px solid transparent",outlineOffset:"2px"}:{outline:e}},flexDirection(e){const{space:t,divide:n}=pn[e]??{},r={flexDirection:e};return t&&(r[t]=1),n&&(r[n]=1),r}},Cn={borderWidths:un("borderWidths"),borderStyles:un("borderStyles"),colors:un("colors"),borders:un("borders"),radii:un("radii",kn.px),space:un("space",ln(kn.vh,kn.px)),spaceT:un("space",ln(kn.vh,kn.px)),degreeT:e=>({property:e,transform:kn.degree}),prop:(e,t,n)=>({property:e,scale:t,...t&&{transform:sn({scale:t,transform:n})}}),propT:(e,t)=>({property:e,transform:t}),sizes:un("sizes",ln(kn.vh,kn.px)),sizesT:un("sizes",ln(kn.vh,kn.fraction)),shadows:un("shadows"),logical:function(e){const{property:t,scale:n,transform:r}=e;return{scale:n,property:cn(t),transform:n?sn({scale:n,compose:r}):r}},blur:un("blur",kn.blur)},En={background:Cn.colors("background"),backgroundColor:Cn.colors("backgroundColor"),backgroundImage:Cn.propT("backgroundImage",kn.bgImage),backgroundSize:!0,backgroundPosition:!0,backgroundRepeat:!0,backgroundAttachment:!0,backgroundClip:{transform:kn.bgClip},bgSize:Cn.prop("backgroundSize"),bgPosition:Cn.prop("backgroundPosition"),bg:Cn.colors("background"),bgColor:Cn.colors("backgroundColor"),bgPos:Cn.prop("backgroundPosition"),bgRepeat:Cn.prop("backgroundRepeat"),bgAttachment:Cn.prop("backgroundAttachment"),bgGradient:Cn.propT("backgroundImage",kn.gradient),bgClip:{transform:kn.bgClip}};Object.assign(En,{bgImage:En.backgroundImage,bgImg:En.backgroundImage});var In={border:Cn.borders("border"),borderWidth:Cn.borderWidths("borderWidth"),borderStyle:Cn.borderStyles("borderStyle"),borderColor:Cn.colors("borderColor"),borderRadius:Cn.radii("borderRadius"),borderTop:Cn.borders("borderTop"),borderBlockStart:Cn.borders("borderBlockStart"),borderTopLeftRadius:Cn.radii("borderTopLeftRadius"),borderStartStartRadius:Cn.logical({scale:"radii",property:{ltr:"borderTopLeftRadius",rtl:"borderTopRightRadius"}}),borderEndStartRadius:Cn.logical({scale:"radii",property:{ltr:"borderBottomLeftRadius",rtl:"borderBottomRightRadius"}}),borderTopRightRadius:Cn.radii("borderTopRightRadius"),borderStartEndRadius:Cn.logical({scale:"radii",property:{ltr:"borderTopRightRadius",rtl:"borderTopLeftRadius"}}),borderEndEndRadius:Cn.logical({scale:"radii",property:{ltr:"borderBottomRightRadius",rtl:"borderBottomLeftRadius"}}),borderRight:Cn.borders("borderRight"),borderInlineEnd:Cn.borders("borderInlineEnd"),borderBottom:Cn.borders("borderBottom"),borderBlockEnd:Cn.borders("borderBlockEnd"),borderBottomLeftRadius:Cn.radii("borderBottomLeftRadius"),borderBottomRightRadius:Cn.radii("borderBottomRightRadius"),borderLeft:Cn.borders("borderLeft"),borderInlineStart:{property:"borderInlineStart",scale:"borders"},borderInlineStartRadius:Cn.logical({scale:"radii",property:{ltr:["borderTopLeftRadius","borderBottomLeftRadius"],rtl:["borderTopRightRadius","borderBottomRightRadius"]}}),borderInlineEndRadius:Cn.logical({scale:"radii",property:{ltr:["borderTopRightRadius","borderBottomRightRadius"],rtl:["borderTopLeftRadius","borderBottomLeftRadius"]}}),borderX:Cn.borders(["borderLeft","borderRight"]),borderInline:Cn.borders("borderInline"),borderY:Cn.borders(["borderTop","borderBottom"]),borderBlock:Cn.borders("borderBlock"),borderTopWidth:Cn.borderWidths("borderTopWidth"),borderBlockStartWidth:Cn.borderWidths("borderBlockStartWidth"),borderTopColor:Cn.colors("borderTopColor"),borderBlockStartColor:Cn.colors("borderBlockStartColor"),borderTopStyle:Cn.borderStyles("borderTopStyle"),borderBlockStartStyle:Cn.borderStyles("borderBlockStartStyle"),borderBottomWidth:Cn.borderWidths("borderBottomWidth"),borderBlockEndWidth:Cn.borderWidths("borderBlockEndWidth"),borderBottomColor:Cn.colors("borderBottomColor"),borderBlockEndColor:Cn.colors("borderBlockEndColor"),borderBottomStyle:Cn.borderStyles("borderBottomStyle"),borderBlockEndStyle:Cn.borderStyles("borderBlockEndStyle"),borderLeftWidth:Cn.borderWidths("borderLeftWidth"),borderInlineStartWidth:Cn.borderWidths("borderInlineStartWidth"),borderLeftColor:Cn.colors("borderLeftColor"),borderInlineStartColor:Cn.colors("borderInlineStartColor"),borderLeftStyle:Cn.borderStyles("borderLeftStyle"),borderInlineStartStyle:Cn.borderStyles("borderInlineStartStyle"),borderRightWidth:Cn.borderWidths("borderRightWidth"),borderInlineEndWidth:Cn.borderWidths("borderInlineEndWidth"),borderRightColor:Cn.colors("borderRightColor"),borderInlineEndColor:Cn.colors("borderInlineEndColor"),borderRightStyle:Cn.borderStyles("borderRightStyle"),borderInlineEndStyle:Cn.borderStyles("borderInlineEndStyle"),borderTopRadius:Cn.radii(["borderTopLeftRadius","borderTopRightRadius"]),borderBottomRadius:Cn.radii(["borderBottomLeftRadius","borderBottomRightRadius"]),borderLeftRadius:Cn.radii(["borderTopLeftRadius","borderBottomLeftRadius"]),borderRightRadius:Cn.radii(["borderTopRightRadius","borderBottomRightRadius"])};Object.assign(In,{rounded:In.borderRadius,roundedTop:In.borderTopRadius,roundedTopLeft:In.borderTopLeftRadius,roundedTopRight:In.borderTopRightRadius,roundedTopStart:In.borderStartStartRadius,roundedTopEnd:In.borderStartEndRadius,roundedBottom:In.borderBottomRadius,roundedBottomLeft:In.borderBottomLeftRadius,roundedBottomRight:In.borderBottomRightRadius,roundedBottomStart:In.borderEndStartRadius,roundedBottomEnd:In.borderEndEndRadius,roundedLeft:In.borderLeftRadius,roundedRight:In.borderRightRadius,roundedStart:In.borderInlineStartRadius,roundedEnd:In.borderInlineEndRadius,borderStart:In.borderInlineStart,borderEnd:In.borderInlineEnd,borderTopStartRadius:In.borderStartStartRadius,borderTopEndRadius:In.borderStartEndRadius,borderBottomStartRadius:In.borderEndStartRadius,borderBottomEndRadius:In.borderEndEndRadius,borderStartRadius:In.borderInlineStartRadius,borderEndRadius:In.borderInlineEndRadius,borderStartWidth:In.borderInlineStartWidth,borderEndWidth:In.borderInlineEndWidth,borderStartColor:In.borderInlineStartColor,borderEndColor:In.borderInlineEndColor,borderStartStyle:In.borderInlineStartStyle,borderEndStyle:In.borderInlineEndStyle});var Mn={color:Cn.colors("color"),textColor:Cn.colors("color"),fill:Cn.colors("fill"),stroke:Cn.colors("stroke")},Tn={boxShadow:Cn.shadows("boxShadow"),mixBlendMode:!0,blendMode:Cn.prop("mixBlendMode"),backgroundBlendMode:!0,bgBlendMode:Cn.prop("backgroundBlendMode"),opacity:!0};Object.assign(Tn,{shadow:Tn.boxShadow});var An={filter:{transform:kn.filter},blur:Cn.blur("--chakra-blur"),brightness:Cn.propT("--chakra-brightness",kn.brightness),contrast:Cn.propT("--chakra-contrast",kn.contrast),hueRotate:Cn.degreeT("--chakra-hue-rotate"),invert:Cn.propT("--chakra-invert",kn.invert),saturate:Cn.propT("--chakra-saturate",kn.saturate),dropShadow:Cn.propT("--chakra-drop-shadow",kn.dropShadow),backdropFilter:{transform:kn.backdropFilter},backdropBlur:Cn.blur("--chakra-backdrop-blur"),backdropBrightness:Cn.propT("--chakra-backdrop-brightness",kn.brightness),backdropContrast:Cn.propT("--chakra-backdrop-contrast",kn.contrast),backdropHueRotate:Cn.degreeT("--chakra-backdrop-hue-rotate"),backdropInvert:Cn.propT("--chakra-backdrop-invert",kn.invert),backdropSaturate:Cn.propT("--chakra-backdrop-saturate",kn.saturate)},Pn={alignItems:!0,alignContent:!0,justifyItems:!0,justifyContent:!0,flexWrap:!0,flexDirection:{transform:kn.flexDirection},experimental_spaceX:{static:mn,transform:sn({scale:"space",transform:e=>null!==e?{"--chakra-space-x":e}:null})},experimental_spaceY:{static:bn,transform:sn({scale:"space",transform:e=>null!=e?{"--chakra-space-y":e}:null})},flex:!0,flexFlow:!0,flexGrow:!0,flexShrink:!0,flexBasis:Cn.sizes("flexBasis"),justifySelf:!0,alignSelf:!0,order:!0,placeItems:!0,placeContent:!0,placeSelf:!0,gap:Cn.space("gap"),rowGap:Cn.space("rowGap"),columnGap:Cn.space("columnGap")};Object.assign(Pn,{flexDir:Pn.flexDirection});var On={gridGap:Cn.space("gridGap"),gridColumnGap:Cn.space("gridColumnGap"),gridRowGap:Cn.space("gridRowGap"),gridColumn:!0,gridRow:!0,gridAutoFlow:!0,gridAutoColumns:!0,gridColumnStart:!0,gridColumnEnd:!0,gridRowStart:!0,gridRowEnd:!0,gridAutoRows:!0,gridTemplate:!0,gridTemplateColumns:!0,gridTemplateRows:!0,gridTemplateAreas:!0,gridArea:!0},Dn={appearance:!0,cursor:!0,resize:!0,userSelect:!0,pointerEvents:!0,outline:{transform:kn.outline},outlineOffset:!0,outlineColor:Cn.colors("outlineColor")},Rn={width:Cn.sizesT("width"),inlineSize:Cn.sizesT("inlineSize"),height:Cn.sizes("height"),blockSize:Cn.sizes("blockSize"),boxSize:Cn.sizes(["width","height"]),minWidth:Cn.sizes("minWidth"),minInlineSize:Cn.sizes("minInlineSize"),minHeight:Cn.sizes("minHeight"),minBlockSize:Cn.sizes("minBlockSize"),maxWidth:Cn.sizes("maxWidth"),maxInlineSize:Cn.sizes("maxInlineSize"),maxHeight:Cn.sizes("maxHeight"),maxBlockSize:Cn.sizes("maxBlockSize"),overflow:!0,overflowX:!0,overflowY:!0,overscrollBehavior:!0,overscrollBehaviorX:!0,overscrollBehaviorY:!0,display:!0,verticalAlign:!0,boxSizing:!0,boxDecorationBreak:!0,float:Cn.propT("float",kn.float),objectFit:!0,objectPosition:!0,visibility:!0,isolation:!0};Object.assign(Rn,{w:Rn.width,h:Rn.height,minW:Rn.minWidth,maxW:Rn.maxWidth,minH:Rn.minHeight,maxH:Rn.maxHeight,overscroll:Rn.overscrollBehavior,overscrollX:Rn.overscrollBehaviorX,overscrollY:Rn.overscrollBehaviorY});var Ln={listStyleType:!0,listStylePosition:!0,listStylePos:Cn.prop("listStylePosition"),listStyleImage:!0,listStyleImg:Cn.prop("listStyleImage")};var Nn=(e=>{const t=new WeakMap;return(n,r,i,o)=>{if(void 0===n)return e(n,r,i);t.has(n)||t.set(n,new Map);const a=t.get(n);if(a.has(r))return a.get(r);const s=e(n,r,i,o);return a.set(r,s),s}})((function(e,t,n,r){const i="string"==typeof t?t.split("."):[t];for(r=0;r<i.length&&e;r+=1)e=e[i[r]];return void 0===e?n:e})),jn={border:"0px",clip:"rect(0, 0, 0, 0)",width:"1px",height:"1px",margin:"-1px",padding:"0px",overflow:"hidden",whiteSpace:"nowrap",position:"absolute"},Fn={position:"static",width:"auto",height:"auto",clip:"auto",padding:"0",margin:"0",overflow:"visible",whiteSpace:"normal"},zn=(e,t,n)=>{const r={},i=Nn(e,t,{});for(const e in i){e in n&&null!=n[e]||(r[e]=i[e])}return r},Bn={srOnly:{transform:e=>!0===e?jn:"focusable"===e?Fn:{}},layerStyle:{processResult:!0,transform:(e,t,n)=>zn(t,`layerStyles.${e}`,n)},textStyle:{processResult:!0,transform:(e,t,n)=>zn(t,`textStyles.${e}`,n)},apply:{processResult:!0,transform:(e,t,n)=>zn(t,e,n)}},Vn={position:!0,pos:Cn.prop("position"),zIndex:Cn.prop("zIndex","zIndices"),inset:Cn.spaceT("inset"),insetX:Cn.spaceT(["left","right"]),insetInline:Cn.spaceT("insetInline"),insetY:Cn.spaceT(["top","bottom"]),insetBlock:Cn.spaceT("insetBlock"),top:Cn.spaceT("top"),insetBlockStart:Cn.spaceT("insetBlockStart"),bottom:Cn.spaceT("bottom"),insetBlockEnd:Cn.spaceT("insetBlockEnd"),left:Cn.spaceT("left"),insetInlineStart:Cn.logical({scale:"space",property:{ltr:"left",rtl:"right"}}),right:Cn.spaceT("right"),insetInlineEnd:Cn.logical({scale:"space",property:{ltr:"right",rtl:"left"}})};Object.assign(Vn,{insetStart:Vn.insetInlineStart,insetEnd:Vn.insetInlineEnd});var $n={ring:{transform:kn.ring},ringColor:Cn.colors("--chakra-ring-color"),ringOffset:Cn.prop("--chakra-ring-offset-width"),ringOffsetColor:Cn.colors("--chakra-ring-offset-color"),ringInset:Cn.prop("--chakra-ring-inset")},Hn={margin:Cn.spaceT("margin"),marginTop:Cn.spaceT("marginTop"),marginBlockStart:Cn.spaceT("marginBlockStart"),marginRight:Cn.spaceT("marginRight"),marginInlineEnd:Cn.spaceT("marginInlineEnd"),marginBottom:Cn.spaceT("marginBottom"),marginBlockEnd:Cn.spaceT("marginBlockEnd"),marginLeft:Cn.spaceT("marginLeft"),marginInlineStart:Cn.spaceT("marginInlineStart"),marginX:Cn.spaceT(["marginInlineStart","marginInlineEnd"]),marginInline:Cn.spaceT("marginInline"),marginY:Cn.spaceT(["marginTop","marginBottom"]),marginBlock:Cn.spaceT("marginBlock"),padding:Cn.space("padding"),paddingTop:Cn.space("paddingTop"),paddingBlockStart:Cn.space("paddingBlockStart"),paddingRight:Cn.space("paddingRight"),paddingBottom:Cn.space("paddingBottom"),paddingBlockEnd:Cn.space("paddingBlockEnd"),paddingLeft:Cn.space("paddingLeft"),paddingInlineStart:Cn.space("paddingInlineStart"),paddingInlineEnd:Cn.space("paddingInlineEnd"),paddingX:Cn.space(["paddingInlineStart","paddingInlineEnd"]),paddingInline:Cn.space("paddingInline"),paddingY:Cn.space(["paddingTop","paddingBottom"]),paddingBlock:Cn.space("paddingBlock")};Object.assign(Hn,{m:Hn.margin,mt:Hn.marginTop,mr:Hn.marginRight,me:Hn.marginInlineEnd,marginEnd:Hn.marginInlineEnd,mb:Hn.marginBottom,ml:Hn.marginLeft,ms:Hn.marginInlineStart,marginStart:Hn.marginInlineStart,mx:Hn.marginX,my:Hn.marginY,p:Hn.padding,pt:Hn.paddingTop,py:Hn.paddingY,px:Hn.paddingX,pb:Hn.paddingBottom,pl:Hn.paddingLeft,ps:Hn.paddingInlineStart,paddingStart:Hn.paddingInlineStart,pr:Hn.paddingRight,pe:Hn.paddingInlineEnd,paddingEnd:Hn.paddingInlineEnd});var Gn={textDecorationColor:Cn.colors("textDecorationColor"),textDecoration:!0,textDecor:{property:"textDecoration"},textDecorationLine:!0,textDecorationStyle:!0,textDecorationThickness:!0,textUnderlineOffset:!0,textShadow:Cn.shadows("textShadow")},Wn={clipPath:!0,transform:Cn.propT("transform",kn.transform),transformOrigin:!0,translateX:Cn.spaceT("--chakra-translate-x"),translateY:Cn.spaceT("--chakra-translate-y"),skewX:Cn.degreeT("--chakra-skew-x"),skewY:Cn.degreeT("--chakra-skew-y"),scaleX:Cn.prop("--chakra-scale-x"),scaleY:Cn.prop("--chakra-scale-y"),scale:Cn.prop(["--chakra-scale-x","--chakra-scale-y"]),rotate:Cn.degreeT("--chakra-rotate")},Un={transition:!0,transitionDelay:!0,animation:!0,willChange:!0,transitionDuration:Cn.prop("transitionDuration","transition.duration"),transitionProperty:Cn.prop("transitionProperty","transition.property"),transitionTimingFunction:Cn.prop("transitionTimingFunction","transition.easing")},qn={fontFamily:Cn.prop("fontFamily","fonts"),fontSize:Cn.prop("fontSize","fontSizes",kn.px),fontWeight:Cn.prop("fontWeight","fontWeights"),lineHeight:Cn.prop("lineHeight","lineHeights"),letterSpacing:Cn.prop("letterSpacing","letterSpacings"),textAlign:!0,fontStyle:!0,textIndent:!0,wordBreak:!0,overflowWrap:!0,textOverflow:!0,textTransform:!0,whiteSpace:!0,noOfLines:{static:{overflow:"hidden",textOverflow:"ellipsis",display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:"var(--chakra-line-clamp)"},property:"--chakra-line-clamp"}},Xn={scrollBehavior:!0,scrollSnapAlign:!0,scrollSnapStop:!0,scrollSnapType:!0,scrollMargin:Cn.spaceT("scrollMargin"),scrollMarginTop:Cn.spaceT("scrollMarginTop"),scrollMarginBottom:Cn.spaceT("scrollMarginBottom"),scrollMarginLeft:Cn.spaceT("scrollMarginLeft"),scrollMarginRight:Cn.spaceT("scrollMarginRight"),scrollMarginX:Cn.spaceT(["scrollMarginLeft","scrollMarginRight"]),scrollMarginY:Cn.spaceT(["scrollMarginTop","scrollMarginBottom"]),scrollPadding:Cn.spaceT("scrollPadding"),scrollPaddingTop:Cn.spaceT("scrollPaddingTop"),scrollPaddingBottom:Cn.spaceT("scrollPaddingBottom"),scrollPaddingLeft:Cn.spaceT("scrollPaddingLeft"),scrollPaddingRight:Cn.spaceT("scrollPaddingRight"),scrollPaddingX:Cn.spaceT(["scrollPaddingLeft","scrollPaddingRight"]),scrollPaddingY:Cn.spaceT(["scrollPaddingTop","scrollPaddingBottom"])};function Yn(e){return tn(e)&&e.reference?e.reference:String(e)}var Kn=(e,...t)=>t.map(Yn).join(` ${e} `).replace(/calc/g,""),Zn=(...e)=>`calc(${Kn("+",...e)})`,Qn=(...e)=>`calc(${Kn("-",...e)})`,Jn=(...e)=>`calc(${Kn("*",...e)})`,er=(...e)=>`calc(${Kn("/",...e)})`,tr=e=>{const t=Yn(e);return null==t||Number.isNaN(parseFloat(t))?Jn(t,-1):String(t).startsWith("-")?String(t).slice(1):`-${t}`},nr=Object.assign((e=>({add:(...t)=>nr(Zn(e,...t)),subtract:(...t)=>nr(Qn(e,...t)),multiply:(...t)=>nr(Jn(e,...t)),divide:(...t)=>nr(er(e,...t)),negate:()=>nr(tr(e)),toString:()=>e.toString()})),{add:Zn,subtract:Qn,multiply:Jn,divide:er,negate:tr});function rr(e){return function(e){return e.replace(/[!-,/:-@[-^`{-~]/g,"\\$&")}(function(e){if(e.includes("\\."))return e;return Number.isInteger(parseFloat(e.toString()))?e:e.replace(".","\\.")}(function(e,t="-"){return e.replace(/\s+/g,t)}(e.toString())))}function ir(e,t){return`var(${e}${t?`, ${t}`:""})`}function or(e,t=""){return rr(`--${function(e,t=""){return[t,e].filter(Boolean).join("-")}(e,t)}`)}function ar(e,t,n){const r=or(e,n);return{variable:r,reference:ir(r,t)}}function sr(e){const t=null==e?0:e.length;return t?e[t-1]:void 0}function lr(e){if(null==e)return e;const{unitless:t}=function(e){const t=parseFloat(e.toString()),n=e.toString().replace(String(t),"");return{unitless:!n,value:t,unit:n}}(e);return t||"number"==typeof e?`${e}px`:e}var ur=(e,t)=>parseInt(e[1],10)>parseInt(t[1],10)?1:-1,cr=e=>Object.fromEntries(Object.entries(e).sort(ur));function fr(e){const t=cr(e);return Object.assign(Object.values(t),t)}function hr(e){if(!e)return e;const t=(e=lr(e)??e).endsWith("px")?-1:-.0625;return"number"==typeof e?`${e+t}`:e.replace(/(\d+\.?\d*)/u,(e=>`${parseFloat(e)+t}`))}function dr(e,t){const n=["@media screen"];return e&&n.push("and",`(min-width: ${lr(e)})`),t&&n.push("and",`(max-width: ${lr(t)})`),n.join(" ")}function pr(e){if(!e)return null;e.base=e.base??"0px";const t=fr(e),n=Object.entries(e).sort(ur).map((([e,t],n,r)=>{let[,i]=r[n+1]??[];return i=parseFloat(i)>0?hr(i):void 0,{_minW:hr(t),breakpoint:e,minW:t,maxW:i,maxWQuery:dr(null,i),minWQuery:dr(t),minMaxQuery:dr(t,i)}})),r=function(e){const t=Object.keys(cr(e));return new Set(t)}(e),i=Array.from(r.values());return{keys:r,normalized:t,isResponsive(e){const t=Object.keys(e);return t.length>0&&t.every((e=>r.has(e)))},asObject:cr(e),asArray:fr(e),details:n,media:[null,...t.map((e=>dr(e))).slice(1)],toArrayValue(e){if(!tn(e))throw new Error("toArrayValue: value must be an object");const t=i.map((t=>e[t]??null));for(;null===sr(t);)t.pop();return t},toObjectValue(e){if(!Array.isArray(e))throw new Error("toObjectValue: value must be an array");return e.reduce(((e,t,n)=>{const r=i[n];return null!=r&&null!=t&&(e[r]=t),e}),{})}}}var gr=(e,t)=>`${e}:hover ${t}, ${e}[data-hover] ${t}`,mr=(e,t)=>`${e}:focus ${t}, ${e}[data-focus] ${t}`,br=(e,t)=>`${e}:focus-visible ${t}`,vr=(e,t)=>`${e}:focus-within ${t}`,yr=(e,t)=>`${e}:active ${t}, ${e}[data-active] ${t}`,wr=(e,t)=>`${e}:disabled ${t}, ${e}[data-disabled] ${t}`,xr=(e,t)=>`${e}:invalid ${t}, ${e}[data-invalid] ${t}`,_r=(e,t)=>`${e}:checked ${t}, ${e}[data-checked] ${t}`,Sr=(e,t)=>`${e}:placeholder-shown ${t}`,kr=e=>Er((t=>e(t,"&")),"[role=group]","[data-group]",".group"),Cr=e=>Er((t=>e(t,"~ &")),"[data-peer]",".peer"),Er=(e,...t)=>t.map(e).join(", "),Ir={_hover:"&:hover, &[data-hover]",_active:"&:active, &[data-active]",_focus:"&:focus, &[data-focus]",_highlighted:"&[data-highlighted]",_focusWithin:"&:focus-within",_focusVisible:"&:focus-visible, &[data-focus-visible]",_disabled:"&:disabled, &[disabled], &[aria-disabled=true], &[data-disabled]",_readOnly:"&[aria-readonly=true], &[readonly], &[data-readonly]",_before:"&::before",_after:"&::after",_empty:"&:empty",_expanded:"&[aria-expanded=true], &[data-expanded]",_checked:"&[aria-checked=true], &[data-checked]",_grabbed:"&[aria-grabbed=true], &[data-grabbed]",_pressed:"&[aria-pressed=true], &[data-pressed]",_invalid:"&[aria-invalid=true], &[data-invalid]",_valid:"&[data-valid], &[data-state=valid]",_loading:"&[data-loading], &[aria-busy=true]",_selected:"&[aria-selected=true], &[data-selected]",_hidden:"&[hidden], &[data-hidden]",_autofill:"&:-webkit-autofill",_even:"&:nth-of-type(even)",_odd:"&:nth-of-type(odd)",_first:"&:first-of-type",_last:"&:last-of-type",_notFirst:"&:not(:first-of-type)",_notLast:"&:not(:last-of-type)",_visited:"&:visited",_activeLink:"&[aria-current=page]",_activeStep:"&[aria-current=step]",_indeterminate:"&:indeterminate, &[aria-checked=mixed], &[data-indeterminate]",_groupHover:kr(gr),_peerHover:Cr(gr),_groupFocus:kr(mr),_peerFocus:Cr(mr),_groupFocusVisible:kr(br),_peerFocusVisible:Cr(br),_groupActive:kr(yr),_peerActive:Cr(yr),_groupDisabled:kr(wr),_peerDisabled:Cr(wr),_groupInvalid:kr(xr),_peerInvalid:Cr(xr),_groupChecked:kr(_r),_peerChecked:Cr(_r),_groupFocusWithin:kr(vr),_peerFocusWithin:Cr(vr),_peerPlaceholderShown:Cr(Sr),_placeholder:"&::placeholder",_placeholderShown:"&:placeholder-shown",_fullScreen:"&:fullscreen",_selection:"&::selection",_rtl:"[dir=rtl] &, &[dir=rtl]",_ltr:"[dir=ltr] &, &[dir=ltr]",_mediaDark:"@media (prefers-color-scheme: dark)",_mediaReduceMotion:"@media (prefers-reduced-motion: reduce)",_dark:".chakra-ui-dark &:not([data-theme]),[data-theme=dark] &:not([data-theme]),&[data-theme=dark]",_light:".chakra-ui-light &:not([data-theme]),[data-theme=light] &:not([data-theme]),&[data-theme=light]"},Mr=Object.keys(Ir);function Tr(e,t){return ar(String(e).replace(/\./g,"-"),void 0,t)}var Ar=["colors","borders","borderWidths","borderStyles","fonts","fontSizes","fontWeights","letterSpacings","lineHeights","radii","space","shadows","sizes","zIndices","transition","blur"];function Pr(e,t=1/0){return(tn(e)||Array.isArray(e))&&t?Object.entries(e).reduce(((e,[n,r])=>(tn(r)||Array.isArray(r)?Object.entries(Pr(r,t-1)).forEach((([t,r])=>{e[`${n}.${t}`]=r})):e[n]=r,e)),{}):e}function Or(e){var t;const n=function(e){const{__cssMap:t,__cssVars:n,__breakpoints:r,...i}=e;return i}(e),r=function(e){return function(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}(e,Ar)}(n),i=function(e){return e.semanticTokens}(n),o=function({tokens:e,semanticTokens:t}){const n=Object.entries(Pr(e)??{}).map((([e,t])=>[e,{isSemantic:!1,value:t}])),r=Object.entries(Pr(t,1)??{}).map((([e,t])=>[e,{isSemantic:!0,value:t}]));return Object.fromEntries([...n,...r])}({tokens:r,semanticTokens:i}),a=null==(t=n.config)?void 0:t.cssVarPrefix,{cssMap:s,cssVars:l}=function(e,t){let n={};const r={};for(const[i,o]of Object.entries(e)){const{isSemantic:a,value:s}=o,{variable:l,reference:u}=Tr(i,null==t?void 0:t.cssVarPrefix);if(!a){if(i.startsWith("space")){const e=i.split("."),[t,...n]=e,o=`${t}.-${n.join(".")}`,a=nr.negate(s),c=nr.negate(u);r[o]={value:a,var:l,varRef:c}}n[l]=s,r[i]={value:s,var:l,varRef:u};continue}const c=n=>{const r=[String(i).split(".")[0],n].join(".");if(!e[r])return n;const{reference:o}=Tr(r,null==t?void 0:t.cssVarPrefix);return o},f=tn(s)?s:{default:s};n=en()(n,Object.entries(f).reduce(((e,[t,n])=>{var r;const i=c(n);return"default"===t?(e[l]=i,e):(e[(null==(r=Ir)?void 0:r[t])??t]={[l]:i},e)}),{})),r[i]={value:u,var:l,varRef:u}}return{cssVars:n,cssMap:r}}(o,{cssVarPrefix:a});return Object.assign(n,{__cssVars:{"--chakra-ring-inset":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-ring-offset-width":"0px","--chakra-ring-offset-color":"#fff","--chakra-ring-color":"rgba(66, 153, 225, 0.6)","--chakra-ring-offset-shadow":"0 0 #0000","--chakra-ring-shadow":"0 0 #0000","--chakra-space-x-reverse":"0","--chakra-space-y-reverse":"0",...l},__cssMap:s,__breakpoints:pr(n.breakpoints)}),n}var Dr=en()({},En,In,Mn,Pn,Rn,An,$n,Dn,On,Bn,Vn,Tn,Hn,Xn,qn,Gn,Wn,Ln,Un),Rr=Object.assign({},Hn,Rn,Pn,On,Vn),Lr=Object.keys(Rr),Nr=[...Object.keys(Dr),...Mr],jr={...Dr,...Ir},Fr=e=>e in jr;var zr=(e,t)=>e.startsWith("--")&&"string"==typeof t&&!function(e){return/^var\(--.+\)$/.test(e)}(t),Br=(e,t)=>{if(null==t)return t;const n=t=>{var n,r;return null==(r=null==(n=e.__cssMap)?void 0:n[t])?void 0:r.varRef},r=e=>n(e)??e,[i,o]=function(e){const t=[];let n="",r=!1;for(let i=0;i<e.length;i++){const o=e[i];"("===o?(r=!0,n+=o):")"===o?(r=!1,n+=o):","!==o||r?n+=o:(t.push(n),n="")}return n=n.trim(),n&&t.push(n),t}(t);return t=n(i)??r(o)??r(t)};function Vr(e){const{configs:t={},pseudos:n={},theme:r}=e,i=(e,o=!1)=>{var a;const s=nn(e,r),l=(e=>t=>{if(!t.__breakpoints)return e;const{isResponsive:n,toArrayValue:r,media:i}=t.__breakpoints,o={};for(const a in e){let s=nn(e[a],t);if(null==s)continue;if(s=tn(s)&&n(s)?r(s):s,!Array.isArray(s)){o[a]=s;continue}const l=s.slice(0,i.length).length;for(let e=0;e<l;e+=1){const t=null==i?void 0:i[e];t?(o[t]=o[t]||{},null!=s[e]&&(o[t][a]=s[e])):o[a]=s[e]}}return o})(s)(r);let u={};for(let e in l){let c=nn(l[e],r);e in n&&(e=n[e]),zr(e,c)&&(c=Br(r,c));let f=t[e];if(!0===f&&(f={property:e}),tn(c)){u[e]=u[e]??{},u[e]=en()({},u[e],i(c,!0));continue}let h=(null==(a=null==f?void 0:f.transform)?void 0:a.call(f,c,r,s))??c;h=(null==f?void 0:f.processResult)?i(h,!0):h;const d=nn(null==f?void 0:f.property,r);if(!o&&(null==f?void 0:f.static)){const e=nn(f.static,r);u=en()({},u,e)}if(d&&Array.isArray(d))for(const e of d)u[e]=h;else d?"&"===d&&tn(h)?u=en()({},u,h):u[d]=h:tn(h)?u=en()({},u,h):u[e]=h}return u};return i}var $r=e=>t=>Vr({theme:t,pseudos:Ir,configs:Dr})(e);function Hr(e){return{definePartsStyle:e=>e,defineMultiStyleConfig:t=>({parts:e,...t})}}function Gr(e,t){for(let n=t+1;n<e.length;n++)if(null!=e[n])return n;return-1}function Wr(e){const t=e.__breakpoints;return function(e,n,r,i){var o,a;if(!t)return;const s={},l=function(e,t){return Array.isArray(e)?e:tn(e)?t(e):null!=e?[e]:void 0}(r,t.toArrayValue);if(!l)return s;const u=l.length,c=1===u,f=!!e.parts;for(let r=0;r<u;r++){const u=t.details[r],h=t.details[Gr(l,r)],d=dr(u.minW,null==h?void 0:h._minW),p=nn(null==(o=e[n])?void 0:o[l[r]],i);p&&(f?null==(a=e.parts)||a.forEach((e=>{en()(s,{[e]:c?p[e]:{[d]:p[e]}})})):f?s[d]=p:c?en()(s,p):s[d]=p)}return s}}function Ur(e){return function(e,t=[]){const n=Object.assign({},e);for(const e of t)e in n&&delete n[e];return n}(e,["styleConfig","size","variant","colorScheme"])}var qr=1/60*1e3,Xr="undefined"!=typeof performance?function(){return performance.now()}:function(){return Date.now()};var Yr=(e=>{const t=new WeakMap;return(n,r,i,o)=>{if(void 0===n)return e(n,r,i);t.has(n)||t.set(n,new Map);const a=t.get(n);if(a.has(r))return a.get(r);const s=e(n,r,i,o);return a.set(r,s),s}})((function(e,t,n,r){const i="string"==typeof t?t.split("."):[t];for(r=0;r<i.length&&e;r+=1)e=e[i[r]];return void 0===e?n:e}));function Kr(e,t){const n={};return Object.keys(e).forEach((r=>{const i=e[r];t(i,r,e)&&(n[r]=i)})),n}var Zr=e=>Kr(e,(e=>null!=e));function Qr(){return!("undefined"==typeof window||!window.document||!window.document.createElement)}var Jr=Qr();["input:not(:disabled):not([disabled])","select:not(:disabled):not([disabled])","textarea:not(:disabled):not([disabled])","embed","iframe","object","a[href]","area[href]","button:not(:disabled):not([disabled])","[tabindex]","audio[controls]","video[controls]","*[tabindex]:not([aria-disabled])","*[contenteditable]"].join();function ei(e,...t){return"function"==typeof e?e(...t):e}function ti(...e){return function(t){e.some((e=>(null==e||e(t),null==t?void 0:t.defaultPrevented)))}}Number.MIN_SAFE_INTEGER,Number.MAX_SAFE_INTEGER;Object.freeze(["base","sm","md","lg","xl","2xl"]);var ni=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/;const ri=We((function(e){return ni.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91}));var ii=/[A-Z]|^ms/g,oi=/_EMO_([^_]+?)_([^]*?)_EMO_/g,ai=function(e){return 45===e.charCodeAt(1)},si=function(e){return null!=e&&"boolean"!=typeof e},li=We((function(e){return ai(e)?e:e.replace(ii,"-$&").toLowerCase()})),ui=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(oi,(function(e,t,n){return fi={name:t,styles:n,next:fi},t}))}return 1===Ge[e]||ai(e)||"number"!=typeof t||0===t?t:t+"px"};function ci(e,t,n){if(null==n)return"";if(void 0!==n.__emotion_styles)return n;switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return fi={name:n.name,styles:n.styles,next:fi},n.name;if(void 0!==n.styles){var r=n.next;if(void 0!==r)for(;void 0!==r;)fi={name:r.name,styles:r.styles,next:fi},r=r.next;return n.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var i=0;i<n.length;i++)r+=ci(e,t,n[i])+";";else for(var o in n){var a=n[o];if("object"!=typeof a)null!=t&&void 0!==t[a]?r+=o+"{"+t[a]+"}":si(a)&&(r+=li(o)+":"+ui(o,a)+";");else if(!Array.isArray(a)||"string"!=typeof a[0]||null!=t&&void 0!==t[a[0]]){var s=ci(e,t,a);switch(o){case"animation":case"animationName":r+=li(o)+":"+s+";";break;default:r+=o+"{"+s+"}"}}else for(var l=0;l<a.length;l++)si(a[l])&&(r+=li(o)+":"+ui(o,a[l])+";")}return r}(e,t,n);case"function":if(void 0!==e){var i=fi,o=n(e);return fi=i,ci(e,t,o)}}if(null==t)return n;var a=t[n];return void 0!==a?a:n}var fi,hi=/label:\s*([^\s;\n{]+)\s*(;|$)/g;var di=function(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var r=!0,i="";fi=void 0;var o=e[0];null==o||void 0===o.raw?(r=!1,i+=ci(n,t,o)):i+=o[0];for(var a=1;a<e.length;a++)i+=ci(n,t,e[a]),r&&(i+=o[a]);hi.lastIndex=0;for(var s,l="";null!==(s=hi.exec(i));)l+="-"+s[1];return{name:He(i)+l,styles:i,next:fi}},pi=ri,gi=function(e){return"theme"!==e},mi=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?pi:gi},bi=function(e,t,n){var r;if(t){var i=t.shouldForwardProp;r=e.__emotion_forwardProp&&i?function(t){return e.__emotion_forwardProp(t)&&i(t)}:i}return"function"!=typeof r&&n&&(r=e.__emotion_forwardProp),r};const vi=function e(t,n){var r,o,a=t.__emotion_real===t,s=a&&t.__emotion_base||t;void 0!==n&&(r=n.label,o=n.target);var l=bi(t,n,a),u=l||mi(s),c=!u("as");return function(){var f=arguments,h=a&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==r&&h.push("label:"+r+";"),null==f[0]||void 0===f[0].raw)h.push.apply(h,f);else{0,h.push(f[0][0]);for(var d=f.length,p=1;p<d;p++)h.push(f[p],f[0][p])}var g=ot((function(e,t,n){var r=c&&e.as||s,a="",f=[],d=e;if(null==e.theme){for(var p in d={},e)d[p]=e[p];d.theme=(0,i.useContext)(at)}"string"==typeof e.className?a=Be(t.registered,f,e.className):null!=e.className&&(a=e.className+" ");var g=di(h.concat(f),t.registered,d);$e(t,g,"string"==typeof r);a+=t.key+"-"+g.name,void 0!==o&&(a+=" "+o);var m=c&&void 0===l?mi(r):u,b={};for(var v in e)c&&"as"===v||m(v)&&(b[v]=e[v]);return b.className=a,b.ref=n,(0,i.createElement)(r,b)}));return g.displayName=void 0!==r?r:"Styled("+("string"==typeof s?s:s.displayName||s.name||"Component")+")",g.defaultProps=t.defaultProps,g.__emotion_real=g,g.__emotion_base=s,g.__emotion_styles=h,g.__emotion_forwardProp=l,Object.defineProperty(g,"toString",{value:function(){return"."+o}}),g.withComponent=function(t,r){return e(t,Fe({},n,r,{shouldForwardProp:bi(g,r,!0)})).apply(void 0,h)},g}};var yi=vi.bind();["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach((function(e){yi[e]=yi(e)}));const wi=yi;var xi=a(115),_i=a.n(xi);function Si(){const e=(0,i.useContext)(at);if(!e)throw Error("useTheme: `theme` is undefined. Seems you forgot to wrap your app in `<ChakraProvider />` or `<ThemeProvider />`");return e}function ki(){return{...Vt(),theme:Si()}}function Ci(e,t,n){const r=Array.isArray(t)?t:[t],i=Array.isArray(n)?n:[n];return n=>{const o=i.filter(Boolean),a=r.map(((t,r)=>{if("breakpoints"===e)return function(e,t,n){if(null==t)return t;const r=t=>{var n,r;return null==(r=null==(n=e.__breakpoints)?void 0:n.asArray)?void 0:r[t]};return r(t)??r(n)??n}(n,t,o[r]??t);return function(e,t,n){if(null==t)return t;const r=t=>{var n,r;return null==(r=null==(n=e.__cssMap)?void 0:n[t])?void 0:r.value};return r(t)??r(n)??n}(n,`${e}.${t}`,o[r]??t)}));return Array.isArray(t)?a:a[0]}}function Ei(e){const{cssVarsRoot:t,theme:n,children:r}=e,o=(0,i.useMemo)((()=>Or(n)),[n]);return i.createElement(lt,{theme:o},i.createElement(Ii,{root:t}),r)}function Ii({root:e=":host, :root"}){const t=[e,"[data-theme]"].join(",");return i.createElement(bt,{styles:e=>({[t]:e.__cssVars})})}var[Mi,Ti]=function(e={}){const{strict:t=!0,errorMessage:n="useContext: `context` is undefined. Seems you forgot to wrap component within the Provider",name:r}=e,o=(0,i.createContext)(void 0);return o.displayName=r,[o.Provider,function e(){var r;const a=(0,i.useContext)(o);if(!a&&t){const t=new Error(n);throw t.name="ContextError",null==(r=Error.captureStackTrace)||r.call(Error,t,e),t}return a},o]}({name:"StylesContext",errorMessage:"useStyles: `styles` is undefined. Seems you forgot to wrap the components in `<StylesProvider />` "});function Ai(){const{colorMode:e}=Vt();return i.createElement(bt,{styles:t=>{const n=ei(Yr(t,"styles.global"),{theme:t,colorMode:e});if(!n)return;return $r(n)(t)}})}var Pi=new Set([...Nr,"textStyle","layerStyle","apply","noOfLines","focusBorderColor","errorBorderColor","as","__css","css","sx"]),Oi=new Set(["htmlWidth","htmlHeight","htmlSize"]);function Di(e){return Oi.has(e)||!Pi.has(e)}function Ri(e,t){const{baseStyle:n,...r}=t??{};r.shouldForwardProp||(r.shouldForwardProp=Di);const o=(({baseStyle:e})=>t=>{const{theme:n,css:r,__css:i,sx:o,...a}=t,s=Kr(a,((e,t)=>Fr(t))),l=ei(e,t),u=Object.assign({},i,l,Zr(s),o),c=$r(u)(t.theme);return r?[c,r]:c})({baseStyle:n}),a=wi(e,r)(o);return i.forwardRef((function(e,t){const{colorMode:n,forced:r}=Vt();return i.createElement(a,{ref:t,"data-theme":r?n:void 0,...e})}))}function Li(e){return(0,i.forwardRef)(e)}function Ni(e,t={}){const{styleConfig:n,...r}=t,{theme:o,colorMode:a}=ki(),s=e?Yr(o,`components.${e}`):void 0,l=n||s,u=en()({theme:o,colorMode:a},(null==l?void 0:l.defaultProps)??{},Zr(function(e,t){const n={};return Object.keys(e).forEach((r=>{t.includes(r)||(n[r]=e[r])})),n}(r,["children"]))),c=(0,i.useRef)({});if(l){const e=function(e){return t=>{const{variant:n,size:r,theme:i}=t,o=Wr(i);return en()({},nn(e.baseStyle??{},t),o(e,"sizes",r,t),o(e,"variants",n,t))}}(l),t=e(u);_i()(c.current,t)||(c.current=t)}return c.current}function ji(e,t={}){return Ni(e,t)}function Fi(e,t={}){return Ni(e,t)}var zi=function(){const e=new Map;return new Proxy(Ri,{apply:(e,t,n)=>Ri(...n),get:(t,n)=>(e.has(n)||e.set(n,Ri(n)),e.get(n))})}(),Bi={body:{classList:{add(){},remove(){}}},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector:()=>null,querySelectorAll:()=>[],getElementById:()=>null,createEvent:()=>({initEvent(){}}),createElement:()=>({children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName:()=>[]})},Vi=()=>{},$i={document:Bi,navigator:{userAgent:""},CustomEvent:function(){return this},addEventListener:Vi,removeEventListener:Vi,getComputedStyle:()=>({getPropertyValue:()=>""}),matchMedia:()=>({matches:!1,addListener:Vi,removeListener:Vi}),requestAnimationFrame:e=>"undefined"==typeof setTimeout?(e(),null):setTimeout(e,0),cancelAnimationFrame(e){"undefined"!=typeof setTimeout&&clearTimeout(e)},setTimeout:()=>0,clearTimeout:Vi,setInterval:()=>0,clearInterval:Vi},Hi="undefined"!=typeof window?{window,document}:{window:$i,document:Bi},Gi=(0,i.createContext)(Hi);function Wi(e){const{children:t,environment:n}=e,[r,o]=(0,i.useState)(null),[a,s]=(0,i.useState)(!1);(0,i.useEffect)((()=>s(!0)),[]);const l=(0,i.useMemo)((()=>{if(n)return n;const e=null==r?void 0:r.ownerDocument,t=null==r?void 0:r.ownerDocument.defaultView;return e?{document:e,window:t}:Hi}),[r,n]);return i.createElement(Gi.Provider,{value:l},t,!n&&a&&i.createElement("span",{id:"__chakra_env",hidden:!0,ref:e=>{(0,i.startTransition)((()=>{e&&o(e)}))}}))}Gi.displayName="EnvironmentContext",Wi.displayName="EnvironmentProvider";var Ui=e=>{const{children:t,colorModeManager:n,portalZIndex:r,resetCSS:o=!0,theme:a={},environment:s,cssVarsRoot:l}=e,u=i.createElement(Wi,{environment:s},t);return i.createElement(Ei,{theme:a,cssVarsRoot:l},i.createElement(Qt,{colorModeManager:n,options:a.config},o?i.createElement(Et,null):i.createElement(Ct,null),i.createElement(Ai,null),r?i.createElement(Ot,{zIndex:r},u):u))};function qi(e,t={}){let n=!1;function r(t){const n=`chakra-${(["container","root"].includes(t??"")?[e]:[e,t]).filter(Boolean).join("__")}`;return{className:n,selector:`.${n}`,toString:()=>t}}return{parts:function(...i){!function(){if(n)throw new Error("[anatomy] .part(...) should only be called once. Did you mean to use .extend(...) ?");n=!0}();for(const e of i)t[e]=r(e);return qi(e,t)},toPart:r,extend:function(...n){for(const e of n)e in t||(t[e]=r(e));return qi(e,t)},selectors:function(){const e=Object.fromEntries(Object.entries(t).map((([e,t])=>[e,t.selector])));return e},classnames:function(){const e=Object.fromEntries(Object.entries(t).map((([e,t])=>[e,t.className])));return e},get keys(){return Object.keys(t)},__type:{}}}var Xi=qi("accordion").parts("root","container","button","panel").extend("icon"),Yi=qi("alert").parts("title","description","container").extend("icon","spinner"),Ki=qi("avatar").parts("label","badge","container").extend("excessLabel","group"),Zi=qi("breadcrumb").parts("link","item","container").extend("separator"),Qi=(qi("button").parts(),qi("checkbox").parts("control","icon","container").extend("label")),Ji=(qi("progress").parts("track","filledTrack").extend("label"),qi("drawer").parts("overlay","dialogContainer","dialog").extend("header","closeButton","body","footer")),eo=qi("editable").parts("preview","input","textarea"),to=qi("form").parts("container","requiredIndicator","helperText"),no=qi("formError").parts("text","icon"),ro=qi("input").parts("addon","field","element"),io=qi("list").parts("container","item","icon"),oo=qi("menu").parts("button","list","item").extend("groupTitle","command","divider"),ao=qi("modal").parts("overlay","dialogContainer","dialog").extend("header","closeButton","body","footer"),so=qi("numberinput").parts("root","field","stepperGroup","stepper"),lo=(qi("pininput").parts("field"),qi("popover").parts("content","header","body","footer").extend("popper","arrow","closeButton")),uo=qi("progress").parts("label","filledTrack","track"),co=qi("radio").parts("container","control","label"),fo=qi("select").parts("field","icon"),ho=qi("slider").parts("container","track","thumb","filledTrack","mark"),po=qi("stat").parts("container","label","helpText","number","icon"),go=qi("switch").parts("container","track","thumb"),mo=qi("table").parts("table","thead","tbody","tr","th","td","tfoot","caption"),bo=qi("tabs").parts("root","tab","tablist","tabpanel","tabpanels","indicator"),vo=qi("tag").parts("container","label","closeButton"),yo=qi("card").parts("container","header","body","footer");function wo(e,t,n){return Math.min(Math.max(e,n),t)}class xo extends Error{constructor(e){super(`Failed to parse color: "${e}"`)}}var _o=xo;function So(e){if("string"!=typeof e)throw new _o(e);if("transparent"===e.trim().toLowerCase())return[0,0,0,0];let t=e.trim();t=Po.test(e)?function(e){const t=e.toLowerCase().trim(),n=Co[function(e){let t=5381,n=e.length;for(;n;)t=33*t^e.charCodeAt(--n);return(t>>>0)%2341}(t)];if(!n)throw new _o(e);return`#${n}`}(e):e;const n=Io.exec(t);if(n){const e=Array.from(n).slice(1);return[...e.slice(0,3).map((e=>parseInt(Eo(e,2),16))),parseInt(Eo(e[3]||"f",2),16)/255]}const r=Mo.exec(t);if(r){const e=Array.from(r).slice(1);return[...e.slice(0,3).map((e=>parseInt(e,16))),parseInt(e[3]||"ff",16)/255]}const i=To.exec(t);if(i){const e=Array.from(i).slice(1);return[...e.slice(0,3).map((e=>parseInt(e,10))),parseFloat(e[3]||"1")]}const o=Ao.exec(t);if(o){const[t,n,r,i]=Array.from(o).slice(1).map(parseFloat);if(wo(0,100,n)!==n)throw new _o(e);if(wo(0,100,r)!==r)throw new _o(e);return[...Do(t,n,r),Number.isNaN(i)?1:i]}throw new _o(e)}const ko=e=>parseInt(e.replace(/_/g,""),36),Co="1q29ehhb 1n09sgk7 1kl1ekf_ _yl4zsno 16z9eiv3 1p29lhp8 _bd9zg04 17u0____ _iw9zhe5 _to73___ _r45e31e _7l6g016 _jh8ouiv _zn3qba8 1jy4zshs 11u87k0u 1ro9yvyo 1aj3xael 1gz9zjz0 _3w8l4xo 1bf1ekf_ _ke3v___ _4rrkb__ 13j776yz _646mbhl _nrjr4__ _le6mbhl 1n37ehkb _m75f91n _qj3bzfz 1939yygw 11i5z6x8 _1k5f8xs 1509441m 15t5lwgf _ae2th1n _tg1ugcv 1lp1ugcv 16e14up_ _h55rw7n _ny9yavn _7a11xb_ 1ih442g9 _pv442g9 1mv16xof 14e6y7tu 1oo9zkds 17d1cisi _4v9y70f _y98m8kc 1019pq0v 12o9zda8 _348j4f4 1et50i2o _8epa8__ _ts6senj 1o350i2o 1mi9eiuo 1259yrp0 1ln80gnw _632xcoy 1cn9zldc _f29edu4 1n490c8q _9f9ziet 1b94vk74 _m49zkct 1kz6s73a 1eu9dtog _q58s1rz 1dy9sjiq __u89jo3 _aj5nkwg _ld89jo3 13h9z6wx _qa9z2ii _l119xgq _bs5arju 1hj4nwk9 1qt4nwk9 1ge6wau6 14j9zlcw 11p1edc_ _ms1zcxe _439shk6 _jt9y70f _754zsow 1la40eju _oq5p___ _x279qkz 1fa5r3rv _yd2d9ip _424tcku _8y1di2_ _zi2uabw _yy7rn9h 12yz980_ __39ljp6 1b59zg0x _n39zfzp 1fy9zest _b33k___ _hp9wq92 1il50hz4 _io472ub _lj9z3eo 19z9ykg0 _8t8iu3a 12b9bl4a 1ak5yw0o _896v4ku _tb8k8lv _s59zi6t _c09ze0p 1lg80oqn 1id9z8wb _238nba5 1kq6wgdi _154zssg _tn3zk49 _da9y6tc 1sg7cv4f _r12jvtt 1gq5fmkz 1cs9rvci _lp9jn1c _xw1tdnb 13f9zje6 16f6973h _vo7ir40 _bt5arjf _rc45e4t _hr4e100 10v4e100 _hc9zke2 _w91egv_ _sj2r1kk 13c87yx8 _vqpds__ _ni8ggk8 _tj9yqfb 1ia2j4r4 _7x9b10u 1fc9ld4j 1eq9zldr _5j9lhpx _ez9zl6o _md61fzm".split(" ").reduce(((e,t)=>{const n=ko(t.substring(0,3)),r=ko(t.substring(3)).toString(16);let i="";for(let e=0;e<6-r.length;e++)i+="0";return e[n]=`${i}${r}`,e}),{});const Eo=(e,t)=>Array.from(Array(t)).map((()=>e)).join(""),Io=new RegExp(`^#${Eo("([a-f0-9])",3)}([a-f0-9])?$`,"i"),Mo=new RegExp(`^#${Eo("([a-f0-9]{2})",3)}([a-f0-9]{2})?$`,"i"),To=new RegExp(`^rgba?\\(\\s*(\\d+)\\s*${Eo(",\\s*(\\d+)\\s*",2)}(?:,\\s*([\\d.]+))?\\s*\\)$`,"i"),Ao=/^hsla?\(\s*([\d.]+)\s*,\s*([\d.]+)%\s*,\s*([\d.]+)%(?:\s*,\s*([\d.]+))?\s*\)$/i,Po=/^[a-z]+$/i,Oo=e=>Math.round(255*e),Do=(e,t,n)=>{let r=n/100;if(0===t)return[r,r,r].map(Oo);const i=(e%360+360)%360/60,o=(1-Math.abs(2*r-1))*(t/100),a=o*(1-Math.abs(i%2-1));let s=0,l=0,u=0;i>=0&&i<1?(s=o,l=a):i>=1&&i<2?(s=a,l=o):i>=2&&i<3?(l=o,u=a):i>=3&&i<4?(l=a,u=o):i>=4&&i<5?(s=a,u=o):i>=5&&i<6&&(s=o,u=a);const c=r-o/2;return[s+c,l+c,u+c].map(Oo)};function Ro(e,t,n,r){return`rgba(${wo(0,255,e).toFixed()}, ${wo(0,255,t).toFixed()}, ${wo(0,255,n).toFixed()}, ${parseFloat(wo(0,1,r).toFixed(3))})`}function Lo(e,t){const[n,r,i,o]=So(e);return Ro(n,r,i,o-t)}var No=(e,t,n)=>{const r=function(e,t,n,r,i){for(t=t.split?t.split("."):t,r=0;r<t.length;r++)e=e?e[t[r]]:i;return e===i?n:e}(e,`colors.${t}`,t);try{return function(e){const[t,n,r,i]=So(e);let o=e=>{const t=wo(0,255,e).toString(16);return 1===t.length?`0${t}`:t};o(t),o(n),o(r),i<1&&o(Math.round(255*i))}(r),r}catch{return n??"#000000"}},jo=e=>t=>{const n=(e=>{const[t,n,r]=So(e);return(299*t+587*n+114*r)/1e3})(No(t,e));return n<128?"dark":"light"},Fo=(e,t)=>n=>Lo(No(n,e),1-t);function zo(e="1rem",t="rgba(255, 255, 255, 0.15)"){return{backgroundImage:`linear-gradient(\n 45deg,\n ${t} 25%,\n transparent 25%,\n transparent 50%,\n ${t} 50%,\n ${t} 75%,\n transparent 75%,\n transparent\n )`,backgroundSize:`${e} ${e}`}}function Bo(e){const t=`#${Math.floor(16777215*Math.random()).toString(16).padEnd(6,"0")}`;return e&&(n=e,0!==Object.keys(n).length)?e.string&&e.colors?function(e,t){let n=0;if(0===e.length)return t[0];for(let t=0;t<e.length;t+=1)n=e.charCodeAt(t)+((n<<5)-n),n&=n;return n=(n%t.length+t.length)%t.length,t[n]}(e.string,e.colors):e.string&&!e.colors?function(e){let t=0;if(0===e.length)return t.toString();for(let n=0;n<e.length;n+=1)t=e.charCodeAt(n)+((t<<5)-t),t&=t;let n="#";for(let e=0;e<3;e+=1){n+=`00${(t>>8*e&255).toString(16)}`.substr(-2)}return n}(e.string):e.colors&&!e.string?function(e){return e[Math.floor(Math.random()*e.length)]}(e.colors):t:t;var n}function Vo(e,t){return n=>"dark"===n.colorMode?t:e}function $o(e){const{orientation:t,vertical:n,horizontal:r}=e;return t?"vertical"===t?n:r:{}}function Ho(e){return function(e){const t=typeof e;return null!=e&&("object"===t||"function"===t)&&!Array.isArray(e)}(e)&&e.reference?e.reference:String(e)}var Go=(e,...t)=>t.map(Ho).join(` ${e} `).replace(/calc/g,""),Wo=(...e)=>`calc(${Go("+",...e)})`,Uo=(...e)=>`calc(${Go("-",...e)})`,qo=(...e)=>`calc(${Go("*",...e)})`,Xo=(...e)=>`calc(${Go("/",...e)})`,Yo=e=>{const t=Ho(e);return null==t||Number.isNaN(parseFloat(t))?qo(t,-1):String(t).startsWith("-")?String(t).slice(1):`-${t}`},Ko=Object.assign((e=>({add:(...t)=>Ko(Wo(e,...t)),subtract:(...t)=>Ko(Uo(e,...t)),multiply:(...t)=>Ko(qo(e,...t)),divide:(...t)=>Ko(Xo(e,...t)),negate:()=>Ko(Yo(e)),toString:()=>e.toString()})),{add:Wo,subtract:Uo,multiply:qo,divide:Xo,negate:Yo});function Zo(e){const t=function(e,t="-"){return e.replace(/\s+/g,t)}(e.toString());return t.includes("\\.")?e:function(e){return!Number.isInteger(parseFloat(e.toString()))}(e)?t.replace(".","\\."):e}function Qo(e,t){return`var(${Zo(e)}${t?`, ${t}`:""})`}function Jo(e,t=""){return`--${function(e,t=""){return[t,Zo(e)].filter(Boolean).join("-")}(e,t)}`}function ea(e,t){const n=Jo(e,null==t?void 0:t.prefix);return{variable:n,reference:Qo(n,ta(null==t?void 0:t.fallback))}}function ta(e){return"string"==typeof e?e:null==e?void 0:e.reference}var{definePartsStyle:na,defineMultiStyleConfig:ra}=Hr(Xi.keys),ia=ra({baseStyle:na({container:{borderTopWidth:"1px",borderColor:"inherit",_last:{borderBottomWidth:"1px"}},button:{transitionProperty:"common",transitionDuration:"normal",fontSize:"md",_focusVisible:{boxShadow:"outline"},_hover:{bg:"blackAlpha.50"},_disabled:{opacity:.4,cursor:"not-allowed"},px:"4",py:"2"},panel:{pt:"2",px:"4",pb:"5"},icon:{fontSize:"1.25em"}})}),{definePartsStyle:oa,defineMultiStyleConfig:aa}=Hr(Yi.keys),sa=ar("alert-fg"),la=ar("alert-bg"),ua=oa({container:{bg:la.reference,px:"4",py:"3"},title:{fontWeight:"bold",lineHeight:"6",marginEnd:"2"},description:{lineHeight:"6"},icon:{color:sa.reference,flexShrink:0,marginEnd:"3",w:"5",h:"6"},spinner:{color:sa.reference,flexShrink:0,marginEnd:"3",w:"5",h:"5"}});function ca(e){const{theme:t,colorScheme:n}=e;return{light:`colors.${n}.100`,dark:Fo(`${n}.200`,.16)(t)}}var fa=oa((e=>{const{colorScheme:t}=e,n=ca(e);return{container:{[sa.variable]:`colors.${t}.500`,[la.variable]:n.light,_dark:{[sa.variable]:`colors.${t}.200`,[la.variable]:n.dark}}}})),ha=oa((e=>{const{colorScheme:t}=e,n=ca(e);return{container:{[sa.variable]:`colors.${t}.500`,[la.variable]:n.light,_dark:{[sa.variable]:`colors.${t}.200`,[la.variable]:n.dark},paddingStart:"3",borderStartWidth:"4px",borderStartColor:sa.reference}}})),da=oa((e=>{const{colorScheme:t}=e,n=ca(e);return{container:{[sa.variable]:`colors.${t}.500`,[la.variable]:n.light,_dark:{[sa.variable]:`colors.${t}.200`,[la.variable]:n.dark},pt:"2",borderTopWidth:"4px",borderTopColor:sa.reference}}})),pa=oa((e=>{const{colorScheme:t}=e;return{container:{[sa.variable]:"colors.white",[la.variable]:`colors.${t}.500`,_dark:{[sa.variable]:"colors.gray.900",[la.variable]:`colors.${t}.200`},color:sa.reference}}})),ga=aa({baseStyle:ua,variants:{subtle:fa,"left-accent":ha,"top-accent":da,solid:pa},defaultProps:{variant:"subtle",colorScheme:"blue"}}),ma={px:"1px",.5:"0.125rem",1:"0.25rem",1.5:"0.375rem",2:"0.5rem",2.5:"0.625rem",3:"0.75rem",3.5:"0.875rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem",12:"3rem",14:"3.5rem",16:"4rem",20:"5rem",24:"6rem",28:"7rem",32:"8rem",36:"9rem",40:"10rem",44:"11rem",48:"12rem",52:"13rem",56:"14rem",60:"15rem",64:"16rem",72:"18rem",80:"20rem",96:"24rem"},ba={...ma,max:"max-content",min:"min-content",full:"100%","3xs":"14rem","2xs":"16rem",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem","8xl":"90rem",prose:"60ch",container:{sm:"640px",md:"768px",lg:"1024px",xl:"1280px"}};function va(e,...t){return"function"==typeof e?e(...t):e}var{definePartsStyle:ya,defineMultiStyleConfig:wa}=Hr(Ki.keys),xa=ar("avatar-border-color"),_a=ar("avatar-bg"),Sa={borderRadius:"full",border:"0.2em solid",[xa.variable]:"white",_dark:{[xa.variable]:"colors.gray.800"},borderColor:xa.reference},ka={[_a.variable]:"colors.gray.200",_dark:{[_a.variable]:"colors.whiteAlpha.400"},bgColor:_a.reference},Ca=ar("avatar-background"),Ea=e=>{const{name:t,theme:n}=e,r=t?Bo({string:t}):"colors.gray.400",i=(e=>t=>"dark"===jo(e)(t))(r)(n);let o="white";return i||(o="gray.800"),{bg:Ca.reference,"&:not([data-loaded])":{[Ca.variable]:r},color:o,[xa.variable]:"colors.white",_dark:{[xa.variable]:"colors.gray.800"},borderColor:xa.reference,verticalAlign:"top"}};function Ia(e){const t="100%"!==e?ba[e]:void 0;return ya({container:{width:e,height:e,fontSize:`calc(${t??e} / 2.5)`},excessLabel:{width:e,height:e},label:{fontSize:`calc(${t??e} / 2.5)`,lineHeight:"100%"!==e?t??e:void 0}})}var Ma=wa({baseStyle:ya((e=>({badge:va(Sa,e),excessLabel:va(ka,e),container:va(Ea,e)}))),sizes:{"2xs":Ia(4),xs:Ia(6),sm:Ia(8),md:Ia(12),lg:Ia(16),xl:Ia(24),"2xl":Ia(32),full:Ia("100%")},defaultProps:{size:"md"}}),Ta={px:1,textTransform:"uppercase",fontSize:"xs",borderRadius:"sm",fontWeight:"bold"},Aa=ar("badge-bg"),Pa=ar("badge-color"),Oa=e=>{const{colorScheme:t,theme:n}=e,r=Fo(`${t}.500`,.6)(n);return{[Aa.variable]:`colors.${t}.500`,[Pa.variable]:"colors.white",_dark:{[Aa.variable]:r,[Pa.variable]:"colors.whiteAlpha.800"},bg:Aa.reference,color:Pa.reference}},Da=e=>{const{colorScheme:t,theme:n}=e,r=Fo(`${t}.200`,.16)(n);return{[Aa.variable]:`colors.${t}.100`,[Pa.variable]:`colors.${t}.800`,_dark:{[Aa.variable]:r,[Pa.variable]:`colors.${t}.200`},bg:Aa.reference,color:Pa.reference}},Ra=e=>{const{colorScheme:t,theme:n}=e,r=Fo(`${t}.200`,.8)(n);return{[Pa.variable]:`colors.${t}.500`,_dark:{[Pa.variable]:r},color:Pa.reference,boxShadow:`inset 0 0 0px 1px ${Pa.reference}`}},La={baseStyle:Ta,variants:{solid:Oa,subtle:Da,outline:Ra},defaultProps:{variant:"subtle",colorScheme:"gray"}},{defineMultiStyleConfig:Na,definePartsStyle:ja}=Hr(Zi.keys),Fa=Na({baseStyle:ja({link:{transitionProperty:"common",transitionDuration:"fast",transitionTimingFunction:"ease-out",cursor:"pointer",textDecoration:"none",outline:"none",color:"inherit",_hover:{textDecoration:"underline"},_focusVisible:{boxShadow:"outline"}}})}),za=e=>{const{colorScheme:t,theme:n}=e;if("gray"===t)return{color:Vo("inherit","whiteAlpha.900")(e),_hover:{bg:Vo("gray.100","whiteAlpha.200")(e)},_active:{bg:Vo("gray.200","whiteAlpha.300")(e)}};const r=Fo(`${t}.200`,.12)(n),i=Fo(`${t}.200`,.24)(n);return{color:Vo(`${t}.600`,`${t}.200`)(e),bg:"transparent",_hover:{bg:Vo(`${t}.50`,r)(e)},_active:{bg:Vo(`${t}.100`,i)(e)}}},Ba=e=>{const{colorScheme:t}=e,n=Vo("gray.200","whiteAlpha.300")(e);return{border:"1px solid",borderColor:"gray"===t?n:"currentColor",".chakra-button__group[data-attached][data-orientation=horizontal] > &:not(:last-of-type)":{marginEnd:"-1px"},".chakra-button__group[data-attached][data-orientation=vertical] > &:not(:last-of-type)":{marginBottom:"-1px"},...va(za,e)}},Va={yellow:{bg:"yellow.400",color:"black",hoverBg:"yellow.500",activeBg:"yellow.600"},cyan:{bg:"cyan.400",color:"black",hoverBg:"cyan.500",activeBg:"cyan.600"}},$a=e=>{const{colorScheme:t}=e;if("gray"===t){const t=Vo("gray.100","whiteAlpha.200")(e);return{bg:t,_hover:{bg:Vo("gray.200","whiteAlpha.300")(e),_disabled:{bg:t}},_active:{bg:Vo("gray.300","whiteAlpha.400")(e)}}}const{bg:n=`${t}.500`,color:r="white",hoverBg:i=`${t}.600`,activeBg:o=`${t}.700`}=Va[t]??{},a=Vo(n,`${t}.200`)(e);return{bg:a,color:Vo(r,"gray.800")(e),_hover:{bg:Vo(i,`${t}.300`)(e),_disabled:{bg:a}},_active:{bg:Vo(o,`${t}.400`)(e)}}},Ha=e=>{const{colorScheme:t}=e;return{padding:0,height:"auto",lineHeight:"normal",verticalAlign:"baseline",color:Vo(`${t}.500`,`${t}.200`)(e),_hover:{textDecoration:"underline",_disabled:{textDecoration:"none"}},_active:{color:Vo(`${t}.700`,`${t}.500`)(e)}}},Ga={baseStyle:{lineHeight:"1.2",borderRadius:"md",fontWeight:"semibold",transitionProperty:"common",transitionDuration:"normal",_focusVisible:{boxShadow:"outline"},_disabled:{opacity:.4,cursor:"not-allowed",boxShadow:"none"},_hover:{_disabled:{bg:"initial"}}},variants:{ghost:za,outline:Ba,solid:$a,link:Ha,unstyled:{bg:"none",color:"inherit",display:"inline",lineHeight:"inherit",m:"0",p:"0"}},sizes:{lg:{h:"12",minW:"12",fontSize:"lg",px:"6"},md:{h:"10",minW:"10",fontSize:"md",px:"4"},sm:{h:"8",minW:"8",fontSize:"sm",px:"3"},xs:{h:"6",minW:"6",fontSize:"xs",px:"2"}},defaultProps:{variant:"solid",size:"md",colorScheme:"gray"}},{definePartsStyle:Wa,defineMultiStyleConfig:Ua}=Hr(yo.keys),qa=ar("card-bg"),Xa=ar("card-padding"),Ya=Wa({container:{[qa.variable]:"chakra-body-bg",backgroundColor:qa.reference,color:"chakra-body-text"},body:{padding:Xa.reference,flex:"1 1 0%"},header:{padding:Xa.reference},footer:{padding:Xa.reference}}),Ka={sm:Wa({container:{borderRadius:"base",[Xa.variable]:"space.3"}}),md:Wa({container:{borderRadius:"md",[Xa.variable]:"space.5"}}),lg:Wa({container:{borderRadius:"xl",[Xa.variable]:"space.7"}})},Za=Ua({baseStyle:Ya,variants:{elevated:Wa({container:{boxShadow:"base",_dark:{[qa.variable]:"colors.gray.700"}}}),outline:Wa({container:{borderWidth:"1px",borderColor:"chakra-border-color"}}),filled:Wa({container:{[qa.variable]:"colors.chakra-subtle-bg"}}),unstyled:{body:{padding:0},header:{padding:0},footer:{padding:0}}},sizes:Ka,defaultProps:{variant:"elevated",size:"md"}}),{definePartsStyle:Qa,defineMultiStyleConfig:Ja}=Hr(Qi.keys),es=ar("checkbox-size"),ts=e=>{const{colorScheme:t}=e;return{w:es.reference,h:es.reference,transitionProperty:"box-shadow",transitionDuration:"normal",border:"2px solid",borderRadius:"sm",borderColor:"inherit",color:"white",_checked:{bg:Vo(`${t}.500`,`${t}.200`)(e),borderColor:Vo(`${t}.500`,`${t}.200`)(e),color:Vo("white","gray.900")(e),_hover:{bg:Vo(`${t}.600`,`${t}.300`)(e),borderColor:Vo(`${t}.600`,`${t}.300`)(e)},_disabled:{borderColor:Vo("gray.200","transparent")(e),bg:Vo("gray.200","whiteAlpha.300")(e),color:Vo("gray.500","whiteAlpha.500")(e)}},_indeterminate:{bg:Vo(`${t}.500`,`${t}.200`)(e),borderColor:Vo(`${t}.500`,`${t}.200`)(e),color:Vo("white","gray.900")(e)},_disabled:{bg:Vo("gray.100","whiteAlpha.100")(e),borderColor:Vo("gray.100","transparent")(e)},_focusVisible:{boxShadow:"outline"},_invalid:{borderColor:Vo("red.500","red.300")(e)}}},ns={_disabled:{cursor:"not-allowed"}},rs={userSelect:"none",_disabled:{opacity:.4}},is={transitionProperty:"transform",transitionDuration:"normal"},os=Ja({baseStyle:Qa((e=>({icon:is,container:ns,control:va(ts,e),label:rs}))),sizes:{sm:Qa({control:{[es.variable]:"sizes.3"},label:{fontSize:"sm"},icon:{fontSize:"3xs"}}),md:Qa({control:{[es.variable]:"sizes.4"},label:{fontSize:"md"},icon:{fontSize:"2xs"}}),lg:Qa({control:{[es.variable]:"sizes.5"},label:{fontSize:"lg"},icon:{fontSize:"2xs"}})},defaultProps:{size:"md",colorScheme:"blue"}}),as=ea("close-button-size"),ss=ea("close-button-bg"),ls={baseStyle:{w:[as.reference],h:[as.reference],borderRadius:"md",transitionProperty:"common",transitionDuration:"normal",_disabled:{opacity:.4,cursor:"not-allowed",boxShadow:"none"},_hover:{[ss.variable]:"colors.blackAlpha.100",_dark:{[ss.variable]:"colors.whiteAlpha.100"}},_active:{[ss.variable]:"colors.blackAlpha.200",_dark:{[ss.variable]:"colors.whiteAlpha.200"}},_focusVisible:{boxShadow:"outline"},bg:ss.reference},sizes:{lg:{[as.variable]:"sizes.10",fontSize:"md"},md:{[as.variable]:"sizes.8",fontSize:"xs"},sm:{[as.variable]:"sizes.6",fontSize:"2xs"}},defaultProps:{size:"md"}},{variants:us,defaultProps:cs}=La,fs={baseStyle:{fontFamily:"mono",fontSize:"sm",px:"0.2em",borderRadius:"sm"},variants:us,defaultProps:cs},hs={baseStyle:{w:"100%",mx:"auto",maxW:"prose",px:"4"}},ds={baseStyle:{opacity:.6,borderColor:"inherit"},variants:{solid:{borderStyle:"solid"},dashed:{borderStyle:"dashed"}},defaultProps:{variant:"solid"}},{definePartsStyle:ps,defineMultiStyleConfig:gs}=Hr(Ji.keys),ms=ar("drawer-bg"),bs=ar("drawer-box-shadow");function vs(e){return ps("full"===e?{dialog:{maxW:"100vw",h:"100vh"}}:{dialog:{maxW:e}})}var ys={bg:"blackAlpha.600",zIndex:"overlay"},ws={display:"flex",zIndex:"modal",justifyContent:"center"},xs=e=>{const{isFullHeight:t}=e;return{...t&&{height:"100vh"},zIndex:"modal",maxH:"100vh",color:"inherit",[ms.variable]:"colors.white",[bs.variable]:"shadows.lg",_dark:{[ms.variable]:"colors.gray.700",[bs.variable]:"shadows.dark-lg"},bg:ms.reference,boxShadow:bs.reference}},_s={px:"6",py:"4",fontSize:"xl",fontWeight:"semibold"},Ss={position:"absolute",top:"2",insetEnd:"3"},ks={px:"6",py:"2",flex:"1",overflow:"auto"},Cs={px:"6",py:"4"},Es=gs({baseStyle:ps((e=>({overlay:ys,dialogContainer:ws,dialog:va(xs,e),header:_s,closeButton:Ss,body:ks,footer:Cs}))),sizes:{xs:vs("xs"),sm:vs("md"),md:vs("lg"),lg:vs("2xl"),xl:vs("4xl"),full:vs("full")},defaultProps:{size:"xs"}}),{definePartsStyle:Is,defineMultiStyleConfig:Ms}=Hr(eo.keys),Ts=Ms({baseStyle:Is({preview:{borderRadius:"md",py:"1",transitionProperty:"common",transitionDuration:"normal"},input:{borderRadius:"md",py:"1",transitionProperty:"common",transitionDuration:"normal",width:"full",_focusVisible:{boxShadow:"outline"},_placeholder:{opacity:.6}},textarea:{borderRadius:"md",py:"1",transitionProperty:"common",transitionDuration:"normal",width:"full",_focusVisible:{boxShadow:"outline"},_placeholder:{opacity:.6}}})}),{definePartsStyle:As,defineMultiStyleConfig:Ps}=Hr(to.keys),Os=ar("form-control-color"),Ds=Ps({baseStyle:As({container:{width:"100%",position:"relative"},requiredIndicator:{marginStart:"1",[Os.variable]:"colors.red.500",_dark:{[Os.variable]:"colors.red.300"},color:Os.reference},helperText:{mt:"2",[Os.variable]:"colors.gray.600",_dark:{[Os.variable]:"colors.whiteAlpha.600"},color:Os.reference,lineHeight:"normal",fontSize:"sm"}})}),{definePartsStyle:Rs,defineMultiStyleConfig:Ls}=Hr(no.keys),Ns=ar("form-error-color"),js=Ls({baseStyle:Rs({text:{[Ns.variable]:"colors.red.500",_dark:{[Ns.variable]:"colors.red.300"},color:Ns.reference,mt:"2",fontSize:"sm",lineHeight:"normal"},icon:{marginEnd:"0.5em",[Ns.variable]:"colors.red.500",_dark:{[Ns.variable]:"colors.red.300"},color:Ns.reference}})}),Fs={baseStyle:{fontSize:"md",marginEnd:"3",mb:"2",fontWeight:"medium",transitionProperty:"common",transitionDuration:"normal",opacity:1,_disabled:{opacity:.4}}},zs={baseStyle:{fontFamily:"heading",fontWeight:"bold"},sizes:{"4xl":{fontSize:["6xl",null,"7xl"],lineHeight:1},"3xl":{fontSize:["5xl",null,"6xl"],lineHeight:1},"2xl":{fontSize:["4xl",null,"5xl"],lineHeight:[1.2,null,1]},xl:{fontSize:["3xl",null,"4xl"],lineHeight:[1.33,null,1.2]},lg:{fontSize:["2xl",null,"3xl"],lineHeight:[1.33,null,1.2]},md:{fontSize:"xl",lineHeight:1.2},sm:{fontSize:"md",lineHeight:1.2},xs:{fontSize:"sm",lineHeight:1.2}},defaultProps:{size:"xl"}},{definePartsStyle:Bs,defineMultiStyleConfig:Vs}=Hr(ro.keys),$s={lg:{fontSize:"lg",px:"4",h:"12",borderRadius:"md"},md:{fontSize:"md",px:"4",h:"10",borderRadius:"md"},sm:{fontSize:"sm",px:"3",h:"8",borderRadius:"sm"},xs:{fontSize:"xs",px:"2",h:"6",borderRadius:"sm"}};function Hs(e){const{focusBorderColor:t,errorBorderColor:n}=e;return{focusBorderColor:t||Vo("blue.500","blue.300")(e),errorBorderColor:n||Vo("red.500","red.300")(e)}}var Gs=Vs({baseStyle:Bs({field:{width:"100%",minWidth:0,outline:0,position:"relative",appearance:"none",transitionProperty:"common",transitionDuration:"normal",_disabled:{opacity:.4,cursor:"not-allowed"}}}),sizes:{lg:Bs({field:$s.lg,addon:$s.lg}),md:Bs({field:$s.md,addon:$s.md}),sm:Bs({field:$s.sm,addon:$s.sm}),xs:Bs({field:$s.xs,addon:$s.xs})},variants:{outline:Bs((e=>{const{theme:t}=e,{focusBorderColor:n,errorBorderColor:r}=Hs(e);return{field:{border:"1px solid",borderColor:"inherit",bg:"inherit",_hover:{borderColor:Vo("gray.300","whiteAlpha.400")(e)},_readOnly:{boxShadow:"none !important",userSelect:"all"},_invalid:{borderColor:No(t,r),boxShadow:`0 0 0 1px ${No(t,r)}`},_focusVisible:{zIndex:1,borderColor:No(t,n),boxShadow:`0 0 0 1px ${No(t,n)}`}},addon:{border:"1px solid",borderColor:Vo("inherit","whiteAlpha.50")(e),bg:Vo("gray.100","whiteAlpha.300")(e)}}})),filled:Bs((e=>{const{theme:t}=e,{focusBorderColor:n,errorBorderColor:r}=Hs(e);return{field:{border:"2px solid",borderColor:"transparent",bg:Vo("gray.100","whiteAlpha.50")(e),_hover:{bg:Vo("gray.200","whiteAlpha.100")(e)},_readOnly:{boxShadow:"none !important",userSelect:"all"},_invalid:{borderColor:No(t,r)},_focusVisible:{bg:"transparent",borderColor:No(t,n)}},addon:{border:"2px solid",borderColor:"transparent",bg:Vo("gray.100","whiteAlpha.50")(e)}}})),flushed:Bs((e=>{const{theme:t}=e,{focusBorderColor:n,errorBorderColor:r}=Hs(e);return{field:{borderBottom:"1px solid",borderColor:"inherit",borderRadius:"0",px:"0",bg:"transparent",_readOnly:{boxShadow:"none !important",userSelect:"all"},_invalid:{borderColor:No(t,r),boxShadow:`0px 1px 0px 0px ${No(t,r)}`},_focusVisible:{borderColor:No(t,n),boxShadow:`0px 1px 0px 0px ${No(t,n)}`}},addon:{borderBottom:"2px solid",borderColor:"inherit",borderRadius:"0",px:"0",bg:"transparent"}}})),unstyled:Bs({field:{bg:"transparent",px:"0",height:"auto"},addon:{bg:"transparent",px:"0",height:"auto"}})},defaultProps:{size:"md",variant:"outline"}}),Ws=ar("kbd-bg"),Us={baseStyle:{[Ws.variable]:"colors.gray.100",_dark:{[Ws.variable]:"colors.whiteAlpha.100"},bg:Ws.reference,borderRadius:"md",borderWidth:"1px",borderBottomWidth:"3px",fontSize:"0.8em",fontWeight:"bold",lineHeight:"normal",px:"0.4em",whiteSpace:"nowrap"}},qs={baseStyle:{transitionProperty:"common",transitionDuration:"fast",transitionTimingFunction:"ease-out",cursor:"pointer",textDecoration:"none",outline:"none",color:"inherit",_hover:{textDecoration:"underline"},_focusVisible:{boxShadow:"outline"}}},{defineMultiStyleConfig:Xs,definePartsStyle:Ys}=Hr(io.keys),Ks=Xs({baseStyle:Ys({icon:{marginEnd:"2",display:"inline",verticalAlign:"text-bottom"}})}),{defineMultiStyleConfig:Zs,definePartsStyle:Qs}=Hr(oo.keys),Js=ar("menu-bg"),el=ar("menu-shadow"),tl=Zs({baseStyle:Qs({button:{transitionProperty:"common",transitionDuration:"normal"},list:{[Js.variable]:"#fff",[el.variable]:"shadows.sm",_dark:{[Js.variable]:"colors.gray.700",[el.variable]:"shadows.dark-lg"},color:"inherit",minW:"3xs",py:"2",zIndex:1,borderRadius:"md",borderWidth:"1px",bg:Js.reference,boxShadow:el.reference},item:{py:"1.5",px:"3",transitionProperty:"background",transitionDuration:"ultra-fast",transitionTimingFunction:"ease-in",_focus:{[Js.variable]:"colors.gray.100",_dark:{[Js.variable]:"colors.whiteAlpha.100"}},_active:{[Js.variable]:"colors.gray.200",_dark:{[Js.variable]:"colors.whiteAlpha.200"}},_expanded:{[Js.variable]:"colors.gray.100",_dark:{[Js.variable]:"colors.whiteAlpha.100"}},_disabled:{opacity:.4,cursor:"not-allowed"},bg:Js.reference},groupTitle:{mx:4,my:2,fontWeight:"semibold",fontSize:"sm"},command:{opacity:.6},divider:{border:0,borderBottom:"1px solid",borderColor:"inherit",my:"2",opacity:.6}})}),{defineMultiStyleConfig:nl,definePartsStyle:rl}=Hr(ao.keys),il={bg:"blackAlpha.600",zIndex:"modal"},ol=e=>{const{isCentered:t,scrollBehavior:n}=e;return{display:"flex",zIndex:"modal",justifyContent:"center",alignItems:t?"center":"flex-start",overflow:"inside"===n?"hidden":"auto",overscrollBehaviorY:"none"}},al=e=>{const{scrollBehavior:t}=e;return{borderRadius:"md",bg:Vo("white","gray.700")(e),color:"inherit",my:"16",zIndex:"modal",maxH:"inside"===t?"calc(100% - 7.5rem)":void 0,boxShadow:Vo("lg","dark-lg")(e)}},sl={px:"6",py:"4",fontSize:"xl",fontWeight:"semibold"},ll={position:"absolute",top:"2",insetEnd:"3"},ul=e=>{const{scrollBehavior:t}=e;return{px:"6",py:"2",flex:"1",overflow:"inside"===t?"auto":void 0}},cl={px:"6",py:"4"};function fl(e){return rl("full"===e?{dialog:{maxW:"100vw",minH:"$100vh",my:"0",borderRadius:"0"}}:{dialog:{maxW:e}})}var hl=nl({baseStyle:rl((e=>({overlay:il,dialogContainer:va(ol,e),dialog:va(al,e),header:sl,closeButton:ll,body:va(ul,e),footer:cl}))),sizes:{xs:fl("xs"),sm:fl("sm"),md:fl("md"),lg:fl("lg"),xl:fl("xl"),"2xl":fl("2xl"),"3xl":fl("3xl"),"4xl":fl("4xl"),"5xl":fl("5xl"),"6xl":fl("6xl"),full:fl("full")},defaultProps:{size:"md"}}),dl={letterSpacings:{tighter:"-0.05em",tight:"-0.025em",normal:"0",wide:"0.025em",wider:"0.05em",widest:"0.1em"},lineHeights:{normal:"normal",none:1,shorter:1.25,short:1.375,base:1.5,tall:1.625,taller:"2",3:".75rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem"},fontWeights:{hairline:100,thin:200,light:300,normal:400,medium:500,semibold:600,bold:700,extrabold:800,black:900},fonts:{heading:'-apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',body:'-apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',mono:'SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace'},fontSizes:{"3xs":"0.45rem","2xs":"0.625rem",xs:"0.75rem",sm:"0.875rem",md:"1rem",lg:"1.125rem",xl:"1.25rem","2xl":"1.5rem","3xl":"1.875rem","4xl":"2.25rem","5xl":"3rem","6xl":"3.75rem","7xl":"4.5rem","8xl":"6rem","9xl":"8rem"}},{defineMultiStyleConfig:pl,definePartsStyle:gl}=Hr(so.keys),ml=ea("number-input-stepper-width"),bl=ea("number-input-input-padding"),vl=Ko(ml).add("0.5rem").toString(),yl=ea("number-input-bg"),wl=ea("number-input-color"),xl=ea("number-input-border-color"),_l={[ml.variable]:"sizes.6",[bl.variable]:vl},Sl=e=>{var t;return(null==(t=va(Gs.baseStyle,e))?void 0:t.field)??{}},kl={width:ml.reference},Cl={borderStart:"1px solid",borderStartColor:xl.reference,color:wl.reference,bg:yl.reference,[wl.variable]:"colors.chakra-body-text",[xl.variable]:"colors.chakra-border-color",_dark:{[wl.variable]:"colors.whiteAlpha.800",[xl.variable]:"colors.whiteAlpha.300"},_active:{[yl.variable]:"colors.gray.200",_dark:{[yl.variable]:"colors.whiteAlpha.300"}},_disabled:{opacity:.4,cursor:"not-allowed"}};function El(e){var t,n;const r=null==(t=Gs.sizes)?void 0:t[e],i={lg:"md",md:"md",sm:"sm",xs:"sm"},o=(null==(n=r.field)?void 0:n.fontSize)??"md",a=dl.fontSizes[o];return gl({field:{...r.field,paddingInlineEnd:bl.reference,verticalAlign:"top"},stepper:{fontSize:Ko(a).multiply(.75).toString(),_first:{borderTopEndRadius:i[e]},_last:{borderBottomEndRadius:i[e],mt:"-1px",borderTopWidth:1}}})}var Il,Ml,Tl,Al,Pl,Ol,Dl,Rl,Ll,Nl,jl,Fl,zl,Bl,Vl,$l,Hl,Gl=pl({baseStyle:gl((e=>({root:_l,field:va(Sl,e)??{},stepperGroup:kl,stepper:Cl}))),sizes:{xs:El("xs"),sm:El("sm"),md:El("md"),lg:El("lg")},variants:Gs.variants,defaultProps:Gs.defaultProps}),Wl={baseStyle:{...null==(Il=Gs.baseStyle)?void 0:Il.field,textAlign:"center"},sizes:{lg:{fontSize:"lg",w:12,h:12,borderRadius:"md"},md:{fontSize:"md",w:10,h:10,borderRadius:"md"},sm:{fontSize:"sm",w:8,h:8,borderRadius:"sm"},xs:{fontSize:"xs",w:6,h:6,borderRadius:"sm"}},variants:{outline:e=>{var t,n;return(null==(n=va(null==(t=Gs.variants)?void 0:t.outline,e))?void 0:n.field)??{}},flushed:e=>{var t,n;return(null==(n=va(null==(t=Gs.variants)?void 0:t.flushed,e))?void 0:n.field)??{}},filled:e=>{var t,n;return(null==(n=va(null==(t=Gs.variants)?void 0:t.filled,e))?void 0:n.field)??{}},unstyled:(null==(Ml=Gs.variants)?void 0:Ml.unstyled.field)??{}},defaultProps:Gs.defaultProps},{defineMultiStyleConfig:Ul,definePartsStyle:ql}=Hr(lo.keys),Xl=ea("popper-bg"),Yl=ea("popper-arrow-bg"),Kl=ea("popper-arrow-shadow-color"),Zl=Ul({baseStyle:ql({popper:{zIndex:10},content:{[Xl.variable]:"colors.white",bg:Xl.reference,[Yl.variable]:Xl.reference,[Kl.variable]:"colors.gray.200",_dark:{[Xl.variable]:"colors.gray.700",[Kl.variable]:"colors.whiteAlpha.300"},width:"xs",border:"1px solid",borderColor:"inherit",borderRadius:"md",boxShadow:"sm",zIndex:"inherit",_focusVisible:{outline:0,boxShadow:"outline"}},header:{px:3,py:2,borderBottomWidth:"1px"},body:{px:3,py:2},footer:{px:3,py:2,borderTopWidth:"1px"},closeButton:{position:"absolute",borderRadius:"md",top:1,insetEnd:2,padding:2}})}),{defineMultiStyleConfig:Ql,definePartsStyle:Jl}=Hr(uo.keys),eu=e=>{const{colorScheme:t,theme:n,isIndeterminate:r,hasStripe:i}=e,o=Vo(zo(),zo("1rem","rgba(0,0,0,0.1)"))(e),a=Vo(`${t}.500`,`${t}.200`)(e),s=`linear-gradient(\n to right,\n transparent 0%,\n ${No(n,a)} 50%,\n transparent 100%\n )`;return{...!r&&i&&o,...r?{bgImage:s}:{bgColor:a}}},tu={lineHeight:"1",fontSize:"0.25em",fontWeight:"bold",color:"white"},nu=e=>({bg:Vo("gray.100","whiteAlpha.300")(e)}),ru=e=>({transitionProperty:"common",transitionDuration:"slow",...eu(e)}),iu=Jl((e=>({label:tu,filledTrack:ru(e),track:nu(e)}))),ou=Ql({sizes:{xs:Jl({track:{h:"1"}}),sm:Jl({track:{h:"2"}}),md:Jl({track:{h:"3"}}),lg:Jl({track:{h:"4"}})},baseStyle:iu,defaultProps:{size:"md",colorScheme:"blue"}}),{defineMultiStyleConfig:au,definePartsStyle:su}=Hr(co.keys),lu=e=>{var t;const n=null==(t=va(os.baseStyle,e))?void 0:t.control;return{...n,borderRadius:"full",_checked:{...null==n?void 0:n._checked,_before:{content:'""',display:"inline-block",pos:"relative",w:"50%",h:"50%",borderRadius:"50%",bg:"currentColor"}}}},uu=au({baseStyle:su((e=>{var t,n,r,i;return{label:null==(n=(t=os).baseStyle)?void 0:n.call(t,e).label,container:null==(i=(r=os).baseStyle)?void 0:i.call(r,e).container,control:lu(e)}})),sizes:{md:su({control:{w:"4",h:"4"},label:{fontSize:"md"}}),lg:su({control:{w:"5",h:"5"},label:{fontSize:"lg"}}),sm:su({control:{width:"3",height:"3"},label:{fontSize:"sm"}})},defaultProps:{size:"md",colorScheme:"blue"}}),{defineMultiStyleConfig:cu,definePartsStyle:fu}=Hr(fo.keys),hu=ar("select-bg"),du={paddingInlineEnd:"8"},pu=cu({baseStyle:fu({field:{...null==(Tl=Gs.baseStyle)?void 0:Tl.field,appearance:"none",paddingBottom:"1px",lineHeight:"normal",bg:hu.reference,[hu.variable]:"colors.white",_dark:{[hu.variable]:"colors.gray.700"},"> option, > optgroup":{bg:hu.reference}},icon:{width:"6",height:"100%",insetEnd:"2",position:"relative",color:"currentColor",fontSize:"xl",_disabled:{opacity:.5}}}),sizes:{lg:{...null==(Al=Gs.sizes)?void 0:Al.lg,field:{...null==(Pl=Gs.sizes)?void 0:Pl.lg.field,...du}},md:{...null==(Ol=Gs.sizes)?void 0:Ol.md,field:{...null==(Dl=Gs.sizes)?void 0:Dl.md.field,...du}},sm:{...null==(Rl=Gs.sizes)?void 0:Rl.sm,field:{...null==(Ll=Gs.sizes)?void 0:Ll.sm.field,...du}},xs:{...null==(Nl=Gs.sizes)?void 0:Nl.xs,field:{...null==(jl=Gs.sizes)?void 0:jl.xs.field,...du},icon:{insetEnd:"1"}}},variants:Gs.variants,defaultProps:Gs.defaultProps}),gu=ar("skeleton-start-color"),mu=ar("skeleton-end-color"),bu={baseStyle:{[gu.variable]:"colors.gray.100",[mu.variable]:"colors.gray.400",_dark:{[gu.variable]:"colors.gray.800",[mu.variable]:"colors.gray.600"},background:gu.reference,borderColor:mu.reference,opacity:.7,borderRadius:"sm"}},vu=ar("skip-link-bg"),yu={baseStyle:{borderRadius:"md",fontWeight:"semibold",_focusVisible:{boxShadow:"outline",padding:"4",position:"fixed",top:"6",insetStart:"6",[vu.variable]:"colors.white",_dark:{[vu.variable]:"colors.gray.700"},bg:vu.reference}}},{defineMultiStyleConfig:wu,definePartsStyle:xu}=Hr(ho.keys),_u=ar("slider-thumb-size"),Su=ar("slider-track-size"),ku=ar("slider-bg"),Cu=e=>{const{orientation:t}=e;return{display:"inline-block",position:"relative",cursor:"pointer",_disabled:{opacity:.6,cursor:"default",pointerEvents:"none"},...$o({orientation:t,vertical:{h:"100%"},horizontal:{w:"100%"}})}},Eu=e=>({...$o({orientation:e.orientation,horizontal:{h:Su.reference},vertical:{w:Su.reference}}),overflow:"hidden",borderRadius:"sm",[ku.variable]:"colors.gray.200",_dark:{[ku.variable]:"colors.whiteAlpha.200"},_disabled:{[ku.variable]:"colors.gray.300",_dark:{[ku.variable]:"colors.whiteAlpha.300"}},bg:ku.reference}),Iu=e=>{const{orientation:t}=e;return{...$o({orientation:t,vertical:{left:"50%",transform:"translateX(-50%)",_active:{transform:"translateX(-50%) scale(1.15)"}},horizontal:{top:"50%",transform:"translateY(-50%)",_active:{transform:"translateY(-50%) scale(1.15)"}}}),w:_u.reference,h:_u.reference,display:"flex",alignItems:"center",justifyContent:"center",position:"absolute",outline:0,zIndex:1,borderRadius:"full",bg:"white",boxShadow:"base",border:"1px solid",borderColor:"transparent",transitionProperty:"transform",transitionDuration:"normal",_focusVisible:{boxShadow:"outline"},_disabled:{bg:"gray.300"}}},Mu=e=>{const{colorScheme:t}=e;return{width:"inherit",height:"inherit",[ku.variable]:`colors.${t}.500`,_dark:{[ku.variable]:`colors.${t}.200`},bg:ku.reference}},Tu=wu({baseStyle:xu((e=>({container:Cu(e),track:Eu(e),thumb:Iu(e),filledTrack:Mu(e)}))),sizes:{lg:xu({container:{[_u.variable]:"sizes.4",[Su.variable]:"sizes.1"}}),md:xu({container:{[_u.variable]:"sizes.3.5",[Su.variable]:"sizes.1"}}),sm:xu({container:{[_u.variable]:"sizes.2.5",[Su.variable]:"sizes.0.5"}})},defaultProps:{size:"md",colorScheme:"blue"}}),Au=ea("spinner-size"),Pu={baseStyle:{width:[Au.reference],height:[Au.reference]},sizes:{xs:{[Au.variable]:"sizes.3"},sm:{[Au.variable]:"sizes.4"},md:{[Au.variable]:"sizes.6"},lg:{[Au.variable]:"sizes.8"},xl:{[Au.variable]:"sizes.12"}},defaultProps:{size:"md"}},{defineMultiStyleConfig:Ou,definePartsStyle:Du}=Hr(po.keys),Ru=Ou({baseStyle:Du({container:{},label:{fontWeight:"medium"},helpText:{opacity:.8,marginBottom:"2"},number:{verticalAlign:"baseline",fontWeight:"semibold"},icon:{marginEnd:1,w:"3.5",h:"3.5",verticalAlign:"middle"}}),sizes:{md:Du({label:{fontSize:"sm"},helpText:{fontSize:"sm"},number:{fontSize:"2xl"}})},defaultProps:{size:"md"}}),{defineMultiStyleConfig:Lu,definePartsStyle:Nu}=Hr(go.keys),ju=ea("switch-track-width"),Fu=ea("switch-track-height"),zu=ea("switch-track-diff"),Bu=Ko.subtract(ju,Fu),Vu=ea("switch-thumb-x"),$u=ea("switch-bg"),Hu=e=>{const{colorScheme:t}=e;return{borderRadius:"full",p:"0.5",width:[ju.reference],height:[Fu.reference],transitionProperty:"common",transitionDuration:"fast",[$u.variable]:"colors.gray.300",_dark:{[$u.variable]:"colors.whiteAlpha.400"},_focusVisible:{boxShadow:"outline"},_disabled:{opacity:.4,cursor:"not-allowed"},_checked:{[$u.variable]:`colors.${t}.500`,_dark:{[$u.variable]:`colors.${t}.200`}},bg:$u.reference}},Gu={bg:"white",transitionProperty:"transform",transitionDuration:"normal",borderRadius:"inherit",width:[Fu.reference],height:[Fu.reference],_checked:{transform:`translateX(${Vu.reference})`}},Wu=Lu({baseStyle:Nu((e=>({container:{[zu.variable]:Bu,[Vu.variable]:zu.reference,_rtl:{[Vu.variable]:Ko(zu).negate().toString()}},track:Hu(e),thumb:Gu}))),sizes:{sm:Nu({container:{[ju.variable]:"1.375rem",[Fu.variable]:"sizes.3"}}),md:Nu({container:{[ju.variable]:"1.875rem",[Fu.variable]:"sizes.4"}}),lg:Nu({container:{[ju.variable]:"2.875rem",[Fu.variable]:"sizes.6"}})},defaultProps:{size:"md",colorScheme:"blue"}}),{defineMultiStyleConfig:Uu,definePartsStyle:qu}=Hr(mo.keys),Xu=qu({table:{fontVariantNumeric:"lining-nums tabular-nums",borderCollapse:"collapse",width:"full"},th:{fontFamily:"heading",fontWeight:"bold",textTransform:"uppercase",letterSpacing:"wider",textAlign:"start"},td:{textAlign:"start"},caption:{mt:4,fontFamily:"heading",textAlign:"center",fontWeight:"medium"}}),Yu={"&[data-is-numeric=true]":{textAlign:"end"}},Ku=qu((e=>{const{colorScheme:t}=e;return{th:{color:Vo("gray.600","gray.400")(e),borderBottom:"1px",borderColor:Vo(`${t}.100`,`${t}.700`)(e),...Yu},td:{borderBottom:"1px",borderColor:Vo(`${t}.100`,`${t}.700`)(e),...Yu},caption:{color:Vo("gray.600","gray.100")(e)},tfoot:{tr:{"&:last-of-type":{th:{borderBottomWidth:0}}}}}})),Zu=qu((e=>{const{colorScheme:t}=e;return{th:{color:Vo("gray.600","gray.400")(e),borderBottom:"1px",borderColor:Vo(`${t}.100`,`${t}.700`)(e),...Yu},td:{borderBottom:"1px",borderColor:Vo(`${t}.100`,`${t}.700`)(e),...Yu},caption:{color:Vo("gray.600","gray.100")(e)},tbody:{tr:{"&:nth-of-type(odd)":{"th, td":{borderBottomWidth:"1px",borderColor:Vo(`${t}.100`,`${t}.700`)(e)},td:{background:Vo(`${t}.100`,`${t}.700`)(e)}}}},tfoot:{tr:{"&:last-of-type":{th:{borderBottomWidth:0}}}}}})),Qu=Uu({baseStyle:Xu,variants:{simple:Ku,striped:Zu,unstyled:{}},sizes:{sm:qu({th:{px:"4",py:"1",lineHeight:"4",fontSize:"xs"},td:{px:"4",py:"2",fontSize:"sm",lineHeight:"4"},caption:{px:"4",py:"2",fontSize:"xs"}}),md:qu({th:{px:"6",py:"3",lineHeight:"4",fontSize:"xs"},td:{px:"6",py:"4",lineHeight:"5"},caption:{px:"6",py:"2",fontSize:"sm"}}),lg:qu({th:{px:"8",py:"4",lineHeight:"5",fontSize:"sm"},td:{px:"8",py:"5",lineHeight:"6"},caption:{px:"6",py:"2",fontSize:"md"}})},defaultProps:{variant:"simple",size:"md",colorScheme:"gray"}}),Ju=ar("tabs-color"),ec=ar("tabs-bg"),tc=ar("tabs-border-color"),{defineMultiStyleConfig:nc,definePartsStyle:rc}=Hr(bo.keys),ic=e=>{const{orientation:t}=e;return{display:"vertical"===t?"flex":"block"}},oc=e=>{const{isFitted:t}=e;return{flex:t?1:void 0,transitionProperty:"common",transitionDuration:"normal",_focusVisible:{zIndex:1,boxShadow:"outline"},_disabled:{cursor:"not-allowed",opacity:.4}}},ac=e=>{const{align:t="start",orientation:n}=e;return{justifyContent:{end:"flex-end",center:"center",start:"flex-start"}[t],flexDirection:"vertical"===n?"column":"row"}},sc={p:4},lc=rc((e=>({root:ic(e),tab:oc(e),tablist:ac(e),tabpanel:sc}))),uc={sm:rc({tab:{py:1,px:4,fontSize:"sm"}}),md:rc({tab:{fontSize:"md",py:2,px:4}}),lg:rc({tab:{fontSize:"lg",py:3,px:4}})},cc=rc((e=>{const{colorScheme:t,orientation:n}=e,r="vertical"===n?"borderStart":"borderBottom";return{tablist:{[r]:"2px solid",borderColor:"inherit"},tab:{[r]:"2px solid",borderColor:"transparent",["vertical"===n?"marginStart":"marginBottom"]:"-2px",_selected:{[Ju.variable]:`colors.${t}.600`,_dark:{[Ju.variable]:`colors.${t}.300`},borderColor:"currentColor"},_active:{[ec.variable]:"colors.gray.200",_dark:{[ec.variable]:"colors.whiteAlpha.300"}},_disabled:{_active:{bg:"none"}},color:Ju.reference,bg:ec.reference}}})),fc=rc((e=>{const{colorScheme:t}=e;return{tab:{borderTopRadius:"md",border:"1px solid",borderColor:"transparent",mb:"-1px",[tc.variable]:"transparent",_selected:{[Ju.variable]:`colors.${t}.600`,[tc.variable]:"colors.white",_dark:{[Ju.variable]:`colors.${t}.300`,[tc.variable]:"colors.gray.800"},borderColor:"inherit",borderBottomColor:tc.reference},color:Ju.reference},tablist:{mb:"-1px",borderBottom:"1px solid",borderColor:"inherit"}}})),hc=rc((e=>{const{colorScheme:t}=e;return{tab:{border:"1px solid",borderColor:"inherit",[ec.variable]:"colors.gray.50",_dark:{[ec.variable]:"colors.whiteAlpha.50"},mb:"-1px",_notLast:{marginEnd:"-1px"},_selected:{[ec.variable]:"colors.white",[Ju.variable]:`colors.${t}.600`,_dark:{[ec.variable]:"colors.gray.800",[Ju.variable]:`colors.${t}.300`},borderColor:"inherit",borderTopColor:"currentColor",borderBottomColor:"transparent"},color:Ju.reference,bg:ec.reference},tablist:{mb:"-1px",borderBottom:"1px solid",borderColor:"inherit"}}})),dc=rc((e=>{const{colorScheme:t,theme:n}=e;return{tab:{borderRadius:"full",fontWeight:"semibold",color:"gray.600",_selected:{color:No(n,`${t}.700`),bg:No(n,`${t}.100`)}}}})),pc=rc((e=>{const{colorScheme:t}=e;return{tab:{borderRadius:"full",fontWeight:"semibold",[Ju.variable]:"colors.gray.600",_dark:{[Ju.variable]:"inherit"},_selected:{[Ju.variable]:"colors.white",[ec.variable]:`colors.${t}.600`,_dark:{[Ju.variable]:"colors.gray.800",[ec.variable]:`colors.${t}.300`}},color:Ju.reference,bg:ec.reference}}})),gc=nc({baseStyle:lc,sizes:uc,variants:{line:cc,enclosed:fc,"enclosed-colored":hc,"soft-rounded":dc,"solid-rounded":pc,unstyled:rc({})},defaultProps:{size:"md",variant:"line",colorScheme:"blue"}}),{defineMultiStyleConfig:mc,definePartsStyle:bc}=Hr(vo.keys),vc=bc({container:{fontWeight:"medium",lineHeight:1.2,outline:0,borderRadius:"md",_focusVisible:{boxShadow:"outline"}},label:{lineHeight:1.2,overflow:"visible"},closeButton:{fontSize:"lg",w:"5",h:"5",transitionProperty:"common",transitionDuration:"normal",borderRadius:"full",marginStart:"1.5",marginEnd:"-1",opacity:.5,_disabled:{opacity:.4},_focusVisible:{boxShadow:"outline",bg:"rgba(0, 0, 0, 0.14)"},_hover:{opacity:.8},_active:{opacity:1}}}),yc={sm:bc({container:{minH:"5",minW:"5",fontSize:"xs",px:"2"},closeButton:{marginEnd:"-2px",marginStart:"0.35rem"}}),md:bc({container:{minH:"6",minW:"6",fontSize:"sm",px:"2"}}),lg:bc({container:{minH:"8",minW:"8",fontSize:"md",px:"3"}})},wc=mc({variants:{subtle:bc((e=>{var t;return{container:null==(t=La.variants)?void 0:t.subtle(e)}})),solid:bc((e=>{var t;return{container:null==(t=La.variants)?void 0:t.solid(e)}})),outline:bc((e=>{var t;return{container:null==(t=La.variants)?void 0:t.outline(e)}}))},baseStyle:vc,sizes:yc,defaultProps:{size:"md",variant:"subtle",colorScheme:"gray"}}),xc={...null==(Fl=Gs.baseStyle)?void 0:Fl.field,paddingY:"2",minHeight:"20",lineHeight:"short",verticalAlign:"top"},_c={outline:e=>{var t;return(null==(t=Gs.variants)?void 0:t.outline(e).field)??{}},flushed:e=>{var t;return(null==(t=Gs.variants)?void 0:t.flushed(e).field)??{}},filled:e=>{var t;return(null==(t=Gs.variants)?void 0:t.filled(e).field)??{}},unstyled:(null==(zl=Gs.variants)?void 0:zl.unstyled.field)??{}},Sc={baseStyle:xc,sizes:{xs:(null==(Bl=Gs.sizes)?void 0:Bl.xs.field)??{},sm:(null==(Vl=Gs.sizes)?void 0:Vl.sm.field)??{},md:(null==($l=Gs.sizes)?void 0:$l.md.field)??{},lg:(null==(Hl=Gs.sizes)?void 0:Hl.lg.field)??{}},variants:_c,defaultProps:{size:"md",variant:"outline"}},kc=ea("tooltip-bg"),Cc=ea("tooltip-fg"),Ec=ea("popper-arrow-bg"),Ic={bg:kc.reference,color:Cc.reference,[kc.variable]:"colors.gray.700",[Cc.variable]:"colors.whiteAlpha.900",_dark:{[kc.variable]:"colors.gray.300",[Cc.variable]:"colors.gray.900"},[Ec.variable]:kc.reference,px:"2",py:"0.5",borderRadius:"sm",fontWeight:"medium",fontSize:"sm",boxShadow:"md",maxW:"xs",zIndex:"tooltip"},Mc={Accordion:ia,Alert:ga,Avatar:Ma,Badge:La,Breadcrumb:Fa,Button:Ga,Checkbox:os,CloseButton:ls,Code:fs,Container:hs,Divider:ds,Drawer:Es,Editable:Ts,Form:Ds,FormError:js,FormLabel:Fs,Heading:zs,Input:Gs,Kbd:Us,Link:qs,List:Ks,Menu:tl,Modal:hl,NumberInput:Gl,PinInput:Wl,Popover:Zl,Progress:ou,Radio:uu,Select:pu,Skeleton:bu,SkipLink:yu,Slider:Tu,Spinner:Pu,Stat:Ru,Switch:Wu,Table:Qu,Tabs:gc,Tag:wc,Textarea:Sc,Tooltip:{baseStyle:Ic},Card:Za},Tc={none:0,"1px":"1px solid","2px":"2px solid","4px":"4px solid","8px":"8px solid"},Ac={xs:"0 0 0 1px rgba(0, 0, 0, 0.05)",sm:"0 1px 2px 0 rgba(0, 0, 0, 0.05)",base:"0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06)",md:"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)",lg:"0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)",xl:"0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)","2xl":"0 25px 50px -12px rgba(0, 0, 0, 0.25)",outline:"0 0 0 3px rgba(66, 153, 225, 0.6)",inner:"inset 0 2px 4px 0 rgba(0,0,0,0.06)",none:"none","dark-lg":"rgba(0, 0, 0, 0.1) 0px 0px 0px 1px, rgba(0, 0, 0, 0.2) 0px 5px 10px, rgba(0, 0, 0, 0.4) 0px 15px 40px"},Pc={property:{common:"background-color, border-color, color, fill, stroke, opacity, box-shadow, transform",colors:"background-color, border-color, color, fill, stroke",dimensions:"width, height",position:"left, right, top, bottom",background:"background-color, background-image, background-position"},easing:{"ease-in":"cubic-bezier(0.4, 0, 1, 1)","ease-out":"cubic-bezier(0, 0, 0.2, 1)","ease-in-out":"cubic-bezier(0.4, 0, 0.2, 1)"},duration:{"ultra-fast":"50ms",faster:"100ms",fast:"150ms",normal:"200ms",slow:"300ms",slower:"400ms","ultra-slow":"500ms"}},Oc={breakpoints:{base:"0em",sm:"30em",md:"48em",lg:"62em",xl:"80em","2xl":"96em"},zIndices:{hide:-1,auto:"auto",base:0,docked:10,dropdown:1e3,sticky:1100,banner:1200,overlay:1300,modal:1400,popover:1500,skipLink:1600,toast:1700,tooltip:1800},radii:{none:"0",sm:"0.125rem",base:"0.25rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},blur:{none:0,sm:"4px",base:"8px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},colors:{transparent:"transparent",current:"currentColor",black:"#000000",white:"#FFFFFF",whiteAlpha:{50:"rgba(255, 255, 255, 0.04)",100:"rgba(255, 255, 255, 0.06)",200:"rgba(255, 255, 255, 0.08)",300:"rgba(255, 255, 255, 0.16)",400:"rgba(255, 255, 255, 0.24)",500:"rgba(255, 255, 255, 0.36)",600:"rgba(255, 255, 255, 0.48)",700:"rgba(255, 255, 255, 0.64)",800:"rgba(255, 255, 255, 0.80)",900:"rgba(255, 255, 255, 0.92)"},blackAlpha:{50:"rgba(0, 0, 0, 0.04)",100:"rgba(0, 0, 0, 0.06)",200:"rgba(0, 0, 0, 0.08)",300:"rgba(0, 0, 0, 0.16)",400:"rgba(0, 0, 0, 0.24)",500:"rgba(0, 0, 0, 0.36)",600:"rgba(0, 0, 0, 0.48)",700:"rgba(0, 0, 0, 0.64)",800:"rgba(0, 0, 0, 0.80)",900:"rgba(0, 0, 0, 0.92)"},gray:{50:"#F7FAFC",100:"#EDF2F7",200:"#E2E8F0",300:"#CBD5E0",400:"#A0AEC0",500:"#718096",600:"#4A5568",700:"#2D3748",800:"#1A202C",900:"#171923"},red:{50:"#FFF5F5",100:"#FED7D7",200:"#FEB2B2",300:"#FC8181",400:"#F56565",500:"#E53E3E",600:"#C53030",700:"#9B2C2C",800:"#822727",900:"#63171B"},orange:{50:"#FFFAF0",100:"#FEEBC8",200:"#FBD38D",300:"#F6AD55",400:"#ED8936",500:"#DD6B20",600:"#C05621",700:"#9C4221",800:"#7B341E",900:"#652B19"},yellow:{50:"#FFFFF0",100:"#FEFCBF",200:"#FAF089",300:"#F6E05E",400:"#ECC94B",500:"#D69E2E",600:"#B7791F",700:"#975A16",800:"#744210",900:"#5F370E"},green:{50:"#F0FFF4",100:"#C6F6D5",200:"#9AE6B4",300:"#68D391",400:"#48BB78",500:"#38A169",600:"#2F855A",700:"#276749",800:"#22543D",900:"#1C4532"},teal:{50:"#E6FFFA",100:"#B2F5EA",200:"#81E6D9",300:"#4FD1C5",400:"#38B2AC",500:"#319795",600:"#2C7A7B",700:"#285E61",800:"#234E52",900:"#1D4044"},blue:{50:"#ebf8ff",100:"#bee3f8",200:"#90cdf4",300:"#63b3ed",400:"#4299e1",500:"#3182ce",600:"#2b6cb0",700:"#2c5282",800:"#2a4365",900:"#1A365D"},cyan:{50:"#EDFDFD",100:"#C4F1F9",200:"#9DECF9",300:"#76E4F7",400:"#0BC5EA",500:"#00B5D8",600:"#00A3C4",700:"#0987A0",800:"#086F83",900:"#065666"},purple:{50:"#FAF5FF",100:"#E9D8FD",200:"#D6BCFA",300:"#B794F4",400:"#9F7AEA",500:"#805AD5",600:"#6B46C1",700:"#553C9A",800:"#44337A",900:"#322659"},pink:{50:"#FFF5F7",100:"#FED7E2",200:"#FBB6CE",300:"#F687B3",400:"#ED64A6",500:"#D53F8C",600:"#B83280",700:"#97266D",800:"#702459",900:"#521B41"},linkedin:{50:"#E8F4F9",100:"#CFEDFB",200:"#9BDAF3",300:"#68C7EC",400:"#34B3E4",500:"#00A0DC",600:"#008CC9",700:"#0077B5",800:"#005E93",900:"#004471"},facebook:{50:"#E8F4F9",100:"#D9DEE9",200:"#B7C2DA",300:"#6482C0",400:"#4267B2",500:"#385898",600:"#314E89",700:"#29487D",800:"#223B67",900:"#1E355B"},messenger:{50:"#D0E6FF",100:"#B9DAFF",200:"#A2CDFF",300:"#7AB8FF",400:"#2E90FF",500:"#0078FF",600:"#0063D1",700:"#0052AC",800:"#003C7E",900:"#002C5C"},whatsapp:{50:"#dffeec",100:"#b9f5d0",200:"#90edb3",300:"#65e495",400:"#3cdd78",500:"#22c35e",600:"#179848",700:"#0c6c33",800:"#01421c",900:"#001803"},twitter:{50:"#E5F4FD",100:"#C8E9FB",200:"#A8DCFA",300:"#83CDF7",400:"#57BBF5",500:"#1DA1F2",600:"#1A94DA",700:"#1681BF",800:"#136B9E",900:"#0D4D71"},telegram:{50:"#E3F2F9",100:"#C5E4F3",200:"#A2D4EC",300:"#7AC1E4",400:"#47A9DA",500:"#0088CC",600:"#007AB8",700:"#006BA1",800:"#005885",900:"#003F5E"}},...dl,sizes:ba,shadows:Ac,space:ma,borders:Tc,transition:Pc},Dc={colors:{"chakra-body-text":{_light:"gray.800",_dark:"whiteAlpha.900"},"chakra-body-bg":{_light:"white",_dark:"gray.800"},"chakra-border-color":{_light:"gray.200",_dark:"whiteAlpha.300"},"chakra-subtle-bg":{_light:"gray.100",_dark:"gray.700"},"chakra-placeholder-color":{_light:"gray.500",_dark:"whiteAlpha.400"}}},Rc={global:{body:{fontFamily:"body",color:"chakra-body-text",bg:"chakra-body-bg",transitionProperty:"background-color",transitionDuration:"normal",lineHeight:"base"},"*::placeholder":{color:"chakra-placeholder-color"},"*, *::before, &::after":{borderColor:"chakra-border-color",wordWrap:"break-word"}}};var Lc=["borders","breakpoints","colors","components","config","direction","fonts","fontSizes","fontWeights","letterSpacings","lineHeights","radii","shadows","sizes","space","styles","transition","zIndices"];function Nc(e){return!!function(e){const t=typeof e;return null!=e&&("object"===t||"function"===t)&&!Array.isArray(e)}(e)&&Lc.every((t=>Object.prototype.hasOwnProperty.call(e,t)))}var jc={useSystemColorMode:!1,initialColorMode:"light",cssVarPrefix:"chakra"},Fc={semanticTokens:Dc,direction:"ltr",...Oc,components:Mc,styles:Rc,config:jc},zc={semanticTokens:Dc,direction:"ltr",components:{},...Oc,styles:Rc,config:jc},Bc=(...e)=>e.filter(Boolean).join(" ");var Vc={path:i.createElement("g",{stroke:"currentColor",strokeWidth:"1.5"},i.createElement("path",{strokeLinecap:"round",fill:"none",d:"M9,9a3,3,0,1,1,4,2.829,1.5,1.5,0,0,0-1,1.415V14.25"}),i.createElement("path",{fill:"currentColor",strokeLinecap:"round",d:"M12,17.25a.375.375,0,1,0,.375.375A.375.375,0,0,0,12,17.25h0"}),i.createElement("circle",{fill:"none",strokeMiterlimit:"10",cx:"12",cy:"12",r:"11.25"})),viewBox:"0 0 24 24"},$c=Li(((e,t)=>{const{as:n,viewBox:r,color:o="currentColor",focusable:a=!1,children:s,className:l,__css:u,...c}=e,f={ref:t,focusable:a,className:Bc("chakra-icon",l),__css:{w:"1em",h:"1em",display:"inline-block",lineHeight:"1em",flexShrink:0,color:o,...u,...ji("Icon",e)}},h=r??Vc.viewBox;if(n&&"string"!=typeof n)return i.createElement(zi.svg,{as:n,...f,...c});const d=s??Vc.path;return i.createElement(zi.svg,{verticalAlign:"middle",viewBox:h,...f,...c},d)}));$c.displayName="Icon";var Hc=yt({"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}}),Gc=Li(((e,t)=>{const n=ji("Spinner",e),{label:r="Loading...",thickness:o="2px",speed:a="0.45s",emptyColor:s="transparent",className:l,...u}=Ur(e),c=((...e)=>e.filter(Boolean).join(" "))("chakra-spinner",l),f={display:"inline-block",borderColor:"currentColor",borderStyle:"solid",borderRadius:"99999px",borderWidth:o,borderBottomColor:s,borderLeftColor:s,animation:`${Hc} ${a} linear infinite`,...n};return i.createElement(zi.div,{ref:t,__css:f,className:c,...u},r&&i.createElement(zi.span,{srOnly:!0},r))}));Gc.displayName="Spinner";var Wc=(...e)=>e.filter(Boolean).join(" ");function Uc(e){return i.createElement($c,{viewBox:"0 0 24 24",...e},i.createElement("path",{fill:"currentColor",d:"M11.983,0a12.206,12.206,0,0,0-8.51,3.653A11.8,11.8,0,0,0,0,12.207,11.779,11.779,0,0,0,11.8,24h.214A12.111,12.111,0,0,0,24,11.791h0A11.766,11.766,0,0,0,11.983,0ZM10.5,16.542a1.476,1.476,0,0,1,1.449-1.53h.027a1.527,1.527,0,0,1,1.523,1.47,1.475,1.475,0,0,1-1.449,1.53h-.027A1.529,1.529,0,0,1,10.5,16.542ZM11,12.5v-6a1,1,0,0,1,2,0v6a1,1,0,1,1-2,0Z"}))}var[qc,Xc]=It({name:"AlertContext",hookName:"useAlertContext",providerName:"<Alert />"}),[Yc,Kc]=It({name:"AlertStylesContext",hookName:"useAlertStyles",providerName:"<Alert />"}),Zc={info:{icon:function(e){return i.createElement($c,{viewBox:"0 0 24 24",...e},i.createElement("path",{fill:"currentColor",d:"M12,0A12,12,0,1,0,24,12,12.013,12.013,0,0,0,12,0Zm.25,5a1.5,1.5,0,1,1-1.5,1.5A1.5,1.5,0,0,1,12.25,5ZM14.5,18.5h-4a1,1,0,0,1,0-2h.75a.25.25,0,0,0,.25-.25v-4.5a.25.25,0,0,0-.25-.25H10.5a1,1,0,0,1,0-2h1a2,2,0,0,1,2,2v4.75a.25.25,0,0,0,.25.25h.75a1,1,0,1,1,0,2Z"}))},colorScheme:"blue"},warning:{icon:Uc,colorScheme:"orange"},success:{icon:function(e){return i.createElement($c,{viewBox:"0 0 24 24",...e},i.createElement("path",{fill:"currentColor",d:"M12,0A12,12,0,1,0,24,12,12.014,12.014,0,0,0,12,0Zm6.927,8.2-6.845,9.289a1.011,1.011,0,0,1-1.43.188L5.764,13.769a1,1,0,1,1,1.25-1.562l4.076,3.261,6.227-8.451A1,1,0,1,1,18.927,8.2Z"}))},colorScheme:"green"},error:{icon:Uc,colorScheme:"red"},loading:{icon:Gc,colorScheme:"blue"}};var Qc=Li((function(e,t){const{status:n="info",addRole:r=!0,...o}=Ur(e),a=e.colorScheme??function(e){return Zc[e].colorScheme}(n),s=Fi("Alert",{...e,colorScheme:a}),l={width:"100%",display:"flex",alignItems:"center",position:"relative",overflow:"hidden",...s.container};return i.createElement(qc,{value:{status:n}},i.createElement(Yc,{value:s},i.createElement(zi.div,{role:r?"alert":void 0,ref:t,...o,className:Wc("chakra-alert",e.className),__css:l})))}));Qc.displayName="Alert";var Jc=Li((function(e,t){const n={display:"inline",...Kc().description};return i.createElement(zi.div,{ref:t,...e,className:Wc("chakra-alert__desc",e.className),__css:n})}));function ef(e){const{status:t}=Xc(),n=function(e){return Zc[e].icon}(t),r=Kc(),o="loading"===t?r.spinner:r.icon;return i.createElement(zi.span,{display:"inherit",...e,className:Wc("chakra-alert__icon",e.className),__css:o},e.children||i.createElement(n,{h:"100%",w:"100%"}))}Jc.displayName="AlertDescription",ef.displayName="AlertIcon";var tf=Li((function(e,t){const n=Kc();return i.createElement(zi.div,{ref:t,...e,className:Wc("chakra-alert__title",e.className),__css:n.title})}));function nf(e){return i.createElement($c,{focusable:"false","aria-hidden":!0,...e},i.createElement("path",{fill:"currentColor",d:"M.439,21.44a1.5,1.5,0,0,0,2.122,2.121L11.823,14.3a.25.25,0,0,1,.354,0l9.262,9.263a1.5,1.5,0,1,0,2.122-2.121L14.3,12.177a.25.25,0,0,1,0-.354l9.263-9.262A1.5,1.5,0,0,0,21.439.44L12.177,9.7a.25.25,0,0,1-.354,0L2.561.44A1.5,1.5,0,0,0,.439,2.561L9.7,11.823a.25.25,0,0,1,0,.354Z"}))}tf.displayName="AlertTitle";var rf=Li((function(e,t){const n=ji("CloseButton",e),{children:r,isDisabled:o,__css:a,...s}=Ur(e);return i.createElement(zi.button,{type:"button","aria-label":"Close",ref:t,disabled:o,__css:{outline:0,display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,...n,...a},...s},r||i.createElement(nf,{width:"1em",height:"1em"}))}));rf.displayName="CloseButton";var of=function(e,t){return of=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},of(e,t)};function af(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}of(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var sf=function(){return sf=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},sf.apply(this,arguments)};function lf(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n}Object.create;function uf(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function cf(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}function ff(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}Object.create;const hf=1/60*1e3,df="undefined"!=typeof performance?()=>performance.now():()=>Date.now(),pf="undefined"!=typeof window?e=>window.requestAnimationFrame(e):e=>setTimeout((()=>e(df())),hf);let gf=!0,mf=!1,bf=!1;const vf={delta:0,timestamp:0},yf=["read","update","preRender","render","postRender"],wf=yf.reduce(((e,t)=>(e[t]=function(e){let t=[],n=[],r=0,i=!1,o=!1;const a=new WeakSet,s={schedule:(e,o=!1,s=!1)=>{const l=s&&i,u=l?t:n;return o&&a.add(e),-1===u.indexOf(e)&&(u.push(e),l&&i&&(r=t.length)),e},cancel:e=>{const t=n.indexOf(e);-1!==t&&n.splice(t,1),a.delete(e)},process:l=>{if(i)o=!0;else{if(i=!0,[t,n]=[n,t],n.length=0,r=t.length,r)for(let n=0;n<r;n++){const r=t[n];r(l),a.has(r)&&(s.schedule(r),e())}i=!1,o&&(o=!1,s.process(l))}}};return s}((()=>mf=!0)),e)),{}),xf=yf.reduce(((e,t)=>{const n=wf[t];return e[t]=(e,t=!1,r=!1)=>(mf||Ef(),n.schedule(e,t,r)),e}),{}),_f=yf.reduce(((e,t)=>(e[t]=wf[t].cancel,e)),{}),Sf=yf.reduce(((e,t)=>(e[t]=()=>wf[t].process(vf),e)),{}),kf=e=>wf[e].process(vf),Cf=e=>{mf=!1,vf.delta=gf?hf:Math.max(Math.min(e-vf.timestamp,40),1),vf.timestamp=e,bf=!0,yf.forEach(kf),bf=!1,mf&&(gf=!1,pf(Cf))},Ef=()=>{mf=!0,gf=!0,bf||pf(Cf)},If=()=>vf,Mf=xf;var Tf="undefined"!=typeof document,Af=Tf?i.useLayoutEffect:i.useEffect;function Pf(){var e=(0,i.useRef)(!1);return Af((function(){return e.current=!0,function(){e.current=!1}}),[]),e}var Of=(0,i.createContext)(null);function Df(e){var t=(0,i.useRef)(null);return null===t.current&&(t.current=e()),t.current}var Rf=0,Lf=function(){return Rf++},Nf=function(){return Df(Lf)},jf=function(e){var t=e.children,n=e.initial,r=e.isPresent,o=e.onExitComplete,a=e.custom,s=e.presenceAffectsLayout,l=Df(Ff),u=Nf(),c=(0,i.useMemo)((function(){return{id:u,initial:n,isPresent:r,custom:a,onExitComplete:function(e){var t,n;l.set(e,!0);try{for(var r=uf(l.values()),i=r.next();!i.done;i=r.next()){if(!i.value)return}}catch(e){t={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}null==o||o()},register:function(e){return l.set(e,!1),function(){return l.delete(e)}}}}),s?void 0:[r]);return(0,i.useMemo)((function(){l.forEach((function(e,t){return l.set(t,!1)}))}),[r]),i.useEffect((function(){!r&&!l.size&&(null==o||o())}),[r]),i.createElement(Of.Provider,{value:c},t)};function Ff(){return new Map}var zf=(0,i.createContext)({});function Bf(e){return(0,i.useEffect)((function(){return function(){return e()}}),[])}var Vf=function(e){return e.key||""};var $f=function(e){var t=e.children,n=e.custom,r=e.initial,o=void 0===r||r,a=e.onExitComplete,s=e.exitBeforeEnter,l=e.presenceAffectsLayout,u=void 0===l||l,c=cf(function(){var e=Pf(),t=cf((0,i.useState)(0),2),n=t[0],r=t[1],o=(0,i.useCallback)((function(){e.current&&r(n+1)}),[n]);return[(0,i.useCallback)((function(){return Mf.postRender(o)}),[o]),n]}(),1),f=c[0],h=(0,i.useContext)(zf).forceRender;h&&(f=h);var d=Pf(),p=function(e){var t=[];return i.Children.forEach(e,(function(e){(0,i.isValidElement)(e)&&t.push(e)})),t}(t),g=p,m=new Set,b=(0,i.useRef)(g),v=(0,i.useRef)(new Map).current,y=(0,i.useRef)(!0);if(Af((function(){y.current=!1,function(e,t){e.forEach((function(e){var n=Vf(e);t.set(n,e)}))}(p,v),b.current=g})),Bf((function(){y.current=!0,v.clear(),m.clear()})),y.current)return i.createElement(i.Fragment,null,g.map((function(e){return i.createElement(jf,{key:Vf(e),isPresent:!0,initial:!!o&&void 0,presenceAffectsLayout:u},e)})));g=ff([],cf(g),!1);for(var w=b.current.map(Vf),x=p.map(Vf),_=w.length,S=0;S<_;S++){var k=w[S];-1===x.indexOf(k)&&m.add(k)}return s&&m.size&&(g=[]),m.forEach((function(e){if(-1===x.indexOf(e)){var t=v.get(e);if(t){var r=w.indexOf(e);g.splice(r,0,i.createElement(jf,{key:Vf(t),isPresent:!1,onExitComplete:function(){v.delete(e),m.delete(e);var t=b.current.findIndex((function(t){return t.key===e}));if(b.current.splice(t,1),!m.size){if(b.current=p,!1===d.current)return;f(),a&&a()}},custom:n,presenceAffectsLayout:u},t))}}})),g=g.map((function(e){var t=e.key;return m.has(t)?e:i.createElement(jf,{key:Vf(e),isPresent:!0,presenceAffectsLayout:u},e)})),i.createElement(i.Fragment,null,m.size?g:g.map((function(e){return(0,i.cloneElement)(e)})))};function Hf(e,t=[]){const n=(0,i.useRef)(e);return(0,i.useEffect)((()=>{n.current=e})),(0,i.useCallback)(((...e)=>{var t;return null==(t=n.current)?void 0:t.call(n,...e)}),t)}function Gf(e,t){const n=(0,i.useRef)(!1),r=(0,i.useRef)(!1);(0,i.useEffect)((()=>{if(n.current&&r.current)return e();r.current=!0}),t),(0,i.useEffect)((()=>(n.current=!0,()=>{n.current=!1})),[])}function Wf(){var e=(0,i.useContext)(Of);if(null===e)return[!0,null];var t=e.isPresent,n=e.onExitComplete,r=e.register,o=Nf();(0,i.useEffect)((function(){return r(o)}),[]);return!t&&n?[!1,function(){return null==n?void 0:n(o)}]:[!0]}function Uf(){return null===(e=(0,i.useContext)(Of))||e.isPresent;var e}var qf=function(e){return{isEnabled:function(t){return e.some((function(e){return!!t[e]}))}}},Xf={measureLayout:qf(["layout","layoutId","drag"]),animation:qf(["animate","exit","variants","whileHover","whileTap","whileFocus","whileDrag","whileInView"]),exit:qf(["exit"]),drag:qf(["drag","dragControls"]),focus:qf(["whileFocus"]),hover:qf(["whileHover","onHoverStart","onHoverEnd"]),tap:qf(["whileTap","onTap","onTapStart","onTapCancel"]),pan:qf(["onPan","onPanStart","onPanSessionStart","onPanEnd"]),inView:qf(["whileInView","onViewportEnter","onViewportLeave"])};var Yf=(0,i.createContext)({strict:!1}),Kf=Object.keys(Xf),Zf=Kf.length;var Qf=(0,i.createContext)({transformPagePoint:function(e){return e},isStatic:!1,reducedMotion:"never"}),Jf=(0,i.createContext)({});var eh={current:null},th=!1;function nh(){return!th&&function(){if(th=!0,Tf)if(window.matchMedia){var e=window.matchMedia("(prefers-reduced-motion)"),t=function(){return eh.current=e.matches};e.addListener(t),t()}else eh.current=!1}(),cf((0,i.useState)(eh.current),1)[0]}function rh(e,t,n,r){var o,a,s=(0,i.useContext)(Yf),l=(0,i.useContext)(Jf).visualElement,u=(0,i.useContext)(Of),c=(o=nh(),"never"!==(a=(0,i.useContext)(Qf).reducedMotion)&&("always"===a||o)),f=(0,i.useRef)(void 0);r||(r=s.renderer),!f.current&&r&&(f.current=r(e,{visualState:t,parent:l,props:n,presenceId:null==u?void 0:u.id,blockInitialAnimation:!1===(null==u?void 0:u.initial),shouldReduceMotion:c}));var h=f.current;return Af((function(){null==h||h.syncRender()})),(0,i.useEffect)((function(){var e;null===(e=null==h?void 0:h.animationState)||void 0===e||e.animateChanges()})),Af((function(){return function(){return null==h?void 0:h.notifyUnmount()}}),[]),h}function ih(e){return"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}function oh(e){return Array.isArray(e)}function ah(e){return"string"==typeof e||oh(e)}function sh(e,t,n,r,i){var o;return void 0===r&&(r={}),void 0===i&&(i={}),"function"==typeof t&&(t=t(null!=n?n:e.custom,r,i)),"string"==typeof t&&(t=null===(o=e.variants)||void 0===o?void 0:o[t]),"function"==typeof t&&(t=t(null!=n?n:e.custom,r,i)),t}function lh(e,t,n){var r=e.getProps();return sh(r,t,null!=n?n:r.custom,function(e){var t={};return e.forEachValue((function(e,n){return t[n]=e.get()})),t}(e),function(e){var t={};return e.forEachValue((function(e,n){return t[n]=e.getVelocity()})),t}(e))}function uh(e){var t;return"function"==typeof(null===(t=e.animate)||void 0===t?void 0:t.start)||ah(e.initial)||ah(e.animate)||ah(e.whileHover)||ah(e.whileDrag)||ah(e.whileTap)||ah(e.whileFocus)||ah(e.exit)}function ch(e){return Boolean(uh(e)||e.variants)}function fh(e){var t=function(e,t){if(uh(e)){var n=e.initial,r=e.animate;return{initial:!1===n||ah(n)?n:void 0,animate:ah(r)?r:void 0}}return!1!==e.inherit?t:{}}(e,(0,i.useContext)(Jf)),n=t.initial,r=t.animate;return(0,i.useMemo)((function(){return{initial:n,animate:r}}),[hh(n),hh(r)])}function hh(e){return Array.isArray(e)?e.join(" "):e}const dh=(e,t,n)=>-n*e+n*t+e;function ph(e,t){return t?e*(1e3/t):0}function gh(e,t){-1===e.indexOf(t)&&e.push(t)}function mh(e,t){var n=e.indexOf(t);n>-1&&e.splice(n,1)}var bh=function(){function e(){this.subscriptions=[]}return e.prototype.add=function(e){var t=this;return gh(this.subscriptions,e),function(){return mh(t.subscriptions,e)}},e.prototype.notify=function(e,t,n){var r=this.subscriptions.length;if(r)if(1===r)this.subscriptions[0](e,t,n);else for(var i=0;i<r;i++){var o=this.subscriptions[i];o&&o(e,t,n)}},e.prototype.getSize=function(){return this.subscriptions.length},e.prototype.clear=function(){this.subscriptions.length=0},e}(),vh=function(){function e(e){var t,n=this;this.version="6.3.11",this.timeDelta=0,this.lastUpdated=0,this.updateSubscribers=new bh,this.velocityUpdateSubscribers=new bh,this.renderSubscribers=new bh,this.canTrackVelocity=!1,this.updateAndNotify=function(e,t){void 0===t&&(t=!0),n.prev=n.current,n.current=e;var r=If(),i=r.delta,o=r.timestamp;n.lastUpdated!==o&&(n.timeDelta=i,n.lastUpdated=o,Mf.postRender(n.scheduleVelocityCheck)),n.prev!==n.current&&n.updateSubscribers.notify(n.current),n.velocityUpdateSubscribers.getSize()&&n.velocityUpdateSubscribers.notify(n.getVelocity()),t&&n.renderSubscribers.notify(n.current)},this.scheduleVelocityCheck=function(){return Mf.postRender(n.velocityCheck)},this.velocityCheck=function(e){e.timestamp!==n.lastUpdated&&(n.prev=n.current,n.velocityUpdateSubscribers.notify(n.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=e,this.canTrackVelocity=(t=this.current,!isNaN(parseFloat(t)))}return e.prototype.onChange=function(e){return this.updateSubscribers.add(e)},e.prototype.clearListeners=function(){this.updateSubscribers.clear()},e.prototype.onRenderRequest=function(e){return e(this.get()),this.renderSubscribers.add(e)},e.prototype.attach=function(e){this.passiveEffect=e},e.prototype.set=function(e,t){void 0===t&&(t=!0),t&&this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e,t)},e.prototype.get=function(){return this.current},e.prototype.getPrevious=function(){return this.prev},e.prototype.getVelocity=function(){return this.canTrackVelocity?ph(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0},e.prototype.start=function(e){var t=this;return this.stop(),new Promise((function(n){t.hasAnimated=!0,t.stopAnimation=e(n)})).then((function(){return t.clearAnimation()}))},e.prototype.stop=function(){this.stopAnimation&&this.stopAnimation(),this.clearAnimation()},e.prototype.isAnimating=function(){return!!this.stopAnimation},e.prototype.clearAnimation=function(){this.stopAnimation=null},e.prototype.destroy=function(){this.updateSubscribers.clear(),this.renderSubscribers.clear(),this.stop()},e}();function yh(e){return new vh(e)}var wh=function(e){return Boolean(null!==e&&"object"==typeof e&&e.getVelocity)};const xh=(e,t,n)=>Math.min(Math.max(n,e),t),_h=.001;function Sh({duration:e=800,bounce:t=.25,velocity:n=0,mass:r=1}){let i,o,a=1-t;a=xh(.05,1,a),e=xh(.01,10,e/1e3),a<1?(i=t=>{const r=t*a,i=r*e,o=r-n,s=kh(t,a),l=Math.exp(-i);return _h-o/s*l},o=t=>{const r=t*a*e,o=r*n+n,s=Math.pow(a,2)*Math.pow(t,2)*e,l=Math.exp(-r),u=kh(Math.pow(t,2),a);return(-i(t)+_h>0?-1:1)*((o-s)*l)/u}):(i=t=>Math.exp(-t*e)*((t-n)*e+1)-.001,o=t=>Math.exp(-t*e)*(e*e*(n-t)));const s=function(e,t,n){let r=n;for(let n=1;n<12;n++)r-=e(r)/t(r);return r}(i,o,5/e);if(e*=1e3,isNaN(s))return{stiffness:100,damping:10,duration:e};{const t=Math.pow(s,2)*r;return{stiffness:t,damping:2*a*Math.sqrt(r*t),duration:e}}}function kh(e,t){return e*Math.sqrt(1-t*t)}const Ch=["duration","bounce"],Eh=["stiffness","damping","mass"];function Ih(e,t){return t.some((t=>void 0!==e[t]))}function Mh(e){var{from:t=0,to:n=1,restSpeed:r=2,restDelta:i}=e,o=lf(e,["from","to","restSpeed","restDelta"]);const a={done:!1,value:t};let{stiffness:s,damping:l,mass:u,velocity:c,duration:f,isResolvedFromDuration:h}=function(e){let t=Object.assign({velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1},e);if(!Ih(e,Eh)&&Ih(e,Ch)){const n=Sh(e);t=Object.assign(Object.assign(Object.assign({},t),n),{velocity:0,mass:1}),t.isResolvedFromDuration=!0}return t}(o),d=Th,p=Th;function g(){const e=c?-c/1e3:0,r=n-t,o=l/(2*Math.sqrt(s*u)),a=Math.sqrt(s/u)/1e3;if(void 0===i&&(i=Math.min(Math.abs(n-t)/100,.4)),o<1){const t=kh(a,o);d=i=>{const s=Math.exp(-o*a*i);return n-s*((e+o*a*r)/t*Math.sin(t*i)+r*Math.cos(t*i))},p=n=>{const i=Math.exp(-o*a*n);return o*a*i*(Math.sin(t*n)*(e+o*a*r)/t+r*Math.cos(t*n))-i*(Math.cos(t*n)*(e+o*a*r)-t*r*Math.sin(t*n))}}else if(1===o)d=t=>n-Math.exp(-a*t)*(r+(e+a*r)*t);else{const t=a*Math.sqrt(o*o-1);d=i=>{const s=Math.exp(-o*a*i),l=Math.min(t*i,300);return n-s*((e+o*a*r)*Math.sinh(l)+t*r*Math.cosh(l))/t}}}return g(),{next:e=>{const t=d(e);if(h)a.done=e>=f;else{const o=1e3*p(e),s=Math.abs(o)<=r,l=Math.abs(n-t)<=i;a.done=s&&l}return a.value=a.done?n:t,a},flipTarget:()=>{c=-c,[t,n]=[n,t],g()}}}Mh.needsInterpolation=(e,t)=>"string"==typeof e||"string"==typeof t;const Th=e=>0,Ah=(e,t,n)=>{const r=t-e;return 0===r?1:(n-e)/r},Ph=(e,t)=>n=>Math.max(Math.min(n,t),e),Oh=e=>e%1?Number(e.toFixed(5)):e,Dh=/(-)?([\d]*\.?[\d])+/g,Rh=/(#[0-9a-f]{6}|#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2,3}\s*\/*\s*[\d\.]+%?\))/gi,Lh=/^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2,3}\s*\/*\s*[\d\.]+%?\))$/i;function Nh(e){return"string"==typeof e}const jh={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},Fh=Object.assign(Object.assign({},jh),{transform:Ph(0,1)}),zh=Object.assign(Object.assign({},jh),{default:1}),Bh=(e,t)=>n=>Boolean(Nh(n)&&Lh.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t)),Vh=(e,t,n)=>r=>{if(!Nh(r))return r;const[i,o,a,s]=r.match(Dh);return{[e]:parseFloat(i),[t]:parseFloat(o),[n]:parseFloat(a),alpha:void 0!==s?parseFloat(s):1}},$h=Ph(0,255),Hh=Object.assign(Object.assign({},jh),{transform:e=>Math.round($h(e))}),Gh={test:Bh("rgb","red"),parse:Vh("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+Hh.transform(e)+", "+Hh.transform(t)+", "+Hh.transform(n)+", "+Oh(Fh.transform(r))+")"};const Wh={test:Bh("#"),parse:function(e){let t="",n="",r="",i="";return e.length>5?(t=e.substr(1,2),n=e.substr(3,2),r=e.substr(5,2),i=e.substr(7,2)):(t=e.substr(1,1),n=e.substr(2,1),r=e.substr(3,1),i=e.substr(4,1),t+=t,n+=n,r+=r,i+=i),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:i?parseInt(i,16)/255:1}},transform:Gh.transform},Uh=e=>({test:t=>Nh(t)&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),qh=Uh("deg"),Xh=Uh("%"),Yh=Uh("px"),Kh=Uh("vh"),Zh=Uh("vw"),Qh=Object.assign(Object.assign({},Xh),{parse:e=>Xh.parse(e)/100,transform:e=>Xh.transform(100*e)}),Jh={test:Bh("hsl","hue"),parse:Vh("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+Xh.transform(Oh(t))+", "+Xh.transform(Oh(n))+", "+Oh(Fh.transform(r))+")"};function ed(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function td({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,n/=100;let i=0,o=0,a=0;if(t/=100){const r=n<.5?n*(1+t):n+t-n*t,s=2*n-r;i=ed(s,r,e+1/3),o=ed(s,r,e),a=ed(s,r,e-1/3)}else i=o=a=n;return{red:Math.round(255*i),green:Math.round(255*o),blue:Math.round(255*a),alpha:r}}const nd=(e,t,n)=>{const r=e*e,i=t*t;return Math.sqrt(Math.max(0,n*(i-r)+r))},rd=[Wh,Gh,Jh],id=e=>rd.find((t=>t.test(e))),od=e=>`'${e}' is not an animatable color. Use the equivalent color code instead.`,ad=(e,t)=>{let n=id(e),r=id(t);od(e),od(t);let i=n.parse(e),o=r.parse(t);n===Jh&&(i=td(i),n=Gh),r===Jh&&(o=td(o),r=Gh);const a=Object.assign({},i);return e=>{for(const t in a)"alpha"!==t&&(a[t]=nd(i[t],o[t],e));return a.alpha=dh(i.alpha,o.alpha,e),n.transform(a)}},sd={test:e=>Gh.test(e)||Wh.test(e)||Jh.test(e),parse:e=>Gh.test(e)?Gh.parse(e):Jh.test(e)?Jh.parse(e):Wh.parse(e),transform:e=>Nh(e)?e:e.hasOwnProperty("red")?Gh.transform(e):Jh.transform(e)},ld="${c}",ud="${n}";function cd(e){"number"==typeof e&&(e=`${e}`);const t=[];let n=0;const r=e.match(Rh);r&&(n=r.length,e=e.replace(Rh,ld),t.push(...r.map(sd.parse)));const i=e.match(Dh);return i&&(e=e.replace(Dh,ud),t.push(...i.map(jh.parse))),{values:t,numColors:n,tokenised:e}}function fd(e){return cd(e).values}function hd(e){const{values:t,numColors:n,tokenised:r}=cd(e),i=t.length;return e=>{let t=r;for(let r=0;r<i;r++)t=t.replace(r<n?ld:ud,r<n?sd.transform(e[r]):Oh(e[r]));return t}}const dd=e=>"number"==typeof e?0:e;const pd={test:function(e){var t,n,r,i;return isNaN(e)&&Nh(e)&&(null!==(n=null===(t=e.match(Dh))||void 0===t?void 0:t.length)&&void 0!==n?n:0)+(null!==(i=null===(r=e.match(Rh))||void 0===r?void 0:r.length)&&void 0!==i?i:0)>0},parse:fd,createTransformer:hd,getAnimatableNone:function(e){const t=fd(e);return hd(e)(t.map(dd))}},gd=e=>"number"==typeof e,md=(e,t)=>n=>t(e(n)),bd=(...e)=>e.reduce(md);function vd(e,t){return gd(e)?n=>dh(e,t,n):sd.test(e)?ad(e,t):_d(e,t)}const yd=(e,t)=>{const n=[...e],r=n.length,i=e.map(((e,n)=>vd(e,t[n])));return e=>{for(let t=0;t<r;t++)n[t]=i[t](e);return n}},wd=(e,t)=>{const n=Object.assign(Object.assign({},e),t),r={};for(const i in n)void 0!==e[i]&&void 0!==t[i]&&(r[i]=vd(e[i],t[i]));return e=>{for(const t in r)n[t]=r[t](e);return n}};function xd(e){const t=pd.parse(e),n=t.length;let r=0,i=0,o=0;for(let e=0;e<n;e++)r||"number"==typeof t[e]?r++:void 0!==t[e].hue?o++:i++;return{parsed:t,numNumbers:r,numRGB:i,numHSL:o}}const _d=(e,t)=>{const n=pd.createTransformer(t),r=xd(e),i=xd(t);return r.numHSL===i.numHSL&&r.numRGB===i.numRGB&&r.numNumbers>=i.numNumbers?bd(yd(r.parsed,i.parsed),n):n=>`${n>0?t:e}`},Sd=(e,t)=>n=>dh(e,t,n);function kd(e,t,n){const r=[],i=n||("number"==typeof(o=e[0])?Sd:"string"==typeof o?sd.test(o)?ad:_d:Array.isArray(o)?yd:"object"==typeof o?wd:void 0);var o;const a=e.length-1;for(let n=0;n<a;n++){let o=i(e[n],e[n+1]);if(t){const e=Array.isArray(t)?t[n]:t;o=bd(e,o)}r.push(o)}return r}function Cd(e,t,{clamp:n=!0,ease:r,mixer:i}={}){const o=e.length;t.length,!r||!Array.isArray(r)||r.length,e[0]>e[o-1]&&(e=[].concat(e),t=[].concat(t),e.reverse(),t.reverse());const a=kd(t,r,i),s=2===o?function([e,t],[n]){return r=>n(Ah(e,t,r))}(e,a):function(e,t){const n=e.length,r=n-1;return i=>{let o=0,a=!1;if(i<=e[0]?a=!0:i>=e[r]&&(o=r-1,a=!0),!a){let t=1;for(;t<n&&!(e[t]>i||t===r);t++);o=t-1}const s=Ah(e[o],e[o+1],i);return t[o](s)}}(e,a);return n?t=>s(xh(e[0],e[o-1],t)):s}const Ed=e=>t=>1-e(1-t),Id=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,Md=e=>t=>t*t*((e+1)*t-e),Td=e=>e,Ad=(Pd=2,e=>Math.pow(e,Pd));var Pd;const Od=Ed(Ad),Dd=Id(Ad),Rd=e=>1-Math.sin(Math.acos(e)),Ld=Ed(Rd),Nd=Id(Ld),jd=Md(1.525),Fd=Ed(jd),zd=Id(jd),Bd=(e=>{const t=Md(e);return e=>(e*=2)<1?.5*t(e):.5*(2-Math.pow(2,-10*(e-1)))})(1.525),Vd=e=>{if(1===e||0===e)return e;const t=e*e;return e<.36363636363636365?7.5625*t:e<.7272727272727273?9.075*t-9.9*e+3.4:e<.9?12.066481994459833*t-19.63545706371191*e+8.898060941828255:10.8*e*e-20.52*e+10.72},$d=Ed(Vd);function Hd(e,t){return e.map((()=>t||Dd)).splice(0,e.length-1)}function Gd({from:e=0,to:t=1,ease:n,offset:r,duration:i=300}){const o={done:!1,value:e},a=Array.isArray(t)?t:[e,t],s=function(e,t){return e.map((e=>e*t))}(r&&r.length===a.length?r:function(e){const t=e.length;return e.map(((e,n)=>0!==n?n/(t-1):0))}(a),i);function l(){return Cd(s,a,{ease:Array.isArray(n)?n:Hd(a,n)})}let u=l();return{next:e=>(o.value=u(e),o.done=e>=i,o),flipTarget:()=>{a.reverse(),u=l()}}}const Wd={keyframes:Gd,spring:Mh,decay:function({velocity:e=0,from:t=0,power:n=.8,timeConstant:r=350,restDelta:i=.5,modifyTarget:o}){const a={done:!1,value:t};let s=n*e;const l=t+s,u=void 0===o?l:o(l);return u!==l&&(s=u-t),{next:e=>{const t=-s*Math.exp(-e/r);return a.done=!(t>i||t<-i),a.value=a.done?u:u+t,a},flipTarget:()=>{}}}};const Ud=1/60*1e3,qd="undefined"!=typeof performance?()=>performance.now():()=>Date.now(),Xd="undefined"!=typeof window?e=>window.requestAnimationFrame(e):e=>setTimeout((()=>e(qd())),Ud);let Yd=!0,Kd=!1,Zd=!1;const Qd={delta:0,timestamp:0},Jd=["read","update","preRender","render","postRender"],ep=Jd.reduce(((e,t)=>(e[t]=function(e){let t=[],n=[],r=0,i=!1,o=!1;const a=new WeakSet,s={schedule:(e,o=!1,s=!1)=>{const l=s&&i,u=l?t:n;return o&&a.add(e),-1===u.indexOf(e)&&(u.push(e),l&&i&&(r=t.length)),e},cancel:e=>{const t=n.indexOf(e);-1!==t&&n.splice(t,1),a.delete(e)},process:l=>{if(i)o=!0;else{if(i=!0,[t,n]=[n,t],n.length=0,r=t.length,r)for(let n=0;n<r;n++){const r=t[n];r(l),a.has(r)&&(s.schedule(r),e())}i=!1,o&&(o=!1,s.process(l))}}};return s}((()=>Kd=!0)),e)),{}),tp=Jd.reduce(((e,t)=>{const n=ep[t];return e[t]=(e,t=!1,r=!1)=>(Kd||op(),n.schedule(e,t,r)),e}),{}),np=Jd.reduce(((e,t)=>(e[t]=ep[t].cancel,e)),{}),rp=(Jd.reduce(((e,t)=>(e[t]=()=>ep[t].process(Qd),e)),{}),e=>ep[e].process(Qd)),ip=e=>{Kd=!1,Qd.delta=Yd?Ud:Math.max(Math.min(e-Qd.timestamp,40),1),Qd.timestamp=e,Zd=!0,Jd.forEach(rp),Zd=!1,Kd&&(Yd=!1,Xd(ip))},op=()=>{Kd=!0,Yd=!0,Zd||Xd(ip)},ap=tp;function sp(e,t,n=0){return e-t-n}const lp=e=>{const t=({delta:t})=>e(t);return{start:()=>ap.update(t,!0),stop:()=>np.update(t)}};function up(e){var t,n,{from:r,autoplay:i=!0,driver:o=lp,elapsed:a=0,repeat:s=0,repeatType:l="loop",repeatDelay:u=0,onPlay:c,onStop:f,onComplete:h,onRepeat:d,onUpdate:p}=e,g=lf(e,["from","autoplay","driver","elapsed","repeat","repeatType","repeatDelay","onPlay","onStop","onComplete","onRepeat","onUpdate"]);let m,b,v,{to:y}=g,w=0,x=g.duration,_=!1,S=!0;const k=function(e){if(Array.isArray(e.to))return Gd;if(Wd[e.type])return Wd[e.type];const t=new Set(Object.keys(e));return t.has("ease")||t.has("duration")&&!t.has("dampingRatio")?Gd:t.has("dampingRatio")||t.has("stiffness")||t.has("mass")||t.has("damping")||t.has("restSpeed")||t.has("restDelta")?Mh:Gd}(g);(null===(n=(t=k).needsInterpolation)||void 0===n?void 0:n.call(t,r,y))&&(v=Cd([0,100],[r,y],{clamp:!1}),r=0,y=100);const C=k(Object.assign(Object.assign({},g),{from:r,to:y}));function E(){w++,"reverse"===l?(S=w%2==0,a=function(e,t,n=0,r=!0){return r?sp(t+-e,t,n):t-(e-t)+n}(a,x,u,S)):(a=sp(a,x,u),"mirror"===l&&C.flipTarget()),_=!1,d&&d()}function I(e){if(S||(e=-e),a+=e,!_){const e=C.next(Math.max(0,a));b=e.value,v&&(b=v(b)),_=S?e.done:a<=0}null==p||p(b),_&&(0===w&&(null!=x||(x=a)),w<s?function(e,t,n,r){return r?e>=t+n:e<=-n}(a,x,u,S)&&E():(m.stop(),h&&h()))}return i&&(null==c||c(),m=o(I),m.start()),{stop:()=>{null==f||f(),m.stop()}}}function cp({from:e=0,velocity:t=0,min:n,max:r,power:i=.8,timeConstant:o=750,bounceStiffness:a=500,bounceDamping:s=10,restDelta:l=1,modifyTarget:u,driver:c,onUpdate:f,onComplete:h,onStop:d}){let p;function g(e){return void 0!==n&&e<n||void 0!==r&&e>r}function m(e){return void 0===n?r:void 0===r||Math.abs(n-e)<Math.abs(r-e)?n:r}function b(e){null==p||p.stop(),p=up(Object.assign(Object.assign({},e),{driver:c,onUpdate:t=>{var n;null==f||f(t),null===(n=e.onUpdate)||void 0===n||n.call(e,t)},onComplete:h,onStop:d}))}function v(e){b(Object.assign({type:"spring",stiffness:a,damping:s,restDelta:l},e))}if(g(e))v({from:e,velocity:t,to:m(e)});else{let r=i*t+e;void 0!==u&&(r=u(r));const a=m(r),s=a===n?-1:1;let c,f;const h=e=>{c=f,f=e,t=ph(e-c,Qd.delta),(1===s&&e>a||-1===s&&e<a)&&v({from:e,to:a,velocity:t})};b({type:"decay",from:e,velocity:t,timeConstant:o,power:i,restDelta:l,modifyTarget:u,onUpdate:g(r)?h:void 0})}return{stop:()=>null==p?void 0:p.stop()}}var fp=function(e){return 1e3*e};const hp=(e,t)=>1-3*t+3*e,dp=(e,t)=>3*t-6*e,pp=e=>3*e,gp=(e,t,n)=>((hp(t,n)*e+dp(t,n))*e+pp(t))*e,mp=(e,t,n)=>3*hp(t,n)*e*e+2*dp(t,n)*e+pp(t);const bp=.1;function vp(e,t,n,r){if(e===t&&n===r)return Td;const i=new Float32Array(11);for(let t=0;t<11;++t)i[t]=gp(t*bp,e,n);function o(t){let r=0,o=1;for(;10!==o&&i[o]<=t;++o)r+=bp;--o;const a=r+(t-i[o])/(i[o+1]-i[o])*bp,s=mp(a,e,n);return s>=.001?function(e,t,n,r){for(let i=0;i<8;++i){const i=mp(t,n,r);if(0===i)return t;t-=(gp(t,n,r)-e)/i}return t}(t,a,e,n):0===s?a:function(e,t,n,r,i){let o,a,s=0;do{a=t+(n-t)/2,o=gp(a,r,i)-e,o>0?n=a:t=a}while(Math.abs(o)>1e-7&&++s<10);return a}(t,r,r+bp,e,n)}return e=>0===e||1===e?e:gp(o(e),t,r)}var yp={linear:Td,easeIn:Ad,easeInOut:Dd,easeOut:Od,circIn:Rd,circInOut:Nd,circOut:Ld,backIn:jd,backInOut:zd,backOut:Fd,anticipate:Bd,bounceIn:$d,bounceInOut:e=>e<.5?.5*(1-Vd(1-2*e)):.5*Vd(2*e-1)+.5,bounceOut:Vd},wp=function(e){if(Array.isArray(e)){e.length;var t=cf(e,4);return vp(t[0],t[1],t[2],t[3])}return"string"==typeof e?("Invalid easing type '".concat(e,"'"),yp[e]):e},xp=function(e,t){return"zIndex"!==e&&(!("number"!=typeof t&&!Array.isArray(t))||!("string"!=typeof t||!pd.test(t)||t.startsWith("url(")))},_p=function(e){return Array.isArray(e)},Sp=function(){return{type:"spring",stiffness:500,damping:25,restSpeed:10}},kp=function(e){return{type:"spring",stiffness:550,damping:0===e?2*Math.sqrt(550):30,restSpeed:10}},Cp=function(){return{type:"keyframes",ease:"linear",duration:.3}},Ep=function(e){return{type:"keyframes",duration:.8,values:e}},Ip={x:Sp,y:Sp,z:Sp,rotate:Sp,rotateX:Sp,rotateY:Sp,rotateZ:Sp,scaleX:kp,scaleY:kp,scale:kp,opacity:Cp,backgroundColor:Cp,color:Cp,default:kp};const Mp=new Set(["brightness","contrast","saturate","opacity"]);function Tp(e){let[t,n]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;const[r]=n.match(Dh)||[];if(!r)return e;const i=n.replace(r,"");let o=Mp.has(t)?1:0;return r!==n&&(o*=100),t+"("+o+i+")"}const Ap=/([a-z-]*)\(.*?\)/g,Pp=Object.assign(Object.assign({},pd),{getAnimatableNone:e=>{const t=e.match(Ap);return t?t.map(Tp).join(" "):e}});var Op=sf(sf({},jh),{transform:Math.round}),Dp={borderWidth:Yh,borderTopWidth:Yh,borderRightWidth:Yh,borderBottomWidth:Yh,borderLeftWidth:Yh,borderRadius:Yh,radius:Yh,borderTopLeftRadius:Yh,borderTopRightRadius:Yh,borderBottomRightRadius:Yh,borderBottomLeftRadius:Yh,width:Yh,maxWidth:Yh,height:Yh,maxHeight:Yh,size:Yh,top:Yh,right:Yh,bottom:Yh,left:Yh,padding:Yh,paddingTop:Yh,paddingRight:Yh,paddingBottom:Yh,paddingLeft:Yh,margin:Yh,marginTop:Yh,marginRight:Yh,marginBottom:Yh,marginLeft:Yh,rotate:qh,rotateX:qh,rotateY:qh,rotateZ:qh,scale:zh,scaleX:zh,scaleY:zh,scaleZ:zh,skew:qh,skewX:qh,skewY:qh,distance:Yh,translateX:Yh,translateY:Yh,translateZ:Yh,x:Yh,y:Yh,z:Yh,perspective:Yh,transformPerspective:Yh,opacity:Fh,originX:Qh,originY:Qh,originZ:Yh,zIndex:Op,fillOpacity:Fh,strokeOpacity:Fh,numOctaves:Op},Rp=sf(sf({},Dp),{color:sd,backgroundColor:sd,outlineColor:sd,fill:sd,stroke:sd,borderColor:sd,borderTopColor:sd,borderRightColor:sd,borderBottomColor:sd,borderLeftColor:sd,filter:Pp,WebkitFilter:Pp}),Lp=function(e){return Rp[e]};function Np(e,t){var n,r=Lp(e);return r!==Pp&&(r=pd),null===(n=r.getAnimatableNone)||void 0===n?void 0:n.call(r,t)}var jp=!1,Fp=function(e){return _p(e)?e[e.length-1]||0:e};function zp(e){var t=e.ease,n=e.times,r=e.yoyo,i=e.flip,o=e.loop,a=lf(e,["ease","times","yoyo","flip","loop"]),s=sf({},a);return n&&(s.offset=n),a.duration&&(s.duration=fp(a.duration)),a.repeatDelay&&(s.repeatDelay=fp(a.repeatDelay)),t&&(s.ease=function(e){return Array.isArray(e)&&"number"!=typeof e[0]}(t)?t.map(wp):wp(t)),"tween"===a.type&&(s.type="keyframes"),(r||o||i)&&(!0,r?s.repeatType="reverse":o?s.repeatType="loop":i&&(s.repeatType="mirror"),s.repeat=o||r||i||a.repeat),"spring"!==a.type&&(s.type="keyframes"),s}function Bp(e,t,n){var r,i,o,a;return Array.isArray(t.to)&&(null!==(r=e.duration)&&void 0!==r||(e.duration=.8)),function(e){Array.isArray(e.to)&&null===e.to[0]&&(e.to=ff([],cf(e.to),!1),e.to[0]=e.from)}(t),function(e){e.when,e.delay,e.delayChildren,e.staggerChildren,e.staggerDirection,e.repeat,e.repeatType,e.repeatDelay,e.from;var t=lf(e,["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from"]);return!!Object.keys(t).length}(e)||(e=sf(sf({},e),(i=n,o=t.to,a=_p(o)?Ep:Ip[i]||Ip.default,sf({to:o},a(o))))),sf(sf({},t),zp(e))}function Vp(e){return 0===e||"string"==typeof e&&0===parseFloat(e)&&-1===e.indexOf(" ")}function $p(e){return"number"==typeof e?0:Np("",e)}function Hp(e,t){return e[t]||e.default||e}function Gp(e,t,n,r){return void 0===r&&(r={}),jp&&(r={type:!1}),t.start((function(i){var o,a,s=function(e,t,n,r,i){var o,a=Hp(r,e),s=null!==(o=a.from)&&void 0!==o?o:t.get(),l=xp(e,n);"none"===s&&l&&"string"==typeof n?s=Np(e,n):Vp(s)&&"string"==typeof n?s=$p(n):!Array.isArray(n)&&Vp(n)&&"string"==typeof s&&(n=$p(s));var u=xp(e,s);return"You are trying to animate ".concat(e,' from "').concat(s,'" to "').concat(n,'". ').concat(s," is not an animatable value - to enable this animation set ").concat(s," to a value animatable to ").concat(n," via the `style` property."),u&&l&&!1!==a.type?function(){var r={from:s,to:n,velocity:t.getVelocity(),onComplete:i,onUpdate:function(e){return t.set(e)}};return"inertia"===a.type||"decay"===a.type?cp(sf(sf({},r),a)):up(sf(sf({},Bp(a,r,e)),{onUpdate:function(e){var t;r.onUpdate(e),null===(t=a.onUpdate)||void 0===t||t.call(a,e)},onComplete:function(){var e;r.onComplete(),null===(e=a.onComplete)||void 0===e||e.call(a)}}))}:function(){var e,r,o=Fp(n);return t.set(o),i(),null===(e=null==a?void 0:a.onUpdate)||void 0===e||e.call(a,o),null===(r=null==a?void 0:a.onComplete)||void 0===r||r.call(a),{stop:function(){}}}}(e,t,n,r,i),l=function(e,t){var n,r;return null!==(r=null!==(n=(Hp(e,t)||{}).delay)&&void 0!==n?n:e.delay)&&void 0!==r?r:0}(r,e),u=function(){return a=s()};return l?o=window.setTimeout(u,fp(l)):u(),function(){clearTimeout(o),null==a||a.stop()}}))}var Wp=["TopLeft","TopRight","BottomLeft","BottomRight"],Up=Wp.length,qp=function(e){return"string"==typeof e?parseFloat(e):e},Xp=function(e){return"number"==typeof e||Yh.test(e)};function Yp(e,t){var n;return null!==(n=e[t])&&void 0!==n?n:e.borderRadius}var Kp=Qp(0,.5,Ld),Zp=Qp(.5,.95,Td);function Qp(e,t,n){return function(r){return r<e?0:r>t?1:n(Ah(e,t,r))}}function Jp(e,t){e.min=t.min,e.max=t.max}function eg(e,t){Jp(e.x,t.x),Jp(e.y,t.y)}function tg(e){return void 0===e||1===e}function ng(e){var t=e.scale,n=e.scaleX,r=e.scaleY;return!tg(t)||!tg(n)||!tg(r)}function rg(e){return ng(e)||ig(e.x)||ig(e.y)||e.z||e.rotate||e.rotateX||e.rotateY}function ig(e){return e&&"0%"!==e}function og(e,t,n){return n+t*(e-n)}function ag(e,t,n,r,i){return void 0!==i&&(e=og(e,i,r)),og(e,n,r)+t}function sg(e,t,n,r,i){void 0===t&&(t=0),void 0===n&&(n=1),e.min=ag(e.min,t,n,r,i),e.max=ag(e.max,t,n,r,i)}function lg(e,t){var n=t.x,r=t.y;sg(e.x,n.translate,n.scale,n.originPoint),sg(e.y,r.translate,r.scale,r.originPoint)}function ug(e,t){e.min=e.min+t,e.max=e.max+t}function cg(e,t,n){var r=cf(n,3),i=r[0],o=r[1],a=r[2],s=void 0!==t[a]?t[a]:.5,l=dh(e.min,e.max,s);sg(e,t[i],t[o],l,t.scale)}var fg=["x","scaleX","originX"],hg=["y","scaleY","originY"];function dg(e,t){cg(e.x,t,fg),cg(e.y,t,hg)}const pg=e=>e.hasOwnProperty("x")&&e.hasOwnProperty("y"),gg=e=>pg(e)&&e.hasOwnProperty("z"),mg=(e,t)=>Math.abs(e-t);function bg(e,t){if(gd(e)&&gd(t))return mg(e,t);if(pg(e)&&pg(t)){const n=mg(e.x,t.x),r=mg(e.y,t.y),i=gg(e)&&gg(t)?mg(e.z,t.z):0;return Math.sqrt(Math.pow(n,2)+Math.pow(r,2)+Math.pow(i,2))}}function vg(e){return e.max-e.min}function yg(e,t,n){return void 0===t&&(t=0),void 0===n&&(n=.01),bg(e,t)<n}function wg(e,t,n,r){void 0===r&&(r=.5),e.origin=r,e.originPoint=dh(t.min,t.max,e.origin),e.scale=vg(n)/vg(t),(yg(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=dh(n.min,n.max,e.origin)-e.originPoint,(yg(e.translate)||isNaN(e.translate))&&(e.translate=0)}function xg(e,t,n,r){wg(e.x,t.x,n.x,null==r?void 0:r.originX),wg(e.y,t.y,n.y,null==r?void 0:r.originY)}function _g(e,t,n){e.min=n.min+t.min,e.max=e.min+vg(t)}function Sg(e,t,n){e.min=t.min-n.min,e.max=e.min+vg(t)}function kg(e,t,n){Sg(e.x,t.x,n.x),Sg(e.y,t.y,n.y)}function Cg(e,t,n,r,i){return e=og(e-=t,1/n,r),void 0!==i&&(e=og(e,1/i,r)),e}function Eg(e,t,n,r,i){var o=cf(n,3),a=o[0],s=o[1],l=o[2];!function(e,t,n,r,i,o,a){if(void 0===t&&(t=0),void 0===n&&(n=1),void 0===r&&(r=.5),void 0===o&&(o=e),void 0===a&&(a=e),Xh.test(t)&&(t=parseFloat(t),t=dh(a.min,a.max,t/100)-a.min),"number"==typeof t){var s=dh(o.min,o.max,r);e===o&&(s-=t),e.min=Cg(e.min,t,n,s,i),e.max=Cg(e.max,t,n,s,i)}}(e,t[a],t[s],t[l],t.scale,r,i)}var Ig=["x","scaleX","originX"],Mg=["y","scaleY","originY"];function Tg(e,t,n,r){Eg(e.x,t,Ig,null==n?void 0:n.x,null==r?void 0:r.x),Eg(e.y,t,Mg,null==n?void 0:n.y,null==r?void 0:r.y)}function Ag(e){return 0===e.translate&&1===e.scale}function Pg(e){return Ag(e.x)&&Ag(e.y)}function Og(e,t){return e.x.min===t.x.min&&e.x.max===t.x.max&&e.y.min===t.y.min&&e.y.max===t.y.max}var Dg=function(){function e(){this.members=[]}return e.prototype.add=function(e){gh(this.members,e),e.scheduleRender()},e.prototype.remove=function(e){if(mh(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){var t=this.members[this.members.length-1];t&&this.promote(t)}},e.prototype.relegate=function(e){var t,n=this.members.findIndex((function(t){return e===t}));if(0===n)return!1;for(var r=n;r>=0;r--){var i=this.members[r];if(!1!==i.isPresent){t=i;break}}return!!t&&(this.promote(t),!0)},e.prototype.promote=function(e,t){var n,r=this.lead;e!==r&&(this.prevLead=r,this.lead=e,e.show(),r&&(r.instance&&r.scheduleRender(),e.scheduleRender(),e.resumeFrom=r,t&&(e.resumeFrom.preserveOpacity=!0),r.snapshot&&(e.snapshot=r.snapshot,e.snapshot.latestValues=r.animationValues||r.latestValues,e.snapshot.isShared=!0),(null===(n=e.root)||void 0===n?void 0:n.isUpdating)&&(e.isLayoutDirty=!0),!1===e.options.crossfade&&r.hide()))},e.prototype.exitAnimationComplete=function(){this.members.forEach((function(e){var t,n,r,i,o;null===(n=(t=e.options).onExitComplete)||void 0===n||n.call(t),null===(o=null===(r=e.resumingFrom)||void 0===r?void 0:(i=r.options).onExitComplete)||void 0===o||o.call(i)}))},e.prototype.scheduleRender=function(){this.members.forEach((function(e){e.instance&&e.scheduleRender(!1)}))},e.prototype.removeLeadSnapshot=function(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)},e}(),Rg={};function Lg(e,t,n){var r=e.x.translate/t.x,i=e.y.translate/t.y,o="translate3d(".concat(r,"px, ").concat(i,"px, 0) ");if(o+="scale(".concat(1/t.x,", ").concat(1/t.y,") "),n){var a=n.rotate,s=n.rotateX,l=n.rotateY;a&&(o+="rotate(".concat(a,"deg) ")),s&&(o+="rotateX(".concat(s,"deg) ")),l&&(o+="rotateY(".concat(l,"deg) "))}var u=e.x.scale*t.x,c=e.y.scale*t.y;return"translate3d(0px, 0px, 0) scale(1, 1) scale(1, 1)"===(o+="scale(".concat(u,", ").concat(c,")"))?"none":o}function Ng(e){return[e("x"),e("y")]}var jg=["","X","Y","Z"],Fg=["transformPerspective","x","y","z"];function zg(e,t){return Fg.indexOf(e)-Fg.indexOf(t)}["translate","scale","rotate","skew"].forEach((function(e){return jg.forEach((function(t){return Fg.push(e+t)}))}));var Bg=new Set(Fg);function Vg(e){return Bg.has(e)}var $g=new Set(["originX","originY","originZ"]);function Hg(e){return $g.has(e)}var Gg=function(e,t){return e.depth-t.depth},Wg=function(){function e(){this.children=[],this.isDirty=!1}return e.prototype.add=function(e){gh(this.children,e),this.isDirty=!0},e.prototype.remove=function(e){mh(this.children,e),this.isDirty=!0},e.prototype.forEach=function(e){this.isDirty&&this.children.sort(Gg),this.isDirty=!1,this.children.forEach(e)},e}();function Ug(e){var t,n=wh(e)?e.get():e;return t=n,Boolean(t&&"object"==typeof t&&t.mix&&t.toValue)?n.toValue():n}var qg={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function Xg(e){var t=e.attachResizeListener,n=e.defaultParent,r=e.measureScroll,i=e.resetTransform;return function(){function e(e,t,r){var i=this;void 0===t&&(t={}),void 0===r&&(r=null==n?void 0:n()),this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.potentialNodes=new Map,this.checkUpdateFailed=function(){i.isUpdating&&(i.isUpdating=!1,i.clearAllSnapshots())},this.updateProjection=function(){i.nodes.forEach(tm),i.nodes.forEach(nm)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.id=e,this.latestValues=t,this.root=r?r.root||r:this,this.path=r?ff(ff([],cf(r.path),!1),[r],!1):[],this.parent=r,this.depth=r?r.depth+1:0,e&&this.root.registerPotentialNode(e,this);for(var o=0;o<this.path.length;o++)this.path[o].shouldResetTransform=!0;this.root===this&&(this.nodes=new Wg)}return e.prototype.addEventListener=function(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new bh),this.eventHandlers.get(e).add(t)},e.prototype.notifyListeners=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r=this.eventHandlers.get(e);null==r||r.notify.apply(r,ff([],cf(t),!1))},e.prototype.hasListeners=function(e){return this.eventHandlers.has(e)},e.prototype.registerPotentialNode=function(e,t){this.potentialNodes.set(e,t)},e.prototype.mount=function(e,n){var r,i=this;if(void 0===n&&(n=!1),!this.instance){this.isSVG=e instanceof SVGElement&&"svg"!==e.tagName,this.instance=e;var o=this.options,a=o.layoutId,s=o.layout,l=o.visualElement;if(l&&!l.getInstance()&&l.mount(e),this.root.nodes.add(this),null===(r=this.parent)||void 0===r||r.children.add(this),this.id&&this.root.potentialNodes.delete(this.id),n&&(s||a)&&(this.isLayoutDirty=!0),t){var u,c=function(){return i.root.updateBlockedByResize=!1};t(e,(function(){i.root.updateBlockedByResize=!0,clearTimeout(u),u=window.setTimeout(c,250),qg.hasAnimatedSinceResize&&(qg.hasAnimatedSinceResize=!1,i.nodes.forEach(em))}))}a&&this.root.registerSharedNode(a,this),!1!==this.options.animate&&l&&(a||s)&&this.addEventListener("didUpdate",(function(e){var t,n,r,o,a,s=e.delta,u=e.hasLayoutChanged,c=e.hasRelativeTargetChanged,f=e.layout;if(i.isTreeAnimationBlocked())return i.target=void 0,void(i.relativeTarget=void 0);var h=null!==(n=null!==(t=i.options.transition)&&void 0!==t?t:l.getDefaultTransition())&&void 0!==n?n:lm,d=l.getProps(),p=d.onLayoutAnimationStart,g=d.onLayoutAnimationComplete,m=!i.targetLayout||!Og(i.targetLayout,f)||c,b=!u&&c;if((null===(r=i.resumeFrom)||void 0===r?void 0:r.instance)||b||u&&(m||!i.currentAnimation)){i.resumeFrom&&(i.resumingFrom=i.resumeFrom,i.resumingFrom.resumingFrom=void 0),i.setAnimationOrigin(s,b);var v=sf(sf({},Hp(h,"layout")),{onPlay:p,onComplete:g});l.shouldReduceMotion&&(v.delay=0,v.type=!1),i.startAnimation(v)}else u||0!==i.animationProgress||i.finishAnimation(),i.isLead()&&(null===(a=(o=i.options).onExitComplete)||void 0===a||a.call(o));i.targetLayout=f}))}},e.prototype.unmount=function(){var e,t;this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this),null===(e=this.getStack())||void 0===e||e.remove(this),null===(t=this.parent)||void 0===t||t.children.delete(this),this.instance=void 0,_f.preRender(this.updateProjection)},e.prototype.blockUpdate=function(){this.updateManuallyBlocked=!0},e.prototype.unblockUpdate=function(){this.updateManuallyBlocked=!1},e.prototype.isUpdateBlocked=function(){return this.updateManuallyBlocked||this.updateBlockedByResize},e.prototype.isTreeAnimationBlocked=function(){var e;return this.isAnimationBlocked||(null===(e=this.parent)||void 0===e?void 0:e.isTreeAnimationBlocked())||!1},e.prototype.startUpdate=function(){var e;this.isUpdateBlocked()||(this.isUpdating=!0,null===(e=this.nodes)||void 0===e||e.forEach(rm))},e.prototype.willUpdate=function(e){var t,n,r;if(void 0===e&&(e=!0),this.root.isUpdateBlocked())null===(n=(t=this.options).onExitComplete)||void 0===n||n.call(t);else if(!this.root.isUpdating&&this.root.startUpdate(),!this.isLayoutDirty){this.isLayoutDirty=!0;for(var i=0;i<this.path.length;i++){var o=this.path[i];o.shouldResetTransform=!0,o.updateScroll()}var a=this.options,s=a.layoutId,l=a.layout;if(void 0!==s||l){var u=null===(r=this.options.visualElement)||void 0===r?void 0:r.getProps().transformTemplate;this.prevTransformTemplateValue=null==u?void 0:u(this.latestValues,""),this.updateSnapshot(),e&&this.notifyListeners("willUpdate")}}},e.prototype.didUpdate=function(){if(this.isUpdateBlocked())return this.unblockUpdate(),this.clearAllSnapshots(),void this.nodes.forEach(Qg);this.isUpdating&&(this.isUpdating=!1,this.potentialNodes.size&&(this.potentialNodes.forEach(um),this.potentialNodes.clear()),this.nodes.forEach(Jg),this.nodes.forEach(Yg),this.nodes.forEach(Kg),this.clearAllSnapshots(),Sf.update(),Sf.preRender(),Sf.render())},e.prototype.clearAllSnapshots=function(){this.nodes.forEach(Zg),this.sharedNodes.forEach(im)},e.prototype.scheduleUpdateProjection=function(){Mf.preRender(this.updateProjection,!1,!0)},e.prototype.scheduleCheckAfterUnmount=function(){var e=this;Mf.postRender((function(){e.isLayoutDirty?e.root.didUpdate():e.root.checkUpdateFailed()}))},e.prototype.updateSnapshot=function(){if(!this.snapshot&&this.instance){var e=this.measure(),t=this.removeTransform(this.removeElementScroll(e));fm(t),this.snapshot={measured:e,layout:t,latestValues:{}}}},e.prototype.updateLayout=function(){var e;if(this.instance&&(this.updateScroll(),this.options.alwaysMeasureLayout&&this.isLead()||this.isLayoutDirty)){if(this.resumeFrom&&!this.resumeFrom.instance)for(var t=0;t<this.path.length;t++){this.path[t].updateScroll()}var n=this.measure();fm(n);var r=this.layout;this.layout={measured:n,actual:this.removeElementScroll(n)},this.layoutCorrected={x:{min:0,max:0},y:{min:0,max:0}},this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.actual),null===(e=this.options.visualElement)||void 0===e||e.notifyLayoutMeasure(this.layout.actual,null==r?void 0:r.actual)}},e.prototype.updateScroll=function(){this.options.layoutScroll&&this.instance&&(this.scroll=r(this.instance))},e.prototype.resetTransform=function(){var e;if(i){var t=this.isLayoutDirty||this.shouldResetTransform,n=this.projectionDelta&&!Pg(this.projectionDelta),r=null===(e=this.options.visualElement)||void 0===e?void 0:e.getProps().transformTemplate,o=null==r?void 0:r(this.latestValues,""),a=o!==this.prevTransformTemplateValue;t&&(n||rg(this.latestValues)||a)&&(i(this.instance,o),this.shouldResetTransform=!1,this.scheduleRender())}},e.prototype.measure=function(){var e=this.options.visualElement;if(!e)return{x:{min:0,max:0},y:{min:0,max:0}};var t=e.measureViewportBox(),n=this.root.scroll;return n&&(ug(t.x,n.x),ug(t.y,n.y)),t},e.prototype.removeElementScroll=function(e){var t={x:{min:0,max:0},y:{min:0,max:0}};eg(t,e);for(var n=0;n<this.path.length;n++){var r=this.path[n],i=r.scroll,o=r.options;r!==this.root&&i&&o.layoutScroll&&(ug(t.x,i.x),ug(t.y,i.y))}return t},e.prototype.applyTransform=function(e,t){void 0===t&&(t=!1);var n={x:{min:0,max:0},y:{min:0,max:0}};eg(n,e);for(var r=0;r<this.path.length;r++){var i=this.path[r];!t&&i.options.layoutScroll&&i.scroll&&i!==i.root&&dg(n,{x:-i.scroll.x,y:-i.scroll.y}),rg(i.latestValues)&&dg(n,i.latestValues)}return rg(this.latestValues)&&dg(n,this.latestValues),n},e.prototype.removeTransform=function(e){var t,n={x:{min:0,max:0},y:{min:0,max:0}};eg(n,e);for(var r=0;r<this.path.length;r++){var i=this.path[r];if(i.instance&&rg(i.latestValues)){ng(i.latestValues)&&i.updateSnapshot();var o={x:{min:0,max:0},y:{min:0,max:0}};eg(o,i.measure()),Tg(n,i.latestValues,null===(t=i.snapshot)||void 0===t?void 0:t.layout,o)}}return rg(this.latestValues)&&Tg(n,this.latestValues),n},e.prototype.setTargetDelta=function(e){this.targetDelta=e,this.root.scheduleUpdateProjection()},e.prototype.setOptions=function(e){var t;this.options=sf(sf(sf({},this.options),e),{crossfade:null===(t=e.crossfade)||void 0===t||t})},e.prototype.clearMeasurements=function(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1},e.prototype.resolveTargetDelta=function(){var e,t,n,r,i=this.options,o=i.layout,a=i.layoutId;this.layout&&(o||a)&&(this.targetDelta||this.relativeTarget||(this.relativeParent=this.getClosestProjectingParent(),this.relativeParent&&this.relativeParent.layout&&(this.relativeTarget={x:{min:0,max:0},y:{min:0,max:0}},this.relativeTargetOrigin={x:{min:0,max:0},y:{min:0,max:0}},kg(this.relativeTargetOrigin,this.layout.actual,this.relativeParent.layout.actual),eg(this.relativeTarget,this.relativeTargetOrigin))),(this.relativeTarget||this.targetDelta)&&(this.target||(this.target={x:{min:0,max:0},y:{min:0,max:0}},this.targetWithTransforms={x:{min:0,max:0},y:{min:0,max:0}}),this.relativeTarget&&this.relativeTargetOrigin&&(null===(e=this.relativeParent)||void 0===e?void 0:e.target)?(t=this.target,n=this.relativeTarget,r=this.relativeParent.target,_g(t.x,n.x,r.x),_g(t.y,n.y,r.y)):this.targetDelta?(Boolean(this.resumingFrom)?this.target=this.applyTransform(this.layout.actual):eg(this.target,this.layout.actual),lg(this.target,this.targetDelta)):eg(this.target,this.layout.actual),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,this.relativeParent=this.getClosestProjectingParent(),this.relativeParent&&Boolean(this.relativeParent.resumingFrom)===Boolean(this.resumingFrom)&&!this.relativeParent.options.layoutScroll&&this.relativeParent.target&&(this.relativeTarget={x:{min:0,max:0},y:{min:0,max:0}},this.relativeTargetOrigin={x:{min:0,max:0},y:{min:0,max:0}},kg(this.relativeTargetOrigin,this.target,this.relativeParent.target),eg(this.relativeTarget,this.relativeTargetOrigin)))))},e.prototype.getClosestProjectingParent=function(){if(this.parent&&!rg(this.parent.latestValues))return(this.parent.relativeTarget||this.parent.targetDelta)&&this.parent.layout?this.parent:this.parent.getClosestProjectingParent()},e.prototype.calcProjection=function(){var e,t=this.options,n=t.layout,r=t.layoutId;if(this.isTreeAnimating=Boolean((null===(e=this.parent)||void 0===e?void 0:e.isTreeAnimating)||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),this.layout&&(n||r)){var i=this.getLead();eg(this.layoutCorrected,this.layout.actual),function(e,t,n,r){var i,o;void 0===r&&(r=!1);var a=n.length;if(a){var s,l;t.x=t.y=1;for(var u=0;u<a;u++)l=(s=n[u]).projectionDelta,"contents"!==(null===(o=null===(i=s.instance)||void 0===i?void 0:i.style)||void 0===o?void 0:o.display)&&(r&&s.options.layoutScroll&&s.scroll&&s!==s.root&&dg(e,{x:-s.scroll.x,y:-s.scroll.y}),l&&(t.x*=l.x.scale,t.y*=l.y.scale,lg(e,l)),r&&rg(s.latestValues)&&dg(e,s.latestValues))}}(this.layoutCorrected,this.treeScale,this.path,Boolean(this.resumingFrom)||this!==i);var o=i.target;if(o){this.projectionDelta||(this.projectionDelta={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}},this.projectionDeltaWithTransform={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}});var a=this.treeScale.x,s=this.treeScale.y,l=this.projectionTransform;xg(this.projectionDelta,this.layoutCorrected,o,this.latestValues),this.projectionTransform=Lg(this.projectionDelta,this.treeScale),this.projectionTransform===l&&this.treeScale.x===a&&this.treeScale.y===s||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",o))}}},e.prototype.hide=function(){this.isVisible=!1},e.prototype.show=function(){this.isVisible=!0},e.prototype.scheduleRender=function(e){var t,n,r;void 0===e&&(e=!0),null===(n=(t=this.options).scheduleRender)||void 0===n||n.call(t),e&&(null===(r=this.getStack())||void 0===r||r.scheduleRender()),this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)},e.prototype.setAnimationOrigin=function(e,t){var n,r=this;void 0===t&&(t=!1);var i=this.snapshot,o=(null==i?void 0:i.latestValues)||{},a=sf({},this.latestValues),s={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};this.relativeTarget=this.relativeTargetOrigin=void 0,this.attemptToResolveRelativeTarget=!t;var l={x:{min:0,max:0},y:{min:0,max:0}},u=null==i?void 0:i.isShared,c=((null===(n=this.getStack())||void 0===n?void 0:n.members.length)||0)<=1,f=Boolean(u&&!c&&!0===this.options.crossfade&&!this.path.some(sm));this.animationProgress=0,this.mixTargetDelta=function(t){var n,i=t/1e3;om(s.x,e.x,i),om(s.y,e.y,i),r.setTargetDelta(s),r.relativeTarget&&r.relativeTargetOrigin&&r.layout&&(null===(n=r.relativeParent)||void 0===n?void 0:n.layout)&&(kg(l,r.layout.actual,r.relativeParent.layout.actual),function(e,t,n,r){am(e.x,t.x,n.x,r),am(e.y,t.y,n.y,r)}(r.relativeTarget,r.relativeTargetOrigin,l,i)),u&&(r.animationValues=a,function(e,t,n,r,i,o){var a,s,l,u;i?(e.opacity=dh(0,null!==(a=n.opacity)&&void 0!==a?a:1,Kp(r)),e.opacityExit=dh(null!==(s=t.opacity)&&void 0!==s?s:1,0,Zp(r))):o&&(e.opacity=dh(null!==(l=t.opacity)&&void 0!==l?l:1,null!==(u=n.opacity)&&void 0!==u?u:1,r));for(var c=0;c<Up;c++){var f="border".concat(Wp[c],"Radius"),h=Yp(t,f),d=Yp(n,f);void 0===h&&void 0===d||(h||(h=0),d||(d=0),0===h||0===d||Xp(h)===Xp(d)?(e[f]=Math.max(dh(qp(h),qp(d),r),0),(Xh.test(d)||Xh.test(h))&&(e[f]+="%")):e[f]=d)}(t.rotate||n.rotate)&&(e.rotate=dh(t.rotate||0,n.rotate||0,r))}(a,o,r.latestValues,i,f,c)),r.root.scheduleUpdateProjection(),r.scheduleRender(),r.animationProgress=i},this.mixTargetDelta(0)},e.prototype.startAnimation=function(e){var t,n,r=this;this.notifyListeners("animationStart"),null===(t=this.currentAnimation)||void 0===t||t.stop(),this.resumingFrom&&(null===(n=this.resumingFrom.currentAnimation)||void 0===n||n.stop()),this.pendingAnimation&&(_f.update(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=Mf.update((function(){qg.hasAnimatedSinceResize=!0,r.currentAnimation=function(e,t,n){void 0===n&&(n={});var r=wh(e)?e:yh(e);return Gp("",r,t,n),{stop:function(){return r.stop()},isAnimating:function(){return r.isAnimating()}}}(0,1e3,sf(sf({},e),{onUpdate:function(t){var n;r.mixTargetDelta(t),null===(n=e.onUpdate)||void 0===n||n.call(e,t)},onComplete:function(){var t;null===(t=e.onComplete)||void 0===t||t.call(e),r.completeAnimation()}})),r.resumingFrom&&(r.resumingFrom.currentAnimation=r.currentAnimation),r.pendingAnimation=void 0}))},e.prototype.completeAnimation=function(){var e;this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0),null===(e=this.getStack())||void 0===e||e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")},e.prototype.finishAnimation=function(){var e;this.currentAnimation&&(null===(e=this.mixTargetDelta)||void 0===e||e.call(this,1e3),this.currentAnimation.stop()),this.completeAnimation()},e.prototype.applyTransformsToTarget=function(){var e=this.getLead(),t=e.targetWithTransforms,n=e.target,r=e.layout,i=e.latestValues;t&&n&&r&&(eg(t,n),dg(t,i),xg(this.projectionDeltaWithTransform,this.layoutCorrected,t,i))},e.prototype.registerSharedNode=function(e,t){var n,r,i;this.sharedNodes.has(e)||this.sharedNodes.set(e,new Dg),this.sharedNodes.get(e).add(t),t.promote({transition:null===(n=t.options.initialPromotionConfig)||void 0===n?void 0:n.transition,preserveFollowOpacity:null===(i=null===(r=t.options.initialPromotionConfig)||void 0===r?void 0:r.shouldPreserveFollowOpacity)||void 0===i?void 0:i.call(r,t)})},e.prototype.isLead=function(){var e=this.getStack();return!e||e.lead===this},e.prototype.getLead=function(){var e;return this.options.layoutId&&(null===(e=this.getStack())||void 0===e?void 0:e.lead)||this},e.prototype.getPrevLead=function(){var e;return this.options.layoutId?null===(e=this.getStack())||void 0===e?void 0:e.prevLead:void 0},e.prototype.getStack=function(){var e=this.options.layoutId;if(e)return this.root.sharedNodes.get(e)},e.prototype.promote=function(e){var t=void 0===e?{}:e,n=t.needsReset,r=t.transition,i=t.preserveFollowOpacity,o=this.getStack();o&&o.promote(this,i),n&&(this.projectionDelta=void 0,this.needsReset=!0),r&&this.setOptions({transition:r})},e.prototype.relegate=function(){var e=this.getStack();return!!e&&e.relegate(this)},e.prototype.resetRotation=function(){var e=this.options.visualElement;if(e){for(var t=!1,n={},r=0;r<jg.length;r++){var i="rotate"+jg[r];e.getStaticValue(i)&&(t=!0,n[i]=e.getStaticValue(i),e.setStaticValue(i,0))}if(t){for(var i in null==e||e.syncRender(),n)e.setStaticValue(i,n[i]);e.scheduleRender()}}},e.prototype.getProjectionStyles=function(e){var t,n,r,i,o,a;void 0===e&&(e={});var s={};if(!this.instance||this.isSVG)return s;if(!this.isVisible)return{visibility:"hidden"};s.visibility="";var l=null===(t=this.options.visualElement)||void 0===t?void 0:t.getProps().transformTemplate;if(this.needsReset)return this.needsReset=!1,s.opacity="",s.pointerEvents=Ug(e.pointerEvents)||"",s.transform=l?l(this.latestValues,""):"none",s;var u=this.getLead();if(!this.projectionDelta||!this.layout||!u.target){var c={};return this.options.layoutId&&(c.opacity=null!==(n=this.latestValues.opacity)&&void 0!==n?n:1,c.pointerEvents=Ug(e.pointerEvents)||""),this.hasProjected&&!rg(this.latestValues)&&(c.transform=l?l({},""):"none",this.hasProjected=!1),c}var f=u.animationValues||u.latestValues;this.applyTransformsToTarget(),s.transform=Lg(this.projectionDeltaWithTransform,this.treeScale,f),l&&(s.transform=l(f,s.transform));var h=this.projectionDelta,d=h.x,p=h.y;for(var g in s.transformOrigin="".concat(100*d.origin,"% ").concat(100*p.origin,"% 0"),u.animationValues?s.opacity=u===this?null!==(i=null!==(r=f.opacity)&&void 0!==r?r:this.latestValues.opacity)&&void 0!==i?i:1:this.preserveOpacity?this.latestValues.opacity:f.opacityExit:s.opacity=u===this?null!==(o=f.opacity)&&void 0!==o?o:"":null!==(a=f.opacityExit)&&void 0!==a?a:0,Rg)if(void 0!==f[g]){var m=Rg[g],b=m.correct,v=m.applyTo,y=b(f[g],u);if(v)for(var w=v.length,x=0;x<w;x++)s[v[x]]=y;else s[g]=y}return this.options.layoutId&&(s.pointerEvents=u===this?Ug(e.pointerEvents)||"":"none"),s},e.prototype.clearSnapshot=function(){this.resumeFrom=this.snapshot=void 0},e.prototype.resetTree=function(){this.root.nodes.forEach((function(e){var t;return null===(t=e.currentAnimation)||void 0===t?void 0:t.stop()})),this.root.nodes.forEach(Qg),this.root.sharedNodes.clear()},e}()}function Yg(e){e.updateLayout()}function Kg(e){var t,n,r,i,o=null!==(n=null===(t=e.resumeFrom)||void 0===t?void 0:t.snapshot)&&void 0!==n?n:e.snapshot;if(e.isLead()&&e.layout&&o&&e.hasListeners("didUpdate")){var a=e.layout,s=a.actual,l=a.measured;"size"===e.options.animationType?Ng((function(e){var t=o.isShared?o.measured[e]:o.layout[e],n=vg(t);t.min=s[e].min,t.max=t.min+n})):"position"===e.options.animationType&&Ng((function(e){var t=o.isShared?o.measured[e]:o.layout[e],n=vg(s[e]);t.max=t.min+n}));var u={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};xg(u,s,o.layout);var c={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};o.isShared?xg(c,e.applyTransform(l,!0),o.measured):xg(c,s,o.layout);var f=!Pg(u),h=!1;if(!e.resumeFrom&&(e.relativeParent=e.getClosestProjectingParent(),e.relativeParent&&!e.relativeParent.resumeFrom)){var d=e.relativeParent,p=d.snapshot,g=d.layout;if(p&&g){var m={x:{min:0,max:0},y:{min:0,max:0}};kg(m,o.layout,p.layout);var b={x:{min:0,max:0},y:{min:0,max:0}};kg(b,s,g.actual),Og(m,b)||(h=!0)}}e.notifyListeners("didUpdate",{layout:s,snapshot:o,delta:c,layoutDelta:u,hasLayoutChanged:f,hasRelativeTargetChanged:h})}else e.isLead()&&(null===(i=(r=e.options).onExitComplete)||void 0===i||i.call(r));e.options.transition=void 0}function Zg(e){e.clearSnapshot()}function Qg(e){e.clearMeasurements()}function Jg(e){var t=e.options.visualElement;(null==t?void 0:t.getProps().onBeforeLayoutMeasure)&&t.notifyBeforeLayoutMeasure(),e.resetTransform()}function em(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0}function tm(e){e.resolveTargetDelta()}function nm(e){e.calcProjection()}function rm(e){e.resetRotation()}function im(e){e.removeLeadSnapshot()}function om(e,t,n){e.translate=dh(t.translate,0,n),e.scale=dh(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function am(e,t,n,r){e.min=dh(t.min,n.min,r),e.max=dh(t.max,n.max,r)}function sm(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}var lm={duration:.45,ease:[.4,0,.1,1]};function um(e,t){for(var n=e.root,r=e.path.length-1;r>=0;r--)if(Boolean(e.path[r].instance)){n=e.path[r];break}var i=(n&&n!==e.root?n.instance:document).querySelector('[data-projection-id="'.concat(t,'"]'));i&&e.mount(i,!0)}function cm(e){e.min=Math.round(e.min),e.max=Math.round(e.max)}function fm(e){cm(e.x),cm(e.y)}var hm=1;var dm=(0,i.createContext)({});var pm=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return af(t,e),t.prototype.getSnapshotBeforeUpdate=function(){return this.updateProps(),null},t.prototype.componentDidUpdate=function(){},t.prototype.updateProps=function(){var e=this.props,t=e.visualElement,n=e.props;t&&t.setProps(n)},t.prototype.render=function(){return this.props.children},t}(i.Component);function gm(e){var t=e.preloadedFeatures,n=e.createVisualElement,r=e.projectionNodeConstructor,o=e.useRender,a=e.useVisualState,s=e.Component;return t&&function(e){for(var t in e)null!==e[t]&&("projectionNodeConstructor"===t?Xf.projectionNodeConstructor=e[t]:Xf[t].Component=e[t])}(t),(0,i.forwardRef)((function(e,t){var l=function(e){var t,n=e.layoutId,r=null===(t=(0,i.useContext)(zf))||void 0===t?void 0:t.id;return r&&void 0!==n?r+"-"+n:n}(e);e=sf(sf({},e),{layoutId:l});var u=(0,i.useContext)(Qf),c=null,f=fh(e),h=u.isStatic?void 0:Df((function(){if(qg.hasEverUpdated)return hm++})),d=a(e,u.isStatic);return!u.isStatic&&Tf&&(f.visualElement=rh(s,d,sf(sf({},u),e),n),function(e,t,n,r){var o,a=t.layoutId,s=t.layout,l=t.drag,u=t.dragConstraints,c=t.layoutScroll,f=(0,i.useContext)(dm);r&&n&&!(null==n?void 0:n.projection)&&(n.projection=new r(e,n.getLatestValues(),null===(o=n.parent)||void 0===o?void 0:o.projection),n.projection.setOptions({layoutId:a,layout:s,alwaysMeasureLayout:Boolean(l)||u&&ih(u),visualElement:n,scheduleRender:function(){return n.scheduleRender()},animationType:"string"==typeof s?s:"both",initialPromotionConfig:f,layoutScroll:c}))}(h,e,f.visualElement,r||Xf.projectionNodeConstructor),c=function(e,t,n){var r=[];if((0,i.useContext)(Yf),!t)return null;for(var o=0;o<Zf;o++){var a=Kf[o],s=Xf[a],l=s.isEnabled,u=s.Component;l(e)&&u&&r.push(i.createElement(u,sf({key:a},e,{visualElement:t})))}return r}(e,f.visualElement)),i.createElement(pm,{visualElement:f.visualElement,props:sf(sf({},u),e)},c,i.createElement(Jf.Provider,{value:f},o(s,e,h,function(e,t,n){return(0,i.useCallback)((function(r){var i;r&&(null===(i=e.mount)||void 0===i||i.call(e,r)),t&&(r?t.mount(r):t.unmount()),n&&("function"==typeof n?n(r):ih(n)&&(n.current=r))}),[t])}(d,f.visualElement,t),d,u.isStatic,f.visualElement)))}))}function mm(e){function t(t,n){return void 0===n&&(n={}),gm(e(t,n))}if("undefined"==typeof Proxy)return t;var n=new Map;return new Proxy(t,{get:function(e,r){return n.has(r)||n.set(r,t(r)),n.get(r)}})}var bm=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","svg","switch","symbol","text","tspan","use","view"];function vm(e){return"string"==typeof e&&!e.includes("-")&&!!(bm.indexOf(e)>-1||/[A-Z]/.test(e))}function ym(e,t){var n=t.layout,r=t.layoutId;return Vg(e)||Hg(e)||(n||void 0!==r)&&(!!Rg[e]||"opacity"===e)}var wm={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"};function xm(e){return e.startsWith("--")}var _m=function(e,t){return t&&"number"==typeof e?t.transform(e):e};function Sm(e,t,n,r){var i,o=e.style,a=e.vars,s=e.transform,l=e.transformKeys,u=e.transformOrigin;l.length=0;var c=!1,f=!1,h=!0;for(var d in t){var p=t[d];if(xm(d))a[d]=p;else{var g=Dp[d],m=_m(p,g);if(Vg(d)){if(c=!0,s[d]=m,l.push(d),!h)continue;p!==(null!==(i=g.default)&&void 0!==i?i:0)&&(h=!1)}else Hg(d)?(u[d]=m,f=!0):o[d]=m}}c?o.transform=function(e,t,n,r){var i=e.transform,o=e.transformKeys,a=t.enableHardwareAcceleration,s=void 0===a||a,l=t.allowTransformNone,u=void 0===l||l,c="";o.sort(zg);for(var f=!1,h=o.length,d=0;d<h;d++){var p=o[d];c+="".concat(wm[p]||p,"(").concat(i[p],") "),"z"===p&&(f=!0)}return!f&&s?c+="translateZ(0)":c=c.trim(),r?c=r(i,n?"":c):u&&n&&(c="none"),c}(e,n,h,r):r?o.transform=r({},""):!t.transform&&o.transform&&(o.transform="none"),f&&(o.transformOrigin=function(e){var t=e.originX,n=void 0===t?"50%":t,r=e.originY,i=void 0===r?"50%":r,o=e.originZ,a=void 0===o?0:o;return"".concat(n," ").concat(i," ").concat(a)}(u))}var km=function(){return{style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}}};function Cm(e,t,n){for(var r in t)wh(t[r])||ym(r,n)||(e[r]=t[r])}function Em(e,t,n){var r={};return Cm(r,e.style||{},e),Object.assign(r,function(e,t,n){var r=e.transformTemplate;return(0,i.useMemo)((function(){var e={style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}};Sm(e,t,{enableHardwareAcceleration:!n},r);var i=e.style;return sf(sf({},e.vars),i)}),[t])}(e,t,n)),e.transformValues&&(r=e.transformValues(r)),r}function Im(e,t,n){var r={},i=Em(e,t,n);return Boolean(e.drag)&&!1!==e.dragListener&&(r.draggable=!1,i.userSelect=i.WebkitUserSelect=i.WebkitTouchCallout="none",i.touchAction=!0===e.drag?"none":"pan-".concat("x"===e.drag?"y":"x")),r.style=i,r}var Mm=new Set(["initial","animate","exit","style","variants","transition","transformTemplate","transformValues","custom","inherit","layout","layoutId","layoutDependency","onLayoutAnimationStart","onLayoutAnimationComplete","onLayoutMeasure","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","drag","dragControls","dragListener","dragConstraints","dragDirectionLock","dragSnapToOrigin","_dragX","_dragY","dragElastic","dragMomentum","dragPropagation","dragTransition","whileDrag","onPan","onPanStart","onPanEnd","onPanSessionStart","onTap","onTapStart","onTapCancel","onHoverStart","onHoverEnd","whileFocus","whileTap","whileHover","whileInView","onViewportEnter","onViewportLeave","viewport","layoutScroll"]);function Tm(e){return Mm.has(e)}var Am,Pm=function(e){return!Tm(e)};try{(Am=require("@emotion/is-prop-valid").default)&&(Pm=function(e){return e.startsWith("on")?!Tm(e):Am(e)})}catch(Il){}function Om(e,t,n){return"string"==typeof e?e:Yh.transform(t+n*e)}var Dm={offset:"stroke-dashoffset",array:"stroke-dasharray"},Rm={offset:"strokeDashoffset",array:"strokeDasharray"};function Lm(e,t,n,r){var i=t.attrX,o=t.attrY,a=t.originX,s=t.originY,l=t.pathLength,u=t.pathSpacing,c=void 0===u?1:u,f=t.pathOffset,h=void 0===f?0:f;Sm(e,lf(t,["attrX","attrY","originX","originY","pathLength","pathSpacing","pathOffset"]),n,r),e.attrs=e.style,e.style={};var d=e.attrs,p=e.style,g=e.dimensions;d.transform&&(g&&(p.transform=d.transform),delete d.transform),g&&(void 0!==a||void 0!==s||p.transform)&&(p.transformOrigin=function(e,t,n){var r=Om(t,e.x,e.width),i=Om(n,e.y,e.height);return"".concat(r," ").concat(i)}(g,void 0!==a?a:.5,void 0!==s?s:.5)),void 0!==i&&(d.x=i),void 0!==o&&(d.y=o),void 0!==l&&function(e,t,n,r,i){void 0===n&&(n=1),void 0===r&&(r=0),void 0===i&&(i=!0),e.pathLength=1;var o=i?Dm:Rm;e[o.offset]=Yh.transform(-r);var a=Yh.transform(t),s=Yh.transform(n);e[o.array]="".concat(a," ").concat(s)}(d,l,c,h,!1)}var Nm=function(){return sf(sf({},{style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}}),{attrs:{}})};function jm(e,t){var n=(0,i.useMemo)((function(){var n=Nm();return Lm(n,t,{enableHardwareAcceleration:!1},e.transformTemplate),sf(sf({},n.attrs),{style:sf({},n.style)})}),[t]);if(e.style){var r={};Cm(r,e.style,e),n.style=sf(sf({},r),n.style)}return n}function Fm(e){void 0===e&&(e=!1);return function(t,n,r,o,a,s){var l=a.latestValues,u=(vm(t)?jm:Im)(n,l,s),c=function(e,t,n){var r={};for(var i in e)(Pm(i)||!0===n&&Tm(i)||!t&&!Tm(i)||e.draggable&&i.startsWith("onDrag"))&&(r[i]=e[i]);return r}(n,"string"==typeof t,e),f=sf(sf(sf({},c),u),{ref:o});return r&&(f["data-projection-id"]=r),(0,i.createElement)(t,f)}}var zm=/([a-z])([A-Z])/g,Bm=function(e){return e.replace(zm,"$1-$2").toLowerCase()};function Vm(e,t,n,r){var i=t.style,o=t.vars;for(var a in Object.assign(e.style,i,r&&r.getProjectionStyles(n)),o)e.style.setProperty(a,o[a])}var $m=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength"]);function Hm(e,t,n,r){for(var i in Vm(e,t,void 0,r),t.attrs)e.setAttribute($m.has(i)?i:Bm(i),t.attrs[i])}function Gm(e){var t=e.style,n={};for(var r in t)(wh(t[r])||ym(r,e))&&(n[r]=t[r]);return n}function Wm(e){var t=Gm(e);for(var n in e){if(wh(e[n]))t["x"===n||"y"===n?"attr"+n.toUpperCase():n]=e[n]}return t}function Um(e){return"object"==typeof e&&"function"==typeof e.start}function qm(e,t,n,r){var i=e.scrapeMotionValuesFromProps,o=e.createRenderState,a=e.onMount,s={latestValues:Ym(t,n,r,i),renderState:o()};return a&&(s.mount=function(e){return a(t,e,s)}),s}var Xm=function(e){return function(t,n){var r=(0,i.useContext)(Jf),o=(0,i.useContext)(Of);return n?qm(e,t,r,o):Df((function(){return qm(e,t,r,o)}))}};function Ym(e,t,n,r){var i={},o=!1===(null==n?void 0:n.initial),a=r(e);for(var s in a)i[s]=Ug(a[s]);var l=e.initial,u=e.animate,c=uh(e),f=ch(e);t&&f&&!c&&!1!==e.inherit&&(null!=l||(l=t.initial),null!=u||(u=t.animate));var h=o||!1===l,d=h?u:l;d&&"boolean"!=typeof d&&!Um(d)&&(Array.isArray(d)?d:[d]).forEach((function(t){var n=sh(e,t);if(n){var r=n.transitionEnd;n.transition;var o=lf(n,["transitionEnd","transition"]);for(var a in o){var s=o[a];if(Array.isArray(s))s=s[h?s.length-1:0];null!==s&&(i[a]=s)}for(var a in r)i[a]=r[a]}}));return i}var Km,Zm={useVisualState:Xm({scrapeMotionValuesFromProps:Wm,createRenderState:Nm,onMount:function(e,t,n){var r=n.renderState,i=n.latestValues;try{r.dimensions="function"==typeof t.getBBox?t.getBBox():t.getBoundingClientRect()}catch(e){r.dimensions={x:0,y:0,width:0,height:0}}Lm(r,i,{enableHardwareAcceleration:!1},e.transformTemplate),Hm(t,r)}})},Qm={useVisualState:Xm({scrapeMotionValuesFromProps:Gm,createRenderState:km})};function Jm(e,t,n,r){return void 0===r&&(r={passive:!0}),e.addEventListener(t,n,r),function(){return e.removeEventListener(t,n)}}function eb(e,t,n,r){(0,i.useEffect)((function(){var i=e.current;if(n&&i)return Jm(i,t,n,r)}),[e,t,n,r])}function tb(e){return"undefined"!=typeof PointerEvent&&e instanceof PointerEvent?!("mouse"!==e.pointerType):e instanceof MouseEvent}function nb(e){return!!e.touches}!function(e){e.Animate="animate",e.Hover="whileHover",e.Tap="whileTap",e.Drag="whileDrag",e.Focus="whileFocus",e.InView="whileInView",e.Exit="exit"}(Km||(Km={}));var rb={pageX:0,pageY:0};function ib(e,t){void 0===t&&(t="page");var n=e.touches[0]||e.changedTouches[0]||rb;return{x:n[t+"X"],y:n[t+"Y"]}}function ob(e,t){return void 0===t&&(t="page"),{x:e[t+"X"],y:e[t+"Y"]}}function ab(e,t){return void 0===t&&(t="page"),{point:nb(e)?ib(e,t):ob(e,t)}}var sb=function(e,t){void 0===t&&(t=!1);var n,r=function(t){return e(t,ab(t))};return t?(n=r,function(e){var t=e instanceof MouseEvent;(!t||t&&0===e.button)&&n(e)}):r},lb={pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointercancel:"mousecancel",pointerover:"mouseover",pointerout:"mouseout",pointerenter:"mouseenter",pointerleave:"mouseleave"},ub={pointerdown:"touchstart",pointermove:"touchmove",pointerup:"touchend",pointercancel:"touchcancel"};function cb(e){return Tf&&null===window.onpointerdown?e:Tf&&null===window.ontouchstart?ub[e]:Tf&&null===window.onmousedown?lb[e]:e}function fb(e,t,n,r){return Jm(e,cb(t),sb(n,"pointerdown"===t),r)}function hb(e,t,n,r){return eb(e,cb(t),n&&sb(n,"pointerdown"===t),r)}function db(e){var t=null;return function(){return null===t&&(t=e,function(){t=null})}}var pb=db("dragHorizontal"),gb=db("dragVertical");function mb(e){var t=!1;if("y"===e)t=gb();else if("x"===e)t=pb();else{var n=pb(),r=gb();n&&r?t=function(){n(),r()}:(n&&n(),r&&r())}return t}function bb(){var e=mb(!0);return!e||(e(),!1)}function vb(e,t,n){return function(r,i){var o;tb(r)&&!bb()&&(null===(o=e.animationState)||void 0===o||o.setActive(Km.Hover,t),null==n||n(r,i))}}var yb=function(e,t){return!!t&&(e===t||yb(e,t.parentElement))};new Set;var wb=new WeakMap,xb=new WeakMap,_b=function(e){var t;null===(t=wb.get(e.target))||void 0===t||t(e)},Sb=function(e){e.forEach(_b)};function kb(e,t,n){var r=function(e){var t=e.root,n=lf(e,["root"]),r=t||document;xb.has(r)||xb.set(r,{});var i=xb.get(r),o=JSON.stringify(n);return i[o]||(i[o]=new IntersectionObserver(Sb,sf({root:t},n))),i[o]}(t);return wb.set(e,n),r.observe(e),function(){wb.delete(e),r.unobserve(e)}}var Cb={some:0,all:1};function Eb(e,t,n,r){var o=r.root,a=r.margin,s=r.amount,l=void 0===s?"some":s,u=r.once;(0,i.useEffect)((function(){if(e){var r={root:null==o?void 0:o.current,rootMargin:a,threshold:"number"==typeof l?l:Cb[l]};return kb(n.getInstance(),r,(function(e){var r,i=e.isIntersecting;if(t.isInView!==i&&(t.isInView=i,!u||i||!t.hasEnteredView)){i&&(t.hasEnteredView=!0),null===(r=n.animationState)||void 0===r||r.setActive(Km.InView,i);var o=n.getProps(),a=i?o.onViewportEnter:o.onViewportLeave;null==a||a(e)}}))}}),[e,o,a,l])}function Ib(e,t,n,r){var o=r.fallback,a=void 0===o||o;(0,i.useEffect)((function(){e&&a&&requestAnimationFrame((function(){var e;t.hasEnteredView=!0;var r=n.getProps().onViewportEnter;null==r||r(null),null===(e=n.animationState)||void 0===e||e.setActive(Km.InView,!0)}))}),[e])}var Mb=function(e){return function(t){return e(t),null}},Tb={inView:Mb((function(e){var t=e.visualElement,n=e.whileInView,r=e.onViewportEnter,o=e.onViewportLeave,a=e.viewport,s=void 0===a?{}:a,l=(0,i.useRef)({hasEnteredView:!1,isInView:!1}),u=Boolean(n||r||o);s.once&&l.current.hasEnteredView&&(u=!1),("undefined"==typeof IntersectionObserver?Ib:Eb)(u,l.current,t,s)})),tap:Mb((function(e){var t=e.onTap,n=e.onTapStart,r=e.onTapCancel,o=e.whileTap,a=e.visualElement,s=t||n||r||o,l=(0,i.useRef)(!1),u=(0,i.useRef)(null),c={passive:!(n||t||r||g)};function f(){var e;null===(e=u.current)||void 0===e||e.call(u),u.current=null}function h(){var e;return f(),l.current=!1,null===(e=a.animationState)||void 0===e||e.setActive(Km.Tap,!1),!bb()}function d(e,n){h()&&(yb(a.getInstance(),e.target)?null==t||t(e,n):null==r||r(e,n))}function p(e,t){h()&&(null==r||r(e,t))}function g(e,t){var r;f(),l.current||(l.current=!0,u.current=bd(fb(window,"pointerup",d,c),fb(window,"pointercancel",p,c)),null===(r=a.animationState)||void 0===r||r.setActive(Km.Tap,!0),null==n||n(e,t))}hb(a,"pointerdown",s?g:void 0,c),Bf(f)})),focus:Mb((function(e){var t=e.whileFocus,n=e.visualElement;eb(n,"focus",t?function(){var e;null===(e=n.animationState)||void 0===e||e.setActive(Km.Focus,!0)}:void 0),eb(n,"blur",t?function(){var e;null===(e=n.animationState)||void 0===e||e.setActive(Km.Focus,!1)}:void 0)})),hover:Mb((function(e){var t=e.onHoverStart,n=e.onHoverEnd,r=e.whileHover,i=e.visualElement;hb(i,"pointerenter",t||r?vb(i,!0,t):void 0,{passive:!t}),hb(i,"pointerleave",n||r?vb(i,!1,n):void 0,{passive:!n})}))};function Ab(e,t){if(!Array.isArray(t))return!1;var n=t.length;if(n!==e.length)return!1;for(var r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}var Pb=function(e){return/^0[^.\s]+$/.test(e)},Ob=function(e){return function(t){return t.test(e)}},Db=[jh,Yh,Xh,qh,Zh,Kh,{test:function(e){return"auto"===e},parse:function(e){return e}}],Rb=function(e){return Db.find(Ob(e))},Lb=ff(ff([],cf(Db),!1),[sd,pd],!1),Nb=function(e){return Lb.find(Ob(e))};function jb(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,yh(n))}function Fb(e,t){var n=lh(e,t),r=n?e.makeTargetAnimatable(n,!1):{},i=r.transitionEnd,o=void 0===i?{}:i;r.transition;var a=lf(r,["transitionEnd","transition"]);for(var s in a=sf(sf({},a),o)){jb(e,s,Fp(a[s]))}}function zb(e,t){if(t)return(t[e]||t.default||t).from}function Bb(e,t,n){var r;void 0===n&&(n={});var i=lh(e,t,n.custom),o=(i||{}).transition,a=void 0===o?e.getDefaultTransition()||{}:o;n.transitionOverride&&(a=n.transitionOverride);var s=i?function(){return Vb(e,i,n)}:function(){return Promise.resolve()},l=(null===(r=e.variantChildren)||void 0===r?void 0:r.size)?function(r){void 0===r&&(r=0);var i=a.delayChildren,o=void 0===i?0:i,s=a.staggerChildren,l=a.staggerDirection;return function(e,t,n,r,i,o){void 0===n&&(n=0);void 0===r&&(r=0);void 0===i&&(i=1);var a=[],s=(e.variantChildren.size-1)*r,l=1===i?function(e){return void 0===e&&(e=0),e*r}:function(e){return void 0===e&&(e=0),s-e*r};return Array.from(e.variantChildren).sort($b).forEach((function(e,r){a.push(Bb(e,t,sf(sf({},o),{delay:n+l(r)})).then((function(){return e.notifyAnimationComplete(t)})))})),Promise.all(a)}(e,t,o+r,s,l,n)}:function(){return Promise.resolve()},u=a.when;if(u){var c=cf("beforeChildren"===u?[s,l]:[l,s],2),f=c[0],h=c[1];return f().then(h)}return Promise.all([s(),l(n.delay)])}function Vb(e,t,n){var r,i=void 0===n?{}:n,o=i.delay,a=void 0===o?0:o,s=i.transitionOverride,l=i.type,u=e.makeTargetAnimatable(t),c=u.transition,f=void 0===c?e.getDefaultTransition():c,h=u.transitionEnd,d=lf(u,["transition","transitionEnd"]);s&&(f=s);var p=[],g=l&&(null===(r=e.animationState)||void 0===r?void 0:r.getState()[l]);for(var m in d){var b=e.getValue(m),v=d[m];if(!(!b||void 0===v||g&&Hb(g,m))){var y=sf({delay:a},f);e.shouldReduceMotion&&Vg(m)&&(y=sf(sf({},y),{type:!1,delay:0}));var w=Gp(m,b,v,y);p.push(w)}}return Promise.all(p).then((function(){h&&Fb(e,h)}))}function $b(e,t){return e.sortNodePosition(t)}function Hb(e,t){var n=e.protectedKeys,r=e.needsAnimating,i=n.hasOwnProperty(t)&&!0!==r[t];return r[t]=!1,i}var Gb=[Km.Animate,Km.InView,Km.Focus,Km.Hover,Km.Tap,Km.Drag,Km.Exit],Wb=ff([],cf(Gb),!1).reverse(),Ub=Gb.length;function qb(e){return function(t){return Promise.all(t.map((function(t){var n=t.animation,r=t.options;return function(e,t,n){var r;if(void 0===n&&(n={}),e.notifyAnimationStart(t),Array.isArray(t)){var i=t.map((function(t){return Bb(e,t,n)}));r=Promise.all(i)}else if("string"==typeof t)r=Bb(e,t,n);else{var o="function"==typeof t?lh(e,t,n.custom):t;r=Vb(e,o,n)}return r.then((function(){return e.notifyAnimationComplete(t)}))}(e,n,r)})))}}function Xb(e){var t=qb(e),n=function(){var e;return(e={})[Km.Animate]=Yb(!0),e[Km.InView]=Yb(),e[Km.Hover]=Yb(),e[Km.Tap]=Yb(),e[Km.Drag]=Yb(),e[Km.Focus]=Yb(),e[Km.Exit]=Yb(),e}(),r={},i=!0,o=function(t,n){var r=lh(e,n);if(r){r.transition;var i=r.transitionEnd,o=lf(r,["transition","transitionEnd"]);t=sf(sf(sf({},t),o),i)}return t};function a(a,s){for(var l,u=e.getProps(),c=e.getVariantContext(!0)||{},f=[],h=new Set,d={},p=1/0,g=function(t){var r=Wb[t],g=n[r],m=null!==(l=u[r])&&void 0!==l?l:c[r],b=ah(m),v=r===s?g.isActive:null;!1===v&&(p=t);var y=m===c[r]&&m!==u[r]&&b;if(y&&i&&e.manuallyAnimateOnMount&&(y=!1),g.protectedKeys=sf({},d),!g.isActive&&null===v||!m&&!g.prevProp||Um(m)||"boolean"==typeof m)return"continue";var w=function(e,t){if("string"==typeof t)return t!==e;if(oh(t))return!Ab(t,e);return!1}(g.prevProp,m),x=w||r===s&&g.isActive&&!y&&b||t>p&&b,_=Array.isArray(m)?m:[m],S=_.reduce(o,{});!1===v&&(S={});var k=g.prevResolvedValues,C=void 0===k?{}:k,E=sf(sf({},C),S),I=function(e){x=!0,h.delete(e),g.needsAnimating[e]=!0};for(var M in E){var T=S[M],A=C[M];d.hasOwnProperty(M)||(T!==A?_p(T)&&_p(A)?!Ab(T,A)||w?I(M):g.protectedKeys[M]=!0:void 0!==T?I(M):h.add(M):void 0!==T&&h.has(M)?I(M):g.protectedKeys[M]=!0)}g.prevProp=m,g.prevResolvedValues=S,g.isActive&&(d=sf(sf({},d),S)),i&&e.blockInitialAnimation&&(x=!1),x&&!y&&f.push.apply(f,ff([],cf(_.map((function(e){return{animation:e,options:sf({type:r},a)}}))),!1))},m=0;m<Ub;m++)g(m);if(r=sf({},d),h.size){var b={};h.forEach((function(t){var n=e.getBaseTarget(t);void 0!==n&&(b[t]=n)})),f.push({animation:b})}var v=Boolean(f.length);return i&&!1===u.initial&&!e.manuallyAnimateOnMount&&(v=!1),i=!1,v?t(f):Promise.resolve()}return{isAnimated:function(e){return void 0!==r[e]},animateChanges:a,setActive:function(t,r,i){var o;if(n[t].isActive===r)return Promise.resolve();null===(o=e.variantChildren)||void 0===o||o.forEach((function(e){var n;return null===(n=e.animationState)||void 0===n?void 0:n.setActive(t,r)})),n[t].isActive=r;var s=a(i,t);for(var l in n)n[l].protectedKeys={};return s},setAnimateFunction:function(n){t=n(e)},getState:function(){return n}}}function Yb(e){return void 0===e&&(e=!1),{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}var Kb={animation:Mb((function(e){var t=e.visualElement,n=e.animate;t.animationState||(t.animationState=Xb(t)),Um(n)&&(0,i.useEffect)((function(){return n.subscribe(t)}),[n])})),exit:Mb((function(e){var t=e.custom,n=e.visualElement,r=cf(Wf(),2),o=r[0],a=r[1],s=(0,i.useContext)(Of);(0,i.useEffect)((function(){var e,r;n.isPresent=o;var i=null===(e=n.animationState)||void 0===e?void 0:e.setActive(Km.Exit,!o,{custom:null!==(r=null==s?void 0:s.custom)&&void 0!==r?r:t});!o&&(null==i||i.then(a))}),[o])}))},Zb=function(){function e(e,t,n){var r=this,i=(void 0===n?{}:n).transformPagePoint;if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.updatePoint=function(){if(r.lastMoveEvent&&r.lastMoveEventInfo){var e=ev(r.lastMoveEventInfo,r.history),t=null!==r.startEvent,n=bg(e.offset,{x:0,y:0})>=3;if(t||n){var i=e.point,o=If().timestamp;r.history.push(sf(sf({},i),{timestamp:o}));var a=r.handlers,s=a.onStart,l=a.onMove;t||(s&&s(r.lastMoveEvent,e),r.startEvent=r.lastMoveEvent),l&&l(r.lastMoveEvent,e)}}},this.handlePointerMove=function(e,t){r.lastMoveEvent=e,r.lastMoveEventInfo=Qb(t,r.transformPagePoint),tb(e)&&0===e.buttons?r.handlePointerUp(e,t):Mf.update(r.updatePoint,!0)},this.handlePointerUp=function(e,t){r.end();var n=r.handlers,i=n.onEnd,o=n.onSessionEnd,a=ev(Qb(t,r.transformPagePoint),r.history);r.startEvent&&i&&i(e,a),o&&o(e,a)},!(nb(e)&&e.touches.length>1)){this.handlers=t,this.transformPagePoint=i;var o=Qb(ab(e),this.transformPagePoint),a=o.point,s=If().timestamp;this.history=[sf(sf({},a),{timestamp:s})];var l=t.onSessionStart;l&&l(e,ev(o,this.history)),this.removeListeners=bd(fb(window,"pointermove",this.handlePointerMove),fb(window,"pointerup",this.handlePointerUp),fb(window,"pointercancel",this.handlePointerUp))}}return e.prototype.updateHandlers=function(e){this.handlers=e},e.prototype.end=function(){this.removeListeners&&this.removeListeners(),_f.update(this.updatePoint)},e}();function Qb(e,t){return t?{point:t(e.point)}:e}function Jb(e,t){return{x:e.x-t.x,y:e.y-t.y}}function ev(e,t){var n=e.point;return{point:n,delta:Jb(n,nv(t)),offset:Jb(n,tv(t)),velocity:rv(t,.1)}}function tv(e){return e[0]}function nv(e){return e[e.length-1]}function rv(e,t){if(e.length<2)return{x:0,y:0};for(var n=e.length-1,r=null,i=nv(e);n>=0&&(r=e[n],!(i.timestamp-r.timestamp>fp(t)));)n--;if(!r)return{x:0,y:0};var o=(i.timestamp-r.timestamp)/1e3;if(0===o)return{x:0,y:0};var a={x:(i.x-r.x)/o,y:(i.y-r.y)/o};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}function iv(e,t,n){return{min:void 0!==t?e.min+t:void 0,max:void 0!==n?e.max+n-(e.max-e.min):void 0}}function ov(e,t){var n,r=t.min-e.min,i=t.max-e.max;return t.max-t.min<e.max-e.min&&(r=(n=cf([i,r],2))[0],i=n[1]),{min:r,max:i}}var av=.35;function sv(e,t,n){return{min:lv(e,t),max:lv(e,n)}}function lv(e,t){var n;return"number"==typeof e?e:null!==(n=e[t])&&void 0!==n?n:0}function uv(e){var t=e.top;return{x:{min:e.left,max:e.right},y:{min:t,max:e.bottom}}}function cv(e,t){return uv(function(e,t){if(!t)return e;var n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}(e.getBoundingClientRect(),t))}var fv=new WeakMap,hv=function(){function e(e){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic={x:{min:0,max:0},y:{min:0,max:0}},this.visualElement=e}return e.prototype.start=function(e,t){var n=this,r=(void 0===t?{}:t).snapToCursor,i=void 0!==r&&r;if(!1!==this.visualElement.isPresent){this.panSession=new Zb(e,{onSessionStart:function(e){n.stopAnimation(),i&&n.snapToCursor(ab(e,"page").point)},onStart:function(e,t){var r,i=n.getProps(),o=i.drag,a=i.dragPropagation,s=i.onDragStart;(!o||a||(n.openGlobalLock&&n.openGlobalLock(),n.openGlobalLock=mb(o),n.openGlobalLock))&&(n.isDragging=!0,n.currentDirection=null,n.resolveConstraints(),n.visualElement.projection&&(n.visualElement.projection.isAnimationBlocked=!0,n.visualElement.projection.target=void 0),Ng((function(e){var t,r,i=n.getAxisMotionValue(e).get()||0;if(Xh.test(i)){var o=null===(r=null===(t=n.visualElement.projection)||void 0===t?void 0:t.layout)||void 0===r?void 0:r.actual[e];if(o)i=vg(o)*(parseFloat(i)/100)}n.originPoint[e]=i})),null==s||s(e,t),null===(r=n.visualElement.animationState)||void 0===r||r.setActive(Km.Drag,!0))},onMove:function(e,t){var r=n.getProps(),i=r.dragPropagation,o=r.dragDirectionLock,a=r.onDirectionLock,s=r.onDrag;if(i||n.openGlobalLock){var l=t.offset;if(o&&null===n.currentDirection)return n.currentDirection=function(e,t){void 0===t&&(t=10);var n=null;Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x");return n}(l),void(null!==n.currentDirection&&(null==a||a(n.currentDirection)));n.updateAxis("x",t.point,l),n.updateAxis("y",t.point,l),n.visualElement.syncRender(),null==s||s(e,t)}},onSessionEnd:function(e,t){return n.stop(e,t)}},{transformPagePoint:this.visualElement.getTransformPagePoint()})}},e.prototype.stop=function(e,t){var n=this.isDragging;if(this.cancel(),n){var r=t.velocity;this.startAnimation(r);var i=this.getProps().onDragEnd;null==i||i(e,t)}},e.prototype.cancel=function(){var e,t;this.isDragging=!1,this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!1),null===(e=this.panSession)||void 0===e||e.end(),this.panSession=void 0,!this.getProps().dragPropagation&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),null===(t=this.visualElement.animationState)||void 0===t||t.setActive(Km.Drag,!1)},e.prototype.updateAxis=function(e,t,n){var r=this.getProps().drag;if(n&&dv(e,r,this.currentDirection)){var i=this.getAxisMotionValue(e),o=this.originPoint[e]+n[e];this.constraints&&this.constraints[e]&&(o=function(e,t,n){var r=t.min,i=t.max;return void 0!==r&&e<r?e=n?dh(r,e,n.min):Math.max(e,r):void 0!==i&&e>i&&(e=n?dh(i,e,n.max):Math.min(e,i)),e}(o,this.constraints[e],this.elastic[e])),i.set(o)}},e.prototype.resolveConstraints=function(){var e=this,t=this.getProps(),n=t.dragConstraints,r=t.dragElastic,i=(this.visualElement.projection||{}).layout,o=this.constraints;n&&ih(n)?this.constraints||(this.constraints=this.resolveRefConstraints()):this.constraints=!(!n||!i)&&function(e,t){var n=t.top,r=t.left,i=t.bottom,o=t.right;return{x:iv(e.x,r,o),y:iv(e.y,n,i)}}(i.actual,n),this.elastic=function(e){return void 0===e&&(e=av),!1===e?e=0:!0===e&&(e=av),{x:sv(e,"left","right"),y:sv(e,"top","bottom")}}(r),o!==this.constraints&&i&&this.constraints&&!this.hasMutatedConstraints&&Ng((function(t){e.getAxisMotionValue(t)&&(e.constraints[t]=function(e,t){var n={};return void 0!==t.min&&(n.min=t.min-e.min),void 0!==t.max&&(n.max=t.max-e.min),n}(i.actual[t],e.constraints[t]))}))},e.prototype.resolveRefConstraints=function(){var e=this.getProps(),t=e.dragConstraints,n=e.onMeasureDragConstraints;if(!t||!ih(t))return!1;var r=t.current,i=this.visualElement.projection;if(!i||!i.layout)return!1;var o=function(e,t,n){var r=cv(e,n),i=t.scroll;return i&&(ug(r.x,i.x),ug(r.y,i.y)),r}(r,i.root,this.visualElement.getTransformPagePoint()),a=function(e,t){return{x:ov(e.x,t.x),y:ov(e.y,t.y)}}(i.layout.actual,o);if(n){var s=n(function(e){var t=e.x,n=e.y;return{top:n.min,right:t.max,bottom:n.max,left:t.min}}(a));this.hasMutatedConstraints=!!s,s&&(a=uv(s))}return a},e.prototype.startAnimation=function(e){var t=this,n=this.getProps(),r=n.drag,i=n.dragMomentum,o=n.dragElastic,a=n.dragTransition,s=n.dragSnapToOrigin,l=n.onDragTransitionEnd,u=this.constraints||{},c=Ng((function(n){var l;if(dv(n,r,t.currentDirection)){var c=null!==(l=null==u?void 0:u[n])&&void 0!==l?l:{};s&&(c={min:0,max:0});var f=o?200:1e6,h=o?40:1e7,d=sf(sf({type:"inertia",velocity:i?e[n]:0,bounceStiffness:f,bounceDamping:h,timeConstant:750,restDelta:1,restSpeed:10},a),c);return t.startAxisValueAnimation(n,d)}}));return Promise.all(c).then(l)},e.prototype.startAxisValueAnimation=function(e,t){return Gp(e,this.getAxisMotionValue(e),0,t)},e.prototype.stopAnimation=function(){var e=this;Ng((function(t){return e.getAxisMotionValue(t).stop()}))},e.prototype.getAxisMotionValue=function(e){var t,n,r="_drag"+e.toUpperCase(),i=this.visualElement.getProps()[r];return i||this.visualElement.getValue(e,null!==(n=null===(t=this.visualElement.getProps().initial)||void 0===t?void 0:t[e])&&void 0!==n?n:0)},e.prototype.snapToCursor=function(e){var t=this;Ng((function(n){if(dv(n,t.getProps().drag,t.currentDirection)){var r=t.visualElement.projection,i=t.getAxisMotionValue(n);if(r&&r.layout){var o=r.layout.actual[n],a=o.min,s=o.max;i.set(e[n]-dh(a,s,.5))}}}))},e.prototype.scalePositionWithinConstraints=function(){var e,t=this,n=this.getProps(),r=n.drag,i=n.dragConstraints,o=this.visualElement.projection;if(ih(i)&&o&&this.constraints){this.stopAnimation();var a={x:0,y:0};Ng((function(e){var n,r,i,o,s,l=t.getAxisMotionValue(e);if(l){var u=l.get();a[e]=(n={min:u,max:u},r=t.constraints[e],i=.5,o=vg(n),(s=vg(r))>o?i=Ah(r.min,r.max-o,n.min):o>s&&(i=Ah(n.min,n.max-s,r.min)),xh(0,1,i))}}));var s=this.visualElement.getProps().transformTemplate;this.visualElement.getInstance().style.transform=s?s({},""):"none",null===(e=o.root)||void 0===e||e.updateScroll(),o.updateLayout(),this.resolveConstraints(),Ng((function(e){if(dv(e,r,null)){var n=t.getAxisMotionValue(e),i=t.constraints[e],o=i.min,s=i.max;n.set(dh(o,s,a[e]))}}))}},e.prototype.addListeners=function(){var e,t=this;fv.set(this.visualElement,this);var n=fb(this.visualElement.getInstance(),"pointerdown",(function(e){var n=t.getProps(),r=n.drag,i=n.dragListener;r&&(void 0===i||i)&&t.start(e)})),r=function(){ih(t.getProps().dragConstraints)&&(t.constraints=t.resolveRefConstraints())},i=this.visualElement.projection,o=i.addEventListener("measure",r);i&&!i.layout&&(null===(e=i.root)||void 0===e||e.updateScroll(),i.updateLayout()),r();var a=Jm(window,"resize",(function(){return t.scalePositionWithinConstraints()}));return i.addEventListener("didUpdate",(function(e){var n=e.delta,r=e.hasLayoutChanged;t.isDragging&&r&&(Ng((function(e){var r=t.getAxisMotionValue(e);r&&(t.originPoint[e]+=n[e].translate,r.set(r.get()+n[e].translate))})),t.visualElement.syncRender())})),function(){a(),n(),o()}},e.prototype.getProps=function(){var e=this.visualElement.getProps(),t=e.drag,n=void 0!==t&&t,r=e.dragDirectionLock,i=void 0!==r&&r,o=e.dragPropagation,a=void 0!==o&&o,s=e.dragConstraints,l=void 0!==s&&s,u=e.dragElastic,c=void 0===u?av:u,f=e.dragMomentum,h=void 0===f||f;return sf(sf({},e),{drag:n,dragDirectionLock:i,dragPropagation:a,dragConstraints:l,dragElastic:c,dragMomentum:h})},e}();function dv(e,t,n){return!(!0!==t&&t!==e||null!==n&&n!==e)}var pv={pan:Mb((function(e){var t=e.onPan,n=e.onPanStart,r=e.onPanEnd,o=e.onPanSessionStart,a=e.visualElement,s=t||n||r||o,l=(0,i.useRef)(null),u=(0,i.useContext)(Qf).transformPagePoint,c={onSessionStart:o,onStart:n,onMove:t,onEnd:function(e,t){l.current=null,r&&r(e,t)}};(0,i.useEffect)((function(){null!==l.current&&l.current.updateHandlers(c)})),hb(a,"pointerdown",s&&function(e){l.current=new Zb(e,c,{transformPagePoint:u})}),Bf((function(){return l.current&&l.current.end()}))})),drag:Mb((function(e){var t=e.dragControls,n=e.visualElement,r=Df((function(){return new hv(n)}));(0,i.useEffect)((function(){return t&&t.subscribe(r)}),[r,t]),(0,i.useEffect)((function(){return r.addListeners()}),[r])}))},gv=["LayoutMeasure","BeforeLayoutMeasure","LayoutUpdate","ViewportBoxUpdate","Update","Render","AnimationComplete","LayoutAnimationComplete","AnimationStart","LayoutAnimationStart","SetAxisTarget","Unmount"];var mv=function(e){var t=e.treeType,n=void 0===t?"":t,r=e.build,i=e.getBaseTarget,o=e.makeTargetAnimatable,a=e.measureViewportBox,s=e.render,l=e.readValueFromInstance,u=e.removeValueFromRenderState,c=e.sortNodePosition,f=e.scrapeMotionValuesFromProps;return function(e,t){var h=e.parent,d=e.props,p=e.presenceId,g=e.blockInitialAnimation,m=e.visualState,b=e.shouldReduceMotion;void 0===t&&(t={});var v,y,w=!1,x=m.latestValues,_=m.renderState,S=function(){var e=gv.map((function(){return new bh})),t={},n={clearAllListeners:function(){return e.forEach((function(e){return e.clear()}))},updatePropListeners:function(e){gv.forEach((function(r){var i,o="on"+r,a=e[o];null===(i=t[r])||void 0===i||i.call(t),a&&(t[r]=n[o](a))}))}};return e.forEach((function(e,t){n["on"+gv[t]]=function(t){return e.add(t)},n["notify"+gv[t]]=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return e.notify.apply(e,ff([],cf(t),!1))}})),n}(),k=new Map,C=new Map,E={},I=sf({},x);function M(){v&&w&&(T(),s(v,_,d.style,j.projection))}function T(){r(j,_,x,t,d)}function A(){S.notifyUpdate(x)}function P(e,t){var n=t.onChange((function(t){x[e]=t,d.onUpdate&&Mf.update(A,!1,!0)})),r=t.onRenderRequest(j.scheduleRender);C.set(e,(function(){n(),r()}))}var O=f(d);for(var D in O){var R=O[D];void 0!==x[D]&&wh(R)&&R.set(x[D],!1)}var L=uh(d),N=ch(d),j=sf(sf({treeType:n,current:null,depth:h?h.depth+1:0,parent:h,children:new Set,presenceId:p,shouldReduceMotion:b,variantChildren:N?new Set:void 0,isVisible:void 0,manuallyAnimateOnMount:Boolean(null==h?void 0:h.isMounted()),blockInitialAnimation:g,isMounted:function(){return Boolean(v)},mount:function(e){w=!0,v=j.current=e,j.projection&&j.projection.mount(e),N&&h&&!L&&(y=null==h?void 0:h.addVariantChild(j)),k.forEach((function(e,t){return P(t,e)})),null==h||h.children.add(j),j.setProps(d)},unmount:function(){var e;null===(e=j.projection)||void 0===e||e.unmount(),_f.update(A),_f.render(M),C.forEach((function(e){return e()})),null==y||y(),null==h||h.children.delete(j),S.clearAllListeners(),v=void 0,w=!1},addVariantChild:function(e){var t,n=j.getClosestVariantNode();if(n)return null===(t=n.variantChildren)||void 0===t||t.add(e),function(){return n.variantChildren.delete(e)}},sortNodePosition:function(e){return c&&n===e.treeType?c(j.getInstance(),e.getInstance()):0},getClosestVariantNode:function(){return N?j:null==h?void 0:h.getClosestVariantNode()},getLayoutId:function(){return d.layoutId},getInstance:function(){return v},getStaticValue:function(e){return x[e]},setStaticValue:function(e,t){return x[e]=t},getLatestValues:function(){return x},setVisibility:function(e){j.isVisible!==e&&(j.isVisible=e,j.scheduleRender())},makeTargetAnimatable:function(e,t){return void 0===t&&(t=!0),o(j,e,d,t)},measureViewportBox:function(){return a(v,d)},addValue:function(e,t){j.hasValue(e)&&j.removeValue(e),k.set(e,t),x[e]=t.get(),P(e,t)},removeValue:function(e){var t;k.delete(e),null===(t=C.get(e))||void 0===t||t(),C.delete(e),delete x[e],u(e,_)},hasValue:function(e){return k.has(e)},getValue:function(e,t){var n=k.get(e);return void 0===n&&void 0!==t&&(n=yh(t),j.addValue(e,n)),n},forEachValue:function(e){return k.forEach(e)},readValue:function(e){var n;return null!==(n=x[e])&&void 0!==n?n:l(v,e,t)},setBaseTarget:function(e,t){I[e]=t},getBaseTarget:function(e){if(i){var t=i(d,e);if(void 0!==t&&!wh(t))return t}return I[e]}},S),{build:function(){return T(),_},scheduleRender:function(){Mf.render(M,!1,!0)},syncRender:M,setProps:function(e){(e.transformTemplate||d.transformTemplate)&&j.scheduleRender(),d=e,S.updatePropListeners(e),E=function(e,t,n){var r;for(var i in t){var o=t[i],a=n[i];if(wh(o))e.addValue(i,o);else if(wh(a))e.addValue(i,yh(o));else if(a!==o)if(e.hasValue(i)){var s=e.getValue(i);!s.hasAnimated&&s.set(o)}else e.addValue(i,yh(null!==(r=e.getStaticValue(i))&&void 0!==r?r:o))}for(var i in n)void 0===t[i]&&e.removeValue(i);return t}(j,f(d),E)},getProps:function(){return d},getVariant:function(e){var t;return null===(t=d.variants)||void 0===t?void 0:t[e]},getDefaultTransition:function(){return d.transition},getTransformPagePoint:function(){return d.transformPagePoint},getVariantContext:function(e){if(void 0===e&&(e=!1),e)return null==h?void 0:h.getVariantContext();if(!L){var t=(null==h?void 0:h.getVariantContext())||{};return void 0!==d.initial&&(t.initial=d.initial),t}for(var n={},r=0;r<vv;r++){var i=bv[r],o=d[i];(ah(o)||!1===o)&&(n[i]=o)}return n}});return j}},bv=ff(["initial"],cf(Gb),!1),vv=bv.length;function yv(e){return"string"==typeof e&&e.startsWith("var(--")}var wv=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function xv(e,t,n){void 0===n&&(n=1),'Max CSS variable fallback depth detected in property "'.concat(e,'". This may indicate a circular fallback dependency.');var r=cf(function(e){var t=wv.exec(e);if(!t)return[,];var n=cf(t,3);return[n[1],n[2]]}(e),2),i=r[0],o=r[1];if(i){var a=window.getComputedStyle(t).getPropertyValue(i);return a?a.trim():yv(o)?xv(o,t,n+1):o}}var _v,Sv=new Set(["width","height","top","left","right","bottom","x","y"]),kv=function(e){return Sv.has(e)},Cv=function(e,t){e.set(t,!1),e.set(t)},Ev=function(e){return e===jh||e===Yh};!function(e){e.width="width",e.height="height",e.left="left",e.right="right",e.top="top",e.bottom="bottom"}(_v||(_v={}));var Iv=function(e,t){return parseFloat(e.split(", ")[t])},Mv=function(e,t){return function(n,r){var i=r.transform;if("none"===i||!i)return 0;var o=i.match(/^matrix3d\((.+)\)$/);if(o)return Iv(o[1],t);var a=i.match(/^matrix\((.+)\)$/);return a?Iv(a[1],e):0}},Tv=new Set(["x","y","z"]),Av=Fg.filter((function(e){return!Tv.has(e)}));var Pv={width:function(e,t){var n=e.x,r=t.paddingLeft,i=void 0===r?"0":r,o=t.paddingRight,a=void 0===o?"0":o;return n.max-n.min-parseFloat(i)-parseFloat(a)},height:function(e,t){var n=e.y,r=t.paddingTop,i=void 0===r?"0":r,o=t.paddingBottom,a=void 0===o?"0":o;return n.max-n.min-parseFloat(i)-parseFloat(a)},top:function(e,t){var n=t.top;return parseFloat(n)},left:function(e,t){var n=t.left;return parseFloat(n)},bottom:function(e,t){var n=e.y,r=t.top;return parseFloat(r)+(n.max-n.min)},right:function(e,t){var n=e.x,r=t.left;return parseFloat(r)+(n.max-n.min)},x:Mv(4,13),y:Mv(5,14)},Ov=function(e,t,n,r){void 0===n&&(n={}),void 0===r&&(r={}),t=sf({},t),r=sf({},r);var i=Object.keys(t).filter(kv),o=[],a=!1,s=[];if(i.forEach((function(i){var l=e.getValue(i);if(e.hasValue(i)){var u,c=n[i],f=Rb(c),h=t[i];if(_p(h)){var d=h.length,p=null===h[0]?1:0;c=h[p],f=Rb(c);for(var g=p;g<d;g++)u?Rb(h[g]):(u=Rb(h[g]))===f||Ev(f)&&Ev(u)}else u=Rb(h);if(f!==u)if(Ev(f)&&Ev(u)){var m=l.get();"string"==typeof m&&l.set(parseFloat(m)),"string"==typeof h?t[i]=parseFloat(h):Array.isArray(h)&&u===Yh&&(t[i]=h.map(parseFloat))}else(null==f?void 0:f.transform)&&(null==u?void 0:u.transform)&&(0===c||0===h)?0===c?l.set(u.transform(c)):t[i]=f.transform(h):(a||(o=function(e){var t=[];return Av.forEach((function(n){var r=e.getValue(n);void 0!==r&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))})),t.length&&e.syncRender(),t}(e),a=!0),s.push(i),r[i]=void 0!==r[i]?r[i]:t[i],Cv(l,h))}})),s.length){var l=s.indexOf("height")>=0?window.pageYOffset:null,u=function(e,t,n){var r=t.measureViewportBox(),i=t.getInstance(),o=getComputedStyle(i),a=o.display,s={};"none"===a&&t.setStaticValue("display",e.display||"block"),n.forEach((function(e){s[e]=Pv[e](r,o)})),t.syncRender();var l=t.measureViewportBox();return n.forEach((function(n){var r=t.getValue(n);Cv(r,s[n]),e[n]=Pv[n](l,o)})),e}(t,e,s);return o.length&&o.forEach((function(t){var n=cf(t,2),r=n[0],i=n[1];e.getValue(r).set(i)})),e.syncRender(),null!==l&&window.scrollTo({top:l}),{target:u,transitionEnd:r}}return{target:t,transitionEnd:r}};function Dv(e,t,n,r){return function(e){return Object.keys(e).some(kv)}(t)?Ov(e,t,n,r):{target:t,transitionEnd:r}}var Rv=function(e,t,n,r){var i=function(e,t,n){var r,i=lf(t,[]),o=e.getInstance();if(!(o instanceof Element))return{target:i,transitionEnd:n};for(var a in n&&(n=sf({},n)),e.forEachValue((function(e){var t=e.get();if(yv(t)){var n=xv(t,o);n&&e.set(n)}})),i){var s=i[a];if(yv(s)){var l=xv(s,o);l&&(i[a]=l,n&&(null!==(r=n[a])&&void 0!==r||(n[a]=s)))}}return{target:i,transitionEnd:n}}(e,t,r);return Dv(e,t=i.target,n,r=i.transitionEnd)};var Lv={treeType:"dom",readValueFromInstance:function(e,t){if(Vg(t)){var n=Lp(t);return n&&n.default||0}var r,i=(r=e,window.getComputedStyle(r));return(xm(t)?i.getPropertyValue(t):i[t])||0},sortNodePosition:function(e,t){return 2&e.compareDocumentPosition(t)?1:-1},getBaseTarget:function(e,t){var n;return null===(n=e.style)||void 0===n?void 0:n[t]},measureViewportBox:function(e,t){return cv(e,t.transformPagePoint)},resetTransform:function(e,t,n){var r=n.transformTemplate;t.style.transform=r?r({},""):"none",e.scheduleRender()},restoreTransform:function(e,t){e.style.transform=t.style.transform},removeValueFromRenderState:function(e,t){var n=t.vars,r=t.style;delete n[e],delete r[e]},makeTargetAnimatable:function(e,t,n,r){var i=n.transformValues;void 0===r&&(r=!0);var o=t.transition,a=t.transitionEnd,s=lf(t,["transition","transitionEnd"]),l=function(e,t,n){var r,i,o={};for(var a in e)o[a]=null!==(r=zb(a,t))&&void 0!==r?r:null===(i=n.getValue(a))||void 0===i?void 0:i.get();return o}(s,o||{},e);if(i&&(a&&(a=i(a)),s&&(s=i(s)),l&&(l=i(l))),r){!function(e,t,n){var r,i,o,a,s=Object.keys(t).filter((function(t){return!e.hasValue(t)})),l=s.length;if(l)for(var u=0;u<l;u++){var c=s[u],f=t[c],h=null;Array.isArray(f)&&(h=f[0]),null===h&&(h=null!==(i=null!==(r=n[c])&&void 0!==r?r:e.readValue(c))&&void 0!==i?i:t[c]),null!=h&&("string"==typeof h&&(/^\-?\d*\.?\d+$/.test(h)||Pb(h))?h=parseFloat(h):!Nb(h)&&pd.test(f)&&(h=Np(c,f)),e.addValue(c,yh(h)),null!==(o=(a=n)[c])&&void 0!==o||(a[c]=h),e.setBaseTarget(c,h))}}(e,s,l);var u=Rv(e,s,l,a);a=u.transitionEnd,s=u.target}return sf({transition:o,transitionEnd:a},s)},scrapeMotionValuesFromProps:Gm,build:function(e,t,n,r,i){void 0!==e.isVisible&&(t.style.visibility=e.isVisible?"visible":"hidden"),Sm(t,n,r,i.transformTemplate)},render:Vm},Nv=mv(Lv),jv=mv(sf(sf({},Lv),{getBaseTarget:function(e,t){return e[t]},readValueFromInstance:function(e,t){var n;return Vg(t)?(null===(n=Lp(t))||void 0===n?void 0:n.default)||0:(t=$m.has(t)?t:Bm(t),e.getAttribute(t))},scrapeMotionValuesFromProps:Wm,build:function(e,t,n,r,i){Lm(t,n,r,i.transformTemplate)},render:Hm})),Fv=function(e,t){return vm(e)?jv(t,{enableHardwareAcceleration:!1}):Nv(t,{enableHardwareAcceleration:!0})};function zv(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}var Bv={correct:function(e,t){if(!t.target)return e;if("string"==typeof e){if(!Yh.test(e))return e;e=parseFloat(e)}var n=zv(e,t.target.x),r=zv(e,t.target.y);return"".concat(n,"% ").concat(r,"%")}},Vv="_$css",$v={correct:function(e,t){var n=t.treeScale,r=t.projectionDelta,i=e,o=e.includes("var("),a=[];o&&(e=e.replace(wv,(function(e){return a.push(e),Vv})));var s=pd.parse(e);if(s.length>5)return i;var l=pd.createTransformer(e),u="number"!=typeof s[0]?1:0,c=r.x.scale*n.x,f=r.y.scale*n.y;s[0+u]/=c,s[1+u]/=f;var h=dh(c,f,.5);"number"==typeof s[2+u]&&(s[2+u]/=h),"number"==typeof s[3+u]&&(s[3+u]/=h);var d=l(s);if(o){var p=0;d=d.replace(Vv,(function(){var e=a[p];return p++,e}))}return d}},Hv=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return af(t,e),t.prototype.componentDidMount=function(){var e,t=this,n=this.props,r=n.visualElement,i=n.layoutGroup,o=n.switchLayoutGroup,a=n.layoutId,s=r.projection;e=Gv,Object.assign(Rg,e),s&&((null==i?void 0:i.group)&&i.group.add(s),(null==o?void 0:o.register)&&a&&o.register(s),s.root.didUpdate(),s.addEventListener("animationComplete",(function(){t.safeToRemove()})),s.setOptions(sf(sf({},s.options),{onExitComplete:function(){return t.safeToRemove()}}))),qg.hasEverUpdated=!0},t.prototype.getSnapshotBeforeUpdate=function(e){var t=this,n=this.props,r=n.layoutDependency,i=n.visualElement,o=n.drag,a=n.isPresent,s=i.projection;return s?(s.isPresent=a,o||e.layoutDependency!==r||void 0===r?s.willUpdate():this.safeToRemove(),e.isPresent!==a&&(a?s.promote():s.relegate()||Mf.postRender((function(){var e;(null===(e=s.getStack())||void 0===e?void 0:e.members.length)||t.safeToRemove()}))),null):null},t.prototype.componentDidUpdate=function(){var e=this.props.visualElement.projection;e&&(e.root.didUpdate(),!e.currentAnimation&&e.isLead()&&this.safeToRemove())},t.prototype.componentWillUnmount=function(){var e=this.props,t=e.visualElement,n=e.layoutGroup,r=e.switchLayoutGroup,i=t.projection;i&&(i.scheduleCheckAfterUnmount(),(null==n?void 0:n.group)&&n.group.remove(i),(null==r?void 0:r.deregister)&&r.deregister(i))},t.prototype.safeToRemove=function(){var e=this.props.safeToRemove;null==e||e()},t.prototype.render=function(){return null},t}(i.Component);var Gv={borderRadius:sf(sf({},Bv),{applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]}),borderTopLeftRadius:Bv,borderTopRightRadius:Bv,borderBottomLeftRadius:Bv,borderBottomRightRadius:Bv,boxShadow:$v},Wv={measureLayout:function(e){var t=cf(Wf(),2),n=t[0],r=t[1],o=(0,i.useContext)(zf);return i.createElement(Hv,sf({},e,{layoutGroup:o,switchLayoutGroup:(0,i.useContext)(dm),isPresent:n,safeToRemove:r}))}},Uv=Xg({attachResizeListener:function(e,t){return Jm(e,"resize",t)},measureScroll:function(){return{x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}}}),qv={current:void 0},Xv=Xg({measureScroll:function(e){return{x:e.scrollLeft,y:e.scrollTop}},defaultParent:function(){if(!qv.current){var e=new Uv(0,{});e.mount(window),e.setOptions({layoutScroll:!0}),qv.current=e}return qv.current},resetTransform:function(e,t){e.style.transform=null!=t?t:"none"}}),Yv=sf(sf(sf(sf({},Kb),Tb),pv),Wv),Kv=mm((function(e,t){return function(e,t,n,r,i){var o=t.forwardMotionProps,a=void 0!==o&&o,s=vm(e)?Zm:Qm;return sf(sf({},s),{preloadedFeatures:n,useRender:Fm(a),createVisualElement:r,projectionNodeConstructor:i,Component:e})}(e,t,Yv,Fv,Xv)}));function Zv(e,...t){return Qv(e)?e(...t):e}var Qv=e=>"function"==typeof e;function Jv(e,t){const n=e??"bottom",r={"top-start":{ltr:"top-left",rtl:"top-right"},"top-end":{ltr:"top-right",rtl:"top-left"},"bottom-start":{ltr:"bottom-left",rtl:"bottom-right"},"bottom-end":{ltr:"bottom-right",rtl:"bottom-left"}}[n];return(null==r?void 0:r[t])??n}var ey=(e,t)=>e.find((e=>e.id===t));function ty(e,t){const n=ny(e,t);return{position:n,index:n?e[n].findIndex((e=>e.id===t)):-1}}function ny(e,t){for(const[n,r]of Object.entries(e))if(ey(r,t))return n}function ry(e){return{position:"fixed",zIndex:5500,pointerEvents:"none",display:"flex",flexDirection:"column",margin:"top"===e||"bottom"===e?"0 auto":void 0,top:e.includes("top")?"env(safe-area-inset-top, 0px)":void 0,bottom:e.includes("bottom")?"env(safe-area-inset-bottom, 0px)":void 0,right:e.includes("left")?void 0:"env(safe-area-inset-right, 0px)",left:e.includes("right")?void 0:"env(safe-area-inset-left, 0px)"}}var iy=function(e){let t=e;const n=new Set,r=e=>{t=e(t),n.forEach((e=>e()))};return{getState:()=>t,subscribe:t=>(n.add(t),()=>{r((()=>e)),n.delete(t)}),removeToast:(e,t)=>{r((n=>({...n,[t]:n[t].filter((t=>t.id!=e))})))},notify:(e,t)=>{const n=function(e,t={}){oy+=1;const n=t.id??oy,r=t.position??"bottom";return{id:n,message:e,position:r,duration:t.duration,onCloseComplete:t.onCloseComplete,onRequestRemove:()=>iy.removeToast(String(n),r),status:t.status,requestClose:!1,containerStyle:t.containerStyle}}(e,t),{position:i,id:o}=n;return r((e=>{const t=i.includes("top")?[n,...e[i]??[]]:[...e[i]??[],n];return{...e,[i]:t}})),o},update:(e,t)=>{e&&r((n=>{const r={...n},{position:i,index:o}=ty(r,e);return i&&-1!==o&&(r[i][o]={...r[i][o],...t,message:sy(t)}),r}))},closeAll:({positions:e}={})=>{r((t=>(e??["bottom","bottom-right","bottom-left","top","top-left","top-right"]).reduce(((e,n)=>(e[n]=t[n].map((e=>({...e,requestClose:!0}))),e)),{...t})))},close:e=>{r((t=>{const n=ny(t,e);return n?{...t,[n]:t[n].map((t=>t.id==e?{...t,requestClose:!0}:t))}:t}))},isActive:e=>Boolean(ty(iy.getState(),e).position)}}({top:[],"top-left":[],"top-right":[],"bottom-left":[],bottom:[],"bottom-right":[]});var oy=0;var ay=e=>{const{status:t,variant:n="solid",id:r,title:o,isClosable:a,onClose:s,description:l,icon:u}=e,c=r?{root:`toast-${r}`,title:`toast-${r}-title`,description:`toast-${r}-description`}:void 0;return i.createElement(Qc,{addRole:!1,status:t,variant:n,id:null==c?void 0:c.root,alignItems:"start",borderRadius:"md",boxShadow:"lg",paddingEnd:8,textAlign:"start",width:"auto"},i.createElement(ef,null,u),i.createElement(zi.div,{flex:"1",maxWidth:"100%"},o&&i.createElement(tf,{id:null==c?void 0:c.title},o),l&&i.createElement(Jc,{id:null==c?void 0:c.description,display:"block"},l)),a&&i.createElement(rf,{size:"sm",onClick:s,position:"absolute",insetEnd:1,top:1}))};function sy(e={}){const{render:t,toastComponent:n=ay}=e;return r=>"function"==typeof t?t({...r,...e}):i.createElement(n,{...r,...e})}function ly(e,t){const n=n=>({...t,...n,position:Jv((null==n?void 0:n.position)??(null==t?void 0:t.position),e)}),r=e=>{const t=n(e),r=sy(t);return iy.notify(r,t)};return r.update=(e,t)=>{iy.update(e,n(t))},r.promise=(e,t)=>{const n=r({...t.loading,status:"loading",duration:null});e.then((e=>r.update(n,{status:"success",duration:5e3,...Zv(t.success,e)}))).catch((e=>r.update(n,{status:"error",duration:5e3,...Zv(t.error,e)})))},r.closeAll=iy.closeAll,r.close=iy.close,r.isActive=iy.isActive,r}var uy={initial:e=>{const{position:t}=e,n=["top","bottom"].includes(t)?"y":"x";let r=["top-right","bottom-right"].includes(t)?1:-1;return"bottom"===t&&(r=1),{opacity:0,[n]:24*r}},animate:{opacity:1,y:0,x:0,scale:1,transition:{duration:.4,ease:[.4,0,.2,1]}},exit:{opacity:0,scale:.85,transition:{duration:.2,ease:[.4,0,1,1]}}},cy=(0,i.memo)((e=>{const{id:t,message:n,onCloseComplete:r,onRequestRemove:o,requestClose:a=!1,position:s="bottom",duration:l=5e3,containerStyle:u,motionVariants:c=uy,toastSpacing:f="0.5rem"}=e,[h,d]=(0,i.useState)(l),p=Uf();Gf((()=>{p||null==r||r()}),[p]),Gf((()=>{d(l)}),[l]);const g=()=>{p&&o()};(0,i.useEffect)((()=>{p&&a&&o()}),[p,a,o]),function(e,t){const n=Hf(e);(0,i.useEffect)((()=>{if(null==t)return;let e=null;return e=window.setTimeout((()=>{n()}),t),()=>{e&&window.clearTimeout(e)}}),[t,n])}(g,h);const m=(0,i.useMemo)((()=>({pointerEvents:"auto",maxWidth:560,minWidth:300,margin:f,...u})),[u,f]),b=(0,i.useMemo)((()=>function(e){let t="center";return e.includes("right")&&(t="flex-end"),e.includes("left")&&(t="flex-start"),{display:"flex",flexDirection:"column",alignItems:t}}(s)),[s]);return i.createElement(Kv.li,{layout:!0,className:"chakra-toast",variants:c,initial:"initial",animate:"animate",exit:"exit",onHoverStart:()=>d(null),onHoverEnd:()=>d(l),custom:{position:s},style:b},i.createElement(zi.div,{role:"status","aria-atomic":"true",className:"chakra-toast__inner",__css:m},Zv(n,{id:t,onClose:g})))}));cy.displayName="ToastComponent";var fy=e=>{const t=(0,i.useSyncExternalStore)(iy.subscribe,iy.getState,iy.getState),{children:n,motionVariants:r,component:o=cy,portalProps:a}=e,s=Object.keys(t).map((e=>{const n=t[e];return i.createElement("ul",{role:"region","aria-live":"polite",key:e,id:`chakra-toast-manager-${e}`,style:ry(e)},i.createElement($f,{initial:!1},n.map((e=>i.createElement(o,{key:e.id,motionVariants:r,...e})))))}));return i.createElement(i.Fragment,null,n,i.createElement(zt,{...a},s))};var hy=e=>function({children:t,theme:n=e,toastOptions:r,...o}){return i.createElement(Ui,{theme:n,...o},t,i.createElement(fy,{...r}))},dy=hy(Fc),py=(hy(zc),a(5942));function gy(e){return"function"==typeof e}var my=e=>function(...t){let n=[...t],r=t[t.length-1];return Nc(r)&&n.length>1?n=n.slice(0,n.length-1):r=e,function(...e){return t=>e.reduce(((e,t)=>t(e)),t)}(...n.map((e=>t=>gy(e)?e(t):vy(t,e))))(r)},by=my(Fc);my(zc);function vy(...e){return en()({},...e,yy)}function yy(e,t,n,r){if((gy(e)||gy(t))&&Object.prototype.hasOwnProperty.call(r,n))return(...n)=>{const r=gy(e)?e(...n):e,i=gy(t)?t(...n):t;return en()({},r,i,yy)}}const wy=by({styles:{global:{"*, *::before, &::after":{borderColor:"gray.200"}}},components:{Tooltip:{baseStyle:{fontSize:"md"}}}}),xy=i.createContext(void 0),_y=e=>{let{children:t}=e;const n=(0,i.useRef)(null);return i.createElement(xy.Provider,{value:n},i.createElement("div",{ref:n},t))},Sy=()=>(0,i.useContext)(xy),ky="YYYY-MM-DD, HH:mm:ss",Cy="YYYY-MM-DDTHH:mm:ss.SSS",Ey="YYYY-MM-DD, HH:mm:ss z",Iy="timezone";const My=e=>moment(e).format(Ey);const Ty=(e,t)=>moment(t||void 0).diff(e||void 0),Ay=e=>{const t=moment.duration(e),n=t.asDays(),r=Math.floor(n);return`${r>0?`${r}d`:""}${moment.utc(t.as("milliseconds")).format("HH:mm:ss")}`},Py=i.createContext({timezone:"UTC"}),Oy=e=>{let{children:t}=e;const[n,r]=(0,i.useState)(moment.defaultZone&&moment.defaultZone.name||"UTC"),o=e=>{e.detail&&e.detail!==n&&r(e.detail)};(0,i.useEffect)((()=>(document.addEventListener(Iy,o),()=>{document.removeEventListener(Iy,o)})));const a=(0,i.useMemo)((()=>({timezone:n})),[n]);return i.createElement(Py.Provider,{value:a},t)},Dy=()=>(0,i.useContext)(Py);var Ry,Ly,Ny,jy,Fy=a(2520),zy=a.n(Fy),By=function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e};!function(e){e[e.EOS=0]="EOS",e[e.Text=1]="Text",e[e.Incomplete=2]="Incomplete",e[e.ESC=3]="ESC",e[e.Unknown=4]="Unknown",e[e.SGR=5]="SGR",e[e.OSCURL=6]="OSCURL"}(Ry||(Ry={}));class Vy{constructor(){this.VERSION="6.0.2",this.setup_palettes(),this._use_classes=!1,this.bold=!1,this.faint=!1,this.italic=!1,this.underline=!1,this.fg=this.bg=null,this._buffer="",this._url_allowlist={http:1,https:1},this._escape_html=!0,this.boldStyle="font-weight:bold",this.faintStyle="opacity:0.7",this.italicStyle="font-style:italic",this.underlineStyle="text-decoration:underline"}set use_classes(e){this._use_classes=e}get use_classes(){return this._use_classes}set url_allowlist(e){this._url_allowlist=e}get url_allowlist(){return this._url_allowlist}set escape_html(e){this._escape_html=e}get escape_html(){return this._escape_html}set boldStyle(e){this._boldStyle=e}get boldStyle(){return this._boldStyle}set faintStyle(e){this._faintStyle=e}get faintStyle(){return this._faintStyle}set italicStyle(e){this._italicStyle=e}get italicStyle(){return this._italicStyle}set underlineStyle(e){this._underlineStyle=e}get underlineStyle(){return this._underlineStyle}setup_palettes(){this.ansi_colors=[[{rgb:[0,0,0],class_name:"ansi-black"},{rgb:[187,0,0],class_name:"ansi-red"},{rgb:[0,187,0],class_name:"ansi-green"},{rgb:[187,187,0],class_name:"ansi-yellow"},{rgb:[0,0,187],class_name:"ansi-blue"},{rgb:[187,0,187],class_name:"ansi-magenta"},{rgb:[0,187,187],class_name:"ansi-cyan"},{rgb:[255,255,255],class_name:"ansi-white"}],[{rgb:[85,85,85],class_name:"ansi-bright-black"},{rgb:[255,85,85],class_name:"ansi-bright-red"},{rgb:[0,255,0],class_name:"ansi-bright-green"},{rgb:[255,255,85],class_name:"ansi-bright-yellow"},{rgb:[85,85,255],class_name:"ansi-bright-blue"},{rgb:[255,85,255],class_name:"ansi-bright-magenta"},{rgb:[85,255,255],class_name:"ansi-bright-cyan"},{rgb:[255,255,255],class_name:"ansi-bright-white"}]],this.palette_256=[],this.ansi_colors.forEach((e=>{e.forEach((e=>{this.palette_256.push(e)}))}));let e=[0,95,135,175,215,255];for(let t=0;t<6;++t)for(let n=0;n<6;++n)for(let r=0;r<6;++r){let i={rgb:[e[t],e[n],e[r]],class_name:"truecolor"};this.palette_256.push(i)}let t=8;for(let e=0;e<24;++e,t+=10){let e={rgb:[t,t,t],class_name:"truecolor"};this.palette_256.push(e)}}escape_txt_for_html(e){return this._escape_html?e.replace(/[&<>"']/gm,(e=>"&"===e?"&amp;":"<"===e?"&lt;":">"===e?"&gt;":'"'===e?"&quot;":"'"===e?"&#x27;":void 0)):e}append_buffer(e){var t=this._buffer+e;this._buffer=t}get_next_packet(){var e={kind:Ry.EOS,text:"",url:""},t=this._buffer.length;if(0==t)return e;var n=this._buffer.indexOf("");if(-1==n)return e.kind=Ry.Text,e.text=this._buffer,this._buffer="",e;if(n>0)return e.kind=Ry.Text,e.text=this._buffer.slice(0,n),this._buffer=this._buffer.slice(n),e;if(0==n){if(t<3)return e.kind=Ry.Incomplete,e;var r=this._buffer.charAt(1);if("["!=r&&"]"!=r&&"("!=r)return e.kind=Ry.ESC,e.text=this._buffer.slice(0,1),this._buffer=this._buffer.slice(1),e;if("["==r){this._csi_regex||(this._csi_regex=$y(Ly||(Ly=By(["\n ^ # beginning of line\n #\n # First attempt\n (?: # legal sequence\n [ # CSI\n ([<-?]?) # private-mode char\n ([d;]*) # any digits or semicolons\n ([ -/]? # an intermediate modifier\n [@-~]) # the command\n )\n | # alternate (second attempt)\n (?: # illegal sequence\n [ # CSI\n [ -~]* # anything legal\n ([\0-:]) # anything illegal\n )\n "],["\n ^ # beginning of line\n #\n # First attempt\n (?: # legal sequence\n \\x1b\\[ # CSI\n ([\\x3c-\\x3f]?) # private-mode char\n ([\\d;]*) # any digits or semicolons\n ([\\x20-\\x2f]? # an intermediate modifier\n [\\x40-\\x7e]) # the command\n )\n | # alternate (second attempt)\n (?: # illegal sequence\n \\x1b\\[ # CSI\n [\\x20-\\x7e]* # anything legal\n ([\\x00-\\x1f:]) # anything illegal\n )\n "]))));let t=this._buffer.match(this._csi_regex);if(null===t)return e.kind=Ry.Incomplete,e;if(t[4])return e.kind=Ry.ESC,e.text=this._buffer.slice(0,1),this._buffer=this._buffer.slice(1),e;""!=t[1]||"m"!=t[3]?e.kind=Ry.Unknown:e.kind=Ry.SGR,e.text=t[2];var i=t[0].length;return this._buffer=this._buffer.slice(i),e}if("]"==r){if(t<4)return e.kind=Ry.Incomplete,e;if("8"!=this._buffer.charAt(2)||";"!=this._buffer.charAt(3))return e.kind=Ry.ESC,e.text=this._buffer.slice(0,1),this._buffer=this._buffer.slice(1),e;this._osc_st||(this._osc_st=function(e,...t){let n=e.raw[0],r=/^\s+|\s+\n|\s*#[\s\S]*?\n|\n/gm,i=n.replace(r,"");return new RegExp(i,"g")}(Ny||(Ny=By(["\n (?: # legal sequence\n (\\) # ESC | # alternate\n () # BEL (what xterm did)\n )\n | # alternate (second attempt)\n ( # illegal sequence\n [\0-] # anything illegal\n | # alternate\n [\b-] # anything illegal\n | # alternate\n [-] # anything illegal\n )\n "],["\n (?: # legal sequence\n (\\x1b\\\\) # ESC \\\n | # alternate\n (\\x07) # BEL (what xterm did)\n )\n | # alternate (second attempt)\n ( # illegal sequence\n [\\x00-\\x06] # anything illegal\n | # alternate\n [\\x08-\\x1a] # anything illegal\n | # alternate\n [\\x1c-\\x1f] # anything illegal\n )\n "])))),this._osc_st.lastIndex=0;{let t=this._osc_st.exec(this._buffer);if(null===t)return e.kind=Ry.Incomplete,e;if(t[3])return e.kind=Ry.ESC,e.text=this._buffer.slice(0,1),this._buffer=this._buffer.slice(1),e}{let t=this._osc_st.exec(this._buffer);if(null===t)return e.kind=Ry.Incomplete,e;if(t[3])return e.kind=Ry.ESC,e.text=this._buffer.slice(0,1),this._buffer=this._buffer.slice(1),e}this._osc_regex||(this._osc_regex=$y(jy||(jy=By(["\n ^ # beginning of line\n #\n ]8; # OSC Hyperlink\n [ -:<-~]* # params (excluding ;)\n ; # end of params\n ([!-~]{0,512}) # URL capture\n (?: # ST\n (?:\\) # ESC | # alternate\n (?:) # BEL (what xterm did)\n )\n ([ -~]+) # TEXT capture\n ]8;; # OSC Hyperlink End\n (?: # ST\n (?:\\) # ESC | # alternate\n (?:) # BEL (what xterm did)\n )\n "],["\n ^ # beginning of line\n #\n \\x1b\\]8; # OSC Hyperlink\n [\\x20-\\x3a\\x3c-\\x7e]* # params (excluding ;)\n ; # end of params\n ([\\x21-\\x7e]{0,512}) # URL capture\n (?: # ST\n (?:\\x1b\\\\) # ESC \\\n | # alternate\n (?:\\x07) # BEL (what xterm did)\n )\n ([\\x20-\\x7e]+) # TEXT capture\n \\x1b\\]8;; # OSC Hyperlink End\n (?: # ST\n (?:\\x1b\\\\) # ESC \\\n | # alternate\n (?:\\x07) # BEL (what xterm did)\n )\n "]))));let n=this._buffer.match(this._osc_regex);if(null===n)return e.kind=Ry.ESC,e.text=this._buffer.slice(0,1),this._buffer=this._buffer.slice(1),e;e.kind=Ry.OSCURL,e.url=n[1],e.text=n[2];i=n[0].length;return this._buffer=this._buffer.slice(i),e}if("("==r)return e.kind=Ry.Unknown,this._buffer=this._buffer.slice(3),e}}ansi_to_html(e){this.append_buffer(e);for(var t=[];;){var n=this.get_next_packet();if(n.kind==Ry.EOS||n.kind==Ry.Incomplete)break;n.kind!=Ry.ESC&&n.kind!=Ry.Unknown&&(n.kind==Ry.Text?t.push(this.transform_to_html(this.with_state(n))):n.kind==Ry.SGR?this.process_ansi(n):n.kind==Ry.OSCURL&&t.push(this.process_hyperlink(n)))}return t.join("")}with_state(e){return{bold:this.bold,faint:this.faint,italic:this.italic,underline:this.underline,fg:this.fg,bg:this.bg,text:e.text}}process_ansi(e){let t=e.text.split(";");for(;t.length>0;){let e=t.shift(),n=parseInt(e,10);if(isNaN(n)||0===n)this.fg=null,this.bg=null,this.bold=!1,this.faint=!1,this.italic=!1,this.underline=!1;else if(1===n)this.bold=!0;else if(2===n)this.faint=!0;else if(3===n)this.italic=!0;else if(4===n)this.underline=!0;else if(21===n)this.bold=!1;else if(22===n)this.faint=!1,this.bold=!1;else if(23===n)this.italic=!1;else if(24===n)this.underline=!1;else if(39===n)this.fg=null;else if(49===n)this.bg=null;else if(n>=30&&n<38)this.fg=this.ansi_colors[0][n-30];else if(n>=40&&n<48)this.bg=this.ansi_colors[0][n-40];else if(n>=90&&n<98)this.fg=this.ansi_colors[1][n-90];else if(n>=100&&n<108)this.bg=this.ansi_colors[1][n-100];else if((38===n||48===n)&&t.length>0){let e=38===n,r=t.shift();if("5"===r&&t.length>0){let n=parseInt(t.shift(),10);n>=0&&n<=255&&(e?this.fg=this.palette_256[n]:this.bg=this.palette_256[n])}if("2"===r&&t.length>2){let n=parseInt(t.shift(),10),r=parseInt(t.shift(),10),i=parseInt(t.shift(),10);if(n>=0&&n<=255&&r>=0&&r<=255&&i>=0&&i<=255){let t={rgb:[n,r,i],class_name:"truecolor"};e?this.fg=t:this.bg=t}}}}}transform_to_html(e){let t=e.text;if(0===t.length)return t;if(t=this.escape_txt_for_html(t),!e.bold&&!e.italic&&!e.underline&&null===e.fg&&null===e.bg)return t;let n=[],r=[],i=e.fg,o=e.bg;e.bold&&n.push(this._boldStyle),e.faint&&n.push(this._faintStyle),e.italic&&n.push(this._italicStyle),e.underline&&n.push(this._underlineStyle),this._use_classes?(i&&("truecolor"!==i.class_name?r.push(`${i.class_name}-fg`):n.push(`color:rgb(${i.rgb.join(",")})`)),o&&("truecolor"!==o.class_name?r.push(`${o.class_name}-bg`):n.push(`background-color:rgb(${o.rgb.join(",")})`))):(i&&n.push(`color:rgb(${i.rgb.join(",")})`),o&&n.push(`background-color:rgb(${o.rgb})`));let a="",s="";return r.length&&(a=` class="${r.join(" ")}"`),n.length&&(s=` style="${n.join(";")}"`),`<span${s}${a}>${t}</span>`}process_hyperlink(e){let t=e.url.split(":");return t.length<1?"":this._url_allowlist[t[0]]?`<a href="${this.escape_txt_for_html(e.url)}">${this.escape_txt_for_html(e.text)}</a>`:""}}function $y(e,...t){let n=e.raw[0].replace(/^\s+|\s+\n|\s*#[\s\S]*?\n|\n/gm,"");return new RegExp(n)}let Hy=function(e){return e.DEBUG="DEBUG",e.INFO="INFO",e.WARNING="WARNING",e.ERROR="ERROR",e.CRITICAL="CRITICAL",e}({});const Gy={[Hy.DEBUG]:"gray.300",[Hy.INFO]:"green.200",[Hy.WARNING]:"yellow.200",[Hy.ERROR]:"red.200",[Hy.CRITICAL]:"red.400"},Wy=Qy("color_log_error_keywords").split(",").filter((e=>e.length>0)).map((e=>e.toLowerCase())),Uy=Qy("color_log_warning_keywords").split(",").filter((e=>e.length>0)).map((e=>e.toLowerCase())),qy=/ INFO - (::|##\[])group(::|\])([^\n])*/g,Xy=/ INFO - (::|##\[])endgroup(::|\])/g;var Yy=a(2543);const Ky=e=>{const[t,n]=(0,i.useState)(0);return(0,i.useEffect)((()=>{(0,Yy.debounce)((()=>{const t=(e.current?.getBoundingClientRect().top||0)-(e.current?.offsetParent?.getBoundingClientRect().top||0);t&&n(t)}),25)()}),[e]),t},Zy=200;function Qy(e){const t=document.querySelector(`meta[name="${e}"]`);return t&&t.getAttribute("content")||""}const Jy=()=>new Map([["success",0],["failed",0],["upstream_failed",0],["up_for_retry",0],["up_for_reschedule",0],["running",0],["deferred",0],["queued",0],["scheduled",0],["skipped",0],["no_status",0]]),ew=e=>{let{group:t,runId:n,mappedStates:r}=e,i=0;const o=Jy();return t.children&&!t.isMapped?t.children?.forEach((e=>{const t=e.instances.find((e=>e.runId===n));if(t){const e=null==t.state?"no_status":t.state;o.has(e)&&o.set(e,(o.get(e)||0)+1)}})):t.isMapped&&r&&Object.entries(r).forEach((e=>{let[t,n]=e;i+=n,o.set(t||"no_status",n)})),{totalTasks:i,childTaskMap:o}},tw=(e,t)=>{if(!e)return"";const n=e.includes("?")?"&":"?";return`${e}${n}${t}`},nw=e=>{let{taskId:t,task:n}=e;if(n.id===t)return n;if(n.children){let e;return n.children.forEach((n=>{const r=nw({taskId:t,task:n});r&&(e=r)})),e}return null},rw=e=>{let{task:t,taskCount:n=0,groupCount:r=0,operators:i={}}=e,o=n,a=r;const s=i;return t.children?(t.id&&(a+=1),t.children.forEach((e=>{const t=rw({task:e,taskCount:o,groupCount:a,operators:s});t&&(o=t.taskCount,a=t.groupCount)}))):(t.operator&&(s[t.operator]?i[t.operator]&&(s[t.operator]+=1):s[t.operator]=1),o+=1),{taskCount:o,groupCount:a,operators:s}},iw=e=>{let{dagRun:t,ordering:n=["executionDate"]}=e;return t[n[0]]},ow=(e,t)=>t?`linear-gradient(-135deg, ${zy()(e).hex()}60 5px, ${e} 0);`:e,aw=(e,t,n,r,i,o)=>{if(i.test(e)||o.test(e))return e;const a=e.toLowerCase();if(n.some((e=>a.includes(e)))||t===Hy.ERROR)return(e=>`${e}`)(e);return r.some((e=>a.includes(e)))||t===Hy.WARNING?(e=>`${e}`)(e):e},sw="disabledAutoRefresh",lw="True"===Qy("is_paused"),uw=JSON.parse(localStorage.getItem(sw)||"false"),cw=i.createContext({isRefreshOn:!1,isPaused:!0,refetchInterval:!1,toggleRefresh:()=>{},stopRefresh:()=>{},startRefresh:()=>{}}),fw=e=>{let{children:t}=e;const[n,r]=(0,i.useState)(lw),o=!(n||uw),a=o,[s,l]=(0,i.useState)(a),u=(0,i.useCallback)((()=>l(!s)),[s]),c=()=>l(!1),f=(0,i.useCallback)((()=>o&&l(!0)),[o,l]),h=s&&1e3*(autoRefreshInterval||1),d=(0,i.useCallback)((function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];e?(s?localStorage.setItem(sw,"true"):localStorage.removeItem(sw),u()):o&&u()}),[o,s,u]);(0,i.useEffect)((()=>{const e=e=>{"detail"in e&&(r(!e.detail),e.detail||c())};return document.addEventListener("paused",e),()=>{document.removeEventListener("paused",e)}}));const p=(0,i.useMemo)((()=>({isRefreshOn:s,refetchInterval:h,toggleRefresh:d,stopRefresh:c,startRefresh:f,isPaused:n})),[n,s,f,d,h]);return i.createElement(cw.Provider,{value:p},t)},hw=()=>(0,i.useContext)(cw),dw="isInputInFocus",pw=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;const r=(0,i.useRef)(t);(0,i.useLayoutEffect)((()=>{r.current=t}));const o=(0,i.useCallback)((t=>{!JSON.parse(localStorage.getItem(dw)||"true")&&t[e.primaryKey]&&e.secondaryKey.some((e=>t.key===e))&&r.current(t)}),[e]);(0,i.useEffect)((()=>{const e=(0,Yy.debounce)(o,25),t=n??document;return t?.addEventListener("keydown",e),()=>t&&t.removeEventListener("keydown",e)}),[o,n])},gw=new py.QueryClient({defaultOptions:{queries:{notifyOnChangeProps:"tracked",refetchOnWindowFocus:!1,retry:1,retryDelay:500,refetchOnMount:!0,staleTime:3e5,initialDataUpdatedAt:(new Date).setMinutes(-6)},mutations:{retry:1,retryDelay:500}}}),mw=e=>{let{children:t}=e;const n=Sy();return i.createElement(dy,{theme:wy,toastOptions:{portalProps:{containerRef:n}}},i.createElement(py.QueryClientProvider,{client:gw},i.createElement(Oy,null,i.createElement(fw,null,i.createElement(Le,null,t)))))};const bw=function(e){let{children:t,cache:n}=e;return(0,i.useEffect)((()=>{localStorage.setItem(dw,"false")}),[]),i.createElement(i.StrictMode,null,i.createElement(it,{value:n},i.createElement(_y,null,i.createElement(mw,null,t))))};var vw=a(7965),yw=a.n(vw),ww=Jr?i.useLayoutEffect:i.useEffect;function xw(e,t=[]){const n=(0,i.useRef)(e);return ww((()=>{n.current=e})),(0,i.useCallback)(((...e)=>{var t;return null==(t=n.current)?void 0:t.call(n,...e)}),t)}function _w(e,t={}){const[n,r]=(0,i.useState)(!1),[o,a]=(0,i.useState)(e),{timeout:s=1500,...l}="number"==typeof t?{timeout:t}:t,u=(0,i.useCallback)((()=>{const e=yw()(o,l);r(e)}),[o,l]);return(0,i.useEffect)((()=>{let e=null;return n&&(e=window.setTimeout((()=>{r(!1)}),s)),()=>{e&&window.clearTimeout(e)}}),[s,n]),{value:o,setValue:a,onCopy:u,hasCopied:n}}function Sw(e,t){const n=(0,i.useId)();return(0,i.useMemo)((()=>e||[t,n].filter(Boolean).join("-")),[e,t,n])}function kw(e={}){const{onClose:t,onOpen:n,isOpen:r,id:o}=e,a=xw(n),s=xw(t),[l,u]=(0,i.useState)(e.defaultIsOpen||!1),[c,f]=function(e,t){const n=void 0!==e;return[n,n&&void 0!==e?e:t]}(r,l),h=Sw(o,"disclosure"),d=(0,i.useCallback)((()=>{c||u(!1),null==s||s()}),[c,s]),p=(0,i.useCallback)((()=>{c||u(!0),null==a||a()}),[c,a]),g=(0,i.useCallback)((()=>{(f?d:p)()}),[f,p,d]);return{isOpen:!!f,onOpen:p,onClose:d,onToggle:g,isControlled:c,getButtonProps:(e={})=>({...e,"aria-expanded":f,"aria-controls":h,onClick:ti(e.onClick,g)}),getDisclosureProps:(e={})=>({...e,hidden:!f,id:h})}}function Cw(e){const t=typeof e;return null!=e&&("object"===t||"function"===t)&&!Array.isArray(e)}var Ew=Object.freeze(["base","sm","md","lg","xl","2xl"]);function Iw(e,t){return Array.isArray(e)?e.map((e=>null===e?null:t(e))):Cw(e)?Object.keys(e).reduce(((n,r)=>(n[r]=t(e[r]),n)),{}):null!=e?t(e):null}function Mw(e){const t=Object.assign({},e);for(let e in t)void 0===t[e]&&delete t[e];return t}function Tw(e){return i.Children.toArray(e).filter((e=>(0,i.isValidElement)(e)))}var Aw=Li((function(e,t){const{ratio:n=4/3,children:r,className:o,...a}=e,s=i.Children.only(r),l=Bc("chakra-aspect-ratio",o);return i.createElement(zi.div,{ref:t,position:"relative",className:l,_before:{height:0,content:'""',display:"block",paddingBottom:Iw(n,(e=>1/e*100+"%"))},__css:{"& > *:not(style)":{overflow:"hidden",position:"absolute",top:"0",right:"0",bottom:"0",left:"0",display:"flex",justifyContent:"center",alignItems:"center",width:"100%",height:"100%"},"& > img, & > video":{objectFit:"cover"}},...a},s)}));Aw.displayName="AspectRatio";var Pw=Li((function(e,t){const n=ji("Badge",e),{className:r,...o}=Ur(e);return i.createElement(zi.span,{ref:t,className:Bc("chakra-badge",e.className),...o,__css:{display:"inline-block",whiteSpace:"nowrap",verticalAlign:"middle",...n}})}));Pw.displayName="Badge";var Ow=zi("div");Ow.displayName="Box";var Dw=Li((function(e,t){const{size:n,centerContent:r=!0,...o}=e,a=r?{display:"flex",alignItems:"center",justifyContent:"center"}:{};return i.createElement(Ow,{ref:t,boxSize:n,__css:{...a,flexShrink:0,flexGrow:0},...o})}));Dw.displayName="Square";var Rw=Li((function(e,t){const{size:n,...r}=e;return i.createElement(Dw,{size:n,ref:t,borderRadius:"9999px",...r})}));Rw.displayName="Circle";var Lw=zi("div",{baseStyle:{display:"flex",alignItems:"center",justifyContent:"center"}});Lw.displayName="Center";var Nw={horizontal:{insetStart:"50%",transform:"translateX(-50%)"},vertical:{top:"50%",transform:"translateY(-50%)"},both:{insetStart:"50%",top:"50%",transform:"translate(-50%, -50%)"}},jw=(Li((function(e,t){const{axis:n="both",...r}=e;return i.createElement(zi.div,{ref:t,__css:Nw[n],...r,position:"absolute"})})),Li((function(e,t){const n=ji("Code",e),{className:r,...o}=Ur(e);return i.createElement(zi.code,{ref:t,className:Bc("chakra-code",e.className),...o,__css:{display:"inline-block",...n}})})));jw.displayName="Code";var Fw=Li((function(e,t){const{className:n,centerContent:r,...o}=Ur(e),a=ji("Container",e);return i.createElement(zi.div,{ref:t,className:Bc("chakra-container",n),...o,__css:{...a,...r&&{display:"flex",flexDirection:"column",alignItems:"center"}}})}));Fw.displayName="Container";var zw=Li((function(e,t){const{borderLeftWidth:n,borderBottomWidth:r,borderTopWidth:o,borderRightWidth:a,borderWidth:s,borderStyle:l,borderColor:u,...c}=ji("Divider",e),{className:f,orientation:h="horizontal",__css:d,...p}=Ur(e),g={vertical:{borderLeftWidth:n||a||s||"1px",height:"100%"},horizontal:{borderBottomWidth:r||o||s||"1px",width:"100%"}};return i.createElement(zi.hr,{ref:t,"aria-orientation":h,...p,__css:{...c,border:"0",borderColor:u,borderStyle:l,...g[h],...d},className:Bc("chakra-divider",f)})}));zw.displayName="Divider";var Bw=Li((function(e,t){const{direction:n,align:r,justify:o,wrap:a,basis:s,grow:l,shrink:u,...c}=e,f={display:"flex",flexDirection:n,alignItems:r,justifyContent:o,flexWrap:a,flexBasis:s,flexGrow:l,flexShrink:u};return i.createElement(zi.div,{ref:t,__css:f,...c})}));Bw.displayName="Flex";var Vw=Li((function(e,t){const{templateAreas:n,gap:r,rowGap:o,columnGap:a,column:s,row:l,autoFlow:u,autoRows:c,templateRows:f,autoColumns:h,templateColumns:d,...p}=e,g={display:"grid",gridTemplateAreas:n,gridGap:r,gridRowGap:o,gridColumnGap:a,gridAutoColumns:h,gridColumn:s,gridRow:l,gridAutoFlow:u,gridAutoRows:c,gridTemplateRows:f,gridTemplateColumns:d};return i.createElement(zi.div,{ref:t,__css:g,...p})}));function $w(e){return Iw(e,(e=>"auto"===e?"auto":`span ${e}/span ${e}`))}Vw.displayName="Grid";var Hw=Li((function(e,t){const{area:n,colSpan:r,colStart:o,colEnd:a,rowEnd:s,rowSpan:l,rowStart:u,...c}=e,f=Mw({gridArea:n,gridColumn:$w(r),gridRow:$w(l),gridColumnStart:o,gridColumnEnd:a,gridRowStart:u,gridRowEnd:s});return i.createElement(zi.div,{ref:t,__css:f,...c})}));Hw.displayName="GridItem";var Gw=Li((function(e,t){const n=ji("Heading",e),{className:r,...o}=Ur(e);return i.createElement(zi.h2,{ref:t,className:Bc("chakra-heading",e.className),...o,__css:n})}));Gw.displayName="Heading";Li((function(e,t){const n=ji("Mark",e),r=Ur(e);return i.createElement(Ow,{ref:t,...r,as:"mark",__css:{bg:"transparent",whiteSpace:"nowrap",...n}})}));var Ww=Li((function(e,t){const n=ji("Kbd",e),{className:r,...o}=Ur(e);return i.createElement(zi.kbd,{ref:t,className:Bc("chakra-kbd",r),...o,__css:{fontFamily:"mono",...n}})}));Ww.displayName="Kbd";var Uw=Li((function(e,t){const n=ji("Link",e),{className:r,isExternal:o,...a}=Ur(e);return i.createElement(zi.a,{target:o?"_blank":void 0,rel:o?"noopener":void 0,ref:t,className:Bc("chakra-link",r),...a,__css:n})}));Uw.displayName="Link";Li((function(e,t){const{isExternal:n,target:r,rel:o,className:a,...s}=e;return i.createElement(zi.a,{...s,ref:t,className:Bc("chakra-linkbox__overlay",a),rel:n?"noopener noreferrer":o,target:n?"_blank":r,__css:{position:"static","&::before":{content:"''",cursor:"inherit",display:"block",position:"absolute",top:0,left:0,zIndex:0,width:"100%",height:"100%"}}})})),Li((function(e,t){const{className:n,...r}=e;return i.createElement(zi.div,{ref:t,position:"relative",...r,className:Bc("chakra-linkbox",n),__css:{"a[href]:not(.chakra-linkbox__overlay), abbr[title]":{position:"relative",zIndex:1}}})}));var[qw,Xw]=It({name:"ListStylesContext",errorMessage:"useListStyles returned is 'undefined'. Seems you forgot to wrap the components in \"<List />\" "}),Yw=Li((function(e,t){const n=Fi("List",e),{children:r,styleType:o="none",stylePosition:a,spacing:s,...l}=Ur(e),u=Tw(r),c=s?{"& > *:not(style) ~ *:not(style)":{mt:s}}:{};return i.createElement(qw,{value:n},i.createElement(zi.ul,{ref:t,listStyleType:o,listStylePosition:a,role:"list",__css:{...n.container,...c},...l},u))}));Yw.displayName="List";var Kw=Li(((e,t)=>{const{as:n,...r}=e;return i.createElement(Yw,{ref:t,as:"ol",styleType:"decimal",marginStart:"1em",...r})}));Kw.displayName="OrderedList";var Zw=Li((function(e,t){const{as:n,...r}=e;return i.createElement(Yw,{ref:t,as:"ul",styleType:"initial",marginStart:"1em",...r})}));Zw.displayName="UnorderedList";var Qw=Li((function(e,t){const n=Xw();return i.createElement(zi.li,{ref:t,...e,__css:n.item})}));Qw.displayName="ListItem";var Jw=Li((function(e,t){const n=Xw();return i.createElement($c,{ref:t,role:"presentation",...e,__css:n.icon})}));Jw.displayName="ListIcon";var ex=Li((function(e,t){const{columns:n,spacingX:r,spacingY:o,spacing:a,minChildWidth:s,...l}=e,u=Si(),c=s?function(e,t){return Iw(e,(e=>{const n=Ci("sizes",e,"number"==typeof(r=e)?`${r}px`:r)(t);var r;return null===e?null:`repeat(auto-fit, minmax(${n}, 1fr))`}))}(s,u):function(e){return Iw(e,(e=>null===e?null:`repeat(${e}, minmax(0, 1fr))`))}(n);return i.createElement(Vw,{ref:t,gap:a,columnGap:r,rowGap:o,templateColumns:c,...l})}));ex.displayName="SimpleGrid";var tx=zi("div",{baseStyle:{flex:1,justifySelf:"stretch",alignSelf:"stretch"}});tx.displayName="Spacer";var nx="& > *:not(style) ~ *:not(style)";var rx=e=>i.createElement(zi.div,{className:"chakra-stack__item",...e,__css:{display:"inline-block",flex:"0 0 auto",minWidth:0,...e.__css}});rx.displayName="StackItem";var ix=Li(((e,t)=>{const{isInline:n,direction:r,align:o,justify:a,spacing:s="0.5rem",wrap:l,children:u,divider:c,className:f,shouldWrapChildren:h,...d}=e,p=n?"row":r??"column",g=(0,i.useMemo)((()=>function(e){const{spacing:t,direction:n}=e,r={column:{marginTop:t,marginEnd:0,marginBottom:0,marginStart:0},row:{marginTop:0,marginEnd:0,marginBottom:0,marginStart:t},"column-reverse":{marginTop:0,marginEnd:0,marginBottom:t,marginStart:0},"row-reverse":{marginTop:0,marginEnd:t,marginBottom:0,marginStart:0}};return{flexDirection:n,[nx]:Iw(n,(e=>r[e]))}}({direction:p,spacing:s})),[p,s]),m=(0,i.useMemo)((()=>function(e){const{spacing:t,direction:n}=e,r={column:{my:t,mx:0,borderLeftWidth:0,borderBottomWidth:"1px"},"column-reverse":{my:t,mx:0,borderLeftWidth:0,borderBottomWidth:"1px"},row:{mx:t,my:0,borderLeftWidth:"1px",borderBottomWidth:0},"row-reverse":{mx:t,my:0,borderLeftWidth:"1px",borderBottomWidth:0}};return{"&":Iw(n,(e=>r[e]))}}({spacing:s,direction:p})),[s,p]),b=!!c,v=!h&&!b,y=(0,i.useMemo)((()=>{const e=Tw(u);return v?e:e.map(((t,n)=>{const r=void 0!==t.key?t.key:n,o=n+1===e.length,a=h?i.createElement(rx,{key:r},t):t;if(!b)return a;const s=(0,i.cloneElement)(c,{__css:m}),l=o?null:s;return i.createElement(i.Fragment,{key:r},a,l)}))}),[c,m,b,v,h,u]),w=Bc("chakra-stack",f);return i.createElement(zi.div,{ref:t,display:"flex",alignItems:o,justifyContent:a,flexDirection:g.flexDirection,flexWrap:l,className:w,__css:b?{}:{[nx]:g[nx]},...d},y)}));ix.displayName="Stack";var ox=Li(((e,t)=>i.createElement(ix,{align:"center",...e,direction:"row",ref:t})));ox.displayName="HStack";var ax=Li(((e,t)=>i.createElement(ix,{align:"center",...e,direction:"column",ref:t})));ax.displayName="VStack";var sx=Li((function(e,t){const n=ji("Text",e),{className:r,align:o,decoration:a,casing:s,...l}=Ur(e),u=Mw({textAlign:e.align,textDecoration:e.decoration,textTransform:e.casing});return i.createElement(zi.p,{ref:t,className:Bc("chakra-text",e.className),...u,...l,__css:n})}));function lx(e){return"number"==typeof e?`${e}px`:e}sx.displayName="Text";var ux=Li((function(e,t){const{spacing:n="0.5rem",spacingX:r,spacingY:o,children:a,justify:s,direction:l,align:u,className:c,shouldWrapChildren:f,...h}=e,d=(0,i.useMemo)((()=>{const{spacingX:e=n,spacingY:t=n}={spacingX:r,spacingY:o};return{"--chakra-wrap-x-spacing":t=>Iw(e,(e=>lx(an("space",e)(t)))),"--chakra-wrap-y-spacing":e=>Iw(t,(t=>lx(an("space",t)(e)))),"--wrap-x-spacing":"calc(var(--chakra-wrap-x-spacing) / 2)","--wrap-y-spacing":"calc(var(--chakra-wrap-y-spacing) / 2)",display:"flex",flexWrap:"wrap",justifyContent:s,alignItems:u,flexDirection:l,listStyleType:"none",padding:"0",margin:"calc(var(--wrap-y-spacing) * -1) calc(var(--wrap-x-spacing) * -1)","& > *:not(style)":{margin:"var(--wrap-y-spacing) var(--wrap-x-spacing)"}}}),[n,r,o,s,u,l]),p=(0,i.useMemo)((()=>f?i.Children.map(a,((e,t)=>i.createElement(cx,{key:t},e))):a),[a,f]);return i.createElement(zi.div,{ref:t,className:Bc("chakra-wrap",c),overflow:"hidden",...h},i.createElement(zi.ul,{className:"chakra-wrap__list",__css:d},p))}));ux.displayName="Wrap";var cx=Li((function(e,t){const{className:n,...r}=e;return i.createElement(zi.li,{ref:t,__css:{display:"flex",alignItems:"flex-start"},className:Bc("chakra-wrap__listitem",n),...r})}));function fx(...e){return t=>{e.forEach((e=>{!function(e,t){if(null!=e)if("function"!=typeof e)try{e.current=t}catch(n){throw new Error(`Cannot assign value '${t}' to ref '${e}'`)}else e(t)}(e,t)}))}}function hx(...e){return(0,i.useMemo)((()=>fx(...e)),e)}function dx(e){return e.sort(((e,t)=>{const n=e.compareDocumentPosition(t);if(n&Node.DOCUMENT_POSITION_FOLLOWING||n&Node.DOCUMENT_POSITION_CONTAINED_BY)return-1;if(n&Node.DOCUMENT_POSITION_PRECEDING||n&Node.DOCUMENT_POSITION_CONTAINS)return 1;if(n&Node.DOCUMENT_POSITION_DISCONNECTED||n&Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC)throw Error("Cannot sort the given nodes.");return 0}))}cx.displayName="WrapItem";function px(e,t,n){let r=e+1;return n&&r>=t&&(r=0),r}function gx(e,t,n){let r=e-1;return n&&r<0&&(r=t),r}var mx="undefined"!=typeof window?i.useLayoutEffect:i.useEffect;function bx(){const e=(0,i.useRef)(new class{descendants=new Map;register=e=>{var t;if(null!=e)return"object"==typeof(t=e)&&"nodeType"in t&&t.nodeType===Node.ELEMENT_NODE?this.registerNode(e):t=>{this.registerNode(t,e)}};unregister=e=>{this.descendants.delete(e);const t=dx(Array.from(this.descendants.keys()));this.assignIndex(t)};destroy=()=>{this.descendants.clear()};assignIndex=e=>{this.descendants.forEach((t=>{const n=e.indexOf(t.node);t.index=n,t.node.dataset.index=t.index.toString()}))};count=()=>this.descendants.size;enabledCount=()=>this.enabledValues().length;values=()=>Array.from(this.descendants.values()).sort(((e,t)=>e.index-t.index));enabledValues=()=>this.values().filter((e=>!e.disabled));item=e=>{if(0!==this.count())return this.values()[e]};enabledItem=e=>{if(0!==this.enabledCount())return this.enabledValues()[e]};first=()=>this.item(0);firstEnabled=()=>this.enabledItem(0);last=()=>this.item(this.descendants.size-1);lastEnabled=()=>{const e=this.enabledValues().length-1;return this.enabledItem(e)};indexOf=e=>{var t;return e?(null==(t=this.descendants.get(e))?void 0:t.index)??-1:-1};enabledIndexOf=e=>null==e?-1:this.enabledValues().findIndex((t=>t.node.isSameNode(e)));next=(e,t=!0)=>{const n=px(e,this.count(),t);return this.item(n)};nextEnabled=(e,t=!0)=>{const n=this.item(e);if(!n)return;const r=px(this.enabledIndexOf(n.node),this.enabledCount(),t);return this.enabledItem(r)};prev=(e,t=!0)=>{const n=gx(e,this.count()-1,t);return this.item(n)};prevEnabled=(e,t=!0)=>{const n=this.item(e);if(!n)return;const r=gx(this.enabledIndexOf(n.node),this.enabledCount()-1,t);return this.enabledItem(r)};registerNode=(e,t)=>{if(!e||this.descendants.has(e))return;const n=dx(Array.from(this.descendants.keys()).concat(e));(null==t?void 0:t.disabled)&&(t.disabled=!!t.disabled);const r={node:e,index:-1,...t};this.descendants.set(e,r),this.assignIndex(n)}});return mx((()=>()=>e.current.destroy())),e.current}var[vx,yx]=It({name:"DescendantsProvider",errorMessage:"useDescendantsContext must be used within DescendantsProvider"});function xx(){return[vx,()=>yx(),()=>bx(),e=>function(e){const t=yx(),[n,r]=(0,i.useState)(-1),o=(0,i.useRef)(null);mx((()=>()=>{o.current&&t.unregister(o.current)}),[]),mx((()=>{if(!o.current)return;const e=Number(o.current.dataset.index);n==e||Number.isNaN(e)||r(e)}));const a=e?t.register(e):t.register;return{descendants:t,index:n,enabledIndex:t.enabledIndexOf(o.current),register:fx(a,o)}}(e)]}function _x(e){const{value:t,defaultValue:n,onChange:r,shouldUpdate:o=((e,t)=>e!==t)}=e,a=Hf(r),s=Hf(o),[l,u]=(0,i.useState)(n),c=void 0!==t,f=c?t:l,h=Hf((e=>{const t="function"==typeof e?e(f):e;s(f,t)&&(c||u(t),a(t))}),[c,a,f,s]);return[f,h]}var Sx=(...e)=>e.filter(Boolean).join(" ");var kx={ease:[.25,.1,.25,1],easeIn:[.4,0,1,1],easeOut:[0,0,.2,1],easeInOut:[.4,0,.2,1]},Cx={position:{left:0,top:0,bottom:0,width:"100%"},enter:{x:0,y:0},exit:{x:"-100%",y:0}},Ex={position:{right:0,top:0,bottom:0,width:"100%"},enter:{x:0,y:0},exit:{x:"100%",y:0}},Ix={position:{top:0,left:0,right:0,maxWidth:"100vw"},enter:{x:0,y:0},exit:{x:0,y:"-100%"}},Mx={position:{bottom:0,left:0,right:0,maxWidth:"100vw"},enter:{x:0,y:0},exit:{x:0,y:"100%"}};function Tx(e){switch((null==e?void 0:e.direction)??"right"){case"right":default:return Ex;case"left":return Cx;case"bottom":return Mx;case"top":return Ix}}var Ax={enter:{duration:.2,ease:kx.easeOut},exit:{duration:.1,ease:kx.easeIn}},Px=(e,t)=>({...e,delay:"number"==typeof t?t:null==t?void 0:t.enter}),Ox=(e,t)=>({...e,delay:"number"==typeof t?t:null==t?void 0:t.exit}),Dx={exit:{height:{duration:.2,ease:kx.ease},opacity:{duration:.3,ease:kx.ease}},enter:{height:{duration:.3,ease:kx.ease},opacity:{duration:.4,ease:kx.ease}}},Rx={exit:({animateOpacity:e,startingHeight:t,transition:n,transitionEnd:r,delay:i})=>{return{...e&&{opacity:(o=t,null!=o&&parseInt(o.toString(),10)>0?1:0)},height:t,transitionEnd:null==r?void 0:r.exit,transition:(null==n?void 0:n.exit)??Ox(Dx.exit,i)};var o},enter:({animateOpacity:e,endingHeight:t,transition:n,transitionEnd:r,delay:i})=>({...e&&{opacity:1},height:t,transitionEnd:null==r?void 0:r.enter,transition:(null==n?void 0:n.enter)??Px(Dx.enter,i)})},Lx=(0,i.forwardRef)(((e,t)=>{const{in:n,unmountOnExit:r,animateOpacity:o=!0,startingHeight:a=0,endingHeight:s="auto",style:l,className:u,transition:c,transitionEnd:f,...h}=e,[d,p]=(0,i.useState)(!1);(0,i.useEffect)((()=>{const e=setTimeout((()=>{p(!0)}));return()=>clearTimeout(e)}),[]),(e=>{const{condition:t,message:n}=e})({condition:Boolean(a>0&&r),message:"startingHeight and unmountOnExit are mutually exclusive. You can't use them together"});const g=parseFloat(a.toString())>0,m={startingHeight:a,endingHeight:s,animateOpacity:o,transition:d?c:{enter:{duration:0}},transitionEnd:{enter:null==f?void 0:f.enter,exit:r?null==f?void 0:f.exit:{...null==f?void 0:f.exit,display:g?"block":"none"}}},b=!r||n,v=n||r?"enter":"exit";return i.createElement($f,{initial:!1,custom:m},b&&i.createElement(Kv.div,{ref:t,...h,className:Sx("chakra-collapse",u),style:{overflow:"hidden",display:"block",...l},custom:m,variants:Rx,initial:!!r&&"exit",animate:v,exit:"exit"}))}));Lx.displayName="Collapse";var Nx={enter:({transition:e,transitionEnd:t,delay:n}={})=>({opacity:1,transition:(null==e?void 0:e.enter)??Px(Ax.enter,n),transitionEnd:null==t?void 0:t.enter}),exit:({transition:e,transitionEnd:t,delay:n}={})=>({opacity:0,transition:(null==e?void 0:e.exit)??Ox(Ax.exit,n),transitionEnd:null==t?void 0:t.exit})},jx={initial:"exit",animate:"enter",exit:"exit",variants:Nx},Fx=(0,i.forwardRef)((function(e,t){const{unmountOnExit:n,in:r,className:o,transition:a,transitionEnd:s,delay:l,...u}=e,c=r||n?"enter":"exit",f=!n||r&&n,h={transition:a,transitionEnd:s,delay:l};return i.createElement($f,{custom:h},f&&i.createElement(Kv.div,{ref:t,className:Sx("chakra-fade",o),custom:h,...jx,animate:c,...u}))}));Fx.displayName="Fade";var zx={exit:({reverse:e,initialScale:t,transition:n,transitionEnd:r,delay:i})=>({opacity:0,...e?{scale:t,transitionEnd:null==r?void 0:r.exit}:{transitionEnd:{scale:t,...null==r?void 0:r.exit}},transition:(null==n?void 0:n.exit)??Ox(Ax.exit,i)}),enter:({transitionEnd:e,transition:t,delay:n})=>({opacity:1,scale:1,transition:(null==t?void 0:t.enter)??Px(Ax.enter,n),transitionEnd:null==e?void 0:e.enter})},Bx={initial:"exit",animate:"enter",exit:"exit",variants:zx},Vx=(0,i.forwardRef)((function(e,t){const{unmountOnExit:n,in:r,reverse:o=!0,initialScale:a=.95,className:s,transition:l,transitionEnd:u,delay:c,...f}=e,h=!n||r&&n,d=r||n?"enter":"exit",p={initialScale:a,reverse:o,transition:l,transitionEnd:u,delay:c};return i.createElement($f,{custom:p},h&&i.createElement(Kv.div,{ref:t,className:Sx("chakra-offset-slide",s),...Bx,animate:d,custom:p,...f}))}));Vx.displayName="ScaleFade";var $x={exit:{duration:.15,ease:kx.easeInOut},enter:{type:"spring",damping:25,stiffness:180}},Hx={exit:({direction:e,transition:t,transitionEnd:n,delay:r})=>{const{exit:i}=Tx({direction:e});return{...i,transition:(null==t?void 0:t.exit)??Ox($x.exit,r),transitionEnd:null==n?void 0:n.exit}},enter:({direction:e,transitionEnd:t,transition:n,delay:r})=>{const{enter:i}=Tx({direction:e});return{...i,transition:(null==n?void 0:n.enter)??Px($x.enter,r),transitionEnd:null==t?void 0:t.enter}}},Gx=(0,i.forwardRef)((function(e,t){const{direction:n="right",style:r,unmountOnExit:o,in:a,className:s,transition:l,transitionEnd:u,delay:c,motionProps:f,...h}=e,d=Tx({direction:n}),p=Object.assign({position:"fixed"},d.position,r),g=!o||a&&o,m=a||o?"enter":"exit",b={transitionEnd:u,transition:l,direction:n,delay:c};return i.createElement($f,{custom:b},g&&i.createElement(Kv.div,{...h,ref:t,initial:"exit",className:Sx("chakra-slide",s),animate:m,exit:"exit",custom:b,variants:Hx,style:p,...f}))}));Gx.displayName="Slide";var Wx={initial:({offsetX:e,offsetY:t,transition:n,transitionEnd:r,delay:i})=>({opacity:0,x:e,y:t,transition:(null==n?void 0:n.exit)??Ox(Ax.exit,i),transitionEnd:null==r?void 0:r.exit}),enter:({transition:e,transitionEnd:t,delay:n})=>({opacity:1,x:0,y:0,transition:(null==e?void 0:e.enter)??Px(Ax.enter,n),transitionEnd:null==t?void 0:t.enter}),exit:({offsetY:e,offsetX:t,transition:n,transitionEnd:r,reverse:i,delay:o})=>{const a={x:t,y:e};return{opacity:0,transition:(null==n?void 0:n.exit)??Ox(Ax.exit,o),...i?{...a,transitionEnd:null==r?void 0:r.exit}:{transitionEnd:{...a,...null==r?void 0:r.exit}}}}},Ux={initial:"initial",animate:"enter",exit:"exit",variants:Wx},qx=(0,i.forwardRef)((function(e,t){const{unmountOnExit:n,in:r,reverse:o=!0,className:a,offsetX:s=0,offsetY:l=8,transition:u,transitionEnd:c,delay:f,...h}=e,d=!n||r&&n,p=r||n?"enter":"exit",g={offsetX:s,offsetY:l,reverse:o,transition:u,transitionEnd:c,delay:f};return i.createElement($f,{custom:g},d&&i.createElement(Kv.div,{ref:t,className:Sx("chakra-offset-slide",a),custom:g,...Ux,animate:p,...h}))}));qx.displayName="SlideFade";var Xx=(...e)=>e.filter(Boolean).join(" ");var Yx=e=>{const{condition:t,message:n}=e};function Kx(...e){return function(t){e.some((e=>(null==e||e(t),null==t?void 0:t.defaultPrevented)))}}var[Zx,Qx]=It({name:"AccordionStylesContext",hookName:"useAccordionStyles",providerName:"<Accordion />"}),[Jx,e_]=It({name:"AccordionItemContext",hookName:"useAccordionItemContext",providerName:"<AccordionItem />"}),[t_,n_,r_,i_]=xx(),o_=Li((function(e,t){const{getButtonProps:n}=e_(),r=n(e,t),o={display:"flex",alignItems:"center",width:"100%",outline:0,...Qx().button};return i.createElement(zi.button,{...r,className:Xx("chakra-accordion__button",e.className),__css:o})}));function a_(e){const{onChange:t,defaultIndex:n,index:r,allowMultiple:o,allowToggle:a,...s}=e;!function(e){const t=e.index||e.defaultIndex,n=null!=t&&!Array.isArray(t)&&e.allowMultiple;Yx({condition:!!n,message:`If 'allowMultiple' is passed, then 'index' or 'defaultIndex' must be an array. You passed: ${typeof t},`})}(e),function(e){Yx({condition:!(!e.allowMultiple||!e.allowToggle),message:"If 'allowMultiple' is passed, 'allowToggle' will be ignored. Either remove 'allowToggle' or 'allowMultiple' depending on whether you want multiple accordions visible or not"})}(e);const l=r_(),[u,c]=(0,i.useState)(-1);(0,i.useEffect)((()=>()=>{c(-1)}),[]);const[f,h]=_x({value:r,defaultValue:()=>o?n??[]:n??-1,onChange:t});return{index:f,setIndex:h,htmlProps:s,getAccordionItemProps:e=>{let t=!1;null!==e&&(t=Array.isArray(f)?f.includes(e):f===e);return{isOpen:t,onChange:t=>{if(null!==e)if(o&&Array.isArray(f)){const n=t?f.concat(e):f.filter((t=>t!==e));h(n)}else t?h(e):a&&h(-1)}}},focusedIndex:u,setFocusedIndex:c,descendants:l}}o_.displayName="AccordionButton";var[s_,l_]=It({name:"AccordionContext",hookName:"useAccordionContext",providerName:"Accordion"});function u_(e){const{isDisabled:t,isFocusable:n,id:r,...o}=e,{getAccordionItemProps:a,setFocusedIndex:s}=l_(),l=(0,i.useRef)(null),u=(0,i.useId)(),c=r??u,f=`accordion-button-${c}`,h=`accordion-panel-${c}`;!function(e){Yx({condition:!(!e.isFocusable||e.isDisabled),message:"Using only 'isFocusable', this prop is reserved for situations where you pass 'isDisabled' but you still want the element to receive focus (A11y). Either remove it or pass 'isDisabled' as well.\n "})}(e);const{register:d,index:p,descendants:g}=i_({disabled:t&&!n}),{isOpen:m,onChange:b}=a(-1===p?null:p);!function(e){Yx({condition:e.isOpen&&!!e.isDisabled,message:"Cannot open a disabled accordion item"})}({isOpen:m,isDisabled:t});const v=(0,i.useCallback)((()=>{null==b||b(!m),s(p)}),[p,s,m,b]),y=(0,i.useCallback)((e=>{const t={ArrowDown:()=>{const e=g.nextEnabled(p);null==e||e.node.focus()},ArrowUp:()=>{const e=g.prevEnabled(p);null==e||e.node.focus()},Home:()=>{const e=g.firstEnabled();null==e||e.node.focus()},End:()=>{const e=g.lastEnabled();null==e||e.node.focus()}},n=t[e.key];n&&(e.preventDefault(),n(e))}),[g,p]),w=(0,i.useCallback)((()=>{s(p)}),[s,p]),x=(0,i.useCallback)((function(e={},n=null){return{...e,type:"button",ref:fx(d,l,n),id:f,disabled:!!t,"aria-expanded":!!m,"aria-controls":h,onClick:Kx(e.onClick,v),onFocus:Kx(e.onFocus,w),onKeyDown:Kx(e.onKeyDown,y)}}),[f,t,m,v,w,y,h,d]),_=(0,i.useCallback)((function(e={},t=null){return{...e,ref:t,role:"region",id:h,"aria-labelledby":f,hidden:!m}}),[f,m,h]);return{isOpen:m,isDisabled:t,isFocusable:n,onOpen:()=>{null==b||b(!0)},onClose:()=>{null==b||b(!1)},getButtonProps:x,getPanelProps:_,htmlProps:o}}function c_(e){const{isOpen:t,isDisabled:n}=e_(),{reduceMotion:r}=l_(),o=Xx("chakra-accordion__icon",e.className),a={opacity:n?.4:1,transform:t?"rotate(-180deg)":void 0,transition:r?void 0:"transform 0.2s",transformOrigin:"center",...Qx().icon};return i.createElement($c,{viewBox:"0 0 24 24","aria-hidden":!0,className:o,__css:a,...e},i.createElement("path",{fill:"currentColor",d:"M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"}))}c_.displayName="AccordionIcon";var f_=Li((function(e,t){const{children:n,className:r}=e,{htmlProps:o,...a}=u_(e),s={...Qx().container,overflowAnchor:"none"},l=(0,i.useMemo)((()=>a),[a]);return i.createElement(Jx,{value:l},i.createElement(zi.div,{ref:t,...o,className:Xx("chakra-accordion__item",r),__css:s},"function"==typeof n?n({isExpanded:!!a.isOpen,isDisabled:!!a.isDisabled}):n))}));f_.displayName="AccordionItem";var h_=Li((function(e,t){const{className:n,motionProps:r,...o}=e,{reduceMotion:a}=l_(),{getPanelProps:s,isOpen:l}=e_(),u=s(o,t),c=Xx("chakra-accordion__panel",n),f=Qx();a||delete u.hidden;const h=i.createElement(zi.div,{...u,__css:f.panel,className:c});return a?h:i.createElement(Lx,{in:l,...r},h)}));h_.displayName="AccordionPanel";var d_=Li((function({children:e,reduceMotion:t,...n},r){const o=Fi("Accordion",n),a=Ur(n),{htmlProps:s,descendants:l,...u}=a_(a),c=(0,i.useMemo)((()=>({...u,reduceMotion:!!t})),[u,t]);return i.createElement(t_,{value:l},i.createElement(s_,{value:c},i.createElement(Zx,{value:o},i.createElement(zi.div,{ref:r,...s,className:Xx("chakra-accordion",n.className),__css:o.root},e))))}));d_.displayName="Accordion";var p_=(...e)=>e.filter(Boolean).join(" "),g_=e=>e?"":void 0,[m_,b_]=It({strict:!1,name:"ButtonGroupContext"});function v_(e){const{children:t,className:n,...r}=e,o=(0,i.isValidElement)(t)?(0,i.cloneElement)(t,{"aria-hidden":!0,focusable:!1}):t,a=p_("chakra-button__icon",n);return i.createElement(zi.span,{display:"inline-flex",alignSelf:"center",flexShrink:0,...r,className:a},o)}function y_(e){const{label:t,placement:n,spacing:r="0.5rem",children:o=i.createElement(Gc,{color:"currentColor",width:"1em",height:"1em"}),className:a,__css:s,...l}=e,u=p_("chakra-button__spinner",a),c="start"===n?"marginEnd":"marginStart",f=(0,i.useMemo)((()=>({display:"flex",alignItems:"center",position:t?"relative":"absolute",[c]:t?r:0,fontSize:"1em",lineHeight:"normal",...s})),[s,t,c,r]);return i.createElement(zi.div,{className:u,...l,__css:f},o)}v_.displayName="ButtonIcon",y_.displayName="ButtonSpinner";var w_=Li(((e,t)=>{const n=b_(),r=ji("Button",{...n,...e}),{isDisabled:o=(null==n?void 0:n.isDisabled),isLoading:a,isActive:s,children:l,leftIcon:u,rightIcon:c,loadingText:f,iconSpacing:h="0.5rem",type:d,spinner:p,spinnerPlacement:g="start",className:m,as:b,...v}=Ur(e),y=(0,i.useMemo)((()=>{const e={...null==r?void 0:r._focus,zIndex:1};return{display:"inline-flex",appearance:"none",alignItems:"center",justifyContent:"center",userSelect:"none",position:"relative",whiteSpace:"nowrap",verticalAlign:"middle",outline:"none",...r,...!!n&&{_focus:e}}}),[r,n]),{ref:w,type:x}=function(e){const[t,n]=(0,i.useState)(!e),r=(0,i.useCallback)((e=>{e&&n("BUTTON"===e.tagName)}),[]);return{ref:r,type:t?"button":void 0}}(b),_={rightIcon:c,leftIcon:u,iconSpacing:h,children:l};return i.createElement(zi.button,{disabled:o||a,ref:hx(t,w),as:b,type:d??x,"data-active":g_(s),"data-loading":g_(a),__css:y,className:p_("chakra-button",m),...v},a&&"start"===g&&i.createElement(y_,{className:"chakra-button__spinner--start",label:f,placement:"start",spacing:h},p),a?f||i.createElement(zi.span,{opacity:0},i.createElement(x_,{..._})):i.createElement(x_,{..._}),a&&"end"===g&&i.createElement(y_,{className:"chakra-button__spinner--end",label:f,placement:"end",spacing:h},p))}));function x_(e){const{leftIcon:t,rightIcon:n,children:r,iconSpacing:o}=e;return i.createElement(i.Fragment,null,t&&i.createElement(v_,{marginEnd:o},t),r,n&&i.createElement(v_,{marginStart:o},n))}w_.displayName="Button";var __={horizontal:{"> *:first-of-type:not(:last-of-type)":{borderEndRadius:0},"> *:not(:first-of-type):not(:last-of-type)":{borderRadius:0},"> *:not(:first-of-type):last-of-type":{borderStartRadius:0}},vertical:{"> *:first-of-type:not(:last-of-type)":{borderBottomRadius:0},"> *:not(:first-of-type):not(:last-of-type)":{borderRadius:0},"> *:not(:first-of-type):last-of-type":{borderTopRadius:0}}},S_={horizontal:e=>({"& > *:not(style) ~ *:not(style)":{marginStart:e}}),vertical:e=>({"& > *:not(style) ~ *:not(style)":{marginTop:e}})},k_=Li((function(e,t){const{size:n,colorScheme:r,variant:o,className:a,spacing:s="0.5rem",isAttached:l,isDisabled:u,orientation:c="horizontal",...f}=e,h=p_("chakra-button__group",a),d=(0,i.useMemo)((()=>({size:n,colorScheme:r,variant:o,isDisabled:u})),[n,r,o,u]);let p={display:"inline-flex",...l?__[c]:S_[c](s)};const g="vertical"===c;return i.createElement(m_,{value:d},i.createElement(zi.div,{ref:t,role:"group",__css:p,className:h,"data-attached":l?"":void 0,"data-orientation":c,flexDir:g?"column":void 0,...f}))}));k_.displayName="ButtonGroup";var C_=Li(((e,t)=>{const{icon:n,children:r,isRound:o,"aria-label":a,...s}=e,l=n||r,u=(0,i.isValidElement)(l)?(0,i.cloneElement)(l,{"aria-hidden":!0,focusable:!1}):null;return i.createElement(w_,{padding:"0",borderRadius:o?"full":void 0,ref:t,"aria-label":a,...s},u)}));C_.displayName="IconButton";var E_={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},I_=i.createContext&&i.createContext(E_),M_=["attr","size","title"];function T_(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function A_(){return A_=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},A_.apply(this,arguments)}function P_(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function O_(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?P_(Object(n),!0).forEach((function(t){D_(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):P_(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function D_(e,t,n){return t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function R_(e){return e&&e.map(((e,t)=>i.createElement(e.tag,O_({key:t},e.attr),R_(e.child))))}function L_(e){return t=>i.createElement(N_,A_({attr:O_({},e.attr)},t),R_(e.child))}function N_(e){var t=t=>{var n,{attr:r,size:o,title:a}=e,s=T_(e,M_),l=o||t.size||"1em";return t.className&&(n=t.className),e.className&&(n=(n?n+" ":"")+e.className),i.createElement("svg",A_({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},t.attr,r,s,{className:n,style:O_(O_({color:e.color||t.color},t.style),e.style),height:l,width:l,xmlns:"http://www.w3.org/2000/svg"}),a&&i.createElement("title",null,a),e.children)};return void 0!==I_?i.createElement(I_.Consumer,null,(e=>t(e))):t(E_)}function j_(e){return L_({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M200 288H88c-21.4 0-32.1 25.8-17 41l32.9 31-99.2 99.3c-6.2 6.2-6.2 16.4 0 22.6l25.4 25.4c6.2 6.2 16.4 6.2 22.6 0L152 408l31.1 33c15.1 15.1 40.9 4.4 40.9-17V312c0-13.3-10.7-24-24-24zm112-64h112c21.4 0 32.1-25.9 17-41l-33-31 99.3-99.3c6.2-6.2 6.2-16.4 0-22.6L481.9 4.7c-6.2-6.2-16.4-6.2-22.6 0L360 104l-31.1-33C313.8 55.9 288 66.6 288 88v112c0 13.3 10.7 24 24 24zm96 136l33-31.1c15.1-15.1 4.4-40.9-17-40.9H312c-13.3 0-24 10.7-24 24v112c0 21.4 25.9 32.1 41 17l31-32.9 99.3 99.3c6.2 6.2 16.4 6.2 22.6 0l25.4-25.4c6.2-6.2 6.2-16.4 0-22.6L408 360zM183 71.1L152 104 52.7 4.7c-6.2-6.2-16.4-6.2-22.6 0L4.7 30.1c-6.2 6.2-6.2 16.4 0 22.6L104 152l-33 31.1C55.9 198.2 66.6 224 88 224h112c13.3 0 24-10.7 24-24V88c0-21.3-25.9-32-41-16.9z"},child:[]}]})(e)}function F_(e){return L_({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M448 344v112a23.94 23.94 0 0 1-24 24H312c-21.39 0-32.09-25.9-17-41l36.2-36.2L224 295.6 116.77 402.9 153 439c15.09 15.1 4.39 41-17 41H24a23.94 23.94 0 0 1-24-24V344c0-21.4 25.89-32.1 41-17l36.19 36.2L184.46 256 77.18 148.7 41 185c-15.1 15.1-41 4.4-41-17V56a23.94 23.94 0 0 1 24-24h112c21.39 0 32.09 25.9 17 41l-36.2 36.2L224 216.4l107.23-107.3L295 73c-15.09-15.1-4.39-41 17-41h112a23.94 23.94 0 0 1 24 24v112c0 21.4-25.89 32.1-41 17l-36.19-36.2L263.54 256l107.28 107.3L407 327.1c15.1-15.2 41-4.5 41 16.9z"},child:[]}]})(e)}function z_(e,t){return function(){return e.apply(t,arguments)}}const{toString:B_}=Object.prototype,{getPrototypeOf:V_}=Object,$_=(e=>t=>{const n=B_.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),H_=e=>(e=e.toLowerCase(),t=>$_(t)===e),G_=e=>t=>typeof t===e,{isArray:W_}=Array,U_=G_("undefined");const q_=H_("ArrayBuffer");const X_=G_("string"),Y_=G_("function"),K_=G_("number"),Z_=e=>null!==e&&"object"==typeof e,Q_=e=>{if("object"!==$_(e))return!1;const t=V_(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)},J_=H_("Date"),eS=H_("File"),tS=H_("Blob"),nS=H_("FileList"),rS=H_("URLSearchParams");function iS(e,t,{allOwnKeys:n=!1}={}){if(null==e)return;let r,i;if("object"!=typeof e&&(e=[e]),W_(e))for(r=0,i=e.length;r<i;r++)t.call(null,e[r],r,e);else{const i=n?Object.getOwnPropertyNames(e):Object.keys(e),o=i.length;let a;for(r=0;r<o;r++)a=i[r],t.call(null,e[a],a,e)}}function oS(e,t){t=t.toLowerCase();const n=Object.keys(e);let r,i=n.length;for(;i-- >0;)if(r=n[i],t===r.toLowerCase())return r;return null}const aS="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,sS=e=>!U_(e)&&e!==aS;const lS=(uS="undefined"!=typeof Uint8Array&&V_(Uint8Array),e=>uS&&e instanceof uS);var uS;const cS=H_("HTMLFormElement"),fS=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),hS=H_("RegExp"),dS=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};iS(n,((n,i)=>{let o;!1!==(o=t(n,i,e))&&(r[i]=o||n)})),Object.defineProperties(e,r)},pS="abcdefghijklmnopqrstuvwxyz",gS="0123456789",mS={DIGIT:gS,ALPHA:pS,ALPHA_DIGIT:pS+pS.toUpperCase()+gS};const bS=H_("AsyncFunction"),vS={isArray:W_,isArrayBuffer:q_,isBuffer:function(e){return null!==e&&!U_(e)&&null!==e.constructor&&!U_(e.constructor)&&Y_(e.constructor.isBuffer)&&e.constructor.isBuffer(e)},isFormData:e=>{let t;return e&&("function"==typeof FormData&&e instanceof FormData||Y_(e.append)&&("formdata"===(t=$_(e))||"object"===t&&Y_(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){let t;return t="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&q_(e.buffer),t},isString:X_,isNumber:K_,isBoolean:e=>!0===e||!1===e,isObject:Z_,isPlainObject:Q_,isUndefined:U_,isDate:J_,isFile:eS,isBlob:tS,isRegExp:hS,isFunction:Y_,isStream:e=>Z_(e)&&Y_(e.pipe),isURLSearchParams:rS,isTypedArray:lS,isFileList:nS,forEach:iS,merge:function e(){const{caseless:t}=sS(this)&&this||{},n={},r=(r,i)=>{const o=t&&oS(n,i)||i;Q_(n[o])&&Q_(r)?n[o]=e(n[o],r):Q_(r)?n[o]=e({},r):W_(r)?n[o]=r.slice():n[o]=r};for(let e=0,t=arguments.length;e<t;e++)arguments[e]&&iS(arguments[e],r);return n},extend:(e,t,n,{allOwnKeys:r}={})=>(iS(t,((t,r)=>{n&&Y_(t)?e[r]=z_(t,n):e[r]=t}),{allOwnKeys:r}),e),trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},toFlatObject:(e,t,n,r)=>{let i,o,a;const s={};if(t=t||{},null==e)return t;do{for(i=Object.getOwnPropertyNames(e),o=i.length;o-- >0;)a=i[o],r&&!r(a,e,t)||s[a]||(t[a]=e[a],s[a]=!0);e=!1!==n&&V_(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:$_,kindOfTest:H_,endsWith:(e,t,n)=>{e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return-1!==r&&r===n},toArray:e=>{if(!e)return null;if(W_(e))return e;let t=e.length;if(!K_(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},forEachEntry:(e,t)=>{const n=(e&&e[Symbol.iterator]).call(e);let r;for(;(r=n.next())&&!r.done;){const n=r.value;t.call(e,n[0],n[1])}},matchAll:(e,t)=>{let n;const r=[];for(;null!==(n=e.exec(t));)r.push(n);return r},isHTMLForm:cS,hasOwnProperty:fS,hasOwnProp:fS,reduceDescriptors:dS,freezeMethods:e=>{dS(e,((t,n)=>{if(Y_(e)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;const r=e[n];Y_(r)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")}))}))},toObjectSet:(e,t)=>{const n={},r=e=>{e.forEach((e=>{n[e]=!0}))};return W_(e)?r(e):r(String(e).split(t)),n},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(e,t,n){return t.toUpperCase()+n})),noop:()=>{},toFiniteNumber:(e,t)=>(e=+e,Number.isFinite(e)?e:t),findKey:oS,global:aS,isContextDefined:sS,ALPHABET:mS,generateString:(e=16,t=mS.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n},isSpecCompliantForm:function(e){return!!(e&&Y_(e.append)&&"FormData"===e[Symbol.toStringTag]&&e[Symbol.iterator])},toJSONObject:e=>{const t=new Array(10),n=(e,r)=>{if(Z_(e)){if(t.indexOf(e)>=0)return;if(!("toJSON"in e)){t[r]=e;const i=W_(e)?[]:{};return iS(e,((e,t)=>{const o=n(e,r+1);!U_(o)&&(i[t]=o)})),t[r]=void 0,i}}return e};return n(e,0)},isAsyncFn:bS,isThenable:e=>e&&(Z_(e)||Y_(e))&&Y_(e.then)&&Y_(e.catch)};function yS(e,t,n,r,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),i&&(this.response=i)}vS.inherits(yS,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:vS.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const wS=yS.prototype,xS={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((e=>{xS[e]={value:e}})),Object.defineProperties(yS,xS),Object.defineProperty(wS,"isAxiosError",{value:!0}),yS.from=(e,t,n,r,i,o)=>{const a=Object.create(wS);return vS.toFlatObject(e,a,(function(e){return e!==Error.prototype}),(e=>"isAxiosError"!==e)),yS.call(a,e.message,t,n,r,i),a.cause=e,a.name=e.name,o&&Object.assign(a,o),a};const _S=yS;function SS(e){return vS.isPlainObject(e)||vS.isArray(e)}function kS(e){return vS.endsWith(e,"[]")?e.slice(0,-2):e}function CS(e,t,n){return e?e.concat(t).map((function(e,t){return e=kS(e),!n&&t?"["+e+"]":e})).join(n?".":""):t}const ES=vS.toFlatObject(vS,{},null,(function(e){return/^is[A-Z]/.test(e)}));const IS=function(e,t,n){if(!vS.isObject(e))throw new TypeError("target must be an object");t=t||new FormData;const r=(n=vS.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(e,t){return!vS.isUndefined(t[e])}))).metaTokens,i=n.visitor||u,o=n.dots,a=n.indexes,s=(n.Blob||"undefined"!=typeof Blob&&Blob)&&vS.isSpecCompliantForm(t);if(!vS.isFunction(i))throw new TypeError("visitor must be a function");function l(e){if(null===e)return"";if(vS.isDate(e))return e.toISOString();if(!s&&vS.isBlob(e))throw new _S("Blob is not supported. Use a Buffer instead.");return vS.isArrayBuffer(e)||vS.isTypedArray(e)?s&&"function"==typeof Blob?new Blob([e]):Buffer.from(e):e}function u(e,n,i){let s=e;if(e&&!i&&"object"==typeof e)if(vS.endsWith(n,"{}"))n=r?n:n.slice(0,-2),e=JSON.stringify(e);else if(vS.isArray(e)&&function(e){return vS.isArray(e)&&!e.some(SS)}(e)||(vS.isFileList(e)||vS.endsWith(n,"[]"))&&(s=vS.toArray(e)))return n=kS(n),s.forEach((function(e,r){!vS.isUndefined(e)&&null!==e&&t.append(!0===a?CS([n],r,o):null===a?n:n+"[]",l(e))})),!1;return!!SS(e)||(t.append(CS(i,n,o),l(e)),!1)}const c=[],f=Object.assign(ES,{defaultVisitor:u,convertValue:l,isVisitable:SS});if(!vS.isObject(e))throw new TypeError("data must be an object");return function e(n,r){if(!vS.isUndefined(n)){if(-1!==c.indexOf(n))throw Error("Circular reference detected in "+r.join("."));c.push(n),vS.forEach(n,(function(n,o){!0===(!(vS.isUndefined(n)||null===n)&&i.call(t,n,vS.isString(o)?o.trim():o,r,f))&&e(n,r?r.concat(o):[o])})),c.pop()}}(e),t};function MS(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,(function(e){return t[e]}))}function TS(e,t){this._pairs=[],e&&IS(e,this,t)}const AS=TS.prototype;AS.append=function(e,t){this._pairs.push([e,t])},AS.toString=function(e){const t=e?function(t){return e.call(this,t,MS)}:MS;return this._pairs.map((function(e){return t(e[0])+"="+t(e[1])}),"").join("&")};const PS=TS;function OS(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function DS(e,t,n){if(!t)return e;const r=n&&n.encode||OS,i=n&&n.serialize;let o;if(o=i?i(t,n):vS.isURLSearchParams(t)?t.toString():new PS(t,n).toString(r),o){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+o}return e}const RS=class{constructor(){this.handlers=[]}use(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){vS.forEach(this.handlers,(function(t){null!==t&&e(t)}))}},LS={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},NS={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:PS,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]},jS="undefined"!=typeof window&&"undefined"!=typeof document,FS=(zS="undefined"!=typeof navigator&&navigator.product,jS&&["ReactNative","NativeScript","NS"].indexOf(zS)<0);var zS;const BS="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,VS={...e,...NS};const $S=function(e){function t(e,n,r,i){let o=e[i++];const a=Number.isFinite(+o),s=i>=e.length;if(o=!o&&vS.isArray(r)?r.length:o,s)return vS.hasOwnProp(r,o)?r[o]=[r[o],n]:r[o]=n,!a;r[o]&&vS.isObject(r[o])||(r[o]=[]);return t(e,n,r[o],i)&&vS.isArray(r[o])&&(r[o]=function(e){const t={},n=Object.keys(e);let r;const i=n.length;let o;for(r=0;r<i;r++)o=n[r],t[o]=e[o];return t}(r[o])),!a}if(vS.isFormData(e)&&vS.isFunction(e.entries)){const n={};return vS.forEachEntry(e,((e,r)=>{t(function(e){return vS.matchAll(/\w+|\[(\w*)]/g,e).map((e=>"[]"===e[0]?"":e[1]||e[0]))}(e),r,n,0)})),n}return null};const HS={transitional:LS,adapter:["xhr","http"],transformRequest:[function(e,t){const n=t.getContentType()||"",r=n.indexOf("application/json")>-1,i=vS.isObject(e);i&&vS.isHTMLForm(e)&&(e=new FormData(e));if(vS.isFormData(e))return r&&r?JSON.stringify($S(e)):e;if(vS.isArrayBuffer(e)||vS.isBuffer(e)||vS.isStream(e)||vS.isFile(e)||vS.isBlob(e))return e;if(vS.isArrayBufferView(e))return e.buffer;if(vS.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let o;if(i){if(n.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return IS(e,new VS.classes.URLSearchParams,Object.assign({visitor:function(e,t,n,r){return VS.isNode&&vS.isBuffer(e)?(this.append(t,e.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},t))}(e,this.formSerializer).toString();if((o=vS.isFileList(e))||n.indexOf("multipart/form-data")>-1){const t=this.env&&this.env.FormData;return IS(o?{"files[]":e}:e,t&&new t,this.formSerializer)}}return i||r?(t.setContentType("application/json",!1),function(e,t,n){if(vS.isString(e))try{return(t||JSON.parse)(e),vS.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(n||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){const t=this.transitional||HS.transitional,n=t&&t.forcedJSONParsing,r="json"===this.responseType;if(e&&vS.isString(e)&&(n&&!this.responseType||r)){const n=!(t&&t.silentJSONParsing)&&r;try{return JSON.parse(e)}catch(e){if(n){if("SyntaxError"===e.name)throw _S.from(e,_S.ERR_BAD_RESPONSE,this,null,this.response);throw e}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:VS.classes.FormData,Blob:VS.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};vS.forEach(["delete","get","head","post","put","patch"],(e=>{HS.headers[e]={}}));const GS=HS,WS=vS.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),US=Symbol("internals");function qS(e){return e&&String(e).trim().toLowerCase()}function XS(e){return!1===e||null==e?e:vS.isArray(e)?e.map(XS):String(e)}function YS(e,t,n,r,i){return vS.isFunction(r)?r.call(this,t,n):(i&&(t=n),vS.isString(t)?vS.isString(r)?-1!==t.indexOf(r):vS.isRegExp(r)?r.test(t):void 0:void 0)}class KS{constructor(e){e&&this.set(e)}set(e,t,n){const r=this;function i(e,t,n){const i=qS(t);if(!i)throw new Error("header name must be a non-empty string");const o=vS.findKey(r,i);(!o||void 0===r[o]||!0===n||void 0===n&&!1!==r[o])&&(r[o||t]=XS(e))}const o=(e,t)=>vS.forEach(e,((e,n)=>i(e,n,t)));return vS.isPlainObject(e)||e instanceof this.constructor?o(e,t):vS.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim())?o((e=>{const t={};let n,r,i;return e&&e.split("\n").forEach((function(e){i=e.indexOf(":"),n=e.substring(0,i).trim().toLowerCase(),r=e.substring(i+1).trim(),!n||t[n]&&WS[n]||("set-cookie"===n?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)})),t})(e),t):null!=e&&i(t,e,n),this}get(e,t){if(e=qS(e)){const n=vS.findKey(this,e);if(n){const e=this[n];if(!t)return e;if(!0===t)return function(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}(e);if(vS.isFunction(t))return t.call(this,e,n);if(vS.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=qS(e)){const n=vS.findKey(this,e);return!(!n||void 0===this[n]||t&&!YS(0,this[n],n,t))}return!1}delete(e,t){const n=this;let r=!1;function i(e){if(e=qS(e)){const i=vS.findKey(n,e);!i||t&&!YS(0,n[i],i,t)||(delete n[i],r=!0)}}return vS.isArray(e)?e.forEach(i):i(e),r}clear(e){const t=Object.keys(this);let n=t.length,r=!1;for(;n--;){const i=t[n];e&&!YS(0,this[i],i,e,!0)||(delete this[i],r=!0)}return r}normalize(e){const t=this,n={};return vS.forEach(this,((r,i)=>{const o=vS.findKey(n,i);if(o)return t[o]=XS(r),void delete t[i];const a=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((e,t,n)=>t.toUpperCase()+n))}(i):String(i).trim();a!==i&&delete t[i],t[a]=XS(r),n[a]=!0})),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return vS.forEach(this,((n,r)=>{null!=n&&!1!==n&&(t[r]=e&&vS.isArray(n)?n.join(", "):n)})),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map((([e,t])=>e+": "+t)).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){const n=new this(e);return t.forEach((e=>n.set(e))),n}static accessor(e){const t=(this[US]=this[US]={accessors:{}}).accessors,n=this.prototype;function r(e){const r=qS(e);t[r]||(!function(e,t){const n=vS.toCamelCase(" "+t);["get","set","has"].forEach((r=>{Object.defineProperty(e,r+n,{value:function(e,n,i){return this[r].call(this,t,e,n,i)},configurable:!0})}))}(n,e),t[r]=!0)}return vS.isArray(e)?e.forEach(r):r(e),this}}KS.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),vS.reduceDescriptors(KS.prototype,(({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[n]=e}}})),vS.freezeMethods(KS);const ZS=KS;function QS(e,t){const n=this||GS,r=t||n,i=ZS.from(r.headers);let o=r.data;return vS.forEach(e,(function(e){o=e.call(n,o,i.normalize(),t?t.status:void 0)})),i.normalize(),o}function JS(e){return!(!e||!e.__CANCEL__)}function ek(e,t,n){_S.call(this,null==e?"canceled":e,_S.ERR_CANCELED,t,n),this.name="CanceledError"}vS.inherits(ek,_S,{__CANCEL__:!0});const tk=ek;const nk=VS.hasStandardBrowserEnv?{write:function(e,t,n,r,i,o){const a=[];a.push(e+"="+encodeURIComponent(t)),vS.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),vS.isString(r)&&a.push("path="+r),vS.isString(i)&&a.push("domain="+i),!0===o&&a.push("secure"),document.cookie=a.join("; ")},read:function(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}};function rk(e,t){return e&&!function(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}(t)?function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}(e,t):t}const ik=VS.hasStandardBrowserEnv?function(){const e=/(msie|trident)/i.test(navigator.userAgent),t=document.createElement("a");let n;function r(n){let r=n;return e&&(t.setAttribute("href",r),r=t.href),t.setAttribute("href",r),{href:t.href,protocol:t.protocol?t.protocol.replace(/:$/,""):"",host:t.host,search:t.search?t.search.replace(/^\?/,""):"",hash:t.hash?t.hash.replace(/^#/,""):"",hostname:t.hostname,port:t.port,pathname:"/"===t.pathname.charAt(0)?t.pathname:"/"+t.pathname}}return n=r(window.location.href),function(e){const t=vS.isString(e)?r(e):e;return t.protocol===n.protocol&&t.host===n.host}}():function(){return!0};const ok=function(e,t){e=e||10;const n=new Array(e),r=new Array(e);let i,o=0,a=0;return t=void 0!==t?t:1e3,function(s){const l=Date.now(),u=r[a];i||(i=l),n[o]=s,r[o]=l;let c=a,f=0;for(;c!==o;)f+=n[c++],c%=e;if(o=(o+1)%e,o===a&&(a=(a+1)%e),l-i<t)return;const h=u&&l-u;return h?Math.round(1e3*f/h):void 0}};function ak(e,t){let n=0;const r=ok(50,250);return i=>{const o=i.loaded,a=i.lengthComputable?i.total:void 0,s=o-n,l=r(s);n=o;const u={loaded:o,total:a,progress:a?o/a:void 0,bytes:s,rate:l||void 0,estimated:l&&a&&o<=a?(a-o)/l:void 0,event:i};u[t?"download":"upload"]=!0,e(u)}}const sk="undefined"!=typeof XMLHttpRequest&&function(e){return new Promise((function(t,n){let r=e.data;const i=ZS.from(e.headers).normalize(),o=e.responseType;let a,s;function l(){e.cancelToken&&e.cancelToken.unsubscribe(a),e.signal&&e.signal.removeEventListener("abort",a)}if(vS.isFormData(r))if(VS.hasStandardBrowserEnv||VS.hasStandardBrowserWebWorkerEnv)i.setContentType(!1);else if(!1!==(s=i.getContentType())){const[e,...t]=s?s.split(";").map((e=>e.trim())).filter(Boolean):[];i.setContentType([e||"multipart/form-data",...t].join("; "))}let u=new XMLHttpRequest;if(e.auth){const t=e.auth.username||"",n=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";i.set("Authorization","Basic "+btoa(t+":"+n))}const c=rk(e.baseURL,e.url);function f(){if(!u)return;const r=ZS.from("getAllResponseHeaders"in u&&u.getAllResponseHeaders());!function(e,t,n){const r=n.config.validateStatus;n.status&&r&&!r(n.status)?t(new _S("Request failed with status code "+n.status,[_S.ERR_BAD_REQUEST,_S.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}((function(e){t(e),l()}),(function(e){n(e),l()}),{data:o&&"text"!==o&&"json"!==o?u.response:u.responseText,status:u.status,statusText:u.statusText,headers:r,config:e,request:u}),u=null}if(u.open(e.method.toUpperCase(),DS(c,e.params,e.paramsSerializer),!0),u.timeout=e.timeout,"onloadend"in u?u.onloadend=f:u.onreadystatechange=function(){u&&4===u.readyState&&(0!==u.status||u.responseURL&&0===u.responseURL.indexOf("file:"))&&setTimeout(f)},u.onabort=function(){u&&(n(new _S("Request aborted",_S.ECONNABORTED,e,u)),u=null)},u.onerror=function(){n(new _S("Network Error",_S.ERR_NETWORK,e,u)),u=null},u.ontimeout=function(){let t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const r=e.transitional||LS;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(new _S(t,r.clarifyTimeoutError?_S.ETIMEDOUT:_S.ECONNABORTED,e,u)),u=null},VS.hasStandardBrowserEnv){const t=ik(c)&&e.xsrfCookieName&&nk.read(e.xsrfCookieName);t&&i.set(e.xsrfHeaderName,t)}void 0===r&&i.setContentType(null),"setRequestHeader"in u&&vS.forEach(i.toJSON(),(function(e,t){u.setRequestHeader(t,e)})),vS.isUndefined(e.withCredentials)||(u.withCredentials=!!e.withCredentials),o&&"json"!==o&&(u.responseType=e.responseType),"function"==typeof e.onDownloadProgress&&u.addEventListener("progress",ak(e.onDownloadProgress,!0)),"function"==typeof e.onUploadProgress&&u.upload&&u.upload.addEventListener("progress",ak(e.onUploadProgress)),(e.cancelToken||e.signal)&&(a=t=>{u&&(n(!t||t.type?new tk(null,e,u):t),u.abort(),u=null)},e.cancelToken&&e.cancelToken.subscribe(a),e.signal&&(e.signal.aborted?a():e.signal.addEventListener("abort",a)));const h=function(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}(c);h&&-1===VS.protocols.indexOf(h)?n(new _S("Unsupported protocol "+h+":",_S.ERR_BAD_REQUEST,e)):u.send(r||null)}))},lk={http:null,xhr:sk};vS.forEach(lk,((e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}}));const uk=e=>`- ${e}`,ck=e=>vS.isFunction(e)||null===e||!1===e,fk=e=>{e=vS.isArray(e)?e:[e];const{length:t}=e;let n,r;const i={};for(let o=0;o<t;o++){let t;if(n=e[o],r=n,!ck(n)&&(r=lk[(t=String(n)).toLowerCase()],void 0===r))throw new _S(`Unknown adapter '${t}'`);if(r)break;i[t||"#"+o]=r}if(!r){const e=Object.entries(i).map((([e,t])=>`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build")));let n=t?e.length>1?"since :\n"+e.map(uk).join("\n"):" "+uk(e[0]):"as no adapter specified";throw new _S("There is no suitable adapter to dispatch the request "+n,"ERR_NOT_SUPPORT")}return r};function hk(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new tk(null,e)}function dk(e){hk(e),e.headers=ZS.from(e.headers),e.data=QS.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1);return fk(e.adapter||GS.adapter)(e).then((function(t){return hk(e),t.data=QS.call(e,e.transformResponse,t),t.headers=ZS.from(t.headers),t}),(function(t){return JS(t)||(hk(e),t&&t.response&&(t.response.data=QS.call(e,e.transformResponse,t.response),t.response.headers=ZS.from(t.response.headers))),Promise.reject(t)}))}const pk=e=>e instanceof ZS?e.toJSON():e;function gk(e,t){t=t||{};const n={};function r(e,t,n){return vS.isPlainObject(e)&&vS.isPlainObject(t)?vS.merge.call({caseless:n},e,t):vS.isPlainObject(t)?vS.merge({},t):vS.isArray(t)?t.slice():t}function i(e,t,n){return vS.isUndefined(t)?vS.isUndefined(e)?void 0:r(void 0,e,n):r(e,t,n)}function o(e,t){if(!vS.isUndefined(t))return r(void 0,t)}function a(e,t){return vS.isUndefined(t)?vS.isUndefined(e)?void 0:r(void 0,e):r(void 0,t)}function s(n,i,o){return o in t?r(n,i):o in e?r(void 0,n):void 0}const l={url:o,method:o,data:o,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:s,headers:(e,t)=>i(pk(e),pk(t),!0)};return vS.forEach(Object.keys(Object.assign({},e,t)),(function(r){const o=l[r]||i,a=o(e[r],t[r],r);vS.isUndefined(a)&&o!==s||(n[r]=a)})),n}const mk="1.6.1",bk={};["object","boolean","number","function","string","symbol"].forEach(((e,t)=>{bk[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));const vk={};bk.transitional=function(e,t,n){function r(e,t){return"[Axios v1.6.1] Transitional option '"+e+"'"+t+(n?". "+n:"")}return(n,i,o)=>{if(!1===e)throw new _S(r(i," has been removed"+(t?" in "+t:"")),_S.ERR_DEPRECATED);return t&&!vk[i]&&(vk[i]=!0,console.warn(r(i," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,i,o)}};const yk={assertOptions:function(e,t,n){if("object"!=typeof e)throw new _S("options must be an object",_S.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let i=r.length;for(;i-- >0;){const o=r[i],a=t[o];if(a){const t=e[o],n=void 0===t||a(t,o,e);if(!0!==n)throw new _S("option "+o+" must be "+n,_S.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new _S("Unknown option "+o,_S.ERR_BAD_OPTION)}},validators:bk},wk=yk.validators;class xk{constructor(e){this.defaults=e,this.interceptors={request:new RS,response:new RS}}request(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},t=gk(this.defaults,t);const{transitional:n,paramsSerializer:r,headers:i}=t;void 0!==n&&yk.assertOptions(n,{silentJSONParsing:wk.transitional(wk.boolean),forcedJSONParsing:wk.transitional(wk.boolean),clarifyTimeoutError:wk.transitional(wk.boolean)},!1),null!=r&&(vS.isFunction(r)?t.paramsSerializer={serialize:r}:yk.assertOptions(r,{encode:wk.function,serialize:wk.function},!0)),t.method=(t.method||this.defaults.method||"get").toLowerCase();let o=i&&vS.merge(i.common,i[t.method]);i&&vS.forEach(["delete","get","head","post","put","patch","common"],(e=>{delete i[e]})),t.headers=ZS.concat(o,i);const a=[];let s=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(s=s&&e.synchronous,a.unshift(e.fulfilled,e.rejected))}));const l=[];let u;this.interceptors.response.forEach((function(e){l.push(e.fulfilled,e.rejected)}));let c,f=0;if(!s){const e=[dk.bind(this),void 0];for(e.unshift.apply(e,a),e.push.apply(e,l),c=e.length,u=Promise.resolve(t);f<c;)u=u.then(e[f++],e[f++]);return u}c=a.length;let h=t;for(f=0;f<c;){const e=a[f++],t=a[f++];try{h=e(h)}catch(e){t.call(this,e);break}}try{u=dk.call(this,h)}catch(e){return Promise.reject(e)}for(f=0,c=l.length;f<c;)u=u.then(l[f++],l[f++]);return u}getUri(e){return DS(rk((e=gk(this.defaults,e)).baseURL,e.url),e.params,e.paramsSerializer)}}vS.forEach(["delete","get","head","options"],(function(e){xk.prototype[e]=function(t,n){return this.request(gk(n||{},{method:e,url:t,data:(n||{}).data}))}})),vS.forEach(["post","put","patch"],(function(e){function t(t){return function(n,r,i){return this.request(gk(i||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:n,data:r}))}}xk.prototype[e]=t(),xk.prototype[e+"Form"]=t(!0)}));const _k=xk;class Sk{constructor(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");let t;this.promise=new Promise((function(e){t=e}));const n=this;this.promise.then((e=>{if(!n._listeners)return;let t=n._listeners.length;for(;t-- >0;)n._listeners[t](e);n._listeners=null})),this.promise.then=e=>{let t;const r=new Promise((e=>{n.subscribe(e),t=e})).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e((function(e,r,i){n.reason||(n.reason=new tk(e,r,i),t(n.reason))}))}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}static source(){let e;const t=new Sk((function(t){e=t}));return{token:t,cancel:e}}}const kk=Sk;const Ck={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Ck).forEach((([e,t])=>{Ck[t]=e}));const Ek=Ck;const Ik=function e(t){const n=new _k(t),r=z_(_k.prototype.request,n);return vS.extend(r,_k.prototype,n,{allOwnKeys:!0}),vS.extend(r,n,null,{allOwnKeys:!0}),r.create=function(n){return e(gk(t,n))},r}(GS);Ik.Axios=_k,Ik.CanceledError=tk,Ik.CancelToken=kk,Ik.isCancel=JS,Ik.VERSION=mk,Ik.toFormData=IS,Ik.AxiosError=_S,Ik.Cancel=Ik.CanceledError,Ik.all=function(e){return Promise.all(e)},Ik.spread=function(e){return function(t){return e.apply(null,t)}},Ik.isAxiosError=function(e){return vS.isObject(e)&&!0===e.isAxiosError},Ik.mergeConfig=gk,Ik.AxiosHeaders=ZS,Ik.formToJSON=e=>$S(vS.isHTMLForm(e)?new FormData(e):e),Ik.getAdapter=fk,Ik.HttpStatusCode=Ek,Ik.default=Ik;const Mk=Ik;var Tk=a(3472),Ak=a.n(Tk);class Pk extends URLSearchParams{constructor(e){if(e){const t={};return Object.keys(e).forEach((n=>{t[n]=e[n].toString()})),void super(e)}super(e)}}const Ok=Pk,Dk=(e,t)=>"string"==typeof e?e:e?.response?.errors?e.response.errors.map((e=>e.message)).join("\n"):Mk.isAxiosError(e)?e.response?.data?.detail||e.response?.data||e.message:e?.message?e.message:t||"Something went wrong.",Rk=()=>{const e=function(e){const{theme:t}=ki();return(0,i.useMemo)((()=>ly(t.direction,e)),[e,t.direction])}();return t=>{let{error:n,title:r,...i}=t;e({...i,status:"error",title:r||"Error",description:Dk(n).slice(0,500)})}},Lk=Qy("csrf_token"),Nk=Qy("dagrun_clear_url");const jk=Qy("csrf_token"),Fk=Qy("dagrun_queued_url");const zk=Qy("csrf_token"),Bk=Qy("dagrun_failed_url");const Vk=Qy("dagrun_success_url"),$k=Qy("csrf_token");const Hk=Qy("csrf_token"),Gk=Qy("clear_url");const Wk=Qy("failed_url"),Uk=Qy("csrf_token");const qk=Qy("csrf_token"),Xk=Qy("success_url");const Yk=Qy("extra_links_url");const Kk=Qy("confirm_url"),Zk=e=>{let{dagId:t,runId:n,taskId:r,state:i,isGroup:o,past:a,future:s,upstream:l,downstream:u,mapIndexes:c=[],enabled:f=!1}=e;return(0,py.useQuery)(["confirmStateChange",t,n,r,i,a,s,l,u,c],(()=>{const e=new Ok({dag_id:t,dag_run_id:n,past:a,future:s,upstream:l,downstream:u,state:i});return o?e.append("group_id",r):e.append("task_id",r),c.forEach((t=>{e.append("map_index",t.toString())})),Mk.get(Kk,{params:e})}),{enabled:f})},Qk="base_date",Jk="execution_date",eC="num_runs",tC="run_type",nC="run_state",rC="root",iC="filter_upstream",oC="filter_downstream",aC=new Date;aC.setMilliseconds(0);const sC=aC.toISOString(),lC=()=>{const[e,t]=Ne(),n=e.get(rC)||void 0,r=n?"true"===e.get(iC):void 0,i=n?"true"===e.get(oC):void 0,o=e.get(Qk)||e.get(Jk)||sC,a=e.get(eC)||defaultDagRunDisplayNumber.toString(),s=filtersOptions.runTypes,l=e.getAll(tC),u=filtersOptions.dagStates,c=e.getAll(nC),f=(n,r)=>i=>{const o=r?r(i):i,a=new Ok(e);o?a.set(n,o):a.delete(n),t(a)},h=(n,r)=>i=>{const o=new Ok(e);i.length===r.length||0===i.length?o.delete(n):(o.delete(n),i.forEach((e=>o.append(n,e)))),t(o)},d=f(Qk,(e=>moment(e).utc().format())),p=f(eC),g=h(tC,filtersOptions.runTypes),m=h(nC,filtersOptions.dagStates);return{filters:{root:n,filterUpstream:r,filterDownstream:i,baseDate:o,numRuns:a,runType:l,runTypeOptions:s,runState:c,runStateOptions:u},onBaseDateChange:d,onNumRunsChange:p,onRunTypeChange:g,onRunStateChange:m,onFilterTasksChange:o=>{let{root:a,filterUpstream:s,filterDownstream:l}=o;const u=new Ok(e);n===a&&s===r&&l===i?(u.delete(rC),u.delete(iC),u.delete(oC)):(u.set(rC,a),u.set(iC,s.toString()),u.set(oC,l.toString())),t(u)},clearFilters:()=>{e.delete(Qk),e.delete(tC),e.delete(nC),e.delete(Jk),t(e)},resetRoot:()=>{e.delete(rC),e.delete(iC),e.delete(oC),t(e)},transformArrayToMultiSelectOptions:e=>null===e?[]:e.map((e=>({label:e,value:e})))}},uC="dag_id",cC=Qy(uC),fC=Qy("graph_data_url"),hC=()=>{const{filters:{root:e,filterDownstream:t,filterUpstream:n}}=lC();return(0,py.useQuery)(["graphData",e,n,t],(async()=>{const r={[uC]:cC,[rC]:e,[iC]:n,[oC]:t};return Mk.get(fC,{params:r})}))},dC="limit",pC="offset",gC="sort.",mC="dag_run_id",bC="task_id",vC="map_index",yC=()=>{const[e,t]=Ne(),n=e.get(mC),r=e.get(bC),i=e.get(vC);return{selected:{runId:n,taskId:r,mapIndex:null!==i?parseInt(i,10):void 0},clearSelection:()=>{const n=new URLSearchParams(window.location.search);e.delete(mC),e.delete(bC),e.delete(vC),[...e.keys()].forEach((e=>{(e===pC||e===dC||e.includes(gC))&&n.delete(e)})),t(e)},onSelect:n=>{let{runId:r,taskId:i,mapIndex:o}=n;const a=new URLSearchParams(window.location.search);[...e.keys()].forEach((e=>{(e===pC||e===dC||e.includes(gC))&&a.delete(e)})),r?a.set(mC,r):a.delete(mC),i?a.set(bC,i):a.delete(bC),o||0===o?a.set(vC,o.toString()):a.delete(vC),t(a)}}},wC="dag_id",xC=Qy(wC),_C=Qy("grid_data_url"),SC={dagRuns:[],groups:{id:null,label:null,instances:[]},ordering:[],errors:[]},kC=e=>({...e,ordering:e.ordering.map((e=>(0,Yy.camelCase)(e)))}),CC=()=>{const{isRefreshOn:e,stopRefresh:t}=hw(),n=Rk(),{filters:{baseDate:r,numRuns:i,runType:o,runState:a,root:s,filterDownstream:l,filterUpstream:u},onBaseDateChange:c}=lC(),{onSelect:f,selected:{taskId:h,runId:d}}=yC(),p=(0,py.useQuery)(["gridData",r,i,o,a,s,u,l,d],(async()=>{const e={[rC]:s,[iC]:u,[oC]:l,[wC]:xC,[Qk]:r===sC?void 0:r,[eC]:i,[tC]:o,[nC]:a},p=await Mk.get(_C,{params:e});if(d&&!p.dagRuns.find((e=>e.runId===d))){const e=Qy("dag_run_url").replace("__DAG_ID__",xC).replace("__DAG_RUN_ID__",d);try{const t=await Mk.get(e);t?.executionDate&&c(t.executionDate)}catch(e){f({taskId:h})}}return function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).filter((e=>["queued","running"].includes(e.state))).length>0}(p.dagRuns)||t(),p.errors.length>0&&p.errors.forEach((e=>{const t=Error(e);n({title:"Error",error:t})})),p}),{refetchInterval:e&&1e3*(autoRefreshInterval||1),keepPreviousData:!0,onError:e=>{throw t(),n({title:"Auto-refresh Error",error:e}),e},select:kC});return{...p,data:p.data??SC}},EC=Qy("mapped_instances_api");var IC=a(9845),MC=a.n(IC);function TC(e,t){const n=document.createElement("canvas").getContext("2d");if(n){n.font=t;return n.measureText(e).width}return 9*e.length}const AC=e=>{switch(e){case"RL":return"LEFT";case"TB":return"DOWN";case"BT":return"UP";default:return"RIGHT"}},PC=(e,t,n)=>({id:`${e.sourceId}-${e.targetId}`,sources:[e.sourceId],targets:[e.targetId],isSetupTeardown:e.isSetupTeardown,parentNode:n?.id,isSourceDataset:e.isSourceDataset,labels:e.label?[{id:e.label,text:e.label,height:16,width:TC(e.label,t)}]:[]}),OC=e=>{let{edges:t=[],nodes:n,openGroupIds:r,arrange:i="LR"}=e;const{filters:{root:o,filterDownstream:a,filterUpstream:s}}=lC();return(0,py.useQuery)(["graphLayout",n?.children?.length,r,i,o,s,a],(async()=>{const e=`bold 16px ${window.getComputedStyle(document.body).fontFamily}`,o=new(MC()),a=await o.layout((e=>{let{nodes:t,edges:n,font:r,openGroupIds:i,arrange:o}=e;const a=[];let s=n;const l=e=>{let t=[];return e.forEach((e=>{if(t.push(e.id),e.children){const n=l(e.children);t=[...t,...n]}})),t},u=e=>{const{id:t,value:n,children:o}=e,c=i?.includes(t),f=o?.filter((e=>!e.id.includes("join_id"))).length||0,h=o?.length?l(o):[];if(c&&o?.length)return{...e,id:t,value:{...n,childCount:f,isOpen:!0},label:n.label,layoutOptions:{"elk.padding":"[top=80,left=15,bottom=15,right=15]"},children:o.map(u),edges:s.filter((e=>h.indexOf(e.sourceId)>-1&&h.indexOf(e.targetId)>-1&&(s=s.filter((t=>!(t.sourceId===e.sourceId&&t.targetId===e.targetId))),!0))).map((t=>PC(t,r,e)))};const d="or-gate"===e.value.class||"and-gate"===e.value.class,p=t.includes("join_id");!c&&o?.length&&(s=s.filter((e=>!(h.indexOf(e.sourceId)>-1&&h.indexOf(e.targetId)>-1))).map((t=>({...t,sourceId:h.indexOf(t.sourceId)>-1?e.id:t.sourceId,targetId:h.indexOf(t.targetId)>-1?e.id:t.targetId}))),a.push(t));const g=TC(n.isMapped?`${n.label} [100]`:n.label,r);let m=g>200?g:200,b=80;return p?(m=10,b=10):d&&(m=30,b=30),{id:t,label:n.label,value:{...n,isJoinNode:p,childCount:f},width:m,height:b}},c=t.map(u),f=s.map((e=>PC(e,r)));return{id:"root",layoutOptions:{hierarchyHandling:"INCLUDE_CHILDREN","elk.direction":AC(o),"spacing.edgeLabel":"10.0","elk.core.options.EdgeLabelPlacement":"CENTER"},children:c,edges:f}})({nodes:n?.children||[],edges:t,font:e,openGroupIds:r,arrange:i}));return a}))};const DC=e=>{let{datasetId:t,sourceDagId:n,sourceRunId:r,sourceTaskId:i,sourceMapIndex:o,limit:a,offset:s,orderBy:l,options:u}=e;const c=(0,py.useQuery)(["datasets-events",t,n,r,i,o,a,s,l],(()=>{const e=Qy("dataset_events_api"),u=new Ok;return a&&u.set("limit",a.toString()),s&&u.set("offset",s.toString()),l&&u.set("order_by",l),t&&u.set("dataset_id",t.toString()),n&&u.set("source_dag_id",n),r&&u.set("source_run_id",r),i&&u.set("source_task_id",i),o&&u.set("source_map_index",o.toString()),Mk.get(e,{params:u})}),{keepPreviousData:!0,...u});return{...c,data:c.data??{datasetEvents:[],totalEntries:0}}},RC=Qy("set_dag_run_note");const LC=Qy("set_task_instance_note"),NC=Qy("set_mapped_task_instance_note");const jC=e=>{let{dagId:t,dagRunId:n,options:r}=e;const i=(Qy("upstream_dataset_events_api")||`api/v1/dags/${t}/dagRuns/_DAG_RUN_ID_/upstreamDatasetEvents`).replace("_DAG_RUN_ID_",encodeURIComponent(n)),o=(0,py.useQuery)(["upstreamDatasetEvents",n],(()=>Mk.get(i)),r);return{...o,data:o.data??{datasetEvents:[],totalEntries:0}}},FC=Qy("task_instance_api"),zC=e=>{let{dagId:t,dagRunId:n,taskId:r,mapIndex:i,options:o}=e,a="";FC&&(a=FC.replace("_DAG_ID_",t).replace("_DAG_RUN_ID_",n).replace("_TASK_ID_",r)),void 0!==i&&i>=0&&(a+=`/${i.toString()}`);const{isRefreshOn:s}=hw();return(0,py.useQuery)(["taskInstance",t,n,r,i],(()=>Mk.get(a)),{refetchInterval:s&&1e3*(autoRefreshInterval||1),...o})},BC=Qy("task_dependency_api"),VC=Qy("mapped_task_dependency_api");const $C=Qy("dag_api"),HC=()=>(0,py.useQuery)(["dagQuery"],(()=>Mk.get($C)));const GC=Qy("dag_details_api"),WC=(e,t)=>({...e,...t}),UC=()=>{const{data:e}=HC(),t=(0,py.useQuery)(["dagDetailsQuery"],(()=>Mk.get(GC)),{enabled:!!e});return{...t,data:WC(e||{},t.data?t.data:{})}};Qy("health_url"),Qy("pools_url"),Qy("dags_url"),Qy("historical_metrics_data_url");const qC="dag_id",XC=Qy(qC),YC=Qy("calendar_data_url"),KC=()=>(0,py.useQuery)(["calendarData"],(async()=>{const e={[qC]:XC};return Mk.get(YC,{params:e})}));Qy("create_dataset_event_api");const ZC=Qy("rendered_k8s_data_url"),QC=(e,t,n)=>(0,py.useQuery)(["rendered_k8s",e,t,n],(async()=>Mk.get(ZC,{params:{run_id:e,task_id:t,map_index:n}})),{enabled:!!e&&!!t}),JC=Qy("task_detail_api");function eE(e){let{dagId:t,dagRunId:n,taskId:r,mapIndex:i,options:o}=e;const{isRefreshOn:a}=hw();return(0,py.useQuery)(["tiHistory",t,n,r,i],(()=>{let e=Qy("task_tries_api").replace("_DAG_ID_",t).replace("_DAG_RUN_ID_",n).replace("_TASK_ID_",r);return void 0!==i&&i>-1&&(e=e.replace("/tries",`/${i}/tries`)),Mk.get(e)}),{refetchInterval:a&&1e3*(autoRefreshInterval||1),...o})}Mk.interceptors.request.use((e=>(e.paramsSerializer={indexes:null},e))),Mk.interceptors.response.use((e=>{const t=["rendered_fields","extra","dataset_events.extra"];return e.config.url?.includes("/xcomEntries/")&&t.push("value"),e.data?Ak()(e.data,{deep:!0,stopPaths:t}):e})),Mk.defaults.headers.common.Accept="application/json";var tE=function(e){return"undefined"==typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body},nE=new WeakMap,rE=new WeakMap,iE={},oE=0,aE=function(e){return e&&(e.host||aE(e.parentNode))},sE=function(e,t,n,r){var i=function(e,t){return t.map((function(t){if(e.contains(t))return t;var n=aE(t);return n&&e.contains(n)?n:(console.error("aria-hidden",t,"in not contained inside",e,". Doing nothing"),null)})).filter((function(e){return Boolean(e)}))}(t,Array.isArray(e)?e:[e]);iE[n]||(iE[n]=new WeakMap);var o=iE[n],a=[],s=new Set,l=new Set(i),u=function(e){e&&!s.has(e)&&(s.add(e),u(e.parentNode))};i.forEach(u);var c=function(e){e&&!l.has(e)&&Array.prototype.forEach.call(e.children,(function(e){if(s.has(e))c(e);else{var t=e.getAttribute(r),i=null!==t&&"false"!==t,l=(nE.get(e)||0)+1,u=(o.get(e)||0)+1;nE.set(e,l),o.set(e,u),a.push(e),1===l&&i&&rE.set(e,!0),1===u&&e.setAttribute(n,"true"),i||e.setAttribute(r,"true")}}))};return c(t),s.clear(),oE++,function(){a.forEach((function(e){var t=nE.get(e)-1,i=o.get(e)-1;nE.set(e,t),o.set(e,i),t||(rE.has(e)||e.removeAttribute(r),rE.delete(e)),i||e.removeAttribute(n)})),--oE||(nE=new WeakMap,nE=new WeakMap,rE=new WeakMap,iE={})}},lE=function(e,t,n){void 0===n&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),i=t||tE(e);return i?(r.push.apply(r,Array.from(i.querySelectorAll("[aria-live]"))),sE(r,i,n,"aria-hidden")):function(){return null}};function uE(){return uE=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},uE.apply(this,arguments)}var cE="data-focus-lock",fE="data-focus-lock-disabled";function hE(e,t){return n=t||null,r=function(t){return e.forEach((function(e){return function(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}(e,t)}))},o=(0,i.useState)((function(){return{value:n,callback:r,facade:{get current(){return o.value},set current(e){var t=o.value;t!==e&&(o.value=e,o.callback(e,t))}}}}))[0],o.callback=r,o.facade;var n,r,o}var dE={width:"1px",height:"0px",padding:0,overflow:"hidden",position:"fixed",top:"1px",left:"1px"},pE=function(e){var t=e.children;return i.createElement(i.Fragment,null,i.createElement("div",{key:"guard-first","data-focus-guard":!0,"data-focus-auto-guard":!0,style:dE}),t,t&&i.createElement("div",{key:"guard-last","data-focus-guard":!0,"data-focus-auto-guard":!0,style:dE}))};pE.propTypes={},pE.defaultProps={children:null};var gE=function(){return gE=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},gE.apply(this,arguments)};Object.create;Object.create;function mE(e){return e}function bE(e,t){void 0===t&&(t=mE);var n=[],r=!1,i={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(e){var i=t(e,r);return n.push(i),function(){n=n.filter((function(e){return e!==i}))}},assignSyncMedium:function(e){for(r=!0;n.length;){var t=n;n=[],t.forEach(e)}n={push:function(t){return e(t)},filter:function(){return n}}},assignMedium:function(e){r=!0;var t=[];if(n.length){var i=n;n=[],i.forEach(e),t=n}var o=function(){var n=t;t=[],n.forEach(e)},a=function(){return Promise.resolve().then(o)};a(),n={push:function(e){t.push(e),a()},filter:function(e){return t=t.filter(e),n}}}};return i}function vE(e,t){return void 0===t&&(t=mE),bE(e,t)}function yE(e){void 0===e&&(e={});var t=bE(null);return t.options=gE({async:!0,ssr:!1},e),t}var wE=vE({},(function(e){return{target:e.target,currentTarget:e.currentTarget}})),xE=vE(),_E=vE(),SE=yE({async:!0}),kE=[],CE=i.forwardRef((function(e,t){var n,r=i.useState(),o=r[0],a=r[1],s=i.useRef(),l=i.useRef(!1),u=i.useRef(null),c=e.children,f=e.disabled,h=e.noFocusGuards,d=e.persistentFocus,p=e.crossFrame,g=e.autoFocus,m=(e.allowTextSelection,e.group),b=e.className,v=e.whiteList,y=e.hasPositiveIndices,w=e.shards,x=void 0===w?kE:w,_=e.as,S=void 0===_?"div":_,k=e.lockProps,C=void 0===k?{}:k,E=e.sideCar,I=e.returnFocus,M=e.focusOptions,T=e.onActivation,A=e.onDeactivation,P=i.useState({})[0],O=i.useCallback((function(){u.current=u.current||document&&document.activeElement,s.current&&T&&T(s.current),l.current=!0}),[T]),D=i.useCallback((function(){l.current=!1,A&&A(s.current)}),[A]);(0,i.useEffect)((function(){f||(u.current=null)}),[]);var R=i.useCallback((function(e){var t=u.current;if(t&&t.focus){var n="function"==typeof I?I(t):I;if(n){var r="object"==typeof n?n:void 0;u.current=null,e?Promise.resolve().then((function(){return t.focus(r)})):t.focus(r)}}}),[I]),L=i.useCallback((function(e){l.current&&wE.useMedium(e)}),[]),N=xE.useMedium,j=i.useCallback((function(e){s.current!==e&&(s.current=e,a(e))}),[]);var F=uE(((n={})[fE]=f&&"disabled",n[cE]=m,n),C),z=!0!==h,B=z&&"tail"!==h,V=hE([t,j]);return i.createElement(i.Fragment,null,z&&[i.createElement("div",{key:"guard-first","data-focus-guard":!0,tabIndex:f?-1:0,style:dE}),y?i.createElement("div",{key:"guard-nearest","data-focus-guard":!0,tabIndex:f?-1:1,style:dE}):null],!f&&i.createElement(E,{id:P,sideCar:SE,observed:o,disabled:f,persistentFocus:d,crossFrame:p,autoFocus:g,whiteList:v,shards:x,onActivation:O,onDeactivation:D,returnFocus:R,focusOptions:M}),i.createElement(S,uE({ref:V},F,{className:b,onBlur:N,onFocus:L}),c),B&&i.createElement("div",{"data-focus-guard":!0,tabIndex:f?-1:0,style:dE}))}));CE.propTypes={},CE.defaultProps={children:void 0,disabled:!1,returnFocus:!1,focusOptions:void 0,noFocusGuards:!1,autoFocus:!0,persistentFocus:!1,crossFrame:!0,hasPositiveIndices:void 0,allowTextSelection:void 0,group:void 0,className:void 0,whiteList:void 0,shards:void 0,as:"div",lockProps:{},onActivation:void 0,onDeactivation:void 0};const EE=CE;function IE(e,t){return IE=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},IE(e,t)}const ME=function(e,t){return function(n){var r,o=[];function a(){r=e(o.map((function(e){return e.props}))),t(r)}var s=function(e){var t,s;function l(){return e.apply(this,arguments)||this}s=e,(t=l).prototype=Object.create(s.prototype),t.prototype.constructor=t,IE(t,s),l.peek=function(){return r};var u=l.prototype;return u.componentDidMount=function(){o.push(this),a()},u.componentDidUpdate=function(){a()},u.componentWillUnmount=function(){var e=o.indexOf(this);o.splice(e,1),a()},u.render=function(){return i.createElement(n,this.props)},l}(i.PureComponent);return function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}(s,"displayName","SideEffect("+function(e){return e.displayName||e.name||"Component"}(n)+")"),s}};var TE=function(e){for(var t=Array(e.length),n=0;n<e.length;++n)t[n]=e[n];return t},AE=function(e){return Array.isArray(e)?e:[e]},PE=function(e){return Array.isArray(e)?e[0]:e},OE=function(e){return e.parentNode&&e.parentNode.nodeType===Node.DOCUMENT_FRAGMENT_NODE?e.parentNode.host:e.parentNode},DE=function(e){return e===document||e&&e.nodeType===Node.DOCUMENT_NODE},RE=function(e,t){return!e||DE(e)||!function(e){if(e.nodeType!==Node.ELEMENT_NODE)return!1;var t=window.getComputedStyle(e,null);return!(!t||!t.getPropertyValue||"none"!==t.getPropertyValue("display")&&"hidden"!==t.getPropertyValue("visibility"))}(e)&&t(OE(e))},LE=function(e,t){var n=e.get(t);if(void 0!==n)return n;var r=RE(t,LE.bind(void 0,e));return e.set(t,r),r},NE=function(e,t){var n=e.get(t);if(void 0!==n)return n;var r=function(e,t){return!(e&&!DE(e))||!!BE(e)&&t(OE(e))}(t,NE.bind(void 0,e));return e.set(t,r),r},jE=function(e){return e.dataset},FE=function(e){return"INPUT"===e.tagName},zE=function(e){return FE(e)&&"radio"===e.type},BE=function(e){var t=e.getAttribute("data-no-autofocus");return![!0,"true",""].includes(t)},VE=function(e){var t;return Boolean(e&&(null===(t=jE(e))||void 0===t?void 0:t.focusGuard))},$E=function(e){return!VE(e)},HE=function(e){return Boolean(e)},GE=function(e,t){var n=e.tabIndex-t.tabIndex,r=e.index-t.index;if(n){if(!e.tabIndex)return 1;if(!t.tabIndex)return-1}return n||r},WE=function(e,t,n){return TE(e).map((function(e,t){return{node:e,index:t,tabIndex:n&&-1===e.tabIndex?(e.dataset||{}).focusGuard?0:-1:e.tabIndex}})).filter((function(e){return!t||e.tabIndex>=0})).sort(GE)},UE=["button:enabled","select:enabled","textarea:enabled","input:enabled","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]","[tabindex]","[contenteditable]","[autofocus]"].join(","),qE="".concat(UE,", [data-focus-guard]"),XE=function(e,t){return TE((e.shadowRoot||e).children).reduce((function(e,n){return e.concat(n.matches(t?qE:UE)?[n]:[],XE(n))}),[])},YE=function(e,t){return e.reduce((function(e,n){var r,i=XE(n,t),o=(r=[]).concat.apply(r,i.map((function(e){return function(e,t){var n;return e instanceof HTMLIFrameElement&&(null===(n=e.contentDocument)||void 0===n?void 0:n.body)?YE([e.contentDocument.body],t):[e]}(e,t)})));return e.concat(o,n.parentNode?TE(n.parentNode.querySelectorAll(UE)).filter((function(e){return e===n})):[])}),[])},KE=function(e,t){return TE(e).filter((function(e){return LE(t,e)})).filter((function(e){return function(e){return!((FE(e)||function(e){return"BUTTON"===e.tagName}(e))&&("hidden"===e.type||e.disabled))}(e)}))},ZE=function(e,t){return void 0===t&&(t=new Map),TE(e).filter((function(e){return NE(t,e)}))},QE=function(e,t,n){return WE(KE(YE(e,n),t),!0,n)},JE=function(e,t){return WE(KE(YE(e),t),!1)},eI=function(e,t){return KE((n=e.querySelectorAll("[".concat("data-autofocus-inside","]")),TE(n).map((function(e){return YE([e])})).reduce((function(e,t){return e.concat(t)}),[])),t);var n},tI=function(e,t){return e.shadowRoot?tI(e.shadowRoot,t):!(void 0===Object.getPrototypeOf(e).contains||!Object.getPrototypeOf(e).contains.call(e,t))||TE(e.children).some((function(e){var n;if(e instanceof HTMLIFrameElement){var r=null===(n=e.contentDocument)||void 0===n?void 0:n.body;return!!r&&tI(r,t)}return tI(e,t)}))},nI=function(e){if(void 0===e&&(e=document),e&&e.activeElement){var t=e.activeElement;return t.shadowRoot?nI(t.shadowRoot):t instanceof HTMLIFrameElement&&function(e){try{return e()}catch(e){return}}((function(){return t.contentWindow.document}))?nI(t.contentWindow.document):t}},rI=function(e){return e.parentNode?rI(e.parentNode):e},iI=function(e){return AE(e).filter(Boolean).reduce((function(e,t){var n=t.getAttribute(cE);return e.push.apply(e,n?function(e){for(var t=new Set,n=e.length,r=0;r<n;r+=1)for(var i=r+1;i<n;i+=1){var o=e[r].compareDocumentPosition(e[i]);(o&Node.DOCUMENT_POSITION_CONTAINED_BY)>0&&t.add(i),(o&Node.DOCUMENT_POSITION_CONTAINS)>0&&t.add(r)}return e.filter((function(e,n){return!t.has(n)}))}(TE(rI(t).querySelectorAll("[".concat(cE,'="').concat(n,'"]:not([').concat(fE,'="disabled"])')))):[t]),e}),[])},oI=function(e,t){return void 0===t&&(t=nI(PE(e).ownerDocument)),!(!t||t.dataset&&t.dataset.focusGuard)&&iI(e).some((function(e){return tI(e,t)||function(e,t){return Boolean(TE(e.querySelectorAll("iframe")).some((function(e){return function(e,t){return e===t}(e,t)})))}(e,t)}))},aI=function(e,t){return zE(e)&&e.name?function(e,t){return t.filter(zE).filter((function(t){return t.name===e.name})).filter((function(e){return e.checked}))[0]||e}(e,t):e},sI=function(e){return e[0]&&e.length>1?aI(e[0],e):e[0]},lI=function(e,t){return e.length>1?e.indexOf(aI(e[t],e)):t},uI="NEW_FOCUS",cI=function(e,t,n,r){var i=e.length,o=e[0],a=e[i-1],s=VE(n);if(!(n&&e.indexOf(n)>=0)){var l=void 0!==n?t.indexOf(n):-1,u=r?t.indexOf(r):l,c=r?e.indexOf(r):-1,f=l-u,h=t.indexOf(o),d=t.indexOf(a),p=function(e){var t=new Set;return e.forEach((function(n){return t.add(aI(n,e))})),e.filter((function(e){return t.has(e)}))}(t),g=(void 0!==n?p.indexOf(n):-1)-(r?p.indexOf(r):l),m=lI(e,0),b=lI(e,i-1);return-1===l||-1===c?uI:!f&&c>=0?c:l<=h&&s&&Math.abs(f)>1?b:l>=d&&s&&Math.abs(f)>1?m:f&&Math.abs(g)>1?c:l<=h?b:l>d?m:f?Math.abs(f)>1?c:(i+c+f)%i:void 0}},fI=function(e,t,n){var r,i=e.map((function(e){return e.node})),o=ZE(i.filter((r=n,function(e){var t,n=null===(t=jE(e))||void 0===t?void 0:t.autofocus;return e.autofocus||void 0!==n&&"false"!==n||r.indexOf(e)>=0})));return o&&o.length?sI(o):sI(ZE(t))},hI=function(e,t){return void 0===t&&(t=[]),t.push(e),e.parentNode&&hI(e.parentNode.host||e.parentNode,t),t},dI=function(e,t){for(var n=hI(e),r=hI(t),i=0;i<n.length;i+=1){var o=n[i];if(r.indexOf(o)>=0)return o}return!1},pI=function(e,t,n){var r=AE(e),i=AE(t),o=r[0],a=!1;return i.filter(Boolean).forEach((function(e){a=dI(a||e,e)||a,n.filter(Boolean).forEach((function(e){var t=dI(o,e);t&&(a=!a||tI(t,a)?t:dI(t,a))}))})),a},gI=function(e,t){var n=nI(AE(e).length>0?document:PE(e).ownerDocument),r=iI(e).filter($E),i=pI(n||e,e,r),o=new Map,a=JE(r,o),s=QE(r,o).filter((function(e){var t=e.node;return $E(t)}));if(s[0]||(s=a)[0]){var l,u,c,f=JE([i],o).map((function(e){return e.node})),h=(l=f,u=s,c=new Map,u.forEach((function(e){return c.set(e.node,e)})),l.map((function(e){return c.get(e)})).filter(HE)),d=h.map((function(e){return e.node})),p=cI(d,f,n,t);if(p===uI){var g=fI(a,d,function(e,t){return e.reduce((function(e,n){return e.concat(eI(n,t))}),[])}(r,o));return g?{node:g}:void console.warn("focus-lock: cannot find any node to move focus into")}return void 0===p?p:h[p]}},mI=0,bI=!1;const vI=function(e,t,n){void 0===n&&(n={});var r,i,o=gI(e,t);if(!bI&&o){if(mI>2)return console.error("FocusLock: focus-fighting detected. Only one focus management system could be active. See https://github.com/theKashey/focus-lock/#focus-fighting"),bI=!0,void setTimeout((function(){bI=!1}),1);mI++,r=o.node,i=n.focusOptions,"focus"in r&&r.focus(i),"contentWindow"in r&&r.contentWindow&&r.contentWindow.focus(),mI--}};var yI=function(e){var t=iI(e).filter($E),n=pI(e,e,t),r=new Map,i=QE([n],r,!0),o=QE(t,r).filter((function(e){var t=e.node;return $E(t)})).map((function(e){return e.node}));return i.map((function(e){var t=e.node;return{node:t,index:e.index,lockItem:o.indexOf(t)>=0,guard:VE(t)}}))};function wI(e){var t=window.setImmediate;void 0!==t?t(e):setTimeout(e,1)}var xI=function(){return document&&document.activeElement===document.body||function(e){void 0===e&&(e=document);var t=nI(e);return!!t&&TE(e.querySelectorAll("[".concat("data-no-focus-lock","]"))).some((function(e){return tI(e,t)}))}()},_I=null,SI=null,kI=null,CI=!1,EI=function(){return!0};function II(e,t,n,r){var i=null,o=e;do{var a=r[o];if(a.guard)a.node.dataset.focusAutoGuard&&(i=a);else{if(!a.lockItem)break;if(o!==e)return;i=null}}while((o+=n)!==t);i&&(i.node.tabIndex=0)}var MI=function(e){return e&&"current"in e?e.current:e},TI=function e(t,n,r){return n&&(n.host===t&&(!n.activeElement||r.contains(n.activeElement))||n.parentNode&&e(t,n.parentNode,r))},AI=function(){var e,t=!1;if(_I){var n=_I,r=n.observed,i=n.persistentFocus,o=n.autoFocus,a=n.shards,s=n.crossFrame,l=n.focusOptions,u=r||kI&&kI.portaledElement,c=document&&document.activeElement;if(u){var f=[u].concat(a.map(MI).filter(Boolean));if(c&&!function(e){return(_I.whiteList||EI)(e)}(c)||(i||(s?Boolean(CI):"meanwhile"===CI)||!xI()||!SI&&o)&&(u&&!(oI(f)||c&&function(e,t){return t.some((function(t){return TI(e,t,t)}))}(c,f)||(e=c,kI&&kI.portaledElement===e))&&(document&&!SI&&c&&!o?(c.blur&&c.blur(),document.body.focus()):(t=vI(f,SI,{focusOptions:l}),kI={})),CI=!1,SI=document&&document.activeElement),document){var h=document&&document.activeElement,d=yI(f),p=d.map((function(e){return e.node})).indexOf(h);p>-1&&(d.filter((function(e){var t=e.guard,n=e.node;return t&&n.dataset.focusAutoGuard})).forEach((function(e){return e.node.removeAttribute("tabIndex")})),II(p,d.length,1,d),II(p,-1,-1,d))}}}return t},PI=function(e){AI()&&e&&(e.stopPropagation(),e.preventDefault())},OI=function(){return wI(AI)},DI=function(e){var t=e.target,n=e.currentTarget;n.contains(t)||(kI={observerNode:n,portaledElement:t})},RI=function(){CI="just",setTimeout((function(){CI="meanwhile"}),0)};wE.assignSyncMedium(DI),xE.assignMedium(OI),_E.assignMedium((function(e){return e({moveFocusInside:vI,focusInside:oI})}));const LI=ME((function(e){return e.filter((function(e){return!e.disabled}))}),(function(e){var t=e.slice(-1)[0];t&&!_I&&(document.addEventListener("focusin",PI),document.addEventListener("focusout",OI),window.addEventListener("blur",RI));var n=_I,r=n&&t&&t.id===n.id;_I=t,n&&!r&&(n.onDeactivation(),e.filter((function(e){return e.id===n.id})).length||n.returnFocus(!t)),t?(SI=null,r&&n.observed===t.observed||t.onActivation(),AI(),wI(AI)):(document.removeEventListener("focusin",PI),document.removeEventListener("focusout",OI),window.removeEventListener("blur",RI),SI=null)}))((function(){return null}));var NI=i.forwardRef((function(e,t){return i.createElement(EE,uE({sideCar:LI,ref:t},e))})),jI=EE.propTypes||{};jI.sideCar,function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n])}(jI,["sideCar"]);NI.propTypes={};const FI=NI;function zI(e){return null!=e&&"object"==typeof e&&"nodeType"in e&&e.nodeType===Node.ELEMENT_NODE}function BI(e){if(!zI(e))return!1;return e instanceof(e.ownerDocument.defaultView??window).HTMLElement}function VI(e){return zI(e)?e.ownerDocument:document}var $I=e=>e.hasAttribute("tabindex");function HI(e){return!(!e.parentElement||!HI(e.parentElement))||e.hidden}function GI(e){if(!BI(e)||HI(e)||function(e){return!0===Boolean(e.getAttribute("disabled"))||!0===Boolean(e.getAttribute("aria-disabled"))}(e))return!1;const{localName:t}=e;if(["input","select","textarea","button"].indexOf(t)>=0)return!0;const n={a:()=>e.hasAttribute("href"),audio:()=>e.hasAttribute("controls"),video:()=>e.hasAttribute("controls")};return t in n?n[t]():!!function(e){const t=e.getAttribute("contenteditable");return"false"!==t&&null!=t}(e)||$I(e)}function WI(e){return!!e&&(BI(e)&&GI(e)&&!(e=>$I(e)&&-1===e.tabIndex)(e))}var UI=["input:not(:disabled):not([disabled])","select:not(:disabled):not([disabled])","textarea:not(:disabled):not([disabled])","embed","iframe","object","a[href]","area[href]","button:not(:disabled):not([disabled])","[tabindex]","audio[controls]","video[controls]","*[tabindex]:not([aria-disabled])","*[contenteditable]"].join();function qI(e){const t=Array.from(e.querySelectorAll(UI));return t.unshift(e),t.filter((e=>GI(e)&&(e=>e.offsetWidth>0&&e.offsetHeight>0)(e)))}var XI=e=>{const{initialFocusRef:t,finalFocusRef:n,contentRef:r,restoreFocus:o,children:a,isDisabled:s,autoFocus:l,persistentFocus:u,lockFocusAcrossFrames:c}=e,f=(0,i.useCallback)((()=>{if(null==t?void 0:t.current)t.current.focus();else if(null==r?void 0:r.current){0===qI(r.current).length&&requestAnimationFrame((()=>{var e;null==(e=r.current)||e.focus()}))}}),[t,r]),h=(0,i.useCallback)((()=>{var e;null==(e=null==n?void 0:n.current)||e.focus()}),[n]),d=o&&!n;return i.createElement(FI,{crossFrame:c,persistentFocus:u,autoFocus:l,disabled:s,onActivation:f,onDeactivation:h,returnFocus:d},a)};XI.displayName="FocusLock";var YI="right-scroll-bar-position",KI="width-before-scroll-bar",ZI=yE(),QI=function(){},JI=i.forwardRef((function(e,t){var n=i.useRef(null),r=i.useState({onScrollCapture:QI,onWheelCapture:QI,onTouchMoveCapture:QI}),o=r[0],a=r[1],s=e.forwardProps,l=e.children,u=e.className,c=e.removeScrollBar,f=e.enabled,h=e.shards,d=e.sideCar,p=e.noIsolation,g=e.inert,m=e.allowPinchZoom,b=e.as,v=void 0===b?"div":b,y=lf(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),w=d,x=hE([n,t]),_=sf(sf({},y),o);return i.createElement(i.Fragment,null,f&&i.createElement(w,{sideCar:ZI,removeScrollBar:c,shards:h,noIsolation:p,inert:g,setCallbacks:a,allowPinchZoom:!!m,lockRef:n}),s?i.cloneElement(i.Children.only(l),sf(sf({},_),{ref:x})):i.createElement(v,sf({},_,{className:u,ref:x}),l))}));JI.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},JI.classNames={fullWidth:KI,zeroRight:YI};var eM,tM=function(e){var t=e.sideCar,n=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n}(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw new Error("Sidecar medium not found");return i.createElement(r,gE({},n))};tM.isSideCarExport=!0;function nM(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=eM||a.nc;return t&&e.setAttribute("nonce",t),e}var rM=function(){var e=0,t=null;return{add:function(n){var r;0==e&&(t=nM())&&(!function(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}(t,n),r=t,(document.head||document.getElementsByTagName("head")[0]).appendChild(r)),e++},remove:function(){!--e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},iM=function(){var e,t=(e=rM(),function(t,n){i.useEffect((function(){return e.add(t),function(){e.remove()}}),[t&&n])});return function(e){var n=e.styles,r=e.dynamic;return t(n,r),null}},oM={left:0,top:0,right:0,gap:0},aM=function(e){return parseInt(e||"",10)||0},sM=function(e){if(void 0===e&&(e="margin"),"undefined"==typeof window)return oM;var t=function(e){var t=window.getComputedStyle(document.body),n=t["padding"===e?"paddingLeft":"marginLeft"],r=t["padding"===e?"paddingTop":"marginTop"],i=t["padding"===e?"paddingRight":"marginRight"];return[aM(n),aM(r),aM(i)]}(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},lM=iM(),uM=function(e,t,n,r){var i=e.left,o=e.top,a=e.right,s=e.gap;return void 0===n&&(n="margin"),"\n .".concat("with-scroll-bars-hidden"," {\n overflow: hidden ").concat(r,";\n padding-right: ").concat(s,"px ").concat(r,";\n }\n body {\n overflow: hidden ").concat(r,";\n overscroll-behavior: contain;\n ").concat([t&&"position: relative ".concat(r,";"),"margin"===n&&"\n padding-left: ".concat(i,"px;\n padding-top: ").concat(o,"px;\n padding-right: ").concat(a,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(s,"px ").concat(r,";\n "),"padding"===n&&"padding-right: ".concat(s,"px ").concat(r,";")].filter(Boolean).join(""),"\n }\n \n .").concat(YI," {\n right: ").concat(s,"px ").concat(r,";\n }\n \n .").concat(KI," {\n margin-right: ").concat(s,"px ").concat(r,";\n }\n \n .").concat(YI," .").concat(YI," {\n right: 0 ").concat(r,";\n }\n \n .").concat(KI," .").concat(KI," {\n margin-right: 0 ").concat(r,";\n }\n \n body {\n ").concat("--removed-body-scroll-bar-size",": ").concat(s,"px;\n }\n")},cM=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=void 0===r?"margin":r,a=i.useMemo((function(){return sM(o)}),[o]);return i.createElement(lM,{styles:uM(a,!t,o,n?"":"!important")})},fM=!1;if("undefined"!=typeof window)try{var hM=Object.defineProperty({},"passive",{get:function(){return fM=!0,!0}});window.addEventListener("test",hM,hM),window.removeEventListener("test",hM,hM)}catch(e){fM=!1}var dM=!!fM&&{passive:!1},pM=function(e,t){var n=window.getComputedStyle(e);return"hidden"!==n[t]&&!(n.overflowY===n.overflowX&&!function(e){return"TEXTAREA"===e.tagName}(e)&&"visible"===n[t])},gM=function(e,t){var n=t;do{if("undefined"!=typeof ShadowRoot&&n instanceof ShadowRoot&&(n=n.host),mM(e,n)){var r=bM(e,n);if(r[1]>r[2])return!0}n=n.parentNode}while(n&&n!==document.body);return!1},mM=function(e,t){return"v"===e?function(e){return pM(e,"overflowY")}(t):function(e){return pM(e,"overflowX")}(t)},bM=function(e,t){return"v"===e?function(e){return[e.scrollTop,e.scrollHeight,e.clientHeight]}(t):function(e){return[e.scrollLeft,e.scrollWidth,e.clientWidth]}(t)},vM=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},yM=function(e){return[e.deltaX,e.deltaY]},wM=function(e){return e&&"current"in e?e.current:e},xM=function(e){return"\n .block-interactivity-".concat(e," {pointer-events: none;}\n .allow-interactivity-").concat(e," {pointer-events: all;}\n")},_M=0,SM=[];const kM=(CM=function(e){var t=i.useRef([]),n=i.useRef([0,0]),r=i.useRef(),o=i.useState(_M++)[0],a=i.useState((function(){return iM()}))[0],s=i.useRef(e);i.useEffect((function(){s.current=e}),[e]),i.useEffect((function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var t=ff([e.lockRef.current],(e.shards||[]).map(wM),!0).filter(Boolean);return t.forEach((function(e){return e.classList.add("allow-interactivity-".concat(o))})),function(){document.body.classList.remove("block-interactivity-".concat(o)),t.forEach((function(e){return e.classList.remove("allow-interactivity-".concat(o))}))}}}),[e.inert,e.lockRef.current,e.shards]);var l=i.useCallback((function(e,t){if("touches"in e&&2===e.touches.length)return!s.current.allowPinchZoom;var i,o=vM(e),a=n.current,l="deltaX"in e?e.deltaX:a[0]-o[0],u="deltaY"in e?e.deltaY:a[1]-o[1],c=e.target,f=Math.abs(l)>Math.abs(u)?"h":"v";if("touches"in e&&"h"===f&&"range"===c.type)return!1;var h=gM(f,c);if(!h)return!0;if(h?i=f:(i="v"===f?"h":"v",h=gM(f,c)),!h)return!1;if(!r.current&&"changedTouches"in e&&(l||u)&&(r.current=i),!i)return!0;var d=r.current||i;return function(e,t,n,r,i){var o=function(e,t){return"h"===e&&"rtl"===t?-1:1}(e,window.getComputedStyle(t).direction),a=o*r,s=n.target,l=t.contains(s),u=!1,c=a>0,f=0,h=0;do{var d=bM(e,s),p=d[0],g=d[1]-d[2]-o*p;(p||g)&&mM(e,s)&&(f+=g,h+=p),s=s.parentNode}while(!l&&s!==document.body||l&&(t.contains(s)||t===s));return(c&&(i&&0===f||!i&&a>f)||!c&&(i&&0===h||!i&&-a>h))&&(u=!0),u}(d,t,e,"h"===d?l:u,!0)}),[]),u=i.useCallback((function(e){var n=e;if(SM.length&&SM[SM.length-1]===a){var r="deltaY"in n?yM(n):vM(n),i=t.current.filter((function(e){return e.name===n.type&&e.target===n.target&&(t=e.delta,i=r,t[0]===i[0]&&t[1]===i[1]);var t,i}))[0];if(i&&i.should)n.cancelable&&n.preventDefault();else if(!i){var o=(s.current.shards||[]).map(wM).filter(Boolean).filter((function(e){return e.contains(n.target)}));(o.length>0?l(n,o[0]):!s.current.noIsolation)&&n.cancelable&&n.preventDefault()}}}),[]),c=i.useCallback((function(e,n,r,i){var o={name:e,delta:n,target:r,should:i};t.current.push(o),setTimeout((function(){t.current=t.current.filter((function(e){return e!==o}))}),1)}),[]),f=i.useCallback((function(e){n.current=vM(e),r.current=void 0}),[]),h=i.useCallback((function(t){c(t.type,yM(t),t.target,l(t,e.lockRef.current))}),[]),d=i.useCallback((function(t){c(t.type,vM(t),t.target,l(t,e.lockRef.current))}),[]);i.useEffect((function(){return SM.push(a),e.setCallbacks({onScrollCapture:h,onWheelCapture:h,onTouchMoveCapture:d}),document.addEventListener("wheel",u,dM),document.addEventListener("touchmove",u,dM),document.addEventListener("touchstart",f,dM),function(){SM=SM.filter((function(e){return e!==a})),document.removeEventListener("wheel",u,dM),document.removeEventListener("touchmove",u,dM),document.removeEventListener("touchstart",f,dM)}}),[]);var p=e.removeScrollBar,g=e.inert;return i.createElement(i.Fragment,null,g?i.createElement(a,{styles:xM(o)}):null,p?i.createElement(cM,{gapMode:"margin"}):null)},ZI.useMedium(CM),tM);var CM,EM=i.forwardRef((function(e,t){return i.createElement(JI,sf({},e,{ref:t,sideCar:kM}))}));EM.classNames=JI.classNames;const IM=EM;var MM=(...e)=>e.filter(Boolean).join(" ");function TM(...e){return function(t){e.some((e=>(null==e||e(t),null==t?void 0:t.defaultPrevented)))}}var AM=new class{modals;constructor(){this.modals=[]}add(e){this.modals.push(e)}remove(e){this.modals=this.modals.filter((t=>t!==e))}isTopModal(e){return this.modals[this.modals.length-1]===e}};function PM(e){const{isOpen:t,onClose:n,id:r,closeOnOverlayClick:o=!0,closeOnEsc:a=!0,useInert:s=!0,onOverlayClick:l,onEsc:u}=e,c=(0,i.useRef)(null),f=(0,i.useRef)(null),[h,d,p]=function(e,...t){const n=(0,i.useId)(),r=e||n;return(0,i.useMemo)((()=>t.map((e=>`${e}-${r}`))),[r,t])}(r,"chakra-modal","chakra-modal--header","chakra-modal--body");!function(e,t){const n=e.current;(0,i.useEffect)((()=>{if(e.current&&t)return lE(e.current)}),[t,e,n])}(c,t&&s),function(e,t){(0,i.useEffect)((()=>(t&&AM.add(e),()=>{AM.remove(e)})),[t,e])}(c,t);const g=(0,i.useRef)(null),m=(0,i.useCallback)((e=>{g.current=e.target}),[]),b=(0,i.useCallback)((e=>{"Escape"===e.key&&(e.stopPropagation(),a&&(null==n||n()),null==u||u())}),[a,n,u]),[v,y]=(0,i.useState)(!1),[w,x]=(0,i.useState)(!1),_=(0,i.useCallback)(((e={},t=null)=>({role:"dialog",...e,ref:fx(t,c),id:h,tabIndex:-1,"aria-modal":!0,"aria-labelledby":v?d:void 0,"aria-describedby":w?p:void 0,onClick:TM(e.onClick,(e=>e.stopPropagation()))})),[p,w,h,d,v]),S=(0,i.useCallback)((e=>{e.stopPropagation(),g.current===e.target&&AM.isTopModal(c)&&(o&&(null==n||n()),null==l||l())}),[n,o,l]),k=(0,i.useCallback)(((e={},t=null)=>({...e,ref:fx(t,f),onClick:TM(e.onClick,S),onKeyDown:TM(e.onKeyDown,b),onMouseDown:TM(e.onMouseDown,m)})),[b,m,S]);return{isOpen:t,onClose:n,headerId:d,bodyId:p,setBodyMounted:x,setHeaderMounted:y,dialogRef:c,overlayRef:f,getDialogProps:_,getDialogContainerProps:k}}var[OM,DM]=It({name:"ModalStylesContext",errorMessage:"useModalStyles returned is 'undefined'. Seems you forgot to wrap the components in \"<Modal />\" "}),[RM,LM]=It({strict:!0,name:"ModalContext",errorMessage:"useModalContext: `context` is undefined. Seems you forgot to wrap modal components in `<Modal />`"}),NM=e=>{const{portalProps:t,children:n,autoFocus:r,trapFocus:o,initialFocusRef:a,finalFocusRef:s,returnFocusOnClose:l,blockScrollOnMount:u,allowPinchZoom:c,preserveScrollBarGap:f,motionPreset:h,lockFocusAcrossFrames:d,onCloseComplete:p}=e,g=Fi("Modal",e),m={...PM(e),autoFocus:r,trapFocus:o,initialFocusRef:a,finalFocusRef:s,returnFocusOnClose:l,blockScrollOnMount:u,allowPinchZoom:c,preserveScrollBarGap:f,motionPreset:h,lockFocusAcrossFrames:d};return i.createElement(RM,{value:m},i.createElement(OM,{value:g},i.createElement($f,{onExitComplete:p},m.isOpen&&i.createElement(zt,{...t},n))))};NM.defaultProps={lockFocusAcrossFrames:!0,returnFocusOnClose:!0,scrollBehavior:"outside",trapFocus:!0,autoFocus:!0,blockScrollOnMount:!0,allowPinchZoom:!1,motionPreset:"scale"},NM.displayName="Modal";var jM=Li(((e,t)=>{const{className:n,...r}=e,{bodyId:o,setBodyMounted:a}=LM();(0,i.useEffect)((()=>(a(!0),()=>a(!1))),[a]);const s=MM("chakra-modal__body",n),l=DM();return i.createElement(zi.div,{ref:t,className:s,id:o,...r,__css:l.body})}));jM.displayName="ModalBody";var FM=Li(((e,t)=>{const{onClick:n,className:r,...o}=e,{onClose:a}=LM(),s=MM("chakra-modal__close-btn",r),l=DM();return i.createElement(rf,{ref:t,__css:l.closeButton,className:s,onClick:TM(n,(e=>{e.stopPropagation(),a()})),...o})}));function zM(e){const{autoFocus:t,trapFocus:n,dialogRef:r,initialFocusRef:o,blockScrollOnMount:a,allowPinchZoom:s,finalFocusRef:l,returnFocusOnClose:u,preserveScrollBarGap:c,lockFocusAcrossFrames:f}=LM(),[h,d]=Wf();return(0,i.useEffect)((()=>{!h&&d&&setTimeout(d)}),[h,d]),i.createElement(XI,{autoFocus:t,isDisabled:!n,initialFocusRef:o,finalFocusRef:l,restoreFocus:u,contentRef:r,lockFocusAcrossFrames:f},i.createElement(IM,{removeScrollBar:!c,allowPinchZoom:s,enabled:a,forwardProps:!0},e.children))}FM.displayName="ModalCloseButton";var BM={slideInBottom:{...Ux,custom:{offsetY:16,reverse:!0}},slideInRight:{...Ux,custom:{offsetX:16,reverse:!0}},scale:{...Bx,custom:{initialScale:.95,reverse:!0}},none:{}},VM=zi(Kv.section),$M=e=>BM[e||"none"],HM=(0,i.forwardRef)(((e,t)=>{const{preset:n,motionProps:r=$M(n),...o}=e;return i.createElement(VM,{ref:t,...r,...o})}));HM.displayName="ModalTransition";var GM=Li(((e,t)=>{const{className:n,children:r,containerProps:o,motionProps:a,...s}=e,{getDialogProps:l,getDialogContainerProps:u}=LM(),c=l(s,t),f=u(o),h=MM("chakra-modal__content",n),d=DM(),p={display:"flex",flexDirection:"column",position:"relative",width:"100%",outline:0,...d.dialog},g={display:"flex",width:"100vw",height:"$100vh",position:"fixed",left:0,top:0,...d.dialogContainer},{motionPreset:m}=LM();return i.createElement(zM,null,i.createElement(zi.div,{...f,className:"chakra-modal__content-container",tabIndex:-1,__css:g},i.createElement(HM,{preset:m,motionProps:a,className:h,...c,__css:p},r)))}));GM.displayName="ModalContent";var WM=Li(((e,t)=>{const{className:n,...r}=e,o=MM("chakra-modal__footer",n),a={display:"flex",alignItems:"center",justifyContent:"flex-end",...DM().footer};return i.createElement(zi.footer,{ref:t,...r,__css:a,className:o})}));WM.displayName="ModalFooter";var UM=Li(((e,t)=>{const{className:n,...r}=e,{headerId:o,setHeaderMounted:a}=LM();(0,i.useEffect)((()=>(a(!0),()=>a(!1))),[a]);const s=MM("chakra-modal__header",n),l={flex:0,...DM().header};return i.createElement(zi.header,{ref:t,className:s,id:o,...r,__css:l})}));UM.displayName="ModalHeader";var qM=zi(Kv.div),XM=Li(((e,t)=>{const{className:n,transition:r,motionProps:o,...a}=e,s=MM("chakra-modal__overlay",n),l={pos:"fixed",left:"0",top:"0",w:"100vw",h:"100vh",...DM().overlay},{motionPreset:u}=LM(),c=o||("none"===u?{}:jx);return i.createElement(qM,{...c,__css:l,ref:t,className:s,...a})}));XM.displayName="ModalOverlay";Li(((e,t)=>i.createElement(GM,{ref:t,role:"alertdialog",...e})));var[YM,KM]=It();var ZM=zi(Gx),QM=Li(((e,t)=>{const{className:n,children:r,motionProps:o,containerProps:a,...s}=e,{getDialogProps:l,getDialogContainerProps:u,isOpen:c}=LM(),f=l(s,t),h=u(a),d=MM("chakra-modal__content",n),p=DM(),g={display:"flex",flexDirection:"column",position:"relative",width:"100%",outline:0,...p.dialog},m={display:"flex",width:"100vw",height:"$100vh",position:"fixed",left:0,top:0,...p.dialogContainer},{placement:b}=KM();return i.createElement(zM,null,i.createElement(zi.div,{...h,className:"chakra-modal__content-container",__css:m},i.createElement(ZM,{motionProps:o,direction:b,in:c,className:d,...f,__css:g},r)))}));QM.displayName="DrawerContent";var JM=(...e)=>e.filter(Boolean).join(" "),[eT,tT]=It({name:"TableStylesContext",errorMessage:"useTableStyles returned is 'undefined'. Seems you forgot to wrap the components in \"<Table />\" "}),nT=Li(((e,t)=>{const n=Fi("Table",e),{className:r,...o}=Ur(e);return i.createElement(eT,{value:n},i.createElement(zi.table,{ref:t,__css:n.table,className:JM("chakra-table",r),...o}))}));nT.displayName="Table";var rT=Li(((e,t)=>{const{overflow:n,overflowX:r,className:o,...a}=e;return i.createElement(zi.div,{ref:t,className:JM("chakra-table__container",o),...a,__css:{display:"block",whiteSpace:"nowrap",WebkitOverflowScrolling:"touch",overflowX:n??r??"auto",overflowY:"hidden",maxWidth:"100%"}})})),iT=Li(((e,t)=>{const{placement:n="bottom",...r}=e,o=tT();return i.createElement(zi.caption,{...r,ref:t,__css:{...o.caption,captionSide:n}})}));iT.displayName="TableCaption";var oT=Li(((e,t)=>{const n=tT();return i.createElement(zi.thead,{...e,ref:t,__css:n.thead})})),aT=Li(((e,t)=>{const n=tT();return i.createElement(zi.tbody,{...e,ref:t,__css:n.tbody})})),sT=(Li(((e,t)=>{const n=tT();return i.createElement(zi.tfoot,{...e,ref:t,__css:n.tfoot})})),Li((({isNumeric:e,...t},n)=>{const r=tT();return i.createElement(zi.th,{...t,ref:n,__css:r.th,"data-is-numeric":e})}))),lT=Li(((e,t)=>{const n=tT();return i.createElement(zi.tr,{...e,ref:t,__css:n.tr})})),uT=Li((({isNumeric:e,...t},n)=>{const r=tT();return i.createElement(zi.td,{...t,ref:n,__css:r.td,"data-is-numeric":e})}));const cT=e=>{let{isOpen:t,onClose:n,header:r,keyboardShortcutIdentifier:o,...a}=e;const s=Sy();return i.createElement(NM,Fe({size:"6xl",isOpen:t,onClose:n,portalProps:{containerRef:s},blockScrollOnMount:!1},a),i.createElement(XM,null),i.createElement(GM,null,i.createElement(UM,null,r),i.createElement(FM,null),i.createElement(jM,null,i.createElement(rT,null,i.createElement(nT,{variant:"striped"},i.createElement(iT,null,"Press ",i.createElement(Ww,null,"ESC")," to close"),i.createElement(oT,null,i.createElement(lT,null,i.createElement(sT,null,"Shortcut Key"),i.createElement(sT,null,"Action"))),i.createElement(aT,null,Object.keys(o).map((e=>i.createElement(lT,{key:e},i.createElement(uT,null,i.createElement(Ww,null,o[e].primaryKey)," +"," ",i.createElement(Ww,null,o[e].secondaryKey[0])),i.createElement(uT,null,o[e].detail))))))))))};function fT(e){const t=e.target,{tagName:n,isContentEditable:r}=t;return"INPUT"!==n&&"TEXTAREA"!==n&&!0!==r}function hT(e={}){const{ref:t,isDisabled:n,isFocusable:r,clickOnEnter:o=!0,clickOnSpace:a=!0,onMouseDown:s,onMouseUp:l,onClick:u,onKeyDown:c,onKeyUp:f,tabIndex:h,onMouseOver:d,onMouseLeave:p,...g}=e,[m,b]=(0,i.useState)(!0),[v,y]=(0,i.useState)(!1),w=function(){const e=(0,i.useRef)(new Map),t=e.current,n=(0,i.useCallback)(((t,n,r,i)=>{e.current.set(r,{type:n,el:t,options:i}),t.addEventListener(n,r,i)}),[]),r=(0,i.useCallback)(((t,n,r,i)=>{t.removeEventListener(n,r,i),e.current.delete(r)}),[]);return(0,i.useEffect)((()=>()=>{t.forEach(((e,t)=>{r(e.el,e.type,t,e.options)}))}),[r,t]),{add:n,remove:r}}(),x=m?h:h||0,_=n&&!r,S=(0,i.useCallback)((e=>{if(n)return e.stopPropagation(),void e.preventDefault();e.currentTarget.focus(),null==u||u(e)}),[n,u]),k=(0,i.useCallback)((e=>{v&&fT(e)&&(e.preventDefault(),e.stopPropagation(),y(!1),w.remove(document,"keyup",k,!1))}),[v,w]),C=(0,i.useCallback)((e=>{if(null==c||c(e),n||e.defaultPrevented||e.metaKey)return;if(!fT(e.nativeEvent)||m)return;const t=o&&"Enter"===e.key;if(a&&" "===e.key&&(e.preventDefault(),y(!0)),t){e.preventDefault();e.currentTarget.click()}w.add(document,"keyup",k,!1)}),[n,m,c,o,a,w,k]),E=(0,i.useCallback)((e=>{if(null==f||f(e),n||e.defaultPrevented||e.metaKey)return;if(!fT(e.nativeEvent)||m)return;if(a&&" "===e.key){e.preventDefault(),y(!1);e.currentTarget.click()}}),[a,m,n,f]),I=(0,i.useCallback)((e=>{0===e.button&&(y(!1),w.remove(document,"mouseup",I,!1))}),[w]),M=(0,i.useCallback)((e=>{if(0!==e.button)return;if(n)return e.stopPropagation(),void e.preventDefault();m||y(!0);e.currentTarget.focus({preventScroll:!0}),w.add(document,"mouseup",I,!1),null==s||s(e)}),[n,m,s,w,I]),T=(0,i.useCallback)((e=>{0===e.button&&(m||y(!1),null==l||l(e))}),[l,m]),A=(0,i.useCallback)((e=>{n?e.preventDefault():null==d||d(e)}),[n,d]),P=(0,i.useCallback)((e=>{v&&(e.preventDefault(),y(!1)),null==p||p(e)}),[v,p]),O=fx(t,(e=>{e&&"BUTTON"!==e.tagName&&b(!1)}));return m?{...g,ref:O,type:"button","aria-disabled":_?void 0:n,disabled:_,onClick:S,onMouseDown:s,onMouseUp:l,onKeyUp:f,onKeyDown:c,onMouseOver:d,onMouseLeave:p}:{...g,ref:O,role:"button","data-active":(D=v,D?"":void 0),"aria-disabled":n?"true":void 0,tabIndex:_?void 0:x,onClick:S,onMouseDown:M,onMouseUp:T,onKeyUp:E,onKeyDown:C,onMouseOver:A,onMouseLeave:P};var D}function dT(e){const{wasSelected:t,enabled:n,isSelected:r,mode:i="unmount"}=e;return!n||(!!r||!("keepMounted"!==i||!t))}var pT=(...e)=>e.filter(Boolean).join(" ");function gT(...e){return function(t){e.some((e=>(null==e||e(t),null==t?void 0:t.defaultPrevented)))}}var[mT,bT,vT,yT]=xx();var[wT,xT]=It({name:"TabsContext",errorMessage:"useTabsContext: `context` is undefined. Seems you forgot to wrap all tabs components within <Tabs />"});var[_T,ST]=It({});function kT(e,t){return`${e}--tab-${t}`}function CT(e,t){return`${e}--tabpanel-${t}`}var[ET,IT]=It({name:"TabsStylesContext",errorMessage:"useTabsStyles returned is 'undefined'. Seems you forgot to wrap the components in \"<Tabs />\" "}),MT=Li((function(e,t){const n=Fi("Tabs",e),{children:r,className:o,...a}=Ur(e),{htmlProps:s,descendants:l,...u}=function(e){const{defaultIndex:t,onChange:n,index:r,isManual:o,isLazy:a,lazyBehavior:s="unmount",orientation:l="horizontal",direction:u="ltr",...c}=e,[f,h]=(0,i.useState)(t??0),[d,p]=_x({defaultValue:t??0,value:r,onChange:n});(0,i.useEffect)((()=>{null!=r&&h(r)}),[r]);const g=vT(),m=(0,i.useId)();return{id:`tabs-${e.id??m}`,selectedIndex:d,focusedIndex:f,setSelectedIndex:p,setFocusedIndex:h,isManual:o,isLazy:a,lazyBehavior:s,orientation:l,descendants:g,direction:u,htmlProps:c}}(a),c=(0,i.useMemo)((()=>u),[u]),{isFitted:f,...h}=s;return i.createElement(mT,{value:l},i.createElement(wT,{value:c},i.createElement(ET,{value:n},i.createElement(zi.div,{className:pT("chakra-tabs",o),ref:t,...h,__css:n.root},r))))}));MT.displayName="Tabs";var TT=Li((function(e,t){const n=function(){const e=xT(),t=bT(),{selectedIndex:n,orientation:r}=e,o="horizontal"===r,a="vertical"===r,[s,l]=(0,i.useState)((()=>o?{left:0,width:0}:a?{top:0,height:0}:void 0)),[u,c]=(0,i.useState)(!1);return Mt((()=>{if(null==n)return;const e=t.item(n);if(null==e)return;o&&l({left:e.node.offsetLeft,width:e.node.offsetWidth}),a&&l({top:e.node.offsetTop,height:e.node.offsetHeight});const r=requestAnimationFrame((()=>{c(!0)}));return()=>{r&&cancelAnimationFrame(r)}}),[n,o,a,t]),{position:"absolute",transitionProperty:"left, right, top, bottom, height, width",transitionDuration:u?"200ms":"0ms",transitionTimingFunction:"cubic-bezier(0, 0, 0.2, 1)",...s}}(),r={...e.style,...n},o=IT();return i.createElement(zi.div,{ref:t,...e,className:pT("chakra-tabs__tab-indicator",e.className),style:r,__css:o.indicator})}));TT.displayName="TabIndicator";var AT=Li((function(e,t){const n=function(e){const{focusedIndex:t,orientation:n,direction:r}=xT(),o=bT(),a=(0,i.useCallback)((e=>{const i=()=>{var e;const n=o.nextEnabled(t);n&&(null==(e=n.node)||e.focus())},a=()=>{var e;const n=o.prevEnabled(t);n&&(null==(e=n.node)||e.focus())},s="horizontal"===n,l="vertical"===n,u=e.key,c={["ltr"===r?"ArrowLeft":"ArrowRight"]:()=>s&&a(),["ltr"===r?"ArrowRight":"ArrowLeft"]:()=>s&&i(),ArrowDown:()=>l&&i(),ArrowUp:()=>l&&a(),Home:()=>{var e;const t=o.firstEnabled();t&&(null==(e=t.node)||e.focus())},End:()=>{var e;const t=o.lastEnabled();t&&(null==(e=t.node)||e.focus())}},f=c[u];f&&(e.preventDefault(),f(e))}),[o,t,n,r]);return{...e,role:"tablist","aria-orientation":n,onKeyDown:gT(e.onKeyDown,a)}}({...e,ref:t}),r={display:"flex",...IT().tablist};return i.createElement(zi.div,{...n,className:pT("chakra-tabs__tablist",e.className),__css:r})}));AT.displayName="TabList";var PT=Li((function(e,t){const n=function(e){const{children:t,...n}=e,{isLazy:r,lazyBehavior:o}=xT(),{isSelected:a,id:s,tabId:l}=ST(),u=(0,i.useRef)(!1);return a&&(u.current=!0),{tabIndex:0,...n,children:dT({wasSelected:u.current,isSelected:a,enabled:r,mode:o})?t:null,role:"tabpanel","aria-labelledby":l,hidden:!a,id:s}}({...e,ref:t}),r=IT();return i.createElement(zi.div,{outline:"0",...n,className:pT("chakra-tabs__tab-panel",e.className),__css:r.tabpanel})}));PT.displayName="TabPanel";var OT=Li((function(e,t){const n=function(e){const t=xT(),{id:n,selectedIndex:r}=t,o=Tw(e.children).map(((e,t)=>(0,i.createElement)(_T,{key:t,value:{isSelected:t===r,id:CT(n,t),tabId:kT(n,t),selectedIndex:r}},e)));return{...e,children:o}}(e),r=IT();return i.createElement(zi.div,{...n,width:"100%",ref:t,className:pT("chakra-tabs__tab-panels",e.className),__css:r.tabpanels})}));OT.displayName="TabPanels";var DT=Li((function(e,t){const n=IT(),r=function(e){const{isDisabled:t,isFocusable:n,...r}=e,{setSelectedIndex:i,isManual:o,id:a,setFocusedIndex:s,selectedIndex:l}=xT(),{index:u,register:c}=yT({disabled:t&&!n}),f=u===l;return{...hT({...r,ref:fx(c,e.ref),isDisabled:t,isFocusable:n,onClick:gT(e.onClick,(()=>{i(u)}))}),id:kT(a,u),role:"tab",tabIndex:f?0:-1,type:"button","aria-selected":f,"aria-controls":CT(a,u),onFocus:t?void 0:gT(e.onFocus,(()=>{s(u),!o&&(!t||!n)&&i(u)}))}}({...e,ref:t}),o={outline:"0",display:"flex",alignItems:"center",justifyContent:"center",...n.tab};return i.createElement(zi.button,{...r,className:pT("chakra-tabs__tab",e.className),__css:o})}));DT.displayName="Tab";var RT=(...e)=>e.filter(Boolean).join(" "),LT=e=>e?"":void 0,NT=e=>!!e||void 0;function jT(...e){return function(t){e.some((e=>(null==e||e(t),null==t?void 0:t.defaultPrevented)))}}var[FT,zT]=It({name:"FormControlStylesContext",errorMessage:"useFormControlStyles returned is 'undefined'. Seems you forgot to wrap the components in \"<FormControl />\" "}),[BT,VT]=It({strict:!1,name:"FormControlContext"});var $T=Li((function(e,t){const n=Fi("Form",e),r=Ur(e),{getRootProps:o,htmlProps:a,...s}=function(e){const{id:t,isRequired:n,isInvalid:r,isDisabled:o,isReadOnly:a,...s}=e,l=(0,i.useId)(),u=t||`field-${l}`,c=`${u}-label`,f=`${u}-feedback`,h=`${u}-helptext`,[d,p]=(0,i.useState)(!1),[g,m]=(0,i.useState)(!1),[b,v]=(0,i.useState)(!1),y=(0,i.useCallback)(((e={},t=null)=>({id:h,...e,ref:fx(t,(e=>{e&&m(!0)}))})),[h]),w=(0,i.useCallback)(((e={},t=null)=>({...e,ref:t,"data-focus":LT(b),"data-disabled":LT(o),"data-invalid":LT(r),"data-readonly":LT(a),id:e.id??c,htmlFor:e.htmlFor??u})),[u,o,b,r,a,c]),x=(0,i.useCallback)(((e={},t=null)=>({id:f,...e,ref:fx(t,(e=>{e&&p(!0)})),"aria-live":"polite"})),[f]),_=(0,i.useCallback)(((e={},t=null)=>({...e,...s,ref:t,role:"group"})),[s]),S=(0,i.useCallback)(((e={},t=null)=>({...e,ref:t,role:"presentation","aria-hidden":!0,children:e.children||"*"})),[]);return{isRequired:!!n,isInvalid:!!r,isReadOnly:!!a,isDisabled:!!o,isFocused:!!b,onFocus:()=>v(!0),onBlur:()=>v(!1),hasFeedbackText:d,setHasFeedbackText:p,hasHelpText:g,setHasHelpText:m,id:u,labelId:c,feedbackId:f,helpTextId:h,htmlProps:s,getHelpTextProps:y,getErrorMessageProps:x,getRootProps:_,getLabelProps:w,getRequiredIndicatorProps:S}}(r),l=RT("chakra-form-control",e.className);return i.createElement(BT,{value:s},i.createElement(FT,{value:n},i.createElement(zi.div,{...o({},t),className:l,__css:n.container})))}));$T.displayName="FormControl";var HT=Li((function(e,t){const n=VT(),r=zT(),o=RT("chakra-form__helper-text",e.className);return i.createElement(zi.div,{...null==n?void 0:n.getHelpTextProps(e,t),__css:r.helperText,className:o})}));function GT(e){const{isDisabled:t,isInvalid:n,isReadOnly:r,isRequired:i,...o}=WT(e);return{...o,disabled:t,readOnly:r,required:i,"aria-invalid":NT(n),"aria-required":NT(i),"aria-readonly":NT(r)}}function WT(e){const t=VT(),{id:n,disabled:r,readOnly:i,required:o,isRequired:a,isInvalid:s,isReadOnly:l,isDisabled:u,onFocus:c,onBlur:f,...h}=e,d=e["aria-describedby"]?[e["aria-describedby"]]:[];return(null==t?void 0:t.hasFeedbackText)&&(null==t?void 0:t.isInvalid)&&d.push(t.feedbackId),(null==t?void 0:t.hasHelpText)&&d.push(t.helpTextId),{...h,"aria-describedby":d.join(" ")||void 0,id:n??(null==t?void 0:t.id),isDisabled:r??u??(null==t?void 0:t.isDisabled),isReadOnly:i??l??(null==t?void 0:t.isReadOnly),isRequired:o??a??(null==t?void 0:t.isRequired),isInvalid:s??(null==t?void 0:t.isInvalid),onFocus:jT(null==t?void 0:t.onFocus,c),onBlur:jT(null==t?void 0:t.onBlur,f)}}HT.displayName="FormHelperText";var[UT,qT]=It({name:"FormErrorStylesContext",errorMessage:"useFormErrorStyles returned is 'undefined'. Seems you forgot to wrap the components in \"<FormError />\" "}),XT=Li(((e,t)=>{const n=Fi("FormError",e),r=Ur(e),o=VT();return(null==o?void 0:o.isInvalid)?i.createElement(UT,{value:n},i.createElement(zi.div,{...null==o?void 0:o.getErrorMessageProps(r,t),className:RT("chakra-form__error-message",e.className),__css:{display:"flex",alignItems:"center",...n.text}})):null}));XT.displayName="FormErrorMessage";var YT=Li(((e,t)=>{const n=qT(),r=VT();if(!(null==r?void 0:r.isInvalid))return null;const o=RT("chakra-form__error-icon",e.className);return i.createElement($c,{ref:t,"aria-hidden":!0,...e,__css:n.icon,className:o},i.createElement("path",{fill:"currentColor",d:"M11.983,0a12.206,12.206,0,0,0-8.51,3.653A11.8,11.8,0,0,0,0,12.207,11.779,11.779,0,0,0,11.8,24h.214A12.111,12.111,0,0,0,24,11.791h0A11.766,11.766,0,0,0,11.983,0ZM10.5,16.542a1.476,1.476,0,0,1,1.449-1.53h.027a1.527,1.527,0,0,1,1.523,1.47,1.475,1.475,0,0,1-1.449,1.53h-.027A1.529,1.529,0,0,1,10.5,16.542ZM11,12.5v-6a1,1,0,0,1,2,0v6a1,1,0,1,1-2,0Z"}))}));YT.displayName="FormErrorIcon";var KT=Li((function(e,t){const n=ji("FormLabel",e),r=Ur(e),{className:o,children:a,requiredIndicator:s=i.createElement(ZT,null),optionalIndicator:l=null,...u}=r,c=VT(),f=(null==c?void 0:c.getLabelProps(u,t))??{ref:t,...u};return i.createElement(zi.label,{...f,className:RT("chakra-form__label",r.className),__css:{display:"block",textAlign:"start",...n}},a,(null==c?void 0:c.isRequired)?s:l)}));KT.displayName="FormLabel";var ZT=Li((function(e,t){const n=VT(),r=zT();if(!(null==n?void 0:n.isRequired))return null;const o=RT("chakra-form__required-indicator",e.className);return i.createElement(zi.span,{...null==n?void 0:n.getRequiredIndicatorProps(e,t),__css:r.requiredIndicator,className:o})}));ZT.displayName="RequiredIndicator";var QT={border:"0",clip:"rect(0, 0, 0, 0)",height:"1px",width:"1px",margin:"-1px",padding:"0",overflow:"hidden",whiteSpace:"nowrap",position:"absolute"},JT=zi("span",{baseStyle:QT});JT.displayName="VisuallyHidden",zi("input",{baseStyle:QT}).displayName="VisuallyHiddenInput";var eA=!1,tA=null,nA=!1,rA=new Set,iA="undefined"!=typeof window&&null!=window.navigator&&/^Mac/.test(window.navigator.platform);function oA(e,t){rA.forEach((n=>n(e,t)))}function aA(e){nA=!0,function(e){return!(e.metaKey||!iA&&e.altKey||e.ctrlKey)}(e)&&(tA="keyboard",oA("keyboard",e))}function sA(e){tA="pointer","mousedown"!==e.type&&"pointerdown"!==e.type||(nA=!0,oA("pointer",e))}function lA(e){e.target!==window&&e.target!==document&&(nA||(tA="keyboard",oA("keyboard",e)),nA=!1)}function uA(){nA=!1}function cA(){return"pointer"!==tA}function fA(e){!function(){if("undefined"==typeof window||eA)return;const{focus:e}=HTMLElement.prototype;HTMLElement.prototype.focus=function(...t){nA=!0,e.apply(this,t)},document.addEventListener("keydown",aA,!0),document.addEventListener("keyup",aA,!0),window.addEventListener("focus",lA,!0),window.addEventListener("blur",uA,!1),"undefined"!=typeof PointerEvent?(document.addEventListener("pointerdown",sA,!0),document.addEventListener("pointermove",sA,!0),document.addEventListener("pointerup",sA,!0)):(document.addEventListener("mousedown",sA,!0),document.addEventListener("mousemove",sA,!0),document.addEventListener("mouseup",sA,!0)),eA=!0}(),e(cA());const t=()=>e(cA());return rA.add(t),()=>{rA.delete(t)}}var[hA,dA]=It({name:"CheckboxGroupContext",strict:!1}),pA=(...e)=>e.filter(Boolean).join(" ");var gA=e=>e?"":void 0;function mA(...e){return function(t){e.some((e=>(null==e||e(t),null==t?void 0:t.defaultPrevented)))}}function bA(e){return i.createElement(zi.svg,{width:"1.2em",viewBox:"0 0 12 10",style:{fill:"none",strokeWidth:2,stroke:"currentColor",strokeDasharray:16},...e},i.createElement("polyline",{points:"1.5 6 4.5 9 10.5 1"}))}function vA(e){return i.createElement(zi.svg,{width:"1.2em",viewBox:"0 0 24 24",style:{stroke:"currentColor",strokeWidth:4},...e},i.createElement("line",{x1:"21",x2:"3",y1:"12",y2:"12"}))}function yA(e){const{isIndeterminate:t,isChecked:n,...r}=e,o=t?vA:bA;return n||t?i.createElement(zi.div,{style:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%"}},i.createElement(o,{...r})):null}function wA(e={}){const t=WT(e),{isDisabled:n,isReadOnly:r,isRequired:o,isInvalid:a,id:s,onBlur:l,onFocus:u,"aria-describedby":c}=t,{defaultChecked:f,isChecked:h,isFocusable:d,onChange:p,isIndeterminate:g,name:m,value:b,tabIndex:v,"aria-label":y,"aria-labelledby":w,"aria-invalid":x,..._}=e,S=function(e,t=[]){const n=Object.assign({},e);for(const e of t)e in n&&delete n[e];return n}(_,["isDisabled","isReadOnly","isRequired","isInvalid","id","onBlur","onFocus","aria-describedby"]),k=Hf(p),C=Hf(l),E=Hf(u),[I,M]=(0,i.useState)(!1),[T,A]=(0,i.useState)(!1),[P,O]=(0,i.useState)(!1),[D,R]=(0,i.useState)(!1);(0,i.useEffect)((()=>fA(M)),[]);const L=(0,i.useRef)(null),[N,j]=(0,i.useState)(!0),[F,z]=(0,i.useState)(!!f),B=void 0!==h,V=B?h:F,$=(0,i.useCallback)((e=>{r||n?e.preventDefault():(B||z(V?e.target.checked:!!g||e.target.checked),null==k||k(e))}),[r,n,V,B,g,k]);Mt((()=>{L.current&&(L.current.indeterminate=Boolean(g))}),[g]),Gf((()=>{n&&A(!1)}),[n,A]),Mt((()=>{const e=L.current;(null==e?void 0:e.form)&&(e.form.onreset=()=>{z(!!f)})}),[]);const H=n&&!d,G=(0,i.useCallback)((e=>{" "===e.key&&R(!0)}),[R]),W=(0,i.useCallback)((e=>{" "===e.key&&R(!1)}),[R]);Mt((()=>{if(!L.current)return;L.current.checked!==V&&z(L.current.checked)}),[L.current]);const U=(0,i.useCallback)(((e={},t=null)=>({...e,ref:t,"data-active":gA(D),"data-hover":gA(P),"data-checked":gA(V),"data-focus":gA(T),"data-focus-visible":gA(T&&I),"data-indeterminate":gA(g),"data-disabled":gA(n),"data-invalid":gA(a),"data-readonly":gA(r),"aria-hidden":!0,onMouseDown:mA(e.onMouseDown,(e=>{T&&e.preventDefault(),R(!0)})),onMouseUp:mA(e.onMouseUp,(()=>R(!1))),onMouseEnter:mA(e.onMouseEnter,(()=>O(!0))),onMouseLeave:mA(e.onMouseLeave,(()=>O(!1)))})),[D,V,n,T,I,P,g,a,r]),q=(0,i.useCallback)(((e={},t=null)=>({...S,...e,ref:fx(t,(e=>{e&&j("LABEL"===e.tagName)})),onClick:mA(e.onClick,(()=>{var e;N||(null==(e=L.current)||e.click(),requestAnimationFrame((()=>{var e;null==(e=L.current)||e.focus()})))})),"data-disabled":gA(n),"data-checked":gA(V),"data-invalid":gA(a)})),[S,n,V,a,N]),X=(0,i.useCallback)(((e={},t=null)=>({...e,ref:fx(L,t),type:"checkbox",name:m,value:b,id:s,tabIndex:v,onChange:mA(e.onChange,$),onBlur:mA(e.onBlur,C,(()=>A(!1))),onFocus:mA(e.onFocus,E,(()=>A(!0))),onKeyDown:mA(e.onKeyDown,G),onKeyUp:mA(e.onKeyUp,W),required:o,checked:V,disabled:H,readOnly:r,"aria-label":y,"aria-labelledby":w,"aria-invalid":x?Boolean(x):a,"aria-describedby":c,"aria-disabled":n,style:QT})),[m,b,s,$,C,E,G,W,o,V,H,r,y,w,x,a,c,n,v]),Y=(0,i.useCallback)(((e={},t=null)=>({...e,ref:t,onMouseDown:mA(e.onMouseDown,xA),onTouchStart:mA(e.onTouchStart,xA),"data-disabled":gA(n),"data-checked":gA(V),"data-invalid":gA(a)})),[V,n,a]);return{state:{isInvalid:a,isFocused:T,isChecked:V,isActive:D,isHovered:P,isIndeterminate:g,isDisabled:n,isReadOnly:r,isRequired:o},getRootProps:q,getCheckboxProps:U,getInputProps:X,getLabelProps:Y,htmlProps:S}}function xA(e){e.preventDefault(),e.stopPropagation()}var _A={display:"inline-flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",userSelect:"none",flexShrink:0},SA={cursor:"pointer",display:"inline-flex",alignItems:"center",verticalAlign:"top",position:"relative"},kA=yt({from:{opacity:0,strokeDashoffset:16,transform:"scale(0.95)"},to:{opacity:1,strokeDashoffset:0,transform:"scale(1)"}}),CA=yt({from:{opacity:0},to:{opacity:1}}),EA=yt({from:{transform:"scaleX(0.65)"},to:{transform:"scaleX(1)"}}),IA=Li((function(e,t){const n=dA(),r=Fi("Checkbox",{...n,...e}),o=Ur(e),{spacing:a="0.5rem",className:s,children:l,iconColor:u,iconSize:c,icon:f=i.createElement(yA,null),isChecked:h,isDisabled:d=(null==n?void 0:n.isDisabled),onChange:p,inputProps:g,...m}=o;let b=h;(null==n?void 0:n.value)&&o.value&&(b=n.value.includes(o.value));let v=p;(null==n?void 0:n.onChange)&&o.value&&(v=function(...e){return function(t){e.forEach((e=>{null==e||e(t)}))}}(n.onChange,p));const{state:y,getInputProps:w,getCheckboxProps:x,getLabelProps:_,getRootProps:S}=wA({...m,isDisabled:d,isChecked:b,onChange:v}),k=(0,i.useMemo)((()=>({animation:y.isIndeterminate?`${CA} 20ms linear, ${EA} 200ms linear`:`${kA} 200ms linear`,fontSize:c,color:u,...r.icon})),[u,c,,y.isIndeterminate,r.icon]),C=(0,i.cloneElement)(f,{__css:k,isIndeterminate:y.isIndeterminate,isChecked:y.isChecked});return i.createElement(zi.label,{__css:{...SA,...r.container},className:pA("chakra-checkbox",s),...S()},i.createElement("input",{className:"chakra-checkbox__input",...w(g,t)}),i.createElement(zi.span,{__css:{..._A,...r.control},className:"chakra-checkbox__control",...x()},C),l&&i.createElement(zi.span,{className:"chakra-checkbox__label",..._(),__css:{marginStart:a,...r.label}},l))}));function MA(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function TA(e){return e instanceof MA(e).Element||e instanceof Element}function AA(e){return e instanceof MA(e).HTMLElement||e instanceof HTMLElement}function PA(e){return"undefined"!=typeof ShadowRoot&&(e instanceof MA(e).ShadowRoot||e instanceof ShadowRoot)}IA.displayName="Checkbox";var OA=Math.max,DA=Math.min,RA=Math.round;function LA(e,t){void 0===t&&(t=!1);var n=e.getBoundingClientRect(),r=1,i=1;if(AA(e)&&t){var o=e.offsetHeight,a=e.offsetWidth;a>0&&(r=RA(n.width)/a||1),o>0&&(i=RA(n.height)/o||1)}return{width:n.width/r,height:n.height/i,top:n.top/i,right:n.right/r,bottom:n.bottom/i,left:n.left/r,x:n.left/r,y:n.top/i}}function NA(e){var t=MA(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function jA(e){return e?(e.nodeName||"").toLowerCase():null}function FA(e){return((TA(e)?e.ownerDocument:e.document)||window.document).documentElement}function zA(e){return LA(FA(e)).left+NA(e).scrollLeft}function BA(e){return MA(e).getComputedStyle(e)}function VA(e){var t=BA(e),n=t.overflow,r=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+r)}function $A(e,t,n){void 0===n&&(n=!1);var r=AA(t),i=AA(t)&&function(e){var t=e.getBoundingClientRect(),n=RA(t.width)/e.offsetWidth||1,r=RA(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),o=FA(t),a=LA(e,i),s={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(r||!r&&!n)&&(("body"!==jA(t)||VA(o))&&(s=function(e){return e!==MA(e)&&AA(e)?{scrollLeft:(t=e).scrollLeft,scrollTop:t.scrollTop}:NA(e);var t}(t)),AA(t)?((l=LA(t,!0)).x+=t.clientLeft,l.y+=t.clientTop):o&&(l.x=zA(o))),{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function HA(e){var t=LA(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function GA(e){return"html"===jA(e)?e:e.assignedSlot||e.parentNode||(PA(e)?e.host:null)||FA(e)}function WA(e){return["html","body","#document"].indexOf(jA(e))>=0?e.ownerDocument.body:AA(e)&&VA(e)?e:WA(GA(e))}function UA(e,t){var n;void 0===t&&(t=[]);var r=WA(e),i=r===(null==(n=e.ownerDocument)?void 0:n.body),o=MA(r),a=i?[o].concat(o.visualViewport||[],VA(r)?r:[]):r,s=t.concat(a);return i?s:s.concat(UA(GA(a)))}function qA(e){return["table","td","th"].indexOf(jA(e))>=0}function XA(e){return AA(e)&&"fixed"!==BA(e).position?e.offsetParent:null}function YA(e){for(var t=MA(e),n=XA(e);n&&qA(n)&&"static"===BA(n).position;)n=XA(n);return n&&("html"===jA(n)||"body"===jA(n)&&"static"===BA(n).position)?t:n||function(e){var t=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&AA(e)&&"fixed"===BA(e).position)return null;for(var n=GA(e);AA(n)&&["html","body"].indexOf(jA(n))<0;){var r=BA(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}var KA="top",ZA="bottom",QA="right",JA="left",eP="auto",tP=[KA,ZA,QA,JA],nP="start",rP="end",iP="viewport",oP="popper",aP=tP.reduce((function(e,t){return e.concat([t+"-"+nP,t+"-"+rP])}),[]),sP=[].concat(tP,[eP]).reduce((function(e,t){return e.concat([t,t+"-"+nP,t+"-"+rP])}),[]),lP=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function uP(e){var t=new Map,n=new Set,r=[];function i(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var r=t.get(e);r&&i(r)}})),r.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||i(e)})),r}var cP={placement:"bottom",modifiers:[],strategy:"absolute"};function fP(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some((function(e){return!(e&&"function"==typeof e.getBoundingClientRect)}))}function hP(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,i=t.defaultOptions,o=void 0===i?cP:i;return function(e,t,n){void 0===n&&(n=o);var i,a,s={placement:"bottom",orderedModifiers:[],options:Object.assign({},cP,o),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},l=[],u=!1,c={state:s,setOptions:function(n){var i="function"==typeof n?n(s.options):n;f(),s.options=Object.assign({},o,s.options,i),s.scrollParents={reference:TA(e)?UA(e):e.contextElement?UA(e.contextElement):[],popper:UA(t)};var a=function(e){var t=uP(e);return lP.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}(function(e){var t=e.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{});return Object.keys(t).map((function(e){return t[e]}))}([].concat(r,s.options.modifiers)));return s.orderedModifiers=a.filter((function(e){return e.enabled})),s.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,r=void 0===n?{}:n,i=e.effect;if("function"==typeof i){var o=i({state:s,name:t,instance:c,options:r}),a=function(){};l.push(o||a)}})),c.update()},forceUpdate:function(){if(!u){var e=s.elements,t=e.reference,n=e.popper;if(fP(t,n)){s.rects={reference:$A(t,YA(n),"fixed"===s.options.strategy),popper:HA(n)},s.reset=!1,s.placement=s.options.placement,s.orderedModifiers.forEach((function(e){return s.modifiersData[e.name]=Object.assign({},e.data)}));for(var r=0;r<s.orderedModifiers.length;r++)if(!0!==s.reset){var i=s.orderedModifiers[r],o=i.fn,a=i.options,l=void 0===a?{}:a,f=i.name;"function"==typeof o&&(s=o({state:s,options:l,name:f,instance:c})||s)}else s.reset=!1,r=-1}}},update:(i=function(){return new Promise((function(e){c.forceUpdate(),e(s)}))},function(){return a||(a=new Promise((function(e){Promise.resolve().then((function(){a=void 0,e(i())}))}))),a}),destroy:function(){f(),u=!0}};if(!fP(e,t))return c;function f(){l.forEach((function(e){return e()})),l=[]}return c.setOptions(n).then((function(e){!u&&n.onFirstUpdate&&n.onFirstUpdate(e)})),c}}var dP={passive:!0};const pP={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,i=r.scroll,o=void 0===i||i,a=r.resize,s=void 0===a||a,l=MA(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&u.forEach((function(e){e.addEventListener("scroll",n.update,dP)})),s&&l.addEventListener("resize",n.update,dP),function(){o&&u.forEach((function(e){e.removeEventListener("scroll",n.update,dP)})),s&&l.removeEventListener("resize",n.update,dP)}},data:{}};function gP(e){return e.split("-")[0]}function mP(e){return e.split("-")[1]}function bP(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function vP(e){var t,n=e.reference,r=e.element,i=e.placement,o=i?gP(i):null,a=i?mP(i):null,s=n.x+n.width/2-r.width/2,l=n.y+n.height/2-r.height/2;switch(o){case KA:t={x:s,y:n.y-r.height};break;case ZA:t={x:s,y:n.y+n.height};break;case QA:t={x:n.x+n.width,y:l};break;case JA:t={x:n.x-r.width,y:l};break;default:t={x:n.x,y:n.y}}var u=o?bP(o):null;if(null!=u){var c="y"===u?"height":"width";switch(a){case nP:t[u]=t[u]-(n[c]/2-r[c]/2);break;case rP:t[u]=t[u]+(n[c]/2-r[c]/2)}}return t}const yP={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=vP({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}};var wP={top:"auto",right:"auto",bottom:"auto",left:"auto"};function xP(e){var t,n=e.popper,r=e.popperRect,i=e.placement,o=e.variation,a=e.offsets,s=e.position,l=e.gpuAcceleration,u=e.adaptive,c=e.roundOffsets,f=e.isFixed,h=a.x,d=void 0===h?0:h,p=a.y,g=void 0===p?0:p,m="function"==typeof c?c({x:d,y:g}):{x:d,y:g};d=m.x,g=m.y;var b=a.hasOwnProperty("x"),v=a.hasOwnProperty("y"),y=JA,w=KA,x=window;if(u){var _=YA(n),S="clientHeight",k="clientWidth";if(_===MA(n)&&"static"!==BA(_=FA(n)).position&&"absolute"===s&&(S="scrollHeight",k="scrollWidth"),i===KA||(i===JA||i===QA)&&o===rP)w=ZA,g-=(f&&x.visualViewport?x.visualViewport.height:_[S])-r.height,g*=l?1:-1;if(i===JA||(i===KA||i===ZA)&&o===rP)y=QA,d-=(f&&x.visualViewport?x.visualViewport.width:_[k])-r.width,d*=l?1:-1}var C,E=Object.assign({position:s},u&&wP),I=!0===c?function(e){var t=e.x,n=e.y,r=window.devicePixelRatio||1;return{x:RA(t*r)/r||0,y:RA(n*r)/r||0}}({x:d,y:g}):{x:d,y:g};return d=I.x,g=I.y,l?Object.assign({},E,((C={})[w]=v?"0":"",C[y]=b?"0":"",C.transform=(x.devicePixelRatio||1)<=1?"translate("+d+"px, "+g+"px)":"translate3d("+d+"px, "+g+"px, 0)",C)):Object.assign({},E,((t={})[w]=v?g+"px":"",t[y]=b?d+"px":"",t.transform="",t))}const _P={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,i=void 0===r||r,o=n.adaptive,a=void 0===o||o,s=n.roundOffsets,l=void 0===s||s,u={placement:gP(t.placement),variation:mP(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,xP(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,xP(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}};const SP={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},i=t.elements[e];AA(i)&&jA(i)&&(Object.assign(i.style,n),Object.keys(r).forEach((function(e){var t=r[e];!1===t?i.removeAttribute(e):i.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var r=t.elements[e],i=t.attributes[e]||{},o=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});AA(r)&&jA(r)&&(Object.assign(r.style,o),Object.keys(i).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]};const kP={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,i=n.offset,o=void 0===i?[0,0]:i,a=sP.reduce((function(e,n){return e[n]=function(e,t,n){var r=gP(e),i=[JA,KA].indexOf(r)>=0?-1:1,o="function"==typeof n?n(Object.assign({},t,{placement:e})):n,a=o[0],s=o[1];return a=a||0,s=(s||0)*i,[JA,QA].indexOf(r)>=0?{x:s,y:a}:{x:a,y:s}}(n,t.rects,o),e}),{}),s=a[t.placement],l=s.x,u=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=u),t.modifiersData[r]=a}};var CP={left:"right",right:"left",bottom:"top",top:"bottom"};function EP(e){return e.replace(/left|right|bottom|top/g,(function(e){return CP[e]}))}var IP={start:"end",end:"start"};function MP(e){return e.replace(/start|end/g,(function(e){return IP[e]}))}function TP(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&PA(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function AP(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function PP(e,t){return t===iP?AP(function(e){var t=MA(e),n=FA(e),r=t.visualViewport,i=n.clientWidth,o=n.clientHeight,a=0,s=0;return r&&(i=r.width,o=r.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(a=r.offsetLeft,s=r.offsetTop)),{width:i,height:o,x:a+zA(e),y:s}}(e)):TA(t)?function(e){var t=LA(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}(t):AP(function(e){var t,n=FA(e),r=NA(e),i=null==(t=e.ownerDocument)?void 0:t.body,o=OA(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),a=OA(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),s=-r.scrollLeft+zA(e),l=-r.scrollTop;return"rtl"===BA(i||n).direction&&(s+=OA(n.clientWidth,i?i.clientWidth:0)-o),{width:o,height:a,x:s,y:l}}(FA(e)))}function OP(e,t,n){var r="clippingParents"===t?function(e){var t=UA(GA(e)),n=["absolute","fixed"].indexOf(BA(e).position)>=0&&AA(e)?YA(e):e;return TA(n)?t.filter((function(e){return TA(e)&&TP(e,n)&&"body"!==jA(e)})):[]}(e):[].concat(t),i=[].concat(r,[n]),o=i[0],a=i.reduce((function(t,n){var r=PP(e,n);return t.top=OA(r.top,t.top),t.right=DA(r.right,t.right),t.bottom=DA(r.bottom,t.bottom),t.left=OA(r.left,t.left),t}),PP(e,o));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function DP(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function RP(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}function LP(e,t){void 0===t&&(t={});var n=t,r=n.placement,i=void 0===r?e.placement:r,o=n.boundary,a=void 0===o?"clippingParents":o,s=n.rootBoundary,l=void 0===s?iP:s,u=n.elementContext,c=void 0===u?oP:u,f=n.altBoundary,h=void 0!==f&&f,d=n.padding,p=void 0===d?0:d,g=DP("number"!=typeof p?p:RP(p,tP)),m=c===oP?"reference":oP,b=e.rects.popper,v=e.elements[h?m:c],y=OP(TA(v)?v:v.contextElement||FA(e.elements.popper),a,l),w=LA(e.elements.reference),x=vP({reference:w,element:b,strategy:"absolute",placement:i}),_=AP(Object.assign({},b,x)),S=c===oP?_:w,k={top:y.top-S.top+g.top,bottom:S.bottom-y.bottom+g.bottom,left:y.left-S.left+g.left,right:S.right-y.right+g.right},C=e.modifiersData.offset;if(c===oP&&C){var E=C[i];Object.keys(k).forEach((function(e){var t=[QA,ZA].indexOf(e)>=0?1:-1,n=[KA,ZA].indexOf(e)>=0?"y":"x";k[e]+=E[n]*t}))}return k}const NP={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var i=n.mainAxis,o=void 0===i||i,a=n.altAxis,s=void 0===a||a,l=n.fallbackPlacements,u=n.padding,c=n.boundary,f=n.rootBoundary,h=n.altBoundary,d=n.flipVariations,p=void 0===d||d,g=n.allowedAutoPlacements,m=t.options.placement,b=gP(m),v=l||(b===m||!p?[EP(m)]:function(e){if(gP(e)===eP)return[];var t=EP(e);return[MP(e),t,MP(t)]}(m)),y=[m].concat(v).reduce((function(e,n){return e.concat(gP(n)===eP?function(e,t){void 0===t&&(t={});var n=t,r=n.placement,i=n.boundary,o=n.rootBoundary,a=n.padding,s=n.flipVariations,l=n.allowedAutoPlacements,u=void 0===l?sP:l,c=mP(r),f=c?s?aP:aP.filter((function(e){return mP(e)===c})):tP,h=f.filter((function(e){return u.indexOf(e)>=0}));0===h.length&&(h=f);var d=h.reduce((function(t,n){return t[n]=LP(e,{placement:n,boundary:i,rootBoundary:o,padding:a})[gP(n)],t}),{});return Object.keys(d).sort((function(e,t){return d[e]-d[t]}))}(t,{placement:n,boundary:c,rootBoundary:f,padding:u,flipVariations:p,allowedAutoPlacements:g}):n)}),[]),w=t.rects.reference,x=t.rects.popper,_=new Map,S=!0,k=y[0],C=0;C<y.length;C++){var E=y[C],I=gP(E),M=mP(E)===nP,T=[KA,ZA].indexOf(I)>=0,A=T?"width":"height",P=LP(t,{placement:E,boundary:c,rootBoundary:f,altBoundary:h,padding:u}),O=T?M?QA:JA:M?ZA:KA;w[A]>x[A]&&(O=EP(O));var D=EP(O),R=[];if(o&&R.push(P[I]<=0),s&&R.push(P[O]<=0,P[D]<=0),R.every((function(e){return e}))){k=E,S=!1;break}_.set(E,R)}if(S)for(var L=function(e){var t=y.find((function(t){var n=_.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return k=t,"break"},N=p?3:1;N>0;N--){if("break"===L(N))break}t.placement!==k&&(t.modifiersData[r]._skip=!0,t.placement=k,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function jP(e,t,n){return OA(e,DA(t,n))}const FP={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,i=n.mainAxis,o=void 0===i||i,a=n.altAxis,s=void 0!==a&&a,l=n.boundary,u=n.rootBoundary,c=n.altBoundary,f=n.padding,h=n.tether,d=void 0===h||h,p=n.tetherOffset,g=void 0===p?0:p,m=LP(t,{boundary:l,rootBoundary:u,padding:f,altBoundary:c}),b=gP(t.placement),v=mP(t.placement),y=!v,w=bP(b),x="x"===w?"y":"x",_=t.modifiersData.popperOffsets,S=t.rects.reference,k=t.rects.popper,C="function"==typeof g?g(Object.assign({},t.rects,{placement:t.placement})):g,E="number"==typeof C?{mainAxis:C,altAxis:C}:Object.assign({mainAxis:0,altAxis:0},C),I=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,M={x:0,y:0};if(_){if(o){var T,A="y"===w?KA:JA,P="y"===w?ZA:QA,O="y"===w?"height":"width",D=_[w],R=D+m[A],L=D-m[P],N=d?-k[O]/2:0,j=v===nP?S[O]:k[O],F=v===nP?-k[O]:-S[O],z=t.elements.arrow,B=d&&z?HA(z):{width:0,height:0},V=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},$=V[A],H=V[P],G=jP(0,S[O],B[O]),W=y?S[O]/2-N-G-$-E.mainAxis:j-G-$-E.mainAxis,U=y?-S[O]/2+N+G+H+E.mainAxis:F+G+H+E.mainAxis,q=t.elements.arrow&&YA(t.elements.arrow),X=q?"y"===w?q.clientTop||0:q.clientLeft||0:0,Y=null!=(T=null==I?void 0:I[w])?T:0,K=D+U-Y,Z=jP(d?DA(R,D+W-Y-X):R,D,d?OA(L,K):L);_[w]=Z,M[w]=Z-D}if(s){var Q,J="x"===w?KA:JA,ee="x"===w?ZA:QA,te=_[x],ne="y"===x?"height":"width",re=te+m[J],ie=te-m[ee],oe=-1!==[KA,JA].indexOf(b),ae=null!=(Q=null==I?void 0:I[x])?Q:0,se=oe?re:te-S[ne]-k[ne]-ae+E.altAxis,le=oe?te+S[ne]+k[ne]-ae-E.altAxis:ie,ue=d&&oe?function(e,t,n){var r=jP(e,t,n);return r>n?n:r}(se,te,le):jP(d?se:re,te,d?le:ie);_[x]=ue,M[x]=ue-te}t.modifiersData[r]=M}},requiresIfExists:["offset"]};const zP={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,i=e.options,o=n.elements.arrow,a=n.modifiersData.popperOffsets,s=gP(n.placement),l=bP(s),u=[JA,QA].indexOf(s)>=0?"height":"width";if(o&&a){var c=function(e,t){return DP("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:RP(e,tP))}(i.padding,n),f=HA(o),h="y"===l?KA:JA,d="y"===l?ZA:QA,p=n.rects.reference[u]+n.rects.reference[l]-a[l]-n.rects.popper[u],g=a[l]-n.rects.reference[l],m=YA(o),b=m?"y"===l?m.clientHeight||0:m.clientWidth||0:0,v=p/2-g/2,y=c[h],w=b-f[u]-c[d],x=b/2-f[u]/2+v,_=jP(y,x,w),S=l;n.modifiersData[r]=((t={})[S]=_,t.centerOffset=_-x,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!=typeof r||(r=t.elements.popper.querySelector(r)))&&TP(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function BP(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function VP(e){return[KA,QA,ZA,JA].some((function(t){return e[t]>=0}))}const $P={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,i=t.rects.popper,o=t.modifiersData.preventOverflow,a=LP(t,{elementContext:"reference"}),s=LP(t,{altBoundary:!0}),l=BP(a,r),u=BP(s,i,o),c=VP(l),f=VP(u);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:u,isReferenceHidden:c,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":f})}};var HP=hP({defaultModifiers:[pP,yP,_P,SP,kP,NP,FP,zP,$P]}),GP=(e,t)=>({var:e,varRef:t?`var(${e}, ${t})`:`var(${e})`}),WP={arrowShadowColor:GP("--popper-arrow-shadow-color"),arrowSize:GP("--popper-arrow-size","8px"),arrowSizeHalf:GP("--popper-arrow-size-half"),arrowBg:GP("--popper-arrow-bg"),transformOrigin:GP("--popper-transform-origin"),arrowOffset:GP("--popper-arrow-offset")};var UP={top:"bottom center","top-start":"bottom left","top-end":"bottom right",bottom:"top center","bottom-start":"top left","bottom-end":"top right",left:"right center","left-start":"right top","left-end":"right bottom",right:"left center","right-start":"left top","right-end":"left bottom"},qP={scroll:!0,resize:!0};function XP(e){let t;return t="object"==typeof e?{enabled:!0,options:{...qP,...e}}:{enabled:e,options:qP},t}var YP={name:"matchWidth",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:({state:e})=>{e.styles.popper.width=`${e.rects.reference.width}px`},effect:({state:e})=>()=>{const t=e.elements.reference;e.elements.popper.style.width=`${t.offsetWidth}px`}},KP={name:"transformOrigin",enabled:!0,phase:"write",fn:({state:e})=>{ZP(e)},effect:({state:e})=>()=>{ZP(e)}},ZP=e=>{var t;e.elements.popper.style.setProperty(WP.transformOrigin.var,(t=e.placement,UP[t]))},QP={name:"positionArrow",enabled:!0,phase:"afterWrite",fn:({state:e})=>{JP(e)}},JP=e=>{var t;if(!e.placement)return;const n=eO(e.placement);if((null==(t=e.elements)?void 0:t.arrow)&&n){Object.assign(e.elements.arrow.style,{[n.property]:n.value,width:WP.arrowSize.varRef,height:WP.arrowSize.varRef,zIndex:-1});const t={[WP.arrowSizeHalf.var]:`calc(${WP.arrowSize.varRef} / 2)`,[WP.arrowOffset.var]:`calc(${WP.arrowSizeHalf.varRef} * -1)`};for(const n in t)e.elements.arrow.style.setProperty(n,t[n])}},eO=e=>e.startsWith("top")?{property:"bottom",value:WP.arrowOffset.varRef}:e.startsWith("bottom")?{property:"top",value:WP.arrowOffset.varRef}:e.startsWith("left")?{property:"right",value:WP.arrowOffset.varRef}:e.startsWith("right")?{property:"left",value:WP.arrowOffset.varRef}:void 0,tO={name:"innerArrow",enabled:!0,phase:"main",requires:["arrow"],fn:({state:e})=>{nO(e)},effect:({state:e})=>()=>{nO(e)}},nO=e=>{if(!e.elements.arrow)return;const t=e.elements.arrow.querySelector("[data-popper-arrow-inner]");var n;t&&Object.assign(t.style,{transform:"rotate(45deg)",background:WP.arrowBg.varRef,top:0,left:0,width:"100%",height:"100%",position:"absolute",zIndex:"inherit",boxShadow:(n=e.placement,n.includes("top")?"1px 1px 1px 0 var(--popper-arrow-shadow-color)":n.includes("bottom")?"-1px -1px 1px 0 var(--popper-arrow-shadow-color)":n.includes("right")?"-1px 1px 1px 0 var(--popper-arrow-shadow-color)":n.includes("left")?"1px -1px 1px 0 var(--popper-arrow-shadow-color)":void 0)})},rO={"start-start":{ltr:"left-start",rtl:"right-start"},"start-end":{ltr:"left-end",rtl:"right-end"},"end-start":{ltr:"right-start",rtl:"left-start"},"end-end":{ltr:"right-end",rtl:"left-end"},start:{ltr:"left",rtl:"right"},end:{ltr:"right",rtl:"left"}},iO={"auto-start":"auto-end","auto-end":"auto-start","top-start":"top-end","top-end":"top-start","bottom-start":"bottom-end","bottom-end":"bottom-start"};function oO(e={}){const{enabled:t=!0,modifiers:n,placement:r="bottom",strategy:o="absolute",arrowPadding:a=8,eventListeners:s=!0,offset:l,gutter:u=8,flip:c=!0,boundary:f="clippingParents",preventOverflow:h=!0,matchWidth:d,direction:p="ltr"}=e,g=(0,i.useRef)(null),m=(0,i.useRef)(null),b=(0,i.useRef)(null),v=function(e,t="ltr"){var n;const r=(null==(n=rO[e])?void 0:n[t])||e;return"ltr"===t?r:iO[e]??r}(r,p),y=(0,i.useRef)((()=>{})),w=(0,i.useCallback)((()=>{var e;t&&g.current&&m.current&&(null==(e=y.current)||e.call(y),b.current=HP(g.current,m.current,{placement:v,modifiers:[tO,QP,KP,{...YP,enabled:!!d},{name:"eventListeners",...XP(s)},{name:"arrow",options:{padding:a}},{name:"offset",options:{offset:l??[0,u]}},{name:"flip",enabled:!!c,options:{padding:8}},{name:"preventOverflow",enabled:!!h,options:{boundary:f}},...n??[]],strategy:o}),b.current.forceUpdate(),y.current=b.current.destroy)}),[v,t,n,d,s,a,l,u,c,h,f,o]);(0,i.useEffect)((()=>()=>{var e;g.current||m.current||(null==(e=b.current)||e.destroy(),b.current=null)}),[]);const x=(0,i.useCallback)((e=>{g.current=e,w()}),[w]),_=(0,i.useCallback)(((e={},t=null)=>({...e,ref:fx(x,t)})),[x]),S=(0,i.useCallback)((e=>{m.current=e,w()}),[w]),k=(0,i.useCallback)(((e={},t=null)=>({...e,ref:fx(S,t),style:{...e.style,position:o,minWidth:d?void 0:"max-content",inset:"0 auto auto 0"}})),[o,S,d]),C=(0,i.useCallback)(((e={},t=null)=>{const{size:n,shadowColor:r,bg:i,style:o,...a}=e;return{...a,ref:t,"data-popper-arrow":"",style:aO(e)}}),[]),E=(0,i.useCallback)(((e={},t=null)=>({...e,ref:t,"data-popper-arrow-inner":""})),[]);return{update(){var e;null==(e=b.current)||e.update()},forceUpdate(){var e;null==(e=b.current)||e.forceUpdate()},transformOrigin:WP.transformOrigin.varRef,referenceRef:x,popperRef:S,getPopperProps:k,getArrowProps:C,getArrowInnerProps:E,getReferenceProps:_}}function aO(e){const{size:t,shadowColor:n,bg:r,style:i}=e,o={...i,position:"absolute"};return t&&(o["--popper-arrow-size"]=t),n&&(o["--popper-arrow-shadow-color"]=n),r&&(o["--popper-arrow-bg"]=r),o}function sO(e,t,n,r){const o=Hf(n);return(0,i.useEffect)((()=>{const i="function"==typeof e?e():e??document;if(n&&i)return i.addEventListener(t,o,r),()=>{i.removeEventListener(t,o,r)}}),[t,e,r,o,n]),()=>{const n="function"==typeof e?e():e??document;null==n||n.removeEventListener(t,o,r)}}function lO(e={}){const{onClose:t,onOpen:n,isOpen:r,id:o}=e,a=Hf(n),s=Hf(t),[l,u]=(0,i.useState)(e.defaultIsOpen||!1),c=void 0!==r?r:l,f=void 0!==r,h=(0,i.useId)(),d=o??`disclosure-${h}`,p=(0,i.useCallback)((()=>{f||u(!1),null==s||s()}),[f,s]),g=(0,i.useCallback)((()=>{f||u(!0),null==a||a()}),[f,a]),m=(0,i.useCallback)((()=>{c?p():g()}),[c,g,p]);return{isOpen:c,onOpen:g,onClose:p,onToggle:m,isControlled:f,getButtonProps:function(e={}){return{...e,"aria-expanded":c,"aria-controls":d,onClick(t){var n;null==(n=e.onClick)||n.call(e,t),m()}}},getDisclosureProps:function(e={}){return{...e,hidden:!c,id:d}}}}var uO={exit:{scale:.85,opacity:0,transition:{opacity:{duration:.15,easings:"easeInOut"},scale:{duration:.2,easings:"easeInOut"}}},enter:{scale:1,opacity:1,transition:{opacity:{easings:"easeOut",duration:.2},scale:{duration:.2,ease:[.175,.885,.4,1.1]}}}};function cO(...e){return function(t){e.some((e=>(null==e||e(t),null==t?void 0:t.defaultPrevented)))}}var fO=e=>{var t;return(null==(t=e.current)?void 0:t.ownerDocument)||document},hO=e=>{var t,n;return(null==(n=null==(t=e.current)?void 0:t.ownerDocument)?void 0:n.defaultView)||window};function dO(e={}){const{openDelay:t=0,closeDelay:n=0,closeOnClick:r=!0,closeOnMouseDown:o,closeOnScroll:a,closeOnPointerDown:s=o,closeOnEsc:l=!0,onOpen:u,onClose:c,placement:f,id:h,isOpen:d,defaultIsOpen:p,arrowSize:g=10,arrowShadowColor:m,arrowPadding:b,modifiers:v,isDisabled:y,gutter:w,offset:x,direction:_,...S}=e,{isOpen:k,onOpen:C,onClose:E}=lO({isOpen:d,defaultIsOpen:p,onOpen:u,onClose:c}),{referenceRef:I,getPopperProps:M,getArrowInnerProps:T,getArrowProps:A}=oO({enabled:k,placement:f,arrowPadding:b,modifiers:v,gutter:w,offset:x,direction:_}),P=(0,i.useId)(),O=`tooltip-${h??P}`,D=(0,i.useRef)(null),R=(0,i.useRef)(),L=(0,i.useCallback)((()=>{R.current&&(clearTimeout(R.current),R.current=void 0)}),[]),N=(0,i.useRef)(),j=(0,i.useCallback)((()=>{N.current&&(clearTimeout(N.current),N.current=void 0)}),[]),F=(0,i.useCallback)((()=>{j(),E()}),[E,j]),z=function(e,t){return(0,i.useEffect)((()=>{const n=fO(e);return n.addEventListener(pO,t),()=>n.removeEventListener(pO,t)}),[t,e]),()=>{const t=fO(e),n=hO(e);t.dispatchEvent(new n.CustomEvent(pO))}}(D,F),B=(0,i.useCallback)((()=>{if(!y&&!R.current){z();const e=hO(D);R.current=e.setTimeout(C,t)}}),[z,y,C,t]),V=(0,i.useCallback)((()=>{L();const e=hO(D);N.current=e.setTimeout(F,n)}),[n,F,L]),$=(0,i.useCallback)((()=>{k&&r&&V()}),[r,V,k]),H=(0,i.useCallback)((()=>{k&&s&&V()}),[s,V,k]),G=(0,i.useCallback)((e=>{k&&"Escape"===e.key&&V()}),[k,V]);sO((()=>fO(D)),"keydown",l?G:void 0),sO((()=>fO(D)),"scroll",(()=>{k&&a&&F()})),(0,i.useEffect)((()=>{y&&(L(),k&&E())}),[y,k,E,L]),(0,i.useEffect)((()=>()=>{L(),j()}),[L,j]),sO((()=>D.current),"pointerleave",V);const W=(0,i.useCallback)(((e={},t=null)=>{const n={...e,ref:fx(D,t,I),onPointerEnter:cO(e.onPointerEnter,(e=>{"touch"!==e.pointerType&&B()})),onClick:cO(e.onClick,$),onPointerDown:cO(e.onPointerDown,H),onFocus:cO(e.onFocus,B),onBlur:cO(e.onBlur,V),"aria-describedby":k?O:void 0};return n}),[B,V,H,k,O,$,I]),U=(0,i.useCallback)(((e={},t=null)=>M({...e,style:{...e.style,[WP.arrowSize.var]:g?`${g}px`:void 0,[WP.arrowShadowColor.var]:m}},t)),[M,g,m]),q=(0,i.useCallback)(((e={},t=null)=>{const n={...e.style,position:"relative",transformOrigin:WP.transformOrigin.varRef};return{ref:t,...S,...e,id:O,role:"tooltip",style:n}}),[S,O]);return{isOpen:k,show:B,hide:V,getTriggerProps:W,getTooltipProps:q,getTooltipPositionerProps:U,getArrowProps:A,getArrowInnerProps:T}}var pO="chakra-ui:close-tooltip";var gO=zi(Kv.div),mO=Li(((e,t)=>{const n=ji("Tooltip",e),r=Ur(e),o=Si(),{children:a,label:s,shouldWrapChildren:l,"aria-label":u,hasArrow:c,bg:f,portalProps:h,background:d,backgroundColor:p,bgColor:g,motionProps:m,...b}=r,v=d??p??f??g;if(v){n.bg=v;const e=function(e,t,n){var r,i;return(null==(i=null==(r=e.__cssMap)?void 0:r[`${t}.${n}`])?void 0:i.varRef)??n}(o,"colors",v);n[WP.arrowBg.var]=e}const y=dO({...b,direction:o.direction});let w;if("string"==typeof a||l)w=i.createElement(zi.span,{display:"inline-block",tabIndex:0,...y.getTriggerProps()},a);else{const e=i.Children.only(a);w=(0,i.cloneElement)(e,y.getTriggerProps(e.props,e.ref))}const x=!!u,_=y.getTooltipProps({},t),S=x?function(e,t=[]){const n=Object.assign({},e);for(const e of t)e in n&&delete n[e];return n}(_,["role","id"]):_,k=function(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}(_,["role","id"]);return s?i.createElement(i.Fragment,null,w,i.createElement($f,null,y.isOpen&&i.createElement(zt,{...h},i.createElement(zi.div,{...y.getTooltipPositionerProps(),__css:{zIndex:n.zIndex,pointerEvents:"none"}},i.createElement(gO,{variants:uO,initial:"exit",animate:"enter",exit:"exit",...m,...S,__css:n},s,x&&i.createElement(zi.span,{srOnly:!0,...k},u),c&&i.createElement(zi.div,{"data-popper-arrow":!0,className:"chakra-tooltip__arrow-wrapper"},i.createElement(zi.div,{"data-popper-arrow-inner":!0,className:"chakra-tooltip__arrow",__css:{bg:n.bg}}))))))):i.createElement(i.Fragment,null,a)}));function bO(e){return L_({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"},child:[]},{tag:"path",attr:{d:"M9.4 16.6 4.8 12l4.6-4.6L8 6l-6 6 6 6 1.4-1.4zm5.2 0 4.6-4.6-4.6-4.6L16 6l6 6-6 6-1.4-1.4z"},child:[]}]})(e)}function vO(e){return L_({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"},child:[]},{tag:"path",attr:{d:"M8 19h3v3h2v-3h3l-4-4-4 4zm8-15h-3V1h-2v3H8l4 4 4-4zM4 9v2h16V9H4zM4 12h16v2H4z"},child:[]}]})(e)}function yO(e){return L_({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M17 12h-5v5h5v-5zM16 1v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19a2 2 0 0 0 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2h-1V1h-2zm3 18H5V8h14v11z"},child:[]}]})(e)}function wO(e){return L_({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"},child:[]},{tag:"path",attr:{d:"M4 20h16v2H4zM4 2h16v2H4zm9 7h3l-4-4-4 4h3v6H8l4 4 4-4h-3z"},child:[]}]})(e)}function xO(e){return L_({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z"},child:[]}]})(e)}function _O(e){return L_({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M3 15h18v-2H3v2zm0 4h18v-2H3v2zm0-8h18V9H3v2zm0-6v2h18V5H3z"},child:[]}]})(e)}function SO(e){return L_({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"m18 12 4-4-4-4v3H3v2h15zM6 12l-4 4 4 4v-3h15v-2H6z"},child:[]}]})(e)}function kO(e){return L_({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z"},child:[]}]})(e)}function CO(e){return L_({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M8 5v14l11-7z"},child:[]}]})(e)}function EO(e){return L_({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"m18 22-.01-6L14 12l3.99-4.01L18 2H6v6l4 4-4 3.99V22h12zM8 7.5V4h8v3.5l-4 4-4-4z"},child:[]}]})(e)}function IO(e){return L_({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"},child:[]},{tag:"path",attr:{d:"M15.41 16.59 10.83 12l4.58-4.59L14 6l-6 6 6 6 1.41-1.41z"},child:[]}]})(e)}function MO(e){return L_({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"},child:[]},{tag:"path",attr:{d:"M8.59 16.59 13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.41z"},child:[]}]})(e)}function TO(e){return L_({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M12 3 2 21h20L12 3zm1 5.92L18.6 19H13V8.92zm-2 0V19H5.4L11 8.92z"},child:[]}]})(e)}function AO(e){return L_({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04a.996.996 0 0 0 0-1.41l-2.34-2.34a.996.996 0 0 0-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z"},child:[]}]})(e)}function PO(e){return L_({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"m7 10 5 5 5-5z"},child:[]}]})(e)}function OO(e){return L_({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M17.65 6.35A7.958 7.958 0 0 0 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08A5.99 5.99 0 0 1 12 18c-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"},child:[]}]})(e)}function DO(e){return L_({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M22 11V3h-7v3H9V3H2v8h7V8h2v10h4v3h7v-8h-7v3h-2V8h2v3z"},child:[]}]})(e)}function RO(e){return L_({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"},child:[]},{tag:"path",attr:{d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm.5-13H11v6l5.25 3.15.75-1.23-4.5-2.67z"},child:[]}]})(e)}function LO(e){return L_({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M6 15h6v2H6zM12 7h6v2h-6zM9 11h6v2H9z"},child:[]},{tag:"path",attr:{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V5h14v14z"},child:[]}]})(e)}function NO(e){return L_({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"},child:[]},{tag:"path",attr:{d:"M19 3h-1V1h-2v2H8V1H6v2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V9h14v10zM5 7V5h14v2H5zm2 4h10v2H7zm0 4h7v2H7z"},child:[]}]})(e)}mO.displayName="Tooltip";const jO=e=>{let{label:t,...n}=e;const r=Sy();return i.createElement(mO,{label:t,hasArrow:!0,placement:"top",portalProps:{containerRef:r}},i.createElement(Ow,{display:"inline",ml:1,color:"gray.500"},i.createElement(xO,n)))};function FO(e){return L_({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M10 4V2H4v20h6v-2H6V4zm4 16v2h6V2h-6v2h4v16z"},child:[]}]})(e)}function zO(e){return L_({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"m10.013 13.738-2.254.387a4.475 4.475 0 0 0 1.753 2.231l.865-2.095a.27.27 0 0 0 .022-.228c-.022-.18-.204-.295-.386-.295zm.865-2.914c.205 0 .387-.159.387-.364l.114-2.277-.456.091a4.516 4.516 0 0 0-2.118 1.162l1.89 1.343c.069.022.115.045.183.045zm-1.002 1.48a.366.366 0 0 0-.045-.524l-1.685-1.503a4.797 4.797 0 0 0-.661 2.778l2.209-.637c.091-.023.137-.046.182-.114zm1.457.797.616.296.614-.296.16-.661-.433-.546h-.683l-.433.546zm1.344-2.436c.114.159.341.182.5.091l1.867-1.32a4.286 4.286 0 0 0-2.573-1.23l.137 2.3a.215.215 0 0 0 .069.159z"},child:[]},{tag:"path",attr:{d:"m21.944 14.103-1.73-7.446c-.113-.364-.387-.66-.729-.842L12.541 2.49c-.182-.091-.387-.114-.569-.114s-.387 0-.569.045L4.457 5.769a1.22 1.22 0 0 0-.683.842l-1.708 7.492c-.068.387.023.774.25 1.093l4.805 5.943c.273.273.66.456 1.047.479h7.651c.41.045.797-.137 1.048-.479l4.805-5.943c.227-.319.318-.706.272-1.093zm-2.845.501c-.046 0-.068 0-.114-.023-.022-.023-.022-.023-.045-.023-.046 0-.068-.022-.092-.022-.091-.023-.159-.068-.25-.114a.32.32 0 0 1-.137-.045h-.022a3.91 3.91 0 0 0-.729-.205h-.022a.26.26 0 0 0-.182.068s0 .023-.023.023l-.183-.024a5.628 5.628 0 0 1-2.46 3.097l.068.182s-.022 0-.022.022a.264.264 0 0 0-.022.228c.091.228.205.455.364.66v.045a.396.396 0 0 1 .091.114.81.81 0 0 1 .159.228c.023.022.046.045.046.068 0 0 .022 0 .022.022a.582.582 0 0 1 .023.342.38.38 0 0 1-.205.25c-.068.022-.114.045-.183.045a.511.511 0 0 1-.433-.273c-.022 0-.022-.022-.022-.022-.022-.023-.022-.045-.046-.068-.045-.068-.068-.159-.091-.25l-.046-.137v-.022a3.816 3.816 0 0 0-.296-.706.353.353 0 0 0-.182-.137c0-.023 0-.023-.023-.023l-.091-.159c-.228.068-.479.159-.729.205-.41.114-.82.159-1.229.159a5.368 5.368 0 0 1-1.981-.364l-.091.182c0 .023 0 .023-.023.023a.35.35 0 0 0-.182.137c-.114.228-.228.455-.296.706l-.045.137c-.023.091-.068.159-.091.25-.022.023-.045.045-.045.068-.023 0-.023.022-.023.022a.508.508 0 0 1-.433.273.434.434 0 0 1-.159-.045.469.469 0 0 1-.182-.615c.023 0 .023-.023.023-.023.022-.023.022-.045.045-.068.068-.091.114-.182.159-.228s.068-.068.091-.114v-.023a3.73 3.73 0 0 0 .364-.66.268.268 0 0 0-.023-.228s-.022 0-.022-.022l.114-.16a3.578 3.578 0 0 1-.615-.41 5.493 5.493 0 0 1-1.867-2.664l-.205.022s0-.022-.023-.022a.256.256 0 0 0-.182-.068h-.022a4.015 4.015 0 0 0-.751.205h-.024c-.045 0-.091.023-.137.046-.068.022-.159.068-.25.091-.022 0-.091-.022-.091 0 0 .023 0 .023-.023.023-.045.023-.068.023-.114.023a.424.424 0 0 1-.456-.319.445.445 0 0 1 .364-.524c.023-.023.023-.023.046-.023.045 0 .068-.022.091-.022.091 0 .182-.023.273-.023.045-.022.091-.022.137-.022a4.2 4.2 0 0 0 .774-.137c.068-.046.137-.091.16-.16 0 0 .022 0 .022-.022l.182-.046c-.205-1.298.091-2.618.797-3.734.022-.045.045-.068.068-.114l-.131-.132a.106.106 0 0 1-.004.019v-.023l.004.004c.01-.065-.031-.145-.072-.186-.182-.182-.41-.319-.638-.455l-.136-.069a2.587 2.587 0 0 1-.251-.136c-.022 0-.068-.045-.068-.045s0-.023-.022-.023a.49.49 0 0 1-.092-.639c.068-.114.182-.159.319-.159a.54.54 0 0 1 .319.114l.023.023c.022.022.045.022.068.045.068.069.114.137.182.205.023.022.068.045.091.091.159.182.364.364.569.524.045.022.091.045.137.045.045 0 .068-.023.091-.023h.023l.137.091a5.426 5.426 0 0 1 2.801-1.594c.273-.046.523-.091.774-.114l.023-.182v-.045c.068-.045.091-.114.114-.182 0-.273 0-.524-.045-.774v-.023c0-.045 0-.091-.023-.137a1.129 1.129 0 0 1-.045-.273v-.113c0-.114.045-.228.137-.319.114-.114.25-.182.387-.159a.45.45 0 0 1 .387.478v.137c-.023.091-.023.182-.045.273 0 .045-.023.091-.023.136v.023c-.048.273-.048.524-.048.774.023.068.045.136.114.182v-.023l.023.182a5.84 5.84 0 0 1 2.96 1.184c.183.182.387.364.569.546l.183-.114h.022c.022.023.068.023.091.023.046 0 .091-.023.137-.045.205-.137.41-.319.569-.501.022-.023.068-.046.091-.091.046-.068.114-.137.183-.205.022 0 .045-.022.068-.045l.022-.023a.546.546 0 0 1 .318-.114c.114 0 .251.068.319.16.159.205.113.478-.091.637 0 .023.022.023 0 .046-.023.022-.046.022-.068.045-.092.045-.16.091-.251.137l-.137.068a4.104 4.104 0 0 0-.638.455c-.045.046-.068.137-.068.205v.023l-.136.137c.364.569.638 1.207.797 1.867.137.66.182 1.343.091 2.003l.182.046a.278.278 0 0 0 .16.159c.25.068.523.114.773.137h.023a.297.297 0 0 0 .137.022c.091 0 .182 0 .272.023.046 0 .092 0 .092.023 0 .022.022.022.045.022a.537.537 0 0 1 .41.479.49.49 0 0 1-.453.32z"},child:[]},{tag:"path",attr:{d:"M12.085 14.718a.352.352 0 0 0-.455.091l-1.116 2.027c.456.136.957.228 1.435.228.341 0 .66-.045.979-.114.159-.045.296-.068.433-.091l-1.093-1.981c-.069-.069-.115-.115-.183-.16zm3.644-4.441-1.708 1.548a.36.36 0 0 0-.091.16c-.046.205.068.41.273.455l2.163.615a4.375 4.375 0 0 0-.092-1.435 4.63 4.63 0 0 0-.545-1.343zm-2.073 3.484a.371.371 0 0 0-.205.433l.889 2.141a4.366 4.366 0 0 0 1.366-1.366c.182-.25.318-.547.433-.865l-2.277-.387a.634.634 0 0 0-.206.044z"},child:[]}]})(e)}var BO=(...e)=>e.filter(Boolean).join(" "),[VO,$O]=It({name:"BreadcrumbStylesContext",errorMessage:"useBreadcrumbStyles returned is 'undefined'. Seems you forgot to wrap the components in \"<Breadcrumb />\" "}),HO=Li((function(e,t){const n=Fi("Breadcrumb",e),r=Ur(e),{children:o,spacing:a="0.5rem",separator:s="/",className:l,listProps:u,...c}=r,f=Tw(o),h=f.length,d=f.map(((e,t)=>(0,i.cloneElement)(e,{separator:s,spacing:a,isLastChild:h===t+1}))),p=BO("chakra-breadcrumb",l);return i.createElement(zi.nav,{ref:t,"aria-label":"breadcrumb",className:p,__css:n.container,...c},i.createElement(VO,{value:n},i.createElement(zi.ol,{className:"chakra-breadcrumb__list",...u,__css:{display:"flex",alignItems:"center",...n.list}},d)))}));HO.displayName="Breadcrumb";var GO=Li((function(e,t){const{spacing:n,...r}=e,o={mx:n,...$O().separator};return i.createElement(zi.span,{ref:t,role:"presentation",...r,__css:o})}));GO.displayName="BreadcrumbSeparator";var WO=Li((function(e,t){const{isCurrentPage:n,as:r,className:o,href:a,...s}=e,l=$O(),u={ref:t,as:r,className:BO("chakra-breadcrumb__link",o),...s};return n?i.createElement(zi.span,{"aria-current":"page",__css:l.link,...u}):i.createElement(zi.a,{__css:l.link,href:a,...u})}));WO.displayName="BreadcrumbLink";var UO=Li((function(e,t){const{isCurrentPage:n,separator:r,isLastChild:o,spacing:a,children:s,className:l,...u}=e,c=Tw(s).map((e=>e.type===WO?(0,i.cloneElement)(e,{isCurrentPage:n}):e.type===GO?(0,i.cloneElement)(e,{spacing:a,children:e.props.children||r}):e)),f={display:"inline-flex",alignItems:"center",...$O().item},h=BO("chakra-breadcrumb__list-item",l);return i.createElement(zi.li,{ref:t,className:h,...u,__css:f},c,!o&&i.createElement(GO,{spacing:a},r))}));UO.displayName="BreadcrumbItem";const qO=e=>{let{dateTime:t,format:n=Ey}=e;const{timezone:r}=Dy(),o=moment(t);if(!t||!o.isValid())return null;const a=o.tz(r).format(n),s=o.tz("UTC").format(Ey);return i.createElement("time",{dateTime:t,title:"UTC"!==r.toUpperCase()?s:void 0},a)};function XO(e){return L_({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"currentColor"},child:[{tag:"path",attr:{d:"M8 7V11L2 6L8 1V5H13C17.4183 5 21 8.58172 21 13C21 17.4183 17.4183 21 13 21H4V19H13C16.3137 19 19 16.3137 19 13C19 9.68629 16.3137 7 13 7H8Z"},child:[]}]})(e)}function YO(e){return L_({tag:"svg",attr:{viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{d:"M3 12v3c0 1.657 3.134 3 7 3s7-1.343 7-3v-3c0 1.657-3.134 3-7 3s-7-1.343-7-3z"},child:[]},{tag:"path",attr:{d:"M3 7v3c0 1.657 3.134 3 7 3s7-1.343 7-3V7c0 1.657-3.134 3-7 3S3 8.657 3 7z"},child:[]},{tag:"path",attr:{d:"M17 5c0 1.657-3.134 3-7 3S3 6.657 3 5s3.134-3 7-3 7 1.343 7 3z"},child:[]}]})(e)}const KO={display:"inline",verticalAlign:"bottom"},ZO=e=>{let{runType:t,...n}=e;switch(t){case"manual":return i.createElement(CO,Fe({style:KO},n));case"backfill":return i.createElement(XO,Fe({style:KO},n));case"scheduled":return i.createElement(RO,Fe({style:KO},n));case"dataset_triggered":return i.createElement(YO,Fe({style:KO},n));default:return null}},QO=e=>{let{label:t,value:n}=e;return i.createElement(Ow,{position:"relative"},i.createElement(Gw,{as:"h5",size:"sm",color:"gray.300",position:"absolute",top:"-12px",whiteSpace:"nowrap"},t),i.createElement(Gw,{as:"h3",size:"md"},n))},JO=Qy("dag_display_name"),eD=e=>{let{mapIndex:t}=e;const{data:{dagRuns:n,groups:r}}=CC(),{selected:{taskId:o,runId:a},onSelect:s,clearSelection:l}=yC(),u=n.find((e=>e.runId===a)),c=nw({taskId:o,task:r});let f;if((0,i.useEffect)((()=>{o&&!c&&s({runId:a})}),[o,c,s,a]),u&&a){const e=a.includes("manual__")||a.includes("scheduled__")||a.includes("backfill__")||a.includes("dataset_triggered__")?i.createElement(qO,{dateTime:iw({dagRun:u})}):a;f=i.createElement(i.Fragment,null,i.createElement(ZO,{runType:u.runType}),e)}const h=c?.label||c?.id||"",d=!a&&!o,p=!(!a||o),g=!a&&o,m=a&&o&&void 0!==t;return i.createElement(HO,{ml:3,pt:2,separator:i.createElement(sx,{color:"gray.300"},"/")},i.createElement(UO,{isCurrentPage:d,mt:4},i.createElement(WO,{onClick:l,_hover:d?{cursor:"default"}:void 0},i.createElement(QO,{label:"DAG",value:JO}))),a&&i.createElement(UO,{isCurrentPage:p,mt:4},i.createElement(WO,{onClick:()=>s({runId:a}),_hover:p?{cursor:"default"}:void 0},i.createElement(QO,{label:"Run",value:f}))),o&&i.createElement(UO,{isCurrentPage:!0,mt:4},i.createElement(WO,{onClick:()=>s(void 0!==t?{runId:a,taskId:o}:{taskId:o}),_hover:g?{cursor:"default"}:void 0},i.createElement(QO,{label:"Task",value:`${h}${c?.isMapped?" []":""}`}))),void 0!==t&&-1!==t&&i.createElement(UO,{isCurrentPage:!0,mt:4},i.createElement(WO,{_hover:m?{cursor:"default"}:void 0},i.createElement(QO,{label:"Map Index",value:t}))))};var tD=(...e)=>e.filter(Boolean).join(" ");var nD=["h","minH","height","minHeight"],rD=Li(((e,t)=>{const n=ji("Textarea",e),{className:r,rows:o,...a}=Ur(e),s=GT(a),l=o?function(e,t=[]){const n=Object.assign({},e);for(const e of t)e in n&&delete n[e];return n}(n,nD):n;return i.createElement(zi.textarea,{ref:t,rows:o,...s,className:tD("chakra-textarea",r),__css:l})}));function iD(){return iD=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},iD.apply(this,arguments)}rD.displayName="Textarea";const oD=i.useLayoutEffect;var aD=function(e,t){"function"!=typeof e?e.current=t:e(t)};const sD=function(e,t){var n=(0,i.useRef)();return(0,i.useCallback)((function(r){e.current=r,n.current&&aD(n.current,null),n.current=t,t&&aD(t,r)}),[t])};var lD={"min-height":"0","max-height":"none",height:"0",visibility:"hidden",overflow:"hidden",position:"absolute","z-index":"-1000",top:"0",right:"0"},uD=function(e){Object.keys(lD).forEach((function(t){e.style.setProperty(t,lD[t],"important")}))},cD=null;var fD=function(){},hD=["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth","boxSizing","fontFamily","fontSize","fontStyle","fontWeight","letterSpacing","lineHeight","paddingBottom","paddingLeft","paddingRight","paddingTop","tabSize","textIndent","textRendering","textTransform","width","wordBreak"],dD=!!document.documentElement.currentStyle,pD=function(e){var t,n,r=(t=e,n=i.useRef(t),oD((function(){n.current=t})),n);(0,i.useLayoutEffect)((function(){var e=function(e){r.current(e)};return window.addEventListener("resize",e),function(){window.removeEventListener("resize",e)}}),[])},gD=function(e,t){var n=e.cacheMeasurements,r=e.maxRows,o=e.minRows,a=e.onChange,s=void 0===a?fD:a,l=e.onHeightChange,u=void 0===l?fD:l,c=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,["cacheMeasurements","maxRows","minRows","onChange","onHeightChange"]);var f=void 0!==c.value,h=(0,i.useRef)(null),d=sD(h,t),p=(0,i.useRef)(0),g=(0,i.useRef)(),m=function(){var e=h.current,t=n&&g.current?g.current:function(e){var t=window.getComputedStyle(e);if(null===t)return null;var n,r=(n=t,hD.reduce((function(e,t){return e[t]=n[t],e}),{})),i=r.boxSizing;return""===i?null:(dD&&"border-box"===i&&(r.width=parseFloat(r.width)+parseFloat(r.borderRightWidth)+parseFloat(r.borderLeftWidth)+parseFloat(r.paddingRight)+parseFloat(r.paddingLeft)+"px"),{sizingStyle:r,paddingSize:parseFloat(r.paddingBottom)+parseFloat(r.paddingTop),borderSize:parseFloat(r.borderBottomWidth)+parseFloat(r.borderTopWidth)})}(e);if(t){g.current=t;var i=function(e,t,n,r){void 0===n&&(n=1),void 0===r&&(r=1/0),cD||((cD=document.createElement("textarea")).setAttribute("tabindex","-1"),cD.setAttribute("aria-hidden","true"),uD(cD)),null===cD.parentNode&&document.body.appendChild(cD);var i=e.paddingSize,o=e.borderSize,a=e.sizingStyle,s=a.boxSizing;Object.keys(a).forEach((function(e){var t=e;cD.style[t]=a[t]})),uD(cD),cD.value=t;var l=function(e,t){var n=e.scrollHeight;return"border-box"===t.sizingStyle.boxSizing?n+t.borderSize:n-t.paddingSize}(cD,e);cD.value="x";var u=cD.scrollHeight-i,c=u*n;"border-box"===s&&(c=c+i+o),l=Math.max(c,l);var f=u*r;return"border-box"===s&&(f=f+i+o),[l=Math.min(f,l),u]}(t,e.value||e.placeholder||"x",o,r),a=i[0],s=i[1];p.current!==a&&(p.current=a,e.style.setProperty("height",a+"px","important"),u(a,{rowHeight:s}))}};return(0,i.useLayoutEffect)(m),pD(m),(0,i.createElement)("textarea",iD({},c,{onChange:function(e){f||m(),s(e)},ref:d}))};const mD=(0,i.forwardRef)(gD);function bD(e,t=[]){const n=Object.assign({},e);for(const e of t)e in n&&delete n[e];return n}var vD=Li((function(e,t){const{htmlWidth:n,htmlHeight:r,alt:o,...a}=e;return i.createElement("img",{width:n,height:r,ref:t,alt:o,...a})}));vD.displayName="NativeImage";var yD=Li((function(e,t){const{fallbackSrc:n,fallback:r,src:o,srcSet:a,align:s,fit:l,loading:u,ignoreFallback:c,crossOrigin:f,fallbackStrategy:h="beforeLoadOrError",referrerPolicy:d,...p}=e,g=null!=u||c||!(void 0!==n||void 0!==r),m=function(e){const{loading:t,src:n,srcSet:r,onLoad:o,onError:a,crossOrigin:s,sizes:l,ignoreFallback:u}=e,[c,f]=(0,i.useState)("pending");(0,i.useEffect)((()=>{f(n?"loading":"pending")}),[n]);const h=(0,i.useRef)(),d=(0,i.useCallback)((()=>{if(!n)return;p();const e=new Image;e.src=n,s&&(e.crossOrigin=s),r&&(e.srcset=r),l&&(e.sizes=l),t&&(e.loading=t),e.onload=e=>{p(),f("loaded"),null==o||o(e)},e.onerror=e=>{p(),f("failed"),null==a||a(e)},h.current=e}),[n,s,r,l,o,a,t]),p=()=>{h.current&&(h.current.onload=null,h.current.onerror=null,h.current=null)};return Mt((()=>{if(!u)return"loading"===c&&d(),()=>{p()}}),[c,d,u]),u?"loaded":c}({...e,ignoreFallback:g}),b=((e,t)=>"loaded"!==e&&"beforeLoadOrError"===t||"failed"===e&&"onError"===t)(m,h),v={ref:t,objectFit:l,objectPosition:s,...g?p:bD(p,["onError","onLoad"])};return b?r||i.createElement(zi.img,{as:vD,className:"chakra-image__placeholder",src:n,...v}):i.createElement(zi.img,{as:vD,src:o,srcSet:a,crossOrigin:f,loading:u,referrerPolicy:d,className:"chakra-image",...v})}));yD.displayName="Image";Li(((e,t)=>i.createElement(zi.img,{ref:t,as:vD,className:"chakra-image",...e})));var wD=a(7206);function xD(e){return e&&"object"==typeof e?"position"in e||"type"in e?SD(e.position):"start"in e||"end"in e?SD(e):"line"in e||"column"in e?_D(e):"":""}function _D(e){return kD(e&&e.line)+":"+kD(e&&e.column)}function SD(e){return _D(e&&e.start)+"-"+_D(e&&e.end)}function kD(e){return e&&"number"==typeof e?e:1}class CD extends Error{constructor(e,t,n){const r=[null,null];let i={start:{line:null,column:null},end:{line:null,column:null}};if(super(),"string"==typeof t&&(n=t,t=void 0),"string"==typeof n){const e=n.indexOf(":");-1===e?r[1]=n:(r[0]=n.slice(0,e),r[1]=n.slice(e+1))}t&&("type"in t||"position"in t?t.position&&(i=t.position):"start"in t||"end"in t?i=t:("line"in t||"column"in t)&&(i.start=t)),this.name=xD(t)||"1:1",this.message="object"==typeof e?e.message:e,this.stack="","object"==typeof e&&e.stack&&(this.stack=e.stack),this.reason=this.message,this.fatal,this.line=i.start.line,this.column=i.start.column,this.position=i,this.source=r[0],this.ruleId=r[1],this.file,this.actual,this.expected,this.url,this.note}}CD.prototype.file="",CD.prototype.name="",CD.prototype.reason="",CD.prototype.message="",CD.prototype.stack="",CD.prototype.fatal=null,CD.prototype.column=null,CD.prototype.line=null,CD.prototype.source=null,CD.prototype.ruleId=null,CD.prototype.position=null;const ED={basename:function(e,t){if(void 0!==t&&"string"!=typeof t)throw new TypeError('"ext" argument must be a string');ID(e);let n,r=0,i=-1,o=e.length;if(void 0===t||0===t.length||t.length>e.length){for(;o--;)if(47===e.charCodeAt(o)){if(n){r=o+1;break}}else i<0&&(n=!0,i=o+1);return i<0?"":e.slice(r,i)}if(t===e)return"";let a=-1,s=t.length-1;for(;o--;)if(47===e.charCodeAt(o)){if(n){r=o+1;break}}else a<0&&(n=!0,a=o+1),s>-1&&(e.charCodeAt(o)===t.charCodeAt(s--)?s<0&&(i=o):(s=-1,i=a));r===i?i=a:i<0&&(i=e.length);return e.slice(r,i)},dirname:function(e){if(ID(e),0===e.length)return".";let t,n=-1,r=e.length;for(;--r;)if(47===e.charCodeAt(r)){if(t){n=r;break}}else t||(t=!0);return n<0?47===e.charCodeAt(0)?"/":".":1===n&&47===e.charCodeAt(0)?"//":e.slice(0,n)},extname:function(e){ID(e);let t,n=e.length,r=-1,i=0,o=-1,a=0;for(;n--;){const s=e.charCodeAt(n);if(47!==s)r<0&&(t=!0,r=n+1),46===s?o<0?o=n:1!==a&&(a=1):o>-1&&(a=-1);else if(t){i=n+1;break}}if(o<0||r<0||0===a||1===a&&o===r-1&&o===i+1)return"";return e.slice(o,r)},join:function(...e){let t,n=-1;for(;++n<e.length;)ID(e[n]),e[n]&&(t=void 0===t?e[n]:t+"/"+e[n]);return void 0===t?".":function(e){ID(e);const t=47===e.charCodeAt(0);let n=function(e,t){let n,r,i="",o=0,a=-1,s=0,l=-1;for(;++l<=e.length;){if(l<e.length)n=e.charCodeAt(l);else{if(47===n)break;n=47}if(47===n){if(a===l-1||1===s);else if(a!==l-1&&2===s){if(i.length<2||2!==o||46!==i.charCodeAt(i.length-1)||46!==i.charCodeAt(i.length-2))if(i.length>2){if(r=i.lastIndexOf("/"),r!==i.length-1){r<0?(i="",o=0):(i=i.slice(0,r),o=i.length-1-i.lastIndexOf("/")),a=l,s=0;continue}}else if(i.length>0){i="",o=0,a=l,s=0;continue}t&&(i=i.length>0?i+"/..":"..",o=2)}else i.length>0?i+="/"+e.slice(a+1,l):i=e.slice(a+1,l),o=l-a-1;a=l,s=0}else 46===n&&s>-1?s++:s=-1}return i}(e,!t);0!==n.length||t||(n=".");n.length>0&&47===e.charCodeAt(e.length-1)&&(n+="/");return t?"/"+n:n}(t)},sep:"/"};function ID(e){if("string"!=typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const MD={cwd:function(){return"/"}};function TD(e){return null!==e&&"object"==typeof e&&e.href&&e.origin}function AD(e){if("string"==typeof e)e=new URL(e);else if(!TD(e)){const t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if("file:"!==e.protocol){const e=new TypeError("The URL must be of scheme file");throw e.code="ERR_INVALID_URL_SCHEME",e}return function(e){if(""!==e.hostname){const e=new TypeError('File URL host must be "localhost" or empty on darwin');throw e.code="ERR_INVALID_FILE_URL_HOST",e}const t=e.pathname;let n=-1;for(;++n<t.length;)if(37===t.charCodeAt(n)&&50===t.charCodeAt(n+1)){const e=t.charCodeAt(n+2);if(70===e||102===e){const e=new TypeError("File URL path must not include encoded / characters");throw e.code="ERR_INVALID_FILE_URL_PATH",e}}return decodeURIComponent(t)}(e)}const PD=["history","path","basename","stem","extname","dirname"];class OD{constructor(e){let t;t=e?"string"==typeof e||wD(e)?{value:e}:TD(e)?{path:e}:e:{},this.data={},this.messages=[],this.history=[],this.cwd=MD.cwd(),this.value,this.stored,this.result,this.map;let n,r=-1;for(;++r<PD.length;){const e=PD[r];e in t&&void 0!==t[e]&&(this[e]="history"===e?[...t[e]]:t[e])}for(n in t)PD.includes(n)||(this[n]=t[n])}get path(){return this.history[this.history.length-1]}set path(e){TD(e)&&(e=AD(e)),RD(e,"path"),this.path!==e&&this.history.push(e)}get dirname(){return"string"==typeof this.path?ED.dirname(this.path):void 0}set dirname(e){LD(this.basename,"dirname"),this.path=ED.join(e||"",this.basename)}get basename(){return"string"==typeof this.path?ED.basename(this.path):void 0}set basename(e){RD(e,"basename"),DD(e,"basename"),this.path=ED.join(this.dirname||"",e)}get extname(){return"string"==typeof this.path?ED.extname(this.path):void 0}set extname(e){if(DD(e,"extname"),LD(this.dirname,"extname"),e){if(46!==e.charCodeAt(0))throw new Error("`extname` must start with `.`");if(e.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=ED.join(this.dirname,this.stem+(e||""))}get stem(){return"string"==typeof this.path?ED.basename(this.path,this.extname):void 0}set stem(e){RD(e,"stem"),DD(e,"stem"),this.path=ED.join(this.dirname||"",e+(this.extname||""))}toString(e){return(this.value||"").toString(e)}message(e,t,n){const r=new CD(e,t,n);return this.path&&(r.name=this.path+":"+r.name,r.file=this.path),r.fatal=!1,this.messages.push(r),r}info(e,t,n){const r=this.message(e,t,n);return r.fatal=null,r}fail(e,t,n){const r=this.message(e,t,n);throw r.fatal=!0,r}}function DD(e,t){if(e&&e.includes(ED.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+ED.sep+"`")}function RD(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function LD(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}function ND(e){if(e)throw e}var jD=a(2849);function FD(e){if("object"!=typeof e||null===e)return!1;const t=Object.getPrototypeOf(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)}function zD(){const e=[],t={run:function(...t){let n=-1;const r=t.pop();if("function"!=typeof r)throw new TypeError("Expected function as last argument, not "+r);!function i(o,...a){const s=e[++n];let l=-1;if(o)r(o);else{for(;++l<t.length;)null!==a[l]&&void 0!==a[l]||(a[l]=t[l]);t=a,s?function(e,t){let n;return r;function r(...t){const r=e.length>t.length;let a;r&&t.push(i);try{a=e.apply(this,t)}catch(e){const t=e;if(r&&n)throw t;return i(t)}r||(a instanceof Promise?a.then(o,i):a instanceof Error?i(a):o(a))}function i(e,...r){n||(n=!0,t(e,...r))}function o(e){i(null,e)}}(s,i)(...a):r(null,...a)}}(null,...t)},use:function(n){if("function"!=typeof n)throw new TypeError("Expected `middelware` to be a function, not "+n);return e.push(n),t}};return t}const BD=function e(){const t=zD(),n=[];let r,i={},o=-1;return a.data=s,a.Parser=void 0,a.Compiler=void 0,a.freeze=function(){if(r)return a;for(;++o<n.length;){const[e,...r]=n[o];if(!1===r[0])continue;!0===r[0]&&(r[0]=void 0);const i=e.call(a,...r);"function"==typeof i&&t.use(i)}return r=!0,o=Number.POSITIVE_INFINITY,a},a.attachers=n,a.use=l,a.parse=function(e){a.freeze();const t=XD(e),n=a.Parser;if(HD("parse",n),$D(n,"parse"))return new n(String(t),t).parse();return n(String(t),t)},a.stringify=function(e,t){a.freeze();const n=XD(t),r=a.Compiler;if(GD("stringify",r),UD(e),$D(r,"compile"))return new r(e,n).compile();return r(e,n)},a.run=function(e,n,r){UD(e),a.freeze(),r||"function"!=typeof n||(r=n,n=void 0);if(!r)return new Promise(i);function i(i,o){function a(t,n,a){n=n||e,t?o(t):i?i(n):r(null,n,a)}t.run(e,XD(n),a)}i(null,r)},a.runSync=function(e,t){let n,r;return a.run(e,t,i),qD("runSync","run",r),n;function i(e,t){ND(e),n=t,r=!0}},a.process=function(e,t){if(a.freeze(),HD("process",a.Parser),GD("process",a.Compiler),!t)return new Promise(n);function n(n,r){const i=XD(e);function o(e,i){e||!i?r(e):n?n(i):t(null,i)}a.run(a.parse(i),i,((e,t,n)=>{if(!e&&t&&n){const i=a.stringify(t,n);null==i||("string"==typeof(r=i)||wD(r)?n.value=i:n.result=i),o(e,n)}else o(e);var r}))}n(null,t)},a.processSync=function(e){let t;a.freeze(),HD("processSync",a.Parser),GD("processSync",a.Compiler);const n=XD(e);return a.process(n,r),qD("processSync","process",t),n;function r(e){t=!0,ND(e)}},a;function a(){const t=e();let r=-1;for(;++r<n.length;)t.use(...n[r]);return t.data(jD(!0,{},i)),t}function s(e,t){return"string"==typeof e?2===arguments.length?(WD("data",r),i[e]=t,a):VD.call(i,e)&&i[e]||null:e?(WD("data",r),i=e,a):i}function l(e,...t){let o;if(WD("use",r),null==e);else if("function"==typeof e)c(e,...t);else{if("object"!=typeof e)throw new TypeError("Expected usable value, not `"+e+"`");Array.isArray(e)?u(e):l(e)}return o&&(i.settings=Object.assign(i.settings||{},o)),a;function s(e){if("function"==typeof e)c(e);else{if("object"!=typeof e)throw new TypeError("Expected usable value, not `"+e+"`");if(Array.isArray(e)){const[t,...n]=e;c(t,...n)}else l(e)}}function l(e){u(e.plugins),e.settings&&(o=Object.assign(o||{},e.settings))}function u(e){let t=-1;if(null==e);else{if(!Array.isArray(e))throw new TypeError("Expected a list of plugins, not `"+e+"`");for(;++t<e.length;){s(e[t])}}}function c(e,t){let r,i=-1;for(;++i<n.length;)if(n[i][0]===e){r=n[i];break}r?(FD(r[1])&&FD(t)&&(t=jD(!0,r[1],t)),r[1]=t):n.push([...arguments])}}}().freeze(),VD={}.hasOwnProperty;function $D(e,t){return"function"==typeof e&&e.prototype&&(function(e){let t;for(t in e)if(VD.call(e,t))return!0;return!1}(e.prototype)||t in e.prototype)}function HD(e,t){if("function"!=typeof t)throw new TypeError("Cannot `"+e+"` without `Parser`")}function GD(e,t){if("function"!=typeof t)throw new TypeError("Cannot `"+e+"` without `Compiler`")}function WD(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function UD(e){if(!FD(e)||"string"!=typeof e.type)throw new TypeError("Expected node, got `"+e+"`")}function qD(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function XD(e){return function(e){return Boolean(e&&"object"==typeof e&&"message"in e&&"messages"in e)}(e)?e:new OD(e)}function YD(e,t){return e&&"object"==typeof e&&(e.value||(t?e.alt:"")||"children"in e&&KD(e.children,t)||Array.isArray(e)&&KD(e,t))||""}function KD(e,t){for(var n=[],r=-1;++r<e.length;)n[r]=YD(e[r],t);return n.join("")}function ZD(e,t,n,r){const i=e.length;let o,a=0;if(t=t<0?-t>i?0:i+t:t>i?i:t,n=n>0?n:0,r.length<1e4)o=Array.from(r),o.unshift(t,n),[].splice.apply(e,o);else for(n&&[].splice.apply(e,[t,n]);a<r.length;)o=r.slice(a,a+1e4),o.unshift(t,0),[].splice.apply(e,o),a+=1e4,t+=1e4}function QD(e,t){return e.length>0?(ZD(e,e.length,0,t),e):t}const JD={}.hasOwnProperty;function eR(e){const t={};let n=-1;for(;++n<e.length;)tR(t,e[n]);return t}function tR(e,t){let n;for(n in t){const r=(JD.call(e,n)?e[n]:void 0)||(e[n]={}),i=t[n];let o;for(o in i){JD.call(r,o)||(r[o]=[]);const e=i[o];nR(r[o],Array.isArray(e)?e:e?[e]:[])}}}function nR(e,t){let n=-1;const r=[];for(;++n<t.length;)("after"===t[n].add?e:r).push(t[n]);ZD(e,0,0,r)}const rR=gR(/[A-Za-z]/),iR=gR(/\d/),oR=gR(/[\dA-Fa-f]/),aR=gR(/[\dA-Za-z]/),sR=gR(/[!-/:-@[-`{-~]/),lR=gR(/[#-'*+\--9=?A-Z^-~]/);function uR(e){return null!==e&&(e<32||127===e)}function cR(e){return null!==e&&(e<0||32===e)}function fR(e){return null!==e&&e<-2}function hR(e){return-2===e||-1===e||32===e}const dR=gR(/\s/),pR=gR(/[!-/:-@[-`{-~\u00A1\u00A7\u00AB\u00B6\u00B7\u00BB\u00BF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]/);function gR(e){return function(t){return null!==t&&e.test(String.fromCharCode(t))}}function mR(e,t,n,r){const i=r?r-1:Number.POSITIVE_INFINITY;let o=0;return function(r){if(hR(r))return e.enter(n),a(r);return t(r)};function a(r){return hR(r)&&o++<i?(e.consume(r),a):(e.exit(n),t(r))}}const bR={tokenize:function(e){const t=e.attempt(this.parser.constructs.contentInitial,(function(n){if(null===n)return void e.consume(n);return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),mR(e,t,"linePrefix")}),(function(t){return e.enter("paragraph"),r(t)}));let n;return t;function r(t){const r=e.enter("chunkText",{contentType:"text",previous:n});return n&&(n.next=r),n=r,i(t)}function i(t){return null===t?(e.exit("chunkText"),e.exit("paragraph"),void e.consume(t)):fR(t)?(e.consume(t),e.exit("chunkText"),r):(e.consume(t),i)}}};const vR={tokenize:function(e){const t=this,n=[];let r,i,o,a=0;return s;function s(r){if(a<n.length){const i=n[a];return t.containerState=i[1],e.attempt(i[0].continuation,l,u)(r)}return u(r)}function l(e){if(a++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,r&&v();const n=t.events.length;let i,o=n;for(;o--;)if("exit"===t.events[o][0]&&"chunkFlow"===t.events[o][1].type){i=t.events[o][1].end;break}b(a);let s=n;for(;s<t.events.length;)t.events[s][1].end=Object.assign({},i),s++;return ZD(t.events,o+1,0,t.events.slice(n)),t.events.length=s,u(e)}return s(e)}function u(i){if(a===n.length){if(!r)return h(i);if(r.currentConstruct&&r.currentConstruct.concrete)return p(i);t.interrupt=Boolean(r.currentConstruct&&!r._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(yR,c,f)(i)}function c(e){return r&&v(),b(a),h(e)}function f(e){return t.parser.lazy[t.now().line]=a!==n.length,o=t.now().offset,p(e)}function h(n){return t.containerState={},e.attempt(yR,d,p)(n)}function d(e){return a++,n.push([t.currentConstruct,t.containerState]),h(e)}function p(n){return null===n?(r&&v(),b(0),void e.consume(n)):(r=r||t.parser.flow(t.now()),e.enter("chunkFlow",{contentType:"flow",previous:i,_tokenizer:r}),g(n))}function g(n){return null===n?(m(e.exit("chunkFlow"),!0),b(0),void e.consume(n)):fR(n)?(e.consume(n),m(e.exit("chunkFlow")),a=0,t.interrupt=void 0,s):(e.consume(n),g)}function m(e,n){const s=t.sliceStream(e);if(n&&s.push(null),e.previous=i,i&&(i.next=e),i=e,r.defineSkip(e.start),r.write(s),t.parser.lazy[e.start.line]){let e=r.events.length;for(;e--;)if(r.events[e][1].start.offset<o&&(!r.events[e][1].end||r.events[e][1].end.offset>o))return;const n=t.events.length;let i,s,l=n;for(;l--;)if("exit"===t.events[l][0]&&"chunkFlow"===t.events[l][1].type){if(i){s=t.events[l][1].end;break}i=!0}for(b(a),e=n;e<t.events.length;)t.events[e][1].end=Object.assign({},s),e++;ZD(t.events,l+1,0,t.events.slice(n)),t.events.length=e}}function b(r){let i=n.length;for(;i-- >r;){const r=n[i];t.containerState=r[1],r[0].exit.call(t,e)}n.length=r}function v(){r.write([null]),i=void 0,r=void 0,t.containerState._closeFlow=void 0}}},yR={tokenize:function(e,t,n){return mR(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}};const wR={tokenize:function(e,t,n){return mR(e,(function(e){return null===e||fR(e)?t(e):n(e)}),"linePrefix")},partial:!0};function xR(e){const t={};let n,r,i,o,a,s,l,u=-1;for(;++u<e.length;){for(;u in t;)u=t[u];if(n=e[u],u&&"chunkFlow"===n[1].type&&"listItemPrefix"===e[u-1][1].type&&(s=n[1]._tokenizer.events,i=0,i<s.length&&"lineEndingBlank"===s[i][1].type&&(i+=2),i<s.length&&"content"===s[i][1].type))for(;++i<s.length&&"content"!==s[i][1].type;)"chunkText"===s[i][1].type&&(s[i][1]._isInFirstContentOfListItem=!0,i++);if("enter"===n[0])n[1].contentType&&(Object.assign(t,_R(e,u)),u=t[u],l=!0);else if(n[1]._container){for(i=u,r=void 0;i--&&(o=e[i],"lineEnding"===o[1].type||"lineEndingBlank"===o[1].type);)"enter"===o[0]&&(r&&(e[r][1].type="lineEndingBlank"),o[1].type="lineEnding",r=i);r&&(n[1].end=Object.assign({},e[r][1].start),a=e.slice(r,u),a.unshift(n),ZD(e,r,u-r+1,a))}}return!l}function _R(e,t){const n=e[t][1],r=e[t][2];let i=t-1;const o=[],a=n._tokenizer||r.parser[n.contentType](n.start),s=a.events,l=[],u={};let c,f,h=-1,d=n,p=0,g=0;const m=[g];for(;d;){for(;e[++i][1]!==d;);o.push(i),d._tokenizer||(c=r.sliceStream(d),d.next||c.push(null),f&&a.defineSkip(d.start),d._isInFirstContentOfListItem&&(a._gfmTasklistFirstContentOfListItem=!0),a.write(c),d._isInFirstContentOfListItem&&(a._gfmTasklistFirstContentOfListItem=void 0)),f=d,d=d.next}for(d=n;++h<s.length;)"exit"===s[h][0]&&"enter"===s[h-1][0]&&s[h][1].type===s[h-1][1].type&&s[h][1].start.line!==s[h][1].end.line&&(g=h+1,m.push(g),d._tokenizer=void 0,d.previous=void 0,d=d.next);for(a.events=[],d?(d._tokenizer=void 0,d.previous=void 0):m.pop(),h=m.length;h--;){const t=s.slice(m[h],m[h+1]),n=o.pop();l.unshift([n,n+t.length-1]),ZD(e,n,2,t)}for(h=-1;++h<l.length;)u[p+l[h][0]]=p+l[h][1],p+=l[h][1]-l[h][0]-1;return u}const SR={tokenize:function(e,t){let n;return function(t){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),r(t)};function r(t){return null===t?i(t):fR(t)?e.check(kR,o,i)(t):(e.consume(t),r)}function i(n){return e.exit("chunkContent"),e.exit("content"),t(n)}function o(t){return e.consume(t),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,r}},resolve:function(e){return xR(e),e}},kR={tokenize:function(e,t,n){const r=this;return function(t){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),mR(e,i,"linePrefix")};function i(i){if(null===i||fR(i))return n(i);const o=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&o&&"linePrefix"===o[1].type&&o[2].sliceSerialize(o[1],!0).length>=4?t(i):e.interrupt(r.parser.constructs.flow,n,t)(i)}},partial:!0};const CR={tokenize:function(e){const t=this,n=e.attempt(wR,(function(r){if(null===r)return void e.consume(r);return e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n}),e.attempt(this.parser.constructs.flowInitial,r,mR(e,e.attempt(this.parser.constructs.flow,r,e.attempt(SR,r)),"linePrefix")));return n;function r(r){if(null!==r)return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),t.currentConstruct=void 0,n;e.consume(r)}}};const ER={resolveAll:AR()},IR=TR("string"),MR=TR("text");function TR(e){return{tokenize:function(t){const n=this,r=this.parser.constructs[e],i=t.attempt(r,o,a);return o;function o(e){return l(e)?i(e):a(e)}function a(e){if(null!==e)return t.enter("data"),t.consume(e),s;t.consume(e)}function s(e){return l(e)?(t.exit("data"),i(e)):(t.consume(e),s)}function l(e){if(null===e)return!0;const t=r[e];let i=-1;if(t)for(;++i<t.length;){const e=t[i];if(!e.previous||e.previous.call(n,n.previous))return!0}return!1}},resolveAll:AR("text"===e?PR:void 0)}}function AR(e){return function(t,n){let r,i=-1;for(;++i<=t.length;)void 0===r?t[i]&&"data"===t[i][1].type&&(r=i,i++):t[i]&&"data"===t[i][1].type||(i!==r+2&&(t[r][1].end=t[i-1][1].end,t.splice(r+2,i-r-2),i=r+2),r=void 0);return e?e(t,n):t}}function PR(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||"lineEnding"===e[n][1].type)&&"data"===e[n-1][1].type){const r=e[n-1][1],i=t.sliceStream(r);let o,a=i.length,s=-1,l=0;for(;a--;){const e=i[a];if("string"==typeof e){for(s=e.length;32===e.charCodeAt(s-1);)l++,s--;if(s)break;s=-1}else if(-2===e)o=!0,l++;else if(-1!==e){a++;break}}if(l){const i={type:n===e.length||o||l<2?"lineSuffix":"hardBreakTrailing",start:{line:r.end.line,column:r.end.column-l,offset:r.end.offset-l,_index:r.start._index+a,_bufferIndex:a?s:r.start._bufferIndex+s},end:Object.assign({},r.end)};r.end=Object.assign({},i.start),r.start.offset===r.end.offset?Object.assign(r,i):(e.splice(n,0,["enter",i,t],["exit",i,t]),n+=2)}n++}return e}function OR(e,t,n){const r=[];let i=-1;for(;++i<e.length;){const o=e[i].resolveAll;o&&!r.includes(o)&&(t=o(t,n),r.push(o))}return t}function DR(e,t,n){let r=Object.assign(n?Object.assign({},n):{line:1,column:1,offset:0},{_index:0,_bufferIndex:-1});const i={},o=[];let a=[],s=[],l=!0;const u={consume:function(e){fR(e)?(r.line++,r.column=1,r.offset+=-3===e?2:1,w()):-1!==e&&(r.column++,r.offset++);r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===a[r._index].length&&(r._bufferIndex=-1,r._index++));c.previous=e,l=!0},enter:function(e,t){const n=t||{};return n.type=e,n.start=p(),c.events.push(["enter",n,c]),s.push(n),n},exit:function(e){const t=s.pop();return t.end=p(),c.events.push(["exit",t,c]),t},attempt:v((function(e,t){y(e,t.from)})),check:v(b),interrupt:v(b,{interrupt:!0})},c={previous:null,code:null,containerState:{},events:[],parser:e,sliceStream:d,sliceSerialize:function(e,t){return function(e,t){let n=-1;const r=[];let i;for(;++n<e.length;){const o=e[n];let a;if("string"==typeof o)a=o;else switch(o){case-5:a="\r";break;case-4:a="\n";break;case-3:a="\r\n";break;case-2:a=t?" ":"\t";break;case-1:if(!t&&i)continue;a=" ";break;default:a=String.fromCharCode(o)}i=-2===o,r.push(a)}return r.join("")}(d(e),t)},now:p,defineSkip:function(e){i[e.line]=e.column,w()},write:function(e){if(a=QD(a,e),g(),null!==a[a.length-1])return[];return y(t,0),c.events=OR(o,c.events,c),c.events}};let f,h=t.tokenize.call(c,u);return t.resolveAll&&o.push(t),c;function d(e){return function(e,t){const n=t.start._index,r=t.start._bufferIndex,i=t.end._index,o=t.end._bufferIndex;let a;n===i?a=[e[n].slice(r,o)]:(a=e.slice(n,i),r>-1&&(a[0]=a[0].slice(r)),o>0&&a.push(e[i].slice(0,o)));return a}(a,e)}function p(){return Object.assign({},r)}function g(){let e;for(;r._index<a.length;){const t=a[r._index];if("string"==typeof t)for(e=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===e&&r._bufferIndex<t.length;)m(t.charCodeAt(r._bufferIndex));else m(t)}}function m(e){l=void 0,f=e,h=h(e)}function b(e,t){t.restore()}function v(e,t){return function(n,i,o){let a,f,h,d;return Array.isArray(n)?g(n):"tokenize"in n?g([n]):function(e){return t;function t(t){const n=null!==t&&e[t],r=null!==t&&e.null;return g([...Array.isArray(n)?n:n?[n]:[],...Array.isArray(r)?r:r?[r]:[]])(t)}}(n);function g(e){return a=e,f=0,0===e.length?o:m(e[f])}function m(e){return function(n){d=function(){const e=p(),t=c.previous,n=c.currentConstruct,i=c.events.length,o=Array.from(s);return{restore:a,from:i};function a(){r=e,c.previous=t,c.currentConstruct=n,c.events.length=i,s=o,w()}}(),h=e,e.partial||(c.currentConstruct=e);if(e.name&&c.parser.constructs.disable.null.includes(e.name))return v(n);return e.tokenize.call(t?Object.assign(Object.create(c),t):c,u,b,v)(n)}}function b(t){return l=!0,e(h,d),i}function v(e){return l=!0,d.restore(),++f<a.length?m(a[f]):o}}}function y(e,t){e.resolveAll&&!o.includes(e)&&o.push(e),e.resolve&&ZD(c.events,t,c.events.length-t,e.resolve(c.events.slice(t),c)),e.resolveTo&&(c.events=e.resolveTo(c.events,c))}function w(){r.line in i&&r.column<2&&(r.column=i[r.line],r.offset+=i[r.line]-1)}}const RR={name:"thematicBreak",tokenize:function(e,t,n){let r,i=0;return function(t){return e.enter("thematicBreak"),r=t,o(t)};function o(s){return s===r?(e.enter("thematicBreakSequence"),a(s)):hR(s)?mR(e,o,"whitespace")(s):i<3||null!==s&&!fR(s)?n(s):(e.exit("thematicBreak"),t(s))}function a(t){return t===r?(e.consume(t),i++,a):(e.exit("thematicBreakSequence"),o(t))}}};const LR={name:"list",tokenize:function(e,t,n){const r=this,i=r.events[r.events.length-1];let o=i&&"linePrefix"===i[1].type?i[2].sliceSerialize(i[1],!0).length:0,a=0;return function(t){const i=r.containerState.type||(42===t||43===t||45===t?"listUnordered":"listOrdered");if("listUnordered"===i?!r.containerState.marker||t===r.containerState.marker:iR(t)){if(r.containerState.type||(r.containerState.type=i,e.enter(i,{_container:!0})),"listUnordered"===i)return e.enter("listItemPrefix"),42===t||45===t?e.check(RR,n,l)(t):l(t);if(!r.interrupt||49===t)return e.enter("listItemPrefix"),e.enter("listItemValue"),s(t)}return n(t)};function s(t){return iR(t)&&++a<10?(e.consume(t),s):(!r.interrupt||a<2)&&(r.containerState.marker?t===r.containerState.marker:41===t||46===t)?(e.exit("listItemValue"),l(t)):n(t)}function l(t){return e.enter("listItemMarker"),e.consume(t),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||t,e.check(wR,r.interrupt?n:u,e.attempt(NR,f,c))}function u(e){return r.containerState.initialBlankLine=!0,o++,f(e)}function c(t){return hR(t)?(e.enter("listItemPrefixWhitespace"),e.consume(t),e.exit("listItemPrefixWhitespace"),f):n(t)}function f(n){return r.containerState.size=o+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(n)}},continuation:{tokenize:function(e,t,n){const r=this;return r.containerState._closeFlow=void 0,e.check(wR,i,o);function i(n){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,mR(e,t,"listItemIndent",r.containerState.size+1)(n)}function o(n){return r.containerState.furtherBlankLines||!hR(n)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,a(n)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(jR,t,a)(n))}function a(i){return r.containerState._closeFlow=!0,r.interrupt=void 0,mR(e,e.attempt(LR,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(i)}}},exit:function(e){e.exit(this.containerState.type)}},NR={tokenize:function(e,t,n){const r=this;return mR(e,(function(e){const i=r.events[r.events.length-1];return!hR(e)&&i&&"listItemPrefixWhitespace"===i[1].type?t(e):n(e)}),"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5)},partial:!0},jR={tokenize:function(e,t,n){const r=this;return mR(e,(function(e){const i=r.events[r.events.length-1];return i&&"listItemIndent"===i[1].type&&i[2].sliceSerialize(i[1],!0).length===r.containerState.size?t(e):n(e)}),"listItemIndent",r.containerState.size+1)},partial:!0};const FR={name:"blockQuote",tokenize:function(e,t,n){const r=this;return function(t){if(62===t){const n=r.containerState;return n.open||(e.enter("blockQuote",{_container:!0}),n.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(t),e.exit("blockQuoteMarker"),i}return n(t)};function i(n){return hR(n)?(e.enter("blockQuotePrefixWhitespace"),e.consume(n),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(n))}},continuation:{tokenize:function(e,t,n){return mR(e,e.attempt(FR,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}},exit:function(e){e.exit("blockQuote")}};function zR(e,t,n,r,i,o,a,s,l){const u=l||Number.POSITIVE_INFINITY;let c=0;return function(t){if(60===t)return e.enter(r),e.enter(i),e.enter(o),e.consume(t),e.exit(o),f;if(null===t||41===t||uR(t))return n(t);return e.enter(r),e.enter(a),e.enter(s),e.enter("chunkString",{contentType:"string"}),p(t)};function f(n){return 62===n?(e.enter(o),e.consume(n),e.exit(o),e.exit(i),e.exit(r),t):(e.enter(s),e.enter("chunkString",{contentType:"string"}),h(n))}function h(t){return 62===t?(e.exit("chunkString"),e.exit(s),f(t)):null===t||60===t||fR(t)?n(t):(e.consume(t),92===t?d:h)}function d(t){return 60===t||62===t||92===t?(e.consume(t),h):h(t)}function p(i){return 40===i?++c>u?n(i):(e.consume(i),p):41===i?c--?(e.consume(i),p):(e.exit("chunkString"),e.exit(s),e.exit(a),e.exit(r),t(i)):null===i||cR(i)?c?n(i):(e.exit("chunkString"),e.exit(s),e.exit(a),e.exit(r),t(i)):uR(i)?n(i):(e.consume(i),92===i?g:p)}function g(t){return 40===t||41===t||92===t?(e.consume(t),p):p(t)}}function BR(e,t,n,r,i,o){const a=this;let s,l=0;return function(t){return e.enter(r),e.enter(i),e.consume(t),e.exit(i),e.enter(o),u};function u(f){return null===f||91===f||93===f&&!s||94===f&&!l&&"_hiddenFootnoteSupport"in a.parser.constructs||l>999?n(f):93===f?(e.exit(o),e.enter(i),e.consume(f),e.exit(i),e.exit(r),t):fR(f)?(e.enter("lineEnding"),e.consume(f),e.exit("lineEnding"),u):(e.enter("chunkString",{contentType:"string"}),c(f))}function c(t){return null===t||91===t||93===t||fR(t)||l++>999?(e.exit("chunkString"),u(t)):(e.consume(t),s=s||!hR(t),92===t?f:c)}function f(t){return 91===t||92===t||93===t?(e.consume(t),l++,c):c(t)}}function VR(e,t,n,r,i,o){let a;return function(t){return e.enter(r),e.enter(i),e.consume(t),e.exit(i),a=40===t?41:t,s};function s(n){return n===a?(e.enter(i),e.consume(n),e.exit(i),e.exit(r),t):(e.enter(o),l(n))}function l(t){return t===a?(e.exit(o),s(a)):null===t?n(t):fR(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),mR(e,l,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),u(t))}function u(t){return t===a||null===t||fR(t)?(e.exit("chunkString"),l(t)):(e.consume(t),92===t?c:u)}function c(t){return t===a||92===t?(e.consume(t),u):u(t)}}function $R(e,t){let n;return function r(i){if(fR(i))return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),n=!0,r;if(hR(i))return mR(e,r,n?"linePrefix":"lineSuffix")(i);return t(i)}}function HR(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const GR={name:"definition",tokenize:function(e,t,n){const r=this;let i;return function(t){return e.enter("definition"),BR.call(r,e,o,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(t)};function o(t){return i=HR(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),$R(e,zR(e,e.attempt(WR,mR(e,a,"whitespace"),mR(e,a,"whitespace")),n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString"))):n(t)}function a(o){return null===o||fR(o)?(e.exit("definition"),r.parser.defined.includes(i)||r.parser.defined.push(i),t(o)):n(o)}}},WR={tokenize:function(e,t,n){return function(t){return cR(t)?$R(e,r)(t):n(t)};function r(t){return 34===t||39===t||40===t?VR(e,mR(e,i,"whitespace"),n,"definitionTitle","definitionTitleMarker","definitionTitleString")(t):n(t)}function i(e){return null===e||fR(e)?t(e):n(e)}},partial:!0};const UR={name:"codeIndented",tokenize:function(e,t,n){const r=this;return function(t){return e.enter("codeIndented"),mR(e,i,"linePrefix",5)(t)};function i(e){const t=r.events[r.events.length-1];return t&&"linePrefix"===t[1].type&&t[2].sliceSerialize(t[1],!0).length>=4?o(e):n(e)}function o(t){return null===t?s(t):fR(t)?e.attempt(qR,o,s)(t):(e.enter("codeFlowValue"),a(t))}function a(t){return null===t||fR(t)?(e.exit("codeFlowValue"),o(t)):(e.consume(t),a)}function s(n){return e.exit("codeIndented"),t(n)}}},qR={tokenize:function(e,t,n){const r=this;return i;function i(t){return r.parser.lazy[r.now().line]?n(t):fR(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i):mR(e,o,"linePrefix",5)(t)}function o(e){const o=r.events[r.events.length-1];return o&&"linePrefix"===o[1].type&&o[2].sliceSerialize(o[1],!0).length>=4?t(e):fR(e)?i(e):n(e)}},partial:!0};const XR={name:"headingAtx",tokenize:function(e,t,n){const r=this;let i=0;return function(t){return e.enter("atxHeading"),e.enter("atxHeadingSequence"),o(t)};function o(s){return 35===s&&i++<6?(e.consume(s),o):null===s||cR(s)?(e.exit("atxHeadingSequence"),r.interrupt?t(s):a(s)):n(s)}function a(n){return 35===n?(e.enter("atxHeadingSequence"),s(n)):null===n||fR(n)?(e.exit("atxHeading"),t(n)):hR(n)?mR(e,a,"whitespace")(n):(e.enter("atxHeadingText"),l(n))}function s(t){return 35===t?(e.consume(t),s):(e.exit("atxHeadingSequence"),a(t))}function l(t){return null===t||35===t||cR(t)?(e.exit("atxHeadingText"),a(t)):(e.consume(t),l)}},resolve:function(e,t){let n,r,i=e.length-2,o=3;"whitespace"===e[o][1].type&&(o+=2);i-2>o&&"whitespace"===e[i][1].type&&(i-=2);"atxHeadingSequence"===e[i][1].type&&(o===i-1||i-4>o&&"whitespace"===e[i-2][1].type)&&(i-=o+1===i?2:4);i>o&&(n={type:"atxHeadingText",start:e[o][1].start,end:e[i][1].end},r={type:"chunkText",start:e[o][1].start,end:e[i][1].end,contentType:"text"},ZD(e,o,i-o+1,[["enter",n,t],["enter",r,t],["exit",r,t],["exit",n,t]]));return e}};const YR={name:"setextUnderline",tokenize:function(e,t,n){const r=this;let i,o,a=r.events.length;for(;a--;)if("lineEnding"!==r.events[a][1].type&&"linePrefix"!==r.events[a][1].type&&"content"!==r.events[a][1].type){o="paragraph"===r.events[a][1].type;break}return function(t){if(!r.parser.lazy[r.now().line]&&(r.interrupt||o))return e.enter("setextHeadingLine"),e.enter("setextHeadingLineSequence"),i=t,s(t);return n(t)};function s(t){return t===i?(e.consume(t),s):(e.exit("setextHeadingLineSequence"),mR(e,l,"lineSuffix")(t))}function l(r){return null===r||fR(r)?(e.exit("setextHeadingLine"),t(r)):n(r)}},resolveTo:function(e,t){let n,r,i,o=e.length;for(;o--;)if("enter"===e[o][0]){if("content"===e[o][1].type){n=o;break}"paragraph"===e[o][1].type&&(r=o)}else"content"===e[o][1].type&&e.splice(o,1),i||"definition"!==e[o][1].type||(i=o);const a={type:"setextHeading",start:Object.assign({},e[r][1].start),end:Object.assign({},e[e.length-1][1].end)};e[r][1].type="setextHeadingText",i?(e.splice(r,0,["enter",a,t]),e.splice(i+1,0,["exit",e[n][1],t]),e[n][1].end=Object.assign({},e[i][1].end)):e[n][1]=a;return e.push(["exit",a,t]),e}};const KR=["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","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],ZR=["pre","script","style","textarea"],QR={name:"htmlFlow",tokenize:function(e,t,n){const r=this;let i,o,a,s,l;return function(t){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(t),u};function u(s){return 33===s?(e.consume(s),c):47===s?(e.consume(s),d):63===s?(e.consume(s),i=3,r.interrupt?t:R):rR(s)?(e.consume(s),a=String.fromCharCode(s),o=!0,p):n(s)}function c(o){return 45===o?(e.consume(o),i=2,f):91===o?(e.consume(o),i=5,a="CDATA[",s=0,h):rR(o)?(e.consume(o),i=4,r.interrupt?t:R):n(o)}function f(i){return 45===i?(e.consume(i),r.interrupt?t:R):n(i)}function h(i){return i===a.charCodeAt(s++)?(e.consume(i),s===a.length?r.interrupt?t:E:h):n(i)}function d(t){return rR(t)?(e.consume(t),a=String.fromCharCode(t),p):n(t)}function p(s){return null===s||47===s||62===s||cR(s)?47!==s&&o&&ZR.includes(a.toLowerCase())?(i=1,r.interrupt?t(s):E(s)):KR.includes(a.toLowerCase())?(i=6,47===s?(e.consume(s),g):r.interrupt?t(s):E(s)):(i=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(s):o?b(s):m(s)):45===s||aR(s)?(e.consume(s),a+=String.fromCharCode(s),p):n(s)}function g(i){return 62===i?(e.consume(i),r.interrupt?t:E):n(i)}function m(t){return hR(t)?(e.consume(t),m):k(t)}function b(t){return 47===t?(e.consume(t),k):58===t||95===t||rR(t)?(e.consume(t),v):hR(t)?(e.consume(t),b):k(t)}function v(t){return 45===t||46===t||58===t||95===t||aR(t)?(e.consume(t),v):y(t)}function y(t){return 61===t?(e.consume(t),w):hR(t)?(e.consume(t),y):b(t)}function w(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),l=t,x):hR(t)?(e.consume(t),w):(l=null,_(t))}function x(t){return null===t||fR(t)?n(t):t===l?(e.consume(t),S):(e.consume(t),x)}function _(t){return null===t||34===t||39===t||60===t||61===t||62===t||96===t||cR(t)?y(t):(e.consume(t),_)}function S(e){return 47===e||62===e||hR(e)?b(e):n(e)}function k(t){return 62===t?(e.consume(t),C):n(t)}function C(t){return hR(t)?(e.consume(t),C):null===t||fR(t)?E(t):n(t)}function E(t){return 45===t&&2===i?(e.consume(t),A):60===t&&1===i?(e.consume(t),P):62===t&&4===i?(e.consume(t),L):63===t&&3===i?(e.consume(t),R):93===t&&5===i?(e.consume(t),D):!fR(t)||6!==i&&7!==i?null===t||fR(t)?I(t):(e.consume(t),E):e.check(JR,L,I)(t)}function I(t){return e.exit("htmlFlowData"),M(t)}function M(t){return null===t?N(t):fR(t)?e.attempt({tokenize:T,partial:!0},M,N)(t):(e.enter("htmlFlowData"),E(t))}function T(e,t,n){return function(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i};function i(e){return r.parser.lazy[r.now().line]?n(e):t(e)}}function A(t){return 45===t?(e.consume(t),R):E(t)}function P(t){return 47===t?(e.consume(t),a="",O):E(t)}function O(t){return 62===t&&ZR.includes(a.toLowerCase())?(e.consume(t),L):rR(t)&&a.length<8?(e.consume(t),a+=String.fromCharCode(t),O):E(t)}function D(t){return 93===t?(e.consume(t),R):E(t)}function R(t){return 62===t?(e.consume(t),L):45===t&&2===i?(e.consume(t),R):E(t)}function L(t){return null===t||fR(t)?(e.exit("htmlFlowData"),N(t)):(e.consume(t),L)}function N(n){return e.exit("htmlFlow"),t(n)}},resolveTo:function(e){let t=e.length;for(;t--&&("enter"!==e[t][0]||"htmlFlow"!==e[t][1].type););t>1&&"linePrefix"===e[t-2][1].type&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2));return e},concrete:!0},JR={tokenize:function(e,t,n){return function(r){return e.exit("htmlFlowData"),e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),e.attempt(wR,t,n)}},partial:!0};const eL={name:"codeFenced",tokenize:function(e,t,n){const r=this,i={tokenize:function(e,t,n){let r=0;return mR(e,i,"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function i(t){return e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),o(t)}function o(t){return t===l?(e.consume(t),r++,o):r<u?n(t):(e.exit("codeFencedFenceSequence"),mR(e,a,"whitespace")(t))}function a(r){return null===r||fR(r)?(e.exit("codeFencedFence"),t(r)):n(r)}},partial:!0},o={tokenize:function(e,t,n){const r=this;return i;function i(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),o}function o(e){return r.parser.lazy[r.now().line]?n(e):t(e)}},partial:!0},a=this.events[this.events.length-1],s=a&&"linePrefix"===a[1].type?a[2].sliceSerialize(a[1],!0).length:0;let l,u=0;return function(t){return e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),l=t,c(t)};function c(t){return t===l?(e.consume(t),u++,c):(e.exit("codeFencedFenceSequence"),u<3?n(t):mR(e,f,"whitespace")(t))}function f(t){return null===t||fR(t)?g(t):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),h(t))}function h(t){return null===t||cR(t)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),mR(e,d,"whitespace")(t)):96===t&&t===l?n(t):(e.consume(t),h)}function d(t){return null===t||fR(t)?g(t):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),p(t))}function p(t){return null===t||fR(t)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),g(t)):96===t&&t===l?n(t):(e.consume(t),p)}function g(n){return e.exit("codeFencedFence"),r.interrupt?t(n):m(n)}function m(t){return null===t?v(t):fR(t)?e.attempt(o,e.attempt(i,v,s?mR(e,m,"linePrefix",s+1):m),v)(t):(e.enter("codeFlowValue"),b(t))}function b(t){return null===t||fR(t)?(e.exit("codeFlowValue"),m(t)):(e.consume(t),b)}function v(n){return e.exit("codeFenced"),t(n)}},concrete:!0};const tL=document.createElement("i");function nL(e){const t="&"+e+";";tL.innerHTML=t;const n=tL.textContent;return(59!==n.charCodeAt(n.length-1)||"semi"===e)&&(n!==t&&n)}const rL={name:"characterReference",tokenize:function(e,t,n){const r=this;let i,o,a=0;return function(t){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(t),e.exit("characterReferenceMarker"),s};function s(t){return 35===t?(e.enter("characterReferenceMarkerNumeric"),e.consume(t),e.exit("characterReferenceMarkerNumeric"),l):(e.enter("characterReferenceValue"),i=31,o=aR,u(t))}function l(t){return 88===t||120===t?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(t),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),i=6,o=oR,u):(e.enter("characterReferenceValue"),i=7,o=iR,u(t))}function u(s){let l;return 59===s&&a?(l=e.exit("characterReferenceValue"),o!==aR||nL(r.sliceSerialize(l))?(e.enter("characterReferenceMarker"),e.consume(s),e.exit("characterReferenceMarker"),e.exit("characterReference"),t):n(s)):o(s)&&a++<i?(e.consume(s),u):n(s)}}};const iL={name:"characterEscape",tokenize:function(e,t,n){return function(t){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(t),e.exit("escapeMarker"),r};function r(r){return sR(r)?(e.enter("characterEscapeValue"),e.consume(r),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(r)}}};const oL={name:"lineEnding",tokenize:function(e,t){return function(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),mR(e,t,"linePrefix")}}};const aL={name:"labelEnd",tokenize:function(e,t,n){const r=this;let i,o,a=r.events.length;for(;a--;)if(("labelImage"===r.events[a][1].type||"labelLink"===r.events[a][1].type)&&!r.events[a][1]._balanced){i=r.events[a][1];break}return function(t){if(!i)return n(t);return i._inactive?l(t):(o=r.parser.defined.includes(HR(r.sliceSerialize({start:i.end,end:r.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelEnd"),s)};function s(n){return 40===n?e.attempt(sL,t,o?t:l)(n):91===n?e.attempt(lL,t,o?e.attempt(uL,t,l):l)(n):o?t(n):l(n)}function l(e){return i._balanced=!0,n(e)}},resolveTo:function(e,t){let n,r,i,o,a=e.length,s=0;for(;a--;)if(n=e[a][1],r){if("link"===n.type||"labelLink"===n.type&&n._inactive)break;"enter"===e[a][0]&&"labelLink"===n.type&&(n._inactive=!0)}else if(i){if("enter"===e[a][0]&&("labelImage"===n.type||"labelLink"===n.type)&&!n._balanced&&(r=a,"labelLink"!==n.type)){s=2;break}}else"labelEnd"===n.type&&(i=a);const l={type:"labelLink"===e[r][1].type?"link":"image",start:Object.assign({},e[r][1].start),end:Object.assign({},e[e.length-1][1].end)},u={type:"label",start:Object.assign({},e[r][1].start),end:Object.assign({},e[i][1].end)},c={type:"labelText",start:Object.assign({},e[r+s+2][1].end),end:Object.assign({},e[i-2][1].start)};return o=[["enter",l,t],["enter",u,t]],o=QD(o,e.slice(r+1,r+s+3)),o=QD(o,[["enter",c,t]]),o=QD(o,OR(t.parser.constructs.insideSpan.null,e.slice(r+s+4,i-3),t)),o=QD(o,[["exit",c,t],e[i-2],e[i-1],["exit",u,t]]),o=QD(o,e.slice(i+1)),o=QD(o,[["exit",l,t]]),ZD(e,r,e.length,o),e},resolveAll:function(e){let t,n=-1;for(;++n<e.length;)t=e[n][1],"labelImage"!==t.type&&"labelLink"!==t.type&&"labelEnd"!==t.type||(e.splice(n+1,"labelImage"===t.type?4:2),t.type="data",n++);return e}},sL={tokenize:function(e,t,n){return function(t){return e.enter("resource"),e.enter("resourceMarker"),e.consume(t),e.exit("resourceMarker"),$R(e,r)};function r(t){return 41===t?a(t):zR(e,i,n,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(t)}function i(t){return cR(t)?$R(e,o)(t):a(t)}function o(t){return 34===t||39===t||40===t?VR(e,$R(e,a),n,"resourceTitle","resourceTitleMarker","resourceTitleString")(t):a(t)}function a(r){return 41===r?(e.enter("resourceMarker"),e.consume(r),e.exit("resourceMarker"),e.exit("resource"),t):n(r)}}},lL={tokenize:function(e,t,n){const r=this;return function(t){return BR.call(r,e,i,n,"reference","referenceMarker","referenceString")(t)};function i(e){return r.parser.defined.includes(HR(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(e):n(e)}}},uL={tokenize:function(e,t,n){return function(t){return e.enter("reference"),e.enter("referenceMarker"),e.consume(t),e.exit("referenceMarker"),r};function r(r){return 93===r?(e.enter("referenceMarker"),e.consume(r),e.exit("referenceMarker"),e.exit("reference"),t):n(r)}}};const cL={name:"labelStartImage",tokenize:function(e,t,n){const r=this;return function(t){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(t),e.exit("labelImageMarker"),i};function i(t){return 91===t?(e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelImage"),o):n(t)}function o(e){return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?n(e):t(e)}},resolveAll:aL.resolveAll};function fL(e){return null===e||cR(e)||dR(e)?1:pR(e)?2:void 0}const hL={name:"attention",tokenize:function(e,t){const n=this.parser.constructs.attentionMarkers.null,r=this.previous,i=fL(r);let o;return function(t){return e.enter("attentionSequence"),o=t,a(t)};function a(s){if(s===o)return e.consume(s),a;const l=e.exit("attentionSequence"),u=fL(s),c=!u||2===u&&i||n.includes(s),f=!i||2===i&&u||n.includes(r);return l._open=Boolean(42===o?c:c&&(i||!f)),l._close=Boolean(42===o?f:f&&(u||!c)),t(s)}},resolveAll:function(e,t){let n,r,i,o,a,s,l,u,c=-1;for(;++c<e.length;)if("enter"===e[c][0]&&"attentionSequence"===e[c][1].type&&e[c][1]._close)for(n=c;n--;)if("exit"===e[n][0]&&"attentionSequence"===e[n][1].type&&e[n][1]._open&&t.sliceSerialize(e[n][1]).charCodeAt(0)===t.sliceSerialize(e[c][1]).charCodeAt(0)){if((e[n][1]._close||e[c][1]._open)&&(e[c][1].end.offset-e[c][1].start.offset)%3&&!((e[n][1].end.offset-e[n][1].start.offset+e[c][1].end.offset-e[c][1].start.offset)%3))continue;s=e[n][1].end.offset-e[n][1].start.offset>1&&e[c][1].end.offset-e[c][1].start.offset>1?2:1;const f=Object.assign({},e[n][1].end),h=Object.assign({},e[c][1].start);dL(f,-s),dL(h,s),o={type:s>1?"strongSequence":"emphasisSequence",start:f,end:Object.assign({},e[n][1].end)},a={type:s>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[c][1].start),end:h},i={type:s>1?"strongText":"emphasisText",start:Object.assign({},e[n][1].end),end:Object.assign({},e[c][1].start)},r={type:s>1?"strong":"emphasis",start:Object.assign({},o.start),end:Object.assign({},a.end)},e[n][1].end=Object.assign({},o.start),e[c][1].start=Object.assign({},a.end),l=[],e[n][1].end.offset-e[n][1].start.offset&&(l=QD(l,[["enter",e[n][1],t],["exit",e[n][1],t]])),l=QD(l,[["enter",r,t],["enter",o,t],["exit",o,t],["enter",i,t]]),l=QD(l,OR(t.parser.constructs.insideSpan.null,e.slice(n+1,c),t)),l=QD(l,[["exit",i,t],["enter",a,t],["exit",a,t],["exit",r,t]]),e[c][1].end.offset-e[c][1].start.offset?(u=2,l=QD(l,[["enter",e[c][1],t],["exit",e[c][1],t]])):u=0,ZD(e,n-1,c-n+3,l),c=n+l.length-u-2;break}c=-1;for(;++c<e.length;)"attentionSequence"===e[c][1].type&&(e[c][1].type="data");return e}};function dL(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const pL={name:"autolink",tokenize:function(e,t,n){let r=1;return function(t){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(t),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),i};function i(t){return rR(t)?(e.consume(t),o):lR(t)?l(t):n(t)}function o(e){return 43===e||45===e||46===e||aR(e)?a(e):l(e)}function a(t){return 58===t?(e.consume(t),s):(43===t||45===t||46===t||aR(t))&&r++<32?(e.consume(t),a):l(t)}function s(t){return 62===t?(e.exit("autolinkProtocol"),h(t)):null===t||32===t||60===t||uR(t)?n(t):(e.consume(t),s)}function l(t){return 64===t?(e.consume(t),r=0,u):lR(t)?(e.consume(t),l):n(t)}function u(e){return aR(e)?c(e):n(e)}function c(t){return 46===t?(e.consume(t),r=0,u):62===t?(e.exit("autolinkProtocol").type="autolinkEmail",h(t)):f(t)}function f(t){return(45===t||aR(t))&&r++<63?(e.consume(t),45===t?f:c):n(t)}function h(n){return e.enter("autolinkMarker"),e.consume(n),e.exit("autolinkMarker"),e.exit("autolink"),t}}};const gL={name:"htmlText",tokenize:function(e,t,n){const r=this;let i,o,a,s;return function(t){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(t),l};function l(t){return 33===t?(e.consume(t),u):47===t?(e.consume(t),_):63===t?(e.consume(t),w):rR(t)?(e.consume(t),C):n(t)}function u(t){return 45===t?(e.consume(t),c):91===t?(e.consume(t),o="CDATA[",a=0,g):rR(t)?(e.consume(t),y):n(t)}function c(t){return 45===t?(e.consume(t),f):n(t)}function f(t){return null===t||62===t?n(t):45===t?(e.consume(t),h):d(t)}function h(e){return null===e||62===e?n(e):d(e)}function d(t){return null===t?n(t):45===t?(e.consume(t),p):fR(t)?(s=d,D(t)):(e.consume(t),d)}function p(t){return 45===t?(e.consume(t),L):d(t)}function g(t){return t===o.charCodeAt(a++)?(e.consume(t),a===o.length?m:g):n(t)}function m(t){return null===t?n(t):93===t?(e.consume(t),b):fR(t)?(s=m,D(t)):(e.consume(t),m)}function b(t){return 93===t?(e.consume(t),v):m(t)}function v(t){return 62===t?L(t):93===t?(e.consume(t),v):m(t)}function y(t){return null===t||62===t?L(t):fR(t)?(s=y,D(t)):(e.consume(t),y)}function w(t){return null===t?n(t):63===t?(e.consume(t),x):fR(t)?(s=w,D(t)):(e.consume(t),w)}function x(e){return 62===e?L(e):w(e)}function _(t){return rR(t)?(e.consume(t),S):n(t)}function S(t){return 45===t||aR(t)?(e.consume(t),S):k(t)}function k(t){return fR(t)?(s=k,D(t)):hR(t)?(e.consume(t),k):L(t)}function C(t){return 45===t||aR(t)?(e.consume(t),C):47===t||62===t||cR(t)?E(t):n(t)}function E(t){return 47===t?(e.consume(t),L):58===t||95===t||rR(t)?(e.consume(t),I):fR(t)?(s=E,D(t)):hR(t)?(e.consume(t),E):L(t)}function I(t){return 45===t||46===t||58===t||95===t||aR(t)?(e.consume(t),I):M(t)}function M(t){return 61===t?(e.consume(t),T):fR(t)?(s=M,D(t)):hR(t)?(e.consume(t),M):E(t)}function T(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),i=t,A):fR(t)?(s=T,D(t)):hR(t)?(e.consume(t),T):(e.consume(t),i=void 0,O)}function A(t){return t===i?(e.consume(t),P):null===t?n(t):fR(t)?(s=A,D(t)):(e.consume(t),A)}function P(e){return 62===e||47===e||cR(e)?E(e):n(e)}function O(t){return null===t||34===t||39===t||60===t||61===t||96===t?n(t):62===t||cR(t)?E(t):(e.consume(t),O)}function D(t){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),mR(e,R,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function R(t){return e.enter("htmlTextData"),s(t)}function L(r){return 62===r?(e.consume(r),e.exit("htmlTextData"),e.exit("htmlText"),t):n(r)}}};const mL={name:"labelStartLink",tokenize:function(e,t,n){const r=this;return function(t){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelLink"),i};function i(e){return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?n(e):t(e)}},resolveAll:aL.resolveAll};const bL={name:"hardBreakEscape",tokenize:function(e,t,n){return function(t){return e.enter("hardBreakEscape"),e.enter("escapeMarker"),e.consume(t),r};function r(r){return fR(r)?(e.exit("escapeMarker"),e.exit("hardBreakEscape"),t(r)):n(r)}}};const vL={name:"codeText",tokenize:function(e,t,n){let r,i,o=0;return function(t){return e.enter("codeText"),e.enter("codeTextSequence"),a(t)};function a(t){return 96===t?(e.consume(t),o++,a):(e.exit("codeTextSequence"),s(t))}function s(t){return null===t?n(t):96===t?(i=e.enter("codeTextSequence"),r=0,u(t)):32===t?(e.enter("space"),e.consume(t),e.exit("space"),s):fR(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),s):(e.enter("codeTextData"),l(t))}function l(t){return null===t||32===t||96===t||fR(t)?(e.exit("codeTextData"),s(t)):(e.consume(t),l)}function u(n){return 96===n?(e.consume(n),r++,u):r===o?(e.exit("codeTextSequence"),e.exit("codeText"),t(n)):(i.type="codeTextData",l(n))}},resolve:function(e){let t,n,r=e.length-4,i=3;if(!("lineEnding"!==e[i][1].type&&"space"!==e[i][1].type||"lineEnding"!==e[r][1].type&&"space"!==e[r][1].type))for(t=i;++t<r;)if("codeTextData"===e[t][1].type){e[i][1].type="codeTextPadding",e[r][1].type="codeTextPadding",i+=2,r-=2;break}t=i-1,r++;for(;++t<=r;)void 0===n?t!==r&&"lineEnding"!==e[t][1].type&&(n=t):t!==r&&"lineEnding"!==e[t][1].type||(e[n][1].type="codeTextData",t!==n+2&&(e[n][1].end=e[t-1][1].end,e.splice(n+2,t-n-2),r-=t-n-2,t=n+2),n=void 0);return e},previous:function(e){return 96!==e||"characterEscape"===this.events[this.events.length-1][1].type}};const yL={42:LR,43:LR,45:LR,48:LR,49:LR,50:LR,51:LR,52:LR,53:LR,54:LR,55:LR,56:LR,57:LR,62:FR},wL={91:GR},xL={[-2]:UR,[-1]:UR,32:UR},_L={35:XR,42:RR,45:[YR,RR],60:QR,61:YR,95:RR,96:eL,126:eL},SL={38:rL,92:iL},kL={[-5]:oL,[-4]:oL,[-3]:oL,33:cL,38:rL,42:hL,60:[pL,gL],91:mL,92:[bL,iL],93:aL,95:hL,96:vL},CL={null:[hL,ER]},EL={null:[42,95]},IL={null:[]};const ML=/[\0\t\n\r]/g;function TL(e,t){const n=Number.parseInt(e,t);return n<9||11===n||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||65535==(65535&n)||65534==(65535&n)||n>1114111?"�":String.fromCharCode(n)}const AL=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function PL(e){return e.replace(AL,OL)}function OL(e,t,n){if(t)return t;if(35===n.charCodeAt(0)){const e=n.charCodeAt(1),t=120===e||88===e;return TL(n.slice(t?2:1),t?16:10)}return nL(n)||e}const DL={}.hasOwnProperty,RL=function(e,n,r){return"string"!=typeof n&&(r=n,n=void 0),function(e={}){const t=LL({transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:l(re),autolinkProtocol:M,autolinkEmail:M,atxHeading:l(J),blockQuote:l(X),characterEscape:M,characterReference:M,codeFenced:l(Y),codeFencedFenceInfo:u,codeFencedFenceMeta:u,codeIndented:l(Y,u),codeText:l(K,u),codeTextData:M,data:M,codeFlowValue:M,definition:l(Z),definitionDestinationString:u,definitionLabelString:u,definitionTitleString:u,emphasis:l(Q),hardBreakEscape:l(ee),hardBreakTrailing:l(ee),htmlFlow:l(te,u),htmlFlowData:M,htmlText:l(te,u),htmlTextData:M,image:l(ne),label:u,link:l(re),listItem:l(oe),listItemValue:g,listOrdered:l(ie,p),listUnordered:l(ie),paragraph:l(ae),reference:$,referenceString:u,resourceDestinationString:u,resourceTitleString:u,setextHeading:l(J),strong:l(se),thematicBreak:l(ue)},exit:{atxHeading:f(),atxHeadingSequence:k,autolink:f(),autolinkEmail:q,autolinkProtocol:U,blockQuote:f(),characterEscapeValue:T,characterReferenceMarkerHexadecimal:G,characterReferenceMarkerNumeric:G,characterReferenceValue:W,codeFenced:f(y),codeFencedFence:v,codeFencedFenceInfo:m,codeFencedFenceMeta:b,codeFlowValue:T,codeIndented:f(w),codeText:f(R),codeTextData:T,data:T,definition:f(),definitionDestinationString:S,definitionLabelString:x,definitionTitleString:_,emphasis:f(),hardBreakEscape:f(P),hardBreakTrailing:f(P),htmlFlow:f(O),htmlFlowData:T,htmlText:f(D),htmlTextData:T,image:f(N),label:F,labelText:j,lineEnding:A,link:f(L),listItem:f(),listOrdered:f(),listUnordered:f(),paragraph:f(),referenceString:H,resourceDestinationString:z,resourceTitleString:B,resource:V,setextHeading:f(I),setextHeadingLineSequence:E,setextHeadingText:C,strong:f(),thematicBreak:f()}},e.mdastExtensions||[]),n={};return r;function r(e){let n={type:"root",children:[]};const r=[],l=[],f={stack:[n],tokenStack:r,config:t,enter:c,exit:h,buffer:u,resume:d,setData:o,getData:a};let p=-1;for(;++p<e.length;)if("listOrdered"===e[p][1].type||"listUnordered"===e[p][1].type)if("enter"===e[p][0])l.push(p);else{p=i(e,l.pop(),p)}for(p=-1;++p<e.length;){const n=t[e[p][0]];DL.call(n,e[p][1].type)&&n[e[p][1].type].call(Object.assign({sliceSerialize:e[p][2].sliceSerialize},f),e[p][1])}if(r.length>0){const e=r[r.length-1];(e[1]||jL).call(f,void 0,e[0])}for(n.position={start:s(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:s(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},p=-1;++p<t.transforms.length;)n=t.transforms[p](n)||n;return n}function i(e,t,n){let r,i,o,a,s=t-1,l=-1,u=!1;for(;++s<=n;){const t=e[s];if("listUnordered"===t[1].type||"listOrdered"===t[1].type||"blockQuote"===t[1].type?("enter"===t[0]?l++:l--,a=void 0):"lineEndingBlank"===t[1].type?"enter"===t[0]&&(!r||a||l||o||(o=s),a=void 0):"linePrefix"===t[1].type||"listItemValue"===t[1].type||"listItemMarker"===t[1].type||"listItemPrefix"===t[1].type||"listItemPrefixWhitespace"===t[1].type||(a=void 0),!l&&"enter"===t[0]&&"listItemPrefix"===t[1].type||-1===l&&"exit"===t[0]&&("listUnordered"===t[1].type||"listOrdered"===t[1].type)){if(r){let a=s;for(i=void 0;a--;){const t=e[a];if("lineEnding"===t[1].type||"lineEndingBlank"===t[1].type){if("exit"===t[0])continue;i&&(e[i][1].type="lineEndingBlank",u=!0),t[1].type="lineEnding",i=a}else if("linePrefix"!==t[1].type&&"blockQuotePrefix"!==t[1].type&&"blockQuotePrefixWhitespace"!==t[1].type&&"blockQuoteMarker"!==t[1].type&&"listItemIndent"!==t[1].type)break}o&&(!i||o<i)&&(r._spread=!0),r.end=Object.assign({},i?e[i][1].start:t[1].end),e.splice(i||s,0,["exit",r,t[2]]),s++,n++}"listItemPrefix"===t[1].type&&(r={type:"listItem",_spread:!1,start:Object.assign({},t[1].start)},e.splice(s,0,["enter",r,t[2]]),s++,n++,o=void 0,a=!0)}}return e[t][1]._spread=u,n}function o(e,t){n[e]=t}function a(e){return n[e]}function s(e){return{line:e.line,column:e.column,offset:e.offset}}function l(e,t){return n;function n(n){c.call(this,e(n),n),t&&t.call(this,n)}}function u(){this.stack.push({type:"fragment",children:[]})}function c(e,t,n){return this.stack[this.stack.length-1].children.push(e),this.stack.push(e),this.tokenStack.push([t,n]),e.position={start:s(t.start)},e}function f(e){return t;function t(t){e&&e.call(this,t),h.call(this,t)}}function h(e,t){const n=this.stack.pop(),r=this.tokenStack.pop();if(!r)throw new Error("Cannot close `"+e.type+"` ("+xD({start:e.start,end:e.end})+"): it’s not open");if(r[0].type!==e.type)if(t)t.call(this,e,r[0]);else{(r[1]||jL).call(this,e,r[0])}return n.position.end=s(e.end),n}function d(){return function(e,t){var{includeImageAlt:n=!0}=t||{};return YD(e,n)}(this.stack.pop())}function p(){o("expectingFirstListItemValue",!0)}function g(e){if(a("expectingFirstListItemValue")){this.stack[this.stack.length-2].start=Number.parseInt(this.sliceSerialize(e),10),o("expectingFirstListItemValue")}}function m(){const e=this.resume();this.stack[this.stack.length-1].lang=e}function b(){const e=this.resume();this.stack[this.stack.length-1].meta=e}function v(){a("flowCodeInside")||(this.buffer(),o("flowCodeInside",!0))}function y(){const e=this.resume();this.stack[this.stack.length-1].value=e.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),o("flowCodeInside")}function w(){const e=this.resume();this.stack[this.stack.length-1].value=e.replace(/(\r?\n|\r)$/g,"")}function x(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=HR(this.sliceSerialize(e)).toLowerCase()}function _(){const e=this.resume();this.stack[this.stack.length-1].title=e}function S(){const e=this.resume();this.stack[this.stack.length-1].url=e}function k(e){const t=this.stack[this.stack.length-1];if(!t.depth){const n=this.sliceSerialize(e).length;t.depth=n}}function C(){o("setextHeadingSlurpLineEnding",!0)}function E(e){this.stack[this.stack.length-1].depth=61===this.sliceSerialize(e).charCodeAt(0)?1:2}function I(){o("setextHeadingSlurpLineEnding")}function M(e){const t=this.stack[this.stack.length-1];let n=t.children[t.children.length-1];n&&"text"===n.type||(n=le(),n.position={start:s(e.start)},t.children.push(n)),this.stack.push(n)}function T(e){const t=this.stack.pop();t.value+=this.sliceSerialize(e),t.position.end=s(e.end)}function A(e){const n=this.stack[this.stack.length-1];if(a("atHardBreak")){return n.children[n.children.length-1].position.end=s(e.end),void o("atHardBreak")}!a("setextHeadingSlurpLineEnding")&&t.canContainEols.includes(n.type)&&(M.call(this,e),T.call(this,e))}function P(){o("atHardBreak",!0)}function O(){const e=this.resume();this.stack[this.stack.length-1].value=e}function D(){const e=this.resume();this.stack[this.stack.length-1].value=e}function R(){const e=this.resume();this.stack[this.stack.length-1].value=e}function L(){const e=this.stack[this.stack.length-1];a("inReference")?(e.type+="Reference",e.referenceType=a("referenceType")||"shortcut",delete e.url,delete e.title):(delete e.identifier,delete e.label),o("referenceType")}function N(){const e=this.stack[this.stack.length-1];a("inReference")?(e.type+="Reference",e.referenceType=a("referenceType")||"shortcut",delete e.url,delete e.title):(delete e.identifier,delete e.label),o("referenceType")}function j(e){const t=this.stack[this.stack.length-2],n=this.sliceSerialize(e);t.label=PL(n),t.identifier=HR(n).toLowerCase()}function F(){const e=this.stack[this.stack.length-1],t=this.resume(),n=this.stack[this.stack.length-1];o("inReference",!0),"link"===n.type?n.children=e.children:n.alt=t}function z(){const e=this.resume();this.stack[this.stack.length-1].url=e}function B(){const e=this.resume();this.stack[this.stack.length-1].title=e}function V(){o("inReference")}function $(){o("referenceType","collapsed")}function H(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=HR(this.sliceSerialize(e)).toLowerCase(),o("referenceType","full")}function G(e){o("characterReferenceType",e.type)}function W(e){const t=this.sliceSerialize(e),n=a("characterReferenceType");let r;n?(r=TL(t,"characterReferenceMarkerNumeric"===n?10:16),o("characterReferenceType")):r=nL(t);const i=this.stack.pop();i.value+=r,i.position.end=s(e.end)}function U(e){T.call(this,e);this.stack[this.stack.length-1].url=this.sliceSerialize(e)}function q(e){T.call(this,e);this.stack[this.stack.length-1].url="mailto:"+this.sliceSerialize(e)}function X(){return{type:"blockquote",children:[]}}function Y(){return{type:"code",lang:null,meta:null,value:""}}function K(){return{type:"inlineCode",value:""}}function Z(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function Q(){return{type:"emphasis",children:[]}}function J(){return{type:"heading",depth:void 0,children:[]}}function ee(){return{type:"break"}}function te(){return{type:"html",value:""}}function ne(){return{type:"image",title:null,url:"",alt:null}}function re(){return{type:"link",title:null,url:"",children:[]}}function ie(e){return{type:"list",ordered:"listOrdered"===e.type,start:null,spread:e._spread,children:[]}}function oe(e){return{type:"listItem",spread:e._spread,checked:null,children:[]}}function ae(){return{type:"paragraph",children:[]}}function se(){return{type:"strong",children:[]}}function le(){return{type:"text",value:""}}function ue(){return{type:"thematicBreak"}}}(r)(function(e){for(;!xR(e););return e}(function(e={}){const n={defined:[],lazy:{},constructs:eR([t].concat(e.extensions||[])),content:r(bR),document:r(vR),flow:r(CR),string:r(IR),text:r(MR)};return n;function r(e){return function(t){return DR(n,e,t)}}}(r).document().write(function(){let e,t=1,n="",r=!0;return function(i,o,a){const s=[];let l,u,c,f,h;for(i=n+i.toString(o),c=0,n="",r&&(65279===i.charCodeAt(0)&&c++,r=void 0);c<i.length;){if(ML.lastIndex=c,l=ML.exec(i),f=l&&void 0!==l.index?l.index:i.length,h=i.charCodeAt(f),!l){n=i.slice(c);break}if(10===h&&c===f&&e)s.push(-3),e=void 0;else switch(e&&(s.push(-5),e=void 0),c<f&&(s.push(i.slice(c,f)),t+=f-c),h){case 0:s.push(65533),t++;break;case 9:for(u=4*Math.ceil(t/4),s.push(-2);t++<u;)s.push(-1);break;case 10:s.push(-4),t=1;break;default:e=!0,t=1}c=f+1}return a&&(e&&s.push(-5),n&&s.push(n),s.push(null)),s}}()(e,n,!0))))};function LL(e,t){let n=-1;for(;++n<t.length;){const r=t[n];Array.isArray(r)?LL(e,r):NL(e,r)}return e}function NL(e,t){let n;for(n in t)if(DL.call(t,n)){const r="canContainEols"===n||"transforms"===n,i=(DL.call(e,n)?e[n]:void 0)||(e[n]=r?[]:{}),o=t[n];o&&(r?e[n]=[...i,...o]:Object.assign(i,o))}}function jL(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+xD({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+xD({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+xD({start:t.start,end:t.end})+") is still open")}const FL=function(e){Object.assign(this,{Parser:t=>{const n=this.data("settings");return RL(t,Object.assign({},n,e,{extensions:this.data("micromarkExtensions")||[],mdastExtensions:this.data("fromMarkdownExtensions")||[]}))}})};var zL=function(e,t,n){var r={type:String(e)};return null!=n||"string"!=typeof t&&!Array.isArray(t)?Object.assign(r,t):n=t,Array.isArray(n)?r.children=n:null!=n&&(r.value=String(n)),r};const BL=function(e){if(null==e)return $L;if("string"==typeof e)return function(e){return VL(t);function t(t){return t&&t.type===e}}(e);if("object"==typeof e)return Array.isArray(e)?function(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=BL(e[n]);return VL(r);function r(...e){let n=-1;for(;++n<t.length;)if(t[n].call(this,...e))return!0;return!1}}(e):function(e){return VL(t);function t(t){let n;for(n in e)if(t[n]!==e[n])return!1;return!0}}(e);if("function"==typeof e)return VL(e);throw new Error("Expected function, string, or object as test")};function VL(e){return function(...t){return Boolean(e.call(this,...t))}}function $L(){return!0}const HL=function(e,t,n,r){"function"==typeof t&&"function"!=typeof n&&(r=n,n=t,t=null);const i=BL(t),o=r?-1:1;!function e(a,s,l){const u="object"==typeof a&&null!==a?a:{};let c;"string"==typeof u.type&&(c="string"==typeof u.tagName?u.tagName:"string"==typeof u.name?u.name:void 0,Object.defineProperty(f,"name",{value:"node ("+u.type+(c?"<"+c+">":"")+")"}));return f;function f(){let u,c,f,h=[];if((!t||i(a,s,l[l.length-1]||null))&&(h=function(e){if(Array.isArray(e))return e;if("number"==typeof e)return[true,e];return[e]}(n(a,l)),false===h[0]))return h;if(a.children&&"skip"!==h[0])for(c=(r?a.children.length:-1)+o,f=l.concat(a);c>-1&&c<a.children.length;){if(u=e(a.children[c],c,f)(),false===u[0])return u;c="number"==typeof u[1]?u[1]:c+o}return h}}(e,null,[])()};const GL=function(e,t,n,r){"function"==typeof t&&"function"!=typeof n&&(r=n,n=t,t=null),HL(e,t,(function(e,t){const r=t[t.length-1];return n(e,r?r.children.indexOf(e):null,r)}),r)},WL=qL("start"),UL=qL("end");function qL(e){return function(t){const n=t&&t.position&&t.position[e]||{};return{line:n.line||null,column:n.column||null,offset:n.offset>-1?n.offset:null}}}const XL={}.hasOwnProperty;function YL(e){return String(e||"").toUpperCase()}const KL={}.hasOwnProperty;function ZL(e,t){const n=t.data||{};return"value"in t&&!(KL.call(n,"hName")||KL.call(n,"hProperties")||KL.call(n,"hChildren"))?e.augment(t,zL("text",t.value)):e(t,"div",eN(e,t))}function QL(e,t,n){const r=t&&t.type;let i;if(!r)throw new Error("Expected node, got `"+t+"`");return i=KL.call(e.handlers,r)?e.handlers[r]:e.passThrough&&e.passThrough.includes(r)?JL:e.unknownHandler,("function"==typeof i?i:ZL)(e,t,n)}function JL(e,t){return"children"in t?{...t,children:eN(e,t)}:t}function eN(e,t){const n=[];if("children"in t){const r=t.children;let i=-1;for(;++i<r.length;){const o=QL(e,r[i],t);if(o){if(i&&"break"===r[i-1].type&&(Array.isArray(o)||"text"!==o.type||(o.value=o.value.replace(/^\s+/,"")),!Array.isArray(o)&&"element"===o.type)){const e=o.children[0];e&&"text"===e.type&&(e.value=e.value.replace(/^\s+/,""))}Array.isArray(o)?n.push(...o):n.push(o)}}}return n}function tN(e){const t=[];let n=-1,r=0,i=0;for(;++n<e.length;){const o=e.charCodeAt(n);let a="";if(37===o&&aR(e.charCodeAt(n+1))&&aR(e.charCodeAt(n+2)))i=2;else if(o<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(o))||(a=String.fromCharCode(o));else if(o>55295&&o<57344){const t=e.charCodeAt(n+1);o<56320&&t>56319&&t<57344?(a=String.fromCharCode(o,t),i=1):a="�"}else a=String.fromCharCode(o);a&&(t.push(e.slice(r,n),encodeURIComponent(a)),r=n+i+1,a=""),i&&(n+=i,i=0)}return t.join("")+e.slice(r)}function nN(e,t){const n=[];let r=-1;for(t&&n.push(zL("text","\n"));++r<e.length;)r&&n.push(zL("text","\n")),n.push(e[r]);return t&&e.length>0&&n.push(zL("text","\n")),n}function rN(e,t){const n=String(t.identifier),r=tN(n.toLowerCase()),i=e.footnoteOrder.indexOf(n);let o;-1===i?(e.footnoteOrder.push(n),e.footnoteCounts[n]=1,o=e.footnoteOrder.length):(e.footnoteCounts[n]++,o=i+1);const a=e.footnoteCounts[n];return e(t,"sup",[e(t.position,"a",{href:"#"+e.clobberPrefix+"fn-"+r,id:e.clobberPrefix+"fnref-"+r+(a>1?"-"+a:""),dataFootnoteRef:!0,ariaDescribedBy:"footnote-label"},[zL("text",String(o))])])}function iN(e,t){const n=t.referenceType;let r="]";if("collapsed"===n?r+="[]":"full"===n&&(r+="["+(t.label||t.identifier)+"]"),"imageReference"===t.type)return zL("text","!["+t.alt+r);const i=eN(e,t),o=i[0];o&&"text"===o.type?o.value="["+o.value:i.unshift(zL("text","["));const a=i[i.length-1];return a&&"text"===a.type?a.value+=r:i.push(zL("text",r)),i}function oN(e){const t=e.spread;return null==t?e.children.length>1:t}function aN(e,t,n){let r=0,i=e.length;if(t){let t=e.codePointAt(r);for(;9===t||32===t;)r++,t=e.codePointAt(r)}if(n){let t=e.codePointAt(i-1);for(;9===t||32===t;)i--,t=e.codePointAt(i-1)}return i>r?e.slice(r,i):""}const sN={blockquote:function(e,t){return e(t,"blockquote",nN(eN(e,t),!0))},break:function(e,t){return[e(t,"br"),zL("text","\n")]},code:function(e,t){const n=t.value?t.value+"\n":"",r=t.lang&&t.lang.match(/^[^ \t]+(?=[ \t]|$)/),i={};r&&(i.className=["language-"+r]);const o=e(t,"code",i,[zL("text",n)]);return t.meta&&(o.data={meta:t.meta}),e(t.position,"pre",[o])},delete:function(e,t){return e(t,"del",eN(e,t))},emphasis:function(e,t){return e(t,"em",eN(e,t))},footnoteReference:rN,footnote:function(e,t){const n=e.footnoteById;let r=1;for(;r in n;)r++;const i=String(r);return n[i]={type:"footnoteDefinition",identifier:i,children:[{type:"paragraph",children:t.children}],position:t.position},rN(e,{type:"footnoteReference",identifier:i,position:t.position})},heading:function(e,t){return e(t,"h"+t.depth,eN(e,t))},html:function(e,t){return e.dangerous?e.augment(t,zL("raw",t.value)):null},imageReference:function(e,t){const n=e.definition(t.identifier);if(!n)return iN(e,t);const r={src:tN(n.url||""),alt:t.alt};return null!==n.title&&void 0!==n.title&&(r.title=n.title),e(t,"img",r)},image:function(e,t){const n={src:tN(t.url),alt:t.alt};return null!==t.title&&void 0!==t.title&&(n.title=t.title),e(t,"img",n)},inlineCode:function(e,t){return e(t,"code",[zL("text",t.value.replace(/\r?\n|\r/g," "))])},linkReference:function(e,t){const n=e.definition(t.identifier);if(!n)return iN(e,t);const r={href:tN(n.url||"")};return null!==n.title&&void 0!==n.title&&(r.title=n.title),e(t,"a",r,eN(e,t))},link:function(e,t){const n={href:tN(t.url)};return null!==t.title&&void 0!==t.title&&(n.title=t.title),e(t,"a",n,eN(e,t))},listItem:function(e,t,n){const r=eN(e,t),i=n?function(e){let t=e.spread;const n=e.children;let r=-1;for(;!t&&++r<n.length;)t=oN(n[r]);return Boolean(t)}(n):oN(t),o={},a=[];if("boolean"==typeof t.checked){let n;r[0]&&"element"===r[0].type&&"p"===r[0].tagName?n=r[0]:(n=e(null,"p",[]),r.unshift(n)),n.children.length>0&&n.children.unshift(zL("text"," ")),n.children.unshift(e(null,"input",{type:"checkbox",checked:t.checked,disabled:!0})),o.className=["task-list-item"]}let s=-1;for(;++s<r.length;){const e=r[s];(i||0!==s||"element"!==e.type||"p"!==e.tagName)&&a.push(zL("text","\n")),"element"!==e.type||"p"!==e.tagName||i?a.push(e):a.push(...e.children)}const l=r[r.length-1];return!l||!i&&"tagName"in l&&"p"===l.tagName||a.push(zL("text","\n")),e(t,"li",o,a)},list:function(e,t){const n={},r=t.ordered?"ol":"ul",i=eN(e,t);let o=-1;for("number"==typeof t.start&&1!==t.start&&(n.start=t.start);++o<i.length;){const e=i[o];if("element"===e.type&&"li"===e.tagName&&e.properties&&Array.isArray(e.properties.className)&&e.properties.className.includes("task-list-item")){n.className=["contains-task-list"];break}}return e(t,r,n,nN(i,!0))},paragraph:function(e,t){return e(t,"p",eN(e,t))},root:function(e,t){return e.augment(t,zL("root",nN(eN(e,t))))},strong:function(e,t){return e(t,"strong",eN(e,t))},table:function(e,t){const n=t.children;let r=-1;const i=t.align||[],o=[];for(;++r<n.length;){const a=n[r].children,s=0===r?"th":"td",l=[];let u=-1;const c=t.align?i.length:a.length;for(;++u<c;){const t=a[u];l.push(e(t,s,{align:i[u]},t?eN(e,t):[]))}o[r]=e(n[r],"tr",nN(l,!0))}return e(t,"table",nN([e(o[0].position,"thead",nN([o[0]],!0))].concat(o[1]?e({start:WL(o[1]),end:UL(o[o.length-1])},"tbody",nN(o.slice(1),!0)):[]),!0))},text:function(e,t){return e.augment(t,zL("text",function(e){const t=String(e),n=/\r?\n|\r/g;let r=n.exec(t),i=0;const o=[];for(;r;)o.push(aN(t.slice(i,r.index),i>0,!0),r[0]),i=r.index+r[0].length,r=n.exec(t);return o.push(aN(t.slice(i),i>0,!1)),o.join("")}(String(t.value))))},thematicBreak:function(e,t){return e(t,"hr")},toml:lN,yaml:lN,definition:lN,footnoteDefinition:lN};function lN(){return null}const uN={}.hasOwnProperty;function cN(e,t){const n=t||{},r=n.allowDangerousHtml||!1,i={};return a.dangerous=r,a.clobberPrefix=void 0===n.clobberPrefix||null===n.clobberPrefix?"user-content-":n.clobberPrefix,a.footnoteLabel=n.footnoteLabel||"Footnotes",a.footnoteLabelTagName=n.footnoteLabelTagName||"h2",a.footnoteLabelProperties=n.footnoteLabelProperties||{className:["sr-only"]},a.footnoteBackLabel=n.footnoteBackLabel||"Back to content",a.definition=function(e){const t=Object.create(null);if(!e||!e.type)throw new Error("mdast-util-definitions expected node");return GL(e,"definition",(e=>{const n=YL(e.identifier);n&&!XL.call(t,n)&&(t[n]=e)})),function(e){const n=YL(e);return n&&XL.call(t,n)?t[n]:null}}(e),a.footnoteById=i,a.footnoteOrder=[],a.footnoteCounts={},a.augment=o,a.handlers={...sN,...n.handlers},a.unknownHandler=n.unknownHandler,a.passThrough=n.passThrough,GL(e,"footnoteDefinition",(e=>{const t=String(e.identifier).toUpperCase();uN.call(i,t)||(i[t]=e)})),a;function o(e,t){if(e&&"data"in e&&e.data){const n=e.data;n.hName&&("element"!==t.type&&(t={type:"element",tagName:"",properties:{},children:[]}),t.tagName=n.hName),"element"===t.type&&n.hProperties&&(t.properties={...t.properties,...n.hProperties}),"children"in t&&t.children&&n.hChildren&&(t.children=n.hChildren)}if(e){const n="type"in e?e:{position:e};(function(e){return!(e&&e.position&&e.position.start&&e.position.start.line&&e.position.start.column&&e.position.end&&e.position.end.line&&e.position.end.column)})(n)||(t.position={start:WL(n),end:UL(n)})}return t}function a(e,t,n,r){return Array.isArray(n)&&(r=n,n={}),o(e,{type:"element",tagName:t,properties:n||{},children:r||[]})}}function fN(e,t){const n=cN(e,t),r=QL(n,e,null),i=function(e){let t=-1;const n=[];for(;++t<e.footnoteOrder.length;){const r=e.footnoteById[e.footnoteOrder[t].toUpperCase()];if(!r)continue;const i=eN(e,r),o=String(r.identifier),a=tN(o.toLowerCase());let s=0;const l=[];for(;++s<=e.footnoteCounts[o];){const t={type:"element",tagName:"a",properties:{href:"#"+e.clobberPrefix+"fnref-"+a+(s>1?"-"+s:""),dataFootnoteBackref:!0,className:["data-footnote-backref"],ariaLabel:e.footnoteBackLabel},children:[{type:"text",value:"↩"}]};s>1&&t.children.push({type:"element",tagName:"sup",children:[{type:"text",value:String(s)}]}),l.length>0&&l.push({type:"text",value:" "}),l.push(t)}const u=i[i.length-1];if(u&&"element"===u.type&&"p"===u.tagName){const e=u.children[u.children.length-1];e&&"text"===e.type?e.value+=" ":u.children.push({type:"text",value:" "}),u.children.push(...l)}else i.push(...l);const c={type:"element",tagName:"li",properties:{id:e.clobberPrefix+"fn-"+a},children:nN(i,!0)};r.position&&(c.position=r.position),n.push(c)}return 0===n.length?null:{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:e.footnoteLabelTagName,properties:{...JSON.parse(JSON.stringify(e.footnoteLabelProperties)),id:"footnote-label"},children:[zL("text",e.footnoteLabel)]},{type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},children:nN(n,!0)},{type:"text",value:"\n"}]}}(n);return i&&r.children.push(zL("text","\n"),i),Array.isArray(r)?{type:"root",children:r}:r}const hN=function(e,t){return e&&"run"in e?function(e,t){return(n,r,i)=>{e.run(fN(n,t),r,(e=>{i(e)}))}}(e,t):function(e){return t=>fN(t,e)}(e||t)};var dN=a(5556),pN=a.n(dN);class gN{constructor(e,t,n){this.property=e,this.normal=t,n&&(this.space=n)}}function mN(e,t){const n={},r={};let i=-1;for(;++i<e.length;)Object.assign(n,e[i].property),Object.assign(r,e[i].normal);return new gN(n,r,t)}function bN(e){return e.toLowerCase()}gN.prototype.property={},gN.prototype.normal={},gN.prototype.space=null;class vN{constructor(e,t){this.property=e,this.attribute=t}}vN.prototype.space=null,vN.prototype.boolean=!1,vN.prototype.booleanish=!1,vN.prototype.overloadedBoolean=!1,vN.prototype.number=!1,vN.prototype.commaSeparated=!1,vN.prototype.spaceSeparated=!1,vN.prototype.commaOrSpaceSeparated=!1,vN.prototype.mustUseProperty=!1,vN.prototype.defined=!1;let yN=0;const wN=IN(),xN=IN(),_N=IN(),SN=IN(),kN=IN(),CN=IN(),EN=IN();function IN(){return 2**++yN}const MN=Object.keys(n);class TN extends vN{constructor(e,t,r,i){let o=-1;if(super(e,t),AN(this,"space",i),"number"==typeof r)for(;++o<MN.length;){const e=MN[o];AN(this,MN[o],(r&n[e])===n[e])}}}function AN(e,t,n){n&&(e[t]=n)}TN.prototype.defined=!0;const PN={}.hasOwnProperty;function ON(e){const t={},n={};let r;for(r in e.properties)if(PN.call(e.properties,r)){const i=e.properties[r],o=new TN(r,e.transform(e.attributes||{},r),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(o.mustUseProperty=!0),t[r]=o,n[bN(r)]=r,n[bN(o.attribute)]=r}return new gN(t,n,e.space)}const DN=ON({space:"xlink",transform:(e,t)=>"xlink:"+t.slice(5).toLowerCase(),properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),RN=ON({space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase(),properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function LN(e,t){return t in e?e[t]:t}function NN(e,t){return LN(e,t.toLowerCase())}const jN=ON({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:NN,properties:{xmlns:null,xmlnsXLink:null}}),FN=ON({transform:(e,t)=>"role"===t?t:"aria-"+t.slice(4).toLowerCase(),properties:{ariaActiveDescendant:null,ariaAtomic:xN,ariaAutoComplete:null,ariaBusy:xN,ariaChecked:xN,ariaColCount:SN,ariaColIndex:SN,ariaColSpan:SN,ariaControls:kN,ariaCurrent:null,ariaDescribedBy:kN,ariaDetails:null,ariaDisabled:xN,ariaDropEffect:kN,ariaErrorMessage:null,ariaExpanded:xN,ariaFlowTo:kN,ariaGrabbed:xN,ariaHasPopup:null,ariaHidden:xN,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:kN,ariaLevel:SN,ariaLive:null,ariaModal:xN,ariaMultiLine:xN,ariaMultiSelectable:xN,ariaOrientation:null,ariaOwns:kN,ariaPlaceholder:null,ariaPosInSet:SN,ariaPressed:xN,ariaReadOnly:xN,ariaRelevant:null,ariaRequired:xN,ariaRoleDescription:kN,ariaRowCount:SN,ariaRowIndex:SN,ariaRowSpan:SN,ariaSelected:xN,ariaSetSize:SN,ariaSort:null,ariaValueMax:SN,ariaValueMin:SN,ariaValueNow:SN,ariaValueText:null,role:null}}),zN=ON({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:NN,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:CN,acceptCharset:kN,accessKey:kN,action:null,allow:null,allowFullScreen:wN,allowPaymentRequest:wN,allowUserMedia:wN,alt:null,as:null,async:wN,autoCapitalize:null,autoComplete:kN,autoFocus:wN,autoPlay:wN,capture:wN,charSet:null,checked:wN,cite:null,className:kN,cols:SN,colSpan:null,content:null,contentEditable:xN,controls:wN,controlsList:kN,coords:SN|CN,crossOrigin:null,data:null,dateTime:null,decoding:null,default:wN,defer:wN,dir:null,dirName:null,disabled:wN,download:_N,draggable:xN,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:wN,formTarget:null,headers:kN,height:SN,hidden:wN,high:SN,href:null,hrefLang:null,htmlFor:kN,httpEquiv:kN,id:null,imageSizes:null,imageSrcSet:null,inputMode:null,integrity:null,is:null,isMap:wN,itemId:null,itemProp:kN,itemRef:kN,itemScope:wN,itemType:kN,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:wN,low:SN,manifest:null,max:null,maxLength:SN,media:null,method:null,min:null,minLength:SN,multiple:wN,muted:wN,name:null,nonce:null,noModule:wN,noValidate:wN,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:wN,optimum:SN,pattern:null,ping:kN,placeholder:null,playsInline:wN,poster:null,preload:null,readOnly:wN,referrerPolicy:null,rel:kN,required:wN,reversed:wN,rows:SN,rowSpan:SN,sandbox:kN,scope:null,scoped:wN,seamless:wN,selected:wN,shape:null,size:SN,sizes:null,slot:null,span:SN,spellCheck:xN,src:null,srcDoc:null,srcLang:null,srcSet:null,start:SN,step:null,style:null,tabIndex:SN,target:null,title:null,translate:null,type:null,typeMustMatch:wN,useMap:null,value:xN,width:SN,wrap:null,align:null,aLink:null,archive:kN,axis:null,background:null,bgColor:null,border:SN,borderColor:null,bottomMargin:SN,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:wN,declare:wN,event:null,face:null,frame:null,frameBorder:null,hSpace:SN,leftMargin:SN,link:null,longDesc:null,lowSrc:null,marginHeight:SN,marginWidth:SN,noResize:wN,noHref:wN,noShade:wN,noWrap:wN,object:null,profile:null,prompt:null,rev:null,rightMargin:SN,rules:null,scheme:null,scrolling:xN,standby:null,summary:null,text:null,topMargin:SN,valueType:null,version:null,vAlign:null,vLink:null,vSpace:SN,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:wN,disableRemotePlayback:wN,prefix:null,property:null,results:SN,security:null,unselectable:null}}),BN=ON({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:LN,properties:{about:EN,accentHeight:SN,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:SN,amplitude:SN,arabicForm:null,ascent:SN,attributeName:null,attributeType:null,azimuth:SN,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:SN,by:null,calcMode:null,capHeight:SN,className:kN,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:SN,diffuseConstant:SN,direction:null,display:null,dur:null,divisor:SN,dominantBaseline:null,download:wN,dx:null,dy:null,edgeMode:null,editable:null,elevation:SN,enableBackground:null,end:null,event:null,exponent:SN,externalResourcesRequired:null,fill:null,fillOpacity:SN,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:CN,g2:CN,glyphName:CN,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:SN,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:SN,horizOriginX:SN,horizOriginY:SN,id:null,ideographic:SN,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:SN,k:SN,k1:SN,k2:SN,k3:SN,k4:SN,kernelMatrix:EN,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:SN,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:SN,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:SN,overlineThickness:SN,paintOrder:null,panose1:null,path:null,pathLength:SN,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:kN,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:SN,pointsAtY:SN,pointsAtZ:SN,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:EN,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:EN,rev:EN,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:EN,requiredFeatures:EN,requiredFonts:EN,requiredFormats:EN,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:SN,specularExponent:SN,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:SN,strikethroughThickness:SN,string:null,stroke:null,strokeDashArray:EN,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:SN,strokeOpacity:SN,strokeWidth:null,style:null,surfaceScale:SN,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:EN,tabIndex:SN,tableValues:null,target:null,targetX:SN,targetY:SN,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:EN,to:null,transform:null,u1:null,u2:null,underlinePosition:SN,underlineThickness:SN,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:SN,values:null,vAlphabetic:SN,vMathematical:SN,vectorEffect:null,vHanging:SN,vIdeographic:SN,version:null,vertAdvY:SN,vertOriginX:SN,vertOriginY:SN,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:SN,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),VN=mN([RN,DN,jN,FN,zN],"html"),$N=mN([RN,DN,jN,FN,BN],"svg");function HN(e){if(e.allowedElements&&e.disallowedElements)throw new TypeError("Only one of `allowedElements` and `disallowedElements` should be defined");if(e.allowedElements||e.disallowedElements||e.allowElement)return t=>{GL(t,"element",((t,n,r)=>{const i=r;let o;if(e.allowedElements?o=!e.allowedElements.includes(t.tagName):e.disallowedElements&&(o=e.disallowedElements.includes(t.tagName)),!o&&e.allowElement&&"number"==typeof n&&(o=!e.allowElement(t,n,i)),o&&"number"==typeof n)return e.unwrapDisallowed&&t.children?i.children.splice(n,1,...t.children):i.children.splice(n,1),n}))}}const GN=["http","https","mailto","tel"];var WN=a(8316);const UN=/^data[-\w.:]+$/i,qN=/-[a-z]/g,XN=/[A-Z]/g;function YN(e){return"-"+e.toLowerCase()}function KN(e){return e.charAt(1).toUpperCase()}const ZN={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"};var QN=a(9108);const JN={}.hasOwnProperty,ej=new Set(["table","thead","tbody","tfoot","tr"]);function tj(e,t){const n=[];let r,i=-1;for(;++i<t.children.length;)r=t.children[i],"element"===r.type?n.push(nj(e,r,i,t)):"text"===r.type?"element"===t.type&&ej.has(t.tagName)&&(a=void 0,"string"==typeof(a=(o=r)&&"object"==typeof o&&"text"===o.type?o.value||"":o)&&""===a.replace(/[ \t\n\f\r]/g,""))||n.push(r.value):"raw"!==r.type||e.options.skipHtml||n.push(r.value);var o,a;return n}function nj(e,t,n,r){const o=e.options,a=e.schema,s=t.tagName,l={};let u,c=a;if("html"===a.space&&"svg"===s&&(c=$N,e.schema=c),t.properties)for(u in t.properties)JN.call(t.properties,u)&&ij(l,u,t.properties[u],e);"ol"!==s&&"ul"!==s||e.listDepth++;const f=tj(e,t);"ol"!==s&&"ul"!==s||e.listDepth--,e.schema=a;const h=t.position||{start:{line:null,column:null,offset:null},end:{line:null,column:null,offset:null}},d=o.components&&JN.call(o.components,s)?o.components[s]:s,p="string"==typeof d||d===i.Fragment;if(!WN.isValidElementType(d))throw new TypeError(`Component for name \`${s}\` not defined or is not renderable`);if(l.key=[s,h.start.line,h.start.column,n].join("-"),"a"===s&&o.linkTarget&&(l.target="function"==typeof o.linkTarget?o.linkTarget(String(l.href||""),t.children,"string"==typeof l.title?l.title:null):o.linkTarget),"a"===s&&o.transformLinkUri&&(l.href=o.transformLinkUri(String(l.href||""),t.children,"string"==typeof l.title?l.title:null)),p||"code"!==s||"element"!==r.type||"pre"===r.tagName||(l.inline=!0),p||"h1"!==s&&"h2"!==s&&"h3"!==s&&"h4"!==s&&"h5"!==s&&"h6"!==s||(l.level=Number.parseInt(s.charAt(1),10)),"img"===s&&o.transformImageUri&&(l.src=o.transformImageUri(String(l.src||""),String(l.alt||""),"string"==typeof l.title?l.title:null)),!p&&"li"===s&&"element"===r.type){const e=function(e){let t=-1;for(;++t<e.children.length;){const n=e.children[t];if("element"===n.type&&"input"===n.tagName)return n}return null}(t);l.checked=e&&e.properties?Boolean(e.properties.checked):null,l.index=rj(r,t),l.ordered="ol"===r.tagName}var g;return p||"ol"!==s&&"ul"!==s||(l.ordered="ol"===s,l.depth=e.listDepth),"td"!==s&&"th"!==s||(l.align&&(l.style||(l.style={}),l.style.textAlign=l.align,delete l.align),p||(l.isHeader="th"===s)),p||"tr"!==s||"element"!==r.type||(l.isHeader=Boolean("thead"===r.tagName)),o.sourcePos&&(l["data-sourcepos"]=[(g=h).start.line,":",g.start.column,"-",g.end.line,":",g.end.column].map(String).join("")),!p&&o.rawSourcePos&&(l.sourcePosition=t.position),!p&&o.includeElementIndex&&(l.index=rj(r,t),l.siblingCount=rj(r)),p||(l.node=t),f.length>0?i.createElement(d,l,f):i.createElement(d,l)}function rj(e,t){let n=-1,r=0;for(;++n<e.children.length&&e.children[n]!==t;)"element"===e.children[n].type&&r++;return r}function ij(e,t,n,r){const i=function(e,t){const n=bN(t);let r=t,i=vN;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&"data"===n.slice(0,4)&&UN.test(t)){if("-"===t.charAt(4)){const e=t.slice(5).replace(qN,KN);r="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{const e=t.slice(4);if(!qN.test(e)){let n=e.replace(XN,YN);"-"!==n.charAt(0)&&(n="-"+n),t="data"+n}}i=TN}return new i(r,t)}(r.schema,t);let o=n;null!=o&&o==o&&(Array.isArray(o)&&(o=i.commaSeparated?function(e,t){const n=t||{};return(""===e[e.length-1]?[...e,""]:e).join((n.padRight?" ":"")+","+(!1===n.padLeft?"":" ")).trim()}(o):o.join(" ").trim()),"style"===i.property&&"string"==typeof o&&(o=function(e){const t={};try{QN(e,n)}catch{}return t;function n(e,n){const r="-ms-"===e.slice(0,4)?`ms-${e.slice(4)}`:e;t[r.replace(/-([a-z])/g,oj)]=n}}(o)),i.space&&i.property?e[JN.call(ZN,i.property)?ZN[i.property]:i.property]=o:i.attribute&&(e[i.attribute]=o))}function oj(e,t){return t.toUpperCase()}const aj={}.hasOwnProperty,sj={plugins:{to:"plugins",id:"change-plugins-to-remarkplugins"},renderers:{to:"components",id:"change-renderers-to-components"},astPlugins:{id:"remove-buggy-html-in-markdown-parser"},allowDangerousHtml:{id:"remove-buggy-html-in-markdown-parser"},escapeHtml:{id:"remove-buggy-html-in-markdown-parser"},source:{to:"children",id:"change-source-to-children"},allowNode:{to:"allowElement",id:"replace-allownode-allowedtypes-and-disallowedtypes"},allowedTypes:{to:"allowedElements",id:"replace-allownode-allowedtypes-and-disallowedtypes"},disallowedTypes:{to:"disallowedElements",id:"replace-allownode-allowedtypes-and-disallowedtypes"},includeNodeIndex:{to:"includeElementIndex",id:"change-includenodeindex-to-includeelementindex"}};function lj(e){for(const t in sj)if(aj.call(sj,t)&&aj.call(e,t)){const e=sj[t];console.warn(`[react-markdown] Warning: please ${e.to?`use \`${e.to}\` instead of`:"remove"} \`${t}\` (see <https://github.com/remarkjs/react-markdown/blob/main/changelog.md#${e.id}> for more info)`),delete sj[t]}const t=BD().use(FL).use(e.remarkPlugins||[]).use(hN,{...e.remarkRehypeOptions,allowDangerousHtml:!0}).use(e.rehypePlugins||[]).use(HN,e),n=new OD;"string"==typeof e.children?n.value=e.children:void 0!==e.children&&null!==e.children&&console.warn(`[react-markdown] Warning: please pass a string as \`children\` (not: \`${e.children}\`)`);const r=t.runSync(t.parse(n),n);if("root"!==r.type)throw new TypeError("Expected a `root` node");let o=i.createElement(i.Fragment,{},tj({options:e,schema:VN,listDepth:0},r));return e.className&&(o=i.createElement("div",{className:e.className},o)),o}lj.defaultProps={transformLinkUri:function(e){const t=(e||"").trim(),n=t.charAt(0);if("#"===n||"/"===n)return t;const r=t.indexOf(":");if(-1===r)return t;let i=-1;for(;++i<GN.length;){const e=GN[i];if(r===e.length&&t.slice(0,e.length).toLowerCase()===e)return t}return i=t.indexOf("?"),-1!==i&&r>i?t:(i=t.indexOf("#"),-1!==i&&r>i?t:"javascript:void(0)")}},lj.propTypes={children:dN.string,className:dN.string,allowElement:dN.func,allowedElements:dN.arrayOf(dN.string),disallowedElements:dN.arrayOf(dN.string),unwrapDisallowed:dN.bool,remarkPlugins:dN.arrayOf(dN.oneOfType([dN.object,dN.func,dN.arrayOf(dN.oneOfType([dN.bool,dN.string,dN.object,dN.func,dN.arrayOf(dN.any)]))])),rehypePlugins:dN.arrayOf(dN.oneOfType([dN.object,dN.func,dN.arrayOf(dN.oneOfType([dN.bool,dN.string,dN.object,dN.func,dN.arrayOf(dN.any)]))])),sourcePos:dN.bool,rawSourcePos:dN.bool,skipHtml:dN.bool,includeElementIndex:dN.bool,transformLinkUri:dN.oneOfType([dN.func,dN.bool]),linkTarget:dN.oneOfType([dN.func,dN.string]),transformImageUri:dN.func,components:dN.object};const uj={tokenize:function(e,t,n){return function(t){return e.consume(t),r};function r(t){return 87===t||119===t?(e.consume(t),i):n(t)}function i(t){return 87===t||119===t?(e.consume(t),o):n(t)}function o(t){return 46===t?(e.consume(t),a):n(t)}function a(e){return null===e||fR(e)?n(e):t(e)}},partial:!0},cj={tokenize:function(e,t,n){let r,i;return o;function o(t){return 38===t?e.check(dj,s,a)(t):46===t||95===t?e.check(hj,s,a)(t):null===t||uR(t)||dR(t)||45!==t&&pR(t)?s(t):(e.consume(t),o)}function a(t){return 46===t?(i=r,r=void 0,e.consume(t),o):(95===t&&(r=!0),e.consume(t),o)}function s(e){return i||r?n(e):t(e)}},partial:!0},fj={tokenize:function(e,t){let n=0;return r;function r(a){return 38===a?e.check(dj,t,i)(a):(40===a&&n++,41===a?e.check(hj,o,i)(a):xj(a)?t(a):wj(a)?e.check(hj,t,i)(a):(e.consume(a),r))}function i(t){return e.consume(t),r}function o(e){return n--,n<0?t(e):i(e)}},partial:!0},hj={tokenize:function(e,t,n){return function(t){return e.consume(t),r};function r(i){return wj(i)?(e.consume(i),r):xj(i)?t(i):n(i)}},partial:!0},dj={tokenize:function(e,t,n){return function(t){return e.consume(t),r};function r(t){return rR(t)?(e.consume(t),r):59===t?(e.consume(t),i):n(t)}function i(e){return xj(e)?t(e):n(e)}},partial:!0},pj={tokenize:function(e,t,n){const r=this;return function(t){if(87!==t&&119!==t||!Sj(r.previous)||Ej(r.events))return n(t);return e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(uj,e.attempt(cj,e.attempt(fj,i),n),n)(t)};function i(n){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(n)}},previous:Sj},gj={tokenize:function(e,t,n){const r=this;return function(t){if(72!==t&&104!==t||!kj(r.previous)||Ej(r.events))return n(t);return e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),e.consume(t),i};function i(t){return 84===t||116===t?(e.consume(t),o):n(t)}function o(t){return 84===t||116===t?(e.consume(t),a):n(t)}function a(t){return 80===t||112===t?(e.consume(t),s):n(t)}function s(t){return 83===t||115===t?(e.consume(t),l):l(t)}function l(t){return 58===t?(e.consume(t),u):n(t)}function u(t){return 47===t?(e.consume(t),c):n(t)}function c(t){return 47===t?(e.consume(t),f):n(t)}function f(t){return null===t||uR(t)||dR(t)||pR(t)?n(t):e.attempt(cj,e.attempt(fj,h),n)(t)}function h(n){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(n)}},previous:kj},mj={tokenize:function(e,t,n){const r=this;let i,o;return function(t){if(!_j(t)||!Cj(r.previous)||Ej(r.events))return n(t);return e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),a(t)};function a(t){return _j(t)?(e.consume(t),a):64===t?(e.consume(t),s):n(t)}function s(t){return 46===t?e.check(hj,f,l)(t):45===t||95===t?e.check(hj,n,u)(t):aR(t)?(!o&&iR(t)&&(o=!0),e.consume(t),s):f(t)}function l(t){return e.consume(t),i=!0,o=void 0,s}function u(t){return e.consume(t),c}function c(t){return 46===t?e.check(hj,n,l)(t):s(t)}function f(r){return i&&!o?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(r)):n(r)}},previous:Cj},bj={},vj={text:bj};let yj=48;for(;yj<123;)bj[yj]=mj,yj++,58===yj?yj=65:91===yj&&(yj=97);function wj(e){return 33===e||34===e||39===e||41===e||42===e||44===e||46===e||58===e||59===e||60===e||63===e||95===e||126===e}function xj(e){return null===e||60===e||cR(e)}function _j(e){return 43===e||45===e||46===e||95===e||aR(e)}function Sj(e){return null===e||40===e||42===e||95===e||126===e||cR(e)}function kj(e){return null===e||!rR(e)}function Cj(e){return 47!==e&&kj(e)}function Ej(e){let t=e.length,n=!1;for(;t--;){const r=e[t][1];if(("labelLink"===r.type||"labelImage"===r.type)&&!r._balanced){n=!0;break}if(r._gfmAutolinkLiteralWalkedInto){n=!1;break}}return e.length>0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}bj[43]=mj,bj[45]=mj,bj[46]=mj,bj[95]=mj,bj[72]=[mj,gj],bj[104]=[mj,gj],bj[87]=[mj,pj],bj[119]=[mj,pj];const Ij={tokenize:function(e,t,n){const r=this;return mR(e,(function(e){const i=r.events[r.events.length-1];return i&&"gfmFootnoteDefinitionIndent"===i[1].type&&4===i[2].sliceSerialize(i[1],!0).length?t(e):n(e)}),"gfmFootnoteDefinitionIndent",5)},partial:!0};function Mj(e,t,n){const r=this;let i=r.events.length;const o=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let a;for(;i--;){const e=r.events[i][1];if("labelImage"===e.type){a=e;break}if("gfmFootnoteCall"===e.type||"labelLink"===e.type||"label"===e.type||"image"===e.type||"link"===e.type)break}return function(i){if(!a||!a._balanced)return n(i);const s=HR(r.sliceSerialize({start:a.end,end:r.now()}));if(94!==s.charCodeAt(0)||!o.includes(s.slice(1)))return n(i);return e.enter("gfmFootnoteCallLabelMarker"),e.consume(i),e.exit("gfmFootnoteCallLabelMarker"),t(i)}}function Tj(e,t){let n,r=e.length;for(;r--;)if("labelImage"===e[r][1].type&&"enter"===e[r][0]){n=e[r][1];break}e[r+1][1].type="data",e[r+3][1].type="gfmFootnoteCallLabelMarker";const i={type:"gfmFootnoteCall",start:Object.assign({},e[r+3][1].start),end:Object.assign({},e[e.length-1][1].end)},o={type:"gfmFootnoteCallMarker",start:Object.assign({},e[r+3][1].end),end:Object.assign({},e[r+3][1].end)};o.end.column++,o.end.offset++,o.end._bufferIndex++;const a={type:"gfmFootnoteCallString",start:Object.assign({},o.end),end:Object.assign({},e[e.length-1][1].start)},s={type:"chunkString",contentType:"string",start:Object.assign({},a.start),end:Object.assign({},a.end)},l=[e[r+1],e[r+2],["enter",i,t],e[r+3],e[r+4],["enter",o,t],["exit",o,t],["enter",a,t],["enter",s,t],["exit",s,t],["exit",a,t],e[e.length-2],e[e.length-1],["exit",i,t]];return e.splice(r,e.length-r+1,...l),e}function Aj(e,t,n){const r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let o,a=0;return function(t){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(t),e.exit("gfmFootnoteCallLabelMarker"),s};function s(t){return 94!==t?n(t):(e.enter("gfmFootnoteCallMarker"),e.consume(t),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",l)}function l(s){let c;return null===s||91===s||a++>999?n(s):93===s?o?(e.exit("chunkString"),c=e.exit("gfmFootnoteCallString"),i.includes(HR(r.sliceSerialize(c)))?function(n){return e.enter("gfmFootnoteCallLabelMarker"),e.consume(n),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t}(s):n(s)):n(s):(e.consume(s),cR(s)||(o=!0),92===s?u:l)}function u(t){return 91===t||92===t||93===t?(e.consume(t),a++,l):l(t)}}function Pj(e,t,n){const r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let o,a,s=0;return function(t){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),l};function l(t){return 94===t?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),u):n(t)}function u(t){let i;return null===t||91===t||s>999?n(t):93===t?a?(i=e.exit("gfmFootnoteDefinitionLabelString"),o=HR(r.sliceSerialize(i)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),h):n(t):fR(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),s++,u):(e.enter("chunkString").contentType="string",c(t))}function c(t){return null===t||fR(t)||91===t||93===t||s>999?(e.exit("chunkString"),u(t)):(cR(t)||(a=!0),s++,e.consume(t),92===t?f:c)}function f(t){return 91===t||92===t||93===t?(e.consume(t),s++,c):c(t)}function h(t){return 58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),mR(e,d,"gfmFootnoteDefinitionWhitespace")):n(t)}function d(e){return i.includes(o)||i.push(o),t(e)}}function Oj(e,t,n){return e.check(wR,t,e.attempt(Ij,t,n))}function Dj(e){e.exit("gfmFootnoteDefinition")}function Rj(e={}){let t=e.singleTilde;const n={tokenize:function(e,n,r){const i=this.previous,o=this.events;let a=0;return function(t){if(126===i&&"characterEscape"!==o[o.length-1][1].type)return r(t);return e.enter("strikethroughSequenceTemporary"),s(t)};function s(o){const l=fL(i);if(126===o)return a>1?r(o):(e.consume(o),a++,s);if(a<2&&!t)return r(o);const u=e.exit("strikethroughSequenceTemporary"),c=fL(o);return u._open=!c||2===c&&Boolean(l),u._close=!l||2===l&&Boolean(c),n(o)}},resolveAll:function(e,t){let n=-1;for(;++n<e.length;)if("enter"===e[n][0]&&"strikethroughSequenceTemporary"===e[n][1].type&&e[n][1]._close){let r=n;for(;r--;)if("exit"===e[r][0]&&"strikethroughSequenceTemporary"===e[r][1].type&&e[r][1]._open&&e[n][1].end.offset-e[n][1].start.offset==e[r][1].end.offset-e[r][1].start.offset){e[n][1].type="strikethroughSequence",e[r][1].type="strikethroughSequence";const i={type:"strikethrough",start:Object.assign({},e[r][1].start),end:Object.assign({},e[n][1].end)},o={type:"strikethroughText",start:Object.assign({},e[r][1].end),end:Object.assign({},e[n][1].start)},a=[["enter",i,t],["enter",e[r][1],t],["exit",e[r][1],t],["enter",o,t]];ZD(a,a.length,0,OR(t.parser.constructs.insideSpan.null,e.slice(r+1,n),t)),ZD(a,a.length,0,[["exit",o,t],["enter",e[n][1],t],["exit",e[n][1],t],["exit",i,t]]),ZD(e,r-1,n-r+3,a),n=r+a.length-2;break}}n=-1;for(;++n<e.length;)"strikethroughSequenceTemporary"===e[n][1].type&&(e[n][1].type="data");return e}};return null==t&&(t=!0),{text:{126:n},insideSpan:{null:[n]},attentionMarkers:{null:[126]}}}const Lj={flow:{null:{tokenize:function(e,t,n){const r=this,i=[];let o,a,s=0;return function(t){if(e.enter("table")._align=i,e.enter("tableHead"),e.enter("tableRow"),124===t)return l(t);return s++,e.enter("temporaryTableCellContent"),f(t)};function l(t){return e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),o=!0,u}function u(t){return null===t||fR(t)?function(t){if(null===t)return n(t);e.exit("tableRow"),e.exit("tableHead");const i=r.interrupt;return r.interrupt=!0,e.attempt({tokenize:M,partial:!0},(function(t){return r.interrupt=i,e.enter("tableDelimiterRow"),d(t)}),(function(e){return r.interrupt=i,n(e)}))(t)}(t):hR(t)?(e.enter("whitespace"),e.consume(t),c):(o&&(o=void 0,s++),124===t?l(t):(e.enter("temporaryTableCellContent"),f(t)))}function c(t){return hR(t)?(e.consume(t),c):(e.exit("whitespace"),u(t))}function f(t){return null===t||124===t||cR(t)?(e.exit("temporaryTableCellContent"),u(t)):(e.consume(t),92===t?h:f)}function h(t){return 92===t||124===t?(e.consume(t),f):f(t)}function d(t){return null===t||fR(t)?v(t):hR(t)?(e.enter("whitespace"),e.consume(t),p):45===t?(e.enter("tableDelimiterFiller"),e.consume(t),a=!0,i.push("none"),g):58===t?(e.enter("tableDelimiterAlignment"),e.consume(t),e.exit("tableDelimiterAlignment"),i.push("left"),m):124===t?(e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),d):n(t)}function p(t){return hR(t)?(e.consume(t),p):(e.exit("whitespace"),d(t))}function g(t){return 45===t?(e.consume(t),g):(e.exit("tableDelimiterFiller"),58===t?(e.enter("tableDelimiterAlignment"),e.consume(t),e.exit("tableDelimiterAlignment"),i[i.length-1]="left"===i[i.length-1]?"center":"right",b):d(t))}function m(t){return 45===t?(e.enter("tableDelimiterFiller"),e.consume(t),a=!0,g):n(t)}function b(t){return null===t||fR(t)?v(t):hR(t)?(e.enter("whitespace"),e.consume(t),p):124===t?(e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),d):n(t)}function v(t){return e.exit("tableDelimiterRow"),a&&s===i.length?null===t?y(t):e.check(Nj,y,e.attempt({tokenize:M,partial:!0},mR(e,w,"linePrefix",4),y))(t):n(t)}function y(n){return e.exit("table"),t(n)}function w(t){return e.enter("tableBody"),x(t)}function x(t){return e.enter("tableRow"),124===t?_(t):(e.enter("temporaryTableCellContent"),C(t))}function _(t){return e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),S}function S(t){return null===t||fR(t)?function(t){if(e.exit("tableRow"),null===t)return I(t);return e.check(Nj,I,e.attempt({tokenize:M,partial:!0},mR(e,x,"linePrefix",4),I))(t)}(t):hR(t)?(e.enter("whitespace"),e.consume(t),k):124===t?_(t):(e.enter("temporaryTableCellContent"),C(t))}function k(t){return hR(t)?(e.consume(t),k):(e.exit("whitespace"),S(t))}function C(t){return null===t||124===t||cR(t)?(e.exit("temporaryTableCellContent"),S(t)):(e.consume(t),92===t?E:C)}function E(t){return 92===t||124===t?(e.consume(t),C):C(t)}function I(t){return e.exit("tableBody"),y(t)}function M(e,t,n){return function(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),mR(e,i,"linePrefix")};function i(i){if(r.parser.lazy[r.now().line]||null===i||fR(i))return n(i);const o=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&o&&"linePrefix"===o[1].type&&o[2].sliceSerialize(o[1],!0).length>=4?n(i):(r._gfmTableDynamicInterruptHack=!0,e.check(r.parser.constructs.flow,(function(e){return r._gfmTableDynamicInterruptHack=!1,n(e)}),(function(e){return r._gfmTableDynamicInterruptHack=!1,t(e)}))(i))}}},resolve:function(e,t){let n,r,i,o,a,s,l,u=-1;for(;++u<e.length;){const c=e[u][1];if(i&&("temporaryTableCellContent"===c.type&&(o=o||u,a=u),("tableCellDivider"===c.type||"tableRow"===c.type)&&a)){const n={type:"tableContent",start:e[o][1].start,end:e[a][1].end},r={type:"chunkText",start:n.start,end:n.end,contentType:"text"};e.splice(o,a-o+1,["enter",n,t],["enter",r,t],["exit",r,t],["exit",n,t]),u-=a-o-3,o=void 0,a=void 0}if("exit"===e[u][0]&&void 0!==s&&s+(l?0:1)<u&&("tableCellDivider"===c.type||"tableRow"===c.type&&(s+3<u||"whitespace"!==e[s][1].type))){const i={type:r?"tableDelimiter":n?"tableHeader":"tableData",start:e[s][1].start,end:e[u][1].end};e.splice(u+("tableCellDivider"===c.type?1:0),0,["exit",i,t]),e.splice(s,0,["enter",i,t]),u+=2,s=u+1,l=!0}"tableRow"===c.type&&(i="enter"===e[u][0],i&&(s=u+1,l=!1)),"tableDelimiterRow"===c.type&&(r="enter"===e[u][0],r&&(s=u+1,l=!1)),"tableHead"===c.type&&(n="enter"===e[u][0])}return e}}}},Nj={tokenize:function(e,t,n){let r=0;return function(t){return e.enter("check"),e.consume(t),i};function i(o){return-1===o||32===o?(e.consume(o),r++,4===r?t:i):null===o||cR(o)?t(o):n(o)}},partial:!0};const jj={tokenize:function(e,t,n){const r=this;return function(t){if(null!==r.previous||!r._gfmTasklistFirstContentOfListItem)return n(t);return e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),i};function i(t){return cR(t)?(e.enter("taskListCheckValueUnchecked"),e.consume(t),e.exit("taskListCheckValueUnchecked"),o):88===t||120===t?(e.enter("taskListCheckValueChecked"),e.consume(t),e.exit("taskListCheckValueChecked"),o):n(t)}function o(r){return 93===r?(e.enter("taskListCheckMarker"),e.consume(r),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),e.check({tokenize:zj},t,n)):n(r)}}},Fj={text:{91:jj}};function zj(e,t,n){const r=this;return mR(e,(function(e){const i=r.events[r.events.length-1];return(i&&"whitespace"===i[1].type||fR(e))&&null!==e?t(e):n(e)}),"whitespace")}function Bj(e,t){const n=String(e);if("string"!=typeof t)throw new TypeError("Expected character");let r=0,i=n.indexOf(t);for(;-1!==i;)r++,i=n.indexOf(t,i+t.length);return r}const Vj={}.hasOwnProperty,$j=function(e,t,n,r){let i,o;"string"==typeof t||t instanceof RegExp?(o=[[t,n]],i=r):(o=t,i=n),i||(i={});const a=BL(i.ignore||[]),s=function(e){const t=[];if("object"!=typeof e)throw new TypeError("Expected array or object as schema");if(Array.isArray(e)){let n=-1;for(;++n<e.length;)t.push([Hj(e[n][0]),Gj(e[n][1])])}else{let n;for(n in e)Vj.call(e,n)&&t.push([Hj(n),Gj(e[n])])}return t}(o);let l=-1;for(;++l<s.length;)HL(e,"text",u);return e;function u(e,t){let n,r=-1;for(;++r<t.length;){const e=t[r];if(a(e,n?n.children.indexOf(e):void 0,n))return;n=e}if(n)return function(e,t){const n=t[t.length-1],r=s[l][0],i=s[l][1];let o=0;const a=n.children.indexOf(e);let u,c=!1,f=[];r.lastIndex=0;let h=r.exec(e.value);for(;h;){u=h.index;const n={index:h.index,input:h.input,stack:[...t,e]};let a=i(...h,n);if("string"==typeof a&&(a=a.length>0?{type:"text",value:a}:void 0),!1!==a&&(o!==u&&f.push({type:"text",value:e.value.slice(o,u)}),Array.isArray(a)?f.push(...a):a&&f.push(a),o=u+h[0].length,c=!0),!r.global)break;h=r.exec(e.value)}c?(o<e.value.length&&f.push({type:"text",value:e.value.slice(o)}),n.children.splice(a,1,...f)):f=[e];return a+f.length}(e,t)}};function Hj(e){return"string"==typeof e?new RegExp(function(e){if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}(e),"g"):e}function Gj(e){return"function"==typeof e?e:()=>e}const Wj="phrasing",Uj=["autolink","link","image","label"],qj={transforms:[function(e){$j(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,Kj],[/([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/g,Zj]],{ignore:["link","linkReference"]})}],enter:{literalAutolink:function(e){this.enter({type:"link",title:null,url:"",children:[]},e)},literalAutolinkEmail:Yj,literalAutolinkHttp:Yj,literalAutolinkWww:Yj},exit:{literalAutolink:function(e){this.exit(e)},literalAutolinkEmail:function(e){this.config.exit.autolinkEmail.call(this,e)},literalAutolinkHttp:function(e){this.config.exit.autolinkProtocol.call(this,e)},literalAutolinkWww:function(e){this.config.exit.data.call(this,e);this.stack[this.stack.length-1].url="http://"+this.sliceSerialize(e)}}},Xj={unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:Wj,notInConstruct:Uj},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:Wj,notInConstruct:Uj},{character:":",before:"[ps]",after:"\\/",inConstruct:Wj,notInConstruct:Uj}]};function Yj(e){this.config.enter.autolinkProtocol.call(this,e)}function Kj(e,t,n,r,i){let o="";if(!Qj(i))return!1;if(/^w/i.test(t)&&(n=t+n,t="",o="http://"),!function(e){const t=e.split(".");if(t.length<2||t[t.length-1]&&(/_/.test(t[t.length-1])||!/[a-zA-Z\d]/.test(t[t.length-1]))||t[t.length-2]&&(/_/.test(t[t.length-2])||!/[a-zA-Z\d]/.test(t[t.length-2])))return!1;return!0}(n))return!1;const a=function(e){const t=/[!"&'),.:;<>?\]}]+$/.exec(e);let n,r,i,o;if(t)for(e=e.slice(0,t.index),o=t[0],n=o.indexOf(")"),r=Bj(e,"("),i=Bj(e,")");-1!==n&&r>i;)e+=o.slice(0,n+1),o=o.slice(n+1),n=o.indexOf(")"),i++;return[e,o]}(n+r);if(!a[0])return!1;const s={type:"link",title:null,url:o+t+a[0],children:[{type:"text",value:t+a[0]}]};return a[1]?[s,{type:"text",value:a[1]}]:s}function Zj(e,t,n,r){return!(!Qj(r,!0)||/[_-\d]$/.test(n))&&{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function Qj(e,t){const n=e.input.charCodeAt(e.index-1);return(0===e.index||dR(n)||pR(n))&&(!t||47!==n)}function Jj(e){return e.label||!e.identifier?e.label||"":PL(e.identifier)}function eF(e){const t=e||{},n=t.now||{};let r=t.lineShift||0,i=n.line||1,o=n.column||1;return{move:function(e=""){const t=e.split(/\r?\n|\r/g),n=t[t.length-1];return i+=t.length-1,o=1===t.length?o+n.length:1+n.length+r,e},current:function(){return{now:{line:i,column:o},lineShift:r}},shift:function(e){r+=e}}}function tF(e,t,n){const r=t.indexStack,i=e.children||[],o=eF(n),a=[];let s=-1;for(r.push(-1);++s<i.length;){const n=i[s];r[r.length-1]=s,a.push(o.move(t.handle(n,e,t,{before:"\n",after:"\n",...o.current()}))),"list"!==n.type&&(t.bulletLastUsed=void 0),s<i.length-1&&a.push(o.move(l(n,i[s+1])))}return r.pop(),a.join("");function l(n,r){let i=t.join.length;for(;i--;){const o=t.join[i](n,r,e,t);if(!0===o||1===o)break;if("number"==typeof o)return"\n".repeat(1+o);if(!1===o)return"\n\n\x3c!----\x3e\n\n"}return"\n\n"}}const nF=/\r?\n|\r/g;function rF(e,t){const n=[];let r,i=0,o=0;for(;r=nF.exec(e);)a(e.slice(i,r.index)),n.push(r[0]),i=r.index+r[0].length,o++;return a(e.slice(i)),n.join("");function a(e){n.push(t(e,o,!e))}}function iF(e){if(!e._compiled){const t=(e.atBreak?"[\\r\\n][\\t ]*":"")+(e.before?"(?:"+e.before+")":"");e._compiled=new RegExp((t?"("+t+")":"")+(/[|\\{}()[\]^$+*?.-]/.test(e.character)?"\\":"")+e.character+(e.after?"(?:"+e.after+")":""),"g")}return e._compiled}function oF(e,t){return aF(e,t.inConstruct,!0)&&!aF(e,t.notInConstruct,!1)}function aF(e,t,n){if(!t)return n;"string"==typeof t&&(t=[t]);let r=-1;for(;++r<t.length;)if(e.includes(t[r]))return!0;return!1}function sF(e,t,n){const r=(n.before||"")+(t||"")+(n.after||""),i=[],o=[],a={};let s=-1;for(;++s<e.unsafe.length;){const t=e.unsafe[s];if(!oF(e.stack,t))continue;const n=iF(t);let o;for(;o=n.exec(r);){const e="before"in t||Boolean(t.atBreak),n="after"in t,r=o.index+(e?o[1].length:0);i.includes(r)?(a[r].before&&!e&&(a[r].before=!1),a[r].after&&!n&&(a[r].after=!1)):(i.push(r),a[r]={before:e,after:n})}}i.sort(lF);let l=n.before?n.before.length:0;const u=r.length-(n.after?n.after.length:0);for(s=-1;++s<i.length;){const e=i[s];e<l||e>=u||(e+1<u&&i[s+1]===e+1&&a[e].after&&!a[e+1].before&&!a[e+1].after||i[s-1]===e-1&&a[e].before&&!a[e-1].before&&!a[e-1].after||(l!==e&&o.push(uF(r.slice(l,e),"\\")),l=e,!/[!-/:-@[-`{-~]/.test(r.charAt(e))||n.encode&&n.encode.includes(r.charAt(e))?(o.push("&#x"+r.charCodeAt(e).toString(16).toUpperCase()+";"),l++):o.push("\\")))}return o.push(uF(r.slice(l,u),n.after)),o.join("")}function lF(e,t){return e-t}function uF(e,t){const n=/\\(?=[!-/:-@[-`{-~])/g,r=[],i=[],o=e+t;let a,s=-1,l=0;for(;a=n.exec(o);)r.push(a.index);for(;++s<r.length;)l!==r[s]&&i.push(e.slice(l,r[s])),i.push("\\"),l=r[s];return i.push(e.slice(l)),i.join("")}function cF(){return e.peek=function(){return"["},{unsafe:[{character:"[",inConstruct:["phrasing","label","reference"]}],handlers:{footnoteDefinition:function(e,t,n,r){const i=eF(r);let o=i.move("[^");const a=n.enter("footnoteDefinition"),s=n.enter("label");return o+=i.move(sF(n,Jj(e),{...i.current(),before:o,after:"]"})),s(),o+=i.move("]:"+(e.children&&e.children.length>0?" ":"")),i.shift(4),o+=i.move(rF(tF(e,n,i.current()),(function(e,t,n){if(t)return(n?"":" ")+e;return e}))),a(),o},footnoteReference:e}};function e(e,t,n,r){const i=eF(r);let o=i.move("[^");const a=n.enter("footnoteReference"),s=n.enter("reference");return o+=i.move(sF(n,Jj(e),{...i.current(),before:o,after:"]"})),s(),a(),o+=i.move("]"),o}}function fF(e,t,n){const r=t.indexStack,i=e.children||[],o=[];let a=-1,s=n.before;r.push(-1);let l=eF(n);for(;++a<i.length;){const u=i[a];let c;if(r[r.length-1]=a,a+1<i.length){let n=t.handle.handlers[i[a+1].type];n&&n.peek&&(n=n.peek),c=n?n(i[a+1],e,t,{before:"",after:"",...l.current()}).charAt(0):""}else c=n.after;o.length>0&&("\r"===s||"\n"===s)&&"html"===u.type&&(o[o.length-1]=o[o.length-1].replace(/(\r?\n|\r)$/," "),s=" ",l=eF(n),l.move(o.join(""))),o.push(l.move(t.handle(u,e,t,{...l.current(),before:s,after:c}))),s=o[o.length-1].slice(-1)}return r.pop(),o.join("")}const hF={canContainEols:["delete"],enter:{strikethrough:function(e){this.enter({type:"delete",children:[]},e)}},exit:{strikethrough:function(e){this.exit(e)}}},dF={unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"]}],handlers:{delete:pF}};function pF(e,t,n,r){const i=eF(r),o=n.enter("emphasis");let a=i.move("~~");return a+=fF(e,n,{...i.current(),before:a,after:"~"}),a+=i.move("~~"),o(),a}function gF(e,t,n){let r=e.value||"",i="`",o=-1;for(;new RegExp("(^|[^`])"+i+"([^`]|$)").test(r);)i+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++o<n.unsafe.length;){const e=n.unsafe[o],t=iF(e);let i;if(e.atBreak)for(;i=t.exec(r);){let e=i.index;10===r.charCodeAt(e)&&13===r.charCodeAt(e-1)&&e--,r=r.slice(0,e)+" "+r.slice(i.index+1)}}return i+r+i}function mF(e){return e.length}function bF(e){const t="string"==typeof e?e.codePointAt(0):0;return 67===t||99===t?99:76===t||108===t?108:82===t||114===t?114:0}pF.peek=function(){return"~"},gF.peek=function(){return"`"};const vF={enter:{table:function(e){const t=e._align;this.enter({type:"table",align:t.map((e=>"none"===e?null:e)),children:[]},e),this.setData("inTable",!0)},tableData:wF,tableHeader:wF,tableRow:function(e){this.enter({type:"tableRow",children:[]},e)}},exit:{codeText:function(e){let t=this.resume();this.getData("inTable")&&(t=t.replace(/\\([\\|])/g,xF));this.stack[this.stack.length-1].value=t,this.exit(e)},table:function(e){this.exit(e),this.setData("inTable")},tableData:yF,tableHeader:yF,tableRow:yF}};function yF(e){this.exit(e)}function wF(e){this.enter({type:"tableCell",children:[]},e)}function xF(e,t){return"|"===t?t:e}function _F(e){const t=e||{},n=t.tableCellPadding,r=t.tablePipeAlign,i=t.stringLength,o=n?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:"\n",inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[\t :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{table:function(e,t,n,r){return s(function(e,t,n){const r=e.children;let i=-1;const o=[],a=t.enter("table");for(;++i<r.length;)o[i]=l(r[i],t,n);return a(),o}(e,n,r),e.align)},tableRow:function(e,t,n,r){const i=s([l(e,n,r)]);return i.slice(0,i.indexOf("\n"))},tableCell:a,inlineCode:function(e,t,n){let r=gF(e,0,n);n.stack.includes("tableCell")&&(r=r.replace(/\|/g,"\\$&"));return r}}};function a(e,t,n,r){const i=n.enter("tableCell"),a=n.enter("phrasing"),s=fF(e,n,{...r,before:o,after:o});return a(),i(),s}function s(e,t){return function(e,t={}){const n=(t.align||[]).concat(),r=t.stringLength||mF,i=[],o=[],a=[],s=[];let l=0,u=-1;for(;++u<e.length;){const n=[],i=[];let f=-1;for(e[u].length>l&&(l=e[u].length);++f<e[u].length;){const o=null==(c=e[u][f])?"":String(c);if(!1!==t.alignDelimiters){const e=r(o);i[f]=e,(void 0===s[f]||e>s[f])&&(s[f]=e)}n.push(o)}o[u]=n,a[u]=i}var c;let f=-1;if("object"==typeof n&&"length"in n)for(;++f<l;)i[f]=bF(n[f]);else{const e=bF(n);for(;++f<l;)i[f]=e}f=-1;const h=[],d=[];for(;++f<l;){const e=i[f];let n="",r="";99===e?(n=":",r=":"):108===e?n=":":114===e&&(r=":");let o=!1===t.alignDelimiters?1:Math.max(1,s[f]-n.length-r.length);const a=n+"-".repeat(o)+r;!1!==t.alignDelimiters&&(o=n.length+o+r.length,o>s[f]&&(s[f]=o),d[f]=o),h[f]=a}o.splice(1,0,h),a.splice(1,0,d),u=-1;const p=[];for(;++u<o.length;){const e=o[u],n=a[u];f=-1;const r=[];for(;++f<l;){const o=e[f]||"";let a="",u="";if(!1!==t.alignDelimiters){const e=s[f]-(n[f]||0),t=i[f];114===t?a=" ".repeat(e):99===t?e%2?(a=" ".repeat(e/2+.5),u=" ".repeat(e/2-.5)):(a=" ".repeat(e/2),u=a):u=" ".repeat(e)}!1===t.delimiterStart||f||r.push("|"),!1===t.padding||!1===t.alignDelimiters&&""===o||!1===t.delimiterStart&&!f||r.push(" "),!1!==t.alignDelimiters&&r.push(a),r.push(o),!1!==t.alignDelimiters&&r.push(u),!1!==t.padding&&r.push(" "),!1===t.delimiterEnd&&f===l-1||r.push("|")}p.push(!1===t.delimiterEnd?r.join("").replace(/ +$/,""):r.join(""))}return p.join("\n")}(e,{align:t,alignDelimiters:r,padding:n,stringLength:i})}function l(e,t,n){const r=e.children;let i=-1;const o=[],s=t.enter("tableRow");for(;++i<r.length;)o[i]=a(r[i],0,t,n);return s(),o}}function SF(e,t,n,r){const i=function(e){const t=e.options.listItemIndent||"tab";if(1===t||"1"===t)return"one";if("tab"!==t&&"one"!==t&&"mixed"!==t)throw new Error("Cannot serialize items with `"+t+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return t}(n);let o=n.bulletCurrent||function(e){const t=e.options.bullet||"*";if("*"!==t&&"+"!==t&&"-"!==t)throw new Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}(n);t&&"list"===t.type&&t.ordered&&(o=("number"==typeof t.start&&t.start>-1?t.start:1)+(!1===n.options.incrementListMarker?0:t.children.indexOf(e))+o);let a=o.length+1;("tab"===i||"mixed"===i&&(t&&"list"===t.type&&t.spread||e.spread))&&(a=4*Math.ceil(a/4));const s=eF(r);s.move(o+" ".repeat(a-o.length)),s.shift(a);const l=n.enter("listItem"),u=rF(tF(e,n,s.current()),(function(e,t,n){if(t)return(n?"":" ".repeat(a))+e;return(n?o:o+" ".repeat(a-o.length))+e}));return l(),u}const kF={exit:{taskListCheckValueChecked:EF,taskListCheckValueUnchecked:EF,paragraph:function(e){const t=this.stack[this.stack.length-2],n=this.stack[this.stack.length-1],r=t.children,i=n.children[0];let o,a=-1;if(t&&"listItem"===t.type&&"boolean"==typeof t.checked&&i&&"text"===i.type){for(;++a<r.length;){const e=r[a];if("paragraph"===e.type){o=e;break}}o===n&&(i.value=i.value.slice(1),0===i.value.length?n.children.shift():n.position&&i.position&&"number"==typeof i.position.start.offset&&(i.position.start.column++,i.position.start.offset++,n.position.start=Object.assign({},i.position.start)))}this.exit(e)}}},CF={unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:function(e,t,n,r){const i=e.children[0],o="boolean"==typeof e.checked&&i&&"paragraph"===i.type,a="["+(e.checked?"x":" ")+"] ",s=eF(r);o&&s.move(a);let l=SF(e,t,n,{...r,...s.current()});o&&(l=l.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,(function(e){return e+a})));return l}}};function EF(e){this.stack[this.stack.length-2].checked="taskListCheckValueChecked"===e.type}function IF(e={}){const t=this.data();function n(e,n){(t[e]?t[e]:t[e]=[]).push(n)}n("micromarkExtensions",function(e){return eR([vj,{document:{91:{tokenize:Pj,continuation:{tokenize:Oj},exit:Dj}},text:{91:{tokenize:Aj},93:{add:"after",tokenize:Mj,resolveTo:Tj}}},Rj(e),Lj,Fj])}(e)),n("fromMarkdownExtensions",[qj,{enter:{gfmFootnoteDefinition:function(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)},gfmFootnoteDefinitionLabelString:function(){this.buffer()},gfmFootnoteCall:function(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)},gfmFootnoteCallString:function(){this.buffer()}},exit:{gfmFootnoteDefinition:function(e){this.exit(e)},gfmFootnoteDefinitionLabelString:function(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=HR(this.sliceSerialize(e)).toLowerCase()},gfmFootnoteCall:function(e){this.exit(e)},gfmFootnoteCallString:function(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=HR(this.sliceSerialize(e)).toLowerCase()}}},hF,vF,kF]),n("toMarkdownExtensions",function(e){return{extensions:[Xj,cF(),dF,_F(e),CF]}}(e))}const MF={h1:"1.5em",h2:"1.25em",h3:"1.125em",h4:"1em",h5:"0.875em",h6:"0.75em"},TF=e=>t=>{let{children:n,...r}=t;return i.createElement(Gw,Fe({as:e,fontSize:MF[e]},r,{my:3}),n)},AF={p:e=>{let{children:t}=e;return i.createElement(sx,null,t)},em:e=>{let{children:t}=e;return i.createElement(sx,{as:"em"},t)},blockquote:e=>{let{children:t}=e;return i.createElement(Ow,{as:"blockquote",borderLeft:"solid 2px",borderColor:"gray.400",fontStyle:"italic",my:3,pl:2},t)},code:e=>{let{inline:t,className:n,children:r}=e;return t?i.createElement(jw,{p:2},r):i.createElement(jw,{whiteSpace:"break-spaces",display:"block",w:"full",p:2,className:n},r)},del:e=>{let{children:t}=e;return i.createElement(sx,{as:"del"},t)},hr:()=>i.createElement(zw,{my:3}),a:e=>{let{href:t,title:n,children:r}=e;return i.createElement(Uw,{fontWeight:"bold",color:"blue.600",href:t,title:n},r)},img:e=>i.createElement(yD,Fe({my:3},e,{maxWidth:"300px"})),text:e=>{let{children:t}=e;return i.createElement(sx,{as:"span"},t)},ul:e=>{let{children:t}=e;return i.createElement(Zw,{spacing:1,pl:4,mb:3},t)},ol:e=>{let{children:t}=e;return i.createElement(Kw,{spacing:1,pl:4,mb:3},t)},li:e=>{let{children:t}=e;return i.createElement(Qw,null,t)},h1:TF("h1"),h2:TF("h2"),h3:TF("h3"),h4:TF("h4"),h5:TF("h5"),h6:TF("h6"),pre:e=>{let{children:t}=e;return i.createElement(jw,{my:3},t)},table:e=>{let{children:t}=e;return i.createElement(nT,{mb:3},t)},thead:oT,tbody:aT,tr:lT,td:uT,th:sT},PF=e=>i.createElement(lj,Fe({components:AF},e,{skipHtml:!0,remarkPlugins:[IF]})),OF={dagRunClear:{primaryKey:"shiftKey",secondaryKey:["C","c"],detail:"Clears the selected DAG run with all its existing tasks"},dagMarkSuccess:{primaryKey:"shiftKey",secondaryKey:["S","s"],detail:"Marks the selected DAG run as success"},dagMarkFailed:{primaryKey:"shiftKey",secondaryKey:["F","f"],detail:"Marks the selected DAG run as failed"},taskRunClear:{primaryKey:"shiftKey",secondaryKey:["C","c"],detail:"Opens modal to Clear selected task instance"},taskMarkSuccess:{primaryKey:"shiftKey",secondaryKey:["S","s"],detail:"Opens Mark as Success modal for the selected failed task instance"},taskMarkFailed:{primaryKey:"shiftKey",secondaryKey:["F","f"],detail:"Opens Mark as Failed modal for the selected successful task instance"},viewNotes:{primaryKey:"shiftKey",secondaryKey:["N","n"],detail:"View the note of the selected DAG run or Task instance"},addOrEditNotes:{primaryKey:"shiftKey",secondaryKey:["E","e"],detail:"Edit the note of the selected DAG run or Task instance"},toggleShortcutCheatSheet:{primaryKey:"shiftKey",secondaryKey:["/","?"],detail:"Toggle Shortcut cheat sheet"}},DF=e=>{let{dagId:t,runId:n,taskId:r,mapIndex:o,initialValue:a,isAbandonedTask:s}=e;const l="True"===Qy("can_edit")&&!s,[u,c]=(0,i.useState)(a??""),[f,h]=(0,i.useState)(!1),[d,p]=(0,i.useState)(l?[0]:[]),g=(0,i.useRef)(null),{mutateAsync:m,isLoading:b}=function(e){let{dagId:t,runId:n}=e;const r=(0,py.useQueryClient)(),i=Rk(),o=RC.replace("_DAG_RUN_ID_",n);return(0,py.useMutation)(["setDagRunNote",t,n],(e=>Mk.patch(o,{note:e})),{onSuccess:async e=>{const t=e.note??null;await r.cancelQueries("gridData"),r.setQueriesData("gridData",(e=>e?{...e,dagRuns:e.dagRuns.map((e=>e.runId===n?{...e,note:t}:e))}:SC))},onError:e=>i({error:e})})}({dagId:t,runId:n}),{mutateAsync:v,isLoading:y}=function(e){let{dagId:t,runId:n,taskId:r,mapIndex:i=-1}=e;const o=(0,py.useQueryClient)(),a=Rk(),s=(i>=0?NC:LC).replace("_DAG_RUN_ID_",n).replace("_TASK_ID_/0/setNote",`_TASK_ID_/${i}/setNote`).replace("_TASK_ID_",r);return(0,py.useMutation)(["setTaskInstanceNotes",t,n,r,i],(e=>Mk.patch(s,{note:e})),{onSuccess:async e=>{const a=e.note??null,s=e=>e?void 0===i||i<0?e:{...e,taskInstances:e.taskInstances?.map((e=>e.dagRunId===n&&e.taskId===r&&e.mapIndex===i?{...e,note:a}:e))}:{taskInstances:[],totalEntries:0};await o.invalidateQueries("gridData"),i>=0&&(await o.cancelQueries("mappedInstances"),o.setQueriesData("mappedInstances",s)),await o.cancelQueries("taskInstance"),o.setQueriesData(["taskInstance",t,n,r,i],(e=>{if(!e)throw new Error("Unknown value...");return e.dagRunId===n&&e.taskId===r&&(null==e.mapIndex&&i<0||e.mapIndex===i)?{...e,note:a}:e}))},onError:e=>a({error:e})})}({dagId:t,runId:n,taskId:r??"",mapIndex:o}),w=b||y,x=null==r?"DAG Run":"Task Instance",_=()=>{d.includes(0)?p([]):p([0])};return pw(OF.addOrEditNotes,(()=>{l&&(d.includes(0)||p([0]),h(!0),setTimeout((()=>g.current?.focus()),100))})),pw(OF.viewNotes,_),i.createElement(i.Fragment,null,i.createElement(d_,{defaultIndex:l?[0]:[],index:d,allowToggle:!0},i.createElement(f_,{border:"0"},i.createElement(o_,{p:0,pb:2,fontSize:"inherit"},i.createElement(Ow,{flex:"1",textAlign:"left",onClick:_},i.createElement(sx,{as:"strong",size:"lg"},x," Notes")),i.createElement(c_,null)),i.createElement(h_,{pl:3},f?i.createElement("form",{onSubmit:async e=>{e.preventDefault(),null==r?await m(u):await v(u),h(!1)}},i.createElement(Ow,null,i.createElement(rD,{autoFocus:!0,ref:g,minH:"unset",overflow:"hidden",width:"100%",resize:"none",minRows:3,maxRows:10,as:mD,value:u,onChange:e=>{c(e.target.value)},"data-testid":"notes-input",onFocus:()=>{localStorage.setItem(dw,"true")},onBlur:()=>{localStorage.setItem(dw,"false")}})),i.createElement(Bw,{mt:3,justify:"right"},i.createElement(w_,{type:"submit",isLoading:w,colorScheme:"blue"},"Save Note"),i.createElement(w_,{onClick:()=>{c(a??""),h(!1)},isLoading:w,ml:3},"Cancel"))):i.createElement(Bw,{direction:"column"},i.createElement(Bw,{direction:"column",style:{fontSize:"12px"}},i.createElement(PF,null,u)),i.createElement(Bw,{justify:"right"},i.createElement(w_,{onClick:()=>h(!0),isDisabled:!l,isLoading:w,title:`${u?"Edit":"Add"} a note to this ${x}`,"aria-label":`${u?"Edit":"Add"} a note to this ${x}`,mt:2,leftIcon:i.createElement(AO,null)},u?"Edit Note":"Add Note")))))),i.createElement(zw,{my:0}))},RF=e=>{let{children:t,...n}=e;return i.createElement(w_,Fe({as:Uw,variant:"ghost",colorScheme:"blue"},n),t)},LF=Qy("dag_id"),NF=Qy("task_instances_list_url"),jF=Qy("task_url"),FF=Qy("grid_url"),zF=(0,i.forwardRef)(((e,t)=>{let{taskId:n,executionDate:r,operator:o,isMapped:a=!1,mapIndex:s}=e;if(!n)return null;const l=new Ok({task_id:n,execution_date:r,map_index:s??-1}),u=`${jF}&${l}`,c=new Ok({_flt_3_dag_id:LF,_flt_3_task_id:n,_oc_TaskInstanceModelView:"dag_run.execution_date"}),f=new Ok({execution_date:r}).toString();void 0!==s&&s>=0&&c.append("_flt_0_map_index",s.toString());const h=`${NF}?${c.toString()}`,d=tw(FF.replace(LF,`${LF}.${n}`),f),p="SubDagOperator"===o;return i.createElement(Bw,{flexWrap:"wrap",ref:t,mb:2},(!a||void 0!==s)&&i.createElement(i.Fragment,null,i.createElement(RF,{href:u},"More Details"),p&&i.createElement(RF,{href:d},"Zoom into SubDag")),i.createElement(RF,{href:h,title:"View all"},"List All Instances"))})),BF=zF,VF=e=>{let{dagId:t,taskId:n,executionDate:r,mapIndex:o,extraLinks:a,tryNumber:s}=e;const{data:l}=function(e){let{dagId:t,taskId:n,executionDate:r,mapIndex:i,extraLinks:o,tryNumber:a}=e;return(0,py.useQuery)(["extraLinks",t,n,r,i,a],(async()=>{const e=await Promise.all(o.map((async e=>{const o=i??-1,s=void 0!==a?`&try_number=${a}`:"",l=`${Yk}?task_id=${encodeURIComponent(n)}&dag_id=${encodeURIComponent(t)}&execution_date=${encodeURIComponent(r)}&link_name=${encodeURIComponent(e)}&map_index=${o}${s}`;try{return{name:e,url:(await Mk.get(l)).url}}catch(t){return console.error(t),{name:e,url:""}}})));return e}))}({dagId:t,taskId:n,executionDate:r,mapIndex:o,extraLinks:a,tryNumber:s});if(!l?.length)return null;const u=e=>e&&/^(?:[a-z]+:)?\/\//.test(e),c=e=>{if(!e)return!1;const t=new URL(e,"http://localhost");return"http:"===t.protocol||"https:"===t.protocol};return i.createElement(Ow,{my:3},i.createElement(sx,{as:"strong"},"Extra Links"),i.createElement(Bw,{flexWrap:"wrap",mt:3},l.map((e=>{let{name:t,url:n}=e;return i.createElement(w_,{key:t,as:Uw,colorScheme:"blue",href:n,isDisabled:!c(n),target:u(n)?"_blank":void 0,mr:2},t)}))),i.createElement(zw,{my:2}))},$F={exit:{scale:.85,opacity:0,transition:{opacity:{duration:.15,easings:"easeInOut"},scale:{duration:.2,easings:"easeInOut"}}},enter:{scale:1,opacity:1,transition:{opacity:{easings:"easeOut",duration:.2},scale:{duration:.2,ease:[.175,.885,.4,1.1]}}}},HF=zi(Kv.div),GF={"--popper-arrow-bg":["var(--tooltip-bg)"],"--tooltip-bg":"colors.gray.700",bg:["var(--tooltip-bg)"],borderRadius:"sm",boxShadow:"md",color:"whiteAlpha.900",fontSize:"md",fontWeight:"medium",maxW:"320px",px:"8px",py:"2px",zIndex:"tooltip"},WF=Li(((e,t)=>{const n=Ur(e),r=Si(),{children:o,label:a,shouldWrapChildren:s,"aria-label":l,hasArrow:u,bg:c,portalProps:f,background:h,backgroundColor:d,bgColor:p,...g}=n,m=dO({...g,direction:r.direction}),b=i.Children.only(o),v=i.cloneElement(b,m.getTriggerProps(b.props,b.ref)),y=m.getTooltipProps({},t);return a?i.createElement(i.Fragment,null,v,i.createElement($f,null,m.isOpen&&i.createElement(zt,f,i.createElement(zi.div,Fe({},m.getTooltipPositionerProps(),{__css:{zIndex:GF.zIndex,pointerEvents:"none"}}),i.createElement(HF,Fe({variants:$F},y,{initial:"exit",animate:"enter",exit:"exit",__css:GF}),a,u&&i.createElement(zi.div,{"data-popper-arrow":!0,className:"chakra-tooltip__arrow-wrapper"},i.createElement(zi.div,{"data-popper-arrow-inner":!0,className:"chakra-tooltip__arrow",__css:{bg:GF.bg}}))))))):o})),UF=WF,qF=e=>{let{group:t,instance:{taskId:n,startDate:r,endDate:o,state:a,runId:s,mappedStates:l,note:u,tryNumber:c},dagId:f}=e;const h=!!t?.children,d=!!t?.isMapped,p=[];let g=1;if(t){const{totalTasks:e,childTaskMap:n}=ew({group:t,runId:s,mappedStates:l});g=e,n.forEach(((e,t)=>{const n=(0,Yy.snakeCase)(t);e>0&&p.push(i.createElement(sx,{key:n,ml:"10px"},n,": ",e))}))}return i.createElement(Ow,{py:"2px"},!!f&&i.createElement(sx,null,"DAG Id: ",f),i.createElement(sx,null,"Task Id: ",n),!!t?.setupTeardownType&&i.createElement(sx,null,"Type: ",t.setupTeardownType),t?.tooltip&&i.createElement(sx,null,t.tooltip),d&&g>0&&i.createElement(sx,null,g," mapped task",h&&" group",g>1&&"s"),i.createElement(sx,null,h||g?"Overall ":"","Status: ",a||"no status"),(h||d)&&p,r&&i.createElement(i.Fragment,null,i.createElement(sx,null,"Started: ",i.createElement(qO,{dateTime:r})),o&&i.createElement(sx,null,"Ended: ",i.createElement(qO,{dateTime:o})),i.createElement(sx,null,"Duration: ",Ay(Ty(r,o)))),c&&c>1&&i.createElement(sx,null,"Try Number: ",c),t?.triggerRule&&i.createElement(sx,null,"Trigger Rule: ",t.triggerRule),u&&i.createElement(sx,null,"Contains a note"))},XF="10px",YF=e=>{let{state:t,containsNotes:n,...r}=e;const o=t&&stateColors[t]?stateColors[t]:"white";return i.createElement(Ow,Fe({width:XF,height:XF,background:ow(o,!!n),borderRadius:"2px",borderWidth:t?0:1},r))},KF=e=>{let{state:t,...n}=e;return i.createElement(Ow,Fe({width:XF,height:XF,background:t&&stateColors[t]?stateColors[t]:"white",borderRadius:"2px",borderWidth:t?0:1,display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",style:{marginTop:"auto",marginBottom:"auto"}},n))},ZF=e=>{let{group:t,instance:n,onSelect:r,isActive:o,containsNotes:a=!1}=e;const s=Sy(),{runId:l,taskId:u}=n,{colors:c}=Si(),f=`${c.blue[100]}50`,h=()=>{s&&s.current&&[...s.current.getElementsByClassName(`js-${l}`)].forEach((e=>{e.style.backgroundColor=""}))};return i.createElement(UF,{label:i.createElement(qF,{instance:n,group:t}),portalProps:{containerRef:s},hasArrow:!0,placement:"top",openDelay:Zy},i.createElement(Ow,null,i.createElement(YF,{state:n.state,containsNotes:a,onClick:()=>{h(),r({taskId:u,runId:l})},cursor:"pointer","data-testid":"task-instance",zIndex:1,onMouseEnter:()=>{s&&s.current&&[...s.current.getElementsByClassName(`js-${l}`)].forEach((e=>{"false"===e.getAttribute("data-selected")&&(e.style.backgroundColor=f)}))},onMouseLeave:h,opacity:o?1:.3,transition:"opacity 0.2s"})))},QF=(e,t)=>(0,Yy.isEqual)(e.group,t.group)&&(0,Yy.isEqual)(e.instance,t.instance)&&(0,Yy.isEqual)(e.isActive,t.isActive),JF=i.memo(ZF,QF);function ez(e){return L_({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"line",attr:{x1:"7",y1:"7",x2:"17",y2:"17"},child:[]},{tag:"polyline",attr:{points:"17 7 17 17 7 17"},child:[]}]})(e)}function tz(e){return L_({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"line",attr:{x1:"7",y1:"17",x2:"17",y2:"7"},child:[]},{tag:"polyline",attr:{points:"7 7 17 7 17 17"},child:[]}]})(e)}function nz(e){return L_({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polyline",attr:{points:"18 15 12 9 6 15"},child:[]}]})(e)}function rz(e){return L_({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"rect",attr:{x:"9",y:"9",width:"13",height:"13",rx:"2",ry:"2"},child:[]},{tag:"path",attr:{d:"M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"},child:[]}]})(e)}function iz(e){return L_({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"},child:[]},{tag:"path",attr:{d:"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"},child:[]}]})(e)}const oz=Li(((e,t)=>{let{value:n,variant:r="outline",iconOnly:o=!1,label:a="copy",title:s="Copy",colorScheme:l="blue","aria-label":u="Copy",...c}=e;const{setValue:f,hasCopied:h,onCopy:d}=_w(n),p=Sy();(0,i.useEffect)((()=>{f(n)}),[n,f]);const g={onClick:d,variant:r,title:s,ref:t,colorScheme:l,...c};return i.createElement(mO,{label:"Copied",isOpen:h,isDisabled:!h,placement:"top",portalProps:{containerRef:p}},o?i.createElement(C_,Fe({icon:i.createElement(rz,null),"aria-label":u},g)):i.createElement(w_,Fe({leftIcon:i.createElement(rz,null)},g),a))})),az=e=>{let{value:t}=e;return i.createElement(i.Fragment,null,t,i.createElement(oz,{value:t,iconOnly:!0,variant:"ghost",size:"xs",fontSize:"xl",ml:1}))};var sz=a(8785),lz=a.n(sz);const uz=e=>{let t=null,n="",r=!1;try{t="string"==typeof e?JSON.parse(e):e,n=JSON.stringify(t,null,4),r=null!=t&&"object"==typeof t}catch(e){}return[r,t,n]},cz=e=>{let{content:t,jsonProps:n,...r}=e;const[o,a,s]=uz(t),{onCopy:l,hasCopied:u}=_w(s),c=Si();return o?i.createElement(Bw,Fe({},r,{p:2}),i.createElement(lz(),Fe({src:a,name:!1,theme:"rjv-default",iconStyle:"triangle",indentWidth:2,displayDataTypes:!1,enableClipboard:!1,style:{backgroundColor:"inherit",fontSize:c.fontSizes.md,font:c.fonts.mono}},n)),i.createElement(tx,null),i.createElement(w_,{"aria-label":"Copy",onClick:l,position:"sticky",top:0},u?"Copied!":"Copy")):i.createElement(jw,{fontSize:"md"},t)};var fz=(...e)=>e.filter(Boolean).join(" ");var hz=Li((function(e,t){const{children:n,placeholder:r,className:o,...a}=e;return i.createElement(zi.select,{...a,ref:t,className:fz("chakra-select",o)},r&&i.createElement("option",{value:""},r),n)}));hz.displayName="SelectField";var dz=Li(((e,t)=>{var n;const r=Fi("Select",e),{rootProps:o,placeholder:a,icon:s,color:l,height:u,h:c,minH:f,minHeight:h,iconColor:d,iconSize:p,...g}=Ur(e),[m,b]=function(e,t){const n={},r={};for(const[i,o]of Object.entries(e))t.includes(i)?n[i]=o:r[i]=o;return[n,r]}(g,Lr),v=GT(b),y={width:"100%",height:"fit-content",position:"relative",color:l},w={paddingEnd:"2rem",...r.field,_focus:{zIndex:"unset",...null==(n=r.field)?void 0:n._focus}};return i.createElement(zi.div,{className:"chakra-select__wrapper",__css:y,...m,...o},i.createElement(hz,{ref:t,height:c??u,minH:f??h,placeholder:a,...v,__css:w},e.children),i.createElement(mz,{"data-disabled":(x=v.disabled,x?"":void 0),...(d||l)&&{color:d||l},__css:r.icon,...p&&{fontSize:p}},s));var x}));dz.displayName="Select";var pz=e=>i.createElement("svg",{viewBox:"0 0 24 24",...e},i.createElement("path",{fill:"currentColor",d:"M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"})),gz=zi("div",{baseStyle:{position:"absolute",display:"inline-flex",alignItems:"center",justifyContent:"center",pointerEvents:"none",top:"50%",transform:"translateY(-50%)"}}),mz=e=>{const{children:t=i.createElement(pz,null),...n}=e,r=(0,i.cloneElement)(t,{role:"presentation",className:"chakra-select__icon",focusable:!1,"aria-hidden":!0,style:{width:"1em",height:"1em",color:"currentColor"}});return i.createElement(gz,{...n,className:"chakra-select__icon-wrapper"},(0,i.isValidElement)(t)?r:null)};mz.displayName="SelectIcon";const bz=e=>{let{taskInstance:t,selectedTryNumber:n,onSelectTryNumber:r}=e;const{taskId:o,dagRunId:a,dagId:s,mapIndex:l,tryNumber:u}=t,c=Sy(),{data:f}=eE({dagId:s||"",taskId:o||"",dagRunId:a||"",mapIndex:l,options:{enabled:!!(u&&u>1)&&!!o}});if(!u||u<=1)return null;const h=u>10;return i.createElement(Ow,{my:3},i.createElement(sx,{as:"strong"},"Task Tries"),h?i.createElement(dz,{onChange:e=>{r?.(Number(e.target.value))},value:n,maxWidth:"200px"},f?.taskInstances?.map((e=>{let{tryNumber:t,state:n}=e;return i.createElement("option",{key:t,value:t},t,": ",n)}))):i.createElement(Bw,{my:1,flexWrap:"wrap"},f?.taskInstances?.map((e=>i.createElement(UF,{key:e.tryNumber,label:i.createElement(Ow,null,i.createElement(sx,null,"Status: ",e.state),i.createElement(sx,null,"Duration:"," ",Ay(Ty(e.startDate,e.endDate)))),hasArrow:!0,portalProps:{containerRef:c},placement:"top",isDisabled:!e},i.createElement(w_,{key:e.tryNumber,variant:n===e.tryNumber?"solid":"ghost",colorScheme:"blue",onClick:()=>{r&&e.tryNumber&&r(e.tryNumber)},"data-testid":`log-attempt-select-button-${e.tryNumber}`},e.tryNumber,i.createElement(KF,{ml:2,state:e.state})))))))},vz=Qy("dag_id"),yz=e=>{let{gridInstance:t,taskInstance:n,group:r}=e;const o=!!r?.children,a=[],{runId:s,taskId:l}=t||{},u=t?.tryNumber||n?.tryNumber,{data:c}=eE({dagId:vz,taskId:l||"",dagRunId:s||"",mapIndex:n?.mapIndex||-1,options:{enabled:!!(u&&u>1)&&!!l}}),[f,h]=(0,i.useState)(u||1);(0,i.useEffect)((()=>{u&&h(u)}),[u]);const d=c?.taskInstances?.find((e=>e.tryNumber===f)),p=f!==u&&u&&u>1?d:n,g=p?.state||("none"===p?.state?null:p?.state)||t?.state||null,m=r?.isMapped,b=p?.startDate,v=p?.endDate,y=p?.executor||"<default>",w=p?.operator||r?.operator,x=n?void 0:t?.mappedStates;let _,S;if(r){const e=ew({group:r,runId:s,mappedStates:x});_=e.totalTasks,S=e.childTaskMap,S.forEach(((e,t)=>{const n=(0,Yy.snakeCase)(t);e>0&&a.push(i.createElement(lT,{key:n},i.createElement(uT,null),i.createElement(uT,null,i.createElement(Bw,{alignItems:"center"},i.createElement(KF,{state:n,mx:2}),n,": ",e))))}))}const k=o?"Task Group ID":"Task ID",C=g&&["success","failed","upstream_failed","skipped"].includes(g),E=(m||o)&&"Overall ";return i.createElement(Ow,{mt:3,flexGrow:1},!!n&&i.createElement(bz,{taskInstance:n,selectedTryNumber:f||u,onSelectTryNumber:h}),i.createElement(nT,{variant:"striped"},i.createElement(aT,null,r?.tooltip&&i.createElement(lT,null,i.createElement(uT,{colSpan:2},r.tooltip)),i.createElement(lT,null,i.createElement(uT,null,E,"Status"),i.createElement(uT,null,i.createElement(Bw,null,i.createElement(KF,{state:g,mx:2}),g||"no status"))),!!r?.setupTeardownType&&i.createElement(lT,null,i.createElement(uT,null,"Type"),i.createElement(uT,null,i.createElement(sx,{textTransform:"capitalize"},r.setupTeardownType))),x&&!!_&&_>0&&i.createElement(lT,null,i.createElement(uT,{colSpan:2},_," ",o?"Task Group":"Task",1===_?" ":"s ","Mapped")),a.length>0&&a,!!l&&i.createElement(lT,null,i.createElement(uT,null,k),i.createElement(uT,null,i.createElement(az,{value:l}))),!!s&&i.createElement(lT,null,i.createElement(uT,null,"Run ID"),i.createElement(uT,null,i.createElement(sx,{whiteSpace:"nowrap"},i.createElement(az,{value:s})))),void 0!==p?.mapIndex&&i.createElement(lT,null,i.createElement(uT,null,"Map Index"),i.createElement(uT,null,p.mapIndex)),null!=p?.renderedMapIndex&&i.createElement(lT,null,i.createElement(uT,null,"Rendered Map Index"),i.createElement(uT,null,p.renderedMapIndex)),w&&i.createElement(lT,null,i.createElement(uT,null,"Operator"),i.createElement(uT,null,w)),r?.triggerRule&&i.createElement(lT,null,i.createElement(uT,null,"Trigger Rule"),i.createElement(uT,null,r.triggerRule)),b&&i.createElement(lT,null,i.createElement(uT,null,E,"Duration"),i.createElement(uT,null,Ay(Ty(b,v)))),b&&i.createElement(lT,null,i.createElement(uT,null,"Started"),i.createElement(uT,null,i.createElement(qO,{dateTime:b}))),v&&C&&i.createElement(lT,null,i.createElement(uT,null,"Ended"),i.createElement(uT,null,i.createElement(qO,{dateTime:v}))),!!p?.pid&&i.createElement(lT,null,i.createElement(uT,null,"Process ID (PID)"),i.createElement(uT,null,i.createElement(az,{value:p.pid.toString()}))),!!p?.hostname&&i.createElement(lT,null,i.createElement(uT,null,"Hostname"),i.createElement(uT,null,i.createElement(az,{value:p.hostname}))),!!p?.pool&&i.createElement(lT,null,i.createElement(uT,null,"Pool"),i.createElement(uT,null,p.pool)),!!p?.poolSlots&&i.createElement(lT,null,i.createElement(uT,null,"Pool Slots"),i.createElement(uT,null,p.poolSlots)),y&&i.createElement(lT,null,i.createElement(uT,null,"Executor"),i.createElement(uT,null,y)),!!p?.executorConfig&&i.createElement(lT,null,i.createElement(uT,null,"Executor Config"),i.createElement(uT,null,i.createElement(jw,{fontSize:"md"},p.executorConfig.toString()))),!!p?.unixname&&i.createElement(lT,null,i.createElement(uT,null,"Unix Name"),i.createElement(uT,null,p.unixname)),!!p?.maxTries&&i.createElement(lT,null,i.createElement(uT,null,"Max Tries"),i.createElement(uT,null,p.maxTries)),!!p?.queue&&i.createElement(lT,null,i.createElement(uT,null,"Queue"),i.createElement(uT,null,p.queue)),!!p?.priorityWeight&&i.createElement(lT,null,i.createElement(uT,null,"Priority Weight"),i.createElement(uT,null,p.priorityWeight)))),p?.renderedFields&&i.createElement(Ow,{mt:3},i.createElement(sx,{as:"strong",mb:3},"Rendered Templates"),i.createElement(nT,{variant:"striped"},i.createElement(aT,null,Object.keys(p.renderedFields).map((e=>{let t=p.renderedFields[e];if(t){if("string"!=typeof t)try{t=JSON.stringify(t)}catch(e){}return i.createElement(lT,{key:e},i.createElement(uT,null,e),i.createElement(uT,null,i.createElement(cz,{content:t})))}return null}))))))};var wz=a(2885);function xz(e){return L_({tag:"svg",attr:{version:"1.2",baseProfile:"tiny",viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M5.8 9.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.4-.3.7s.1.5.3.7z"},child:[]}]})(e)}function _z(e){return L_({tag:"svg",attr:{version:"1.2",baseProfile:"tiny",viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M18.2 13.3l-6.2-6.3-6.2 6.3c-.2.2-.3.5-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7z"},child:[]}]})(e)}function Sz(e){return L_({tag:"svg",attr:{version:"1.2",baseProfile:"tiny",viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z"},child:[]}]})(e)}var kz=yt({"0%":{strokeDasharray:"1, 400",strokeDashoffset:"0"},"50%":{strokeDasharray:"400, 400",strokeDashoffset:"-100"},"100%":{strokeDasharray:"400, 400",strokeDashoffset:"-260"}}),Cz=yt({"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}}),Ez=yt({"0%":{left:"-40%"},"100%":{left:"100%"}}),Iz=yt({from:{backgroundPosition:"1rem 0"},to:{backgroundPosition:"0 0"}});function Mz(e){const{value:t=0,min:n,max:r,valueText:i,getValueText:o,isIndeterminate:a,role:s="progressbar"}=e,l=function(e,t,n){return 100*(e-t)/(n-t)}(t,n,r);return{bind:{"data-indeterminate":a?"":void 0,"aria-valuemax":r,"aria-valuemin":n,"aria-valuenow":a?void 0:t,"aria-valuetext":(()=>{if(null!=t)return"function"==typeof o?o(t,l):i})(),role:s},percent:l,value:t}}var Tz=e=>{const{size:t,isIndeterminate:n,...r}=e;return i.createElement(zi.svg,{viewBox:"0 0 100 100",__css:{width:t,height:t,animation:n?`${Cz} 2s linear infinite`:void 0},...r})};Tz.displayName="Shape";var Az=e=>i.createElement(zi.circle,{cx:50,cy:50,r:42,fill:"transparent",...e});Az.displayName="Circle";var Pz=Li(((e,t)=>{const{size:n="48px",max:r=100,min:o=0,valueText:a,getValueText:s,value:l,capIsRound:u,children:c,thickness:f="10px",color:h="#0078d4",trackColor:d="#edebe9",isIndeterminate:p,...g}=e,m=Mz({min:o,max:r,value:l,valueText:a,getValueText:s,isIndeterminate:p}),b=p?void 0:2.64*(m.percent??0),v=p?{css:{animation:`${kz} 1.5s linear infinite`}}:{strokeDashoffset:66,strokeDasharray:null==b?void 0:`${b} ${264-b}`,transitionProperty:"stroke-dasharray, stroke",transitionDuration:"0.6s",transitionTimingFunction:"ease"},y={display:"inline-block",position:"relative",verticalAlign:"middle",fontSize:n};return i.createElement(zi.div,{ref:t,className:"chakra-progress",...m.bind,...g,__css:y},i.createElement(Tz,{size:n,isIndeterminate:p},i.createElement(Az,{stroke:d,strokeWidth:f,className:"chakra-progress__track"}),i.createElement(Az,{stroke:h,strokeWidth:f,className:"chakra-progress__indicator",strokeLinecap:u?"round":void 0,opacity:0!==m.value||p?void 0:0,...v})),c)}));Pz.displayName="CircularProgress";var[Oz,Dz]=It({name:"ProgressStylesContext",errorMessage:"useProgressStyles returned is 'undefined'. Seems you forgot to wrap the components in \"<Progress />\" "}),Rz=Li(((e,t)=>{const{min:n,max:r,value:o,isIndeterminate:a,role:s,...l}=e,u=Mz({value:o,min:n,max:r,isIndeterminate:a,role:s}),c={height:"100%",...Dz().filledTrack};return i.createElement(zi.div,{ref:t,style:{width:`${u.percent}%`,...l.style},...u.bind,...l,__css:c})})),Lz=Li(((e,t)=>{var n;const{value:r,min:o=0,max:a=100,hasStripe:s,isAnimated:l,children:u,borderRadius:c,isIndeterminate:f,"aria-label":h,"aria-labelledby":d,title:p,role:g,...m}=Ur(e),b=Fi("Progress",e),v=c??(null==(n=b.track)?void 0:n.borderRadius),y={...!f&&s&&l&&{animation:`${Iz} 1s linear infinite`},...f&&{position:"absolute",willChange:"left",minWidth:"50%",animation:`${Ez} 1s ease infinite normal none running`}},w={overflow:"hidden",position:"relative",...b.track};return i.createElement(zi.div,{ref:t,borderRadius:v,__css:w,...m},i.createElement(Oz,{value:b},i.createElement(Rz,{"aria-label":h,"aria-labelledby":d,min:o,max:a,value:r,isIndeterminate:f,css:y,borderRadius:v,title:p,role:g}),u))}));Lz.displayName="Progress";zi("div",{baseStyle:{fontSize:"0.24em",top:"50%",left:"50%",width:"100%",textAlign:"center",position:"absolute",transform:"translate(-50%, -50%)"}}).displayName="CircularProgressLabel";function Nz(e,t={}){const{ssr:n=!0,fallback:r}=t,o=(0,i.useContext)(Gi),a=Array.isArray(e)?e:[e];let s=Array.isArray(r)?r:[r];s=s.filter((e=>null!=e));const[l,u]=(0,i.useState)((()=>a.map(((e,t)=>({media:e,matches:n?!!s[t]:o.window.matchMedia(e).matches})))));return(0,i.useEffect)((()=>{u(a.map((e=>({media:e,matches:o.window.matchMedia(e).matches}))));const e=a.map((e=>o.window.matchMedia(e))),t=e=>{u((t=>t.slice().map((t=>t.media===e.media?{...t,matches:e.matches}:t))))};return e.forEach((e=>{"function"==typeof e.addListener?e.addListener(t):e.addEventListener("change",t)})),()=>{e.forEach((e=>{"function"==typeof e.removeListener?e.removeListener(t):e.removeEventListener("change",t)}))}}),[o.window]),l.map((e=>e.matches))}function jz(e){const t=typeof e;return null!=e&&("object"===t||"function"===t)&&!Array.isArray(e)}function Fz(e,t){var n;const r=function(e){var t;const n=jz(e)?e:{fallback:e??"base"},r=Si().__breakpoints.details.map((({minMaxQuery:e,breakpoint:t})=>({breakpoint:t,query:e.replace("@media screen and ","")}))),i=r.map((e=>e.breakpoint===n.fallback)),o=Nz(r.map((e=>e.query)),{fallback:i,ssr:n.ssr});return(null==(t=r[o.findIndex((e=>1==e))])?void 0:t.breakpoint)??n.fallback}(jz(t)?t:{fallback:t??"base"}),i=Si();if(!r)return;const o=Array.from((null==(n=i.__breakpoints)?void 0:n.keys)||[]),a=Array.isArray(e)?Object.fromEntries(Object.entries(function(e,t=Ew){const n={};return e.forEach(((e,r)=>{const i=t[r];null!=e&&(n[i]=e)})),n}(e,o)).map((([e,t])=>[e,t]))):e;return function(e,t,n=Ew){let r=Object.keys(e).indexOf(t);if(-1!==r)return e[t];let i=n.indexOf(t);for(;i>=0;){const t=n[i];if(e.hasOwnProperty(t)){r=i;break}i-=1}if(-1!==r)return e[n[r]]}(a,r,o)}var zz=(...e)=>e.filter(Boolean).join(" ");var Bz=zi("div",{baseStyle:{boxShadow:"none",backgroundClip:"padding-box",cursor:"default",color:"transparent",pointerEvents:"none",userSelect:"none","&::before, &::after, *":{visibility:"hidden"}}}),Vz=ar("skeleton-start-color"),$z=ar("skeleton-end-color"),Hz=yt({from:{opacity:0},to:{opacity:1}}),Gz=yt({from:{borderColor:Vz.reference,background:Vz.reference},to:{borderColor:$z.reference,background:$z.reference}}),Wz=Li(((e,t)=>{const n=ji("Skeleton",e),r=function(){const e=(0,i.useRef)(!0);return(0,i.useEffect)((()=>{e.current=!1}),[]),e.current}(),{startColor:o="",endColor:a="",isLoaded:s,fadeDuration:l,speed:u,className:c,...f}=Ur(e),[h,d]=function(e,t,n){const r=Si();return Ci(e,t,n)(r)}("colors",[o,a]),p=function(e){const t=(0,i.useRef)();return(0,i.useEffect)((()=>{t.current=e}),[e]),t.current}(s),g=zz("chakra-skeleton",c),m={...h&&{[Vz.variable]:h},...d&&{[$z.variable]:d}};if(s){const e=r||p?"none":`${Hz} ${l}s`;return i.createElement(zi.div,{ref:t,className:g,__css:{animation:e},...f})}return i.createElement(Bz,{ref:t,className:g,...f,__css:{...n,...m,_dark:{...m},animation:`${u}s linear infinite alternate ${Gz}`}})}));Wz.defaultProps={fadeDuration:.4,speed:.8},Wz.displayName="Skeleton";var Uz=3;(e=>{const{noOfLines:t=Uz,spacing:n="0.5rem",skeletonHeight:r="0.5rem",className:o,startColor:a,endColor:s,isLoaded:l,fadeDuration:u,speed:c,children:f,...h}=e,d=Fz("number"==typeof t?[t]:t)||Uz,p=function(e){return Array(e).fill(1).map(((e,t)=>t+1))}(d),g=e=>d>1&&e===p.length?"80%":"100%",m=zz("chakra-skeleton__group",o);return i.createElement(zi.div,{className:m,...h},p.map(((e,t)=>{if(l&&t>0)return null;const o=l?null:{mb:e===p.length?"0":n,width:g(e),height:r};return i.createElement(Wz,{key:p.length.toString()+e,startColor:a,endColor:s,isLoaded:l,fadeDuration:u,speed:c,...o},0===t?f:void 0)})))}).displayName="SkeletonText";function qz(e,t){return"function"==typeof e?e(t):e}function Xz(e,t){return n=>{t.setState((t=>({...t,[e]:qz(n,t[e])})))}}function Yz(e){return e instanceof Function}function Kz(e,t){const n=[],r=e=>{e.forEach((e=>{n.push(e);const i=t(e);null!=i&&i.length&&r(i)}))};return r(e),n}function Zz(e,t,n){let r,i=[];return o=>{let a;n.key&&n.debug&&(a=Date.now());const s=e(o),l=s.length!==i.length||s.some(((e,t)=>i[t]!==e));if(!l)return r;let u;if(i=s,n.key&&n.debug&&(u=Date.now()),r=t(...s),null==n||null==n.onChange||n.onChange(r),n.key&&n.debug&&null!=n&&n.debug()){const e=Math.round(100*(Date.now()-a))/100,t=Math.round(100*(Date.now()-u))/100,r=t/16,i=(e,t)=>{for(e=String(e);e.length<t;)e=" "+e;return e};console.info(`%c⏱ ${i(t,5)} /${i(e,5)} ms`,`\n font-size: .6rem;\n font-weight: bold;\n color: hsl(${Math.max(0,Math.min(120-120*r,120))}deg 100% 31%);`,null==n?void 0:n.key)}return r}}function Qz(e,t,n,r){return{debug:()=>{var n;return null!=(n=null==e?void 0:e.debugAll)?n:e[t]},key:!1,onChange:r}}const Jz="debugHeaders";function eB(e,t,n){var r;let i={id:null!=(r=n.id)?r:t.id,column:t,index:n.index,isPlaceholder:!!n.isPlaceholder,placeholderId:n.placeholderId,depth:n.depth,subHeaders:[],colSpan:0,rowSpan:0,headerGroup:null,getLeafHeaders:()=>{const e=[],t=n=>{n.subHeaders&&n.subHeaders.length&&n.subHeaders.map(t),e.push(n)};return t(i),e},getContext:()=>({table:e,header:i,column:t})};return e._features.forEach((t=>{null==t.createHeader||t.createHeader(i,e)})),i}const tB={createTable:e=>{e.getHeaderGroups=Zz((()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left,e.getState().columnPinning.right]),((t,n,r,i)=>{var o,a;const s=null!=(o=null==r?void 0:r.map((e=>n.find((t=>t.id===e)))).filter(Boolean))?o:[],l=null!=(a=null==i?void 0:i.map((e=>n.find((t=>t.id===e)))).filter(Boolean))?a:[],u=n.filter((e=>!(null!=r&&r.includes(e.id)||null!=i&&i.includes(e.id))));return nB(t,[...s,...u,...l],e)}),Qz(e.options,Jz)),e.getCenterHeaderGroups=Zz((()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left,e.getState().columnPinning.right]),((t,n,r,i)=>(n=n.filter((e=>!(null!=r&&r.includes(e.id)||null!=i&&i.includes(e.id)))),nB(t,n,e,"center"))),Qz(e.options,Jz)),e.getLeftHeaderGroups=Zz((()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left]),((t,n,r)=>{var i;return nB(t,null!=(i=null==r?void 0:r.map((e=>n.find((t=>t.id===e)))).filter(Boolean))?i:[],e,"left")}),Qz(e.options,Jz)),e.getRightHeaderGroups=Zz((()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.right]),((t,n,r)=>{var i;return nB(t,null!=(i=null==r?void 0:r.map((e=>n.find((t=>t.id===e)))).filter(Boolean))?i:[],e,"right")}),Qz(e.options,Jz)),e.getFooterGroups=Zz((()=>[e.getHeaderGroups()]),(e=>[...e].reverse()),Qz(e.options,Jz)),e.getLeftFooterGroups=Zz((()=>[e.getLeftHeaderGroups()]),(e=>[...e].reverse()),Qz(e.options,Jz)),e.getCenterFooterGroups=Zz((()=>[e.getCenterHeaderGroups()]),(e=>[...e].reverse()),Qz(e.options,Jz)),e.getRightFooterGroups=Zz((()=>[e.getRightHeaderGroups()]),(e=>[...e].reverse()),Qz(e.options,Jz)),e.getFlatHeaders=Zz((()=>[e.getHeaderGroups()]),(e=>e.map((e=>e.headers)).flat()),Qz(e.options,Jz)),e.getLeftFlatHeaders=Zz((()=>[e.getLeftHeaderGroups()]),(e=>e.map((e=>e.headers)).flat()),Qz(e.options,Jz)),e.getCenterFlatHeaders=Zz((()=>[e.getCenterHeaderGroups()]),(e=>e.map((e=>e.headers)).flat()),Qz(e.options,Jz)),e.getRightFlatHeaders=Zz((()=>[e.getRightHeaderGroups()]),(e=>e.map((e=>e.headers)).flat()),Qz(e.options,Jz)),e.getCenterLeafHeaders=Zz((()=>[e.getCenterFlatHeaders()]),(e=>e.filter((e=>{var t;return!(null!=(t=e.subHeaders)&&t.length)}))),Qz(e.options,Jz)),e.getLeftLeafHeaders=Zz((()=>[e.getLeftFlatHeaders()]),(e=>e.filter((e=>{var t;return!(null!=(t=e.subHeaders)&&t.length)}))),Qz(e.options,Jz)),e.getRightLeafHeaders=Zz((()=>[e.getRightFlatHeaders()]),(e=>e.filter((e=>{var t;return!(null!=(t=e.subHeaders)&&t.length)}))),Qz(e.options,Jz)),e.getLeafHeaders=Zz((()=>[e.getLeftHeaderGroups(),e.getCenterHeaderGroups(),e.getRightHeaderGroups()]),((e,t,n)=>{var r,i,o,a,s,l;return[...null!=(r=null==(i=e[0])?void 0:i.headers)?r:[],...null!=(o=null==(a=t[0])?void 0:a.headers)?o:[],...null!=(s=null==(l=n[0])?void 0:l.headers)?s:[]].map((e=>e.getLeafHeaders())).flat()}),Qz(e.options,Jz))}};function nB(e,t,n,r){var i,o;let a=0;const s=function(e,t){void 0===t&&(t=1),a=Math.max(a,t),e.filter((e=>e.getIsVisible())).forEach((e=>{var n;null!=(n=e.columns)&&n.length&&s(e.columns,t+1)}),0)};s(e);let l=[];const u=(e,t)=>{const i={depth:t,id:[r,`${t}`].filter(Boolean).join("_"),headers:[]},o=[];e.forEach((e=>{const a=[...o].reverse()[0];let s,l=!1;if(e.column.depth===i.depth&&e.column.parent?s=e.column.parent:(s=e.column,l=!0),a&&(null==a?void 0:a.column)===s)a.subHeaders.push(e);else{const i=eB(n,s,{id:[r,t,s.id,null==e?void 0:e.id].filter(Boolean).join("_"),isPlaceholder:l,placeholderId:l?`${o.filter((e=>e.column===s)).length}`:void 0,depth:t,index:o.length});i.subHeaders.push(e),o.push(i)}i.headers.push(e),e.headerGroup=i})),l.push(i),t>0&&u(o,t-1)},c=t.map(((e,t)=>eB(n,e,{depth:a,index:t})));u(c,a-1),l.reverse();const f=e=>e.filter((e=>e.column.getIsVisible())).map((e=>{let t=0,n=0,r=[0];e.subHeaders&&e.subHeaders.length?(r=[],f(e.subHeaders).forEach((e=>{let{colSpan:n,rowSpan:i}=e;t+=n,r.push(i)}))):t=1;return n+=Math.min(...r),e.colSpan=t,e.rowSpan=n,{colSpan:t,rowSpan:n}}));return f(null!=(i=null==(o=l[0])?void 0:o.headers)?i:[]),l}const rB={size:150,minSize:20,maxSize:Number.MAX_SAFE_INTEGER},iB={getDefaultColumnDef:()=>rB,getInitialState:e=>({columnSizing:{},columnSizingInfo:{startOffset:null,startSize:null,deltaOffset:null,deltaPercentage:null,isResizingColumn:!1,columnSizingStart:[]},...e}),getDefaultOptions:e=>({columnResizeMode:"onEnd",columnResizeDirection:"ltr",onColumnSizingChange:Xz("columnSizing",e),onColumnSizingInfoChange:Xz("columnSizingInfo",e)}),createColumn:(e,t)=>{e.getSize=()=>{var n,r,i;const o=t.getState().columnSizing[e.id];return Math.min(Math.max(null!=(n=e.columnDef.minSize)?n:rB.minSize,null!=(r=null!=o?o:e.columnDef.size)?r:rB.size),null!=(i=e.columnDef.maxSize)?i:rB.maxSize)},e.getStart=Zz((e=>[e,FB(t,e),t.getState().columnSizing]),((t,n)=>n.slice(0,e.getIndex(t)).reduce(((e,t)=>e+t.getSize()),0)),Qz(t.options,"debugColumns")),e.getAfter=Zz((e=>[e,FB(t,e),t.getState().columnSizing]),((t,n)=>n.slice(e.getIndex(t)+1).reduce(((e,t)=>e+t.getSize()),0)),Qz(t.options,"debugColumns")),e.resetSize=()=>{t.setColumnSizing((t=>{let{[e.id]:n,...r}=t;return r}))},e.getCanResize=()=>{var n,r;return(null==(n=e.columnDef.enableResizing)||n)&&(null==(r=t.options.enableColumnResizing)||r)},e.getIsResizing=()=>t.getState().columnSizingInfo.isResizingColumn===e.id},createHeader:(e,t)=>{e.getSize=()=>{let t=0;const n=e=>{var r;e.subHeaders.length?e.subHeaders.forEach(n):t+=null!=(r=e.column.getSize())?r:0};return n(e),t},e.getStart=()=>{if(e.index>0){const t=e.headerGroup.headers[e.index-1];return t.getStart()+t.getSize()}return 0},e.getResizeHandler=n=>{const r=t.getColumn(e.column.id),i=null==r?void 0:r.getCanResize();return o=>{if(!r||!i)return;if(null==o.persist||o.persist(),aB(o)&&o.touches&&o.touches.length>1)return;const a=e.getSize(),s=e?e.getLeafHeaders().map((e=>[e.column.id,e.column.getSize()])):[[r.id,r.getSize()]],l=aB(o)?Math.round(o.touches[0].clientX):o.clientX,u={},c=(e,n)=>{"number"==typeof n&&(t.setColumnSizingInfo((e=>{var r,i;const o="rtl"===t.options.columnResizeDirection?-1:1,a=(n-(null!=(r=null==e?void 0:e.startOffset)?r:0))*o,s=Math.max(a/(null!=(i=null==e?void 0:e.startSize)?i:0),-.999999);return e.columnSizingStart.forEach((e=>{let[t,n]=e;u[t]=Math.round(100*Math.max(n+n*s,0))/100})),{...e,deltaOffset:a,deltaPercentage:s}})),"onChange"!==t.options.columnResizeMode&&"end"!==e||t.setColumnSizing((e=>({...e,...u}))))},f=e=>c("move",e),h=e=>{c("end",e),t.setColumnSizingInfo((e=>({...e,isResizingColumn:!1,startOffset:null,startSize:null,deltaOffset:null,deltaPercentage:null,columnSizingStart:[]})))},d=n||"undefined"!=typeof document?document:null,p={moveHandler:e=>f(e.clientX),upHandler:e=>{null==d||d.removeEventListener("mousemove",p.moveHandler),null==d||d.removeEventListener("mouseup",p.upHandler),h(e.clientX)}},g={moveHandler:e=>(e.cancelable&&(e.preventDefault(),e.stopPropagation()),f(e.touches[0].clientX),!1),upHandler:e=>{var t;null==d||d.removeEventListener("touchmove",g.moveHandler),null==d||d.removeEventListener("touchend",g.upHandler),e.cancelable&&(e.preventDefault(),e.stopPropagation()),h(null==(t=e.touches[0])?void 0:t.clientX)}},m=!!function(){if("boolean"==typeof oB)return oB;let e=!1;try{const t={get passive(){return e=!0,!1}},n=()=>{};window.addEventListener("test",n,t),window.removeEventListener("test",n)}catch(t){e=!1}return oB=e,oB}()&&{passive:!1};aB(o)?(null==d||d.addEventListener("touchmove",g.moveHandler,m),null==d||d.addEventListener("touchend",g.upHandler,m)):(null==d||d.addEventListener("mousemove",p.moveHandler,m),null==d||d.addEventListener("mouseup",p.upHandler,m)),t.setColumnSizingInfo((e=>({...e,startOffset:l,startSize:a,deltaOffset:0,deltaPercentage:0,columnSizingStart:s,isResizingColumn:r.id})))}}},createTable:e=>{e.setColumnSizing=t=>null==e.options.onColumnSizingChange?void 0:e.options.onColumnSizingChange(t),e.setColumnSizingInfo=t=>null==e.options.onColumnSizingInfoChange?void 0:e.options.onColumnSizingInfoChange(t),e.resetColumnSizing=t=>{var n;e.setColumnSizing(t?{}:null!=(n=e.initialState.columnSizing)?n:{})},e.resetHeaderSizeInfo=t=>{var n;e.setColumnSizingInfo(t?{startOffset:null,startSize:null,deltaOffset:null,deltaPercentage:null,isResizingColumn:!1,columnSizingStart:[]}:null!=(n=e.initialState.columnSizingInfo)?n:{startOffset:null,startSize:null,deltaOffset:null,deltaPercentage:null,isResizingColumn:!1,columnSizingStart:[]})},e.getTotalSize=()=>{var t,n;return null!=(t=null==(n=e.getHeaderGroups()[0])?void 0:n.headers.reduce(((e,t)=>e+t.getSize()),0))?t:0},e.getLeftTotalSize=()=>{var t,n;return null!=(t=null==(n=e.getLeftHeaderGroups()[0])?void 0:n.headers.reduce(((e,t)=>e+t.getSize()),0))?t:0},e.getCenterTotalSize=()=>{var t,n;return null!=(t=null==(n=e.getCenterHeaderGroups()[0])?void 0:n.headers.reduce(((e,t)=>e+t.getSize()),0))?t:0},e.getRightTotalSize=()=>{var t,n;return null!=(t=null==(n=e.getRightHeaderGroups()[0])?void 0:n.headers.reduce(((e,t)=>e+t.getSize()),0))?t:0}}};let oB=null;function aB(e){return"touchstart"===e.type}const sB={getInitialState:e=>({expanded:{},...e}),getDefaultOptions:e=>({onExpandedChange:Xz("expanded",e),paginateExpandedRows:!0}),createTable:e=>{let t=!1,n=!1;e._autoResetExpanded=()=>{var r,i;if(t){if(null!=(r=null!=(i=e.options.autoResetAll)?i:e.options.autoResetExpanded)?r:!e.options.manualExpanding){if(n)return;n=!0,e._queue((()=>{e.resetExpanded(),n=!1}))}}else e._queue((()=>{t=!0}))},e.setExpanded=t=>null==e.options.onExpandedChange?void 0:e.options.onExpandedChange(t),e.toggleAllRowsExpanded=t=>{(null!=t?t:!e.getIsAllRowsExpanded())?e.setExpanded(!0):e.setExpanded({})},e.resetExpanded=t=>{var n,r;e.setExpanded(t?{}:null!=(n=null==(r=e.initialState)?void 0:r.expanded)?n:{})},e.getCanSomeRowsExpand=()=>e.getPrePaginationRowModel().flatRows.some((e=>e.getCanExpand())),e.getToggleAllRowsExpandedHandler=()=>t=>{null==t.persist||t.persist(),e.toggleAllRowsExpanded()},e.getIsSomeRowsExpanded=()=>{const t=e.getState().expanded;return!0===t||Object.values(t).some(Boolean)},e.getIsAllRowsExpanded=()=>{const t=e.getState().expanded;return"boolean"==typeof t?!0===t:!!Object.keys(t).length&&!e.getRowModel().flatRows.some((e=>!e.getIsExpanded()))},e.getExpandedDepth=()=>{let t=0;return(!0===e.getState().expanded?Object.keys(e.getRowModel().rowsById):Object.keys(e.getState().expanded)).forEach((e=>{const n=e.split(".");t=Math.max(t,n.length)})),t},e.getPreExpandedRowModel=()=>e.getSortedRowModel(),e.getExpandedRowModel=()=>(!e._getExpandedRowModel&&e.options.getExpandedRowModel&&(e._getExpandedRowModel=e.options.getExpandedRowModel(e)),e.options.manualExpanding||!e._getExpandedRowModel?e.getPreExpandedRowModel():e._getExpandedRowModel())},createRow:(e,t)=>{e.toggleExpanded=n=>{t.setExpanded((r=>{var i;const o=!0===r||!(null==r||!r[e.id]);let a={};if(!0===r?Object.keys(t.getRowModel().rowsById).forEach((e=>{a[e]=!0})):a=r,n=null!=(i=n)?i:!o,!o&&n)return{...a,[e.id]:!0};if(o&&!n){const{[e.id]:t,...n}=a;return n}return r}))},e.getIsExpanded=()=>{var n;const r=t.getState().expanded;return!!(null!=(n=null==t.options.getIsRowExpanded?void 0:t.options.getIsRowExpanded(e))?n:!0===r||(null==r?void 0:r[e.id]))},e.getCanExpand=()=>{var n,r,i;return null!=(n=null==t.options.getRowCanExpand?void 0:t.options.getRowCanExpand(e))?n:(null==(r=t.options.enableExpanding)||r)&&!(null==(i=e.subRows)||!i.length)},e.getIsAllParentsExpanded=()=>{let n=!0,r=e;for(;n&&r.parentId;)r=t.getRow(r.parentId,!0),n=r.getIsExpanded();return n},e.getToggleExpandedHandler=()=>{const t=e.getCanExpand();return()=>{t&&e.toggleExpanded()}}}},lB=(e,t,n)=>{var r;const i=n.toLowerCase();return Boolean(null==(r=e.getValue(t))||null==(r=r.toString())||null==(r=r.toLowerCase())?void 0:r.includes(i))};lB.autoRemove=e=>vB(e);const uB=(e,t,n)=>{var r;return Boolean(null==(r=e.getValue(t))||null==(r=r.toString())?void 0:r.includes(n))};uB.autoRemove=e=>vB(e);const cB=(e,t,n)=>{var r;return(null==(r=e.getValue(t))||null==(r=r.toString())?void 0:r.toLowerCase())===(null==n?void 0:n.toLowerCase())};cB.autoRemove=e=>vB(e);const fB=(e,t,n)=>{var r;return null==(r=e.getValue(t))?void 0:r.includes(n)};fB.autoRemove=e=>vB(e)||!(null!=e&&e.length);const hB=(e,t,n)=>!n.some((n=>{var r;return!(null!=(r=e.getValue(t))&&r.includes(n))}));hB.autoRemove=e=>vB(e)||!(null!=e&&e.length);const dB=(e,t,n)=>n.some((n=>{var r;return null==(r=e.getValue(t))?void 0:r.includes(n)}));dB.autoRemove=e=>vB(e)||!(null!=e&&e.length);const pB=(e,t,n)=>e.getValue(t)===n;pB.autoRemove=e=>vB(e);const gB=(e,t,n)=>e.getValue(t)==n;gB.autoRemove=e=>vB(e);const mB=(e,t,n)=>{let[r,i]=n;const o=e.getValue(t);return o>=r&&o<=i};mB.resolveFilterValue=e=>{let[t,n]=e,r="number"!=typeof t?parseFloat(t):t,i="number"!=typeof n?parseFloat(n):n,o=null===t||Number.isNaN(r)?-1/0:r,a=null===n||Number.isNaN(i)?1/0:i;if(o>a){const e=o;o=a,a=e}return[o,a]},mB.autoRemove=e=>vB(e)||vB(e[0])&&vB(e[1]);const bB={includesString:lB,includesStringSensitive:uB,equalsString:cB,arrIncludes:fB,arrIncludesAll:hB,arrIncludesSome:dB,equals:pB,weakEquals:gB,inNumberRange:mB};function vB(e){return null==e||""===e}const yB={getDefaultColumnDef:()=>({filterFn:"auto"}),getInitialState:e=>({columnFilters:[],globalFilter:void 0,...e}),getDefaultOptions:e=>({onColumnFiltersChange:Xz("columnFilters",e),onGlobalFilterChange:Xz("globalFilter",e),filterFromLeafRows:!1,maxLeafRowFilterDepth:100,globalFilterFn:"auto",getColumnCanGlobalFilter:t=>{var n;const r=null==(n=e.getCoreRowModel().flatRows[0])||null==(n=n._getAllCellsByColumnId()[t.id])?void 0:n.getValue();return"string"==typeof r||"number"==typeof r}}),createColumn:(e,t)=>{e.getAutoFilterFn=()=>{const n=t.getCoreRowModel().flatRows[0],r=null==n?void 0:n.getValue(e.id);return"string"==typeof r?bB.includesString:"number"==typeof r?bB.inNumberRange:"boolean"==typeof r||null!==r&&"object"==typeof r?bB.equals:Array.isArray(r)?bB.arrIncludes:bB.weakEquals},e.getFilterFn=()=>{var n,r;return Yz(e.columnDef.filterFn)?e.columnDef.filterFn:"auto"===e.columnDef.filterFn?e.getAutoFilterFn():null!=(n=null==(r=t.options.filterFns)?void 0:r[e.columnDef.filterFn])?n:bB[e.columnDef.filterFn]},e.getCanFilter=()=>{var n,r,i;return(null==(n=e.columnDef.enableColumnFilter)||n)&&(null==(r=t.options.enableColumnFilters)||r)&&(null==(i=t.options.enableFilters)||i)&&!!e.accessorFn},e.getCanGlobalFilter=()=>{var n,r,i,o;return(null==(n=e.columnDef.enableGlobalFilter)||n)&&(null==(r=t.options.enableGlobalFilter)||r)&&(null==(i=t.options.enableFilters)||i)&&(null==(o=null==t.options.getColumnCanGlobalFilter?void 0:t.options.getColumnCanGlobalFilter(e))||o)&&!!e.accessorFn},e.getIsFiltered=()=>e.getFilterIndex()>-1,e.getFilterValue=()=>{var n;return null==(n=t.getState().columnFilters)||null==(n=n.find((t=>t.id===e.id)))?void 0:n.value},e.getFilterIndex=()=>{var n,r;return null!=(n=null==(r=t.getState().columnFilters)?void 0:r.findIndex((t=>t.id===e.id)))?n:-1},e.setFilterValue=n=>{t.setColumnFilters((t=>{const r=e.getFilterFn(),i=null==t?void 0:t.find((t=>t.id===e.id)),o=qz(n,i?i.value:void 0);var a;if(wB(r,o,e))return null!=(a=null==t?void 0:t.filter((t=>t.id!==e.id)))?a:[];const s={id:e.id,value:o};var l;return i?null!=(l=null==t?void 0:t.map((t=>t.id===e.id?s:t)))?l:[]:null!=t&&t.length?[...t,s]:[s]}))},e._getFacetedRowModel=t.options.getFacetedRowModel&&t.options.getFacetedRowModel(t,e.id),e.getFacetedRowModel=()=>e._getFacetedRowModel?e._getFacetedRowModel():t.getPreFilteredRowModel(),e._getFacetedUniqueValues=t.options.getFacetedUniqueValues&&t.options.getFacetedUniqueValues(t,e.id),e.getFacetedUniqueValues=()=>e._getFacetedUniqueValues?e._getFacetedUniqueValues():new Map,e._getFacetedMinMaxValues=t.options.getFacetedMinMaxValues&&t.options.getFacetedMinMaxValues(t,e.id),e.getFacetedMinMaxValues=()=>{if(e._getFacetedMinMaxValues)return e._getFacetedMinMaxValues()}},createRow:(e,t)=>{e.columnFilters={},e.columnFiltersMeta={}},createTable:e=>{e.getGlobalAutoFilterFn=()=>bB.includesString,e.getGlobalFilterFn=()=>{var t,n;const{globalFilterFn:r}=e.options;return Yz(r)?r:"auto"===r?e.getGlobalAutoFilterFn():null!=(t=null==(n=e.options.filterFns)?void 0:n[r])?t:bB[r]},e.setColumnFilters=t=>{const n=e.getAllLeafColumns();null==e.options.onColumnFiltersChange||e.options.onColumnFiltersChange((e=>{var r;return null==(r=qz(t,e))?void 0:r.filter((e=>{const t=n.find((t=>t.id===e.id));if(t){if(wB(t.getFilterFn(),e.value,t))return!1}return!0}))}))},e.setGlobalFilter=t=>{null==e.options.onGlobalFilterChange||e.options.onGlobalFilterChange(t)},e.resetGlobalFilter=t=>{e.setGlobalFilter(t?void 0:e.initialState.globalFilter)},e.resetColumnFilters=t=>{var n,r;e.setColumnFilters(t?[]:null!=(n=null==(r=e.initialState)?void 0:r.columnFilters)?n:[])},e.getPreFilteredRowModel=()=>e.getCoreRowModel(),e.getFilteredRowModel=()=>(!e._getFilteredRowModel&&e.options.getFilteredRowModel&&(e._getFilteredRowModel=e.options.getFilteredRowModel(e)),e.options.manualFiltering||!e._getFilteredRowModel?e.getPreFilteredRowModel():e._getFilteredRowModel()),e._getGlobalFacetedRowModel=e.options.getFacetedRowModel&&e.options.getFacetedRowModel(e,"__global__"),e.getGlobalFacetedRowModel=()=>e.options.manualFiltering||!e._getGlobalFacetedRowModel?e.getPreFilteredRowModel():e._getGlobalFacetedRowModel(),e._getGlobalFacetedUniqueValues=e.options.getFacetedUniqueValues&&e.options.getFacetedUniqueValues(e,"__global__"),e.getGlobalFacetedUniqueValues=()=>e._getGlobalFacetedUniqueValues?e._getGlobalFacetedUniqueValues():new Map,e._getGlobalFacetedMinMaxValues=e.options.getFacetedMinMaxValues&&e.options.getFacetedMinMaxValues(e,"__global__"),e.getGlobalFacetedMinMaxValues=()=>{if(e._getGlobalFacetedMinMaxValues)return e._getGlobalFacetedMinMaxValues()}}};function wB(e,t,n){return!(!e||!e.autoRemove)&&e.autoRemove(t,n)||void 0===t||"string"==typeof t&&!t}const xB={sum:(e,t,n)=>n.reduce(((t,n)=>{const r=n.getValue(e);return t+("number"==typeof r?r:0)}),0),min:(e,t,n)=>{let r;return n.forEach((t=>{const n=t.getValue(e);null!=n&&(r>n||void 0===r&&n>=n)&&(r=n)})),r},max:(e,t,n)=>{let r;return n.forEach((t=>{const n=t.getValue(e);null!=n&&(r<n||void 0===r&&n>=n)&&(r=n)})),r},extent:(e,t,n)=>{let r,i;return n.forEach((t=>{const n=t.getValue(e);null!=n&&(void 0===r?n>=n&&(r=i=n):(r>n&&(r=n),i<n&&(i=n)))})),[r,i]},mean:(e,t)=>{let n=0,r=0;if(t.forEach((t=>{let i=t.getValue(e);null!=i&&(i=+i)>=i&&(++n,r+=i)})),n)return r/n},median:(e,t)=>{if(!t.length)return;const n=t.map((t=>t.getValue(e)));if(r=n,!Array.isArray(r)||!r.every((e=>"number"==typeof e)))return;var r;if(1===n.length)return n[0];const i=Math.floor(n.length/2),o=n.sort(((e,t)=>e-t));return n.length%2!=0?o[i]:(o[i-1]+o[i])/2},unique:(e,t)=>Array.from(new Set(t.map((t=>t.getValue(e)))).values()),uniqueCount:(e,t)=>new Set(t.map((t=>t.getValue(e)))).size,count:(e,t)=>t.length},_B={getDefaultColumnDef:()=>({aggregatedCell:e=>{var t,n;return null!=(t=null==(n=e.getValue())||null==n.toString?void 0:n.toString())?t:null},aggregationFn:"auto"}),getInitialState:e=>({grouping:[],...e}),getDefaultOptions:e=>({onGroupingChange:Xz("grouping",e),groupedColumnMode:"reorder"}),createColumn:(e,t)=>{e.toggleGrouping=()=>{t.setGrouping((t=>null!=t&&t.includes(e.id)?t.filter((t=>t!==e.id)):[...null!=t?t:[],e.id]))},e.getCanGroup=()=>{var n,r,i,o;return null!=(n=null==(r=null!=(i=null==(o=e.columnDef.enableGrouping)||o)?i:t.options.enableGrouping)||r)?n:!!e.accessorFn},e.getIsGrouped=()=>{var n;return null==(n=t.getState().grouping)?void 0:n.includes(e.id)},e.getGroupedIndex=()=>{var n;return null==(n=t.getState().grouping)?void 0:n.indexOf(e.id)},e.getToggleGroupingHandler=()=>{const t=e.getCanGroup();return()=>{t&&e.toggleGrouping()}},e.getAutoAggregationFn=()=>{const n=t.getCoreRowModel().flatRows[0],r=null==n?void 0:n.getValue(e.id);return"number"==typeof r?xB.sum:"[object Date]"===Object.prototype.toString.call(r)?xB.extent:void 0},e.getAggregationFn=()=>{var n,r;if(!e)throw new Error;return Yz(e.columnDef.aggregationFn)?e.columnDef.aggregationFn:"auto"===e.columnDef.aggregationFn?e.getAutoAggregationFn():null!=(n=null==(r=t.options.aggregationFns)?void 0:r[e.columnDef.aggregationFn])?n:xB[e.columnDef.aggregationFn]}},createTable:e=>{e.setGrouping=t=>null==e.options.onGroupingChange?void 0:e.options.onGroupingChange(t),e.resetGrouping=t=>{var n,r;e.setGrouping(t?[]:null!=(n=null==(r=e.initialState)?void 0:r.grouping)?n:[])},e.getPreGroupedRowModel=()=>e.getFilteredRowModel(),e.getGroupedRowModel=()=>(!e._getGroupedRowModel&&e.options.getGroupedRowModel&&(e._getGroupedRowModel=e.options.getGroupedRowModel(e)),e.options.manualGrouping||!e._getGroupedRowModel?e.getPreGroupedRowModel():e._getGroupedRowModel())},createRow:(e,t)=>{e.getIsGrouped=()=>!!e.groupingColumnId,e.getGroupingValue=n=>{if(e._groupingValuesCache.hasOwnProperty(n))return e._groupingValuesCache[n];const r=t.getColumn(n);return null!=r&&r.columnDef.getGroupingValue?(e._groupingValuesCache[n]=r.columnDef.getGroupingValue(e.original),e._groupingValuesCache[n]):e.getValue(n)},e._groupingValuesCache={}},createCell:(e,t,n,r)=>{e.getIsGrouped=()=>t.getIsGrouped()&&t.id===n.groupingColumnId,e.getIsPlaceholder=()=>!e.getIsGrouped()&&t.getIsGrouped(),e.getIsAggregated=()=>{var t;return!e.getIsGrouped()&&!e.getIsPlaceholder()&&!(null==(t=n.subRows)||!t.length)}}};const SB={getInitialState:e=>({columnOrder:[],...e}),getDefaultOptions:e=>({onColumnOrderChange:Xz("columnOrder",e)}),createColumn:(e,t)=>{e.getIndex=Zz((e=>[FB(t,e)]),(t=>t.findIndex((t=>t.id===e.id))),Qz(t.options,"debugColumns")),e.getIsFirstColumn=n=>{var r;return(null==(r=FB(t,n)[0])?void 0:r.id)===e.id},e.getIsLastColumn=n=>{var r;const i=FB(t,n);return(null==(r=i[i.length-1])?void 0:r.id)===e.id}},createTable:e=>{e.setColumnOrder=t=>null==e.options.onColumnOrderChange?void 0:e.options.onColumnOrderChange(t),e.resetColumnOrder=t=>{var n;e.setColumnOrder(t?[]:null!=(n=e.initialState.columnOrder)?n:[])},e._getOrderColumnsFn=Zz((()=>[e.getState().columnOrder,e.getState().grouping,e.options.groupedColumnMode]),((e,t,n)=>r=>{let i=[];if(null!=e&&e.length){const t=[...e],n=[...r];for(;n.length&&t.length;){const e=t.shift(),r=n.findIndex((t=>t.id===e));r>-1&&i.push(n.splice(r,1)[0])}i=[...i,...n]}else i=r;return function(e,t,n){if(null==t||!t.length||!n)return e;const r=e.filter((e=>!t.includes(e.id)));return"remove"===n?r:[...t.map((t=>e.find((e=>e.id===t)))).filter(Boolean),...r]}(i,t,n)}),Qz(e.options,"debugTable"))}},kB={getInitialState:e=>({...e,pagination:{pageIndex:0,pageSize:10,...null==e?void 0:e.pagination}}),getDefaultOptions:e=>({onPaginationChange:Xz("pagination",e)}),createTable:e=>{let t=!1,n=!1;e._autoResetPageIndex=()=>{var r,i;if(t){if(null!=(r=null!=(i=e.options.autoResetAll)?i:e.options.autoResetPageIndex)?r:!e.options.manualPagination){if(n)return;n=!0,e._queue((()=>{e.resetPageIndex(),n=!1}))}}else e._queue((()=>{t=!0}))},e.setPagination=t=>null==e.options.onPaginationChange?void 0:e.options.onPaginationChange((e=>qz(t,e))),e.resetPagination=t=>{var n;e.setPagination(t?{pageIndex:0,pageSize:10}:null!=(n=e.initialState.pagination)?n:{pageIndex:0,pageSize:10})},e.setPageIndex=t=>{e.setPagination((n=>{let r=qz(t,n.pageIndex);const i=void 0===e.options.pageCount||-1===e.options.pageCount?Number.MAX_SAFE_INTEGER:e.options.pageCount-1;return r=Math.max(0,Math.min(r,i)),{...n,pageIndex:r}}))},e.resetPageIndex=t=>{var n,r;e.setPageIndex(t?0:null!=(n=null==(r=e.initialState)||null==(r=r.pagination)?void 0:r.pageIndex)?n:0)},e.resetPageSize=t=>{var n,r;e.setPageSize(t?10:null!=(n=null==(r=e.initialState)||null==(r=r.pagination)?void 0:r.pageSize)?n:10)},e.setPageSize=t=>{e.setPagination((e=>{const n=Math.max(1,qz(t,e.pageSize)),r=e.pageSize*e.pageIndex,i=Math.floor(r/n);return{...e,pageIndex:i,pageSize:n}}))},e.setPageCount=t=>e.setPagination((n=>{var r;let i=qz(t,null!=(r=e.options.pageCount)?r:-1);return"number"==typeof i&&(i=Math.max(-1,i)),{...n,pageCount:i}})),e.getPageOptions=Zz((()=>[e.getPageCount()]),(e=>{let t=[];return e&&e>0&&(t=[...new Array(e)].fill(null).map(((e,t)=>t))),t}),Qz(e.options,"debugTable")),e.getCanPreviousPage=()=>e.getState().pagination.pageIndex>0,e.getCanNextPage=()=>{const{pageIndex:t}=e.getState().pagination,n=e.getPageCount();return-1===n||0!==n&&t<n-1},e.previousPage=()=>e.setPageIndex((e=>e-1)),e.nextPage=()=>e.setPageIndex((e=>e+1)),e.firstPage=()=>e.setPageIndex(0),e.lastPage=()=>e.setPageIndex(e.getPageCount()-1),e.getPrePaginationRowModel=()=>e.getExpandedRowModel(),e.getPaginationRowModel=()=>(!e._getPaginationRowModel&&e.options.getPaginationRowModel&&(e._getPaginationRowModel=e.options.getPaginationRowModel(e)),e.options.manualPagination||!e._getPaginationRowModel?e.getPrePaginationRowModel():e._getPaginationRowModel()),e.getPageCount=()=>{var t;return null!=(t=e.options.pageCount)?t:Math.ceil(e.getRowCount()/e.getState().pagination.pageSize)},e.getRowCount=()=>{var t;return null!=(t=e.options.rowCount)?t:e.getPrePaginationRowModel().rows.length}}},CB={getInitialState:e=>({columnPinning:{left:[],right:[]},rowPinning:{top:[],bottom:[]},...e}),getDefaultOptions:e=>({onColumnPinningChange:Xz("columnPinning",e),onRowPinningChange:Xz("rowPinning",e)}),createColumn:(e,t)=>{e.pin=n=>{const r=e.getLeafColumns().map((e=>e.id)).filter(Boolean);t.setColumnPinning((e=>{var t,i,o,a,s,l;return"right"===n?{left:(null!=(o=null==e?void 0:e.left)?o:[]).filter((e=>!(null!=r&&r.includes(e)))),right:[...(null!=(a=null==e?void 0:e.right)?a:[]).filter((e=>!(null!=r&&r.includes(e)))),...r]}:"left"===n?{left:[...(null!=(s=null==e?void 0:e.left)?s:[]).filter((e=>!(null!=r&&r.includes(e)))),...r],right:(null!=(l=null==e?void 0:e.right)?l:[]).filter((e=>!(null!=r&&r.includes(e))))}:{left:(null!=(t=null==e?void 0:e.left)?t:[]).filter((e=>!(null!=r&&r.includes(e)))),right:(null!=(i=null==e?void 0:e.right)?i:[]).filter((e=>!(null!=r&&r.includes(e))))}}))},e.getCanPin=()=>e.getLeafColumns().some((e=>{var n,r,i;return(null==(n=e.columnDef.enablePinning)||n)&&(null==(r=null!=(i=t.options.enableColumnPinning)?i:t.options.enablePinning)||r)})),e.getIsPinned=()=>{const n=e.getLeafColumns().map((e=>e.id)),{left:r,right:i}=t.getState().columnPinning,o=n.some((e=>null==r?void 0:r.includes(e))),a=n.some((e=>null==i?void 0:i.includes(e)));return o?"left":!!a&&"right"},e.getPinnedIndex=()=>{var n,r;const i=e.getIsPinned();return i?null!=(n=null==(r=t.getState().columnPinning)||null==(r=r[i])?void 0:r.indexOf(e.id))?n:-1:0}},createRow:(e,t)=>{e.pin=(n,r,i)=>{const o=r?e.getLeafRows().map((e=>{let{id:t}=e;return t})):[],a=i?e.getParentRows().map((e=>{let{id:t}=e;return t})):[],s=new Set([...a,e.id,...o]);t.setRowPinning((e=>{var t,r,i,o,a,l;return"bottom"===n?{top:(null!=(i=null==e?void 0:e.top)?i:[]).filter((e=>!(null!=s&&s.has(e)))),bottom:[...(null!=(o=null==e?void 0:e.bottom)?o:[]).filter((e=>!(null!=s&&s.has(e)))),...Array.from(s)]}:"top"===n?{top:[...(null!=(a=null==e?void 0:e.top)?a:[]).filter((e=>!(null!=s&&s.has(e)))),...Array.from(s)],bottom:(null!=(l=null==e?void 0:e.bottom)?l:[]).filter((e=>!(null!=s&&s.has(e))))}:{top:(null!=(t=null==e?void 0:e.top)?t:[]).filter((e=>!(null!=s&&s.has(e)))),bottom:(null!=(r=null==e?void 0:e.bottom)?r:[]).filter((e=>!(null!=s&&s.has(e))))}}))},e.getCanPin=()=>{var n;const{enableRowPinning:r,enablePinning:i}=t.options;return"function"==typeof r?r(e):null==(n=null!=r?r:i)||n},e.getIsPinned=()=>{const n=[e.id],{top:r,bottom:i}=t.getState().rowPinning,o=n.some((e=>null==r?void 0:r.includes(e))),a=n.some((e=>null==i?void 0:i.includes(e)));return o?"top":!!a&&"bottom"},e.getPinnedIndex=()=>{var n,r;const i=e.getIsPinned();if(!i)return-1;const o=null==(n=t._getPinnedRows(i))?void 0:n.map((e=>{let{id:t}=e;return t}));return null!=(r=null==o?void 0:o.indexOf(e.id))?r:-1},e.getCenterVisibleCells=Zz((()=>[e._getAllVisibleCells(),t.getState().columnPinning.left,t.getState().columnPinning.right]),((e,t,n)=>{const r=[...null!=t?t:[],...null!=n?n:[]];return e.filter((e=>!r.includes(e.column.id)))}),Qz(t.options,"debugRows")),e.getLeftVisibleCells=Zz((()=>[e._getAllVisibleCells(),t.getState().columnPinning.left]),((e,t)=>(null!=t?t:[]).map((t=>e.find((e=>e.column.id===t)))).filter(Boolean).map((e=>({...e,position:"left"})))),Qz(t.options,"debugRows")),e.getRightVisibleCells=Zz((()=>[e._getAllVisibleCells(),t.getState().columnPinning.right]),((e,t)=>(null!=t?t:[]).map((t=>e.find((e=>e.column.id===t)))).filter(Boolean).map((e=>({...e,position:"right"})))),Qz(t.options,"debugRows"))},createTable:e=>{e.setColumnPinning=t=>null==e.options.onColumnPinningChange?void 0:e.options.onColumnPinningChange(t),e.resetColumnPinning=t=>{var n,r;return e.setColumnPinning(t?{left:[],right:[]}:null!=(n=null==(r=e.initialState)?void 0:r.columnPinning)?n:{left:[],right:[]})},e.getIsSomeColumnsPinned=t=>{var n;const r=e.getState().columnPinning;var i,o;return t?Boolean(null==(n=r[t])?void 0:n.length):Boolean((null==(i=r.left)?void 0:i.length)||(null==(o=r.right)?void 0:o.length))},e.getLeftLeafColumns=Zz((()=>[e.getAllLeafColumns(),e.getState().columnPinning.left]),((e,t)=>(null!=t?t:[]).map((t=>e.find((e=>e.id===t)))).filter(Boolean)),Qz(e.options,"debugColumns")),e.getRightLeafColumns=Zz((()=>[e.getAllLeafColumns(),e.getState().columnPinning.right]),((e,t)=>(null!=t?t:[]).map((t=>e.find((e=>e.id===t)))).filter(Boolean)),Qz(e.options,"debugColumns")),e.getCenterLeafColumns=Zz((()=>[e.getAllLeafColumns(),e.getState().columnPinning.left,e.getState().columnPinning.right]),((e,t,n)=>{const r=[...null!=t?t:[],...null!=n?n:[]];return e.filter((e=>!r.includes(e.id)))}),Qz(e.options,"debugColumns")),e.setRowPinning=t=>null==e.options.onRowPinningChange?void 0:e.options.onRowPinningChange(t),e.resetRowPinning=t=>{var n,r;return e.setRowPinning(t?{top:[],bottom:[]}:null!=(n=null==(r=e.initialState)?void 0:r.rowPinning)?n:{top:[],bottom:[]})},e.getIsSomeRowsPinned=t=>{var n;const r=e.getState().rowPinning;var i,o;return t?Boolean(null==(n=r[t])?void 0:n.length):Boolean((null==(i=r.top)?void 0:i.length)||(null==(o=r.bottom)?void 0:o.length))},e._getPinnedRows=Zz((t=>[e.getRowModel().rows,e.getState().rowPinning[t],t]),((t,n,r)=>{var i;return(null==(i=e.options.keepPinnedRows)||i?(null!=n?n:[]).map((t=>{const n=e.getRow(t,!0);return n.getIsAllParentsExpanded()?n:null})):(null!=n?n:[]).map((e=>t.find((t=>t.id===e))))).filter(Boolean).map((e=>({...e,position:r})))}),Qz(e.options,"debugRows")),e.getTopRows=()=>e._getPinnedRows("top"),e.getBottomRows=()=>e._getPinnedRows("bottom"),e.getCenterRows=Zz((()=>[e.getRowModel().rows,e.getState().rowPinning.top,e.getState().rowPinning.bottom]),((e,t,n)=>{const r=new Set([...null!=t?t:[],...null!=n?n:[]]);return e.filter((e=>!r.has(e.id)))}),Qz(e.options,"debugRows"))}},EB={getInitialState:e=>({rowSelection:{},...e}),getDefaultOptions:e=>({onRowSelectionChange:Xz("rowSelection",e),enableRowSelection:!0,enableMultiRowSelection:!0,enableSubRowSelection:!0}),createTable:e=>{e.setRowSelection=t=>null==e.options.onRowSelectionChange?void 0:e.options.onRowSelectionChange(t),e.resetRowSelection=t=>{var n;return e.setRowSelection(t?{}:null!=(n=e.initialState.rowSelection)?n:{})},e.toggleAllRowsSelected=t=>{e.setRowSelection((n=>{t=void 0!==t?t:!e.getIsAllRowsSelected();const r={...n},i=e.getPreGroupedRowModel().flatRows;return t?i.forEach((e=>{e.getCanSelect()&&(r[e.id]=!0)})):i.forEach((e=>{delete r[e.id]})),r}))},e.toggleAllPageRowsSelected=t=>e.setRowSelection((n=>{const r=void 0!==t?t:!e.getIsAllPageRowsSelected(),i={...n};return e.getRowModel().rows.forEach((t=>{IB(i,t.id,r,!0,e)})),i})),e.getPreSelectedRowModel=()=>e.getCoreRowModel(),e.getSelectedRowModel=Zz((()=>[e.getState().rowSelection,e.getCoreRowModel()]),((t,n)=>Object.keys(t).length?MB(e,n):{rows:[],flatRows:[],rowsById:{}}),Qz(e.options,"debugTable")),e.getFilteredSelectedRowModel=Zz((()=>[e.getState().rowSelection,e.getFilteredRowModel()]),((t,n)=>Object.keys(t).length?MB(e,n):{rows:[],flatRows:[],rowsById:{}}),Qz(e.options,"debugTable")),e.getGroupedSelectedRowModel=Zz((()=>[e.getState().rowSelection,e.getSortedRowModel()]),((t,n)=>Object.keys(t).length?MB(e,n):{rows:[],flatRows:[],rowsById:{}}),Qz(e.options,"debugTable")),e.getIsAllRowsSelected=()=>{const t=e.getFilteredRowModel().flatRows,{rowSelection:n}=e.getState();let r=Boolean(t.length&&Object.keys(n).length);return r&&t.some((e=>e.getCanSelect()&&!n[e.id]))&&(r=!1),r},e.getIsAllPageRowsSelected=()=>{const t=e.getPaginationRowModel().flatRows.filter((e=>e.getCanSelect())),{rowSelection:n}=e.getState();let r=!!t.length;return r&&t.some((e=>!n[e.id]))&&(r=!1),r},e.getIsSomeRowsSelected=()=>{var t;const n=Object.keys(null!=(t=e.getState().rowSelection)?t:{}).length;return n>0&&n<e.getFilteredRowModel().flatRows.length},e.getIsSomePageRowsSelected=()=>{const t=e.getPaginationRowModel().flatRows;return!e.getIsAllPageRowsSelected()&&t.filter((e=>e.getCanSelect())).some((e=>e.getIsSelected()||e.getIsSomeSelected()))},e.getToggleAllRowsSelectedHandler=()=>t=>{e.toggleAllRowsSelected(t.target.checked)},e.getToggleAllPageRowsSelectedHandler=()=>t=>{e.toggleAllPageRowsSelected(t.target.checked)}},createRow:(e,t)=>{e.toggleSelected=(n,r)=>{const i=e.getIsSelected();t.setRowSelection((o=>{var a;if(n=void 0!==n?n:!i,e.getCanSelect()&&i===n)return o;const s={...o};return IB(s,e.id,n,null==(a=null==r?void 0:r.selectChildren)||a,t),s}))},e.getIsSelected=()=>{const{rowSelection:n}=t.getState();return TB(e,n)},e.getIsSomeSelected=()=>{const{rowSelection:n}=t.getState();return"some"===AB(e,n)},e.getIsAllSubRowsSelected=()=>{const{rowSelection:n}=t.getState();return"all"===AB(e,n)},e.getCanSelect=()=>{var n;return"function"==typeof t.options.enableRowSelection?t.options.enableRowSelection(e):null==(n=t.options.enableRowSelection)||n},e.getCanSelectSubRows=()=>{var n;return"function"==typeof t.options.enableSubRowSelection?t.options.enableSubRowSelection(e):null==(n=t.options.enableSubRowSelection)||n},e.getCanMultiSelect=()=>{var n;return"function"==typeof t.options.enableMultiRowSelection?t.options.enableMultiRowSelection(e):null==(n=t.options.enableMultiRowSelection)||n},e.getToggleSelectedHandler=()=>{const t=e.getCanSelect();return n=>{var r;t&&e.toggleSelected(null==(r=n.target)?void 0:r.checked)}}}},IB=(e,t,n,r,i)=>{var o;const a=i.getRow(t,!0);n?(a.getCanMultiSelect()||Object.keys(e).forEach((t=>delete e[t])),a.getCanSelect()&&(e[t]=!0)):delete e[t],r&&null!=(o=a.subRows)&&o.length&&a.getCanSelectSubRows()&&a.subRows.forEach((t=>IB(e,t.id,n,r,i)))};function MB(e,t){const n=e.getState().rowSelection,r=[],i={},o=function(e,t){return e.map((e=>{var t;const a=TB(e,n);if(a&&(r.push(e),i[e.id]=e),null!=(t=e.subRows)&&t.length&&(e={...e,subRows:o(e.subRows)}),a)return e})).filter(Boolean)};return{rows:o(t.rows),flatRows:r,rowsById:i}}function TB(e,t){var n;return null!=(n=t[e.id])&&n}function AB(e,t,n){var r;if(null==(r=e.subRows)||!r.length)return!1;let i=!0,o=!1;return e.subRows.forEach((e=>{if((!o||i)&&(e.getCanSelect()&&(TB(e,t)?o=!0:i=!1),e.subRows&&e.subRows.length)){const n=AB(e,t);"all"===n?o=!0:"some"===n?(o=!0,i=!1):i=!1}})),i?"all":!!o&&"some"}const PB=/([0-9]+)/gm;function OB(e,t){return e===t?0:e>t?1:-1}function DB(e){return"number"==typeof e?isNaN(e)||e===1/0||e===-1/0?"":String(e):"string"==typeof e?e:""}function RB(e,t){const n=e.split(PB).filter(Boolean),r=t.split(PB).filter(Boolean);for(;n.length&&r.length;){const e=n.shift(),t=r.shift(),i=parseInt(e,10),o=parseInt(t,10),a=[i,o].sort();if(isNaN(a[0])){if(e>t)return 1;if(t>e)return-1}else{if(isNaN(a[1]))return isNaN(i)?-1:1;if(i>o)return 1;if(o>i)return-1}}return n.length-r.length}const LB={alphanumeric:(e,t,n)=>RB(DB(e.getValue(n)).toLowerCase(),DB(t.getValue(n)).toLowerCase()),alphanumericCaseSensitive:(e,t,n)=>RB(DB(e.getValue(n)),DB(t.getValue(n))),text:(e,t,n)=>OB(DB(e.getValue(n)).toLowerCase(),DB(t.getValue(n)).toLowerCase()),textCaseSensitive:(e,t,n)=>OB(DB(e.getValue(n)),DB(t.getValue(n))),datetime:(e,t,n)=>{const r=e.getValue(n),i=t.getValue(n);return r>i?1:r<i?-1:0},basic:(e,t,n)=>OB(e.getValue(n),t.getValue(n))},NB={getInitialState:e=>({sorting:[],...e}),getDefaultColumnDef:()=>({sortingFn:"auto",sortUndefined:1}),getDefaultOptions:e=>({onSortingChange:Xz("sorting",e),isMultiSortEvent:e=>e.shiftKey}),createColumn:(e,t)=>{e.getAutoSortingFn=()=>{const n=t.getFilteredRowModel().flatRows.slice(10);let r=!1;for(const t of n){const n=null==t?void 0:t.getValue(e.id);if("[object Date]"===Object.prototype.toString.call(n))return LB.datetime;if("string"==typeof n&&(r=!0,n.split(PB).length>1))return LB.alphanumeric}return r?LB.text:LB.basic},e.getAutoSortDir=()=>{const n=t.getFilteredRowModel().flatRows[0];return"string"==typeof(null==n?void 0:n.getValue(e.id))?"asc":"desc"},e.getSortingFn=()=>{var n,r;if(!e)throw new Error;return Yz(e.columnDef.sortingFn)?e.columnDef.sortingFn:"auto"===e.columnDef.sortingFn?e.getAutoSortingFn():null!=(n=null==(r=t.options.sortingFns)?void 0:r[e.columnDef.sortingFn])?n:LB[e.columnDef.sortingFn]},e.toggleSorting=(n,r)=>{const i=e.getNextSortingOrder(),o=null!=n;t.setSorting((a=>{const s=null==a?void 0:a.find((t=>t.id===e.id)),l=null==a?void 0:a.findIndex((t=>t.id===e.id));let u,c=[],f=o?n:"desc"===i;var h;(u=null!=a&&a.length&&e.getCanMultiSort()&&r?s?"toggle":"add":null!=a&&a.length&&l!==a.length-1?"replace":s?"toggle":"replace","toggle"===u&&(o||i||(u="remove")),"add"===u)?(c=[...a,{id:e.id,desc:f}],c.splice(0,c.length-(null!=(h=t.options.maxMultiSortColCount)?h:Number.MAX_SAFE_INTEGER))):c="toggle"===u?a.map((t=>t.id===e.id?{...t,desc:f}:t)):"remove"===u?a.filter((t=>t.id!==e.id)):[{id:e.id,desc:f}];return c}))},e.getFirstSortDir=()=>{var n,r;return(null!=(n=null!=(r=e.columnDef.sortDescFirst)?r:t.options.sortDescFirst)?n:"desc"===e.getAutoSortDir())?"desc":"asc"},e.getNextSortingOrder=n=>{var r,i;const o=e.getFirstSortDir(),a=e.getIsSorted();return a?!!(a===o||null!=(r=t.options.enableSortingRemoval)&&!r||n&&null!=(i=t.options.enableMultiRemove)&&!i)&&("desc"===a?"asc":"desc"):o},e.getCanSort=()=>{var n,r;return(null==(n=e.columnDef.enableSorting)||n)&&(null==(r=t.options.enableSorting)||r)&&!!e.accessorFn},e.getCanMultiSort=()=>{var n,r;return null!=(n=null!=(r=e.columnDef.enableMultiSort)?r:t.options.enableMultiSort)?n:!!e.accessorFn},e.getIsSorted=()=>{var n;const r=null==(n=t.getState().sorting)?void 0:n.find((t=>t.id===e.id));return!!r&&(r.desc?"desc":"asc")},e.getSortIndex=()=>{var n,r;return null!=(n=null==(r=t.getState().sorting)?void 0:r.findIndex((t=>t.id===e.id)))?n:-1},e.clearSorting=()=>{t.setSorting((t=>null!=t&&t.length?t.filter((t=>t.id!==e.id)):[]))},e.getToggleSortingHandler=()=>{const n=e.getCanSort();return r=>{n&&(null==r.persist||r.persist(),null==e.toggleSorting||e.toggleSorting(void 0,!!e.getCanMultiSort()&&(null==t.options.isMultiSortEvent?void 0:t.options.isMultiSortEvent(r))))}}},createTable:e=>{e.setSorting=t=>null==e.options.onSortingChange?void 0:e.options.onSortingChange(t),e.resetSorting=t=>{var n,r;e.setSorting(t?[]:null!=(n=null==(r=e.initialState)?void 0:r.sorting)?n:[])},e.getPreSortedRowModel=()=>e.getGroupedRowModel(),e.getSortedRowModel=()=>(!e._getSortedRowModel&&e.options.getSortedRowModel&&(e._getSortedRowModel=e.options.getSortedRowModel(e)),e.options.manualSorting||!e._getSortedRowModel?e.getPreSortedRowModel():e._getSortedRowModel())}},jB={getInitialState:e=>({columnVisibility:{},...e}),getDefaultOptions:e=>({onColumnVisibilityChange:Xz("columnVisibility",e)}),createColumn:(e,t)=>{e.toggleVisibility=n=>{e.getCanHide()&&t.setColumnVisibility((t=>({...t,[e.id]:null!=n?n:!e.getIsVisible()})))},e.getIsVisible=()=>{var n,r;const i=e.columns;return null==(n=i.length?i.some((e=>e.getIsVisible())):null==(r=t.getState().columnVisibility)?void 0:r[e.id])||n},e.getCanHide=()=>{var n,r;return(null==(n=e.columnDef.enableHiding)||n)&&(null==(r=t.options.enableHiding)||r)},e.getToggleVisibilityHandler=()=>t=>{null==e.toggleVisibility||e.toggleVisibility(t.target.checked)}},createRow:(e,t)=>{e._getAllVisibleCells=Zz((()=>[e.getAllCells(),t.getState().columnVisibility]),(e=>e.filter((e=>e.column.getIsVisible()))),Qz(t.options,"debugRows")),e.getVisibleCells=Zz((()=>[e.getLeftVisibleCells(),e.getCenterVisibleCells(),e.getRightVisibleCells()]),((e,t,n)=>[...e,...t,...n]),Qz(t.options,"debugRows"))},createTable:e=>{const t=(t,n)=>Zz((()=>[n(),n().filter((e=>e.getIsVisible())).map((e=>e.id)).join("_")]),(e=>e.filter((e=>null==e.getIsVisible?void 0:e.getIsVisible()))),Qz(e.options,"debugColumns"));e.getVisibleFlatColumns=t(0,(()=>e.getAllFlatColumns())),e.getVisibleLeafColumns=t(0,(()=>e.getAllLeafColumns())),e.getLeftVisibleLeafColumns=t(0,(()=>e.getLeftLeafColumns())),e.getRightVisibleLeafColumns=t(0,(()=>e.getRightLeafColumns())),e.getCenterVisibleLeafColumns=t(0,(()=>e.getCenterLeafColumns())),e.setColumnVisibility=t=>null==e.options.onColumnVisibilityChange?void 0:e.options.onColumnVisibilityChange(t),e.resetColumnVisibility=t=>{var n;e.setColumnVisibility(t?{}:null!=(n=e.initialState.columnVisibility)?n:{})},e.toggleAllColumnsVisible=t=>{var n;t=null!=(n=t)?n:!e.getIsAllColumnsVisible(),e.setColumnVisibility(e.getAllLeafColumns().reduce(((e,n)=>({...e,[n.id]:t||!(null!=n.getCanHide&&n.getCanHide())})),{}))},e.getIsAllColumnsVisible=()=>!e.getAllLeafColumns().some((e=>!(null!=e.getIsVisible&&e.getIsVisible()))),e.getIsSomeColumnsVisible=()=>e.getAllLeafColumns().some((e=>null==e.getIsVisible?void 0:e.getIsVisible())),e.getToggleAllColumnsVisibilityHandler=()=>t=>{var n;e.toggleAllColumnsVisible(null==(n=t.target)?void 0:n.checked)}}};function FB(e,t){return t?"center"===t?e.getCenterVisibleLeafColumns():"left"===t?e.getLeftVisibleLeafColumns():e.getRightVisibleLeafColumns():e.getVisibleLeafColumns()}const zB=[tB,jB,SB,CB,yB,NB,_B,sB,kB,EB,iB];function BB(e){var t;(e.debugAll||e.debugTable)&&console.info("Creating Table Instance...");let n={_features:zB};const r=n._features.reduce(((e,t)=>Object.assign(e,null==t.getDefaultOptions?void 0:t.getDefaultOptions(n))),{});let i={...null!=(t=e.initialState)?t:{}};n._features.forEach((e=>{var t;i=null!=(t=null==e.getInitialState?void 0:e.getInitialState(i))?t:i}));const o=[];let a=!1;const s={_features:zB,options:{...r,...e},initialState:i,_queue:e=>{o.push(e),a||(a=!0,Promise.resolve().then((()=>{for(;o.length;)o.shift()();a=!1})).catch((e=>setTimeout((()=>{throw e})))))},reset:()=>{n.setState(n.initialState)},setOptions:e=>{const t=qz(e,n.options);n.options=(e=>n.options.mergeOptions?n.options.mergeOptions(r,e):{...r,...e})(t)},getState:()=>n.options.state,setState:e=>{null==n.options.onStateChange||n.options.onStateChange(e)},_getRowId:(e,t,r)=>{var i;return null!=(i=null==n.options.getRowId?void 0:n.options.getRowId(e,t,r))?i:`${r?[r.id,t].join("."):t}`},getCoreRowModel:()=>(n._getCoreRowModel||(n._getCoreRowModel=n.options.getCoreRowModel(n)),n._getCoreRowModel()),getRowModel:()=>n.getPaginationRowModel(),getRow:(e,t)=>{let r=(t?n.getPrePaginationRowModel():n.getRowModel()).rowsById[e];if(!r&&(r=n.getCoreRowModel().rowsById[e],!r))throw new Error;return r},_getDefaultColumnDef:Zz((()=>[n.options.defaultColumn]),(e=>{var t;return e=null!=(t=e)?t:{},{header:e=>{const t=e.header.column.columnDef;return t.accessorKey?t.accessorKey:t.accessorFn?t.id:null},cell:e=>{var t,n;return null!=(t=null==(n=e.renderValue())||null==n.toString?void 0:n.toString())?t:null},...n._features.reduce(((e,t)=>Object.assign(e,null==t.getDefaultColumnDef?void 0:t.getDefaultColumnDef())),{}),...e}}),Qz(e,"debugColumns")),_getColumnDefs:()=>n.options.columns,getAllColumns:Zz((()=>[n._getColumnDefs()]),(e=>{const t=function(e,r,i){return void 0===i&&(i=0),e.map((e=>{const o=function(e,t,n,r){var i,o;const a={...e._getDefaultColumnDef(),...t},s=a.accessorKey;let l,u=null!=(i=null!=(o=a.id)?o:s?s.replace(".","_"):void 0)?i:"string"==typeof a.header?a.header:void 0;if(a.accessorFn?l=a.accessorFn:s&&(l=s.includes(".")?e=>{let t=e;for(const e of s.split(".")){var n;t=null==(n=t)?void 0:n[e]}return t}:e=>e[a.accessorKey]),!u)throw new Error;let c={id:`${String(u)}`,accessorFn:l,parent:r,depth:n,columnDef:a,columns:[],getFlatColumns:Zz((()=>[!0]),(()=>{var e;return[c,...null==(e=c.columns)?void 0:e.flatMap((e=>e.getFlatColumns()))]}),Qz(e.options,"debugColumns")),getLeafColumns:Zz((()=>[e._getOrderColumnsFn()]),(e=>{var t;if(null!=(t=c.columns)&&t.length){let t=c.columns.flatMap((e=>e.getLeafColumns()));return e(t)}return[c]}),Qz(e.options,"debugColumns"))};for(const t of e._features)null==t.createColumn||t.createColumn(c,e);return c}(n,e,i,r),a=e;return o.columns=a.columns?t(a.columns,o,i+1):[],o}))};return t(e)}),Qz(e,"debugColumns")),getAllFlatColumns:Zz((()=>[n.getAllColumns()]),(e=>e.flatMap((e=>e.getFlatColumns()))),Qz(e,"debugColumns")),_getAllFlatColumnsById:Zz((()=>[n.getAllFlatColumns()]),(e=>e.reduce(((e,t)=>(e[t.id]=t,e)),{})),Qz(e,"debugColumns")),getAllLeafColumns:Zz((()=>[n.getAllColumns(),n._getOrderColumnsFn()]),((e,t)=>{let n=e.flatMap((e=>e.getLeafColumns()));return t(n)}),Qz(e,"debugColumns")),getColumn:e=>n._getAllFlatColumnsById()[e]};Object.assign(n,s);for(let e=0;e<n._features.length;e++){const t=n._features[e];null==t||null==t.createTable||t.createTable(n)}return n}const VB=(e,t,n,r,i,o,a)=>{let s={id:t,index:r,original:n,depth:i,parentId:a,_valuesCache:{},_uniqueValuesCache:{},getValue:t=>{if(s._valuesCache.hasOwnProperty(t))return s._valuesCache[t];const n=e.getColumn(t);return null!=n&&n.accessorFn?(s._valuesCache[t]=n.accessorFn(s.original,r),s._valuesCache[t]):void 0},getUniqueValues:t=>{if(s._uniqueValuesCache.hasOwnProperty(t))return s._uniqueValuesCache[t];const n=e.getColumn(t);return null!=n&&n.accessorFn?n.columnDef.getUniqueValues?(s._uniqueValuesCache[t]=n.columnDef.getUniqueValues(s.original,r),s._uniqueValuesCache[t]):(s._uniqueValuesCache[t]=[s.getValue(t)],s._uniqueValuesCache[t]):void 0},renderValue:t=>{var n;return null!=(n=s.getValue(t))?n:e.options.renderFallbackValue},subRows:null!=o?o:[],getLeafRows:()=>Kz(s.subRows,(e=>e.subRows)),getParentRow:()=>s.parentId?e.getRow(s.parentId,!0):void 0,getParentRows:()=>{let e=[],t=s;for(;;){const n=t.getParentRow();if(!n)break;e.push(n),t=n}return e.reverse()},getAllCells:Zz((()=>[e.getAllLeafColumns()]),(t=>t.map((t=>function(e,t,n,r){const i={id:`${t.id}_${n.id}`,row:t,column:n,getValue:()=>t.getValue(r),renderValue:()=>{var t;return null!=(t=i.getValue())?t:e.options.renderFallbackValue},getContext:Zz((()=>[e,n,t,i]),((e,t,n,r)=>({table:e,column:t,row:n,cell:r,getValue:r.getValue,renderValue:r.renderValue})),Qz(e.options,"debugCells"))};return e._features.forEach((r=>{null==r.createCell||r.createCell(i,n,t,e)}),{}),i}(e,s,t,t.id)))),Qz(e.options,"debugRows")),_getAllCellsByColumnId:Zz((()=>[s.getAllCells()]),(e=>e.reduce(((e,t)=>(e[t.column.id]=t,e)),{})),Qz(e.options,"debugRows"))};for(let t=0;t<e._features.length;t++){const n=e._features[t];null==n||null==n.createRow||n.createRow(s,e)}return s};function $B(e){const t=[],n=e=>{var r;t.push(e),null!=(r=e.subRows)&&r.length&&e.getIsExpanded()&&e.subRows.forEach(n)};return e.rows.forEach(n),{rows:t,flatRows:e.flatRows,rowsById:e.rowsById}}function HB(e,t){return e?function(e){return"function"==typeof e&&(()=>{const t=Object.getPrototypeOf(e);return t.prototype&&t.prototype.isReactComponent})()}(n=e)||"function"==typeof n||function(e){return"object"==typeof e&&"symbol"==typeof e.$$typeof&&["react.memo","react.forward_ref"].includes(e.$$typeof.description)}(n)?i.createElement(e,t):e:null;var n}const GB=e=>{let{data:t,cardDef:n,columns:r,manualPagination:o,manualSort:a,pageSize:s=25,isLoading:l=!1,selectRows:u,onRowClicked:c,...f}=e;const{totalEntries:h,offset:d,setOffset:p}=o||{},g=h?Math.ceil(h/s)||1:t.length,m=(d||0)+1,b=m+t.length-1,v=u?[wz.useRowSelect]:[],{prepareRow:y,page:w,canPreviousPage:x,canNextPage:_,nextPage:S,previousPage:k,selectedFlatRows:C,state:{pageIndex:E,sortBy:I,selectedRowIds:M}}=(0,wz.useTable)({columns:r,data:t,pageCount:g,manualPagination:!!o,manualSortBy:!!a,disableMultiSort:!!a,initialState:{pageIndex:d?d/s:0,pageSize:s,sortBy:a?.initialSortBy||[]}},wz.useSortBy,wz.usePagination,...v);(0,i.useEffect)((()=>{a&&a.setSortBy(I)}),[I,a]),(0,i.useEffect)((()=>{u&&u(C.map((e=>e.original.mapIndex)))}),[M,u]);const T={column:{base:1},spacing:0};return i.createElement(i.Fragment,null,i.createElement(Ow,Fe({overflow:"auto",width:"100%"},f),i.createElement(Lz,{size:"xs",isIndeterminate:!0,visibility:l?"visible":"hidden"}),!l&&!w.length&&i.createElement(sx,{fontSize:"small"},"No data found"),i.createElement(ex,T,w.map((e=>(y(e),i.createElement(Ow,{key:e.id,_hover:c&&{cursor:"pointer"},onClick:c&&!l?t=>c(e,t):void 0},l&&i.createElement(Wz,{"data-testid":"skeleton",height:80,width:"100%",display:"inline-block"}),!l&&HB(n.card,{row:e.original}))))))),(x||_)&&i.createElement(Bw,{alignItems:"center",justifyContent:"flex-start",my:4},i.createElement(C_,{variant:"ghost",onClick:()=>{k(),p&&p((E-1||0)*s)},disabled:!x,"aria-label":"Previous Page",title:"Previous Page",icon:i.createElement(IO,null)}),i.createElement(C_,{variant:"ghost",onClick:()=>{S(),p&&p((E+1)*s)},disabled:!_,"aria-label":"Next Page",title:"Next Page",icon:i.createElement(MO,null)}),i.createElement(sx,null,m,"-",b," of ",h||t.length)))},WB=(0,i.forwardRef)(((e,t)=>{let{indeterminate:n,checked:r,...o}=e;const a=(0,i.useRef)(null),s=t||a;return(0,i.useEffect)((()=>{s.current&&(s.current.indeterminate=!!n)}),[s,n]),i.createElement(IA,Fe({ref:s,isChecked:r},o))})),UB=e=>{let{data:t,columns:n,manualPagination:r,manualSort:o,pageSize:a=25,isLoading:s=!1,selectRows:l,onRowClicked:u}=e;const{totalEntries:c,offset:f,setOffset:h}=r||{},d=$t("gray.50","gray.900"),p=$t("gray.100","gray.700"),g=c?Math.ceil(c/a)||1:t.length,m=(f||0)+1,b=m+t.length-1,v=l?[wz.useRowSelect,e=>{e.visibleColumns.push((e=>[{id:"selection",Cell:e=>{let{row:t}=e;return i.createElement("div",null,i.createElement(WB,t.getToggleRowSelectedProps()))}},...e]))}]:[],{getTableProps:y,getTableBodyProps:w,allColumns:x,prepareRow:_,page:S,canPreviousPage:k,canNextPage:C,nextPage:E,previousPage:I,selectedFlatRows:M,state:{pageIndex:T,sortBy:A,selectedRowIds:P}}=(0,wz.useTable)({columns:n,data:t,pageCount:g,manualPagination:!!r,manualSortBy:!!o,disableMultiSort:!!o,initialState:{pageIndex:f?f/a:0,pageSize:a,sortBy:o?.initialSortBy||[]}},wz.useSortBy,wz.usePagination,...v);return(0,i.useEffect)((()=>{o&&o.setSortBy(A)}),[A,o]),(0,i.useEffect)((()=>{l&&l(M.map((e=>e.original.mapIndex)))}),[P,l]),i.createElement(i.Fragment,null,i.createElement(nT,y(),i.createElement(oT,null,i.createElement(lT,null,x.map((e=>i.createElement(sT,e.getHeaderProps(e.getSortByToggleProps()),i.createElement(Bw,null,e.render("Header"),e.isSorted&&(e.isSortedDesc?i.createElement(xz,{"aria-label":"sorted descending",style:{display:"inline"},size:"1em"}):i.createElement(_z,{"aria-label":"sorted ascending",style:{display:"inline"},size:"1em"})),!e.isSorted&&e.canSort&&i.createElement(Sz,{"aria-label":"unsorted",style:{display:"inline"},size:"1em"}))))))),i.createElement(aT,w(),!t.length&&!s&&i.createElement(lT,null,i.createElement(uT,{colSpan:2},"No Data found.")),S.map((e=>(_(e),i.createElement(lT,Fe({},e.getRowProps(),{_odd:{backgroundColor:d},_hover:u&&{backgroundColor:p,cursor:"pointer"},onClick:u?t=>u(e,t):void 0}),e.cells.map((e=>i.createElement(uT,Fe({},e.getCellProps(),{py:3}),e.render("Cell")))))))))),(k||C)&&i.createElement(Bw,{alignItems:"center",justifyContent:"flex-start",my:4},i.createElement(C_,{variant:"ghost",onClick:()=>{I(),h&&h((T-1||0)*a)},disabled:!k,"aria-label":"Previous Page",title:"Previous Page",icon:i.createElement(IO,null)}),i.createElement(C_,{variant:"ghost",onClick:()=>{E(),h&&h((T+1)*a)},disabled:!C,"aria-label":"Next Page",title:"Next Page",icon:i.createElement(MO,null)}),i.createElement(sx,null,m,"-",b," of ",c||t.length)))};function qB(e){return L_({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M4 13h5"},child:[]},{tag:"path",attr:{d:"M12 16v-8h3a2 2 0 0 1 2 2v1a2 2 0 0 1 -2 2h-3"},child:[]},{tag:"path",attr:{d:"M20 8v8"},child:[]},{tag:"path",attr:{d:"M9 16v-5.5a2.5 2.5 0 0 0 -5 0v5.5"},child:[]}]})(e)}function XB(e){return L_({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M22 12h-5"},child:[]},{tag:"path",attr:{d:"M2 9h5"},child:[]},{tag:"path",attr:{d:"M2 15h5"},child:[]},{tag:"path",attr:{d:"M9 5c6 0 8 3.5 8 7s-2 7 -8 7h-2v-14h2z"},child:[]}]})(e)}function YB(e){return L_({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M22 12h-6"},child:[]},{tag:"path",attr:{d:"M2 9h7"},child:[]},{tag:"path",attr:{d:"M2 15h7"},child:[]},{tag:"path",attr:{d:"M8 5c10.667 2.1 10.667 12.6 0 14c1.806 -4.667 1.806 -9.333 0 -14z"},child:[]}]})(e)}const KB=Qy("grid_url"),ZB=Qy("dag_id")||"__DAG_ID__",QB=e=>{let{datasetEvent:t,showLink:n=!0}=e;const r=Sy(),{sourceDagId:o,sourceRunId:a,sourceTaskId:s,sourceMapIndex:l}=t,{data:u}=zC({dagId:o||"",dagRunId:a||"",taskId:s||"",mapIndex:l||void 0,options:{enabled:!!(o&&a&&s),refetchInterval:!1}});let c=`${KB?.replace(ZB,o||"")}?dag_run_id=${encodeURIComponent(a||"")}&task_id=${encodeURIComponent(s||"")}`;return null!=l&&l>-1&&(c=`${c}&map_index=${l}`),i.createElement(Ow,null,!!u&&i.createElement(mO,{label:i.createElement(qF,{instance:{...u,runId:a},dagId:o||void 0}),portalProps:{containerRef:r},hasArrow:!0,placement:"top"},i.createElement(Bw,{width:n?"30px":"16px"},i.createElement(KF,{state:u.state,mx:1}),n&&i.createElement(Uw,{color:"blue.600",href:c},i.createElement(iz,{size:"12px"})))))},JB=Qy("grid_url"),eV=Qy("dag_id")||"__DAG_ID__",tV=e=>{let{createdDagRuns:t,showLink:n=!0}=e;const r=Sy();return i.createElement(Bw,{alignItems:"center"},t.map((e=>{const t=e.dagRunId,o=`${JB.replace(eV,e.dagId||"")}?dag_run_id=${encodeURIComponent(t)}`;return i.createElement(mO,{key:t,label:i.createElement(Ow,null,i.createElement(sx,null,"DAG Id: ",e.dagId),i.createElement(sx,null,"Status: ",e.state||"no status"),i.createElement(sx,null,"Duration:"," ",Ay(Ty(e.startDate,e.endDate))),i.createElement(sx,null,"Start Date: ",i.createElement(qO,{dateTime:e.startDate})),e.endDate&&i.createElement(sx,null,"End Date: ",i.createElement(qO,{dateTime:e.endDate}))),portalProps:{containerRef:r},hasArrow:!0,placement:"top"},i.createElement(Bw,{width:n?"30px":"16px"},i.createElement(KF,{state:e.state,mx:1}),n&&i.createElement(Uw,{color:"blue.600",href:o},i.createElement(iz,{size:"12px"}))))})))},nV=Qy("datasets_url"),rV=e=>{let{datasetEvent:t,showSource:n=!0,showTriggeredDagRuns:r=!0}=e;const[o]=Ne(),a=decodeURIComponent(o.get("uri")||""),s=Sy(),{from_rest_api:l,...u}=t?.extra;return i.createElement(Ow,null,i.createElement(Vw,{templateColumns:"repeat(4, 1fr)",key:`${t.datasetId}-${t.timestamp}`,_hover:{bg:"gray.50"},transition:"background-color 0.2s",p:2,borderTopWidth:1,borderColor:"gray.300",borderStyle:"solid"},i.createElement(Hw,{colSpan:2},i.createElement(qO,{dateTime:t.timestamp}),i.createElement(Bw,{alignItems:"center"},i.createElement(YO,{size:"16px"}),t.datasetUri&&t.datasetUri!==a?i.createElement(Uw,{color:"blue.600",ml:2,href:`${nV}?uri=${encodeURIComponent(t.datasetUri)}`},t.datasetUri):i.createElement(sx,{ml:2},t.datasetUri))),i.createElement(Hw,null,n&&i.createElement(i.Fragment,null,"Source:",l&&i.createElement(mO,{portalProps:{containerRef:s},hasArrow:!0,placement:"top",label:"Manually created from REST API"},i.createElement(Ow,{width:"20px"},i.createElement(qB,{size:"20px"}))),!!t.sourceTaskId&&i.createElement(QB,{datasetEvent:t}))),i.createElement(Hw,null,r&&!!t?.createdDagruns?.length&&i.createElement(i.Fragment,null,"Triggered Dag Runs:",i.createElement(tV,{createdDagRuns:t?.createdDagruns})))),!(0,Yy.isEmpty)(u)&&i.createElement(cz,{content:u,bg:"gray.100",maxH:"300px",overflow:"auto",jsonProps:{collapsed:!0}}))},iV={card:e=>{let{row:t}=e;return i.createElement(rV,{datasetEvent:t,showSource:!1})}},oV=Qy("dag_id")||void 0,aV=e=>{let{runId:t,taskId:n}=e;const{data:{datasetEvents:r=[]},isLoading:o}=DC({sourceDagId:oV,sourceRunId:t,sourceTaskId:n}),a=(0,i.useMemo)((()=>[{Header:"When",accessor:"timestamp"},{Header:"Dataset",accessor:"datasetUri"},{Header:"Triggered Runs",accessor:"createdDagruns"},{Header:"Extra",accessor:"extra"}]),[]),s=(0,i.useMemo)((()=>r),[r]);return i.createElement(Ow,{my:3,flexGrow:1},i.createElement(sx,{as:"strong",mb:3},"Dataset Events"),i.createElement(sx,null,"Dataset updates caused by this task instance"),i.createElement(GB,{data:s,columns:a,isLoading:o,cardDef:iV}))},sV=e=>{let{taskInstance:t}=e;return t?.trigger&&t?.triggererJob?i.createElement(Ow,{mt:3,flexGrow:1},i.createElement(sx,{as:"strong",mb:3},"Triggerer info"),i.createElement(nT,{variant:"striped",mb:3},i.createElement(aT,null,i.createElement(lT,null,i.createElement(uT,null,"Trigger class"),i.createElement(uT,null,`${t?.trigger?.classpath}`)),i.createElement(lT,null,i.createElement(uT,null,"Trigger ID"),i.createElement(uT,null,`${t?.trigger?.id}`)),i.createElement(lT,null,i.createElement(uT,null,"Trigger creation time"),i.createElement(uT,null,`${t?.trigger?.createdDate}`)),i.createElement(lT,null,i.createElement(uT,null,"Assigned triggerer"),i.createElement(uT,null,`${t?.triggererJob?.hostname}`)),i.createElement(lT,null,i.createElement(uT,null,"Latest triggerer heartbeat"),i.createElement(uT,null,`${t?.triggererJob?.latestHeartbeat}`))))):null},lV=e=>{let{error:t}=e;return t?i.createElement(Qc,{status:"error",marginBottom:"10px"},i.createElement(ef,null),Dk(t)):null},uV=e=>{let{dagId:t,runId:n,taskId:r,mapIndex:o}=e;const{data:a,isLoading:s,error:l}=function(e){let{dagId:t,taskId:n,runId:r,mapIndex:i}=e;const{isRefreshOn:o}=hw();return(0,py.useQuery)(["taskFailedDependencies",t,n,r,i],(async()=>{const e=((i??-1)>=0?VC:BC).replace("_DAG_RUN_ID_",r).replace("_TASK_ID_/0/dependencies",`_TASK_ID_/${i}/dependencies`).replace("_TASK_ID_",n);return await Mk.get(e)}),{refetchInterval:o&&1e3*(autoRefreshInterval||1)})}({dagId:t,taskId:r,runId:n,mapIndex:o});return i.createElement(Ow,{mt:3,flexGrow:1},i.createElement(sx,{as:"strong",mb:3},"Task Failed Dependencies"),i.createElement("br",null),s&&i.createElement(Gc,{size:"md",thickness:"4px",speed:"0.65s"}),i.createElement(lV,{error:l}),a&&i.createElement(Ow,{mt:3},i.createElement(sx,null,"Dependencies Blocking Task From Getting Scheduled"),i.createElement(nT,{variant:"striped"},i.createElement(aT,null,i.createElement(lT,null,i.createElement(sT,null,"Dependency"),i.createElement(sT,null,"Reason")),a.dependencies?.map((e=>i.createElement(lT,{key:e.name},i.createElement(uT,null,e.name),i.createElement(uT,null,e.reason))))))))},cV=e=>{let{taskId:t}=e;const{data:n,isLoading:r,error:o}=function(e){let{taskId:t}=e;return(0,py.useQuery)(["taskDetails",t],(async()=>{const e=JC.replace("_TASK_ID_",t);return Mk.get(e)}))}({taskId:t});return r?i.createElement(Gc,{size:"md",thickness:"4px",speed:"0.65s"}):o?i.createElement(lV,{error:o}):n&&n.docMd?i.createElement(Ow,{mt:3,flexGrow:1},i.createElement(d_,{defaultIndex:[0],allowToggle:!0},i.createElement(f_,null,i.createElement(o_,{p:0,fontSize:"inherit"},i.createElement(Ow,{flex:"1",textAlign:"left"},i.createElement(sx,{as:"strong",size:"lg"},"Task Documentation")),i.createElement(c_,null)),i.createElement(h_,null,i.createElement(PF,null,n.docMd))))):null},fV=Qy("dag_id"),hV=e=>{let{taskId:t,runId:n,mapIndex:r}=e;const o=(0,i.useRef)(null),a=Ky(o),s=!(void 0===r),{data:{dagRuns:l,groups:u}}=CC(),c=nw({taskId:t,task:u}),f=l.find((e=>e.runId===n)),h=c?.children,d=c?.isMapped,p=c?.operator,g=!!h,m=g||!!d&&!s&&t,{data:b}=zC({dagId:fV,dagRunId:n,taskId:t,mapIndex:r,options:{enabled:!g&&!d||s}}),v=!(m||b?.state&&"scheduled"!==b?.state),y=c?.instances.find((e=>e.runId===n));return i.createElement(Ow,{py:"4px",height:"100%",maxHeight:`calc(100% - ${a}px)`,ref:o,overflowY:"auto"},!g&&f?.executionDate&&i.createElement(BF,{taskId:t,isMapped:d,mapIndex:r,executionDate:f?.executionDate,operator:p}),!m&&i.createElement(cV,{taskId:t}),!m&&i.createElement(DF,{dagId:fV,runId:n,taskId:t,mapIndex:r,initialValue:y?.note||b?.note,key:fV+n+t+r,isAbandonedTask:!!t&&!c}),!!c?.extraLinks?.length&&!m&&f?.executionDate&&i.createElement(VF,{taskId:t,dagId:fV,mapIndex:d&&s?r:void 0,executionDate:f.executionDate,extraLinks:c.extraLinks,tryNumber:b?.tryNumber||y?.tryNumber||1}),c?.hasOutletDatasets&&i.createElement(aV,{taskId:t,runId:n}),i.createElement(sV,{taskInstance:b}),v&&i.createElement(uV,{dagId:fV,runId:n,taskId:t,mapIndex:d&&s?r:void 0}),i.createElement(yz,{gridInstance:y,taskInstance:b,group:c}))},dV=Qy("dag_id"),pV={card:e=>{let{row:t}=e;return i.createElement(rV,{datasetEvent:t,showTriggeredDagRuns:!1})}},gV=e=>{let{runId:t}=e;const{data:{datasetEvents:n=[]},isLoading:r}=jC({dagRunId:t,dagId:dV}),o=(0,i.useMemo)((()=>[{Header:"When",accessor:"timestamp"},{Header:"Dataset",accessor:"datasetUri"},{Header:"Source Task Instance",accessor:"sourceTaskId"},{Header:"Extra",accessor:"extra"}]),[]),a=(0,i.useMemo)((()=>n),[n]);return i.createElement(Ow,{mt:3,flexGrow:1},i.createElement(sx,{as:"strong",mb:3},"Dataset Events"),i.createElement(sx,null,"Dataset updates that triggered this DAG run."),i.createElement(GB,{data:a,columns:o,isLoading:r,cardDef:pV}))},mV=e=>{let{run:t}=e;if(!t)return null;const{state:n,runType:r,lastSchedulingDecision:o,dataIntervalStart:a,dataIntervalEnd:s,startDate:l,endDate:u,queuedAt:c,externalTrigger:f,conf:h}=t;return i.createElement(Ow,{mt:3,flexGrow:1},i.createElement(sx,{as:"strong",mb:3},"Dag Run Details"),i.createElement(nT,{variant:"striped"},i.createElement(aT,null,i.createElement(lT,null,i.createElement(uT,null,"Status"),i.createElement(uT,null,i.createElement(Bw,null,i.createElement(KF,{state:n,mx:2}),n||"no status"))),i.createElement(lT,null,i.createElement(uT,null,"Run ID"),i.createElement(uT,null,i.createElement(az,{value:t.runId}))),i.createElement(lT,null,i.createElement(uT,null,"Run type"),i.createElement(uT,null,i.createElement(ZO,{runType:r}),r)),l&&i.createElement(lT,null,i.createElement(uT,null,"Run duration"),i.createElement(uT,null,Ay(Ty(l,u)))),o&&i.createElement(lT,null,i.createElement(uT,null,"Last scheduling decision"),i.createElement(uT,null,i.createElement(qO,{dateTime:o}))),c&&i.createElement(lT,null,i.createElement(uT,null,"Queued at"),i.createElement(uT,null,i.createElement(qO,{dateTime:c}))),l&&i.createElement(lT,null,i.createElement(uT,null,"Started"),i.createElement(uT,null,i.createElement(qO,{dateTime:l}))),u&&i.createElement(lT,null,i.createElement(uT,null,"Ended"),i.createElement(uT,null,i.createElement(qO,{dateTime:u}))),a&&s&&i.createElement(i.Fragment,null,i.createElement(lT,null,i.createElement(uT,null,"Data interval start"),i.createElement(uT,null,i.createElement(qO,{dateTime:a}))),i.createElement(lT,null,i.createElement(uT,null,"Data interval end"),i.createElement(uT,null,i.createElement(qO,{dateTime:s})))),i.createElement(lT,null,i.createElement(uT,null,"Externally triggered"),i.createElement(uT,null,f?"True":"False")),i.createElement(lT,null,i.createElement(uT,null,"Run config"),i.createElement(uT,null,i.createElement(cz,{content:h??"None"}))))))},bV=Qy("dag_id"),vV=e=>{let{runId:t}=e;const{data:{dagRuns:n}}=CC(),r=(0,i.useRef)(null),o=Ky(r),a=n.find((e=>e.runId===t));if(!a)return null;const{runType:s,note:l}=a;return i.createElement(Ow,{maxHeight:`calc(100% - ${o}px)`,ref:r,overflowY:"auto",pb:4},i.createElement(DF,{dagId:bV,runId:t,initialValue:l,key:bV+t}),"dataset_triggered"===s&&i.createElement(gV,{runId:t}),i.createElement(mV,{run:a}))},yV=e=>{let{data:t}=e;return i.createElement(Bw,{flexWrap:"wrap"},!!t&&["days","day","seconds","microseconds","years","year","months","month","leapdays","hours","hour","minutes","minute","second","microsecond"].map((e=>!!t[e]&&i.createElement(sx,{mr:1,key:e},t[e]," ",e))))},wV=Qy("dag_id"),xV=Qy("tag_index_url"),_V=Qy("task_instances_list_url"),SV=()=>{const{data:{dagRuns:e,groups:t}}=CC(),n=(0,i.useRef)(null),r=Ky(n),{data:o,isLoading:a}=UC(),s=new Ok({_flt_3_dag_id:wV}),l=e=>(s.set("_flt_3_state",e),tw(_V,s)),u=rw({task:t}),c=Jy(),f=[];e.forEach((e=>{f.push(Ty(e.startDate,e.endDate));const t=null==e.state?"no_status":e.state;c.has(t)&&c.set(t,(c.get(t)||0)+1)}));const h=[];c.forEach(((e,t)=>{e>0&&h.push(i.createElement(lT,{key:t},i.createElement(uT,null,i.createElement(Bw,{alignItems:"center"},i.createElement(KF,{state:t}),i.createElement(Uw,{href:l(t),title:`View all ${t} DAGS`,color:"blue",ml:"5px"},"Total ",t))),i.createElement(uT,null,e)))}));const d=Math.max.apply(null,f),p=Math.min.apply(null,f),g=(0,Yy.mean)(f),m=e[0]?.startDate,b=e[e.length-1]?.startDate;return i.createElement(Ow,{height:"100%",maxHeight:`calc(100% - ${r}px)`,ref:n,overflowY:"auto"},i.createElement(nT,{variant:"striped"},i.createElement(aT,null,f.length>0&&i.createElement(i.Fragment,null,i.createElement(lT,{borderBottomWidth:2,borderBottomColor:"gray.300"},i.createElement(uT,null,i.createElement(Gw,{size:"sm"},"DAG Runs Summary")),i.createElement(uT,null)),i.createElement(lT,null,i.createElement(uT,null,"Total Runs Displayed"),i.createElement(uT,null,f.length)),h,m&&i.createElement(lT,null,i.createElement(uT,null,"First Run Start"),i.createElement(uT,null,i.createElement(qO,{dateTime:m}))),b&&i.createElement(lT,null,i.createElement(uT,null,"Last Run Start"),i.createElement(uT,null,i.createElement(qO,{dateTime:b}))),i.createElement(lT,null,i.createElement(uT,null,"Max Run Duration"),i.createElement(uT,null,Ay(d))),i.createElement(lT,null,i.createElement(uT,null,"Mean Run Duration"),i.createElement(uT,null,Ay(g))),i.createElement(lT,null,i.createElement(uT,null,"Min Run Duration"),i.createElement(uT,null,Ay(p)))),i.createElement(lT,{borderBottomWidth:2,borderBottomColor:"gray.300"},i.createElement(uT,null,i.createElement(Gw,{size:"sm"},"DAG Summary")),i.createElement(uT,null)),i.createElement(lT,null,i.createElement(uT,null,"Total Tasks"),i.createElement(uT,null,u.taskCount)),!!u.groupCount&&i.createElement(lT,null,i.createElement(uT,null,"Total Task Groups"),i.createElement(uT,null,u.groupCount)),Object.entries(u.operators).map((e=>{let[t,n]=e;return i.createElement(lT,{key:t},i.createElement(uT,null,t,n>1&&"s"),i.createElement(uT,null,n))})),!a&&!!o&&i.createElement(i.Fragment,null,i.createElement(lT,{borderBottomWidth:2,borderBottomColor:"gray.300"},i.createElement(uT,null,i.createElement(Gw,{size:"sm"},"DAG Details")),i.createElement(uT,null)),!!o.datasetExpression&&i.createElement(lT,null,i.createElement(uT,null,"Dataset Conditions"),i.createElement(uT,null,i.createElement(jw,null,i.createElement("pre",null,JSON.stringify(o.datasetExpression,null,2))))),((e,t)=>i.createElement(i.Fragment,null,Object.entries(e).map((e=>{let[n,r]=e;return!t.includes(n)&&i.createElement(lT,{key:n},i.createElement(uT,null,(e=>{if(e){const t=e.replace(/([A-Z])/g," $1");return t[0].toUpperCase()+t.substring(1).toLowerCase()}return""})(n)),i.createElement(uT,null,(e=>Number.isNaN(Date.parse(e))||!Number.isNaN(e)?e:i.createElement(qO,{dateTime:e}))(String(r))))}))))(o,["defaultView","fileToken","scheduleInterval","tags","owners","params","dagRunTimeout"]),i.createElement(lT,null,i.createElement(uT,null,"Owners"),i.createElement(uT,null,i.createElement(Bw,{flexWrap:"wrap"},o.owners?.map((e=>i.createElement(Pw,{key:e,colorScheme:"blue"},e)))))),i.createElement(lT,null,i.createElement(uT,null,"Tags"),i.createElement(uT,null,o.tags&&o.tags?.length>0?i.createElement(Bw,{flexWrap:"wrap"},o.tags?.map((e=>i.createElement(w_,{key:e.name,as:Uw,colorScheme:"teal",size:"xs",href:xV.replace("_TAG_NAME_",e?.name||""),mr:3},e.name)))):"No tags")),i.createElement(lT,null,i.createElement(uT,null,"Schedule interval"),i.createElement(uT,null,"CronExpression"===o.scheduleInterval?.type?i.createElement(sx,null,o.scheduleInterval?.value):i.createElement(yV,{data:(0,Yy.omit)(o.scheduleInterval,["type","value"])}))),i.createElement(lT,null,i.createElement(uT,null,"Dag run timeout"),i.createElement(uT,null,void 0===o.dagRunTimeout?.type?i.createElement(sx,null,"null"):i.createElement(yV,{data:(0,Yy.omit)(o.dagRunTimeout,["type"])}))),i.createElement(lT,null,i.createElement(uT,null,"Params"),i.createElement(uT,null,i.createElement(jw,{width:"100%"},i.createElement("pre",null,JSON.stringify(o.params,null,2)))))))))};var kV=(...e)=>e.filter(Boolean).join(" "),CV=e=>e?"":void 0,EV=Li((function(e,t){const n=Fi("Switch",e),{spacing:r="0.5rem",children:o,...a}=Ur(e),{state:s,getInputProps:l,getCheckboxProps:u,getRootProps:c,getLabelProps:f}=wA(a),h=(0,i.useMemo)((()=>({display:"inline-block",position:"relative",verticalAlign:"middle",lineHeight:0,...n.container})),[n.container]),d=(0,i.useMemo)((()=>({display:"inline-flex",flexShrink:0,justifyContent:"flex-start",boxSizing:"content-box",cursor:"pointer",...n.track})),[n.track]),p=(0,i.useMemo)((()=>({userSelect:"none",marginStart:r,...n.label})),[r,n.label]);return i.createElement(zi.label,{...c(),className:kV("chakra-switch",e.className),__css:h},i.createElement("input",{className:"chakra-switch__input",...l({},t)}),i.createElement(zi.span,{...u(),className:"chakra-switch__track",__css:d},i.createElement(zi.span,{__css:n.thumb,className:"chakra-switch__thumb","data-checked":CV(s.isChecked),"data-hover":CV(s.isHovered)})),o&&i.createElement(zi.span,{className:"chakra-switch__label",...f(),__css:p},o))}));EV.displayName="Switch";var IV=a(4848);function MV(e){if("string"==typeof e||"number"==typeof e)return""+e;let t="";if(Array.isArray(e))for(let n,r=0;r<e.length;r++)""!==(n=MV(e[r]))&&(t+=(t&&" ")+n);else for(let n in e)e[n]&&(t+=(t&&" ")+n);return t}var TV=a(9242);const{useSyncExternalStoreWithSelector:AV}=TV;function PV(e,t=e.getState,n){const r=AV(e.subscribe,e.getState,e.getServerState||e.getState,t,n);return(0,i.useDebugValue)(r),r}const OV=e=>{let t;const n=new Set,r=(e,r)=>{const i="function"==typeof e?e(t):e;if(!Object.is(i,t)){const e=t;t=(null!=r?r:"object"!=typeof i)?i:Object.assign({},t,i),n.forEach((n=>n(t,e)))}},i=()=>t,o={setState:r,getState:i,subscribe:e=>(n.add(e),()=>n.delete(e)),destroy:()=>{console.warn("[DEPRECATED] The `destroy` method will be unsupported in a future version. Instead use unsubscribe function returned by subscribe. Everything will be garbage-collected if store is garbage-collected."),n.clear()}};return t=e(r,i,o),o},DV=e=>e?OV(e):OV;function RV(e,t){if(Object.is(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;if(e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(const[n,r]of e)if(!Object.is(r,t.get(n)))return!1;return!0}if(e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(const n of e)if(!t.has(n))return!1;return!0}const n=Object.keys(e);if(n.length!==Object.keys(t).length)return!1;for(let r=0;r<n.length;r++)if(!Object.prototype.hasOwnProperty.call(t,n[r])||!Object.is(e[n[r]],t[n[r]]))return!1;return!0}var LV={value:()=>{}};function NV(){for(var e,t=0,n=arguments.length,r={};t<n;++t){if(!(e=arguments[t]+"")||e in r||/[\s.]/.test(e))throw new Error("illegal type: "+e);r[e]=[]}return new jV(r)}function jV(e){this._=e}function FV(e,t){return e.trim().split(/^|\s+/).map((function(e){var n="",r=e.indexOf(".");if(r>=0&&(n=e.slice(r+1),e=e.slice(0,r)),e&&!t.hasOwnProperty(e))throw new Error("unknown type: "+e);return{type:e,name:n}}))}function zV(e,t){for(var n,r=0,i=e.length;r<i;++r)if((n=e[r]).name===t)return n.value}function BV(e,t,n){for(var r=0,i=e.length;r<i;++r)if(e[r].name===t){e[r]=LV,e=e.slice(0,r).concat(e.slice(r+1));break}return null!=n&&e.push({name:t,value:n}),e}jV.prototype=NV.prototype={constructor:jV,on:function(e,t){var n,r=this._,i=FV(e+"",r),o=-1,a=i.length;if(!(arguments.length<2)){if(null!=t&&"function"!=typeof t)throw new Error("invalid callback: "+t);for(;++o<a;)if(n=(e=i[o]).type)r[n]=BV(r[n],e.name,t);else if(null==t)for(n in r)r[n]=BV(r[n],e.name,null);return this}for(;++o<a;)if((n=(e=i[o]).type)&&(n=zV(r[n],e.name)))return n},copy:function(){var e={},t=this._;for(var n in t)e[n]=t[n].slice();return new jV(e)},call:function(e,t){if((n=arguments.length-2)>0)for(var n,r,i=new Array(n),o=0;o<n;++o)i[o]=arguments[o+2];if(!this._.hasOwnProperty(e))throw new Error("unknown type: "+e);for(o=0,n=(r=this._[e]).length;o<n;++o)r[o].value.apply(t,i)},apply:function(e,t,n){if(!this._.hasOwnProperty(e))throw new Error("unknown type: "+e);for(var r=this._[e],i=0,o=r.length;i<o;++i)r[i].value.apply(t,n)}};const VV=NV;function $V(){}function HV(e){return null==e?$V:function(){return this.querySelector(e)}}function GV(e){return null==e?[]:Array.isArray(e)?e:Array.from(e)}function WV(){return[]}function UV(e){return null==e?WV:function(){return this.querySelectorAll(e)}}function qV(e){return function(){return this.matches(e)}}function XV(e){return function(t){return t.matches(e)}}var YV=Array.prototype.find;function KV(){return this.firstElementChild}var ZV=Array.prototype.filter;function QV(){return Array.from(this.children)}function JV(e){return new Array(e.length)}function e$(e,t){this.ownerDocument=e.ownerDocument,this.namespaceURI=e.namespaceURI,this._next=null,this._parent=e,this.__data__=t}function t$(e){return function(){return e}}function n$(e,t,n,r,i,o){for(var a,s=0,l=t.length,u=o.length;s<u;++s)(a=t[s])?(a.__data__=o[s],r[s]=a):n[s]=new e$(e,o[s]);for(;s<l;++s)(a=t[s])&&(i[s]=a)}function r$(e,t,n,r,i,o,a){var s,l,u,c=new Map,f=t.length,h=o.length,d=new Array(f);for(s=0;s<f;++s)(l=t[s])&&(d[s]=u=a.call(l,l.__data__,s,t)+"",c.has(u)?i[s]=l:c.set(u,l));for(s=0;s<h;++s)u=a.call(e,o[s],s,o)+"",(l=c.get(u))?(r[s]=l,l.__data__=o[s],c.delete(u)):n[s]=new e$(e,o[s]);for(s=0;s<f;++s)(l=t[s])&&c.get(d[s])===l&&(i[s]=l)}function i$(e){return e.__data__}function o$(e){return"object"==typeof e&&"length"in e?e:Array.from(e)}function a$(e,t){return e<t?-1:e>t?1:e>=t?0:NaN}e$.prototype={constructor:e$,appendChild:function(e){return this._parent.insertBefore(e,this._next)},insertBefore:function(e,t){return this._parent.insertBefore(e,t)},querySelector:function(e){return this._parent.querySelector(e)},querySelectorAll:function(e){return this._parent.querySelectorAll(e)}};var s$="http://www.w3.org/1999/xhtml";const l$={svg:"http://www.w3.org/2000/svg",xhtml:s$,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function u$(e){var t=e+="",n=t.indexOf(":");return n>=0&&"xmlns"!==(t=e.slice(0,n))&&(e=e.slice(n+1)),l$.hasOwnProperty(t)?{space:l$[t],local:e}:e}function c$(e){return function(){this.removeAttribute(e)}}function f$(e){return function(){this.removeAttributeNS(e.space,e.local)}}function h$(e,t){return function(){this.setAttribute(e,t)}}function d$(e,t){return function(){this.setAttributeNS(e.space,e.local,t)}}function p$(e,t){return function(){var n=t.apply(this,arguments);null==n?this.removeAttribute(e):this.setAttribute(e,n)}}function g$(e,t){return function(){var n=t.apply(this,arguments);null==n?this.removeAttributeNS(e.space,e.local):this.setAttributeNS(e.space,e.local,n)}}function m$(e){return e.ownerDocument&&e.ownerDocument.defaultView||e.document&&e||e.defaultView}function b$(e){return function(){this.style.removeProperty(e)}}function v$(e,t,n){return function(){this.style.setProperty(e,t,n)}}function y$(e,t,n){return function(){var r=t.apply(this,arguments);null==r?this.style.removeProperty(e):this.style.setProperty(e,r,n)}}function w$(e,t){return e.style.getPropertyValue(t)||m$(e).getComputedStyle(e,null).getPropertyValue(t)}function x$(e){return function(){delete this[e]}}function _$(e,t){return function(){this[e]=t}}function S$(e,t){return function(){var n=t.apply(this,arguments);null==n?delete this[e]:this[e]=n}}function k$(e){return e.trim().split(/^|\s+/)}function C$(e){return e.classList||new E$(e)}function E$(e){this._node=e,this._names=k$(e.getAttribute("class")||"")}function I$(e,t){for(var n=C$(e),r=-1,i=t.length;++r<i;)n.add(t[r])}function M$(e,t){for(var n=C$(e),r=-1,i=t.length;++r<i;)n.remove(t[r])}function T$(e){return function(){I$(this,e)}}function A$(e){return function(){M$(this,e)}}function P$(e,t){return function(){(t.apply(this,arguments)?I$:M$)(this,e)}}function O$(){this.textContent=""}function D$(e){return function(){this.textContent=e}}function R$(e){return function(){var t=e.apply(this,arguments);this.textContent=null==t?"":t}}function L$(){this.innerHTML=""}function N$(e){return function(){this.innerHTML=e}}function j$(e){return function(){var t=e.apply(this,arguments);this.innerHTML=null==t?"":t}}function F$(){this.nextSibling&&this.parentNode.appendChild(this)}function z$(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function B$(e){return function(){var t=this.ownerDocument,n=this.namespaceURI;return n===s$&&t.documentElement.namespaceURI===s$?t.createElement(e):t.createElementNS(n,e)}}function V$(e){return function(){return this.ownerDocument.createElementNS(e.space,e.local)}}function $$(e){var t=u$(e);return(t.local?V$:B$)(t)}function H$(){return null}function G$(){var e=this.parentNode;e&&e.removeChild(this)}function W$(){var e=this.cloneNode(!1),t=this.parentNode;return t?t.insertBefore(e,this.nextSibling):e}function U$(){var e=this.cloneNode(!0),t=this.parentNode;return t?t.insertBefore(e,this.nextSibling):e}function q$(e){return e.trim().split(/^|\s+/).map((function(e){var t="",n=e.indexOf(".");return n>=0&&(t=e.slice(n+1),e=e.slice(0,n)),{type:e,name:t}}))}function X$(e){return function(){var t=this.__on;if(t){for(var n,r=0,i=-1,o=t.length;r<o;++r)n=t[r],e.type&&n.type!==e.type||n.name!==e.name?t[++i]=n:this.removeEventListener(n.type,n.listener,n.options);++i?t.length=i:delete this.__on}}}function Y$(e,t,n){return function(){var r,i=this.__on,o=function(e){return function(t){e.call(this,t,this.__data__)}}(t);if(i)for(var a=0,s=i.length;a<s;++a)if((r=i[a]).type===e.type&&r.name===e.name)return this.removeEventListener(r.type,r.listener,r.options),this.addEventListener(r.type,r.listener=o,r.options=n),void(r.value=t);this.addEventListener(e.type,o,n),r={type:e.type,name:e.name,value:t,listener:o,options:n},i?i.push(r):this.__on=[r]}}function K$(e,t,n){var r=m$(e),i=r.CustomEvent;"function"==typeof i?i=new i(t,n):(i=r.document.createEvent("Event"),n?(i.initEvent(t,n.bubbles,n.cancelable),i.detail=n.detail):i.initEvent(t,!1,!1)),e.dispatchEvent(i)}function Z$(e,t){return function(){return K$(this,e,t)}}function Q$(e,t){return function(){return K$(this,e,t.apply(this,arguments))}}E$.prototype={add:function(e){this._names.indexOf(e)<0&&(this._names.push(e),this._node.setAttribute("class",this._names.join(" ")))},remove:function(e){var t=this._names.indexOf(e);t>=0&&(this._names.splice(t,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(e){return this._names.indexOf(e)>=0}};var J$=[null];function eH(e,t){this._groups=e,this._parents=t}function tH(){return new eH([[document.documentElement]],J$)}eH.prototype=tH.prototype={constructor:eH,select:function(e){"function"!=typeof e&&(e=HV(e));for(var t=this._groups,n=t.length,r=new Array(n),i=0;i<n;++i)for(var o,a,s=t[i],l=s.length,u=r[i]=new Array(l),c=0;c<l;++c)(o=s[c])&&(a=e.call(o,o.__data__,c,s))&&("__data__"in o&&(a.__data__=o.__data__),u[c]=a);return new eH(r,this._parents)},selectAll:function(e){e="function"==typeof e?function(e){return function(){return GV(e.apply(this,arguments))}}(e):UV(e);for(var t=this._groups,n=t.length,r=[],i=[],o=0;o<n;++o)for(var a,s=t[o],l=s.length,u=0;u<l;++u)(a=s[u])&&(r.push(e.call(a,a.__data__,u,s)),i.push(a));return new eH(r,i)},selectChild:function(e){return this.select(null==e?KV:function(e){return function(){return YV.call(this.children,e)}}("function"==typeof e?e:XV(e)))},selectChildren:function(e){return this.selectAll(null==e?QV:function(e){return function(){return ZV.call(this.children,e)}}("function"==typeof e?e:XV(e)))},filter:function(e){"function"!=typeof e&&(e=qV(e));for(var t=this._groups,n=t.length,r=new Array(n),i=0;i<n;++i)for(var o,a=t[i],s=a.length,l=r[i]=[],u=0;u<s;++u)(o=a[u])&&e.call(o,o.__data__,u,a)&&l.push(o);return new eH(r,this._parents)},data:function(e,t){if(!arguments.length)return Array.from(this,i$);var n=t?r$:n$,r=this._parents,i=this._groups;"function"!=typeof e&&(e=t$(e));for(var o=i.length,a=new Array(o),s=new Array(o),l=new Array(o),u=0;u<o;++u){var c=r[u],f=i[u],h=f.length,d=o$(e.call(c,c&&c.__data__,u,r)),p=d.length,g=s[u]=new Array(p),m=a[u]=new Array(p),b=l[u]=new Array(h);n(c,f,g,m,b,d,t);for(var v,y,w=0,x=0;w<p;++w)if(v=g[w]){for(w>=x&&(x=w+1);!(y=m[x])&&++x<p;);v._next=y||null}}return(a=new eH(a,r))._enter=s,a._exit=l,a},enter:function(){return new eH(this._enter||this._groups.map(JV),this._parents)},exit:function(){return new eH(this._exit||this._groups.map(JV),this._parents)},join:function(e,t,n){var r=this.enter(),i=this,o=this.exit();return"function"==typeof e?(r=e(r))&&(r=r.selection()):r=r.append(e+""),null!=t&&(i=t(i))&&(i=i.selection()),null==n?o.remove():n(o),r&&i?r.merge(i).order():i},merge:function(e){for(var t=e.selection?e.selection():e,n=this._groups,r=t._groups,i=n.length,o=r.length,a=Math.min(i,o),s=new Array(i),l=0;l<a;++l)for(var u,c=n[l],f=r[l],h=c.length,d=s[l]=new Array(h),p=0;p<h;++p)(u=c[p]||f[p])&&(d[p]=u);for(;l<i;++l)s[l]=n[l];return new eH(s,this._parents)},selection:function(){return this},order:function(){for(var e=this._groups,t=-1,n=e.length;++t<n;)for(var r,i=e[t],o=i.length-1,a=i[o];--o>=0;)(r=i[o])&&(a&&4^r.compareDocumentPosition(a)&&a.parentNode.insertBefore(r,a),a=r);return this},sort:function(e){function t(t,n){return t&&n?e(t.__data__,n.__data__):!t-!n}e||(e=a$);for(var n=this._groups,r=n.length,i=new Array(r),o=0;o<r;++o){for(var a,s=n[o],l=s.length,u=i[o]=new Array(l),c=0;c<l;++c)(a=s[c])&&(u[c]=a);u.sort(t)}return new eH(i,this._parents).order()},call:function(){var e=arguments[0];return arguments[0]=this,e.apply(null,arguments),this},nodes:function(){return Array.from(this)},node:function(){for(var e=this._groups,t=0,n=e.length;t<n;++t)for(var r=e[t],i=0,o=r.length;i<o;++i){var a=r[i];if(a)return a}return null},size:function(){let e=0;for(const t of this)++e;return e},empty:function(){return!this.node()},each:function(e){for(var t=this._groups,n=0,r=t.length;n<r;++n)for(var i,o=t[n],a=0,s=o.length;a<s;++a)(i=o[a])&&e.call(i,i.__data__,a,o);return this},attr:function(e,t){var n=u$(e);if(arguments.length<2){var r=this.node();return n.local?r.getAttributeNS(n.space,n.local):r.getAttribute(n)}return this.each((null==t?n.local?f$:c$:"function"==typeof t?n.local?g$:p$:n.local?d$:h$)(n,t))},style:function(e,t,n){return arguments.length>1?this.each((null==t?b$:"function"==typeof t?y$:v$)(e,t,null==n?"":n)):w$(this.node(),e)},property:function(e,t){return arguments.length>1?this.each((null==t?x$:"function"==typeof t?S$:_$)(e,t)):this.node()[e]},classed:function(e,t){var n=k$(e+"");if(arguments.length<2){for(var r=C$(this.node()),i=-1,o=n.length;++i<o;)if(!r.contains(n[i]))return!1;return!0}return this.each(("function"==typeof t?P$:t?T$:A$)(n,t))},text:function(e){return arguments.length?this.each(null==e?O$:("function"==typeof e?R$:D$)(e)):this.node().textContent},html:function(e){return arguments.length?this.each(null==e?L$:("function"==typeof e?j$:N$)(e)):this.node().innerHTML},raise:function(){return this.each(F$)},lower:function(){return this.each(z$)},append:function(e){var t="function"==typeof e?e:$$(e);return this.select((function(){return this.appendChild(t.apply(this,arguments))}))},insert:function(e,t){var n="function"==typeof e?e:$$(e),r=null==t?H$:"function"==typeof t?t:HV(t);return this.select((function(){return this.insertBefore(n.apply(this,arguments),r.apply(this,arguments)||null)}))},remove:function(){return this.each(G$)},clone:function(e){return this.select(e?U$:W$)},datum:function(e){return arguments.length?this.property("__data__",e):this.node().__data__},on:function(e,t,n){var r,i,o=q$(e+""),a=o.length;if(!(arguments.length<2)){for(s=t?Y$:X$,r=0;r<a;++r)this.each(s(o[r],t,n));return this}var s=this.node().__on;if(s)for(var l,u=0,c=s.length;u<c;++u)for(r=0,l=s[u];r<a;++r)if((i=o[r]).type===l.type&&i.name===l.name)return l.value},dispatch:function(e,t){return this.each(("function"==typeof t?Q$:Z$)(e,t))},[Symbol.iterator]:function*(){for(var e=this._groups,t=0,n=e.length;t<n;++t)for(var r,i=e[t],o=0,a=i.length;o<a;++o)(r=i[o])&&(yield r)}};const nH=tH;function rH(e){return"string"==typeof e?new eH([[document.querySelector(e)]],[document.documentElement]):new eH([[e]],J$)}function iH(e,t){if(e=function(e){let t;for(;t=e.sourceEvent;)e=t;return e}(e),void 0===t&&(t=e.currentTarget),t){var n=t.ownerSVGElement||t;if(n.createSVGPoint){var r=n.createSVGPoint();return r.x=e.clientX,r.y=e.clientY,[(r=r.matrixTransform(t.getScreenCTM().inverse())).x,r.y]}if(t.getBoundingClientRect){var i=t.getBoundingClientRect();return[e.clientX-i.left-t.clientLeft,e.clientY-i.top-t.clientTop]}}return[e.pageX,e.pageY]}const oH={passive:!1},aH={capture:!0,passive:!1};function sH(e){e.stopImmediatePropagation()}function lH(e){e.preventDefault(),e.stopImmediatePropagation()}const uH=e=>()=>e;function cH(e,{sourceEvent:t,subject:n,target:r,identifier:i,active:o,x:a,y:s,dx:l,dy:u,dispatch:c}){Object.defineProperties(this,{type:{value:e,enumerable:!0,configurable:!0},sourceEvent:{value:t,enumerable:!0,configurable:!0},subject:{value:n,enumerable:!0,configurable:!0},target:{value:r,enumerable:!0,configurable:!0},identifier:{value:i,enumerable:!0,configurable:!0},active:{value:o,enumerable:!0,configurable:!0},x:{value:a,enumerable:!0,configurable:!0},y:{value:s,enumerable:!0,configurable:!0},dx:{value:l,enumerable:!0,configurable:!0},dy:{value:u,enumerable:!0,configurable:!0},_:{value:c}})}function fH(e){return!e.ctrlKey&&!e.button}function hH(){return this.parentNode}function dH(e,t){return null==t?{x:e.x,y:e.y}:t}function pH(){return navigator.maxTouchPoints||"ontouchstart"in this}function gH(){var e,t,n,r,i=fH,o=hH,a=dH,s=pH,l={},u=VV("start","drag","end"),c=0,f=0;function h(e){e.on("mousedown.drag",d).filter(s).on("touchstart.drag",m).on("touchmove.drag",b,oH).on("touchend.drag touchcancel.drag",v).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function d(a,s){if(!r&&i.call(this,a,s)){var l=y(this,o.call(this,a,s),a,s,"mouse");l&&(rH(a.view).on("mousemove.drag",p,aH).on("mouseup.drag",g,aH),function(e){var t=e.document.documentElement,n=rH(e).on("dragstart.drag",lH,aH);"onselectstart"in t?n.on("selectstart.drag",lH,aH):(t.__noselect=t.style.MozUserSelect,t.style.MozUserSelect="none")}(a.view),sH(a),n=!1,e=a.clientX,t=a.clientY,l("start",a))}}function p(r){if(lH(r),!n){var i=r.clientX-e,o=r.clientY-t;n=i*i+o*o>f}l.mouse("drag",r)}function g(e){rH(e.view).on("mousemove.drag mouseup.drag",null),function(e,t){var n=e.document.documentElement,r=rH(e).on("dragstart.drag",null);t&&(r.on("click.drag",lH,aH),setTimeout((function(){r.on("click.drag",null)}),0)),"onselectstart"in n?r.on("selectstart.drag",null):(n.style.MozUserSelect=n.__noselect,delete n.__noselect)}(e.view,n),lH(e),l.mouse("end",e)}function m(e,t){if(i.call(this,e,t)){var n,r,a=e.changedTouches,s=o.call(this,e,t),l=a.length;for(n=0;n<l;++n)(r=y(this,s,e,t,a[n].identifier,a[n]))&&(sH(e),r("start",e,a[n]))}}function b(e){var t,n,r=e.changedTouches,i=r.length;for(t=0;t<i;++t)(n=l[r[t].identifier])&&(lH(e),n("drag",e,r[t]))}function v(e){var t,n,i=e.changedTouches,o=i.length;for(r&&clearTimeout(r),r=setTimeout((function(){r=null}),500),t=0;t<o;++t)(n=l[i[t].identifier])&&(sH(e),n("end",e,i[t]))}function y(e,t,n,r,i,o){var s,f,d,p=u.copy(),g=iH(o||n,t);if(null!=(d=a.call(e,new cH("beforestart",{sourceEvent:n,target:h,identifier:i,active:c,x:g[0],y:g[1],dx:0,dy:0,dispatch:p}),r)))return s=d.x-g[0]||0,f=d.y-g[1]||0,function n(o,a,u){var m,b=g;switch(o){case"start":l[i]=n,m=c++;break;case"end":delete l[i],--c;case"drag":g=iH(u||a,t),m=c}p.call(o,e,new cH(o,{sourceEvent:a,subject:d,target:h,identifier:i,active:m,x:g[0]+s,y:g[1]+f,dx:g[0]-b[0],dy:g[1]-b[1],dispatch:p}),r)}}return h.filter=function(e){return arguments.length?(i="function"==typeof e?e:uH(!!e),h):i},h.container=function(e){return arguments.length?(o="function"==typeof e?e:uH(e),h):o},h.subject=function(e){return arguments.length?(a="function"==typeof e?e:uH(e),h):a},h.touchable=function(e){return arguments.length?(s="function"==typeof e?e:uH(!!e),h):s},h.on=function(){var e=u.on.apply(u,arguments);return e===u?h:e},h.clickDistance=function(e){return arguments.length?(f=(e=+e)*e,h):Math.sqrt(f)},h}cH.prototype.on=function(){var e=this._.on.apply(this._,arguments);return e===this._?this:e};var mH={value:()=>{}};function bH(){for(var e,t=0,n=arguments.length,r={};t<n;++t){if(!(e=arguments[t]+"")||e in r||/[\s.]/.test(e))throw new Error("illegal type: "+e);r[e]=[]}return new vH(r)}function vH(e){this._=e}function yH(e,t){return e.trim().split(/^|\s+/).map((function(e){var n="",r=e.indexOf(".");if(r>=0&&(n=e.slice(r+1),e=e.slice(0,r)),e&&!t.hasOwnProperty(e))throw new Error("unknown type: "+e);return{type:e,name:n}}))}function wH(e,t){for(var n,r=0,i=e.length;r<i;++r)if((n=e[r]).name===t)return n.value}function xH(e,t,n){for(var r=0,i=e.length;r<i;++r)if(e[r].name===t){e[r]=mH,e=e.slice(0,r).concat(e.slice(r+1));break}return null!=n&&e.push({name:t,value:n}),e}vH.prototype=bH.prototype={constructor:vH,on:function(e,t){var n,r=this._,i=yH(e+"",r),o=-1,a=i.length;if(!(arguments.length<2)){if(null!=t&&"function"!=typeof t)throw new Error("invalid callback: "+t);for(;++o<a;)if(n=(e=i[o]).type)r[n]=xH(r[n],e.name,t);else if(null==t)for(n in r)r[n]=xH(r[n],e.name,null);return this}for(;++o<a;)if((n=(e=i[o]).type)&&(n=wH(r[n],e.name)))return n},copy:function(){var e={},t=this._;for(var n in t)e[n]=t[n].slice();return new vH(e)},call:function(e,t){if((n=arguments.length-2)>0)for(var n,r,i=new Array(n),o=0;o<n;++o)i[o]=arguments[o+2];if(!this._.hasOwnProperty(e))throw new Error("unknown type: "+e);for(o=0,n=(r=this._[e]).length;o<n;++o)r[o].value.apply(t,i)},apply:function(e,t,n){if(!this._.hasOwnProperty(e))throw new Error("unknown type: "+e);for(var r=this._[e],i=0,o=r.length;i<o;++i)r[i].value.apply(t,n)}};const _H=bH,SH={capture:!0,passive:!1};function kH(e){e.preventDefault(),e.stopImmediatePropagation()}function CH(e){var t=e.document.documentElement,n=rH(e).on("dragstart.drag",kH,SH);"onselectstart"in t?n.on("selectstart.drag",kH,SH):(t.__noselect=t.style.MozUserSelect,t.style.MozUserSelect="none")}function EH(e,t){var n=e.document.documentElement,r=rH(e).on("dragstart.drag",null);t&&(r.on("click.drag",kH,SH),setTimeout((function(){r.on("click.drag",null)}),0)),"onselectstart"in n?r.on("selectstart.drag",null):(n.style.MozUserSelect=n.__noselect,delete n.__noselect)}function IH(e){return((e=Math.exp(e))+1/e)/2}const MH=function e(t,n,r){function i(e,i){var o,a,s=e[0],l=e[1],u=e[2],c=i[0],f=i[1],h=i[2],d=c-s,p=f-l,g=d*d+p*p;if(g<1e-12)a=Math.log(h/u)/t,o=function(e){return[s+e*d,l+e*p,u*Math.exp(t*e*a)]};else{var m=Math.sqrt(g),b=(h*h-u*u+r*g)/(2*u*n*m),v=(h*h-u*u-r*g)/(2*h*n*m),y=Math.log(Math.sqrt(b*b+1)-b),w=Math.log(Math.sqrt(v*v+1)-v);a=(w-y)/t,o=function(e){var r,i=e*a,o=IH(y),c=u/(n*m)*(o*(r=t*i+y,((r=Math.exp(2*r))-1)/(r+1))-function(e){return((e=Math.exp(e))-1/e)/2}(y));return[s+c*d,l+c*p,u*o/IH(t*i+y)]}}return o.duration=1e3*a*t/Math.SQRT2,o}return i.rho=function(t){var n=Math.max(.001,+t),r=n*n;return e(n,r,r*r)},i}(Math.SQRT2,2,4);var TH,AH,PH=0,OH=0,DH=0,RH=0,LH=0,NH=0,jH="object"==typeof performance&&performance.now?performance:Date,FH="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(e){setTimeout(e,17)};function zH(){return LH||(FH(BH),LH=jH.now()+NH)}function BH(){LH=0}function VH(){this._call=this._time=this._next=null}function $H(e,t,n){var r=new VH;return r.restart(e,t,n),r}function HH(){LH=(RH=jH.now())+NH,PH=OH=0;try{!function(){zH(),++PH;for(var e,t=TH;t;)(e=LH-t._time)>=0&&t._call.call(void 0,e),t=t._next;--PH}()}finally{PH=0,function(){var e,t,n=TH,r=1/0;for(;n;)n._call?(r>n._time&&(r=n._time),e=n,n=n._next):(t=n._next,n._next=null,n=e?e._next=t:TH=t);AH=e,WH(r)}(),LH=0}}function GH(){var e=jH.now(),t=e-RH;t>1e3&&(NH-=t,RH=e)}function WH(e){PH||(OH&&(OH=clearTimeout(OH)),e-LH>24?(e<1/0&&(OH=setTimeout(HH,e-jH.now()-NH)),DH&&(DH=clearInterval(DH))):(DH||(RH=jH.now(),DH=setInterval(GH,1e3)),PH=1,FH(HH)))}function UH(e,t,n){var r=new VH;return t=null==t?0:+t,r.restart((n=>{r.stop(),e(n+t)}),t,n),r}VH.prototype=$H.prototype={constructor:VH,restart:function(e,t,n){if("function"!=typeof e)throw new TypeError("callback is not a function");n=(null==n?zH():+n)+(null==t?0:+t),this._next||AH===this||(AH?AH._next=this:TH=this,AH=this),this._call=e,this._time=n,WH()},stop:function(){this._call&&(this._call=null,this._time=1/0,WH())}};var qH=_H("start","end","cancel","interrupt"),XH=[];function YH(e,t,n,r,i,o){var a=e.__transition;if(a){if(n in a)return}else e.__transition={};!function(e,t,n){var r,i=e.__transition;function o(e){n.state=1,n.timer.restart(a,n.delay,n.time),n.delay<=e&&a(e-n.delay)}function a(o){var u,c,f,h;if(1!==n.state)return l();for(u in i)if((h=i[u]).name===n.name){if(3===h.state)return UH(a);4===h.state?(h.state=6,h.timer.stop(),h.on.call("interrupt",e,e.__data__,h.index,h.group),delete i[u]):+u<t&&(h.state=6,h.timer.stop(),h.on.call("cancel",e,e.__data__,h.index,h.group),delete i[u])}if(UH((function(){3===n.state&&(n.state=4,n.timer.restart(s,n.delay,n.time),s(o))})),n.state=2,n.on.call("start",e,e.__data__,n.index,n.group),2===n.state){for(n.state=3,r=new Array(f=n.tween.length),u=0,c=-1;u<f;++u)(h=n.tween[u].value.call(e,e.__data__,n.index,n.group))&&(r[++c]=h);r.length=c+1}}function s(t){for(var i=t<n.duration?n.ease.call(null,t/n.duration):(n.timer.restart(l),n.state=5,1),o=-1,a=r.length;++o<a;)r[o].call(e,i);5===n.state&&(n.on.call("end",e,e.__data__,n.index,n.group),l())}function l(){for(var r in n.state=6,n.timer.stop(),delete i[t],i)return;delete e.__transition}i[t]=n,n.timer=$H(o,0,n.time)}(e,n,{name:t,index:r,group:i,on:qH,tween:XH,time:o.time,delay:o.delay,duration:o.duration,ease:o.ease,timer:null,state:0})}function KH(e,t){var n=QH(e,t);if(n.state>0)throw new Error("too late; already scheduled");return n}function ZH(e,t){var n=QH(e,t);if(n.state>3)throw new Error("too late; already running");return n}function QH(e,t){var n=e.__transition;if(!n||!(n=n[t]))throw new Error("transition not found");return n}function JH(e,t){var n,r,i,o=e.__transition,a=!0;if(o){for(i in t=null==t?null:t+"",o)(n=o[i]).name===t?(r=n.state>2&&n.state<5,n.state=6,n.timer.stop(),n.on.call(r?"interrupt":"cancel",e,e.__data__,n.index,n.group),delete o[i]):a=!1;a&&delete e.__transition}}function eG(e,t){return e=+e,t=+t,function(n){return e*(1-n)+t*n}}var tG,nG=180/Math.PI,rG={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function iG(e,t,n,r,i,o){var a,s,l;return(a=Math.sqrt(e*e+t*t))&&(e/=a,t/=a),(l=e*n+t*r)&&(n-=e*l,r-=t*l),(s=Math.sqrt(n*n+r*r))&&(n/=s,r/=s,l/=s),e*r<t*n&&(e=-e,t=-t,l=-l,a=-a),{translateX:i,translateY:o,rotate:Math.atan2(t,e)*nG,skewX:Math.atan(l)*nG,scaleX:a,scaleY:s}}function oG(e,t,n,r){function i(e){return e.length?e.pop()+" ":""}return function(o,a){var s=[],l=[];return o=e(o),a=e(a),function(e,r,i,o,a,s){if(e!==i||r!==o){var l=a.push("translate(",null,t,null,n);s.push({i:l-4,x:eG(e,i)},{i:l-2,x:eG(r,o)})}else(i||o)&&a.push("translate("+i+t+o+n)}(o.translateX,o.translateY,a.translateX,a.translateY,s,l),function(e,t,n,o){e!==t?(e-t>180?t+=360:t-e>180&&(e+=360),o.push({i:n.push(i(n)+"rotate(",null,r)-2,x:eG(e,t)})):t&&n.push(i(n)+"rotate("+t+r)}(o.rotate,a.rotate,s,l),function(e,t,n,o){e!==t?o.push({i:n.push(i(n)+"skewX(",null,r)-2,x:eG(e,t)}):t&&n.push(i(n)+"skewX("+t+r)}(o.skewX,a.skewX,s,l),function(e,t,n,r,o,a){if(e!==n||t!==r){var s=o.push(i(o)+"scale(",null,",",null,")");a.push({i:s-4,x:eG(e,n)},{i:s-2,x:eG(t,r)})}else 1===n&&1===r||o.push(i(o)+"scale("+n+","+r+")")}(o.scaleX,o.scaleY,a.scaleX,a.scaleY,s,l),o=a=null,function(e){for(var t,n=-1,r=l.length;++n<r;)s[(t=l[n]).i]=t.x(e);return s.join("")}}}var aG=oG((function(e){const t=new("function"==typeof DOMMatrix?DOMMatrix:WebKitCSSMatrix)(e+"");return t.isIdentity?rG:iG(t.a,t.b,t.c,t.d,t.e,t.f)}),"px, ","px)","deg)"),sG=oG((function(e){return null==e?rG:(tG||(tG=document.createElementNS("http://www.w3.org/2000/svg","g")),tG.setAttribute("transform",e),(e=tG.transform.baseVal.consolidate())?iG((e=e.matrix).a,e.b,e.c,e.d,e.e,e.f):rG)}),", ",")",")");function lG(e,t){var n,r;return function(){var i=ZH(this,e),o=i.tween;if(o!==n)for(var a=0,s=(r=n=o).length;a<s;++a)if(r[a].name===t){(r=r.slice()).splice(a,1);break}i.tween=r}}function uG(e,t,n){var r,i;if("function"!=typeof n)throw new Error;return function(){var o=ZH(this,e),a=o.tween;if(a!==r){i=(r=a).slice();for(var s={name:t,value:n},l=0,u=i.length;l<u;++l)if(i[l].name===t){i[l]=s;break}l===u&&i.push(s)}o.tween=i}}function cG(e,t,n){var r=e._id;return e.each((function(){var e=ZH(this,r);(e.value||(e.value={}))[t]=n.apply(this,arguments)})),function(e){return QH(e,r).value[t]}}function fG(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function hG(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}function dG(){}var pG=.7,gG=1/pG,mG="\\s*([+-]?\\d+)\\s*",bG="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",vG="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",yG=/^#([0-9a-f]{3,8})$/,wG=new RegExp(`^rgb\\(${mG},${mG},${mG}\\)$`),xG=new RegExp(`^rgb\\(${vG},${vG},${vG}\\)$`),_G=new RegExp(`^rgba\\(${mG},${mG},${mG},${bG}\\)$`),SG=new RegExp(`^rgba\\(${vG},${vG},${vG},${bG}\\)$`),kG=new RegExp(`^hsl\\(${bG},${vG},${vG}\\)$`),CG=new RegExp(`^hsla\\(${bG},${vG},${vG},${bG}\\)$`),EG={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function IG(){return this.rgb().formatHex()}function MG(){return this.rgb().formatRgb()}function TG(e){var t,n;return e=(e+"").trim().toLowerCase(),(t=yG.exec(e))?(n=t[1].length,t=parseInt(t[1],16),6===n?AG(t):3===n?new RG(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===n?PG(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===n?PG(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|240&t,((15&t)<<4|15&t)/255):null):(t=wG.exec(e))?new RG(t[1],t[2],t[3],1):(t=xG.exec(e))?new RG(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=_G.exec(e))?PG(t[1],t[2],t[3],t[4]):(t=SG.exec(e))?PG(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=kG.exec(e))?BG(t[1],t[2]/100,t[3]/100,1):(t=CG.exec(e))?BG(t[1],t[2]/100,t[3]/100,t[4]):EG.hasOwnProperty(e)?AG(EG[e]):"transparent"===e?new RG(NaN,NaN,NaN,0):null}function AG(e){return new RG(e>>16&255,e>>8&255,255&e,1)}function PG(e,t,n,r){return r<=0&&(e=t=n=NaN),new RG(e,t,n,r)}function OG(e){return e instanceof dG||(e=TG(e)),e?new RG((e=e.rgb()).r,e.g,e.b,e.opacity):new RG}function DG(e,t,n,r){return 1===arguments.length?OG(e):new RG(e,t,n,null==r?1:r)}function RG(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}function LG(){return`#${zG(this.r)}${zG(this.g)}${zG(this.b)}`}function NG(){const e=jG(this.opacity);return`${1===e?"rgb(":"rgba("}${FG(this.r)}, ${FG(this.g)}, ${FG(this.b)}${1===e?")":`, ${e})`}`}function jG(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function FG(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function zG(e){return((e=FG(e))<16?"0":"")+e.toString(16)}function BG(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new $G(e,t,n,r)}function VG(e){if(e instanceof $G)return new $G(e.h,e.s,e.l,e.opacity);if(e instanceof dG||(e=TG(e)),!e)return new $G;if(e instanceof $G)return e;var t=(e=e.rgb()).r/255,n=e.g/255,r=e.b/255,i=Math.min(t,n,r),o=Math.max(t,n,r),a=NaN,s=o-i,l=(o+i)/2;return s?(a=t===o?(n-r)/s+6*(n<r):n===o?(r-t)/s+2:(t-n)/s+4,s/=l<.5?o+i:2-o-i,a*=60):s=l>0&&l<1?0:a,new $G(a,s,l,e.opacity)}function $G(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function HG(e){return(e=(e||0)%360)<0?e+360:e}function GG(e){return Math.max(0,Math.min(1,e||0))}function WG(e,t,n){return 255*(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)}function UG(e,t,n,r,i){var o=e*e,a=o*e;return((1-3*e+3*o-a)*t+(4-6*o+3*a)*n+(1+3*e+3*o-3*a)*r+a*i)/6}fG(dG,TG,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:IG,formatHex:IG,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return VG(this).formatHsl()},formatRgb:MG,toString:MG}),fG(RG,DG,hG(dG,{brighter(e){return e=null==e?gG:Math.pow(gG,e),new RG(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=null==e?pG:Math.pow(pG,e),new RG(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new RG(FG(this.r),FG(this.g),FG(this.b),jG(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:LG,formatHex:LG,formatHex8:function(){return`#${zG(this.r)}${zG(this.g)}${zG(this.b)}${zG(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:NG,toString:NG})),fG($G,(function(e,t,n,r){return 1===arguments.length?VG(e):new $G(e,t,n,null==r?1:r)}),hG(dG,{brighter(e){return e=null==e?gG:Math.pow(gG,e),new $G(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=null==e?pG:Math.pow(pG,e),new $G(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+360*(this.h<0),t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,i=2*n-r;return new RG(WG(e>=240?e-240:e+120,i,r),WG(e,i,r),WG(e<120?e+240:e-120,i,r),this.opacity)},clamp(){return new $G(HG(this.h),GG(this.s),GG(this.l),jG(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const e=jG(this.opacity);return`${1===e?"hsl(":"hsla("}${HG(this.h)}, ${100*GG(this.s)}%, ${100*GG(this.l)}%${1===e?")":`, ${e})`}`}}));const qG=e=>()=>e;function XG(e,t){return function(n){return e+n*t}}function YG(e){return 1==(e=+e)?KG:function(t,n){return n-t?function(e,t,n){return e=Math.pow(e,n),t=Math.pow(t,n)-e,n=1/n,function(r){return Math.pow(e+r*t,n)}}(t,n,e):qG(isNaN(t)?n:t)}}function KG(e,t){var n=t-e;return n?XG(e,n):qG(isNaN(e)?t:e)}const ZG=function e(t){var n=YG(t);function r(e,t){var r=n((e=DG(e)).r,(t=DG(t)).r),i=n(e.g,t.g),o=n(e.b,t.b),a=KG(e.opacity,t.opacity);return function(t){return e.r=r(t),e.g=i(t),e.b=o(t),e.opacity=a(t),e+""}}return r.gamma=e,r}(1);function QG(e){return function(t){var n,r,i=t.length,o=new Array(i),a=new Array(i),s=new Array(i);for(n=0;n<i;++n)r=DG(t[n]),o[n]=r.r||0,a[n]=r.g||0,s[n]=r.b||0;return o=e(o),a=e(a),s=e(s),r.opacity=1,function(e){return r.r=o(e),r.g=a(e),r.b=s(e),r+""}}}QG((function(e){var t=e.length-1;return function(n){var r=n<=0?n=0:n>=1?(n=1,t-1):Math.floor(n*t),i=e[r],o=e[r+1],a=r>0?e[r-1]:2*i-o,s=r<t-1?e[r+2]:2*o-i;return UG((n-r/t)*t,a,i,o,s)}})),QG((function(e){var t=e.length;return function(n){var r=Math.floor(((n%=1)<0?++n:n)*t),i=e[(r+t-1)%t],o=e[r%t],a=e[(r+1)%t],s=e[(r+2)%t];return UG((n-r/t)*t,i,o,a,s)}}));var JG=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,eW=new RegExp(JG.source,"g");function tW(e,t){var n,r,i,o=JG.lastIndex=eW.lastIndex=0,a=-1,s=[],l=[];for(e+="",t+="";(n=JG.exec(e))&&(r=eW.exec(t));)(i=r.index)>o&&(i=t.slice(o,i),s[a]?s[a]+=i:s[++a]=i),(n=n[0])===(r=r[0])?s[a]?s[a]+=r:s[++a]=r:(s[++a]=null,l.push({i:a,x:eG(n,r)})),o=eW.lastIndex;return o<t.length&&(i=t.slice(o),s[a]?s[a]+=i:s[++a]=i),s.length<2?l[0]?function(e){return function(t){return e(t)+""}}(l[0].x):function(e){return function(){return e}}(t):(t=l.length,function(e){for(var n,r=0;r<t;++r)s[(n=l[r]).i]=n.x(e);return s.join("")})}function nW(e,t){var n;return("number"==typeof t?eG:t instanceof TG?ZG:(n=TG(t))?(t=n,ZG):tW)(e,t)}function rW(e){return function(){this.removeAttribute(e)}}function iW(e){return function(){this.removeAttributeNS(e.space,e.local)}}function oW(e,t,n){var r,i,o=n+"";return function(){var a=this.getAttribute(e);return a===o?null:a===r?i:i=t(r=a,n)}}function aW(e,t,n){var r,i,o=n+"";return function(){var a=this.getAttributeNS(e.space,e.local);return a===o?null:a===r?i:i=t(r=a,n)}}function sW(e,t,n){var r,i,o;return function(){var a,s,l=n(this);if(null!=l)return(a=this.getAttribute(e))===(s=l+"")?null:a===r&&s===i?o:(i=s,o=t(r=a,l));this.removeAttribute(e)}}function lW(e,t,n){var r,i,o;return function(){var a,s,l=n(this);if(null!=l)return(a=this.getAttributeNS(e.space,e.local))===(s=l+"")?null:a===r&&s===i?o:(i=s,o=t(r=a,l));this.removeAttributeNS(e.space,e.local)}}function uW(e,t){return function(n){this.setAttribute(e,t.call(this,n))}}function cW(e,t){return function(n){this.setAttributeNS(e.space,e.local,t.call(this,n))}}function fW(e,t){var n,r;function i(){var i=t.apply(this,arguments);return i!==r&&(n=(r=i)&&cW(e,i)),n}return i._value=t,i}function hW(e,t){var n,r;function i(){var i=t.apply(this,arguments);return i!==r&&(n=(r=i)&&uW(e,i)),n}return i._value=t,i}function dW(e,t){return function(){KH(this,e).delay=+t.apply(this,arguments)}}function pW(e,t){return t=+t,function(){KH(this,e).delay=t}}function gW(e,t){return function(){ZH(this,e).duration=+t.apply(this,arguments)}}function mW(e,t){return t=+t,function(){ZH(this,e).duration=t}}function bW(e,t){if("function"!=typeof t)throw new Error;return function(){ZH(this,e).ease=t}}function vW(e,t,n){var r,i,o=function(e){return(e+"").trim().split(/^|\s+/).every((function(e){var t=e.indexOf(".");return t>=0&&(e=e.slice(0,t)),!e||"start"===e}))}(t)?KH:ZH;return function(){var a=o(this,e),s=a.on;s!==r&&(i=(r=s).copy()).on(t,n),a.on=i}}var yW=nH.prototype.constructor;function wW(e){return function(){this.style.removeProperty(e)}}function xW(e,t,n){return function(r){this.style.setProperty(e,t.call(this,r),n)}}function _W(e,t,n){var r,i;function o(){var o=t.apply(this,arguments);return o!==i&&(r=(i=o)&&xW(e,o,n)),r}return o._value=t,o}function SW(e){return function(t){this.textContent=e.call(this,t)}}function kW(e){var t,n;function r(){var r=e.apply(this,arguments);return r!==n&&(t=(n=r)&&SW(r)),t}return r._value=e,r}var CW=0;function EW(e,t,n,r){this._groups=e,this._parents=t,this._name=n,this._id=r}function IW(){return++CW}var MW=nH.prototype;EW.prototype=function(e){return nH().transition(e)}.prototype={constructor:EW,select:function(e){var t=this._name,n=this._id;"function"!=typeof e&&(e=HV(e));for(var r=this._groups,i=r.length,o=new Array(i),a=0;a<i;++a)for(var s,l,u=r[a],c=u.length,f=o[a]=new Array(c),h=0;h<c;++h)(s=u[h])&&(l=e.call(s,s.__data__,h,u))&&("__data__"in s&&(l.__data__=s.__data__),f[h]=l,YH(f[h],t,n,h,f,QH(s,n)));return new EW(o,this._parents,t,n)},selectAll:function(e){var t=this._name,n=this._id;"function"!=typeof e&&(e=UV(e));for(var r=this._groups,i=r.length,o=[],a=[],s=0;s<i;++s)for(var l,u=r[s],c=u.length,f=0;f<c;++f)if(l=u[f]){for(var h,d=e.call(l,l.__data__,f,u),p=QH(l,n),g=0,m=d.length;g<m;++g)(h=d[g])&&YH(h,t,n,g,d,p);o.push(d),a.push(l)}return new EW(o,a,t,n)},selectChild:MW.selectChild,selectChildren:MW.selectChildren,filter:function(e){"function"!=typeof e&&(e=qV(e));for(var t=this._groups,n=t.length,r=new Array(n),i=0;i<n;++i)for(var o,a=t[i],s=a.length,l=r[i]=[],u=0;u<s;++u)(o=a[u])&&e.call(o,o.__data__,u,a)&&l.push(o);return new EW(r,this._parents,this._name,this._id)},merge:function(e){if(e._id!==this._id)throw new Error;for(var t=this._groups,n=e._groups,r=t.length,i=n.length,o=Math.min(r,i),a=new Array(r),s=0;s<o;++s)for(var l,u=t[s],c=n[s],f=u.length,h=a[s]=new Array(f),d=0;d<f;++d)(l=u[d]||c[d])&&(h[d]=l);for(;s<r;++s)a[s]=t[s];return new EW(a,this._parents,this._name,this._id)},selection:function(){return new yW(this._groups,this._parents)},transition:function(){for(var e=this._name,t=this._id,n=IW(),r=this._groups,i=r.length,o=0;o<i;++o)for(var a,s=r[o],l=s.length,u=0;u<l;++u)if(a=s[u]){var c=QH(a,t);YH(a,e,n,u,s,{time:c.time+c.delay+c.duration,delay:0,duration:c.duration,ease:c.ease})}return new EW(r,this._parents,e,n)},call:MW.call,nodes:MW.nodes,node:MW.node,size:MW.size,empty:MW.empty,each:MW.each,on:function(e,t){var n=this._id;return arguments.length<2?QH(this.node(),n).on.on(e):this.each(vW(n,e,t))},attr:function(e,t){var n=u$(e),r="transform"===n?sG:nW;return this.attrTween(e,"function"==typeof t?(n.local?lW:sW)(n,r,cG(this,"attr."+e,t)):null==t?(n.local?iW:rW)(n):(n.local?aW:oW)(n,r,t))},attrTween:function(e,t){var n="attr."+e;if(arguments.length<2)return(n=this.tween(n))&&n._value;if(null==t)return this.tween(n,null);if("function"!=typeof t)throw new Error;var r=u$(e);return this.tween(n,(r.local?fW:hW)(r,t))},style:function(e,t,n){var r="transform"==(e+="")?aG:nW;return null==t?this.styleTween(e,function(e,t){var n,r,i;return function(){var o=w$(this,e),a=(this.style.removeProperty(e),w$(this,e));return o===a?null:o===n&&a===r?i:i=t(n=o,r=a)}}(e,r)).on("end.style."+e,wW(e)):"function"==typeof t?this.styleTween(e,function(e,t,n){var r,i,o;return function(){var a=w$(this,e),s=n(this),l=s+"";return null==s&&(this.style.removeProperty(e),l=s=w$(this,e)),a===l?null:a===r&&l===i?o:(i=l,o=t(r=a,s))}}(e,r,cG(this,"style."+e,t))).each(function(e,t){var n,r,i,o,a="style."+t,s="end."+a;return function(){var l=ZH(this,e),u=l.on,c=null==l.value[a]?o||(o=wW(t)):void 0;u===n&&i===c||(r=(n=u).copy()).on(s,i=c),l.on=r}}(this._id,e)):this.styleTween(e,function(e,t,n){var r,i,o=n+"";return function(){var a=w$(this,e);return a===o?null:a===r?i:i=t(r=a,n)}}(e,r,t),n).on("end.style."+e,null)},styleTween:function(e,t,n){var r="style."+(e+="");if(arguments.length<2)return(r=this.tween(r))&&r._value;if(null==t)return this.tween(r,null);if("function"!=typeof t)throw new Error;return this.tween(r,_W(e,t,null==n?"":n))},text:function(e){return this.tween("text","function"==typeof e?function(e){return function(){var t=e(this);this.textContent=null==t?"":t}}(cG(this,"text",e)):function(e){return function(){this.textContent=e}}(null==e?"":e+""))},textTween:function(e){var t="text";if(arguments.length<1)return(t=this.tween(t))&&t._value;if(null==e)return this.tween(t,null);if("function"!=typeof e)throw new Error;return this.tween(t,kW(e))},remove:function(){return this.on("end.remove",function(e){return function(){var t=this.parentNode;for(var n in this.__transition)if(+n!==e)return;t&&t.removeChild(this)}}(this._id))},tween:function(e,t){var n=this._id;if(e+="",arguments.length<2){for(var r,i=QH(this.node(),n).tween,o=0,a=i.length;o<a;++o)if((r=i[o]).name===e)return r.value;return null}return this.each((null==t?lG:uG)(n,e,t))},delay:function(e){var t=this._id;return arguments.length?this.each(("function"==typeof e?dW:pW)(t,e)):QH(this.node(),t).delay},duration:function(e){var t=this._id;return arguments.length?this.each(("function"==typeof e?gW:mW)(t,e)):QH(this.node(),t).duration},ease:function(e){var t=this._id;return arguments.length?this.each(bW(t,e)):QH(this.node(),t).ease},easeVarying:function(e){if("function"!=typeof e)throw new Error;return this.each(function(e,t){return function(){var n=t.apply(this,arguments);if("function"!=typeof n)throw new Error;ZH(this,e).ease=n}}(this._id,e))},end:function(){var e,t,n=this,r=n._id,i=n.size();return new Promise((function(o,a){var s={value:a},l={value:function(){0==--i&&o()}};n.each((function(){var n=ZH(this,r),i=n.on;i!==e&&((t=(e=i).copy())._.cancel.push(s),t._.interrupt.push(s),t._.end.push(l)),n.on=t})),0===i&&o()}))},[Symbol.iterator]:MW[Symbol.iterator]};var TW={time:null,delay:0,duration:250,ease:function(e){return((e*=2)<=1?e*e*e:(e-=2)*e*e+2)/2}};function AW(e,t){for(var n;!(n=e.__transition)||!(n=n[t]);)if(!(e=e.parentNode))throw new Error(`transition ${t} not found`);return n}nH.prototype.interrupt=function(e){return this.each((function(){JH(this,e)}))},nH.prototype.transition=function(e){var t,n;e instanceof EW?(t=e._id,e=e._name):(t=IW(),(n=TW).time=zH(),e=null==e?null:e+"");for(var r=this._groups,i=r.length,o=0;o<i;++o)for(var a,s=r[o],l=s.length,u=0;u<l;++u)(a=s[u])&&YH(a,e,t,u,s,n||AW(a,t));return new EW(r,this._parents,e,t)};const PW=e=>()=>e;function OW(e,{sourceEvent:t,target:n,transform:r,dispatch:i}){Object.defineProperties(this,{type:{value:e,enumerable:!0,configurable:!0},sourceEvent:{value:t,enumerable:!0,configurable:!0},target:{value:n,enumerable:!0,configurable:!0},transform:{value:r,enumerable:!0,configurable:!0},_:{value:i}})}function DW(e,t,n){this.k=e,this.x=t,this.y=n}DW.prototype={constructor:DW,scale:function(e){return 1===e?this:new DW(this.k*e,this.x,this.y)},translate:function(e,t){return 0===e&0===t?this:new DW(this.k,this.x+this.k*e,this.y+this.k*t)},apply:function(e){return[e[0]*this.k+this.x,e[1]*this.k+this.y]},applyX:function(e){return e*this.k+this.x},applyY:function(e){return e*this.k+this.y},invert:function(e){return[(e[0]-this.x)/this.k,(e[1]-this.y)/this.k]},invertX:function(e){return(e-this.x)/this.k},invertY:function(e){return(e-this.y)/this.k},rescaleX:function(e){return e.copy().domain(e.range().map(this.invertX,this).map(e.invert,e))},rescaleY:function(e){return e.copy().domain(e.range().map(this.invertY,this).map(e.invert,e))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}};var RW=new DW(1,0,0);function LW(e){e.stopImmediatePropagation()}function NW(e){e.preventDefault(),e.stopImmediatePropagation()}function jW(e){return!(e.ctrlKey&&"wheel"!==e.type||e.button)}function FW(){var e=this;return e instanceof SVGElement?(e=e.ownerSVGElement||e).hasAttribute("viewBox")?[[(e=e.viewBox.baseVal).x,e.y],[e.x+e.width,e.y+e.height]]:[[0,0],[e.width.baseVal.value,e.height.baseVal.value]]:[[0,0],[e.clientWidth,e.clientHeight]]}function zW(){return this.__zoom||RW}function BW(e){return-e.deltaY*(1===e.deltaMode?.05:e.deltaMode?1:.002)*(e.ctrlKey?10:1)}function VW(){return navigator.maxTouchPoints||"ontouchstart"in this}function $W(e,t,n){var r=e.invertX(t[0][0])-n[0][0],i=e.invertX(t[1][0])-n[1][0],o=e.invertY(t[0][1])-n[0][1],a=e.invertY(t[1][1])-n[1][1];return e.translate(i>r?(r+i)/2:Math.min(0,r)||Math.max(0,i),a>o?(o+a)/2:Math.min(0,o)||Math.max(0,a))}function HW(){var e,t,n,r=jW,i=FW,o=$W,a=BW,s=VW,l=[0,1/0],u=[[-1/0,-1/0],[1/0,1/0]],c=250,f=MH,h=_H("start","zoom","end"),d=500,p=0,g=10;function m(e){e.property("__zoom",zW).on("wheel.zoom",S,{passive:!1}).on("mousedown.zoom",k).on("dblclick.zoom",C).filter(s).on("touchstart.zoom",E).on("touchmove.zoom",I).on("touchend.zoom touchcancel.zoom",M).style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function b(e,t){return(t=Math.max(l[0],Math.min(l[1],t)))===e.k?e:new DW(t,e.x,e.y)}function v(e,t,n){var r=t[0]-n[0]*e.k,i=t[1]-n[1]*e.k;return r===e.x&&i===e.y?e:new DW(e.k,r,i)}function y(e){return[(+e[0][0]+ +e[1][0])/2,(+e[0][1]+ +e[1][1])/2]}function w(e,t,n,r){e.on("start.zoom",(function(){x(this,arguments).event(r).start()})).on("interrupt.zoom end.zoom",(function(){x(this,arguments).event(r).end()})).tween("zoom",(function(){var e=this,o=arguments,a=x(e,o).event(r),s=i.apply(e,o),l=null==n?y(s):"function"==typeof n?n.apply(e,o):n,u=Math.max(s[1][0]-s[0][0],s[1][1]-s[0][1]),c=e.__zoom,h="function"==typeof t?t.apply(e,o):t,d=f(c.invert(l).concat(u/c.k),h.invert(l).concat(u/h.k));return function(e){if(1===e)e=h;else{var t=d(e),n=u/t[2];e=new DW(n,l[0]-t[0]*n,l[1]-t[1]*n)}a.zoom(null,e)}}))}function x(e,t,n){return!n&&e.__zooming||new _(e,t)}function _(e,t){this.that=e,this.args=t,this.active=0,this.sourceEvent=null,this.extent=i.apply(e,t),this.taps=0}function S(e,...t){if(r.apply(this,arguments)){var n=x(this,t).event(e),i=this.__zoom,s=Math.max(l[0],Math.min(l[1],i.k*Math.pow(2,a.apply(this,arguments)))),c=iH(e);if(n.wheel)n.mouse[0][0]===c[0]&&n.mouse[0][1]===c[1]||(n.mouse[1]=i.invert(n.mouse[0]=c)),clearTimeout(n.wheel);else{if(i.k===s)return;n.mouse=[c,i.invert(c)],JH(this),n.start()}NW(e),n.wheel=setTimeout(f,150),n.zoom("mouse",o(v(b(i,s),n.mouse[0],n.mouse[1]),n.extent,u))}function f(){n.wheel=null,n.end()}}function k(e,...t){if(!n&&r.apply(this,arguments)){var i=e.currentTarget,a=x(this,t,!0).event(e),s=rH(e.view).on("mousemove.zoom",h,!0).on("mouseup.zoom",d,!0),l=iH(e,i),c=e.clientX,f=e.clientY;CH(e.view),LW(e),a.mouse=[l,this.__zoom.invert(l)],JH(this),a.start()}function h(e){if(NW(e),!a.moved){var t=e.clientX-c,n=e.clientY-f;a.moved=t*t+n*n>p}a.event(e).zoom("mouse",o(v(a.that.__zoom,a.mouse[0]=iH(e,i),a.mouse[1]),a.extent,u))}function d(e){s.on("mousemove.zoom mouseup.zoom",null),EH(e.view,a.moved),NW(e),a.event(e).end()}}function C(e,...t){if(r.apply(this,arguments)){var n=this.__zoom,a=iH(e.changedTouches?e.changedTouches[0]:e,this),s=n.invert(a),l=n.k*(e.shiftKey?.5:2),f=o(v(b(n,l),a,s),i.apply(this,t),u);NW(e),c>0?rH(this).transition().duration(c).call(w,f,a,e):rH(this).call(m.transform,f,a,e)}}function E(n,...i){if(r.apply(this,arguments)){var o,a,s,l,u=n.touches,c=u.length,f=x(this,i,n.changedTouches.length===c).event(n);for(LW(n),a=0;a<c;++a)l=[l=iH(s=u[a],this),this.__zoom.invert(l),s.identifier],f.touch0?f.touch1||f.touch0[2]===l[2]||(f.touch1=l,f.taps=0):(f.touch0=l,o=!0,f.taps=1+!!e);e&&(e=clearTimeout(e)),o&&(f.taps<2&&(t=l[0],e=setTimeout((function(){e=null}),d)),JH(this),f.start())}}function I(e,...t){if(this.__zooming){var n,r,i,a,s=x(this,t).event(e),l=e.changedTouches,c=l.length;for(NW(e),n=0;n<c;++n)i=iH(r=l[n],this),s.touch0&&s.touch0[2]===r.identifier?s.touch0[0]=i:s.touch1&&s.touch1[2]===r.identifier&&(s.touch1[0]=i);if(r=s.that.__zoom,s.touch1){var f=s.touch0[0],h=s.touch0[1],d=s.touch1[0],p=s.touch1[1],g=(g=d[0]-f[0])*g+(g=d[1]-f[1])*g,m=(m=p[0]-h[0])*m+(m=p[1]-h[1])*m;r=b(r,Math.sqrt(g/m)),i=[(f[0]+d[0])/2,(f[1]+d[1])/2],a=[(h[0]+p[0])/2,(h[1]+p[1])/2]}else{if(!s.touch0)return;i=s.touch0[0],a=s.touch0[1]}s.zoom("touch",o(v(r,i,a),s.extent,u))}}function M(e,...r){if(this.__zooming){var i,o,a=x(this,r).event(e),s=e.changedTouches,l=s.length;for(LW(e),n&&clearTimeout(n),n=setTimeout((function(){n=null}),d),i=0;i<l;++i)o=s[i],a.touch0&&a.touch0[2]===o.identifier?delete a.touch0:a.touch1&&a.touch1[2]===o.identifier&&delete a.touch1;if(a.touch1&&!a.touch0&&(a.touch0=a.touch1,delete a.touch1),a.touch0)a.touch0[1]=this.__zoom.invert(a.touch0[0]);else if(a.end(),2===a.taps&&(o=iH(o,this),Math.hypot(t[0]-o[0],t[1]-o[1])<g)){var u=rH(this).on("dblclick.zoom");u&&u.apply(this,arguments)}}}return m.transform=function(e,t,n,r){var i=e.selection?e.selection():e;i.property("__zoom",zW),e!==i?w(e,t,n,r):i.interrupt().each((function(){x(this,arguments).event(r).start().zoom(null,"function"==typeof t?t.apply(this,arguments):t).end()}))},m.scaleBy=function(e,t,n,r){m.scaleTo(e,(function(){var e=this.__zoom.k,n="function"==typeof t?t.apply(this,arguments):t;return e*n}),n,r)},m.scaleTo=function(e,t,n,r){m.transform(e,(function(){var e=i.apply(this,arguments),r=this.__zoom,a=null==n?y(e):"function"==typeof n?n.apply(this,arguments):n,s=r.invert(a),l="function"==typeof t?t.apply(this,arguments):t;return o(v(b(r,l),a,s),e,u)}),n,r)},m.translateBy=function(e,t,n,r){m.transform(e,(function(){return o(this.__zoom.translate("function"==typeof t?t.apply(this,arguments):t,"function"==typeof n?n.apply(this,arguments):n),i.apply(this,arguments),u)}),null,r)},m.translateTo=function(e,t,n,r,a){m.transform(e,(function(){var e=i.apply(this,arguments),a=this.__zoom,s=null==r?y(e):"function"==typeof r?r.apply(this,arguments):r;return o(RW.translate(s[0],s[1]).scale(a.k).translate("function"==typeof t?-t.apply(this,arguments):-t,"function"==typeof n?-n.apply(this,arguments):-n),e,u)}),r,a)},_.prototype={event:function(e){return e&&(this.sourceEvent=e),this},start:function(){return 1==++this.active&&(this.that.__zooming=this,this.emit("start")),this},zoom:function(e,t){return this.mouse&&"mouse"!==e&&(this.mouse[1]=t.invert(this.mouse[0])),this.touch0&&"touch"!==e&&(this.touch0[1]=t.invert(this.touch0[0])),this.touch1&&"touch"!==e&&(this.touch1[1]=t.invert(this.touch1[0])),this.that.__zoom=t,this.emit("zoom"),this},end:function(){return 0==--this.active&&(delete this.that.__zooming,this.emit("end")),this},emit:function(e){var t=rH(this.that).datum();h.call(e,this.that,new OW(e,{sourceEvent:this.sourceEvent,target:m,type:e,transform:this.that.__zoom,dispatch:h}),t)}},m.wheelDelta=function(e){return arguments.length?(a="function"==typeof e?e:PW(+e),m):a},m.filter=function(e){return arguments.length?(r="function"==typeof e?e:PW(!!e),m):r},m.touchable=function(e){return arguments.length?(s="function"==typeof e?e:PW(!!e),m):s},m.extent=function(e){return arguments.length?(i="function"==typeof e?e:PW([[+e[0][0],+e[0][1]],[+e[1][0],+e[1][1]]]),m):i},m.scaleExtent=function(e){return arguments.length?(l[0]=+e[0],l[1]=+e[1],m):[l[0],l[1]]},m.translateExtent=function(e){return arguments.length?(u[0][0]=+e[0][0],u[1][0]=+e[1][0],u[0][1]=+e[0][1],u[1][1]=+e[1][1],m):[[u[0][0],u[0][1]],[u[1][0],u[1][1]]]},m.constrain=function(e){return arguments.length?(o=e,m):o},m.duration=function(e){return arguments.length?(c=+e,m):c},m.interpolate=function(e){return arguments.length?(f=e,m):f},m.on=function(){var e=h.on.apply(h,arguments);return e===h?m:e},m.clickDistance=function(e){return arguments.length?(p=(e=+e)*e,m):Math.sqrt(p)},m.tapDistance=function(e){return arguments.length?(g=+e,m):g},m}DW.prototype;const GW=(0,i.createContext)(null),WW=GW.Provider,UW=e=>`Node type "${e}" not found. Using fallback type "default".`,qW=()=>"The React Flow parent container needs a width and a height to render the graph.",XW=()=>"Only child nodes can use a parent extent.",YW=()=>"Can't create edge. An edge needs a source and a target.",KW=e=>`Marker type "${e}" doesn't exist.`,ZW=(e,t)=>`Couldn't create edge for ${e?"target":"source"} handle id: "${e?t.targetHandle:t.sourceHandle}", edge id: ${t.id}.`,QW=()=>"Handle: No node id found. Make sure to only use a Handle inside a custom Node.",JW=e=>`Edge type "${e}" not found. Using fallback type "default".`,eU=(()=>"[React Flow]: Seems like you have not used zustand provider as an ancestor. Help: https://reactflow.dev/error#001")();function tU(e,t){const n=(0,i.useContext)(GW);if(null===n)throw new Error(eU);return PV(n,e,t)}const nU=()=>{const e=(0,i.useContext)(GW);if(null===e)throw new Error(eU);return(0,i.useMemo)((()=>({getState:e.getState,setState:e.setState,subscribe:e.subscribe,destroy:e.destroy})),[e])},rU=e=>e.userSelectionActive?"none":"all";function iU({position:e,children:t,className:n,style:r,...i}){const o=tU(rU),a=`${e}`.split("-");return(0,IV.jsx)("div",{className:MV(["react-flow__panel",n,...a]),style:{...r,pointerEvents:o},...i,children:t})}function oU({proOptions:e,position:t="bottom-right"}){return e?.hideAttribution?null:(0,IV.jsx)(iU,{position:t,className:"react-flow__attribution","data-message":"Please only hide this attribution when you are subscribed to React Flow Pro: https://pro.reactflow.dev",children:(0,IV.jsx)("a",{href:"https://reactflow.dev",target:"_blank",rel:"noopener noreferrer","aria-label":"React Flow attribution",children:"React Flow"})})}var aU=(0,i.memo)((({x:e,y:t,label:n,labelStyle:r={},labelShowBg:o=!0,labelBgStyle:a={},labelBgPadding:s=[2,4],labelBgBorderRadius:l=2,children:u,className:c,...f})=>{const h=(0,i.useRef)(null),[d,p]=(0,i.useState)({x:0,y:0,width:0,height:0}),g=MV(["react-flow__edge-textwrapper",c]);return(0,i.useEffect)((()=>{if(h.current){const e=h.current.getBBox();p({x:e.x,y:e.y,width:e.width,height:e.height})}}),[n]),void 0!==n&&n?(0,IV.jsxs)("g",{transform:`translate(${e-d.width/2} ${t-d.height/2})`,className:g,visibility:d.width?"visible":"hidden",...f,children:[o&&(0,IV.jsx)("rect",{width:d.width+2*s[0],x:-s[0],y:-s[1],height:d.height+2*s[1],className:"react-flow__edge-textbg",style:a,rx:l,ry:l}),(0,IV.jsx)("text",{className:"react-flow__edge-text",y:d.height/2,dy:"0.3em",ref:h,style:r,children:n}),u]}):null}));const sU=e=>({width:e.offsetWidth,height:e.offsetHeight}),lU=(e,t=0,n=1)=>Math.min(Math.max(e,t),n),uU=(e={x:0,y:0},t)=>({x:lU(e.x,t[0][0],t[1][0]),y:lU(e.y,t[0][1],t[1][1])}),cU=(e,t,n)=>e<t?lU(Math.abs(e-t),1,50)/50:e>n?-lU(Math.abs(e-n),1,50)/50:0,fU=(e,t)=>[20*cU(e.x,35,t.width-35),20*cU(e.y,35,t.height-35)],hU=e=>e.getRootNode?.()||window?.document,dU=(e,t)=>({x:Math.min(e.x,t.x),y:Math.min(e.y,t.y),x2:Math.max(e.x2,t.x2),y2:Math.max(e.y2,t.y2)}),pU=({x:e,y:t,width:n,height:r})=>({x:e,y:t,x2:e+n,y2:t+r}),gU=({x:e,y:t,x2:n,y2:r})=>({x:e,y:t,width:n-e,height:r-t}),mU=e=>({...e.positionAbsolute||{x:0,y:0},width:e.width||0,height:e.height||0}),bU=(e,t)=>{const n=Math.max(0,Math.min(e.x+e.width,t.x+t.width)-Math.max(e.x,t.x)),r=Math.max(0,Math.min(e.y+e.height,t.y+t.height)-Math.max(e.y,t.y));return Math.ceil(n*r)},vU=e=>!isNaN(e)&&isFinite(e),yU=Symbol.for("internals"),wU=["Enter"," ","Escape"],xU=(e,t)=>{0};function _U(e){const t=((e=>"nativeEvent"in e)(e)?e.nativeEvent:e).composedPath?.()?.[0]||e.target;return["INPUT","SELECT","TEXTAREA"].includes(t?.nodeName)||t?.hasAttribute("contenteditable")||!!t?.closest(".nokey")}const SU=e=>"clientX"in e,kU=(e,t)=>{const n=SU(e),r=n?e.clientX:e.touches?.[0].clientX,i=n?e.clientY:e.touches?.[0].clientY;return{x:r-(t?.left??0),y:i-(t?.top??0)}},CU=({id:e,path:t,labelX:n,labelY:r,label:i,labelStyle:o,labelShowBg:a,labelBgStyle:s,labelBgPadding:l,labelBgBorderRadius:u,style:c,markerEnd:f,markerStart:h,interactionWidth:d=20})=>(0,IV.jsxs)(IV.Fragment,{children:[(0,IV.jsx)("path",{id:e,style:c,d:t,fill:"none",className:"react-flow__edge-path",markerEnd:f,markerStart:h}),d&&(0,IV.jsx)("path",{d:t,fill:"none",strokeOpacity:0,strokeWidth:d,className:"react-flow__edge-interaction"}),i&&vU(n)&&vU(r)?(0,IV.jsx)(aU,{x:n,y:r,label:i,labelStyle:o,labelShowBg:a,labelBgStyle:s,labelBgPadding:l,labelBgBorderRadius:u}):null]});CU.displayName="BaseEdge";function EU(e,t,n){return void 0===n?n:r=>{const i=t().edges.find((t=>t.id===e));i&&n(r,{...i})}}function IU({sourceX:e,sourceY:t,targetX:n,targetY:r}){const i=Math.abs(n-e)/2,o=n<e?n+i:n-i,a=Math.abs(r-t)/2;return[o,r<t?r+a:r-a,i,a]}function MU({sourceX:e,sourceY:t,targetX:n,targetY:r,sourceControlX:i,sourceControlY:o,targetControlX:a,targetControlY:s}){const l=.125*e+.375*i+.375*a+.125*n,u=.125*t+.375*o+.375*s+.125*r;return[l,u,Math.abs(l-e),Math.abs(u-t)]}var TU,AU,PU,OU,DU,RU;function LU({pos:e,x1:t,y1:n,x2:r,y2:i}){return e===RU.Left||e===RU.Right?[.5*(t+r),n]:[t,.5*(n+i)]}function NU({sourceX:e,sourceY:t,sourcePosition:n=RU.Bottom,targetX:r,targetY:i,targetPosition:o=RU.Top}){const[a,s]=LU({pos:n,x1:e,y1:t,x2:r,y2:i}),[l,u]=LU({pos:o,x1:r,y1:i,x2:e,y2:t}),[c,f,h,d]=MU({sourceX:e,sourceY:t,targetX:r,targetY:i,sourceControlX:a,sourceControlY:s,targetControlX:l,targetControlY:u});return[`M${e},${t} C${a},${s} ${l},${u} ${r},${i}`,c,f,h,d]}!function(e){e.Strict="strict",e.Loose="loose"}(TU||(TU={})),function(e){e.Free="free",e.Vertical="vertical",e.Horizontal="horizontal"}(AU||(AU={})),function(e){e.Partial="partial",e.Full="full"}(PU||(PU={})),function(e){e.Bezier="default",e.Straight="straight",e.Step="step",e.SmoothStep="smoothstep",e.SimpleBezier="simplebezier"}(OU||(OU={})),function(e){e.Arrow="arrow",e.ArrowClosed="arrowclosed"}(DU||(DU={})),function(e){e.Left="left",e.Top="top",e.Right="right",e.Bottom="bottom"}(RU||(RU={}));const jU=(0,i.memo)((({sourceX:e,sourceY:t,targetX:n,targetY:r,sourcePosition:i=RU.Bottom,targetPosition:o=RU.Top,label:a,labelStyle:s,labelShowBg:l,labelBgStyle:u,labelBgPadding:c,labelBgBorderRadius:f,style:h,markerEnd:d,markerStart:p,interactionWidth:g})=>{const[m,b,v]=NU({sourceX:e,sourceY:t,sourcePosition:i,targetX:n,targetY:r,targetPosition:o});return(0,IV.jsx)(CU,{path:m,labelX:b,labelY:v,label:a,labelStyle:s,labelShowBg:l,labelBgStyle:u,labelBgPadding:c,labelBgBorderRadius:f,style:h,markerEnd:d,markerStart:p,interactionWidth:g})}));jU.displayName="SimpleBezierEdge";const FU={[RU.Left]:{x:-1,y:0},[RU.Right]:{x:1,y:0},[RU.Top]:{x:0,y:-1},[RU.Bottom]:{x:0,y:1}},zU=(e,t)=>Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2));function BU({source:e,sourcePosition:t=RU.Bottom,target:n,targetPosition:r=RU.Top,center:i,offset:o}){const a=FU[t],s=FU[r],l={x:e.x+a.x*o,y:e.y+a.y*o},u={x:n.x+s.x*o,y:n.y+s.y*o},c=(({source:e,sourcePosition:t=RU.Bottom,target:n})=>t===RU.Left||t===RU.Right?e.x<n.x?{x:1,y:0}:{x:-1,y:0}:e.y<n.y?{x:0,y:1}:{x:0,y:-1})({source:l,sourcePosition:t,target:u}),f=0!==c.x?"x":"y",h=c[f];let d,p,g=[];const[m,b,v,y]=IU({sourceX:e.x,sourceY:e.y,targetX:n.x,targetY:n.y});if(a[f]*s[f]==-1){d=i.x||m,p=i.y||b;const e=[{x:d,y:l.y},{x:d,y:u.y}],t=[{x:l.x,y:p},{x:u.x,y:p}];g=a[f]===h?"x"===f?e:t:"x"===f?t:e}else{const e=[{x:l.x,y:u.y}],n=[{x:u.x,y:l.y}];if(g="x"===f?a.x===h?n:e:a.y===h?e:n,t!==r){const t="x"===f?"y":"x",r=a[f]===s[t],i=l[t]>u[t],o=l[t]<u[t];(1===a[f]&&(!r&&i||r&&o)||1!==a[f]&&(!r&&o||r&&i))&&(g="x"===f?e:n)}d=g[0].x,p=g[0].y}return[[e,l,...g,u,n],d,p,v,y]}function VU({sourceX:e,sourceY:t,sourcePosition:n=RU.Bottom,targetX:r,targetY:i,targetPosition:o=RU.Top,borderRadius:a=5,centerX:s,centerY:l,offset:u=20}){const[c,f,h,d,p]=BU({source:{x:e,y:t},sourcePosition:n,target:{x:r,y:i},targetPosition:o,center:{x:s,y:l},offset:u}),g=c.reduce(((e,t,n)=>{let r="";return r=n>0&&n<c.length-1?function(e,t,n,r){const i=Math.min(zU(e,t)/2,zU(t,n)/2,r),{x:o,y:a}=t;if(e.x===o&&o===n.x||e.y===a&&a===n.y)return`L${o} ${a}`;if(e.y===a)return`L ${o+i*(e.x<n.x?-1:1)},${a}Q ${o},${a} ${o},${a+i*(e.y<n.y?1:-1)}`;const s=e.x<n.x?1:-1;return`L ${o},${a+i*(e.y<n.y?-1:1)}Q ${o},${a} ${o+i*s},${a}`}(c[n-1],t,c[n+1],a):`${0===n?"M":"L"}${t.x} ${t.y}`,e+=r}),"");return[g,f,h,d,p]}const $U=(0,i.memo)((({sourceX:e,sourceY:t,targetX:n,targetY:r,label:i,labelStyle:o,labelShowBg:a,labelBgStyle:s,labelBgPadding:l,labelBgBorderRadius:u,style:c,sourcePosition:f=RU.Bottom,targetPosition:h=RU.Top,markerEnd:d,markerStart:p,pathOptions:g,interactionWidth:m})=>{const[b,v,y]=VU({sourceX:e,sourceY:t,sourcePosition:f,targetX:n,targetY:r,targetPosition:h,borderRadius:g?.borderRadius,offset:g?.offset});return(0,IV.jsx)(CU,{path:b,labelX:v,labelY:y,label:i,labelStyle:o,labelShowBg:a,labelBgStyle:s,labelBgPadding:l,labelBgBorderRadius:u,style:c,markerEnd:d,markerStart:p,interactionWidth:m})}));$U.displayName="SmoothStepEdge";const HU=(0,i.memo)((e=>(0,IV.jsx)($U,{...e,pathOptions:(0,i.useMemo)((()=>({borderRadius:0,offset:e.pathOptions?.offset})),[e.pathOptions?.offset])})));HU.displayName="StepEdge";const GU=(0,i.memo)((({sourceX:e,sourceY:t,targetX:n,targetY:r,label:i,labelStyle:o,labelShowBg:a,labelBgStyle:s,labelBgPadding:l,labelBgBorderRadius:u,style:c,markerEnd:f,markerStart:h,interactionWidth:d})=>{const[p,g,m]=function({sourceX:e,sourceY:t,targetX:n,targetY:r}){const[i,o,a,s]=IU({sourceX:e,sourceY:t,targetX:n,targetY:r});return[`M ${e},${t}L ${n},${r}`,i,o,a,s]}({sourceX:e,sourceY:t,targetX:n,targetY:r});return(0,IV.jsx)(CU,{path:p,labelX:g,labelY:m,label:i,labelStyle:o,labelShowBg:a,labelBgStyle:s,labelBgPadding:l,labelBgBorderRadius:u,style:c,markerEnd:f,markerStart:h,interactionWidth:d})}));function WU(e,t){return e>=0?.5*e:25*t*Math.sqrt(-e)}function UU({pos:e,x1:t,y1:n,x2:r,y2:i,c:o}){switch(e){case RU.Left:return[t-WU(t-r,o),n];case RU.Right:return[t+WU(r-t,o),n];case RU.Top:return[t,n-WU(n-i,o)];case RU.Bottom:return[t,n+WU(i-n,o)]}}function qU({sourceX:e,sourceY:t,sourcePosition:n=RU.Bottom,targetX:r,targetY:i,targetPosition:o=RU.Top,curvature:a=.25}){const[s,l]=UU({pos:n,x1:e,y1:t,x2:r,y2:i,c:a}),[u,c]=UU({pos:o,x1:r,y1:i,x2:e,y2:t,c:a}),[f,h,d,p]=MU({sourceX:e,sourceY:t,targetX:r,targetY:i,sourceControlX:s,sourceControlY:l,targetControlX:u,targetControlY:c});return[`M${e},${t} C${s},${l} ${u},${c} ${r},${i}`,f,h,d,p]}GU.displayName="StraightEdge";const XU=(0,i.memo)((({sourceX:e,sourceY:t,targetX:n,targetY:r,sourcePosition:i=RU.Bottom,targetPosition:o=RU.Top,label:a,labelStyle:s,labelShowBg:l,labelBgStyle:u,labelBgPadding:c,labelBgBorderRadius:f,style:h,markerEnd:d,markerStart:p,pathOptions:g,interactionWidth:m})=>{const[b,v,y]=qU({sourceX:e,sourceY:t,sourcePosition:i,targetX:n,targetY:r,targetPosition:o,curvature:g?.curvature});return(0,IV.jsx)(CU,{path:b,labelX:v,labelY:y,label:a,labelStyle:s,labelShowBg:l,labelBgStyle:u,labelBgPadding:c,labelBgBorderRadius:f,style:h,markerEnd:d,markerStart:p,interactionWidth:m})}));XU.displayName="BezierEdge";const YU=(0,i.createContext)(null),KU=YU.Provider;YU.Consumer;const ZU=({source:e,sourceHandle:t,target:n,targetHandle:r})=>`reactflow__edge-${e}${t||""}-${n}${r||""}`,QU=(e,t)=>{if(void 0===e)return"";if("string"==typeof e)return e;return`${t?`${t}__`:""}${Object.keys(e).sort().map((t=>`${t}=${e[t]}`)).join("&")}`},JU=({x:e,y:t},[n,r,i],o,[a,s])=>{const l={x:(e-n)/i,y:(t-r)/i};return o?{x:a*Math.round(l.x/a),y:s*Math.round(l.y/s)}:l},eq=({x:e,y:t},[n,r,i])=>({x:e*i+n,y:t*i+r}),tq=(e,t=[0,0])=>{if(!e)return{x:0,y:0,positionAbsolute:{x:0,y:0}};const n=(e.width??0)*t[0],r=(e.height??0)*t[1],i={x:e.position.x-n,y:e.position.y-r};return{...i,positionAbsolute:e.positionAbsolute?{x:e.positionAbsolute.x-n,y:e.positionAbsolute.y-r}:i}},nq=(e,t=[0,0])=>{if(0===e.length)return{x:0,y:0,width:0,height:0};const n=e.reduce(((e,n)=>{const{x:r,y:i}=tq(n,t).positionAbsolute;return dU(e,pU({x:r,y:i,width:n.width||0,height:n.height||0}))}),{x:1/0,y:1/0,x2:-1/0,y2:-1/0});return gU(n)},rq=(e,t,[n,r,i]=[0,0,1],o=!1,a=!1,s=[0,0])=>{const l={x:(t.x-n)/i,y:(t.y-r)/i,width:t.width/i,height:t.height/i},u=[];return e.forEach((e=>{const{width:t,height:n,selectable:r=!0,hidden:i=!1}=e;if(a&&!r||i)return!1;const{positionAbsolute:c}=tq(e,s),f={x:c.x,y:c.y,width:t||0,height:n||0},h=bU(l,f);(void 0===t||void 0===n||null===t||null===n||o&&h>0||h>=(t||0)*(n||0)||e.dragging)&&u.push(e)})),u},iq=(e,t)=>{const n=e.map((e=>e.id));return t.filter((e=>n.includes(e.source)||n.includes(e.target)))},oq=(e,t,n,r,i,o=.1)=>{const a=t/(e.width*(1+o)),s=n/(e.height*(1+o)),l=Math.min(a,s),u=lU(l,r,i);return[t/2-(e.x+e.width/2)*u,n/2-(e.y+e.height/2)*u,u]},aq=(e,t=0)=>e.transition().duration(t);function sq(e,t,n,r){return(t[n]||[]).reduce(((t,i)=>(`${e.id}-${i.id}-${n}`!==r&&t.push({id:i.id||null,type:n,nodeId:e.id,x:(e.positionAbsolute?.x??0)+i.x+i.width/2,y:(e.positionAbsolute?.y??0)+i.y+i.height/2}),t)),[])}const lq={source:null,target:null,sourceHandle:null,targetHandle:null},uq=()=>({handleDomNode:null,isValid:!1,connection:lq,endHandle:null});function cq(e,t,n,r,i,o,a){const s="target"===i,l=a.querySelector(`.react-flow__handle[data-id="${e?.nodeId}-${e?.id}-${e?.type}"]`),u={...uq(),handleDomNode:l};if(l){const e=fq(void 0,l),i=l.getAttribute("data-nodeid"),a=l.getAttribute("data-handleid"),c=l.classList.contains("connectable"),f=l.classList.contains("connectableend"),h={source:s?i:n,sourceHandle:s?a:r,target:s?n:i,targetHandle:s?r:a};u.connection=h;c&&f&&(t===TU.Strict?s&&"source"===e||!s&&"target"===e:i!==n||a!==r)&&(u.endHandle={nodeId:i,handleId:a,type:e},u.isValid=o(h))}return u}function fq(e,t){return e||(t?.classList.contains("target")?"target":t?.classList.contains("source")?"source":null)}function hq(e){e?.classList.remove("valid","connecting","react-flow__handle-valid","react-flow__handle-connecting")}function dq(e,t){let n=null;return t?n="valid":e&&!t&&(n="invalid"),n}function pq({event:e,handleId:t,nodeId:n,onConnect:r,isTarget:i,getState:o,setState:a,isValidConnection:s,edgeUpdaterType:l,onEdgeUpdateEnd:u}){const c=hU(e.target),{connectionMode:f,domNode:h,autoPanOnConnect:d,connectionRadius:p,onConnectStart:g,panBy:m,getNodes:b,cancelConnection:v}=o();let y,w=0;const{x,y:_}=kU(e),S=c?.elementFromPoint(x,_),k=fq(l,S),C=h?.getBoundingClientRect();if(!C||!k)return;let E,I=kU(e,C),M=!1,T=null,A=!1,P=null;const O=function({nodes:e,nodeId:t,handleId:n,handleType:r}){return e.reduce(((e,i)=>{if(i[yU]){const{handleBounds:o}=i[yU];let a=[],s=[];o&&(a=sq(i,o,"source",`${t}-${n}-${r}`),s=sq(i,o,"target",`${t}-${n}-${r}`)),e.push(...a,...s)}return e}),[])}({nodes:b(),nodeId:n,handleId:t,handleType:k}),D=()=>{if(!d)return;const[e,t]=fU(I,C);m({x:e,y:t}),w=requestAnimationFrame(D)};function R(e){const{transform:r}=o();I=kU(e,C);const{handle:l,validHandleResult:u}=function(e,t,n,r,i,o){const{x:a,y:s}=kU(e),l=t.elementsFromPoint(a,s).find((e=>e.classList.contains("react-flow__handle")));if(l){const e=l.getAttribute("data-nodeid");if(e){const t=fq(void 0,l),r=l.getAttribute("data-handleid"),i=o({nodeId:e,id:r,type:t});if(i)return{handle:{id:r,type:t,nodeId:e,x:n.x,y:n.y},validHandleResult:i}}}let u=[],c=1/0;if(i.forEach((e=>{const t=Math.sqrt((e.x-n.x)**2+(e.y-n.y)**2);if(t<=r){const n=o(e);t<=c&&(t<c?u=[{handle:e,validHandleResult:n}]:t===c&&u.push({handle:e,validHandleResult:n}),c=t)}})),!u.length)return{handle:null,validHandleResult:uq()};if(1===u.length)return u[0];const f=u.some((({validHandleResult:e})=>e.isValid)),h=u.some((({handle:e})=>"target"===e.type));return u.find((({handle:e,validHandleResult:t})=>h?"target"===e.type:!f||t.isValid))||u[0]}(e,c,JU(I,r,!1,[1,1]),p,O,(e=>cq(e,f,n,t,i?"target":"source",s,c)));if(y=l,M||(D(),M=!0),P=u.handleDomNode,T=u.connection,A=u.isValid,a({connectionPosition:y&&A?eq({x:y.x,y:y.y},r):I,connectionStatus:dq(!!y,A),connectionEndHandle:u.endHandle}),!y&&!A&&!P)return hq(E);T.source!==T.target&&P&&(hq(E),E=P,P.classList.add("connecting","react-flow__handle-connecting"),P.classList.toggle("valid",A),P.classList.toggle("react-flow__handle-valid",A))}function L(e){(y||P)&&T&&A&&r?.(T),o().onConnectEnd?.(e),l&&u?.(e),hq(E),v(),cancelAnimationFrame(w),M=!1,A=!1,T=null,P=null,c.removeEventListener("mousemove",R),c.removeEventListener("mouseup",L),c.removeEventListener("touchmove",R),c.removeEventListener("touchend",L)}a({connectionPosition:I,connectionStatus:null,connectionNodeId:n,connectionHandleId:t,connectionHandleType:k,connectionStartHandle:{nodeId:n,handleId:t,type:k},connectionEndHandle:null}),g?.(e,{nodeId:n,handleId:t,handleType:k}),c.addEventListener("mousemove",R),c.addEventListener("mouseup",L),c.addEventListener("touchmove",R),c.addEventListener("touchend",L)}const gq=()=>!0,mq=e=>({connectionStartHandle:e.connectionStartHandle,connectOnClick:e.connectOnClick,noPanClassName:e.noPanClassName}),bq=(0,i.forwardRef)((({type:e="source",position:t=RU.Top,isValidConnection:n,isConnectable:r=!0,isConnectableStart:o=!0,isConnectableEnd:a=!0,id:s,onConnect:l,children:u,className:c,onMouseDown:f,onTouchStart:h,...d},p)=>{const g=s||null,m="target"===e,b=nU(),v=(0,i.useContext)(YU),{connectOnClick:y,noPanClassName:w}=tU(mq,RV),{connecting:x,clickConnecting:_}=tU(((e,t,n)=>r=>{const{connectionStartHandle:i,connectionEndHandle:o,connectionClickStartHandle:a}=r;return{connecting:i?.nodeId===e&&i?.handleId===t&&i?.type===n||o?.nodeId===e&&o?.handleId===t&&o?.type===n,clickConnecting:a?.nodeId===e&&a?.handleId===t&&a?.type===n}})(v,g,e),RV);v||b.getState().onError?.("010",QW());const S=e=>{const{defaultEdgeOptions:t,onConnect:n,hasDefaultEdges:r}=b.getState(),i={...t,...e};if(r){const{edges:e,setEdges:t}=b.getState();t(((e,t)=>{if(!e.source||!e.target)return xU(0,YW()),t;let n;var r;return n="id"in(r=e)&&"source"in r&&"target"in r?{...e}:{...e,id:ZU(e)},((e,t)=>t.some((t=>!(t.source!==e.source||t.target!==e.target||t.sourceHandle!==e.sourceHandle&&(t.sourceHandle||e.sourceHandle)||t.targetHandle!==e.targetHandle&&(t.targetHandle||e.targetHandle)))))(n,t)?t:t.concat(n)})(i,e))}n?.(i),l?.(i)},k=e=>{if(!v)return;const t=SU(e);o&&(t&&0===e.button||!t)&&pq({event:e,handleId:g,nodeId:v,onConnect:S,isTarget:m,getState:b.getState,setState:b.setState,isValidConnection:n||b.getState().isValidConnection||gq}),t?f?.(e):h?.(e)};return(0,IV.jsx)("div",{"data-handleid":g,"data-nodeid":v,"data-handlepos":t,"data-id":`${v}-${g}-${e}`,className:MV(["react-flow__handle",`react-flow__handle-${t}`,"nodrag",w,c,{source:!m,target:m,connectable:r,connectablestart:o,connectableend:a,connecting:_,connectionindicator:r&&(o&&!x||a&&x)}]),onMouseDown:k,onTouchStart:k,onClick:y?t=>{const{onClickConnectStart:r,onClickConnectEnd:i,connectionClickStartHandle:a,connectionMode:s,isValidConnection:l}=b.getState();if(!v||!a&&!o)return;if(!a)return r?.(t,{nodeId:v,handleId:g,handleType:e}),void b.setState({connectionClickStartHandle:{nodeId:v,type:e,handleId:g}});const u=hU(t.target),c=n||l||gq,{connection:f,isValid:h}=cq({nodeId:v,id:g,type:e},s,a.nodeId,a.handleId||null,a.type,c,u);h&&S(f),i?.(t),b.setState({connectionClickStartHandle:null})}:void 0,ref:p,...d,children:u})}));bq.displayName="Handle";var vq=(0,i.memo)(bq);const yq=({data:e,isConnectable:t,targetPosition:n=RU.Top,sourcePosition:r=RU.Bottom})=>(0,IV.jsxs)(IV.Fragment,{children:[(0,IV.jsx)(vq,{type:"target",position:n,isConnectable:t}),e?.label,(0,IV.jsx)(vq,{type:"source",position:r,isConnectable:t})]});yq.displayName="DefaultNode";var wq=(0,i.memo)(yq);const xq=({data:e,isConnectable:t,sourcePosition:n=RU.Bottom})=>(0,IV.jsxs)(IV.Fragment,{children:[e?.label,(0,IV.jsx)(vq,{type:"source",position:n,isConnectable:t})]});xq.displayName="InputNode";var _q=(0,i.memo)(xq);const Sq=({data:e,isConnectable:t,targetPosition:n=RU.Top})=>(0,IV.jsxs)(IV.Fragment,{children:[(0,IV.jsx)(vq,{type:"target",position:n,isConnectable:t}),e?.label]});Sq.displayName="OutputNode";var kq=(0,i.memo)(Sq);const Cq=()=>null;Cq.displayName="GroupNode";const Eq=e=>({selectedNodes:e.getNodes().filter((e=>e.selected)),selectedEdges:e.edges.filter((e=>e.selected))}),Iq=e=>e.id;function Mq(e,t){return RV(e.selectedNodes.map(Iq),t.selectedNodes.map(Iq))&&RV(e.selectedEdges.map(Iq),t.selectedEdges.map(Iq))}const Tq=(0,i.memo)((({onSelectionChange:e})=>{const t=nU(),{selectedNodes:n,selectedEdges:r}=tU(Eq,Mq);return(0,i.useEffect)((()=>{const i={nodes:n,edges:r};e?.(i),t.getState().onSelectionChange?.(i)}),[n,r,e]),null}));Tq.displayName="SelectionListener";const Aq=e=>!!e.onSelectionChange;function Pq({onSelectionChange:e}){const t=tU(Aq);return e||t?(0,IV.jsx)(Tq,{onSelectionChange:e}):null}const Oq=e=>({setNodes:e.setNodes,setEdges:e.setEdges,setDefaultNodesAndEdges:e.setDefaultNodesAndEdges,setMinZoom:e.setMinZoom,setMaxZoom:e.setMaxZoom,setTranslateExtent:e.setTranslateExtent,setNodeExtent:e.setNodeExtent,reset:e.reset});function Dq(e,t){(0,i.useEffect)((()=>{void 0!==e&&t(e)}),[e])}function Rq(e,t,n){(0,i.useEffect)((()=>{void 0!==t&&n({[e]:t})}),[t])}const Lq=({nodes:e,edges:t,defaultNodes:n,defaultEdges:r,onConnect:o,onConnectStart:a,onConnectEnd:s,onClickConnectStart:l,onClickConnectEnd:u,nodesDraggable:c,nodesConnectable:f,nodesFocusable:h,edgesFocusable:d,edgesUpdatable:p,elevateNodesOnSelect:g,minZoom:m,maxZoom:b,nodeExtent:v,onNodesChange:y,onEdgesChange:w,elementsSelectable:x,connectionMode:_,snapGrid:S,snapToGrid:k,translateExtent:C,connectOnClick:E,defaultEdgeOptions:I,fitView:M,fitViewOptions:T,onNodesDelete:A,onEdgesDelete:P,onNodeDrag:O,onNodeDragStart:D,onNodeDragStop:R,onSelectionDrag:L,onSelectionDragStart:N,onSelectionDragStop:j,noPanClassName:F,nodeOrigin:z,rfId:B,autoPanOnConnect:V,autoPanOnNodeDrag:$,onError:H,connectionRadius:G,isValidConnection:W})=>{const{setNodes:U,setEdges:q,setDefaultNodesAndEdges:X,setMinZoom:Y,setMaxZoom:K,setTranslateExtent:Z,setNodeExtent:Q,reset:J}=tU(Oq,RV),ee=nU();return(0,i.useEffect)((()=>{const e=r?.map((e=>({...e,...I})));return X(n,e),()=>{J()}}),[]),Rq("defaultEdgeOptions",I,ee.setState),Rq("connectionMode",_,ee.setState),Rq("onConnect",o,ee.setState),Rq("onConnectStart",a,ee.setState),Rq("onConnectEnd",s,ee.setState),Rq("onClickConnectStart",l,ee.setState),Rq("onClickConnectEnd",u,ee.setState),Rq("nodesDraggable",c,ee.setState),Rq("nodesConnectable",f,ee.setState),Rq("nodesFocusable",h,ee.setState),Rq("edgesFocusable",d,ee.setState),Rq("edgesUpdatable",p,ee.setState),Rq("elementsSelectable",x,ee.setState),Rq("elevateNodesOnSelect",g,ee.setState),Rq("snapToGrid",k,ee.setState),Rq("snapGrid",S,ee.setState),Rq("onNodesChange",y,ee.setState),Rq("onEdgesChange",w,ee.setState),Rq("connectOnClick",E,ee.setState),Rq("fitViewOnInit",M,ee.setState),Rq("fitViewOnInitOptions",T,ee.setState),Rq("onNodesDelete",A,ee.setState),Rq("onEdgesDelete",P,ee.setState),Rq("onNodeDrag",O,ee.setState),Rq("onNodeDragStart",D,ee.setState),Rq("onNodeDragStop",R,ee.setState),Rq("onSelectionDrag",L,ee.setState),Rq("onSelectionDragStart",N,ee.setState),Rq("onSelectionDragStop",j,ee.setState),Rq("noPanClassName",F,ee.setState),Rq("nodeOrigin",z,ee.setState),Rq("rfId",B,ee.setState),Rq("autoPanOnConnect",V,ee.setState),Rq("autoPanOnNodeDrag",$,ee.setState),Rq("onError",H,ee.setState),Rq("connectionRadius",G,ee.setState),Rq("isValidConnection",W,ee.setState),Dq(e,U),Dq(t,q),Dq(m,Y),Dq(b,K),Dq(C,Z),Dq(v,Q),null},Nq={display:"none"},jq={position:"absolute",width:1,height:1,margin:-1,border:0,padding:0,overflow:"hidden",clip:"rect(0px, 0px, 0px, 0px)",clipPath:"inset(100%)"},Fq=e=>e.ariaLiveMessage;function zq({rfId:e}){const t=tU(Fq);return(0,IV.jsx)("div",{id:`react-flow__aria-live-${e}`,"aria-live":"assertive","aria-atomic":"true",style:jq,children:t})}function Bq({rfId:e,disableKeyboardA11y:t}){return(0,IV.jsxs)(IV.Fragment,{children:[(0,IV.jsxs)("div",{id:`react-flow__node-desc-${e}`,style:Nq,children:["Press enter or space to select a node.",!t&&"You can then use the arrow keys to move the node around."," Press delete to remove it and escape to cancel."," "]}),(0,IV.jsx)("div",{id:`react-flow__edge-desc-${e}`,style:Nq,children:"Press enter or space to select an edge. You can then press delete to remove it or escape to cancel."}),!t&&(0,IV.jsx)(zq,{rfId:e})]})}const Vq=(e,t,n)=>n===RU.Left?e-t:n===RU.Right?e+t:e,$q=(e,t,n)=>n===RU.Top?e-t:n===RU.Bottom?e+t:e,Hq="react-flow__edgeupdater",Gq=({position:e,centerX:t,centerY:n,radius:r=10,onMouseDown:i,onMouseEnter:o,onMouseOut:a,type:s})=>(0,IV.jsx)("circle",{onMouseDown:i,onMouseEnter:o,onMouseOut:a,className:MV([Hq,`react-flow__edgeupdater-${s}`]),cx:Vq(t,r,e),cy:$q(n,r,e),r,stroke:"transparent",fill:"transparent"}),Wq=()=>!0;var Uq=e=>{const t=({id:t,className:n,type:r,data:o,onClick:a,onEdgeDoubleClick:s,selected:l,animated:u,label:c,labelStyle:f,labelShowBg:h,labelBgStyle:d,labelBgPadding:p,labelBgBorderRadius:g,style:m,source:b,target:v,sourceX:y,sourceY:w,targetX:x,targetY:_,sourcePosition:S,targetPosition:k,elementsSelectable:C,hidden:E,sourceHandleId:I,targetHandleId:M,onContextMenu:T,onMouseEnter:A,onMouseMove:P,onMouseLeave:O,edgeUpdaterRadius:D,onEdgeUpdate:R,onEdgeUpdateStart:L,onEdgeUpdateEnd:N,markerEnd:j,markerStart:F,rfId:z,ariaLabel:B,isFocusable:V,isUpdatable:$,pathOptions:H,interactionWidth:G})=>{const W=(0,i.useRef)(null),[U,q]=(0,i.useState)(!1),[X,Y]=(0,i.useState)(!1),K=nU(),Z=(0,i.useMemo)((()=>`url(#${QU(F,z)})`),[F,z]),Q=(0,i.useMemo)((()=>`url(#${QU(j,z)})`),[j,z]);if(E)return null;const J=EU(t,K.getState,s),ee=EU(t,K.getState,T),te=EU(t,K.getState,A),ne=EU(t,K.getState,P),re=EU(t,K.getState,O),ie=(e,n)=>{if(0!==e.button)return;const{edges:r,isValidConnection:i}=K.getState(),o=n?v:b,a=(n?M:I)||null,s=n?"target":"source",l=i||Wq,u=n,c=r.find((e=>e.id===t));Y(!0),L?.(e,c,s);pq({event:e,handleId:a,nodeId:o,onConnect:e=>R?.(c,e),isTarget:u,getState:K.getState,setState:K.setState,isValidConnection:l,edgeUpdaterType:s,onEdgeUpdateEnd:e=>{Y(!1),N?.(e,c,s)}})},oe=()=>q(!0),ae=()=>q(!1),se=!C&&!a;return(0,IV.jsxs)("g",{className:MV(["react-flow__edge",`react-flow__edge-${r}`,n,{selected:l,animated:u,inactive:se,updating:U}]),onClick:e=>{const{edges:n,addSelectedEdges:r}=K.getState();if(C&&(K.setState({nodesSelectionActive:!1}),r([t])),a){const r=n.find((e=>e.id===t));a(e,r)}},onDoubleClick:J,onContextMenu:ee,onMouseEnter:te,onMouseMove:ne,onMouseLeave:re,onKeyDown:V?e=>{if(wU.includes(e.key)&&C){const{unselectNodesAndEdges:n,addSelectedEdges:r,edges:i}=K.getState();"Escape"===e.key?(W.current?.blur(),n({edges:[i.find((e=>e.id===t))]})):r([t])}}:void 0,tabIndex:V?0:void 0,role:V?"button":void 0,"data-testid":`rf__edge-${t}`,"aria-label":null===B?void 0:B||`Edge from ${b} to ${v}`,"aria-describedby":V?`react-flow__edge-desc-${z}`:void 0,ref:W,children:[!X&&(0,IV.jsx)(e,{id:t,source:b,target:v,selected:l,animated:u,label:c,labelStyle:f,labelShowBg:h,labelBgStyle:d,labelBgPadding:p,labelBgBorderRadius:g,data:o,style:m,sourceX:y,sourceY:w,targetX:x,targetY:_,sourcePosition:S,targetPosition:k,sourceHandleId:I,targetHandleId:M,markerStart:Z,markerEnd:Q,pathOptions:H,interactionWidth:G}),$&&(0,IV.jsxs)(IV.Fragment,{children:[("source"===$||!0===$)&&(0,IV.jsx)(Gq,{position:S,centerX:y,centerY:w,radius:D,onMouseDown:e=>ie(e,!0),onMouseEnter:oe,onMouseOut:ae,type:"source"}),("target"===$||!0===$)&&(0,IV.jsx)(Gq,{position:k,centerX:x,centerY:_,radius:D,onMouseDown:e=>ie(e,!1),onMouseEnter:oe,onMouseOut:ae,type:"target"})]})]})};return t.displayName="EdgeWrapper",(0,i.memo)(t)};function qq(e){const t={default:Uq(e.default||XU),straight:Uq(e.bezier||GU),step:Uq(e.step||HU),smoothstep:Uq(e.step||$U),simplebezier:Uq(e.simplebezier||jU)},n=Object.keys(e).filter((e=>!["default","bezier"].includes(e))).reduce(((t,n)=>(t[n]=Uq(e[n]||XU),t)),{});return{...t,...n}}function Xq(e,t,n=null){const r=(n?.x||0)+t.x,i=(n?.y||0)+t.y,o=n?.width||t.width,a=n?.height||t.height;switch(e){case RU.Top:return{x:r+o/2,y:i};case RU.Right:return{x:r+o,y:i+a/2};case RU.Bottom:return{x:r+o/2,y:i+a};case RU.Left:return{x:r,y:i+a/2}}}function Yq(e,t){return e?1!==e.length&&t?t&&e.find((e=>e.id===t))||null:e[0]:null}function Kq(e){const t=e?.[yU]?.handleBounds||null,n=t&&e?.width&&e?.height&&void 0!==e?.positionAbsolute?.x&&void 0!==e?.positionAbsolute?.y;return[{x:e?.positionAbsolute?.x||0,y:e?.positionAbsolute?.y||0,width:e?.width||0,height:e?.height||0},t,!!n]}function Zq(e,t){if(!e.parentNode)return!1;const n=t.get(e.parentNode);return!!n&&(!!n.selected||Zq(n,t))}function Qq(e,t,n){let r=e;do{if(r?.matches(t))return!0;if(r===n.current)return!1;r=r.parentElement}while(r);return!1}function Jq(e,t,n,r){return Array.from(e.values()).filter((n=>(n.selected||n.id===r)&&(!n.parentNode||!Zq(n,e))&&(n.draggable||t&&void 0===n.draggable))).map((e=>({id:e.id,position:e.position||{x:0,y:0},positionAbsolute:e.positionAbsolute||{x:0,y:0},distance:{x:n.x-(e.positionAbsolute?.x??0),y:n.y-(e.positionAbsolute?.y??0)},delta:{x:0,y:0},extent:e.extent,parentNode:e.parentNode,width:e.width,height:e.height})))}function eX(e,t,n,r,i=[0,0],o){const a=function(e,t){return t&&"parent"!==t?[t[0],[t[1][0]-(e.width||0),t[1][1]-(e.height||0)]]:t}(e,e.extent||r);let s=a;if("parent"===e.extent)if(e.parentNode&&e.width&&e.height){const t=n.get(e.parentNode),{x:r,y:o}=tq(t,i).positionAbsolute;s=t&&vU(r)&&vU(o)&&vU(t.width)&&vU(t.height)?[[r+e.width*i[0],o+e.height*i[1]],[r+t.width-e.width+e.width*i[0],o+t.height-e.height+e.height*i[1]]]:s}else o?.("005",XW()),s=a;else if(e.extent&&e.parentNode){const t=n.get(e.parentNode),{x:r,y:o}=tq(t,i).positionAbsolute;s=[[e.extent[0][0]+r,e.extent[0][1]+o],[e.extent[1][0]+r,e.extent[1][1]+o]]}let l={x:0,y:0};if(e.parentNode){const t=n.get(e.parentNode);l=tq(t,i).positionAbsolute}const u=s?uU(t,s):t;return{position:{x:u.x-l.x,y:u.y-l.y},positionAbsolute:u}}function tX({nodeId:e,dragItems:t,nodeInternals:n}){const r=t.map((e=>({...n.get(e.id),position:e.position,positionAbsolute:e.positionAbsolute})));return[e?r.find((t=>t.id===e)):r[0],r]}const nX=(e,t,n,r)=>{const i=t.querySelectorAll(e);if(!i||!i.length)return null;const o=Array.from(i),a=t.getBoundingClientRect(),s=a.width*r[0],l=a.height*r[1];return o.map((e=>{const t=e.getBoundingClientRect();return{id:e.getAttribute("data-handleid"),position:e.getAttribute("data-handlepos"),x:(t.left-a.left-s)/n,y:(t.top-a.top-l)/n,...sU(e)}}))};function rX(e,t,n){return void 0===n?n:r=>{const i=t().nodeInternals.get(e);n(r,{...i})}}function iX({id:e,store:t,unselect:n=!1,nodeRef:r}){const{addSelectedNodes:i,unselectNodesAndEdges:o,multiSelectionActive:a,nodeInternals:s}=t.getState(),l=s.get(e);t.setState({nodesSelectionActive:!1}),l.selected?(n||l.selected&&a)&&(o({nodes:[l]}),requestAnimationFrame((()=>r?.current?.blur()))):i([e])}function oX(e){return(t,n,r)=>e?.(t,r)}function aX({nodeRef:e,disabled:t=!1,noDragClassName:n,handleSelector:r,nodeId:o,isSelectable:a,selectNodesOnDrag:s}){const l=nU(),[u,c]=(0,i.useState)(!1),f=(0,i.useRef)([]),h=(0,i.useRef)({x:null,y:null}),d=(0,i.useRef)(0),p=(0,i.useRef)(null),g=(0,i.useRef)({x:0,y:0}),m=(0,i.useRef)(null),b=(0,i.useRef)(!1),v=function(){const e=nU(),t=(0,i.useCallback)((({sourceEvent:t})=>{const{transform:n,snapGrid:r,snapToGrid:i}=e.getState(),o=t.touches?t.touches[0].clientX:t.clientX,a=t.touches?t.touches[0].clientY:t.clientY,s={x:(o-n[0])/n[2],y:(a-n[1])/n[2]};return{xSnapped:i?r[0]*Math.round(s.x/r[0]):s.x,ySnapped:i?r[1]*Math.round(s.y/r[1]):s.y,...s}}),[]);return t}();return(0,i.useEffect)((()=>{if(e?.current){const i=rH(e.current),u=({x:e,y:t})=>{const{nodeInternals:n,onNodeDrag:r,onSelectionDrag:i,updateNodePositions:a,nodeExtent:s,snapGrid:u,snapToGrid:d,nodeOrigin:p,onError:g}=l.getState();h.current={x:e,y:t};let b=!1;if(f.current=f.current.map((r=>{const i={x:e-r.distance.x,y:t-r.distance.y};d&&(i.x=u[0]*Math.round(i.x/u[0]),i.y=u[1]*Math.round(i.y/u[1]));const o=eX(r,i,n,s,p,g);return b=b||r.position.x!==o.position.x||r.position.y!==o.position.y,r.position=o.position,r.positionAbsolute=o.positionAbsolute,r})),!b)return;a(f.current,!0,!0),c(!0);const v=o?r:oX(i);if(v&&m.current){const[e,t]=tX({nodeId:o,dragItems:f.current,nodeInternals:n});v(m.current,e,t)}},y=()=>{if(!p.current)return;const[e,t]=fU(g.current,p.current);if(0!==e||0!==t){const{transform:n,panBy:r}=l.getState();h.current.x=(h.current.x??0)-e/n[2],h.current.y=(h.current.y??0)-t/n[2],r({x:e,y:t})&&u(h.current)}d.current=requestAnimationFrame(y)};if(!t){const t=gH().on("start",(t=>{const{nodeInternals:n,multiSelectionActive:r,domNode:i,nodesDraggable:u,unselectNodesAndEdges:c,onNodeDragStart:d,onSelectionDragStart:m}=l.getState(),b=o?d:oX(m);s||r||!o||n.get(o)?.selected||c(),o&&a&&s&&iX({id:o,store:l,nodeRef:e});const y=v(t);if(h.current=y,f.current=Jq(n,u,y,o),b&&f.current){const[e,r]=tX({nodeId:o,dragItems:f.current,nodeInternals:n});b(t.sourceEvent,e,r)}p.current=i?.getBoundingClientRect()||null,g.current=kU(t.sourceEvent,p.current)})).on("drag",(e=>{const t=v(e),{autoPanOnNodeDrag:n}=l.getState();!b.current&&n&&(b.current=!0,y()),h.current.x===t.xSnapped&&h.current.y===t.ySnapped||!f.current||(m.current=e.sourceEvent,g.current=kU(e.sourceEvent,p.current),u(t))})).on("end",(e=>{if(c(!1),b.current=!1,cancelAnimationFrame(d.current),f.current){const{updateNodePositions:t,nodeInternals:n,onNodeDragStop:r,onSelectionDragStop:i}=l.getState(),a=o?r:oX(i);if(t(f.current,!1,!1),a){const[t,r]=tX({nodeId:o,dragItems:f.current,nodeInternals:n});a(e.sourceEvent,t,r)}}})).filter((t=>{const i=t.target;return!t.button&&(!n||!Qq(i,`.${n}`,e))&&(!r||Qq(i,r,e))}));return i.call(t),()=>{i.on(".drag",null)}}i.on(".drag",null)}}),[e,t,n,r,a,l,o,s,v]),u}function sX(){const e=nU(),t=(0,i.useCallback)((t=>{const{nodeInternals:n,nodeExtent:r,updateNodePositions:i,getNodes:o,snapToGrid:a,snapGrid:s,onError:l,nodesDraggable:u}=e.getState(),c=o().filter((e=>e.selected&&(e.draggable||u&&void 0===e.draggable))),f=a?s[0]:5,h=a?s[1]:5,d=t.isShiftPressed?4:1,p=t.x*f*d,g=t.y*h*d,m=c.map((e=>{if(e.positionAbsolute){const t={x:e.positionAbsolute.x+p,y:e.positionAbsolute.y+g};a&&(t.x=s[0]*Math.round(t.x/s[0]),t.y=s[1]*Math.round(t.y/s[1]));const{positionAbsolute:i,position:o}=eX(e,t,n,r,void 0,l);e.position=o,e.positionAbsolute=i}return e}));i(m,!0,!1)}),[]);return t}const lX={ArrowUp:{x:0,y:-1},ArrowDown:{x:0,y:1},ArrowLeft:{x:-1,y:0},ArrowRight:{x:1,y:0}};var uX=e=>{const t=({id:t,type:n,data:r,xPos:o,yPos:a,xPosOrigin:s,yPosOrigin:l,selected:u,onClick:c,onMouseEnter:f,onMouseMove:h,onMouseLeave:d,onContextMenu:p,onDoubleClick:g,style:m,className:b,isDraggable:v,isSelectable:y,isConnectable:w,isFocusable:x,selectNodesOnDrag:_,sourcePosition:S,targetPosition:k,hidden:C,resizeObserver:E,dragHandle:I,zIndex:M,isParent:T,noDragClassName:A,noPanClassName:P,initialized:O,disableKeyboardA11y:D,ariaLabel:R,rfId:L})=>{const N=nU(),j=(0,i.useRef)(null),F=(0,i.useRef)(S),z=(0,i.useRef)(k),B=(0,i.useRef)(n),V=y||v||c||f||h||d,$=sX(),H=rX(t,N.getState,f),G=rX(t,N.getState,h),W=rX(t,N.getState,d),U=rX(t,N.getState,p),q=rX(t,N.getState,g);(0,i.useEffect)((()=>{if(j.current&&!C){const e=j.current;return E?.observe(e),()=>E?.unobserve(e)}}),[C]),(0,i.useEffect)((()=>{const e=B.current!==n,r=F.current!==S,i=z.current!==k;j.current&&(e||r||i)&&(e&&(B.current=n),r&&(F.current=S),i&&(z.current=k),N.getState().updateNodeDimensions([{id:t,nodeElement:j.current,forceUpdate:!0}]))}),[t,n,S,k]);const X=aX({nodeRef:j,disabled:C||!v,noDragClassName:A,handleSelector:I,nodeId:t,isSelectable:y,selectNodesOnDrag:_});return C?null:(0,IV.jsx)("div",{className:MV(["react-flow__node",`react-flow__node-${n}`,{[P]:v},b,{selected:u,selectable:y,parent:T,dragging:X}]),ref:j,style:{zIndex:M,transform:`translate(${s}px,${l}px)`,pointerEvents:V?"all":"none",visibility:O?"visible":"hidden",...m},"data-id":t,"data-testid":`rf__node-${t}`,onMouseEnter:H,onMouseMove:G,onMouseLeave:W,onContextMenu:U,onClick:e=>{if(!y||_&&v||iX({id:t,store:N,nodeRef:j}),c){const n=N.getState().nodeInternals.get(t);c(e,{...n})}},onDoubleClick:q,onKeyDown:x?e=>{if(!_U(e))if(wU.includes(e.key)&&y){const n="Escape"===e.key;iX({id:t,store:N,unselect:n,nodeRef:j})}else!D&&v&&u&&Object.prototype.hasOwnProperty.call(lX,e.key)&&(N.setState({ariaLiveMessage:`Moved selected node ${e.key.replace("Arrow","").toLowerCase()}. New position, x: ${~~o}, y: ${~~a}`}),$({x:lX[e.key].x,y:lX[e.key].y,isShiftPressed:e.shiftKey}))}:void 0,tabIndex:x?0:void 0,role:x?"button":void 0,"aria-describedby":D?void 0:`react-flow__node-desc-${L}`,"aria-label":R,children:(0,IV.jsx)(KU,{value:t,children:(0,IV.jsx)(e,{id:t,data:r,type:n,xPos:o,yPos:a,selected:u,isConnectable:w,sourcePosition:S,targetPosition:k,dragging:X,dragHandle:I,zIndex:M})})})};return t.displayName="NodeWrapper",(0,i.memo)(t)};function cX(e){const t={input:uX(e.input||_q),default:uX(e.default||wq),output:uX(e.output||kq),group:uX(e.group||Cq)},n=Object.keys(e).filter((e=>!["input","default","output","group"].includes(e))).reduce(((t,n)=>(t[n]=uX(e[n]||wq),t)),{});return{...t,...n}}const fX="undefined"!=typeof document?document:null;var hX=(e=null,t={target:fX})=>{const[n,r]=(0,i.useState)(!1),o=(0,i.useRef)(!1),a=(0,i.useRef)(new Set([])),[s,l]=(0,i.useMemo)((()=>{if(null!==e){const t=(Array.isArray(e)?e:[e]).filter((e=>"string"==typeof e)).map((e=>e.split("+"))),n=t.reduce(((e,t)=>e.concat(...t)),[]);return[t,n]}return[[],[]]}),[e]);return(0,i.useEffect)((()=>{if(null!==e){const e=e=>{if(o.current=e.ctrlKey||e.metaKey||e.shiftKey,!o.current&&_U(e))return!1;const t=pX(e.code,l);a.current.add(e[t]),dX(s,a.current,!1)&&(e.preventDefault(),r(!0))},n=e=>{if(!o.current&&_U(e))return!1;const t=pX(e.code,l);dX(s,a.current,!0)?(r(!1),a.current.clear()):a.current.delete(e[t]),o.current=!1},i=()=>{a.current.clear(),r(!1)};return t?.target?.addEventListener("keydown",e),t?.target?.addEventListener("keyup",n),window.addEventListener("blur",i),()=>{t?.target?.removeEventListener("keydown",e),t?.target?.removeEventListener("keyup",n),window.removeEventListener("blur",i)}}}),[e,r]),n};function dX(e,t,n){return e.filter((e=>n||e.length===t.size)).some((e=>e.every((e=>t.has(e)))))}function pX(e,t){return t.includes(e)?"code":"key"}function gX(e,t,n,r){if(!e.parentNode)return n;const i=t.get(e.parentNode),o=tq(i,r);return gX(i,t,{x:(n.x??0)+o.x,y:(n.y??0)+o.y,z:(i[yU]?.z??0)>(n.z??0)?i[yU]?.z??0:n.z??0},r)}function mX(e,t,n){e.forEach((r=>{if(r.parentNode&&!e.has(r.parentNode))throw new Error(`Parent node ${r.parentNode} not found`);if(r.parentNode||n?.[r.id]){const{x:i,y:o,z:a}=gX(r,e,{...r.position,z:r[yU]?.z??0},t);r.positionAbsolute={x:i,y:o},r[yU].z=a,n?.[r.id]&&(r[yU].isParent=!0)}}))}function bX(e,t,n,r){const i=new Map,o={},a=r?1e3:0;return e.forEach((e=>{const n=(vU(e.zIndex)?e.zIndex:0)+(e.selected?a:0),r=t.get(e.id),s={width:r?.width,height:r?.height,...e,positionAbsolute:{x:e.position.x,y:e.position.y}};e.parentNode&&(s.parentNode=e.parentNode,o[e.parentNode]=!0),Object.defineProperty(s,yU,{enumerable:!1,value:{handleBounds:r?.[yU]?.handleBounds,z:n}}),i.set(e.id,s)})),mX(i,n,o),i}function vX(e,t={}){const{getNodes:n,width:r,height:i,minZoom:o,maxZoom:a,d3Zoom:s,d3Selection:l,fitViewOnInitDone:u,fitViewOnInit:c,nodeOrigin:f}=e(),h=t.initial&&!u&&c;if(s&&l&&(h||!t.initial)){const e=n().filter((e=>{const n=t.includeHiddenNodes?e.width&&e.height:!e.hidden;return t.nodes?.length?n&&t.nodes.some((t=>t.id===e.id)):n})),u=e.every((e=>e.width&&e.height));if(e.length>0&&u){const n=nq(e,f),[u,c,h]=oq(n,r,i,t.minZoom??o,t.maxZoom??a,t.padding??.1),d=RW.translate(u,c).scale(h);return"number"==typeof t.duration&&t.duration>0?s.transform(aq(l,t.duration),d):s.transform(l,d),!0}}return!1}function yX(e,t){return e.forEach((e=>{const n=t.get(e.id);n&&t.set(n.id,{...n,[yU]:n[yU],selected:e.selected})})),new Map(t)}function wX(e,t){return t.map((t=>{const n=e.find((e=>e.id===t.id));return n&&(t.selected=n.selected),t}))}function xX({changedNodes:e,changedEdges:t,get:n,set:r}){const{nodeInternals:i,edges:o,onNodesChange:a,onEdgesChange:s,hasDefaultNodes:l,hasDefaultEdges:u}=n();e?.length&&(l&&r({nodeInternals:yX(e,i)}),a?.(e)),t?.length&&(u&&r({edges:wX(t,o)}),s?.(t))}const _X=()=>{},SX={zoomIn:_X,zoomOut:_X,zoomTo:_X,getZoom:()=>1,setViewport:_X,getViewport:()=>({x:0,y:0,zoom:1}),fitView:()=>!1,setCenter:_X,fitBounds:_X,project:e=>e,viewportInitialized:!1},kX=e=>({d3Zoom:e.d3Zoom,d3Selection:e.d3Selection});function CX(){const e=(()=>{const e=nU(),{d3Zoom:t,d3Selection:n}=tU(kX,RV),r=(0,i.useMemo)((()=>n&&t?{zoomIn:e=>t.scaleBy(aq(n,e?.duration),1.2),zoomOut:e=>t.scaleBy(aq(n,e?.duration),1/1.2),zoomTo:(e,r)=>t.scaleTo(aq(n,r?.duration),e),getZoom:()=>e.getState().transform[2],setViewport:(r,i)=>{const[o,a,s]=e.getState().transform,l=RW.translate(r.x??o,r.y??a).scale(r.zoom??s);t.transform(aq(n,i?.duration),l)},getViewport:()=>{const[t,n,r]=e.getState().transform;return{x:t,y:n,zoom:r}},fitView:t=>vX(e.getState,t),setCenter:(r,i,o)=>{const{width:a,height:s,maxZoom:l}=e.getState(),u=void 0!==o?.zoom?o.zoom:l,c=a/2-r*u,f=s/2-i*u,h=RW.translate(c,f).scale(u);t.transform(aq(n,o?.duration),h)},fitBounds:(r,i)=>{const{width:o,height:a,minZoom:s,maxZoom:l}=e.getState(),[u,c,f]=oq(r,o,a,s,l,i?.padding??.1),h=RW.translate(u,c).scale(f);t.transform(aq(n,i?.duration),h)},project:t=>{const{transform:n,snapToGrid:r,snapGrid:i}=e.getState();return JU(t,n,r,i)},viewportInitialized:!0}:SX),[t,n]);return r})(),t=nU(),n=(0,i.useCallback)((()=>t.getState().getNodes().map((e=>({...e})))),[]),r=(0,i.useCallback)((e=>t.getState().nodeInternals.get(e)),[]),o=(0,i.useCallback)((()=>{const{edges:e=[]}=t.getState();return e.map((e=>({...e})))}),[]),a=(0,i.useCallback)((e=>{const{edges:n=[]}=t.getState();return n.find((t=>t.id===e))}),[]),s=(0,i.useCallback)((e=>{const{getNodes:n,setNodes:r,hasDefaultNodes:i,onNodesChange:o}=t.getState(),a=n(),s="function"==typeof e?e(a):e;if(i)r(s);else if(o){const e=0===s.length?a.map((e=>({type:"remove",id:e.id}))):s.map((e=>({item:e,type:"reset"})));o(e)}}),[]),l=(0,i.useCallback)((e=>{const{edges:n=[],setEdges:r,hasDefaultEdges:i,onEdgesChange:o}=t.getState(),a="function"==typeof e?e(n):e;if(i)r(a);else if(o){o(0===a.length?n.map((e=>({type:"remove",id:e.id}))):a.map((e=>({item:e,type:"reset"}))))}}),[]),u=(0,i.useCallback)((e=>{const n=Array.isArray(e)?e:[e],{getNodes:r,setNodes:i,hasDefaultNodes:o,onNodesChange:a}=t.getState();if(o){i([...r(),...n])}else if(a){const e=n.map((e=>({item:e,type:"add"})));a(e)}}),[]),c=(0,i.useCallback)((e=>{const n=Array.isArray(e)?e:[e],{edges:r=[],setEdges:i,hasDefaultEdges:o,onEdgesChange:a}=t.getState();if(o)i([...r,...n]);else if(a){a(n.map((e=>({item:e,type:"add"}))))}}),[]),f=(0,i.useCallback)((()=>{const{getNodes:e,edges:n=[],transform:r}=t.getState(),[i,o,a]=r;return{nodes:e().map((e=>({...e}))),edges:n.map((e=>({...e}))),viewport:{x:i,y:o,zoom:a}}}),[]),h=(0,i.useCallback)((({nodes:e,edges:n})=>{const{nodeInternals:r,getNodes:i,edges:o,hasDefaultNodes:a,hasDefaultEdges:s,onNodesDelete:l,onEdgesDelete:u,onNodesChange:c,onEdgesChange:f}=t.getState(),h=(e||[]).map((e=>e.id)),d=(n||[]).map((e=>e.id)),p=i().reduce(((e,t)=>{const n=!h.includes(t.id)&&t.parentNode&&e.find((e=>e.id===t.parentNode));return("boolean"!=typeof t.deletable||t.deletable)&&(h.includes(t.id)||n)&&e.push(t),e}),[]),g=o.filter((e=>"boolean"!=typeof e.deletable||e.deletable)),m=g.filter((e=>d.includes(e.id)));if(p||m){const e=iq(p,g),n=[...m,...e],i=n.reduce(((e,t)=>(e.includes(t.id)||e.push(t.id),e)),[]);if((s||a)&&(s&&t.setState({edges:o.filter((e=>!i.includes(e.id)))}),a&&(p.forEach((e=>{r.delete(e.id)})),t.setState({nodeInternals:new Map(r)}))),i.length>0&&(u?.(n),f&&f(i.map((e=>({id:e,type:"remove"}))))),p.length>0&&(l?.(p),c)){c(p.map((e=>({id:e.id,type:"remove"}))))}}}),[]),d=(0,i.useCallback)((e=>{const n=vU((r=e).width)&&vU(r.height)&&vU(r.x)&&vU(r.y);var r;const i=n?null:t.getState().nodeInternals.get(e.id);return[n?e:mU(i),i,n]}),[]),p=(0,i.useCallback)(((e,n=!0,r)=>{const[i,o,a]=d(e);return i?(r||t.getState().getNodes()).filter((t=>{if(!(a||t.id!==o.id&&t.positionAbsolute))return!1;const r=mU(t),s=bU(r,i);return n&&s>0||s>=e.width*e.height})):[]}),[]),g=(0,i.useCallback)(((e,t,n=!0)=>{const[r]=d(e);if(!r)return!1;const i=bU(r,t);return n&&i>0||i>=e.width*e.height}),[]);return(0,i.useMemo)((()=>({...e,getNodes:n,getNode:r,getEdges:o,getEdge:a,setNodes:s,setEdges:l,addNodes:u,addEdges:c,toObject:f,deleteElements:h,getIntersectingNodes:p,isNodeIntersecting:g})),[e,n,r,o,a,s,l,u,c,f,h,p,g])}const EX={position:"absolute",width:"100%",height:"100%",top:0,left:0},IX=e=>({x:e.x,y:e.y,zoom:e.k}),MX=(e,t)=>e.target.closest(`.${t}`),TX=(e,t)=>2===t&&Array.isArray(e)&&e.includes(2),AX=e=>({d3Zoom:e.d3Zoom,d3Selection:e.d3Selection,d3ZoomHandler:e.d3ZoomHandler,userSelectionActive:e.userSelectionActive}),PX=({onMove:e,onMoveStart:t,onMoveEnd:n,onPaneContextMenu:r,zoomOnScroll:o=!0,zoomOnPinch:a=!0,panOnScroll:s=!1,panOnScrollSpeed:l=.5,panOnScrollMode:u=AU.Free,zoomOnDoubleClick:c=!0,elementsSelectable:f,panOnDrag:h=!0,defaultViewport:d,translateExtent:p,minZoom:g,maxZoom:m,zoomActivationKeyCode:b,preventScrolling:v=!0,children:y,noWheelClassName:w,noPanClassName:x})=>{const _=(0,i.useRef)(),S=nU(),k=(0,i.useRef)(!1),C=(0,i.useRef)(!1),E=(0,i.useRef)(null),I=(0,i.useRef)({x:0,y:0,zoom:0}),{d3Zoom:M,d3Selection:T,d3ZoomHandler:A,userSelectionActive:P}=tU(AX,RV),O=hX(b),D=(0,i.useRef)(0);return function(e){const t=nU();(0,i.useEffect)((()=>{let n;const r=()=>{if(!e.current)return;const n=sU(e.current);0!==n.height&&0!==n.width||t.getState().onError?.("004",qW()),t.setState({width:n.width||500,height:n.height||500})};return r(),window.addEventListener("resize",r),e.current&&(n=new ResizeObserver((()=>r())),n.observe(e.current)),()=>{window.removeEventListener("resize",r),n&&e.current&&n.unobserve(e.current)}}),[])}(E),(0,i.useEffect)((()=>{if(E.current){const e=E.current.getBoundingClientRect(),t=HW().scaleExtent([g,m]).translateExtent(p),n=rH(E.current).call(t),r=RW.translate(d.x,d.y).scale(lU(d.zoom,g,m)),i=[[0,0],[e.width,e.height]],o=t.constrain()(r,i,p);t.transform(n,o),S.setState({d3Zoom:t,d3Selection:n,d3ZoomHandler:n.on("wheel.zoom"),transform:[o.x,o.y,o.k],domNode:E.current.closest(".react-flow")})}}),[]),(0,i.useEffect)((()=>{T&&M&&(!s||O||P?void 0!==A&&T.on("wheel.zoom",(function(e,t){if(!v||MX(e,w))return null;e.preventDefault(),A.call(this,e,t)}),{passive:!1}):T.on("wheel.zoom",(e=>{if(MX(e,w))return!1;e.preventDefault(),e.stopImmediatePropagation();const t=T.property("__zoom").k||1;if(e.ctrlKey&&a){const n=iH(e),r=-e.deltaY*(1===e.deltaMode?.05:e.deltaMode?1:.002)*10,i=t*Math.pow(2,r);return void M.scaleTo(T,i,n)}const n=1===e.deltaMode?20:1,r=u===AU.Vertical?0:e.deltaX*n,i=u===AU.Horizontal?0:e.deltaY*n;M.translateBy(T,-r/t*l,-i/t*l)}),{passive:!1}))}),[P,s,u,T,M,A,O,a,v,w]),(0,i.useEffect)((()=>{M&&M.on("start",(e=>{if(!e.sourceEvent)return null;D.current=e.sourceEvent.button;const{onViewportChangeStart:n}=S.getState();if(k.current=!0,"mousedown"===e.sourceEvent?.type&&S.setState({paneDragging:!0}),t||n){const r=IX(e.transform);I.current=r,n?.(r),t?.(e.sourceEvent,r)}}))}),[M,t]),(0,i.useEffect)((()=>{M&&(P&&!k.current?M.on("zoom",null):P||M.on("zoom",(t=>{const{onViewportChange:n}=S.getState();if(S.setState({transform:[t.transform.x,t.transform.y,t.transform.k]}),C.current=!(!r||!TX(h,D.current??0)),e||n){const r=IX(t.transform);n?.(r),e?.(t.sourceEvent,r)}})))}),[P,M,e,h,r]),(0,i.useEffect)((()=>{M&&M.on("end",(e=>{if(!e.sourceEvent)return null;const{onViewportChangeEnd:t}=S.getState();if(k.current=!1,S.setState({paneDragging:!1}),r&&TX(h,D.current??0)&&!C.current&&r(e.sourceEvent),C.current=!1,(n||t)&&(i=I.current,o=e.transform,i.x!==o.x||i.y!==o.y||i.zoom!==o.k)){const r=IX(e.transform);I.current=r,clearTimeout(_.current),_.current=setTimeout((()=>{t?.(r),n?.(e.sourceEvent,r)}),s?150:0)}var i,o}))}),[M,s,h,n,r]),(0,i.useEffect)((()=>{M&&M.filter((e=>{const t=O||o,n=a&&e.ctrlKey;if(1===e.button&&"mousedown"===e.type&&(MX(e,"react-flow__node")||MX(e,"react-flow__edge")))return!0;if(!(h||t||s||c||a))return!1;if(P)return!1;if(!c&&"dblclick"===e.type)return!1;if(MX(e,w)&&"wheel"===e.type)return!1;if(MX(e,x)&&"wheel"!==e.type)return!1;if(!a&&e.ctrlKey&&"wheel"===e.type)return!1;if(!t&&!s&&!n&&"wheel"===e.type)return!1;if(!h&&("mousedown"===e.type||"touchstart"===e.type))return!1;if(Array.isArray(h)&&!h.includes(e.button)&&("mousedown"===e.type||"touchstart"===e.type))return!1;const r=Array.isArray(h)&&h.includes(e.button)||!e.button||e.button<=1;return(!e.ctrlKey||"wheel"===e.type)&&r}))}),[P,M,o,a,s,c,h,f,O]),(0,IV.jsx)("div",{className:"react-flow__renderer",ref:E,style:EX,children:y})},OX=e=>({userSelectionActive:e.userSelectionActive,userSelectionRect:e.userSelectionRect});function DX(){const{userSelectionActive:e,userSelectionRect:t}=tU(OX,RV);return e&&t?(0,IV.jsx)("div",{className:"react-flow__selection react-flow__container",style:{width:t.width,height:t.height,transform:`translate(${t.x}px, ${t.y}px)`}}):null}function RX(e,t){const n=e.find((e=>e.id===t.parentNode));if(n){const e=t.position.x+t.width-n.width,r=t.position.y+t.height-n.height;if(e>0||r>0||t.position.x<0||t.position.y<0){if(n.style={...n.style}||{},n.style.width=n.style.width??n.width,n.style.height=n.style.height??n.height,e>0&&(n.style.width+=e),r>0&&(n.style.height+=r),t.position.x<0){const e=Math.abs(t.position.x);n.position.x=n.position.x-e,n.style.width+=e,t.position.x=0}if(t.position.y<0){const e=Math.abs(t.position.y);n.position.y=n.position.y-e,n.style.height+=e,t.position.y=0}n.width=n.style.width,n.height=n.style.height}}}function LX(e,t){if(e.some((e=>"reset"===e.type)))return e.filter((e=>"reset"===e.type)).map((e=>e.item));const n=e.filter((e=>"add"===e.type)).map((e=>e.item));return t.reduce(((t,n)=>{const r=e.filter((e=>e.id===n.id));if(0===r.length)return t.push(n),t;const i={...n};for(const e of r)if(e)switch(e.type){case"select":i.selected=e.selected;break;case"position":void 0!==e.position&&(i.position=e.position),void 0!==e.positionAbsolute&&(i.positionAbsolute=e.positionAbsolute),void 0!==e.dragging&&(i.dragging=e.dragging),i.expandParent&&RX(t,i);break;case"dimensions":void 0!==e.dimensions&&(i.width=e.dimensions.width,i.height=e.dimensions.height),void 0!==e.updateStyle&&(i.style={...i.style||{},...e.dimensions}),"boolean"==typeof e.resizing&&(i.resizing=e.resizing),i.expandParent&&RX(t,i);break;case"remove":return t}return t.push(i),t}),n)}function NX(e,t){return LX(e,t)}const jX=(e,t)=>({id:e,type:"select",selected:t});function FX(e,t){return e.reduce(((e,n)=>{const r=t.includes(n.id);return!n.selected&&r?(n.selected=!0,e.push(jX(n.id,!0))):n.selected&&!r&&(n.selected=!1,e.push(jX(n.id,!1))),e}),[])}const zX=(e,t)=>n=>{n.target===t.current&&e?.(n)},BX=e=>({userSelectionActive:e.userSelectionActive,elementsSelectable:e.elementsSelectable,dragging:e.paneDragging}),VX=(0,i.memo)((({isSelecting:e,selectionMode:t=PU.Full,panOnDrag:n,onSelectionStart:r,onSelectionEnd:o,onPaneClick:a,onPaneContextMenu:s,onPaneScroll:l,onPaneMouseEnter:u,onPaneMouseMove:c,onPaneMouseLeave:f,children:h})=>{const d=(0,i.useRef)(null),p=nU(),g=(0,i.useRef)(0),m=(0,i.useRef)(0),b=(0,i.useRef)(),{userSelectionActive:v,elementsSelectable:y,dragging:w}=tU(BX,RV),x=()=>{p.setState({userSelectionActive:!1,userSelectionRect:null}),g.current=0,m.current=0},_=e=>{a?.(e),p.getState().resetSelectedElements(),p.setState({nodesSelectionActive:!1})},S=l?e=>l(e):void 0,k=y&&(e||v);return(0,IV.jsxs)("div",{className:MV(["react-flow__pane",{dragging:w,selection:e}]),onClick:k?void 0:zX(_,d),onContextMenu:zX((e=>{Array.isArray(n)&&n?.includes(2)?e.preventDefault():s?.(e)}),d),onWheel:zX(S,d),onMouseEnter:k?void 0:u,onMouseDown:k?t=>{const{resetSelectedElements:n,domNode:i}=p.getState();if(b.current=i?.getBoundingClientRect(),!y||!e||0!==t.button||t.target!==d.current||!b.current)return;const{x:o,y:a}=kU(t,b.current);n(),p.setState({userSelectionRect:{width:0,height:0,startX:o,startY:a,x:o,y:a}}),r?.(t)}:void 0,onMouseMove:k?n=>{const{userSelectionRect:r,nodeInternals:i,edges:o,transform:a,onNodesChange:s,onEdgesChange:l,nodeOrigin:u,getNodes:c}=p.getState();if(!e||!b.current||!r)return;p.setState({userSelectionActive:!0,nodesSelectionActive:!1});const f=kU(n,b.current),h=r.startX??0,d=r.startY??0,v={...r,x:f.x<h?f.x:h,y:f.y<d?f.y:d,width:Math.abs(f.x-h),height:Math.abs(f.y-d)},y=c(),w=rq(i,v,a,t===PU.Partial,!0,u),x=iq(w,o).map((e=>e.id)),_=w.map((e=>e.id));if(g.current!==_.length){g.current=_.length;const e=FX(y,_);e.length&&s?.(e)}if(m.current!==x.length){m.current=x.length;const e=FX(o,x);e.length&&l?.(e)}p.setState({userSelectionRect:v})}:c,onMouseUp:k?e=>{if(0!==e.button)return;const{userSelectionRect:t}=p.getState();!v&&t&&e.target===d.current&&_?.(e),p.setState({nodesSelectionActive:g.current>0}),x(),o?.(e)}:void 0,onMouseLeave:k?e=>{v&&(p.setState({nodesSelectionActive:g.current>0}),o?.(e)),x()}:f,ref:d,style:EX,children:[h,(0,IV.jsx)(DX,{})]})}));VX.displayName="Pane";const $X=e=>{const t=e.getNodes().filter((e=>e.selected));return{...nq(t,e.nodeOrigin),transformString:`translate(${e.transform[0]}px,${e.transform[1]}px) scale(${e.transform[2]})`,userSelectionActive:e.userSelectionActive}};var HX=(0,i.memo)((function({onSelectionContextMenu:e,noPanClassName:t,disableKeyboardA11y:n}){const r=nU(),{width:o,height:a,x:s,y:l,transformString:u,userSelectionActive:c}=tU($X,RV),f=sX(),h=(0,i.useRef)(null);if((0,i.useEffect)((()=>{n||h.current?.focus({preventScroll:!0})}),[n]),aX({nodeRef:h}),c||!o||!a)return null;const d=e?t=>{const n=r.getState().getNodes().filter((e=>e.selected));e(t,n)}:void 0;return(0,IV.jsx)("div",{className:MV(["react-flow__nodesselection","react-flow__container",t]),style:{transform:u},children:(0,IV.jsx)("div",{ref:h,className:"react-flow__nodesselection-rect",onContextMenu:d,tabIndex:n?void 0:-1,onKeyDown:n?void 0:e=>{Object.prototype.hasOwnProperty.call(lX,e.key)&&f({x:lX[e.key].x,y:lX[e.key].y,isShiftPressed:e.shiftKey})},style:{width:o,height:a,top:l,left:s}})})}));const GX=e=>e.nodesSelectionActive,WX=({children:e,onPaneClick:t,onPaneMouseEnter:n,onPaneMouseMove:r,onPaneMouseLeave:o,onPaneContextMenu:a,onPaneScroll:s,deleteKeyCode:l,onMove:u,onMoveStart:c,onMoveEnd:f,selectionKeyCode:h,selectionOnDrag:d,selectionMode:p,onSelectionStart:g,onSelectionEnd:m,multiSelectionKeyCode:b,panActivationKeyCode:v,zoomActivationKeyCode:y,elementsSelectable:w,zoomOnScroll:x,zoomOnPinch:_,panOnScroll:S,panOnScrollSpeed:k,panOnScrollMode:C,zoomOnDoubleClick:E,panOnDrag:I,defaultViewport:M,translateExtent:T,minZoom:A,maxZoom:P,preventScrolling:O,onSelectionContextMenu:D,noWheelClassName:R,noPanClassName:L,disableKeyboardA11y:N})=>{const j=tU(GX),F=hX(h),z=hX(v)||I,B=F||d&&!0!==z;return(({deleteKeyCode:e,multiSelectionKeyCode:t})=>{const n=nU(),{deleteElements:r}=CX(),o=hX(e),a=hX(t);(0,i.useEffect)((()=>{if(o){const{edges:e,getNodes:t}=n.getState(),i=t().filter((e=>e.selected)),o=e.filter((e=>e.selected));r({nodes:i,edges:o}),n.setState({nodesSelectionActive:!1})}}),[o]),(0,i.useEffect)((()=>{n.setState({multiSelectionActive:a})}),[a])})({deleteKeyCode:l,multiSelectionKeyCode:b}),(0,IV.jsx)(PX,{onMove:u,onMoveStart:c,onMoveEnd:f,onPaneContextMenu:a,elementsSelectable:w,zoomOnScroll:x,zoomOnPinch:_,panOnScroll:S,panOnScrollSpeed:k,panOnScrollMode:C,zoomOnDoubleClick:E,panOnDrag:!F&&z,defaultViewport:M,translateExtent:T,minZoom:A,maxZoom:P,zoomActivationKeyCode:y,preventScrolling:O,noWheelClassName:R,noPanClassName:L,children:(0,IV.jsxs)(VX,{onSelectionStart:g,onSelectionEnd:m,onPaneClick:t,onPaneMouseEnter:n,onPaneMouseMove:r,onPaneMouseLeave:o,onPaneContextMenu:a,onPaneScroll:s,panOnDrag:z,isSelecting:!!B,selectionMode:p,children:[e,j&&(0,IV.jsx)(HX,{onSelectionContextMenu:D,noPanClassName:L,disableKeyboardA11y:N})]})})};WX.displayName="FlowRenderer";var UX=(0,i.memo)(WX);const qX=e=>({nodesDraggable:e.nodesDraggable,nodesConnectable:e.nodesConnectable,nodesFocusable:e.nodesFocusable,elementsSelectable:e.elementsSelectable,updateNodeDimensions:e.updateNodeDimensions,onError:e.onError}),XX=e=>{const{nodesDraggable:t,nodesConnectable:n,nodesFocusable:r,elementsSelectable:o,updateNodeDimensions:a,onError:s}=tU(qX,RV),l=(u=e.onlyRenderVisibleElements,tU((0,i.useCallback)((e=>u?rq(e.nodeInternals,{x:0,y:0,width:e.width,height:e.height},e.transform,!0):e.getNodes()),[u])));var u;const c=(0,i.useRef)(),f=(0,i.useMemo)((()=>{if("undefined"==typeof ResizeObserver)return null;const e=new ResizeObserver((e=>{const t=e.map((e=>({id:e.target.getAttribute("data-id"),nodeElement:e.target,forceUpdate:!0})));a(t)}));return c.current=e,e}),[]);return(0,i.useEffect)((()=>()=>{c?.current?.disconnect()}),[]),(0,IV.jsx)("div",{className:"react-flow__nodes",style:EX,children:l.map((i=>{let a=i.type||"default";e.nodeTypes[a]||(s?.("003",UW(a)),a="default");const l=e.nodeTypes[a]||e.nodeTypes.default,u=!!(i.draggable||t&&void 0===i.draggable),c=!!(i.selectable||o&&void 0===i.selectable),h=!!(i.connectable||n&&void 0===i.connectable),d=!!(i.focusable||r&&void 0===i.focusable),p=e.nodeExtent?uU(i.positionAbsolute,e.nodeExtent):i.positionAbsolute,g=p?.x??0,m=p?.y??0,b=(({x:e,y:t,width:n,height:r,origin:i})=>n&&r?i[0]<0||i[1]<0||i[0]>1||i[1]>1?{x:e,y:t}:{x:e-n*i[0],y:t-r*i[1]}:{x:e,y:t})({x:g,y:m,width:i.width??0,height:i.height??0,origin:e.nodeOrigin});return(0,IV.jsx)(l,{id:i.id,className:i.className,style:i.style,type:a,data:i.data,sourcePosition:i.sourcePosition||RU.Bottom,targetPosition:i.targetPosition||RU.Top,hidden:i.hidden,xPos:g,yPos:m,xPosOrigin:b.x,yPosOrigin:b.y,selectNodesOnDrag:e.selectNodesOnDrag,onClick:e.onNodeClick,onMouseEnter:e.onNodeMouseEnter,onMouseMove:e.onNodeMouseMove,onMouseLeave:e.onNodeMouseLeave,onContextMenu:e.onNodeContextMenu,onDoubleClick:e.onNodeDoubleClick,selected:!!i.selected,isDraggable:u,isSelectable:c,isConnectable:h,isFocusable:d,resizeObserver:f,dragHandle:i.dragHandle,zIndex:i[yU]?.z??0,isParent:!!i[yU]?.isParent,noDragClassName:e.noDragClassName,noPanClassName:e.noPanClassName,initialized:!!i.width&&!!i.height,rfId:e.rfId,disableKeyboardA11y:e.disableKeyboardA11y,ariaLabel:i.ariaLabel},i.id)}))})};XX.displayName="NodeRenderer";var YX=(0,i.memo)(XX);const KX=[{level:0,isMaxLevel:!0,edges:[]}];function ZX(e,t,n){const r=tU((0,i.useCallback)((n=>e?n.edges.filter((e=>{const r=t.get(e.source),i=t.get(e.target);return r?.width&&r?.height&&i?.width&&i?.height&&function({sourcePos:e,targetPos:t,sourceWidth:n,sourceHeight:r,targetWidth:i,targetHeight:o,width:a,height:s,transform:l}){const u={x:Math.min(e.x,t.x),y:Math.min(e.y,t.y),x2:Math.max(e.x+n,t.x+i),y2:Math.max(e.y+r,t.y+o)};u.x===u.x2&&(u.x2+=1),u.y===u.y2&&(u.y2+=1);const c=pU({x:(0-l[0])/l[2],y:(0-l[1])/l[2],width:a/l[2],height:s/l[2]}),f=Math.max(0,Math.min(c.x2,u.x2)-Math.max(c.x,u.x)),h=Math.max(0,Math.min(c.y2,u.y2)-Math.max(c.y,u.y));return Math.ceil(f*h)>0}({sourcePos:r.positionAbsolute||{x:0,y:0},targetPos:i.positionAbsolute||{x:0,y:0},sourceWidth:r.width,sourceHeight:r.height,targetWidth:i.width,targetHeight:i.height,width:n.width,height:n.height,transform:n.transform})})):n.edges),[e,t]));return function(e,t,n=!1){let r=-1;const i=e.reduce(((e,i)=>{const o=vU(i.zIndex);let a=o?i.zIndex:0;if(n){const e=t.get(i.target),n=t.get(i.source),r=i.selected||e?.selected||n?.selected,s=Math.max(n?.[yU]?.z||0,e?.[yU]?.z||0,1e3);a=(o?i.zIndex:0)+(r?s:0)}return e[a]?e[a].push(i):e[a]=[i],r=a>r?a:r,e}),{}),o=Object.entries(i).map((([e,t])=>{const n=+e;return{edges:t,level:n,isMaxLevel:n===r}}));return 0===o.length?KX:o}(r,t,n)}const QX={[DU.Arrow]:({color:e="none",strokeWidth:t=1})=>(0,IV.jsx)("polyline",{stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:t,fill:"none",points:"-5,-4 0,0 -5,4"}),[DU.ArrowClosed]:({color:e="none",strokeWidth:t=1})=>(0,IV.jsx)("polyline",{stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:t,fill:e,points:"-5,-4 0,0 -5,4 -5,-4"})};const JX=({id:e,type:t,color:n,width:r=12.5,height:o=12.5,markerUnits:a="strokeWidth",strokeWidth:s,orient:l="auto-start-reverse"})=>{const u=function(e){const t=nU();return(0,i.useMemo)((()=>Object.prototype.hasOwnProperty.call(QX,e)?QX[e]:(t.getState().onError?.("009",KW(e)),null)),[e])}(t);return u?(0,IV.jsx)("marker",{className:"react-flow__arrowhead",id:e,markerWidth:`${r}`,markerHeight:`${o}`,viewBox:"-10 -10 20 20",markerUnits:a,orient:l,refX:"0",refY:"0",children:(0,IV.jsx)(u,{color:n,strokeWidth:s})}):null},eY=({defaultColor:e,rfId:t})=>{const n=tU((0,i.useCallback)((({defaultColor:e,rfId:t})=>n=>{const r=[];return n.edges.reduce(((n,i)=>([i.markerStart,i.markerEnd].forEach((i=>{if(i&&"object"==typeof i){const o=QU(i,t);r.includes(o)||(n.push({id:o,color:i.color||e,...i}),r.push(o))}})),n)),[]).sort(((e,t)=>e.id.localeCompare(t.id)))})({defaultColor:e,rfId:t}),[e,t]),((e,t)=>!(e.length!==t.length||e.some(((e,n)=>e.id!==t[n].id)))));return(0,IV.jsx)("defs",{children:n.map((e=>(0,IV.jsx)(JX,{id:e.id,type:e.type,color:e.color,width:e.width,height:e.height,markerUnits:e.markerUnits,strokeWidth:e.strokeWidth,orient:e.orient},e.id)))})};eY.displayName="MarkerDefinitions";var tY=(0,i.memo)(eY);const nY=e=>({nodesConnectable:e.nodesConnectable,edgesFocusable:e.edgesFocusable,edgesUpdatable:e.edgesUpdatable,elementsSelectable:e.elementsSelectable,width:e.width,height:e.height,connectionMode:e.connectionMode,nodeInternals:e.nodeInternals,onError:e.onError}),rY=({defaultMarkerColor:e,onlyRenderVisibleElements:t,elevateEdgesOnSelect:n,rfId:r,edgeTypes:i,noPanClassName:o,onEdgeUpdate:a,onEdgeContextMenu:s,onEdgeMouseEnter:l,onEdgeMouseMove:u,onEdgeMouseLeave:c,onEdgeClick:f,edgeUpdaterRadius:h,onEdgeDoubleClick:d,onEdgeUpdateStart:p,onEdgeUpdateEnd:g,children:m})=>{const{edgesFocusable:b,edgesUpdatable:v,elementsSelectable:y,width:w,height:x,connectionMode:_,nodeInternals:S,onError:k}=tU(nY,RV),C=ZX(t,S,n);return w?(0,IV.jsxs)(IV.Fragment,{children:[C.map((({level:t,edges:n,isMaxLevel:m})=>(0,IV.jsxs)("svg",{style:{zIndex:t},width:w,height:x,className:"react-flow__edges react-flow__container",children:[m&&(0,IV.jsx)(tY,{defaultColor:e,rfId:r}),(0,IV.jsx)("g",{children:n.map((e=>{const[t,n,m]=Kq(S.get(e.source)),[w,x,C]=Kq(S.get(e.target));if(!m||!C)return null;let E=e.type||"default";i[E]||(k?.("011",JW(E)),E="default");const I=i[E]||i.default,M=_===TU.Strict?x.target:(x.target??[]).concat(x.source??[]),T=Yq(n.source,e.sourceHandle),A=Yq(M,e.targetHandle),P=T?.position||RU.Bottom,O=A?.position||RU.Top,D=!!(e.focusable||b&&void 0===e.focusable),R=void 0!==a&&(e.updatable||v&&void 0===e.updatable);if(!T||!A)return k?.("008",ZW(T,e)),null;const{sourceX:L,sourceY:N,targetX:j,targetY:F}=((e,t,n,r,i,o)=>{const a=Xq(n,e,t),s=Xq(o,r,i);return{sourceX:a.x,sourceY:a.y,targetX:s.x,targetY:s.y}})(t,T,P,w,A,O);return(0,IV.jsx)(I,{id:e.id,className:MV([e.className,o]),type:E,data:e.data,selected:!!e.selected,animated:!!e.animated,hidden:!!e.hidden,label:e.label,labelStyle:e.labelStyle,labelShowBg:e.labelShowBg,labelBgStyle:e.labelBgStyle,labelBgPadding:e.labelBgPadding,labelBgBorderRadius:e.labelBgBorderRadius,style:e.style,source:e.source,target:e.target,sourceHandleId:e.sourceHandle,targetHandleId:e.targetHandle,markerEnd:e.markerEnd,markerStart:e.markerStart,sourceX:L,sourceY:N,targetX:j,targetY:F,sourcePosition:P,targetPosition:O,elementsSelectable:y,onEdgeUpdate:a,onContextMenu:s,onMouseEnter:l,onMouseMove:u,onMouseLeave:c,onClick:f,edgeUpdaterRadius:h,onEdgeDoubleClick:d,onEdgeUpdateStart:p,onEdgeUpdateEnd:g,rfId:r,ariaLabel:e.ariaLabel,isFocusable:D,isUpdatable:R,pathOptions:"pathOptions"in e?e.pathOptions:void 0,interactionWidth:e.interactionWidth},e.id)}))})]},t))),m]}):null};rY.displayName="EdgeRenderer";var iY=(0,i.memo)(rY);const oY=e=>`translate(${e.transform[0]}px,${e.transform[1]}px) scale(${e.transform[2]})`;function aY({children:e}){const t=tU(oY);return(0,IV.jsx)("div",{className:"react-flow__viewport react-flow__container",style:{transform:t},children:e})}const sY={[RU.Left]:RU.Right,[RU.Right]:RU.Left,[RU.Top]:RU.Bottom,[RU.Bottom]:RU.Top},lY=({nodeId:e,handleType:t,style:n,type:r=OU.Bezier,CustomComponent:o,connectionStatus:a})=>{const{fromNode:s,handleId:l,toX:u,toY:c,connectionMode:f}=tU((0,i.useCallback)((t=>({fromNode:t.nodeInternals.get(e),handleId:t.connectionHandleId,toX:(t.connectionPosition.x-t.transform[0])/t.transform[2],toY:(t.connectionPosition.y-t.transform[1])/t.transform[2],connectionMode:t.connectionMode})),[e]),RV),h=s?.[yU]?.handleBounds;let d=h?.[t];if(f===TU.Loose&&(d=d||h?.["source"===t?"target":"source"]),!s||!d)return null;const p=l?d.find((e=>e.id===l)):d[0],g=p?p.x+p.width/2:(s.width??0)/2,m=p?p.y+p.height/2:s.height??0,b=(s.positionAbsolute?.x??0)+g,v=(s.positionAbsolute?.y??0)+m,y=p?.position,w=y?sY[y]:null;if(!y||!w)return null;if(o)return(0,IV.jsx)(o,{connectionLineType:r,connectionLineStyle:n,fromNode:s,fromHandle:p,fromX:b,fromY:v,toX:u,toY:c,fromPosition:y,toPosition:w,connectionStatus:a});let x="";const _={sourceX:b,sourceY:v,sourcePosition:y,targetX:u,targetY:c,targetPosition:w};return r===OU.Bezier?[x]=qU(_):r===OU.Step?[x]=VU({..._,borderRadius:0}):r===OU.SmoothStep?[x]=VU(_):r===OU.SimpleBezier?[x]=NU(_):x=`M${b},${v} ${u},${c}`,(0,IV.jsx)("path",{d:x,fill:"none",className:"react-flow__connection-path",style:n})};lY.displayName="ConnectionLine";const uY=e=>({nodeId:e.connectionNodeId,handleType:e.connectionHandleType,nodesConnectable:e.nodesConnectable,connectionStatus:e.connectionStatus,width:e.width,height:e.height});function cY({containerStyle:e,style:t,type:n,component:r}){const{nodeId:i,handleType:o,nodesConnectable:a,width:s,height:l,connectionStatus:u}=tU(uY,RV);return!!(i&&o&&s&&a)?(0,IV.jsx)("svg",{style:e,width:s,height:l,className:"react-flow__edges react-flow__connectionline react-flow__container",children:(0,IV.jsx)("g",{className:MV(["react-flow__connection",u]),children:(0,IV.jsx)(lY,{nodeId:i,handleType:o,style:t,type:n,CustomComponent:r,connectionStatus:u})})}):null}const fY=({nodeTypes:e,edgeTypes:t,onMove:n,onMoveStart:r,onMoveEnd:o,onInit:a,onNodeClick:s,onEdgeClick:l,onNodeDoubleClick:u,onEdgeDoubleClick:c,onNodeMouseEnter:f,onNodeMouseMove:h,onNodeMouseLeave:d,onNodeContextMenu:p,onSelectionContextMenu:g,onSelectionStart:m,onSelectionEnd:b,connectionLineType:v,connectionLineStyle:y,connectionLineComponent:w,connectionLineContainerStyle:x,selectionKeyCode:_,selectionOnDrag:S,selectionMode:k,multiSelectionKeyCode:C,panActivationKeyCode:E,zoomActivationKeyCode:I,deleteKeyCode:M,onlyRenderVisibleElements:T,elementsSelectable:A,selectNodesOnDrag:P,defaultViewport:O,translateExtent:D,minZoom:R,maxZoom:L,preventScrolling:N,defaultMarkerColor:j,zoomOnScroll:F,zoomOnPinch:z,panOnScroll:B,panOnScrollSpeed:V,panOnScrollMode:$,zoomOnDoubleClick:H,panOnDrag:G,onPaneClick:W,onPaneMouseEnter:U,onPaneMouseMove:q,onPaneMouseLeave:X,onPaneScroll:Y,onPaneContextMenu:K,onEdgeUpdate:Z,onEdgeContextMenu:Q,onEdgeMouseEnter:J,onEdgeMouseMove:ee,onEdgeMouseLeave:te,edgeUpdaterRadius:ne,onEdgeUpdateStart:re,onEdgeUpdateEnd:ie,noDragClassName:oe,noWheelClassName:ae,noPanClassName:se,elevateEdgesOnSelect:le,disableKeyboardA11y:ue,nodeOrigin:ce,nodeExtent:fe,rfId:he})=>(function(e){const t=CX(),n=(0,i.useRef)(!1);(0,i.useEffect)((()=>{!n.current&&t.viewportInitialized&&e&&(setTimeout((()=>e(t)),1),n.current=!0)}),[e,t.viewportInitialized])}(a),(0,IV.jsx)(UX,{onPaneClick:W,onPaneMouseEnter:U,onPaneMouseMove:q,onPaneMouseLeave:X,onPaneContextMenu:K,onPaneScroll:Y,deleteKeyCode:M,selectionKeyCode:_,selectionOnDrag:S,selectionMode:k,onSelectionStart:m,onSelectionEnd:b,multiSelectionKeyCode:C,panActivationKeyCode:E,zoomActivationKeyCode:I,elementsSelectable:A,onMove:n,onMoveStart:r,onMoveEnd:o,zoomOnScroll:F,zoomOnPinch:z,zoomOnDoubleClick:H,panOnScroll:B,panOnScrollSpeed:V,panOnScrollMode:$,panOnDrag:G,defaultViewport:O,translateExtent:D,minZoom:R,maxZoom:L,onSelectionContextMenu:g,preventScrolling:N,noDragClassName:oe,noWheelClassName:ae,noPanClassName:se,disableKeyboardA11y:ue,children:(0,IV.jsxs)(aY,{children:[(0,IV.jsx)(iY,{edgeTypes:t,onEdgeClick:l,onEdgeDoubleClick:c,onEdgeUpdate:Z,onlyRenderVisibleElements:T,onEdgeContextMenu:Q,onEdgeMouseEnter:J,onEdgeMouseMove:ee,onEdgeMouseLeave:te,onEdgeUpdateStart:re,onEdgeUpdateEnd:ie,edgeUpdaterRadius:ne,defaultMarkerColor:j,noPanClassName:se,elevateEdgesOnSelect:!!le,disableKeyboardA11y:ue,rfId:he,children:(0,IV.jsx)(cY,{style:y,type:v,component:w,containerStyle:x})}),(0,IV.jsx)("div",{className:"react-flow__edgelabel-renderer"}),(0,IV.jsx)(YX,{nodeTypes:e,onNodeClick:s,onNodeDoubleClick:u,onNodeMouseEnter:f,onNodeMouseMove:h,onNodeMouseLeave:d,onNodeContextMenu:p,selectNodesOnDrag:P,onlyRenderVisibleElements:T,noPanClassName:se,noDragClassName:oe,disableKeyboardA11y:ue,nodeOrigin:ce,nodeExtent:fe,rfId:he})]})}));fY.displayName="GraphView";var hY=(0,i.memo)(fY);const dY=[[Number.NEGATIVE_INFINITY,Number.NEGATIVE_INFINITY],[Number.POSITIVE_INFINITY,Number.POSITIVE_INFINITY]],pY={rfId:"1",width:0,height:0,transform:[0,0,1],nodeInternals:new Map,edges:[],onNodesChange:null,onEdgesChange:null,hasDefaultNodes:!1,hasDefaultEdges:!1,d3Zoom:null,d3Selection:null,d3ZoomHandler:void 0,minZoom:.5,maxZoom:2,translateExtent:dY,nodeExtent:dY,nodesSelectionActive:!1,userSelectionActive:!1,userSelectionRect:null,connectionNodeId:null,connectionHandleId:null,connectionHandleType:"source",connectionPosition:{x:0,y:0},connectionStatus:null,connectionMode:TU.Strict,domNode:null,paneDragging:!1,noPanClassName:"nopan",nodeOrigin:[0,0],snapGrid:[15,15],snapToGrid:!1,nodesDraggable:!0,nodesConnectable:!0,nodesFocusable:!0,edgesFocusable:!0,edgesUpdatable:!0,elementsSelectable:!0,elevateNodesOnSelect:!0,fitViewOnInit:!1,fitViewOnInitDone:!1,fitViewOnInitOptions:void 0,multiSelectionActive:!1,connectionStartHandle:null,connectionEndHandle:null,connectionClickStartHandle:null,connectOnClick:!0,ariaLiveMessage:"",autoPanOnConnect:!0,autoPanOnNodeDrag:!0,connectionRadius:20,onError:xU,isValidConnection:void 0},gY=({children:e})=>{const t=(0,i.useRef)(null);return t.current||(t.current=DV(((e,t)=>({...pY,setNodes:n=>{const{nodeInternals:r,nodeOrigin:i,elevateNodesOnSelect:o}=t();e({nodeInternals:bX(n,r,i,o)})},getNodes:()=>Array.from(t().nodeInternals.values()),setEdges:n=>{const{defaultEdgeOptions:r={}}=t();e({edges:n.map((e=>({...r,...e})))})},setDefaultNodesAndEdges:(n,r)=>{const i=void 0!==n,o=void 0!==r,a=i?bX(n,new Map,t().nodeOrigin,t().elevateNodesOnSelect):new Map;e({nodeInternals:a,edges:o?r:[],hasDefaultNodes:i,hasDefaultEdges:o})},updateNodeDimensions:n=>{const{onNodesChange:r,nodeInternals:i,fitViewOnInit:o,fitViewOnInitDone:a,fitViewOnInitOptions:s,domNode:l,nodeOrigin:u}=t(),c=l?.querySelector(".react-flow__viewport");if(!c)return;const f=window.getComputedStyle(c),{m22:h}=new window.DOMMatrixReadOnly(f.transform),d=n.reduce(((e,t)=>{const n=i.get(t.id);if(n){const r=sU(t.nodeElement);r.width&&r.height&&(n.width!==r.width||n.height!==r.height||t.forceUpdate)&&(i.set(n.id,{...n,[yU]:{...n[yU],handleBounds:{source:nX(".source",t.nodeElement,h,u),target:nX(".target",t.nodeElement,h,u)}},...r}),e.push({id:n.id,type:"dimensions",dimensions:r}))}return e}),[]);mX(i,u);const p=a||o&&!a&&vX(t,{initial:!0,...s});e({nodeInternals:new Map(i),fitViewOnInitDone:p}),d?.length>0&&r?.(d)},updateNodePositions:(e,n=!0,r=!1)=>{const{triggerNodeChanges:i}=t(),o=e.map((e=>{const t={id:e.id,type:"position",dragging:r};return n&&(t.positionAbsolute=e.positionAbsolute,t.position=e.position),t}));i(o)},triggerNodeChanges:n=>{const{onNodesChange:r,nodeInternals:i,hasDefaultNodes:o,nodeOrigin:a,getNodes:s,elevateNodesOnSelect:l}=t();if(n?.length){if(o){const t=bX(NX(n,s()),i,a,l);e({nodeInternals:t})}r?.(n)}},addSelectedNodes:n=>{const{multiSelectionActive:r,edges:i,getNodes:o}=t();let a,s=null;r?a=n.map((e=>jX(e,!0))):(a=FX(o(),n),s=FX(i,[])),xX({changedNodes:a,changedEdges:s,get:t,set:e})},addSelectedEdges:n=>{const{multiSelectionActive:r,edges:i,getNodes:o}=t();let a,s=null;r?a=n.map((e=>jX(e,!0))):(a=FX(i,n),s=FX(o(),[])),xX({changedNodes:s,changedEdges:a,get:t,set:e})},unselectNodesAndEdges:({nodes:n,edges:r}={})=>{const{edges:i,getNodes:o}=t(),a=r||i;xX({changedNodes:(n||o()).map((e=>(e.selected=!1,jX(e.id,!1)))),changedEdges:a.map((e=>jX(e.id,!1))),get:t,set:e})},setMinZoom:n=>{const{d3Zoom:r,maxZoom:i}=t();r?.scaleExtent([n,i]),e({minZoom:n})},setMaxZoom:n=>{const{d3Zoom:r,minZoom:i}=t();r?.scaleExtent([i,n]),e({maxZoom:n})},setTranslateExtent:n=>{t().d3Zoom?.translateExtent(n),e({translateExtent:n})},resetSelectedElements:()=>{const{edges:n,getNodes:r}=t(),i=r().filter((e=>e.selected)).map((e=>jX(e.id,!1))),o=n.filter((e=>e.selected)).map((e=>jX(e.id,!1)));xX({changedNodes:i,changedEdges:o,get:t,set:e})},setNodeExtent:n=>{const{nodeInternals:r}=t();r.forEach((e=>{e.positionAbsolute=uU(e.position,n)})),e({nodeExtent:n,nodeInternals:new Map(r)})},panBy:e=>{const{transform:n,width:r,height:i,d3Zoom:o,d3Selection:a,translateExtent:s}=t();if(!o||!a||!e.x&&!e.y)return!1;const l=RW.translate(n[0]+e.x,n[1]+e.y).scale(n[2]),u=[[0,0],[r,i]],c=o?.constrain()(l,u,s);return o.transform(a,c),n[0]!==c.x||n[1]!==c.y||n[2]!==c.k},cancelConnection:()=>e({connectionNodeId:pY.connectionNodeId,connectionHandleId:pY.connectionHandleId,connectionHandleType:pY.connectionHandleType,connectionStatus:pY.connectionStatus,connectionStartHandle:pY.connectionStartHandle,connectionEndHandle:pY.connectionEndHandle}),reset:()=>e({...pY})})))),(0,IV.jsx)(WW,{value:t.current,children:e})};gY.displayName="ReactFlowProvider";const mY=({children:e})=>(0,i.useContext)(GW)?(0,IV.jsx)(IV.Fragment,{children:e}):(0,IV.jsx)(gY,{children:e});function bY(e,t){(0,i.useRef)(null);return(0,i.useMemo)((()=>t(e)),[e])}mY.displayName="ReactFlowWrapper";const vY={input:_q,default:wq,output:kq,group:Cq},yY={default:XU,straight:GU,step:HU,smoothstep:$U,simplebezier:jU},wY=[0,0],xY=[15,15],_Y={x:0,y:0,zoom:1},SY={width:"100%",height:"100%",overflow:"hidden",position:"relative",zIndex:0},kY=(0,i.forwardRef)((({nodes:e,edges:t,defaultNodes:n,defaultEdges:r,className:i,nodeTypes:o=vY,edgeTypes:a=yY,onNodeClick:s,onEdgeClick:l,onInit:u,onMove:c,onMoveStart:f,onMoveEnd:h,onConnect:d,onConnectStart:p,onConnectEnd:g,onClickConnectStart:m,onClickConnectEnd:b,onNodeMouseEnter:v,onNodeMouseMove:y,onNodeMouseLeave:w,onNodeContextMenu:x,onNodeDoubleClick:_,onNodeDragStart:S,onNodeDrag:k,onNodeDragStop:C,onNodesDelete:E,onEdgesDelete:I,onSelectionChange:M,onSelectionDragStart:T,onSelectionDrag:A,onSelectionDragStop:P,onSelectionContextMenu:O,onSelectionStart:D,onSelectionEnd:R,connectionMode:L=TU.Strict,connectionLineType:N=OU.Bezier,connectionLineStyle:j,connectionLineComponent:F,connectionLineContainerStyle:z,deleteKeyCode:B="Backspace",selectionKeyCode:V="Shift",selectionOnDrag:$=!1,selectionMode:H=PU.Full,panActivationKeyCode:G="Space",multiSelectionKeyCode:W="Meta",zoomActivationKeyCode:U="Meta",snapToGrid:q=!1,snapGrid:X=xY,onlyRenderVisibleElements:Y=!1,selectNodesOnDrag:K=!0,nodesDraggable:Z,nodesConnectable:Q,nodesFocusable:J,nodeOrigin:ee=wY,edgesFocusable:te,edgesUpdatable:ne,elementsSelectable:re,defaultViewport:ie=_Y,minZoom:oe=.5,maxZoom:ae=2,translateExtent:se=dY,preventScrolling:le=!0,nodeExtent:ue,defaultMarkerColor:ce="#b1b1b7",zoomOnScroll:fe=!0,zoomOnPinch:he=!0,panOnScroll:de=!1,panOnScrollSpeed:pe=.5,panOnScrollMode:ge=AU.Free,zoomOnDoubleClick:me=!0,panOnDrag:be=!0,onPaneClick:ve,onPaneMouseEnter:ye,onPaneMouseMove:we,onPaneMouseLeave:xe,onPaneScroll:_e,onPaneContextMenu:Se,children:ke,onEdgeUpdate:Ce,onEdgeContextMenu:Ee,onEdgeDoubleClick:Ie,onEdgeMouseEnter:Me,onEdgeMouseMove:Te,onEdgeMouseLeave:Ae,onEdgeUpdateStart:Pe,onEdgeUpdateEnd:Oe,edgeUpdaterRadius:De=10,onNodesChange:Re,onEdgesChange:Le,noDragClassName:Ne="nodrag",noWheelClassName:je="nowheel",noPanClassName:Fe="nopan",fitView:ze=!1,fitViewOptions:Be,connectOnClick:Ve=!0,attributionPosition:$e,proOptions:He,defaultEdgeOptions:Ge,elevateNodesOnSelect:We=!0,elevateEdgesOnSelect:Ue=!1,disableKeyboardA11y:qe=!1,autoPanOnConnect:Xe=!0,autoPanOnNodeDrag:Ye=!0,connectionRadius:Ke=20,isValidConnection:Ze,onError:Qe,style:Je,id:et,...tt},nt)=>{const rt=bY(o,cX),it=bY(a,qq),ot=et||"1";return(0,IV.jsx)("div",{...tt,style:{...Je,...SY},ref:nt,className:MV(["react-flow",i]),"data-testid":"rf__wrapper",id:et,children:(0,IV.jsxs)(mY,{children:[(0,IV.jsx)(hY,{onInit:u,onMove:c,onMoveStart:f,onMoveEnd:h,onNodeClick:s,onEdgeClick:l,onNodeMouseEnter:v,onNodeMouseMove:y,onNodeMouseLeave:w,onNodeContextMenu:x,onNodeDoubleClick:_,nodeTypes:rt,edgeTypes:it,connectionLineType:N,connectionLineStyle:j,connectionLineComponent:F,connectionLineContainerStyle:z,selectionKeyCode:V,selectionOnDrag:$,selectionMode:H,deleteKeyCode:B,multiSelectionKeyCode:W,panActivationKeyCode:G,zoomActivationKeyCode:U,onlyRenderVisibleElements:Y,selectNodesOnDrag:K,defaultViewport:ie,translateExtent:se,minZoom:oe,maxZoom:ae,preventScrolling:le,zoomOnScroll:fe,zoomOnPinch:he,zoomOnDoubleClick:me,panOnScroll:de,panOnScrollSpeed:pe,panOnScrollMode:ge,panOnDrag:be,onPaneClick:ve,onPaneMouseEnter:ye,onPaneMouseMove:we,onPaneMouseLeave:xe,onPaneScroll:_e,onPaneContextMenu:Se,onSelectionContextMenu:O,onSelectionStart:D,onSelectionEnd:R,onEdgeUpdate:Ce,onEdgeContextMenu:Ee,onEdgeDoubleClick:Ie,onEdgeMouseEnter:Me,onEdgeMouseMove:Te,onEdgeMouseLeave:Ae,onEdgeUpdateStart:Pe,onEdgeUpdateEnd:Oe,edgeUpdaterRadius:De,defaultMarkerColor:ce,noDragClassName:Ne,noWheelClassName:je,noPanClassName:Fe,elevateEdgesOnSelect:Ue,rfId:ot,disableKeyboardA11y:qe,nodeOrigin:ee,nodeExtent:ue}),(0,IV.jsx)(Lq,{nodes:e,edges:t,defaultNodes:n,defaultEdges:r,onConnect:d,onConnectStart:p,onConnectEnd:g,onClickConnectStart:m,onClickConnectEnd:b,nodesDraggable:Z,nodesConnectable:Q,nodesFocusable:J,edgesFocusable:te,edgesUpdatable:ne,elementsSelectable:re,elevateNodesOnSelect:We,minZoom:oe,maxZoom:ae,nodeExtent:ue,onNodesChange:Re,onEdgesChange:Le,snapToGrid:q,snapGrid:X,connectionMode:L,translateExtent:se,connectOnClick:Ve,defaultEdgeOptions:Ge,fitView:ze,fitViewOptions:Be,onNodesDelete:E,onEdgesDelete:I,onNodeDragStart:S,onNodeDrag:k,onNodeDragStop:C,onSelectionDrag:A,onSelectionDragStart:T,onSelectionDragStop:P,noPanClassName:Fe,nodeOrigin:ee,rfId:ot,autoPanOnConnect:Xe,autoPanOnNodeDrag:Ye,onError:Qe,connectionRadius:Ke,isValidConnection:Ze}),(0,IV.jsx)(Pq,{onSelectionChange:M}),ke,(0,IV.jsx)(oU,{proOptions:He,position:$e}),(0,IV.jsx)(Bq,{rfId:ot,disableKeyboardA11y:qe})]})})}));kY.displayName="ReactFlow";function CY(e){return t=>{const[n,r]=(0,i.useState)(t),o=(0,i.useCallback)((t=>r((n=>e(t,n)))),[]);return[n,r,o]}}CY(NX),CY((function(e,t){return LX(e,t)}));var EY;function IY({color:e,dimensions:t,lineWidth:n}){return(0,IV.jsx)("path",{stroke:e,strokeWidth:n,d:`M${t[0]/2} 0 V${t[1]} M0 ${t[1]/2} H${t[0]}`})}function MY({color:e,radius:t}){return(0,IV.jsx)("circle",{cx:t,cy:t,r:t,fill:e})}!function(e){e.Lines="lines",e.Dots="dots",e.Cross="cross"}(EY||(EY={}));const TY={[EY.Dots]:"#91919a",[EY.Lines]:"#eee",[EY.Cross]:"#e2e2e2"},AY={[EY.Dots]:1,[EY.Lines]:1,[EY.Cross]:6},PY=e=>({transform:e.transform,patternId:`pattern-${e.rfId}`});function OY({id:e,variant:t=EY.Dots,gap:n=20,size:r,lineWidth:o=1,offset:a=2,color:s,style:l,className:u}){const c=(0,i.useRef)(null),{transform:f,patternId:h}=tU(PY,RV),d=s||TY[t],p=r||AY[t],g=t===EY.Dots,m=t===EY.Cross,b=Array.isArray(n)?n:[n,n],v=[b[0]*f[2]||1,b[1]*f[2]||1],y=p*f[2],w=m?[y,y]:v,x=g?[y/a,y/a]:[w[0]/a,w[1]/a];return(0,IV.jsxs)("svg",{className:MV(["react-flow__background",u]),style:{...l,position:"absolute",width:"100%",height:"100%",top:0,left:0},ref:c,"data-testid":"rf__background",children:[(0,IV.jsx)("pattern",{id:h+e,x:f[0]%v[0],y:f[1]%v[1],width:v[0],height:v[1],patternUnits:"userSpaceOnUse",patternTransform:`translate(-${x[0]},-${x[1]})`,children:g?(0,IV.jsx)(MY,{color:d,radius:y/a}):(0,IV.jsx)(IY,{dimensions:w,color:d,lineWidth:o})}),(0,IV.jsx)("rect",{x:"0",y:"0",width:"100%",height:"100%",fill:`url(#${h+e})`})]})}OY.displayName="Background";var DY=(0,i.memo)(OY);function RY(){return(0,IV.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",children:(0,IV.jsx)("path",{d:"M32 18.133H18.133V32h-4.266V18.133H0v-4.266h13.867V0h4.266v13.867H32z"})})}function LY(){return(0,IV.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 5",children:(0,IV.jsx)("path",{d:"M0 0h32v4.2H0z"})})}function NY(){return(0,IV.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 30",children:(0,IV.jsx)("path",{d:"M3.692 4.63c0-.53.4-.938.939-.938h5.215V0H4.708C2.13 0 0 2.054 0 4.63v5.216h3.692V4.631zM27.354 0h-5.2v3.692h5.17c.53 0 .984.4.984.939v5.215H32V4.631A4.624 4.624 0 0027.354 0zm.954 24.83c0 .532-.4.94-.939.94h-5.215v3.768h5.215c2.577 0 4.631-2.13 4.631-4.707v-5.139h-3.692v5.139zm-23.677.94c-.531 0-.939-.4-.939-.94v-5.138H0v5.139c0 2.577 2.13 4.707 4.708 4.707h5.138V25.77H4.631z"})})}function jY(){return(0,IV.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 25 32",children:(0,IV.jsx)("path",{d:"M21.333 10.667H19.81V7.619C19.81 3.429 16.38 0 12.19 0 8 0 4.571 3.429 4.571 7.619v3.048H3.048A3.056 3.056 0 000 13.714v15.238A3.056 3.056 0 003.048 32h18.285a3.056 3.056 0 003.048-3.048V13.714a3.056 3.056 0 00-3.048-3.047zM12.19 24.533a3.056 3.056 0 01-3.047-3.047 3.056 3.056 0 013.047-3.048 3.056 3.056 0 013.048 3.048 3.056 3.056 0 01-3.048 3.047zm4.724-13.866H7.467V7.619c0-2.59 2.133-4.724 4.723-4.724 2.591 0 4.724 2.133 4.724 4.724v3.048z"})})}function FY(){return(0,IV.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 25 32",children:(0,IV.jsx)("path",{d:"M21.333 10.667H19.81V7.619C19.81 3.429 16.38 0 12.19 0c-4.114 1.828-1.37 2.133.305 2.438 1.676.305 4.42 2.59 4.42 5.181v3.048H3.047A3.056 3.056 0 000 13.714v15.238A3.056 3.056 0 003.048 32h18.285a3.056 3.056 0 003.048-3.048V13.714a3.056 3.056 0 00-3.048-3.047zM12.19 24.533a3.056 3.056 0 01-3.047-3.047 3.056 3.056 0 013.047-3.048 3.056 3.056 0 013.048 3.048 3.056 3.056 0 01-3.048 3.047z"})})}const zY=({children:e,className:t,...n})=>(0,IV.jsx)("button",{type:"button",className:MV(["react-flow__controls-button",t]),...n,children:e});zY.displayName="ControlButton";const BY=e=>({isInteractive:e.nodesDraggable||e.nodesConnectable||e.elementsSelectable,minZoomReached:e.transform[2]<=e.minZoom,maxZoomReached:e.transform[2]>=e.maxZoom}),VY=({style:e,showZoom:t=!0,showFitView:n=!0,showInteractive:r=!0,fitViewOptions:o,onZoomIn:a,onZoomOut:s,onFitView:l,onInteractiveChange:u,className:c,children:f,position:h="bottom-left"})=>{const d=nU(),[p,g]=(0,i.useState)(!1),{isInteractive:m,minZoomReached:b,maxZoomReached:v}=tU(BY,RV),{zoomIn:y,zoomOut:w,fitView:x}=CX();if((0,i.useEffect)((()=>{g(!0)}),[]),!p)return null;return(0,IV.jsxs)(iU,{className:MV(["react-flow__controls",c]),position:h,style:e,"data-testid":"rf__controls",children:[t&&(0,IV.jsxs)(IV.Fragment,{children:[(0,IV.jsx)(zY,{onClick:()=>{y(),a?.()},className:"react-flow__controls-zoomin",title:"zoom in","aria-label":"zoom in",disabled:v,children:(0,IV.jsx)(RY,{})}),(0,IV.jsx)(zY,{onClick:()=>{w(),s?.()},className:"react-flow__controls-zoomout",title:"zoom out","aria-label":"zoom out",disabled:b,children:(0,IV.jsx)(LY,{})})]}),n&&(0,IV.jsx)(zY,{className:"react-flow__controls-fitview",onClick:()=>{x(o),l?.()},title:"fit view","aria-label":"fit view",children:(0,IV.jsx)(NY,{})}),r&&(0,IV.jsx)(zY,{className:"react-flow__controls-interactive",onClick:()=>{d.setState({nodesDraggable:!m,nodesConnectable:!m,elementsSelectable:!m}),u?.(!m)},title:"toggle interactivity","aria-label":"toggle interactivity",children:m?(0,IV.jsx)(FY,{}):(0,IV.jsx)(jY,{})}),f]})};VY.displayName="Controls";var $Y=(0,i.memo)(VY);const HY=({id:e,x:t,y:n,width:r,height:i,style:o,color:a,strokeColor:s,strokeWidth:l,className:u,borderRadius:c,shapeRendering:f,onClick:h})=>{const{background:d,backgroundColor:p}=o||{},g=a||d||p;return(0,IV.jsx)("rect",{className:MV(["react-flow__minimap-node",u]),x:t,y:n,rx:c,ry:c,width:r,height:i,fill:g,stroke:s,strokeWidth:l,shapeRendering:f,onClick:h?t=>h(t,e):void 0})};HY.displayName="MiniMapNode";var GY=(0,i.memo)(HY);const WY=e=>e.nodeOrigin,UY=e=>e.getNodes().filter((e=>!e.hidden&&e.width&&e.height)),qY=e=>e instanceof Function?e:()=>e;var XY=(0,i.memo)((function({nodeStrokeColor:e="transparent",nodeColor:t="#e2e2e2",nodeClassName:n="",nodeBorderRadius:r=5,nodeStrokeWidth:i=2,nodeComponent:o=GY,onClick:a}){const s=tU(UY,RV),l=tU(WY),u=qY(t),c=qY(e),f=qY(n),h="undefined"==typeof window||window.chrome?"crispEdges":"geometricPrecision";return(0,IV.jsx)(IV.Fragment,{children:s.map((e=>{const{x:t,y:n}=tq(e,l).positionAbsolute;return(0,IV.jsx)(o,{x:t,y:n,width:e.width,height:e.height,style:e.style,className:f(e),color:u(e),borderRadius:r,strokeColor:c(e),strokeWidth:i,shapeRendering:h,onClick:a,id:e.id},e.id)}))})}));const YY=e=>{const t=e.getNodes(),n={x:-e.transform[0]/e.transform[2],y:-e.transform[1]/e.transform[2],width:e.width/e.transform[2],height:e.height/e.transform[2]};return{viewBB:n,boundingRect:t.length>0?(r=nq(t,e.nodeOrigin),i=n,gU(dU(pU(r),pU(i)))):n,rfId:e.rfId};var r,i};function KY({style:e,className:t,nodeStrokeColor:n="transparent",nodeColor:r="#e2e2e2",nodeClassName:o="",nodeBorderRadius:a=5,nodeStrokeWidth:s=2,nodeComponent:l,maskColor:u="rgb(240, 240, 240, 0.6)",maskStrokeColor:c="none",maskStrokeWidth:f=1,position:h="bottom-right",onClick:d,onNodeClick:p,pannable:g=!1,zoomable:m=!1,ariaLabel:b="React Flow mini map",inversePan:v=!1,zoomStep:y=10}){const w=nU(),x=(0,i.useRef)(null),{boundingRect:_,viewBB:S,rfId:k}=tU(YY,RV),C=e?.width??200,E=e?.height??150,I=_.width/C,M=_.height/E,T=Math.max(I,M),A=T*C,P=T*E,O=5*T,D=_.x-(A-_.width)/2-O,R=_.y-(P-_.height)/2-O,L=A+2*O,N=P+2*O,j=`react-flow__minimap-desc-${k}`,F=(0,i.useRef)(0);F.current=T,(0,i.useEffect)((()=>{if(x.current){const e=rH(x.current),t=e=>{const{transform:t,d3Selection:n,d3Zoom:r}=w.getState();if("wheel"!==e.sourceEvent.type||!n||!r)return;const i=-e.sourceEvent.deltaY*(1===e.sourceEvent.deltaMode?.05:e.sourceEvent.deltaMode?1:.002)*y,o=t[2]*Math.pow(2,i);r.scaleTo(n,o)},n=e=>{const{transform:t,d3Selection:n,d3Zoom:r,translateExtent:i,width:o,height:a}=w.getState();if("mousemove"!==e.sourceEvent.type||!n||!r)return;const s=F.current*Math.max(1,t[2])*(v?-1:1),l={x:t[0]-e.sourceEvent.movementX*s,y:t[1]-e.sourceEvent.movementY*s},u=[[0,0],[o,a]],c=RW.translate(l.x,l.y).scale(t[2]),f=r.constrain()(c,u,i);r.transform(n,f)},r=HW().on("zoom",g?n:null).on("zoom.wheel",m?t:null);return e.call(r),()=>{e.on("zoom",null)}}}),[g,m,v,y]);const z=d?e=>{const t=iH(e);d(e,{x:t[0],y:t[1]})}:void 0,B=p?(e,t)=>{const n=w.getState().nodeInternals.get(t);p(e,n)}:void 0;return(0,IV.jsx)(iU,{position:h,style:e,className:MV(["react-flow__minimap",t]),"data-testid":"rf__minimap",children:(0,IV.jsxs)("svg",{width:C,height:E,viewBox:`${D} ${R} ${L} ${N}`,role:"img","aria-labelledby":j,ref:x,onClick:z,children:[b&&(0,IV.jsx)("title",{id:j,children:b}),(0,IV.jsx)(XY,{onClick:B,nodeColor:r,nodeStrokeColor:n,nodeBorderRadius:a,nodeClassName:o,nodeStrokeWidth:s,nodeComponent:l}),(0,IV.jsx)("path",{className:"react-flow__minimap-mask",d:`M${D-O},${R-O}h${L+2*O}v${N+2*O}h${-L-2*O}z\n M${S.x},${S.y}h${S.width}v${S.height}h${-S.width}z`,fill:u,fillRule:"evenodd",stroke:c,strokeWidth:f,pointerEvents:"none"})]})})}KY.displayName="MiniMap";var ZY=(0,i.memo)(KY),QY=a(2485),JY=a.n(QY),eK=["top","left","transform","className","children","innerRef"];function tK(){return tK=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},tK.apply(this,arguments)}function nK(e){var t=e.top,n=void 0===t?0:t,r=e.left,o=void 0===r?0:r,a=e.transform,s=e.className,l=e.children,u=e.innerRef,c=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,eK);return i.createElement("g",tK({ref:u,className:JY()("visx-group",s),transform:a||"translate("+o+", "+n+")"},c),l)}nK.propTypes={top:pN().number,left:pN().number,transform:pN().string,className:pN().string,children:pN().node,innerRef:pN().oneOfType([pN().string,pN().func,pN().object])};var rK=Math.PI,iK=2*rK,oK=1e-6,aK=iK-oK;function sK(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function lK(){return new sK}sK.prototype=lK.prototype={constructor:sK,moveTo:function(e,t){this._+="M"+(this._x0=this._x1=+e)+","+(this._y0=this._y1=+t)},closePath:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(e,t){this._+="L"+(this._x1=+e)+","+(this._y1=+t)},quadraticCurveTo:function(e,t,n,r){this._+="Q"+ +e+","+ +t+","+(this._x1=+n)+","+(this._y1=+r)},bezierCurveTo:function(e,t,n,r,i,o){this._+="C"+ +e+","+ +t+","+ +n+","+ +r+","+(this._x1=+i)+","+(this._y1=+o)},arcTo:function(e,t,n,r,i){e=+e,t=+t,n=+n,r=+r,i=+i;var o=this._x1,a=this._y1,s=n-e,l=r-t,u=o-e,c=a-t,f=u*u+c*c;if(i<0)throw new Error("negative radius: "+i);if(null===this._x1)this._+="M"+(this._x1=e)+","+(this._y1=t);else if(f>oK)if(Math.abs(c*s-l*u)>oK&&i){var h=n-o,d=r-a,p=s*s+l*l,g=h*h+d*d,m=Math.sqrt(p),b=Math.sqrt(f),v=i*Math.tan((rK-Math.acos((p+f-g)/(2*m*b)))/2),y=v/b,w=v/m;Math.abs(y-1)>oK&&(this._+="L"+(e+y*u)+","+(t+y*c)),this._+="A"+i+","+i+",0,0,"+ +(c*h>u*d)+","+(this._x1=e+w*s)+","+(this._y1=t+w*l)}else this._+="L"+(this._x1=e)+","+(this._y1=t);else;},arc:function(e,t,n,r,i,o){e=+e,t=+t,o=!!o;var a=(n=+n)*Math.cos(r),s=n*Math.sin(r),l=e+a,u=t+s,c=1^o,f=o?r-i:i-r;if(n<0)throw new Error("negative radius: "+n);null===this._x1?this._+="M"+l+","+u:(Math.abs(this._x1-l)>oK||Math.abs(this._y1-u)>oK)&&(this._+="L"+l+","+u),n&&(f<0&&(f=f%iK+iK),f>aK?this._+="A"+n+","+n+",0,1,"+c+","+(e-a)+","+(t-s)+"A"+n+","+n+",0,1,"+c+","+(this._x1=l)+","+(this._y1=u):f>oK&&(this._+="A"+n+","+n+",0,"+ +(f>=rK)+","+c+","+(this._x1=e+n*Math.cos(i))+","+(this._y1=t+n*Math.sin(i))))},rect:function(e,t,n,r){this._+="M"+(this._x0=this._x1=+e)+","+(this._y0=this._y1=+t)+"h"+ +n+"v"+ +r+"h"+-n+"Z"},toString:function(){return this._}};const uK=lK;function cK(e){return function(){return e}}function fK(e){this._context=e}function hK(e){return new fK(e)}function dK(e){return e[0]}function pK(e){return e[1]}function gK(e,t){e(t)}function mK(e){var t=void 0===e?{}:e,n=t.x,r=t.y,i=t.defined,o=t.curve,a=function(){var e=dK,t=pK,n=cK(!0),r=null,i=hK,o=null;function a(a){var s,l,u,c=a.length,f=!1;for(null==r&&(o=i(u=uK())),s=0;s<=c;++s)!(s<c&&n(l=a[s],s,a))===f&&((f=!f)?o.lineStart():o.lineEnd()),f&&o.point(+e(l,s,a),+t(l,s,a));if(u)return o=null,u+""||null}return a.x=function(t){return arguments.length?(e="function"==typeof t?t:cK(+t),a):e},a.y=function(e){return arguments.length?(t="function"==typeof e?e:cK(+e),a):t},a.defined=function(e){return arguments.length?(n="function"==typeof e?e:cK(!!e),a):n},a.curve=function(e){return arguments.length?(i=e,null!=r&&(o=i(r)),a):i},a.context=function(e){return arguments.length?(null==e?r=o=null:o=i(r=e),a):r},a}();return n&&gK(a.x,n),r&&gK(a.y,r),i&&a.defined(i),o&&a.curve(o),a}fK.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._context.lineTo(e,t)}}};var bK=["children","data","x","y","fill","className","curve","innerRef","defined"];function vK(){return vK=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},vK.apply(this,arguments)}function yK(e){var t=e.children,n=e.data,r=void 0===n?[]:n,o=e.x,a=e.y,s=e.fill,l=void 0===s?"transparent":s,u=e.className,c=e.curve,f=e.innerRef,h=e.defined,d=void 0===h?function(){return!0}:h,p=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,bK),g=mK({x:o,y:a,defined:d,curve:c});return t?i.createElement(i.Fragment,null,t({path:g})):i.createElement("path",vK({ref:f,className:JY()("visx-linepath",u),d:g(r)||"",fill:l,strokeLinecap:"round"},p))}const wK=e=>{let{data:t}=e;const{colors:n}=Si();if(!t)return null;const{rest:r}=t;if(r.isSourceDataset)return null;let o=2;return r.isSelected&&(o=3),r.isZoomedOut&&(o=5),r.isZoomedOut&&r.isSelected&&(o=7),i.createElement(i.Fragment,null,r?.labels?.map((e=>{let{id:t,x:n,y:r,text:o,width:a,height:s}=e;return r&&n?i.createElement(nK,{top:r,left:n,height:s,width:a,key:t},i.createElement("foreignObject",{width:a,height:s},i.createElement(sx,null,o))):null})),(r.sections||[]).map((e=>i.createElement(yK,{key:e.id,stroke:r.isSelected?n.blue[400]:n.gray[400],strokeWidth:o,x:e=>e.x||0,y:e=>e.y||0,data:[e.startPoint,...e.bendPoints||[],e.endPoint],strokeDasharray:r.isSetupTeardown?"10,5":void 0}))))};function xK(e){const{isOpen:t,ref:n}=e,[r,o]=(0,i.useState)(t),[a,s]=(0,i.useState)(!1);(0,i.useEffect)((()=>{a||(o(t),s(!0))}),[t,a,r]),sO((()=>n.current),"animationend",(()=>{o(t)}));return{present:!(!t&&!r),onComplete(){var e;const t=function(e){var t;return(null==(t=VI(e))?void 0:t.defaultView)??window}(n.current),r=new t.CustomEvent("animationend",{bubbles:!0});null==(e=n.current)||e.dispatchEvent(r)}}}var _K=()=>"undefined"!=typeof window;var SK=e=>_K()&&e.test(function(){const e=navigator.userAgentData;return(null==e?void 0:e.platform)??navigator.platform}()),kK=()=>{return SK(/mac|iphone|ipad|ipod/i)&&(e=/apple/i,_K()&&e.test(navigator.vendor));var e};function CK(e){const t=e.current;if(!t)return!1;const n=function(e){return VI(e).activeElement}(t);return!!n&&(!t.contains(n)&&!!WI(n))}function EK(e,t){const{shouldFocus:n,visible:r,focusRef:i}=t,o=n&&!r;Gf((()=>{if(!o)return;if(CK(e))return;const t=(null==i?void 0:i.current)||e.current;t&&requestAnimationFrame((()=>{t.focus()}))}),[o,e,i])}var IK={preventScroll:!0,shouldFocus:!1};var MK=(...e)=>e.filter(Boolean).join(" ");var TK=e=>"function"==typeof e;function AK(...e){return function(t){e.some((e=>(null==e||e(t),null==t?void 0:t.defaultPrevented)))}}function PK(...e){return function(t){e.forEach((e=>{null==e||e(t)}))}}var[OK,DK]=It({name:"PopoverContext",errorMessage:"usePopoverContext: `context` is undefined. Seems you forgot to wrap all popover components within `<Popover />`"}),[RK,LK]=It({name:"PopoverStylesContext",errorMessage:"usePopoverStyles returned is 'undefined'. Seems you forgot to wrap the components in \"<Popover />\" "}),NK={click:"click",hover:"hover"};function jK(e={}){const{closeOnBlur:t=!0,closeOnEsc:n=!0,initialFocusRef:r,id:o,returnFocusOnClose:a=!0,autoFocus:s=!0,arrowSize:l,arrowShadowColor:u,trigger:c=NK.click,openDelay:f=200,closeDelay:h=200,isLazy:d,lazyBehavior:p="unmount",computePositionOnMount:g,...m}=e,{isOpen:b,onClose:v,onOpen:y,onToggle:w}=lO(e),x=(0,i.useRef)(null),_=(0,i.useRef)(null),S=(0,i.useRef)(null),k=(0,i.useRef)(!1),C=(0,i.useRef)(!1);b&&(C.current=!0);const[E,I]=(0,i.useState)(!1),[M,T]=(0,i.useState)(!1),A=(0,i.useId)(),P=o??A,[O,D,R,L]=["popover-trigger","popover-content","popover-header","popover-body"].map((e=>`${e}-${P}`)),{referenceRef:N,getArrowProps:j,getPopperProps:F,getArrowInnerProps:z,forceUpdate:B}=oO({...m,enabled:b||!!g}),V=xK({isOpen:b,ref:S});!function(e){const{ref:t,elements:n,enabled:r}=e,i=()=>{var e;return(null==(e=t.current)?void 0:e.ownerDocument)??document};sO(i,"pointerdown",(e=>{if(!kK()||!r)return;const o=e.target,a=(n??[t]).some((e=>{const t="current"in e?e.current:e;return(null==t?void 0:t.contains(o))||t===o}));i().activeElement!==o&&a&&(e.preventDefault(),o.focus())}))}({enabled:b,ref:_}),EK(S,{focusRef:_,visible:b,shouldFocus:a&&c===NK.click}),function(e,t=IK){const{focusRef:n,preventScroll:r,shouldFocus:o,visible:a}=t,s="current"in e?e.current:e,l=o&&a,u=(0,i.useRef)(l),c=(0,i.useRef)(a);Mt((()=>{!c.current&&a&&(u.current=l),c.current=a}),[a,l]);const f=(0,i.useCallback)((()=>{if(a&&s&&u.current&&(u.current=!1,!s.contains(document.activeElement)))if(null==n?void 0:n.current)requestAnimationFrame((()=>{var e;null==(e=n.current)||e.focus({preventScroll:r})}));else{const e=qI(s);e.length>0&&requestAnimationFrame((()=>{e[0].focus({preventScroll:r})}))}}),[a,r,s,n]);Gf((()=>{f()}),[f]),sO(s,"transitionend",f)}(S,{focusRef:r,visible:b,shouldFocus:s&&c===NK.click});const $=dT({wasSelected:C.current,enabled:d,mode:p,isSelected:V.present}),H=(0,i.useCallback)(((e={},r=null)=>{const i={...e,style:{...e.style,transformOrigin:WP.transformOrigin.varRef,[WP.arrowSize.var]:l?`${l}px`:void 0,[WP.arrowShadowColor.var]:u},ref:fx(S,r),children:$?e.children:null,id:D,tabIndex:-1,role:"dialog",onKeyDown:AK(e.onKeyDown,(e=>{n&&"Escape"===e.key&&v()})),onBlur:AK(e.onBlur,(e=>{const n=zK(e),r=FK(S.current,n),i=FK(_.current,n);b&&t&&(!r&&!i)&&v()})),"aria-labelledby":E?R:void 0,"aria-describedby":M?L:void 0};return c===NK.hover&&(i.role="tooltip",i.onMouseEnter=AK(e.onMouseEnter,(()=>{k.current=!0})),i.onMouseLeave=AK(e.onMouseLeave,(e=>{null!==e.nativeEvent.relatedTarget&&(k.current=!1,setTimeout((()=>v()),h))}))),i}),[$,D,E,R,M,L,c,n,v,b,t,h,u,l]),G=(0,i.useCallback)(((e={},t=null)=>F({...e,style:{visibility:b?"visible":"hidden",...e.style}},t)),[b,F]),W=(0,i.useCallback)(((e,t=null)=>({...e,ref:fx(t,x,N)})),[x,N]),U=(0,i.useRef)(),q=(0,i.useRef)(),X=(0,i.useCallback)((e=>{null==x.current&&N(e)}),[N]),Y=(0,i.useCallback)(((e={},n=null)=>{const r={...e,ref:fx(_,n,X),id:O,"aria-haspopup":"dialog","aria-expanded":b,"aria-controls":D};return c===NK.click&&(r.onClick=AK(e.onClick,w)),c===NK.hover&&(r.onFocus=AK(e.onFocus,(()=>{void 0===U.current&&y()})),r.onBlur=AK(e.onBlur,(e=>{const n=zK(e),r=!FK(S.current,n);b&&t&&r&&v()})),r.onKeyDown=AK(e.onKeyDown,(e=>{"Escape"===e.key&&v()})),r.onMouseEnter=AK(e.onMouseEnter,(()=>{k.current=!0,U.current=window.setTimeout((()=>y()),f)})),r.onMouseLeave=AK(e.onMouseLeave,(()=>{k.current=!1,U.current&&(clearTimeout(U.current),U.current=void 0),q.current=window.setTimeout((()=>{!1===k.current&&v()}),h)}))),r}),[O,b,D,c,X,w,y,t,v,f,h]);(0,i.useEffect)((()=>()=>{U.current&&clearTimeout(U.current),q.current&&clearTimeout(q.current)}),[]);const K=(0,i.useCallback)(((e={},t=null)=>({...e,id:R,ref:fx(t,(e=>{I(!!e)}))})),[R]),Z=(0,i.useCallback)(((e={},t=null)=>({...e,id:L,ref:fx(t,(e=>{T(!!e)}))})),[L]);return{forceUpdate:B,isOpen:b,onAnimationComplete:V.onComplete,onClose:v,getAnchorProps:W,getArrowProps:j,getArrowInnerProps:z,getPopoverPositionerProps:G,getPopoverProps:H,getTriggerProps:Y,getHeaderProps:K,getBodyProps:Z}}function FK(e,t){return e===t||(null==e?void 0:e.contains(t))}function zK(e){const t=e.currentTarget.ownerDocument.activeElement;return e.relatedTarget??t}function BK(e){const t=Fi("Popover",e),{children:n,...r}=Ur(e),o=jK({...r,direction:Si().direction});return i.createElement(OK,{value:o},i.createElement(RK,{value:t},function(e,...t){return TK(e)?e(...t):e}(n,{isOpen:o.isOpen,onClose:o.onClose,forceUpdate:o.forceUpdate})))}function VK(e){const{bg:t,bgColor:n,backgroundColor:r}=e,{getArrowProps:o,getArrowInnerProps:a}=DK(),s=LK(),l=t??n??r;return i.createElement(zi.div,{...o(),className:"chakra-popover__arrow-positioner"},i.createElement(zi.div,{className:MK("chakra-popover__arrow",e.className),...a(e),__css:{...s.arrow,"--popper-arrow-bg":l?`colors.${l}, ${l}`:void 0}}))}BK.displayName="Popover",VK.displayName="PopoverArrow";var $K=Li((function(e,t){const{getBodyProps:n}=DK(),r=LK();return i.createElement(zi.div,{...n(e,t),className:MK("chakra-popover__body",e.className),__css:r.body})}));$K.displayName="PopoverBody";var HK=Li((function(e,t){const{onClose:n}=DK(),r=LK();return i.createElement(rf,{size:"sm",onClick:n,className:MK("chakra-popover__close-btn",e.className),__css:r.closeButton,ref:t,...e})}));function GK(e){if(e)return{enter:{...e.enter,visibility:"visible"},exit:{...e.exit,transitionEnd:{visibility:"hidden"}}}}HK.displayName="PopoverCloseButton";var WK={exit:{opacity:0,scale:.95,transition:{duration:.1,ease:[.4,0,1,1]}},enter:{scale:1,opacity:1,transition:{duration:.15,ease:[0,0,.2,1]}}},UK=zi(Kv.section),qK=Li((function(e,t){const{variants:n=WK,...r}=e,{isOpen:o}=DK();return i.createElement(UK,{ref:t,variants:GK(n),initial:!1,animate:o?"enter":"exit",...r})}));qK.displayName="PopoverTransition";var XK=Li((function(e,t){const{rootProps:n,motionProps:r,...o}=e,{getPopoverProps:a,getPopoverPositionerProps:s,onAnimationComplete:l}=DK(),u=LK(),c={position:"relative",display:"flex",flexDirection:"column",...u.content};return i.createElement(zi.div,{...s(n),__css:u.popper,className:"chakra-popover__popper"},i.createElement(qK,{...r,...a(o,t),onAnimationComplete:PK(l,o.onAnimationComplete),className:MK("chakra-popover__content",e.className),__css:c}))}));function YK(e){const t=LK();return i.createElement(zi.footer,{...e,className:MK("chakra-popover__footer",e.className),__css:t.footer})}XK.displayName="PopoverContent",YK.displayName="PopoverFooter";var KK=Li((function(e,t){const{getHeaderProps:n}=DK(),r=LK();return i.createElement(zi.header,{...n(e,t),className:MK("chakra-popover__header",e.className),__css:r.header})}));function ZK(e){const t=i.Children.only(e.children),{getTriggerProps:n}=DK();return(0,i.cloneElement)(t,n(t.props,t.ref))}KK.displayName="PopoverHeader",ZK.displayName="PopoverTrigger";const QK=Qy("datasets_url"),JK=e=>{let{data:{label:t,height:n,width:r,latestDagRunId:o,isZoomedOut:a,datasetEvent:s}}=e;const l=Sy(),{from_rest_api:u}=s?.extra||{};return i.createElement(BK,null,i.createElement(ZK,null,i.createElement(Ow,{borderRadius:a?10:5,borderWidth:s?2:1,borderColor:s?"green":"gray.400",bg:"white",height:`${n}px`,width:`${r}px`,cursor:o?"cursor":"default","data-testid":"node",px:a?1:2,mt:a?-2:0},i.createElement(sx,{fontWeight:"bold",mt:a?-2:0,noOfLines:2,fontSize:a?24:void 0,textAlign:"justify"},t),!a&&i.createElement(i.Fragment,null,i.createElement(sx,{maxWidth:`calc(${r}px - 12px)`,fontWeight:400,fontSize:"md",textAlign:"justify",color:"gray.500"},i.createElement(YO,{size:"16px",style:{display:"inline",verticalAlign:"middle",marginRight:"3px"}}),"Dataset"),!!s&&i.createElement(sx,{fontWeight:400,fontSize:"md",textAlign:"justify",color:"gray.500",alignSelf:"flex-end"},moment(s.timestamp).fromNow())))),i.createElement(zt,{containerRef:l},i.createElement(XK,{bg:"gray.100"},i.createElement(VK,{bg:"gray.100"}),i.createElement(HK,null),i.createElement(KK,null,t),!!s&&i.createElement($K,null,i.createElement(qO,{dateTime:s?.timestamp}),i.createElement(Ow,null,"Source:",u&&i.createElement(qB,{size:"20px"}),!!s?.sourceTaskId&&i.createElement(QB,{datasetEvent:s,showLink:!1}),!!s?.createdDagruns?.length&&i.createElement(i.Fragment,null,"Triggered Dag Runs:",i.createElement(tV,{createdDagRuns:s?.createdDagruns,showLink:!1})))),i.createElement(YK,null,i.createElement(Uw,{color:"blue",href:`${QK}?uri=${encodeURIComponent(t)}`},"View Dataset")))))},eZ=e=>{let{isGroup:t=!1,isMapped:n=!1,isOpen:r=!1,label:o,id:a,setupTeardownType:s,isZoomedOut:l,onClick:u,...c}=e;const{colors:f}=Si(),h={display:"inline",position:"relative",verticalAlign:"middle"};return i.createElement(sx,Fe({cursor:"pointer","data-testid":a,color:f.gray[800],fontSize:l?24:void 0},c),i.createElement(zi.span,{onClick:u},o,n&&" [ ]",t&&i.createElement(nz,{size:l?24:15,strokeWidth:3,style:{transition:"transform 0.5s",transform:`rotate(${r?0:180}deg)`,...h}}),"setup"===s&&i.createElement(tz,{size:l?24:15,style:h}),"teardown"===s&&i.createElement(ez,{size:l?24:15,style:h})))},tZ=i.memo(eZ),nZ=e=>{let{id:t,data:{label:n,childCount:r,height:o,width:a,instance:s,task:l,isSelected:u,latestDagRunId:c,isOpen:f,isActive:h,setupTeardownType:d,onToggleCollapse:p,labelStyle:g,style:m,isZoomedOut:b}}=e;const{onSelect:v}=yC(),y=Sy(),{colors:w}=Si();if(!l)return null;const x=f?`${w.blue[500]}15`:"blue.50",{isMapped:_}=l,S=s?.mappedStates,{totalTasks:k}=ew({group:l,mappedStates:S}),C=_?`${n} [${s?k:" "}]`:n;let E="",I="";m&&([,I]=m.split(":")),g&&([,E]=g.split(":")),E&&"#000;"!==E||(E="gray.500");const M=s?.state&&stateColors[s.state]?stateColors[s.state]:"gray.400";let T=2;return b?T=u?10:6:u&&(T=4),i.createElement(UF,{label:s&&l?i.createElement(qF,{instance:s,group:l}):null,portalProps:{containerRef:y},hasArrow:!0,placement:"top",openDelay:Zy},i.createElement(Bw,{borderRadius:b?10:5,borderWidth:T,borderColor:M,wordBreak:"break-word",bg:!l.children?.length&&I?`color-mix(in srgb, ${I.replace(";","")} 80%, white)`:x,height:`${o}px`,width:`${a}px`,cursor:c?"cursor":"default",opacity:h?1:.3,transition:"opacity 0.2s","data-testid":"node",onClick:()=>{c&&v({runId:s?.runId||c,taskId:u?void 0:t})},px:b?1:2,mt:b?-2:0,alignItems:b&&!f?"center":void 0,justifyContent:b&&!f?"center":void 0,flexDirection:"column",overflow:"wrap"},i.createElement(tZ,{label:C,isOpen:f,isGroup:!!r,onClick:e=>{r&&(e.stopPropagation(),p())},setupTeardownType:d,isZoomedOut:b,noOfLines:2}),!b&&i.createElement(i.Fragment,null,!!s&&s.state&&i.createElement(Bw,{alignItems:"center"},i.createElement(KF,{state:s.state}),i.createElement(sx,{ml:2,color:"gray.500",fontWeight:400,fontSize:"md"},s.state)),l?.operator&&i.createElement(sx,{noOfLines:1,maxWidth:`calc(${a}px - 12px)`,fontWeight:400,fontSize:"md",color:E},l.operator))))},rZ=e=>{const{colors:t}=Si(),{data:n}=e,r=Sy();return n.isJoinNode?i.createElement(Ow,{height:`${n.height}px`,width:`${n.width}px`,borderRadius:n.width,bg:"gray.400"}):"or-gate"===n.class||"and-gate"===n.class?i.createElement(Ow,{height:`${n.height}px`,width:`${n.width}px`,borderRadius:4,borderWidth:1},i.createElement(UF,{label:"or-gate"===n.class?"Or":"And",portalProps:{containerRef:r},hasArrow:!0,openDelay:Zy},i.createElement(Ow,null,"or-gate"===n.class?i.createElement(YB,{size:"30px",stroke:t.gray[600]}):i.createElement(XB,{size:"30px",stroke:t.gray[600]})))):"dataset"===n.class?i.createElement(JK,e):i.createElement(nZ,e)},iZ=e=>{let{children:t,selected:n,groups:r,latestDagRunId:i,onToggleGroups:o,openGroupIds:a,parent:s,hoveredTaskState:l,isZoomedOut:u,datasetEvents:c}=e,f=[],h=[];if(!t)return{nodes:f,edges:h};const d=s?{parentNode:s.id}:void 0;return t.forEach((e=>{let t;const p=nw({taskId:e.id,task:r});!e.id.endsWith("join_id")&&n.runId&&(t=p?.instances.find((e=>e.runId===n.runId)));const g=e.id===n.taskId,m=!t||void 0===l||l===t.state,b={id:e.id,data:{width:e.width,height:e.height,task:p,instance:t,isSelected:g,latestDagRunId:i,isActive:m,isZoomedOut:u,onToggleCollapse:()=>{let t=[];t=e.value.isOpen?a.filter((t=>t!==e.id)):[...a,e.id],o(t)},datasetEvent:"dataset"===e.value.class?c?.find((t=>t.datasetUri===e.value.label)):void 0,...e.value},type:"custom",position:{x:e.x||0,y:e.y||0},positionAbsolute:{x:(s?.positionAbsolute?.x||0)+(e.x||0),y:(s?.positionAbsolute?.y||0)+(e.y||0)},...d};if(e.edges&&(h=[...h,...e.edges]),f.push(b),e.children){const{nodes:t,edges:s}=iZ({children:e.children,selected:n,groups:r,latestDagRunId:i,onToggleGroups:o,openGroupIds:a,parent:b,hoveredTaskState:l,isZoomedOut:u});f=[...f,...t],h=[...h,...s]}})),{nodes:f,edges:h}},oZ=e=>{let{data:{height:t,width:n,instance:r,isActive:i,isOpen:o}}=e,a="90",s="#cccccc";return t&&n?(r?.state&&!o&&(s=zy()(stateColors[r.state]).hex()),o&&(a="50"),i||(a="21"),`${s}${a}`):""},aZ={custom:e=>i.createElement(i.Fragment,null,i.createElement(vq,{type:"target",position:RU.Top,style:{visibility:"hidden"}}),i.createElement(rZ,e),i.createElement(vq,{type:"source",position:RU.Bottom,style:{visibility:"hidden"}}))},sZ={custom:wK},lZ=Qy("dag_id"),uZ=function(e,t){let n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=[],o=[];const a=[];let s;if(e?.any?(n="or-gate",e.any.forEach((e=>{"string"==typeof e?a.push(e):s=e}))):e?.all&&(n="and-gate",e.all.forEach((e=>{"string"==typeof e?a.push(e):s=e}))),n&&a.length&&(i.push({sourceId:`${n}-${r}`,targetId:t,isSourceDataset:0===r}),o.push({id:`${n}-${r}`,value:{class:n,label:""}}),a.forEach((e=>{o.push({id:e,value:{class:"dataset",label:e}}),i.push({sourceId:e,targetId:`${n}-${r}`})})),s)){const e=uZ(s,`${n}-${r}`,r+=1);i=[...i,...e.edges],o=[...o,...e.nodes]}return{nodes:o,edges:i}},cZ=e=>{let{openGroupIds:t,onToggleGroups:n,hoveredTaskState:r}=e;const o=(0,i.useRef)(null),{data:a}=hC(),[s,l]=(0,i.useState)(a?.arrange||"LR"),[u,c]=(0,i.useState)(!1),[f,h]=(0,i.useState)(!1),{selected:d}=yC(),[p,g]=(0,i.useState)(!0),{data:{dagRuns:m,groups:b}}=CC(),{data:v}=UC();(0,i.useEffect)((()=>{l(a?.arrange||"LR")}),[a?.arrange]);const{data:y}=function(e){let{dagIds:t,enabled:n=!0}=e;return(0,py.useQuery)(["datasets",t],(()=>{const e=Qy("datasets_api"),n=t&&t.length?{dag_ids:t.join(",")}:{};return Mk.get(e,{params:{...n}})}),{enabled:n})}({dagIds:[lZ]});let w=[],x=[];const{nodes:_,edges:S}=uZ(v.datasetExpression,a?.nodes?.children?.[0]?.id??""),{data:{datasetEvents:k=[]}}=jC({dagId:lZ,dagRunId:d.runId||"",options:{enabled:!!_.length&&!!d.runId&&p}}),{data:{datasetEvents:C=[]}}=DC({sourceDagId:lZ,sourceRunId:d.runId||void 0,options:{enabled:!!d.runId&&p}});p&&(w=[..._],x=[...S],y?.datasets?.forEach((e=>{const t=e?.producingTasks?.find((e=>e.dagId===lZ));e.uri&&t?.taskId&&nw({taskId:t?.taskId,task:b})&&(x.push({sourceId:t.taskId,targetId:e.uri}),w.push({id:e.uri,value:{class:"dataset",label:e.uri}}))})),C.forEach((e=>{const t=w.find((t=>t.id===e.datasetUri));!t&&e.sourceTaskId&&e.datasetUri&&(x.push({sourceId:e.sourceTaskId,targetId:e.datasetUri}),w.push({id:e.datasetUri,value:{class:"dataset",label:e.datasetUri}}))})));const{data:E}=OC({edges:[...a?.edges||[],...x],nodes:a?.nodes?{...a.nodes,children:[...a?.nodes.children||[],...w]}:a?.nodes,openGroupIds:t,arrange:s}),{colors:I}=Si(),{getZoom:M,fitView:T}=CX(),A=m[m.length-1]?.runId,P=Ky(o);!function({onStart:e,onChange:t,onEnd:n}){const r=nU();(0,i.useEffect)((()=>{r.setState({onViewportChangeStart:e})}),[e]),(0,i.useEffect)((()=>{r.setState({onViewportChange:t})}),[t]),(0,i.useEffect)((()=>{r.setState({onViewportChangeEnd:n})}),[n])}({onEnd:e=>{e.zoom<.5&&!f&&h(!0),e.zoom>=.5&&f&&h(!1)}});const{nodes:O,edges:D}=(0,i.useMemo)((()=>iZ({children:E?.children,selected:d,openGroupIds:t,onToggleGroups:n,latestDagRunId:A,groups:b,hoveredTaskState:r,isZoomedOut:f,datasetEvents:d.runId?[...k,...C]:[]})),[E?.children,d,t,n,A,b,r,f,k,C]);(0,i.useEffect)((()=>{if(u){const e=M();e<.5&&h(!0),T({duration:750,nodes:d.taskId?[{id:d.taskId}]:void 0,minZoom:d.taskId?e:void 0,maxZoom:d.taskId?e:void 0})}c(!0)}),[T,u,d.taskId,M]);const R=[...E?.edges||[],...D||[]].filter(((e,t,n)=>t===n.findIndex((t=>t.id===e.id)))),L=(e=>{let{edges:t=[],nodes:n,selectedTaskId:r,isZoomedOut:i}=e;return t.map((e=>({id:e.id,source:e.sources[0],target:e.targets[0],data:{rest:e},type:"custom"}))).map((e=>{const t=r&&(e.source===r||e.target===r);if(e.data.rest?.parentNode){const r=n.find((t=>t.id===e.data.rest.parentNode)),o=r?.positionAbsolute?.x||r?.position.x||0,a=r?.positionAbsolute?.y||r?.position.y||0;return{...e,data:{rest:{isZoomedOut:i,...e.data.rest,labels:e.data.rest.labels?.map((e=>e.x&&e.y?{...e,x:e.x+o,y:e.y+a}:e)),isSelected:t,sections:e.data.rest.sections.map((e=>({...e,startPoint:{x:e.startPoint.x+o,y:e.startPoint.y+a},endPoint:{x:e.endPoint.x+o,y:e.endPoint.y+a},bendPoints:(e.bendPoints||[]).map((e=>({x:e.x+o,y:e.y+a})))})))}}}}return{...e,data:{rest:{...e.data.rest,isSelected:t,isZoomedOut:i}}}}))})({edges:R,nodes:O,selectedTaskId:d.taskId,isZoomedOut:f});return i.createElement(Ow,{ref:o,height:`calc(100% - ${P}px)`,borderWidth:1,borderColor:"gray.200"},!!P&&i.createElement(kY,{nodes:O,edges:L,nodesDraggable:!1,nodeTypes:aZ,edgeTypes:sZ,minZoom:.25,maxZoom:1,onlyRenderVisibleElements:!0,defaultEdgeOptions:{zIndex:1},fitView:!0,fitViewOptions:{nodes:d.taskId?[{id:d.taskId}]:void 0}},i.createElement(iU,{position:"top-right"},i.createElement(Ow,{bg:I.whiteAlpha[800],p:1},!!y?.datasets?.length&&i.createElement(Bw,{display:"flex",alignItems:"center"},i.createElement(sx,{fontSize:"sm",mr:1},"Show datasets:"),i.createElement(EV,{id:"show-datasets",isChecked:p,onChange:()=>g(!p)})),i.createElement(sx,{fontSize:"sm"},"Layout:"),i.createElement(dz,{value:s,onChange:e=>l(e.target.value),fontSize:"sm",size:"sm"},i.createElement("option",{value:"LR"},"Left -> Right"),i.createElement("option",{value:"RL"},"Right -> Left"),i.createElement("option",{value:"TB"},"Top -> Bottom"),i.createElement("option",{value:"BT"},"Bottom -> Top")))),i.createElement(DY,null),i.createElement($Y,{showInteractive:!1}),i.createElement(ZY,{nodeStrokeWidth:15,nodeStrokeColor:e=>((e,t)=>{let{data:{isSelected:n}}=e;return n?t.blue[500]:""})(e,I),nodeColor:oZ,zoomable:!0,pannable:!0})))},fZ=e=>i.createElement(gY,null,i.createElement(cZ,e)),hZ=e=>{let{task:t,instance:n}=e;const r=!!t.children,o=r||t.isMapped,a=Ty(n?.startDate,n?.endDate),s=n?.queuedWhen&&(!n?.startDate||n.queuedWhen<n.startDate)?Ty(n.queuedWhen,n?.startDate):0;return i.createElement(Ow,null,i.createElement(sx,null,"Task",r?" Group":"",": ",t.label),!!n?.tryNumber&&i.createElement(sx,null,"Try Number: ",n.tryNumber),i.createElement("br",null),n?.queuedWhen&&i.createElement(sx,null,o&&"Total ","Queued Duration:"," ",Ay(s)),i.createElement(sx,null,o&&"Total ","Run Duration:"," ",Ay(a)),i.createElement("br",null),n?.queuedWhen&&i.createElement(sx,null,o&&"Earliest ","Queued At:"," ",i.createElement(qO,{dateTime:n?.queuedWhen})),n?.startDate&&i.createElement(sx,null,o&&"Earliest ","Start:"," ",i.createElement(qO,{dateTime:n?.startDate})),n?.endDate&&i.createElement(sx,null,o&&"Latest ","End:"," ",i.createElement(qO,{dateTime:n?.endDate})))},dZ=e=>{let{ganttWidth:t=500,task:n,instance:r,ganttStartDate:o,ganttEndDate:a}=e;const{onSelect:s}=yC(),l=Sy(),u=Ty(o,a),{queuedWhen:c}=r,f=!!c&&(!r?.startDate||!c||c<r.startDate),h=Ty(r?.startDate,r?.endDate),d=f?Ty(c,r?.startDate):0;let p=t*(h/u);p<5&&(p=5);let g=f?t*(d/u):0;f&&g<5&&(g=5);const m=Ty(o,f&&c||r?.startDate)/u*t;return r?i.createElement(mO,{label:i.createElement(hZ,{task:n,instance:r}),hasArrow:!0,portalProps:{containerRef:l},placement:"top",openDelay:Zy},i.createElement(Bw,{position:"absolute",top:"4px",left:`${m}px`,transition:"left 0.5s",cursor:"pointer",pointerEvents:"auto",onClick:()=>{s({runId:r.dagRunId,taskId:r.taskId})}},"queued"!==r.state&&f&&i.createElement(KF,{state:"queued",width:`${g}px`,borderRightRadius:0,transition:"width 0.5s",opacity:.6}),i.createElement(KF,{state:r.state&&"none"!==r?.state?r.state:null,width:`${p}px`,transition:"width 0.5s",borderLeftRadius:"queued"!==r.state&&f?0:void 0}))):null},pZ=Qy("dag_id"),gZ=e=>{let{ganttWidth:t=500,openGroupIds:n,task:r,ganttStartDate:o,ganttEndDate:a,setGanttDuration:s}=e;const{selected:{runId:l,taskId:u}}=yC(),c=r.instances.find((e=>e.runId===l)),{data:f}=eE({dagId:pZ,taskId:r.id||"",dagRunId:l||"",options:{enabled:!!(c?.tryNumber&&c?.tryNumber>1)&&!!r.id}}),h=u===c?.taskId,d=n.includes(r.id||"");return(0,i.useEffect)((()=>{s&&s(c?.queuedDttm,c?.startDate,c?.endDate)}),[c,s]),(0,i.useEffect)((()=>{f?.taskInstances?.forEach((e=>s&&s(e.queuedWhen,e.startDate,e.endDate)))}),[f,s]),i.createElement("div",null,i.createElement(Ow,{py:"4px",borderBottomWidth:1,borderBottomColor:r.children&&d?"gray.400":"gray.200",bg:h?"blue.100":"inherit",position:"relative",width:t,height:"19px"},!!c&&i.createElement(dZ,{key:`${c.taskId}-${c.tryNumber}`,instance:{...c,queuedWhen:c.queuedDttm,dagRunId:c.runId},task:r,ganttWidth:t,ganttStartDate:o,ganttEndDate:a}),f?.taskInstances?.map((e=>e.tryNumber!==c?.tryNumber&&i.createElement(dZ,{key:`${e.taskId}-${e.tryNumber}`,instance:e,task:r,ganttWidth:t,ganttStartDate:o,ganttEndDate:a})))),d&&!!r.children&&r.children.map((e=>i.createElement(gZ,{ganttWidth:t,openGroupIds:n,ganttStartDate:o,ganttEndDate:a,task:e,key:`gantt-${e.id}`}))))},mZ=gZ,bZ=e=>{let{runId:t,taskId:n,openGroupIds:r,gridScrollRef:o,ganttScrollRef:a}=e;const s=(0,i.useRef)(null),[l,u]=(0,i.useState)(0),[c,f]=(0,i.useState)(500),[h,d]=(0,i.useState)("100%"),[p,g]=(0,i.useState)(),[m,b]=(0,i.useState)(),{data:{dagRuns:v,groups:y}}=CC(),w=(0,i.useCallback)((()=>{if(s?.current){const e=o.current?.getElementsByTagName("tbody")[0],t=(e?.getBoundingClientRect().top||0)+(o?.current?.scrollTop||0),n=s?.current?.getBoundingClientRect(),r=n?.top;u(t&&r?t-r:0),n?.width&&f(n.width);const i=o.current?.getBoundingClientRect().height;i&&d(i-155+"px")}}),[s,o]);(0,i.useEffect)((()=>{w()}),[t,n,r,w]);const x=e=>{const{scrollTop:t}=e.currentTarget;t&&a?.current&&(a.current.scrollTo(0,t),setTimeout((()=>{const e=o.current?.scrollTop,t=a.current?.scrollTop;t!==e&&a.current&&a.current.scrollTo(0,e||0)}),100))};(0,i.useEffect)((()=>{const e=o.current;return e?.addEventListener("scroll",x),()=>{e?.removeEventListener("scroll",x)}})),(0,i.useEffect)((()=>{const e=s.current,t=new ResizeObserver(w);return e?(t.observe(e),()=>{t.unobserve(e)}):()=>{}}),[s,w]);const _=v.find((e=>e.runId===t)),S=(0,i.useCallback)(((e,t,n)=>{e&&(!p||Date.parse(e)<Date.parse(p))?g(e):t&&(!p||Date.parse(t)<Date.parse(p))&&g(t),n&&(!m||Date.parse(n)>Date.parse(m))?b(n):n||b(moment().add(1,"s").toString())}),[p,m,g,b]);(0,i.useEffect)((()=>{g(_?.queuedAt||_?.startDate),b(_?.endDate??moment().add(1,"s").toString())}),[_?.queuedAt,_?.startDate,_?.endDate]);const k=Math.round(c/100),C=Ty(p,m)/k;return i.createElement(Ow,{ref:s,position:"relative",height:"100%",overflow:"hidden"},!t&&i.createElement(Qc,{status:"warning",position:"absolute",top:2},i.createElement(ef,null),"Please select a dag run in order to see a gantt chart"),i.createElement(Ow,{borderBottomWidth:1,pt:`${l}px`,pointerEvents:"none"},Array.from(Array(k)).map(((e,t)=>i.createElement(Ow,{position:"absolute",left:c/k*t+"px",key:t},i.createElement(sx,{color:"gray.400",fontSize:"sm",transform:"rotate(-30deg) translateX(28px)",mt:-6,mb:1,ml:-9},i.createElement(qO,{dateTime:moment(p).add(t*C,"milliseconds").format(),format:"HH:mm:ss z"})),i.createElement(zw,{orientation:"vertical",height:h})))),i.createElement(Ow,{position:"absolute",left:c-2,key:"end"},i.createElement(zw,{orientation:"vertical",height:h}))),i.createElement(Ow,{maxHeight:h,height:"100%",overflowY:"scroll",ref:a,overscrollBehavior:"contain"},i.createElement("div",null,!!t&&!!_&&!!y.children&&y.children.map((e=>i.createElement(mZ,{ganttWidth:c,openGroupIds:r,task:e,ganttStartDate:p,ganttEndDate:m,setGanttDuration:S,key:`gantt-${e.id}`}))))))};function vZ(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function yZ(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function wZ(e){return function(e){if(Array.isArray(e))return yZ(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return yZ(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?yZ(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function xZ(e){return xZ="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},xZ(e)}function _Z(e){var t=function(e,t){if("object"!==xZ(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==xZ(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===xZ(t)?t:String(t)}function SZ(e,t,n){return(t=_Z(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function kZ(){return kZ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},kZ.apply(this,arguments)}function CZ(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function EZ(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?CZ(Object(n),!0).forEach((function(t){SZ(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):CZ(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var IZ={};function MZ(e){if(0===e.length||1===e.length)return e;var t,n,r=e.join(".");return IZ[r]||(IZ[r]=0===(n=(t=e).length)||1===n?t:2===n?[t[0],t[1],"".concat(t[0],".").concat(t[1]),"".concat(t[1],".").concat(t[0])]:3===n?[t[0],t[1],t[2],"".concat(t[0],".").concat(t[1]),"".concat(t[0],".").concat(t[2]),"".concat(t[1],".").concat(t[0]),"".concat(t[1],".").concat(t[2]),"".concat(t[2],".").concat(t[0]),"".concat(t[2],".").concat(t[1]),"".concat(t[0],".").concat(t[1],".").concat(t[2]),"".concat(t[0],".").concat(t[2],".").concat(t[1]),"".concat(t[1],".").concat(t[0],".").concat(t[2]),"".concat(t[1],".").concat(t[2],".").concat(t[0]),"".concat(t[2],".").concat(t[0],".").concat(t[1]),"".concat(t[2],".").concat(t[1],".").concat(t[0])]:n>=4?[t[0],t[1],t[2],t[3],"".concat(t[0],".").concat(t[1]),"".concat(t[0],".").concat(t[2]),"".concat(t[0],".").concat(t[3]),"".concat(t[1],".").concat(t[0]),"".concat(t[1],".").concat(t[2]),"".concat(t[1],".").concat(t[3]),"".concat(t[2],".").concat(t[0]),"".concat(t[2],".").concat(t[1]),"".concat(t[2],".").concat(t[3]),"".concat(t[3],".").concat(t[0]),"".concat(t[3],".").concat(t[1]),"".concat(t[3],".").concat(t[2]),"".concat(t[0],".").concat(t[1],".").concat(t[2]),"".concat(t[0],".").concat(t[1],".").concat(t[3]),"".concat(t[0],".").concat(t[2],".").concat(t[1]),"".concat(t[0],".").concat(t[2],".").concat(t[3]),"".concat(t[0],".").concat(t[3],".").concat(t[1]),"".concat(t[0],".").concat(t[3],".").concat(t[2]),"".concat(t[1],".").concat(t[0],".").concat(t[2]),"".concat(t[1],".").concat(t[0],".").concat(t[3]),"".concat(t[1],".").concat(t[2],".").concat(t[0]),"".concat(t[1],".").concat(t[2],".").concat(t[3]),"".concat(t[1],".").concat(t[3],".").concat(t[0]),"".concat(t[1],".").concat(t[3],".").concat(t[2]),"".concat(t[2],".").concat(t[0],".").concat(t[1]),"".concat(t[2],".").concat(t[0],".").concat(t[3]),"".concat(t[2],".").concat(t[1],".").concat(t[0]),"".concat(t[2],".").concat(t[1],".").concat(t[3]),"".concat(t[2],".").concat(t[3],".").concat(t[0]),"".concat(t[2],".").concat(t[3],".").concat(t[1]),"".concat(t[3],".").concat(t[0],".").concat(t[1]),"".concat(t[3],".").concat(t[0],".").concat(t[2]),"".concat(t[3],".").concat(t[1],".").concat(t[0]),"".concat(t[3],".").concat(t[1],".").concat(t[2]),"".concat(t[3],".").concat(t[2],".").concat(t[0]),"".concat(t[3],".").concat(t[2],".").concat(t[1]),"".concat(t[0],".").concat(t[1],".").concat(t[2],".").concat(t[3]),"".concat(t[0],".").concat(t[1],".").concat(t[3],".").concat(t[2]),"".concat(t[0],".").concat(t[2],".").concat(t[1],".").concat(t[3]),"".concat(t[0],".").concat(t[2],".").concat(t[3],".").concat(t[1]),"".concat(t[0],".").concat(t[3],".").concat(t[1],".").concat(t[2]),"".concat(t[0],".").concat(t[3],".").concat(t[2],".").concat(t[1]),"".concat(t[1],".").concat(t[0],".").concat(t[2],".").concat(t[3]),"".concat(t[1],".").concat(t[0],".").concat(t[3],".").concat(t[2]),"".concat(t[1],".").concat(t[2],".").concat(t[0],".").concat(t[3]),"".concat(t[1],".").concat(t[2],".").concat(t[3],".").concat(t[0]),"".concat(t[1],".").concat(t[3],".").concat(t[0],".").concat(t[2]),"".concat(t[1],".").concat(t[3],".").concat(t[2],".").concat(t[0]),"".concat(t[2],".").concat(t[0],".").concat(t[1],".").concat(t[3]),"".concat(t[2],".").concat(t[0],".").concat(t[3],".").concat(t[1]),"".concat(t[2],".").concat(t[1],".").concat(t[0],".").concat(t[3]),"".concat(t[2],".").concat(t[1],".").concat(t[3],".").concat(t[0]),"".concat(t[2],".").concat(t[3],".").concat(t[0],".").concat(t[1]),"".concat(t[2],".").concat(t[3],".").concat(t[1],".").concat(t[0]),"".concat(t[3],".").concat(t[0],".").concat(t[1],".").concat(t[2]),"".concat(t[3],".").concat(t[0],".").concat(t[2],".").concat(t[1]),"".concat(t[3],".").concat(t[1],".").concat(t[0],".").concat(t[2]),"".concat(t[3],".").concat(t[1],".").concat(t[2],".").concat(t[0]),"".concat(t[3],".").concat(t[2],".").concat(t[0],".").concat(t[1]),"".concat(t[3],".").concat(t[2],".").concat(t[1],".").concat(t[0])]:void 0),IZ[r]}function TZ(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,r=e.filter((function(e){return"token"!==e})),i=MZ(r);return i.reduce((function(e,t){return EZ(EZ({},e),n[t])}),t)}function AZ(e){return e.join(" ")}function PZ(e){var t=e.node,n=e.stylesheet,r=e.style,o=void 0===r?{}:r,a=e.useInlineStyles,s=e.key,l=t.properties,u=t.type,c=t.tagName,f=t.value;if("text"===u)return f;if(c){var h,d=function(e,t){var n=0;return function(r){return n+=1,r.map((function(r,i){return PZ({node:r,stylesheet:e,useInlineStyles:t,key:"code-segment-".concat(n,"-").concat(i)})}))}}(n,a);if(a){var p=Object.keys(n).reduce((function(e,t){return t.split(".").forEach((function(t){e.includes(t)||e.push(t)})),e}),[]),g=l.className&&l.className.includes("token")?["token"]:[],m=l.className&&g.concat(l.className.filter((function(e){return!p.includes(e)})));h=EZ(EZ({},l),{},{className:AZ(m)||void 0,style:TZ(l.className,Object.assign({},l.style,o),n)})}else h=EZ(EZ({},l),{},{className:AZ(l.className)});var b=d(t.children);return i.createElement(c,kZ({key:s},h),b)}}var OZ=["language","children","style","customStyle","codeTagProps","useInlineStyles","showLineNumbers","showInlineLineNumbers","startingLineNumber","lineNumberContainerStyle","lineNumberStyle","wrapLines","wrapLongLines","lineProps","renderer","PreTag","CodeTag","code","astGenerator"];function DZ(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function RZ(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?DZ(Object(n),!0).forEach((function(t){SZ(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):DZ(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var LZ=/\n/g;function NZ(e){var t=e.codeString,n=e.codeStyle,r=e.containerStyle,o=void 0===r?{float:"left",paddingRight:"10px"}:r,a=e.numberStyle,s=void 0===a?{}:a,l=e.startingLineNumber;return i.createElement("code",{style:Object.assign({},n,o)},function(e){var t=e.lines,n=e.startingLineNumber,r=e.style;return t.map((function(e,t){var o=t+n;return i.createElement("span",{key:"line-".concat(t),className:"react-syntax-highlighter-line-number",style:"function"==typeof r?r(o):r},"".concat(o,"\n"))}))}({lines:t.replace(/\n$/,"").split("\n"),style:s,startingLineNumber:l}))}function jZ(e,t){return{type:"element",tagName:"span",properties:{key:"line-number--".concat(e),className:["comment","linenumber","react-syntax-highlighter-line-number"],style:t},children:[{type:"text",value:e}]}}function FZ(e,t,n){var r,i={display:"inline-block",minWidth:(r=n,"".concat(r.toString().length,".25em")),paddingRight:"1em",textAlign:"right",userSelect:"none"},o="function"==typeof e?e(t):e;return RZ(RZ({},i),o)}function zZ(e){var t=e.children,n=e.lineNumber,r=e.lineNumberStyle,i=e.largestLineNumber,o=e.showInlineLineNumbers,a=e.lineProps,s=void 0===a?{}:a,l=e.className,u=void 0===l?[]:l,c=e.showLineNumbers,f=e.wrapLongLines,h="function"==typeof s?s(n):s;if(h.className=u,n&&o){var d=FZ(r,n,i);t.unshift(jZ(n,d))}return f&c&&(h.style=RZ(RZ({},h.style),{},{display:"flex"})),{type:"element",tagName:"span",properties:h,children:t}}function BZ(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=0;r<e.length;r++){var i=e[r];if("text"===i.type)n.push(zZ({children:[i],className:wZ(new Set(t))}));else if(i.children){var o=t.concat(i.properties.className);BZ(i.children,o).forEach((function(e){return n.push(e)}))}}return n}function VZ(e,t,n,r,i,o,a,s,l){var u,c=BZ(e.value),f=[],h=-1,d=0;function p(e,t){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return zZ({children:e,lineNumber:t,lineNumberStyle:s,largestLineNumber:a,showInlineLineNumbers:i,lineProps:n,className:o,showLineNumbers:r,wrapLongLines:l})}function g(e,t){if(r&&t&&i){var n=FZ(s,t,a);e.unshift(jZ(t,n))}return e}function m(e,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return t||r.length>0?p(e,n,r):g(e,n)}for(var b=function(){var e=c[d],t=e.children[0].value;if(t.match(LZ)){var n=t.split("\n");n.forEach((function(t,i){var a=r&&f.length+o,s={type:"text",value:"".concat(t,"\n")};if(0===i){var l=m(c.slice(h+1,d).concat(zZ({children:[s],className:e.properties.className})),a);f.push(l)}else if(i===n.length-1){var u=c[d+1]&&c[d+1].children&&c[d+1].children[0],p={type:"text",value:"".concat(t)};if(u){var g=zZ({children:[p],className:e.properties.className});c.splice(d+1,0,g)}else{var b=m([p],a,e.properties.className);f.push(b)}}else{var v=m([s],a,e.properties.className);f.push(v)}})),h=d}d++};d<c.length;)b();if(h!==c.length-1){var v=c.slice(h+1,c.length);if(v&&v.length){var y=m(v,r&&f.length+o);f.push(y)}}return t?f:(u=[]).concat.apply(u,f)}function $Z(e){var t=e.rows,n=e.stylesheet,r=e.useInlineStyles;return t.map((function(e,t){return PZ({node:e,stylesheet:n,useInlineStyles:r,key:"code-segement".concat(t)})}))}function HZ(e){return e&&void 0!==e.highlightAuto}var GZ,WZ,UZ=a(7054),qZ=a.n(UZ),XZ=(GZ=qZ(),WZ={},function(e){var t=e.language,n=e.children,r=e.style,o=void 0===r?WZ:r,a=e.customStyle,s=void 0===a?{}:a,l=e.codeTagProps,u=void 0===l?{className:t?"language-".concat(t):void 0,style:RZ(RZ({},o['code[class*="language-"]']),o['code[class*="language-'.concat(t,'"]')])}:l,c=e.useInlineStyles,f=void 0===c||c,h=e.showLineNumbers,d=void 0!==h&&h,p=e.showInlineLineNumbers,g=void 0===p||p,m=e.startingLineNumber,b=void 0===m?1:m,v=e.lineNumberContainerStyle,y=e.lineNumberStyle,w=void 0===y?{}:y,x=e.wrapLines,_=e.wrapLongLines,S=void 0!==_&&_,k=e.lineProps,C=void 0===k?{}:k,E=e.renderer,I=e.PreTag,M=void 0===I?"pre":I,T=e.CodeTag,A=void 0===T?"code":T,P=e.code,O=void 0===P?(Array.isArray(n)?n[0]:n)||"":P,D=e.astGenerator,R=vZ(e,OZ);D=D||GZ;var L=d?i.createElement(NZ,{containerStyle:v,codeStyle:u.style||{},numberStyle:w,startingLineNumber:b,codeString:O}):null,N=o.hljs||o['pre[class*="language-"]']||{backgroundColor:"#fff"},j=HZ(D)?"hljs":"prismjs",F=f?Object.assign({},R,{style:Object.assign({},N,s)}):Object.assign({},R,{className:R.className?"".concat(j," ").concat(R.className):j,style:Object.assign({},s)});if(u.style=RZ(RZ({},u.style),{},S?{whiteSpace:"pre-wrap"}:{whiteSpace:"pre"}),!D)return i.createElement(M,F,L,i.createElement(A,u,O));(void 0===x&&E||S)&&(x=!0),E=E||$Z;var z=[{type:"text",value:O}],B=function(e){var t=e.astGenerator,n=e.language,r=e.code,i=e.defaultCodeValue;if(HZ(t)){var o=function(e,t){return-1!==e.listLanguages().indexOf(t)}(t,n);return"text"===n?{value:i,language:"text"}:o?t.highlight(n,r):t.highlightAuto(r)}try{return n&&"text"!==n?{value:t.highlight(r,n)}:{value:i}}catch(e){return{value:i}}}({astGenerator:D,language:t,code:O,defaultCodeValue:z});null===B.language&&(B.value=z);var V=VZ(B,x,C,d,g,b,B.value.length+b,w,S);return i.createElement(M,F,i.createElement(A,u,!g&&L,E({rows:V,stylesheet:o,useInlineStyles:f})))});XZ.registerLanguage=function(e,t){return qZ().register(t)},XZ.alias=function(e,t){return qZ().alias(e,t)};const YZ=XZ,KZ={'code[class*="language-"]':{background:"hsl(230, 1%, 98%)",color:"hsl(230, 8%, 24%)",fontFamily:'"Fira Code", "Fira Mono", Menlo, Consolas, "DejaVu Sans Mono", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"2",OTabSize:"2",tabSize:"2",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{background:"hsl(230, 1%, 98%)",color:"hsl(230, 8%, 24%)",fontFamily:'"Fira Code", "Fira Mono", Menlo, Consolas, "DejaVu Sans Mono", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"2",OTabSize:"2",tabSize:"2",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:"0.5em 0",overflow:"auto",borderRadius:"0.3em"},'code[class*="language-"]::-moz-selection':{background:"hsl(230, 1%, 90%)",color:"inherit"},'code[class*="language-"] *::-moz-selection':{background:"hsl(230, 1%, 90%)",color:"inherit"},'pre[class*="language-"] *::-moz-selection':{background:"hsl(230, 1%, 90%)",color:"inherit"},'code[class*="language-"]::selection':{background:"hsl(230, 1%, 90%)",color:"inherit"},'code[class*="language-"] *::selection':{background:"hsl(230, 1%, 90%)",color:"inherit"},'pre[class*="language-"] *::selection':{background:"hsl(230, 1%, 90%)",color:"inherit"},':not(pre) > code[class*="language-"]':{padding:"0.2em 0.3em",borderRadius:"0.3em",whiteSpace:"normal"},comment:{color:"hsl(230, 4%, 64%)",fontStyle:"italic"},prolog:{color:"hsl(230, 4%, 64%)"},cdata:{color:"hsl(230, 4%, 64%)"},doctype:{color:"hsl(230, 8%, 24%)"},punctuation:{color:"hsl(230, 8%, 24%)"},entity:{color:"hsl(230, 8%, 24%)",cursor:"help"},"attr-name":{color:"hsl(35, 99%, 36%)"},"class-name":{color:"hsl(35, 99%, 36%)"},boolean:{color:"hsl(35, 99%, 36%)"},constant:{color:"hsl(35, 99%, 36%)"},number:{color:"hsl(35, 99%, 36%)"},atrule:{color:"hsl(35, 99%, 36%)"},keyword:{color:"hsl(301, 63%, 40%)"},property:{color:"hsl(5, 74%, 59%)"},tag:{color:"hsl(5, 74%, 59%)"},symbol:{color:"hsl(5, 74%, 59%)"},deleted:{color:"hsl(5, 74%, 59%)"},important:{color:"hsl(5, 74%, 59%)"},selector:{color:"hsl(119, 34%, 47%)"},string:{color:"hsl(119, 34%, 47%)"},char:{color:"hsl(119, 34%, 47%)"},builtin:{color:"hsl(119, 34%, 47%)"},inserted:{color:"hsl(119, 34%, 47%)"},regex:{color:"hsl(119, 34%, 47%)"},"attr-value":{color:"hsl(119, 34%, 47%)"},"attr-value > .token.punctuation":{color:"hsl(119, 34%, 47%)"},variable:{color:"hsl(221, 87%, 60%)"},operator:{color:"hsl(221, 87%, 60%)"},function:{color:"hsl(221, 87%, 60%)"},url:{color:"hsl(198, 99%, 37%)"},"attr-value > .token.punctuation.attr-equals":{color:"hsl(230, 8%, 24%)"},"special-attr > .token.attr-value > .token.value.css":{color:"hsl(230, 8%, 24%)"},".language-css .token.selector":{color:"hsl(5, 74%, 59%)"},".language-css .token.property":{color:"hsl(230, 8%, 24%)"},".language-css .token.function":{color:"hsl(198, 99%, 37%)"},".language-css .token.url > .token.function":{color:"hsl(198, 99%, 37%)"},".language-css .token.url > .token.string.url":{color:"hsl(119, 34%, 47%)"},".language-css .token.important":{color:"hsl(301, 63%, 40%)"},".language-css .token.atrule .token.rule":{color:"hsl(301, 63%, 40%)"},".language-javascript .token.operator":{color:"hsl(301, 63%, 40%)"},".language-javascript .token.template-string > .token.interpolation > .token.interpolation-punctuation.punctuation":{color:"hsl(344, 84%, 43%)"},".language-json .token.operator":{color:"hsl(230, 8%, 24%)"},".language-json .token.null.keyword":{color:"hsl(35, 99%, 36%)"},".language-markdown .token.url":{color:"hsl(230, 8%, 24%)"},".language-markdown .token.url > .token.operator":{color:"hsl(230, 8%, 24%)"},".language-markdown .token.url-reference.url > .token.string":{color:"hsl(230, 8%, 24%)"},".language-markdown .token.url > .token.content":{color:"hsl(221, 87%, 60%)"},".language-markdown .token.url > .token.url":{color:"hsl(198, 99%, 37%)"},".language-markdown .token.url-reference.url":{color:"hsl(198, 99%, 37%)"},".language-markdown .token.blockquote.punctuation":{color:"hsl(230, 4%, 64%)",fontStyle:"italic"},".language-markdown .token.hr.punctuation":{color:"hsl(230, 4%, 64%)",fontStyle:"italic"},".language-markdown .token.code-snippet":{color:"hsl(119, 34%, 47%)"},".language-markdown .token.bold .token.content":{color:"hsl(35, 99%, 36%)"},".language-markdown .token.italic .token.content":{color:"hsl(301, 63%, 40%)"},".language-markdown .token.strike .token.content":{color:"hsl(5, 74%, 59%)"},".language-markdown .token.strike .token.punctuation":{color:"hsl(5, 74%, 59%)"},".language-markdown .token.list.punctuation":{color:"hsl(5, 74%, 59%)"},".language-markdown .token.title.important > .token.punctuation":{color:"hsl(5, 74%, 59%)"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"},namespace:{Opacity:"0.8"},"token.tab:not(:empty):before":{color:"hsla(230, 8%, 24%, 0.2)"},"token.cr:before":{color:"hsla(230, 8%, 24%, 0.2)"},"token.lf:before":{color:"hsla(230, 8%, 24%, 0.2)"},"token.space:before":{color:"hsla(230, 8%, 24%, 0.2)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item":{marginRight:"0.4em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button":{background:"hsl(230, 1%, 90%)",color:"hsl(230, 6%, 44%)",padding:"0.1em 0.4em",borderRadius:"0.3em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a":{background:"hsl(230, 1%, 90%)",color:"hsl(230, 6%, 44%)",padding:"0.1em 0.4em",borderRadius:"0.3em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span":{background:"hsl(230, 1%, 90%)",color:"hsl(230, 6%, 44%)",padding:"0.1em 0.4em",borderRadius:"0.3em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:hover":{background:"hsl(230, 1%, 78%)",color:"hsl(230, 8%, 24%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:focus":{background:"hsl(230, 1%, 78%)",color:"hsl(230, 8%, 24%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:hover":{background:"hsl(230, 1%, 78%)",color:"hsl(230, 8%, 24%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:focus":{background:"hsl(230, 1%, 78%)",color:"hsl(230, 8%, 24%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:hover":{background:"hsl(230, 1%, 78%)",color:"hsl(230, 8%, 24%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:focus":{background:"hsl(230, 1%, 78%)",color:"hsl(230, 8%, 24%)"},".line-highlight.line-highlight":{background:"hsla(230, 8%, 24%, 0.05)"},".line-highlight.line-highlight:before":{background:"hsl(230, 1%, 90%)",color:"hsl(230, 8%, 24%)",padding:"0.1em 0.6em",borderRadius:"0.3em",boxShadow:"0 2px 0 0 rgba(0, 0, 0, 0.2)"},".line-highlight.line-highlight[data-end]:after":{background:"hsl(230, 1%, 90%)",color:"hsl(230, 8%, 24%)",padding:"0.1em 0.6em",borderRadius:"0.3em",boxShadow:"0 2px 0 0 rgba(0, 0, 0, 0.2)"},"pre[id].linkable-line-numbers.linkable-line-numbers span.line-numbers-rows > span:hover:before":{backgroundColor:"hsla(230, 8%, 24%, 0.05)"},".line-numbers.line-numbers .line-numbers-rows":{borderRightColor:"hsla(230, 8%, 24%, 0.2)"},".command-line .command-line-prompt":{borderRightColor:"hsla(230, 8%, 24%, 0.2)"},".line-numbers .line-numbers-rows > span:before":{color:"hsl(230, 1%, 62%)"},".command-line .command-line-prompt > span:before":{color:"hsl(230, 1%, 62%)"},".rainbow-braces .token.token.punctuation.brace-level-1":{color:"hsl(5, 74%, 59%)"},".rainbow-braces .token.token.punctuation.brace-level-5":{color:"hsl(5, 74%, 59%)"},".rainbow-braces .token.token.punctuation.brace-level-9":{color:"hsl(5, 74%, 59%)"},".rainbow-braces .token.token.punctuation.brace-level-2":{color:"hsl(119, 34%, 47%)"},".rainbow-braces .token.token.punctuation.brace-level-6":{color:"hsl(119, 34%, 47%)"},".rainbow-braces .token.token.punctuation.brace-level-10":{color:"hsl(119, 34%, 47%)"},".rainbow-braces .token.token.punctuation.brace-level-3":{color:"hsl(221, 87%, 60%)"},".rainbow-braces .token.token.punctuation.brace-level-7":{color:"hsl(221, 87%, 60%)"},".rainbow-braces .token.token.punctuation.brace-level-11":{color:"hsl(221, 87%, 60%)"},".rainbow-braces .token.token.punctuation.brace-level-4":{color:"hsl(301, 63%, 40%)"},".rainbow-braces .token.token.punctuation.brace-level-8":{color:"hsl(301, 63%, 40%)"},".rainbow-braces .token.token.punctuation.brace-level-12":{color:"hsl(301, 63%, 40%)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)":{backgroundColor:"hsla(353, 100%, 66%, 0.15)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)":{backgroundColor:"hsla(353, 100%, 66%, 0.15)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix) *::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix) *::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)":{backgroundColor:"hsla(137, 100%, 55%, 0.15)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)":{backgroundColor:"hsla(137, 100%, 55%, 0.15)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix) *::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix) *::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},".prism-previewer.prism-previewer:before":{borderColor:"hsl(0, 0, 95%)"},".prism-previewer-gradient.prism-previewer-gradient div":{borderColor:"hsl(0, 0, 95%)",borderRadius:"0.3em"},".prism-previewer-color.prism-previewer-color:before":{borderRadius:"0.3em"},".prism-previewer-easing.prism-previewer-easing:before":{borderRadius:"0.3em"},".prism-previewer.prism-previewer:after":{borderTopColor:"hsl(0, 0, 95%)"},".prism-previewer-flipped.prism-previewer-flipped.after":{borderBottomColor:"hsl(0, 0, 95%)"},".prism-previewer-angle.prism-previewer-angle:before":{background:"hsl(0, 0%, 100%)"},".prism-previewer-time.prism-previewer-time:before":{background:"hsl(0, 0%, 100%)"},".prism-previewer-easing.prism-previewer-easing":{background:"hsl(0, 0%, 100%)"},".prism-previewer-angle.prism-previewer-angle circle":{stroke:"hsl(230, 8%, 24%)",strokeOpacity:"1"},".prism-previewer-time.prism-previewer-time circle":{stroke:"hsl(230, 8%, 24%)",strokeOpacity:"1"},".prism-previewer-easing.prism-previewer-easing circle":{stroke:"hsl(230, 8%, 24%)",fill:"transparent"},".prism-previewer-easing.prism-previewer-easing path":{stroke:"hsl(230, 8%, 24%)"},".prism-previewer-easing.prism-previewer-easing line":{stroke:"hsl(230, 8%, 24%)"}};var ZZ=a(3870);const QZ=a.n(ZZ)();function JZ(e){let{code:t}=e;const[n,r]=(0,i.useState)("True"===Qy("default_wrap"));return i.createElement(Ow,{height:"calc(100% - 10px)",borderWidth:2,borderColor:"gray:100",position:"relative",margin:"0px",fontSize:"13.5px"},i.createElement(w_,{colorScheme:"cyan",variant:"outline",background:"white","aria-label":"Toggle Wrap",position:"absolute",top:"15px",right:"30px",fontSize:"13.5px",onClick:()=>r(!n)},"Toggle Wrap"),i.createElement(YZ,{language:"python",style:KZ,showLineNumbers:!0,customStyle:{height:"100%",overflow:"scroll",margin:"0px"},wrapLongLines:n},t))}YZ.registerLanguage("python",QZ);const eQ=()=>{const e=(0,i.useRef)(null),t=Ky(e),{data:n,isLoading:r,error:o}=HC(),{data:a="",isLoading:s,error:l}=function(){const{data:e}=HC();return(0,py.useQuery)(["dagSourceQuery"],(()=>{const t=e?.fileToken||"",n=Qy("dag_source_api").replace("_FILE_TOKEN_",t);return Mk.get(n,{headers:{Accept:"text/plain"}})}),{enabled:!!e?.fileToken})}(),u=s||r,c=l||o;return i.createElement(Ow,{ref:e,height:`calc(100% - ${t}px)`},n?.lastParsedTime&&i.createElement(Gw,{as:"h4",size:"md",paddingBottom:"10px",fontSize:"14px"},"Parsed at: ",i.createElement(qO,{dateTime:n.lastParsedTime})),i.createElement(lV,{error:c}),u&&i.createElement(Gc,{size:"xl",color:"blue.500",thickness:"4px",speed:"0.65s"}),a&&i.createElement(JZ,{code:a}))},tQ=e=>{let{dagId:t,runId:n,taskId:r,onRowClicked:o}=e;const a=(0,i.useRef)(null),s=Ky(a),[l,u]=(0,i.useState)(0),[c,f]=(0,i.useState)([]),h=c[0],d=h&&h.id?`${h.desc?"-":""}${(0,Yy.snakeCase)(h.id)}`:"",{data:{taskInstances:p=[],totalEntries:g=0}={taskInstances:[],totalEntries:0},isLoading:m}=function(e){let{dagId:t,dagRunId:n,taskId:r,limit:i,offset:o,orderBy:a}=e;const s=EC.replace("_DAG_RUN_ID_",n).replace("_TASK_ID_",r),l=a&&"map_index"!==a?{order_by:a}:{},{isRefreshOn:u}=hw();return(0,py.useQuery)(["mappedInstances",t,n,r,o,a],(()=>Mk.get(s,{params:{offset:o,limit:i,...l}})),{keepPreviousData:!0,initialData:{taskInstances:[],totalEntries:0},refetchInterval:u&&1e3*(autoRefreshInterval||1),staleTime:1e3*(autoRefreshInterval||1)})}({dagId:t,dagRunId:n,taskId:r,limit:25,offset:l,orderBy:d}),b=(0,i.useMemo)((()=>p.map((e=>({...e,renderedMapIndex:e.renderedMapIndex,state:i.createElement(Bw,{alignItems:"center"},i.createElement(YF,{state:void 0===e.state||"none"===e.state?null:e.state,mx:2,containsNotes:!!e.note}),e.state||"no status"),duration:e.duration&&Ay(Ty(e.startDate,e.endDate)),startDate:i.createElement(qO,{dateTime:e.startDate}),endDate:i.createElement(qO,{dateTime:e.endDate})})))),[p]),v=(0,i.useMemo)((()=>[{Header:"Map Index",accessor:"mapIndex",Cell:e=>{let{cell:{row:{original:t}}}=e;return t.renderedMapIndex||t.mapIndex}},{Header:"State",accessor:"state"},{Header:"Duration",accessor:"duration"},{Header:"Start Date",accessor:"startDate"},{Header:"End Date",accessor:"endDate"},{Header:"Try Number",accessor:"tryNumber",disableSortBy:!0}]),[]);return i.createElement(Ow,{ref:a,maxHeight:`calc(100% - ${s}px)`,overflowY:"auto"},i.createElement(UB,{data:b,columns:v,manualPagination:{offset:l,setOffset:u,totalEntries:g},pageSize:25,manualSort:{setSortBy:f,sortBy:c},isLoading:m,onRowClicked:o}))},nQ=Qy("task_log_api"),rQ=e=>{let{dagId:t,dagRunId:n,taskId:r,taskTryNumber:o,mapIndex:a,fullContent:s=!1,state:l}=e,u="";const[c,f]=(0,i.useState)(!0);nQ&&(u=nQ.replace("_DAG_RUN_ID_",n).replace("_TASK_ID_",r).replace(/-1$/,o.toString()));const{isRefreshOn:h}=hw(),d="deferred"===l||"scheduled"===l||"running"===l||"up_for_reschedule"===l||"up_for_retry"===l||"queued"===l||"restarting"===l,p=d||c;return(0,py.useQuery)(["taskLogs",t,n,r,a,o,s],(()=>(f(d),Mk.get(u,{headers:{Accept:"text/plain"},params:{map_index:a,full_content:s}}))),{refetchInterval:p&&h&&1e3*(autoRefreshInterval||1)})};function iQ(){return iQ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},iQ.apply(this,arguments)}function oQ(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function aQ(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function sQ(e,t){if(e){if("string"==typeof e)return aQ(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?aQ(e,t):void 0}}function lQ(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(e){s=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw i}}return o}}(e,t)||sQ(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function uQ(e){return uQ="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},uQ(e)}function cQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fQ(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function hQ(e,t,n){return t&&fQ(e.prototype,t),n&&fQ(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function dQ(e,t){return dQ=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},dQ(e,t)}function pQ(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&dQ(e,t)}function gQ(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function mQ(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function bQ(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function vQ(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?bQ(Object(n),!0).forEach((function(t){mQ(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):bQ(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function yQ(e){return yQ=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},yQ(e)}function wQ(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function xQ(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=yQ(e);if(t){var i=yQ(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return wQ(this,n)}}var _Q=["className","clearValue","cx","getStyles","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],SQ=function(){};function kQ(e,t){return t?"-"===t[0]?e+t:e+"__"+t:e}function CQ(e,t,n){var r=[n];if(t&&e)for(var i in t)t.hasOwnProperty(i)&&t[i]&&r.push("".concat(kQ(e,i)));return r.filter((function(e){return e})).map((function(e){return String(e).trim()})).join(" ")}var EQ=function(e){return t=e,Array.isArray(t)?e.filter(Boolean):"object"===uQ(e)&&null!==e?[e]:[];var t},IQ=function(e){return e.className,e.clearValue,e.cx,e.getStyles,e.getValue,e.hasValue,e.isMulti,e.isRtl,e.options,e.selectOption,e.selectProps,e.setValue,e.theme,vQ({},oQ(e,_Q))};function MQ(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function TQ(e){return MQ(e)?window.pageYOffset:e.scrollTop}function AQ(e,t){MQ(e)?window.scrollTo(0,t):e.scrollTop=t}function PQ(e,t,n,r){return n*((e=e/r-1)*e*e+1)+t}function OQ(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:200,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:SQ,i=TQ(e),o=t-i,a=10,s=0;function l(){var t=PQ(s+=a,i,o,n);AQ(e,t),s<n?window.requestAnimationFrame(l):r(e)}l()}function DQ(){try{return document.createEvent("TouchEvent"),!0}catch(e){return!1}}var RQ=!1,LQ={get passive(){return RQ=!0}},NQ="undefined"!=typeof window?window:{};NQ.addEventListener&&NQ.removeEventListener&&(NQ.addEventListener("p",SQ,LQ),NQ.removeEventListener("p",SQ,!1));var jQ=RQ;function FQ(e){return null!=e}function zQ(e,t,n){return e?t:n}function BQ(e){var t=e.maxHeight,n=e.menuEl,r=e.minHeight,i=e.placement,o=e.shouldScroll,a=e.isFixedPosition,s=e.theme.spacing,l=function(e){var t=getComputedStyle(e),n="absolute"===t.position,r=/(auto|scroll)/;if("fixed"===t.position)return document.documentElement;for(var i=e;i=i.parentElement;)if(t=getComputedStyle(i),(!n||"static"!==t.position)&&r.test(t.overflow+t.overflowY+t.overflowX))return i;return document.documentElement}(n),u={placement:"bottom",maxHeight:t};if(!n||!n.offsetParent)return u;var c,f=l.getBoundingClientRect().height,h=n.getBoundingClientRect(),d=h.bottom,p=h.height,g=h.top,m=n.offsetParent.getBoundingClientRect().top,b=a?window.innerHeight:MQ(c=l)?window.innerHeight:c.clientHeight,v=TQ(l),y=parseInt(getComputedStyle(n).marginBottom,10),w=parseInt(getComputedStyle(n).marginTop,10),x=m-w,_=b-g,S=x+v,k=f-v-g,C=d-b+v+y,E=v+g-w,I=160;switch(i){case"auto":case"bottom":if(_>=p)return{placement:"bottom",maxHeight:t};if(k>=p&&!a)return o&&OQ(l,C,I),{placement:"bottom",maxHeight:t};if(!a&&k>=r||a&&_>=r)return o&&OQ(l,C,I),{placement:"bottom",maxHeight:a?_-y:k-y};if("auto"===i||a){var M=t,T=a?x:S;return T>=r&&(M=Math.min(T-y-s.controlHeight,t)),{placement:"top",maxHeight:M}}if("bottom"===i)return o&&AQ(l,C),{placement:"bottom",maxHeight:t};break;case"top":if(x>=p)return{placement:"top",maxHeight:t};if(S>=p&&!a)return o&&OQ(l,E,I),{placement:"top",maxHeight:t};if(!a&&S>=r||a&&x>=r){var A=t;return(!a&&S>=r||a&&x>=r)&&(A=a?x-w:S-w),o&&OQ(l,E,I),{placement:"top",maxHeight:A}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(i,'".'))}return u}var VQ=function(e){return"auto"===e?"bottom":e},$Q=(0,i.createContext)({getPortalPlacement:null}),HQ=function(e){pQ(n,e);var t=xQ(n);function n(){var e;cQ(this,n);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return(e=t.call.apply(t,[this].concat(i))).state={maxHeight:e.props.maxMenuHeight,placement:null},e.context=void 0,e.getPlacement=function(t){var n=e.props,r=n.minMenuHeight,i=n.maxMenuHeight,o=n.menuPlacement,a=n.menuPosition,s=n.menuShouldScrollIntoView,l=n.theme;if(t){var u="fixed"===a,c=BQ({maxHeight:i,menuEl:t,minHeight:r,placement:o,shouldScroll:s&&!u,isFixedPosition:u,theme:l}),f=e.context.getPortalPlacement;f&&f(c),e.setState(c)}},e.getUpdatedProps=function(){var t=e.props.menuPlacement,n=e.state.placement||VQ(t);return vQ(vQ({},e.props),{},{placement:n,maxHeight:e.state.maxHeight})},e}return hQ(n,[{key:"render",value:function(){return(0,this.props.children)({ref:this.getPlacement,placerProps:this.getUpdatedProps()})}}]),n}(i.Component);HQ.contextType=$Q;var GQ=function(e){var t=e.theme,n=t.spacing.baseUnit;return{color:t.colors.neutral40,padding:"".concat(2*n,"px ").concat(3*n,"px"),textAlign:"center"}},WQ=GQ,UQ=GQ,qQ=function(e){var t=e.children,n=e.className,r=e.cx,i=e.getStyles,o=e.innerProps;return gt("div",iQ({css:i("noOptionsMessage",e),className:r({"menu-notice":!0,"menu-notice--no-options":!0},n)},o),t)};qQ.defaultProps={children:"No options"};var XQ=function(e){var t=e.children,n=e.className,r=e.cx,i=e.getStyles,o=e.innerProps;return gt("div",iQ({css:i("loadingMessage",e),className:r({"menu-notice":!0,"menu-notice--loading":!0},n)},o),t)};XQ.defaultProps={children:"Loading..."};var YQ,KQ=function(e){pQ(n,e);var t=xQ(n);function n(){var e;cQ(this,n);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return(e=t.call.apply(t,[this].concat(i))).state={placement:null},e.getPortalPlacement=function(t){var n=t.placement;n!==VQ(e.props.menuPlacement)&&e.setState({placement:n})},e}return hQ(n,[{key:"render",value:function(){var e=this.props,t=e.appendTo,n=e.children,r=e.className,i=e.controlElement,o=e.cx,a=e.innerProps,s=e.menuPlacement,l=e.menuPosition,u=e.getStyles,c="fixed"===l;if(!t&&!c||!i)return null;var f=this.state.placement||VQ(s),h=function(e){var t=e.getBoundingClientRect();return{bottom:t.bottom,height:t.height,left:t.left,right:t.right,top:t.top,width:t.width}}(i),d=c?0:window.pageYOffset,p=h[f]+d,g=gt("div",iQ({css:u("menuPortal",{offset:p,position:l,rect:h}),className:o({"menu-portal":!0},r)},a),n);return gt($Q.Provider,{value:{getPortalPlacement:this.getPortalPlacement}},t?(0,Tt.createPortal)(g,t):g)}}]),n}(i.Component),ZQ=["size"];var QQ,JQ,eJ={name:"8mmkcg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0"},tJ=function(e){var t=e.size,n=oQ(e,ZQ);return gt("svg",iQ({height:t,width:t,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:eJ},n))},nJ=function(e){return gt(tJ,iQ({size:20},e),gt("path",{d:"M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"}))},rJ=function(e){return gt(tJ,iQ({size:20},e),gt("path",{d:"M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"}))},iJ=function(e){var t=e.isFocused,n=e.theme,r=n.spacing.baseUnit,i=n.colors;return{label:"indicatorContainer",color:t?i.neutral60:i.neutral20,display:"flex",padding:2*r,transition:"color 150ms",":hover":{color:t?i.neutral80:i.neutral40}}},oJ=iJ,aJ=iJ,sJ=yt(YQ||(QQ=["\n 0%, 80%, 100% { opacity: 0; }\n 40% { opacity: 1; }\n"],JQ||(JQ=QQ.slice(0)),YQ=Object.freeze(Object.defineProperties(QQ,{raw:{value:Object.freeze(JQ)}})))),lJ=function(e){var t=e.delay,n=e.offset;return gt("span",{css:vt({animation:"".concat(sJ," 1s ease-in-out ").concat(t,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:n?"1em":void 0,height:"1em",verticalAlign:"top",width:"1em"},"","")})},uJ=function(e){var t=e.className,n=e.cx,r=e.getStyles,i=e.innerProps,o=e.isRtl;return gt("div",iQ({css:r("loadingIndicator",e),className:n({indicator:!0,"loading-indicator":!0},t)},i),gt(lJ,{delay:0,offset:o}),gt(lJ,{delay:160,offset:!0}),gt(lJ,{delay:320,offset:!o}))};uJ.defaultProps={size:4};var cJ=["data"],fJ=["innerRef","isDisabled","isHidden","inputClassName"],hJ={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},dJ={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":vQ({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},hJ)},pJ=function(e){return vQ({label:"input",color:"inherit",background:0,opacity:e?0:1,width:"100%"},hJ)},gJ=function(e){var t=e.children,n=e.innerProps;return gt("div",n,t)};var mJ={ClearIndicator:function(e){var t=e.children,n=e.className,r=e.cx,i=e.getStyles,o=e.innerProps;return gt("div",iQ({css:i("clearIndicator",e),className:r({indicator:!0,"clear-indicator":!0},n)},o),t||gt(nJ,null))},Control:function(e){var t=e.children,n=e.cx,r=e.getStyles,i=e.className,o=e.isDisabled,a=e.isFocused,s=e.innerRef,l=e.innerProps,u=e.menuIsOpen;return gt("div",iQ({ref:s,css:r("control",e),className:n({control:!0,"control--is-disabled":o,"control--is-focused":a,"control--menu-is-open":u},i)},l),t)},DropdownIndicator:function(e){var t=e.children,n=e.className,r=e.cx,i=e.getStyles,o=e.innerProps;return gt("div",iQ({css:i("dropdownIndicator",e),className:r({indicator:!0,"dropdown-indicator":!0},n)},o),t||gt(rJ,null))},DownChevron:rJ,CrossIcon:nJ,Group:function(e){var t=e.children,n=e.className,r=e.cx,i=e.getStyles,o=e.Heading,a=e.headingProps,s=e.innerProps,l=e.label,u=e.theme,c=e.selectProps;return gt("div",iQ({css:i("group",e),className:r({group:!0},n)},s),gt(o,iQ({},a,{selectProps:c,theme:u,getStyles:i,cx:r}),l),gt("div",null,t))},GroupHeading:function(e){var t=e.getStyles,n=e.cx,r=e.className,i=IQ(e);i.data;var o=oQ(i,cJ);return gt("div",iQ({css:t("groupHeading",e),className:n({"group-heading":!0},r)},o))},IndicatorsContainer:function(e){var t=e.children,n=e.className,r=e.cx,i=e.innerProps,o=e.getStyles;return gt("div",iQ({css:o("indicatorsContainer",e),className:r({indicators:!0},n)},i),t)},IndicatorSeparator:function(e){var t=e.className,n=e.cx,r=e.getStyles,i=e.innerProps;return gt("span",iQ({},i,{css:r("indicatorSeparator",e),className:n({"indicator-separator":!0},t)}))},Input:function(e){var t=e.className,n=e.cx,r=e.getStyles,i=e.value,o=IQ(e),a=o.innerRef,s=o.isDisabled,l=o.isHidden,u=o.inputClassName,c=oQ(o,fJ);return gt("div",{className:n({"input-container":!0},t),css:r("input",e),"data-value":i||""},gt("input",iQ({className:n({input:!0},u),ref:a,style:pJ(l),disabled:s},c)))},LoadingIndicator:uJ,Menu:function(e){var t=e.children,n=e.className,r=e.cx,i=e.getStyles,o=e.innerRef,a=e.innerProps;return gt("div",iQ({css:i("menu",e),className:r({menu:!0},n),ref:o},a),t)},MenuList:function(e){var t=e.children,n=e.className,r=e.cx,i=e.getStyles,o=e.innerProps,a=e.innerRef,s=e.isMulti;return gt("div",iQ({css:i("menuList",e),className:r({"menu-list":!0,"menu-list--is-multi":s},n),ref:a},o),t)},MenuPortal:KQ,LoadingMessage:XQ,NoOptionsMessage:qQ,MultiValue:function(e){var t=e.children,n=e.className,r=e.components,i=e.cx,o=e.data,a=e.getStyles,s=e.innerProps,l=e.isDisabled,u=e.removeProps,c=e.selectProps,f=r.Container,h=r.Label,d=r.Remove;return gt(St,null,(function(r){var p=r.css,g=r.cx;return gt(f,{data:o,innerProps:vQ({className:g(p(a("multiValue",e)),i({"multi-value":!0,"multi-value--is-disabled":l},n))},s),selectProps:c},gt(h,{data:o,innerProps:{className:g(p(a("multiValueLabel",e)),i({"multi-value__label":!0},n))},selectProps:c},t),gt(d,{data:o,innerProps:vQ({className:g(p(a("multiValueRemove",e)),i({"multi-value__remove":!0},n)),"aria-label":"Remove ".concat(t||"option")},u),selectProps:c}))}))},MultiValueContainer:gJ,MultiValueLabel:gJ,MultiValueRemove:function(e){var t=e.children,n=e.innerProps;return gt("div",iQ({role:"button"},n),t||gt(nJ,{size:14}))},Option:function(e){var t=e.children,n=e.className,r=e.cx,i=e.getStyles,o=e.isDisabled,a=e.isFocused,s=e.isSelected,l=e.innerRef,u=e.innerProps;return gt("div",iQ({css:i("option",e),className:r({option:!0,"option--is-disabled":o,"option--is-focused":a,"option--is-selected":s},n),ref:l,"aria-disabled":o},u),t)},Placeholder:function(e){var t=e.children,n=e.className,r=e.cx,i=e.getStyles,o=e.innerProps;return gt("div",iQ({css:i("placeholder",e),className:r({placeholder:!0},n)},o),t)},SelectContainer:function(e){var t=e.children,n=e.className,r=e.cx,i=e.getStyles,o=e.innerProps,a=e.isDisabled,s=e.isRtl;return gt("div",iQ({css:i("container",e),className:r({"--is-disabled":a,"--is-rtl":s},n)},o),t)},SingleValue:function(e){var t=e.children,n=e.className,r=e.cx,i=e.getStyles,o=e.isDisabled,a=e.innerProps;return gt("div",iQ({css:i("singleValue",e),className:r({"single-value":!0,"single-value--is-disabled":o},n)},a),t)},ValueContainer:function(e){var t=e.children,n=e.className,r=e.cx,i=e.innerProps,o=e.isMulti,a=e.getStyles,s=e.hasValue;return gt("div",iQ({css:a("valueContainer",e),className:r({"value-container":!0,"value-container--is-multi":o,"value-container--has-value":s},n)},i),t)}},bJ=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function vJ(e){var t=e.defaultInputValue,n=void 0===t?"":t,r=e.defaultMenuIsOpen,o=void 0!==r&&r,a=e.defaultValue,s=void 0===a?null:a,l=e.inputValue,u=e.menuIsOpen,c=e.onChange,f=e.onInputChange,h=e.onMenuClose,d=e.onMenuOpen,p=e.value,g=oQ(e,bJ),m=lQ((0,i.useState)(void 0!==l?l:n),2),b=m[0],v=m[1],y=lQ((0,i.useState)(void 0!==u?u:o),2),w=y[0],x=y[1],_=lQ((0,i.useState)(void 0!==p?p:s),2),S=_[0],k=_[1],C=(0,i.useCallback)((function(e,t){"function"==typeof c&&c(e,t),k(e)}),[c]),E=(0,i.useCallback)((function(e,t){var n;"function"==typeof f&&(n=f(e,t)),v(void 0!==n?n:e)}),[f]),I=(0,i.useCallback)((function(){"function"==typeof d&&d(),x(!0)}),[d]),M=(0,i.useCallback)((function(){"function"==typeof h&&h(),x(!1)}),[h]),T=void 0!==l?l:b,A=void 0!==u?u:w,P=void 0!==p?p:S;return vQ(vQ({},g),{},{inputValue:T,menuIsOpen:A,onChange:C,onInputChange:E,onMenuClose:M,onMenuOpen:I,value:P})}function yJ(e){return function(e){if(Array.isArray(e))return aQ(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||sQ(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var wJ=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function xJ(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(r=e[n],i=t[n],!(r===i||wJ(r)&&wJ(i)))return!1;var r,i;return!0}const _J=function(e,t){var n;void 0===t&&(t=xJ);var r,i=[],o=!1;return function(){for(var a=[],s=0;s<arguments.length;s++)a[s]=arguments[s];return o&&n===this&&t(a,i)||(r=e.apply(this,a),o=!0,n=this,i=a),r}};for(var SJ={name:"7pg0cj-a11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap"},kJ=function(e){return gt("span",iQ({css:SJ},e))},CJ={guidance:function(e){var t=e.isSearchable,n=e.isMulti,r=e.isDisabled,i=e.tabSelectsValue;switch(e.context){case"menu":return"Use Up and Down to choose options".concat(r?"":", press Enter to select the currently focused option",", press Escape to exit the menu").concat(i?", press Tab to select the option and exit the menu":"",".");case"input":return"".concat(e["aria-label"]||"Select"," is focused ").concat(t?",type to refine list":"",", press Down to open the menu, ").concat(n?" press left to focus selected values":"");case"value":return"Use left and right to toggle between focused values, press Backspace to remove the currently focused value";default:return""}},onChange:function(e){var t=e.action,n=e.label,r=void 0===n?"":n,i=e.labels,o=e.isDisabled;switch(t){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(r,", deselected.");case"clear":return"All selected options have been cleared.";case"initial-input-focus":return"option".concat(i.length>1?"s":""," ").concat(i.join(","),", selected.");case"select-option":return"option ".concat(r,o?" is disabled. Select another option.":", selected.");default:return""}},onFocus:function(e){var t=e.context,n=e.focused,r=e.options,i=e.label,o=void 0===i?"":i,a=e.selectValue,s=e.isDisabled,l=e.isSelected,u=function(e,t){return e&&e.length?"".concat(e.indexOf(t)+1," of ").concat(e.length):""};if("value"===t&&a)return"value ".concat(o," focused, ").concat(u(a,n),".");if("menu"===t){var c=s?" disabled":"",f="".concat(l?"selected":"focused").concat(c);return"option ".concat(o," ").concat(f,", ").concat(u(r,n),".")}return""},onFilter:function(e){var t=e.inputValue,n=e.resultsMessage;return"".concat(n).concat(t?" for search term "+t:"",".")}},EJ=function(e){var t=e.ariaSelection,n=e.focusedOption,r=e.focusedValue,o=e.focusableOptions,a=e.isFocused,s=e.selectValue,l=e.selectProps,u=e.id,c=l.ariaLiveMessages,f=l.getOptionLabel,h=l.inputValue,d=l.isMulti,p=l.isOptionDisabled,g=l.isSearchable,m=l.menuIsOpen,b=l.options,v=l.screenReaderStatus,y=l.tabSelectsValue,w=l["aria-label"],x=l["aria-live"],_=(0,i.useMemo)((function(){return vQ(vQ({},CJ),c||{})}),[c]),S=(0,i.useMemo)((function(){var e,n="";if(t&&_.onChange){var r=t.option,i=t.options,o=t.removedValue,a=t.removedValues,l=t.value,u=o||r||(e=l,Array.isArray(e)?null:e),c=u?f(u):"",h=i||a||void 0,d=h?h.map(f):[],g=vQ({isDisabled:u&&p(u,s),label:c,labels:d},t);n=_.onChange(g)}return n}),[t,_,p,s,f]),k=(0,i.useMemo)((function(){var e="",t=n||r,i=!!(n&&s&&s.includes(n));if(t&&_.onFocus){var o={focused:t,label:f(t),isDisabled:p(t,s),isSelected:i,options:b,context:t===n?"menu":"value",selectValue:s};e=_.onFocus(o)}return e}),[n,r,f,p,_,b,s]),C=(0,i.useMemo)((function(){var e="";if(m&&b.length&&_.onFilter){var t=v({count:o.length});e=_.onFilter({inputValue:h,resultsMessage:t})}return e}),[o,h,m,_,b,v]),E=(0,i.useMemo)((function(){var e="";if(_.guidance){var t=r?"value":m?"menu":"input";e=_.guidance({"aria-label":w,context:t,isDisabled:n&&p(n,s),isMulti:d,isSearchable:g,tabSelectsValue:y})}return e}),[w,n,r,d,p,g,m,_,s,y]),I="".concat(k," ").concat(C," ").concat(E),M=gt(i.Fragment,null,gt("span",{id:"aria-selection"},S),gt("span",{id:"aria-context"},I)),T="initial-input-focus"===(null==t?void 0:t.action);return gt(i.Fragment,null,gt(kJ,{id:u},T&&M),gt(kJ,{"aria-live":x,"aria-atomic":"false","aria-relevant":"additions text"},a&&!T&&M))},IJ=[{base:"A",letters:"AⒶAÀÁÂẦẤẪẨÃĀĂẰẮẴẲȦǠÄǞẢÅǺǍȀȂẠẬẶḀĄȺⱯ"},{base:"AA",letters:"Ꜳ"},{base:"AE",letters:"ÆǼǢ"},{base:"AO",letters:"Ꜵ"},{base:"AU",letters:"Ꜷ"},{base:"AV",letters:"ꜸꜺ"},{base:"AY",letters:"Ꜽ"},{base:"B",letters:"BⒷBḂḄḆɃƂƁ"},{base:"C",letters:"CⒸCĆĈĊČÇḈƇȻꜾ"},{base:"D",letters:"DⒹDḊĎḌḐḒḎĐƋƊƉꝹ"},{base:"DZ",letters:"DZDŽ"},{base:"Dz",letters:"DzDž"},{base:"E",letters:"EⒺEÈÉÊỀẾỄỂẼĒḔḖĔĖËẺĚȄȆẸỆȨḜĘḘḚƐƎ"},{base:"F",letters:"FⒻFḞƑꝻ"},{base:"G",letters:"GⒼGǴĜḠĞĠǦĢǤƓꞠꝽꝾ"},{base:"H",letters:"HⒽHĤḢḦȞḤḨḪĦⱧⱵꞍ"},{base:"I",letters:"IⒾIÌÍÎĨĪĬİÏḮỈǏȈȊỊĮḬƗ"},{base:"J",letters:"JⒿJĴɈ"},{base:"K",letters:"KⓀKḰǨḲĶḴƘⱩꝀꝂꝄꞢ"},{base:"L",letters:"LⓁLĿĹĽḶḸĻḼḺŁȽⱢⱠꝈꝆꞀ"},{base:"LJ",letters:"LJ"},{base:"Lj",letters:"Lj"},{base:"M",letters:"MⓂMḾṀṂⱮƜ"},{base:"N",letters:"NⓃNǸŃÑṄŇṆŅṊṈȠƝꞐꞤ"},{base:"NJ",letters:"NJ"},{base:"Nj",letters:"Nj"},{base:"O",letters:"OⓄOÒÓÔỒỐỖỔÕṌȬṎŌṐṒŎȮȰÖȪỎŐǑȌȎƠỜỚỠỞỢỌỘǪǬØǾƆƟꝊꝌ"},{base:"OI",letters:"Ƣ"},{base:"OO",letters:"Ꝏ"},{base:"OU",letters:"Ȣ"},{base:"P",letters:"PⓅPṔṖƤⱣꝐꝒꝔ"},{base:"Q",letters:"QⓆQꝖꝘɊ"},{base:"R",letters:"RⓇRŔṘŘȐȒṚṜŖṞɌⱤꝚꞦꞂ"},{base:"S",letters:"SⓈSẞŚṤŜṠŠṦṢṨȘŞⱾꞨꞄ"},{base:"T",letters:"TⓉTṪŤṬȚŢṰṮŦƬƮȾꞆ"},{base:"TZ",letters:"Ꜩ"},{base:"U",letters:"UⓊUÙÚÛŨṸŪṺŬÜǛǗǕǙỦŮŰǓȔȖƯỪỨỮỬỰỤṲŲṶṴɄ"},{base:"V",letters:"VⓋVṼṾƲꝞɅ"},{base:"VY",letters:"Ꝡ"},{base:"W",letters:"WⓌWẀẂŴẆẄẈⱲ"},{base:"X",letters:"XⓍXẊẌ"},{base:"Y",letters:"YⓎYỲÝŶỸȲẎŸỶỴƳɎỾ"},{base:"Z",letters:"ZⓏZŹẐŻŽẒẔƵȤⱿⱫꝢ"},{base:"a",letters:"aⓐaẚàáâầấẫẩãāăằắẵẳȧǡäǟảåǻǎȁȃạậặḁąⱥɐ"},{base:"aa",letters:"ꜳ"},{base:"ae",letters:"æǽǣ"},{base:"ao",letters:"ꜵ"},{base:"au",letters:"ꜷ"},{base:"av",letters:"ꜹꜻ"},{base:"ay",letters:"ꜽ"},{base:"b",letters:"bⓑbḃḅḇƀƃɓ"},{base:"c",letters:"cⓒcćĉċčçḉƈȼꜿↄ"},{base:"d",letters:"dⓓdḋďḍḑḓḏđƌɖɗꝺ"},{base:"dz",letters:"dzdž"},{base:"e",letters:"eⓔeèéêềếễểẽēḕḗĕėëẻěȅȇẹệȩḝęḙḛɇɛǝ"},{base:"f",letters:"fⓕfḟƒꝼ"},{base:"g",letters:"gⓖgǵĝḡğġǧģǥɠꞡᵹꝿ"},{base:"h",letters:"hⓗhĥḣḧȟḥḩḫẖħⱨⱶɥ"},{base:"hv",letters:"ƕ"},{base:"i",letters:"iⓘiìíîĩīĭïḯỉǐȉȋịįḭɨı"},{base:"j",letters:"jⓙjĵǰɉ"},{base:"k",letters:"kⓚkḱǩḳķḵƙⱪꝁꝃꝅꞣ"},{base:"l",letters:"lⓛlŀĺľḷḹļḽḻſłƚɫⱡꝉꞁꝇ"},{base:"lj",letters:"lj"},{base:"m",letters:"mⓜmḿṁṃɱɯ"},{base:"n",letters:"nⓝnǹńñṅňṇņṋṉƞɲʼnꞑꞥ"},{base:"nj",letters:"nj"},{base:"o",letters:"oⓞoòóôồốỗổõṍȭṏōṑṓŏȯȱöȫỏőǒȍȏơờớỡởợọộǫǭøǿɔꝋꝍɵ"},{base:"oi",letters:"ƣ"},{base:"ou",letters:"ȣ"},{base:"oo",letters:"ꝏ"},{base:"p",letters:"pⓟpṕṗƥᵽꝑꝓꝕ"},{base:"q",letters:"qⓠqɋꝗꝙ"},{base:"r",letters:"rⓡrŕṙřȑȓṛṝŗṟɍɽꝛꞧꞃ"},{base:"s",letters:"sⓢsßśṥŝṡšṧṣṩșşȿꞩꞅẛ"},{base:"t",letters:"tⓣtṫẗťṭțţṱṯŧƭʈⱦꞇ"},{base:"tz",letters:"ꜩ"},{base:"u",letters:"uⓤuùúûũṹūṻŭüǜǘǖǚủůűǔȕȗưừứữửựụṳųṷṵʉ"},{base:"v",letters:"vⓥvṽṿʋꝟʌ"},{base:"vy",letters:"ꝡ"},{base:"w",letters:"wⓦwẁẃŵẇẅẘẉⱳ"},{base:"x",letters:"xⓧxẋẍ"},{base:"y",letters:"yⓨyỳýŷỹȳẏÿỷẙỵƴɏỿ"},{base:"z",letters:"zⓩzźẑżžẓẕƶȥɀⱬꝣ"}],MJ=new RegExp("["+IJ.map((function(e){return e.letters})).join("")+"]","g"),TJ={},AJ=0;AJ<IJ.length;AJ++)for(var PJ=IJ[AJ],OJ=0;OJ<PJ.letters.length;OJ++)TJ[PJ.letters[OJ]]=PJ.base;var DJ=function(e){return e.replace(MJ,(function(e){return TJ[e]}))},RJ=_J(DJ),LJ=function(e){return e.replace(/^\s+|\s+$/g,"")},NJ=function(e){return"".concat(e.label," ").concat(e.value)},jJ=["innerRef"];function FJ(e){var t=e.innerRef,n=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var i=Object.entries(e).filter((function(e){var t=lQ(e,1)[0];return!n.includes(t)}));return i.reduce((function(e,t){var n=lQ(t,2),r=n[0],i=n[1];return e[r]=i,e}),{})}(oQ(e,jJ),"onExited","in","enter","exit","appear");return gt("input",iQ({ref:t},n,{css:vt({label:"dummyInput",background:0,border:0,caretColor:"transparent",fontSize:"inherit",gridArea:"1 / 1 / 2 / 3",outline:0,padding:0,width:1,color:"transparent",left:-100,opacity:0,position:"relative",transform:"scale(.01)"},"","")}))}var zJ=["boxSizing","height","overflow","paddingRight","position"],BJ={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function VJ(e){e.preventDefault()}function $J(e){e.stopPropagation()}function HJ(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;0===e?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function GJ(){return"ontouchstart"in window||navigator.maxTouchPoints}var WJ=!("undefined"==typeof window||!window.document||!window.document.createElement),UJ=0,qJ={capture:!1,passive:!1};var XJ=function(){return document.activeElement&&document.activeElement.blur()},YJ={name:"1kfdb0e",styles:"position:fixed;left:0;bottom:0;right:0;top:0"};function KJ(e){var t=e.children,n=e.lockEnabled,r=e.captureEnabled,o=function(e){var t=e.isEnabled,n=e.onBottomArrive,r=e.onBottomLeave,o=e.onTopArrive,a=e.onTopLeave,s=(0,i.useRef)(!1),l=(0,i.useRef)(!1),u=(0,i.useRef)(0),c=(0,i.useRef)(null),f=(0,i.useCallback)((function(e,t){if(null!==c.current){var i=c.current,u=i.scrollTop,f=i.scrollHeight,h=i.clientHeight,d=c.current,p=t>0,g=f-h-u,m=!1;g>t&&s.current&&(r&&r(e),s.current=!1),p&&l.current&&(a&&a(e),l.current=!1),p&&t>g?(n&&!s.current&&n(e),d.scrollTop=f,m=!0,s.current=!0):!p&&-t>u&&(o&&!l.current&&o(e),d.scrollTop=0,m=!0,l.current=!0),m&&function(e){e.preventDefault(),e.stopPropagation()}(e)}}),[n,r,o,a]),h=(0,i.useCallback)((function(e){f(e,e.deltaY)}),[f]),d=(0,i.useCallback)((function(e){u.current=e.changedTouches[0].clientY}),[]),p=(0,i.useCallback)((function(e){var t=u.current-e.changedTouches[0].clientY;f(e,t)}),[f]),g=(0,i.useCallback)((function(e){if(e){var t=!!jQ&&{passive:!1};e.addEventListener("wheel",h,t),e.addEventListener("touchstart",d,t),e.addEventListener("touchmove",p,t)}}),[p,d,h]),m=(0,i.useCallback)((function(e){e&&(e.removeEventListener("wheel",h,!1),e.removeEventListener("touchstart",d,!1),e.removeEventListener("touchmove",p,!1))}),[p,d,h]);return(0,i.useEffect)((function(){if(t){var e=c.current;return g(e),function(){m(e)}}}),[t,g,m]),function(e){c.current=e}}({isEnabled:void 0===r||r,onBottomArrive:e.onBottomArrive,onBottomLeave:e.onBottomLeave,onTopArrive:e.onTopArrive,onTopLeave:e.onTopLeave}),a=function(e){var t=e.isEnabled,n=e.accountForScrollbars,r=void 0===n||n,o=(0,i.useRef)({}),a=(0,i.useRef)(null),s=(0,i.useCallback)((function(e){if(WJ){var t=document.body,n=t&&t.style;if(r&&zJ.forEach((function(e){var t=n&&n[e];o.current[e]=t})),r&&UJ<1){var i=parseInt(o.current.paddingRight,10)||0,a=document.body?document.body.clientWidth:0,s=window.innerWidth-a+i||0;Object.keys(BJ).forEach((function(e){var t=BJ[e];n&&(n[e]=t)})),n&&(n.paddingRight="".concat(s,"px"))}t&&GJ()&&(t.addEventListener("touchmove",VJ,qJ),e&&(e.addEventListener("touchstart",HJ,qJ),e.addEventListener("touchmove",$J,qJ))),UJ+=1}}),[r]),l=(0,i.useCallback)((function(e){if(WJ){var t=document.body,n=t&&t.style;UJ=Math.max(UJ-1,0),r&&UJ<1&&zJ.forEach((function(e){var t=o.current[e];n&&(n[e]=t)})),t&&GJ()&&(t.removeEventListener("touchmove",VJ,qJ),e&&(e.removeEventListener("touchstart",HJ,qJ),e.removeEventListener("touchmove",$J,qJ)))}}),[r]);return(0,i.useEffect)((function(){if(t){var e=a.current;return s(e),function(){l(e)}}}),[t,s,l]),function(e){a.current=e}}({isEnabled:n});return gt(i.Fragment,null,n&&gt("div",{onClick:XJ,css:YJ}),t((function(e){o(e),a(e)})))}var ZJ=function(e){return e.label},QJ=function(e){return e.value},JJ={clearIndicator:aJ,container:function(e){var t=e.isDisabled;return{label:"container",direction:e.isRtl?"rtl":void 0,pointerEvents:t?"none":void 0,position:"relative"}},control:function(e){var t=e.isDisabled,n=e.isFocused,r=e.theme,i=r.colors,o=r.borderRadius,a=r.spacing;return{label:"control",alignItems:"center",backgroundColor:t?i.neutral5:i.neutral0,borderColor:t?i.neutral10:n?i.primary:i.neutral20,borderRadius:o,borderStyle:"solid",borderWidth:1,boxShadow:n?"0 0 0 1px ".concat(i.primary):void 0,cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:a.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms","&:hover":{borderColor:n?i.primary:i.neutral30}}},dropdownIndicator:oJ,group:function(e){var t=e.theme.spacing;return{paddingBottom:2*t.baseUnit,paddingTop:2*t.baseUnit}},groupHeading:function(e){var t=e.theme.spacing;return{label:"group",color:"#999",cursor:"default",display:"block",fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:3*t.baseUnit,paddingRight:3*t.baseUnit,textTransform:"uppercase"}},indicatorsContainer:function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},indicatorSeparator:function(e){var t=e.isDisabled,n=e.theme,r=n.spacing.baseUnit,i=n.colors;return{label:"indicatorSeparator",alignSelf:"stretch",backgroundColor:t?i.neutral10:i.neutral20,marginBottom:2*r,marginTop:2*r,width:1}},input:function(e){var t=e.isDisabled,n=e.value,r=e.theme,i=r.spacing,o=r.colors;return vQ({margin:i.baseUnit/2,paddingBottom:i.baseUnit/2,paddingTop:i.baseUnit/2,visibility:t?"hidden":"visible",color:o.neutral80,transform:n?"translateZ(0)":""},dJ)},loadingIndicator:function(e){var t=e.isFocused,n=e.size,r=e.theme,i=r.colors,o=r.spacing.baseUnit;return{label:"loadingIndicator",color:t?i.neutral60:i.neutral20,display:"flex",padding:2*o,transition:"color 150ms",alignSelf:"center",fontSize:n,lineHeight:1,marginRight:n,textAlign:"center",verticalAlign:"middle"}},loadingMessage:UQ,menu:function(e){var t,n=e.placement,r=e.theme,i=r.borderRadius,o=r.spacing,a=r.colors;return gQ(t={label:"menu"},function(e){return e?{bottom:"top",top:"bottom"}[e]:"bottom"}(n),"100%"),gQ(t,"backgroundColor",a.neutral0),gQ(t,"borderRadius",i),gQ(t,"boxShadow","0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)"),gQ(t,"marginBottom",o.menuGutter),gQ(t,"marginTop",o.menuGutter),gQ(t,"position","absolute"),gQ(t,"width","100%"),gQ(t,"zIndex",1),t},menuList:function(e){var t=e.maxHeight,n=e.theme.spacing.baseUnit;return{maxHeight:t,overflowY:"auto",paddingBottom:n,paddingTop:n,position:"relative",WebkitOverflowScrolling:"touch"}},menuPortal:function(e){var t=e.rect,n=e.offset,r=e.position;return{left:t.left,position:r,top:n,width:t.width,zIndex:1}},multiValue:function(e){var t=e.theme,n=t.spacing,r=t.borderRadius;return{label:"multiValue",backgroundColor:t.colors.neutral10,borderRadius:r/2,display:"flex",margin:n.baseUnit/2,minWidth:0}},multiValueLabel:function(e){var t=e.theme,n=t.borderRadius,r=t.colors,i=e.cropWithEllipsis;return{borderRadius:n/2,color:r.neutral80,fontSize:"85%",overflow:"hidden",padding:3,paddingLeft:6,textOverflow:i||void 0===i?"ellipsis":void 0,whiteSpace:"nowrap"}},multiValueRemove:function(e){var t=e.theme,n=t.spacing,r=t.borderRadius,i=t.colors;return{alignItems:"center",borderRadius:r/2,backgroundColor:e.isFocused?i.dangerLight:void 0,display:"flex",paddingLeft:n.baseUnit,paddingRight:n.baseUnit,":hover":{backgroundColor:i.dangerLight,color:i.danger}}},noOptionsMessage:WQ,option:function(e){var t=e.isDisabled,n=e.isFocused,r=e.isSelected,i=e.theme,o=i.spacing,a=i.colors;return{label:"option",backgroundColor:r?a.primary:n?a.primary25:"transparent",color:t?a.neutral20:r?a.neutral0:"inherit",cursor:"default",display:"block",fontSize:"inherit",padding:"".concat(2*o.baseUnit,"px ").concat(3*o.baseUnit,"px"),width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",":active":{backgroundColor:t?void 0:r?a.primary:a.primary50}}},placeholder:function(e){var t=e.theme,n=t.spacing;return{label:"placeholder",color:t.colors.neutral50,gridArea:"1 / 1 / 2 / 3",marginLeft:n.baseUnit/2,marginRight:n.baseUnit/2}},singleValue:function(e){var t=e.isDisabled,n=e.theme,r=n.spacing,i=n.colors;return{label:"singleValue",color:t?i.neutral40:i.neutral80,gridArea:"1 / 1 / 2 / 3",marginLeft:r.baseUnit/2,marginRight:r.baseUnit/2,maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},valueContainer:function(e){var t=e.theme.spacing,n=e.isMulti,r=e.hasValue,i=e.selectProps.controlShouldRenderValue;return{alignItems:"center",display:n&&r&&i?"flex":"grid",flex:1,flexWrap:"wrap",padding:"".concat(t.baseUnit/2,"px ").concat(2*t.baseUnit,"px"),WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"}}};var e0={borderRadius:4,colors:{primary:"#2684FF",primary75:"#4C9AFF",primary50:"#B2D4FF",primary25:"#DEEBFF",danger:"#DE350B",dangerLight:"#FFBDAD",neutral0:"hsl(0, 0%, 100%)",neutral5:"hsl(0, 0%, 95%)",neutral10:"hsl(0, 0%, 90%)",neutral20:"hsl(0, 0%, 80%)",neutral30:"hsl(0, 0%, 70%)",neutral40:"hsl(0, 0%, 60%)",neutral50:"hsl(0, 0%, 50%)",neutral60:"hsl(0, 0%, 40%)",neutral70:"hsl(0, 0%, 30%)",neutral80:"hsl(0, 0%, 20%)",neutral90:"hsl(0, 0%, 10%)"},spacing:{baseUnit:4,controlHeight:38,menuGutter:8}},t0={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:DQ(),captureMenuScroll:!DQ(),closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:function(e){return function(t,n){if(t.data.__isNew__)return!0;var r=vQ({ignoreCase:!0,ignoreAccents:!0,stringify:NJ,trim:!0,matchFrom:"any"},e),i=r.ignoreCase,o=r.ignoreAccents,a=r.stringify,s=r.trim,l=r.matchFrom,u=s?LJ(n):n,c=s?LJ(a(t)):a(t);return i&&(u=u.toLowerCase(),c=c.toLowerCase()),o&&(u=RJ(u),c=DJ(c)),"start"===l?c.substr(0,u.length)===u:c.indexOf(u)>-1}}(),formatGroupLabel:function(e){return e.label},getOptionLabel:ZJ,getOptionValue:QJ,isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:function(e){return!!e.isDisabled},loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!function(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch(e){return!1}}(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(e){var t=e.count;return"".concat(t," result").concat(1!==t?"s":""," available")},styles:{},tabIndex:0,tabSelectsValue:!0};function n0(e,t,n,r){return{type:"option",data:t,isDisabled:l0(e,t,n),isSelected:u0(e,t,n),label:a0(e,t),value:s0(e,t),index:r}}function r0(e,t){return e.options.map((function(n,r){if("options"in n){var i=n.options.map((function(n,r){return n0(e,n,t,r)})).filter((function(t){return o0(e,t)}));return i.length>0?{type:"group",data:n,options:i,index:r}:void 0}var o=n0(e,n,t,r);return o0(e,o)?o:void 0})).filter(FQ)}function i0(e){return e.reduce((function(e,t){return"group"===t.type?e.push.apply(e,yJ(t.options.map((function(e){return e.data})))):e.push(t.data),e}),[])}function o0(e,t){var n=e.inputValue,r=void 0===n?"":n,i=t.data,o=t.isSelected,a=t.label,s=t.value;return(!f0(e)||!o)&&c0(e,{label:a,value:s,data:i},r)}var a0=function(e,t){return e.getOptionLabel(t)},s0=function(e,t){return e.getOptionValue(t)};function l0(e,t,n){return"function"==typeof e.isOptionDisabled&&e.isOptionDisabled(t,n)}function u0(e,t,n){if(n.indexOf(t)>-1)return!0;if("function"==typeof e.isOptionSelected)return e.isOptionSelected(t,n);var r=s0(e,t);return n.some((function(t){return s0(e,t)===r}))}function c0(e,t,n){return!e.filterOption||e.filterOption(t,n)}var f0=function(e){var t=e.hideSelectedOptions,n=e.isMulti;return void 0===t?n:t},h0=1,d0=function(e){pQ(n,e);var t=xQ(n);function n(e){var r;return cQ(this,n),(r=t.call(this,e)).state={ariaSelection:null,focusedOption:null,focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,prevWasFocused:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0},r.blockOptionHover=!1,r.isComposing=!1,r.commonProps=void 0,r.initialTouchX=0,r.initialTouchY=0,r.instancePrefix="",r.openAfterFocus=!1,r.scrollToFocusedOptionOnUpdate=!1,r.userIsDragging=void 0,r.controlRef=null,r.getControlRef=function(e){r.controlRef=e},r.focusedOptionRef=null,r.getFocusedOptionRef=function(e){r.focusedOptionRef=e},r.menuListRef=null,r.getMenuListRef=function(e){r.menuListRef=e},r.inputRef=null,r.getInputRef=function(e){r.inputRef=e},r.focus=r.focusInput,r.blur=r.blurInput,r.onChange=function(e,t){var n=r.props,i=n.onChange,o=n.name;t.name=o,r.ariaOnChange(e,t),i(e,t)},r.setValue=function(e,t,n){var i=r.props,o=i.closeMenuOnSelect,a=i.isMulti,s=i.inputValue;r.onInputChange("",{action:"set-value",prevInputValue:s}),o&&(r.setState({inputIsHiddenAfterUpdate:!a}),r.onMenuClose()),r.setState({clearFocusValueOnUpdate:!0}),r.onChange(e,{action:t,option:n})},r.selectOption=function(e){var t=r.props,n=t.blurInputOnSelect,i=t.isMulti,o=t.name,a=r.state.selectValue,s=i&&r.isOptionSelected(e,a),l=r.isOptionDisabled(e,a);if(s){var u=r.getOptionValue(e);r.setValue(a.filter((function(e){return r.getOptionValue(e)!==u})),"deselect-option",e)}else{if(l)return void r.ariaOnChange(e,{action:"select-option",option:e,name:o});i?r.setValue([].concat(yJ(a),[e]),"select-option",e):r.setValue(e,"select-option")}n&&r.blurInput()},r.removeValue=function(e){var t=r.props.isMulti,n=r.state.selectValue,i=r.getOptionValue(e),o=n.filter((function(e){return r.getOptionValue(e)!==i})),a=zQ(t,o,o[0]||null);r.onChange(a,{action:"remove-value",removedValue:e}),r.focusInput()},r.clearValue=function(){var e=r.state.selectValue;r.onChange(zQ(r.props.isMulti,[],null),{action:"clear",removedValues:e})},r.popValue=function(){var e=r.props.isMulti,t=r.state.selectValue,n=t[t.length-1],i=t.slice(0,t.length-1),o=zQ(e,i,i[0]||null);r.onChange(o,{action:"pop-value",removedValue:n})},r.getValue=function(){return r.state.selectValue},r.cx=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return CQ.apply(void 0,[r.props.classNamePrefix].concat(t))},r.getOptionLabel=function(e){return a0(r.props,e)},r.getOptionValue=function(e){return s0(r.props,e)},r.getStyles=function(e,t){var n=JJ[e](t);n.boxSizing="border-box";var i=r.props.styles[e];return i?i(n,t):n},r.getElementId=function(e){return"".concat(r.instancePrefix,"-").concat(e)},r.getComponents=function(){return e=r.props,vQ(vQ({},mJ),e.components);var e},r.buildCategorizedOptions=function(){return r0(r.props,r.state.selectValue)},r.getCategorizedOptions=function(){return r.props.menuIsOpen?r.buildCategorizedOptions():[]},r.buildFocusableOptions=function(){return i0(r.buildCategorizedOptions())},r.getFocusableOptions=function(){return r.props.menuIsOpen?r.buildFocusableOptions():[]},r.ariaOnChange=function(e,t){r.setState({ariaSelection:vQ({value:e},t)})},r.onMenuMouseDown=function(e){0===e.button&&(e.stopPropagation(),e.preventDefault(),r.focusInput())},r.onMenuMouseMove=function(e){r.blockOptionHover=!1},r.onControlMouseDown=function(e){if(!e.defaultPrevented){var t=r.props.openMenuOnClick;r.state.isFocused?r.props.menuIsOpen?"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&r.onMenuClose():t&&r.openMenu("first"):(t&&(r.openAfterFocus=!0),r.focusInput()),"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&e.preventDefault()}},r.onDropdownIndicatorMouseDown=function(e){if(!(e&&"mousedown"===e.type&&0!==e.button||r.props.isDisabled)){var t=r.props,n=t.isMulti,i=t.menuIsOpen;r.focusInput(),i?(r.setState({inputIsHiddenAfterUpdate:!n}),r.onMenuClose()):r.openMenu("first"),e.preventDefault()}},r.onClearIndicatorMouseDown=function(e){e&&"mousedown"===e.type&&0!==e.button||(r.clearValue(),e.preventDefault(),r.openAfterFocus=!1,"touchend"===e.type?r.focusInput():setTimeout((function(){return r.focusInput()})))},r.onScroll=function(e){"boolean"==typeof r.props.closeMenuOnScroll?e.target instanceof HTMLElement&&MQ(e.target)&&r.props.onMenuClose():"function"==typeof r.props.closeMenuOnScroll&&r.props.closeMenuOnScroll(e)&&r.props.onMenuClose()},r.onCompositionStart=function(){r.isComposing=!0},r.onCompositionEnd=function(){r.isComposing=!1},r.onTouchStart=function(e){var t=e.touches,n=t&&t.item(0);n&&(r.initialTouchX=n.clientX,r.initialTouchY=n.clientY,r.userIsDragging=!1)},r.onTouchMove=function(e){var t=e.touches,n=t&&t.item(0);if(n){var i=Math.abs(n.clientX-r.initialTouchX),o=Math.abs(n.clientY-r.initialTouchY);r.userIsDragging=i>5||o>5}},r.onTouchEnd=function(e){r.userIsDragging||(r.controlRef&&!r.controlRef.contains(e.target)&&r.menuListRef&&!r.menuListRef.contains(e.target)&&r.blurInput(),r.initialTouchX=0,r.initialTouchY=0)},r.onControlTouchEnd=function(e){r.userIsDragging||r.onControlMouseDown(e)},r.onClearIndicatorTouchEnd=function(e){r.userIsDragging||r.onClearIndicatorMouseDown(e)},r.onDropdownIndicatorTouchEnd=function(e){r.userIsDragging||r.onDropdownIndicatorMouseDown(e)},r.handleInputChange=function(e){var t=r.props.inputValue,n=e.currentTarget.value;r.setState({inputIsHiddenAfterUpdate:!1}),r.onInputChange(n,{action:"input-change",prevInputValue:t}),r.props.menuIsOpen||r.onMenuOpen()},r.onInputFocus=function(e){r.props.onFocus&&r.props.onFocus(e),r.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(r.openAfterFocus||r.props.openMenuOnFocus)&&r.openMenu("first"),r.openAfterFocus=!1},r.onInputBlur=function(e){var t=r.props.inputValue;r.menuListRef&&r.menuListRef.contains(document.activeElement)?r.inputRef.focus():(r.props.onBlur&&r.props.onBlur(e),r.onInputChange("",{action:"input-blur",prevInputValue:t}),r.onMenuClose(),r.setState({focusedValue:null,isFocused:!1}))},r.onOptionHover=function(e){r.blockOptionHover||r.state.focusedOption===e||r.setState({focusedOption:e})},r.shouldHideSelectedOptions=function(){return f0(r.props)},r.onKeyDown=function(e){var t=r.props,n=t.isMulti,i=t.backspaceRemovesValue,o=t.escapeClearsValue,a=t.inputValue,s=t.isClearable,l=t.isDisabled,u=t.menuIsOpen,c=t.onKeyDown,f=t.tabSelectsValue,h=t.openMenuOnFocus,d=r.state,p=d.focusedOption,g=d.focusedValue,m=d.selectValue;if(!(l||"function"==typeof c&&(c(e),e.defaultPrevented))){switch(r.blockOptionHover=!0,e.key){case"ArrowLeft":if(!n||a)return;r.focusValue("previous");break;case"ArrowRight":if(!n||a)return;r.focusValue("next");break;case"Delete":case"Backspace":if(a)return;if(g)r.removeValue(g);else{if(!i)return;n?r.popValue():s&&r.clearValue()}break;case"Tab":if(r.isComposing)return;if(e.shiftKey||!u||!f||!p||h&&r.isOptionSelected(p,m))return;r.selectOption(p);break;case"Enter":if(229===e.keyCode)break;if(u){if(!p)return;if(r.isComposing)return;r.selectOption(p);break}return;case"Escape":u?(r.setState({inputIsHiddenAfterUpdate:!1}),r.onInputChange("",{action:"menu-close",prevInputValue:a}),r.onMenuClose()):s&&o&&r.clearValue();break;case" ":if(a)return;if(!u){r.openMenu("first");break}if(!p)return;r.selectOption(p);break;case"ArrowUp":u?r.focusOption("up"):r.openMenu("last");break;case"ArrowDown":u?r.focusOption("down"):r.openMenu("first");break;case"PageUp":if(!u)return;r.focusOption("pageup");break;case"PageDown":if(!u)return;r.focusOption("pagedown");break;case"Home":if(!u)return;r.focusOption("first");break;case"End":if(!u)return;r.focusOption("last");break;default:return}e.preventDefault()}},r.instancePrefix="react-select-"+(r.props.instanceId||++h0),r.state.selectValue=EQ(e.value),r}return hQ(n,[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput()}},{key:"componentDidUpdate",value:function(e){var t,n,r,i,o,a=this.props,s=a.isDisabled,l=a.menuIsOpen,u=this.state.isFocused;(u&&!s&&e.isDisabled||u&&l&&!e.menuIsOpen)&&this.focusInput(),u&&s&&!e.isDisabled&&this.setState({isFocused:!1},this.onMenuClose),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(t=this.menuListRef,n=this.focusedOptionRef,r=t.getBoundingClientRect(),i=n.getBoundingClientRect(),o=n.offsetHeight/3,i.bottom+o>r.bottom?AQ(t,Math.min(n.offsetTop+n.clientHeight-t.offsetHeight+o,t.scrollHeight)):i.top-o<r.top&&AQ(t,Math.max(n.offsetTop-o,0)),this.scrollToFocusedOptionOnUpdate=!1)}},{key:"componentWillUnmount",value:function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)}},{key:"onMenuOpen",value:function(){this.props.onMenuOpen()}},{key:"onMenuClose",value:function(){this.onInputChange("",{action:"menu-close",prevInputValue:this.props.inputValue}),this.props.onMenuClose()}},{key:"onInputChange",value:function(e,t){this.props.onInputChange(e,t)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(e){var t=this,n=this.state,r=n.selectValue,i=n.isFocused,o=this.buildFocusableOptions(),a="first"===e?0:o.length-1;if(!this.props.isMulti){var s=o.indexOf(r[0]);s>-1&&(a=s)}this.scrollToFocusedOptionOnUpdate=!(i&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:o[a]},(function(){return t.onMenuOpen()}))}},{key:"focusValue",value:function(e){var t=this.state,n=t.selectValue,r=t.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var i=n.indexOf(r);r||(i=-1);var o=n.length-1,a=-1;if(n.length){switch(e){case"previous":a=0===i?0:-1===i?o:i-1;break;case"next":i>-1&&i<o&&(a=i+1)}this.setState({inputIsHidden:-1!==a,focusedValue:n[a]})}}}},{key:"focusOption",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"first",t=this.props.pageSize,n=this.state.focusedOption,r=this.getFocusableOptions();if(r.length){var i=0,o=r.indexOf(n);n||(o=-1),"up"===e?i=o>0?o-1:r.length-1:"down"===e?i=(o+1)%r.length:"pageup"===e?(i=o-t)<0&&(i=0):"pagedown"===e?(i=o+t)>r.length-1&&(i=r.length-1):"last"===e&&(i=r.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:r[i],focusedValue:null})}}},{key:"getTheme",value:function(){return this.props.theme?"function"==typeof this.props.theme?this.props.theme(e0):vQ(vQ({},e0),this.props.theme):e0}},{key:"getCommonProps",value:function(){var e=this.clearValue,t=this.cx,n=this.getStyles,r=this.getValue,i=this.selectOption,o=this.setValue,a=this.props,s=a.isMulti,l=a.isRtl,u=a.options;return{clearValue:e,cx:t,getStyles:n,getValue:r,hasValue:this.hasValue(),isMulti:s,isRtl:l,options:u,selectOption:i,selectProps:a,setValue:o,theme:this.getTheme()}}},{key:"hasValue",value:function(){return this.state.selectValue.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var e=this.props,t=e.isClearable,n=e.isMulti;return void 0===t?n:t}},{key:"isOptionDisabled",value:function(e,t){return l0(this.props,e,t)}},{key:"isOptionSelected",value:function(e,t){return u0(this.props,e,t)}},{key:"filterOption",value:function(e,t){return c0(this.props,e,t)}},{key:"formatOptionLabel",value:function(e,t){if("function"==typeof this.props.formatOptionLabel){var n=this.props.inputValue,r=this.state.selectValue;return this.props.formatOptionLabel(e,{context:t,inputValue:n,selectValue:r})}return this.getOptionLabel(e)}},{key:"formatGroupLabel",value:function(e){return this.props.formatGroupLabel(e)}},{key:"startListeningComposition",value:function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))}},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"renderInput",value:function(){var e=this.props,t=e.isDisabled,n=e.isSearchable,r=e.inputId,o=e.inputValue,a=e.tabIndex,s=e.form,l=e.menuIsOpen,u=this.getComponents().Input,c=this.state,f=c.inputIsHidden,h=c.ariaSelection,d=this.commonProps,p=r||this.getElementId("input"),g=vQ(vQ(vQ({"aria-autocomplete":"list","aria-expanded":l,"aria-haspopup":!0,"aria-errormessage":this.props["aria-errormessage"],"aria-invalid":this.props["aria-invalid"],"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],role:"combobox"},l&&{"aria-controls":this.getElementId("listbox"),"aria-owns":this.getElementId("listbox")}),!n&&{"aria-readonly":!0}),this.hasValue()?"initial-input-focus"===(null==h?void 0:h.action)&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return n?i.createElement(u,iQ({},d,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:p,innerRef:this.getInputRef,isDisabled:t,isHidden:f,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:a,form:s,type:"text",value:o},g)):i.createElement(FJ,iQ({id:p,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:SQ,onFocus:this.onInputFocus,disabled:t,tabIndex:a,inputMode:"none",form:s,value:""},g))}},{key:"renderPlaceholderOrValue",value:function(){var e=this,t=this.getComponents(),n=t.MultiValue,r=t.MultiValueContainer,o=t.MultiValueLabel,a=t.MultiValueRemove,s=t.SingleValue,l=t.Placeholder,u=this.commonProps,c=this.props,f=c.controlShouldRenderValue,h=c.isDisabled,d=c.isMulti,p=c.inputValue,g=c.placeholder,m=this.state,b=m.selectValue,v=m.focusedValue,y=m.isFocused;if(!this.hasValue()||!f)return p?null:i.createElement(l,iQ({},u,{key:"placeholder",isDisabled:h,isFocused:y,innerProps:{id:this.getElementId("placeholder")}}),g);if(d)return b.map((function(t,s){var l=t===v,c="".concat(e.getOptionLabel(t),"-").concat(e.getOptionValue(t));return i.createElement(n,iQ({},u,{components:{Container:r,Label:o,Remove:a},isFocused:l,isDisabled:h,key:c,index:s,removeProps:{onClick:function(){return e.removeValue(t)},onTouchEnd:function(){return e.removeValue(t)},onMouseDown:function(e){e.preventDefault()}},data:t}),e.formatOptionLabel(t,"value"))}));if(p)return null;var w=b[0];return i.createElement(s,iQ({},u,{data:w,isDisabled:h}),this.formatOptionLabel(w,"value"))}},{key:"renderClearIndicator",value:function(){var e=this.getComponents().ClearIndicator,t=this.commonProps,n=this.props,r=n.isDisabled,o=n.isLoading,a=this.state.isFocused;if(!this.isClearable()||!e||r||!this.hasValue()||o)return null;var s={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return i.createElement(e,iQ({},t,{innerProps:s,isFocused:a}))}},{key:"renderLoadingIndicator",value:function(){var e=this.getComponents().LoadingIndicator,t=this.commonProps,n=this.props,r=n.isDisabled,o=n.isLoading,a=this.state.isFocused;if(!e||!o)return null;return i.createElement(e,iQ({},t,{innerProps:{"aria-hidden":"true"},isDisabled:r,isFocused:a}))}},{key:"renderIndicatorSeparator",value:function(){var e=this.getComponents(),t=e.DropdownIndicator,n=e.IndicatorSeparator;if(!t||!n)return null;var r=this.commonProps,o=this.props.isDisabled,a=this.state.isFocused;return i.createElement(n,iQ({},r,{isDisabled:o,isFocused:a}))}},{key:"renderDropdownIndicator",value:function(){var e=this.getComponents().DropdownIndicator;if(!e)return null;var t=this.commonProps,n=this.props.isDisabled,r=this.state.isFocused,o={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return i.createElement(e,iQ({},t,{innerProps:o,isDisabled:n,isFocused:r}))}},{key:"renderMenu",value:function(){var e=this,t=this.getComponents(),n=t.Group,r=t.GroupHeading,o=t.Menu,a=t.MenuList,s=t.MenuPortal,l=t.LoadingMessage,u=t.NoOptionsMessage,c=t.Option,f=this.commonProps,h=this.state.focusedOption,d=this.props,p=d.captureMenuScroll,g=d.inputValue,m=d.isLoading,b=d.loadingMessage,v=d.minMenuHeight,y=d.maxMenuHeight,w=d.menuIsOpen,x=d.menuPlacement,_=d.menuPosition,S=d.menuPortalTarget,k=d.menuShouldBlockScroll,C=d.menuShouldScrollIntoView,E=d.noOptionsMessage,I=d.onMenuScrollToTop,M=d.onMenuScrollToBottom;if(!w)return null;var T,A=function(t,n){var r=t.type,o=t.data,a=t.isDisabled,s=t.isSelected,l=t.label,u=t.value,d=h===o,p=a?void 0:function(){return e.onOptionHover(o)},g=a?void 0:function(){return e.selectOption(o)},m="".concat(e.getElementId("option"),"-").concat(n),b={id:m,onClick:g,onMouseMove:p,onMouseOver:p,tabIndex:-1};return i.createElement(c,iQ({},f,{innerProps:b,data:o,isDisabled:a,isSelected:s,key:m,label:l,type:r,value:u,isFocused:d,innerRef:d?e.getFocusedOptionRef:void 0}),e.formatOptionLabel(t.data,"menu"))};if(this.hasOptions())T=this.getCategorizedOptions().map((function(t){if("group"===t.type){var o=t.data,a=t.options,s=t.index,l="".concat(e.getElementId("group"),"-").concat(s),u="".concat(l,"-heading");return i.createElement(n,iQ({},f,{key:l,data:o,options:a,Heading:r,headingProps:{id:u,data:t.data},label:e.formatGroupLabel(t.data)}),t.options.map((function(e){return A(e,"".concat(s,"-").concat(e.index))})))}if("option"===t.type)return A(t,"".concat(t.index))}));else if(m){var P=b({inputValue:g});if(null===P)return null;T=i.createElement(l,f,P)}else{var O=E({inputValue:g});if(null===O)return null;T=i.createElement(u,f,O)}var D={minMenuHeight:v,maxMenuHeight:y,menuPlacement:x,menuPosition:_,menuShouldScrollIntoView:C},R=i.createElement(HQ,iQ({},f,D),(function(t){var n=t.ref,r=t.placerProps,s=r.placement,l=r.maxHeight;return i.createElement(o,iQ({},f,D,{innerRef:n,innerProps:{onMouseDown:e.onMenuMouseDown,onMouseMove:e.onMenuMouseMove,id:e.getElementId("listbox")},isLoading:m,placement:s}),i.createElement(KJ,{captureEnabled:p,onTopArrive:I,onBottomArrive:M,lockEnabled:k},(function(t){return i.createElement(a,iQ({},f,{innerRef:function(n){e.getMenuListRef(n),t(n)},isLoading:m,maxHeight:l,focusedOption:h}),T)})))}));return S||"fixed"===_?i.createElement(s,iQ({},f,{appendTo:S,controlElement:this.controlRef,menuPlacement:x,menuPosition:_}),R):R}},{key:"renderFormField",value:function(){var e=this,t=this.props,n=t.delimiter,r=t.isDisabled,o=t.isMulti,a=t.name,s=this.state.selectValue;if(a&&!r){if(o){if(n){var l=s.map((function(t){return e.getOptionValue(t)})).join(n);return i.createElement("input",{name:a,type:"hidden",value:l})}var u=s.length>0?s.map((function(t,n){return i.createElement("input",{key:"i-".concat(n),name:a,type:"hidden",value:e.getOptionValue(t)})})):i.createElement("input",{name:a,type:"hidden"});return i.createElement("div",null,u)}var c=s[0]?this.getOptionValue(s[0]):"";return i.createElement("input",{name:a,type:"hidden",value:c})}}},{key:"renderLiveRegion",value:function(){var e=this.commonProps,t=this.state,n=t.ariaSelection,r=t.focusedOption,o=t.focusedValue,a=t.isFocused,s=t.selectValue,l=this.getFocusableOptions();return i.createElement(EJ,iQ({},e,{id:this.getElementId("live-region"),ariaSelection:n,focusedOption:r,focusedValue:o,isFocused:a,selectValue:s,focusableOptions:l}))}},{key:"render",value:function(){var e=this.getComponents(),t=e.Control,n=e.IndicatorsContainer,r=e.SelectContainer,o=e.ValueContainer,a=this.props,s=a.className,l=a.id,u=a.isDisabled,c=a.menuIsOpen,f=this.state.isFocused,h=this.commonProps=this.getCommonProps();return i.createElement(r,iQ({},h,{className:s,innerProps:{id:l,onKeyDown:this.onKeyDown},isDisabled:u,isFocused:f}),this.renderLiveRegion(),i.createElement(t,iQ({},h,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:u,isFocused:f,menuIsOpen:c}),i.createElement(o,iQ({},h,{isDisabled:u}),this.renderPlaceholderOrValue(),this.renderInput()),i.createElement(n,iQ({},h,{isDisabled:u}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=t.prevProps,r=t.clearFocusValueOnUpdate,i=t.inputIsHiddenAfterUpdate,o=t.ariaSelection,a=t.isFocused,s=t.prevWasFocused,l=e.options,u=e.value,c=e.menuIsOpen,f=e.inputValue,h=e.isMulti,d=EQ(u),p={};if(n&&(u!==n.value||l!==n.options||c!==n.menuIsOpen||f!==n.inputValue)){var g=c?function(e,t){return i0(r0(e,t))}(e,d):[],m=r?function(e,t){var n=e.focusedValue,r=e.selectValue.indexOf(n);if(r>-1){if(t.indexOf(n)>-1)return n;if(r<t.length)return t[r]}return null}(t,d):null,b=function(e,t){var n=e.focusedOption;return n&&t.indexOf(n)>-1?n:t[0]}(t,g);p={selectValue:d,focusedOption:b,focusedValue:m,clearFocusValueOnUpdate:!1}}var v=null!=i&&e!==n?{inputIsHidden:i,inputIsHiddenAfterUpdate:void 0}:{},y=o,w=a&&s;return a&&!w&&(y={value:zQ(h,d,d[0]||null),options:d,action:"initial-input-focus"},w=!s),"initial-input-focus"===(null==o?void 0:o.action)&&(y=null),vQ(vQ(vQ({},p),v),{},{prevProps:e,ariaSelection:y,prevWasFocused:w})}}]),n}(i.Component);d0.defaultProps=t0;const p0=(0,i.forwardRef)((function(e,t){var n=vJ(e);return i.createElement(d0,iQ({ref:t},n))}));function g0(){return g0=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},g0.apply(this,arguments)}function m0(){return m0=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},m0.apply(this,arguments)}const b0=function(e){var t=e.className,n=e.cx,r=e.children,o=e.innerRef,a=e.innerProps,s=e.isDisabled,l=e.isFocused,u=e.menuIsOpen,c=e.selectProps,f=c.size,h=c.isInvalid,d=c.chakraStyles,p=Fi("Input",{focusBorderColor:c.focusBorderColor,errorBorderColor:c.errorBorderColor,size:f}),g=m0({},p.field,{display:"flex",padding:0,overflow:"hidden",height:"auto",minHeight:{sm:8,md:10,lg:12}[f]}),m=null!=d&&d.control?d.control(g,e):g;return i.createElement(Mi,{value:p},i.createElement(Ow,m0({ref:o,className:n({control:!0,"control--is-disabled":s,"control--is-focused":l,"control--menu-is-open":u},t),sx:m},a,{"data-focus":!!l||void 0,"data-invalid":!!h||void 0,"data-disabled":!!s||void 0}),r))};function v0(){return v0=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},v0.apply(this,arguments)}const y0=function(e){var t=e.children,n=e.className,r=e.cx,o=e.theme,a=e.getStyles,s=e.Heading,l=e.headingProps,u=e.label,c=e.selectProps,f=c.chakraStyles,h=null!=f&&f.group?f.group({},e):{};return i.createElement(Ow,{className:r({group:!0},n),sx:h},i.createElement(s,v0({},l,{selectProps:c,cx:r,theme:o,getStyles:a}),u),i.createElement(Ow,null,t))};function w0(){return w0=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},w0.apply(this,arguments)}var x0=function(e){return i.createElement($c,e,i.createElement("path",{fill:"currentColor",d:"M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"}))},_0=function(e){return i.createElement($c,w0({focusable:"false","aria-hidden":!0},e),i.createElement("path",{fill:"currentColor",d:"M.439,21.44a1.5,1.5,0,0,0,2.122,2.121L11.823,14.3a.25.25,0,0,1,.354,0l9.262,9.263a1.5,1.5,0,1,0,2.122-2.121L14.3,12.177a.25.25,0,0,1,0-.354l9.263-9.262A1.5,1.5,0,0,0,21.439.44L12.177,9.7a.25.25,0,0,1-.354,0L2.561.44A1.5,1.5,0,0,0,.439,2.561L9.7,11.823a.25.25,0,0,1,0,.354Z"}))},S0=["className","clearValue","cx","getStyles","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"];function k0(){return k0=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},k0.apply(this,arguments)}var C0=function(e){e.className,e.clearValue,e.cx,e.getStyles,e.getValue,e.hasValue,e.isMulti,e.isRtl,e.options,e.selectOption,e.selectProps,e.setValue,e.theme;var t=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,S0);return k0({},t)},E0=["innerRef","isDisabled","isHidden","inputClassName"];function I0(){return I0=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},I0.apply(this,arguments)}const M0=function(e){var t=e.className,n=e.cx,r=e.value,o=e.selectProps,a=o.chakraStyles,s=o.isReadOnly,l=o.isRequired,u=C0(e),c=u.innerRef,f=u.isDisabled,h=u.isHidden,d=u.inputClassName,p=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(u,E0),g={gridArea:"1 / 2",font:"inherit",minW:"2px",border:0,margin:0,outline:0},m={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content",color:"inherit",_after:I0({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre",padding:0},g)},b=null!=a&&a.inputContainer?a.inputContainer(m,e):m,v=I0({label:"input",color:"inherit",bg:0,opacity:h?0:1,width:"100%",py:"0.125rem"},g),y=null!=a&&a.input?a.input(v,e):v;return i.createElement(Ow,{className:n({"input-container":!0},t),"data-value":r||"",sx:b},i.createElement(zi.input,I0({className:n({input:!0},d),ref:c,sx:y,disabled:f,readOnly:s,"aria-readonly":!!s||void 0,"aria-required":!!l||void 0},p)))};function T0(){return T0=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},T0.apply(this,arguments)}const A0=function(e){var t=e.className,n=e.cx,r=e.children,o=e.innerProps,a=e.innerRef,s=e.placement,l=e.selectProps.chakraStyles,u=Fi("Menu",{}),c=T0({position:"absolute"},"bottom"===s&&{top:"100%"},"top"===s&&{bottom:"100%"},{marginY:"8px",width:"100%",zIndex:1,overflow:"hidden"}),f=null!=l&&l.menu?l.menu(c,e):c;return i.createElement(Ow,T0({ref:a,className:n({menu:!0},t),sx:f},o),i.createElement(Mi,{value:u},r))};function P0(){return P0=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},P0.apply(this,arguments)}var O0=function(e){return i.createElement($c,P0({verticalAlign:"inherit",viewBox:"0 0 512 512"},e),i.createElement("path",{fill:"currentColor",d:"M289.94 256l95-95A24 24 0 00351 127l-95 95-95-95a24 24 0 00-34 34l95 95-95 95a24 24 0 1034 34l95-95 95 95a24 24 0 0034-34z"}))};const D0=function(e){var t=e.children,n=e.className,r=e.components,o=e.cx,a=e.data,s=e.innerProps,l=e.isDisabled,u=e.isFocused,c=e.removeProps,f=e.selectProps,h=r.Container,d=r.Label,p=r.Remove,g=f.chakraStyles,m=f.colorScheme,b=f.tagVariant,v=a,y=Fi("Tag",{size:f.size,colorScheme:v.colorScheme||m,variant:v.variant||b||(v.isFixed?"solid":"subtle")}),w=y.container,x=y.closeButton,_=y.label,S=P0({display:"inline-flex",verticalAlign:"top",alignItems:"center",maxWidth:"100%"},w,{margin:"0.125rem"}),k=null!=g&&g.multiValue?g.multiValue(S,e):S,C=null!=g&&g.multiValueLabel?g.multiValueLabel(_,e):_,E=P0({display:"flex",alignItems:"center",justifyContent:"center"},x),I=null!=g&&g.multiValueRemove?g.multiValueRemove(E,e):E;return i.createElement(h,{data:a,innerProps:P0({className:o({"multi-value":!0,"multi-value--is-disabled":l},n)},s),sx:k,selectProps:f},i.createElement(d,{data:a,innerProps:{className:o({"multi-value__label":!0},n)},sx:C,selectProps:f},t),i.createElement(p,{data:a,innerProps:P0({className:o({"multi-value__remove":!0},n),"aria-label":"Remove "+(t||"option")},c),sx:I,selectProps:f,isFocused:u}))};function R0(e,t){var n;const r=e.target;if(e.button>0)return!1;if(r){if(!L0(r).contains(r))return!1}return!(null==(n=t.current)?void 0:n.contains(r))}function L0(e){return(null==e?void 0:e.ownerDocument)??document}var N0=(...e)=>e.filter(Boolean).join(" ");var j0=e=>"function"==typeof e;function F0(...e){return function(t){e.some((e=>(null==e||e(t),null==t?void 0:t.defaultPrevented)))}}function z0(...e){return function(t){e.forEach((e=>{null==e||e(t)}))}}function B0(e={}){const{timeout:t=300,preventDefault:n=(()=>!0)}=e,[r,o]=(0,i.useState)([]),a=(0,i.useRef)(),s=()=>{a.current&&(clearTimeout(a.current),a.current=null)};return(0,i.useEffect)((()=>s),[]),function(e){return i=>{if("Backspace"===i.key){const e=[...r];return e.pop(),void o(e)}if(function(e){const{key:t}=e;return 1===t.length||t.length>1&&/[^a-zA-Z0-9]/.test(t)}(i)){const l=r.concat(i.key);n(i)&&(i.preventDefault(),i.stopPropagation()),o(l),e(l.join("")),s(),a.current=setTimeout((()=>{o([]),a.current=null}),t)}}}}var[V0,$0,H0,G0]=xx(),[W0,U0]=It({strict:!1,name:"MenuContext"});function q0(e){return(null==e?void 0:e.ownerDocument)??document}function X0(e){return q0(e).activeElement===e}function Y0(e={}){const{id:t,closeOnSelect:n=!0,closeOnBlur:r=!0,initialFocusRef:o,autoSelect:a=!0,isLazy:s,isOpen:l,defaultIsOpen:u,onClose:c,onOpen:f,placement:h="bottom-start",lazyBehavior:d="unmount",direction:p,computePositionOnMount:g=!1,...m}=e,b=(0,i.useRef)(null),v=(0,i.useRef)(null),y=H0(),w=(0,i.useCallback)((()=>{requestAnimationFrame((()=>{var e;null==(e=b.current)||e.focus({preventScroll:!1})}))}),[]),x=(0,i.useCallback)((()=>{const e=setTimeout((()=>{var e;if(o)null==(e=o.current)||e.focus();else{const e=y.firstEnabled();e&&A(e.index)}}));L.current.add(e)}),[y,o]),_=(0,i.useCallback)((()=>{const e=setTimeout((()=>{const e=y.lastEnabled();e&&A(e.index)}));L.current.add(e)}),[y]),S=(0,i.useCallback)((()=>{null==f||f(),a?x():w()}),[a,x,w,f]),{isOpen:k,onOpen:C,onClose:E,onToggle:I}=lO({isOpen:l,defaultIsOpen:u,onClose:c,onOpen:S});!function(e){const{ref:t,handler:n,enabled:r=!0}=e,o=Hf(n),a=(0,i.useRef)({isPointerDown:!1,ignoreEmulatedMouseEvents:!1}).current;(0,i.useEffect)((()=>{if(!r)return;const e=e=>{R0(e,t)&&(a.isPointerDown=!0)},i=e=>{a.ignoreEmulatedMouseEvents?a.ignoreEmulatedMouseEvents=!1:a.isPointerDown&&n&&R0(e,t)&&(a.isPointerDown=!1,o(e))},s=e=>{a.ignoreEmulatedMouseEvents=!0,n&&a.isPointerDown&&R0(e,t)&&(a.isPointerDown=!1,o(e))},l=L0(t.current);return l.addEventListener("mousedown",e,!0),l.addEventListener("mouseup",i,!0),l.addEventListener("touchstart",e,!0),l.addEventListener("touchend",s,!0),()=>{l.removeEventListener("mousedown",e,!0),l.removeEventListener("mouseup",i,!0),l.removeEventListener("touchstart",e,!0),l.removeEventListener("touchend",s,!0)}}),[n,t,o,a,r])}({enabled:k&&r,ref:b,handler:e=>{var t;(null==(t=v.current)?void 0:t.contains(e.target))||E()}});const M=oO({...m,enabled:k||g,placement:h,direction:p}),[T,A]=(0,i.useState)(-1);Gf((()=>{k||A(-1)}),[k]),EK(b,{focusRef:v,visible:k,shouldFocus:!0});const P=xK({isOpen:k,ref:b}),[O,D]=function(e,...t){const n=(0,i.useId)(),r=e||n;return(0,i.useMemo)((()=>t.map((e=>`${e}-${r}`))),[r,t])}(t,"menu-button","menu-list"),R=(0,i.useCallback)((()=>{C(),w()}),[C,w]),L=(0,i.useRef)(new Set([]));!function(e,t=[]){(0,i.useEffect)((()=>()=>e()),t)}((()=>{L.current.forEach((e=>clearTimeout(e))),L.current.clear()}));const N=(0,i.useCallback)((()=>{C(),x()}),[x,C]),j=(0,i.useCallback)((()=>{C(),_()}),[C,_]),F=(0,i.useCallback)((()=>{var e,t;const n=q0(b.current),r=null==(e=b.current)?void 0:e.contains(n.activeElement);if(!(k&&!r))return;const i=null==(t=y.item(T))?void 0:t.node;null==i||i.focus()}),[k,T,y]);return{openAndFocusMenu:R,openAndFocusFirstItem:N,openAndFocusLastItem:j,onTransitionEnd:F,unstable__animationState:P,descendants:y,popper:M,buttonId:O,menuId:D,forceUpdate:M.forceUpdate,orientation:"vertical",isOpen:k,onToggle:I,onOpen:C,onClose:E,menuRef:b,buttonRef:v,focusedIndex:T,closeOnSelect:n,closeOnBlur:r,autoSelect:a,setFocusedIndex:A,isLazy:s,lazyBehavior:d,initialFocusRef:o}}function K0(e){var t;return function(e){if(!function(e){return null!=e&&"object"==typeof e&&"nodeType"in e&&e.nodeType===Node.ELEMENT_NODE}(e))return!1;const t=e.ownerDocument.defaultView??window;return e instanceof t.HTMLElement}(e)&&!!(null==(t=null==e?void 0:e.getAttribute("role"))?void 0:t.startsWith("menuitem"))}function Z0(e={},t=null){const{onMouseEnter:n,onMouseMove:r,onMouseLeave:o,onClick:a,onFocus:s,isDisabled:l,isFocusable:u,closeOnSelect:c,type:f,...h}=e,d=U0(),{setFocusedIndex:p,focusedIndex:g,closeOnSelect:m,onClose:b,menuRef:v,isOpen:y,menuId:w}=d,x=(0,i.useRef)(null),_=`${w}-menuitem-${(0,i.useId)()}`,{index:S,register:k}=G0({disabled:l&&!u}),C=(0,i.useCallback)((e=>{null==n||n(e),l||p(S)}),[p,S,l,n]),E=(0,i.useCallback)((e=>{null==r||r(e),x.current&&!X0(x.current)&&C(e)}),[C,r]),I=(0,i.useCallback)((e=>{null==o||o(e),l||p(-1)}),[p,l,o]),M=(0,i.useCallback)((e=>{null==a||a(e),K0(e.currentTarget)&&(c??m)&&b()}),[b,a,m,c]),T=(0,i.useCallback)((e=>{null==s||s(e),p(S)}),[p,s,S]),A=S===g,P=l&&!u;Gf((()=>{y&&(A&&!P&&x.current?requestAnimationFrame((()=>{var e;null==(e=x.current)||e.focus()})):v.current&&!X0(v.current)&&v.current.focus())}),[A,P,v,y]);const O=hT({onClick:M,onFocus:T,onMouseEnter:C,onMouseMove:E,onMouseLeave:I,ref:fx(k,x,t),isDisabled:l,isFocusable:u});return{...h,...O,type:f??O.type,id:_,role:"menuitem",tabIndex:A?0:-1}}var[Q0,J0]=It({name:"MenuStylesContext",errorMessage:"useMenuStyles returned is 'undefined'. Seems you forgot to wrap the components in \"<Menu />\" "}),e1=e=>{const{children:t}=e,n=Fi("Menu",e),r=Ur(e),{direction:o}=Si(),{descendants:a,...s}=Y0({...r,direction:o}),l=(0,i.useMemo)((()=>s),[s]),{isOpen:u,onClose:c,forceUpdate:f}=l;return i.createElement(V0,{value:a},i.createElement(W0,{value:l},i.createElement(Q0,{value:n},function(e,...t){return j0(e)?e(...t):e}(t,{isOpen:u,onClose:c,forceUpdate:f}))))};e1.displayName="Menu";var t1=Li(((e,t)=>{const n=J0();return i.createElement(zi.button,{ref:t,...e,__css:{display:"inline-flex",appearance:"none",alignItems:"center",outline:0,...n.button}})})),n1=Li(((e,t)=>{const{children:n,as:r,...o}=e,a=function(e={},t=null){const n=U0(),{onToggle:r,popper:o,openAndFocusFirstItem:a,openAndFocusLastItem:s}=n,l=(0,i.useCallback)((e=>{const t=e.key,n={Enter:a,ArrowDown:a,ArrowUp:s}[t];n&&(e.preventDefault(),e.stopPropagation(),n(e))}),[a,s]);return{...e,ref:fx(n.buttonRef,t,o.referenceRef),id:n.buttonId,"data-active":(u=n.isOpen,u?"":void 0),"aria-expanded":n.isOpen,"aria-haspopup":"menu","aria-controls":n.menuId,onClick:F0(e.onClick,r),onKeyDown:F0(e.onKeyDown,l)};var u}(o,t),s=r||t1;return i.createElement(s,{...a,className:N0("chakra-menu__menu-button",e.className)},i.createElement(zi.span,{__css:{pointerEvents:"none",flex:"1 1 auto",minW:0}},e.children))}));n1.displayName="MenuButton";var r1=Li(((e,t)=>{const n=J0();return i.createElement(zi.span,{ref:t,...e,__css:n.command,className:"chakra-menu__command"})}));r1.displayName="MenuCommand";var i1=Li(((e,t)=>{const{title:n,children:r,className:o,...a}=e,s=N0("chakra-menu__group__title",o),l=J0();return i.createElement("div",{ref:t,className:"chakra-menu__group",role:"group"},n&&i.createElement(zi.p,{className:s,...a,__css:l.groupTitle},n),r)}));i1.displayName="MenuGroup";var o1=e=>{const{className:t,children:n,...r}=e,o=i.Children.only(n),a=(0,i.isValidElement)(o)?(0,i.cloneElement)(o,{focusable:"false","aria-hidden":!0,className:N0("chakra-menu__icon",o.props.className)}):null,s=N0("chakra-menu__icon-wrapper",t);return i.createElement(zi.span,{className:s,...r,__css:{flexShrink:0}},a)};o1.displayName="MenuIcon";var a1=Li(((e,t)=>{const{type:n,...r}=e,o=J0(),a=r.as||n?n??void 0:"button",s=(0,i.useMemo)((()=>({textDecoration:"none",color:"inherit",userSelect:"none",display:"flex",width:"100%",alignItems:"center",textAlign:"start",flex:"0 0 auto",outline:0,...o.item})),[o.item]);return i.createElement(zi.button,{ref:t,type:a,...r,__css:s})})),s1=e=>i.createElement("svg",{viewBox:"0 0 14 14",width:"1em",height:"1em",...e},i.createElement("polygon",{fill:"currentColor",points:"5.5 11.9993304 14 3.49933039 12.5 2 5.5 8.99933039 1.5 4.9968652 0 6.49933039"})),l1=Li(((e,t)=>{const{icon:n,iconSpacing:r="0.75rem",...o}=e,a=function(e={},t=null){const{type:n="radio",isChecked:r,...i}=e;return{...Z0(i,t),role:`menuitem${n}`,"aria-checked":r}}(o,t);return i.createElement(a1,{...a,className:N0("chakra-menu__menuitem-option",o.className)},null!==n&&i.createElement(o1,{fontSize:"0.8em",marginEnd:r,opacity:e.isChecked?1:0},n||i.createElement(s1,null)),i.createElement("span",{style:{flex:1}},a.children))}));l1.id="MenuItemOption",l1.displayName="MenuItemOption";var u1=Li(((e,t)=>{const{icon:n,iconSpacing:r="0.75rem",command:o,commandSpacing:a="0.75rem",children:s,...l}=e,u=Z0(l,t),c=n||o?i.createElement("span",{style:{pointerEvents:"none",flex:1}},s):s;return i.createElement(a1,{...u,className:N0("chakra-menu__menuitem",u.className)},n&&i.createElement(o1,{fontSize:"0.8em",marginEnd:r},n),c,o&&i.createElement(r1,{marginStart:a},o))}));u1.displayName="MenuItem";var c1={enter:{visibility:"visible",opacity:1,scale:1,transition:{duration:.2,ease:[.4,0,.2,1]}},exit:{transitionEnd:{visibility:"hidden"},opacity:0,scale:.8,transition:{duration:.1,easings:"easeOut"}}},f1=zi(Kv.div),h1=Li((function(e,t){var n;const{rootProps:r,motionProps:o,...a}=e,{isOpen:s,onTransitionEnd:l,unstable__animationState:u}=U0(),c=function(e={},t=null){const n=U0();if(!n)throw new Error("useMenuContext: context is undefined. Seems you forgot to wrap component within <Menu>");const{focusedIndex:r,setFocusedIndex:o,menuRef:a,isOpen:s,onClose:l,menuId:u,isLazy:c,lazyBehavior:f,unstable__animationState:h}=n,d=$0(),p=B0({preventDefault:e=>" "!==e.key&&K0(e.target)}),g=(0,i.useCallback)((e=>{const t=e.key,n={Tab:e=>e.preventDefault(),Escape:l,ArrowDown:()=>{const e=d.nextEnabled(r);e&&o(e.index)},ArrowUp:()=>{const e=d.prevEnabled(r);e&&o(e.index)}},i=n[t];if(i)return e.preventDefault(),void i(e);const a=p((e=>{const t=function(e,t,n,r){if(null==t)return r;if(!r)return e.find((e=>n(e).toLowerCase().startsWith(t.toLowerCase())));const i=e.filter((e=>n(e).toLowerCase().startsWith(t.toLowerCase())));if(i.length>0){let t;return i.includes(r)?(t=i.indexOf(r)+1,t===i.length&&(t=0),i[t]):(t=e.indexOf(i[0]),e[t])}return r}(d.values(),e,(e=>{var t;return(null==(t=null==e?void 0:e.node)?void 0:t.textContent)??""}),d.item(r));if(t){const e=d.indexOf(t.node);o(e)}}));K0(e.target)&&a(e)}),[d,r,p,l,o]),m=(0,i.useRef)(!1);s&&(m.current=!0);const b=dT({wasSelected:m.current,enabled:c,mode:f,isSelected:h.present});return{...e,ref:fx(a,t),children:b?e.children:null,tabIndex:-1,role:"menu",id:u,style:{...e.style,transformOrigin:"var(--popper-transform-origin)"},"aria-orientation":"vertical",onKeyDown:F0(e.onKeyDown,g)}}(a,t),f=function(e={}){const{popper:t,isOpen:n}=U0();return t.getPopperProps({...e,style:{visibility:n?"visible":"hidden",...e.style}})}(r),h=J0();return i.createElement(zi.div,{...f,__css:{zIndex:e.zIndex??(null==(n=h.list)?void 0:n.zIndex)}},i.createElement(f1,{variants:c1,initial:!1,animate:s?"enter":"exit",__css:{outline:0,...h.list},...o,className:N0("chakra-menu__menu-list",c.className),...c,onUpdate:l,onAnimationComplete:z0(u.onComplete,c.onAnimationComplete)}))}));h1.displayName="MenuList";function d1(){return d1=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},d1.apply(this,arguments)}(e=>{const{className:t,title:n,...r}=e,o=function(e={}){const{children:t,type:n="radio",value:r,defaultValue:o,onChange:a,...s}=e,l="radio"===n?"":[],[u,c]=_x({defaultValue:o??l,value:r,onChange:a}),f=(0,i.useCallback)((e=>{if("radio"===n&&"string"==typeof u&&c(e),"checkbox"===n&&Array.isArray(u)){const t=u.includes(e)?u.filter((t=>t!==e)):u.concat(e);c(t)}}),[u,c,n]),h=Tw(t).map((e=>{if("MenuItemOption"!==e.type.id)return e;const t="radio"===n?e.props.value===u:u.includes(e.props.value);return(0,i.cloneElement)(e,{type:n,onClick:t=>{var n,r;f(e.props.value),null==(r=(n=e.props).onClick)||r.call(n,t)},isChecked:t})}));return{...s,children:h}}(r);return i.createElement(i1,{title:n,className:N0("chakra-menu__option-group",t),...o})}).displayName="MenuOptionGroup";var p1=function(e){return i.createElement("svg",d1({viewBox:"0 0 14 14",width:"1em",height:"1em"},e),i.createElement("polygon",{fill:"currentColor",points:"5.5 11.9993304 14 3.49933039 12.5 2 5.5 8.99933039 1.5 4.9968652 0 6.49933039"}))};const g1=function(e){var t,n=e.className,r=e.cx,o=e.innerRef,a=e.innerProps,s=e.children,l=e.isFocused,u=e.isDisabled,c=e.isSelected,f=e.selectProps,h=f.size,d=f.isMulti,p=f.hideSelectedOptions,g=f.selectedOptionStyle,m=f.selectedOptionColor,b=f.chakraStyles,v=Ti().item,y=$t(m+".500",m+".300"),w=$t("white","black"),x="check"===g&&(!d||!1===p),_="color"===g&&c,S=d1({},v,{display:"flex",alignItems:"center",width:"100%",textAlign:"start",fontSize:h,padding:{sm:"0.3rem 0.6rem",md:"0.4rem 0.8rem",lg:"0.5rem 1rem"}[h],bg:l?null==(t=v._focus)?void 0:t.bg:"transparent"},_&&{bg:y,color:w,_active:{bg:y}},u&&v._disabled,u&&{_active:{}}),k=null!=b&&b.option?b.option(S,e):S;return i.createElement(Ow,d1({role:"button",className:r({option:!0,"option--is-disabled":u,"option--is-focused":l,"option--is-selected":c},n),sx:k,ref:o},a,{"data-disabled":!!u||void 0,"aria-disabled":!!u||void 0}),x&&i.createElement(o1,{fontSize:"0.8em",marginEnd:"0.75rem",opacity:c?1:0},i.createElement(p1,null)),s)};function m1(){return m1=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},m1.apply(this,arguments)}const b1=function(e){var t=e.children,n=e.className,r=e.cx,o=e.innerProps,a=e.selectProps,s=a.placeholderColor,l=a.chakraStyles,u={color:s,mx:"0.125rem",position:"absolute",top:"50%",transform:"translateY(-50%)",userSelect:"none"},c=null!=l&&l.placeholder?l.placeholder(u,e):u;return i.createElement(Ow,m1({className:r({placeholder:!0},n),sx:c},o),t)};function v1(){return v1=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},v1.apply(this,arguments)}const y1=function(e){var t=e.children,n=e.className,r=e.cx,o=e.isDisabled,a=e.innerProps,s=e.selectProps.chakraStyles,l={label:"singleValue",mx:"0.125rem",maxWidth:"calc(100% - 0.5rem)",overflow:"hidden",position:"absolute",textOverflow:"ellipsis",whiteSpace:"nowrap",top:"50%",transform:"translateY(-50%)"},u=null!=s&&s.singleValue?s.singleValue(l,e):l;return i.createElement(Ow,v1({className:r({"single-value":!0,"single-value--is-disabled":o},n),sx:u},a),t)};var w1={ClearIndicator:function(e){var t=e.children,n=e.className,r=e.cx,o=e.innerProps,a=e.isFocused,s=e.selectProps,l=s.size,u=s.chakraStyles,c=w0({},ji("CloseButton",{size:l}),{marginX:1,display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,cursor:"pointer"}),f=null!=u&&u.clearIndicator?u.clearIndicator(c,e):c,h={width:"1em",height:"1em"},d=null!=u&&u.crossIcon?u.crossIcon(h,e):h;return i.createElement(Ow,w0({role:"button",className:r({indicator:!0,"clear-indicator":!0},n),sx:f,"data-focused":!!a||void 0,"aria-label":"Clear selected options"},o),t||i.createElement(_0,{sx:d}))},Control:b0,DropdownIndicator:function(e){var t=e.children,n=e.className,r=e.cx,o=e.innerProps,a=e.selectProps,s=a.size,l=a.chakraStyles,u=w0({},Ti().addon,{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",borderRadius:0,borderWidth:0,cursor:"pointer",fontSize:{sm:"16px",md:"20px",lg:"24px"}[s]}),c=null!=l&&l.dropdownIndicator?l.dropdownIndicator(u,e):u,f={height:"1em",width:"1em"},h=null!=l&&l.downChevron?l.downChevron(f,e):f;return i.createElement(Ow,w0({},o,{className:r({indicator:!0,"dropdown-indicator":!0},n),sx:c}),t||i.createElement(x0,{sx:h}))},Group:y0,GroupHeading:function(e){var t=e.cx,n=e.className,r=e.children,o=e.selectProps,a=o.size,s=o.hasStickyGroupHeaders,l=o.chakraStyles,u=Ti(),c=u.groupTitle,f=u.list.bg,h=Si(),d=v0({},c,{fontSize:{sm:h.fontSizes.xs,md:h.fontSizes.sm,lg:h.fontSizes.md}[a],padding:{sm:"0.4rem 0.8rem",md:"0.5rem 1rem",lg:"0.6rem 1.2rem"}[a],margin:0,borderBottomWidth:s?"1px":0,position:s?"sticky":"static",top:-2,bg:f,zIndex:1}),p=null!=l&&l.groupHeading?l.groupHeading(d,e):d;return i.createElement(Ow,{className:t({"group-heading":!0},n),sx:p},r)},IndicatorSeparator:function(e){var t=e.className,n=e.cx,r=e.selectProps.chakraStyles,o={opacity:1},a=null!=r&&r.indicatorSeparator?r.indicatorSeparator(o,e):o;return i.createElement(zw,{className:n({"indicator-separator":!0},t),sx:a,orientation:"vertical"})},IndicatorsContainer:function(e){var t=e.children,n=e.className,r=e.cx,o=e.selectProps.chakraStyles,a={display:"flex",alignItems:"center",alignSelf:"stretch",flexShrink:0},s=null!=o&&o.indicatorsContainer?o.indicatorsContainer(a,e):a;return i.createElement(Ow,{className:r({indicators:!0},n),sx:s},t)},Input:M0,LoadingIndicator:function(e){var t=e.className,n=e.cx,r=e.innerProps,o=e.selectProps,a=o.size,s=o.chakraStyles,l=e.color,u=e.emptyColor,c=e.speed,f=e.thickness,h=e.spinnerSize,d={sm:"xs",md:"sm",lg:"md"}[a],p={marginRight:3},g=null!=s&&s.loadingIndicator?s.loadingIndicator(p,e):p;return i.createElement(Gc,w0({className:n({indicator:!0,"loading-indicator":!0},t),sx:g},r,{size:h||d,color:l,emptyColor:u,speed:c,thickness:f}))},LoadingMessage:function(e){var t=e.children,n=e.className,r=e.cx,o=e.innerProps,a=e.selectProps,s=a.size,l=a.placeholderColor,u=a.chakraStyles,c={color:l,textAlign:"center",padding:{sm:"6px 9px",md:"8px 12px",lg:"10px 15px"}[s],fontSize:{sm:"0.875rem",md:"1rem",lg:"1.125rem"}[s]},f=null!=u&&u.loadingMessage?u.loadingMessage(c,e):c;return i.createElement(Ow,T0({className:r({"menu-notice":!0,"menu-notice--loading":!0},n),sx:f},o),t)},Menu:A0,MenuList:function(e){var t=e.className,n=e.cx,r=e.innerRef,o=e.children,a=e.maxHeight,s=e.isMulti,l=e.selectProps,u=l.size,c=l.chakraStyles,f=T0({},Ti().list,{maxHeight:a+"px",overflowY:"auto",borderRadius:Si().radii[u]}),h=null!=c&&c.menuList?c.menuList(f,e):f;return i.createElement(Ow,{className:n({"menu-list":!0,"menu-list--is-multi":s},t),sx:h,ref:r},o)},MultiValue:D0,MultiValueContainer:function(e){var t=e.children,n=e.innerProps,r=e.sx;return i.createElement(zi.span,P0({},n,{sx:r}),t)},MultiValueLabel:function(e){var t=e.children,n=e.innerProps,r=e.sx;return i.createElement(zi.span,P0({},n,{sx:r}),t)},MultiValueRemove:function(e){var t=e.children,n=e.innerProps,r=e.isFocused,o=e.data,a=e.sx;return o.isFixed?null:i.createElement(Ow,P0({},n,{role:"button",sx:a,"data-focus":!!r||void 0}),t||i.createElement(O0,null))},NoOptionsMessage:function(e){var t=e.children,n=e.className,r=e.cx,o=e.innerProps,a=e.selectProps,s=a.size,l=a.placeholderColor,u=a.chakraStyles,c={color:l,textAlign:"center",padding:{sm:"6px 9px",md:"8px 12px",lg:"10px 15px"}[s],fontSize:{sm:"0.875rem",md:"1rem",lg:"1.125rem"}[s]},f=null!=u&&u.noOptionsMessage?u.noOptionsMessage(c,e):c;return i.createElement(Ow,T0({className:r({"menu-notice":!0,"menu-notice--no-options":!0},n),sx:f},o),t)},Option:g1,Placeholder:b1,SelectContainer:function(e){var t=e.children,n=e.className,r=e.cx,o=e.innerProps,a=e.isDisabled,s=e.isRtl,l=e.hasValue,u=e.selectProps.chakraStyles,c={position:"relative",direction:s?"rtl":void 0,pointerEvents:"auto"},f=null!=u&&u.container?u.container(c,e):c;return i.createElement(Ow,g0({className:r({"--is-disabled":a,"--is-rtl":s,"--has-value":l},n),sx:f},o),t)},SingleValue:y1,ValueContainer:function(e){var t=e.children,n=e.className,r=e.cx,o=e.isMulti,a=e.hasValue,s=e.selectProps,l=s.size,u=s.chakraStyles,c={display:"flex",alignItems:"center",flex:1,padding:"0.125rem "+{sm:"0.75rem",md:"1rem",lg:"1rem"}[l],flexWrap:"wrap",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"},f=null!=u&&u.valueContainer?u.valueContainer(c,e):c;return i.createElement(Ow,{className:r({"value-container":!0,"value-container--is-multi":o,"value-container--has-value":a},n),sx:f},t)}};const x1=w1;var _1=["components","theme","size","colorScheme","isDisabled","isInvalid","isReadOnly","isRequired","inputId","tagVariant","hasStickyGroupHeaders","selectedOptionStyle","selectedOptionColor","focusBorderColor","errorBorderColor","chakraStyles","onFocus","onBlur"];function S1(){return S1=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},S1.apply(this,arguments)}const k1=function(e){var t,n=e.components,r=void 0===n?{}:n,i=(e.theme,e.size),o=void 0===i?"md":i,a=e.colorScheme,s=void 0===a?"gray":a,l=e.isDisabled,u=e.isInvalid,c=e.isReadOnly,f=e.isRequired,h=e.inputId,d=e.tagVariant,p=e.hasStickyGroupHeaders,g=void 0!==p&&p,m=e.selectedOptionStyle,b=void 0===m?"color":m,v=e.selectedOptionColor,y=void 0===v?"blue":v,w=e.focusBorderColor,x=e.errorBorderColor,_=e.chakraStyles,S=void 0===_?{}:_,k=e.onFocus,C=e.onBlur,E=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,_1),I=GT({id:h,isDisabled:l,isInvalid:u,isRequired:f,isReadOnly:c,onFocus:k,onBlur:C}),M=$t("gray.400","whiteAlpha.400"),T=o;["sm","md","lg"].includes(o)||(T="md");var A=d;void 0!==d&&(["subtle","solid","outline"].includes(d)||(A="subtle"));var P=b;["color","check"].includes(b)||(P="color");var O=y;return"string"!=typeof y&&(O="blue"),S1({components:S1({},x1,r),colorScheme:s,size:T,tagVariant:A,selectedOptionStyle:P,selectedOptionColor:O,hasStickyGroupHeaders:g,placeholderColor:M,chakraStyles:S,focusBorderColor:w,errorBorderColor:x,onFocus:I.onFocus,onBlur:I.onBlur,isDisabled:I.disabled,isInvalid:!!I["aria-invalid"],inputId:I.id},E,{"aria-invalid":!!(null!=(t=E["aria-invalid"])?t:I["aria-invalid"])||void 0})};function C1(){return C1=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},C1.apply(this,arguments)}const E1=(0,i.forwardRef)((function(e,t){var n=k1(e);return i.createElement(p0,C1({ref:t},n))})),I1=e=>{let{chakraStyles:t,...n}=e;return i.createElement(E1,Fe({size:"sm",selectedOptionStyle:"check"},n,{chakraStyles:{dropdownIndicator:e=>({...e,bg:"transparent",px:2,cursor:"inherit"}),indicatorSeparator:e=>({...e,display:"none"}),menuList:e=>({...e,py:0}),placeholder:e=>({...e,color:"inherit"}),...t}}))},M1=Qy("logs_with_metadata_url"),T1=Qy("external_log_url"),A1=e=>{let{dagId:t,taskId:n,executionDate:r,isInternal:o,tryNumber:a,mapIndex:s}=e,l=`${o?M1:T1}?dag_id=${encodeURIComponent(t)}&task_id=${encodeURIComponent(n)}&execution_date=${encodeURIComponent(r)}&map_index=${encodeURIComponent(s?.toString()??"-1")}&try_number=${a}`;return o&&(l+="&format=file"),i.createElement(RF,{href:l,target:o?void 0:"_blank"},o?"Download":a)},P1=e=>{let{parsedLogs:t,wrap:n,tryNumber:r,unfoldedGroups:o,setUnfoldedLogGroup:a}=e;const[s,l]=(0,i.useState)(!0),u=(0,i.useRef)(null),c=(0,i.useRef)(null),f=Ky(u),h=()=>{c.current?.scrollIntoView({block:"nearest",inline:"nearest"})};(0,i.useEffect)((()=>{f&&h()}),[n,r,f]),(0,i.useEffect)((()=>{s&&f&&h()}),[t,s,f]);return i.createElement(jw,{ref:u,onScroll:e=>{if(e.currentTarget){const{scrollTop:t,offsetHeight:n,scrollHeight:r}=e.currentTarget;l(t+n>=r)}},onClick:e=>{const t=e.target,n="_unfold",r="_fold";if(t.id?.endsWith(n)){const e=t.id.substring(0,t.id.length-n.length);o.push(e),a(o),t.style.display="none",t.nextElementSibling&&(t.nextElementSibling.style.display="inline")}else if(t.id?.endsWith(r)){const e=t.id.substring(0,t.id.length-r.length);o.indexOf(e)>=0&&o.splice(o.indexOf(e),1),a(o),t.parentElement&&(t.parentElement.style.display="none",t.parentElement.previousSibling&&(t.parentElement.previousSibling.style.display="inline"))}return!1},maxHeight:`calc(100% - ${f}px)`,overflowY:"auto",p:3,display:"block",whiteSpace:n?"pre-wrap":"pre",border:"1px solid",borderRadius:3,borderColor:"blue.500"},i.createElement("div",{dangerouslySetInnerHTML:{__html:t}}),i.createElement("div",{ref:c}))},O1="True"===Qy("show_external_log_redirect"),D1=Qy("external_log_name"),R1=Qy("log_url"),L1=Object.values(Hy).map((e=>({label:e,value:e,color:Gy[e]}))),N1=e=>{let{dagId:t,dagRunId:n,taskId:r,mapIndex:o,executionDate:a,tryNumber:s,state:l}=e;const[u,c]=(0,i.useState)(s||1),[f,h]=(0,i.useState)("True"===Qy("default_wrap")),[d,p]=(0,i.useState)([]),[g,m]=(0,i.useState)([]),[b,v]=(0,i.useState)([]),{timezone:y}=Dy(),{data:w}=zC({dagId:t,dagRunId:n,taskId:r||"",mapIndex:o}),{data:x,isLoading:_}=rQ({dagId:t,dagRunId:n,taskId:r,mapIndex:o,taskTryNumber:u,state:l}),S=new Ok({task_id:r,execution_date:a});void 0!==o&&S.append("map_index",o.toString());const{parsedLogs:k,fileSources:C=[],warning:E}=(0,i.useMemo)((()=>((e,t,n,r,i)=>{if(!e)return{};let o,a;try{o=e.split("\n")}catch(e){return a="Unable to show logs. There was an error parsing logs.",{warning:a}}const s=[],l=new Set,u=new Set(n),c=new Set(r),f=new Vy;f.url_allowlist={};const h=/http(s)?:\/\/[\w.-]+(\.?:[\w.-]+)*([/?#][\w\-._~:/?#[\]@!$&'()*+,;=.%]+)?/g,d="color:#0060df;cursor:pointer;font-weight:bold;",p=/\[(.*?)\] \{(.*?)\} (.*?) -/;let g=Hy.INFO,m="";return o.forEach((e=>{let o=e;const a=e.match(p);let b="";if(a){const n=a[1];[b]=a[2].split(":");const r=a[3];if(n&&t){const r=moment.utc(n).tz(t).format(Ey);o=e.replace(n,r)}g=r,m=b}if(n.length>0&&!u.has(g))return;if(b&&l.add(b),r.length>0&&!c.has(m))return;o=aw(o,g,Wy,Uy,qy,Xy);const v=f.ansi_to_html(o).replace(h,(e=>`<a href="${e}" target="_blank" rel="noopener noreferrer" style="color: blue; text-decoration: underline;">${e}</a>`)).replace(qy,(e=>{const t=e.substring(17),n=t.replace(/\W+/g,"_").toLowerCase(),r=-1===i.indexOf(n);return`<span id="${n}_unfold" style="${r?"":"display:none;"}${d}"> &#9654; ${t}</span><span style="${r?"display:none;":""}"><span id="${n}_fold" style="${d}"> &#9660; ${t}</span>`})).replace(Xy," <span style='color:#0060df;'>&#9650;&#9650;&#9650; Log group end</span></span>");s.push(v)})),{parsedLogs:s.map((e=>e.length>=1e6?(a="Large log file. Some lines have been truncated. Download logs in order to see everything.",`${e.slice(0,1e6)}...`):e)).join("\n"),fileSources:Array.from(l).sort(),warning:a}})(x,y,d.map((e=>e.value)),g.map((e=>e.value)),b)),[x,g,d,y,b]);return(0,i.useEffect)((()=>{u>(s||1)&&c(s||1),x&&g.length>0&&g.reduce(((e,t)=>e||!C.includes(t.value)),!1)&&m([])}),[x,g,C,u,s]),i.createElement(i.Fragment,null,O1&&D1&&i.createElement(Ow,{my:1},i.createElement(sx,null,"View Logs in ",D1," (by attempts):"),i.createElement(Bw,{flexWrap:"wrap"},Array.from({length:s||1},((e,t)=>t+1)).map((e=>i.createElement(A1,{key:e,dagId:t,taskId:r,executionDate:a,tryNumber:e,mapIndex:o}))))),i.createElement(Ow,null,!!w&&i.createElement(bz,{taskInstance:w,selectedTryNumber:u,onSelectTryNumber:c}),i.createElement(Bw,{my:1,justifyContent:"space-between",flexWrap:"wrap"},i.createElement(Bw,{alignItems:"center",flexGrow:1,mr:10},i.createElement(Ow,{width:"100%",mr:2},i.createElement(I1,{size:"sm",isMulti:!0,options:L1,placeholder:"All Levels",value:d,onChange:e=>p([...e]),chakraStyles:{multiValue:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return{...e,backgroundColor:n[0].data.color}},option:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return{...e,borderLeft:"solid 4px black",borderColor:n[0].data.color,mt:2}}}})),i.createElement(Ow,{width:"100%"},i.createElement(I1,{size:"sm",isMulti:!0,options:C.map((e=>({label:e,value:e}))),placeholder:"All File Sources",value:g,onChange:e=>m([...e])}))),i.createElement(Bw,{alignItems:"center",flexWrap:"wrap"},i.createElement(IA,{isChecked:f,onChange:()=>h((e=>!e)),px:4,"data-testid":"wrap-checkbox"},i.createElement(sx,{as:"strong"},"Wrap")),i.createElement(A1,{dagId:t,taskId:r,executionDate:a,isInternal:!0,tryNumber:u,mapIndex:o}),i.createElement(RF,{href:`${R1}&${S.toString()}`},"See More")))),!!E&&i.createElement(Bw,{bg:"yellow.200",borderRadius:2,borderColor:"gray.400",alignItems:"center",p:2,mb:2},i.createElement($c,{as:kO,color:"yellow.500",mr:2}),i.createElement(sx,{fontSize:"sm"},E)),(!x||!k)&&!_&&i.createElement(Bw,{bg:"blue.100",borderRadius:2,borderColor:"gray.400",alignItems:"center",p:2,mb:2},i.createElement($c,{as:xO,color:"blue.600",mr:2}),i.createElement(sx,{fontSize:"sm"},"No task logs found. Try the Event Log tab for more context.")),_?i.createElement(Gc,null):!!k&&i.createElement(P1,{parsedLogs:k,wrap:f,tryNumber:u,unfoldedGroups:b,setUnfoldedLogGroup:v}))},j1=e=>{let{isMapIndexDefined:t,onClick:n}=e;return t?i.createElement(Bw,{justifyContent:"right"},i.createElement(w_,{variant:"ghost",colorScheme:"blue",onClick:n,size:"lg"},"Back to Dynamic Task Summary")):null},F1=e=>{let{taskId:t}=e;const{filters:{root:n},onFilterTasksChange:r,resetRoot:o}=lC(),{data:{groups:a}}=CC(),s="Filter upstream and/or downstream of a task";if(!n&&!t)return null;const l=n?nw({taskId:n,task:a}):void 0;return i.createElement(e1,null,i.createElement(n1,{as:w_,variant:n?"solid":"outline",colorScheme:"blue",transition:"all 0.2s",title:s,"aria-label":s,mt:2,ml:2},i.createElement(Bw,null,n?`Filtered on ${l?.label||"unknown"}`:"Filter DAG by task",i.createElement(PO,{size:"16px"}))),i.createElement(h1,null,!!n&&i.createElement(u1,{onClick:o},"Reset"),!!t&&i.createElement(i.Fragment,null,i.createElement(u1,{onClick:()=>{t&&r({root:t,filterUpstream:!0,filterDownstream:!1})}},"Only upstream"),i.createElement(u1,{onClick:()=>{t&&r({root:t,filterUpstream:!1,filterDownstream:!0})}},"Only downstream"),i.createElement(u1,{onClick:()=>{t&&r({root:t,filterUpstream:!0,filterDownstream:!0})}},"Both upstream & downstream"))))},z1=e=>{let{isOpen:t,onClose:n,header:r,children:o,submitButton:a,doNotShowAgain:s,onDoNotShowAgainChange:l,...u}=e;const c=Sy(),f=(0,i.useRef)(null),h=()=>{n()};return i.createElement(NM,Fe({size:"6xl",isOpen:t,onClose:h,portalProps:{containerRef:c},blockScrollOnMount:!1,initialFocusRef:f},u),i.createElement(XM,null),i.createElement(GM,null,i.createElement(UM,null,r),i.createElement(FM,null),i.createElement(jM,null,i.createElement(Ow,{mb:3},o),i.createElement(IA,{mt:4,isChecked:s,onChange:()=>l&&l(!s)},"Do not show this again.")),i.createElement(WM,{justifyContent:"space-between"},i.createElement(w_,{colorScheme:"gray",onClick:h},"Cancel"),(0,i.cloneElement)(a,{ref:f}))))},B1="True"===Qy("can_edit"),V1=Qy("dag_id"),$1=e=>{let{runId:t,...n}=e;const{mutateAsync:r,isLoading:o}=function(e,t){const n=(0,py.useQueryClient)(),r=Rk(),{startRefresh:i}=hw();return(0,py.useMutation)(["dagRunClear",e,t],(n=>{let{confirmed:r=!1,only_failed:i=!1}=n;const o=new Ok({csrf_token:Lk,confirmed:r,only_failed:i,dag_id:e,dag_run_id:t}).toString();return Mk.post(Nk,o,{headers:{"Content-Type":"application/x-www-form-urlencoded"}})}),{onSuccess:(e,t)=>{let{confirmed:r}=t;r&&(n.invalidateQueries("gridData"),i())},onError:e=>r({error:e})})}(V1,t),{mutateAsync:a,isLoading:s}=function(e,t){const n=(0,py.useQueryClient)(),r=Rk(),{startRefresh:i}=hw();return(0,py.useMutation)(["dagRunQueue",e,t],(n=>{let{confirmed:r=!1}=n;const i=new Ok({csrf_token:jk,confirmed:r,dag_id:e,dag_run_id:t}).toString();return Mk.post(Fk,i,{headers:{"Content-Type":"application/x-www-form-urlencoded"}})}),{onSuccess:(e,t)=>{let{confirmed:r}=t;r&&(n.invalidateQueries("gridData"),i())},onError:e=>r({error:e})})}(V1,t),l=()=>{r({confirmed:!0})},[u,c]=(0,i.useState)(!1),f=localStorage.getItem("doNotShowClearRunModal"),[h,d]=(0,i.useState)(!!f&&JSON.parse(f));pw(OF.dagRunClear,(()=>{h?l():c(!0)}));const p="Clear tasks or add new tasks";return i.createElement(i.Fragment,null,i.createElement(e1,null,i.createElement(n1,Fe({as:w_,colorScheme:"blue",transition:"all 0.2s",title:p,"aria-label":p,disabled:!B1||o||s},n,{mt:2}),i.createElement(Bw,null,"Clear",i.createElement(PO,{size:"16px"}))),i.createElement(h1,null,i.createElement(u1,{onClick:l},"Clear existing tasks"),i.createElement(u1,{onClick:()=>{r({confirmed:!0,only_failed:!0})}},"Clear only failed tasks"),i.createElement(u1,{onClick:()=>{a({confirmed:!0})}},"Queue up new tasks"))),i.createElement(z1,{isOpen:u,onClose:()=>c(!1),header:"Confirmation",submitButton:i.createElement(w_,{onClick:()=>{localStorage.setItem("doNotShowClearRunModal",JSON.stringify(h)),l(),c(!1)},colorScheme:"blue"},"Clear DAG run"),doNotShowAgain:h,onDoNotShowAgainChange:e=>d(e)},"This DAG run will be cleared. Are you sure you want to proceed?"))},H1="True"===Qy("can_edit"),G1=Qy("dag_id"),W1={showConfirmationModal:!1,confirmingAction:null},U1=(e,t)=>{switch(t.type){case"SHOW_CONFIRMATION_MODAL":return{...e,showConfirmationModal:!0,confirmingAction:t.payload};case"HIDE_CONFIRMATION_MODAL":return{...e,showConfirmationModal:!1,confirmingAction:null};default:return e}},q1=e=>{let{runId:t,state:n,...r}=e;const{mutateAsync:o,isLoading:a}=function(e,t){const n=(0,py.useQueryClient)(),r=Rk(),{startRefresh:i}=hw();return(0,py.useMutation)(["dagRunFailed",e,t],(n=>{let{confirmed:r=!1}=n;const i=new Ok({csrf_token:zk,confirmed:r,dag_id:e,dag_run_id:t}).toString();return Mk.post(Bk,i,{headers:{"Content-Type":"application/x-www-form-urlencoded"}})}),{onSuccess:(e,t)=>{let{confirmed:r}=t;r&&(n.invalidateQueries("gridData"),i())},onError:e=>r({error:e})})}(G1,t),{mutateAsync:s,isLoading:l}=function(e,t){const n=(0,py.useQueryClient)(),r=Rk(),{startRefresh:i}=hw();return(0,py.useMutation)(["dagRunSuccess",e,t],(n=>{let{confirmed:r=!1}=n;const i=new Ok({csrf_token:$k,confirmed:r,dag_id:e,dag_run_id:t}).toString();return Mk.post(Vk,i,{headers:{"Content-Type":"application/x-www-form-urlencoded"}})}),{onSuccess:(e,t)=>{let{confirmed:r}=t;r&&(n.invalidateQueries("gridData"),i())},onError:e=>r({error:e})})}(G1,t),[u,c]=(0,i.useReducer)(U1,W1),f=localStorage.getItem("doNotShowMarkRunModal"),[h,d]=(0,i.useState)(!!f&&JSON.parse(f)),p=()=>{o({confirmed:!0})},g=()=>{s({confirmed:!0})};pw(OF.dagMarkSuccess,(()=>{"success"!==n&&(h?g():c({type:"SHOW_CONFIRMATION_MODAL",payload:"success"}))})),pw(OF.dagMarkFailed,(()=>{"failed"!==n&&(h?p():c({type:"SHOW_CONFIRMATION_MODAL",payload:"failed"}))}));const m="Manually set dag run state";return i.createElement(i.Fragment,null,i.createElement(e1,null,i.createElement(n1,Fe({as:w_,colorScheme:"blue",transition:"all 0.2s",title:m,"aria-label":m,disabled:!H1||a||l},r,{mt:2}),i.createElement(Bw,null,"Mark state as...",i.createElement(PO,{size:"16px"}))),i.createElement(h1,null,i.createElement(u1,{onClick:p,isDisabled:"failed"===n},i.createElement(KF,{state:"failed",mr:2}),"failed"),i.createElement(u1,{onClick:g,isDisabled:"success"===n},i.createElement(KF,{state:"success",mr:2}),"success"))),i.createElement(z1,{isOpen:u.showConfirmationModal,onClose:()=>c({type:"HIDE_CONFIRMATION_MODAL"}),header:"Confirmation",submitButton:i.createElement(w_,{onClick:()=>{localStorage.setItem("doNotShowMarkRunModal",JSON.stringify(h)),"failed"===u.confirmingAction?p():"success"===u.confirmingAction&&g(),c({type:"HIDE_CONFIRMATION_MODAL"})},colorScheme:("success"===u.confirmingAction?"green":"failed"===u.confirmingAction&&"red")||"grey"},"Mark as ",u.confirmingAction),doNotShowAgain:h,onDoNotShowAgainChange:e=>d(e)},"Are you sure you want to mark the DAG run as"," ",u.confirmingAction,"?"))},X1=Qy("csrf_token"),Y1=Qy("clear_url"),K1=e=>{let{dagId:t,runId:n,taskId:r,executionDate:i,isGroup:o,past:a,future:s,upstream:l,downstream:u,recursive:c,failed:f,mapIndexes:h=[],enabled:d=!1}=e;return(0,py.useQuery)(["clearTask",t,n,r,h,a,s,l,u,c,f],(()=>{const e=new Ok({csrf_token:X1,dag_id:t,dag_run_id:n,confirmed:!1,execution_date:i,past:a,future:s,upstream:l,downstream:u,recursive:c,only_failed:f});return o?e.append("group_id",r):e.append("task_id",r),h.forEach((t=>{e.append("map_index",t.toString())})),Mk.post(Y1,e.toString(),{headers:{"Content-Type":"application/x-www-form-urlencoded"}})}),{enabled:d})},Z1={past:"Also include past task instances when clearing this one",future:"Also include future task instances when clearing this one",upstream:"Also include upstream dependencies",downstream:"Also include downstream dependencies",recursive:"Include subdags and parent dags",failed:"Only consider failed task instances when clearing this one"},Q1=e=>{let{name:t,...n}=e;return i.createElement(w_,Fe({title:Z1[t.toLowerCase()]},n),"Failed"===t?"Only Failed":t)},J1=[{Header:"Task name",accessor:"taskId"},{Header:"Map Index",accessor:"mapIndex"},{Header:"Run Id",accessor:"runId"}],e2=e=>{let{affectedTasks:t}=e;return i.createElement(UB,{data:t,columns:J1})},t2=e=>{let{isOpen:t,onClose:n,children:r,header:o,subheader:a,affectedTasks:s=[],submitButton:l,...u}=e;const c=Sy();return i.createElement(NM,Fe({size:"6xl",isOpen:t,onClose:n,portalProps:{containerRef:c},blockScrollOnMount:!1},u),i.createElement(XM,null),i.createElement(GM,null,i.createElement(UM,null,o),i.createElement(FM,null),i.createElement(jM,null,i.createElement(Ow,{mb:3},a),i.createElement(Ow,null,r,i.createElement(d_,{allowToggle:!0,my:3},i.createElement(f_,null,i.createElement(o_,null,i.createElement(Ow,{flex:"1",textAlign:"left"},i.createElement(sx,{as:"strong",size:"lg"},"Affected Tasks: ",s?.length||0)),i.createElement(c_,null)),i.createElement(h_,null,i.createElement(Ow,{maxHeight:"35vh",overflowY:"auto"},i.createElement(e2,{affectedTasks:s}))))))),i.createElement(WM,{justifyContent:"space-between"},i.createElement(w_,{colorScheme:"gray",onClick:n},"Cancel"),l)))},n2="True"===Qy("can_edit_taskinstance"),r2="True"===Qy("can_edit"),i2=Qy("dag_id"),o2=e=>{let{runId:t,taskId:n,mapIndex:r,executionDate:o,isGroup:a,isMapped:s,isOpen:l,onClose:u}=e;const[c,f]=(0,i.useState)(!1),[h,d]=(0,i.useState)(!1),[p,g]=(0,i.useState)(!1),[m,b]=(0,i.useState)(!0),[v,y]=(0,i.useState)(!0),[w,x]=(0,i.useState)(!1),_=(0,i.useRef)(null),S=void 0!==r&&-1!==r?[r]:void 0,{data:k,isLoading:C}=K1({dagId:i2,runId:t,taskId:n,executionDate:o,isGroup:!!a,past:c,future:h,upstream:p,downstream:m,recursive:v,failed:w,mapIndexes:S,enabled:l}),{mutateAsync:E,isLoading:I}=function(e){let{dagId:t,runId:n,taskId:r,executionDate:i,isGroup:o}=e;const a=(0,py.useQueryClient)(),s=Rk(),{startRefresh:l}=hw();return(0,py.useMutation)(["clearTask",t,n,r],(e=>{let{past:a,future:s,upstream:l,downstream:u,recursive:c,failed:f,confirmed:h,mapIndexes:d=[]}=e;const p=new Ok({csrf_token:Hk,dag_id:t,dag_run_id:n,confirmed:h,execution_date:i,past:a,future:s,upstream:l,downstream:u,recursive:c,only_failed:f});return o?p.append("group_id",r):p.append("task_id",r),d.forEach((e=>{p.append("map_index",e.toString())})),Mk.post(Gk,p.toString(),{headers:{"Content-Type":"application/x-www-form-urlencoded"}})}),{onSuccess:(e,i)=>{let{confirmed:o}=i;o&&(a.invalidateQueries("gridData"),a.invalidateQueries(["mappedInstances",t,n,r]),a.invalidateQueries(["clearTask",t,n,r]),l())},onError:(e,t)=>{let{confirmed:n}=t;n&&s({error:e})}})}({dagId:i2,runId:t,taskId:n,executionDate:o,isGroup:!!a}),M=()=>{u(),b(!0),g(!1),f(!1),d(!1),y(!0),x(!1)};return i.createElement(t2,{isOpen:l,onClose:M,header:"Clear and Retry",subheader:i.createElement(i.Fragment,null,i.createElement(sx,null,i.createElement(sx,{as:"strong",mr:1},"Task:"),n),i.createElement(sx,null,i.createElement(sx,{as:"strong",mr:1},"Run:"),t),s&&i.createElement(sx,null,i.createElement(sx,{as:"strong",mr:1},"Map Index:"),void 0!==r?r:"All mapped tasks")),affectedTasks:k,submitButton:i.createElement(w_,{ref:_,colorScheme:"blue",isLoading:I||C,isDisabled:!k?.length,onClick:()=>{E({confirmed:!0,past:c,future:h,upstream:p,downstream:m,recursive:v,failed:w,mapIndexes:S}),M()}},"Clear"),initialFocusRef:_},i.createElement(Ow,null,i.createElement(sx,null,"Include: "),i.createElement(k_,{isAttached:!0,variant:"outline",isDisabled:!r2},i.createElement(Q1,{bg:c?"gray.100":void 0,onClick:()=>f(!c),name:"Past"}),i.createElement(Q1,{bg:h?"gray.100":void 0,onClick:()=>d(!h),name:"Future"}),i.createElement(Q1,{bg:p?"gray.100":void 0,onClick:()=>g(!p),name:"Upstream"}),i.createElement(Q1,{bg:m?"gray.100":void 0,onClick:()=>b(!m),name:"Downstream"}),i.createElement(Q1,{bg:v?"gray.100":void 0,onClick:()=>y(!v),name:"Recursive"}),i.createElement(Q1,{bg:w?"gray.100":void 0,onClick:()=>x(!w),name:"Failed"}))),a&&(c||h)&&i.createElement(Qc,{status:"warning",my:3},i.createElement(ef,null),"Clearing a TaskGroup in the future and/or past will affect all the tasks of this group across multiple dag runs.",i.createElement("br",null),"This can take a while to complete."))},a2=e=>{let{runId:t,taskId:n,mapIndex:r,executionDate:o,isGroup:a,isMapped:s,...l}=e;const{onOpen:u,onClose:c,isOpen:f}=kw();pw(OF.taskRunClear,u);const h="Clear and retry task.";return i.createElement(i.Fragment,null,i.createElement(w_,Fe({title:h,"aria-label":h,isDisabled:!r2||!n2,colorScheme:"blue",onClick:u},l),"Clear task"),r2&&n2&&i.createElement(o2,{runId:t,taskId:n,mapIndex:r,executionDate:o,isGroup:a,isMapped:s,isOpen:f,onClose:c}))},s2="True"===Qy("can_edit_taskinstance"),l2="True"===Qy("can_edit"),u2=Qy("dag_id"),c2=e=>{let{runId:t,taskId:n,isGroup:r,mapIndex:o,isMapped:a,state:s,isOpen:l,onClose:u}=e;const[c,f]=(0,i.useState)(!1),[h,d]=(0,i.useState)(!1),[p,g]=(0,i.useState)(!1),[m,b]=(0,i.useState)(!1),v=(0,i.useRef)(null),y=void 0!==o&&-1!==o?[o]:void 0,{data:w,isLoading:x}=Zk({dagId:u2,runId:t,taskId:n,state:s,isGroup:!!r,past:c,future:h,upstream:p,downstream:m,mapIndexes:y,enabled:l}),{mutateAsync:_,isLoading:S}=function(e){let{dagId:t,runId:n,taskId:r,isGroup:i}=e;const o=(0,py.useQueryClient)(),a=Rk(),{startRefresh:s}=hw();return(0,py.useMutation)(["markFailed",t,n,r],(e=>{let{past:o,future:a,upstream:s,downstream:l,mapIndexes:u=[]}=e;const c=new Ok({csrf_token:Uk,dag_id:t,dag_run_id:n,confirmed:!0,past:o,future:a,upstream:s,downstream:l});return i?c.append("group_id",r):c.append("task_id",r),u.forEach((e=>{c.append("map_index",e.toString())})),Mk.post(Wk,c.toString(),{headers:{"Content-Type":"application/x-www-form-urlencoded"}})}),{onSuccess:()=>{o.invalidateQueries("gridData"),o.invalidateQueries(["mappedInstances",t,n,r]),o.invalidateQueries(["confirmStateChange",t,n,r]),s()},onError:e=>a({error:e})})}({dagId:u2,runId:t,taskId:n,isGroup:!!r}),{mutateAsync:k,isLoading:C}=function(e){let{dagId:t,runId:n,taskId:r,isGroup:i}=e;const o=(0,py.useQueryClient)(),a=Rk(),{startRefresh:s}=hw();return(0,py.useMutation)(["markSuccess",t,n,r],(e=>{let{past:o,future:a,upstream:s,downstream:l,mapIndexes:u=[]}=e;const c=new Ok({csrf_token:qk,dag_id:t,dag_run_id:n,confirmed:!0,past:o,future:a,upstream:s,downstream:l});return i?c.append("group_id",r):c.append("task_id",r),u.forEach((e=>{c.append("map_index",e.toString())})),Mk.post(Xk,c.toString(),{headers:{"Content-Type":"application/x-www-form-urlencoded"}})}),{onSuccess:()=>{o.invalidateQueries("gridData"),o.invalidateQueries(["mappedInstances",t,n,r]),o.invalidateQueries(["confirmStateChange",t,n,r]),s()},onError:e=>a({error:e})})}({dagId:u2,runId:t,taskId:n,isGroup:!!r}),E=()=>{u(),b(!1),g(!1),f(!1),d(!1)};return i.createElement(t2,{isOpen:l,onClose:E,header:`Mark as ${(0,Yy.capitalize)(s||"")}`,subheader:i.createElement(i.Fragment,null,i.createElement(sx,null,i.createElement(sx,{as:"strong",mr:1},"Task:"),n),i.createElement(sx,null,i.createElement(sx,{as:"strong",mr:1},"Run:"),t),a&&i.createElement(sx,null,i.createElement(sx,{as:"strong",mr:1},"Map Index:"),void 0!==o?o:"All mapped tasks")),affectedTasks:w,submitButton:i.createElement(w_,{ref:v,colorScheme:("success"===s?"green":"failed"===s&&"red")||"grey",isLoading:x||C||S,isDisabled:!w?.length||!s,onClick:()=>{"success"===s?k({past:c,future:h,upstream:p,downstream:m,mapIndexes:y}):"failed"===s&&_({past:c,future:h,upstream:p,downstream:m,mapIndexes:y}),E()}},"Mark as ",s),initialFocusRef:v},i.createElement(Ow,null,i.createElement(sx,null,"Include: "),i.createElement(k_,{isAttached:!0,variant:"outline",isDisabled:!l2},i.createElement(Q1,{bg:c?"gray.100":void 0,onClick:()=>f(!c),name:"Past"}),i.createElement(Q1,{bg:h?"gray.100":void 0,onClick:()=>d(!h),name:"Future"}),i.createElement(Q1,{bg:p?"gray.100":void 0,onClick:()=>g(!p),name:"Upstream"}),i.createElement(Q1,{bg:m?"gray.100":void 0,onClick:()=>b(!m),name:"Downstream"}))),r&&(c||h)&&i.createElement(Qc,{status:"warning",my:3},i.createElement(ef,null),"Marking a TaskGroup as ",(0,Yy.capitalize)(s||"")," in the future and/or past will affect all the tasks of this group across multiple dag runs.",i.createElement("br",null),"This can take a while to complete."))},f2=e=>{let{runId:t,taskId:n,isGroup:r,mapIndex:o,isMapped:a,state:s,...l}=e;const{onOpen:u,onClose:c,isOpen:f}=kw(),[h,d]=(0,i.useState)("success"),p=()=>{d("failed"),u()},g=()=>{d("success"),u()},m="Manually set task instance state",b=a&&void 0===o;return pw(OF.taskMarkSuccess,(()=>{1-Number(!b&&"success"===s)&&g()})),pw(OF.taskMarkFailed,(()=>{1-Number(!b&&"failed"===s)&&p()})),i.createElement(i.Fragment,null,i.createElement(e1,null,i.createElement(n1,Fe({as:w_,colorScheme:"blue",transition:"all 0.2s",title:m,"aria-label":m,disabled:!l2||!s2},l),i.createElement(Bw,null,"Mark state as…",i.createElement(PO,{size:"16px"}))),i.createElement(h1,null,i.createElement(u1,{onClick:p},i.createElement(KF,{state:"failed",mr:2}),"failed"),i.createElement(u1,{onClick:g},i.createElement(KF,{state:"success",mr:2}),"success"))),l2&&s2&&i.createElement(c2,{runId:t,taskId:n,isGroup:r,mapIndex:o,isMapped:a,state:h,isOpen:f,onClose:c}))},h2=e=>{let{dagId:t,dagRunId:n,taskId:r,mapIndex:o,xcomKey:a,tryNumber:s}=e;const{data:l,isLoading:u,error:c}=(e=>{let{dagId:t,dagRunId:n,taskId:r,mapIndex:i,xcomKey:o,tryNumber:a}=e;return(0,py.useQuery)(["taskXcom",t,n,r,i,o,a],(()=>{const e=Qy("task_xcom_entry_api").replace("_DAG_RUN_ID_",n).replace("_TASK_ID_",r).replace("_XCOM_KEY_",encodeURIComponent(o));return Mk.get(e,{params:{map_index:i,stringify:!1}})}),{enabled:!!o})})({dagId:t,dagRunId:n,taskId:r,mapIndex:o,xcomKey:a,tryNumber:s||1});let f=null;if(u)f=i.createElement(Gc,null);else if(c)f=i.createElement(lV,{error:c});else if(l)if(void 0===l.value||null===l.value)f=i.createElement(Qc,{status:"info"},i.createElement(ef,null),"Value is NULL");else{let e="";if("string"!=typeof l.value)try{e=JSON.stringify(l.value)}catch(e){}else e=l.value;f=i.createElement(cz,{content:e})}else f=i.createElement(Qc,{status:"info"},i.createElement(ef,null),"No value found for XCom key");return i.createElement(lT,null,i.createElement(uT,null,a),i.createElement(uT,null,f))},d2=e=>{let{dagId:t,dagRunId:n,taskId:r,mapIndex:o,tryNumber:a}=e;const s=(0,i.useRef)(null),l=Ky(s),{data:u,isLoading:c,error:f}=(e=>{let{dagId:t,dagRunId:n,taskId:r,mapIndex:i,tryNumber:o}=e;return(0,py.useQuery)(["taskXcoms",t,n,r,i,o],(()=>Mk.get(Qy("task_xcom_entries_api").replace("_DAG_RUN_ID_",n).replace("_TASK_ID_",r),{params:{map_index:i}})))})({dagId:t,dagRunId:n,taskId:r,mapIndex:o,tryNumber:a||1});return i.createElement(Ow,{ref:s,height:"100%",maxHeight:`calc(100% - ${l}px)`,overflowY:"auto"},c&&i.createElement(Gc,{size:"xl",thickness:"4px",speed:"0.65s"}),i.createElement(lV,{error:f}),u&&(0===u.totalEntries?i.createElement(sx,null,"No XCom"):i.createElement(nT,{variant:"striped"},i.createElement(oT,null,i.createElement(lT,null,i.createElement(uT,null,i.createElement(sx,{as:"b"},"Key")),i.createElement(uT,null,i.createElement(sx,{as:"b"},"Value")))),i.createElement(aT,null,u.xcomEntries?.map((e=>i.createElement(h2,{key:e.key,dagId:t,dagRunId:n,taskId:r,mapIndex:o,xcomKey:e.key||"",tryNumber:a})))))))};var p2=function(e,t){return p2=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},p2(e,t)};function g2(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}p2(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}Object.create;Object.create;var m2=function(){this.firefox=!1,this.ie=!1,this.edge=!1,this.newEdge=!1,this.weChat=!1},b2=new function(){this.browser=new m2,this.node=!1,this.wxa=!1,this.worker=!1,this.svgSupported=!1,this.touchEventsSupported=!1,this.pointerEventsSupported=!1,this.domSupported=!1,this.transformSupported=!1,this.transform3dSupported=!1,this.hasGlobalWindow="undefined"!=typeof window};"object"==typeof wx&&"function"==typeof wx.getSystemInfoSync?(b2.wxa=!0,b2.touchEventsSupported=!0):"undefined"==typeof document&&"undefined"!=typeof self?b2.worker=!0:"undefined"==typeof navigator?(b2.node=!0,b2.svgSupported=!0):function(e,t){var n=t.browser,r=e.match(/Firefox\/([\d.]+)/),i=e.match(/MSIE\s([\d.]+)/)||e.match(/Trident\/.+?rv:(([\d.]+))/),o=e.match(/Edge?\/([\d.]+)/),a=/micromessenger/i.test(e);r&&(n.firefox=!0,n.version=r[1]);i&&(n.ie=!0,n.version=i[1]);o&&(n.edge=!0,n.version=o[1],n.newEdge=+o[1].split(".")[0]>18);a&&(n.weChat=!0);t.svgSupported="undefined"!=typeof SVGRect,t.touchEventsSupported="ontouchstart"in window&&!n.ie&&!n.edge,t.pointerEventsSupported="onpointerdown"in window&&(n.edge||n.ie&&+n.version>=11),t.domSupported="undefined"!=typeof document;var s=document.documentElement.style;t.transform3dSupported=(n.ie&&"transition"in s||n.edge||"WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix||"MozPerspective"in s)&&!("OTransition"in s),t.transformSupported=t.transform3dSupported||n.ie&&+n.version>=9}(navigator.userAgent,b2);const v2=b2;var y2="sans-serif",w2="12px sans-serif";var x2,_2,S2=function(e){var t={};if("undefined"==typeof JSON)return t;for(var n=0;n<e.length;n++){var r=String.fromCharCode(n+32),i=(e.charCodeAt(n)-20)/100;t[r]=i}return t}("007LLmW'55;N0500LLLLLLLLLL00NNNLzWW\\\\WQb\\0FWLg\\bWb\\WQ\\WrWWQ000CL5LLFLL0LL**F*gLLLL5F0LF\\FFF5.5N"),k2={createCanvas:function(){return"undefined"!=typeof document&&document.createElement("canvas")},measureText:function(e,t){if(!x2){var n=k2.createCanvas();x2=n&&n.getContext("2d")}if(x2)return _2!==t&&(_2=x2.font=t||w2),x2.measureText(e);e=e||"";var r=/(\d+)px/.exec(t=t||w2),i=r&&+r[1]||12,o=0;if(t.indexOf("mono")>=0)o=i*e.length;else for(var a=0;a<e.length;a++){var s=S2[e[a]];o+=null==s?i:s*i}return{width:o}},loadImage:function(e,t,n){var r=new Image;return r.onload=t,r.onerror=n,r.src=e,r}};var C2=Y2(["Function","RegExp","Date","Error","CanvasGradient","CanvasPattern","Image","Canvas"],(function(e,t){return e["[object "+t+"]"]=!0,e}),{}),E2=Y2(["Int8","Uint8","Uint8Clamped","Int16","Uint16","Int32","Uint32","Float32","Float64"],(function(e,t){return e["[object "+t+"Array]"]=!0,e}),{}),I2=Object.prototype.toString,M2=Array.prototype,T2=M2.forEach,A2=M2.filter,P2=M2.slice,O2=M2.map,D2=function(){}.constructor,R2=D2?D2.prototype:null,L2="__proto__",N2=2311;function j2(){return N2++}function F2(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];"undefined"!=typeof console&&console.error.apply(console,e)}function z2(e){if(null==e||"object"!=typeof e)return e;var t=e,n=I2.call(e);if("[object Array]"===n){if(!w3(e)){t=[];for(var r=0,i=e.length;r<i;r++)t[r]=z2(e[r])}}else if(E2[n]){if(!w3(e)){var o=e.constructor;if(o.from)t=o.from(e);else{t=new o(e.length);for(r=0,i=e.length;r<i;r++)t[r]=e[r]}}}else if(!C2[n]&&!w3(e)&&!l3(e))for(var a in t={},e)e.hasOwnProperty(a)&&a!==L2&&(t[a]=z2(e[a]));return t}function B2(e,t,n){if(!o3(t)||!o3(e))return n?z2(t):e;for(var r in t)if(t.hasOwnProperty(r)&&r!==L2){var i=e[r],o=t[r];!o3(o)||!o3(i)||e3(o)||e3(i)||l3(o)||l3(i)||a3(o)||a3(i)||w3(o)||w3(i)?!n&&r in e||(e[r]=z2(t[r])):B2(i,o,n)}return e}function V2(e,t){for(var n=e[0],r=1,i=e.length;r<i;r++)n=B2(n,e[r],t);return n}function $2(e,t){if(Object.assign)Object.assign(e,t);else for(var n in t)t.hasOwnProperty(n)&&n!==L2&&(e[n]=t[n]);return e}function H2(e,t,n){for(var r=Z2(t),i=0;i<r.length;i++){var o=r[i];(n?null!=t[o]:null==e[o])&&(e[o]=t[o])}return e}k2.createCanvas;function G2(e,t){if(e){if(e.indexOf)return e.indexOf(t);for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n}return-1}function W2(e,t,n){if(e="prototype"in e?e.prototype:e,t="prototype"in t?t.prototype:t,Object.getOwnPropertyNames)for(var r=Object.getOwnPropertyNames(t),i=0;i<r.length;i++){var o=r[i];"constructor"!==o&&(n?null!=t[o]:null==e[o])&&(e[o]=t[o])}else H2(e,t,n)}function U2(e){return!!e&&("string"!=typeof e&&"number"==typeof e.length)}function q2(e,t,n){if(e&&t)if(e.forEach&&e.forEach===T2)e.forEach(t,n);else if(e.length===+e.length)for(var r=0,i=e.length;r<i;r++)t.call(n,e[r],r,e);else for(var o in e)e.hasOwnProperty(o)&&t.call(n,e[o],o,e)}function X2(e,t,n){if(!e)return[];if(!t)return p3(e);if(e.map&&e.map===O2)return e.map(t,n);for(var r=[],i=0,o=e.length;i<o;i++)r.push(t.call(n,e[i],i,e));return r}function Y2(e,t,n,r){if(e&&t){for(var i=0,o=e.length;i<o;i++)n=t.call(r,n,e[i],i,e);return n}}function K2(e,t,n){if(!e)return[];if(!t)return p3(e);if(e.filter&&e.filter===A2)return e.filter(t,n);for(var r=[],i=0,o=e.length;i<o;i++)t.call(n,e[i],i,e)&&r.push(e[i]);return r}function Z2(e){if(!e)return[];if(Object.keys)return Object.keys(e);var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push(n);return t}var Q2=R2&&t3(R2.bind)?R2.call.bind(R2.bind):function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];return function(){return e.apply(t,n.concat(P2.call(arguments)))}};function J2(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return function(){return e.apply(this,t.concat(P2.call(arguments)))}}function e3(e){return Array.isArray?Array.isArray(e):"[object Array]"===I2.call(e)}function t3(e){return"function"==typeof e}function n3(e){return"string"==typeof e}function r3(e){return"[object String]"===I2.call(e)}function i3(e){return"number"==typeof e}function o3(e){var t=typeof e;return"function"===t||!!e&&"object"===t}function a3(e){return!!C2[I2.call(e)]}function s3(e){return!!E2[I2.call(e)]}function l3(e){return"object"==typeof e&&"number"==typeof e.nodeType&&"object"==typeof e.ownerDocument}function u3(e){return null!=e.colorStops}function c3(e){return e!=e}function f3(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=0,r=e.length;n<r;n++)if(null!=e[n])return e[n]}function h3(e,t){return null!=e?e:t}function d3(e,t,n){return null!=e?e:null!=t?t:n}function p3(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return P2.apply(e,t)}function g3(e){if("number"==typeof e)return[e,e,e,e];var t=e.length;return 2===t?[e[0],e[1],e[0],e[1]]:3===t?[e[0],e[1],e[2],e[1]]:e}function m3(e,t){if(!e)throw new Error(t)}function b3(e){return null==e?null:"function"==typeof e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}var v3="__ec_primitive__";function y3(e){e[v3]=!0}function w3(e){return e[v3]}var x3=function(){function e(){this.data={}}return e.prototype.delete=function(e){var t=this.has(e);return t&&delete this.data[e],t},e.prototype.has=function(e){return this.data.hasOwnProperty(e)},e.prototype.get=function(e){return this.data[e]},e.prototype.set=function(e,t){return this.data[e]=t,this},e.prototype.keys=function(){return Z2(this.data)},e.prototype.forEach=function(e){var t=this.data;for(var n in t)t.hasOwnProperty(n)&&e(t[n],n)},e}(),_3="function"==typeof Map;var S3=function(){function e(t){var n=e3(t);this.data=_3?new Map:new x3;var r=this;function i(e,t){n?r.set(e,t):r.set(t,e)}t instanceof e?t.each(i):t&&q2(t,i)}return e.prototype.hasKey=function(e){return this.data.has(e)},e.prototype.get=function(e){return this.data.get(e)},e.prototype.set=function(e,t){return this.data.set(e,t),t},e.prototype.each=function(e,t){this.data.forEach((function(n,r){e.call(t,n,r)}))},e.prototype.keys=function(){var e=this.data.keys();return _3?Array.from(e):e},e.prototype.removeKey=function(e){this.data.delete(e)},e}();function k3(e){return new S3(e)}function C3(e,t){for(var n=new e.constructor(e.length+t.length),r=0;r<e.length;r++)n[r]=e[r];var i=e.length;for(r=0;r<t.length;r++)n[r+i]=t[r];return n}function E3(e,t){var n;if(Object.create)n=Object.create(e);else{var r=function(){};r.prototype=e,n=new r}return t&&$2(n,t),n}function I3(e){var t=e.style;t.webkitUserSelect="none",t.userSelect="none",t.webkitTapHighlightColor="rgba(0,0,0,0)",t["-webkit-touch-callout"]="none"}function M3(e,t){return e.hasOwnProperty(t)}function T3(){}var A3=180/Math.PI,P3=function(e,t){return P3=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},P3(e,t)};function O3(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}P3(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}Object.create;Object.create;function D3(e,t){return null==e&&(e=0),null==t&&(t=0),[e,t]}function R3(e,t){return e[0]=t[0],e[1]=t[1],e}function L3(e){return[e[0],e[1]]}function N3(e,t,n){return e[0]=t,e[1]=n,e}function j3(e,t,n){return e[0]=t[0]+n[0],e[1]=t[1]+n[1],e}function F3(e,t,n,r){return e[0]=t[0]+n[0]*r,e[1]=t[1]+n[1]*r,e}function z3(e,t,n){return e[0]=t[0]-n[0],e[1]=t[1]-n[1],e}function B3(e){return Math.sqrt(V3(e))}function V3(e){return e[0]*e[0]+e[1]*e[1]}function $3(e,t,n){return e[0]=t[0]*n,e[1]=t[1]*n,e}function H3(e,t){var n=B3(t);return 0===n?(e[0]=0,e[1]=0):(e[0]=t[0]/n,e[1]=t[1]/n),e}function G3(e,t){return Math.sqrt((e[0]-t[0])*(e[0]-t[0])+(e[1]-t[1])*(e[1]-t[1]))}var W3=G3;var U3=function(e,t){return(e[0]-t[0])*(e[0]-t[0])+(e[1]-t[1])*(e[1]-t[1])};function q3(e,t,n,r){return e[0]=t[0]+r*(n[0]-t[0]),e[1]=t[1]+r*(n[1]-t[1]),e}function X3(e,t,n){var r=t[0],i=t[1];return e[0]=n[0]*r+n[2]*i+n[4],e[1]=n[1]*r+n[3]*i+n[5],e}function Y3(e,t,n){return e[0]=Math.min(t[0],n[0]),e[1]=Math.min(t[1],n[1]),e}function K3(e,t,n){return e[0]=Math.max(t[0],n[0]),e[1]=Math.max(t[1],n[1]),e}var Z3=function(e,t){this.target=e,this.topTarget=t&&t.topTarget},Q3=function(){function e(e){this.handler=e,e.on("mousedown",this._dragStart,this),e.on("mousemove",this._drag,this),e.on("mouseup",this._dragEnd,this)}return e.prototype._dragStart=function(e){for(var t=e.target;t&&!t.draggable;)t=t.parent||t.__hostTarget;t&&(this._draggingTarget=t,t.dragging=!0,this._x=e.offsetX,this._y=e.offsetY,this.handler.dispatchToElement(new Z3(t,e),"dragstart",e.event))},e.prototype._drag=function(e){var t=this._draggingTarget;if(t){var n=e.offsetX,r=e.offsetY,i=n-this._x,o=r-this._y;this._x=n,this._y=r,t.drift(i,o,e),this.handler.dispatchToElement(new Z3(t,e),"drag",e.event);var a=this.handler.findHover(n,r,t).target,s=this._dropTarget;this._dropTarget=a,t!==a&&(s&&a!==s&&this.handler.dispatchToElement(new Z3(s,e),"dragleave",e.event),a&&a!==s&&this.handler.dispatchToElement(new Z3(a,e),"dragenter",e.event))}},e.prototype._dragEnd=function(e){var t=this._draggingTarget;t&&(t.dragging=!1),this.handler.dispatchToElement(new Z3(t,e),"dragend",e.event),this._dropTarget&&this.handler.dispatchToElement(new Z3(this._dropTarget,e),"drop",e.event),this._draggingTarget=null,this._dropTarget=null},e}();const J3=Q3;var e5=function(){function e(e){e&&(this._$eventProcessor=e)}return e.prototype.on=function(e,t,n,r){this._$handlers||(this._$handlers={});var i=this._$handlers;if("function"==typeof t&&(r=n,n=t,t=null),!n||!e)return this;var o=this._$eventProcessor;null!=t&&o&&o.normalizeQuery&&(t=o.normalizeQuery(t)),i[e]||(i[e]=[]);for(var a=0;a<i[e].length;a++)if(i[e][a].h===n)return this;var s={h:n,query:t,ctx:r||this,callAtLast:n.zrEventfulCallAtLast},l=i[e].length-1,u=i[e][l];return u&&u.callAtLast?i[e].splice(l,0,s):i[e].push(s),this},e.prototype.isSilent=function(e){var t=this._$handlers;return!t||!t[e]||!t[e].length},e.prototype.off=function(e,t){var n=this._$handlers;if(!n)return this;if(!e)return this._$handlers={},this;if(t){if(n[e]){for(var r=[],i=0,o=n[e].length;i<o;i++)n[e][i].h!==t&&r.push(n[e][i]);n[e]=r}n[e]&&0===n[e].length&&delete n[e]}else delete n[e];return this},e.prototype.trigger=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];if(!this._$handlers)return this;var r=this._$handlers[e],i=this._$eventProcessor;if(r)for(var o=t.length,a=r.length,s=0;s<a;s++){var l=r[s];if(!i||!i.filter||null==l.query||i.filter(e,l.query))switch(o){case 0:l.h.call(l.ctx);break;case 1:l.h.call(l.ctx,t[0]);break;case 2:l.h.call(l.ctx,t[0],t[1]);break;default:l.h.apply(l.ctx,t)}}return i&&i.afterTrigger&&i.afterTrigger(e),this},e.prototype.triggerWithContext=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];if(!this._$handlers)return this;var r=this._$handlers[e],i=this._$eventProcessor;if(r)for(var o=t.length,a=t[o-1],s=r.length,l=0;l<s;l++){var u=r[l];if(!i||!i.filter||null==u.query||i.filter(e,u.query))switch(o){case 0:u.h.call(a);break;case 1:u.h.call(a,t[0]);break;case 2:u.h.call(a,t[0],t[1]);break;default:u.h.apply(a,t.slice(1,o-1))}}return i&&i.afterTrigger&&i.afterTrigger(e),this},e}();const t5=e5;var n5=Math.log(2);function r5(e,t,n,r,i,o){var a=r+"-"+i,s=e.length;if(o.hasOwnProperty(a))return o[a];if(1===t){var l=Math.round(Math.log((1<<s)-1&~i)/n5);return e[n][l]}for(var u=r|1<<n,c=n+1;r&1<<c;)c++;for(var f=0,h=0,d=0;h<s;h++){var p=1<<h;p&i||(f+=(d%2?-1:1)*e[n][h]*r5(e,t-1,c,u,i|p,o),d++)}return o[a]=f,f}function i5(e,t){var n=[[e[0],e[1],1,0,0,0,-t[0]*e[0],-t[0]*e[1]],[0,0,0,e[0],e[1],1,-t[1]*e[0],-t[1]*e[1]],[e[2],e[3],1,0,0,0,-t[2]*e[2],-t[2]*e[3]],[0,0,0,e[2],e[3],1,-t[3]*e[2],-t[3]*e[3]],[e[4],e[5],1,0,0,0,-t[4]*e[4],-t[4]*e[5]],[0,0,0,e[4],e[5],1,-t[5]*e[4],-t[5]*e[5]],[e[6],e[7],1,0,0,0,-t[6]*e[6],-t[6]*e[7]],[0,0,0,e[6],e[7],1,-t[7]*e[6],-t[7]*e[7]]],r={},i=r5(n,8,0,0,0,r);if(0!==i){for(var o=[],a=0;a<8;a++)for(var s=0;s<8;s++)null==o[s]&&(o[s]=0),o[s]+=((a+s)%2?-1:1)*r5(n,7,0===a?1:0,1<<a,1<<s,r)/i*t[a];return function(e,t,n){var r=t*o[6]+n*o[7]+1;e[0]=(t*o[0]+n*o[1]+o[2])/r,e[1]=(t*o[3]+n*o[4]+o[5])/r}}}var o5=[];function a5(e,t,n,r,i){if(t.getBoundingClientRect&&v2.domSupported&&!s5(t)){var o=t.___zrEVENTSAVED||(t.___zrEVENTSAVED={}),a=function(e,t){var n=t.markers;if(n)return n;n=t.markers=[];for(var r=["left","right"],i=["top","bottom"],o=0;o<4;o++){var a=document.createElement("div"),s=o%2,l=(o>>1)%2;a.style.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",r[s]+":0",i[l]+":0",r[1-s]+":auto",i[1-l]+":auto",""].join("!important;"),e.appendChild(a),n.push(a)}return n}(t,o),s=function(e,t,n){for(var r=n?"invTrans":"trans",i=t[r],o=t.srcCoords,a=[],s=[],l=!0,u=0;u<4;u++){var c=e[u].getBoundingClientRect(),f=2*u,h=c.left,d=c.top;a.push(h,d),l=l&&o&&h===o[f]&&d===o[f+1],s.push(e[u].offsetLeft,e[u].offsetTop)}return l&&i?i:(t.srcCoords=a,t[r]=n?i5(s,a):i5(a,s))}(a,o,i);if(s)return s(e,n,r),!0}return!1}function s5(e){return"CANVAS"===e.nodeName.toUpperCase()}var l5=/([&<>"'])/g,u5={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"};function c5(e){return null==e?"":(e+"").replace(l5,(function(e,t){return u5[t]}))}var f5=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,h5=[],d5=v2.browser.firefox&&+v2.browser.version.split(".")[0]<39;function p5(e,t,n,r){return n=n||{},r?g5(e,t,n):d5&&null!=t.layerX&&t.layerX!==t.offsetX?(n.zrX=t.layerX,n.zrY=t.layerY):null!=t.offsetX?(n.zrX=t.offsetX,n.zrY=t.offsetY):g5(e,t,n),n}function g5(e,t,n){if(v2.domSupported&&e.getBoundingClientRect){var r=t.clientX,i=t.clientY;if(s5(e)){var o=e.getBoundingClientRect();return n.zrX=r-o.left,void(n.zrY=i-o.top)}if(a5(h5,e,r,i))return n.zrX=h5[0],void(n.zrY=h5[1])}n.zrX=n.zrY=0}function m5(e){return e||window.event}function b5(e,t,n){if(null!=(t=m5(t)).zrX)return t;var r=t.type;if(r&&r.indexOf("touch")>=0){var i="touchend"!==r?t.targetTouches[0]:t.changedTouches[0];i&&p5(e,i,t,n)}else{p5(e,t,t,n);var o=function(e){var t=e.wheelDelta;if(t)return t;var n=e.deltaX,r=e.deltaY;if(null==n||null==r)return t;return 3*(0!==r?Math.abs(r):Math.abs(n))*(r>0?-1:r<0?1:n>0?-1:1)}(t);t.zrDelta=o?o/120:-(t.detail||0)/3}var a=t.button;return null==t.which&&void 0!==a&&f5.test(t.type)&&(t.which=1&a?1:2&a?3:4&a?2:0),t}function v5(e,t,n,r){e.addEventListener(t,n,r)}var y5=function(e){e.preventDefault(),e.stopPropagation(),e.cancelBubble=!0};function w5(e){return 2===e.which||3===e.which}var x5=function(){function e(){this._track=[]}return e.prototype.recognize=function(e,t,n){return this._doTrack(e,t,n),this._recognize(e)},e.prototype.clear=function(){return this._track.length=0,this},e.prototype._doTrack=function(e,t,n){var r=e.touches;if(r){for(var i={points:[],touches:[],target:t,event:e},o=0,a=r.length;o<a;o++){var s=r[o],l=p5(n,s,{});i.points.push([l.zrX,l.zrY]),i.touches.push(s)}this._track.push(i)}},e.prototype._recognize=function(e){for(var t in S5)if(S5.hasOwnProperty(t)){var n=S5[t](this._track,e);if(n)return n}},e}();function _5(e){var t=e[1][0]-e[0][0],n=e[1][1]-e[0][1];return Math.sqrt(t*t+n*n)}var S5={pinch:function(e,t){var n=e.length;if(n){var r,i=(e[n-1]||{}).points,o=(e[n-2]||{}).points||i;if(o&&o.length>1&&i&&i.length>1){var a=_5(i)/_5(o);!isFinite(a)&&(a=1),t.pinchScale=a;var s=[((r=i)[0][0]+r[1][0])/2,(r[0][1]+r[1][1])/2];return t.pinchX=s[0],t.pinchY=s[1],{type:"pinch",target:e[0].target,event:t}}}}};function k5(e){return e[0]=1,e[1]=0,e[2]=0,e[3]=1,e[4]=0,e[5]=0,e}function C5(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4],e[5]=t[5],e}function E5(e,t,n){var r=t[0]*n[0]+t[2]*n[1],i=t[1]*n[0]+t[3]*n[1],o=t[0]*n[2]+t[2]*n[3],a=t[1]*n[2]+t[3]*n[3],s=t[0]*n[4]+t[2]*n[5]+t[4],l=t[1]*n[4]+t[3]*n[5]+t[5];return e[0]=r,e[1]=i,e[2]=o,e[3]=a,e[4]=s,e[5]=l,e}function I5(e,t,n){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4]+n[0],e[5]=t[5]+n[1],e}function M5(e,t,n){var r=t[0],i=t[2],o=t[4],a=t[1],s=t[3],l=t[5],u=Math.sin(n),c=Math.cos(n);return e[0]=r*c+a*u,e[1]=-r*u+a*c,e[2]=i*c+s*u,e[3]=-i*u+c*s,e[4]=c*o+u*l,e[5]=c*l-u*o,e}function T5(e,t,n){var r=n[0],i=n[1];return e[0]=t[0]*r,e[1]=t[1]*i,e[2]=t[2]*r,e[3]=t[3]*i,e[4]=t[4]*r,e[5]=t[5]*i,e}function A5(e,t){var n=t[0],r=t[2],i=t[4],o=t[1],a=t[3],s=t[5],l=n*a-o*r;return l?(l=1/l,e[0]=a*l,e[1]=-o*l,e[2]=-r*l,e[3]=n*l,e[4]=(r*s-a*i)*l,e[5]=(o*i-n*s)*l,e):null}var P5=function(){function e(e,t){this.x=e||0,this.y=t||0}return e.prototype.copy=function(e){return this.x=e.x,this.y=e.y,this},e.prototype.clone=function(){return new e(this.x,this.y)},e.prototype.set=function(e,t){return this.x=e,this.y=t,this},e.prototype.equal=function(e){return e.x===this.x&&e.y===this.y},e.prototype.add=function(e){return this.x+=e.x,this.y+=e.y,this},e.prototype.scale=function(e){this.x*=e,this.y*=e},e.prototype.scaleAndAdd=function(e,t){this.x+=e.x*t,this.y+=e.y*t},e.prototype.sub=function(e){return this.x-=e.x,this.y-=e.y,this},e.prototype.dot=function(e){return this.x*e.x+this.y*e.y},e.prototype.len=function(){return Math.sqrt(this.x*this.x+this.y*this.y)},e.prototype.lenSquare=function(){return this.x*this.x+this.y*this.y},e.prototype.normalize=function(){var e=this.len();return this.x/=e,this.y/=e,this},e.prototype.distance=function(e){var t=this.x-e.x,n=this.y-e.y;return Math.sqrt(t*t+n*n)},e.prototype.distanceSquare=function(e){var t=this.x-e.x,n=this.y-e.y;return t*t+n*n},e.prototype.negate=function(){return this.x=-this.x,this.y=-this.y,this},e.prototype.transform=function(e){if(e){var t=this.x,n=this.y;return this.x=e[0]*t+e[2]*n+e[4],this.y=e[1]*t+e[3]*n+e[5],this}},e.prototype.toArray=function(e){return e[0]=this.x,e[1]=this.y,e},e.prototype.fromArray=function(e){this.x=e[0],this.y=e[1]},e.set=function(e,t,n){e.x=t,e.y=n},e.copy=function(e,t){e.x=t.x,e.y=t.y},e.len=function(e){return Math.sqrt(e.x*e.x+e.y*e.y)},e.lenSquare=function(e){return e.x*e.x+e.y*e.y},e.dot=function(e,t){return e.x*t.x+e.y*t.y},e.add=function(e,t,n){e.x=t.x+n.x,e.y=t.y+n.y},e.sub=function(e,t,n){e.x=t.x-n.x,e.y=t.y-n.y},e.scale=function(e,t,n){e.x=t.x*n,e.y=t.y*n},e.scaleAndAdd=function(e,t,n,r){e.x=t.x+n.x*r,e.y=t.y+n.y*r},e.lerp=function(e,t,n,r){var i=1-r;e.x=i*t.x+r*n.x,e.y=i*t.y+r*n.y},e}();const O5=P5;var D5=Math.min,R5=Math.max,L5=new O5,N5=new O5,j5=new O5,F5=new O5,z5=new O5,B5=new O5,V5=function(){function e(e,t,n,r){n<0&&(e+=n,n=-n),r<0&&(t+=r,r=-r),this.x=e,this.y=t,this.width=n,this.height=r}return e.prototype.union=function(e){var t=D5(e.x,this.x),n=D5(e.y,this.y);isFinite(this.x)&&isFinite(this.width)?this.width=R5(e.x+e.width,this.x+this.width)-t:this.width=e.width,isFinite(this.y)&&isFinite(this.height)?this.height=R5(e.y+e.height,this.y+this.height)-n:this.height=e.height,this.x=t,this.y=n},e.prototype.applyTransform=function(t){e.applyTransform(this,this,t)},e.prototype.calculateTransform=function(e){var t=this,n=e.width/t.width,r=e.height/t.height,i=[1,0,0,1,0,0];return I5(i,i,[-t.x,-t.y]),T5(i,i,[n,r]),I5(i,i,[e.x,e.y]),i},e.prototype.intersect=function(t,n){if(!t)return!1;t instanceof e||(t=e.create(t));var r=this,i=r.x,o=r.x+r.width,a=r.y,s=r.y+r.height,l=t.x,u=t.x+t.width,c=t.y,f=t.y+t.height,h=!(o<l||u<i||s<c||f<a);if(n){var d=1/0,p=0,g=Math.abs(o-l),m=Math.abs(u-i),b=Math.abs(s-c),v=Math.abs(f-a),y=Math.min(g,m),w=Math.min(b,v);o<l||u<i?y>p&&(p=y,g<m?O5.set(B5,-g,0):O5.set(B5,m,0)):y<d&&(d=y,g<m?O5.set(z5,g,0):O5.set(z5,-m,0)),s<c||f<a?w>p&&(p=w,b<v?O5.set(B5,0,-b):O5.set(B5,0,v)):y<d&&(d=y,b<v?O5.set(z5,0,b):O5.set(z5,0,-v))}return n&&O5.copy(n,h?z5:B5),h},e.prototype.contain=function(e,t){var n=this;return e>=n.x&&e<=n.x+n.width&&t>=n.y&&t<=n.y+n.height},e.prototype.clone=function(){return new e(this.x,this.y,this.width,this.height)},e.prototype.copy=function(t){e.copy(this,t)},e.prototype.plain=function(){return{x:this.x,y:this.y,width:this.width,height:this.height}},e.prototype.isFinite=function(){return isFinite(this.x)&&isFinite(this.y)&&isFinite(this.width)&&isFinite(this.height)},e.prototype.isZero=function(){return 0===this.width||0===this.height},e.create=function(t){return new e(t.x,t.y,t.width,t.height)},e.copy=function(e,t){e.x=t.x,e.y=t.y,e.width=t.width,e.height=t.height},e.applyTransform=function(t,n,r){if(r){if(r[1]<1e-5&&r[1]>-1e-5&&r[2]<1e-5&&r[2]>-1e-5){var i=r[0],o=r[3],a=r[4],s=r[5];return t.x=n.x*i+a,t.y=n.y*o+s,t.width=n.width*i,t.height=n.height*o,t.width<0&&(t.x+=t.width,t.width=-t.width),void(t.height<0&&(t.y+=t.height,t.height=-t.height))}L5.x=j5.x=n.x,L5.y=F5.y=n.y,N5.x=F5.x=n.x+n.width,N5.y=j5.y=n.y+n.height,L5.transform(r),F5.transform(r),N5.transform(r),j5.transform(r),t.x=D5(L5.x,N5.x,j5.x,F5.x),t.y=D5(L5.y,N5.y,j5.y,F5.y);var l=R5(L5.x,N5.x,j5.x,F5.x),u=R5(L5.y,N5.y,j5.y,F5.y);t.width=l-t.x,t.height=u-t.y}else t!==n&&e.copy(t,n)},e}();const $5=V5;var H5="silent";function G5(){y5(this.event)}var W5=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.handler=null,t}return O3(t,e),t.prototype.dispose=function(){},t.prototype.setCursor=function(){},t}(t5),U5=function(e,t){this.x=e,this.y=t},q5=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],X5=new $5(0,0,0,0),Y5=function(e){function t(t,n,r,i,o){var a=e.call(this)||this;return a._hovered=new U5(0,0),a.storage=t,a.painter=n,a.painterRoot=i,a._pointerSize=o,r=r||new W5,a.proxy=null,a.setHandlerProxy(r),a._draggingMgr=new J3(a),a}return O3(t,e),t.prototype.setHandlerProxy=function(e){this.proxy&&this.proxy.dispose(),e&&(q2(q5,(function(t){e.on&&e.on(t,this[t],this)}),this),e.handler=this),this.proxy=e},t.prototype.mousemove=function(e){var t=e.zrX,n=e.zrY,r=Q5(this,t,n),i=this._hovered,o=i.target;o&&!o.__zr&&(o=(i=this.findHover(i.x,i.y)).target);var a=this._hovered=r?new U5(t,n):this.findHover(t,n),s=a.target,l=this.proxy;l.setCursor&&l.setCursor(s?s.cursor:"default"),o&&s!==o&&this.dispatchToElement(i,"mouseout",e),this.dispatchToElement(a,"mousemove",e),s&&s!==o&&this.dispatchToElement(a,"mouseover",e)},t.prototype.mouseout=function(e){var t=e.zrEventControl;"only_globalout"!==t&&this.dispatchToElement(this._hovered,"mouseout",e),"no_globalout"!==t&&this.trigger("globalout",{type:"globalout",event:e})},t.prototype.resize=function(){this._hovered=new U5(0,0)},t.prototype.dispatch=function(e,t){var n=this[e];n&&n.call(this,t)},t.prototype.dispose=function(){this.proxy.dispose(),this.storage=null,this.proxy=null,this.painter=null},t.prototype.setCursorStyle=function(e){var t=this.proxy;t.setCursor&&t.setCursor(e)},t.prototype.dispatchToElement=function(e,t,n){var r=(e=e||{}).target;if(!r||!r.silent){for(var i="on"+t,o=function(e,t,n){return{type:e,event:n,target:t.target,topTarget:t.topTarget,cancelBubble:!1,offsetX:n.zrX,offsetY:n.zrY,gestureEvent:n.gestureEvent,pinchX:n.pinchX,pinchY:n.pinchY,pinchScale:n.pinchScale,wheelDelta:n.zrDelta,zrByTouch:n.zrByTouch,which:n.which,stop:G5}}(t,e,n);r&&(r[i]&&(o.cancelBubble=!!r[i].call(r,o)),r.trigger(t,o),r=r.__hostTarget?r.__hostTarget:r.parent,!o.cancelBubble););o.cancelBubble||(this.trigger(t,o),this.painter&&this.painter.eachOtherLayer&&this.painter.eachOtherLayer((function(e){"function"==typeof e[i]&&e[i].call(e,o),e.trigger&&e.trigger(t,o)})))}},t.prototype.findHover=function(e,t,n){var r=this.storage.getDisplayList(),i=new U5(e,t);if(Z5(r,i,e,t,n),this._pointerSize&&!i.target){for(var o=[],a=this._pointerSize,s=a/2,l=new $5(e-s,t-s,a,a),u=r.length-1;u>=0;u--){var c=r[u];c===n||c.ignore||c.ignoreCoarsePointer||c.parent&&c.parent.ignoreCoarsePointer||(X5.copy(c.getBoundingRect()),c.transform&&X5.applyTransform(c.transform),X5.intersect(l)&&o.push(c))}if(o.length)for(var f=Math.PI/12,h=2*Math.PI,d=0;d<s;d+=4)for(var p=0;p<h;p+=f){if(Z5(o,i,e+d*Math.cos(p),t+d*Math.sin(p),n),i.target)return i}}return i},t.prototype.processGesture=function(e,t){this._gestureMgr||(this._gestureMgr=new x5);var n=this._gestureMgr;"start"===t&&n.clear();var r=n.recognize(e,this.findHover(e.zrX,e.zrY,null).target,this.proxy.dom);if("end"===t&&n.clear(),r){var i=r.type;e.gestureEvent=i;var o=new U5;o.target=r.target,this.dispatchToElement(o,i,r.event)}},t}(t5);function K5(e,t,n){if(e[e.rectHover?"rectContain":"contain"](t,n)){for(var r=e,i=void 0,o=!1;r;){if(r.ignoreClip&&(o=!0),!o){var a=r.getClipPath();if(a&&!a.contain(t,n))return!1;r.silent&&(i=!0)}var s=r.__hostTarget;r=s||r.parent}return!i||H5}return!1}function Z5(e,t,n,r,i){for(var o=e.length-1;o>=0;o--){var a=e[o],s=void 0;if(a!==i&&!a.ignore&&(s=K5(a,n,r))&&(!t.topTarget&&(t.topTarget=a),s!==H5)){t.target=a;break}}}function Q5(e,t,n){var r=e.painter;return t<0||t>r.getWidth()||n<0||n>r.getHeight()}q2(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],(function(e){Y5.prototype[e]=function(t){var n,r,i=t.zrX,o=t.zrY,a=Q5(this,i,o);if("mouseup"===e&&a||(r=(n=this.findHover(i,o)).target),"mousedown"===e)this._downEl=r,this._downPoint=[t.zrX,t.zrY],this._upEl=r;else if("mouseup"===e)this._upEl=r;else if("click"===e){if(this._downEl!==this._upEl||!this._downPoint||W3(this._downPoint,[t.zrX,t.zrY])>4)return;this._downPoint=null}this.dispatchToElement(n,e,t)}}));const J5=Y5;function e4(e,t,n,r){var i=t+1;if(i===n)return 1;if(r(e[i++],e[t])<0){for(;i<n&&r(e[i],e[i-1])<0;)i++;!function(e,t,n){n--;for(;t<n;){var r=e[t];e[t++]=e[n],e[n--]=r}}(e,t,i)}else for(;i<n&&r(e[i],e[i-1])>=0;)i++;return i-t}function t4(e,t,n,r,i){for(r===t&&r++;r<n;r++){for(var o,a=e[r],s=t,l=r;s<l;)i(a,e[o=s+l>>>1])<0?l=o:s=o+1;var u=r-s;switch(u){case 3:e[s+3]=e[s+2];case 2:e[s+2]=e[s+1];case 1:e[s+1]=e[s];break;default:for(;u>0;)e[s+u]=e[s+u-1],u--}e[s]=a}}function n4(e,t,n,r,i,o){var a=0,s=0,l=1;if(o(e,t[n+i])>0){for(s=r-i;l<s&&o(e,t[n+i+l])>0;)a=l,(l=1+(l<<1))<=0&&(l=s);l>s&&(l=s),a+=i,l+=i}else{for(s=i+1;l<s&&o(e,t[n+i-l])<=0;)a=l,(l=1+(l<<1))<=0&&(l=s);l>s&&(l=s);var u=a;a=i-l,l=i-u}for(a++;a<l;){var c=a+(l-a>>>1);o(e,t[n+c])>0?a=c+1:l=c}return l}function r4(e,t,n,r,i,o){var a=0,s=0,l=1;if(o(e,t[n+i])<0){for(s=i+1;l<s&&o(e,t[n+i-l])<0;)a=l,(l=1+(l<<1))<=0&&(l=s);l>s&&(l=s);var u=a;a=i-l,l=i-u}else{for(s=r-i;l<s&&o(e,t[n+i+l])>=0;)a=l,(l=1+(l<<1))<=0&&(l=s);l>s&&(l=s),a+=i,l+=i}for(a++;a<l;){var c=a+(l-a>>>1);o(e,t[n+c])<0?l=c:a=c+1}return l}function i4(e,t){var n,r,i,o=7,a=0;n=e.length;var s=[];function l(n){var l=r[n],u=i[n],c=r[n+1],f=i[n+1];i[n]=u+f,n===a-3&&(r[n+1]=r[n+2],i[n+1]=i[n+2]),a--;var h=r4(e[c],e,l,u,0,t);l+=h,0!==(u-=h)&&0!==(f=n4(e[l+u-1],e,c,f,f-1,t))&&(u<=f?function(n,r,i,a){var l=0;for(l=0;l<r;l++)s[l]=e[n+l];var u=0,c=i,f=n;if(e[f++]=e[c++],0==--a){for(l=0;l<r;l++)e[f+l]=s[u+l];return}if(1===r){for(l=0;l<a;l++)e[f+l]=e[c+l];return void(e[f+a]=s[u])}var h,d,p,g=o;for(;;){h=0,d=0,p=!1;do{if(t(e[c],s[u])<0){if(e[f++]=e[c++],d++,h=0,0==--a){p=!0;break}}else if(e[f++]=s[u++],h++,d=0,1==--r){p=!0;break}}while((h|d)<g);if(p)break;do{if(0!==(h=r4(e[c],s,u,r,0,t))){for(l=0;l<h;l++)e[f+l]=s[u+l];if(f+=h,u+=h,(r-=h)<=1){p=!0;break}}if(e[f++]=e[c++],0==--a){p=!0;break}if(0!==(d=n4(s[u],e,c,a,0,t))){for(l=0;l<d;l++)e[f+l]=e[c+l];if(f+=d,c+=d,0===(a-=d)){p=!0;break}}if(e[f++]=s[u++],1==--r){p=!0;break}g--}while(h>=7||d>=7);if(p)break;g<0&&(g=0),g+=2}if((o=g)<1&&(o=1),1===r){for(l=0;l<a;l++)e[f+l]=e[c+l];e[f+a]=s[u]}else{if(0===r)throw new Error;for(l=0;l<r;l++)e[f+l]=s[u+l]}}(l,u,c,f):function(n,r,i,a){var l=0;for(l=0;l<a;l++)s[l]=e[i+l];var u=n+r-1,c=a-1,f=i+a-1,h=0,d=0;if(e[f--]=e[u--],0==--r){for(h=f-(a-1),l=0;l<a;l++)e[h+l]=s[l];return}if(1===a){for(d=(f-=r)+1,h=(u-=r)+1,l=r-1;l>=0;l--)e[d+l]=e[h+l];return void(e[f]=s[c])}var p=o;for(;;){var g=0,m=0,b=!1;do{if(t(s[c],e[u])<0){if(e[f--]=e[u--],g++,m=0,0==--r){b=!0;break}}else if(e[f--]=s[c--],m++,g=0,1==--a){b=!0;break}}while((g|m)<p);if(b)break;do{if(0!==(g=r-r4(s[c],e,n,r,r-1,t))){for(r-=g,d=(f-=g)+1,h=(u-=g)+1,l=g-1;l>=0;l--)e[d+l]=e[h+l];if(0===r){b=!0;break}}if(e[f--]=s[c--],1==--a){b=!0;break}if(0!==(m=a-n4(e[u],s,0,a,a-1,t))){for(a-=m,d=(f-=m)+1,h=(c-=m)+1,l=0;l<m;l++)e[d+l]=s[h+l];if(a<=1){b=!0;break}}if(e[f--]=e[u--],0==--r){b=!0;break}p--}while(g>=7||m>=7);if(b)break;p<0&&(p=0),p+=2}(o=p)<1&&(o=1);if(1===a){for(d=(f-=r)+1,h=(u-=r)+1,l=r-1;l>=0;l--)e[d+l]=e[h+l];e[f]=s[c]}else{if(0===a)throw new Error;for(h=f-(a-1),l=0;l<a;l++)e[h+l]=s[l]}}(l,u,c,f))}return n<120?5:n<1542?10:n<119151?19:40,r=[],i=[],{mergeRuns:function(){for(;a>1;){var e=a-2;if(e>=1&&i[e-1]<=i[e]+i[e+1]||e>=2&&i[e-2]<=i[e]+i[e-1])i[e-1]<i[e+1]&&e--;else if(i[e]>i[e+1])break;l(e)}},forceMergeRuns:function(){for(;a>1;){var e=a-2;e>0&&i[e-1]<i[e+1]&&e--,l(e)}},pushRun:function(e,t){r[a]=e,i[a]=t,a+=1}}}function o4(e,t,n,r){n||(n=0),r||(r=e.length);var i=r-n;if(!(i<2)){var o=0;if(i<32)t4(e,n,r,n+(o=e4(e,n,r,t)),t);else{var a=i4(e,t),s=function(e){for(var t=0;e>=32;)t|=1&e,e>>=1;return e+t}(i);do{if((o=e4(e,n,r,t))<s){var l=i;l>s&&(l=s),t4(e,n,n+l,n+o,t),o=l}a.pushRun(n,o),a.mergeRuns(),i-=o,n+=o}while(0!==i);a.forceMergeRuns()}}}var a4=!1;function s4(){a4||(a4=!0,console.warn("z / z2 / zlevel of displayable is invalid, which may cause unexpected errors"))}function l4(e,t){return e.zlevel===t.zlevel?e.z===t.z?e.z2-t.z2:e.z-t.z:e.zlevel-t.zlevel}var u4=function(){function e(){this._roots=[],this._displayList=[],this._displayListLen=0,this.displayableSortFunc=l4}return e.prototype.traverse=function(e,t){for(var n=0;n<this._roots.length;n++)this._roots[n].traverse(e,t)},e.prototype.getDisplayList=function(e,t){t=t||!1;var n=this._displayList;return!e&&n.length||this.updateDisplayList(t),n},e.prototype.updateDisplayList=function(e){this._displayListLen=0;for(var t=this._roots,n=this._displayList,r=0,i=t.length;r<i;r++)this._updateAndAddDisplayable(t[r],null,e);n.length=this._displayListLen,o4(n,l4)},e.prototype._updateAndAddDisplayable=function(e,t,n){if(!e.ignore||n){e.beforeUpdate(),e.update(),e.afterUpdate();var r=e.getClipPath();if(e.ignoreClip)t=null;else if(r){t=t?t.slice():[];for(var i=r,o=e;i;)i.parent=o,i.updateTransform(),t.push(i),o=i,i=i.getClipPath()}if(e.childrenRef){for(var a=e.childrenRef(),s=0;s<a.length;s++){var l=a[s];e.__dirty&&(l.__dirty|=1),this._updateAndAddDisplayable(l,t,n)}e.__dirty=0}else{var u=e;t&&t.length?u.__clipPaths=t:u.__clipPaths&&u.__clipPaths.length>0&&(u.__clipPaths=[]),isNaN(u.z)&&(s4(),u.z=0),isNaN(u.z2)&&(s4(),u.z2=0),isNaN(u.zlevel)&&(s4(),u.zlevel=0),this._displayList[this._displayListLen++]=u}var c=e.getDecalElement&&e.getDecalElement();c&&this._updateAndAddDisplayable(c,t,n);var f=e.getTextGuideLine();f&&this._updateAndAddDisplayable(f,t,n);var h=e.getTextContent();h&&this._updateAndAddDisplayable(h,t,n)}},e.prototype.addRoot=function(e){e.__zr&&e.__zr.storage===this||this._roots.push(e)},e.prototype.delRoot=function(e){if(e instanceof Array)for(var t=0,n=e.length;t<n;t++)this.delRoot(e[t]);else{var r=G2(this._roots,e);r>=0&&this._roots.splice(r,1)}},e.prototype.delAllRoots=function(){this._roots=[],this._displayList=[],this._displayListLen=0},e.prototype.getRoots=function(){return this._roots},e.prototype.dispose=function(){this._displayList=null,this._roots=null},e}();const c4=u4;const f4=v2.hasGlobalWindow&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(e){return setTimeout(e,16)};var h4={linear:function(e){return e},quadraticIn:function(e){return e*e},quadraticOut:function(e){return e*(2-e)},quadraticInOut:function(e){return(e*=2)<1?.5*e*e:-.5*(--e*(e-2)-1)},cubicIn:function(e){return e*e*e},cubicOut:function(e){return--e*e*e+1},cubicInOut:function(e){return(e*=2)<1?.5*e*e*e:.5*((e-=2)*e*e+2)},quarticIn:function(e){return e*e*e*e},quarticOut:function(e){return 1- --e*e*e*e},quarticInOut:function(e){return(e*=2)<1?.5*e*e*e*e:-.5*((e-=2)*e*e*e-2)},quinticIn:function(e){return e*e*e*e*e},quinticOut:function(e){return--e*e*e*e*e+1},quinticInOut:function(e){return(e*=2)<1?.5*e*e*e*e*e:.5*((e-=2)*e*e*e*e+2)},sinusoidalIn:function(e){return 1-Math.cos(e*Math.PI/2)},sinusoidalOut:function(e){return Math.sin(e*Math.PI/2)},sinusoidalInOut:function(e){return.5*(1-Math.cos(Math.PI*e))},exponentialIn:function(e){return 0===e?0:Math.pow(1024,e-1)},exponentialOut:function(e){return 1===e?1:1-Math.pow(2,-10*e)},exponentialInOut:function(e){return 0===e?0:1===e?1:(e*=2)<1?.5*Math.pow(1024,e-1):.5*(2-Math.pow(2,-10*(e-1)))},circularIn:function(e){return 1-Math.sqrt(1-e*e)},circularOut:function(e){return Math.sqrt(1- --e*e)},circularInOut:function(e){return(e*=2)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1)},elasticIn:function(e){var t,n=.1;return 0===e?0:1===e?1:(!n||n<1?(n=1,t=.1):t=.4*Math.asin(1/n)/(2*Math.PI),-n*Math.pow(2,10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/.4))},elasticOut:function(e){var t,n=.1;return 0===e?0:1===e?1:(!n||n<1?(n=1,t=.1):t=.4*Math.asin(1/n)/(2*Math.PI),n*Math.pow(2,-10*e)*Math.sin((e-t)*(2*Math.PI)/.4)+1)},elasticInOut:function(e){var t,n=.1,r=.4;return 0===e?0:1===e?1:(!n||n<1?(n=1,t=.1):t=r*Math.asin(1/n)/(2*Math.PI),(e*=2)<1?n*Math.pow(2,10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/r)*-.5:n*Math.pow(2,-10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/r)*.5+1)},backIn:function(e){var t=1.70158;return e*e*((t+1)*e-t)},backOut:function(e){var t=1.70158;return--e*e*((t+1)*e+t)+1},backInOut:function(e){var t=2.5949095;return(e*=2)<1?e*e*((t+1)*e-t)*.5:.5*((e-=2)*e*((t+1)*e+t)+2)},bounceIn:function(e){return 1-h4.bounceOut(1-e)},bounceOut:function(e){return e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375},bounceInOut:function(e){return e<.5?.5*h4.bounceIn(2*e):.5*h4.bounceOut(2*e-1)+.5}};const d4=h4;var p4=Math.pow,g4=Math.sqrt,m4=1e-8,b4=1e-4,v4=g4(3),y4=1/3,w4=D3(),x4=D3(),_4=D3();function S4(e){return e>-1e-8&&e<m4}function k4(e){return e>m4||e<-1e-8}function C4(e,t,n,r,i){var o=1-i;return o*o*(o*e+3*i*t)+i*i*(i*r+3*o*n)}function E4(e,t,n,r,i){var o=1-i;return 3*(((t-e)*o+2*(n-t)*i)*o+(r-n)*i*i)}function I4(e,t,n,r,i,o){var a=r+3*(t-n)-e,s=3*(n-2*t+e),l=3*(t-e),u=e-i,c=s*s-3*a*l,f=s*l-9*a*u,h=l*l-3*s*u,d=0;if(S4(c)&&S4(f)){if(S4(s))o[0]=0;else(k=-l/s)>=0&&k<=1&&(o[d++]=k)}else{var p=f*f-4*c*h;if(S4(p)){var g=f/c,m=-g/2;(k=-s/a+g)>=0&&k<=1&&(o[d++]=k),m>=0&&m<=1&&(o[d++]=m)}else if(p>0){var b=g4(p),v=c*s+1.5*a*(-f+b),y=c*s+1.5*a*(-f-b);(k=(-s-((v=v<0?-p4(-v,y4):p4(v,y4))+(y=y<0?-p4(-y,y4):p4(y,y4))))/(3*a))>=0&&k<=1&&(o[d++]=k)}else{var w=(2*c*s-3*a*f)/(2*g4(c*c*c)),x=Math.acos(w)/3,_=g4(c),S=Math.cos(x),k=(-s-2*_*S)/(3*a),C=(m=(-s+_*(S+v4*Math.sin(x)))/(3*a),(-s+_*(S-v4*Math.sin(x)))/(3*a));k>=0&&k<=1&&(o[d++]=k),m>=0&&m<=1&&(o[d++]=m),C>=0&&C<=1&&(o[d++]=C)}}return d}function M4(e,t,n,r,i){var o=6*n-12*t+6*e,a=9*t+3*r-3*e-9*n,s=3*t-3*e,l=0;if(S4(a)){if(k4(o))(c=-s/o)>=0&&c<=1&&(i[l++]=c)}else{var u=o*o-4*a*s;if(S4(u))i[0]=-o/(2*a);else if(u>0){var c,f=g4(u),h=(-o-f)/(2*a);(c=(-o+f)/(2*a))>=0&&c<=1&&(i[l++]=c),h>=0&&h<=1&&(i[l++]=h)}}return l}function T4(e,t,n,r,i,o){var a=(t-e)*i+e,s=(n-t)*i+t,l=(r-n)*i+n,u=(s-a)*i+a,c=(l-s)*i+s,f=(c-u)*i+u;o[0]=e,o[1]=a,o[2]=u,o[3]=f,o[4]=f,o[5]=c,o[6]=l,o[7]=r}function A4(e,t,n,r,i,o,a,s,l,u,c){var f,h,d,p,g,m=.005,b=1/0;w4[0]=l,w4[1]=u;for(var v=0;v<1;v+=.05)x4[0]=C4(e,n,i,a,v),x4[1]=C4(t,r,o,s,v),(p=U3(w4,x4))<b&&(f=v,b=p);b=1/0;for(var y=0;y<32&&!(m<b4);y++)h=f-m,d=f+m,x4[0]=C4(e,n,i,a,h),x4[1]=C4(t,r,o,s,h),p=U3(x4,w4),h>=0&&p<b?(f=h,b=p):(_4[0]=C4(e,n,i,a,d),_4[1]=C4(t,r,o,s,d),g=U3(_4,w4),d<=1&&g<b?(f=d,b=g):m*=.5);return c&&(c[0]=C4(e,n,i,a,f),c[1]=C4(t,r,o,s,f)),g4(b)}function P4(e,t,n,r,i,o,a,s,l){for(var u=e,c=t,f=0,h=1/l,d=1;d<=l;d++){var p=d*h,g=C4(e,n,i,a,p),m=C4(t,r,o,s,p),b=g-u,v=m-c;f+=Math.sqrt(b*b+v*v),u=g,c=m}return f}function O4(e,t,n,r){var i=1-r;return i*(i*e+2*r*t)+r*r*n}function D4(e,t,n,r){return 2*((1-r)*(t-e)+r*(n-t))}function R4(e,t,n){var r=e+n-2*t;return 0===r?.5:(e-t)/r}function L4(e,t,n,r,i){var o=(t-e)*r+e,a=(n-t)*r+t,s=(a-o)*r+o;i[0]=e,i[1]=o,i[2]=s,i[3]=s,i[4]=a,i[5]=n}function N4(e,t,n,r,i,o,a,s,l){var u,c=.005,f=1/0;w4[0]=a,w4[1]=s;for(var h=0;h<1;h+=.05){x4[0]=O4(e,n,i,h),x4[1]=O4(t,r,o,h),(m=U3(w4,x4))<f&&(u=h,f=m)}f=1/0;for(var d=0;d<32&&!(c<b4);d++){var p=u-c,g=u+c;x4[0]=O4(e,n,i,p),x4[1]=O4(t,r,o,p);var m=U3(x4,w4);if(p>=0&&m<f)u=p,f=m;else{_4[0]=O4(e,n,i,g),_4[1]=O4(t,r,o,g);var b=U3(_4,w4);g<=1&&b<f?(u=g,f=b):c*=.5}}return l&&(l[0]=O4(e,n,i,u),l[1]=O4(t,r,o,u)),g4(f)}function j4(e,t,n,r,i,o,a){for(var s=e,l=t,u=0,c=1/a,f=1;f<=a;f++){var h=f*c,d=O4(e,n,i,h),p=O4(t,r,o,h),g=d-s,m=p-l;u+=Math.sqrt(g*g+m*m),s=d,l=p}return u}var F4=/cubic-bezier\(([0-9,\.e ]+)\)/;function z4(e){var t=e&&F4.exec(e);if(t){var n=t[1].split(","),r=+b3(n[0]),i=+b3(n[1]),o=+b3(n[2]),a=+b3(n[3]);if(isNaN(r+i+o+a))return;var s=[];return function(e){return e<=0?0:e>=1?1:I4(0,r,o,1,e,s)&&C4(0,i,a,1,s[0])}}}var B4=function(){function e(e){this._inited=!1,this._startTime=0,this._pausedTime=0,this._paused=!1,this._life=e.life||1e3,this._delay=e.delay||0,this.loop=e.loop||!1,this.onframe=e.onframe||T3,this.ondestroy=e.ondestroy||T3,this.onrestart=e.onrestart||T3,e.easing&&this.setEasing(e.easing)}return e.prototype.step=function(e,t){if(this._inited||(this._startTime=e+this._delay,this._inited=!0),!this._paused){var n=this._life,r=e-this._startTime-this._pausedTime,i=r/n;i<0&&(i=0),i=Math.min(i,1);var o=this.easingFunc,a=o?o(i):i;if(this.onframe(a),1===i){if(!this.loop)return!0;var s=r%n;this._startTime=e-s,this._pausedTime=0,this.onrestart()}return!1}this._pausedTime+=t},e.prototype.pause=function(){this._paused=!0},e.prototype.resume=function(){this._paused=!1},e.prototype.setEasing=function(e){this.easing=e,this.easingFunc=t3(e)?e:d4[e]||z4(e)},e}();const V4=B4;var $4=function(e){this.value=e},H4=function(){function e(){this._len=0}return e.prototype.insert=function(e){var t=new $4(e);return this.insertEntry(t),t},e.prototype.insertEntry=function(e){this.head?(this.tail.next=e,e.prev=this.tail,e.next=null,this.tail=e):this.head=this.tail=e,this._len++},e.prototype.remove=function(e){var t=e.prev,n=e.next;t?t.next=n:this.head=n,n?n.prev=t:this.tail=t,e.next=e.prev=null,this._len--},e.prototype.len=function(){return this._len},e.prototype.clear=function(){this.head=this.tail=null,this._len=0},e}(),G4=function(){function e(e){this._list=new H4,this._maxSize=10,this._map={},this._maxSize=e}return e.prototype.put=function(e,t){var n=this._list,r=this._map,i=null;if(null==r[e]){var o=n.len(),a=this._lastRemovedEntry;if(o>=this._maxSize&&o>0){var s=n.head;n.remove(s),delete r[s.key],i=s.value,this._lastRemovedEntry=s}a?a.value=t:a=new $4(t),a.key=e,n.insertEntry(a),r[e]=a}return i},e.prototype.get=function(e){var t=this._map[e],n=this._list;if(null!=t)return t!==n.tail&&(n.remove(t),n.insertEntry(t)),t.value},e.prototype.clear=function(){this._list.clear(),this._map={}},e.prototype.len=function(){return this._list.len()},e}();const W4=G4;var U4={transparent:[0,0,0,0],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]};function q4(e){return(e=Math.round(e))<0?0:e>255?255:e}function X4(e){return e<0?0:e>1?1:e}function Y4(e){var t=e;return t.length&&"%"===t.charAt(t.length-1)?q4(parseFloat(t)/100*255):q4(parseInt(t,10))}function K4(e){var t=e;return t.length&&"%"===t.charAt(t.length-1)?X4(parseFloat(t)/100):X4(parseFloat(t))}function Z4(e,t,n){return n<0?n+=1:n>1&&(n-=1),6*n<1?e+(t-e)*n*6:2*n<1?t:3*n<2?e+(t-e)*(2/3-n)*6:e}function Q4(e,t,n){return e+(t-e)*n}function J4(e,t,n,r,i){return e[0]=t,e[1]=n,e[2]=r,e[3]=i,e}function e6(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e}var t6=new W4(20),n6=null;function r6(e,t){n6&&e6(n6,t),n6=t6.put(e,n6||t.slice())}function i6(e,t){if(e){t=t||[];var n=t6.get(e);if(n)return e6(t,n);var r=(e+="").replace(/ /g,"").toLowerCase();if(r in U4)return e6(t,U4[r]),r6(e,t),t;var i,o=r.length;if("#"===r.charAt(0))return 4===o||5===o?(i=parseInt(r.slice(1,4),16))>=0&&i<=4095?(J4(t,(3840&i)>>4|(3840&i)>>8,240&i|(240&i)>>4,15&i|(15&i)<<4,5===o?parseInt(r.slice(4),16)/15:1),r6(e,t),t):void J4(t,0,0,0,1):7===o||9===o?(i=parseInt(r.slice(1,7),16))>=0&&i<=16777215?(J4(t,(16711680&i)>>16,(65280&i)>>8,255&i,9===o?parseInt(r.slice(7),16)/255:1),r6(e,t),t):void J4(t,0,0,0,1):void 0;var a=r.indexOf("("),s=r.indexOf(")");if(-1!==a&&s+1===o){var l=r.substr(0,a),u=r.substr(a+1,s-(a+1)).split(","),c=1;switch(l){case"rgba":if(4!==u.length)return 3===u.length?J4(t,+u[0],+u[1],+u[2],1):J4(t,0,0,0,1);c=K4(u.pop());case"rgb":return u.length>=3?(J4(t,Y4(u[0]),Y4(u[1]),Y4(u[2]),3===u.length?c:K4(u[3])),r6(e,t),t):void J4(t,0,0,0,1);case"hsla":return 4!==u.length?void J4(t,0,0,0,1):(u[3]=K4(u[3]),o6(u,t),r6(e,t),t);case"hsl":return 3!==u.length?void J4(t,0,0,0,1):(o6(u,t),r6(e,t),t);default:return}}J4(t,0,0,0,1)}}function o6(e,t){var n=(parseFloat(e[0])%360+360)%360/360,r=K4(e[1]),i=K4(e[2]),o=i<=.5?i*(r+1):i+r-i*r,a=2*i-o;return J4(t=t||[],q4(255*Z4(a,o,n+1/3)),q4(255*Z4(a,o,n)),q4(255*Z4(a,o,n-1/3)),1),4===e.length&&(t[3]=e[3]),t}function a6(e,t){var n=i6(e);if(n){for(var r=0;r<3;r++)n[r]=t<0?n[r]*(1-t)|0:(255-n[r])*t+n[r]|0,n[r]>255?n[r]=255:n[r]<0&&(n[r]=0);return f6(n,4===n.length?"rgba":"rgb")}}function s6(e,t,n){if(t&&t.length&&e>=0&&e<=1){n=n||[];var r=e*(t.length-1),i=Math.floor(r),o=Math.ceil(r),a=t[i],s=t[o],l=r-i;return n[0]=q4(Q4(a[0],s[0],l)),n[1]=q4(Q4(a[1],s[1],l)),n[2]=q4(Q4(a[2],s[2],l)),n[3]=X4(Q4(a[3],s[3],l)),n}}function l6(e,t,n){if(t&&t.length&&e>=0&&e<=1){var r=e*(t.length-1),i=Math.floor(r),o=Math.ceil(r),a=i6(t[i]),s=i6(t[o]),l=r-i,u=f6([q4(Q4(a[0],s[0],l)),q4(Q4(a[1],s[1],l)),q4(Q4(a[2],s[2],l)),X4(Q4(a[3],s[3],l))],"rgba");return n?{color:u,leftIndex:i,rightIndex:o,value:r}:u}}function u6(e,t,n,r){var i=i6(e);if(e)return i=function(e){if(e){var t,n,r=e[0]/255,i=e[1]/255,o=e[2]/255,a=Math.min(r,i,o),s=Math.max(r,i,o),l=s-a,u=(s+a)/2;if(0===l)t=0,n=0;else{n=u<.5?l/(s+a):l/(2-s-a);var c=((s-r)/6+l/2)/l,f=((s-i)/6+l/2)/l,h=((s-o)/6+l/2)/l;r===s?t=h-f:i===s?t=1/3+c-h:o===s&&(t=2/3+f-c),t<0&&(t+=1),t>1&&(t-=1)}var d=[360*t,n,u];return null!=e[3]&&d.push(e[3]),d}}(i),null!=t&&(i[0]=function(e){return(e=Math.round(e))<0?0:e>360?360:e}(t)),null!=n&&(i[1]=K4(n)),null!=r&&(i[2]=K4(r)),f6(o6(i),"rgba")}function c6(e,t){var n=i6(e);if(n&&null!=t)return n[3]=X4(t),f6(n,"rgba")}function f6(e,t){if(e&&e.length){var n=e[0]+","+e[1]+","+e[2];return"rgba"!==t&&"hsva"!==t&&"hsla"!==t||(n+=","+e[3]),t+"("+n+")"}}function h6(e,t){var n=i6(e);return n?(.299*n[0]+.587*n[1]+.114*n[2])*n[3]/255+(1-n[3])*t:0}var d6=Math.round;function p6(e){var t;if(e&&"transparent"!==e){if("string"==typeof e&&e.indexOf("rgba")>-1){var n=i6(e);n&&(e="rgb("+n[0]+","+n[1]+","+n[2]+")",t=n[3])}}else e="none";return{color:e,opacity:null==t?1:t}}var g6=1e-4;function m6(e){return e<g6&&e>-1e-4}function b6(e){return d6(1e3*e)/1e3}function v6(e){return d6(1e4*e)/1e4}var y6={left:"start",right:"end",center:"middle",middle:"middle"};function w6(e){return e&&!!e.image}function x6(e){return w6(e)||function(e){return e&&!!e.svgElement}(e)}function _6(e){return"linear"===e.type}function S6(e){return"radial"===e.type}function k6(e){return e&&("linear"===e.type||"radial"===e.type)}function C6(e){return"url(#"+e+")"}function E6(e){var t=e.getGlobalScale(),n=Math.max(t[0],t[1]);return Math.max(Math.ceil(Math.log(n)/Math.log(10)),1)}function I6(e){var t=e.x||0,n=e.y||0,r=(e.rotation||0)*A3,i=h3(e.scaleX,1),o=h3(e.scaleY,1),a=e.skewX||0,s=e.skewY||0,l=[];return(t||n)&&l.push("translate("+t+"px,"+n+"px)"),r&&l.push("rotate("+r+")"),1===i&&1===o||l.push("scale("+i+","+o+")"),(a||s)&&l.push("skew("+d6(a*A3)+"deg, "+d6(s*A3)+"deg)"),l.join(" ")}var M6=v2.hasGlobalWindow&&t3(window.btoa)?function(e){return window.btoa(unescape(encodeURIComponent(e)))}:"undefined"!=typeof Buffer?function(e){return Buffer.from(e).toString("base64")}:function(e){return null},T6=Array.prototype.slice;function A6(e,t,n){return(t-e)*n+e}function P6(e,t,n,r){for(var i=t.length,o=0;o<i;o++)e[o]=A6(t[o],n[o],r);return e}function O6(e,t,n,r){for(var i=t.length,o=0;o<i;o++)e[o]=t[o]+n[o]*r;return e}function D6(e,t,n,r){for(var i=t.length,o=i&&t[0].length,a=0;a<i;a++){e[a]||(e[a]=[]);for(var s=0;s<o;s++)e[a][s]=t[a][s]+n[a][s]*r}return e}function R6(e,t){for(var n=e.length,r=t.length,i=n>r?t:e,o=Math.min(n,r),a=i[o-1]||{color:[0,0,0,0],offset:0},s=o;s<Math.max(n,r);s++)i.push({offset:a.offset,color:a.color.slice()})}function L6(e,t,n){var r=e,i=t;if(r.push&&i.push){var o=r.length,a=i.length;if(o!==a)if(o>a)r.length=a;else for(var s=o;s<a;s++)r.push(1===n?i[s]:T6.call(i[s]));var l=r[0]&&r[0].length;for(s=0;s<r.length;s++)if(1===n)isNaN(r[s])&&(r[s]=i[s]);else for(var u=0;u<l;u++)isNaN(r[s][u])&&(r[s][u]=i[s][u])}}function N6(e){if(U2(e)){var t=e.length;if(U2(e[0])){for(var n=[],r=0;r<t;r++)n.push(T6.call(e[r]));return n}return T6.call(e)}return e}function j6(e){return e[0]=Math.floor(e[0])||0,e[1]=Math.floor(e[1])||0,e[2]=Math.floor(e[2])||0,e[3]=null==e[3]?1:e[3],"rgba("+e.join(",")+")"}function F6(e){return 4===e||5===e}function z6(e){return 1===e||2===e}var B6=[0,0,0,0],V6=function(){function e(e){this.keyframes=[],this.discrete=!1,this._invalid=!1,this._needsSort=!1,this._lastFr=0,this._lastFrP=0,this.propName=e}return e.prototype.isFinished=function(){return this._finished},e.prototype.setFinished=function(){this._finished=!0,this._additiveTrack&&this._additiveTrack.setFinished()},e.prototype.needsAnimate=function(){return this.keyframes.length>=1},e.prototype.getAdditiveTrack=function(){return this._additiveTrack},e.prototype.addKeyframe=function(e,t,n){this._needsSort=!0;var r=this.keyframes,i=r.length,o=!1,a=6,s=t;if(U2(t)){var l=function(e){return U2(e&&e[0])?2:1}(t);a=l,(1===l&&!i3(t[0])||2===l&&!i3(t[0][0]))&&(o=!0)}else if(i3(t)&&!c3(t))a=0;else if(n3(t))if(isNaN(+t)){var u=i6(t);u&&(s=u,a=3)}else a=0;else if(u3(t)){var c=$2({},s);c.colorStops=X2(t.colorStops,(function(e){return{offset:e.offset,color:i6(e.color)}})),_6(t)?a=4:S6(t)&&(a=5),s=c}0===i?this.valType=a:a===this.valType&&6!==a||(o=!0),this.discrete=this.discrete||o;var f={time:e,value:s,rawValue:t,percent:0};return n&&(f.easing=n,f.easingFunc=t3(n)?n:d4[n]||z4(n)),r.push(f),f},e.prototype.prepare=function(e,t){var n=this.keyframes;this._needsSort&&n.sort((function(e,t){return e.time-t.time}));for(var r=this.valType,i=n.length,o=n[i-1],a=this.discrete,s=z6(r),l=F6(r),u=0;u<i;u++){var c=n[u],f=c.value,h=o.value;c.percent=c.time/e,a||(s&&u!==i-1?L6(f,h,r):l&&R6(f.colorStops,h.colorStops))}if(!a&&5!==r&&t&&this.needsAnimate()&&t.needsAnimate()&&r===t.valType&&!t._finished){this._additiveTrack=t;var d=n[0].value;for(u=0;u<i;u++)0===r?n[u].additiveValue=n[u].value-d:3===r?n[u].additiveValue=O6([],n[u].value,d,-1):z6(r)&&(n[u].additiveValue=1===r?O6([],n[u].value,d,-1):D6([],n[u].value,d,-1))}},e.prototype.step=function(e,t){if(!this._finished){this._additiveTrack&&this._additiveTrack._finished&&(this._additiveTrack=null);var n,r,i,o=null!=this._additiveTrack,a=o?"additiveValue":"value",s=this.valType,l=this.keyframes,u=l.length,c=this.propName,f=3===s,h=this._lastFr,d=Math.min;if(1===u)r=i=l[0];else{if(t<0)n=0;else if(t<this._lastFrP){for(n=d(h+1,u-1);n>=0&&!(l[n].percent<=t);n--);n=d(n,u-2)}else{for(n=h;n<u&&!(l[n].percent>t);n++);n=d(n-1,u-2)}i=l[n+1],r=l[n]}if(r&&i){this._lastFr=n,this._lastFrP=t;var p=i.percent-r.percent,g=0===p?1:d((t-r.percent)/p,1);i.easingFunc&&(g=i.easingFunc(g));var m=o?this._additiveValue:f?B6:e[c];if(!z6(s)&&!f||m||(m=this._additiveValue=[]),this.discrete)e[c]=g<1?r.rawValue:i.rawValue;else if(z6(s))1===s?P6(m,r[a],i[a],g):function(e,t,n,r){for(var i=t.length,o=i&&t[0].length,a=0;a<i;a++){e[a]||(e[a]=[]);for(var s=0;s<o;s++)e[a][s]=A6(t[a][s],n[a][s],r)}}(m,r[a],i[a],g);else if(F6(s)){var b=r[a],v=i[a],y=4===s;e[c]={type:y?"linear":"radial",x:A6(b.x,v.x,g),y:A6(b.y,v.y,g),colorStops:X2(b.colorStops,(function(e,t){var n=v.colorStops[t];return{offset:A6(e.offset,n.offset,g),color:j6(P6([],e.color,n.color,g))}})),global:v.global},y?(e[c].x2=A6(b.x2,v.x2,g),e[c].y2=A6(b.y2,v.y2,g)):e[c].r=A6(b.r,v.r,g)}else if(f)P6(m,r[a],i[a],g),o||(e[c]=j6(m));else{var w=A6(r[a],i[a],g);o?this._additiveValue=w:e[c]=w}o&&this._addToTarget(e)}}},e.prototype._addToTarget=function(e){var t=this.valType,n=this.propName,r=this._additiveValue;0===t?e[n]=e[n]+r:3===t?(i6(e[n],B6),O6(B6,B6,r,1),e[n]=j6(B6)):1===t?O6(e[n],e[n],r,1):2===t&&D6(e[n],e[n],r,1)},e}(),$6=function(){function e(e,t,n,r){this._tracks={},this._trackKeys=[],this._maxTime=0,this._started=0,this._clip=null,this._target=e,this._loop=t,t&&r?F2("Can' use additive animation on looped animation."):(this._additiveAnimators=r,this._allowDiscrete=n)}return e.prototype.getMaxTime=function(){return this._maxTime},e.prototype.getDelay=function(){return this._delay},e.prototype.getLoop=function(){return this._loop},e.prototype.getTarget=function(){return this._target},e.prototype.changeTarget=function(e){this._target=e},e.prototype.when=function(e,t,n){return this.whenWithKeys(e,t,Z2(t),n)},e.prototype.whenWithKeys=function(e,t,n,r){for(var i=this._tracks,o=0;o<n.length;o++){var a=n[o],s=i[a];if(!s){s=i[a]=new V6(a);var l=void 0,u=this._getAdditiveTrack(a);if(u){var c=u.keyframes,f=c[c.length-1];l=f&&f.value,3===u.valType&&l&&(l=j6(l))}else l=this._target[a];if(null==l)continue;e>0&&s.addKeyframe(0,N6(l),r),this._trackKeys.push(a)}s.addKeyframe(e,N6(t[a]),r)}return this._maxTime=Math.max(this._maxTime,e),this},e.prototype.pause=function(){this._clip.pause(),this._paused=!0},e.prototype.resume=function(){this._clip.resume(),this._paused=!1},e.prototype.isPaused=function(){return!!this._paused},e.prototype.duration=function(e){return this._maxTime=e,this._force=!0,this},e.prototype._doneCallback=function(){this._setTracksFinished(),this._clip=null;var e=this._doneCbs;if(e)for(var t=e.length,n=0;n<t;n++)e[n].call(this)},e.prototype._abortedCallback=function(){this._setTracksFinished();var e=this.animation,t=this._abortedCbs;if(e&&e.removeClip(this._clip),this._clip=null,t)for(var n=0;n<t.length;n++)t[n].call(this)},e.prototype._setTracksFinished=function(){for(var e=this._tracks,t=this._trackKeys,n=0;n<t.length;n++)e[t[n]].setFinished()},e.prototype._getAdditiveTrack=function(e){var t,n=this._additiveAnimators;if(n)for(var r=0;r<n.length;r++){var i=n[r].getTrack(e);i&&(t=i)}return t},e.prototype.start=function(e){if(!(this._started>0)){this._started=1;for(var t=this,n=[],r=this._maxTime||0,i=0;i<this._trackKeys.length;i++){var o=this._trackKeys[i],a=this._tracks[o],s=this._getAdditiveTrack(o),l=a.keyframes,u=l.length;if(a.prepare(r,s),a.needsAnimate())if(!this._allowDiscrete&&a.discrete){var c=l[u-1];c&&(t._target[a.propName]=c.rawValue),a.setFinished()}else n.push(a)}if(n.length||this._force){var f=new V4({life:r,loop:this._loop,delay:this._delay||0,onframe:function(e){t._started=2;var r=t._additiveAnimators;if(r){for(var i=!1,o=0;o<r.length;o++)if(r[o]._clip){i=!0;break}i||(t._additiveAnimators=null)}for(o=0;o<n.length;o++)n[o].step(t._target,e);var a=t._onframeCbs;if(a)for(o=0;o<a.length;o++)a[o](t._target,e)},ondestroy:function(){t._doneCallback()}});this._clip=f,this.animation&&this.animation.addClip(f),e&&f.setEasing(e)}else this._doneCallback();return this}},e.prototype.stop=function(e){if(this._clip){var t=this._clip;e&&t.onframe(1),this._abortedCallback()}},e.prototype.delay=function(e){return this._delay=e,this},e.prototype.during=function(e){return e&&(this._onframeCbs||(this._onframeCbs=[]),this._onframeCbs.push(e)),this},e.prototype.done=function(e){return e&&(this._doneCbs||(this._doneCbs=[]),this._doneCbs.push(e)),this},e.prototype.aborted=function(e){return e&&(this._abortedCbs||(this._abortedCbs=[]),this._abortedCbs.push(e)),this},e.prototype.getClip=function(){return this._clip},e.prototype.getTrack=function(e){return this._tracks[e]},e.prototype.getTracks=function(){var e=this;return X2(this._trackKeys,(function(t){return e._tracks[t]}))},e.prototype.stopTracks=function(e,t){if(!e.length||!this._clip)return!0;for(var n=this._tracks,r=this._trackKeys,i=0;i<e.length;i++){var o=n[e[i]];o&&!o.isFinished()&&(t?o.step(this._target,1):1===this._started&&o.step(this._target,0),o.setFinished())}var a=!0;for(i=0;i<r.length;i++)if(!n[r[i]].isFinished()){a=!1;break}return a&&this._abortedCallback(),a},e.prototype.saveTo=function(e,t,n){if(e){t=t||this._trackKeys;for(var r=0;r<t.length;r++){var i=t[r],o=this._tracks[i];if(o&&!o.isFinished()){var a=o.keyframes,s=a[n?0:a.length-1];s&&(e[i]=N6(s.rawValue))}}}},e.prototype.__changeFinalValue=function(e,t){t=t||Z2(e);for(var n=0;n<t.length;n++){var r=t[n],i=this._tracks[r];if(i){var o=i.keyframes;if(o.length>1){var a=o.pop();i.addKeyframe(a.time,e[r]),i.prepare(this._maxTime,i.getAdditiveTrack())}}}},e}();const H6=$6;function G6(){return(new Date).getTime()}var W6=function(e){function t(t){var n=e.call(this)||this;return n._running=!1,n._time=0,n._pausedTime=0,n._pauseStart=0,n._paused=!1,t=t||{},n.stage=t.stage||{},n}return O3(t,e),t.prototype.addClip=function(e){e.animation&&this.removeClip(e),this._head?(this._tail.next=e,e.prev=this._tail,e.next=null,this._tail=e):this._head=this._tail=e,e.animation=this},t.prototype.addAnimator=function(e){e.animation=this;var t=e.getClip();t&&this.addClip(t)},t.prototype.removeClip=function(e){if(e.animation){var t=e.prev,n=e.next;t?t.next=n:this._head=n,n?n.prev=t:this._tail=t,e.next=e.prev=e.animation=null}},t.prototype.removeAnimator=function(e){var t=e.getClip();t&&this.removeClip(t),e.animation=null},t.prototype.update=function(e){for(var t=G6()-this._pausedTime,n=t-this._time,r=this._head;r;){var i=r.next;r.step(t,n)?(r.ondestroy(),this.removeClip(r),r=i):r=i}this._time=t,e||(this.trigger("frame",n),this.stage.update&&this.stage.update())},t.prototype._startLoop=function(){var e=this;this._running=!0,f4((function t(){e._running&&(f4(t),!e._paused&&e.update())}))},t.prototype.start=function(){this._running||(this._time=G6(),this._pausedTime=0,this._startLoop())},t.prototype.stop=function(){this._running=!1},t.prototype.pause=function(){this._paused||(this._pauseStart=G6(),this._paused=!0)},t.prototype.resume=function(){this._paused&&(this._pausedTime+=G6()-this._pauseStart,this._paused=!1)},t.prototype.clear=function(){for(var e=this._head;e;){var t=e.next;e.prev=e.next=e.animation=null,e=t}this._head=this._tail=null},t.prototype.isFinished=function(){return null==this._head},t.prototype.animate=function(e,t){t=t||{},this.start();var n=new H6(e,t.loop);return this.addAnimator(n),n},t}(t5);const U6=W6;var q6,X6,Y6=v2.domSupported,K6=(X6={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},{mouse:q6=["click","dblclick","mousewheel","wheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],touch:["touchstart","touchend","touchmove"],pointer:X2(q6,(function(e){var t=e.replace("mouse","pointer");return X6.hasOwnProperty(t)?t:e}))}),Z6=["mousemove","mouseup"],Q6=["pointermove","pointerup"],J6=!1;function e8(e){var t=e.pointerType;return"pen"===t||"touch"===t}function t8(e){e&&(e.zrByTouch=!0)}function n8(e,t){for(var n=t,r=!1;n&&9!==n.nodeType&&!(r=n.domBelongToZr||n!==t&&n===e.painterRoot);)n=n.parentNode;return r}var r8=function(e,t){this.stopPropagation=T3,this.stopImmediatePropagation=T3,this.preventDefault=T3,this.type=t.type,this.target=this.currentTarget=e.dom,this.pointerType=t.pointerType,this.clientX=t.clientX,this.clientY=t.clientY},i8={mousedown:function(e){e=b5(this.dom,e),this.__mayPointerCapture=[e.zrX,e.zrY],this.trigger("mousedown",e)},mousemove:function(e){e=b5(this.dom,e);var t=this.__mayPointerCapture;!t||e.zrX===t[0]&&e.zrY===t[1]||this.__togglePointerCapture(!0),this.trigger("mousemove",e)},mouseup:function(e){e=b5(this.dom,e),this.__togglePointerCapture(!1),this.trigger("mouseup",e)},mouseout:function(e){n8(this,(e=b5(this.dom,e)).toElement||e.relatedTarget)||(this.__pointerCapturing&&(e.zrEventControl="no_globalout"),this.trigger("mouseout",e))},wheel:function(e){J6=!0,e=b5(this.dom,e),this.trigger("mousewheel",e)},mousewheel:function(e){J6||(e=b5(this.dom,e),this.trigger("mousewheel",e))},touchstart:function(e){t8(e=b5(this.dom,e)),this.__lastTouchMoment=new Date,this.handler.processGesture(e,"start"),i8.mousemove.call(this,e),i8.mousedown.call(this,e)},touchmove:function(e){t8(e=b5(this.dom,e)),this.handler.processGesture(e,"change"),i8.mousemove.call(this,e)},touchend:function(e){t8(e=b5(this.dom,e)),this.handler.processGesture(e,"end"),i8.mouseup.call(this,e),+new Date-+this.__lastTouchMoment<300&&i8.click.call(this,e)},pointerdown:function(e){i8.mousedown.call(this,e)},pointermove:function(e){e8(e)||i8.mousemove.call(this,e)},pointerup:function(e){i8.mouseup.call(this,e)},pointerout:function(e){e8(e)||i8.mouseout.call(this,e)}};q2(["click","dblclick","contextmenu"],(function(e){i8[e]=function(t){t=b5(this.dom,t),this.trigger(e,t)}}));var o8={pointermove:function(e){e8(e)||o8.mousemove.call(this,e)},pointerup:function(e){o8.mouseup.call(this,e)},mousemove:function(e){this.trigger("mousemove",e)},mouseup:function(e){var t=this.__pointerCapturing;this.__togglePointerCapture(!1),this.trigger("mouseup",e),t&&(e.zrEventControl="only_globalout",this.trigger("mouseout",e))}};function a8(e,t){var n=t.domHandlers;v2.pointerEventsSupported?q2(K6.pointer,(function(r){l8(t,r,(function(t){n[r].call(e,t)}))})):(v2.touchEventsSupported&&q2(K6.touch,(function(r){l8(t,r,(function(i){n[r].call(e,i),function(e){e.touching=!0,null!=e.touchTimer&&(clearTimeout(e.touchTimer),e.touchTimer=null),e.touchTimer=setTimeout((function(){e.touching=!1,e.touchTimer=null}),700)}(t)}))})),q2(K6.mouse,(function(r){l8(t,r,(function(i){i=m5(i),t.touching||n[r].call(e,i)}))})))}function s8(e,t){function n(n){l8(t,n,(function(r){r=m5(r),n8(e,r.target)||(r=function(e,t){return b5(e.dom,new r8(e,t),!0)}(e,r),t.domHandlers[n].call(e,r))}),{capture:!0})}v2.pointerEventsSupported?q2(Q6,n):v2.touchEventsSupported||q2(Z6,n)}function l8(e,t,n,r){e.mounted[t]=n,e.listenerOpts[t]=r,v5(e.domTarget,t,n,r)}function u8(e){var t,n,r,i,o=e.mounted;for(var a in o)o.hasOwnProperty(a)&&(t=e.domTarget,n=a,r=o[a],i=e.listenerOpts[a],t.removeEventListener(n,r,i));e.mounted={}}var c8=function(e,t){this.mounted={},this.listenerOpts={},this.touching=!1,this.domTarget=e,this.domHandlers=t};const f8=function(e){function t(t,n){var r=e.call(this)||this;return r.__pointerCapturing=!1,r.dom=t,r.painterRoot=n,r._localHandlerScope=new c8(t,i8),Y6&&(r._globalHandlerScope=new c8(document,o8)),a8(r,r._localHandlerScope),r}return O3(t,e),t.prototype.dispose=function(){u8(this._localHandlerScope),Y6&&u8(this._globalHandlerScope)},t.prototype.setCursor=function(e){this.dom.style&&(this.dom.style.cursor=e||"default")},t.prototype.__togglePointerCapture=function(e){if(this.__mayPointerCapture=null,Y6&&+this.__pointerCapturing^+e){this.__pointerCapturing=e;var t=this._globalHandlerScope;e?s8(this,t):u8(t)}},t}(t5);var h8=1;v2.hasGlobalWindow&&(h8=Math.max(window.devicePixelRatio||window.screen&&window.screen.deviceXDPI/window.screen.logicalXDPI||1,1));var d8=h8,p8="#333",g8="#ccc",m8=k5,b8=5e-5;function v8(e){return e>b8||e<-5e-5}var y8=[],w8=[],x8=[1,0,0,1,0,0],_8=Math.abs,S8=function(){function e(){}return e.prototype.getLocalTransform=function(t){return e.getLocalTransform(this,t)},e.prototype.setPosition=function(e){this.x=e[0],this.y=e[1]},e.prototype.setScale=function(e){this.scaleX=e[0],this.scaleY=e[1]},e.prototype.setSkew=function(e){this.skewX=e[0],this.skewY=e[1]},e.prototype.setOrigin=function(e){this.originX=e[0],this.originY=e[1]},e.prototype.needLocalTransform=function(){return v8(this.rotation)||v8(this.x)||v8(this.y)||v8(this.scaleX-1)||v8(this.scaleY-1)||v8(this.skewX)||v8(this.skewY)},e.prototype.updateTransform=function(){var e=this.parent&&this.parent.transform,t=this.needLocalTransform(),n=this.transform;t||e?(n=n||[1,0,0,1,0,0],t?this.getLocalTransform(n):m8(n),e&&(t?E5(n,e,n):C5(n,e)),this.transform=n,this._resolveGlobalScaleRatio(n)):n&&m8(n)},e.prototype._resolveGlobalScaleRatio=function(e){var t=this.globalScaleRatio;if(null!=t&&1!==t){this.getGlobalScale(y8);var n=y8[0]<0?-1:1,r=y8[1]<0?-1:1,i=((y8[0]-n)*t+n)/y8[0]||0,o=((y8[1]-r)*t+r)/y8[1]||0;e[0]*=i,e[1]*=i,e[2]*=o,e[3]*=o}this.invTransform=this.invTransform||[1,0,0,1,0,0],A5(this.invTransform,e)},e.prototype.getComputedTransform=function(){for(var e=this,t=[];e;)t.push(e),e=e.parent;for(;e=t.pop();)e.updateTransform();return this.transform},e.prototype.setLocalTransform=function(e){if(e){var t=e[0]*e[0]+e[1]*e[1],n=e[2]*e[2]+e[3]*e[3],r=Math.atan2(e[1],e[0]),i=Math.PI/2+r-Math.atan2(e[3],e[2]);n=Math.sqrt(n)*Math.cos(i),t=Math.sqrt(t),this.skewX=i,this.skewY=0,this.rotation=-r,this.x=+e[4],this.y=+e[5],this.scaleX=t,this.scaleY=n,this.originX=0,this.originY=0}},e.prototype.decomposeTransform=function(){if(this.transform){var e=this.parent,t=this.transform;e&&e.transform&&(E5(w8,e.invTransform,t),t=w8);var n=this.originX,r=this.originY;(n||r)&&(x8[4]=n,x8[5]=r,E5(w8,t,x8),w8[4]-=n,w8[5]-=r,t=w8),this.setLocalTransform(t)}},e.prototype.getGlobalScale=function(e){var t=this.transform;return e=e||[],t?(e[0]=Math.sqrt(t[0]*t[0]+t[1]*t[1]),e[1]=Math.sqrt(t[2]*t[2]+t[3]*t[3]),t[0]<0&&(e[0]=-e[0]),t[3]<0&&(e[1]=-e[1]),e):(e[0]=1,e[1]=1,e)},e.prototype.transformCoordToLocal=function(e,t){var n=[e,t],r=this.invTransform;return r&&X3(n,n,r),n},e.prototype.transformCoordToGlobal=function(e,t){var n=[e,t],r=this.transform;return r&&X3(n,n,r),n},e.prototype.getLineScale=function(){var e=this.transform;return e&&_8(e[0]-1)>1e-10&&_8(e[3]-1)>1e-10?Math.sqrt(_8(e[0]*e[3]-e[2]*e[1])):1},e.prototype.copyTransform=function(e){C8(this,e)},e.getLocalTransform=function(e,t){t=t||[];var n=e.originX||0,r=e.originY||0,i=e.scaleX,o=e.scaleY,a=e.anchorX,s=e.anchorY,l=e.rotation||0,u=e.x,c=e.y,f=e.skewX?Math.tan(e.skewX):0,h=e.skewY?Math.tan(-e.skewY):0;if(n||r||a||s){var d=n+a,p=r+s;t[4]=-d*i-f*p*o,t[5]=-p*o-h*d*i}else t[4]=t[5]=0;return t[0]=i,t[3]=o,t[1]=h*i,t[2]=f*o,l&&M5(t,t,l),t[4]+=n+u,t[5]+=r+c,t},e.initDefaultProps=function(){var t=e.prototype;t.scaleX=t.scaleY=t.globalScaleRatio=1,t.x=t.y=t.originX=t.originY=t.skewX=t.skewY=t.rotation=t.anchorX=t.anchorY=0}(),e}(),k8=["x","y","originX","originY","anchorX","anchorY","rotation","scaleX","scaleY","skewX","skewY"];function C8(e,t){for(var n=0;n<k8.length;n++){var r=k8[n];e[r]=t[r]}}const E8=S8;var I8={};function M8(e,t){var n=I8[t=t||w2];n||(n=I8[t]=new W4(500));var r=n.get(e);return null==r&&(r=k2.measureText(e,t).width,n.put(e,r)),r}function T8(e,t,n,r){var i=M8(e,t),o=D8(t),a=P8(0,i,n),s=O8(0,o,r);return new $5(a,s,i,o)}function A8(e,t,n,r){var i=((e||"")+"").split("\n");if(1===i.length)return T8(i[0],t,n,r);for(var o=new $5(0,0,0,0),a=0;a<i.length;a++){var s=T8(i[a],t,n,r);0===a?o.copy(s):o.union(s)}return o}function P8(e,t,n){return"right"===n?e-=t:"center"===n&&(e-=t/2),e}function O8(e,t,n){return"middle"===n?e-=t/2:"bottom"===n&&(e-=t),e}function D8(e){return M8("国",e)}function R8(e,t){return"string"==typeof e?e.lastIndexOf("%")>=0?parseFloat(e)/100*t:parseFloat(e):e}function L8(e,t,n){var r=t.position||"inside",i=null!=t.distance?t.distance:5,o=n.height,a=n.width,s=o/2,l=n.x,u=n.y,c="left",f="top";if(r instanceof Array)l+=R8(r[0],n.width),u+=R8(r[1],n.height),c=null,f=null;else switch(r){case"left":l-=i,u+=s,c="right",f="middle";break;case"right":l+=i+a,u+=s,f="middle";break;case"top":l+=a/2,u-=i,c="center",f="bottom";break;case"bottom":l+=a/2,u+=o+i,c="center";break;case"inside":l+=a/2,u+=s,c="center",f="middle";break;case"insideLeft":l+=i,u+=s,f="middle";break;case"insideRight":l+=a-i,u+=s,c="right",f="middle";break;case"insideTop":l+=a/2,u+=i,c="center";break;case"insideBottom":l+=a/2,u+=o-i,c="center",f="bottom";break;case"insideTopLeft":l+=i,u+=i;break;case"insideTopRight":l+=a-i,u+=i,c="right";break;case"insideBottomLeft":l+=i,u+=o-i,f="bottom";break;case"insideBottomRight":l+=a-i,u+=o-i,c="right",f="bottom"}return(e=e||{}).x=l,e.y=u,e.align=c,e.verticalAlign=f,e}var N8="__zr_normal__",j8=k8.concat(["ignore"]),F8=Y2(k8,(function(e,t){return e[t]=!0,e}),{ignore:!1}),z8={},B8=new $5(0,0,0,0),V8=function(){function e(e){this.id=j2(),this.animators=[],this.currentStates=[],this.states={},this._init(e)}return e.prototype._init=function(e){this.attr(e)},e.prototype.drift=function(e,t,n){switch(this.draggable){case"horizontal":t=0;break;case"vertical":e=0}var r=this.transform;r||(r=this.transform=[1,0,0,1,0,0]),r[4]+=e,r[5]+=t,this.decomposeTransform(),this.markRedraw()},e.prototype.beforeUpdate=function(){},e.prototype.afterUpdate=function(){},e.prototype.update=function(){this.updateTransform(),this.__dirty&&this.updateInnerText()},e.prototype.updateInnerText=function(e){var t=this._textContent;if(t&&(!t.ignore||e)){this.textConfig||(this.textConfig={});var n=this.textConfig,r=n.local,i=t.innerTransformable,o=void 0,a=void 0,s=!1;i.parent=r?this:null;var l=!1;if(i.copyTransform(t),null!=n.position){var u=B8;n.layoutRect?u.copy(n.layoutRect):u.copy(this.getBoundingRect()),r||u.applyTransform(this.transform),this.calculateTextPosition?this.calculateTextPosition(z8,n,u):L8(z8,n,u),i.x=z8.x,i.y=z8.y,o=z8.align,a=z8.verticalAlign;var c=n.origin;if(c&&null!=n.rotation){var f=void 0,h=void 0;"center"===c?(f=.5*u.width,h=.5*u.height):(f=R8(c[0],u.width),h=R8(c[1],u.height)),l=!0,i.originX=-i.x+f+(r?0:u.x),i.originY=-i.y+h+(r?0:u.y)}}null!=n.rotation&&(i.rotation=n.rotation);var d=n.offset;d&&(i.x+=d[0],i.y+=d[1],l||(i.originX=-d[0],i.originY=-d[1]));var p=null==n.inside?"string"==typeof n.position&&n.position.indexOf("inside")>=0:n.inside,g=this._innerTextDefaultStyle||(this._innerTextDefaultStyle={}),m=void 0,b=void 0,v=void 0;p&&this.canBeInsideText()?(m=n.insideFill,b=n.insideStroke,null!=m&&"auto"!==m||(m=this.getInsideTextFill()),null!=b&&"auto"!==b||(b=this.getInsideTextStroke(m),v=!0)):(m=n.outsideFill,b=n.outsideStroke,null!=m&&"auto"!==m||(m=this.getOutsideFill()),null!=b&&"auto"!==b||(b=this.getOutsideStroke(m),v=!0)),(m=m||"#000")===g.fill&&b===g.stroke&&v===g.autoStroke&&o===g.align&&a===g.verticalAlign||(s=!0,g.fill=m,g.stroke=b,g.autoStroke=v,g.align=o,g.verticalAlign=a,t.setDefaultTextStyle(g)),t.__dirty|=1,s&&t.dirtyStyle(!0)}},e.prototype.canBeInsideText=function(){return!0},e.prototype.getInsideTextFill=function(){return"#fff"},e.prototype.getInsideTextStroke=function(e){return"#000"},e.prototype.getOutsideFill=function(){return this.__zr&&this.__zr.isDarkMode()?g8:p8},e.prototype.getOutsideStroke=function(e){var t=this.__zr&&this.__zr.getBackgroundColor(),n="string"==typeof t&&i6(t);n||(n=[255,255,255,1]);for(var r=n[3],i=this.__zr.isDarkMode(),o=0;o<3;o++)n[o]=n[o]*r+(i?0:255)*(1-r);return n[3]=1,f6(n,"rgba")},e.prototype.traverse=function(e,t){},e.prototype.attrKV=function(e,t){"textConfig"===e?this.setTextConfig(t):"textContent"===e?this.setTextContent(t):"clipPath"===e?this.setClipPath(t):"extra"===e?(this.extra=this.extra||{},$2(this.extra,t)):this[e]=t},e.prototype.hide=function(){this.ignore=!0,this.markRedraw()},e.prototype.show=function(){this.ignore=!1,this.markRedraw()},e.prototype.attr=function(e,t){if("string"==typeof e)this.attrKV(e,t);else if(o3(e))for(var n=Z2(e),r=0;r<n.length;r++){var i=n[r];this.attrKV(i,e[i])}return this.markRedraw(),this},e.prototype.saveCurrentToNormalState=function(e){this._innerSaveToNormal(e);for(var t=this._normalState,n=0;n<this.animators.length;n++){var r=this.animators[n],i=r.__fromStateTransition;if(!(r.getLoop()||i&&i!==N8)){var o=r.targetName,a=o?t[o]:t;r.saveTo(a)}}},e.prototype._innerSaveToNormal=function(e){var t=this._normalState;t||(t=this._normalState={}),e.textConfig&&!t.textConfig&&(t.textConfig=this.textConfig),this._savePrimaryToNormal(e,t,j8)},e.prototype._savePrimaryToNormal=function(e,t,n){for(var r=0;r<n.length;r++){var i=n[r];null==e[i]||i in t||(t[i]=this[i])}},e.prototype.hasState=function(){return this.currentStates.length>0},e.prototype.getState=function(e){return this.states[e]},e.prototype.ensureState=function(e){var t=this.states;return t[e]||(t[e]={}),t[e]},e.prototype.clearStates=function(e){this.useState(N8,!1,e)},e.prototype.useState=function(e,t,n,r){var i=e===N8;if(this.hasState()||!i){var o=this.currentStates,a=this.stateTransition;if(!(G2(o,e)>=0)||!t&&1!==o.length){var s;if(this.stateProxy&&!i&&(s=this.stateProxy(e)),s||(s=this.states&&this.states[e]),s||i){i||this.saveCurrentToNormalState(s);var l=!!(s&&s.hoverLayer||r);l&&this._toggleHoverLayerFlag(!0),this._applyStateObj(e,s,this._normalState,t,!n&&!this.__inHover&&a&&a.duration>0,a);var u=this._textContent,c=this._textGuide;return u&&u.useState(e,t,n,l),c&&c.useState(e,t,n,l),i?(this.currentStates=[],this._normalState={}):t?this.currentStates.push(e):this.currentStates=[e],this._updateAnimationTargets(),this.markRedraw(),!l&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=-2),s}F2("State "+e+" not exists.")}}},e.prototype.useStates=function(e,t,n){if(e.length){var r=[],i=this.currentStates,o=e.length,a=o===i.length;if(a)for(var s=0;s<o;s++)if(e[s]!==i[s]){a=!1;break}if(a)return;for(s=0;s<o;s++){var l=e[s],u=void 0;this.stateProxy&&(u=this.stateProxy(l,e)),u||(u=this.states[l]),u&&r.push(u)}var c=r[o-1],f=!!(c&&c.hoverLayer||n);f&&this._toggleHoverLayerFlag(!0);var h=this._mergeStates(r),d=this.stateTransition;this.saveCurrentToNormalState(h),this._applyStateObj(e.join(","),h,this._normalState,!1,!t&&!this.__inHover&&d&&d.duration>0,d);var p=this._textContent,g=this._textGuide;p&&p.useStates(e,t,f),g&&g.useStates(e,t,f),this._updateAnimationTargets(),this.currentStates=e.slice(),this.markRedraw(),!f&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=-2)}else this.clearStates()},e.prototype._updateAnimationTargets=function(){for(var e=0;e<this.animators.length;e++){var t=this.animators[e];t.targetName&&t.changeTarget(this[t.targetName])}},e.prototype.removeState=function(e){var t=G2(this.currentStates,e);if(t>=0){var n=this.currentStates.slice();n.splice(t,1),this.useStates(n)}},e.prototype.replaceState=function(e,t,n){var r=this.currentStates.slice(),i=G2(r,e),o=G2(r,t)>=0;i>=0?o?r.splice(i,1):r[i]=t:n&&!o&&r.push(t),this.useStates(r)},e.prototype.toggleState=function(e,t){t?this.useState(e,!0):this.removeState(e)},e.prototype._mergeStates=function(e){for(var t,n={},r=0;r<e.length;r++){var i=e[r];$2(n,i),i.textConfig&&$2(t=t||{},i.textConfig)}return t&&(n.textConfig=t),n},e.prototype._applyStateObj=function(e,t,n,r,i,o){var a=!(t&&r);t&&t.textConfig?(this.textConfig=$2({},r?this.textConfig:n.textConfig),$2(this.textConfig,t.textConfig)):a&&n.textConfig&&(this.textConfig=n.textConfig);for(var s={},l=!1,u=0;u<j8.length;u++){var c=j8[u],f=i&&F8[c];t&&null!=t[c]?f?(l=!0,s[c]=t[c]):this[c]=t[c]:a&&null!=n[c]&&(f?(l=!0,s[c]=n[c]):this[c]=n[c])}if(!i)for(u=0;u<this.animators.length;u++){var h=this.animators[u],d=h.targetName;h.getLoop()||h.__changeFinalValue(d?(t||n)[d]:t||n)}l&&this._transitionState(e,s,o)},e.prototype._attachComponent=function(e){if((!e.__zr||e.__hostTarget)&&e!==this){var t=this.__zr;t&&e.addSelfToZr(t),e.__zr=t,e.__hostTarget=this}},e.prototype._detachComponent=function(e){e.__zr&&e.removeSelfFromZr(e.__zr),e.__zr=null,e.__hostTarget=null},e.prototype.getClipPath=function(){return this._clipPath},e.prototype.setClipPath=function(e){this._clipPath&&this._clipPath!==e&&this.removeClipPath(),this._attachComponent(e),this._clipPath=e,this.markRedraw()},e.prototype.removeClipPath=function(){var e=this._clipPath;e&&(this._detachComponent(e),this._clipPath=null,this.markRedraw())},e.prototype.getTextContent=function(){return this._textContent},e.prototype.setTextContent=function(e){var t=this._textContent;t!==e&&(t&&t!==e&&this.removeTextContent(),e.innerTransformable=new E8,this._attachComponent(e),this._textContent=e,this.markRedraw())},e.prototype.setTextConfig=function(e){this.textConfig||(this.textConfig={}),$2(this.textConfig,e),this.markRedraw()},e.prototype.removeTextConfig=function(){this.textConfig=null,this.markRedraw()},e.prototype.removeTextContent=function(){var e=this._textContent;e&&(e.innerTransformable=null,this._detachComponent(e),this._textContent=null,this._innerTextDefaultStyle=null,this.markRedraw())},e.prototype.getTextGuideLine=function(){return this._textGuide},e.prototype.setTextGuideLine=function(e){this._textGuide&&this._textGuide!==e&&this.removeTextGuideLine(),this._attachComponent(e),this._textGuide=e,this.markRedraw()},e.prototype.removeTextGuideLine=function(){var e=this._textGuide;e&&(this._detachComponent(e),this._textGuide=null,this.markRedraw())},e.prototype.markRedraw=function(){this.__dirty|=1;var e=this.__zr;e&&(this.__inHover?e.refreshHover():e.refresh()),this.__hostTarget&&this.__hostTarget.markRedraw()},e.prototype.dirty=function(){this.markRedraw()},e.prototype._toggleHoverLayerFlag=function(e){this.__inHover=e;var t=this._textContent,n=this._textGuide;t&&(t.__inHover=e),n&&(n.__inHover=e)},e.prototype.addSelfToZr=function(e){if(this.__zr!==e){this.__zr=e;var t=this.animators;if(t)for(var n=0;n<t.length;n++)e.animation.addAnimator(t[n]);this._clipPath&&this._clipPath.addSelfToZr(e),this._textContent&&this._textContent.addSelfToZr(e),this._textGuide&&this._textGuide.addSelfToZr(e)}},e.prototype.removeSelfFromZr=function(e){if(this.__zr){this.__zr=null;var t=this.animators;if(t)for(var n=0;n<t.length;n++)e.animation.removeAnimator(t[n]);this._clipPath&&this._clipPath.removeSelfFromZr(e),this._textContent&&this._textContent.removeSelfFromZr(e),this._textGuide&&this._textGuide.removeSelfFromZr(e)}},e.prototype.animate=function(e,t,n){var r=e?this[e]:this;var i=new H6(r,t,n);return e&&(i.targetName=e),this.addAnimator(i,e),i},e.prototype.addAnimator=function(e,t){var n=this.__zr,r=this;e.during((function(){r.updateDuringAnimation(t)})).done((function(){var t=r.animators,n=G2(t,e);n>=0&&t.splice(n,1)})),this.animators.push(e),n&&n.animation.addAnimator(e),n&&n.wakeUp()},e.prototype.updateDuringAnimation=function(e){this.markRedraw()},e.prototype.stopAnimation=function(e,t){for(var n=this.animators,r=n.length,i=[],o=0;o<r;o++){var a=n[o];e&&e!==a.scope?i.push(a):a.stop(t)}return this.animators=i,this},e.prototype.animateTo=function(e,t,n){$8(this,e,t,n)},e.prototype.animateFrom=function(e,t,n){$8(this,e,t,n,!0)},e.prototype._transitionState=function(e,t,n,r){for(var i=$8(this,t,n,r),o=0;o<i.length;o++)i[o].__fromStateTransition=e},e.prototype.getBoundingRect=function(){return null},e.prototype.getPaintRect=function(){return null},e.initDefaultProps=function(){var t=e.prototype;t.type="element",t.name="",t.ignore=t.silent=t.isGroup=t.draggable=t.dragging=t.ignoreClip=t.__inHover=!1,t.__dirty=1;function n(e,n,r,i){function o(e,t){Object.defineProperty(t,0,{get:function(){return e[r]},set:function(t){e[r]=t}}),Object.defineProperty(t,1,{get:function(){return e[i]},set:function(t){e[i]=t}})}Object.defineProperty(t,e,{get:function(){this[n]||o(this,this[n]=[]);return this[n]},set:function(e){this[r]=e[0],this[i]=e[1],this[n]=e,o(this,e)}})}Object.defineProperty&&(n("position","_legacyPos","x","y"),n("scale","_legacyScale","scaleX","scaleY"),n("origin","_legacyOrigin","originX","originY"))}(),e}();function $8(e,t,n,r,i){var o=[];W8(e,"",e,t,n=n||{},r,o,i);var a=o.length,s=!1,l=n.done,u=n.aborted,c=function(){s=!0,--a<=0&&(s?l&&l():u&&u())},f=function(){--a<=0&&(s?l&&l():u&&u())};a||l&&l(),o.length>0&&n.during&&o[0].during((function(e,t){n.during(t)}));for(var h=0;h<o.length;h++){var d=o[h];c&&d.done(c),f&&d.aborted(f),n.force&&d.duration(n.duration),d.start(n.easing)}return o}function H8(e,t,n){for(var r=0;r<n;r++)e[r]=t[r]}function G8(e,t,n){if(U2(t[n]))if(U2(e[n])||(e[n]=[]),s3(t[n])){var r=t[n].length;e[n].length!==r&&(e[n]=new t[n].constructor(r),H8(e[n],t[n],r))}else{var i=t[n],o=e[n],a=i.length;if(U2(i[0]))for(var s=i[0].length,l=0;l<a;l++)o[l]?H8(o[l],i[l],s):o[l]=Array.prototype.slice.call(i[l]);else H8(o,i,a);o.length=i.length}else e[n]=t[n]}function W8(e,t,n,r,i,o,a,s){for(var l=Z2(r),u=i.duration,c=i.delay,f=i.additive,h=i.setToFinal,d=!o3(o),p=e.animators,g=[],m=0;m<l.length;m++){var b=l[m],v=r[b];if(null!=v&&null!=n[b]&&(d||o[b]))if(!o3(v)||U2(v)||u3(v))g.push(b);else{if(t){s||(n[b]=v,e.updateDuringAnimation(t));continue}W8(e,b,n[b],v,i,o&&o[b],a,s)}else s||(n[b]=v,e.updateDuringAnimation(t),g.push(b))}var y=g.length;if(!f&&y)for(var w=0;w<p.length;w++){if((_=p[w]).targetName===t)if(_.stopTracks(g)){var x=G2(p,_);p.splice(x,1)}}if(i.force||(g=K2(g,(function(e){return t=r[e],i=n[e],!(t===i||U2(t)&&U2(i)&&function(e,t){var n=e.length;if(n!==t.length)return!1;for(var r=0;r<n;r++)if(e[r]!==t[r])return!1;return!0}(t,i));var t,i})),y=g.length),y>0||i.force&&!a.length){var _,S=void 0,k=void 0,C=void 0;if(s){k={},h&&(S={});for(w=0;w<y;w++){k[b=g[w]]=n[b],h?S[b]=r[b]:n[b]=r[b]}}else if(h){C={};for(w=0;w<y;w++){C[b=g[w]]=N6(n[b]),G8(n,r,b)}}(_=new H6(n,!1,!1,f?K2(p,(function(e){return e.targetName===t})):null)).targetName=t,i.scope&&(_.scope=i.scope),h&&S&&_.whenWithKeys(0,S,g),C&&_.whenWithKeys(0,C,g),_.whenWithKeys(null==u?500:u,s?k:r,g).delay(c||0),e.addAnimator(_,t),a.push(_)}}W2(V8,t5),W2(V8,E8);const U8=V8;var q8=function(e){function t(t){var n=e.call(this)||this;return n.isGroup=!0,n._children=[],n.attr(t),n}return O3(t,e),t.prototype.childrenRef=function(){return this._children},t.prototype.children=function(){return this._children.slice()},t.prototype.childAt=function(e){return this._children[e]},t.prototype.childOfName=function(e){for(var t=this._children,n=0;n<t.length;n++)if(t[n].name===e)return t[n]},t.prototype.childCount=function(){return this._children.length},t.prototype.add=function(e){return e&&e!==this&&e.parent!==this&&(this._children.push(e),this._doAdd(e)),this},t.prototype.addBefore=function(e,t){if(e&&e!==this&&e.parent!==this&&t&&t.parent===this){var n=this._children,r=n.indexOf(t);r>=0&&(n.splice(r,0,e),this._doAdd(e))}return this},t.prototype.replace=function(e,t){var n=G2(this._children,e);return n>=0&&this.replaceAt(t,n),this},t.prototype.replaceAt=function(e,t){var n=this._children,r=n[t];if(e&&e!==this&&e.parent!==this&&e!==r){n[t]=e,r.parent=null;var i=this.__zr;i&&r.removeSelfFromZr(i),this._doAdd(e)}return this},t.prototype._doAdd=function(e){e.parent&&e.parent.remove(e),e.parent=this;var t=this.__zr;t&&t!==e.__zr&&e.addSelfToZr(t),t&&t.refresh()},t.prototype.remove=function(e){var t=this.__zr,n=this._children,r=G2(n,e);return r<0||(n.splice(r,1),e.parent=null,t&&e.removeSelfFromZr(t),t&&t.refresh()),this},t.prototype.removeAll=function(){for(var e=this._children,t=this.__zr,n=0;n<e.length;n++){var r=e[n];t&&r.removeSelfFromZr(t),r.parent=null}return e.length=0,this},t.prototype.eachChild=function(e,t){for(var n=this._children,r=0;r<n.length;r++){var i=n[r];e.call(t,i,r)}return this},t.prototype.traverse=function(e,t){for(var n=0;n<this._children.length;n++){var r=this._children[n],i=e.call(t,r);r.isGroup&&!i&&r.traverse(e,t)}return this},t.prototype.addSelfToZr=function(t){e.prototype.addSelfToZr.call(this,t);for(var n=0;n<this._children.length;n++){this._children[n].addSelfToZr(t)}},t.prototype.removeSelfFromZr=function(t){e.prototype.removeSelfFromZr.call(this,t);for(var n=0;n<this._children.length;n++){this._children[n].removeSelfFromZr(t)}},t.prototype.getBoundingRect=function(e){for(var t=new $5(0,0,0,0),n=e||this._children,r=[],i=null,o=0;o<n.length;o++){var a=n[o];if(!a.ignore&&!a.invisible){var s=a.getBoundingRect(),l=a.getLocalTransform(r);l?($5.applyTransform(t,s,l),(i=i||t.clone()).union(t)):(i=i||s.clone()).union(s)}}return i||t},t}(U8);q8.prototype.type="group";const X8=q8;var Y8={},K8={};var Z8=function(){function e(e,t,n){var r=this;this._sleepAfterStill=10,this._stillFrameAccum=0,this._needsRefresh=!0,this._needsRefreshHover=!0,this._darkMode=!1,n=n||{},this.dom=t,this.id=e;var i=new c4,o=n.renderer||"canvas";Y8[o]||(o=Z2(Y8)[0]),n.useDirtyRect=null!=n.useDirtyRect&&n.useDirtyRect;var a=new Y8[o](t,i,n,e),s=n.ssr||a.ssrOnly;this.storage=i,this.painter=a;var l,u=v2.node||v2.worker||s?null:new f8(a.getViewportRoot(),a.root),c=n.useCoarsePointer;(null==c||"auto"===c?v2.touchEventsSupported:!!c)&&(l=h3(n.pointerSize,44)),this.handler=new J5(i,a,u,a.root,l),this.animation=new U6({stage:{update:s?null:function(){return r._flush(!0)}}}),s||this.animation.start()}return e.prototype.add=function(e){e&&(this.storage.addRoot(e),e.addSelfToZr(this),this.refresh())},e.prototype.remove=function(e){e&&(this.storage.delRoot(e),e.removeSelfFromZr(this),this.refresh())},e.prototype.configLayer=function(e,t){this.painter.configLayer&&this.painter.configLayer(e,t),this.refresh()},e.prototype.setBackgroundColor=function(e){this.painter.setBackgroundColor&&this.painter.setBackgroundColor(e),this.refresh(),this._backgroundColor=e,this._darkMode=function(e){if(!e)return!1;if("string"==typeof e)return h6(e,1)<.4;if(e.colorStops){for(var t=e.colorStops,n=0,r=t.length,i=0;i<r;i++)n+=h6(t[i].color,1);return(n/=r)<.4}return!1}(e)},e.prototype.getBackgroundColor=function(){return this._backgroundColor},e.prototype.setDarkMode=function(e){this._darkMode=e},e.prototype.isDarkMode=function(){return this._darkMode},e.prototype.refreshImmediately=function(e){e||this.animation.update(!0),this._needsRefresh=!1,this.painter.refresh(),this._needsRefresh=!1},e.prototype.refresh=function(){this._needsRefresh=!0,this.animation.start()},e.prototype.flush=function(){this._flush(!1)},e.prototype._flush=function(e){var t,n=G6();this._needsRefresh&&(t=!0,this.refreshImmediately(e)),this._needsRefreshHover&&(t=!0,this.refreshHoverImmediately());var r=G6();t?(this._stillFrameAccum=0,this.trigger("rendered",{elapsedTime:r-n})):this._sleepAfterStill>0&&(this._stillFrameAccum++,this._stillFrameAccum>this._sleepAfterStill&&this.animation.stop())},e.prototype.setSleepAfterStill=function(e){this._sleepAfterStill=e},e.prototype.wakeUp=function(){this.animation.start(),this._stillFrameAccum=0},e.prototype.refreshHover=function(){this._needsRefreshHover=!0},e.prototype.refreshHoverImmediately=function(){this._needsRefreshHover=!1,this.painter.refreshHover&&"canvas"===this.painter.getType()&&this.painter.refreshHover()},e.prototype.resize=function(e){e=e||{},this.painter.resize(e.width,e.height),this.handler.resize()},e.prototype.clearAnimation=function(){this.animation.clear()},e.prototype.getWidth=function(){return this.painter.getWidth()},e.prototype.getHeight=function(){return this.painter.getHeight()},e.prototype.setCursorStyle=function(e){this.handler.setCursorStyle(e)},e.prototype.findHover=function(e,t){return this.handler.findHover(e,t)},e.prototype.on=function(e,t,n){return this.handler.on(e,t,n),this},e.prototype.off=function(e,t){this.handler.off(e,t)},e.prototype.trigger=function(e,t){this.handler.trigger(e,t)},e.prototype.clear=function(){for(var e=this.storage.getRoots(),t=0;t<e.length;t++)e[t]instanceof X8&&e[t].removeSelfFromZr(this);this.storage.delAllRoots(),this.painter.clear()},e.prototype.dispose=function(){this.animation.stop(),this.clear(),this.storage.dispose(),this.painter.dispose(),this.handler.dispose(),this.animation=this.storage=this.painter=this.handler=null,function(e){delete K8[e]}(this.id)},e}();function Q8(e,t){var n=new Z8(j2(),e,t);return K8[n.id]=n,n}var J8=1e-4;function e9(e,t,n,r){var i=t[0],o=t[1],a=n[0],s=n[1],l=o-i,u=s-a;if(0===l)return 0===u?a:(a+s)/2;if(r)if(l>0){if(e<=i)return a;if(e>=o)return s}else{if(e>=i)return a;if(e<=o)return s}else{if(e===i)return a;if(e===o)return s}return(e-i)/l*u+a}function t9(e,t){switch(e){case"center":case"middle":e="50%";break;case"left":case"top":e="0%";break;case"right":case"bottom":e="100%"}return n3(e)?(n=e,n.replace(/^\s+|\s+$/g,"")).match(/%$/)?parseFloat(e)/100*t:parseFloat(e):null==e?NaN:+e;var n}function n9(e,t,n){return null==t&&(t=10),t=Math.min(Math.max(0,t),20),e=(+e).toFixed(t),n?e:+e}function r9(e){return e.sort((function(e,t){return e-t})),e}function i9(e){if(e=+e,isNaN(e))return 0;if(e>1e-14)for(var t=1,n=0;n<15;n++,t*=10)if(Math.round(e*t)/t===e)return n;return function(e){var t=e.toString().toLowerCase(),n=t.indexOf("e"),r=n>0?+t.slice(n+1):0,i=n>0?n:t.length,o=t.indexOf("."),a=o<0?0:i-1-o;return Math.max(0,a-r)}(e)}function o9(e,t){var n=Math.log,r=Math.LN10,i=Math.floor(n(e[1]-e[0])/r),o=Math.round(n(Math.abs(t[1]-t[0]))/r),a=Math.min(Math.max(-i+o,0),20);return isFinite(a)?a:20}function a9(e,t){var n=Y2(e,(function(e,t){return e+(isNaN(t)?0:t)}),0);if(0===n)return[];for(var r=Math.pow(10,t),i=X2(e,(function(e){return(isNaN(e)?0:e)/n*r*100})),o=100*r,a=X2(i,(function(e){return Math.floor(e)})),s=Y2(a,(function(e,t){return e+t}),0),l=X2(i,(function(e,t){return e-a[t]}));s<o;){for(var u=Number.NEGATIVE_INFINITY,c=null,f=0,h=l.length;f<h;++f)l[f]>u&&(u=l[f],c=f);++a[c],l[c]=0,++s}return X2(a,(function(e){return e/r}))}function s9(e,t){var n=Math.max(i9(e),i9(t)),r=e+t;return n>20?r:n9(r,n)}var l9=9007199254740991;function u9(e){var t=2*Math.PI;return(e%t+t)%t}function c9(e){return e>-1e-4&&e<J8}var f9=/^(?:(\d{4})(?:[-\/](\d{1,2})(?:[-\/](\d{1,2})(?:[T ](\d{1,2})(?::(\d{1,2})(?::(\d{1,2})(?:[.,](\d+))?)?)?(Z|[\+\-]\d\d:?\d\d)?)?)?)?)?$/;function h9(e){if(e instanceof Date)return e;if(n3(e)){var t=f9.exec(e);if(!t)return new Date(NaN);if(t[8]){var n=+t[4]||0;return"Z"!==t[8].toUpperCase()&&(n-=+t[8].slice(0,3)),new Date(Date.UTC(+t[1],+(t[2]||1)-1,+t[3]||1,n,+(t[5]||0),+t[6]||0,t[7]?+t[7].substring(0,3):0))}return new Date(+t[1],+(t[2]||1)-1,+t[3]||1,+t[4]||0,+(t[5]||0),+t[6]||0,t[7]?+t[7].substring(0,3):0)}return null==e?new Date(NaN):new Date(Math.round(e))}function d9(e){if(0===e)return 0;var t=Math.floor(Math.log(e)/Math.LN10);return e/Math.pow(10,t)>=10&&t++,t}function p9(e,t){var n=d9(e),r=Math.pow(10,n),i=e/r;return e=(t?i<1.5?1:i<2.5?2:i<4?3:i<7?5:10:i<1?1:i<2?2:i<3?3:i<5?5:10)*r,n>=-20?+e.toFixed(n<0?-n:0):e}function g9(e,t){var n=(e.length-1)*t+1,r=Math.floor(n),i=+e[r-1],o=n-r;return o?i+o*(e[r]-i):i}function m9(e){e.sort((function(e,t){return s(e,t,0)?-1:1}));for(var t=-1/0,n=1,r=0;r<e.length;){for(var i=e[r].interval,o=e[r].close,a=0;a<2;a++)i[a]<=t&&(i[a]=t,o[a]=a?1:1-n),t=i[a],n=o[a];i[0]===i[1]&&o[0]*o[1]!=1?e.splice(r,1):r++}return e;function s(e,t,n){return e.interval[n]<t.interval[n]||e.interval[n]===t.interval[n]&&(e.close[n]-t.close[n]==(n?-1:1)||!n&&s(e,t,1))}}function b9(e){var t=parseFloat(e);return t==e&&(0!==t||!n3(e)||e.indexOf("x")<=0)?t:NaN}function v9(e){return!isNaN(b9(e))}function y9(){return Math.round(9*Math.random())}function w9(e,t){return 0===t?e:w9(t,e%t)}function x9(e,t){return null==e?t:null==t?e:e*t/w9(e,t)}function _9(e,t,n){return(t-e)*n+e}var S9="series\0",k9="\0_ec_\0";function C9(e){return e instanceof Array?e:null==e?[]:[e]}function E9(e,t,n){if(e){e[t]=e[t]||{},e.emphasis=e.emphasis||{},e.emphasis[t]=e.emphasis[t]||{};for(var r=0,i=n.length;r<i;r++){var o=n[r];!e.emphasis[t].hasOwnProperty(o)&&e[t].hasOwnProperty(o)&&(e.emphasis[t][o]=e[t][o])}}}var I9=["fontStyle","fontWeight","fontSize","fontFamily","rich","tag","color","textBorderColor","textBorderWidth","width","height","lineHeight","align","verticalAlign","baseline","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY","backgroundColor","borderColor","borderWidth","borderRadius","padding"];function M9(e){return!o3(e)||e3(e)||e instanceof Date?e:e.value}function T9(e){return o3(e)&&!(e instanceof Array)}function A9(e,t,n){var r="normalMerge"===n,i="replaceMerge"===n,o="replaceAll"===n;e=e||[],t=(t||[]).slice();var a=k3();q2(t,(function(e,n){o3(e)||(t[n]=null)}));var s,l,u=function(e,t,n){var r=[];if("replaceAll"===n)return r;for(var i=0;i<e.length;i++){var o=e[i];o&&null!=o.id&&t.set(o.id,i),r.push({existing:"replaceMerge"===n||L9(o)?null:o,newOption:null,keyInfo:null,brandNew:null})}return r}(e,a,n);return(r||i)&&function(e,t,n,r){q2(r,(function(i,o){if(i&&null!=i.id){var a=O9(i.id),s=n.get(a);if(null!=s){var l=e[s];m3(!l.newOption,'Duplicated option on id "'+a+'".'),l.newOption=i,l.existing=t[s],r[o]=null}}}))}(u,e,a,t),r&&function(e,t){q2(t,(function(n,r){if(n&&null!=n.name)for(var i=0;i<e.length;i++){var o=e[i].existing;if(!e[i].newOption&&o&&(null==o.id||null==n.id)&&!L9(n)&&!L9(o)&&P9("name",o,n))return e[i].newOption=n,void(t[r]=null)}}))}(u,t),r||i?function(e,t,n){q2(t,(function(t){if(t){for(var r,i=0;(r=e[i])&&(r.newOption||L9(r.existing)||r.existing&&null!=t.id&&!P9("id",t,r.existing));)i++;r?(r.newOption=t,r.brandNew=n):e.push({newOption:t,brandNew:n,existing:null,keyInfo:null}),i++}}))}(u,t,i):o&&function(e,t){q2(t,(function(t){e.push({newOption:t,brandNew:!0,existing:null,keyInfo:null})}))}(u,t),s=u,l=k3(),q2(s,(function(e){var t=e.existing;t&&l.set(t.id,e)})),q2(s,(function(e){var t=e.newOption;m3(!t||null==t.id||!l.get(t.id)||l.get(t.id)===e,"id duplicates: "+(t&&t.id)),t&&null!=t.id&&l.set(t.id,e),!e.keyInfo&&(e.keyInfo={})})),q2(s,(function(e,t){var n=e.existing,r=e.newOption,i=e.keyInfo;if(o3(r)){if(i.name=null!=r.name?O9(r.name):n?n.name:S9+t,n)i.id=O9(n.id);else if(null!=r.id)i.id=O9(r.id);else{var o=0;do{i.id="\0"+i.name+"\0"+o++}while(l.get(i.id))}l.set(i.id,e)}})),u}function P9(e,t,n){var r=D9(t[e],null),i=D9(n[e],null);return null!=r&&null!=i&&r===i}function O9(e){return D9(e,"")}function D9(e,t){return null==e?t:n3(e)?e:i3(e)||r3(e)?e+"":t}function R9(e){var t=e.name;return!(!t||!t.indexOf(S9))}function L9(e){return e&&null!=e.id&&0===O9(e.id).indexOf(k9)}function N9(e,t){return null!=t.dataIndexInside?t.dataIndexInside:null!=t.dataIndex?e3(t.dataIndex)?X2(t.dataIndex,(function(t){return e.indexOfRawIndex(t)})):e.indexOfRawIndex(t.dataIndex):null!=t.name?e3(t.name)?X2(t.name,(function(t){return e.indexOfName(t)})):e.indexOfName(t.name):void 0}function j9(){var e="__ec_inner_"+F9++;return function(t){return t[e]||(t[e]={})}}var F9=y9();function z9(e,t,n){var r=B9(t,n),i=r.mainTypeSpecified,o=r.queryOptionMap,a=r.others,s=n?n.defaultMainType:null;return!i&&s&&o.set(s,{}),o.each((function(t,r){var i=H9(e,r,t,{useDefault:s===r,enableAll:!n||null==n.enableAll||n.enableAll,enableNone:!n||null==n.enableNone||n.enableNone});a[r+"Models"]=i.models,a[r+"Model"]=i.models[0]})),a}function B9(e,t){var n;if(n3(e)){var r={};r[e+"Index"]=0,n=r}else n=e;var i=k3(),o={},a=!1;return q2(n,(function(e,n){if("dataIndex"!==n&&"dataIndexInside"!==n){var r=n.match(/^(\w+)(Index|Id|Name)$/)||[],s=r[1],l=(r[2]||"").toLowerCase();if(s&&l&&!(t&&t.includeMainTypes&&G2(t.includeMainTypes,s)<0))a=a||!!s,(i.get(s)||i.set(s,{}))[l]=e}else o[n]=e})),{mainTypeSpecified:a,queryOptionMap:i,others:o}}var V9={useDefault:!0,enableAll:!1,enableNone:!1},$9={useDefault:!1,enableAll:!0,enableNone:!0};function H9(e,t,n,r){r=r||V9;var i=n.index,o=n.id,a=n.name,s={models:null,specified:null!=i||null!=o||null!=a};if(!s.specified){var l=void 0;return s.models=r.useDefault&&(l=e.getComponent(t))?[l]:[],s}return"none"===i||!1===i?(m3(r.enableNone,'`"none"` or `false` is not a valid value on index option.'),s.models=[],s):("all"===i&&(m3(r.enableAll,'`"all"` is not a valid value on index option.'),i=o=a=null),s.models=e.queryComponents({mainType:t,index:i,id:o,name:a}),s)}function G9(e,t,n){e.setAttribute?e.setAttribute(t,n):e[t]=n}function W9(e,t){var n=k3(),r=[];return q2(e,(function(e){var i=t(e);(n.get(i)||(r.push(i),n.set(i,[]))).push(e)})),{keys:r,buckets:n}}function U9(e,t,n,r,i){var o=null==t||"auto"===t;if(null==r)return r;if(i3(r))return n9(p=_9(n||0,r,i),o?Math.max(i9(n||0),i9(r)):t);if(n3(r))return i<1?n:r;for(var a=[],s=n,l=r,u=Math.max(s?s.length:0,l.length),c=0;c<u;++c){var f=e.getDimensionInfo(c);if(f&&"ordinal"===f.type)a[c]=(i<1&&s?s:l)[c];else{var h=s&&s[c]?s[c]:0,d=l[c],p=_9(h,d,i);a[c]=n9(p,o?Math.max(i9(h),i9(d)):t)}}return a}var q9="___EC__COMPONENT__CONTAINER___",X9="___EC__EXTENDED_CLASS___";function Y9(e){var t={main:"",sub:""};if(e){var n=e.split(".");t.main=n[0]||"",t.sub=n[1]||""}return t}function K9(e,t){e.$constructor=e,e.extend=function(e){var t,n,r=this;return t3(n=r)&&/^class\s/.test(Function.prototype.toString.call(n))?t=function(e){function t(){return e.apply(this,arguments)||this}return g2(t,e),t}(r):(t=function(){(e.$constructor||r).apply(this,arguments)},function(e,t){var n=e.prototype;function r(){}for(var i in r.prototype=t.prototype,e.prototype=new r,n)n.hasOwnProperty(i)&&(e.prototype[i]=n[i]);e.prototype.constructor=e,e.superClass=t}(t,this)),$2(t.prototype,e),t[X9]=!0,t.extend=this.extend,t.superCall=J9,t.superApply=e7,t.superClass=r,t}}function Z9(e,t){e.extend=t.extend}var Q9=Math.round(10*Math.random());function J9(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];return this.superClass.prototype[t].apply(e,n)}function e7(e,t,n){return this.superClass.prototype[t].apply(e,n)}function t7(e){var t={};e.registerClass=function(e){var n,r=e.type||e.prototype.type;if(r){m3(/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(n=r),'componentType "'+n+'" illegal'),e.prototype.type=r;var i=Y9(r);if(i.sub){if(i.sub!==q9){var o=function(e){var n=t[e.main];n&&n[q9]||((n=t[e.main]={})[q9]=!0);return n}(i);o[i.sub]=e}}else t[i.main]=e}return e},e.getClass=function(e,n,r){var i=t[e];if(i&&i[q9]&&(i=n?i[n]:null),r&&!i)throw new Error(n?"Component "+e+"."+(n||"")+" is used but not imported.":e+".type should be specified.");return i},e.getClassesByMainType=function(e){var n=Y9(e),r=[],i=t[n.main];return i&&i[q9]?q2(i,(function(e,t){t!==q9&&r.push(e)})):r.push(i),r},e.hasClass=function(e){var n=Y9(e);return!!t[n.main]},e.getAllClassMainTypes=function(){var e=[];return q2(t,(function(t,n){e.push(n)})),e},e.hasSubTypes=function(e){var n=Y9(e),r=t[n.main];return r&&r[q9]}}function n7(e,t){for(var n=0;n<e.length;n++)e[n][1]||(e[n][1]=e[n][0]);return t=t||!1,function(n,r,i){for(var o={},a=0;a<e.length;a++){var s=e[a][1];if(!(r&&G2(r,s)>=0||i&&G2(i,s)<0)){var l=n.getShallow(s,t);null!=l&&(o[e[a][0]]=l)}}return o}}var r7=n7([["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]]),i7=function(){function e(){}return e.prototype.getAreaStyle=function(e,t){return r7(this,e,t)},e}(),o7=new W4(50);function a7(e){if("string"==typeof e){var t=o7.get(e);return t&&t.image}return e}function s7(e,t,n,r,i){if(e){if("string"==typeof e){if(t&&t.__zrImageSrc===e||!n)return t;var o=o7.get(e),a={hostEl:n,cb:r,cbPayload:i};return o?!u7(t=o.image)&&o.pending.push(a):((t=k2.loadImage(e,l7,l7)).__zrImageSrc=e,o7.put(e,t.__cachedImgObj={image:t,pending:[a]})),t}return e}return t}function l7(){var e=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var t=0;t<e.pending.length;t++){var n=e.pending[t],r=n.cb;r&&r(this,n.cbPayload),n.hostEl.dirty()}e.pending.length=0}function u7(e){return e&&e.width&&e.height}var c7=/\{([a-zA-Z0-9_]+)\|([^}]*)\}/g;function f7(e,t,n,r,i){if(!t)return"";var o=(e+"").split("\n");i=h7(t,n,r,i);for(var a=0,s=o.length;a<s;a++)o[a]=d7(o[a],i);return o.join("\n")}function h7(e,t,n,r){var i=$2({},r=r||{});i.font=t,n=h3(n,"..."),i.maxIterations=h3(r.maxIterations,2);var o=i.minChar=h3(r.minChar,0);i.cnCharWidth=M8("国",t);var a=i.ascCharWidth=M8("a",t);i.placeholder=h3(r.placeholder,"");for(var s=e=Math.max(0,e-1),l=0;l<o&&s>=a;l++)s-=a;var u=M8(n,t);return u>s&&(n="",u=0),s=e-u,i.ellipsis=n,i.ellipsisWidth=u,i.contentWidth=s,i.containerWidth=e,i}function d7(e,t){var n=t.containerWidth,r=t.font,i=t.contentWidth;if(!n)return"";var o=M8(e,r);if(o<=n)return e;for(var a=0;;a++){if(o<=i||a>=t.maxIterations){e+=t.ellipsis;break}var s=0===a?p7(e,i,t.ascCharWidth,t.cnCharWidth):o>0?Math.floor(e.length*i/o):0;o=M8(e=e.substr(0,s),r)}return""===e&&(e=t.placeholder),e}function p7(e,t,n,r){for(var i=0,o=0,a=e.length;o<a&&i<t;o++){var s=e.charCodeAt(o);i+=0<=s&&s<=127?n:r}return o}var g7=function(){},m7=function(e){this.tokens=[],e&&(this.tokens=e)},b7=function(){this.width=0,this.height=0,this.contentWidth=0,this.contentHeight=0,this.outerWidth=0,this.outerHeight=0,this.lines=[]};function v7(e,t,n,r,i){var o,a,s=""===t,l=i&&n.rich[i]||{},u=e.lines,c=l.font||n.font,f=!1;if(r){var h=l.padding,d=h?h[1]+h[3]:0;if(null!=l.width&&"auto"!==l.width){var p=R8(l.width,r.width)+d;u.length>0&&p+r.accumWidth>r.width&&(o=t.split("\n"),f=!0),r.accumWidth=p}else{var g=x7(t,c,r.width,r.breakAll,r.accumWidth);r.accumWidth=g.accumWidth+d,a=g.linesWidths,o=g.lines}}else o=t.split("\n");for(var m=0;m<o.length;m++){var b=o[m],v=new g7;if(v.styleName=i,v.text=b,v.isLineHolder=!b&&!s,"number"==typeof l.width?v.width=l.width:v.width=a?a[m]:M8(b,c),m||f)u.push(new m7([v]));else{var y=(u[u.length-1]||(u[0]=new m7)).tokens,w=y.length;1===w&&y[0].isLineHolder?y[0]=v:(b||!w||s)&&y.push(v)}}}var y7=Y2(",&?/;] ".split(""),(function(e,t){return e[t]=!0,e}),{});function w7(e){return!function(e){var t=e.charCodeAt(0);return t>=32&&t<=591||t>=880&&t<=4351||t>=4608&&t<=5119||t>=7680&&t<=8303}(e)||!!y7[e]}function x7(e,t,n,r,i){for(var o=[],a=[],s="",l="",u=0,c=0,f=0;f<e.length;f++){var h=e.charAt(f);if("\n"!==h){var d=M8(h,t),p=!r&&!w7(h);(o.length?c+d>n:i+c+d>n)?c?(s||l)&&(p?(s||(s=l,l="",c=u=0),o.push(s),a.push(c-u),l+=h,s="",c=u+=d):(l&&(s+=l,l="",u=0),o.push(s),a.push(c),s=h,c=d)):p?(o.push(l),a.push(u),l=h,u=d):(o.push(h),a.push(d)):(c+=d,p?(l+=h,u+=d):(l&&(s+=l,l="",u=0),s+=h))}else l&&(s+=l,c+=u),o.push(s),a.push(c),s="",l="",u=0,c=0}return o.length||s||(s=e,l="",u=0),l&&(s+=l),s&&(o.push(s),a.push(c)),1===o.length&&(c+=i),{accumWidth:c,lines:o,linesWidths:a}}var _7="__zr_style_"+Math.round(10*Math.random()),S7={shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"#000",opacity:1,blend:"source-over"},k7={style:{shadowBlur:!0,shadowOffsetX:!0,shadowOffsetY:!0,shadowColor:!0,opacity:!0}};S7[_7]=!0;var C7=["z","z2","invisible"],E7=["invisible"],I7=function(e){function t(t){return e.call(this,t)||this}var n;return O3(t,e),t.prototype._init=function(t){for(var n=Z2(t),r=0;r<n.length;r++){var i=n[r];"style"===i?this.useStyle(t[i]):e.prototype.attrKV.call(this,i,t[i])}this.style||this.useStyle({})},t.prototype.beforeBrush=function(){},t.prototype.afterBrush=function(){},t.prototype.innerBeforeBrush=function(){},t.prototype.innerAfterBrush=function(){},t.prototype.shouldBePainted=function(e,t,n,r){var i=this.transform;if(this.ignore||this.invisible||0===this.style.opacity||this.culling&&function(e,t,n){M7.copy(e.getBoundingRect()),e.transform&&M7.applyTransform(e.transform);return T7.width=t,T7.height=n,!M7.intersect(T7)}(this,e,t)||i&&!i[0]&&!i[3])return!1;if(n&&this.__clipPaths)for(var o=0;o<this.__clipPaths.length;++o)if(this.__clipPaths[o].isZeroArea())return!1;if(r&&this.parent)for(var a=this.parent;a;){if(a.ignore)return!1;a=a.parent}return!0},t.prototype.contain=function(e,t){return this.rectContain(e,t)},t.prototype.traverse=function(e,t){e.call(t,this)},t.prototype.rectContain=function(e,t){var n=this.transformCoordToLocal(e,t);return this.getBoundingRect().contain(n[0],n[1])},t.prototype.getPaintRect=function(){var e=this._paintRect;if(!this._paintRect||this.__dirty){var t=this.transform,n=this.getBoundingRect(),r=this.style,i=r.shadowBlur||0,o=r.shadowOffsetX||0,a=r.shadowOffsetY||0;e=this._paintRect||(this._paintRect=new $5(0,0,0,0)),t?$5.applyTransform(e,n,t):e.copy(n),(i||o||a)&&(e.width+=2*i+Math.abs(o),e.height+=2*i+Math.abs(a),e.x=Math.min(e.x,e.x+o-i),e.y=Math.min(e.y,e.y+a-i));var s=this.dirtyRectTolerance;e.isZero()||(e.x=Math.floor(e.x-s),e.y=Math.floor(e.y-s),e.width=Math.ceil(e.width+1+2*s),e.height=Math.ceil(e.height+1+2*s))}return e},t.prototype.setPrevPaintRect=function(e){e?(this._prevPaintRect=this._prevPaintRect||new $5(0,0,0,0),this._prevPaintRect.copy(e)):this._prevPaintRect=null},t.prototype.getPrevPaintRect=function(){return this._prevPaintRect},t.prototype.animateStyle=function(e){return this.animate("style",e)},t.prototype.updateDuringAnimation=function(e){"style"===e?this.dirtyStyle():this.markRedraw()},t.prototype.attrKV=function(t,n){"style"!==t?e.prototype.attrKV.call(this,t,n):this.style?this.setStyle(n):this.useStyle(n)},t.prototype.setStyle=function(e,t){return"string"==typeof e?this.style[e]=t:$2(this.style,e),this.dirtyStyle(),this},t.prototype.dirtyStyle=function(e){e||this.markRedraw(),this.__dirty|=2,this._rect&&(this._rect=null)},t.prototype.dirty=function(){this.dirtyStyle()},t.prototype.styleChanged=function(){return!!(2&this.__dirty)},t.prototype.styleUpdated=function(){this.__dirty&=-3},t.prototype.createStyle=function(e){return E3(S7,e)},t.prototype.useStyle=function(e){e[_7]||(e=this.createStyle(e)),this.__inHover?this.__hoverStyle=e:this.style=e,this.dirtyStyle()},t.prototype.isStyleObject=function(e){return e[_7]},t.prototype._innerSaveToNormal=function(t){e.prototype._innerSaveToNormal.call(this,t);var n=this._normalState;t.style&&!n.style&&(n.style=this._mergeStyle(this.createStyle(),this.style)),this._savePrimaryToNormal(t,n,C7)},t.prototype._applyStateObj=function(t,n,r,i,o,a){e.prototype._applyStateObj.call(this,t,n,r,i,o,a);var s,l=!(n&&i);if(n&&n.style?o?i?s=n.style:(s=this._mergeStyle(this.createStyle(),r.style),this._mergeStyle(s,n.style)):(s=this._mergeStyle(this.createStyle(),i?this.style:r.style),this._mergeStyle(s,n.style)):l&&(s=r.style),s)if(o){var u=this.style;if(this.style=this.createStyle(l?{}:u),l)for(var c=Z2(u),f=0;f<c.length;f++){(d=c[f])in s&&(s[d]=s[d],this.style[d]=u[d])}var h=Z2(s);for(f=0;f<h.length;f++){var d=h[f];this.style[d]=this.style[d]}this._transitionState(t,{style:s},a,this.getAnimationStyleProps())}else this.useStyle(s);var p=this.__inHover?E7:C7;for(f=0;f<p.length;f++){d=p[f];n&&null!=n[d]?this[d]=n[d]:l&&null!=r[d]&&(this[d]=r[d])}},t.prototype._mergeStates=function(t){for(var n,r=e.prototype._mergeStates.call(this,t),i=0;i<t.length;i++){var o=t[i];o.style&&(n=n||{},this._mergeStyle(n,o.style))}return n&&(r.style=n),r},t.prototype._mergeStyle=function(e,t){return $2(e,t),e},t.prototype.getAnimationStyleProps=function(){return k7},t.initDefaultProps=((n=t.prototype).type="displayable",n.invisible=!1,n.z=0,n.z2=0,n.zlevel=0,n.culling=!1,n.cursor="pointer",n.rectHover=!1,n.incremental=!1,n._rect=null,n.dirtyRectTolerance=0,void(n.__dirty=3)),t}(U8),M7=new $5(0,0,0,0),T7=new $5(0,0,0,0);const A7=I7;var P7=Math.min,O7=Math.max,D7=Math.sin,R7=Math.cos,L7=2*Math.PI,N7=D3(),j7=D3(),F7=D3();function z7(e,t,n){if(0!==e.length){for(var r=e[0],i=r[0],o=r[0],a=r[1],s=r[1],l=1;l<e.length;l++)r=e[l],i=P7(i,r[0]),o=O7(o,r[0]),a=P7(a,r[1]),s=O7(s,r[1]);t[0]=i,t[1]=a,n[0]=o,n[1]=s}}function B7(e,t,n,r,i,o){i[0]=P7(e,n),i[1]=P7(t,r),o[0]=O7(e,n),o[1]=O7(t,r)}var V7=[],$7=[];function H7(e,t,n,r,i,o,a,s,l,u){var c=M4,f=C4,h=c(e,n,i,a,V7);l[0]=1/0,l[1]=1/0,u[0]=-1/0,u[1]=-1/0;for(var d=0;d<h;d++){var p=f(e,n,i,a,V7[d]);l[0]=P7(p,l[0]),u[0]=O7(p,u[0])}h=c(t,r,o,s,$7);for(d=0;d<h;d++){var g=f(t,r,o,s,$7[d]);l[1]=P7(g,l[1]),u[1]=O7(g,u[1])}l[0]=P7(e,l[0]),u[0]=O7(e,u[0]),l[0]=P7(a,l[0]),u[0]=O7(a,u[0]),l[1]=P7(t,l[1]),u[1]=O7(t,u[1]),l[1]=P7(s,l[1]),u[1]=O7(s,u[1])}function G7(e,t,n,r,i,o,a,s){var l=R4,u=O4,c=O7(P7(l(e,n,i),1),0),f=O7(P7(l(t,r,o),1),0),h=u(e,n,i,c),d=u(t,r,o,f);a[0]=P7(e,i,h),a[1]=P7(t,o,d),s[0]=O7(e,i,h),s[1]=O7(t,o,d)}function W7(e,t,n,r,i,o,a,s,l){var u=Y3,c=K3,f=Math.abs(i-o);if(f%L7<1e-4&&f>1e-4)return s[0]=e-n,s[1]=t-r,l[0]=e+n,void(l[1]=t+r);if(N7[0]=R7(i)*n+e,N7[1]=D7(i)*r+t,j7[0]=R7(o)*n+e,j7[1]=D7(o)*r+t,u(s,N7,j7),c(l,N7,j7),(i%=L7)<0&&(i+=L7),(o%=L7)<0&&(o+=L7),i>o&&!a?o+=L7:i<o&&a&&(i+=L7),a){var h=o;o=i,i=h}for(var d=0;d<o;d+=Math.PI/2)d>i&&(F7[0]=R7(d)*n+e,F7[1]=D7(d)*r+t,u(s,F7,s),c(l,F7,l))}var U7={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},q7=[],X7=[],Y7=[],K7=[],Z7=[],Q7=[],J7=Math.min,eee=Math.max,tee=Math.cos,nee=Math.sin,ree=Math.abs,iee=Math.PI,oee=2*iee,aee="undefined"!=typeof Float32Array,see=[];function lee(e){return Math.round(e/iee*1e8)/1e8%2*iee}function uee(e,t){var n=lee(e[0]);n<0&&(n+=oee);var r=n-e[0],i=e[1];i+=r,!t&&i-n>=oee?i=n+oee:t&&n-i>=oee?i=n-oee:!t&&n>i?i=n+(oee-lee(n-i)):t&&n<i&&(i=n-(oee-lee(i-n))),e[0]=n,e[1]=i}var cee=function(){function e(e){this.dpr=1,this._xi=0,this._yi=0,this._x0=0,this._y0=0,this._len=0,e&&(this._saveData=!1),this._saveData&&(this.data=[])}return e.prototype.increaseVersion=function(){this._version++},e.prototype.getVersion=function(){return this._version},e.prototype.setScale=function(e,t,n){(n=n||0)>0&&(this._ux=ree(n/d8/e)||0,this._uy=ree(n/d8/t)||0)},e.prototype.setDPR=function(e){this.dpr=e},e.prototype.setContext=function(e){this._ctx=e},e.prototype.getContext=function(){return this._ctx},e.prototype.beginPath=function(){return this._ctx&&this._ctx.beginPath(),this.reset(),this},e.prototype.reset=function(){this._saveData&&(this._len=0),this._pathSegLen&&(this._pathSegLen=null,this._pathLen=0),this._version++},e.prototype.moveTo=function(e,t){return this._drawPendingPt(),this.addData(U7.M,e,t),this._ctx&&this._ctx.moveTo(e,t),this._x0=e,this._y0=t,this._xi=e,this._yi=t,this},e.prototype.lineTo=function(e,t){var n=ree(e-this._xi),r=ree(t-this._yi),i=n>this._ux||r>this._uy;if(this.addData(U7.L,e,t),this._ctx&&i&&this._ctx.lineTo(e,t),i)this._xi=e,this._yi=t,this._pendingPtDist=0;else{var o=n*n+r*r;o>this._pendingPtDist&&(this._pendingPtX=e,this._pendingPtY=t,this._pendingPtDist=o)}return this},e.prototype.bezierCurveTo=function(e,t,n,r,i,o){return this._drawPendingPt(),this.addData(U7.C,e,t,n,r,i,o),this._ctx&&this._ctx.bezierCurveTo(e,t,n,r,i,o),this._xi=i,this._yi=o,this},e.prototype.quadraticCurveTo=function(e,t,n,r){return this._drawPendingPt(),this.addData(U7.Q,e,t,n,r),this._ctx&&this._ctx.quadraticCurveTo(e,t,n,r),this._xi=n,this._yi=r,this},e.prototype.arc=function(e,t,n,r,i,o){this._drawPendingPt(),see[0]=r,see[1]=i,uee(see,o),r=see[0];var a=(i=see[1])-r;return this.addData(U7.A,e,t,n,n,r,a,0,o?0:1),this._ctx&&this._ctx.arc(e,t,n,r,i,o),this._xi=tee(i)*n+e,this._yi=nee(i)*n+t,this},e.prototype.arcTo=function(e,t,n,r,i){return this._drawPendingPt(),this._ctx&&this._ctx.arcTo(e,t,n,r,i),this},e.prototype.rect=function(e,t,n,r){return this._drawPendingPt(),this._ctx&&this._ctx.rect(e,t,n,r),this.addData(U7.R,e,t,n,r),this},e.prototype.closePath=function(){this._drawPendingPt(),this.addData(U7.Z);var e=this._ctx,t=this._x0,n=this._y0;return e&&e.closePath(),this._xi=t,this._yi=n,this},e.prototype.fill=function(e){e&&e.fill(),this.toStatic()},e.prototype.stroke=function(e){e&&e.stroke(),this.toStatic()},e.prototype.len=function(){return this._len},e.prototype.setData=function(e){var t=e.length;this.data&&this.data.length===t||!aee||(this.data=new Float32Array(t));for(var n=0;n<t;n++)this.data[n]=e[n];this._len=t},e.prototype.appendPath=function(e){e instanceof Array||(e=[e]);for(var t=e.length,n=0,r=this._len,i=0;i<t;i++)n+=e[i].len();aee&&this.data instanceof Float32Array&&(this.data=new Float32Array(r+n));for(i=0;i<t;i++)for(var o=e[i].data,a=0;a<o.length;a++)this.data[r++]=o[a];this._len=r},e.prototype.addData=function(e,t,n,r,i,o,a,s,l){if(this._saveData){var u=this.data;this._len+arguments.length>u.length&&(this._expandData(),u=this.data);for(var c=0;c<arguments.length;c++)u[this._len++]=arguments[c]}},e.prototype._drawPendingPt=function(){this._pendingPtDist>0&&(this._ctx&&this._ctx.lineTo(this._pendingPtX,this._pendingPtY),this._pendingPtDist=0)},e.prototype._expandData=function(){if(!(this.data instanceof Array)){for(var e=[],t=0;t<this._len;t++)e[t]=this.data[t];this.data=e}},e.prototype.toStatic=function(){if(this._saveData){this._drawPendingPt();var e=this.data;e instanceof Array&&(e.length=this._len,aee&&this._len>11&&(this.data=new Float32Array(e)))}},e.prototype.getBoundingRect=function(){Y7[0]=Y7[1]=Z7[0]=Z7[1]=Number.MAX_VALUE,K7[0]=K7[1]=Q7[0]=Q7[1]=-Number.MAX_VALUE;var e,t=this.data,n=0,r=0,i=0,o=0;for(e=0;e<this._len;){var a=t[e++],s=1===e;switch(s&&(i=n=t[e],o=r=t[e+1]),a){case U7.M:n=i=t[e++],r=o=t[e++],Z7[0]=i,Z7[1]=o,Q7[0]=i,Q7[1]=o;break;case U7.L:B7(n,r,t[e],t[e+1],Z7,Q7),n=t[e++],r=t[e++];break;case U7.C:H7(n,r,t[e++],t[e++],t[e++],t[e++],t[e],t[e+1],Z7,Q7),n=t[e++],r=t[e++];break;case U7.Q:G7(n,r,t[e++],t[e++],t[e],t[e+1],Z7,Q7),n=t[e++],r=t[e++];break;case U7.A:var l=t[e++],u=t[e++],c=t[e++],f=t[e++],h=t[e++],d=t[e++]+h;e+=1;var p=!t[e++];s&&(i=tee(h)*c+l,o=nee(h)*f+u),W7(l,u,c,f,h,d,p,Z7,Q7),n=tee(d)*c+l,r=nee(d)*f+u;break;case U7.R:B7(i=n=t[e++],o=r=t[e++],i+t[e++],o+t[e++],Z7,Q7);break;case U7.Z:n=i,r=o}Y3(Y7,Y7,Z7),K3(K7,K7,Q7)}return 0===e&&(Y7[0]=Y7[1]=K7[0]=K7[1]=0),new $5(Y7[0],Y7[1],K7[0]-Y7[0],K7[1]-Y7[1])},e.prototype._calculateLength=function(){var e=this.data,t=this._len,n=this._ux,r=this._uy,i=0,o=0,a=0,s=0;this._pathSegLen||(this._pathSegLen=[]);for(var l=this._pathSegLen,u=0,c=0,f=0;f<t;){var h=e[f++],d=1===f;d&&(a=i=e[f],s=o=e[f+1]);var p=-1;switch(h){case U7.M:i=a=e[f++],o=s=e[f++];break;case U7.L:var g=e[f++],m=(y=e[f++])-o;(ree(T=g-i)>n||ree(m)>r||f===t-1)&&(p=Math.sqrt(T*T+m*m),i=g,o=y);break;case U7.C:var b=e[f++],v=e[f++],y=(g=e[f++],e[f++]),w=e[f++],x=e[f++];p=P4(i,o,b,v,g,y,w,x,10),i=w,o=x;break;case U7.Q:p=j4(i,o,b=e[f++],v=e[f++],g=e[f++],y=e[f++],10),i=g,o=y;break;case U7.A:var _=e[f++],S=e[f++],k=e[f++],C=e[f++],E=e[f++],I=e[f++],M=I+E;f+=1;e[f++];d&&(a=tee(E)*k+_,s=nee(E)*C+S),p=eee(k,C)*J7(oee,Math.abs(I)),i=tee(M)*k+_,o=nee(M)*C+S;break;case U7.R:a=i=e[f++],s=o=e[f++],p=2*e[f++]+2*e[f++];break;case U7.Z:var T=a-i;m=s-o;p=Math.sqrt(T*T+m*m),i=a,o=s}p>=0&&(l[c++]=p,u+=p)}return this._pathLen=u,u},e.prototype.rebuildPath=function(e,t){var n,r,i,o,a,s,l,u,c,f,h=this.data,d=this._ux,p=this._uy,g=this._len,m=t<1,b=0,v=0,y=0;if(!m||(this._pathSegLen||this._calculateLength(),l=this._pathSegLen,u=t*this._pathLen))e:for(var w=0;w<g;){var x=h[w++],_=1===w;switch(_&&(n=i=h[w],r=o=h[w+1]),x!==U7.L&&y>0&&(e.lineTo(c,f),y=0),x){case U7.M:n=i=h[w++],r=o=h[w++],e.moveTo(i,o);break;case U7.L:a=h[w++],s=h[w++];var S=ree(a-i),k=ree(s-o);if(S>d||k>p){if(m){if(b+(X=l[v++])>u){var C=(u-b)/X;e.lineTo(i*(1-C)+a*C,o*(1-C)+s*C);break e}b+=X}e.lineTo(a,s),i=a,o=s,y=0}else{var E=S*S+k*k;E>y&&(c=a,f=s,y=E)}break;case U7.C:var I=h[w++],M=h[w++],T=h[w++],A=h[w++],P=h[w++],O=h[w++];if(m){if(b+(X=l[v++])>u){T4(i,I,T,P,C=(u-b)/X,q7),T4(o,M,A,O,C,X7),e.bezierCurveTo(q7[1],X7[1],q7[2],X7[2],q7[3],X7[3]);break e}b+=X}e.bezierCurveTo(I,M,T,A,P,O),i=P,o=O;break;case U7.Q:I=h[w++],M=h[w++],T=h[w++],A=h[w++];if(m){if(b+(X=l[v++])>u){L4(i,I,T,C=(u-b)/X,q7),L4(o,M,A,C,X7),e.quadraticCurveTo(q7[1],X7[1],q7[2],X7[2]);break e}b+=X}e.quadraticCurveTo(I,M,T,A),i=T,o=A;break;case U7.A:var D=h[w++],R=h[w++],L=h[w++],N=h[w++],j=h[w++],F=h[w++],z=h[w++],B=!h[w++],V=L>N?L:N,$=ree(L-N)>.001,H=j+F,G=!1;if(m)b+(X=l[v++])>u&&(H=j+F*(u-b)/X,G=!0),b+=X;if($&&e.ellipse?e.ellipse(D,R,L,N,z,j,H,B):e.arc(D,R,V,j,H,B),G)break e;_&&(n=tee(j)*L+D,r=nee(j)*N+R),i=tee(H)*L+D,o=nee(H)*N+R;break;case U7.R:n=i=h[w],r=o=h[w+1],a=h[w++],s=h[w++];var W=h[w++],U=h[w++];if(m){if(b+(X=l[v++])>u){var q=u-b;e.moveTo(a,s),e.lineTo(a+J7(q,W),s),(q-=W)>0&&e.lineTo(a+W,s+J7(q,U)),(q-=U)>0&&e.lineTo(a+eee(W-q,0),s+U),(q-=W)>0&&e.lineTo(a,s+eee(U-q,0));break e}b+=X}e.rect(a,s,W,U);break;case U7.Z:if(m){var X;if(b+(X=l[v++])>u){C=(u-b)/X;e.lineTo(i*(1-C)+n*C,o*(1-C)+r*C);break e}b+=X}e.closePath(),i=n,o=r}}},e.prototype.clone=function(){var t=new e,n=this.data;return t.data=n.slice?n.slice():Array.prototype.slice.call(n),t._len=this._len,t},e.CMD=U7,e.initDefaultProps=function(){var t=e.prototype;t._saveData=!0,t._ux=0,t._uy=0,t._pendingPtDist=0,t._version=0}(),e}();const fee=cee;function hee(e,t,n,r,i,o,a){if(0===i)return!1;var s=i,l=0;if(a>t+s&&a>r+s||a<t-s&&a<r-s||o>e+s&&o>n+s||o<e-s&&o<n-s)return!1;if(e===n)return Math.abs(o-e)<=s/2;var u=(l=(t-r)/(e-n))*o-a+(e*r-n*t)/(e-n);return u*u/(l*l+1)<=s/2*s/2}function dee(e,t,n,r,i,o,a,s,l,u,c){if(0===l)return!1;var f=l;return!(c>t+f&&c>r+f&&c>o+f&&c>s+f||c<t-f&&c<r-f&&c<o-f&&c<s-f||u>e+f&&u>n+f&&u>i+f&&u>a+f||u<e-f&&u<n-f&&u<i-f&&u<a-f)&&A4(e,t,n,r,i,o,a,s,u,c,null)<=f/2}function pee(e,t,n,r,i,o,a,s,l){if(0===a)return!1;var u=a;return!(l>t+u&&l>r+u&&l>o+u||l<t-u&&l<r-u&&l<o-u||s>e+u&&s>n+u&&s>i+u||s<e-u&&s<n-u&&s<i-u)&&N4(e,t,n,r,i,o,s,l,null)<=u/2}var gee=2*Math.PI;function mee(e){return(e%=gee)<0&&(e+=gee),e}var bee=2*Math.PI;function vee(e,t,n,r,i,o,a,s,l){if(0===a)return!1;var u=a;s-=e,l-=t;var c=Math.sqrt(s*s+l*l);if(c-u>n||c+u<n)return!1;if(Math.abs(r-i)%bee<1e-4)return!0;if(o){var f=r;r=mee(i),i=mee(f)}else r=mee(r),i=mee(i);r>i&&(i+=bee);var h=Math.atan2(l,s);return h<0&&(h+=bee),h>=r&&h<=i||h+bee>=r&&h+bee<=i}function yee(e,t,n,r,i,o){if(o>t&&o>r||o<t&&o<r)return 0;if(r===t)return 0;var a=(o-t)/(r-t),s=r<t?1:-1;1!==a&&0!==a||(s=r<t?.5:-.5);var l=a*(n-e)+e;return l===i?1/0:l>i?s:0}var wee=fee.CMD,xee=2*Math.PI;var _ee=[-1,-1,-1],See=[-1,-1];function kee(e,t,n,r,i,o,a,s,l,u){if(u>t&&u>r&&u>o&&u>s||u<t&&u<r&&u<o&&u<s)return 0;var c,f=I4(t,r,o,s,u,_ee);if(0===f)return 0;for(var h=0,d=-1,p=void 0,g=void 0,m=0;m<f;m++){var b=_ee[m],v=0===b||1===b?.5:1;C4(e,n,i,a,b)<l||(d<0&&(d=M4(t,r,o,s,See),See[1]<See[0]&&d>1&&(c=void 0,c=See[0],See[0]=See[1],See[1]=c),p=C4(t,r,o,s,See[0]),d>1&&(g=C4(t,r,o,s,See[1]))),2===d?b<See[0]?h+=p<t?v:-v:b<See[1]?h+=g<p?v:-v:h+=s<g?v:-v:b<See[0]?h+=p<t?v:-v:h+=s<p?v:-v)}return h}function Cee(e,t,n,r,i,o,a,s){if(s>t&&s>r&&s>o||s<t&&s<r&&s<o)return 0;var l=function(e,t,n,r,i){var o=e-2*t+n,a=2*(t-e),s=e-r,l=0;if(S4(o))k4(a)&&(c=-s/a)>=0&&c<=1&&(i[l++]=c);else{var u=a*a-4*o*s;if(S4(u))(c=-a/(2*o))>=0&&c<=1&&(i[l++]=c);else if(u>0){var c,f=g4(u),h=(-a-f)/(2*o);(c=(-a+f)/(2*o))>=0&&c<=1&&(i[l++]=c),h>=0&&h<=1&&(i[l++]=h)}}return l}(t,r,o,s,_ee);if(0===l)return 0;var u=R4(t,r,o);if(u>=0&&u<=1){for(var c=0,f=O4(t,r,o,u),h=0;h<l;h++){var d=0===_ee[h]||1===_ee[h]?.5:1;O4(e,n,i,_ee[h])<a||(_ee[h]<u?c+=f<t?d:-d:c+=o<f?d:-d)}return c}d=0===_ee[0]||1===_ee[0]?.5:1;return O4(e,n,i,_ee[0])<a?0:o<t?d:-d}function Eee(e,t,n,r,i,o,a,s){if((s-=t)>n||s<-n)return 0;var l=Math.sqrt(n*n-s*s);_ee[0]=-l,_ee[1]=l;var u=Math.abs(r-i);if(u<1e-4)return 0;if(u>=xee-1e-4){r=0,i=xee;var c=o?1:-1;return a>=_ee[0]+e&&a<=_ee[1]+e?c:0}if(r>i){var f=r;r=i,i=f}r<0&&(r+=xee,i+=xee);for(var h=0,d=0;d<2;d++){var p=_ee[d];if(p+e>a){var g=Math.atan2(s,p);c=o?1:-1;g<0&&(g=xee+g),(g>=r&&g<=i||g+xee>=r&&g+xee<=i)&&(g>Math.PI/2&&g<1.5*Math.PI&&(c=-c),h+=c)}}return h}function Iee(e,t,n,r,i){for(var o,a,s=e.data,l=e.len(),u=0,c=0,f=0,h=0,d=0,p=0;p<l;){var g=s[p++],m=1===p;switch(g===wee.M&&p>1&&(n||(u+=yee(c,f,h,d,r,i))),m&&(h=c=s[p],d=f=s[p+1]),g){case wee.M:c=h=s[p++],f=d=s[p++];break;case wee.L:if(n){if(hee(c,f,s[p],s[p+1],t,r,i))return!0}else u+=yee(c,f,s[p],s[p+1],r,i)||0;c=s[p++],f=s[p++];break;case wee.C:if(n){if(dee(c,f,s[p++],s[p++],s[p++],s[p++],s[p],s[p+1],t,r,i))return!0}else u+=kee(c,f,s[p++],s[p++],s[p++],s[p++],s[p],s[p+1],r,i)||0;c=s[p++],f=s[p++];break;case wee.Q:if(n){if(pee(c,f,s[p++],s[p++],s[p],s[p+1],t,r,i))return!0}else u+=Cee(c,f,s[p++],s[p++],s[p],s[p+1],r,i)||0;c=s[p++],f=s[p++];break;case wee.A:var b=s[p++],v=s[p++],y=s[p++],w=s[p++],x=s[p++],_=s[p++];p+=1;var S=!!(1-s[p++]);o=Math.cos(x)*y+b,a=Math.sin(x)*w+v,m?(h=o,d=a):u+=yee(c,f,o,a,r,i);var k=(r-b)*w/y+b;if(n){if(vee(b,v,w,x,x+_,S,t,k,i))return!0}else u+=Eee(b,v,w,x,x+_,S,k,i);c=Math.cos(x+_)*y+b,f=Math.sin(x+_)*w+v;break;case wee.R:if(h=c=s[p++],d=f=s[p++],o=h+s[p++],a=d+s[p++],n){if(hee(h,d,o,d,t,r,i)||hee(o,d,o,a,t,r,i)||hee(o,a,h,a,t,r,i)||hee(h,a,h,d,t,r,i))return!0}else u+=yee(o,d,o,a,r,i),u+=yee(h,a,h,d,r,i);break;case wee.Z:if(n){if(hee(c,f,h,d,t,r,i))return!0}else u+=yee(c,f,h,d,r,i);c=h,f=d}}return n||function(e,t){return Math.abs(e-t)<1e-4}(f,d)||(u+=yee(c,f,h,d,r,i)||0),0!==u}var Mee=H2({fill:"#000",stroke:null,strokePercent:1,fillOpacity:1,strokeOpacity:1,lineDashOffset:0,lineWidth:1,lineCap:"butt",miterLimit:10,strokeNoScale:!1,strokeFirst:!1},S7),Tee={style:H2({fill:!0,stroke:!0,strokePercent:!0,fillOpacity:!0,strokeOpacity:!0,lineDashOffset:!0,lineWidth:!0,miterLimit:!0},k7.style)},Aee=k8.concat(["invisible","culling","z","z2","zlevel","parent"]),Pee=function(e){function t(t){return e.call(this,t)||this}var n;return O3(t,e),t.prototype.update=function(){var n=this;e.prototype.update.call(this);var r=this.style;if(r.decal){var i=this._decalEl=this._decalEl||new t;i.buildPath===t.prototype.buildPath&&(i.buildPath=function(e){n.buildPath(e,n.shape)}),i.silent=!0;var o=i.style;for(var a in r)o[a]!==r[a]&&(o[a]=r[a]);o.fill=r.fill?r.decal:null,o.decal=null,o.shadowColor=null,r.strokeFirst&&(o.stroke=null);for(var s=0;s<Aee.length;++s)i[Aee[s]]=this[Aee[s]];i.__dirty|=1}else this._decalEl&&(this._decalEl=null)},t.prototype.getDecalElement=function(){return this._decalEl},t.prototype._init=function(t){var n=Z2(t);this.shape=this.getDefaultShape();var r=this.getDefaultStyle();r&&this.useStyle(r);for(var i=0;i<n.length;i++){var o=n[i],a=t[o];"style"===o?this.style?$2(this.style,a):this.useStyle(a):"shape"===o?$2(this.shape,a):e.prototype.attrKV.call(this,o,a)}this.style||this.useStyle({})},t.prototype.getDefaultStyle=function(){return null},t.prototype.getDefaultShape=function(){return{}},t.prototype.canBeInsideText=function(){return this.hasFill()},t.prototype.getInsideTextFill=function(){var e=this.style.fill;if("none"!==e){if(n3(e)){var t=h6(e,0);return t>.5?p8:t>.2?"#eee":g8}if(e)return g8}return p8},t.prototype.getInsideTextStroke=function(e){var t=this.style.fill;if(n3(t)){var n=this.__zr;if(!(!n||!n.isDarkMode())===h6(e,0)<.4)return t}},t.prototype.buildPath=function(e,t,n){},t.prototype.pathUpdated=function(){this.__dirty&=-5},t.prototype.getUpdatedPathProxy=function(e){return!this.path&&this.createPathProxy(),this.path.beginPath(),this.buildPath(this.path,this.shape,e),this.path},t.prototype.createPathProxy=function(){this.path=new fee(!1)},t.prototype.hasStroke=function(){var e=this.style,t=e.stroke;return!(null==t||"none"===t||!(e.lineWidth>0))},t.prototype.hasFill=function(){var e=this.style.fill;return null!=e&&"none"!==e},t.prototype.getBoundingRect=function(){var e=this._rect,t=this.style,n=!e;if(n){var r=!1;this.path||(r=!0,this.createPathProxy());var i=this.path;(r||4&this.__dirty)&&(i.beginPath(),this.buildPath(i,this.shape,!1),this.pathUpdated()),e=i.getBoundingRect()}if(this._rect=e,this.hasStroke()&&this.path&&this.path.len()>0){var o=this._rectStroke||(this._rectStroke=e.clone());if(this.__dirty||n){o.copy(e);var a=t.strokeNoScale?this.getLineScale():1,s=t.lineWidth;if(!this.hasFill()){var l=this.strokeContainThreshold;s=Math.max(s,null==l?4:l)}a>1e-10&&(o.width+=s/a,o.height+=s/a,o.x-=s/a/2,o.y-=s/a/2)}return o}return e},t.prototype.contain=function(e,t){var n=this.transformCoordToLocal(e,t),r=this.getBoundingRect(),i=this.style;if(e=n[0],t=n[1],r.contain(e,t)){var o=this.path;if(this.hasStroke()){var a=i.lineWidth,s=i.strokeNoScale?this.getLineScale():1;if(s>1e-10&&(this.hasFill()||(a=Math.max(a,this.strokeContainThreshold)),function(e,t,n,r){return Iee(e,t,!0,n,r)}(o,a/s,e,t)))return!0}if(this.hasFill())return function(e,t,n){return Iee(e,0,!1,t,n)}(o,e,t)}return!1},t.prototype.dirtyShape=function(){this.__dirty|=4,this._rect&&(this._rect=null),this._decalEl&&this._decalEl.dirtyShape(),this.markRedraw()},t.prototype.dirty=function(){this.dirtyStyle(),this.dirtyShape()},t.prototype.animateShape=function(e){return this.animate("shape",e)},t.prototype.updateDuringAnimation=function(e){"style"===e?this.dirtyStyle():"shape"===e?this.dirtyShape():this.markRedraw()},t.prototype.attrKV=function(t,n){"shape"===t?this.setShape(n):e.prototype.attrKV.call(this,t,n)},t.prototype.setShape=function(e,t){var n=this.shape;return n||(n=this.shape={}),"string"==typeof e?n[e]=t:$2(n,e),this.dirtyShape(),this},t.prototype.shapeChanged=function(){return!!(4&this.__dirty)},t.prototype.createStyle=function(e){return E3(Mee,e)},t.prototype._innerSaveToNormal=function(t){e.prototype._innerSaveToNormal.call(this,t);var n=this._normalState;t.shape&&!n.shape&&(n.shape=$2({},this.shape))},t.prototype._applyStateObj=function(t,n,r,i,o,a){e.prototype._applyStateObj.call(this,t,n,r,i,o,a);var s,l=!(n&&i);if(n&&n.shape?o?i?s=n.shape:(s=$2({},r.shape),$2(s,n.shape)):(s=$2({},i?this.shape:r.shape),$2(s,n.shape)):l&&(s=r.shape),s)if(o){this.shape=$2({},this.shape);for(var u={},c=Z2(s),f=0;f<c.length;f++){var h=c[f];"object"==typeof s[h]?this.shape[h]=s[h]:u[h]=s[h]}this._transitionState(t,{shape:u},a)}else this.shape=s,this.dirtyShape()},t.prototype._mergeStates=function(t){for(var n,r=e.prototype._mergeStates.call(this,t),i=0;i<t.length;i++){var o=t[i];o.shape&&(n=n||{},this._mergeStyle(n,o.shape))}return n&&(r.shape=n),r},t.prototype.getAnimationStyleProps=function(){return Tee},t.prototype.isZeroArea=function(){return!1},t.extend=function(e){var n=function(t){function n(n){var r=t.call(this,n)||this;return e.init&&e.init.call(r,n),r}return O3(n,t),n.prototype.getDefaultStyle=function(){return z2(e.style)},n.prototype.getDefaultShape=function(){return z2(e.shape)},n}(t);for(var r in e)"function"==typeof e[r]&&(n.prototype[r]=e[r]);return n},t.initDefaultProps=((n=t.prototype).type="path",n.strokeContainThreshold=5,n.segmentIgnoreThreshold=0,n.subPixelOptimize=!1,n.autoBatch=!1,void(n.__dirty=7)),t}(A7);const Oee=Pee;var Dee=H2({strokeFirst:!0,font:w2,x:0,y:0,textAlign:"left",textBaseline:"top",miterLimit:2},Mee),Ree=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return O3(t,e),t.prototype.hasStroke=function(){var e=this.style,t=e.stroke;return null!=t&&"none"!==t&&e.lineWidth>0},t.prototype.hasFill=function(){var e=this.style.fill;return null!=e&&"none"!==e},t.prototype.createStyle=function(e){return E3(Dee,e)},t.prototype.setBoundingRect=function(e){this._rect=e},t.prototype.getBoundingRect=function(){var e=this.style;if(!this._rect){var t=e.text;null!=t?t+="":t="";var n=A8(t,e.font,e.textAlign,e.textBaseline);if(n.x+=e.x||0,n.y+=e.y||0,this.hasStroke()){var r=e.lineWidth;n.x-=r/2,n.y-=r/2,n.width+=r,n.height+=r}this._rect=n}return this._rect},t.initDefaultProps=void(t.prototype.dirtyRectTolerance=10),t}(A7);Ree.prototype.type="tspan";const Lee=Ree;var Nee=H2({x:0,y:0},S7),jee={style:H2({x:!0,y:!0,width:!0,height:!0,sx:!0,sy:!0,sWidth:!0,sHeight:!0},k7.style)};var Fee=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return O3(t,e),t.prototype.createStyle=function(e){return E3(Nee,e)},t.prototype._getSize=function(e){var t=this.style,n=t[e];if(null!=n)return n;var r,i=(r=t.image)&&"string"!=typeof r&&r.width&&r.height?t.image:this.__image;if(!i)return 0;var o="width"===e?"height":"width",a=t[o];return null==a?i[e]:i[e]/i[o]*a},t.prototype.getWidth=function(){return this._getSize("width")},t.prototype.getHeight=function(){return this._getSize("height")},t.prototype.getAnimationStyleProps=function(){return jee},t.prototype.getBoundingRect=function(){var e=this.style;return this._rect||(this._rect=new $5(e.x||0,e.y||0,this.getWidth(),this.getHeight())),this._rect},t}(A7);Fee.prototype.type="image";const zee=Fee;var Bee=Math.round;function Vee(e,t,n){if(t){var r=t.x1,i=t.x2,o=t.y1,a=t.y2;e.x1=r,e.x2=i,e.y1=o,e.y2=a;var s=n&&n.lineWidth;return s?(Bee(2*r)===Bee(2*i)&&(e.x1=e.x2=Hee(r,s,!0)),Bee(2*o)===Bee(2*a)&&(e.y1=e.y2=Hee(o,s,!0)),e):e}}function $ee(e,t,n){if(t){var r=t.x,i=t.y,o=t.width,a=t.height;e.x=r,e.y=i,e.width=o,e.height=a;var s=n&&n.lineWidth;return s?(e.x=Hee(r,s,!0),e.y=Hee(i,s,!0),e.width=Math.max(Hee(r+o,s,!1)-e.x,0===o?0:1),e.height=Math.max(Hee(i+a,s,!1)-e.y,0===a?0:1),e):e}}function Hee(e,t,n){if(!t)return e;var r=Bee(2*e);return(r+Bee(t))%2==0?r/2:(r+(n?1:-1))/2}var Gee=function(){this.x=0,this.y=0,this.width=0,this.height=0},Wee={},Uee=function(e){function t(t){return e.call(this,t)||this}return O3(t,e),t.prototype.getDefaultShape=function(){return new Gee},t.prototype.buildPath=function(e,t){var n,r,i,o;if(this.subPixelOptimize){var a=$ee(Wee,t,this.style);n=a.x,r=a.y,i=a.width,o=a.height,a.r=t.r,t=a}else n=t.x,r=t.y,i=t.width,o=t.height;t.r?function(e,t){var n,r,i,o,a,s=t.x,l=t.y,u=t.width,c=t.height,f=t.r;u<0&&(s+=u,u=-u),c<0&&(l+=c,c=-c),"number"==typeof f?n=r=i=o=f:f instanceof Array?1===f.length?n=r=i=o=f[0]:2===f.length?(n=i=f[0],r=o=f[1]):3===f.length?(n=f[0],r=o=f[1],i=f[2]):(n=f[0],r=f[1],i=f[2],o=f[3]):n=r=i=o=0,n+r>u&&(n*=u/(a=n+r),r*=u/a),i+o>u&&(i*=u/(a=i+o),o*=u/a),r+i>c&&(r*=c/(a=r+i),i*=c/a),n+o>c&&(n*=c/(a=n+o),o*=c/a),e.moveTo(s+n,l),e.lineTo(s+u-r,l),0!==r&&e.arc(s+u-r,l+r,r,-Math.PI/2,0),e.lineTo(s+u,l+c-i),0!==i&&e.arc(s+u-i,l+c-i,i,0,Math.PI/2),e.lineTo(s+o,l+c),0!==o&&e.arc(s+o,l+c-o,o,Math.PI/2,Math.PI),e.lineTo(s,l+n),0!==n&&e.arc(s+n,l+n,n,Math.PI,1.5*Math.PI)}(e,t):e.rect(n,r,i,o)},t.prototype.isZeroArea=function(){return!this.shape.width||!this.shape.height},t}(Oee);Uee.prototype.type="rect";const qee=Uee;var Xee={fill:"#000"},Yee={style:H2({fill:!0,stroke:!0,fillOpacity:!0,strokeOpacity:!0,lineWidth:!0,fontSize:!0,lineHeight:!0,width:!0,height:!0,textShadowColor:!0,textShadowBlur:!0,textShadowOffsetX:!0,textShadowOffsetY:!0,backgroundColor:!0,padding:!0,borderColor:!0,borderWidth:!0,borderRadius:!0},k7.style)},Kee=function(e){function t(t){var n=e.call(this)||this;return n.type="text",n._children=[],n._defaultStyle=Xee,n.attr(t),n}return O3(t,e),t.prototype.childrenRef=function(){return this._children},t.prototype.update=function(){e.prototype.update.call(this),this.styleChanged()&&this._updateSubTexts();for(var t=0;t<this._children.length;t++){var n=this._children[t];n.zlevel=this.zlevel,n.z=this.z,n.z2=this.z2,n.culling=this.culling,n.cursor=this.cursor,n.invisible=this.invisible}},t.prototype.updateTransform=function(){var t=this.innerTransformable;t?(t.updateTransform(),t.transform&&(this.transform=t.transform)):e.prototype.updateTransform.call(this)},t.prototype.getLocalTransform=function(t){var n=this.innerTransformable;return n?n.getLocalTransform(t):e.prototype.getLocalTransform.call(this,t)},t.prototype.getComputedTransform=function(){return this.__hostTarget&&(this.__hostTarget.getComputedTransform(),this.__hostTarget.updateInnerText(!0)),e.prototype.getComputedTransform.call(this)},t.prototype._updateSubTexts=function(){this._childCursor=0,function(e){rte(e),q2(e.rich,rte)}(this.style),this.style.rich?this._updateRichTexts():this._updatePlainTexts(),this._children.length=this._childCursor,this.styleUpdated()},t.prototype.addSelfToZr=function(t){e.prototype.addSelfToZr.call(this,t);for(var n=0;n<this._children.length;n++)this._children[n].__zr=t},t.prototype.removeSelfFromZr=function(t){e.prototype.removeSelfFromZr.call(this,t);for(var n=0;n<this._children.length;n++)this._children[n].__zr=null},t.prototype.getBoundingRect=function(){if(this.styleChanged()&&this._updateSubTexts(),!this._rect){for(var e=new $5(0,0,0,0),t=this._children,n=[],r=null,i=0;i<t.length;i++){var o=t[i],a=o.getBoundingRect(),s=o.getLocalTransform(n);s?(e.copy(a),e.applyTransform(s),(r=r||e.clone()).union(e)):(r=r||a.clone()).union(a)}this._rect=r||e}return this._rect},t.prototype.setDefaultTextStyle=function(e){this._defaultStyle=e||Xee},t.prototype.setTextContent=function(e){0},t.prototype._mergeStyle=function(e,t){if(!t)return e;var n=t.rich,r=e.rich||n&&{};return $2(e,t),n&&r?(this._mergeRich(r,n),e.rich=r):r&&(e.rich=r),e},t.prototype._mergeRich=function(e,t){for(var n=Z2(t),r=0;r<n.length;r++){var i=n[r];e[i]=e[i]||{},$2(e[i],t[i])}},t.prototype.getAnimationStyleProps=function(){return Yee},t.prototype._getOrCreateChild=function(e){var t=this._children[this._childCursor];return t&&t instanceof e||(t=new e),this._children[this._childCursor++]=t,t.__zr=this.__zr,t.parent=this,t},t.prototype._updatePlainTexts=function(){var e=this.style,t=e.font||w2,n=e.padding,r=function(e,t){null!=e&&(e+="");var n,r=t.overflow,i=t.padding,o=t.font,a="truncate"===r,s=D8(o),l=h3(t.lineHeight,s),u=!!t.backgroundColor,c="truncate"===t.lineOverflow,f=t.width,h=(n=null==f||"break"!==r&&"breakAll"!==r?e?e.split("\n"):[]:e?x7(e,t.font,f,"breakAll"===r,0).lines:[]).length*l,d=h3(t.height,h);if(h>d&&c){var p=Math.floor(d/l);n=n.slice(0,p)}if(e&&a&&null!=f)for(var g=h7(f,o,t.ellipsis,{minChar:t.truncateMinChar,placeholder:t.placeholder}),m=0;m<n.length;m++)n[m]=d7(n[m],g);var b=d,v=0;for(m=0;m<n.length;m++)v=Math.max(M8(n[m],o),v);null==f&&(f=v);var y=v;return i&&(b+=i[0]+i[2],y+=i[1]+i[3],f+=i[1]+i[3]),u&&(y=f),{lines:n,height:d,outerWidth:y,outerHeight:b,lineHeight:l,calculatedLineHeight:s,contentWidth:v,contentHeight:h,width:f}}(ste(e),e),i=lte(e),o=!!e.backgroundColor,a=r.outerHeight,s=r.outerWidth,l=r.contentWidth,u=r.lines,c=r.lineHeight,f=this._defaultStyle,h=e.x||0,d=e.y||0,p=e.align||f.align||"left",g=e.verticalAlign||f.verticalAlign||"top",m=h,b=O8(d,r.contentHeight,g);if(i||n){var v=P8(h,s,p),y=O8(d,a,g);i&&this._renderBackground(e,e,v,y,s,a)}b+=c/2,n&&(m=ate(h,p,n),"top"===g?b+=n[0]:"bottom"===g&&(b-=n[2]));for(var w=0,x=!1,_=(ote("fill"in e?e.fill:(x=!0,f.fill))),S=(ite("stroke"in e?e.stroke:o||f.autoStroke&&!x?null:(w=2,f.stroke))),k=e.textShadowBlur>0,C=null!=e.width&&("truncate"===e.overflow||"break"===e.overflow||"breakAll"===e.overflow),E=r.calculatedLineHeight,I=0;I<u.length;I++){var M=this._getOrCreateChild(Lee),T=M.createStyle();M.useStyle(T),T.text=u[I],T.x=m,T.y=b,p&&(T.textAlign=p),T.textBaseline="middle",T.opacity=e.opacity,T.strokeFirst=!0,k&&(T.shadowBlur=e.textShadowBlur||0,T.shadowColor=e.textShadowColor||"transparent",T.shadowOffsetX=e.textShadowOffsetX||0,T.shadowOffsetY=e.textShadowOffsetY||0),T.stroke=S,T.fill=_,S&&(T.lineWidth=e.lineWidth||w,T.lineDash=e.lineDash,T.lineDashOffset=e.lineDashOffset||0),T.font=t,tte(T,e),b+=c,C&&M.setBoundingRect(new $5(P8(T.x,e.width,T.textAlign),O8(T.y,E,T.textBaseline),l,E))}},t.prototype._updateRichTexts=function(){var e=this.style,t=function(e,t){var n=new b7;if(null!=e&&(e+=""),!e)return n;for(var r,i=t.width,o=t.height,a=t.overflow,s="break"!==a&&"breakAll"!==a||null==i?null:{width:i,accumWidth:0,breakAll:"breakAll"===a},l=c7.lastIndex=0;null!=(r=c7.exec(e));){var u=r.index;u>l&&v7(n,e.substring(l,u),t,s),v7(n,r[2],t,s,r[1]),l=c7.lastIndex}l<e.length&&v7(n,e.substring(l,e.length),t,s);var c=[],f=0,h=0,d=t.padding,p="truncate"===a,g="truncate"===t.lineOverflow;function m(e,t,n){e.width=t,e.lineHeight=n,f+=n,h=Math.max(h,t)}e:for(var b=0;b<n.lines.length;b++){for(var v=n.lines[b],y=0,w=0,x=0;x<v.tokens.length;x++){var _=(O=v.tokens[x]).styleName&&t.rich[O.styleName]||{},S=O.textPadding=_.padding,k=S?S[1]+S[3]:0,C=O.font=_.font||t.font;O.contentHeight=D8(C);var E=h3(_.height,O.contentHeight);if(O.innerHeight=E,S&&(E+=S[0]+S[2]),O.height=E,O.lineHeight=d3(_.lineHeight,t.lineHeight,E),O.align=_&&_.align||t.align,O.verticalAlign=_&&_.verticalAlign||"middle",g&&null!=o&&f+O.lineHeight>o){x>0?(v.tokens=v.tokens.slice(0,x),m(v,w,y),n.lines=n.lines.slice(0,b+1)):n.lines=n.lines.slice(0,b);break e}var I=_.width,M=null==I||"auto"===I;if("string"==typeof I&&"%"===I.charAt(I.length-1))O.percentWidth=I,c.push(O),O.contentWidth=M8(O.text,C);else{if(M){var T=_.backgroundColor,A=T&&T.image;A&&u7(A=a7(A))&&(O.width=Math.max(O.width,A.width*E/A.height))}var P=p&&null!=i?i-w:null;null!=P&&P<O.width?!M||P<k?(O.text="",O.width=O.contentWidth=0):(O.text=f7(O.text,P-k,C,t.ellipsis,{minChar:t.truncateMinChar}),O.width=O.contentWidth=M8(O.text,C)):O.contentWidth=M8(O.text,C)}O.width+=k,w+=O.width,_&&(y=Math.max(y,O.lineHeight))}m(v,w,y)}for(n.outerWidth=n.width=h3(i,h),n.outerHeight=n.height=h3(o,f),n.contentHeight=f,n.contentWidth=h,d&&(n.outerWidth+=d[1]+d[3],n.outerHeight+=d[0]+d[2]),b=0;b<c.length;b++){var O,D=(O=c[b]).percentWidth;O.width=parseInt(D,10)/100*n.width}return n}(ste(e),e),n=t.width,r=t.outerWidth,i=t.outerHeight,o=e.padding,a=e.x||0,s=e.y||0,l=this._defaultStyle,u=e.align||l.align,c=e.verticalAlign||l.verticalAlign,f=P8(a,r,u),h=O8(s,i,c),d=f,p=h;o&&(d+=o[3],p+=o[0]);var g=d+n;lte(e)&&this._renderBackground(e,e,f,h,r,i);for(var m=!!e.backgroundColor,b=0;b<t.lines.length;b++){for(var v=t.lines[b],y=v.tokens,w=y.length,x=v.lineHeight,_=v.width,S=0,k=d,C=g,E=w-1,I=void 0;S<w&&(!(I=y[S]).align||"left"===I.align);)this._placeToken(I,e,x,p,k,"left",m),_-=I.width,k+=I.width,S++;for(;E>=0&&"right"===(I=y[E]).align;)this._placeToken(I,e,x,p,C,"right",m),_-=I.width,C-=I.width,E--;for(k+=(n-(k-d)-(g-C)-_)/2;S<=E;)I=y[S],this._placeToken(I,e,x,p,k+I.width/2,"center",m),k+=I.width,S++;p+=x}},t.prototype._placeToken=function(e,t,n,r,i,o,a){var s=t.rich[e.styleName]||{};s.text=e.text;var l=e.verticalAlign,u=r+n/2;"top"===l?u=r+e.height/2:"bottom"===l&&(u=r+n-e.height/2),!e.isLineHolder&&lte(s)&&this._renderBackground(s,t,"right"===o?i-e.width:"center"===o?i-e.width/2:i,u-e.height/2,e.width,e.height);var c=!!s.backgroundColor,f=e.textPadding;f&&(i=ate(i,o,f),u-=e.height/2-f[0]-e.innerHeight/2);var h=this._getOrCreateChild(Lee),d=h.createStyle();h.useStyle(d);var p=this._defaultStyle,g=!1,m=0,b=ote("fill"in s?s.fill:"fill"in t?t.fill:(g=!0,p.fill)),v=ite("stroke"in s?s.stroke:"stroke"in t?t.stroke:c||a||p.autoStroke&&!g?null:(m=2,p.stroke)),y=s.textShadowBlur>0||t.textShadowBlur>0;d.text=e.text,d.x=i,d.y=u,y&&(d.shadowBlur=s.textShadowBlur||t.textShadowBlur||0,d.shadowColor=s.textShadowColor||t.textShadowColor||"transparent",d.shadowOffsetX=s.textShadowOffsetX||t.textShadowOffsetX||0,d.shadowOffsetY=s.textShadowOffsetY||t.textShadowOffsetY||0),d.textAlign=o,d.textBaseline="middle",d.font=e.font||w2,d.opacity=d3(s.opacity,t.opacity,1),tte(d,s),v&&(d.lineWidth=d3(s.lineWidth,t.lineWidth,m),d.lineDash=h3(s.lineDash,t.lineDash),d.lineDashOffset=t.lineDashOffset||0,d.stroke=v),b&&(d.fill=b);var w=e.contentWidth,x=e.contentHeight;h.setBoundingRect(new $5(P8(d.x,w,d.textAlign),O8(d.y,x,d.textBaseline),w,x))},t.prototype._renderBackground=function(e,t,n,r,i,o){var a,s,l,u=e.backgroundColor,c=e.borderWidth,f=e.borderColor,h=u&&u.image,d=u&&!h,p=e.borderRadius,g=this;if(d||e.lineHeight||c&&f){(a=this._getOrCreateChild(qee)).useStyle(a.createStyle()),a.style.fill=null;var m=a.shape;m.x=n,m.y=r,m.width=i,m.height=o,m.r=p,a.dirtyShape()}if(d)(l=a.style).fill=u||null,l.fillOpacity=h3(e.fillOpacity,1);else if(h){(s=this._getOrCreateChild(zee)).onload=function(){g.dirtyStyle()};var b=s.style;b.image=u.image,b.x=n,b.y=r,b.width=i,b.height=o}c&&f&&((l=a.style).lineWidth=c,l.stroke=f,l.strokeOpacity=h3(e.strokeOpacity,1),l.lineDash=e.borderDash,l.lineDashOffset=e.borderDashOffset||0,a.strokeContainThreshold=0,a.hasFill()&&a.hasStroke()&&(l.strokeFirst=!0,l.lineWidth*=2));var v=(a||s).style;v.shadowBlur=e.shadowBlur||0,v.shadowColor=e.shadowColor||"transparent",v.shadowOffsetX=e.shadowOffsetX||0,v.shadowOffsetY=e.shadowOffsetY||0,v.opacity=d3(e.opacity,t.opacity,1)},t.makeFont=function(e){var t="";return nte(e)&&(t=[e.fontStyle,e.fontWeight,ete(e.fontSize),e.fontFamily||"sans-serif"].join(" ")),t&&b3(t)||e.textFont||e.font},t}(A7),Zee={left:!0,right:1,center:1},Qee={top:1,bottom:1,middle:1},Jee=["fontStyle","fontWeight","fontSize","fontFamily"];function ete(e){return"string"!=typeof e||-1===e.indexOf("px")&&-1===e.indexOf("rem")&&-1===e.indexOf("em")?isNaN(+e)?"12px":e+"px":e}function tte(e,t){for(var n=0;n<Jee.length;n++){var r=Jee[n],i=t[r];null!=i&&(e[r]=i)}}function nte(e){return null!=e.fontSize||e.fontFamily||e.fontWeight}function rte(e){if(e){e.font=Kee.makeFont(e);var t=e.align;"middle"===t&&(t="center"),e.align=null==t||Zee[t]?t:"left";var n=e.verticalAlign;"center"===n&&(n="middle"),e.verticalAlign=null==n||Qee[n]?n:"top",e.padding&&(e.padding=g3(e.padding))}}function ite(e,t){return null==e||t<=0||"transparent"===e||"none"===e?null:e.image||e.colorStops?"#000":e}function ote(e){return null==e||"none"===e?null:e.image||e.colorStops?"#000":e}function ate(e,t,n){return"right"===t?e-n[1]:"center"===t?e+n[3]/2-n[1]/2:e+n[3]}function ste(e){var t=e.text;return null!=t&&(t+=""),t}function lte(e){return!!(e.backgroundColor||e.lineHeight||e.borderWidth&&e.borderColor)}const ute=Kee;var cte=j9(),fte=function(e,t,n,r){if(r){var i=cte(r);i.dataIndex=n,i.dataType=t,i.seriesIndex=e,"group"===r.type&&r.traverse((function(r){var i=cte(r);i.seriesIndex=e,i.dataIndex=n,i.dataType=t}))}},hte=1,dte={},pte=j9(),gte=j9(),mte=["emphasis","blur","select"],bte=["normal","emphasis","blur","select"],vte=10,yte="highlight",wte="downplay",xte="select",_te="unselect",Ste="toggleSelect";function kte(e){return null!=e&&"none"!==e}var Cte=new W4(100);function Ete(e){if(n3(e)){var t=Cte.get(e);return t||(t=a6(e,-.1),Cte.put(e,t)),t}if(u3(e)){var n=$2({},e);return n.colorStops=X2(e.colorStops,(function(e){return{offset:e.offset,color:a6(e.color,-.1)}})),n}return e}function Ite(e,t,n){e.onHoverStateChange&&(e.hoverState||0)!==n&&e.onHoverStateChange(t),e.hoverState=n}function Mte(e){Ite(e,"emphasis",2)}function Tte(e){2===e.hoverState&&Ite(e,"normal",0)}function Ate(e){Ite(e,"blur",1)}function Pte(e){1===e.hoverState&&Ite(e,"normal",0)}function Ote(e){e.selected=!0}function Dte(e){e.selected=!1}function Rte(e,t,n){t(e,n)}function Lte(e,t,n){Rte(e,t,n),e.isGroup&&e.traverse((function(e){Rte(e,t,n)}))}function Nte(e,t){switch(t){case"emphasis":e.hoverState=2;break;case"normal":e.hoverState=0;break;case"blur":e.hoverState=1;break;case"select":e.selected=!0}}function jte(e,t){var n=this.states[e];if(this.style){if("emphasis"===e)return function(e,t,n,r){var i=n&&G2(n,"select")>=0,o=!1;if(e instanceof Oee){var a=pte(e),s=i&&a.selectFill||a.normalFill,l=i&&a.selectStroke||a.normalStroke;if(kte(s)||kte(l)){var u=(r=r||{}).style||{};"inherit"===u.fill?(o=!0,r=$2({},r),(u=$2({},u)).fill=s):!kte(u.fill)&&kte(s)?(o=!0,r=$2({},r),(u=$2({},u)).fill=Ete(s)):!kte(u.stroke)&&kte(l)&&(o||(r=$2({},r),u=$2({},u)),u.stroke=Ete(l)),r.style=u}}if(r&&null==r.z2){o||(r=$2({},r));var c=e.z2EmphasisLift;r.z2=e.z2+(null!=c?c:vte)}return r}(this,0,t,n);if("blur"===e)return function(e,t,n){var r=G2(e.currentStates,t)>=0,i=e.style.opacity,o=r?null:function(e,t,n,r){for(var i=e.style,o={},a=0;a<t.length;a++){var s=t[a],l=i[s];o[s]=null==l?r&&r[s]:l}for(a=0;a<e.animators.length;a++){var u=e.animators[a];u.__fromStateTransition&&u.__fromStateTransition.indexOf(n)<0&&"style"===u.targetName&&u.saveTo(o,t)}return o}(e,["opacity"],t,{opacity:1}),a=(n=n||{}).style||{};return null==a.opacity&&(n=$2({},n),a=$2({opacity:r?i:.1*o.opacity},a),n.style=a),n}(this,e,n);if("select"===e)return function(e,t,n){if(n&&null==n.z2){n=$2({},n);var r=e.z2SelectLift;n.z2=e.z2+(null!=r?r:9)}return n}(this,0,n)}return n}function Fte(e){e.stateProxy=jte;var t=e.getTextContent(),n=e.getTextGuideLine();t&&(t.stateProxy=jte),n&&(n.stateProxy=jte)}function zte(e,t){!qte(e,t)&&!e.__highByOuter&&Lte(e,Mte)}function Bte(e,t){!qte(e,t)&&!e.__highByOuter&&Lte(e,Tte)}function Vte(e,t){e.__highByOuter|=1<<(t||0),Lte(e,Mte)}function $te(e,t){!(e.__highByOuter&=~(1<<(t||0)))&&Lte(e,Tte)}function Hte(e){Lte(e,Ate)}function Gte(e){Lte(e,Pte)}function Wte(e){Lte(e,Ote)}function Ute(e){Lte(e,Dte)}function qte(e,t){return e.__highDownSilentOnTouch&&t.zrByTouch}function Xte(e){var t=e.getModel(),n=[],r=[];t.eachComponent((function(t,i){var o=gte(i),a="series"===t,s=a?e.getViewOfSeriesModel(i):e.getViewOfComponentModel(i);!a&&r.push(s),o.isBlured&&(s.group.traverse((function(e){Pte(e)})),a&&n.push(i)),o.isBlured=!1})),q2(r,(function(e){e&&e.toggleBlurSeries&&e.toggleBlurSeries(n,!1,t)}))}function Yte(e,t,n,r){var i=r.getModel();function o(e,t){for(var n=0;n<t.length;n++){var r=e.getItemGraphicEl(t[n]);r&&Gte(r)}}if(n=n||"coordinateSystem",null!=e&&t&&"none"!==t){var a=i.getSeriesByIndex(e),s=a.coordinateSystem;s&&s.master&&(s=s.master);var l=[];i.eachSeries((function(e){var i=a===e,u=e.coordinateSystem;if(u&&u.master&&(u=u.master),!("series"===n&&!i||"coordinateSystem"===n&&!(u&&s?u===s:i)||"series"===t&&i)){if(r.getViewOfSeriesModel(e).group.traverse((function(e){Ate(e)})),U2(t))o(e.getData(),t);else if(o3(t))for(var c=Z2(t),f=0;f<c.length;f++)o(e.getData(c[f]),t[c[f]]);l.push(e),gte(e).isBlured=!0}})),i.eachComponent((function(e,t){if("series"!==e){var n=r.getViewOfComponentModel(t);n&&n.toggleBlurSeries&&n.toggleBlurSeries(l,!0,i)}}))}}function Kte(e,t,n){if(null!=e&&null!=t){var r=n.getModel().getComponent(e,t);if(r){gte(r).isBlured=!0;var i=n.getViewOfComponentModel(r);i&&i.focusBlurEnabled&&i.group.traverse((function(e){Ate(e)}))}}}function Zte(e,t,n,r){var i={focusSelf:!1,dispatchers:null};if(null==e||"series"===e||null==t||null==n)return i;var o=r.getModel().getComponent(e,t);if(!o)return i;var a=r.getViewOfComponentModel(o);if(!a||!a.findHighDownDispatchers)return i;for(var s,l=a.findHighDownDispatchers(n),u=0;u<l.length;u++)if("self"===cte(l[u]).focus){s=!0;break}return{focusSelf:s,dispatchers:l}}function Qte(e){q2(e.getAllData(),(function(t){var n=t.data,r=t.type;n.eachItemGraphicEl((function(t,n){e.isSelected(n,r)?Wte(t):Ute(t)}))}))}function Jte(e){var t=[];return e.eachSeries((function(e){q2(e.getAllData(),(function(n){n.data;var r=n.type,i=e.getSelectedDataIndices();if(i.length>0){var o={dataIndex:i,seriesIndex:e.seriesIndex};null!=r&&(o.dataType=r),t.push(o)}}))})),t}function ene(e,t,n){ane(e,!0),Lte(e,Fte),nne(e,t,n)}function tne(e,t,n,r){r?function(e){ane(e,!1)}(e):ene(e,t,n)}function nne(e,t,n){var r=cte(e);null!=t?(r.focus=t,r.blurScope=n):r.focus&&(r.focus=null)}var rne=["emphasis","blur","select"],ine={itemStyle:"getItemStyle",lineStyle:"getLineStyle",areaStyle:"getAreaStyle"};function one(e,t,n,r){n=n||"itemStyle";for(var i=0;i<rne.length;i++){var o=rne[i],a=t.getModel([o,n]);e.ensureState(o).style=r?r(a):a[ine[n]]()}}function ane(e,t){var n=!1===t,r=e;e.highDownSilentOnTouch&&(r.__highDownSilentOnTouch=e.highDownSilentOnTouch),n&&!r.__highDownDispatcher||(r.__highByOuter=r.__highByOuter||0,r.__highDownDispatcher=!n)}function sne(e){return!(!e||!e.__highDownDispatcher)}function lne(e){var t=e.type;return t===xte||t===_te||t===Ste}function une(e){var t=e.type;return t===yte||t===wte}var cne=j9();function fne(e,t,n,r,i){var o;if(t&&t.ecModel){var a=t.ecModel.getUpdatePayload();o=a&&a.animation}var s="update"===e;if(t&&t.isAnimationEnabled()){var l=void 0,u=void 0,c=void 0;return r?(l=h3(r.duration,200),u=h3(r.easing,"cubicOut"),c=0):(l=t.getShallow(s?"animationDurationUpdate":"animationDuration"),u=t.getShallow(s?"animationEasingUpdate":"animationEasing"),c=t.getShallow(s?"animationDelayUpdate":"animationDelay")),o&&(null!=o.duration&&(l=o.duration),null!=o.easing&&(u=o.easing),null!=o.delay&&(c=o.delay)),t3(c)&&(c=c(n,i)),t3(l)&&(l=l(n)),{duration:l||0,delay:c,easing:u}}return null}function hne(e,t,n,r,i,o,a){var s,l=!1;t3(i)?(a=o,o=i,i=null):o3(i)&&(o=i.cb,a=i.during,l=i.isFrom,s=i.removeOpt,i=i.dataIndex);var u="leave"===e;u||t.stopAnimation("leave");var c=fne(e,r,i,u?s||{}:null,r&&r.getAnimationDelayParams?r.getAnimationDelayParams(t,i):null);if(c&&c.duration>0){var f={duration:c.duration,delay:c.delay||0,easing:c.easing,done:o,force:!!o||!!a,setToFinal:!u,scope:e,during:a};l?t.animateFrom(n,f):t.animateTo(n,f)}else t.stopAnimation(),!l&&t.attr(n),a&&a(1),o&&o()}function dne(e,t,n,r,i,o){hne("update",e,t,n,r,i,o)}function pne(e,t,n,r,i,o){hne("enter",e,t,n,r,i,o)}function gne(e){if(!e.__zr)return!0;for(var t=0;t<e.animators.length;t++){if("leave"===e.animators[t].scope)return!0}return!1}function mne(e,t,n,r,i,o){gne(e)||hne("leave",e,t,n,r,i,o)}function bne(e,t,n,r){e.removeTextContent(),e.removeTextGuideLine(),mne(e,{style:{opacity:0}},t,n,r)}function vne(e,t,n){function r(){e.parent&&e.parent.remove(e)}e.isGroup?e.traverse((function(e){e.isGroup||bne(e,t,n,r)})):bne(e,t,n,r)}function yne(e){cne(e).oldStyle=e.style}var wne={};function xne(e,t){for(var n=0;n<mte.length;n++){var r=mte[n],i=t[r],o=e.ensureState(r);o.style=o.style||{},o.style.text=i}var a=e.currentStates.slice();e.clearStates(!0),e.setStyle({text:t.normal}),e.useStates(a,!0)}function _ne(e,t,n){var r,i=e.labelFetcher,o=e.labelDataIndex,a=e.labelDimIndex,s=t.normal;i&&(r=i.getFormattedLabel(o,"normal",null,a,s&&s.get("formatter"),null!=n?{interpolatedValue:n}:null)),null==r&&(r=t3(e.defaultText)?e.defaultText(o,e,n):e.defaultText);for(var l={normal:r},u=0;u<mte.length;u++){var c=mte[u],f=t[c];l[c]=h3(i?i.getFormattedLabel(o,c,null,a,f&&f.get("formatter")):null,r)}return l}function Sne(e,t,n,r){n=n||wne;for(var i=e instanceof ute,o=!1,a=0;a<bte.length;a++){if((h=t[bte[a]])&&h.getShallow("show")){o=!0;break}}var s=i?e:e.getTextContent();if(o){i||(s||(s=new ute,e.setTextContent(s)),e.stateProxy&&(s.stateProxy=e.stateProxy));var l=_ne(n,t),u=t.normal,c=!!u.getShallow("show"),f=Cne(u,r&&r.normal,n,!1,!i);f.text=l.normal,i||e.setTextConfig(Ene(u,n,!1));for(a=0;a<mte.length;a++){var h,d=mte[a];if(h=t[d]){var p=s.ensureState(d),g=!!h3(h.getShallow("show"),c);if(g!==c&&(p.ignore=!g),p.style=Cne(h,r&&r[d],n,!0,!i),p.style.text=l[d],!i)e.ensureState(d).textConfig=Ene(h,n,!0)}}s.silent=!!u.getShallow("silent"),null!=s.style.x&&(f.x=s.style.x),null!=s.style.y&&(f.y=s.style.y),s.ignore=!c,s.useStyle(f),s.dirty(),n.enableTextSetter&&(One(s).setLabelText=function(e){var r=_ne(n,t,e);xne(s,r)})}else s&&(s.ignore=!0);e.dirty()}function kne(e,t){t=t||"label";for(var n={normal:e.getModel(t)},r=0;r<mte.length;r++){var i=mte[r];n[i]=e.getModel([i,t])}return n}function Cne(e,t,n,r,i){var o={};return function(e,t,n,r,i){n=n||wne;var o,a=t.ecModel,s=a&&a.option.textStyle,l=function(e){var t;for(;e&&e!==e.ecModel;){var n=(e.option||wne).rich;if(n){t=t||{};for(var r=Z2(n),i=0;i<r.length;i++){t[r[i]]=1}}e=e.parentModel}return t}(t);if(l)for(var u in o={},l)if(l.hasOwnProperty(u)){var c=t.getModel(["rich",u]);Ane(o[u]={},c,s,n,r,i,!1,!0)}o&&(e.rich=o);var f=t.get("overflow");f&&(e.overflow=f);var h=t.get("minMargin");null!=h&&(e.margin=h);Ane(e,t,s,n,r,i,!0,!1)}(o,e,n,r,i),t&&$2(o,t),o}function Ene(e,t,n){t=t||{};var r,i={},o=e.getShallow("rotate"),a=h3(e.getShallow("distance"),n?null:5),s=e.getShallow("offset");return"outside"===(r=e.getShallow("position")||(n?null:"inside"))&&(r=t.defaultOutsidePosition||"top"),null!=r&&(i.position=r),null!=s&&(i.offset=s),null!=o&&(o*=Math.PI/180,i.rotation=o),null!=a&&(i.distance=a),i.outsideFill="inherit"===e.get("color")?t.inheritColor||null:"auto",i}var Ine=["fontStyle","fontWeight","fontSize","fontFamily","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY"],Mne=["align","lineHeight","width","height","tag","verticalAlign"],Tne=["padding","borderWidth","borderRadius","borderDashOffset","backgroundColor","borderColor","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"];function Ane(e,t,n,r,i,o,a,s){n=!i&&n||wne;var l=r&&r.inheritColor,u=t.getShallow("color"),c=t.getShallow("textBorderColor"),f=h3(t.getShallow("opacity"),n.opacity);"inherit"!==u&&"auto"!==u||(u=l||null),"inherit"!==c&&"auto"!==c||(c=l||null),o||(u=u||n.color,c=c||n.textBorderColor),null!=u&&(e.fill=u),null!=c&&(e.stroke=c);var h=h3(t.getShallow("textBorderWidth"),n.textBorderWidth);null!=h&&(e.lineWidth=h);var d=h3(t.getShallow("textBorderType"),n.textBorderType);null!=d&&(e.lineDash=d);var p=h3(t.getShallow("textBorderDashOffset"),n.textBorderDashOffset);null!=p&&(e.lineDashOffset=p),i||null!=f||s||(f=r&&r.defaultOpacity),null!=f&&(e.opacity=f),i||o||null==e.fill&&r.inheritColor&&(e.fill=r.inheritColor);for(var g=0;g<Ine.length;g++){var m=Ine[g];null!=(v=h3(t.getShallow(m),n[m]))&&(e[m]=v)}for(g=0;g<Mne.length;g++){m=Mne[g];null!=(v=t.getShallow(m))&&(e[m]=v)}if(null==e.verticalAlign){var b=t.getShallow("baseline");null!=b&&(e.verticalAlign=b)}if(!a||!r.disableBox){for(g=0;g<Tne.length;g++){var v;m=Tne[g];null!=(v=t.getShallow(m))&&(e[m]=v)}var y=t.getShallow("borderType");null!=y&&(e.borderDash=y),"auto"!==e.backgroundColor&&"inherit"!==e.backgroundColor||!l||(e.backgroundColor=l),"auto"!==e.borderColor&&"inherit"!==e.borderColor||!l||(e.borderColor=l)}}function Pne(e,t){var n=t&&t.getModel("textStyle");return b3([e.fontStyle||n&&n.getShallow("fontStyle")||"",e.fontWeight||n&&n.getShallow("fontWeight")||"",(e.fontSize||n&&n.getShallow("fontSize")||12)+"px",e.fontFamily||n&&n.getShallow("fontFamily")||"sans-serif"].join(" "))}var One=j9();function Dne(e,t,n,r){if(e){var i=One(e);i.prevValue=i.value,i.value=n;var o=t.normal;i.valueAnimation=o.get("valueAnimation"),i.valueAnimation&&(i.precision=o.get("precision"),i.defaultInterpolatedText=r,i.statesModels=t)}}function Rne(e,t,n,r,i){var o=One(e);if(o.valueAnimation&&o.prevValue!==o.value){var a=o.defaultInterpolatedText,s=h3(o.interpolatedValue,o.prevValue),l=o.value;e.percent=0,(null==o.prevValue?pne:dne)(e,{percent:1},r,t,null,(function(r){var u=U9(n,o.precision,s,l,r);o.interpolatedValue=1===r?null:u;var c=_ne({labelDataIndex:t,labelFetcher:i,defaultText:a?a(u):u+""},o.statesModels,u);xne(e,c)}))}}var Lne=["textStyle","color"],Nne=["fontStyle","fontWeight","fontSize","fontFamily","padding","lineHeight","rich","width","height","overflow"],jne=new ute,Fne=function(){function e(){}return e.prototype.getTextColor=function(e){var t=this.ecModel;return this.getShallow("color")||(!e&&t?t.get(Lne):null)},e.prototype.getFont=function(){return Pne({fontStyle:this.getShallow("fontStyle"),fontWeight:this.getShallow("fontWeight"),fontSize:this.getShallow("fontSize"),fontFamily:this.getShallow("fontFamily")},this.ecModel)},e.prototype.getTextRect=function(e){for(var t={text:e,verticalAlign:this.getShallow("verticalAlign")||this.getShallow("baseline")},n=0;n<Nne.length;n++)t[Nne[n]]=this.getShallow(Nne[n]);return jne.useStyle(t),jne.update(),jne.getBoundingRect()},e}();const zne=Fne;var Bne,Vne,$ne=[["lineWidth","width"],["stroke","color"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","type"],["lineDashOffset","dashOffset"],["lineCap","cap"],["lineJoin","join"],["miterLimit"]],Hne=n7($ne),Gne=function(){function e(){}return e.prototype.getLineStyle=function(e){return Hne(this,e)},e}(),Wne=[["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","borderType"],["lineDashOffset","borderDashOffset"],["lineCap","borderCap"],["lineJoin","borderJoin"],["miterLimit","borderMiterLimit"]],Une=n7(Wne),qne=function(){function e(){}return e.prototype.getItemStyle=function(e,t){return Une(this,e,t)},e}(),Xne=function(){function e(e,t,n){this.parentModel=t,this.ecModel=n,this.option=e}return e.prototype.init=function(e,t,n){for(var r=[],i=3;i<arguments.length;i++)r[i-3]=arguments[i]},e.prototype.mergeOption=function(e,t){B2(this.option,e,!0)},e.prototype.get=function(e,t){return null==e?this.option:this._doGet(this.parsePath(e),!t&&this.parentModel)},e.prototype.getShallow=function(e,t){var n=this.option,r=null==n?n:n[e];if(null==r&&!t){var i=this.parentModel;i&&(r=i.getShallow(e))}return r},e.prototype.getModel=function(t,n){var r=null!=t,i=r?this.parsePath(t):null;return new e(r?this._doGet(i):this.option,n=n||this.parentModel&&this.parentModel.getModel(this.resolveParentPath(i)),this.ecModel)},e.prototype.isEmpty=function(){return null==this.option},e.prototype.restoreData=function(){},e.prototype.clone=function(){return new(0,this.constructor)(z2(this.option))},e.prototype.parsePath=function(e){return"string"==typeof e?e.split("."):e},e.prototype.resolveParentPath=function(e){return e},e.prototype.isAnimationEnabled=function(){if(!v2.node&&this.option){if(null!=this.option.animation)return!!this.option.animation;if(this.parentModel)return this.parentModel.isAnimationEnabled()}},e.prototype._doGet=function(e,t){var n=this.option;if(!e)return n;for(var r=0;r<e.length&&(!e[r]||null!=(n=n&&"object"==typeof n?n[e[r]]:null));r++);return null==n&&t&&(n=t._doGet(this.resolveParentPath(e),t.parentModel)),n},e}();K9(Xne),Bne=Xne,Vne=["__\0is_clz",Q9++].join("_"),Bne.prototype[Vne]=!0,Bne.isInstance=function(e){return!(!e||!e[Vne])},W2(Xne,Gne),W2(Xne,qne),W2(Xne,i7),W2(Xne,zne);const Yne=Xne;var Kne=Math.round(10*Math.random());function Zne(e){return[e||"",Kne++].join("_")}function Qne(e,t){return B2(B2({},e,!0),t,!0)}var Jne="ZH",ere="EN",tre=ere,nre={},rre={},ire=v2.domSupported&&(document.documentElement.lang||navigator.language||navigator.browserLanguage).toUpperCase().indexOf(Jne)>-1?Jne:tre;function ore(e,t){e=e.toUpperCase(),rre[e]=new Yne(t),nre[e]=t}function are(e){return rre[e]}ore(ere,{time:{month:["January","February","March","April","May","June","July","August","September","October","November","December"],monthAbbr:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayOfWeek:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayOfWeekAbbr:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]},legend:{selector:{all:"All",inverse:"Inv"}},toolbox:{brush:{title:{rect:"Box Select",polygon:"Lasso Select",lineX:"Horizontally Select",lineY:"Vertically Select",keep:"Keep Selections",clear:"Clear Selections"}},dataView:{title:"Data View",lang:["Data View","Close","Refresh"]},dataZoom:{title:{zoom:"Zoom",back:"Zoom Reset"}},magicType:{title:{line:"Switch to Line Chart",bar:"Switch to Bar Chart",stack:"Stack",tiled:"Tile"}},restore:{title:"Restore"},saveAsImage:{title:"Save as Image",lang:["Right Click to Save Image"]}},series:{typeNames:{pie:"Pie chart",bar:"Bar chart",line:"Line chart",scatter:"Scatter plot",effectScatter:"Ripple scatter plot",radar:"Radar chart",tree:"Tree",treemap:"Treemap",boxplot:"Boxplot",candlestick:"Candlestick",k:"K line chart",heatmap:"Heat map",map:"Map",parallel:"Parallel coordinate map",lines:"Line graph",graph:"Relationship graph",sankey:"Sankey diagram",funnel:"Funnel chart",gauge:"Gauge",pictorialBar:"Pictorial bar",themeRiver:"Theme River Map",sunburst:"Sunburst"}},aria:{general:{withTitle:'This is a chart about "{title}"',withoutTitle:"This is a chart"},series:{single:{prefix:"",withName:" with type {seriesType} named {seriesName}.",withoutName:" with type {seriesType}."},multiple:{prefix:". It consists of {seriesCount} series count.",withName:" The {seriesId} series is a {seriesType} representing {seriesName}.",withoutName:" The {seriesId} series is a {seriesType}.",separator:{middle:"",end:""}}},data:{allData:"The data is as follows: ",partialData:"The first {displayCnt} items are: ",withName:"the data for {name} is {value}",withoutName:"{value}",separator:{middle:", ",end:". "}}}}),ore(Jne,{time:{month:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],monthAbbr:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],dayOfWeek:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],dayOfWeekAbbr:["日","一","二","三","四","五","六"]},legend:{selector:{all:"全选",inverse:"反选"}},toolbox:{brush:{title:{rect:"矩形选择",polygon:"圈选",lineX:"横向选择",lineY:"纵向选择",keep:"保持选择",clear:"清除选择"}},dataView:{title:"数据视图",lang:["数据视图","关闭","刷新"]},dataZoom:{title:{zoom:"区域缩放",back:"区域缩放还原"}},magicType:{title:{line:"切换为折线图",bar:"切换为柱状图",stack:"切换为堆叠",tiled:"切换为平铺"}},restore:{title:"还原"},saveAsImage:{title:"保存为图片",lang:["右键另存为图片"]}},series:{typeNames:{pie:"饼图",bar:"柱状图",line:"折线图",scatter:"散点图",effectScatter:"涟漪散点图",radar:"雷达图",tree:"树图",treemap:"矩形树图",boxplot:"箱型图",candlestick:"K线图",k:"K线图",heatmap:"热力图",map:"地图",parallel:"平行坐标图",lines:"线图",graph:"关系图",sankey:"桑基图",funnel:"漏斗图",gauge:"仪表盘图",pictorialBar:"象形柱图",themeRiver:"主题河流图",sunburst:"旭日图"}},aria:{general:{withTitle:"这是一个关于“{title}”的图表。",withoutTitle:"这是一个图表,"},series:{single:{prefix:"",withName:"图表类型是{seriesType},表示{seriesName}。",withoutName:"图表类型是{seriesType}。"},multiple:{prefix:"它由{seriesCount}个图表系列组成。",withName:"第{seriesId}个系列是一个表示{seriesName}的{seriesType},",withoutName:"第{seriesId}个系列是一个{seriesType},",separator:{middle:";",end:"。"}}},data:{allData:"其数据是——",partialData:"其中,前{displayCnt}项是——",withName:"{name}的数据是{value}",withoutName:"{value}",separator:{middle:",",end:""}}}});var sre=1e3,lre=6e4,ure=36e5,cre=864e5,fre=31536e6,hre={year:"{yyyy}",month:"{MMM}",day:"{d}",hour:"{HH}:{mm}",minute:"{HH}:{mm}",second:"{HH}:{mm}:{ss}",millisecond:"{HH}:{mm}:{ss} {SSS}",none:"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss} {SSS}"},dre="{yyyy}-{MM}-{dd}",pre={year:"{yyyy}",month:"{yyyy}-{MM}",day:dre,hour:"{yyyy}-{MM}-{dd} "+hre.hour,minute:"{yyyy}-{MM}-{dd} "+hre.minute,second:"{yyyy}-{MM}-{dd} "+hre.second,millisecond:hre.none},gre=["year","month","day","hour","minute","second","millisecond"],mre=["year","half-year","quarter","month","week","half-week","day","half-day","quarter-day","hour","minute","second","millisecond"];function bre(e,t){return"0000".substr(0,t-(e+="").length)+e}function vre(e){switch(e){case"half-year":case"quarter":return"month";case"week":case"half-week":return"day";case"half-day":case"quarter-day":return"hour";default:return e}}function yre(e){return e===vre(e)}function wre(e,t,n,r){var i=h9(e),o=i[Sre(n)](),a=i[kre(n)]()+1,s=Math.floor((a-1)/3)+1,l=i[Cre(n)](),u=i["get"+(n?"UTC":"")+"Day"](),c=i[Ere(n)](),f=(c-1)%12+1,h=i[Ire(n)](),d=i[Mre(n)](),p=i[Tre(n)](),g=(r instanceof Yne?r:are(r||ire)||rre.EN).getModel("time"),m=g.get("month"),b=g.get("monthAbbr"),v=g.get("dayOfWeek"),y=g.get("dayOfWeekAbbr");return(t||"").replace(/{yyyy}/g,o+"").replace(/{yy}/g,o%100+"").replace(/{Q}/g,s+"").replace(/{MMMM}/g,m[a-1]).replace(/{MMM}/g,b[a-1]).replace(/{MM}/g,bre(a,2)).replace(/{M}/g,a+"").replace(/{dd}/g,bre(l,2)).replace(/{d}/g,l+"").replace(/{eeee}/g,v[u]).replace(/{ee}/g,y[u]).replace(/{e}/g,u+"").replace(/{HH}/g,bre(c,2)).replace(/{H}/g,c+"").replace(/{hh}/g,bre(f+"",2)).replace(/{h}/g,f+"").replace(/{mm}/g,bre(h,2)).replace(/{m}/g,h+"").replace(/{ss}/g,bre(d,2)).replace(/{s}/g,d+"").replace(/{SSS}/g,bre(p,3)).replace(/{S}/g,p+"")}function xre(e,t){var n=h9(e),r=n[kre(t)]()+1,i=n[Cre(t)](),o=n[Ere(t)](),a=n[Ire(t)](),s=n[Mre(t)](),l=0===n[Tre(t)](),u=l&&0===s,c=u&&0===a,f=c&&0===o,h=f&&1===i;return h&&1===r?"year":h?"month":f?"day":c?"hour":u?"minute":l?"second":"millisecond"}function _re(e,t,n){var r=i3(e)?h9(e):e;switch(t=t||xre(e,n)){case"year":return r[Sre(n)]();case"half-year":return r[kre(n)]()>=6?1:0;case"quarter":return Math.floor((r[kre(n)]()+1)/4);case"month":return r[kre(n)]();case"day":return r[Cre(n)]();case"half-day":return r[Ere(n)]()/24;case"hour":return r[Ere(n)]();case"minute":return r[Ire(n)]();case"second":return r[Mre(n)]();case"millisecond":return r[Tre(n)]()}}function Sre(e){return e?"getUTCFullYear":"getFullYear"}function kre(e){return e?"getUTCMonth":"getMonth"}function Cre(e){return e?"getUTCDate":"getDate"}function Ere(e){return e?"getUTCHours":"getHours"}function Ire(e){return e?"getUTCMinutes":"getMinutes"}function Mre(e){return e?"getUTCSeconds":"getSeconds"}function Tre(e){return e?"getUTCMilliseconds":"getMilliseconds"}function Are(e){return e?"setUTCFullYear":"setFullYear"}function Pre(e){return e?"setUTCMonth":"setMonth"}function Ore(e){return e?"setUTCDate":"setDate"}function Dre(e){return e?"setUTCHours":"setHours"}function Rre(e){return e?"setUTCMinutes":"setMinutes"}function Lre(e){return e?"setUTCSeconds":"setSeconds"}function Nre(e){return e?"setUTCMilliseconds":"setMilliseconds"}function jre(e){if(!v9(e))return n3(e)?e:"-";var t=(e+"").split(".");return t[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(t.length>1?"."+t[1]:"")}function Fre(e,t){return e=(e||"").toLowerCase().replace(/-(.)/g,(function(e,t){return t.toUpperCase()})),t&&e&&(e=e.charAt(0).toUpperCase()+e.slice(1)),e}var zre=g3;function Bre(e,t,n){function r(e){return e&&b3(e)?e:"-"}function i(e){return!(null==e||isNaN(e)||!isFinite(e))}var o="time"===t,a=e instanceof Date;if(o||a){var s=o?h9(e):e;if(!isNaN(+s))return wre(s,"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss}",n);if(a)return"-"}if("ordinal"===t)return r3(e)?r(e):i3(e)&&i(e)?e+"":"-";var l=b9(e);return i(l)?jre(l):r3(e)?r(e):"boolean"==typeof e?e+"":"-"}var Vre=["a","b","c","d","e","f","g"],$re=function(e,t){return"{"+e+(null==t?"":t)+"}"};function Hre(e,t,n){e3(t)||(t=[t]);var r=t.length;if(!r)return"";for(var i=t[0].$vars||[],o=0;o<i.length;o++){var a=Vre[o];e=e.replace($re(a),$re(a,0))}for(var s=0;s<r;s++)for(var l=0;l<i.length;l++){var u=t[s][i[l]];e=e.replace($re(Vre[l],s),n?c5(u):u)}return e}function Gre(e,t){return t=t||"transparent",n3(e)?e:o3(e)&&e.colorStops&&(e.colorStops[0]||{}).color||t}function Wre(e,t){if("_blank"===t||"blank"===t){var n=window.open();n.opener=null,n.location.href=e}else window.open(e,t)}var Ure=q2,qre=["left","right","top","bottom","width","height"],Xre=[["width","left","right"],["height","top","bottom"]];function Yre(e,t,n,r,i){var o=0,a=0;null==r&&(r=1/0),null==i&&(i=1/0);var s=0;t.eachChild((function(l,u){var c,f,h=l.getBoundingRect(),d=t.childAt(u+1),p=d&&d.getBoundingRect();if("horizontal"===e){var g=h.width+(p?-p.x+h.x:0);(c=o+g)>r||l.newline?(o=0,c=g,a+=s+n,s=h.height):s=Math.max(s,h.height)}else{var m=h.height+(p?-p.y+h.y:0);(f=a+m)>i||l.newline?(o+=s+n,a=0,f=m,s=h.width):s=Math.max(s,h.width)}l.newline||(l.x=o,l.y=a,l.markRedraw(),"horizontal"===e?o=c+n:a=f+n)}))}var Kre=Yre;J2(Yre,"vertical"),J2(Yre,"horizontal");function Zre(e,t,n){n=zre(n||0);var r=t.width,i=t.height,o=t9(e.left,r),a=t9(e.top,i),s=t9(e.right,r),l=t9(e.bottom,i),u=t9(e.width,r),c=t9(e.height,i),f=n[2]+n[0],h=n[1]+n[3],d=e.aspect;switch(isNaN(u)&&(u=r-s-h-o),isNaN(c)&&(c=i-l-f-a),null!=d&&(isNaN(u)&&isNaN(c)&&(d>r/i?u=.8*r:c=.8*i),isNaN(u)&&(u=d*c),isNaN(c)&&(c=u/d)),isNaN(o)&&(o=r-s-u-h),isNaN(a)&&(a=i-l-c-f),e.left||e.right){case"center":o=r/2-u/2-n[3];break;case"right":o=r-u-h}switch(e.top||e.bottom){case"middle":case"center":a=i/2-c/2-n[0];break;case"bottom":a=i-c-f}o=o||0,a=a||0,isNaN(u)&&(u=r-h-o-(s||0)),isNaN(c)&&(c=i-f-a-(l||0));var p=new $5(o+n[3],a+n[0],u,c);return p.margin=n,p}function Qre(e,t,n,r,i,o){var a,s=!i||!i.hv||i.hv[0],l=!i||!i.hv||i.hv[1],u=i&&i.boundingMode||"all";if((o=o||e).x=e.x,o.y=e.y,!s&&!l)return!1;if("raw"===u)a="group"===e.type?new $5(0,0,+t.width||0,+t.height||0):e.getBoundingRect();else if(a=e.getBoundingRect(),e.needLocalTransform()){var c=e.getLocalTransform();(a=a.clone()).applyTransform(c)}var f=Zre(H2({width:a.width,height:a.height},t),n,r),h=s?f.x-a.x:0,d=l?f.y-a.y:0;return"raw"===u?(o.x=h,o.y=d):(o.x+=h,o.y+=d),o===e&&e.markRedraw(),!0}function Jre(e){var t=e.layoutMode||e.constructor.layoutMode;return o3(t)?t:t?{type:t}:null}function eie(e,t,n){var r=n&&n.ignoreSize;!e3(r)&&(r=[r,r]);var i=a(Xre[0],0),o=a(Xre[1],1);function a(n,i){var o={},a=0,u={},c=0;if(Ure(n,(function(t){u[t]=e[t]})),Ure(n,(function(e){s(t,e)&&(o[e]=u[e]=t[e]),l(o,e)&&a++,l(u,e)&&c++})),r[i])return l(t,n[1])?u[n[2]]=null:l(t,n[2])&&(u[n[1]]=null),u;if(2!==c&&a){if(a>=2)return o;for(var f=0;f<n.length;f++){var h=n[f];if(!s(o,h)&&s(e,h)){o[h]=e[h];break}}return o}return u}function s(e,t){return e.hasOwnProperty(t)}function l(e,t){return null!=e[t]&&"auto"!==e[t]}function u(e,t,n){Ure(e,(function(e){t[e]=n[e]}))}u(Xre[0],e,i),u(Xre[1],e,o)}function tie(e){return nie({},e)}function nie(e,t){return t&&e&&Ure(qre,(function(n){t.hasOwnProperty(n)&&(e[n]=t[n])})),e}var rie=j9(),iie=function(e){function t(t,n,r){var i=e.call(this,t,n,r)||this;return i.uid=Zne("ec_cpt_model"),i}return g2(t,e),t.prototype.init=function(e,t,n){this.mergeDefaultAndTheme(e,n)},t.prototype.mergeDefaultAndTheme=function(e,t){var n=Jre(this),r=n?tie(e):{};B2(e,t.getTheme().get(this.mainType)),B2(e,this.getDefaultOption()),n&&eie(e,r,n)},t.prototype.mergeOption=function(e,t){B2(this.option,e,!0);var n=Jre(this);n&&eie(this.option,e,n)},t.prototype.optionUpdated=function(e,t){},t.prototype.getDefaultOption=function(){var e=this.constructor;if(!function(e){return!(!e||!e[X9])}(e))return e.defaultOption;var t=rie(this);if(!t.defaultOption){for(var n=[],r=e;r;){var i=r.prototype.defaultOption;i&&n.push(i),r=r.superClass}for(var o={},a=n.length-1;a>=0;a--)o=B2(o,n[a],!0);t.defaultOption=o}return t.defaultOption},t.prototype.getReferringComponents=function(e,t){var n=e+"Index",r=e+"Id";return H9(this.ecModel,e,{index:this.get(n,!0),id:this.get(r,!0)},t)},t.prototype.getBoxLayoutParams=function(){var e=this;return{left:e.get("left"),top:e.get("top"),right:e.get("right"),bottom:e.get("bottom"),width:e.get("width"),height:e.get("height")}},t.prototype.getZLevelKey=function(){return""},t.prototype.setZLevel=function(e){this.option.zlevel=e},t.protoInitialize=function(){var e=t.prototype;e.type="component",e.id="",e.name="",e.mainType="",e.subType="",e.componentIndex=0}(),t}(Yne);Z9(iie,Yne),t7(iie),function(e){var t={};e.registerSubTypeDefaulter=function(e,n){var r=Y9(e);t[r.main]=n},e.determineSubType=function(n,r){var i=r.type;if(!i){var o=Y9(n).main;e.hasSubTypes(n)&&t[o]&&(i=t[o](r))}return i}}(iie),function(e,t){function n(e,t){return e[t]||(e[t]={predecessor:[],successor:[]}),e[t]}e.topologicalTravel=function(e,r,i,o){if(e.length){var a=function(e){var r={},i=[];return q2(e,(function(o){var a=n(r,o),s=function(e,t){var n=[];return q2(e,(function(e){G2(t,e)>=0&&n.push(e)})),n}(a.originalDeps=t(o),e);a.entryCount=s.length,0===a.entryCount&&i.push(o),q2(s,(function(e){G2(a.predecessor,e)<0&&a.predecessor.push(e);var t=n(r,e);G2(t.successor,e)<0&&t.successor.push(o)}))})),{graph:r,noEntryList:i}}(r),s=a.graph,l=a.noEntryList,u={};for(q2(e,(function(e){u[e]=!0}));l.length;){var c=l.pop(),f=s[c],h=!!u[c];h&&(i.call(o,c,f.originalDeps.slice()),delete u[c]),q2(f.successor,h?p:d)}q2(u,(function(){throw new Error("")}))}function d(e){s[e].entryCount--,0===s[e].entryCount&&l.push(e)}function p(e){u[e]=!0,d(e)}}}(iie,(function(e){var t=[];q2(iie.getClassesByMainType(e),(function(e){t=t.concat(e.dependencies||e.prototype.dependencies||[])})),t=X2(t,(function(e){return Y9(e).main})),"dataset"!==e&&G2(t,"dataset")<=0&&t.unshift("dataset");return t}));const oie=iie;var aie="";"undefined"!=typeof navigator&&(aie=navigator.platform||"");var sie="rgba(0, 0, 0, 0.2)";const lie={darkMode:"auto",colorBy:"series",color:["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],gradientColor:["#f6efa6","#d88273","#bf444c"],aria:{decal:{decals:[{color:sie,dashArrayX:[1,0],dashArrayY:[2,5],symbolSize:1,rotation:Math.PI/6},{color:sie,symbol:"circle",dashArrayX:[[8,8],[0,8,8,0]],dashArrayY:[6,0],symbolSize:.8},{color:sie,dashArrayX:[1,0],dashArrayY:[4,3],rotation:-Math.PI/4},{color:sie,dashArrayX:[[6,6],[0,6,6,0]],dashArrayY:[6,0]},{color:sie,dashArrayX:[[1,0],[1,6]],dashArrayY:[1,0,6,0],rotation:Math.PI/4},{color:sie,symbol:"triangle",dashArrayX:[[9,9],[0,9,9,0]],dashArrayY:[7,2],symbolSize:.75}]}},textStyle:{fontFamily:aie.match(/^Win/)?"Microsoft YaHei":"sans-serif",fontSize:12,fontStyle:"normal",fontWeight:"normal"},blendMode:null,stateAnimation:{duration:300,easing:"cubicOut"},animation:"auto",animationDuration:1e3,animationDurationUpdate:500,animationEasing:"cubicInOut",animationEasingUpdate:"cubicInOut",animationThreshold:2e3,progressiveThreshold:3e3,progressive:400,hoverLayerThreshold:3e3,useUTC:!1};var uie=k3(["tooltip","label","itemName","itemId","itemGroupId","seriesName"]),cie="original",fie="arrayRows",hie="objectRows",die="keyedColumns",pie="typedArray",gie="unknown",mie="column",bie="row",vie=1,yie=2,wie=3,xie=j9();function _ie(e,t,n){var r={},i=kie(t);if(!i||!e)return r;var o,a,s=[],l=[],u=t.ecModel,c=xie(u).datasetMap,f=i.uid+"_"+n.seriesLayoutBy;q2(e=e.slice(),(function(t,n){var i=o3(t)?t:e[n]={name:t};"ordinal"===i.type&&null==o&&(o=n,a=p(i)),r[i.name]=[]}));var h=c.get(f)||c.set(f,{categoryWayDim:a,valueWayDim:0});function d(e,t,n){for(var r=0;r<n;r++)e.push(t+r)}function p(e){var t=e.dimsDef;return t?t.length:1}return q2(e,(function(e,t){var n=e.name,i=p(e);if(null==o){var a=h.valueWayDim;d(r[n],a,i),d(l,a,i),h.valueWayDim+=i}else if(o===t)d(r[n],0,i),d(s,0,i);else{a=h.categoryWayDim;d(r[n],a,i),d(l,a,i),h.categoryWayDim+=i}})),s.length&&(r.itemName=s),l.length&&(r.seriesName=l),r}function Sie(e,t,n){var r={};if(!kie(e))return r;var i,o=t.sourceFormat,a=t.dimensionsDefine;o!==hie&&o!==die||q2(a,(function(e,t){"name"===(o3(e)?e.name:e)&&(i=t)}));var s=function(){for(var e={},r={},s=[],l=0,u=Math.min(5,n);l<u;l++){var c=Eie(t.data,o,t.seriesLayoutBy,a,t.startIndex,l);s.push(c);var f=c===wie;if(f&&null==e.v&&l!==i&&(e.v=l),(null==e.n||e.n===e.v||!f&&s[e.n]===wie)&&(e.n=l),h(e)&&s[e.n]!==wie)return e;f||(c===yie&&null==r.v&&l!==i&&(r.v=l),null!=r.n&&r.n!==r.v||(r.n=l))}function h(e){return null!=e.v&&null!=e.n}return h(e)?e:h(r)?r:null}();if(s){r.value=[s.v];var l=null!=i?i:s.n;r.itemName=[l],r.seriesName=[l]}return r}function kie(e){if(!e.get("data",!0))return H9(e.ecModel,"dataset",{index:e.get("datasetIndex",!0),id:e.get("datasetId",!0)},V9).models[0]}function Cie(e,t){return Eie(e.data,e.sourceFormat,e.seriesLayoutBy,e.dimensionsDefine,e.startIndex,t)}function Eie(e,t,n,r,i,o){var a,s,l;if(s3(e))return wie;if(r){var u=r[o];o3(u)?(s=u.name,l=u.type):n3(u)&&(s=u)}if(null!=l)return"ordinal"===l?vie:wie;if(t===fie){var c=e;if(n===bie){for(var f=c[o],h=0;h<(f||[]).length&&h<5;h++)if(null!=(a=v(f[i+h])))return a}else for(h=0;h<c.length&&h<5;h++){var d=c[i+h];if(d&&null!=(a=v(d[o])))return a}}else if(t===hie){var p=e;if(!s)return wie;for(h=0;h<p.length&&h<5;h++){if((m=p[h])&&null!=(a=v(m[s])))return a}}else if(t===die){if(!s)return wie;if(!(f=e[s])||s3(f))return wie;for(h=0;h<f.length&&h<5;h++)if(null!=(a=v(f[h])))return a}else if(t===cie){var g=e;for(h=0;h<g.length&&h<5;h++){var m,b=M9(m=g[h]);if(!e3(b))return wie;if(null!=(a=v(b[o])))return a}}function v(e){var t=n3(e);return null!=e&&isFinite(e)&&""!==e?t?yie:wie:t&&"-"!==e?vie:void 0}return wie}var Iie=k3();var Mie,Tie,Aie,Pie=j9(),Oie=j9(),Die=function(){function e(){}return e.prototype.getColorFromPalette=function(e,t,n){var r=C9(this.get("color",!0)),i=this.get("colorLayer",!0);return Lie(this,Pie,r,i,e,t,n)},e.prototype.clearColorPalette=function(){!function(e,t){t(e).paletteIdx=0,t(e).paletteNameMap={}}(this,Pie)},e}();function Rie(e,t,n,r){var i=C9(e.get(["aria","decal","decals"]));return Lie(e,Oie,i,null,t,n,r)}function Lie(e,t,n,r,i,o,a){var s=t(o=o||e),l=s.paletteIdx||0,u=s.paletteNameMap=s.paletteNameMap||{};if(u.hasOwnProperty(i))return u[i];var c=null!=a&&r?function(e,t){for(var n=e.length,r=0;r<n;r++)if(e[r].length>t)return e[r];return e[n-1]}(r,a):n;if((c=c||n)&&c.length){var f=c[l];return i&&(u[i]=f),s.paletteIdx=(l+1)%c.length,f}}var Nie=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return g2(t,e),t.prototype.init=function(e,t,n,r,i,o){r=r||{},this.option=null,this._theme=new Yne(r),this._locale=new Yne(i),this._optionManager=o},t.prototype.setOption=function(e,t,n){var r=zie(t);this._optionManager.setOption(e,n,r),this._resetOption(null,r)},t.prototype.resetOption=function(e,t){return this._resetOption(e,zie(t))},t.prototype._resetOption=function(e,t){var n=!1,r=this._optionManager;if(!e||"recreate"===e){var i=r.mountOption("recreate"===e);0,this.option&&"recreate"!==e?(this.restoreData(),this._mergeOption(i,t)):Aie(this,i),n=!0}if("timeline"!==e&&"media"!==e||this.restoreData(),!e||"recreate"===e||"timeline"===e){var o=r.getTimelineOption(this);o&&(n=!0,this._mergeOption(o,t))}if(!e||"recreate"===e||"media"===e){var a=r.getMediaOption(this);a.length&&q2(a,(function(e){n=!0,this._mergeOption(e,t)}),this)}return n},t.prototype.mergeOption=function(e){this._mergeOption(e,null)},t.prototype._mergeOption=function(e,t){var n=this.option,r=this._componentsMap,i=this._componentsCount,o=[],a=k3(),s=t&&t.replaceMergeMainTypeMap;xie(this).datasetMap=k3(),q2(e,(function(e,t){null!=e&&(oie.hasClass(t)?t&&(o.push(t),a.set(t,!0)):n[t]=null==n[t]?z2(e):B2(n[t],e,!0))})),s&&s.each((function(e,t){oie.hasClass(t)&&!a.get(t)&&(o.push(t),a.set(t,!0))})),oie.topologicalTravel(o,oie.getAllClassMainTypes(),(function(t){var o=function(e,t,n){var r=Iie.get(t);if(!r)return n;var i=r(e);return i?n.concat(i):n}(this,t,C9(e[t])),a=r.get(t),l=a?s&&s.get(t)?"replaceMerge":"normalMerge":"replaceAll",u=A9(a,o,l);(function(e,t,n){q2(e,(function(e){var r=e.newOption;o3(r)&&(e.keyInfo.mainType=t,e.keyInfo.subType=function(e,t,n,r){return t.type?t.type:n?n.subType:r.determineSubType(e,t)}(t,r,e.existing,n))}))})(u,t,oie),n[t]=null,r.set(t,null),i.set(t,0);var c,f=[],h=[],d=0;q2(u,(function(e,n){var r=e.existing,i=e.newOption;if(i){var o="series"===t,a=oie.getClass(t,e.keyInfo.subType,!o);if(!a)return;if("tooltip"===t){if(c)return void 0;c=!0}if(r&&r.constructor===a)r.name=e.keyInfo.name,r.mergeOption(i,this),r.optionUpdated(i,!1);else{var s=$2({componentIndex:n},e.keyInfo);$2(r=new a(i,this,this,s),s),e.brandNew&&(r.__requireNewView=!0),r.init(i,this,this),r.optionUpdated(null,!0)}}else r&&(r.mergeOption({},this),r.optionUpdated({},!1));r?(f.push(r.option),h.push(r),d++):(f.push(void 0),h.push(void 0))}),this),n[t]=f,r.set(t,h),i.set(t,d),"series"===t&&Mie(this)}),this),this._seriesIndices||Mie(this)},t.prototype.getOption=function(){var e=z2(this.option);return q2(e,(function(t,n){if(oie.hasClass(n)){for(var r=C9(t),i=r.length,o=!1,a=i-1;a>=0;a--)r[a]&&!L9(r[a])?o=!0:(r[a]=null,!o&&i--);r.length=i,e[n]=r}})),delete e["\0_ec_inner"],e},t.prototype.getTheme=function(){return this._theme},t.prototype.getLocaleModel=function(){return this._locale},t.prototype.setUpdatePayload=function(e){this._payload=e},t.prototype.getUpdatePayload=function(){return this._payload},t.prototype.getComponent=function(e,t){var n=this._componentsMap.get(e);if(n){var r=n[t||0];if(r)return r;if(null==t)for(var i=0;i<n.length;i++)if(n[i])return n[i]}},t.prototype.queryComponents=function(e){var t=e.mainType;if(!t)return[];var n,r=e.index,i=e.id,o=e.name,a=this._componentsMap.get(t);return a&&a.length?(null!=r?(n=[],q2(C9(r),(function(e){a[e]&&n.push(a[e])}))):n=null!=i?jie("id",i,a):null!=o?jie("name",o,a):K2(a,(function(e){return!!e})),Fie(n,e)):[]},t.prototype.findComponents=function(e){var t,n,r,i,o,a=e.query,s=e.mainType,l=(n=s+"Index",r=s+"Id",i=s+"Name",!(t=a)||null==t[n]&&null==t[r]&&null==t[i]?null:{mainType:s,index:t[n],id:t[r],name:t[i]}),u=l?this.queryComponents(l):K2(this._componentsMap.get(s),(function(e){return!!e}));return o=Fie(u,e),e.filter?K2(o,e.filter):o},t.prototype.eachComponent=function(e,t,n){var r=this._componentsMap;if(t3(e)){var i=t,o=e;r.each((function(e,t){for(var n=0;e&&n<e.length;n++){var r=e[n];r&&o.call(i,t,r,r.componentIndex)}}))}else for(var a=n3(e)?r.get(e):o3(e)?this.findComponents(e):null,s=0;a&&s<a.length;s++){var l=a[s];l&&t.call(n,l,l.componentIndex)}},t.prototype.getSeriesByName=function(e){var t=D9(e,null);return K2(this._componentsMap.get("series"),(function(e){return!!e&&null!=t&&e.name===t}))},t.prototype.getSeriesByIndex=function(e){return this._componentsMap.get("series")[e]},t.prototype.getSeriesByType=function(e){return K2(this._componentsMap.get("series"),(function(t){return!!t&&t.subType===e}))},t.prototype.getSeries=function(){return K2(this._componentsMap.get("series"),(function(e){return!!e}))},t.prototype.getSeriesCount=function(){return this._componentsCount.get("series")},t.prototype.eachSeries=function(e,t){Tie(this),q2(this._seriesIndices,(function(n){var r=this._componentsMap.get("series")[n];e.call(t,r,n)}),this)},t.prototype.eachRawSeries=function(e,t){q2(this._componentsMap.get("series"),(function(n){n&&e.call(t,n,n.componentIndex)}))},t.prototype.eachSeriesByType=function(e,t,n){Tie(this),q2(this._seriesIndices,(function(r){var i=this._componentsMap.get("series")[r];i.subType===e&&t.call(n,i,r)}),this)},t.prototype.eachRawSeriesByType=function(e,t,n){return q2(this.getSeriesByType(e),t,n)},t.prototype.isSeriesFiltered=function(e){return Tie(this),null==this._seriesIndicesMap.get(e.componentIndex)},t.prototype.getCurrentSeriesIndices=function(){return(this._seriesIndices||[]).slice()},t.prototype.filterSeries=function(e,t){Tie(this);var n=[];q2(this._seriesIndices,(function(r){var i=this._componentsMap.get("series")[r];e.call(t,i,r)&&n.push(r)}),this),this._seriesIndices=n,this._seriesIndicesMap=k3(n)},t.prototype.restoreData=function(e){Mie(this);var t=this._componentsMap,n=[];t.each((function(e,t){oie.hasClass(t)&&n.push(t)})),oie.topologicalTravel(n,oie.getAllClassMainTypes(),(function(n){q2(t.get(n),(function(t){!t||"series"===n&&function(e,t){if(t){var n=t.seriesIndex,r=t.seriesId,i=t.seriesName;return null!=n&&e.componentIndex!==n||null!=r&&e.id!==r||null!=i&&e.name!==i}}(t,e)||t.restoreData()}))}))},t.internalField=(Mie=function(e){var t=e._seriesIndices=[];q2(e._componentsMap.get("series"),(function(e){e&&t.push(e.componentIndex)})),e._seriesIndicesMap=k3(t)},Tie=function(e){},void(Aie=function(e,t){e.option={},e.option["\0_ec_inner"]=1,e._componentsMap=k3({series:[]}),e._componentsCount=k3();var n=t.aria;o3(n)&&null==n.enabled&&(n.enabled=!0),function(e,t){var n=e.color&&!e.colorLayer;q2(t,(function(t,r){"colorLayer"===r&&n||oie.hasClass(r)||("object"==typeof t?e[r]=e[r]?B2(e[r],t,!1):z2(t):null==e[r]&&(e[r]=t))}))}(t,e._theme.option),B2(t,lie,!1),e._mergeOption(t,null)})),t}(Yne);function jie(e,t,n){if(e3(t)){var r=k3();return q2(t,(function(e){null!=e&&(null!=D9(e,null)&&r.set(e,!0))})),K2(n,(function(t){return t&&r.get(t[e])}))}var i=D9(t,null);return K2(n,(function(t){return t&&null!=i&&t[e]===i}))}function Fie(e,t){return t.hasOwnProperty("subType")?K2(e,(function(e){return e&&e.subType===t.subType})):e}function zie(e){var t=k3();return e&&q2(C9(e.replaceMerge),(function(e){t.set(e,!0)})),{replaceMergeMainTypeMap:t}}W2(Nie,Die);const Bie=Nie;var Vie=["getDom","getZr","getWidth","getHeight","getDevicePixelRatio","dispatchAction","isSSR","isDisposed","on","off","getDataURL","getConnectedDataURL","getOption","getId","updateLabelLayout"];const $ie=function(e){q2(Vie,(function(t){this[t]=Q2(e[t],e)}),this)};var Hie={},Gie=function(){function e(){this._coordinateSystems=[]}return e.prototype.create=function(e,t){var n=[];q2(Hie,(function(r,i){var o=r.create(e,t);n=n.concat(o||[])})),this._coordinateSystems=n},e.prototype.update=function(e,t){q2(this._coordinateSystems,(function(n){n.update&&n.update(e,t)}))},e.prototype.getCoordinateSystems=function(){return this._coordinateSystems.slice()},e.register=function(e,t){Hie[e]=t},e.get=function(e){return Hie[e]},e}();const Wie=Gie;var Uie=/^(min|max)?(.+)$/,qie=function(){function e(e){this._timelineOptions=[],this._mediaList=[],this._currentMediaIndices=[],this._api=e}return e.prototype.setOption=function(e,t,n){e&&(q2(C9(e.series),(function(e){e&&e.data&&s3(e.data)&&y3(e.data)})),q2(C9(e.dataset),(function(e){e&&e.source&&s3(e.source)&&y3(e.source)}))),e=z2(e);var r=this._optionBackup,i=function(e,t,n){var r,i,o=[],a=e.baseOption,s=e.timeline,l=e.options,u=e.media,c=!!e.media,f=!!(l||s||a&&a.timeline);a?(i=a).timeline||(i.timeline=s):((f||c)&&(e.options=e.media=null),i=e);c&&e3(u)&&q2(u,(function(e){e&&e.option&&(e.query?o.push(e):r||(r=e))}));function h(e){q2(t,(function(t){t(e,n)}))}return h(i),q2(l,(function(e){return h(e)})),q2(o,(function(e){return h(e.option)})),{baseOption:i,timelineOptions:l||[],mediaDefault:r,mediaList:o}}(e,t,!r);this._newBaseOption=i.baseOption,r?(i.timelineOptions.length&&(r.timelineOptions=i.timelineOptions),i.mediaList.length&&(r.mediaList=i.mediaList),i.mediaDefault&&(r.mediaDefault=i.mediaDefault)):this._optionBackup=i},e.prototype.mountOption=function(e){var t=this._optionBackup;return this._timelineOptions=t.timelineOptions,this._mediaList=t.mediaList,this._mediaDefault=t.mediaDefault,this._currentMediaIndices=[],z2(e?t.baseOption:this._newBaseOption)},e.prototype.getTimelineOption=function(e){var t,n=this._timelineOptions;if(n.length){var r=e.getComponent("timeline");r&&(t=z2(n[r.getCurrentIndex()]))}return t},e.prototype.getMediaOption=function(e){var t,n,r=this._api.getWidth(),i=this._api.getHeight(),o=this._mediaList,a=this._mediaDefault,s=[],l=[];if(!o.length&&!a)return l;for(var u=0,c=o.length;u<c;u++)Xie(o[u].query,r,i)&&s.push(u);return!s.length&&a&&(s=[-1]),s.length&&(t=s,n=this._currentMediaIndices,t.join(",")!==n.join(","))&&(l=X2(s,(function(e){return z2(-1===e?a.option:o[e].option)}))),this._currentMediaIndices=s,l},e}();function Xie(e,t,n){var r={width:t,height:n,aspectratio:t/n},i=!0;return q2(e,(function(e,t){var n=t.match(Uie);if(n&&n[1]&&n[2]){var o=n[1],a=n[2].toLowerCase();(function(e,t,n){return"min"===n?e>=t:"max"===n?e<=t:e===t})(r[a],e,o)||(i=!1)}})),i}const Yie=qie;var Kie=q2,Zie=o3,Qie=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function Jie(e){var t=e&&e.itemStyle;if(t)for(var n=0,r=Qie.length;n<r;n++){var i=Qie[n],o=t.normal,a=t.emphasis;o&&o[i]&&(e[i]=e[i]||{},e[i].normal?B2(e[i].normal,o[i]):e[i].normal=o[i],o[i]=null),a&&a[i]&&(e[i]=e[i]||{},e[i].emphasis?B2(e[i].emphasis,a[i]):e[i].emphasis=a[i],a[i]=null)}}function eoe(e,t,n){if(e&&e[t]&&(e[t].normal||e[t].emphasis)){var r=e[t].normal,i=e[t].emphasis;r&&(n?(e[t].normal=e[t].emphasis=null,H2(e[t],r)):e[t]=r),i&&(e.emphasis=e.emphasis||{},e.emphasis[t]=i,i.focus&&(e.emphasis.focus=i.focus),i.blurScope&&(e.emphasis.blurScope=i.blurScope))}}function toe(e){eoe(e,"itemStyle"),eoe(e,"lineStyle"),eoe(e,"areaStyle"),eoe(e,"label"),eoe(e,"labelLine"),eoe(e,"upperLabel"),eoe(e,"edgeLabel")}function noe(e,t){var n=Zie(e)&&e[t],r=Zie(n)&&n.textStyle;if(r){0;for(var i=0,o=I9.length;i<o;i++){var a=I9[i];r.hasOwnProperty(a)&&(n[a]=r[a])}}}function roe(e){e&&(toe(e),noe(e,"label"),e.emphasis&&noe(e.emphasis,"label"))}function ioe(e){return e3(e)?e:e?[e]:[]}function ooe(e){return(e3(e)?e[0]:e)||{}}function aoe(e,t){Kie(ioe(e.series),(function(e){Zie(e)&&function(e){if(Zie(e)){Jie(e),toe(e),noe(e,"label"),noe(e,"upperLabel"),noe(e,"edgeLabel"),e.emphasis&&(noe(e.emphasis,"label"),noe(e.emphasis,"upperLabel"),noe(e.emphasis,"edgeLabel"));var t=e.markPoint;t&&(Jie(t),roe(t));var n=e.markLine;n&&(Jie(n),roe(n));var r=e.markArea;r&&roe(r);var i=e.data;if("graph"===e.type){i=i||e.nodes;var o=e.links||e.edges;if(o&&!s3(o))for(var a=0;a<o.length;a++)roe(o[a]);q2(e.categories,(function(e){toe(e)}))}if(i&&!s3(i))for(a=0;a<i.length;a++)roe(i[a]);if((t=e.markPoint)&&t.data){var s=t.data;for(a=0;a<s.length;a++)roe(s[a])}if((n=e.markLine)&&n.data){var l=n.data;for(a=0;a<l.length;a++)e3(l[a])?(roe(l[a][0]),roe(l[a][1])):roe(l[a])}"gauge"===e.type?(noe(e,"axisLabel"),noe(e,"title"),noe(e,"detail")):"treemap"===e.type?(eoe(e.breadcrumb,"itemStyle"),q2(e.levels,(function(e){toe(e)}))):"tree"===e.type&&toe(e.leaves)}}(e)}));var n=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","parallelAxis","radar"];t&&n.push("valueAxis","categoryAxis","logAxis","timeAxis"),Kie(n,(function(t){Kie(ioe(e[t]),(function(e){e&&(noe(e,"axisLabel"),noe(e.axisPointer,"label"))}))})),Kie(ioe(e.parallel),(function(e){var t=e&&e.parallelAxisDefault;noe(t,"axisLabel"),noe(t&&t.axisPointer,"label")})),Kie(ioe(e.calendar),(function(e){eoe(e,"itemStyle"),noe(e,"dayLabel"),noe(e,"monthLabel"),noe(e,"yearLabel")})),Kie(ioe(e.radar),(function(e){noe(e,"name"),e.name&&null==e.axisName&&(e.axisName=e.name,delete e.name),null!=e.nameGap&&null==e.axisNameGap&&(e.axisNameGap=e.nameGap,delete e.nameGap)})),Kie(ioe(e.geo),(function(e){Zie(e)&&(roe(e),Kie(ioe(e.regions),(function(e){roe(e)})))})),Kie(ioe(e.timeline),(function(e){roe(e),eoe(e,"label"),eoe(e,"itemStyle"),eoe(e,"controlStyle",!0);var t=e.data;e3(t)&&q2(t,(function(e){o3(e)&&(eoe(e,"label"),eoe(e,"itemStyle"))}))})),Kie(ioe(e.toolbox),(function(e){eoe(e,"iconStyle"),Kie(e.feature,(function(e){eoe(e,"iconStyle")}))})),noe(ooe(e.axisPointer),"label"),noe(ooe(e.tooltip).axisPointer,"label")}function soe(e){e&&q2(loe,(function(t){t[0]in e&&!(t[1]in e)&&(e[t[1]]=e[t[0]])}))}var loe=[["x","left"],["y","top"],["x2","right"],["y2","bottom"]],uoe=["grid","geo","parallel","legend","toolbox","title","visualMap","dataZoom","timeline"],coe=[["borderRadius","barBorderRadius"],["borderColor","barBorderColor"],["borderWidth","barBorderWidth"]];function foe(e){var t=e&&e.itemStyle;if(t)for(var n=0;n<coe.length;n++){var r=coe[n][1],i=coe[n][0];null!=t[r]&&(t[i]=t[r])}}function hoe(e){e&&"edge"===e.alignTo&&null!=e.margin&&null==e.edgeDistance&&(e.edgeDistance=e.margin)}function doe(e){e&&e.downplay&&!e.blur&&(e.blur=e.downplay)}function poe(e,t){if(e)for(var n=0;n<e.length;n++)t(e[n]),e[n]&&poe(e[n].children,t)}function goe(e,t){aoe(e,t),e.series=C9(e.series),q2(e.series,(function(e){if(o3(e)){var t=e.type;if("line"===t)null!=e.clipOverflow&&(e.clip=e.clipOverflow);else if("pie"===t||"gauge"===t){if(null!=e.clockWise&&(e.clockwise=e.clockWise),hoe(e.label),(i=e.data)&&!s3(i))for(var n=0;n<i.length;n++)hoe(i[n]);null!=e.hoverOffset&&(e.emphasis=e.emphasis||{},(e.emphasis.scaleSize=null)&&(e.emphasis.scaleSize=e.hoverOffset))}else if("gauge"===t){var r=function(e,t){for(var n=t.split(","),r=e,i=0;i<n.length&&null!=(r=r&&r[n[i]]);i++);return r}(e,"pointer.color");null!=r&&function(e,t,n,r){for(var i,o=t.split(","),a=e,s=0;s<o.length-1;s++)null==a[i=o[s]]&&(a[i]={}),a=a[i];(r||null==a[o[s]])&&(a[o[s]]=n)}(e,"itemStyle.color",r)}else if("bar"===t){var i;if(foe(e),foe(e.backgroundStyle),foe(e.emphasis),(i=e.data)&&!s3(i))for(n=0;n<i.length;n++)"object"==typeof i[n]&&(foe(i[n]),foe(i[n]&&i[n].emphasis))}else if("sunburst"===t){var o=e.highlightPolicy;o&&(e.emphasis=e.emphasis||{},e.emphasis.focus||(e.emphasis.focus=o)),doe(e),poe(e.data,doe)}else"graph"===t||"sankey"===t?function(e){e&&null!=e.focusNodeAdjacency&&(e.emphasis=e.emphasis||{},null==e.emphasis.focus&&(e.emphasis.focus="adjacency"))}(e):"map"===t&&(e.mapType&&!e.map&&(e.map=e.mapType),e.mapLocation&&H2(e,e.mapLocation));null!=e.hoverAnimation&&(e.emphasis=e.emphasis||{},e.emphasis&&null==e.emphasis.scale&&(e.emphasis.scale=e.hoverAnimation)),soe(e)}})),e.dataRange&&(e.visualMap=e.dataRange),q2(uoe,(function(t){var n=e[t];n&&(e3(n)||(n=[n]),q2(n,(function(e){soe(e)})))}))}function moe(e){q2(e,(function(t,n){var r=[],i=[NaN,NaN],o=[t.stackResultDimension,t.stackedOverDimension],a=t.data,s=t.isStackedByIndex,l=t.seriesModel.get("stackStrategy")||"samesign";a.modify(o,(function(o,u,c){var f,h,d=a.get(t.stackedDimension,c);if(isNaN(d))return i;s?h=a.getRawIndex(c):f=a.get(t.stackedByDimension,c);for(var p=NaN,g=n-1;g>=0;g--){var m=e[g];if(s||(h=m.data.rawIndexOf(m.stackedByDimension,f)),h>=0){var b=m.data.getByRawIndex(m.stackResultDimension,h);if("all"===l||"positive"===l&&b>0||"negative"===l&&b<0||"samesign"===l&&d>=0&&b>0||"samesign"===l&&d<=0&&b<0){d=s9(d,b),p=b;break}}}return r[0]=d,r[1]=p,r}))}))}var boe,voe,yoe,woe,xoe,_oe=function(e){this.data=e.data||(e.sourceFormat===die?{}:[]),this.sourceFormat=e.sourceFormat||gie,this.seriesLayoutBy=e.seriesLayoutBy||mie,this.startIndex=e.startIndex||0,this.dimensionsDetectedCount=e.dimensionsDetectedCount,this.metaRawOption=e.metaRawOption;var t=this.dimensionsDefine=e.dimensionsDefine;if(t)for(var n=0;n<t.length;n++){var r=t[n];null==r.type&&Cie(this,n)===vie&&(r.type="ordinal")}};function Soe(e){return e instanceof _oe}function koe(e,t,n){n=n||Eoe(e);var r=t.seriesLayoutBy,i=function(e,t,n,r,i){var o,a;if(!e)return{dimensionsDefine:Ioe(i),startIndex:a,dimensionsDetectedCount:o};if(t===fie){var s=e;"auto"===r||null==r?Moe((function(e){null!=e&&"-"!==e&&(n3(e)?null==a&&(a=1):a=0)}),n,s,10):a=i3(r)?r:r?1:0,i||1!==a||(i=[],Moe((function(e,t){i[t]=null!=e?e+"":""}),n,s,1/0)),o=i?i.length:n===bie?s.length:s[0]?s[0].length:null}else if(t===hie)i||(i=function(e){var t,n=0;for(;n<e.length&&!(t=e[n++]););if(t)return Z2(t)}(e));else if(t===die)i||(i=[],q2(e,(function(e,t){i.push(t)})));else if(t===cie){var l=M9(e[0]);o=e3(l)&&l.length||1}return{startIndex:a,dimensionsDefine:Ioe(i),dimensionsDetectedCount:o}}(e,n,r,t.sourceHeader,t.dimensions);return new _oe({data:e,sourceFormat:n,seriesLayoutBy:r,dimensionsDefine:i.dimensionsDefine,startIndex:i.startIndex,dimensionsDetectedCount:i.dimensionsDetectedCount,metaRawOption:z2(t)})}function Coe(e){return new _oe({data:e,sourceFormat:s3(e)?pie:cie})}function Eoe(e){var t=gie;if(s3(e))t=pie;else if(e3(e)){0===e.length&&(t=fie);for(var n=0,r=e.length;n<r;n++){var i=e[n];if(null!=i){if(e3(i)){t=fie;break}if(o3(i)){t=hie;break}}}}else if(o3(e))for(var o in e)if(M3(e,o)&&U2(e[o])){t=die;break}return t}function Ioe(e){if(e){var t=k3();return X2(e,(function(e,n){var r={name:(e=o3(e)?e:{name:e}).name,displayName:e.displayName,type:e.type};if(null==r.name)return r;r.name+="",null==r.displayName&&(r.displayName=r.name);var i=t.get(r.name);return i?r.name+="-"+i.count++:t.set(r.name,{count:1}),r}))}}function Moe(e,t,n,r){if(t===bie)for(var i=0;i<n.length&&i<r;i++)e(n[i]?n[i][0]:null,i);else{var o=n[0]||[];for(i=0;i<o.length&&i<r;i++)e(o[i],i)}}function Toe(e){var t=e.sourceFormat;return t===hie||t===die}var Aoe=function(){function e(e,t){var n=Soe(e)?e:Coe(e);this._source=n;var r=this._data=n.data;n.sourceFormat===pie&&(this._offset=0,this._dimSize=t,this._data=r),xoe(this,r,n)}return e.prototype.getSource=function(){return this._source},e.prototype.count=function(){return 0},e.prototype.getItem=function(e,t){},e.prototype.appendData=function(e){},e.prototype.clean=function(){},e.protoInitialize=function(){var t=e.prototype;t.pure=!1,t.persistent=!0}(),e.internalField=function(){var e;xoe=function(e,i,o){var a=o.sourceFormat,s=o.seriesLayoutBy,l=o.startIndex,u=o.dimensionsDefine;if($2(e,woe[Boe(a,s)]),a===pie)e.getItem=t,e.count=r,e.fillStorage=n;else{var c=Doe(a,s);e.getItem=Q2(c,null,i,l,u);var f=Noe(a,s);e.count=Q2(f,null,i,l,u)}};var t=function(e,t){e-=this._offset,t=t||[];for(var n=this._data,r=this._dimSize,i=r*e,o=0;o<r;o++)t[o]=n[i+o];return t},n=function(e,t,n,r){for(var i=this._data,o=this._dimSize,a=0;a<o;a++){for(var s=r[a],l=null==s[0]?1/0:s[0],u=null==s[1]?-1/0:s[1],c=t-e,f=n[a],h=0;h<c;h++){var d=i[h*o+a];f[e+h]=d,d<l&&(l=d),d>u&&(u=d)}s[0]=l,s[1]=u}},r=function(){return this._data?this._data.length/this._dimSize:0};function i(e){for(var t=0;t<e.length;t++)this._data.push(e[t])}(e={}).arrayRows_column={pure:!0,appendData:i},e.arrayRows_row={pure:!0,appendData:function(){throw new Error('Do not support appendData when set seriesLayoutBy: "row".')}},e.objectRows={pure:!0,appendData:i},e.keyedColumns={pure:!0,appendData:function(e){var t=this._data;q2(e,(function(e,n){for(var r=t[n]||(t[n]=[]),i=0;i<(e||[]).length;i++)r.push(e[i])}))}},e.original={appendData:i},e.typedArray={persistent:!1,pure:!0,appendData:function(e){this._data=e},clean:function(){this._offset+=this.count(),this._data=null}},woe=e}(),e}(),Poe=function(e,t,n,r){return e[r]},Ooe=((boe={}).arrayRows_column=function(e,t,n,r){return e[r+t]},boe.arrayRows_row=function(e,t,n,r,i){r+=t;for(var o=i||[],a=e,s=0;s<a.length;s++){var l=a[s];o[s]=l?l[r]:null}return o},boe.objectRows=Poe,boe.keyedColumns=function(e,t,n,r,i){for(var o=i||[],a=0;a<n.length;a++){0;var s=e[n[a].name];o[a]=s?s[r]:null}return o},boe.original=Poe,boe);function Doe(e,t){return Ooe[Boe(e,t)]}var Roe=function(e,t,n){return e.length},Loe=((voe={}).arrayRows_column=function(e,t,n){return Math.max(0,e.length-t)},voe.arrayRows_row=function(e,t,n){var r=e[0];return r?Math.max(0,r.length-t):0},voe.objectRows=Roe,voe.keyedColumns=function(e,t,n){var r=e[n[0].name];return r?r.length:0},voe.original=Roe,voe);function Noe(e,t){return Loe[Boe(e,t)]}var joe=function(e,t,n){return e[t]},Foe=((yoe={}).arrayRows=joe,yoe.objectRows=function(e,t,n){return e[n]},yoe.keyedColumns=joe,yoe.original=function(e,t,n){var r=M9(e);return r instanceof Array?r[t]:r},yoe.typedArray=joe,yoe);function zoe(e){return Foe[e]}function Boe(e,t){return e===fie?e+"_"+t:e}function Voe(e,t,n){if(e){var r=e.getRawDataItem(t);if(null!=r){var i=e.getStore(),o=i.getSource().sourceFormat;if(null!=n){var a=e.getDimensionIndex(n),s=i.getDimensionProperty(a);return zoe(o)(r,a,s)}var l=r;return o===cie&&(l=M9(r)),l}}}var $oe=/\{@(.+?)\}/g,Hoe=function(){function e(){}return e.prototype.getDataParams=function(e,t){var n=this.getData(t),r=this.getRawValue(e,t),i=n.getRawIndex(e),o=n.getName(e),a=n.getRawDataItem(e),s=n.getItemVisual(e,"style"),l=s&&s[n.getItemVisual(e,"drawType")||"fill"],u=s&&s.stroke,c=this.mainType,f="series"===c,h=n.userOutput&&n.userOutput.get();return{componentType:c,componentSubType:this.subType,componentIndex:this.componentIndex,seriesType:f?this.subType:null,seriesIndex:this.seriesIndex,seriesId:f?this.id:null,seriesName:f?this.name:null,name:o,dataIndex:i,data:a,dataType:t,value:r,color:l,borderColor:u,dimensionNames:h?h.fullDimensions:null,encode:h?h.encode:null,$vars:["seriesName","name","value"]}},e.prototype.getFormattedLabel=function(e,t,n,r,i,o){t=t||"normal";var a=this.getData(n),s=this.getDataParams(e,n);(o&&(s.value=o.interpolatedValue),null!=r&&e3(s.value)&&(s.value=s.value[r]),i)||(i=a.getItemModel(e).get("normal"===t?["label","formatter"]:[t,"label","formatter"]));return t3(i)?(s.status=t,s.dimensionIndex=r,i(s)):n3(i)?Hre(i,s).replace($oe,(function(t,n){var r=n.length,i=n;"["===i.charAt(0)&&"]"===i.charAt(r-1)&&(i=+i.slice(1,r-1));var s=Voe(a,e,i);if(o&&e3(o.interpolatedValue)){var l=a.getDimensionIndex(i);l>=0&&(s=o.interpolatedValue[l])}return null!=s?s+"":""})):void 0},e.prototype.getRawValue=function(e,t){return Voe(this.getData(t),e)},e.prototype.formatTooltip=function(e,t,n){},e}();function Goe(e){var t,n;return o3(e)?e.type&&(n=e):t=e,{text:t,frag:n}}function Woe(e){return new Uoe(e)}var Uoe=function(){function e(e){e=e||{},this._reset=e.reset,this._plan=e.plan,this._count=e.count,this._onDirty=e.onDirty,this._dirty=!0}return e.prototype.perform=function(e){var t,n=this._upstream,r=e&&e.skip;if(this._dirty&&n){var i=this.context;i.data=i.outputData=n.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this),this._plan&&!r&&(t=this._plan(this.context));var o,a=c(this._modBy),s=this._modDataCount||0,l=c(e&&e.modBy),u=e&&e.modDataCount||0;function c(e){return!(e>=1)&&(e=1),e}a===l&&s===u||(t="reset"),(this._dirty||"reset"===t)&&(this._dirty=!1,o=this._doReset(r)),this._modBy=l,this._modDataCount=u;var f=e&&e.step;if(this._dueEnd=n?n._outputDueEnd:this._count?this._count(this.context):1/0,this._progress){var h=this._dueIndex,d=Math.min(null!=f?this._dueIndex+f:1/0,this._dueEnd);if(!r&&(o||h<d)){var p=this._progress;if(e3(p))for(var g=0;g<p.length;g++)this._doProgress(p[g],h,d,l,u);else this._doProgress(p,h,d,l,u)}this._dueIndex=d;var m=null!=this._settedOutputEnd?this._settedOutputEnd:d;0,this._outputDueEnd=m}else this._dueIndex=this._outputDueEnd=null!=this._settedOutputEnd?this._settedOutputEnd:this._dueEnd;return this.unfinished()},e.prototype.dirty=function(){this._dirty=!0,this._onDirty&&this._onDirty(this.context)},e.prototype._doProgress=function(e,t,n,r,i){qoe.reset(t,n,r,i),this._callingProgress=e,this._callingProgress({start:t,end:n,count:n-t,next:qoe.next},this.context)},e.prototype._doReset=function(e){var t,n;this._dueIndex=this._outputDueEnd=this._dueEnd=0,this._settedOutputEnd=null,!e&&this._reset&&((t=this._reset(this.context))&&t.progress&&(n=t.forceFirstProgress,t=t.progress),e3(t)&&!t.length&&(t=null)),this._progress=t,this._modBy=this._modDataCount=null;var r=this._downstream;return r&&r.dirty(),n},e.prototype.unfinished=function(){return this._progress&&this._dueIndex<this._dueEnd},e.prototype.pipe=function(e){(this._downstream!==e||this._dirty)&&(this._downstream=e,e._upstream=this,e.dirty())},e.prototype.dispose=function(){this._disposed||(this._upstream&&(this._upstream._downstream=null),this._downstream&&(this._downstream._upstream=null),this._dirty=!1,this._disposed=!0)},e.prototype.getUpstream=function(){return this._upstream},e.prototype.getDownstream=function(){return this._downstream},e.prototype.setOutputEnd=function(e){this._outputDueEnd=this._settedOutputEnd=e},e}(),qoe=function(){var e,t,n,r,i,o={reset:function(l,u,c,f){t=l,e=u,n=c,r=f,i=Math.ceil(r/n),o.next=n>1&&r>0?s:a}};return o;function a(){return t<e?t++:null}function s(){var o=t%i*n+Math.ceil(t/i),a=t>=e?null:o<r?o:t;return t++,a}}();"undefined"!=typeof console&&console.warn&&console.log;function Xoe(e){0}function Yoe(e){throw new Error(e)}function Koe(e,t){var n=t&&t.type;return"ordinal"===n?e:("time"!==n||i3(e)||null==e||"-"===e||(e=+h9(e)),null==e||""===e?NaN:+e)}var Zoe=k3({number:function(e){return parseFloat(e)},time:function(e){return+h9(e)},trim:function(e){return n3(e)?b3(e):e}});function Qoe(e){return Zoe.get(e)}var Joe={lt:function(e,t){return e<t},lte:function(e,t){return e<=t},gt:function(e,t){return e>t},gte:function(e,t){return e>=t}},eae=function(){function e(e,t){if(!i3(t)){0,Yoe("")}this._opFn=Joe[e],this._rvalFloat=b9(t)}return e.prototype.evaluate=function(e){return i3(e)?this._opFn(e,this._rvalFloat):this._opFn(b9(e),this._rvalFloat)},e}(),tae=function(){function e(e,t){var n="desc"===e;this._resultLT=n?1:-1,null==t&&(t=n?"min":"max"),this._incomparable="min"===t?-1/0:1/0}return e.prototype.evaluate=function(e,t){var n=i3(e)?e:b9(e),r=i3(t)?t:b9(t),i=isNaN(n),o=isNaN(r);if(i&&(n=this._incomparable),o&&(r=this._incomparable),i&&o){var a=n3(e),s=n3(t);a&&(n=s?e:0),s&&(r=a?t:0)}return n<r?this._resultLT:n>r?-this._resultLT:0},e}(),nae=function(){function e(e,t){this._rval=t,this._isEQ=e,this._rvalTypeof=typeof t,this._rvalFloat=b9(t)}return e.prototype.evaluate=function(e){var t=e===this._rval;if(!t){var n=typeof e;n===this._rvalTypeof||"number"!==n&&"number"!==this._rvalTypeof||(t=b9(e)===this._rvalFloat)}return this._isEQ?t:!t},e}();function rae(e,t){return"eq"===e||"ne"===e?new nae("eq"===e,t):M3(Joe,e)?new eae(e,t):null}var iae=function(){function e(){}return e.prototype.getRawData=function(){throw new Error("not supported")},e.prototype.getRawDataItem=function(e){throw new Error("not supported")},e.prototype.cloneRawData=function(){},e.prototype.getDimensionInfo=function(e){},e.prototype.cloneAllDimensionInfo=function(){},e.prototype.count=function(){},e.prototype.retrieveValue=function(e,t){},e.prototype.retrieveValueFromItem=function(e,t){},e.prototype.convertValue=function(e,t){return Koe(e,t)},e}();function oae(e){if(!fae(e.sourceFormat)){0,Yoe("")}return e.data}function aae(e){var t=e.sourceFormat,n=e.data;if(!fae(t)){0,Yoe("")}if(t===fie){for(var r=[],i=0,o=n.length;i<o;i++)r.push(n[i].slice());return r}if(t===hie){for(r=[],i=0,o=n.length;i<o;i++)r.push($2({},n[i]));return r}}function sae(e,t,n){if(null!=n)return i3(n)||!isNaN(n)&&!M3(t,n)?e[n]:M3(t,n)?t[n]:void 0}function lae(e){return z2(e)}var uae=k3();function cae(e,t,n,r){t.length||Yoe(""),o3(e)||Yoe("");var i=e.type,o=uae.get(i);o||Yoe("");var a=X2(t,(function(e){return function(e,t){var n=new iae,r=e.data,i=n.sourceFormat=e.sourceFormat,o=e.startIndex;e.seriesLayoutBy!==mie&&Yoe("");var a=[],s={},l=e.dimensionsDefine;if(l)q2(l,(function(e,t){var n=e.name,r={index:t,name:n,displayName:e.displayName};a.push(r),null!=n&&(M3(s,n)&&Yoe(""),s[n]=r)}));else for(var u=0;u<e.dimensionsDetectedCount;u++)a.push({index:u});var c=Doe(i,mie);t.__isBuiltIn&&(n.getRawDataItem=function(e){return c(r,o,a,e)},n.getRawData=Q2(oae,null,e)),n.cloneRawData=Q2(aae,null,e);var f=Noe(i,mie);n.count=Q2(f,null,r,o,a);var h=zoe(i);n.retrieveValue=function(e,t){var n=c(r,o,a,e);return d(n,t)};var d=n.retrieveValueFromItem=function(e,t){if(null!=e){var n=a[t];return n?h(e,t,n.name):void 0}};return n.getDimensionInfo=Q2(sae,null,a,s),n.cloneAllDimensionInfo=Q2(lae,null,a),n}(e,o)}));return X2(C9(o.transform({upstream:a[0],upstreamList:a,config:z2(e.config)})),(function(e,n){var r;o3(e)||Yoe(""),e.data||Yoe(""),fae(Eoe(e.data))||Yoe("");var i=t[0];if(i&&0===n&&!e.dimensions){var o=i.startIndex;o&&(e.data=i.data.slice(0,o).concat(e.data)),r={seriesLayoutBy:mie,sourceHeader:o,dimensions:i.metaRawOption.dimensions}}else r={seriesLayoutBy:mie,sourceHeader:0,dimensions:e.dimensions};return koe(e.data,r,null)}))}function fae(e){return e===fie||e===hie}var hae,dae="undefined",pae=typeof Uint32Array===dae?Array:Uint32Array,gae=typeof Uint16Array===dae?Array:Uint16Array,mae=typeof Int32Array===dae?Array:Int32Array,bae=typeof Float64Array===dae?Array:Float64Array,vae={float:bae,int:mae,ordinal:Array,number:Array,time:bae};function yae(e){return e>65535?pae:gae}function wae(e,t,n,r,i){var o=vae[n||"float"];if(i){var a=e[t],s=a&&a.length;if(s!==r){for(var l=new o(r),u=0;u<s;u++)l[u]=a[u];e[t]=l}}else e[t]=new o(r)}var xae=function(){function e(){this._chunks=[],this._rawExtent=[],this._extent=[],this._count=0,this._rawCount=0,this._calcDimNameToIdx=k3()}return e.prototype.initData=function(e,t,n){this._provider=e,this._chunks=[],this._indices=null,this.getRawIndex=this._getRawIdxIdentity;var r=e.getSource(),i=this.defaultDimValueGetter=hae[r.sourceFormat];this._dimValueGetter=n||i,this._rawExtent=[];Toe(r);this._dimensions=X2(t,(function(e){return{type:e.type,property:e.property}})),this._initDataFromProvider(0,e.count())},e.prototype.getProvider=function(){return this._provider},e.prototype.getSource=function(){return this._provider.getSource()},e.prototype.ensureCalculationDimension=function(e,t){var n=this._calcDimNameToIdx,r=this._dimensions,i=n.get(e);if(null!=i){if(r[i].type===t)return i}else i=r.length;return r[i]={type:t},n.set(e,i),this._chunks[i]=new vae[t||"float"](this._rawCount),this._rawExtent[i]=[1/0,-1/0],i},e.prototype.collectOrdinalMeta=function(e,t){var n=this._chunks[e],r=this._dimensions[e],i=this._rawExtent,o=r.ordinalOffset||0,a=n.length;0===o&&(i[e]=[1/0,-1/0]);for(var s=i[e],l=o;l<a;l++){var u=n[l]=t.parseAndCollect(n[l]);isNaN(u)||(s[0]=Math.min(u,s[0]),s[1]=Math.max(u,s[1]))}r.ordinalMeta=t,r.ordinalOffset=a,r.type="ordinal"},e.prototype.getOrdinalMeta=function(e){return this._dimensions[e].ordinalMeta},e.prototype.getDimensionProperty=function(e){var t=this._dimensions[e];return t&&t.property},e.prototype.appendData=function(e){var t=this._provider,n=this.count();t.appendData(e);var r=t.count();return t.persistent||(r+=n),n<r&&this._initDataFromProvider(n,r,!0),[n,r]},e.prototype.appendValues=function(e,t){for(var n=this._chunks,r=this._dimensions,i=r.length,o=this._rawExtent,a=this.count(),s=a+Math.max(e.length,t||0),l=0;l<i;l++){wae(n,l,(d=r[l]).type,s,!0)}for(var u=[],c=a;c<s;c++)for(var f=c-a,h=0;h<i;h++){var d=r[h],p=hae.arrayRows.call(this,e[f]||u,d.property,f,h);n[h][c]=p;var g=o[h];p<g[0]&&(g[0]=p),p>g[1]&&(g[1]=p)}return this._rawCount=this._count=s,{start:a,end:s}},e.prototype._initDataFromProvider=function(e,t,n){for(var r=this._provider,i=this._chunks,o=this._dimensions,a=o.length,s=this._rawExtent,l=X2(o,(function(e){return e.property})),u=0;u<a;u++){var c=o[u];s[u]||(s[u]=[1/0,-1/0]),wae(i,u,c.type,t,n)}if(r.fillStorage)r.fillStorage(e,t,i,s);else for(var f=[],h=e;h<t;h++){f=r.getItem(h,f);for(var d=0;d<a;d++){var p=i[d],g=this._dimValueGetter(f,l[d],h,d);p[h]=g;var m=s[d];g<m[0]&&(m[0]=g),g>m[1]&&(m[1]=g)}}!r.persistent&&r.clean&&r.clean(),this._rawCount=this._count=t,this._extent=[]},e.prototype.count=function(){return this._count},e.prototype.get=function(e,t){if(!(t>=0&&t<this._count))return NaN;var n=this._chunks[e];return n?n[this.getRawIndex(t)]:NaN},e.prototype.getValues=function(e,t){var n=[],r=[];if(null==t){t=e,e=[];for(var i=0;i<this._dimensions.length;i++)r.push(i)}else r=e;i=0;for(var o=r.length;i<o;i++)n.push(this.get(r[i],t));return n},e.prototype.getByRawIndex=function(e,t){if(!(t>=0&&t<this._rawCount))return NaN;var n=this._chunks[e];return n?n[t]:NaN},e.prototype.getSum=function(e){var t=0;if(this._chunks[e])for(var n=0,r=this.count();n<r;n++){var i=this.get(e,n);isNaN(i)||(t+=i)}return t},e.prototype.getMedian=function(e){var t=[];this.each([e],(function(e){isNaN(e)||t.push(e)}));var n=t.sort((function(e,t){return e-t})),r=this.count();return 0===r?0:r%2==1?n[(r-1)/2]:(n[r/2]+n[r/2-1])/2},e.prototype.indexOfRawIndex=function(e){if(e>=this._rawCount||e<0)return-1;if(!this._indices)return e;var t=this._indices,n=t[e];if(null!=n&&n<this._count&&n===e)return e;for(var r=0,i=this._count-1;r<=i;){var o=(r+i)/2|0;if(t[o]<e)r=o+1;else{if(!(t[o]>e))return o;i=o-1}}return-1},e.prototype.indicesOfNearest=function(e,t,n){var r=this._chunks[e],i=[];if(!r)return i;null==n&&(n=1/0);for(var o=1/0,a=-1,s=0,l=0,u=this.count();l<u;l++){var c=t-r[this.getRawIndex(l)],f=Math.abs(c);f<=n&&((f<o||f===o&&c>=0&&a<0)&&(o=f,a=c,s=0),c===a&&(i[s++]=l))}return i.length=s,i},e.prototype.getIndices=function(){var e,t=this._indices;if(t){var n=t.constructor,r=this._count;if(n===Array){e=new n(r);for(var i=0;i<r;i++)e[i]=t[i]}else e=new n(t.buffer,0,r)}else{e=new(n=yae(this._rawCount))(this.count());for(i=0;i<e.length;i++)e[i]=i}return e},e.prototype.filter=function(e,t){if(!this._count)return this;for(var n=this.clone(),r=n.count(),i=new(yae(n._rawCount))(r),o=[],a=e.length,s=0,l=e[0],u=n._chunks,c=0;c<r;c++){var f=void 0,h=n.getRawIndex(c);if(0===a)f=t(c);else if(1===a){f=t(u[l][h],c)}else{for(var d=0;d<a;d++)o[d]=u[e[d]][h];o[d]=c,f=t.apply(null,o)}f&&(i[s++]=h)}return s<r&&(n._indices=i),n._count=s,n._extent=[],n._updateGetRawIdx(),n},e.prototype.selectRange=function(e){var t=this.clone(),n=t._count;if(!n)return this;var r=Z2(e),i=r.length;if(!i)return this;var o=t.count(),a=new(yae(t._rawCount))(o),s=0,l=r[0],u=e[l][0],c=e[l][1],f=t._chunks,h=!1;if(!t._indices){var d=0;if(1===i){for(var p=f[r[0]],g=0;g<n;g++){((y=p[g])>=u&&y<=c||isNaN(y))&&(a[s++]=d),d++}h=!0}else if(2===i){p=f[r[0]];var m=f[r[1]],b=e[r[1]][0],v=e[r[1]][1];for(g=0;g<n;g++){var y=p[g],w=m[g];(y>=u&&y<=c||isNaN(y))&&(w>=b&&w<=v||isNaN(w))&&(a[s++]=d),d++}h=!0}}if(!h)if(1===i)for(g=0;g<o;g++){var x=t.getRawIndex(g);((y=f[r[0]][x])>=u&&y<=c||isNaN(y))&&(a[s++]=x)}else for(g=0;g<o;g++){for(var _=!0,S=(x=t.getRawIndex(g),0);S<i;S++){var k=r[S];((y=f[k][x])<e[k][0]||y>e[k][1])&&(_=!1)}_&&(a[s++]=t.getRawIndex(g))}return s<o&&(t._indices=a),t._count=s,t._extent=[],t._updateGetRawIdx(),t},e.prototype.map=function(e,t){var n=this.clone(e);return this._updateDims(n,e,t),n},e.prototype.modify=function(e,t){this._updateDims(this,e,t)},e.prototype._updateDims=function(e,t,n){for(var r=e._chunks,i=[],o=t.length,a=e.count(),s=[],l=e._rawExtent,u=0;u<t.length;u++)l[t[u]]=[1/0,-1/0];for(var c=0;c<a;c++){for(var f=e.getRawIndex(c),h=0;h<o;h++)s[h]=r[t[h]][f];s[o]=c;var d=n&&n.apply(null,s);if(null!=d){"object"!=typeof d&&(i[0]=d,d=i);for(u=0;u<d.length;u++){var p=t[u],g=d[u],m=l[p],b=r[p];b&&(b[f]=g),g<m[0]&&(m[0]=g),g>m[1]&&(m[1]=g)}}}},e.prototype.lttbDownSample=function(e,t){var n,r,i,o=this.clone([e],!0),a=o._chunks[e],s=this.count(),l=0,u=Math.floor(1/t),c=this.getRawIndex(0),f=new(yae(this._rawCount))(Math.min(2*(Math.ceil(s/u)+2),s));f[l++]=c;for(var h=1;h<s-1;h+=u){for(var d=Math.min(h+u,s-1),p=Math.min(h+2*u,s),g=(p+d)/2,m=0,b=d;b<p;b++){var v=a[C=this.getRawIndex(b)];isNaN(v)||(m+=v)}m/=p-d;var y=h,w=Math.min(h+u,s),x=h-1,_=a[c];n=-1,i=y;var S=-1,k=0;for(b=y;b<w;b++){var C;v=a[C=this.getRawIndex(b)];isNaN(v)?(k++,S<0&&(S=C)):(r=Math.abs((x-g)*(v-_)-(x-b)*(m-_)))>n&&(n=r,i=C)}k>0&&k<w-y&&(f[l++]=Math.min(S,i),i=Math.max(S,i)),f[l++]=i,c=i}return f[l++]=this.getRawIndex(s-1),o._count=l,o._indices=f,o.getRawIndex=this._getRawIdx,o},e.prototype.downSample=function(e,t,n,r){for(var i=this.clone([e],!0),o=i._chunks,a=[],s=Math.floor(1/t),l=o[e],u=this.count(),c=i._rawExtent[e]=[1/0,-1/0],f=new(yae(this._rawCount))(Math.ceil(u/s)),h=0,d=0;d<u;d+=s){s>u-d&&(s=u-d,a.length=s);for(var p=0;p<s;p++){var g=this.getRawIndex(d+p);a[p]=l[g]}var m=n(a),b=this.getRawIndex(Math.min(d+r(a,m)||0,u-1));l[b]=m,m<c[0]&&(c[0]=m),m>c[1]&&(c[1]=m),f[h++]=b}return i._count=h,i._indices=f,i._updateGetRawIdx(),i},e.prototype.each=function(e,t){if(this._count)for(var n=e.length,r=this._chunks,i=0,o=this.count();i<o;i++){var a=this.getRawIndex(i);switch(n){case 0:t(i);break;case 1:t(r[e[0]][a],i);break;case 2:t(r[e[0]][a],r[e[1]][a],i);break;default:for(var s=0,l=[];s<n;s++)l[s]=r[e[s]][a];l[s]=i,t.apply(null,l)}}},e.prototype.getDataExtent=function(e){var t=this._chunks[e],n=[1/0,-1/0];if(!t)return n;var r,i=this.count();if(!this._indices)return this._rawExtent[e].slice();if(r=this._extent[e])return r.slice();for(var o=(r=n)[0],a=r[1],s=0;s<i;s++){var l=t[this.getRawIndex(s)];l<o&&(o=l),l>a&&(a=l)}return r=[o,a],this._extent[e]=r,r},e.prototype.getRawDataItem=function(e){var t=this.getRawIndex(e);if(this._provider.persistent)return this._provider.getItem(t);for(var n=[],r=this._chunks,i=0;i<r.length;i++)n.push(r[i][t]);return n},e.prototype.clone=function(t,n){var r,i,o=new e,a=this._chunks,s=t&&Y2(t,(function(e,t){return e[t]=!0,e}),{});if(s)for(var l=0;l<a.length;l++)o._chunks[l]=s[l]?(r=a[l],i=void 0,(i=r.constructor)===Array?r.slice():new i(r)):a[l];else o._chunks=a;return this._copyCommonProps(o),n||(o._indices=this._cloneIndices()),o._updateGetRawIdx(),o},e.prototype._copyCommonProps=function(e){e._count=this._count,e._rawCount=this._rawCount,e._provider=this._provider,e._dimensions=this._dimensions,e._extent=z2(this._extent),e._rawExtent=z2(this._rawExtent)},e.prototype._cloneIndices=function(){if(this._indices){var e=this._indices.constructor,t=void 0;if(e===Array){var n=this._indices.length;t=new e(n);for(var r=0;r<n;r++)t[r]=this._indices[r]}else t=new e(this._indices);return t}return null},e.prototype._getRawIdxIdentity=function(e){return e},e.prototype._getRawIdx=function(e){return e<this._count&&e>=0?this._indices[e]:-1},e.prototype._updateGetRawIdx=function(){this.getRawIndex=this._indices?this._getRawIdx:this._getRawIdxIdentity},e.internalField=function(){function e(e,t,n,r){return Koe(e[r],this._dimensions[r])}hae={arrayRows:e,objectRows:function(e,t,n,r){return Koe(e[t],this._dimensions[r])},keyedColumns:e,original:function(e,t,n,r){var i=e&&(null==e.value?e:e.value);return Koe(i instanceof Array?i[r]:i,this._dimensions[r])},typedArray:function(e,t,n,r){return e[r]}}}(),e}();const _ae=xae;var Sae=function(){function e(e){this._sourceList=[],this._storeList=[],this._upstreamSignList=[],this._versionSignBase=0,this._dirty=!0,this._sourceHost=e}return e.prototype.dirty=function(){this._setLocalSource([],[]),this._storeList=[],this._dirty=!0},e.prototype._setLocalSource=function(e,t){this._sourceList=e,this._upstreamSignList=t,this._versionSignBase++,this._versionSignBase>9e10&&(this._versionSignBase=0)},e.prototype._getVersionSign=function(){return this._sourceHost.uid+"_"+this._versionSignBase},e.prototype.prepareSource=function(){this._isDirty()&&(this._createSource(),this._dirty=!1)},e.prototype._createSource=function(){this._setLocalSource([],[]);var e,t,n=this._sourceHost,r=this._getUpstreamSourceManagers(),i=!!r.length;if(Cae(n)){var o=n,a=void 0,s=void 0,l=void 0;if(i){var u=r[0];u.prepareSource(),a=(l=u.getSource()).data,s=l.sourceFormat,t=[u._getVersionSign()]}else s=s3(a=o.get("data",!0))?pie:cie,t=[];var c=this._getSourceMetaRawOption()||{},f=l&&l.metaRawOption||{},h=h3(c.seriesLayoutBy,f.seriesLayoutBy)||null,d=h3(c.sourceHeader,f.sourceHeader),p=h3(c.dimensions,f.dimensions);e=h!==f.seriesLayoutBy||!!d!=!!f.sourceHeader||p?[koe(a,{seriesLayoutBy:h,sourceHeader:d,dimensions:p},s)]:[]}else{var g=n;if(i){var m=this._applyTransform(r);e=m.sourceList,t=m.upstreamSignList}else{e=[koe(g.get("source",!0),this._getSourceMetaRawOption(),null)],t=[]}}this._setLocalSource(e,t)},e.prototype._applyTransform=function(e){var t,n=this._sourceHost,r=n.get("transform",!0),i=n.get("fromTransformResult",!0);if(null!=i){1!==e.length&&Eae("")}var o,a=[],s=[];return q2(e,(function(e){e.prepareSource();var t=e.getSource(i||0);null==i||t||Eae(""),a.push(t),s.push(e._getVersionSign())})),r?t=function(e,t,n){var r=C9(e),i=r.length;i||Yoe("");for(var o=0,a=i;o<a;o++)t=cae(r[o],t),o!==a-1&&(t.length=Math.max(t.length,1));return t}(r,a,n.componentIndex):null!=i&&(t=[(o=a[0],new _oe({data:o.data,sourceFormat:o.sourceFormat,seriesLayoutBy:o.seriesLayoutBy,dimensionsDefine:z2(o.dimensionsDefine),startIndex:o.startIndex,dimensionsDetectedCount:o.dimensionsDetectedCount}))]),{sourceList:t,upstreamSignList:s}},e.prototype._isDirty=function(){if(this._dirty)return!0;for(var e=this._getUpstreamSourceManagers(),t=0;t<e.length;t++){var n=e[t];if(n._isDirty()||this._upstreamSignList[t]!==n._getVersionSign())return!0}},e.prototype.getSource=function(e){e=e||0;var t=this._sourceList[e];if(!t){var n=this._getUpstreamSourceManagers();return n[0]&&n[0].getSource(e)}return t},e.prototype.getSharedDataStore=function(e){var t=e.makeStoreSchema();return this._innerGetDataStore(t.dimensions,e.source,t.hash)},e.prototype._innerGetDataStore=function(e,t,n){var r=this._storeList,i=r[0];i||(i=r[0]={});var o=i[n];if(!o){var a=this._getUpstreamSourceManagers()[0];Cae(this._sourceHost)&&a?o=a._innerGetDataStore(e,t,n):(o=new _ae).initData(new Aoe(t,e.length),e),i[n]=o}return o},e.prototype._getUpstreamSourceManagers=function(){var e=this._sourceHost;if(Cae(e)){var t=kie(e);return t?[t.getSourceManager()]:[]}return X2(function(e){return e.get("transform",!0)||e.get("fromTransformResult",!0)?H9(e.ecModel,"dataset",{index:e.get("fromDatasetIndex",!0),id:e.get("fromDatasetId",!0)},V9).models:[]}(e),(function(e){return e.getSourceManager()}))},e.prototype._getSourceMetaRawOption=function(){var e,t,n,r=this._sourceHost;if(Cae(r))e=r.get("seriesLayoutBy",!0),t=r.get("sourceHeader",!0),n=r.get("dimensions",!0);else if(!this._getUpstreamSourceManagers().length){var i=r;e=i.get("seriesLayoutBy",!0),t=i.get("sourceHeader",!0),n=i.get("dimensions",!0)}return{seriesLayoutBy:e,sourceHeader:t,dimensions:n}},e}();function kae(e){e.option.transform&&y3(e.option.transform)}function Cae(e){return"series"===e.mainType}function Eae(e){throw new Error(e)}function Iae(e,t){var n=e.color||"#6e7079",r=e.fontSize||12,i=e.fontWeight||"400",o=e.color||"#464646",a=e.fontSize||14,s=e.fontWeight||"900";return"html"===t?{nameStyle:"font-size:"+c5(r+"")+"px;color:"+c5(n)+";font-weight:"+c5(i+""),valueStyle:"font-size:"+c5(a+"")+"px;color:"+c5(o)+";font-weight:"+c5(s+"")}:{nameStyle:{fontSize:r,fill:n,fontWeight:i},valueStyle:{fontSize:a,fill:o,fontWeight:s}}}var Mae=[0,10,20,30],Tae=["","\n","\n\n","\n\n\n"];function Aae(e,t){return t.type=e,t}function Pae(e){return"section"===e.type}function Oae(e){return Pae(e)?Rae:Lae}function Dae(e){if(Pae(e)){var t=0,n=e.blocks.length,r=n>1||n>0&&!e.noHeader;return q2(e.blocks,(function(e){var n=Dae(e);n>=t&&(t=n+ +(r&&(!n||Pae(e)&&!e.noHeader)))})),t}return 0}function Rae(e,t,n,r){var i,o=t.noHeader,a=(i=Dae(t),{html:Mae[i],richText:Tae[i]}),s=[],l=t.blocks||[];m3(!l||e3(l)),l=l||[];var u=e.orderMode;if(t.sortBlocks&&u){l=l.slice();var c={valueAsc:"asc",valueDesc:"desc"};if(M3(c,u)){var f=new tae(c[u],null);l.sort((function(e,t){return f.evaluate(e.sortParam,t.sortParam)}))}else"seriesDesc"===u&&l.reverse()}q2(l,(function(n,i){var o=t.valueFormatter,l=Oae(n)(o?$2($2({},e),{valueFormatter:o}):e,n,i>0?a.html:0,r);null!=l&&s.push(l)}));var h="richText"===e.renderMode?s.join(a.richText):jae(s.join(""),o?n:a.html);if(o)return h;var d=Bre(t.header,"ordinal",e.useUTC),p=Iae(r,e.renderMode).nameStyle;return"richText"===e.renderMode?Fae(e,d,p)+a.richText+h:jae('<div style="'+p+";"+'line-height:1;">'+c5(d)+"</div>"+h,n)}function Lae(e,t,n,r){var i=e.renderMode,o=t.noName,a=t.noValue,s=!t.markerType,l=t.name,u=e.useUTC,c=t.valueFormatter||e.valueFormatter||function(e){return X2(e=e3(e)?e:[e],(function(e,t){return Bre(e,e3(d)?d[t]:d,u)}))};if(!o||!a){var f=s?"":e.markupStyleCreator.makeTooltipMarker(t.markerType,t.markerColor||"#333",i),h=o?"":Bre(l,"ordinal",u),d=t.valueType,p=a?[]:c(t.value),g=!s||!o,m=!s&&o,b=Iae(r,i),v=b.nameStyle,y=b.valueStyle;return"richText"===i?(s?"":f)+(o?"":Fae(e,h,v))+(a?"":function(e,t,n,r,i){var o=[i],a=r?10:20;return n&&o.push({padding:[0,0,0,a],align:"right"}),e.markupStyleCreator.wrapRichTextStyle(e3(t)?t.join(" "):t,o)}(e,p,g,m,y)):jae((s?"":f)+(o?"":function(e,t,n){return'<span style="'+n+";"+(t?"margin-left:2px":"")+'">'+c5(e)+"</span>"}(h,!s,v))+(a?"":function(e,t,n,r){var i=n?"10px":"20px",o=t?"float:right;margin-left:"+i:"";return e=e3(e)?e:[e],'<span style="'+o+";"+r+'">'+X2(e,(function(e){return c5(e)})).join("&nbsp;&nbsp;")+"</span>"}(p,g,m,y)),n)}}function Nae(e,t,n,r,i,o){if(e)return Oae(e)({useUTC:i,renderMode:n,orderMode:r,markupStyleCreator:t,valueFormatter:e.valueFormatter},e,0,o)}function jae(e,t){return'<div style="'+("margin: "+t+"px 0 0")+";"+'line-height:1;">'+e+'<div style="clear:both"></div></div>'}function Fae(e,t,n){return e.markupStyleCreator.wrapRichTextStyle(t,n)}function zae(e,t){return Gre(e.getData().getItemVisual(t,"style")[e.visualDrawType])}function Bae(e,t){var n=e.get("padding");return null!=n?n:"richText"===t?[8,10]:10}var Vae=function(){function e(){this.richTextStyles={},this._nextStyleNameId=y9()}return e.prototype._generateStyleName=function(){return"__EC_aUTo_"+this._nextStyleNameId++},e.prototype.makeTooltipMarker=function(e,t,n){var r="richText"===n?this._generateStyleName():null,i=function(e,t){var n=n3(e)?{color:e,extraCssText:t}:e||{},r=n.color,i=n.type;t=n.extraCssText;var o=n.renderMode||"html";return r?"html"===o?"subItem"===i?'<span style="display:inline-block;vertical-align:middle;margin-right:8px;margin-left:3px;border-radius:4px;width:4px;height:4px;background-color:'+c5(r)+";"+(t||"")+'"></span>':'<span style="display:inline-block;margin-right:4px;border-radius:10px;width:10px;height:10px;background-color:'+c5(r)+";"+(t||"")+'"></span>':{renderMode:o,content:"{"+(n.markerId||"markerX")+"|} ",style:"subItem"===i?{width:4,height:4,borderRadius:2,backgroundColor:r}:{width:10,height:10,borderRadius:5,backgroundColor:r}}:""}({color:t,type:e,renderMode:n,markerId:r});return n3(i)?i:(this.richTextStyles[r]=i.style,i.content)},e.prototype.wrapRichTextStyle=function(e,t){var n={};e3(t)?q2(t,(function(e){return $2(n,e)})):$2(n,t);var r=this._generateStyleName();return this.richTextStyles[r]=n,"{"+r+"|"+e+"}"},e}();function $ae(e){var t,n,r,i,o=e.series,a=e.dataIndex,s=e.multipleSeries,l=o.getData(),u=l.mapDimensionsAll("defaultedTooltip"),c=u.length,f=o.getRawValue(a),h=e3(f),d=zae(o,a);if(c>1||h&&!c){var p=function(e,t,n,r,i){var o=t.getData(),a=Y2(e,(function(e,t,n){var r=o.getDimensionInfo(n);return e||r&&!1!==r.tooltip&&null!=r.displayName}),!1),s=[],l=[],u=[];function c(e,t){var n=o.getDimensionInfo(t);n&&!1!==n.otherDims.tooltip&&(a?u.push(Aae("nameValue",{markerType:"subItem",markerColor:i,name:n.displayName,value:e,valueType:n.type})):(s.push(e),l.push(n.type)))}return r.length?q2(r,(function(e){c(Voe(o,n,e),e)})):q2(e,c),{inlineValues:s,inlineValueTypes:l,blocks:u}}(f,o,a,u,d);t=p.inlineValues,n=p.inlineValueTypes,r=p.blocks,i=p.inlineValues[0]}else if(c){var g=l.getDimensionInfo(u[0]);i=t=Voe(l,a,u[0]),n=g.type}else i=t=h?f[0]:f;var m=R9(o),b=m&&o.name||"",v=l.getName(a),y=s?b:v;return Aae("section",{header:b,noHeader:s||!m,sortParam:i,blocks:[Aae("nameValue",{markerType:"item",markerColor:d,name:y,noName:!b3(y),value:t,valueType:n})].concat(r||[])})}var Hae=j9();function Gae(e,t){return e.getName(t)||e.getId(t)}var Wae=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._selectedDataIndicesMap={},t}return g2(t,e),t.prototype.init=function(e,t,n){this.seriesIndex=this.componentIndex,this.dataTask=Woe({count:qae,reset:Xae}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(e,n),(Hae(this).sourceManager=new Sae(this)).prepareSource();var r=this.getInitialData(e,n);Kae(r,this),this.dataTask.context.data=r,Hae(this).dataBeforeProcessed=r,Uae(this),this._initSelectedMapFromData(r)},t.prototype.mergeDefaultAndTheme=function(e,t){var n=Jre(this),r=n?tie(e):{},i=this.subType;oie.hasClass(i)&&(i+="Series"),B2(e,t.getTheme().get(this.subType)),B2(e,this.getDefaultOption()),E9(e,"label",["show"]),this.fillDataTextStyle(e.data),n&&eie(e,r,n)},t.prototype.mergeOption=function(e,t){e=B2(this.option,e,!0),this.fillDataTextStyle(e.data);var n=Jre(this);n&&eie(this.option,e,n);var r=Hae(this).sourceManager;r.dirty(),r.prepareSource();var i=this.getInitialData(e,t);Kae(i,this),this.dataTask.dirty(),this.dataTask.context.data=i,Hae(this).dataBeforeProcessed=i,Uae(this),this._initSelectedMapFromData(i)},t.prototype.fillDataTextStyle=function(e){if(e&&!s3(e))for(var t=["show"],n=0;n<e.length;n++)e[n]&&e[n].label&&E9(e[n],"label",t)},t.prototype.getInitialData=function(e,t){},t.prototype.appendData=function(e){this.getRawData().appendData(e.data)},t.prototype.getData=function(e){var t=Qae(this);if(t){var n=t.context.data;return null==e?n:n.getLinkedData(e)}return Hae(this).data},t.prototype.getAllData=function(){var e=this.getData();return e&&e.getLinkedDataAll?e.getLinkedDataAll():[{data:e}]},t.prototype.setData=function(e){var t=Qae(this);if(t){var n=t.context;n.outputData=e,t!==this.dataTask&&(n.data=e)}Hae(this).data=e},t.prototype.getEncode=function(){var e=this.get("encode",!0);if(e)return k3(e)},t.prototype.getSourceManager=function(){return Hae(this).sourceManager},t.prototype.getSource=function(){return this.getSourceManager().getSource()},t.prototype.getRawData=function(){return Hae(this).dataBeforeProcessed},t.prototype.getColorBy=function(){return this.get("colorBy")||"series"},t.prototype.isColorBySeries=function(){return"series"===this.getColorBy()},t.prototype.getBaseAxis=function(){var e=this.coordinateSystem;return e&&e.getBaseAxis&&e.getBaseAxis()},t.prototype.formatTooltip=function(e,t,n){return $ae({series:this,dataIndex:e,multipleSeries:t})},t.prototype.isAnimationEnabled=function(){var e=this.ecModel;if(v2.node&&(!e||!e.ssr))return!1;var t=this.getShallow("animation");return t&&this.getData().count()>this.getShallow("animationThreshold")&&(t=!1),!!t},t.prototype.restoreData=function(){this.dataTask.dirty()},t.prototype.getColorFromPalette=function(e,t,n){var r=this.ecModel,i=Die.prototype.getColorFromPalette.call(this,e,t,n);return i||(i=r.getColorFromPalette(e,t,n)),i},t.prototype.coordDimToDataDim=function(e){return this.getRawData().mapDimensionsAll(e)},t.prototype.getProgressive=function(){return this.get("progressive")},t.prototype.getProgressiveThreshold=function(){return this.get("progressiveThreshold")},t.prototype.select=function(e,t){this._innerSelect(this.getData(t),e)},t.prototype.unselect=function(e,t){var n=this.option.selectedMap;if(n){var r=this.option.selectedMode,i=this.getData(t);if("series"===r||"all"===n)return this.option.selectedMap={},void(this._selectedDataIndicesMap={});for(var o=0;o<e.length;o++){var a=Gae(i,e[o]);n[a]=!1,this._selectedDataIndicesMap[a]=-1}}},t.prototype.toggleSelect=function(e,t){for(var n=[],r=0;r<e.length;r++)n[0]=e[r],this.isSelected(e[r],t)?this.unselect(n,t):this.select(n,t)},t.prototype.getSelectedDataIndices=function(){if("all"===this.option.selectedMap)return[].slice.call(this.getData().getIndices());for(var e=this._selectedDataIndicesMap,t=Z2(e),n=[],r=0;r<t.length;r++){var i=e[t[r]];i>=0&&n.push(i)}return n},t.prototype.isSelected=function(e,t){var n=this.option.selectedMap;if(!n)return!1;var r=this.getData(t);return("all"===n||n[Gae(r,e)])&&!r.getItemModel(e).get(["select","disabled"])},t.prototype.isUniversalTransitionEnabled=function(){if(this.__universalTransitionEnabled)return!0;var e=this.option.universalTransition;return!!e&&(!0===e||e&&e.enabled)},t.prototype._innerSelect=function(e,t){var n,r,i=this.option,o=i.selectedMode,a=t.length;if(o&&a)if("series"===o)i.selectedMap="all";else if("multiple"===o){o3(i.selectedMap)||(i.selectedMap={});for(var s=i.selectedMap,l=0;l<a;l++){var u=t[l];s[f=Gae(e,u)]=!0,this._selectedDataIndicesMap[f]=e.getRawIndex(u)}}else if("single"===o||!0===o){var c=t[a-1],f=Gae(e,c);i.selectedMap=((n={})[f]=!0,n),this._selectedDataIndicesMap=((r={})[f]=e.getRawIndex(c),r)}},t.prototype._initSelectedMapFromData=function(e){if(!this.option.selectedMap){var t=[];e.hasItemOption&&e.each((function(n){var r=e.getRawDataItem(n);r&&r.selected&&t.push(n)})),t.length>0&&this._innerSelect(e,t)}},t.registerClass=function(e){return oie.registerClass(e)},t.protoInitialize=function(){var e=t.prototype;e.type="series.__base__",e.seriesIndex=0,e.ignoreStyleOnData=!1,e.hasSymbolVisual=!1,e.defaultSymbol="circle",e.visualStyleAccessPath="itemStyle",e.visualDrawType="fill"}(),t}(oie);function Uae(e){var t=e.name;R9(e)||(e.name=function(e){var t=e.getRawData(),n=t.mapDimensionsAll("seriesName"),r=[];return q2(n,(function(e){var n=t.getDimensionInfo(e);n.displayName&&r.push(n.displayName)})),r.join(" ")}(e)||t)}function qae(e){return e.model.getRawData().count()}function Xae(e){var t=e.model;return t.setData(t.getRawData().cloneShallow()),Yae}function Yae(e,t){t.outputData&&e.end>t.outputData.count()&&t.model.getRawData().cloneShallow(t.outputData)}function Kae(e,t){q2(C3(e.CHANGABLE_METHODS,e.DOWNSAMPLE_METHODS),(function(n){e.wrapMethod(n,J2(Zae,t))}))}function Zae(e,t){var n=Qae(e);return n&&n.setOutputEnd((t||this).count()),t}function Qae(e){var t=(e.ecModel||{}).scheduler,n=t&&t.getPipeline(e.uid);if(n){var r=n.currentTask;if(r){var i=r.agentStubMap;i&&(r=i.get(e.uid))}return r}}W2(Wae,Hoe),W2(Wae,Die),Z9(Wae,oie);const Jae=Wae;var ese=function(){function e(){this.group=new X8,this.uid=Zne("viewComponent")}return e.prototype.init=function(e,t){},e.prototype.render=function(e,t,n,r){},e.prototype.dispose=function(e,t){},e.prototype.updateView=function(e,t,n,r){},e.prototype.updateLayout=function(e,t,n,r){},e.prototype.updateVisual=function(e,t,n,r){},e.prototype.toggleBlurSeries=function(e,t,n){},e.prototype.eachRendered=function(e){var t=this.group;t&&t.traverse(e)},e}();K9(ese),t7(ese);const tse=ese;function nse(){var e=j9();return function(t){var n=e(t),r=t.pipelineContext,i=!!n.large,o=!!n.progressiveRender,a=n.large=!(!r||!r.large),s=n.progressiveRender=!(!r||!r.progressiveRender);return!(i===a&&o===s)&&"reset"}}var rse=fee.CMD,ise=[[],[],[]],ose=Math.sqrt,ase=Math.atan2;function sse(e,t){if(t){var n,r,i,o,a,s,l=e.data,u=e.len(),c=rse.M,f=rse.C,h=rse.L,d=rse.R,p=rse.A,g=rse.Q;for(i=0,o=0;i<u;){switch(n=l[i++],o=i,r=0,n){case c:case h:r=1;break;case f:r=3;break;case g:r=2;break;case p:var m=t[4],b=t[5],v=ose(t[0]*t[0]+t[1]*t[1]),y=ose(t[2]*t[2]+t[3]*t[3]),w=ase(-t[1]/y,t[0]/v);l[i]*=v,l[i++]+=m,l[i]*=y,l[i++]+=b,l[i++]*=v,l[i++]*=y,l[i++]+=w,l[i++]+=w,o=i+=2;break;case d:s[0]=l[i++],s[1]=l[i++],X3(s,s,t),l[o++]=s[0],l[o++]=s[1],s[0]+=l[i++],s[1]+=l[i++],X3(s,s,t),l[o++]=s[0],l[o++]=s[1]}for(a=0;a<r;a++){var x=ise[a];x[0]=l[i++],x[1]=l[i++],X3(x,x,t),l[o++]=x[0],l[o++]=x[1]}}e.increaseVersion()}}var lse=Math.sqrt,use=Math.sin,cse=Math.cos,fse=Math.PI;function hse(e){return Math.sqrt(e[0]*e[0]+e[1]*e[1])}function dse(e,t){return(e[0]*t[0]+e[1]*t[1])/(hse(e)*hse(t))}function pse(e,t){return(e[0]*t[1]<e[1]*t[0]?-1:1)*Math.acos(dse(e,t))}function gse(e,t,n,r,i,o,a,s,l,u,c){var f=l*(fse/180),h=cse(f)*(e-n)/2+use(f)*(t-r)/2,d=-1*use(f)*(e-n)/2+cse(f)*(t-r)/2,p=h*h/(a*a)+d*d/(s*s);p>1&&(a*=lse(p),s*=lse(p));var g=(i===o?-1:1)*lse((a*a*(s*s)-a*a*(d*d)-s*s*(h*h))/(a*a*(d*d)+s*s*(h*h)))||0,m=g*a*d/s,b=g*-s*h/a,v=(e+n)/2+cse(f)*m-use(f)*b,y=(t+r)/2+use(f)*m+cse(f)*b,w=pse([1,0],[(h-m)/a,(d-b)/s]),x=[(h-m)/a,(d-b)/s],_=[(-1*h-m)/a,(-1*d-b)/s],S=pse(x,_);if(dse(x,_)<=-1&&(S=fse),dse(x,_)>=1&&(S=0),S<0){var k=Math.round(S/fse*1e6)/1e6;S=2*fse+k%2*fse}c.addData(u,v,y,a,s,w,S,f,o)}var mse=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/gi,bse=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;var vse=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return O3(t,e),t.prototype.applyTransform=function(e){},t}(Oee);function yse(e){return null!=e.setData}function wse(e,t){var n=function(e){var t=new fee;if(!e)return t;var n,r=0,i=0,o=r,a=i,s=fee.CMD,l=e.match(mse);if(!l)return t;for(var u=0;u<l.length;u++){for(var c=l[u],f=c.charAt(0),h=void 0,d=c.match(bse)||[],p=d.length,g=0;g<p;g++)d[g]=parseFloat(d[g]);for(var m=0;m<p;){var b=void 0,v=void 0,y=void 0,w=void 0,x=void 0,_=void 0,S=void 0,k=r,C=i,E=void 0,I=void 0;switch(f){case"l":r+=d[m++],i+=d[m++],h=s.L,t.addData(h,r,i);break;case"L":r=d[m++],i=d[m++],h=s.L,t.addData(h,r,i);break;case"m":r+=d[m++],i+=d[m++],h=s.M,t.addData(h,r,i),o=r,a=i,f="l";break;case"M":r=d[m++],i=d[m++],h=s.M,t.addData(h,r,i),o=r,a=i,f="L";break;case"h":r+=d[m++],h=s.L,t.addData(h,r,i);break;case"H":r=d[m++],h=s.L,t.addData(h,r,i);break;case"v":i+=d[m++],h=s.L,t.addData(h,r,i);break;case"V":i=d[m++],h=s.L,t.addData(h,r,i);break;case"C":h=s.C,t.addData(h,d[m++],d[m++],d[m++],d[m++],d[m++],d[m++]),r=d[m-2],i=d[m-1];break;case"c":h=s.C,t.addData(h,d[m++]+r,d[m++]+i,d[m++]+r,d[m++]+i,d[m++]+r,d[m++]+i),r+=d[m-2],i+=d[m-1];break;case"S":b=r,v=i,E=t.len(),I=t.data,n===s.C&&(b+=r-I[E-4],v+=i-I[E-3]),h=s.C,k=d[m++],C=d[m++],r=d[m++],i=d[m++],t.addData(h,b,v,k,C,r,i);break;case"s":b=r,v=i,E=t.len(),I=t.data,n===s.C&&(b+=r-I[E-4],v+=i-I[E-3]),h=s.C,k=r+d[m++],C=i+d[m++],r+=d[m++],i+=d[m++],t.addData(h,b,v,k,C,r,i);break;case"Q":k=d[m++],C=d[m++],r=d[m++],i=d[m++],h=s.Q,t.addData(h,k,C,r,i);break;case"q":k=d[m++]+r,C=d[m++]+i,r+=d[m++],i+=d[m++],h=s.Q,t.addData(h,k,C,r,i);break;case"T":b=r,v=i,E=t.len(),I=t.data,n===s.Q&&(b+=r-I[E-4],v+=i-I[E-3]),r=d[m++],i=d[m++],h=s.Q,t.addData(h,b,v,r,i);break;case"t":b=r,v=i,E=t.len(),I=t.data,n===s.Q&&(b+=r-I[E-4],v+=i-I[E-3]),r+=d[m++],i+=d[m++],h=s.Q,t.addData(h,b,v,r,i);break;case"A":y=d[m++],w=d[m++],x=d[m++],_=d[m++],S=d[m++],gse(k=r,C=i,r=d[m++],i=d[m++],_,S,y,w,x,h=s.A,t);break;case"a":y=d[m++],w=d[m++],x=d[m++],_=d[m++],S=d[m++],gse(k=r,C=i,r+=d[m++],i+=d[m++],_,S,y,w,x,h=s.A,t)}}"z"!==f&&"Z"!==f||(h=s.Z,t.addData(h),r=o,i=a),n=h}return t.toStatic(),t}(e),r=$2({},t);return r.buildPath=function(e){if(yse(e)){e.setData(n.data),(t=e.getContext())&&e.rebuildPath(t,1)}else{var t=e;n.rebuildPath(t,1)}},r.applyTransform=function(e){sse(n,e),this.dirtyShape()},r}function xse(e,t){return new vse(wse(e,t))}function _se(e,t){t=t||{};var n=new Oee;return e.shape&&n.setShape(e.shape),n.setStyle(e.style),t.bakeTransform?sse(n.path,e.getComputedTransform()):t.toLocal?n.setLocalTransform(e.getComputedTransform()):n.copyTransform(e),n.buildPath=e.buildPath,n.applyTransform=n.applyTransform,n.z=e.z,n.z2=e.z2,n.zlevel=e.zlevel,n}var Sse=function(){this.cx=0,this.cy=0,this.r=0},kse=function(e){function t(t){return e.call(this,t)||this}return O3(t,e),t.prototype.getDefaultShape=function(){return new Sse},t.prototype.buildPath=function(e,t){e.moveTo(t.cx+t.r,t.cy),e.arc(t.cx,t.cy,t.r,0,2*Math.PI)},t}(Oee);kse.prototype.type="circle";const Cse=kse;var Ese=function(){this.cx=0,this.cy=0,this.rx=0,this.ry=0},Ise=function(e){function t(t){return e.call(this,t)||this}return O3(t,e),t.prototype.getDefaultShape=function(){return new Ese},t.prototype.buildPath=function(e,t){var n=.5522848,r=t.cx,i=t.cy,o=t.rx,a=t.ry,s=o*n,l=a*n;e.moveTo(r-o,i),e.bezierCurveTo(r-o,i-l,r-s,i-a,r,i-a),e.bezierCurveTo(r+s,i-a,r+o,i-l,r+o,i),e.bezierCurveTo(r+o,i+l,r+s,i+a,r,i+a),e.bezierCurveTo(r-s,i+a,r-o,i+l,r-o,i),e.closePath()},t}(Oee);Ise.prototype.type="ellipse";const Mse=Ise;var Tse=Math.PI,Ase=2*Tse,Pse=Math.sin,Ose=Math.cos,Dse=Math.acos,Rse=Math.atan2,Lse=Math.abs,Nse=Math.sqrt,jse=Math.max,Fse=Math.min,zse=1e-4;function Bse(e,t,n,r,i,o,a){var s=e-n,l=t-r,u=(a?o:-o)/Nse(s*s+l*l),c=u*l,f=-u*s,h=e+c,d=t+f,p=n+c,g=r+f,m=(h+p)/2,b=(d+g)/2,v=p-h,y=g-d,w=v*v+y*y,x=i-o,_=h*g-p*d,S=(y<0?-1:1)*Nse(jse(0,x*x*w-_*_)),k=(_*y-v*S)/w,C=(-_*v-y*S)/w,E=(_*y+v*S)/w,I=(-_*v+y*S)/w,M=k-m,T=C-b,A=E-m,P=I-b;return M*M+T*T>A*A+P*P&&(k=E,C=I),{cx:k,cy:C,x0:-c,y0:-f,x1:k*(i/x-1),y1:C*(i/x-1)}}function Vse(e,t){var n,r=jse(t.r,0),i=jse(t.r0||0,0),o=r>0;if(o||i>0){if(o||(r=i,i=0),i>r){var a=r;r=i,i=a}var s=t.startAngle,l=t.endAngle;if(!isNaN(s)&&!isNaN(l)){var u=t.cx,c=t.cy,f=!!t.clockwise,h=Lse(l-s),d=h>Ase&&h%Ase;if(d>zse&&(h=d),r>zse)if(h>Ase-zse)e.moveTo(u+r*Ose(s),c+r*Pse(s)),e.arc(u,c,r,s,l,!f),i>zse&&(e.moveTo(u+i*Ose(l),c+i*Pse(l)),e.arc(u,c,i,l,s,f));else{var p=void 0,g=void 0,m=void 0,b=void 0,v=void 0,y=void 0,w=void 0,x=void 0,_=void 0,S=void 0,k=void 0,C=void 0,E=void 0,I=void 0,M=void 0,T=void 0,A=r*Ose(s),P=r*Pse(s),O=i*Ose(l),D=i*Pse(l),R=h>zse;if(R){var L=t.cornerRadius;L&&(n=function(e){var t;if(e3(e)){var n=e.length;if(!n)return e;t=1===n?[e[0],e[0],0,0]:2===n?[e[0],e[0],e[1],e[1]]:3===n?e.concat(e[2]):e}else t=[e,e,e,e];return t}(L),p=n[0],g=n[1],m=n[2],b=n[3]);var N=Lse(r-i)/2;if(v=Fse(N,m),y=Fse(N,b),w=Fse(N,p),x=Fse(N,g),k=_=jse(v,y),C=S=jse(w,x),(_>zse||S>zse)&&(E=r*Ose(l),I=r*Pse(l),M=i*Ose(s),T=i*Pse(s),h<Tse)){var j=function(e,t,n,r,i,o,a,s){var l=n-e,u=r-t,c=a-i,f=s-o,h=f*l-c*u;if(!(h*h<zse))return[e+(h=(c*(t-o)-f*(e-i))/h)*l,t+h*u]}(A,P,M,T,E,I,O,D);if(j){var F=A-j[0],z=P-j[1],B=E-j[0],V=I-j[1],$=1/Pse(Dse((F*B+z*V)/(Nse(F*F+z*z)*Nse(B*B+V*V)))/2),H=Nse(j[0]*j[0]+j[1]*j[1]);k=Fse(_,(r-H)/($+1)),C=Fse(S,(i-H)/($-1))}}}if(R)if(k>zse){var G=Fse(m,k),W=Fse(b,k),U=Bse(M,T,A,P,r,G,f),q=Bse(E,I,O,D,r,W,f);e.moveTo(u+U.cx+U.x0,c+U.cy+U.y0),k<_&&G===W?e.arc(u+U.cx,c+U.cy,k,Rse(U.y0,U.x0),Rse(q.y0,q.x0),!f):(G>0&&e.arc(u+U.cx,c+U.cy,G,Rse(U.y0,U.x0),Rse(U.y1,U.x1),!f),e.arc(u,c,r,Rse(U.cy+U.y1,U.cx+U.x1),Rse(q.cy+q.y1,q.cx+q.x1),!f),W>0&&e.arc(u+q.cx,c+q.cy,W,Rse(q.y1,q.x1),Rse(q.y0,q.x0),!f))}else e.moveTo(u+A,c+P),e.arc(u,c,r,s,l,!f);else e.moveTo(u+A,c+P);if(i>zse&&R)if(C>zse){G=Fse(p,C),U=Bse(O,D,E,I,i,-(W=Fse(g,C)),f),q=Bse(A,P,M,T,i,-G,f);e.lineTo(u+U.cx+U.x0,c+U.cy+U.y0),C<S&&G===W?e.arc(u+U.cx,c+U.cy,C,Rse(U.y0,U.x0),Rse(q.y0,q.x0),!f):(W>0&&e.arc(u+U.cx,c+U.cy,W,Rse(U.y0,U.x0),Rse(U.y1,U.x1),!f),e.arc(u,c,i,Rse(U.cy+U.y1,U.cx+U.x1),Rse(q.cy+q.y1,q.cx+q.x1),f),G>0&&e.arc(u+q.cx,c+q.cy,G,Rse(q.y1,q.x1),Rse(q.y0,q.x0),!f))}else e.lineTo(u+O,c+D),e.arc(u,c,i,l,s,f);else e.lineTo(u+O,c+D)}else e.moveTo(u,c);e.closePath()}}}var $se=function(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0,this.cornerRadius=0},Hse=function(e){function t(t){return e.call(this,t)||this}return O3(t,e),t.prototype.getDefaultShape=function(){return new $se},t.prototype.buildPath=function(e,t){Vse(e,t)},t.prototype.isZeroArea=function(){return this.shape.startAngle===this.shape.endAngle||this.shape.r===this.shape.r0},t}(Oee);Hse.prototype.type="sector";const Gse=Hse;var Wse=function(){this.cx=0,this.cy=0,this.r=0,this.r0=0},Use=function(e){function t(t){return e.call(this,t)||this}return O3(t,e),t.prototype.getDefaultShape=function(){return new Wse},t.prototype.buildPath=function(e,t){var n=t.cx,r=t.cy,i=2*Math.PI;e.moveTo(n+t.r,r),e.arc(n,r,t.r,0,i,!1),e.moveTo(n+t.r0,r),e.arc(n,r,t.r0,0,i,!0)},t}(Oee);Use.prototype.type="ring";const qse=Use;function Xse(e,t,n){var r=t.smooth,i=t.points;if(i&&i.length>=2){if(r){var o=function(e,t,n,r){var i,o,a,s,l=[],u=[],c=[],f=[];if(r){a=[1/0,1/0],s=[-1/0,-1/0];for(var h=0,d=e.length;h<d;h++)Y3(a,a,e[h]),K3(s,s,e[h]);Y3(a,a,r[0]),K3(s,s,r[1])}for(h=0,d=e.length;h<d;h++){var p=e[h];if(n)i=e[h?h-1:d-1],o=e[(h+1)%d];else{if(0===h||h===d-1){l.push(L3(e[h]));continue}i=e[h-1],o=e[h+1]}z3(u,o,i),$3(u,u,t);var g=G3(p,i),m=G3(p,o),b=g+m;0!==b&&(g/=b,m/=b),$3(c,u,-g),$3(f,u,m);var v=j3([],p,c),y=j3([],p,f);r&&(K3(v,v,a),Y3(v,v,s),K3(y,y,a),Y3(y,y,s)),l.push(v),l.push(y)}return n&&l.push(l.shift()),l}(i,r,n,t.smoothConstraint);e.moveTo(i[0][0],i[0][1]);for(var a=i.length,s=0;s<(n?a:a-1);s++){var l=o[2*s],u=o[2*s+1],c=i[(s+1)%a];e.bezierCurveTo(l[0],l[1],u[0],u[1],c[0],c[1])}}else{e.moveTo(i[0][0],i[0][1]);s=1;for(var f=i.length;s<f;s++)e.lineTo(i[s][0],i[s][1])}n&&e.closePath()}}var Yse=function(){this.points=null,this.smooth=0,this.smoothConstraint=null},Kse=function(e){function t(t){return e.call(this,t)||this}return O3(t,e),t.prototype.getDefaultShape=function(){return new Yse},t.prototype.buildPath=function(e,t){Xse(e,t,!0)},t}(Oee);Kse.prototype.type="polygon";const Zse=Kse;var Qse=function(){this.points=null,this.percent=1,this.smooth=0,this.smoothConstraint=null},Jse=function(e){function t(t){return e.call(this,t)||this}return O3(t,e),t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new Qse},t.prototype.buildPath=function(e,t){Xse(e,t,!1)},t}(Oee);Jse.prototype.type="polyline";const ele=Jse;var tle={},nle=function(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.percent=1},rle=function(e){function t(t){return e.call(this,t)||this}return O3(t,e),t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new nle},t.prototype.buildPath=function(e,t){var n,r,i,o;if(this.subPixelOptimize){var a=Vee(tle,t,this.style);n=a.x1,r=a.y1,i=a.x2,o=a.y2}else n=t.x1,r=t.y1,i=t.x2,o=t.y2;var s=t.percent;0!==s&&(e.moveTo(n,r),s<1&&(i=n*(1-s)+i*s,o=r*(1-s)+o*s),e.lineTo(i,o))},t.prototype.pointAt=function(e){var t=this.shape;return[t.x1*(1-e)+t.x2*e,t.y1*(1-e)+t.y2*e]},t}(Oee);rle.prototype.type="line";const ile=rle;var ole=[],ale=function(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.cpx1=0,this.cpy1=0,this.percent=1};function sle(e,t,n){var r=e.cpx2,i=e.cpy2;return null!=r||null!=i?[(n?E4:C4)(e.x1,e.cpx1,e.cpx2,e.x2,t),(n?E4:C4)(e.y1,e.cpy1,e.cpy2,e.y2,t)]:[(n?D4:O4)(e.x1,e.cpx1,e.x2,t),(n?D4:O4)(e.y1,e.cpy1,e.y2,t)]}var lle=function(e){function t(t){return e.call(this,t)||this}return O3(t,e),t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new ale},t.prototype.buildPath=function(e,t){var n=t.x1,r=t.y1,i=t.x2,o=t.y2,a=t.cpx1,s=t.cpy1,l=t.cpx2,u=t.cpy2,c=t.percent;0!==c&&(e.moveTo(n,r),null==l||null==u?(c<1&&(L4(n,a,i,c,ole),a=ole[1],i=ole[2],L4(r,s,o,c,ole),s=ole[1],o=ole[2]),e.quadraticCurveTo(a,s,i,o)):(c<1&&(T4(n,a,l,i,c,ole),a=ole[1],l=ole[2],i=ole[3],T4(r,s,u,o,c,ole),s=ole[1],u=ole[2],o=ole[3]),e.bezierCurveTo(a,s,l,u,i,o)))},t.prototype.pointAt=function(e){return sle(this.shape,e,!1)},t.prototype.tangentAt=function(e){var t=sle(this.shape,e,!0);return H3(t,t)},t}(Oee);lle.prototype.type="bezier-curve";const ule=lle;var cle=function(){this.cx=0,this.cy=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0},fle=function(e){function t(t){return e.call(this,t)||this}return O3(t,e),t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new cle},t.prototype.buildPath=function(e,t){var n=t.cx,r=t.cy,i=Math.max(t.r,0),o=t.startAngle,a=t.endAngle,s=t.clockwise,l=Math.cos(o),u=Math.sin(o);e.moveTo(l*i+n,u*i+r),e.arc(n,r,i,o,a,!s)},t}(Oee);fle.prototype.type="arc";const hle=fle;var dle=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="compound",t}return O3(t,e),t.prototype._updatePathDirty=function(){for(var e=this.shape.paths,t=this.shapeChanged(),n=0;n<e.length;n++)t=t||e[n].shapeChanged();t&&this.dirtyShape()},t.prototype.beforeBrush=function(){this._updatePathDirty();for(var e=this.shape.paths||[],t=this.getGlobalScale(),n=0;n<e.length;n++)e[n].path||e[n].createPathProxy(),e[n].path.setScale(t[0],t[1],e[n].segmentIgnoreThreshold)},t.prototype.buildPath=function(e,t){for(var n=t.paths||[],r=0;r<n.length;r++)n[r].buildPath(e,n[r].shape,!0)},t.prototype.afterBrush=function(){for(var e=this.shape.paths||[],t=0;t<e.length;t++)e[t].pathUpdated()},t.prototype.getBoundingRect=function(){return this._updatePathDirty.call(this),Oee.prototype.getBoundingRect.call(this)},t}(Oee);const ple=dle;var gle=function(){function e(e){this.colorStops=e||[]}return e.prototype.addColorStop=function(e,t){this.colorStops.push({offset:e,color:t})},e}();const mle=gle;const ble=function(e){function t(t,n,r,i,o,a){var s=e.call(this,o)||this;return s.x=null==t?0:t,s.y=null==n?0:n,s.x2=null==r?1:r,s.y2=null==i?0:i,s.type="linear",s.global=a||!1,s}return O3(t,e),t}(mle);var vle=function(e){function t(t,n,r,i,o){var a=e.call(this,i)||this;return a.x=null==t?.5:t,a.y=null==n?.5:n,a.r=null==r?.5:r,a.type="radial",a.global=o||!1,a}return O3(t,e),t}(mle);const yle=vle;var wle=[0,0],xle=[0,0],_le=new O5,Sle=new O5,kle=function(){function e(e,t){this._corners=[],this._axes=[],this._origin=[0,0];for(var n=0;n<4;n++)this._corners[n]=new O5;for(n=0;n<2;n++)this._axes[n]=new O5;e&&this.fromBoundingRect(e,t)}return e.prototype.fromBoundingRect=function(e,t){var n=this._corners,r=this._axes,i=e.x,o=e.y,a=i+e.width,s=o+e.height;if(n[0].set(i,o),n[1].set(a,o),n[2].set(a,s),n[3].set(i,s),t)for(var l=0;l<4;l++)n[l].transform(t);O5.sub(r[0],n[1],n[0]),O5.sub(r[1],n[3],n[0]),r[0].normalize(),r[1].normalize();for(l=0;l<2;l++)this._origin[l]=r[l].dot(n[0])},e.prototype.intersect=function(e,t){var n=!0,r=!t;return _le.set(1/0,1/0),Sle.set(0,0),!this._intersectCheckOneSide(this,e,_le,Sle,r,1)&&(n=!1,r)||!this._intersectCheckOneSide(e,this,_le,Sle,r,-1)&&(n=!1,r)||r||O5.copy(t,n?_le:Sle),n},e.prototype._intersectCheckOneSide=function(e,t,n,r,i,o){for(var a=!0,s=0;s<2;s++){var l=this._axes[s];if(this._getProjMinMaxOnAxis(s,e._corners,wle),this._getProjMinMaxOnAxis(s,t._corners,xle),wle[1]<xle[0]||wle[0]>xle[1]){if(a=!1,i)return a;var u=Math.abs(xle[0]-wle[1]),c=Math.abs(wle[0]-xle[1]);Math.min(u,c)>r.len()&&(u<c?O5.scale(r,l,-u*o):O5.scale(r,l,c*o))}else if(n){u=Math.abs(xle[0]-wle[1]),c=Math.abs(wle[0]-xle[1]);Math.min(u,c)<n.len()&&(u<c?O5.scale(n,l,u*o):O5.scale(n,l,-c*o))}}return a},e.prototype._getProjMinMaxOnAxis=function(e,t,n){for(var r=this._axes[e],i=this._origin,o=t[0].dot(r)+i[e],a=o,s=o,l=1;l<t.length;l++){var u=t[l].dot(r)+i[e];a=Math.min(u,a),s=Math.max(u,s)}n[0]=a,n[1]=s},e}();const Cle=kle;var Ele=[],Ile=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.notClear=!0,t.incremental=!0,t._displayables=[],t._temporaryDisplayables=[],t._cursor=0,t}return O3(t,e),t.prototype.traverse=function(e,t){e.call(t,this)},t.prototype.useStyle=function(){this.style={}},t.prototype.getCursor=function(){return this._cursor},t.prototype.innerAfterBrush=function(){this._cursor=this._displayables.length},t.prototype.clearDisplaybles=function(){this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.markRedraw(),this.notClear=!1},t.prototype.clearTemporalDisplayables=function(){this._temporaryDisplayables=[]},t.prototype.addDisplayable=function(e,t){t?this._temporaryDisplayables.push(e):this._displayables.push(e),this.markRedraw()},t.prototype.addDisplayables=function(e,t){t=t||!1;for(var n=0;n<e.length;n++)this.addDisplayable(e[n],t)},t.prototype.getDisplayables=function(){return this._displayables},t.prototype.getTemporalDisplayables=function(){return this._temporaryDisplayables},t.prototype.eachPendingDisplayable=function(e){for(var t=this._cursor;t<this._displayables.length;t++)e&&e(this._displayables[t]);for(t=0;t<this._temporaryDisplayables.length;t++)e&&e(this._temporaryDisplayables[t])},t.prototype.update=function(){this.updateTransform();for(var e=this._cursor;e<this._displayables.length;e++){(t=this._displayables[e]).parent=this,t.update(),t.parent=null}for(e=0;e<this._temporaryDisplayables.length;e++){var t;(t=this._temporaryDisplayables[e]).parent=this,t.update(),t.parent=null}},t.prototype.getBoundingRect=function(){if(!this._rect){for(var e=new $5(1/0,1/0,-1/0,-1/0),t=0;t<this._displayables.length;t++){var n=this._displayables[t],r=n.getBoundingRect().clone();n.needLocalTransform()&&r.applyTransform(n.getLocalTransform(Ele)),e.union(r)}this._rect=e}return this._rect},t.prototype.contain=function(e,t){var n=this.transformCoordToLocal(e,t);if(this.getBoundingRect().contain(n[0],n[1]))for(var r=0;r<this._displayables.length;r++){if(this._displayables[r].contain(e,t))return!0}return!1},t}(A7);const Mle=Ile;var Tle=Math.max,Ale=Math.min,Ple={};function Ole(e){return Oee.extend(e)}var Dle=function(e,t){var n=wse(e,t);return function(e){function t(t){var r=e.call(this,t)||this;return r.applyTransform=n.applyTransform,r.buildPath=n.buildPath,r}return O3(t,e),t}(vse)};function Rle(e,t){return Dle(e,t)}function Lle(e,t){Ple[e]=t}function Nle(e){if(Ple.hasOwnProperty(e))return Ple[e]}function jle(e,t,n,r){var i=xse(e,t);return n&&("center"===r&&(n=zle(n,i.getBoundingRect())),Vle(i,n)),i}function Fle(e,t,n){var r=new zee({style:{image:e,x:t.x,y:t.y,width:t.width,height:t.height},onload:function(e){if("center"===n){var i={width:e.width,height:e.height};r.setStyle(zle(t,i))}}});return r}function zle(e,t){var n,r=t.width/t.height,i=e.height*r;return n=i<=e.width?e.height:(i=e.width)/r,{x:e.x+e.width/2-i/2,y:e.y+e.height/2-n/2,width:i,height:n}}var Ble=function(e,t){for(var n=[],r=e.length,i=0;i<r;i++){var o=e[i];n.push(o.getUpdatedPathProxy(!0))}var a=new Oee(t);return a.createPathProxy(),a.buildPath=function(e){if(yse(e)){e.appendPath(n);var t=e.getContext();t&&e.rebuildPath(t,1)}},a};function Vle(e,t){if(e.applyTransform){var n=e.getBoundingRect().calculateTransform(t);e.applyTransform(n)}}function $le(e,t){return Vee(e,e,{lineWidth:t}),e}function Hle(e){return $ee(e.shape,e.shape,e.style),e}var Gle=Hee;function Wle(e,t){for(var n=k5([]);e&&e!==t;)E5(n,e.getLocalTransform(),n),e=e.parent;return n}function Ule(e,t,n){return t&&!U2(t)&&(t=E8.getLocalTransform(t)),n&&(t=A5([],t)),X3([],e,t)}function qle(e,t,n){var r=0===t[4]||0===t[5]||0===t[0]?1:Math.abs(2*t[4]/t[0]),i=0===t[4]||0===t[5]||0===t[2]?1:Math.abs(2*t[4]/t[2]),o=["left"===e?-r:"right"===e?r:0,"top"===e?-i:"bottom"===e?i:0];return o=Ule(o,t,n),Math.abs(o[0])>Math.abs(o[1])?o[0]>0?"right":"left":o[1]>0?"bottom":"top"}function Xle(e){return!e.isGroup}function Yle(e,t,n){if(e&&t){var r=function(e){var t={};return e.traverse((function(e){Xle(e)&&e.anid&&(t[e.anid]=e)})),t}(e);t.traverse((function(e){if(Xle(e)&&e.anid){var t=r[e.anid];if(t){var o=i(e);e.attr(i(t)),dne(e,o,n,cte(e).dataIndex)}}}))}function i(e){var t={x:e.x,y:e.y,rotation:e.rotation};return function(e){return null!=e.shape}(e)&&(t.shape=$2({},e.shape)),t}}function Kle(e,t){return X2(e,(function(e){var n=e[0];n=Tle(n,t.x),n=Ale(n,t.x+t.width);var r=e[1];return r=Tle(r,t.y),[n,r=Ale(r,t.y+t.height)]}))}function Zle(e,t){var n=Tle(e.x,t.x),r=Ale(e.x+e.width,t.x+t.width),i=Tle(e.y,t.y),o=Ale(e.y+e.height,t.y+t.height);if(r>=n&&o>=i)return{x:n,y:i,width:r-n,height:o-i}}function Qle(e,t,n){var r=$2({rectHover:!0},t),i=r.style={strokeNoScale:!0};if(n=n||{x:-1,y:-1,width:2,height:2},e)return 0===e.indexOf("image://")?(i.image=e.slice(8),H2(i,n),new zee(r)):jle(e.replace("path://",""),r,n,"center")}function Jle(e,t,n,r,i){for(var o=0,a=i[i.length-1];o<i.length;o++){var s=i[o];if(eue(e,t,n,r,s[0],s[1],a[0],a[1]))return!0;a=s}}function eue(e,t,n,r,i,o,a,s){var l,u=n-e,c=r-t,f=a-i,h=s-o,d=tue(f,h,u,c);if((l=d)<=1e-6&&l>=-1e-6)return!1;var p=e-i,g=t-o,m=tue(p,g,u,c)/d;if(m<0||m>1)return!1;var b=tue(p,g,f,h)/d;return!(b<0||b>1)}function tue(e,t,n,r){return e*r-n*t}function nue(e){var t=e.itemTooltipOption,n=e.componentModel,r=e.itemName,i=n3(t)?{formatter:t}:t,o=n.mainType,a=n.componentIndex,s={componentType:o,name:r,$vars:["name"]};s[o+"Index"]=a;var l=e.formatterParamsExtra;l&&q2(Z2(l),(function(e){M3(s,e)||(s[e]=l[e],s.$vars.push(e))}));var u=cte(e.el);u.componentMainType=o,u.componentIndex=a,u.tooltipConfig={name:r,option:H2({content:r,formatterParams:s},i)}}function rue(e,t){var n;e.isGroup&&(n=t(e)),n||e.traverse(t)}function iue(e,t){if(e)if(e3(e))for(var n=0;n<e.length;n++)rue(e[n],t);else rue(e,t)}Lle("circle",Cse),Lle("ellipse",Mse),Lle("sector",Gse),Lle("ring",qse),Lle("polygon",Zse),Lle("polyline",ele),Lle("rect",qee),Lle("line",ile),Lle("bezierCurve",ule),Lle("arc",hle);var oue=j9(),aue=nse(),sue=function(){function e(){this.group=new X8,this.uid=Zne("viewChart"),this.renderTask=Woe({plan:cue,reset:fue}),this.renderTask.context={view:this}}return e.prototype.init=function(e,t){},e.prototype.render=function(e,t,n,r){0},e.prototype.highlight=function(e,t,n,r){var i=e.getData(r&&r.dataType);i&&uue(i,r,"emphasis")},e.prototype.downplay=function(e,t,n,r){var i=e.getData(r&&r.dataType);i&&uue(i,r,"normal")},e.prototype.remove=function(e,t){this.group.removeAll()},e.prototype.dispose=function(e,t){},e.prototype.updateView=function(e,t,n,r){this.render(e,t,n,r)},e.prototype.updateLayout=function(e,t,n,r){this.render(e,t,n,r)},e.prototype.updateVisual=function(e,t,n,r){this.render(e,t,n,r)},e.prototype.eachRendered=function(e){iue(this.group,e)},e.markUpdateMethod=function(e,t){oue(e).updateMethod=t},e.protoInitialize=void(e.prototype.type="chart"),e}();function lue(e,t,n){e&&sne(e)&&("emphasis"===t?Vte:$te)(e,n)}function uue(e,t,n){var r=N9(e,t),i=t&&null!=t.highlightKey?function(e){var t=dte[e];return null==t&&hte<=32&&(t=dte[e]=hte++),t}(t.highlightKey):null;null!=r?q2(C9(r),(function(t){lue(e.getItemGraphicEl(t),n,i)})):e.eachItemGraphicEl((function(e){lue(e,n,i)}))}function cue(e){return aue(e.model)}function fue(e){var t=e.model,n=e.ecModel,r=e.api,i=e.payload,o=t.pipelineContext.progressiveRender,a=e.view,s=i&&oue(i).updateMethod,l=o?"incrementalPrepareRender":s&&a[s]?s:"render";return"render"!==l&&a[l](t,n,r,i),hue[l]}K9(sue),t7(sue);var hue={incrementalPrepareRender:{progress:function(e,t){t.view.incrementalRender(e,t.model,t.ecModel,t.api,t.payload)}},render:{forceFirstProgress:!0,progress:function(e,t){t.view.render(t.model,t.ecModel,t.api,t.payload)}}};const due=sue;var pue="\0__throttleOriginMethod",gue="\0__throttleRate",mue="\0__throttleType";function bue(e,t,n){var r,i,o,a,s,l=0,u=0,c=null;function f(){u=(new Date).getTime(),c=null,e.apply(o,a||[])}t=t||0;var h=function(){for(var e=[],h=0;h<arguments.length;h++)e[h]=arguments[h];r=(new Date).getTime(),o=this,a=e;var d=s||t,p=s||n;s=null,i=r-(p?l:u)-d,clearTimeout(c),p?c=setTimeout(f,d):i>=0?f():c=setTimeout(f,-i),l=r};return h.clear=function(){c&&(clearTimeout(c),c=null)},h.debounceNextCall=function(e){s=e},h}function vue(e,t,n,r){var i=e[t];if(i){var o=i[pue]||i,a=i[mue];if(i[gue]!==n||a!==r){if(null==n||!r)return e[t]=o;(i=e[t]=bue(o,n,"debounce"===r))[pue]=o,i[mue]=r,i[gue]=n}return i}}function yue(e,t){var n=e[t];n&&n[pue]&&(n.clear&&n.clear(),e[t]=n[pue])}var wue=j9(),xue={itemStyle:n7(Wne,!0),lineStyle:n7($ne,!0)},_ue={lineStyle:"stroke",itemStyle:"fill"};function Sue(e,t){var n=e.visualStyleMapper||xue[t];return n||(console.warn("Unknown style type '"+t+"'."),xue.itemStyle)}function kue(e,t){var n=e.visualDrawType||_ue[t];return n||(console.warn("Unknown style type '"+t+"'."),"fill")}var Cue={createOnAllSeries:!0,performRawSeries:!0,reset:function(e,t){var n=e.getData(),r=e.visualStyleAccessPath||"itemStyle",i=e.getModel(r),o=Sue(e,r)(i),a=i.getShallow("decal");a&&(n.setVisual("decal",a),a.dirty=!0);var s=kue(e,r),l=o[s],u=t3(l)?l:null,c="auto"===o.fill||"auto"===o.stroke;if(!o[s]||u||c){var f=e.getColorFromPalette(e.name,null,t.getSeriesCount());o[s]||(o[s]=f,n.setVisual("colorFromPalette",!0)),o.fill="auto"===o.fill||t3(o.fill)?f:o.fill,o.stroke="auto"===o.stroke||t3(o.stroke)?f:o.stroke}if(n.setVisual("style",o),n.setVisual("drawType",s),!t.isSeriesFiltered(e)&&u)return n.setVisual("colorFromPalette",!1),{dataEach:function(t,n){var r=e.getDataParams(n),i=$2({},o);i[s]=u(r),t.setItemVisual(n,"style",i)}}}},Eue=new Yne,Iue={createOnAllSeries:!0,performRawSeries:!0,reset:function(e,t){if(!e.ignoreStyleOnData&&!t.isSeriesFiltered(e)){var n=e.getData(),r=e.visualStyleAccessPath||"itemStyle",i=Sue(e,r),o=n.getVisual("drawType");return{dataEach:n.hasItemOption?function(e,t){var n=e.getRawDataItem(t);if(n&&n[r]){Eue.option=n[r];var a=i(Eue);$2(e.ensureUniqueItemVisual(t,"style"),a),Eue.option.decal&&(e.setItemVisual(t,"decal",Eue.option.decal),Eue.option.decal.dirty=!0),o in a&&e.setItemVisual(t,"colorFromPalette",!1)}}:null}}}},Mue={performRawSeries:!0,overallReset:function(e){var t=k3();e.eachSeries((function(e){var n=e.getColorBy();if(!e.isColorBySeries()){var r=e.type+"-"+n,i=t.get(r);i||(i={},t.set(r,i)),wue(e).scope=i}})),e.eachSeries((function(t){if(!t.isColorBySeries()&&!e.isSeriesFiltered(t)){var n=t.getRawData(),r={},i=t.getData(),o=wue(t).scope,a=t.visualStyleAccessPath||"itemStyle",s=kue(t,a);i.each((function(e){var t=i.getRawIndex(e);r[t]=e})),n.each((function(e){var a=r[e];if(i.getItemVisual(a,"colorFromPalette")){var l=i.ensureUniqueItemVisual(a,"style"),u=n.getName(e)||e+"",c=n.count();l[s]=t.getColorFromPalette(u,o,c)}}))}}))}},Tue=Math.PI;var Aue=function(){function e(e,t,n,r){this._stageTaskMap=k3(),this.ecInstance=e,this.api=t,n=this._dataProcessorHandlers=n.slice(),r=this._visualHandlers=r.slice(),this._allHandlers=n.concat(r)}return e.prototype.restoreData=function(e,t){e.restoreData(t),this._stageTaskMap.each((function(e){var t=e.overallTask;t&&t.dirty()}))},e.prototype.getPerformArgs=function(e,t){if(e.__pipeline){var n=this._pipelineMap.get(e.__pipeline.id),r=n.context,i=!t&&n.progressiveEnabled&&(!r||r.progressiveRender)&&e.__idxInPipeline>n.blockIndex?n.step:null,o=r&&r.modDataCount;return{step:i,modBy:null!=o?Math.ceil(o/i):null,modDataCount:o}}},e.prototype.getPipeline=function(e){return this._pipelineMap.get(e)},e.prototype.updateStreamModes=function(e,t){var n=this._pipelineMap.get(e.uid),r=e.getData().count(),i=n.progressiveEnabled&&t.incrementalPrepareRender&&r>=n.threshold,o=e.get("large")&&r>=e.get("largeThreshold"),a="mod"===e.get("progressiveChunkMode")?r:null;e.pipelineContext=n.context={progressiveRender:i,modDataCount:a,large:o}},e.prototype.restorePipelines=function(e){var t=this,n=t._pipelineMap=k3();e.eachSeries((function(e){var r=e.getProgressive(),i=e.uid;n.set(i,{id:i,head:null,tail:null,threshold:e.getProgressiveThreshold(),progressiveEnabled:r&&!(e.preventIncremental&&e.preventIncremental()),blockIndex:-1,step:Math.round(r||700),count:0}),t._pipe(e,e.dataTask)}))},e.prototype.prepareStageTasks=function(){var e=this._stageTaskMap,t=this.api.getModel(),n=this.api;q2(this._allHandlers,(function(r){var i=e.get(r.uid)||e.set(r.uid,{});m3(!(r.reset&&r.overallReset),""),r.reset&&this._createSeriesStageTask(r,i,t,n),r.overallReset&&this._createOverallStageTask(r,i,t,n)}),this)},e.prototype.prepareView=function(e,t,n,r){var i=e.renderTask,o=i.context;o.model=t,o.ecModel=n,o.api=r,i.__block=!e.incrementalPrepareRender,this._pipe(t,i)},e.prototype.performDataProcessorTasks=function(e,t){this._performStageTasks(this._dataProcessorHandlers,e,t,{block:!0})},e.prototype.performVisualTasks=function(e,t,n){this._performStageTasks(this._visualHandlers,e,t,n)},e.prototype._performStageTasks=function(e,t,n,r){r=r||{};var i=!1,o=this;function a(e,t){return e.setDirty&&(!e.dirtyMap||e.dirtyMap.get(t.__pipeline.id))}q2(e,(function(e,s){if(!r.visualType||r.visualType===e.visualType){var l=o._stageTaskMap.get(e.uid),u=l.seriesTaskMap,c=l.overallTask;if(c){var f,h=c.agentStubMap;h.each((function(e){a(r,e)&&(e.dirty(),f=!0)})),f&&c.dirty(),o.updatePayload(c,n);var d=o.getPerformArgs(c,r.block);h.each((function(e){e.perform(d)})),c.perform(d)&&(i=!0)}else u&&u.each((function(s,l){a(r,s)&&s.dirty();var u=o.getPerformArgs(s,r.block);u.skip=!e.performRawSeries&&t.isSeriesFiltered(s.context.model),o.updatePayload(s,n),s.perform(u)&&(i=!0)}))}})),this.unfinished=i||this.unfinished},e.prototype.performSeriesTasks=function(e){var t;e.eachSeries((function(e){t=e.dataTask.perform()||t})),this.unfinished=t||this.unfinished},e.prototype.plan=function(){this._pipelineMap.each((function(e){var t=e.tail;do{if(t.__block){e.blockIndex=t.__idxInPipeline;break}t=t.getUpstream()}while(t)}))},e.prototype.updatePayload=function(e,t){"remain"!==t&&(e.context.payload=t)},e.prototype._createSeriesStageTask=function(e,t,n,r){var i=this,o=t.seriesTaskMap,a=t.seriesTaskMap=k3(),s=e.seriesType,l=e.getTargetSeries;function u(t){var s=t.uid,l=a.set(s,o&&o.get(s)||Woe({plan:Lue,reset:Nue,count:zue}));l.context={model:t,ecModel:n,api:r,useClearVisual:e.isVisual&&!e.isLayout,plan:e.plan,reset:e.reset,scheduler:i},i._pipe(t,l)}e.createOnAllSeries?n.eachRawSeries(u):s?n.eachRawSeriesByType(s,u):l&&l(n,r).each(u)},e.prototype._createOverallStageTask=function(e,t,n,r){var i=this,o=t.overallTask=t.overallTask||Woe({reset:Pue});o.context={ecModel:n,api:r,overallReset:e.overallReset,scheduler:i};var a=o.agentStubMap,s=o.agentStubMap=k3(),l=e.seriesType,u=e.getTargetSeries,c=!0,f=!1;function h(e){var t=e.uid,n=s.set(t,a&&a.get(t)||(f=!0,Woe({reset:Oue,onDirty:Rue})));n.context={model:e,overallProgress:c},n.agent=o,n.__block=c,i._pipe(e,n)}m3(!e.createOnAllSeries,""),l?n.eachRawSeriesByType(l,h):u?u(n,r).each(h):(c=!1,q2(n.getSeries(),h)),f&&o.dirty()},e.prototype._pipe=function(e,t){var n=e.uid,r=this._pipelineMap.get(n);!r.head&&(r.head=t),r.tail&&r.tail.pipe(t),r.tail=t,t.__idxInPipeline=r.count++,t.__pipeline=r},e.wrapStageHandler=function(e,t){return t3(e)&&(e={overallReset:e,seriesType:Bue(e)}),e.uid=Zne("stageHandler"),t&&(e.visualType=t),e},e}();function Pue(e){e.overallReset(e.ecModel,e.api,e.payload)}function Oue(e){return e.overallProgress&&Due}function Due(){this.agent.dirty(),this.getDownstream().dirty()}function Rue(){this.agent&&this.agent.dirty()}function Lue(e){return e.plan?e.plan(e.model,e.ecModel,e.api,e.payload):null}function Nue(e){e.useClearVisual&&e.data.clearAllVisual();var t=e.resetDefines=C9(e.reset(e.model,e.ecModel,e.api,e.payload));return t.length>1?X2(t,(function(e,t){return Fue(t)})):jue}var jue=Fue(0);function Fue(e){return function(t,n){var r=n.data,i=n.resetDefines[e];if(i&&i.dataEach)for(var o=t.start;o<t.end;o++)i.dataEach(r,o);else i&&i.progress&&i.progress(t,r)}}function zue(e){return e.data.count()}function Bue(e){Vue=null;try{e($ue,Hue)}catch(e){}return Vue}var Vue,$ue={},Hue={};function Gue(e,t){for(var n in t.prototype)e[n]=T3}Gue($ue,Bie),Gue(Hue,$ie),$ue.eachSeriesByType=$ue.eachRawSeriesByType=function(e){Vue=e},$ue.eachComponent=function(e){"series"===e.mainType&&e.subType&&(Vue=e.subType)};const Wue=Aue;var Uue=["#37A2DA","#32C5E9","#67E0E3","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#E062AE","#E690D1","#e7bcf3","#9d96f5","#8378EA","#96BFFF"];const que={color:Uue,colorLayer:[["#37A2DA","#ffd85c","#fd7b5f"],["#37A2DA","#67E0E3","#FFDB5C","#ff9f7f","#E062AE","#9d96f5"],["#37A2DA","#32C5E9","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#e7bcf3","#8378EA","#96BFFF"],Uue]};var Xue="#B9B8CE",Yue="#100C2A",Kue=function(){return{axisLine:{lineStyle:{color:Xue}},splitLine:{lineStyle:{color:"#484753"}},splitArea:{areaStyle:{color:["rgba(255,255,255,0.02)","rgba(255,255,255,0.05)"]}},minorSplitLine:{lineStyle:{color:"#20203B"}}}},Zue=["#4992ff","#7cffb2","#fddd60","#ff6e76","#58d9f9","#05c091","#ff8a45","#8d48e3","#dd79ff"],Que={darkMode:!0,color:Zue,backgroundColor:Yue,axisPointer:{lineStyle:{color:"#817f91"},crossStyle:{color:"#817f91"},label:{color:"#fff"}},legend:{textStyle:{color:Xue}},textStyle:{color:Xue},title:{textStyle:{color:"#EEF1FA"},subtextStyle:{color:"#B9B8CE"}},toolbox:{iconStyle:{borderColor:Xue}},dataZoom:{borderColor:"#71708A",textStyle:{color:Xue},brushStyle:{color:"rgba(135,163,206,0.3)"},handleStyle:{color:"#353450",borderColor:"#C5CBE3"},moveHandleStyle:{color:"#B0B6C3",opacity:.3},fillerColor:"rgba(135,163,206,0.2)",emphasis:{handleStyle:{borderColor:"#91B7F2",color:"#4D587D"},moveHandleStyle:{color:"#636D9A",opacity:.7}},dataBackground:{lineStyle:{color:"#71708A",width:1},areaStyle:{color:"#71708A"}},selectedDataBackground:{lineStyle:{color:"#87A3CE"},areaStyle:{color:"#87A3CE"}}},visualMap:{textStyle:{color:Xue}},timeline:{lineStyle:{color:Xue},label:{color:Xue},controlStyle:{color:Xue,borderColor:Xue}},calendar:{itemStyle:{color:Yue},dayLabel:{color:Xue},monthLabel:{color:Xue},yearLabel:{color:Xue}},timeAxis:Kue(),logAxis:Kue(),valueAxis:Kue(),categoryAxis:Kue(),line:{symbol:"circle"},graph:{color:Zue},gauge:{title:{color:Xue},axisLine:{lineStyle:{color:[[1,"rgba(207,212,219,0.2)"]]}},axisLabel:{color:Xue},detail:{color:"#EEF1FA"}},candlestick:{itemStyle:{color:"#f64e56",color0:"#54ea92",borderColor:"#f64e56",borderColor0:"#54ea92"}}};Que.categoryAxis.splitLine.show=!1;const Jue=Que;var ece=function(){function e(){}return e.prototype.normalizeQuery=function(e){var t={},n={},r={};if(n3(e)){var i=Y9(e);t.mainType=i.main||null,t.subType=i.sub||null}else{var o=["Index","Name","Id"],a={name:1,dataIndex:1,dataType:1};q2(e,(function(e,i){for(var s=!1,l=0;l<o.length;l++){var u=o[l],c=i.lastIndexOf(u);if(c>0&&c===i.length-u.length){var f=i.slice(0,c);"data"!==f&&(t.mainType=f,t[u.toLowerCase()]=e,s=!0)}}a.hasOwnProperty(i)&&(n[i]=e,s=!0),s||(r[i]=e)}))}return{cptQuery:t,dataQuery:n,otherQuery:r}},e.prototype.filter=function(e,t){var n=this.eventInfo;if(!n)return!0;var r=n.targetEl,i=n.packedEvent,o=n.model,a=n.view;if(!o||!a)return!0;var s=t.cptQuery,l=t.dataQuery;return u(s,o,"mainType")&&u(s,o,"subType")&&u(s,o,"index","componentIndex")&&u(s,o,"name")&&u(s,o,"id")&&u(l,i,"name")&&u(l,i,"dataIndex")&&u(l,i,"dataType")&&(!a.filterForExposedEvent||a.filterForExposedEvent(e,t.otherQuery,r,i));function u(e,t,n,r){return null==e[n]||t[r||n]===e[n]}},e.prototype.afterTrigger=function(){this.eventInfo=null},e}(),tce=["symbol","symbolSize","symbolRotate","symbolOffset"],nce=tce.concat(["symbolKeepAspect"]),rce={createOnAllSeries:!0,performRawSeries:!0,reset:function(e,t){var n=e.getData();if(e.legendIcon&&n.setVisual("legendIcon",e.legendIcon),e.hasSymbolVisual){for(var r={},i={},o=!1,a=0;a<tce.length;a++){var s=tce[a],l=e.get(s);t3(l)?(o=!0,i[s]=l):r[s]=l}if(r.symbol=r.symbol||e.defaultSymbol,n.setVisual($2({legendIcon:e.legendIcon||r.symbol,symbolKeepAspect:e.get("symbolKeepAspect")},r)),!t.isSeriesFiltered(e)){var u=Z2(i);return{dataEach:o?function(t,n){for(var r=e.getRawValue(n),o=e.getDataParams(n),a=0;a<u.length;a++){var s=u[a];t.setItemVisual(n,s,i[s](r,o))}}:null}}}}},ice={createOnAllSeries:!0,performRawSeries:!0,reset:function(e,t){if(e.hasSymbolVisual&&!t.isSeriesFiltered(e))return{dataEach:e.getData().hasItemOption?function(e,t){for(var n=e.getItemModel(t),r=0;r<nce.length;r++){var i=nce[r],o=n.getShallow(i,!0);null!=o&&e.setItemVisual(t,i,o)}}:null}}};function oce(e,t,n){switch(n){case"color":return e.getItemVisual(t,"style")[e.getVisual("drawType")];case"opacity":return e.getItemVisual(t,"style").opacity;case"symbol":case"symbolSize":case"liftZ":return e.getItemVisual(t,n)}}function ace(e,t){switch(t){case"color":return e.getVisual("style")[e.getVisual("drawType")];case"opacity":return e.getVisual("style").opacity;case"symbol":case"symbolSize":case"liftZ":return e.getVisual(t)}}function sce(e,t,n,r){switch(n){case"color":e.ensureUniqueItemVisual(t,"style")[e.getVisual("drawType")]=r,e.setItemVisual(t,"colorFromPalette",!1);break;case"opacity":e.ensureUniqueItemVisual(t,"style").opacity=r;break;case"symbol":case"symbolSize":case"liftZ":e.setItemVisual(t,n,r)}}function lce(e,t){function n(t,n){var r=[];return t.eachComponent({mainType:"series",subType:e,query:n},(function(e){r.push(e.seriesIndex)})),r}q2([[e+"ToggleSelect","toggleSelect"],[e+"Select","select"],[e+"UnSelect","unselect"]],(function(e){t(e[0],(function(t,r,i){t=$2({},t),i.dispatchAction($2(t,{type:e[1],seriesIndex:n(r,t)}))}))}))}function uce(e,t,n,r,i){var o=e+t;n.isSilent(o)||r.eachComponent({mainType:"series",subType:"pie"},(function(e){for(var t=e.seriesIndex,r=e.option.selectedMap,a=i.selected,s=0;s<a.length;s++)if(a[s].seriesIndex===t){var l=e.getData(),u=N9(l,i.fromActionPayload);n.trigger(o,{type:o,seriesId:e.id,name:e3(u)?l.getName(u[0]):l.getName(u),selected:n3(r)?r:$2({},r)})}}))}function cce(e,t,n){for(var r;e&&(!t(e)||(r=e,!n));)e=e.__hostTarget||e.parent;return r}var fce=Math.round(9*Math.random()),hce="function"==typeof Object.defineProperty,dce=function(){function e(){this._id="__ec_inner_"+fce++}return e.prototype.get=function(e){return this._guard(e)[this._id]},e.prototype.set=function(e,t){var n=this._guard(e);return hce?Object.defineProperty(n,this._id,{value:t,enumerable:!1,configurable:!0}):n[this._id]=t,this},e.prototype.delete=function(e){return!!this.has(e)&&(delete this._guard(e)[this._id],!0)},e.prototype.has=function(e){return!!this._guard(e)[this._id]},e.prototype._guard=function(e){if(e!==Object(e))throw TypeError("Value of WeakMap is not a non-null object.");return e},e}();const pce=dce;var gce=Oee.extend({type:"triangle",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(e,t){var n=t.cx,r=t.cy,i=t.width/2,o=t.height/2;e.moveTo(n,r-o),e.lineTo(n+i,r+o),e.lineTo(n-i,r+o),e.closePath()}}),mce=Oee.extend({type:"diamond",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(e,t){var n=t.cx,r=t.cy,i=t.width/2,o=t.height/2;e.moveTo(n,r-o),e.lineTo(n+i,r),e.lineTo(n,r+o),e.lineTo(n-i,r),e.closePath()}}),bce=Oee.extend({type:"pin",shape:{x:0,y:0,width:0,height:0},buildPath:function(e,t){var n=t.x,r=t.y,i=t.width/5*3,o=Math.max(i,t.height),a=i/2,s=a*a/(o-a),l=r-o+a+s,u=Math.asin(s/a),c=Math.cos(u)*a,f=Math.sin(u),h=Math.cos(u),d=.6*a,p=.7*a;e.moveTo(n-c,l+s),e.arc(n,l,a,Math.PI-u,2*Math.PI+u),e.bezierCurveTo(n+c-f*d,l+s+h*d,n,r-p,n,r),e.bezierCurveTo(n,r-p,n-c+f*d,l+s+h*d,n-c,l+s),e.closePath()}}),vce=Oee.extend({type:"arrow",shape:{x:0,y:0,width:0,height:0},buildPath:function(e,t){var n=t.height,r=t.width,i=t.x,o=t.y,a=r/3*2;e.moveTo(i,o),e.lineTo(i+a,o+n),e.lineTo(i,o+n/4*3),e.lineTo(i-a,o+n),e.lineTo(i,o),e.closePath()}}),yce={line:function(e,t,n,r,i){i.x1=e,i.y1=t+r/2,i.x2=e+n,i.y2=t+r/2},rect:function(e,t,n,r,i){i.x=e,i.y=t,i.width=n,i.height=r},roundRect:function(e,t,n,r,i){i.x=e,i.y=t,i.width=n,i.height=r,i.r=Math.min(n,r)/4},square:function(e,t,n,r,i){var o=Math.min(n,r);i.x=e,i.y=t,i.width=o,i.height=o},circle:function(e,t,n,r,i){i.cx=e+n/2,i.cy=t+r/2,i.r=Math.min(n,r)/2},diamond:function(e,t,n,r,i){i.cx=e+n/2,i.cy=t+r/2,i.width=n,i.height=r},pin:function(e,t,n,r,i){i.x=e+n/2,i.y=t+r/2,i.width=n,i.height=r},arrow:function(e,t,n,r,i){i.x=e+n/2,i.y=t+r/2,i.width=n,i.height=r},triangle:function(e,t,n,r,i){i.cx=e+n/2,i.cy=t+r/2,i.width=n,i.height=r}},wce={};q2({line:ile,rect:qee,roundRect:qee,square:qee,circle:Cse,diamond:mce,pin:bce,arrow:vce,triangle:gce},(function(e,t){wce[t]=new e}));var xce=Oee.extend({type:"symbol",shape:{symbolType:"",x:0,y:0,width:0,height:0},calculateTextPosition:function(e,t,n){var r=L8(e,t,n),i=this.shape;return i&&"pin"===i.symbolType&&"inside"===t.position&&(r.y=n.y+.4*n.height),r},buildPath:function(e,t,n){var r=t.symbolType;if("none"!==r){var i=wce[r];i||(i=wce[r="rect"]),yce[r](t.x,t.y,t.width,t.height,i.shape),i.buildPath(e,i.shape,n)}}});function _ce(e,t){if("image"!==this.type){var n=this.style;this.__isEmptyBrush?(n.stroke=e,n.fill=t||"#fff",n.lineWidth=2):"line"===this.shape.symbolType?n.stroke=e:n.fill=e,this.markRedraw()}}function Sce(e,t,n,r,i,o,a){var s,l=0===e.indexOf("empty");return l&&(e=e.substr(5,1).toLowerCase()+e.substr(6)),(s=0===e.indexOf("image://")?Fle(e.slice(8),new $5(t,n,r,i),a?"center":"cover"):0===e.indexOf("path://")?jle(e.slice(7),{},new $5(t,n,r,i),a?"center":"cover"):new xce({shape:{symbolType:e,x:t,y:n,width:r,height:i}})).__isEmptyBrush=l,s.setColor=_ce,o&&s.setColor(o),s}function kce(e){return e3(e)||(e=[+e,+e]),[e[0]||0,e[1]||0]}function Cce(e,t){if(null!=e)return e3(e)||(e=[e,e]),[t9(e[0],t[0])||0,t9(h3(e[1],e[0]),t[1])||0]}function Ece(e){return isFinite(e)}function Ice(e,t,n){for(var r="radial"===t.type?function(e,t,n){var r=n.width,i=n.height,o=Math.min(r,i),a=null==t.x?.5:t.x,s=null==t.y?.5:t.y,l=null==t.r?.5:t.r;return t.global||(a=a*r+n.x,s=s*i+n.y,l*=o),a=Ece(a)?a:.5,s=Ece(s)?s:.5,l=l>=0&&Ece(l)?l:.5,e.createRadialGradient(a,s,0,a,s,l)}(e,t,n):function(e,t,n){var r=null==t.x?0:t.x,i=null==t.x2?1:t.x2,o=null==t.y?0:t.y,a=null==t.y2?0:t.y2;return t.global||(r=r*n.width+n.x,i=i*n.width+n.x,o=o*n.height+n.y,a=a*n.height+n.y),r=Ece(r)?r:0,i=Ece(i)?i:1,o=Ece(o)?o:0,a=Ece(a)?a:0,e.createLinearGradient(r,o,i,a)}(e,t,n),i=t.colorStops,o=0;o<i.length;o++)r.addColorStop(i[o].offset,i[o].color);return r}function Mce(e){return parseInt(e,10)}function Tce(e,t,n){var r=["width","height"][t],i=["clientWidth","clientHeight"][t],o=["paddingLeft","paddingTop"][t],a=["paddingRight","paddingBottom"][t];if(null!=n[r]&&"auto"!==n[r])return parseFloat(n[r]);var s=document.defaultView.getComputedStyle(e);return(e[i]||Mce(s[r])||Mce(e.style[r]))-(Mce(s[o])||0)-(Mce(s[a])||0)|0}function Ace(e){var t,n,r=e.style,i=r.lineDash&&r.lineWidth>0&&(t=r.lineDash,n=r.lineWidth,t&&"solid"!==t&&n>0?"dashed"===t?[4*n,2*n]:"dotted"===t?[n]:i3(t)?[t]:e3(t)?t:null:null),o=r.lineDashOffset;if(i){var a=r.strokeNoScale&&e.getLineScale?e.getLineScale():1;a&&1!==a&&(i=X2(i,(function(e){return e/a})),o/=a)}return[i,o]}var Pce=new fee(!0);function Oce(e){var t=e.stroke;return!(null==t||"none"===t||!(e.lineWidth>0))}function Dce(e){return"string"==typeof e&&"none"!==e}function Rce(e){var t=e.fill;return null!=t&&"none"!==t}function Lce(e,t){if(null!=t.fillOpacity&&1!==t.fillOpacity){var n=e.globalAlpha;e.globalAlpha=t.fillOpacity*t.opacity,e.fill(),e.globalAlpha=n}else e.fill()}function Nce(e,t){if(null!=t.strokeOpacity&&1!==t.strokeOpacity){var n=e.globalAlpha;e.globalAlpha=t.strokeOpacity*t.opacity,e.stroke(),e.globalAlpha=n}else e.stroke()}function jce(e,t,n){var r=s7(t.image,t.__image,n);if(u7(r)){var i=e.createPattern(r,t.repeat||"repeat");if("function"==typeof DOMMatrix&&i&&i.setTransform){var o=new DOMMatrix;o.translateSelf(t.x||0,t.y||0),o.rotateSelf(0,0,(t.rotation||0)*A3),o.scaleSelf(t.scaleX||1,t.scaleY||1),i.setTransform(o)}return i}}var Fce=["shadowBlur","shadowOffsetX","shadowOffsetY"],zce=[["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]];function Bce(e,t,n,r,i){var o=!1;if(!r&&t===(n=n||{}))return!1;if(r||t.opacity!==n.opacity){Hce(e,i),o=!0;var a=Math.max(Math.min(t.opacity,1),0);e.globalAlpha=isNaN(a)?S7.opacity:a}(r||t.blend!==n.blend)&&(o||(Hce(e,i),o=!0),e.globalCompositeOperation=t.blend||S7.blend);for(var s=0;s<Fce.length;s++){var l=Fce[s];(r||t[l]!==n[l])&&(o||(Hce(e,i),o=!0),e[l]=e.dpr*(t[l]||0))}return(r||t.shadowColor!==n.shadowColor)&&(o||(Hce(e,i),o=!0),e.shadowColor=t.shadowColor||S7.shadowColor),o}function Vce(e,t,n,r,i){var o=Gce(t,i.inHover),a=r?null:n&&Gce(n,i.inHover)||{};if(o===a)return!1;var s=Bce(e,o,a,r,i);if((r||o.fill!==a.fill)&&(s||(Hce(e,i),s=!0),Dce(o.fill)&&(e.fillStyle=o.fill)),(r||o.stroke!==a.stroke)&&(s||(Hce(e,i),s=!0),Dce(o.stroke)&&(e.strokeStyle=o.stroke)),(r||o.opacity!==a.opacity)&&(s||(Hce(e,i),s=!0),e.globalAlpha=null==o.opacity?1:o.opacity),t.hasStroke()){var l=o.lineWidth/(o.strokeNoScale&&t.getLineScale?t.getLineScale():1);e.lineWidth!==l&&(s||(Hce(e,i),s=!0),e.lineWidth=l)}for(var u=0;u<zce.length;u++){var c=zce[u],f=c[0];(r||o[f]!==a[f])&&(s||(Hce(e,i),s=!0),e[f]=o[f]||c[1])}return s}function $ce(e,t){var n=t.transform,r=e.dpr||1;n?e.setTransform(r*n[0],r*n[1],r*n[2],r*n[3],r*n[4],r*n[5]):e.setTransform(r,0,0,r,0,0)}function Hce(e,t){t.batchFill&&e.fill(),t.batchStroke&&e.stroke(),t.batchFill="",t.batchStroke=""}function Gce(e,t){return t&&e.__hoverStyle||e.style}function Wce(e,t){Uce(e,t,{inHover:!1,viewWidth:0,viewHeight:0},!0)}function Uce(e,t,n,r){var i=t.transform;if(!t.shouldBePainted(n.viewWidth,n.viewHeight,!1,!1))return t.__dirty&=-2,void(t.__isRendered=!1);var o=t.__clipPaths,a=n.prevElClipPaths,s=!1,l=!1;if(a&&!function(e,t){if(e===t||!e&&!t)return!1;if(!e||!t||e.length!==t.length)return!0;for(var n=0;n<e.length;n++)if(e[n]!==t[n])return!0;return!1}(o,a)||(a&&a.length&&(Hce(e,n),e.restore(),l=s=!0,n.prevElClipPaths=null,n.allClipped=!1,n.prevEl=null),o&&o.length&&(Hce(e,n),e.save(),function(e,t,n){for(var r=!1,i=0;i<e.length;i++){var o=e[i];r=r||o.isZeroArea(),$ce(t,o),t.beginPath(),o.buildPath(t,o.shape),t.clip()}n.allClipped=r}(o,e,n),s=!0),n.prevElClipPaths=o),n.allClipped)t.__isRendered=!1;else{t.beforeBrush&&t.beforeBrush(),t.innerBeforeBrush();var u=n.prevEl;u||(l=s=!0);var c,f,h=t instanceof Oee&&t.autoBatch&&function(e){var t=Rce(e),n=Oce(e);return!(e.lineDash||!(+t^+n)||t&&"string"!=typeof e.fill||n&&"string"!=typeof e.stroke||e.strokePercent<1||e.strokeOpacity<1||e.fillOpacity<1)}(t.style);s||(c=i,f=u.transform,c&&f?c[0]!==f[0]||c[1]!==f[1]||c[2]!==f[2]||c[3]!==f[3]||c[4]!==f[4]||c[5]!==f[5]:c||f)?(Hce(e,n),$ce(e,t)):h||Hce(e,n);var d=Gce(t,n.inHover);t instanceof Oee?(1!==n.lastDrawType&&(l=!0,n.lastDrawType=1),Vce(e,t,u,l,n),h&&(n.batchFill||n.batchStroke)||e.beginPath(),function(e,t,n,r){var i,o=Oce(n),a=Rce(n),s=n.strokePercent,l=s<1,u=!t.path;t.silent&&!l||!u||t.createPathProxy();var c=t.path||Pce,f=t.__dirty;if(!r){var h=n.fill,d=n.stroke,p=a&&!!h.colorStops,g=o&&!!d.colorStops,m=a&&!!h.image,b=o&&!!d.image,v=void 0,y=void 0,w=void 0,x=void 0,_=void 0;(p||g)&&(_=t.getBoundingRect()),p&&(v=f?Ice(e,h,_):t.__canvasFillGradient,t.__canvasFillGradient=v),g&&(y=f?Ice(e,d,_):t.__canvasStrokeGradient,t.__canvasStrokeGradient=y),m&&(w=f||!t.__canvasFillPattern?jce(e,h,t):t.__canvasFillPattern,t.__canvasFillPattern=w),b&&(x=f||!t.__canvasStrokePattern?jce(e,d,t):t.__canvasStrokePattern,t.__canvasStrokePattern=w),p?e.fillStyle=v:m&&(w?e.fillStyle=w:a=!1),g?e.strokeStyle=y:b&&(x?e.strokeStyle=x:o=!1)}var S,k,C=t.getGlobalScale();c.setScale(C[0],C[1],t.segmentIgnoreThreshold),e.setLineDash&&n.lineDash&&(S=(i=Ace(t))[0],k=i[1]);var E=!0;(u||4&f)&&(c.setDPR(e.dpr),l?c.setContext(null):(c.setContext(e),E=!1),c.reset(),t.buildPath(c,t.shape,r),c.toStatic(),t.pathUpdated()),E&&c.rebuildPath(e,l?s:1),S&&(e.setLineDash(S),e.lineDashOffset=k),r||(n.strokeFirst?(o&&Nce(e,n),a&&Lce(e,n)):(a&&Lce(e,n),o&&Nce(e,n))),S&&e.setLineDash([])}(e,t,d,h),h&&(n.batchFill=d.fill||"",n.batchStroke=d.stroke||"")):t instanceof Lee?(3!==n.lastDrawType&&(l=!0,n.lastDrawType=3),Vce(e,t,u,l,n),function(e,t,n){var r,i=n.text;if(null!=i&&(i+=""),i){e.font=n.font||w2,e.textAlign=n.textAlign,e.textBaseline=n.textBaseline;var o=void 0,a=void 0;e.setLineDash&&n.lineDash&&(o=(r=Ace(t))[0],a=r[1]),o&&(e.setLineDash(o),e.lineDashOffset=a),n.strokeFirst?(Oce(n)&&e.strokeText(i,n.x,n.y),Rce(n)&&e.fillText(i,n.x,n.y)):(Rce(n)&&e.fillText(i,n.x,n.y),Oce(n)&&e.strokeText(i,n.x,n.y)),o&&e.setLineDash([])}}(e,t,d)):t instanceof zee?(2!==n.lastDrawType&&(l=!0,n.lastDrawType=2),function(e,t,n,r,i){Bce(e,Gce(t,i.inHover),n&&Gce(n,i.inHover),r,i)}(e,t,u,l,n),function(e,t,n){var r=t.__image=s7(n.image,t.__image,t,t.onload);if(r&&u7(r)){var i=n.x||0,o=n.y||0,a=t.getWidth(),s=t.getHeight(),l=r.width/r.height;if(null==a&&null!=s?a=s*l:null==s&&null!=a?s=a/l:null==a&&null==s&&(a=r.width,s=r.height),n.sWidth&&n.sHeight){var u=n.sx||0,c=n.sy||0;e.drawImage(r,u,c,n.sWidth,n.sHeight,i,o,a,s)}else if(n.sx&&n.sy){var f=a-(u=n.sx),h=s-(c=n.sy);e.drawImage(r,u,c,f,h,i,o,a,s)}else e.drawImage(r,i,o,a,s)}}(e,t,d)):t.getTemporalDisplayables&&(4!==n.lastDrawType&&(l=!0,n.lastDrawType=4),function(e,t,n){var r=t.getDisplayables(),i=t.getTemporalDisplayables();e.save();var o,a,s={prevElClipPaths:null,prevEl:null,allClipped:!1,viewWidth:n.viewWidth,viewHeight:n.viewHeight,inHover:n.inHover};for(o=t.getCursor(),a=r.length;o<a;o++){(c=r[o]).beforeBrush&&c.beforeBrush(),c.innerBeforeBrush(),Uce(e,c,s,o===a-1),c.innerAfterBrush(),c.afterBrush&&c.afterBrush(),s.prevEl=c}for(var l=0,u=i.length;l<u;l++){var c;(c=i[l]).beforeBrush&&c.beforeBrush(),c.innerBeforeBrush(),Uce(e,c,s,l===u-1),c.innerAfterBrush(),c.afterBrush&&c.afterBrush(),s.prevEl=c}t.clearTemporalDisplayables(),t.notClear=!0,e.restore()}(e,t,n)),h&&r&&Hce(e,n),t.innerAfterBrush(),t.afterBrush&&t.afterBrush(),n.prevEl=t,t.__dirty=0,t.__isRendered=!0}}var qce=new pce,Xce=new W4(100),Yce=["symbol","symbolSize","symbolKeepAspect","color","backgroundColor","dashArrayX","dashArrayY","maxTileWidth","maxTileHeight"];function Kce(e,t){if("none"===e)return null;var n=t.getDevicePixelRatio(),r=t.getZr(),i="svg"===r.painter.type;e.dirty&&qce.delete(e);var o=qce.get(e);if(o)return o;var a=H2(e,{symbol:"rect",symbolSize:1,symbolKeepAspect:!0,color:"rgba(0, 0, 0, 0.2)",backgroundColor:null,dashArrayX:5,dashArrayY:5,rotation:0,maxTileWidth:512,maxTileHeight:512});"none"===a.backgroundColor&&(a.backgroundColor=null);var s={repeat:"repeat"};return function(e){for(var t,o=[n],s=!0,l=0;l<Yce.length;++l){var u=a[Yce[l]];if(null!=u&&!e3(u)&&!n3(u)&&!i3(u)&&"boolean"!=typeof u){s=!1;break}o.push(u)}if(s){t=o.join(",")+(i?"-svg":"");var c=Xce.get(t);c&&(i?e.svgElement=c:e.image=c)}var f,h=Qce(a.dashArrayX),d=function(e){if(!e||"object"==typeof e&&0===e.length)return[0,0];if(i3(e)){var t=Math.ceil(e);return[t,t]}var n=X2(e,(function(e){return Math.ceil(e)}));return e.length%2?n.concat(n):n}(a.dashArrayY),p=Zce(a.symbol),g=function(e){return X2(e,(function(e){return Jce(e)}))}(h),m=Jce(d),b=!i&&k2.createCanvas(),v=i&&{tag:"g",attrs:{},key:"dcl",children:[]},y=function(){for(var e=1,t=0,n=g.length;t<n;++t)e=x9(e,g[t]);var r=1;for(t=0,n=p.length;t<n;++t)r=x9(r,p[t].length);e*=r;var i=m*g.length*p.length;0;return{width:Math.max(1,Math.min(e,a.maxTileWidth)),height:Math.max(1,Math.min(i,a.maxTileHeight))}}();b&&(b.width=y.width*n,b.height=y.height*n,f=b.getContext("2d"));(function(){f&&(f.clearRect(0,0,b.width,b.height),a.backgroundColor&&(f.fillStyle=a.backgroundColor,f.fillRect(0,0,b.width,b.height)));for(var e=0,t=0;t<d.length;++t)e+=d[t];if(e<=0)return;var o=-m,s=0,l=0,u=0;for(;o<y.height;){if(s%2==0){for(var c=l/2%p.length,g=0,w=0,x=0;g<2*y.width;){var _=0;for(t=0;t<h[u].length;++t)_+=h[u][t];if(_<=0)break;if(w%2==0){var S=.5*(1-a.symbolSize),k=g+h[u][w]*S,C=o+d[s]*S,E=h[u][w]*a.symbolSize,I=d[s]*a.symbolSize,M=x/2%p[c].length;T(k,C,E,I,p[c][M])}g+=h[u][w],++x,++w===h[u].length&&(w=0)}++u===h.length&&(u=0)}o+=d[s],++l,++s===d.length&&(s=0)}function T(e,t,o,s,l){var u=i?1:n,c=Sce(l,e*u,t*u,o*u,s*u,a.color,a.symbolKeepAspect);if(i){var h=r.painter.renderOneToVNode(c);h&&v.children.push(h)}else Wce(f,c)}})(),s&&Xce.put(t,b||v);e.image=b,e.svgElement=v,e.svgWidth=y.width,e.svgHeight=y.height}(s),s.rotation=a.rotation,s.scaleX=s.scaleY=i?1:1/n,qce.set(e,s),e.dirty=!1,s}function Zce(e){if(!e||0===e.length)return[["rect"]];if(n3(e))return[[e]];for(var t=!0,n=0;n<e.length;++n)if(!n3(e[n])){t=!1;break}if(t)return Zce([e]);var r=[];for(n=0;n<e.length;++n)n3(e[n])?r.push([e[n]]):r.push(e[n]);return r}function Qce(e){if(!e||0===e.length)return[[0,0]];if(i3(e))return[[i=Math.ceil(e),i]];for(var t=!0,n=0;n<e.length;++n)if(!i3(e[n])){t=!1;break}if(t)return Qce([e]);var r=[];for(n=0;n<e.length;++n)if(i3(e[n])){var i=Math.ceil(e[n]);r.push([i,i])}else{(i=X2(e[n],(function(e){return Math.ceil(e)}))).length%2==1?r.push(i.concat(i)):r.push(i)}return r}function Jce(e){for(var t=0,n=0;n<e.length;++n)t+=e[n];return e.length%2==1?2*t:t}const efe=new t5;var tfe={};var nfe=2e3,rfe=4500,ife={PROCESSOR:{FILTER:1e3,SERIES_FILTER:800,STATISTIC:5e3},VISUAL:{LAYOUT:1e3,PROGRESSIVE_LAYOUT:1100,GLOBAL:nfe,CHART:3e3,POST_CHART_LAYOUT:4600,COMPONENT:4e3,BRUSH:5e3,CHART_ITEM:rfe,ARIA:6e3,DECAL:7e3}},ofe=/^[a-zA-Z0-9_]+$/,afe="__connectUpdateStatus";function sfe(e){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];if(!this.isDisposed())return ufe(this,e,t);Dfe(this.id)}}function lfe(e){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return ufe(this,e,t)}}function ufe(e,t,n){return n[0]=n[0]&&n[0].toLowerCase(),t5.prototype[t].apply(e,n)}var cfe,ffe,hfe,dfe,pfe,gfe,mfe,bfe,vfe,yfe,wfe,xfe,_fe,Sfe,kfe,Cfe,Efe,Ife,Mfe=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return g2(t,e),t}(t5),Tfe=Mfe.prototype;Tfe.on=lfe("on"),Tfe.off=lfe("off");var Afe=function(e){function t(t,n,r){var i=e.call(this,new ece)||this;i._chartsViews=[],i._chartsMap={},i._componentsViews=[],i._componentsMap={},i._pendingActions=[],r=r||{},n3(n)&&(n=zfe[n]),i._dom=t;var o=i._zr=Q8(t,{renderer:r.renderer||"canvas",devicePixelRatio:r.devicePixelRatio,width:r.width,height:r.height,ssr:r.ssr,useDirtyRect:h3(r.useDirtyRect,!1),useCoarsePointer:h3(r.useCoarsePointer,"auto"),pointerSize:r.pointerSize});i._ssr=r.ssr,i._throttledZrFlush=bue(Q2(o.flush,o),17),(n=z2(n))&&goe(n,!0),i._theme=n,i._locale=function(e){if(n3(e)){var t=nre[e.toUpperCase()]||{};return e===Jne||e===ere?z2(t):B2(z2(t),z2(nre.EN),!1)}return B2(z2(e),z2(nre.EN),!1)}(r.locale||ire),i._coordSysMgr=new Wie;var a=i._api=kfe(i);function s(e,t){return e.__prio-t.__prio}return o4(Ffe,s),o4(Nfe,s),i._scheduler=new Wue(i,a,Nfe,Ffe),i._messageCenter=new Mfe,i._initEvents(),i.resize=Q2(i.resize,i),o.animation.on("frame",i._onframe,i),yfe(o,i),wfe(o,i),y3(i),i}return g2(t,e),t.prototype._onframe=function(){if(!this._disposed){Ife(this);var e=this._scheduler;if(this.__pendingUpdate){var t=this.__pendingUpdate.silent;this.__flagInMainProcess=!0;try{cfe(this),dfe.update.call(this,null,this.__pendingUpdate.updateParams)}catch(e){throw this.__flagInMainProcess=!1,this.__pendingUpdate=null,e}this._zr.flush(),this.__flagInMainProcess=!1,this.__pendingUpdate=null,bfe.call(this,t),vfe.call(this,t)}else if(e.unfinished){var n=1,r=this._model,i=this._api;e.unfinished=!1;do{var o=+new Date;e.performSeriesTasks(r),e.performDataProcessorTasks(r),gfe(this,r),e.performVisualTasks(r),Sfe(this,this._model,i,"remain",{}),n-=+new Date-o}while(n>0&&e.unfinished);e.unfinished||this._zr.flush()}}},t.prototype.getDom=function(){return this._dom},t.prototype.getId=function(){return this.id},t.prototype.getZr=function(){return this._zr},t.prototype.isSSR=function(){return this._ssr},t.prototype.setOption=function(e,t,n){if(!this.__flagInMainProcess)if(this._disposed)Dfe(this.id);else{var r,i,o;if(o3(t)&&(n=t.lazyUpdate,r=t.silent,i=t.replaceMerge,o=t.transition,t=t.notMerge),this.__flagInMainProcess=!0,!this._model||t){var a=new Yie(this._api),s=this._theme,l=this._model=new Bie;l.scheduler=this._scheduler,l.ssr=this._ssr,l.init(null,null,null,s,this._locale,a)}this._model.setOption(e,{replaceMerge:i},jfe);var u={seriesTransition:o,optionChanged:!0};if(n)this.__pendingUpdate={silent:r,updateParams:u},this.__flagInMainProcess=!1,this.getZr().wakeUp();else{try{cfe(this),dfe.update.call(this,null,u)}catch(e){throw this.__pendingUpdate=null,this.__flagInMainProcess=!1,e}this._ssr||this._zr.flush(),this.__pendingUpdate=null,this.__flagInMainProcess=!1,bfe.call(this,r),vfe.call(this,r)}}},t.prototype.setTheme=function(){Xoe()},t.prototype.getModel=function(){return this._model},t.prototype.getOption=function(){return this._model&&this._model.getOption()},t.prototype.getWidth=function(){return this._zr.getWidth()},t.prototype.getHeight=function(){return this._zr.getHeight()},t.prototype.getDevicePixelRatio=function(){return this._zr.painter.dpr||v2.hasGlobalWindow&&window.devicePixelRatio||1},t.prototype.getRenderedCanvas=function(e){return this.renderToCanvas(e)},t.prototype.renderToCanvas=function(e){return e=e||{},this._zr.painter.getRenderedCanvas({backgroundColor:e.backgroundColor||this._model.get("backgroundColor"),pixelRatio:e.pixelRatio||this.getDevicePixelRatio()})},t.prototype.renderToSVGString=function(e){return e=e||{},this._zr.painter.renderToString({useViewBox:e.useViewBox})},t.prototype.getSvgDataURL=function(){if(v2.svgSupported){var e=this._zr;return q2(e.storage.getDisplayList(),(function(e){e.stopAnimation(null,!0)})),e.painter.toDataURL()}},t.prototype.getDataURL=function(e){if(!this._disposed){var t=(e=e||{}).excludeComponents,n=this._model,r=[],i=this;q2(t,(function(e){n.eachComponent({mainType:e},(function(e){var t=i._componentsMap[e.__viewId];t.group.ignore||(r.push(t),t.group.ignore=!0)}))}));var o="svg"===this._zr.painter.getType()?this.getSvgDataURL():this.renderToCanvas(e).toDataURL("image/"+(e&&e.type||"png"));return q2(r,(function(e){e.group.ignore=!1})),o}Dfe(this.id)},t.prototype.getConnectedDataURL=function(e){if(!this._disposed){var t="svg"===e.type,n=this.group,r=Math.min,i=Math.max,o=1/0;if($fe[n]){var a=o,s=o,l=-1/0,u=-1/0,c=[],f=e&&e.pixelRatio||this.getDevicePixelRatio();q2(Vfe,(function(o,f){if(o.group===n){var h=t?o.getZr().painter.getSvgDom().innerHTML:o.renderToCanvas(z2(e)),d=o.getDom().getBoundingClientRect();a=r(d.left,a),s=r(d.top,s),l=i(d.right,l),u=i(d.bottom,u),c.push({dom:h,left:d.left,top:d.top})}}));var h=(l*=f)-(a*=f),d=(u*=f)-(s*=f),p=k2.createCanvas(),g=Q8(p,{renderer:t?"svg":"canvas"});if(g.resize({width:h,height:d}),t){var m="";return q2(c,(function(e){var t=e.left-a,n=e.top-s;m+='<g transform="translate('+t+","+n+')">'+e.dom+"</g>"})),g.painter.getSvgRoot().innerHTML=m,e.connectedBackgroundColor&&g.painter.setBackgroundColor(e.connectedBackgroundColor),g.refreshImmediately(),g.painter.toDataURL()}return e.connectedBackgroundColor&&g.add(new qee({shape:{x:0,y:0,width:h,height:d},style:{fill:e.connectedBackgroundColor}})),q2(c,(function(e){var t=new zee({style:{x:e.left*f-a,y:e.top*f-s,image:e.dom}});g.add(t)})),g.refreshImmediately(),p.toDataURL("image/"+(e&&e.type||"png"))}return this.getDataURL(e)}Dfe(this.id)},t.prototype.convertToPixel=function(e,t){return pfe(this,"convertToPixel",e,t)},t.prototype.convertFromPixel=function(e,t){return pfe(this,"convertFromPixel",e,t)},t.prototype.containPixel=function(e,t){var n;if(!this._disposed)return q2(z9(this._model,e),(function(e,r){r.indexOf("Models")>=0&&q2(e,(function(e){var i=e.coordinateSystem;if(i&&i.containPoint)n=n||!!i.containPoint(t);else if("seriesModels"===r){var o=this._chartsMap[e.__viewId];o&&o.containPoint&&(n=n||o.containPoint(t,e))}else 0}),this)}),this),!!n;Dfe(this.id)},t.prototype.getVisual=function(e,t){var n=z9(this._model,e,{defaultMainType:"series"});var r=n.seriesModel.getData(),i=n.hasOwnProperty("dataIndexInside")?n.dataIndexInside:n.hasOwnProperty("dataIndex")?r.indexOfRawIndex(n.dataIndex):null;return null!=i?oce(r,i,t):ace(r,t)},t.prototype.getViewOfComponentModel=function(e){return this._componentsMap[e.__viewId]},t.prototype.getViewOfSeriesModel=function(e){return this._chartsMap[e.__viewId]},t.prototype._initEvents=function(){var e,t,n,r=this;q2(Ofe,(function(e){var t=function(t){var n,i=r.getModel(),o=t.target;if("globalout"===e?n={}:o&&cce(o,(function(e){var t=cte(e);if(t&&null!=t.dataIndex){var r=t.dataModel||i.getSeriesByIndex(t.seriesIndex);return n=r&&r.getDataParams(t.dataIndex,t.dataType)||{},!0}if(t.eventData)return n=$2({},t.eventData),!0}),!0),n){var a=n.componentType,s=n.componentIndex;"markLine"!==a&&"markPoint"!==a&&"markArea"!==a||(a="series",s=n.seriesIndex);var l=a&&null!=s&&i.getComponent(a,s),u=l&&r["series"===l.mainType?"_chartsMap":"_componentsMap"][l.__viewId];0,n.event=t,n.type=e,r._$eventProcessor.eventInfo={targetEl:o,packedEvent:n,model:l,view:u},r.trigger(e,n)}};t.zrEventfulCallAtLast=!0,r._zr.on(e,t,r)})),q2(Lfe,(function(e,t){r._messageCenter.on(t,(function(e){this.trigger(t,e)}),r)})),q2(["selectchanged"],(function(e){r._messageCenter.on(e,(function(t){this.trigger(e,t)}),r)})),e=this._messageCenter,t=this,n=this._api,e.on("selectchanged",(function(e){var r=n.getModel();e.isFromClick?(uce("map","selectchanged",t,r,e),uce("pie","selectchanged",t,r,e)):"select"===e.fromAction?(uce("map","selected",t,r,e),uce("pie","selected",t,r,e)):"unselect"===e.fromAction&&(uce("map","unselected",t,r,e),uce("pie","unselected",t,r,e))}))},t.prototype.isDisposed=function(){return this._disposed},t.prototype.clear=function(){this._disposed?Dfe(this.id):this.setOption({series:[]},!0)},t.prototype.dispose=function(){if(this._disposed)Dfe(this.id);else{this._disposed=!0,this.getDom()&&G9(this.getDom(),Gfe,"");var e=this,t=e._api,n=e._model;q2(e._componentsViews,(function(e){e.dispose(n,t)})),q2(e._chartsViews,(function(e){e.dispose(n,t)})),e._zr.dispose(),e._dom=e._model=e._chartsMap=e._componentsMap=e._chartsViews=e._componentsViews=e._scheduler=e._api=e._zr=e._throttledZrFlush=e._theme=e._coordSysMgr=e._messageCenter=null,delete Vfe[e.id]}},t.prototype.resize=function(e){if(!this.__flagInMainProcess)if(this._disposed)Dfe(this.id);else{this._zr.resize(e);var t=this._model;if(this._loadingFX&&this._loadingFX.resize(),t){var n=t.resetOption("media"),r=e&&e.silent;this.__pendingUpdate&&(null==r&&(r=this.__pendingUpdate.silent),n=!0,this.__pendingUpdate=null),this.__flagInMainProcess=!0;try{n&&cfe(this),dfe.update.call(this,{type:"resize",animation:$2({duration:0},e&&e.animation)})}catch(e){throw this.__flagInMainProcess=!1,e}this.__flagInMainProcess=!1,bfe.call(this,r),vfe.call(this,r)}}},t.prototype.showLoading=function(e,t){if(this._disposed)Dfe(this.id);else if(o3(e)&&(t=e,e=""),e=e||"default",this.hideLoading(),Bfe[e]){var n=Bfe[e](this._api,t),r=this._zr;this._loadingFX=n,r.add(n)}},t.prototype.hideLoading=function(){this._disposed?Dfe(this.id):(this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null)},t.prototype.makeActionFromEvent=function(e){var t=$2({},e);return t.type=Lfe[e.type],t},t.prototype.dispatchAction=function(e,t){if(this._disposed)Dfe(this.id);else if(o3(t)||(t={silent:!!t}),Rfe[e.type]&&this._model)if(this.__flagInMainProcess)this._pendingActions.push(e);else{var n=t.silent;mfe.call(this,e,n);var r=t.flush;r?this._zr.flush():!1!==r&&v2.browser.weChat&&this._throttledZrFlush(),bfe.call(this,n),vfe.call(this,n)}},t.prototype.updateLabelLayout=function(){efe.trigger("series:layoutlabels",this._model,this._api,{updatedSeries:[]})},t.prototype.appendData=function(e){if(this._disposed)Dfe(this.id);else{var t=e.seriesIndex;0,this.getModel().getSeriesByIndex(t).appendData(e),this._scheduler.unfinished=!0,this.getZr().wakeUp()}},t.internalField=function(){function e(e){e.clearColorPalette(),e.eachSeries((function(e){e.clearColorPalette()}))}function t(e){for(var t=[],n=e.currentStates,r=0;r<n.length;r++){var i=n[r];"emphasis"!==i&&"blur"!==i&&"select"!==i&&t.push(i)}e.selected&&e.states.select&&t.push("select"),2===e.hoverState&&e.states.emphasis?t.push("emphasis"):1===e.hoverState&&e.states.blur&&t.push("blur"),e.useStates(t)}function n(e,t){if(!e.preventAutoZ){var n=e.get("z")||0,i=e.get("zlevel")||0;t.eachRendered((function(e){return r(e,n,i,-1/0),!0}))}}function r(e,t,n,i){var o=e.getTextContent(),a=e.getTextGuideLine();if(e.isGroup)for(var s=e.childrenRef(),l=0;l<s.length;l++)i=Math.max(r(s[l],t,n,i),i);else e.z=t,e.zlevel=n,i=Math.max(e.z2,i);if(o&&(o.z=t,o.zlevel=n,isFinite(i)&&(o.z2=i+2)),a){var u=e.textGuideLineConfig;a.z=t,a.zlevel=n,isFinite(i)&&(a.z2=i+(u&&u.showAbove?1:-1))}return i}function i(e,t){t.eachRendered((function(e){if(!gne(e)){var t=e.getTextContent(),n=e.getTextGuideLine();e.stateTransition&&(e.stateTransition=null),t&&t.stateTransition&&(t.stateTransition=null),n&&n.stateTransition&&(n.stateTransition=null),e.hasState()?(e.prevStates=e.currentStates,e.clearStates()):e.prevStates&&(e.prevStates=null)}}))}function o(e,n){var r=e.getModel("stateAnimation"),i=e.isAnimationEnabled(),o=r.get("duration"),a=o>0?{duration:o,delay:r.get("delay"),easing:r.get("easing")}:null;n.eachRendered((function(e){if(e.states&&e.states.emphasis){if(gne(e))return;if(e instanceof Oee&&function(e){var t=pte(e);t.normalFill=e.style.fill,t.normalStroke=e.style.stroke;var n=e.states.select||{};t.selectFill=n.style&&n.style.fill||null,t.selectStroke=n.style&&n.style.stroke||null}(e),e.__dirty){var n=e.prevStates;n&&e.useStates(n)}if(i){e.stateTransition=a;var r=e.getTextContent(),o=e.getTextGuideLine();r&&(r.stateTransition=a),o&&(o.stateTransition=a)}e.__dirty&&t(e)}}))}cfe=function(e){var t=e._scheduler;t.restorePipelines(e._model),t.prepareStageTasks(),ffe(e,!0),ffe(e,!1),t.plan()},ffe=function(e,t){for(var n=e._model,r=e._scheduler,i=t?e._componentsViews:e._chartsViews,o=t?e._componentsMap:e._chartsMap,a=e._zr,s=e._api,l=0;l<i.length;l++)i[l].__alive=!1;function u(e){var l=e.__requireNewView;e.__requireNewView=!1;var u="_ec_"+e.id+"_"+e.type,c=!l&&o[u];if(!c){var f=Y9(e.type);0,(c=new(t?tse.getClass(f.main,f.sub):due.getClass(f.sub))).init(n,s),o[u]=c,i.push(c),a.add(c.group)}e.__viewId=c.__id=u,c.__alive=!0,c.__model=e,c.group.__ecComponentInfo={mainType:e.mainType,index:e.componentIndex},!t&&r.prepareView(c,e,n,s)}t?n.eachComponent((function(e,t){"series"!==e&&u(t)})):n.eachSeries(u);for(l=0;l<i.length;){var c=i[l];c.__alive?l++:(!t&&c.renderTask.dispose(),a.remove(c.group),c.dispose(n,s),i.splice(l,1),o[c.__id]===c&&delete o[c.__id],c.__id=c.group.__ecComponentInfo=null)}},hfe=function(e,t,n,r,i){var o=e._model;if(o.setUpdatePayload(n),r){var a={};a[r+"Id"]=n[r+"Id"],a[r+"Index"]=n[r+"Index"],a[r+"Name"]=n[r+"Name"];var s={mainType:r,query:a};i&&(s.subType=i);var l,u=n.excludeSeriesId;null!=u&&(l=k3(),q2(C9(u),(function(e){var t=D9(e,null);null!=t&&l.set(t,!0)}))),o&&o.eachComponent(s,(function(t){if(!(l&&null!=l.get(t.id)))if(une(n))if(t instanceof Jae)n.type!==yte||n.notBlur||t.get(["emphasis","disabled"])||function(e,t,n){var r=e.seriesIndex,i=e.getData(t.dataType);if(i){var o=N9(i,t);o=(e3(o)?o[0]:o)||0;var a=i.getItemGraphicEl(o);if(!a)for(var s=i.count(),l=0;!a&&l<s;)a=i.getItemGraphicEl(l++);if(a){var u=cte(a);Yte(r,u.focus,u.blurScope,n)}else{var c=e.get(["emphasis","focus"]),f=e.get(["emphasis","blurScope"]);null!=c&&Yte(r,c,f,n)}}}(t,n,e._api);else{var r=Zte(t.mainType,t.componentIndex,n.name,e._api),i=r.focusSelf,o=r.dispatchers;n.type===yte&&i&&!n.notBlur&&Kte(t.mainType,t.componentIndex,e._api),o&&q2(o,(function(e){n.type===yte?Vte(e):$te(e)}))}else lne(n)&&t instanceof Jae&&(!function(e,t,n){if(lne(t)){var r=t.dataType,i=N9(e.getData(r),t);e3(i)||(i=[i]),e[t.type===Ste?"toggleSelect":t.type===xte?"select":"unselect"](i,r)}}(t,n,e._api),Qte(t),Efe(e))}),e),o&&o.eachComponent(s,(function(t){l&&null!=l.get(t.id)||c(e["series"===r?"_chartsMap":"_componentsMap"][t.__viewId])}),e)}else q2([].concat(e._componentsViews).concat(e._chartsViews),c);function c(r){r&&r.__alive&&r[t]&&r[t](r.__model,o,e._api,n)}},dfe={prepareAndUpdate:function(e){cfe(this),dfe.update.call(this,e,{optionChanged:null!=e.newOption})},update:function(t,n){var r=this._model,i=this._api,o=this._zr,a=this._coordSysMgr,s=this._scheduler;if(r){r.setUpdatePayload(t),s.restoreData(r,t),s.performSeriesTasks(r),a.create(r,i),s.performDataProcessorTasks(r,t),gfe(this,r),a.update(r,i),e(r),s.performVisualTasks(r,t),xfe(this,r,i,t,n);var l=r.get("backgroundColor")||"transparent",u=r.get("darkMode");o.setBackgroundColor(l),null!=u&&"auto"!==u&&o.setDarkMode(u),efe.trigger("afterupdate",r,i)}},updateTransform:function(t){var n=this,r=this._model,i=this._api;if(r){r.setUpdatePayload(t);var o=[];r.eachComponent((function(e,a){if("series"!==e){var s=n.getViewOfComponentModel(a);if(s&&s.__alive)if(s.updateTransform){var l=s.updateTransform(a,r,i,t);l&&l.update&&o.push(s)}else o.push(s)}}));var a=k3();r.eachSeries((function(e){var o=n._chartsMap[e.__viewId];if(o.updateTransform){var s=o.updateTransform(e,r,i,t);s&&s.update&&a.set(e.uid,1)}else a.set(e.uid,1)})),e(r),this._scheduler.performVisualTasks(r,t,{setDirty:!0,dirtyMap:a}),Sfe(this,r,i,t,{},a),efe.trigger("afterupdate",r,i)}},updateView:function(t){var n=this._model;n&&(n.setUpdatePayload(t),due.markUpdateMethod(t,"updateView"),e(n),this._scheduler.performVisualTasks(n,t,{setDirty:!0}),xfe(this,n,this._api,t,{}),efe.trigger("afterupdate",n,this._api))},updateVisual:function(t){var n=this,r=this._model;r&&(r.setUpdatePayload(t),r.eachSeries((function(e){e.getData().clearAllVisual()})),due.markUpdateMethod(t,"updateVisual"),e(r),this._scheduler.performVisualTasks(r,t,{visualType:"visual",setDirty:!0}),r.eachComponent((function(e,i){if("series"!==e){var o=n.getViewOfComponentModel(i);o&&o.__alive&&o.updateVisual(i,r,n._api,t)}})),r.eachSeries((function(e){n._chartsMap[e.__viewId].updateVisual(e,r,n._api,t)})),efe.trigger("afterupdate",r,this._api))},updateLayout:function(e){dfe.update.call(this,e)}},pfe=function(e,t,n,r){if(e._disposed)Dfe(e.id);else{for(var i,o=e._model,a=e._coordSysMgr.getCoordinateSystems(),s=z9(o,n),l=0;l<a.length;l++){var u=a[l];if(u[t]&&null!=(i=u[t](o,s,r)))return i}0}},gfe=function(e,t){var n=e._chartsMap,r=e._scheduler;t.eachSeries((function(e){r.updateStreamModes(e,n[e.__viewId])}))},mfe=function(e,t){var n=this,r=this.getModel(),i=e.type,o=e.escapeConnect,a=Rfe[i],s=a.actionInfo,l=(s.update||"update").split(":"),u=l.pop(),c=null!=l[0]&&Y9(l[0]);this.__flagInMainProcess=!0;var f=[e],h=!1;e.batch&&(h=!0,f=X2(e.batch,(function(t){return(t=H2($2({},t),e)).batch=null,t})));var d,p=[],g=lne(e),m=une(e);if(m&&Xte(this._api),q2(f,(function(t){if((d=(d=a.action(t,n._model,n._api))||$2({},t)).type=s.event||d.type,p.push(d),m){var r=B9(e),i=r.queryOptionMap,o=r.mainTypeSpecified?i.keys()[0]:"series";hfe(n,u,t,o),Efe(n)}else g?(hfe(n,u,t,"series"),Efe(n)):c&&hfe(n,u,t,c.main,c.sub)})),"none"!==u&&!m&&!g&&!c)try{this.__pendingUpdate?(cfe(this),dfe.update.call(this,e),this.__pendingUpdate=null):dfe[u].call(this,e)}catch(e){throw this.__flagInMainProcess=!1,e}if(d=h?{type:s.event||i,escapeConnect:o,batch:p}:p[0],this.__flagInMainProcess=!1,!t){var b=this._messageCenter;if(b.trigger(d.type,d),g){var v={type:"selectchanged",escapeConnect:o,selected:Jte(r),isFromClick:e.isFromClick||!1,fromAction:e.type,fromActionPayload:e};b.trigger(v.type,v)}}},bfe=function(e){for(var t=this._pendingActions;t.length;){var n=t.shift();mfe.call(this,n,e)}},vfe=function(e){!e&&this.trigger("updated")},yfe=function(e,t){e.on("rendered",(function(n){t.trigger("rendered",n),!e.animation.isFinished()||t.__pendingUpdate||t._scheduler.unfinished||t._pendingActions.length||t.trigger("finished")}))},wfe=function(e,t){e.on("mouseover",(function(e){var n=cce(e.target,sne);n&&(!function(e,t,n){var r=cte(e),i=Zte(r.componentMainType,r.componentIndex,r.componentHighDownName,n),o=i.dispatchers,a=i.focusSelf;o?(a&&Kte(r.componentMainType,r.componentIndex,n),q2(o,(function(e){return zte(e,t)}))):(Yte(r.seriesIndex,r.focus,r.blurScope,n),"self"===r.focus&&Kte(r.componentMainType,r.componentIndex,n),zte(e,t))}(n,e,t._api),Efe(t))})).on("mouseout",(function(e){var n=cce(e.target,sne);n&&(!function(e,t,n){Xte(n);var r=cte(e),i=Zte(r.componentMainType,r.componentIndex,r.componentHighDownName,n).dispatchers;i?q2(i,(function(e){return Bte(e,t)})):Bte(e,t)}(n,e,t._api),Efe(t))})).on("click",(function(e){var n=cce(e.target,(function(e){return null!=cte(e).dataIndex}),!0);if(n){var r=n.selected?"unselect":"select",i=cte(n);t._api.dispatchAction({type:r,dataType:i.dataType,dataIndexInside:i.dataIndex,seriesIndex:i.seriesIndex,isFromClick:!0})}}))},xfe=function(e,t,n,r,i){!function(e){var t=[],n=[],r=!1;if(e.eachComponent((function(e,i){var o=i.get("zlevel")||0,a=i.get("z")||0,s=i.getZLevelKey();r=r||!!s,("series"===e?n:t).push({zlevel:o,z:a,idx:i.componentIndex,type:e,key:s})})),r){var i,o,a=t.concat(n);o4(a,(function(e,t){return e.zlevel===t.zlevel?e.z-t.z:e.zlevel-t.zlevel})),q2(a,(function(t){var n=e.getComponent(t.type,t.idx),r=t.zlevel,a=t.key;null!=i&&(r=Math.max(i,r)),a?(r===i&&a!==o&&r++,o=a):o&&(r===i&&r++,o=""),i=r,n.setZLevel(r)}))}}(t),_fe(e,t,n,r,i),q2(e._chartsViews,(function(e){e.__alive=!1})),Sfe(e,t,n,r,i),q2(e._chartsViews,(function(e){e.__alive||e.remove(t,n)}))},_fe=function(e,t,r,a,s,l){q2(l||e._componentsViews,(function(e){var s=e.__model;i(s,e),e.render(s,t,r,a),n(s,e),o(s,e)}))},Sfe=function(e,t,r,a,s,l){var u=e._scheduler;s=$2(s||{},{updatedSeries:t.getSeries()}),efe.trigger("series:beforeupdate",t,r,s);var c=!1;t.eachSeries((function(t){var n=e._chartsMap[t.__viewId];n.__alive=!0;var r=n.renderTask;u.updatePayload(r,a),i(t,n),l&&l.get(t.uid)&&r.dirty(),r.perform(u.getPerformArgs(r))&&(c=!0),n.group.silent=!!t.get("silent"),function(e,t){var n=e.get("blendMode")||null;t.eachRendered((function(e){e.isGroup||(e.style.blend=n)}))}(t,n),Qte(t)})),u.unfinished=c||u.unfinished,efe.trigger("series:layoutlabels",t,r,s),efe.trigger("series:transition",t,r,s),t.eachSeries((function(t){var r=e._chartsMap[t.__viewId];n(t,r),o(t,r)})),function(e,t){var n=e._zr.storage,r=0;n.traverse((function(e){e.isGroup||r++})),r>t.get("hoverLayerThreshold")&&!v2.node&&!v2.worker&&t.eachSeries((function(t){if(!t.preventUsingHoverLayer){var n=e._chartsMap[t.__viewId];n.__alive&&n.eachRendered((function(e){e.states.emphasis&&(e.states.emphasis.hoverLayer=!0)}))}}))}(e,t),efe.trigger("series:afterupdate",t,r,s)},Efe=function(e){e.__needsUpdateStatus=!0,e.getZr().wakeUp()},Ife=function(e){e.__needsUpdateStatus&&(e.getZr().storage.traverse((function(e){gne(e)||t(e)})),e.__needsUpdateStatus=!1)},kfe=function(e){return new(function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return g2(n,t),n.prototype.getCoordinateSystems=function(){return e._coordSysMgr.getCoordinateSystems()},n.prototype.getComponentByElement=function(t){for(;t;){var n=t.__ecComponentInfo;if(null!=n)return e._model.getComponent(n.mainType,n.index);t=t.parent}},n.prototype.enterEmphasis=function(t,n){Vte(t,n),Efe(e)},n.prototype.leaveEmphasis=function(t,n){$te(t,n),Efe(e)},n.prototype.enterBlur=function(t){Hte(t),Efe(e)},n.prototype.leaveBlur=function(t){Gte(t),Efe(e)},n.prototype.enterSelect=function(t){Wte(t),Efe(e)},n.prototype.leaveSelect=function(t){Ute(t),Efe(e)},n.prototype.getModel=function(){return e.getModel()},n.prototype.getViewOfComponentModel=function(t){return e.getViewOfComponentModel(t)},n.prototype.getViewOfSeriesModel=function(t){return e.getViewOfSeriesModel(t)},n}($ie))(e)},Cfe=function(e){function t(e,t){for(var n=0;n<e.length;n++){e[n][afe]=t}}q2(Lfe,(function(n,r){e._messageCenter.on(r,(function(n){if($fe[e.group]&&0!==e[afe]){if(n&&n.escapeConnect)return;var r=e.makeActionFromEvent(n),i=[];q2(Vfe,(function(t){t!==e&&t.group===e.group&&i.push(t)})),t(i,0),q2(i,(function(e){1!==e[afe]&&e.dispatchAction(r)})),t(i,2)}}))}))}}(),t}(t5),Pfe=Afe.prototype;Pfe.on=sfe("on"),Pfe.off=sfe("off"),Pfe.one=function(e,t,n){var r=this;Xoe(),this.on.call(this,e,(function n(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];t&&t.apply&&t.apply(this,i),r.off(e,n)}),n)};var Ofe=["click","dblclick","mouseover","mouseout","mousemove","mousedown","mouseup","globalout","contextmenu"];function Dfe(e){0}var Rfe={},Lfe={},Nfe=[],jfe=[],Ffe=[],zfe={},Bfe={},Vfe={},$fe={},Hfe=+new Date-0,Gfe=(new Date,"_echarts_instance_");function Wfe(e){return Vfe[function(e,t){return e.getAttribute?e.getAttribute(t):e[t]}(e,Gfe)]}function Ufe(e,t){zfe[e]=t}function qfe(e){G2(jfe,e)<0&&jfe.push(e)}function Xfe(e,t){Jfe(Nfe,e,t,2e3)}function Yfe(e,t){efe.on(e,t)}function Kfe(e,t,n){t3(t)&&(n=t,t="");var r=o3(e)?e.type:[e,e={event:t}][0];e.event=(e.event||r).toLowerCase(),t=e.event,Lfe[t]||(m3(ofe.test(r)&&ofe.test(t)),Rfe[r]||(Rfe[r]={action:n,actionInfo:e}),Lfe[t]=r)}function Zfe(e,t){Jfe(Ffe,e,t,3e3,"visual")}var Qfe=[];function Jfe(e,t,n,r,i){if((t3(t)||o3(t))&&(n=t,t=r),!(G2(Qfe,n)>=0)){Qfe.push(n);var o=Wue.wrapStageHandler(n,i);o.__prio=t,o.__raw=n,e.push(o)}}function ehe(e,t){Bfe[e]=t}var the=function(e){var t=(e=z2(e)).type;t||Yoe("");var n=t.split(":");2!==n.length&&Yoe("");var r=!1;"echarts"===n[0]&&(t=n[1],r=!0),e.__isBuiltIn=r,uae.set(t,e)};Zfe(nfe,Cue),Zfe(rfe,Iue),Zfe(rfe,Mue),Zfe(nfe,rce),Zfe(rfe,ice),Zfe(7e3,(function(e,t){e.eachRawSeries((function(n){if(!e.isSeriesFiltered(n)){var r=n.getData();r.hasItemVisual()&&r.each((function(e){var n=r.getItemVisual(e,"decal");n&&(r.ensureUniqueItemVisual(e,"style").decal=Kce(n,t))}));var i=r.getVisual("decal");if(i)r.getVisual("style").decal=Kce(i,t)}}))})),qfe(goe),Xfe(900,(function(e){var t=k3();e.eachSeries((function(e){var n=e.get("stack");if(n){var r=t.get(n)||t.set(n,[]),i=e.getData(),o={stackResultDimension:i.getCalculationInfo("stackResultDimension"),stackedOverDimension:i.getCalculationInfo("stackedOverDimension"),stackedDimension:i.getCalculationInfo("stackedDimension"),stackedByDimension:i.getCalculationInfo("stackedByDimension"),isStackedByIndex:i.getCalculationInfo("isStackedByIndex"),data:i,seriesModel:e};if(!o.stackedDimension||!o.isStackedByIndex&&!o.stackedByDimension)return;r.length&&i.setCalculationInfo("stackedOnSeries",r[r.length-1].seriesModel),r.push(o)}})),t.each(moe)})),ehe("default",(function(e,t){H2(t=t||{},{text:"loading",textColor:"#000",fontSize:12,fontWeight:"normal",fontStyle:"normal",fontFamily:"sans-serif",maskColor:"rgba(255, 255, 255, 0.8)",showSpinner:!0,color:"#5470c6",spinnerRadius:10,lineWidth:5,zlevel:0});var n=new X8,r=new qee({style:{fill:t.maskColor},zlevel:t.zlevel,z:1e4});n.add(r);var i,o=new ute({style:{text:t.text,fill:t.textColor,fontSize:t.fontSize,fontWeight:t.fontWeight,fontStyle:t.fontStyle,fontFamily:t.fontFamily},zlevel:t.zlevel,z:10001}),a=new qee({style:{fill:"none"},textContent:o,textConfig:{position:"right",distance:10},zlevel:t.zlevel,z:10001});return n.add(a),t.showSpinner&&((i=new hle({shape:{startAngle:-Tue/2,endAngle:-Tue/2+.1,r:t.spinnerRadius},style:{stroke:t.color,lineCap:"round",lineWidth:t.lineWidth},zlevel:t.zlevel,z:10001})).animateShape(!0).when(1e3,{endAngle:3*Tue/2}).start("circularInOut"),i.animateShape(!0).when(1e3,{startAngle:3*Tue/2}).delay(300).start("circularInOut"),n.add(i)),n.resize=function(){var n=o.getBoundingRect().width,s=t.showSpinner?t.spinnerRadius:0,l=(e.getWidth()-2*s-(t.showSpinner&&n?10:0)-n)/2-(t.showSpinner&&n?0:5+n/2)+(t.showSpinner?0:n/2)+(n?0:s),u=e.getHeight()/2;t.showSpinner&&i.setShape({cx:l,cy:u}),a.setShape({x:l-s,y:u-s,width:2*s,height:2*s}),r.setShape({x:0,y:0,width:e.getWidth(),height:e.getHeight()})},n.resize(),n})),Kfe({type:yte,event:yte,update:yte},T3),Kfe({type:wte,event:wte,update:wte},T3),Kfe({type:xte,event:xte,update:xte},T3),Kfe({type:_te,event:_te,update:_te},T3),Kfe({type:Ste,event:Ste,update:Ste},T3),Ufe("light",que),Ufe("dark",Jue);var nhe=[],rhe={registerPreprocessor:qfe,registerProcessor:Xfe,registerPostInit:function(e){Yfe("afterinit",e)},registerPostUpdate:function(e){Yfe("afterupdate",e)},registerUpdateLifecycle:Yfe,registerAction:Kfe,registerCoordinateSystem:function(e,t){Wie.register(e,t)},registerLayout:function(e,t){Jfe(Ffe,e,t,1e3,"layout")},registerVisual:Zfe,registerTransform:the,registerLoading:ehe,registerMap:function(e,t,n){var r=tfe["registerMap"];r&&r(e,t,n)},registerImpl:function(e,t){tfe[e]=t},PRIORITY:ife,ComponentModel:oie,ComponentView:tse,SeriesModel:Jae,ChartView:due,registerComponentModel:function(e){oie.registerClass(e)},registerComponentView:function(e){tse.registerClass(e)},registerSeriesModel:function(e){Jae.registerClass(e)},registerChartView:function(e){due.registerClass(e)},registerSubTypeDefaulter:function(e,t){oie.registerSubTypeDefaulter(e,t)},registerPainter:function(e,t){var n;n=t,Y8[e]=n}};function ihe(e){e3(e)?q2(e,(function(e){ihe(e)})):G2(nhe,e)>=0||(nhe.push(e),t3(e)&&(e={install:e}),e.install(rhe))}var ohe=2*Math.PI,ahe=fee.CMD,she=["top","right","bottom","left"];function lhe(e,t,n,r,i){var o=n.width,a=n.height;switch(e){case"top":r.set(n.x+o/2,n.y-t),i.set(0,-1);break;case"bottom":r.set(n.x+o/2,n.y+a+t),i.set(0,1);break;case"left":r.set(n.x-t,n.y+a/2),i.set(-1,0);break;case"right":r.set(n.x+o+t,n.y+a/2),i.set(1,0)}}function uhe(e,t,n,r,i,o,a,s,l){a-=e,s-=t;var u=Math.sqrt(a*a+s*s),c=(a/=u)*n+e,f=(s/=u)*n+t;if(Math.abs(r-i)%ohe<1e-4)return l[0]=c,l[1]=f,u-n;if(o){var h=r;r=mee(i),i=mee(h)}else r=mee(r),i=mee(i);r>i&&(i+=ohe);var d=Math.atan2(s,a);if(d<0&&(d+=ohe),d>=r&&d<=i||d+ohe>=r&&d+ohe<=i)return l[0]=c,l[1]=f,u-n;var p=n*Math.cos(r)+e,g=n*Math.sin(r)+t,m=n*Math.cos(i)+e,b=n*Math.sin(i)+t,v=(p-a)*(p-a)+(g-s)*(g-s),y=(m-a)*(m-a)+(b-s)*(b-s);return v<y?(l[0]=p,l[1]=g,Math.sqrt(v)):(l[0]=m,l[1]=b,Math.sqrt(y))}function che(e,t,n,r,i,o,a,s){var l=i-e,u=o-t,c=n-e,f=r-t,h=Math.sqrt(c*c+f*f),d=(l*(c/=h)+u*(f/=h))/h;s&&(d=Math.min(Math.max(d,0),1)),d*=h;var p=a[0]=e+d*c,g=a[1]=t+d*f;return Math.sqrt((p-i)*(p-i)+(g-o)*(g-o))}function fhe(e,t,n,r,i,o,a){n<0&&(e+=n,n=-n),r<0&&(t+=r,r=-r);var s=e+n,l=t+r,u=a[0]=Math.min(Math.max(i,e),s),c=a[1]=Math.min(Math.max(o,t),l);return Math.sqrt((u-i)*(u-i)+(c-o)*(c-o))}var hhe=[];function dhe(e,t,n){var r=fhe(t.x,t.y,t.width,t.height,e.x,e.y,hhe);return n.set(hhe[0],hhe[1]),r}function phe(e,t,n){for(var r,i,o=0,a=0,s=0,l=0,u=1/0,c=t.data,f=e.x,h=e.y,d=0;d<c.length;){var p=c[d++];1===d&&(s=o=c[d],l=a=c[d+1]);var g=u;switch(p){case ahe.M:o=s=c[d++],a=l=c[d++];break;case ahe.L:g=che(o,a,c[d],c[d+1],f,h,hhe,!0),o=c[d++],a=c[d++];break;case ahe.C:g=A4(o,a,c[d++],c[d++],c[d++],c[d++],c[d],c[d+1],f,h,hhe),o=c[d++],a=c[d++];break;case ahe.Q:g=N4(o,a,c[d++],c[d++],c[d],c[d+1],f,h,hhe),o=c[d++],a=c[d++];break;case ahe.A:var m=c[d++],b=c[d++],v=c[d++],y=c[d++],w=c[d++],x=c[d++];d+=1;var _=!!(1-c[d++]);r=Math.cos(w)*v+m,i=Math.sin(w)*y+b,d<=1&&(s=r,l=i),g=uhe(m,b,y,w,w+x,_,(f-m)*y/v+m,h,hhe),o=Math.cos(w+x)*v+m,a=Math.sin(w+x)*y+b;break;case ahe.R:g=fhe(s=o=c[d++],l=a=c[d++],c[d++],c[d++],f,h,hhe);break;case ahe.Z:g=che(o,a,s,l,f,h,hhe,!0),o=s,a=l}g<u&&(u=g,n.set(hhe[0],hhe[1]))}return u}var ghe=new O5,mhe=new O5,bhe=new O5,vhe=new O5,yhe=new O5;function whe(e,t){if(e){var n=e.getTextGuideLine(),r=e.getTextContent();if(r&&n){var i=e.textGuideLineConfig||{},o=[[0,0],[0,0],[0,0]],a=i.candidates||she,s=r.getBoundingRect().clone();s.applyTransform(r.getComputedTransform());var l=1/0,u=i.anchor,c=e.getComputedTransform(),f=c&&A5([],c),h=t.get("length2")||0;u&&bhe.copy(u);for(var d=0;d<a.length;d++){lhe(a[d],0,s,ghe,vhe),O5.scaleAndAdd(mhe,ghe,vhe,h),mhe.transform(f);var p=e.getBoundingRect(),g=u?u.distance(mhe):e instanceof Oee?phe(mhe,e.path,bhe):dhe(mhe,p,bhe);g<l&&(l=g,mhe.transform(c),bhe.transform(c),bhe.toArray(o[0]),mhe.toArray(o[1]),ghe.toArray(o[2]))}She(o,t.get("minTurnAngle")),n.setShape({points:o})}}}var xhe=[],_he=new O5;function She(e,t){if(t<=180&&t>0){t=t/180*Math.PI,ghe.fromArray(e[0]),mhe.fromArray(e[1]),bhe.fromArray(e[2]),O5.sub(vhe,ghe,mhe),O5.sub(yhe,bhe,mhe);var n=vhe.len(),r=yhe.len();if(!(n<.001||r<.001)){vhe.scale(1/n),yhe.scale(1/r);var i=vhe.dot(yhe);if(Math.cos(t)<i){var o=che(mhe.x,mhe.y,bhe.x,bhe.y,ghe.x,ghe.y,xhe,!1);_he.fromArray(xhe),_he.scaleAndAdd(yhe,o/Math.tan(Math.PI-t));var a=bhe.x!==mhe.x?(_he.x-mhe.x)/(bhe.x-mhe.x):(_he.y-mhe.y)/(bhe.y-mhe.y);if(isNaN(a))return;a<0?O5.copy(_he,mhe):a>1&&O5.copy(_he,bhe),_he.toArray(e[1])}}}}function khe(e,t,n){if(n<=180&&n>0){n=n/180*Math.PI,ghe.fromArray(e[0]),mhe.fromArray(e[1]),bhe.fromArray(e[2]),O5.sub(vhe,mhe,ghe),O5.sub(yhe,bhe,mhe);var r=vhe.len(),i=yhe.len();if(!(r<.001||i<.001))if(vhe.scale(1/r),yhe.scale(1/i),vhe.dot(t)<Math.cos(n)){var o=che(mhe.x,mhe.y,bhe.x,bhe.y,ghe.x,ghe.y,xhe,!1);_he.fromArray(xhe);var a=Math.PI/2,s=a+Math.acos(yhe.dot(t))-n;if(s>=a)O5.copy(_he,bhe);else{_he.scaleAndAdd(yhe,o/Math.tan(Math.PI/2-s));var l=bhe.x!==mhe.x?(_he.x-mhe.x)/(bhe.x-mhe.x):(_he.y-mhe.y)/(bhe.y-mhe.y);if(isNaN(l))return;l<0?O5.copy(_he,mhe):l>1&&O5.copy(_he,bhe)}_he.toArray(e[1])}}}function Che(e,t,n,r){var i="normal"===n,o=i?e:e.ensureState(n);o.ignore=t;var a=r.get("smooth");a&&!0===a&&(a=.3),o.shape=o.shape||{},a>0&&(o.shape.smooth=a);var s=r.getModel("lineStyle").getLineStyle();i?e.useStyle(s):o.style=s}function Ehe(e,t){var n=t.smooth,r=t.points;if(r)if(e.moveTo(r[0][0],r[0][1]),n>0&&r.length>=3){var i=W3(r[0],r[1]),o=W3(r[1],r[2]);if(!i||!o)return e.lineTo(r[1][0],r[1][1]),void e.lineTo(r[2][0],r[2][1]);var a=Math.min(i,o)*n,s=q3([],r[1],r[0],a/i),l=q3([],r[1],r[2],a/o),u=q3([],s,l,.5);e.bezierCurveTo(s[0],s[1],s[0],s[1],u[0],u[1]),e.bezierCurveTo(l[0],l[1],l[0],l[1],r[2][0],r[2][1])}else for(var c=1;c<r.length;c++)e.lineTo(r[c][0],r[c][1])}function Ihe(e,t,n){var r=e.getTextGuideLine(),i=e.getTextContent();if(i){for(var o=t.normal,a=o.get("show"),s=i.ignore,l=0;l<bte.length;l++){var u=bte[l],c=t[u],f="normal"===u;if(c){var h=c.get("show");if((f?s:h3(i.states[u]&&i.states[u].ignore,s))||!h3(h,a)){var d=f?r:r&&r.states[u];d&&(d.ignore=!0);continue}r||(r=new ele,e.setTextGuideLine(r),f||!s&&a||Che(r,!0,"normal",t.normal),e.stateProxy&&(r.stateProxy=e.stateProxy)),Che(r,!1,u,c)}}if(r){H2(r.style,n),r.style.fill=null;var p=o.get("showAbove");(e.textGuideLineConfig=e.textGuideLineConfig||{}).showAbove=p||!1,r.buildPath=Ehe}}else r&&e.removeTextGuideLine()}function Mhe(e,t){t=t||"labelLine";for(var n={normal:e.getModel(t)},r=0;r<mte.length;r++){var i=mte[r];n[i]=e.getModel([i,t])}return n}function The(e){for(var t=[],n=0;n<e.length;n++){var r=e[n];if(!r.defaultAttr.ignore){var i=r.label,o=i.getComputedTransform(),a=i.getBoundingRect(),s=!o||o[1]<1e-5&&o[2]<1e-5,l=i.style.margin||0,u=a.clone();u.applyTransform(o),u.x-=l/2,u.y-=l/2,u.width+=l,u.height+=l;var c=s?new Cle(a,o):null;t.push({label:i,labelLine:r.labelLine,rect:u,localRect:a,obb:c,priority:r.priority,defaultAttr:r.defaultAttr,layoutOption:r.computedLayoutOption,axisAligned:s,transform:o})}}return t}function Ahe(e,t,n,r,i,o){var a=e.length;if(!(a<2)){e.sort((function(e,n){return e.rect[t]-n.rect[t]}));for(var s,l=0,u=!1,c=[],f=0,h=0;h<a;h++){var d=e[h],p=d.rect;(s=p[t]-l)<0&&(p[t]-=s,d.label[t]-=s,u=!0);var g=Math.max(-s,0);c.push(g),f+=g,l=p[t]+p[n]}f>0&&o&&_(-f/a,0,a);var m,b,v=e[0],y=e[a-1];return w(),m<0&&S(-m,.8),b<0&&S(b,.8),w(),x(m,b,1),x(b,m,-1),w(),m<0&&k(-m),b<0&&k(b),u}function w(){m=v.rect[t]-r,b=i-y.rect[t]-y.rect[n]}function x(e,t,n){if(e<0){var r=Math.min(t,-e);if(r>0){_(r*n,0,a);var i=r+e;i<0&&S(-i*n,1)}else S(-e*n,1)}}function _(n,r,i){0!==n&&(u=!0);for(var o=r;o<i;o++){var a=e[o];a.rect[t]+=n,a.label[t]+=n}}function S(r,i){for(var o=[],s=0,l=1;l<a;l++){var u=e[l-1].rect,c=Math.max(e[l].rect[t]-u[t]-u[n],0);o.push(c),s+=c}if(s){var f=Math.min(Math.abs(r)/s,i);if(r>0)for(l=0;l<a-1;l++){_(o[l]*f,0,l+1)}else for(l=a-1;l>0;l--){_(-(o[l-1]*f),l,a)}}}function k(e){var t=e<0?-1:1;e=Math.abs(e);for(var n=Math.ceil(e/(a-1)),r=0;r<a-1;r++)if(t>0?_(n,0,r+1):_(-n,a-r-1,a),(e-=n)<=0)return}}function Phe(e,t,n,r){return Ahe(e,"y","height",t,n,r)}function Ohe(e){var t=[];e.sort((function(e,t){return t.priority-e.priority}));var n=new $5(0,0,0,0);function r(e){if(!e.ignore){var t=e.ensureState("emphasis");null==t.ignore&&(t.ignore=!1)}e.ignore=!0}for(var i=0;i<e.length;i++){var o=e[i],a=o.axisAligned,s=o.localRect,l=o.transform,u=o.label,c=o.labelLine;n.copy(o.rect),n.width-=.1,n.height-=.1,n.x+=.05,n.y+=.05;for(var f=o.obb,h=!1,d=0;d<t.length;d++){var p=t[d];if(n.intersect(p.rect)){if(a&&p.axisAligned){h=!0;break}if(p.obb||(p.obb=new Cle(p.localRect,p.transform)),f||(f=new Cle(s,l)),f.intersect(p.obb)){h=!0;break}}}h?(r(u),c&&r(c)):(u.attr("ignore",o.defaultAttr.ignore),c&&c.attr("ignore",o.defaultAttr.labelGuideIgnore),t.push(o))}}function Dhe(e){if(e){for(var t=[],n=0;n<e.length;n++)t.push(e[n].slice());return t}}function Rhe(e,t){var n=e.label,r=t&&t.getTextGuideLine();return{dataIndex:e.dataIndex,dataType:e.dataType,seriesIndex:e.seriesModel.seriesIndex,text:e.label.style.text,rect:e.hostRect,labelRect:e.rect,align:n.style.align,verticalAlign:n.style.verticalAlign,labelLinePoints:Dhe(r&&r.shape.points)}}var Lhe=["align","verticalAlign","width","height","fontSize"],Nhe=new E8,jhe=j9(),Fhe=j9();function zhe(e,t,n){for(var r=0;r<n.length;r++){var i=n[r];null!=t[i]&&(e[i]=t[i])}}var Bhe=["x","y","rotation"],Vhe=function(){function e(){this._labelList=[],this._chartViewList=[]}return e.prototype.clearLabels=function(){this._labelList=[],this._chartViewList=[]},e.prototype._addLabel=function(e,t,n,r,i){var o=r.style,a=r.__hostTarget.textConfig||{},s=r.getComputedTransform(),l=r.getBoundingRect().plain();$5.applyTransform(l,l,s),s?Nhe.setLocalTransform(s):(Nhe.x=Nhe.y=Nhe.rotation=Nhe.originX=Nhe.originY=0,Nhe.scaleX=Nhe.scaleY=1);var u,c=r.__hostTarget;if(c){u=c.getBoundingRect().plain();var f=c.getComputedTransform();$5.applyTransform(u,u,f)}var h=u&&c.getTextGuideLine();this._labelList.push({label:r,labelLine:h,seriesModel:n,dataIndex:e,dataType:t,layoutOption:i,computedLayoutOption:null,rect:l,hostRect:u,priority:u?u.width*u.height:0,defaultAttr:{ignore:r.ignore,labelGuideIgnore:h&&h.ignore,x:Nhe.x,y:Nhe.y,scaleX:Nhe.scaleX,scaleY:Nhe.scaleY,rotation:Nhe.rotation,style:{x:o.x,y:o.y,align:o.align,verticalAlign:o.verticalAlign,width:o.width,height:o.height,fontSize:o.fontSize},cursor:r.cursor,attachedPos:a.position,attachedRot:a.rotation}})},e.prototype.addLabelsOfSeries=function(e){var t=this;this._chartViewList.push(e);var n=e.__model,r=n.get("labelLayout");(t3(r)||Z2(r).length)&&e.group.traverse((function(e){if(e.ignore)return!0;var i=e.getTextContent(),o=cte(e);i&&!i.disableLabelLayout&&t._addLabel(o.dataIndex,o.dataType,n,i,r)}))},e.prototype.updateLayoutConfig=function(e){var t=e.getWidth(),n=e.getHeight();function r(e,t){return function(){whe(e,t)}}for(var i=0;i<this._labelList.length;i++){var o=this._labelList[i],a=o.label,s=a.__hostTarget,l=o.defaultAttr,u=void 0;u=(u=t3(o.layoutOption)?o.layoutOption(Rhe(o,s)):o.layoutOption)||{},o.computedLayoutOption=u;var c=Math.PI/180;s&&s.setTextConfig({local:!1,position:null!=u.x||null!=u.y?null:l.attachedPos,rotation:null!=u.rotate?u.rotate*c:l.attachedRot,offset:[u.dx||0,u.dy||0]});var f=!1;if(null!=u.x?(a.x=t9(u.x,t),a.setStyle("x",0),f=!0):(a.x=l.x,a.setStyle("x",l.style.x)),null!=u.y?(a.y=t9(u.y,n),a.setStyle("y",0),f=!0):(a.y=l.y,a.setStyle("y",l.style.y)),u.labelLinePoints){var h=s.getTextGuideLine();h&&(h.setShape({points:u.labelLinePoints}),f=!1)}jhe(a).needsUpdateLabelLine=f,a.rotation=null!=u.rotate?u.rotate*c:l.rotation,a.scaleX=l.scaleX,a.scaleY=l.scaleY;for(var d=0;d<Lhe.length;d++){var p=Lhe[d];a.setStyle(p,null!=u[p]?u[p]:l.style[p])}if(u.draggable){if(a.draggable=!0,a.cursor="move",s){var g=o.seriesModel;if(null!=o.dataIndex)g=o.seriesModel.getData(o.dataType).getItemModel(o.dataIndex);a.on("drag",r(s,g.getModel("labelLine")))}}else a.off("drag"),a.cursor=l.cursor}},e.prototype.layout=function(e){var t=e.getWidth(),n=e.getHeight(),r=The(this._labelList),i=K2(r,(function(e){return"shiftX"===e.layoutOption.moveOverlap})),o=K2(r,(function(e){return"shiftY"===e.layoutOption.moveOverlap}));!function(e,t,n,r){Ahe(e,"x","width",t,n,r)}(i,0,t),Phe(o,0,n),Ohe(K2(r,(function(e){return e.layoutOption.hideOverlap})))},e.prototype.processLabelsOverall=function(){var e=this;q2(this._chartViewList,(function(t){var n=t.__model,r=t.ignoreLabelLineUpdate,i=n.isAnimationEnabled();t.group.traverse((function(t){if(t.ignore&&!t.forceLabelAnimation)return!0;var o=!r,a=t.getTextContent();!o&&a&&(o=jhe(a).needsUpdateLabelLine),o&&e._updateLabelLine(t,n),i&&e._animateLabels(t,n)}))}))},e.prototype._updateLabelLine=function(e,t){var n=e.getTextContent(),r=cte(e),i=r.dataIndex;if(n&&null!=i){var o=t.getData(r.dataType),a=o.getItemModel(i),s={},l=o.getItemVisual(i,"style"),u=o.getVisual("drawType");s.stroke=l[u];var c=a.getModel("labelLine");Ihe(e,Mhe(a),s),whe(e,c)}},e.prototype._animateLabels=function(e,t){var n=e.getTextContent(),r=e.getTextGuideLine();if(n&&(e.forceLabelAnimation||!n.ignore&&!n.invisible&&!e.disableLabelAnimation&&!gne(e))){var i=(d=jhe(n)).oldLayout,o=cte(e),a=o.dataIndex,s={x:n.x,y:n.y,rotation:n.rotation},l=t.getData(o.dataType);if(i){n.attr(i);var u=e.prevStates;u&&(G2(u,"select")>=0&&n.attr(d.oldLayoutSelect),G2(u,"emphasis")>=0&&n.attr(d.oldLayoutEmphasis)),dne(n,s,t,a)}else if(n.attr(s),!One(n).valueAnimation){var c=h3(n.style.opacity,1);n.style.opacity=0,pne(n,{style:{opacity:c}},t,a)}if(d.oldLayout=s,n.states.select){var f=d.oldLayoutSelect={};zhe(f,s,Bhe),zhe(f,n.states.select,Bhe)}if(n.states.emphasis){var h=d.oldLayoutEmphasis={};zhe(h,s,Bhe),zhe(h,n.states.emphasis,Bhe)}Rne(n,a,l,t,t)}if(r&&!r.ignore&&!r.invisible){i=(d=Fhe(r)).oldLayout;var d,p={points:r.shape.points};i?(r.attr({shape:i}),dne(r,{shape:p},t)):(r.setShape(p),r.style.strokePercent=0,pne(r,{style:{strokePercent:1}},t)),d.oldLayout=p}},e}();const $he=Vhe;var Hhe=j9();function Ghe(e){e.registerUpdateLifecycle("series:beforeupdate",(function(e,t,n){var r=Hhe(t).labelManager;r||(r=Hhe(t).labelManager=new $he),r.clearLabels()})),e.registerUpdateLifecycle("series:layoutlabels",(function(e,t,n){var r=Hhe(t).labelManager;n.updatedSeries.forEach((function(e){r.addLabelsOfSeries(t.getViewOfSeriesModel(e))})),r.updateLayoutConfig(t),r.layout(t),r.processLabelsOverall()}))}function Whe(e,t,n){var r=k2.createCanvas(),i=t.getWidth(),o=t.getHeight(),a=r.style;return a&&(a.position="absolute",a.left="0",a.top="0",a.width=i+"px",a.height=o+"px",r.setAttribute("data-zr-dom-id",e)),r.width=i*n,r.height=o*n,r}ihe(Ghe);var Uhe=function(e){function t(t,n,r){var i,o=e.call(this)||this;o.motionBlur=!1,o.lastFrameAlpha=.7,o.dpr=1,o.virtual=!1,o.config={},o.incremental=!1,o.zlevel=0,o.maxRepaintRectCount=5,o.__dirty=!0,o.__firstTimePaint=!0,o.__used=!1,o.__drawIndex=0,o.__startIndex=0,o.__endIndex=0,o.__prevStartIndex=null,o.__prevEndIndex=null,r=r||d8,"string"==typeof t?i=Whe(t,n,r):o3(t)&&(t=(i=t).id),o.id=t,o.dom=i;var a=i.style;return a&&(I3(i),i.onselectstart=function(){return!1},a.padding="0",a.margin="0",a.borderWidth="0"),o.painter=n,o.dpr=r,o}return O3(t,e),t.prototype.getElementCount=function(){return this.__endIndex-this.__startIndex},t.prototype.afterBrush=function(){this.__prevStartIndex=this.__startIndex,this.__prevEndIndex=this.__endIndex},t.prototype.initContext=function(){this.ctx=this.dom.getContext("2d"),this.ctx.dpr=this.dpr},t.prototype.setUnpainted=function(){this.__firstTimePaint=!0},t.prototype.createBackBuffer=function(){var e=this.dpr;this.domBack=Whe("back-"+this.id,this.painter,e),this.ctxBack=this.domBack.getContext("2d"),1!==e&&this.ctxBack.scale(e,e)},t.prototype.createRepaintRects=function(e,t,n,r){if(this.__firstTimePaint)return this.__firstTimePaint=!1,null;var i,o=[],a=this.maxRepaintRectCount,s=!1,l=new $5(0,0,0,0);function u(e){if(e.isFinite()&&!e.isZero())if(0===o.length){(t=new $5(0,0,0,0)).copy(e),o.push(t)}else{for(var t,n=!1,r=1/0,i=0,u=0;u<o.length;++u){var c=o[u];if(c.intersect(e)){var f=new $5(0,0,0,0);f.copy(c),f.union(e),o[u]=f,n=!0;break}if(s){l.copy(e),l.union(c);var h=e.width*e.height,d=c.width*c.height,p=l.width*l.height-h-d;p<r&&(r=p,i=u)}}if(s&&(o[i].union(e),n=!0),!n)(t=new $5(0,0,0,0)).copy(e),o.push(t);s||(s=o.length>=a)}}for(var c=this.__startIndex;c<this.__endIndex;++c){if(d=e[c]){var f=d.shouldBePainted(n,r,!0,!0);(p=d.__isRendered&&(1&d.__dirty||!f)?d.getPrevPaintRect():null)&&u(p);var h=f&&(1&d.__dirty||!d.__isRendered)?d.getPaintRect():null;h&&u(h)}}for(c=this.__prevStartIndex;c<this.__prevEndIndex;++c){var d,p;f=(d=t[c]).shouldBePainted(n,r,!0,!0);if(d&&(!f||!d.__zr)&&d.__isRendered)(p=d.getPrevPaintRect())&&u(p)}do{i=!1;for(c=0;c<o.length;)if(o[c].isZero())o.splice(c,1);else{for(var g=c+1;g<o.length;)o[c].intersect(o[g])?(i=!0,o[c].union(o[g]),o.splice(g,1)):g++;c++}}while(i);return this._paintRects=o,o},t.prototype.debugGetPaintRects=function(){return(this._paintRects||[]).slice()},t.prototype.resize=function(e,t){var n=this.dpr,r=this.dom,i=r.style,o=this.domBack;i&&(i.width=e+"px",i.height=t+"px"),r.width=e*n,r.height=t*n,o&&(o.width=e*n,o.height=t*n,1!==n&&this.ctxBack.scale(n,n))},t.prototype.clear=function(e,t,n){var r=this.dom,i=this.ctx,o=r.width,a=r.height;t=t||this.clearColor;var s=this.motionBlur&&!e,l=this.lastFrameAlpha,u=this.dpr,c=this;s&&(this.domBack||this.createBackBuffer(),this.ctxBack.globalCompositeOperation="copy",this.ctxBack.drawImage(r,0,0,o/u,a/u));var f=this.domBack;function h(e,n,r,o){if(i.clearRect(e,n,r,o),t&&"transparent"!==t){var a=void 0;if(u3(t))a=(t.global||t.__width===r&&t.__height===o)&&t.__canvasGradient||Ice(i,t,{x:0,y:0,width:r,height:o}),t.__canvasGradient=a,t.__width=r,t.__height=o;else null!=t.image&&(t.scaleX=t.scaleX||u,t.scaleY=t.scaleY||u,a=jce(i,t,{dirty:function(){c.setUnpainted(),c.__painter.refresh()}}));i.save(),i.fillStyle=a||t,i.fillRect(e,n,r,o),i.restore()}s&&(i.save(),i.globalAlpha=l,i.drawImage(f,e,n,r,o),i.restore())}!n||s?h(0,0,o,a):n.length&&q2(n,(function(e){h(e.x*u,e.y*u,e.width*u,e.height*u)}))},t}(t5);const qhe=Uhe;var Xhe=1e5,Yhe=314159,Khe=.01;var Zhe=function(){function e(e,t,n,r){this.type="canvas",this._zlevelList=[],this._prevDisplayList=[],this._layers={},this._layerConfig={},this._needsManuallyCompositing=!1,this.type="canvas";var i=!e.nodeName||"CANVAS"===e.nodeName.toUpperCase();this._opts=n=$2({},n||{}),this.dpr=n.devicePixelRatio||d8,this._singleCanvas=i,this.root=e,e.style&&(I3(e),e.innerHTML=""),this.storage=t;var o=this._zlevelList;this._prevDisplayList=[];var a=this._layers;if(i){var s=e,l=s.width,u=s.height;null!=n.width&&(l=n.width),null!=n.height&&(u=n.height),this.dpr=n.devicePixelRatio||1,s.width=l*this.dpr,s.height=u*this.dpr,this._width=l,this._height=u;var c=new qhe(s,this,this.dpr);c.__builtin__=!0,c.initContext(),a[314159]=c,c.zlevel=Yhe,o.push(Yhe),this._domRoot=e}else{this._width=Tce(e,0,n),this._height=Tce(e,1,n);var f=this._domRoot=function(e,t){var n=document.createElement("div");return n.style.cssText=["position:relative","width:"+e+"px","height:"+t+"px","padding:0","margin:0","border-width:0"].join(";")+";",n}(this._width,this._height);e.appendChild(f)}}return e.prototype.getType=function(){return"canvas"},e.prototype.isSingleCanvas=function(){return this._singleCanvas},e.prototype.getViewportRoot=function(){return this._domRoot},e.prototype.getViewportRootOffset=function(){var e=this.getViewportRoot();if(e)return{offsetLeft:e.offsetLeft||0,offsetTop:e.offsetTop||0}},e.prototype.refresh=function(e){var t=this.storage.getDisplayList(!0),n=this._prevDisplayList,r=this._zlevelList;this._redrawId=Math.random(),this._paintList(t,n,e,this._redrawId);for(var i=0;i<r.length;i++){var o=r[i],a=this._layers[o];if(!a.__builtin__&&a.refresh){var s=0===i?this._backgroundColor:null;a.refresh(s)}}return this._opts.useDirtyRect&&(this._prevDisplayList=t.slice()),this},e.prototype.refreshHover=function(){this._paintHoverList(this.storage.getDisplayList(!1))},e.prototype._paintHoverList=function(e){var t=e.length,n=this._hoverlayer;if(n&&n.clear(),t){for(var r,i={inHover:!0,viewWidth:this._width,viewHeight:this._height},o=0;o<t;o++){var a=e[o];a.__inHover&&(n||(n=this._hoverlayer=this.getLayer(Xhe)),r||(r=n.ctx).save(),Uce(r,a,i,o===t-1))}r&&r.restore()}},e.prototype.getHoverLayer=function(){return this.getLayer(Xhe)},e.prototype.paintOne=function(e,t){Wce(e,t)},e.prototype._paintList=function(e,t,n,r){if(this._redrawId===r){n=n||!1,this._updateLayerStatus(e);var i=this._doPaintList(e,t,n),o=i.finished,a=i.needsRefreshHover;if(this._needsManuallyCompositing&&this._compositeManually(),a&&this._paintHoverList(e),o)this.eachLayer((function(e){e.afterBrush&&e.afterBrush()}));else{var s=this;f4((function(){s._paintList(e,t,n,r)}))}}},e.prototype._compositeManually=function(){var e=this.getLayer(Yhe).ctx,t=this._domRoot.width,n=this._domRoot.height;e.clearRect(0,0,t,n),this.eachBuiltinLayer((function(r){r.virtual&&e.drawImage(r.dom,0,0,t,n)}))},e.prototype._doPaintList=function(e,t,n){for(var r=this,i=[],o=this._opts.useDirtyRect,a=0;a<this._zlevelList.length;a++){var s=this._zlevelList[a],l=this._layers[s];l.__builtin__&&l!==this._hoverlayer&&(l.__dirty||n)&&i.push(l)}for(var u=!0,c=!1,f=function(a){var s,l=i[a],f=l.ctx,d=o&&l.createRepaintRects(e,t,h._width,h._height),p=n?l.__startIndex:l.__drawIndex,g=!n&&l.incremental&&Date.now,m=g&&Date.now(),b=l.zlevel===h._zlevelList[0]?h._backgroundColor:null;if(l.__startIndex===l.__endIndex)l.clear(!1,b,d);else if(p===l.__startIndex){var v=e[p];v.incremental&&v.notClear&&!n||l.clear(!1,b,d)}-1===p&&(console.error("For some unknown reason. drawIndex is -1"),p=l.__startIndex);var y=function(t){var n={inHover:!1,allClipped:!1,prevEl:null,viewWidth:r._width,viewHeight:r._height};for(s=p;s<l.__endIndex;s++){var i=e[s];if(i.__inHover&&(c=!0),r._doPaintEl(i,l,o,t,n,s===l.__endIndex-1),g)if(Date.now()-m>15)break}n.prevElClipPaths&&f.restore()};if(d)if(0===d.length)s=l.__endIndex;else for(var w=h.dpr,x=0;x<d.length;++x){var _=d[x];f.save(),f.beginPath(),f.rect(_.x*w,_.y*w,_.width*w,_.height*w),f.clip(),y(_),f.restore()}else f.save(),y(),f.restore();l.__drawIndex=s,l.__drawIndex<l.__endIndex&&(u=!1)},h=this,d=0;d<i.length;d++)f(d);return v2.wxa&&q2(this._layers,(function(e){e&&e.ctx&&e.ctx.draw&&e.ctx.draw()})),{finished:u,needsRefreshHover:c}},e.prototype._doPaintEl=function(e,t,n,r,i,o){var a=t.ctx;if(n){var s=e.getPaintRect();(!r||s&&s.intersect(r))&&(Uce(a,e,i,o),e.setPrevPaintRect(s))}else Uce(a,e,i,o)},e.prototype.getLayer=function(e,t){this._singleCanvas&&!this._needsManuallyCompositing&&(e=Yhe);var n=this._layers[e];return n||((n=new qhe("zr_"+e,this,this.dpr)).zlevel=e,n.__builtin__=!0,this._layerConfig[e]?B2(n,this._layerConfig[e],!0):this._layerConfig[e-Khe]&&B2(n,this._layerConfig[e-Khe],!0),t&&(n.virtual=t),this.insertLayer(e,n),n.initContext()),n},e.prototype.insertLayer=function(e,t){var n=this._layers,r=this._zlevelList,i=r.length,o=this._domRoot,a=null,s=-1;if(!n[e]&&function(e){return!!e&&(!!e.__builtin__||"function"==typeof e.resize&&"function"==typeof e.refresh)}(t)){if(i>0&&e>r[0]){for(s=0;s<i-1&&!(r[s]<e&&r[s+1]>e);s++);a=n[r[s]]}if(r.splice(s+1,0,e),n[e]=t,!t.virtual)if(a){var l=a.dom;l.nextSibling?o.insertBefore(t.dom,l.nextSibling):o.appendChild(t.dom)}else o.firstChild?o.insertBefore(t.dom,o.firstChild):o.appendChild(t.dom);t.__painter=this}},e.prototype.eachLayer=function(e,t){for(var n=this._zlevelList,r=0;r<n.length;r++){var i=n[r];e.call(t,this._layers[i],i)}},e.prototype.eachBuiltinLayer=function(e,t){for(var n=this._zlevelList,r=0;r<n.length;r++){var i=n[r],o=this._layers[i];o.__builtin__&&e.call(t,o,i)}},e.prototype.eachOtherLayer=function(e,t){for(var n=this._zlevelList,r=0;r<n.length;r++){var i=n[r],o=this._layers[i];o.__builtin__||e.call(t,o,i)}},e.prototype.getLayers=function(){return this._layers},e.prototype._updateLayerStatus=function(e){function t(e){o&&(o.__endIndex!==e&&(o.__dirty=!0),o.__endIndex=e)}if(this.eachBuiltinLayer((function(e,t){e.__dirty=e.__used=!1})),this._singleCanvas)for(var n=1;n<e.length;n++){if((s=e[n]).zlevel!==e[n-1].zlevel||s.incremental){this._needsManuallyCompositing=!0;break}}var r,i,o=null,a=0;for(i=0;i<e.length;i++){var s,l=(s=e[i]).zlevel,u=void 0;r!==l&&(r=l,a=0),s.incremental?((u=this.getLayer(l+.001,this._needsManuallyCompositing)).incremental=!0,a=1):u=this.getLayer(l+(a>0?Khe:0),this._needsManuallyCompositing),u.__builtin__||F2("ZLevel "+l+" has been used by unkown layer "+u.id),u!==o&&(u.__used=!0,u.__startIndex!==i&&(u.__dirty=!0),u.__startIndex=i,u.incremental?u.__drawIndex=-1:u.__drawIndex=i,t(i),o=u),1&s.__dirty&&!s.__inHover&&(u.__dirty=!0,u.incremental&&u.__drawIndex<0&&(u.__drawIndex=i))}t(i),this.eachBuiltinLayer((function(e,t){!e.__used&&e.getElementCount()>0&&(e.__dirty=!0,e.__startIndex=e.__endIndex=e.__drawIndex=0),e.__dirty&&e.__drawIndex<0&&(e.__drawIndex=e.__startIndex)}))},e.prototype.clear=function(){return this.eachBuiltinLayer(this._clearLayer),this},e.prototype._clearLayer=function(e){e.clear()},e.prototype.setBackgroundColor=function(e){this._backgroundColor=e,q2(this._layers,(function(e){e.setUnpainted()}))},e.prototype.configLayer=function(e,t){if(t){var n=this._layerConfig;n[e]?B2(n[e],t,!0):n[e]=t;for(var r=0;r<this._zlevelList.length;r++){var i=this._zlevelList[r];if(i===e||i===e+Khe)B2(this._layers[i],n[e],!0)}}},e.prototype.delLayer=function(e){var t=this._layers,n=this._zlevelList,r=t[e];r&&(r.dom.parentNode.removeChild(r.dom),delete t[e],n.splice(G2(n,e),1))},e.prototype.resize=function(e,t){if(this._domRoot.style){var n=this._domRoot;n.style.display="none";var r=this._opts,i=this.root;if(null!=e&&(r.width=e),null!=t&&(r.height=t),e=Tce(i,0,r),t=Tce(i,1,r),n.style.display="",this._width!==e||t!==this._height){for(var o in n.style.width=e+"px",n.style.height=t+"px",this._layers)this._layers.hasOwnProperty(o)&&this._layers[o].resize(e,t);this.refresh(!0)}this._width=e,this._height=t}else{if(null==e||null==t)return;this._width=e,this._height=t,this.getLayer(Yhe).resize(e,t)}return this},e.prototype.clearLayer=function(e){var t=this._layers[e];t&&t.clear()},e.prototype.dispose=function(){this.root.innerHTML="",this.root=this.storage=this._domRoot=this._layers=null},e.prototype.getRenderedCanvas=function(e){if(e=e||{},this._singleCanvas&&!this._compositeManually)return this._layers[314159].dom;var t=new qhe("image",this,e.pixelRatio||this.dpr);t.initContext(),t.clear(!1,e.backgroundColor||this._backgroundColor);var n=t.ctx;if(e.pixelRatio<=this.dpr){this.refresh();var r=t.dom.width,i=t.dom.height;this.eachLayer((function(e){e.__builtin__?n.drawImage(e.dom,0,0,r,i):e.renderToCanvas&&(n.save(),e.renderToCanvas(n),n.restore())}))}else for(var o={inHover:!1,viewWidth:this._width,viewHeight:this._height},a=this.storage.getDisplayList(!0),s=0,l=a.length;s<l;s++){var u=a[s];Uce(n,u,o,s===l-1)}return t.dom},e.prototype.getWidth=function(){return this._width},e.prototype.getHeight=function(){return this._height},e}();const Qhe=Zhe;var Jhe=Math.sin,ede=Math.cos,tde=Math.PI,nde=2*Math.PI,rde=180/tde,ide=function(){function e(){}return e.prototype.reset=function(e){this._start=!0,this._d=[],this._str="",this._p=Math.pow(10,e||4)},e.prototype.moveTo=function(e,t){this._add("M",e,t)},e.prototype.lineTo=function(e,t){this._add("L",e,t)},e.prototype.bezierCurveTo=function(e,t,n,r,i,o){this._add("C",e,t,n,r,i,o)},e.prototype.quadraticCurveTo=function(e,t,n,r){this._add("Q",e,t,n,r)},e.prototype.arc=function(e,t,n,r,i,o){this.ellipse(e,t,n,n,0,r,i,o)},e.prototype.ellipse=function(e,t,n,r,i,o,a,s){var l=a-o,u=!s,c=Math.abs(l),f=m6(c-nde)||(u?l>=nde:-l>=nde),h=l>0?l%nde:l%nde+nde,d=!1;d=!!f||!m6(c)&&h>=tde==!!u;var p=e+n*ede(o),g=t+r*Jhe(o);this._start&&this._add("M",p,g);var m=Math.round(i*rde);if(f){var b=1/this._p,v=(u?1:-1)*(nde-b);this._add("A",n,r,m,1,+u,e+n*ede(o+v),t+r*Jhe(o+v)),b>.01&&this._add("A",n,r,m,0,+u,p,g)}else{var y=e+n*ede(a),w=t+r*Jhe(a);this._add("A",n,r,m,+d,+u,y,w)}},e.prototype.rect=function(e,t,n,r){this._add("M",e,t),this._add("l",n,0),this._add("l",0,r),this._add("l",-n,0),this._add("Z")},e.prototype.closePath=function(){this._d.length>0&&this._add("Z")},e.prototype._add=function(e,t,n,r,i,o,a,s,l){for(var u=[],c=this._p,f=1;f<arguments.length;f++){var h=arguments[f];if(isNaN(h))return void(this._invalid=!0);u.push(Math.round(h*c)/c)}this._d.push(e+u.join(" ")),this._start="Z"===e},e.prototype.generateStr=function(){this._str=this._invalid?"":this._d.join(""),this._d=[]},e.prototype.getStr=function(){return this._str},e}();const ode=ide;var ade="none",sde=Math.round;var lde=["lineCap","miterLimit","lineJoin"],ude=X2(lde,(function(e){return"stroke-"+e.toLowerCase()}));function cde(e,t,n,r){var i=null==t.opacity?1:t.opacity;if(n instanceof zee)e("opacity",i);else{if(function(e){var t=e.fill;return null!=t&&t!==ade}(t)){var o=p6(t.fill);e("fill",o.color);var a=null!=t.fillOpacity?t.fillOpacity*o.opacity*i:o.opacity*i;(r||a<1)&&e("fill-opacity",a)}else e("fill",ade);if(function(e){var t=e.stroke;return null!=t&&t!==ade}(t)){var s=p6(t.stroke);e("stroke",s.color);var l=t.strokeNoScale?n.getLineScale():1,u=l?(t.lineWidth||0)/l:0,c=null!=t.strokeOpacity?t.strokeOpacity*s.opacity*i:s.opacity*i,f=t.strokeFirst;if((r||1!==u)&&e("stroke-width",u),(r||f)&&e("paint-order",f?"stroke":"fill"),(r||c<1)&&e("stroke-opacity",c),t.lineDash){var h=Ace(n),d=h[0],p=h[1];d&&(p=sde(p||0),e("stroke-dasharray",d.join(",")),(p||r)&&e("stroke-dashoffset",p))}else r&&e("stroke-dasharray",ade);for(var g=0;g<lde.length;g++){var m=lde[g];if(r||t[m]!==Mee[m]){var b=t[m]||Mee[m];b&&e(ude[g],b)}}}else r&&e("stroke",ade)}}var fde="http://www.w3.org/2000/svg",hde="http://www.w3.org/1999/xlink";function dde(e){return document.createElementNS(fde,e)}function pde(e,t,n,r,i){return{tag:e,attrs:n||{},children:r,text:i,key:t}}function gde(e,t){var n=(t=t||{}).newline?"\n":"";return function e(t){var r=t.children,i=t.tag,o=t.attrs,a=t.text;return function(e,t){var n=[];if(t)for(var r in t){var i=t[r],o=r;!1!==i&&(!0!==i&&null!=i&&(o+='="'+i+'"'),n.push(o))}return"<"+e+" "+n.join(" ")+">"}(i,o)+("style"!==i?c5(a):a||"")+(r?""+n+X2(r,(function(t){return e(t)})).join(n)+n:"")+("</"+i+">")}(e)}function mde(e){return{zrId:e,shadowCache:{},patternCache:{},gradientCache:{},clipPathCache:{},defs:{},cssNodes:{},cssAnims:{},cssClassIdx:0,cssAnimIdx:0,shadowIdx:0,gradientIdx:0,patternIdx:0,clipPathIdx:0}}function bde(e,t,n,r){return pde("svg","root",{width:e,height:t,xmlns:fde,"xmlns:xlink":hde,version:"1.1",baseProfile:"full",viewBox:!!r&&"0 0 "+e+" "+t},n)}var vde={cubicIn:"0.32,0,0.67,0",cubicOut:"0.33,1,0.68,1",cubicInOut:"0.65,0,0.35,1",quadraticIn:"0.11,0,0.5,0",quadraticOut:"0.5,1,0.89,1",quadraticInOut:"0.45,0,0.55,1",quarticIn:"0.5,0,0.75,0",quarticOut:"0.25,1,0.5,1",quarticInOut:"0.76,0,0.24,1",quinticIn:"0.64,0,0.78,0",quinticOut:"0.22,1,0.36,1",quinticInOut:"0.83,0,0.17,1",sinusoidalIn:"0.12,0,0.39,0",sinusoidalOut:"0.61,1,0.88,1",sinusoidalInOut:"0.37,0,0.63,1",exponentialIn:"0.7,0,0.84,0",exponentialOut:"0.16,1,0.3,1",exponentialInOut:"0.87,0,0.13,1",circularIn:"0.55,0,1,0.45",circularOut:"0,0.55,0.45,1",circularInOut:"0.85,0,0.15,1"},yde="transform-origin";function wde(e,t,n){var r=$2({},e.shape);$2(r,t),e.buildPath(n,r);var i=new ode;return i.reset(E6(e)),n.rebuildPath(i,1),i.generateStr(),i.getStr()}function xde(e,t){var n=t.originX,r=t.originY;(n||r)&&(e[yde]=n+"px "+r+"px")}var _de={fill:"fill",opacity:"opacity",lineWidth:"stroke-width",lineDashOffset:"stroke-dashoffset"};function Sde(e,t){var n=t.zrId+"-ani-"+t.cssAnimIdx++;return t.cssAnims[n]=e,n}function kde(e){return n3(e)?vde[e]?"cubic-bezier("+vde[e]+")":z4(e)?e:"":""}function Cde(e,t,n,r){var i=e.animators,o=i.length,a=[];if(e instanceof ple){var s=function(e,t,n){var r,i,o=e.shape.paths,a={};if(q2(o,(function(e){var t=mde(n.zrId);t.animation=!0,Cde(e,{},t,!0);var o=t.cssAnims,s=t.cssNodes,l=Z2(o),u=l.length;if(u){var c=o[i=l[u-1]];for(var f in c){var h=c[f];a[f]=a[f]||{d:""},a[f].d+=h.d||""}for(var d in s){var p=s[d].animation;p.indexOf(i)>=0&&(r=p)}}})),r){t.d=!1;var s=Sde(a,n);return r.replace(i,s)}}(e,t,n);if(s)a.push(s);else if(!o)return}else if(!o)return;for(var l={},u=0;u<o;u++){var c=i[u],f=[c.getMaxTime()/1e3+"s"],h=kde(c.getClip().easing),d=c.getDelay();h?f.push(h):f.push("linear"),d&&f.push(d/1e3+"s"),c.getLoop()&&f.push("infinite");var p=f.join(" ");l[p]=l[p]||[p,[]],l[p][1].push(c)}function g(i){var o,a=i[1],s=a.length,l={},u={},c={};function f(e,t,n){for(var r=e.getTracks(),i=e.getMaxTime(),o=0;o<r.length;o++){var a=r[o];if(a.needsAnimate()){var s=a.keyframes,l=a.propName;if(n&&(l=n(l)),l)for(var u=0;u<s.length;u++){var c=s[u],f=Math.round(c.time/i*100)+"%",h=kde(c.easing),d=c.rawValue;(n3(d)||i3(d))&&(t[f]=t[f]||{},t[f][l]=c.rawValue,h&&(t[f]["animation-timing-function"]=h))}}}}for(var h=0;h<s;h++){(_=(x=a[h]).targetName)?"shape"===_&&f(x,u):!r&&f(x,l)}for(var d in l){var p={};C8(p,e),$2(p,l[d]);var g=I6(p),m=l[d]["animation-timing-function"];c[d]=g?{transform:g}:{},xde(c[d],p),m&&(c[d]["animation-timing-function"]=m)}var b=!0;for(var d in u){c[d]=c[d]||{};var v=!o;m=u[d]["animation-timing-function"];v&&(o=new fee);var y=o.len();o.reset(),c[d].d=wde(e,u[d],o);var w=o.len();if(!v&&y!==w){b=!1;break}m&&(c[d]["animation-timing-function"]=m)}if(!b)for(var d in c)delete c[d].d;if(!r)for(h=0;h<s;h++){var x,_;"style"===(_=(x=a[h]).targetName)&&f(x,c,(function(e){return _de[e]}))}var S,k=Z2(c),C=!0;for(h=1;h<k.length;h++){var E=k[h-1],I=k[h];if(c[E][yde]!==c[I][yde]){C=!1;break}S=c[E][yde]}if(C&&S){for(var d in c)c[d][yde]&&delete c[d][yde];t[yde]=S}if(K2(k,(function(e){return Z2(c[e]).length>0})).length)return Sde(c,n)+" "+i[0]+" both"}for(var m in l){(s=g(l[m]))&&a.push(s)}if(a.length){var b=n.zrId+"-cls-"+n.cssClassIdx++;n.cssNodes["."+b]={animation:a.join(",")},t.class=b}}var Ede=Math.round;function Ide(e){return e&&n3(e.src)}function Mde(e){return e&&t3(e.toDataURL)}function Tde(e,t,n,r){cde((function(i,o){var a="fill"===i||"stroke"===i;a&&k6(o)?zde(t,e,i,r):a&&x6(o)?Bde(n,e,i,r):e[i]=o}),t,n,!1),function(e,t,n){var r=e.style;if(function(e){return e&&(e.shadowBlur||e.shadowOffsetX||e.shadowOffsetY)}(r)){var i=function(e){var t=e.style,n=e.getGlobalScale();return[t.shadowColor,(t.shadowBlur||0).toFixed(2),(t.shadowOffsetX||0).toFixed(2),(t.shadowOffsetY||0).toFixed(2),n[0],n[1]].join(",")}(e),o=n.shadowCache,a=o[i];if(!a){var s=e.getGlobalScale(),l=s[0],u=s[1];if(!l||!u)return;var c=r.shadowOffsetX||0,f=r.shadowOffsetY||0,h=r.shadowBlur,d=p6(r.shadowColor),p=d.opacity,g=d.color,m=h/2/l+" "+h/2/u;a=n.zrId+"-s"+n.shadowIdx++,n.defs[a]=pde("filter",a,{id:a,x:"-100%",y:"-100%",width:"300%",height:"300%"},[pde("feDropShadow","",{dx:c/l,dy:f/u,stdDeviation:m,"flood-color":g,"flood-opacity":p})]),o[i]=a}t.filter=C6(a)}}(n,e,r)}function Ade(e){return m6(e[0]-1)&&m6(e[1])&&m6(e[2])&&m6(e[3]-1)}function Pde(e,t,n){if(t&&(!function(e){return m6(e[4])&&m6(e[5])}(t)||!Ade(t))){var r=n?10:1e4;e.transform=Ade(t)?"translate("+Ede(t[4]*r)/r+" "+Ede(t[5]*r)/r+")":function(e){return"matrix("+b6(e[0])+","+b6(e[1])+","+b6(e[2])+","+b6(e[3])+","+v6(e[4])+","+v6(e[5])+")"}(t)}}function Ode(e,t,n){for(var r=e.points,i=[],o=0;o<r.length;o++)i.push(Ede(r[o][0]*n)/n),i.push(Ede(r[o][1]*n)/n);t.points=i.join(" ")}function Dde(e){return!e.smooth}var Rde,Lde,Nde={circle:[(Rde=["cx","cy","r"],Lde=X2(Rde,(function(e){return"string"==typeof e?[e,e]:e})),function(e,t,n){for(var r=0;r<Lde.length;r++){var i=Lde[r],o=e[i[0]];null!=o&&(t[i[1]]=Ede(o*n)/n)}})],polyline:[Ode,Dde],polygon:[Ode,Dde]};function jde(e,t){var n=e.style,r=e.shape,i=Nde[e.type],o={},a=t.animation,s="path",l=e.style.strokePercent,u=t.compress&&E6(e)||4;if(!i||t.willUpdate||i[1]&&!i[1](r)||a&&function(e){for(var t=e.animators,n=0;n<t.length;n++)if("shape"===t[n].targetName)return!0;return!1}(e)||l<1){var c=!e.path||e.shapeChanged();e.path||e.createPathProxy();var f=e.path;c&&(f.beginPath(),e.buildPath(f,e.shape),e.pathUpdated());var h=f.getVersion(),d=e,p=d.__svgPathBuilder;d.__svgPathVersion===h&&p&&l===d.__svgPathStrokePercent||(p||(p=d.__svgPathBuilder=new ode),p.reset(u),f.rebuildPath(p,l),p.generateStr(),d.__svgPathVersion=h,d.__svgPathStrokePercent=l),o.d=p.getStr()}else{s=e.type;var g=Math.pow(10,u);i[0](r,o,g)}return Pde(o,e.transform),Tde(o,n,e,t),t.animation&&Cde(e,o,t),pde(s,e.id+"",o)}function Fde(e,t){return e instanceof Oee?jde(e,t):e instanceof zee?function(e,t){var n=e.style,r=n.image;if(r&&!n3(r)&&(Ide(r)?r=r.src:Mde(r)&&(r=r.toDataURL())),r){var i=n.x||0,o=n.y||0,a={href:r,width:n.width,height:n.height};return i&&(a.x=i),o&&(a.y=o),Pde(a,e.transform),Tde(a,n,e,t),t.animation&&Cde(e,a,t),pde("image",e.id+"",a)}}(e,t):e instanceof Lee?function(e,t){var n=e.style,r=n.text;if(null!=r&&(r+=""),r&&!isNaN(n.x)&&!isNaN(n.y)){var i=n.font||w2,o=n.x||0,a=function(e,t,n){return"top"===n?e+=t/2:"bottom"===n&&(e-=t/2),e}(n.y||0,D8(i),n.textBaseline),s={"dominant-baseline":"central","text-anchor":y6[n.textAlign]||n.textAlign};if(nte(n)){var l="",u=n.fontStyle,c=ete(n.fontSize);if(!parseFloat(c))return;var f=n.fontFamily||y2,h=n.fontWeight;l+="font-size:"+c+";font-family:"+f+";",u&&"normal"!==u&&(l+="font-style:"+u+";"),h&&"normal"!==h&&(l+="font-weight:"+h+";"),s.style=l}else s.style="font: "+i;return r.match(/\s/)&&(s["xml:space"]="preserve"),o&&(s.x=o),a&&(s.y=a),Pde(s,e.transform),Tde(s,n,e,t),t.animation&&Cde(e,s,t),pde("text",e.id+"",s,void 0,r)}}(e,t):void 0}function zde(e,t,n,r){var i,o=e[n],a={gradientUnits:o.global?"userSpaceOnUse":"objectBoundingBox"};if(_6(o))i="linearGradient",a.x1=o.x,a.y1=o.y,a.x2=o.x2,a.y2=o.y2;else{if(!S6(o))return void 0;i="radialGradient",a.cx=h3(o.x,.5),a.cy=h3(o.y,.5),a.r=h3(o.r,.5)}for(var s=o.colorStops,l=[],u=0,c=s.length;u<c;++u){var f=100*v6(s[u].offset)+"%",h=p6(s[u].color),d=h.color,p=h.opacity,g={offset:f};g["stop-color"]=d,p<1&&(g["stop-opacity"]=p),l.push(pde("stop",u+"",g))}var m=gde(pde(i,"",a,l)),b=r.gradientCache,v=b[m];v||(v=r.zrId+"-g"+r.gradientIdx++,b[m]=v,a.id=v,r.defs[v]=pde(i,v,a,l)),t[n]=C6(v)}function Bde(e,t,n,r){var i,o=e.style[n],a=e.getBoundingRect(),s={},l=o.repeat,u="no-repeat"===l,c="repeat-x"===l,f="repeat-y"===l;if(w6(o)){var h=o.imageWidth,d=o.imageHeight,p=void 0,g=o.image;if(n3(g)?p=g:Ide(g)?p=g.src:Mde(g)&&(p=g.toDataURL()),"undefined"==typeof Image){var m="Image width/height must been given explictly in svg-ssr renderer.";m3(h,m),m3(d,m)}else if(null==h||null==d){var b=function(e,t){if(e){var n=e.elm,r=h||t.width,i=d||t.height;"pattern"===e.tag&&(c?(i=1,r/=a.width):f&&(r=1,i/=a.height)),e.attrs.width=r,e.attrs.height=i,n&&(n.setAttribute("width",r),n.setAttribute("height",i))}},v=s7(p,null,e,(function(e){u||b(_,e),b(i,e)}));v&&v.width&&v.height&&(h=h||v.width,d=d||v.height)}i=pde("image","img",{href:p,width:h,height:d}),s.width=h,s.height=d}else o.svgElement&&(i=z2(o.svgElement),s.width=o.svgWidth,s.height=o.svgHeight);if(i){var y,w;u?y=w=1:c?(w=1,y=s.width/a.width):f?(y=1,w=s.height/a.height):s.patternUnits="userSpaceOnUse",null==y||isNaN(y)||(s.width=y),null==w||isNaN(w)||(s.height=w);var x=I6(o);x&&(s.patternTransform=x);var _=pde("pattern","",s,[i]),S=gde(_),k=r.patternCache,C=k[S];C||(C=r.zrId+"-p"+r.patternIdx++,k[S]=C,s.id=C,_=r.defs[C]=pde("pattern",C,s,[i])),t[n]=C6(C)}}function Vde(e,t,n){var r=n.clipPathCache,i=n.defs,o=r[e.id];if(!o){var a={id:o=n.zrId+"-c"+n.clipPathIdx++};r[e.id]=o,i[o]=pde("clipPath",o,a,[jde(e,n)])}t["clip-path"]=C6(o)}function $de(e){return document.createTextNode(e)}function Hde(e,t,n){e.insertBefore(t,n)}function Gde(e,t){e.removeChild(t)}function Wde(e,t){e.appendChild(t)}function Ude(e){return e.parentNode}function qde(e){return e.nextSibling}function Xde(e,t){e.textContent=t}var Yde=pde("","");function Kde(e){return void 0===e}function Zde(e){return void 0!==e}function Qde(e,t,n){for(var r={},i=t;i<=n;++i){var o=e[i].key;void 0!==o&&(r[o]=i)}return r}function Jde(e,t){var n=e.key===t.key;return e.tag===t.tag&&n}function epe(e){var t,n=e.children,r=e.tag;if(Zde(r)){var i=e.elm=dde(r);if(rpe(Yde,e),e3(n))for(t=0;t<n.length;++t){var o=n[t];null!=o&&Wde(i,epe(o))}else Zde(e.text)&&!o3(e.text)&&Wde(i,$de(e.text))}else e.elm=$de(e.text);return e.elm}function tpe(e,t,n,r,i){for(;r<=i;++r){var o=n[r];null!=o&&Hde(e,epe(o),t)}}function npe(e,t,n,r){for(;n<=r;++n){var i=t[n];if(null!=i)if(Zde(i.tag))Gde(Ude(i.elm),i.elm);else Gde(e,i.elm)}}function rpe(e,t){var n,r=t.elm,i=e&&e.attrs||{},o=t.attrs||{};if(i!==o){for(n in o){var a=o[n];i[n]!==a&&(!0===a?r.setAttribute(n,""):!1===a?r.removeAttribute(n):120!==n.charCodeAt(0)?r.setAttribute(n,a):"xmlns:xlink"===n||"xmlns"===n?r.setAttributeNS("http://www.w3.org/2000/xmlns/",n,a):58===n.charCodeAt(3)?r.setAttributeNS("http://www.w3.org/XML/1998/namespace",n,a):58===n.charCodeAt(5)?r.setAttributeNS(hde,n,a):r.setAttribute(n,a))}for(n in i)n in o||r.removeAttribute(n)}}function ipe(e,t){var n=t.elm=e.elm,r=e.children,i=t.children;e!==t&&(rpe(e,t),Kde(t.text)?Zde(r)&&Zde(i)?r!==i&&function(e,t,n){for(var r,i,o,a=0,s=0,l=t.length-1,u=t[0],c=t[l],f=n.length-1,h=n[0],d=n[f];a<=l&&s<=f;)null==u?u=t[++a]:null==c?c=t[--l]:null==h?h=n[++s]:null==d?d=n[--f]:Jde(u,h)?(ipe(u,h),u=t[++a],h=n[++s]):Jde(c,d)?(ipe(c,d),c=t[--l],d=n[--f]):Jde(u,d)?(ipe(u,d),Hde(e,u.elm,qde(c.elm)),u=t[++a],d=n[--f]):Jde(c,h)?(ipe(c,h),Hde(e,c.elm,u.elm),c=t[--l],h=n[++s]):(Kde(r)&&(r=Qde(t,a,l)),Kde(i=r[h.key])||(o=t[i]).tag!==h.tag?Hde(e,epe(h),u.elm):(ipe(o,h),t[i]=void 0,Hde(e,o.elm,u.elm)),h=n[++s]);(a<=l||s<=f)&&(a>l?tpe(e,null==n[f+1]?null:n[f+1].elm,n,s,f):npe(e,t,a,l))}(n,r,i):Zde(i)?(Zde(e.text)&&Xde(n,""),tpe(n,null,i,0,i.length-1)):Zde(r)?npe(n,r,0,r.length-1):Zde(e.text)&&Xde(n,""):e.text!==t.text&&(Zde(r)&&npe(n,r,0,r.length-1),Xde(n,t.text)))}var ope=0,ape=function(){function e(e,t,n){if(this.type="svg",this.refreshHover=function(){0},this.configLayer=function(){0},this.storage=t,this._opts=n=$2({},n),this.root=e,this._id="zr"+ope++,this._oldVNode=bde(n.width,n.height),e&&!n.ssr){var r=this._viewport=document.createElement("div");r.style.cssText="position:relative;overflow:hidden";var i=this._svgDom=this._oldVNode.elm=dde("svg");rpe(null,this._oldVNode),r.appendChild(i),e.appendChild(r)}this.resize(n.width,n.height)}return e.prototype.getType=function(){return this.type},e.prototype.getViewportRoot=function(){return this._viewport},e.prototype.getViewportRootOffset=function(){var e=this.getViewportRoot();if(e)return{offsetLeft:e.offsetLeft||0,offsetTop:e.offsetTop||0}},e.prototype.getSvgDom=function(){return this._svgDom},e.prototype.refresh=function(){if(this.root){var e=this.renderToVNode({willUpdate:!0});e.attrs.style="position:absolute;left:0;top:0;user-select:none",function(e,t){if(Jde(e,t))ipe(e,t);else{var n=e.elm,r=Ude(n);epe(t),null!==r&&(Hde(r,t.elm,qde(n)),npe(r,[e],0,0))}}(this._oldVNode,e),this._oldVNode=e}},e.prototype.renderOneToVNode=function(e){return Fde(e,mde(this._id))},e.prototype.renderToVNode=function(e){e=e||{};var t=this.storage.getDisplayList(!0),n=this._width,r=this._height,i=mde(this._id);i.animation=e.animation,i.willUpdate=e.willUpdate,i.compress=e.compress;var o=[],a=this._bgVNode=function(e,t,n,r){var i;if(n&&"none"!==n)if(i=pde("rect","bg",{width:e,height:t,x:"0",y:"0",id:"0"}),k6(n))zde({fill:n},i.attrs,"fill",r);else if(x6(n))Bde({style:{fill:n},dirty:T3,getBoundingRect:function(){return{width:e,height:t}}},i.attrs,"fill",r);else{var o=p6(n),a=o.color,s=o.opacity;i.attrs.fill=a,s<1&&(i.attrs["fill-opacity"]=s)}return i}(n,r,this._backgroundColor,i);a&&o.push(a);var s=e.compress?null:this._mainVNode=pde("g","main",{},[]);this._paintList(t,i,s?s.children:o),s&&o.push(s);var l=X2(Z2(i.defs),(function(e){return i.defs[e]}));if(l.length&&o.push(pde("defs","defs",{},l)),e.animation){var u=function(e,t,n){var r=(n=n||{}).newline?"\n":"",i=" {"+r,o=r+"}",a=X2(Z2(e),(function(t){return t+i+X2(Z2(e[t]),(function(n){return n+":"+e[t][n]+";"})).join(r)+o})).join(r),s=X2(Z2(t),(function(e){return"@keyframes "+e+i+X2(Z2(t[e]),(function(n){return n+i+X2(Z2(t[e][n]),(function(r){var i=t[e][n][r];return"d"===r&&(i='path("'+i+'")'),r+":"+i+";"})).join(r)+o})).join(r)+o})).join(r);return a||s?["<![CDATA[",a,s,"]]>"].join(r):""}(i.cssNodes,i.cssAnims,{newline:!0});if(u){var c=pde("style","stl",{},[],u);o.push(c)}}return bde(n,r,o,e.useViewBox)},e.prototype.renderToString=function(e){return e=e||{},gde(this.renderToVNode({animation:h3(e.cssAnimation,!0),willUpdate:!1,compress:!0,useViewBox:h3(e.useViewBox,!0)}),{newline:!0})},e.prototype.setBackgroundColor=function(e){this._backgroundColor=e},e.prototype.getSvgRoot=function(){return this._mainVNode&&this._mainVNode.elm},e.prototype._paintList=function(e,t,n){for(var r,i,o=e.length,a=[],s=0,l=0,u=0;u<o;u++){var c=e[u];if(!c.invisible){var f=c.__clipPaths,h=f&&f.length||0,d=i&&i.length||0,p=void 0;for(p=Math.max(h-1,d-1);p>=0&&(!f||!i||f[p]!==i[p]);p--);for(var g=d-1;g>p;g--)r=a[--s-1];for(var m=p+1;m<h;m++){var b={};Vde(f[m],b,t);var v=pde("g","clip-g-"+l++,b,[]);(r?r.children:n).push(v),a[s++]=v,r=v}i=f;var y=Fde(c,t);y&&(r?r.children:n).push(y)}}},e.prototype.resize=function(e,t){var n=this._opts,r=this.root,i=this._viewport;if(null!=e&&(n.width=e),null!=t&&(n.height=t),r&&i&&(i.style.display="none",e=Tce(r,0,n),t=Tce(r,1,n),i.style.display=""),this._width!==e||this._height!==t){if(this._width=e,this._height=t,i){var o=i.style;o.width=e+"px",o.height=t+"px"}if(x6(this._backgroundColor))this.refresh();else{var a=this._svgDom;a&&(a.setAttribute("width",e),a.setAttribute("height",t));var s=this._bgVNode&&this._bgVNode.elm;s&&(s.setAttribute("width",e),s.setAttribute("height",t))}}},e.prototype.getWidth=function(){return this._width},e.prototype.getHeight=function(){return this._height},e.prototype.dispose=function(){this.root&&(this.root.innerHTML=""),this._svgDom=this._viewport=this.storage=this._oldVNode=this._bgVNode=this._mainVNode=null},e.prototype.clear=function(){this._svgDom&&(this._svgDom.innerHTML=null),this._oldVNode=null},e.prototype.toDataURL=function(e){var t=this.renderToString(),n="data:image/svg+xml;";return e?(t=M6(t))&&n+"base64,"+t:n+"charset=UTF-8,"+encodeURIComponent(t)},e}();const spe=ape;function lpe(e){return null==e?0:e.length||1}function upe(e){return e}var cpe=function(){function e(e,t,n,r,i,o){this._old=e,this._new=t,this._oldKeyGetter=n||upe,this._newKeyGetter=r||upe,this.context=i,this._diffModeMultiple="multiple"===o}return e.prototype.add=function(e){return this._add=e,this},e.prototype.update=function(e){return this._update=e,this},e.prototype.updateManyToOne=function(e){return this._updateManyToOne=e,this},e.prototype.updateOneToMany=function(e){return this._updateOneToMany=e,this},e.prototype.updateManyToMany=function(e){return this._updateManyToMany=e,this},e.prototype.remove=function(e){return this._remove=e,this},e.prototype.execute=function(){this[this._diffModeMultiple?"_executeMultiple":"_executeOneToOne"]()},e.prototype._executeOneToOne=function(){var e=this._old,t=this._new,n={},r=new Array(e.length),i=new Array(t.length);this._initIndexMap(e,null,r,"_oldKeyGetter"),this._initIndexMap(t,n,i,"_newKeyGetter");for(var o=0;o<e.length;o++){var a=r[o],s=n[a],l=lpe(s);if(l>1){var u=s.shift();1===s.length&&(n[a]=s[0]),this._update&&this._update(u,o)}else 1===l?(n[a]=null,this._update&&this._update(s,o)):this._remove&&this._remove(o)}this._performRestAdd(i,n)},e.prototype._executeMultiple=function(){var e=this._old,t=this._new,n={},r={},i=[],o=[];this._initIndexMap(e,n,i,"_oldKeyGetter"),this._initIndexMap(t,r,o,"_newKeyGetter");for(var a=0;a<i.length;a++){var s=i[a],l=n[s],u=r[s],c=lpe(l),f=lpe(u);if(c>1&&1===f)this._updateManyToOne&&this._updateManyToOne(u,l),r[s]=null;else if(1===c&&f>1)this._updateOneToMany&&this._updateOneToMany(u,l),r[s]=null;else if(1===c&&1===f)this._update&&this._update(u,l),r[s]=null;else if(c>1&&f>1)this._updateManyToMany&&this._updateManyToMany(u,l),r[s]=null;else if(c>1)for(var h=0;h<c;h++)this._remove&&this._remove(l[h]);else this._remove&&this._remove(l)}this._performRestAdd(o,r)},e.prototype._performRestAdd=function(e,t){for(var n=0;n<e.length;n++){var r=e[n],i=t[r],o=lpe(i);if(o>1)for(var a=0;a<o;a++)this._add&&this._add(i[a]);else 1===o&&this._add&&this._add(i);t[r]=null}},e.prototype._initIndexMap=function(e,t,n,r){for(var i=this._diffModeMultiple,o=0;o<e.length;o++){var a="_ec_"+this[r](e[o],o);if(i||(n[o]=a),t){var s=t[a],l=lpe(s);0===l?(t[a]=o,i&&n.push(a)):1===l?t[a]=[s,o]:s.push(o)}}},e}();const fpe=cpe;var hpe=function(){function e(e,t){this._encode=e,this._schema=t}return e.prototype.get=function(){return{fullDimensions:this._getFullDimensionNames(),encode:this._encode}},e.prototype._getFullDimensionNames=function(){return this._cachedDimNames||(this._cachedDimNames=this._schema?this._schema.makeOutputDimensionNames():[]),this._cachedDimNames},e}();function dpe(e,t){return e.hasOwnProperty(t)||(e[t]=[]),e[t]}function ppe(e){return"category"===e?"ordinal":"time"===e?"time":"float"}const gpe=function(e){this.otherDims={},null!=e&&$2(this,e)};var mpe=j9(),bpe={float:"f",int:"i",ordinal:"o",number:"n",time:"t"},vpe=function(){function e(e){this.dimensions=e.dimensions,this._dimOmitted=e.dimensionOmitted,this.source=e.source,this._fullDimCount=e.fullDimensionCount,this._updateDimOmitted(e.dimensionOmitted)}return e.prototype.isDimensionOmitted=function(){return this._dimOmitted},e.prototype._updateDimOmitted=function(e){this._dimOmitted=e,e&&(this._dimNameMap||(this._dimNameMap=xpe(this.source)))},e.prototype.getSourceDimensionIndex=function(e){return h3(this._dimNameMap.get(e),-1)},e.prototype.getSourceDimension=function(e){var t=this.source.dimensionsDefine;if(t)return t[e]},e.prototype.makeStoreSchema=function(){for(var e=this._fullDimCount,t=Toe(this.source),n=!_pe(e),r="",i=[],o=0,a=0;o<e;o++){var s=void 0,l=void 0,u=void 0,c=this.dimensions[a];if(c&&c.storeDimIndex===o)s=t?c.name:null,l=c.type,u=c.ordinalMeta,a++;else{var f=this.getSourceDimension(o);f&&(s=t?f.name:null,l=f.type)}i.push({property:s,type:l,ordinalMeta:u}),!t||null==s||c&&c.isCalculationCoord||(r+=n?s.replace(/\`/g,"`1").replace(/\$/g,"`2"):s),r+="$",r+=bpe[l]||"f",u&&(r+=u.uid),r+="$"}var h=this.source;return{dimensions:i,hash:[h.seriesLayoutBy,h.startIndex,r].join("$$")}},e.prototype.makeOutputDimensionNames=function(){for(var e=[],t=0,n=0;t<this._fullDimCount;t++){var r=void 0,i=this.dimensions[n];if(i&&i.storeDimIndex===t)i.isCalculationCoord||(r=i.name),n++;else{var o=this.getSourceDimension(t);o&&(r=o.name)}e.push(r)}return e},e.prototype.appendCalculationDimension=function(e){this.dimensions.push(e),e.isCalculationCoord=!0,this._fullDimCount++,this._updateDimOmitted(!0)},e}();function ype(e){return e instanceof vpe}function wpe(e){for(var t=k3(),n=0;n<(e||[]).length;n++){var r=e[n],i=o3(r)?r.name:r;null!=i&&null==t.get(i)&&t.set(i,n)}return t}function xpe(e){var t=mpe(e);return t.dimNameMap||(t.dimNameMap=wpe(e.dimensionsDefine))}function _pe(e){return e>30}var Spe,kpe,Cpe,Epe,Ipe,Mpe,Tpe,Ape=o3,Ppe=X2,Ope="undefined"==typeof Int32Array?Array:Int32Array,Dpe=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_dimSummary","userOutput","_rawData","_dimValueGetter","_nameDimIdx","_idDimIdx","_nameRepeatCount"],Rpe=["_approximateExtent"],Lpe=function(){function e(e,t){var n;this.type="list",this._dimOmitted=!1,this._nameList=[],this._idList=[],this._visual={},this._layout={},this._itemVisuals=[],this._itemLayouts=[],this._graphicEls=[],this._approximateExtent={},this._calculationInfo={},this.hasItemOption=!1,this.TRANSFERABLE_METHODS=["cloneShallow","downSample","lttbDownSample","map"],this.CHANGABLE_METHODS=["filterSelf","selectRange"],this.DOWNSAMPLE_METHODS=["downSample","lttbDownSample"];var r=!1;ype(e)?(n=e.dimensions,this._dimOmitted=e.isDimensionOmitted(),this._schema=e):(r=!0,n=e),n=n||["x","y"];for(var i={},o=[],a={},s=!1,l={},u=0;u<n.length;u++){var c=n[u],f=n3(c)?new gpe({name:c}):c instanceof gpe?c:new gpe(c),h=f.name;f.type=f.type||"float",f.coordDim||(f.coordDim=h,f.coordDimIndex=0);var d=f.otherDims=f.otherDims||{};o.push(h),i[h]=f,null!=l[h]&&(s=!0),f.createInvertedIndices&&(a[h]=[]),0===d.itemName&&(this._nameDimIdx=u),0===d.itemId&&(this._idDimIdx=u),r&&(f.storeDimIndex=u)}if(this.dimensions=o,this._dimInfos=i,this._initGetDimensionInfo(s),this.hostModel=t,this._invertedIndicesMap=a,this._dimOmitted){var p=this._dimIdxToName=k3();q2(o,(function(e){p.set(i[e].storeDimIndex,e)}))}}return e.prototype.getDimension=function(e){var t=this._recognizeDimIndex(e);if(null==t)return e;if(t=e,!this._dimOmitted)return this.dimensions[t];var n=this._dimIdxToName.get(t);if(null!=n)return n;var r=this._schema.getSourceDimension(t);return r?r.name:void 0},e.prototype.getDimensionIndex=function(e){var t=this._recognizeDimIndex(e);if(null!=t)return t;if(null==e)return-1;var n=this._getDimInfo(e);return n?n.storeDimIndex:this._dimOmitted?this._schema.getSourceDimensionIndex(e):-1},e.prototype._recognizeDimIndex=function(e){if(i3(e)||null!=e&&!isNaN(e)&&!this._getDimInfo(e)&&(!this._dimOmitted||this._schema.getSourceDimensionIndex(e)<0))return+e},e.prototype._getStoreDimIndex=function(e){return this.getDimensionIndex(e)},e.prototype.getDimensionInfo=function(e){return this._getDimInfo(this.getDimension(e))},e.prototype._initGetDimensionInfo=function(e){var t=this._dimInfos;this._getDimInfo=e?function(e){return t.hasOwnProperty(e)?t[e]:void 0}:function(e){return t[e]}},e.prototype.getDimensionsOnCoord=function(){return this._dimSummary.dataDimsOnCoord.slice()},e.prototype.mapDimension=function(e,t){var n=this._dimSummary;if(null==t)return n.encodeFirstDimNotExtra[e];var r=n.encode[e];return r?r[t]:null},e.prototype.mapDimensionsAll=function(e){return(this._dimSummary.encode[e]||[]).slice()},e.prototype.getStore=function(){return this._store},e.prototype.initData=function(e,t,n){var r,i=this;if(e instanceof _ae&&(r=e),!r){var o=this.dimensions,a=Soe(e)||U2(e)?new Aoe(e,o.length):e;r=new _ae;var s=Ppe(o,(function(e){return{type:i._dimInfos[e].type,property:e}}));r.initData(a,s,n)}this._store=r,this._nameList=(t||[]).slice(),this._idList=[],this._nameRepeatCount={},this._doInit(0,r.count()),this._dimSummary=function(e,t){var n={},r=n.encode={},i=k3(),o=[],a=[],s={};q2(e.dimensions,(function(t){var n,l=e.getDimensionInfo(t),u=l.coordDim;if(u){var c=l.coordDimIndex;dpe(r,u)[c]=t,l.isExtraCoord||(i.set(u,1),"ordinal"!==(n=l.type)&&"time"!==n&&(o[0]=t),dpe(s,u)[c]=e.getDimensionIndex(l.name)),l.defaultTooltip&&a.push(t)}uie.each((function(e,t){var n=dpe(r,t),i=l.otherDims[t];null!=i&&!1!==i&&(n[i]=l.name)}))}));var l=[],u={};i.each((function(e,t){var n=r[t];u[t]=n[0],l=l.concat(n)})),n.dataDimsOnCoord=l,n.dataDimIndicesOnCoord=X2(l,(function(t){return e.getDimensionInfo(t).storeDimIndex})),n.encodeFirstDimNotExtra=u;var c=r.label;c&&c.length&&(o=c.slice());var f=r.tooltip;return f&&f.length?a=f.slice():a.length||(a=o.slice()),r.defaultedLabel=o,r.defaultedTooltip=a,n.userOutput=new hpe(s,t),n}(this,this._schema),this.userOutput=this._dimSummary.userOutput},e.prototype.appendData=function(e){var t=this._store.appendData(e);this._doInit(t[0],t[1])},e.prototype.appendValues=function(e,t){var n=this._store.appendValues(e,t.length),r=n.start,i=n.end,o=this._shouldMakeIdFromName();if(this._updateOrdinalMeta(),t)for(var a=r;a<i;a++){var s=a-r;this._nameList[a]=t[s],o&&Tpe(this,a)}},e.prototype._updateOrdinalMeta=function(){for(var e=this._store,t=this.dimensions,n=0;n<t.length;n++){var r=this._dimInfos[t[n]];r.ordinalMeta&&e.collectOrdinalMeta(r.storeDimIndex,r.ordinalMeta)}},e.prototype._shouldMakeIdFromName=function(){var e=this._store.getProvider();return null==this._idDimIdx&&e.getSource().sourceFormat!==pie&&!e.fillStorage},e.prototype._doInit=function(e,t){if(!(e>=t)){var n=this._store.getProvider();this._updateOrdinalMeta();var r=this._nameList,i=this._idList;if(n.getSource().sourceFormat===cie&&!n.pure)for(var o=[],a=e;a<t;a++){var s=n.getItem(a,o);if(!this.hasItemOption&&T9(s)&&(this.hasItemOption=!0),s){var l=s.name;null==r[a]&&null!=l&&(r[a]=D9(l,null));var u=s.id;null==i[a]&&null!=u&&(i[a]=D9(u,null))}}if(this._shouldMakeIdFromName())for(a=e;a<t;a++)Tpe(this,a);Spe(this)}},e.prototype.getApproximateExtent=function(e){return this._approximateExtent[e]||this._store.getDataExtent(this._getStoreDimIndex(e))},e.prototype.setApproximateExtent=function(e,t){t=this.getDimension(t),this._approximateExtent[t]=e.slice()},e.prototype.getCalculationInfo=function(e){return this._calculationInfo[e]},e.prototype.setCalculationInfo=function(e,t){Ape(e)?$2(this._calculationInfo,e):this._calculationInfo[e]=t},e.prototype.getName=function(e){var t=this.getRawIndex(e),n=this._nameList[t];return null==n&&null!=this._nameDimIdx&&(n=Cpe(this,this._nameDimIdx,t)),null==n&&(n=""),n},e.prototype._getCategory=function(e,t){var n=this._store.get(e,t),r=this._store.getOrdinalMeta(e);return r?r.categories[n]:n},e.prototype.getId=function(e){return kpe(this,this.getRawIndex(e))},e.prototype.count=function(){return this._store.count()},e.prototype.get=function(e,t){var n=this._store,r=this._dimInfos[e];if(r)return n.get(r.storeDimIndex,t)},e.prototype.getByRawIndex=function(e,t){var n=this._store,r=this._dimInfos[e];if(r)return n.getByRawIndex(r.storeDimIndex,t)},e.prototype.getIndices=function(){return this._store.getIndices()},e.prototype.getDataExtent=function(e){return this._store.getDataExtent(this._getStoreDimIndex(e))},e.prototype.getSum=function(e){return this._store.getSum(this._getStoreDimIndex(e))},e.prototype.getMedian=function(e){return this._store.getMedian(this._getStoreDimIndex(e))},e.prototype.getValues=function(e,t){var n=this,r=this._store;return e3(e)?r.getValues(Ppe(e,(function(e){return n._getStoreDimIndex(e)})),t):r.getValues(e)},e.prototype.hasValue=function(e){for(var t=this._dimSummary.dataDimIndicesOnCoord,n=0,r=t.length;n<r;n++)if(isNaN(this._store.get(t[n],e)))return!1;return!0},e.prototype.indexOfName=function(e){for(var t=0,n=this._store.count();t<n;t++)if(this.getName(t)===e)return t;return-1},e.prototype.getRawIndex=function(e){return this._store.getRawIndex(e)},e.prototype.indexOfRawIndex=function(e){return this._store.indexOfRawIndex(e)},e.prototype.rawIndexOf=function(e,t){var n=(e&&this._invertedIndicesMap[e])[t];return null==n||isNaN(n)?-1:n},e.prototype.indicesOfNearest=function(e,t,n){return this._store.indicesOfNearest(this._getStoreDimIndex(e),t,n)},e.prototype.each=function(e,t,n){t3(e)&&(n=t,t=e,e=[]);var r=n||this,i=Ppe(Epe(e),this._getStoreDimIndex,this);this._store.each(i,r?Q2(t,r):t)},e.prototype.filterSelf=function(e,t,n){t3(e)&&(n=t,t=e,e=[]);var r=n||this,i=Ppe(Epe(e),this._getStoreDimIndex,this);return this._store=this._store.filter(i,r?Q2(t,r):t),this},e.prototype.selectRange=function(e){var t=this,n={},r=Z2(e),i=[];return q2(r,(function(r){var o=t._getStoreDimIndex(r);n[o]=e[r],i.push(o)})),this._store=this._store.selectRange(n),this},e.prototype.mapArray=function(e,t,n){t3(e)&&(n=t,t=e,e=[]),n=n||this;var r=[];return this.each(e,(function(){r.push(t&&t.apply(this,arguments))}),n),r},e.prototype.map=function(e,t,n,r){var i=n||r||this,o=Ppe(Epe(e),this._getStoreDimIndex,this),a=Mpe(this);return a._store=this._store.map(o,i?Q2(t,i):t),a},e.prototype.modify=function(e,t,n,r){var i=n||r||this;var o=Ppe(Epe(e),this._getStoreDimIndex,this);this._store.modify(o,i?Q2(t,i):t)},e.prototype.downSample=function(e,t,n,r){var i=Mpe(this);return i._store=this._store.downSample(this._getStoreDimIndex(e),t,n,r),i},e.prototype.lttbDownSample=function(e,t){var n=Mpe(this);return n._store=this._store.lttbDownSample(this._getStoreDimIndex(e),t),n},e.prototype.getRawDataItem=function(e){return this._store.getRawDataItem(e)},e.prototype.getItemModel=function(e){var t=this.hostModel,n=this.getRawDataItem(e);return new Yne(n,t,t&&t.ecModel)},e.prototype.diff=function(e){var t=this;return new fpe(e?e.getStore().getIndices():[],this.getStore().getIndices(),(function(t){return kpe(e,t)}),(function(e){return kpe(t,e)}))},e.prototype.getVisual=function(e){var t=this._visual;return t&&t[e]},e.prototype.setVisual=function(e,t){this._visual=this._visual||{},Ape(e)?$2(this._visual,e):this._visual[e]=t},e.prototype.getItemVisual=function(e,t){var n=this._itemVisuals[e],r=n&&n[t];return null==r?this.getVisual(t):r},e.prototype.hasItemVisual=function(){return this._itemVisuals.length>0},e.prototype.ensureUniqueItemVisual=function(e,t){var n=this._itemVisuals,r=n[e];r||(r=n[e]={});var i=r[t];return null==i&&(e3(i=this.getVisual(t))?i=i.slice():Ape(i)&&(i=$2({},i)),r[t]=i),i},e.prototype.setItemVisual=function(e,t,n){var r=this._itemVisuals[e]||{};this._itemVisuals[e]=r,Ape(t)?$2(r,t):r[t]=n},e.prototype.clearAllVisual=function(){this._visual={},this._itemVisuals=[]},e.prototype.setLayout=function(e,t){Ape(e)?$2(this._layout,e):this._layout[e]=t},e.prototype.getLayout=function(e){return this._layout[e]},e.prototype.getItemLayout=function(e){return this._itemLayouts[e]},e.prototype.setItemLayout=function(e,t,n){this._itemLayouts[e]=n?$2(this._itemLayouts[e]||{},t):t},e.prototype.clearItemLayouts=function(){this._itemLayouts.length=0},e.prototype.setItemGraphicEl=function(e,t){var n=this.hostModel&&this.hostModel.seriesIndex;fte(n,this.dataType,e,t),this._graphicEls[e]=t},e.prototype.getItemGraphicEl=function(e){return this._graphicEls[e]},e.prototype.eachItemGraphicEl=function(e,t){q2(this._graphicEls,(function(n,r){n&&e&&e.call(t,n,r)}))},e.prototype.cloneShallow=function(t){return t||(t=new e(this._schema?this._schema:Ppe(this.dimensions,this._getDimInfo,this),this.hostModel)),Ipe(t,this),t._store=this._store,t},e.prototype.wrapMethod=function(e,t){var n=this[e];t3(n)&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(e),this[e]=function(){var e=n.apply(this,arguments);return t.apply(this,[e].concat(p3(arguments)))})},e.internalField=(Spe=function(e){var t=e._invertedIndicesMap;q2(t,(function(n,r){var i=e._dimInfos[r],o=i.ordinalMeta,a=e._store;if(o){n=t[r]=new Ope(o.categories.length);for(var s=0;s<n.length;s++)n[s]=-1;for(s=0;s<a.count();s++)n[a.get(i.storeDimIndex,s)]=s}}))},Cpe=function(e,t,n){return D9(e._getCategory(t,n),null)},kpe=function(e,t){var n=e._idList[t];return null==n&&null!=e._idDimIdx&&(n=Cpe(e,e._idDimIdx,t)),null==n&&(n="e\0\0"+t),n},Epe=function(e){return e3(e)||(e=null!=e?[e]:[]),e},Mpe=function(t){var n=new e(t._schema?t._schema:Ppe(t.dimensions,t._getDimInfo,t),t.hostModel);return Ipe(n,t),n},Ipe=function(e,t){q2(Dpe.concat(t.__wrappedMethods||[]),(function(n){t.hasOwnProperty(n)&&(e[n]=t[n])})),e.__wrappedMethods=t.__wrappedMethods,q2(Rpe,(function(n){e[n]=z2(t[n])})),e._calculationInfo=$2({},t._calculationInfo)},void(Tpe=function(e,t){var n=e._nameList,r=e._idList,i=e._nameDimIdx,o=e._idDimIdx,a=n[t],s=r[t];if(null==a&&null!=i&&(n[t]=a=Cpe(e,i,t)),null==s&&null!=o&&(r[t]=s=Cpe(e,o,t)),null==s&&null!=a){var l=e._nameRepeatCount,u=l[a]=(l[a]||0)+1;s=a,u>1&&(s+="__ec__"+u),r[t]=s}})),e}();const Npe=Lpe;function jpe(e,t){Soe(e)||(e=Coe(e));var n=(t=t||{}).coordDimensions||[],r=t.dimensionsDefine||e.dimensionsDefine||[],i=k3(),o=[],a=function(e,t,n,r){var i=Math.max(e.dimensionsDetectedCount||1,t.length,n.length,r||0);return q2(t,(function(e){var t;o3(e)&&(t=e.dimsDef)&&(i=Math.max(i,t.length))})),i}(e,n,r,t.dimensionsCount),s=t.canOmitUnusedDimensions&&_pe(a),l=r===e.dimensionsDefine,u=l?xpe(e):wpe(r),c=t.encodeDefine;!c&&t.encodeDefaulter&&(c=t.encodeDefaulter(e,a));for(var f=k3(c),h=new mae(a),d=0;d<h.length;d++)h[d]=-1;function p(e){var t=h[e];if(t<0){var n=r[e],i=o3(n)?n:{name:n},a=new gpe,s=i.name;null!=s&&null!=u.get(s)&&(a.name=a.displayName=s),null!=i.type&&(a.type=i.type),null!=i.displayName&&(a.displayName=i.displayName);var l=o.length;return h[e]=l,a.storeDimIndex=e,o.push(a),a}return o[t]}if(!s)for(d=0;d<a;d++)p(d);f.each((function(e,t){var n=C9(e).slice();if(1===n.length&&!n3(n[0])&&n[0]<0)f.set(t,!1);else{var r=f.set(t,[]);q2(n,(function(e,n){var i=n3(e)?u.get(e):e;null!=i&&i<a&&(r[n]=i,m(p(i),t,n))}))}}));var g=0;function m(e,t,n){null!=uie.get(t)?e.otherDims[t]=n:(e.coordDim=t,e.coordDimIndex=n,i.set(t,!0))}q2(n,(function(e){var t,n,r,i;if(n3(e))t=e,i={};else{t=(i=e).name;var o=i.ordinalMeta;i.ordinalMeta=null,(i=$2({},i)).ordinalMeta=o,n=i.dimsDef,r=i.otherDims,i.name=i.coordDim=i.coordDimIndex=i.dimsDef=i.otherDims=null}var s=f.get(t);if(!1!==s){if(!(s=C9(s)).length)for(var u=0;u<(n&&n.length||1);u++){for(;g<a&&null!=p(g).coordDim;)g++;g<a&&s.push(g++)}q2(s,(function(e,o){var a=p(e);if(l&&null!=i.type&&(a.type=i.type),m(H2(a,i),t,o),null==a.name&&n){var s=n[o];!o3(s)&&(s={name:s}),a.name=a.displayName=s.name,a.defaultTooltip=s.defaultTooltip}r&&H2(a.otherDims,r)}))}}));var b=t.generateCoord,v=t.generateCoordCount,y=null!=v;v=b?v||1:0;var w=b||"value";function x(e){null==e.name&&(e.name=e.coordDim)}if(s)q2(o,(function(e){x(e)})),o.sort((function(e,t){return e.storeDimIndex-t.storeDimIndex}));else for(var _=0;_<a;_++){var S=p(_);null==S.coordDim&&(S.coordDim=Fpe(w,i,y),S.coordDimIndex=0,(!b||v<=0)&&(S.isExtraCoord=!0),v--),x(S),null!=S.type||Cie(e,_)!==vie&&(!S.isExtraCoord||null==S.otherDims.itemName&&null==S.otherDims.seriesName)||(S.type="ordinal")}return function(e){for(var t=k3(),n=0;n<e.length;n++){var r=e[n],i=r.name,o=t.get(i)||0;o>0&&(r.name=i+(o-1)),o++,t.set(i,o)}}(o),new vpe({source:e,dimensions:o,fullDimensionCount:a,dimensionOmitted:s})}function Fpe(e,t,n){if(n||t.hasKey(e)){for(var r=0;t.hasKey(e+r);)r++;e+=r}return t.set(e,!0),e}var zpe=function(e){this.coordSysDims=[],this.axisMap=k3(),this.categoryAxisMap=k3(),this.coordSysName=e};var Bpe={cartesian2d:function(e,t,n,r){var i=e.getReferringComponents("xAxis",V9).models[0],o=e.getReferringComponents("yAxis",V9).models[0];t.coordSysDims=["x","y"],n.set("x",i),n.set("y",o),Vpe(i)&&(r.set("x",i),t.firstCategoryDimIndex=0),Vpe(o)&&(r.set("y",o),null==t.firstCategoryDimIndex&&(t.firstCategoryDimIndex=1))},singleAxis:function(e,t,n,r){var i=e.getReferringComponents("singleAxis",V9).models[0];t.coordSysDims=["single"],n.set("single",i),Vpe(i)&&(r.set("single",i),t.firstCategoryDimIndex=0)},polar:function(e,t,n,r){var i=e.getReferringComponents("polar",V9).models[0],o=i.findAxisModel("radiusAxis"),a=i.findAxisModel("angleAxis");t.coordSysDims=["radius","angle"],n.set("radius",o),n.set("angle",a),Vpe(o)&&(r.set("radius",o),t.firstCategoryDimIndex=0),Vpe(a)&&(r.set("angle",a),null==t.firstCategoryDimIndex&&(t.firstCategoryDimIndex=1))},geo:function(e,t,n,r){t.coordSysDims=["lng","lat"]},parallel:function(e,t,n,r){var i=e.ecModel,o=i.getComponent("parallel",e.get("parallelIndex")),a=t.coordSysDims=o.dimensions.slice();q2(o.parallelAxisIndex,(function(e,o){var s=i.getComponent("parallelAxis",e),l=a[o];n.set(l,s),Vpe(s)&&(r.set(l,s),null==t.firstCategoryDimIndex&&(t.firstCategoryDimIndex=o))}))}};function Vpe(e){return"category"===e.get("type")}function $pe(e,t,n){var r,i,o,a=(n=n||{}).byIndex,s=n.stackedCoordDimension;!function(e){return!ype(e.schema)}(t)?(i=t.schema,r=i.dimensions,o=t.store):r=t;var l,u,c,f,h=!(!e||!e.get("stack"));if(q2(r,(function(e,t){n3(e)&&(r[t]=e={name:e}),h&&!e.isExtraCoord&&(a||l||!e.ordinalMeta||(l=e),u||"ordinal"===e.type||"time"===e.type||s&&s!==e.coordDim||(u=e))})),!u||a||l||(a=!0),u){c="__\0ecstackresult_"+e.id,f="__\0ecstackedover_"+e.id,l&&(l.createInvertedIndices=!0);var d=u.coordDim,p=u.type,g=0;q2(r,(function(e){e.coordDim===d&&g++}));var m={name:c,coordDim:d,coordDimIndex:g,type:p,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:r.length},b={name:f,coordDim:f,coordDimIndex:g+1,type:p,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:r.length+1};i?(o&&(m.storeDimIndex=o.ensureCalculationDimension(f,p),b.storeDimIndex=o.ensureCalculationDimension(c,p)),i.appendCalculationDimension(m),i.appendCalculationDimension(b)):(r.push(m),r.push(b))}return{stackedDimension:u&&u.name,stackedByDimension:l&&l.name,isStackedByIndex:a,stackedOverDimension:f,stackResultDimension:c}}function Hpe(e,t){return!!t&&t===e.getCalculationInfo("stackedDimension")}function Gpe(e,t){return Hpe(e,t)?e.getCalculationInfo("stackResultDimension"):t}const Wpe=function(e,t,n){n=n||{};var r,i=t.getSourceManager(),o=!1;e?(o=!0,r=Coe(e)):o=(r=i.getSource()).sourceFormat===cie;var a=function(e){var t=e.get("coordinateSystem"),n=new zpe(t),r=Bpe[t];if(r)return r(e,n,n.axisMap,n.categoryAxisMap),n}(t),s=function(e,t){var n,r=e.get("coordinateSystem"),i=Wie.get(r);return t&&t.coordSysDims&&(n=X2(t.coordSysDims,(function(e){var n={name:e},r=t.axisMap.get(e);if(r){var i=r.get("type");n.type=ppe(i)}return n}))),n||(n=i&&(i.getDimensionsInfo?i.getDimensionsInfo():i.dimensions.slice())||["x","y"]),n}(t,a),l=n.useEncodeDefaulter,u=t3(l)?l:l?J2(_ie,s,t):null,c=jpe(r,{coordDimensions:s,generateCoord:n.generateCoord,encodeDefine:t.getEncode(),encodeDefaulter:u,canOmitUnusedDimensions:!o}),f=function(e,t,n){var r,i;return n&&q2(e,(function(e,o){var a=e.coordDim,s=n.categoryAxisMap.get(a);s&&(null==r&&(r=o),e.ordinalMeta=s.getOrdinalMeta(),t&&(e.createInvertedIndices=!0)),null!=e.otherDims.itemName&&(i=!0)})),i||null==r||(e[r].otherDims.itemName=0),r}(c.dimensions,n.createInvertedIndices,a),h=o?null:i.getSharedDataStore(c),d=$pe(t,{schema:c,store:h}),p=new Npe(c,t);p.setCalculationInfo(d);var g=null!=f&&function(e){if(e.sourceFormat===cie){return!e3(M9(function(e){var t=0;for(;t<e.length&&null==e[t];)t++;return e[t]}(e.data||[])))}}(r)?function(e,t,n,r){return r===f?n:this.defaultDimValueGetter(e,t,n,r)}:null;return p.hasItemOption=!1,p.initData(o?r:h,null,g),p};var Upe=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.hasSymbolVisual=!0,n}return g2(t,e),t.prototype.getInitialData=function(e){return Wpe(null,this,{useEncodeDefaulter:!0})},t.prototype.getLegendIcon=function(e){var t=new X8,n=Sce("line",0,e.itemHeight/2,e.itemWidth,0,e.lineStyle.stroke,!1);t.add(n),n.setStyle(e.lineStyle);var r=this.getData().getVisual("symbol"),i=this.getData().getVisual("symbolRotate"),o="none"===r?"circle":r,a=.8*e.itemHeight,s=Sce(o,(e.itemWidth-a)/2,(e.itemHeight-a)/2,a,a,e.itemStyle.fill);t.add(s),s.setStyle(e.itemStyle);var l="inherit"===e.iconRotate?i:e.iconRotate||0;return s.rotation=l*Math.PI/180,s.setOrigin([e.itemWidth/2,e.itemHeight/2]),o.indexOf("empty")>-1&&(s.style.stroke=s.style.fill,s.style.fill="#fff",s.style.lineWidth=2),t},t.type="series.line",t.dependencies=["grid","polar"],t.defaultOption={z:3,coordinateSystem:"cartesian2d",legendHoverLink:!0,clip:!0,label:{position:"top"},endLabel:{show:!1,valueAnimation:!0,distance:8},lineStyle:{width:2,type:"solid"},emphasis:{scale:!0},step:!1,smooth:!1,smoothMonotone:null,symbol:"emptyCircle",symbolSize:4,symbolRotate:null,showSymbol:!0,showAllSymbol:"auto",connectNulls:!1,sampling:"none",animationEasing:"linear",progressive:0,hoverLayerThreshold:1/0,universalTransition:{divideShape:"clone"},triggerLineEvent:!1},t}(Jae);const qpe=Upe;function Xpe(e,t){var n=e.mapDimensionsAll("defaultedLabel"),r=n.length;if(1===r){var i=Voe(e,t,n[0]);return null!=i?i+"":null}if(r){for(var o=[],a=0;a<n.length;a++)o.push(Voe(e,t,n[a]));return o.join(" ")}}function Ype(e,t){var n=e.mapDimensionsAll("defaultedLabel");if(!e3(t))return t+"";for(var r=[],i=0;i<n.length;i++){var o=e.getDimensionIndex(n[i]);o>=0&&r.push(t[o])}return r.join(" ")}var Kpe=function(e){function t(t,n,r,i){var o=e.call(this)||this;return o.updateData(t,n,r,i),o}return g2(t,e),t.prototype._createSymbol=function(e,t,n,r,i){this.removeAll();var o=Sce(e,-1,-1,2,2,null,i);o.attr({z2:100,culling:!0,scaleX:r[0]/2,scaleY:r[1]/2}),o.drift=Zpe,this._symbolType=e,this.add(o)},t.prototype.stopSymbolAnimation=function(e){this.childAt(0).stopAnimation(null,e)},t.prototype.getSymbolType=function(){return this._symbolType},t.prototype.getSymbolPath=function(){return this.childAt(0)},t.prototype.highlight=function(){Vte(this.childAt(0))},t.prototype.downplay=function(){$te(this.childAt(0))},t.prototype.setZ=function(e,t){var n=this.childAt(0);n.zlevel=e,n.z=t},t.prototype.setDraggable=function(e,t){var n=this.childAt(0);n.draggable=e,n.cursor=!t&&e?"move":n.cursor},t.prototype.updateData=function(e,n,r,i){this.silent=!1;var o=e.getItemVisual(n,"symbol")||"circle",a=e.hostModel,s=t.getSymbolSize(e,n),l=o!==this._symbolType,u=i&&i.disableAnimation;if(l){var c=e.getItemVisual(n,"symbolKeepAspect");this._createSymbol(o,e,n,s,c)}else{(h=this.childAt(0)).silent=!1;var f={scaleX:s[0]/2,scaleY:s[1]/2};u?h.attr(f):dne(h,f,a,n),yne(h)}if(this._updateCommon(e,n,s,r,i),l){var h=this.childAt(0);if(!u){f={scaleX:this._sizeX,scaleY:this._sizeY,style:{opacity:h.style.opacity}};h.scaleX=h.scaleY=0,h.style.opacity=0,pne(h,f,a,n)}}u&&this.childAt(0).stopAnimation("leave")},t.prototype._updateCommon=function(e,t,n,r,i){var o,a,s,l,u,c,f,h,d,p=this.childAt(0),g=e.hostModel;if(r&&(o=r.emphasisItemStyle,a=r.blurItemStyle,s=r.selectItemStyle,l=r.focus,u=r.blurScope,f=r.labelStatesModels,h=r.hoverScale,d=r.cursorStyle,c=r.emphasisDisabled),!r||e.hasItemOption){var m=r&&r.itemModel?r.itemModel:e.getItemModel(t),b=m.getModel("emphasis");o=b.getModel("itemStyle").getItemStyle(),s=m.getModel(["select","itemStyle"]).getItemStyle(),a=m.getModel(["blur","itemStyle"]).getItemStyle(),l=b.get("focus"),u=b.get("blurScope"),c=b.get("disabled"),f=kne(m),h=b.getShallow("scale"),d=m.getShallow("cursor")}var v=e.getItemVisual(t,"symbolRotate");p.attr("rotation",(v||0)*Math.PI/180||0);var y=Cce(e.getItemVisual(t,"symbolOffset"),n);y&&(p.x=y[0],p.y=y[1]),d&&p.attr("cursor",d);var w=e.getItemVisual(t,"style"),x=w.fill;if(p instanceof zee){var _=p.style;p.useStyle($2({image:_.image,x:_.x,y:_.y,width:_.width,height:_.height},w))}else p.__isEmptyBrush?p.useStyle($2({},w)):p.useStyle(w),p.style.decal=null,p.setColor(x,i&&i.symbolInnerColor),p.style.strokeNoScale=!0;var S=e.getItemVisual(t,"liftZ"),k=this._z2;null!=S?null==k&&(this._z2=p.z2,p.z2+=S):null!=k&&(p.z2=k,this._z2=null);var C=i&&i.useNameLabel;Sne(p,f,{labelFetcher:g,labelDataIndex:t,defaultText:function(t){return C?e.getName(t):Xpe(e,t)},inheritColor:x,defaultOpacity:w.opacity}),this._sizeX=n[0]/2,this._sizeY=n[1]/2;var E=p.ensureState("emphasis");E.style=o,p.ensureState("select").style=s,p.ensureState("blur").style=a;var I=null==h||!0===h?Math.max(1.1,3/this._sizeY):isFinite(h)&&h>0?+h:1;E.scaleX=this._sizeX*I,E.scaleY=this._sizeY*I,this.setSymbolScale(1),tne(this,l,u,c)},t.prototype.setSymbolScale=function(e){this.scaleX=this.scaleY=e},t.prototype.fadeOut=function(e,t,n){var r=this.childAt(0),i=cte(this).dataIndex,o=n&&n.animation;if(this.silent=r.silent=!0,n&&n.fadeLabel){var a=r.getTextContent();a&&mne(a,{style:{opacity:0}},t,{dataIndex:i,removeOpt:o,cb:function(){r.removeTextContent()}})}else r.removeTextContent();mne(r,{style:{opacity:0},scaleX:0,scaleY:0},t,{dataIndex:i,cb:e,removeOpt:o})},t.getSymbolSize=function(e,t){return kce(e.getItemVisual(t,"symbolSize"))},t}(X8);function Zpe(e,t){this.parent.drift(e,t)}const Qpe=Kpe;function Jpe(e,t,n,r){return t&&!isNaN(t[0])&&!isNaN(t[1])&&!(r.isIgnore&&r.isIgnore(n))&&!(r.clipShape&&!r.clipShape.contain(t[0],t[1]))&&"none"!==e.getItemVisual(n,"symbol")}function ege(e){return null==e||o3(e)||(e={isIgnore:e}),e||{}}function tge(e){var t=e.hostModel,n=t.getModel("emphasis");return{emphasisItemStyle:n.getModel("itemStyle").getItemStyle(),blurItemStyle:t.getModel(["blur","itemStyle"]).getItemStyle(),selectItemStyle:t.getModel(["select","itemStyle"]).getItemStyle(),focus:n.get("focus"),blurScope:n.get("blurScope"),emphasisDisabled:n.get("disabled"),hoverScale:n.get("scale"),labelStatesModels:kne(t),cursorStyle:t.get("cursor")}}var nge=function(){function e(e){this.group=new X8,this._SymbolCtor=e||Qpe}return e.prototype.updateData=function(e,t){this._progressiveEls=null,t=ege(t);var n=this.group,r=e.hostModel,i=this._data,o=this._SymbolCtor,a=t.disableAnimation,s=tge(e),l={disableAnimation:a},u=t.getSymbolPoint||function(t){return e.getItemLayout(t)};i||n.removeAll(),e.diff(i).add((function(r){var i=u(r);if(Jpe(e,i,r,t)){var a=new o(e,r,s,l);a.setPosition(i),e.setItemGraphicEl(r,a),n.add(a)}})).update((function(c,f){var h=i.getItemGraphicEl(f),d=u(c);if(Jpe(e,d,c,t)){var p=e.getItemVisual(c,"symbol")||"circle",g=h&&h.getSymbolType&&h.getSymbolType();if(!h||g&&g!==p)n.remove(h),(h=new o(e,c,s,l)).setPosition(d);else{h.updateData(e,c,s,l);var m={x:d[0],y:d[1]};a?h.attr(m):dne(h,m,r)}n.add(h),e.setItemGraphicEl(c,h)}else n.remove(h)})).remove((function(e){var t=i.getItemGraphicEl(e);t&&t.fadeOut((function(){n.remove(t)}),r)})).execute(),this._getSymbolPoint=u,this._data=e},e.prototype.updateLayout=function(){var e=this,t=this._data;t&&t.eachItemGraphicEl((function(t,n){var r=e._getSymbolPoint(n);t.setPosition(r),t.markRedraw()}))},e.prototype.incrementalPrepareUpdate=function(e){this._seriesScope=tge(e),this._data=null,this.group.removeAll()},e.prototype.incrementalUpdate=function(e,t,n){function r(e){e.isGroup||(e.incremental=!0,e.ensureState("emphasis").hoverLayer=!0)}this._progressiveEls=[],n=ege(n);for(var i=e.start;i<e.end;i++){var o=t.getItemLayout(i);if(Jpe(t,o,i,n)){var a=new this._SymbolCtor(t,i,this._seriesScope);a.traverse(r),a.setPosition(o),this.group.add(a),t.setItemGraphicEl(i,a),this._progressiveEls.push(a)}}},e.prototype.eachRendered=function(e){iue(this._progressiveEls||this.group,e)},e.prototype.remove=function(e){var t=this.group,n=this._data;n&&e?n.eachItemGraphicEl((function(e){e.fadeOut((function(){t.remove(e)}),n.hostModel)})):t.removeAll()},e}();const rge=nge;function ige(e,t,n){var r=e.getBaseAxis(),i=e.getOtherAxis(r),o=function(e,t){var n=0,r=e.scale.getExtent();"start"===t?n=r[0]:"end"===t?n=r[1]:i3(t)&&!isNaN(t)?n=t:r[0]>0?n=r[0]:r[1]<0&&(n=r[1]);return n}(i,n),a=r.dim,s=i.dim,l=t.mapDimension(s),u=t.mapDimension(a),c="x"===s||"radius"===s?1:0,f=X2(e.dimensions,(function(e){return t.mapDimension(e)})),h=!1,d=t.getCalculationInfo("stackResultDimension");return Hpe(t,f[0])&&(h=!0,f[0]=d),Hpe(t,f[1])&&(h=!0,f[1]=d),{dataDimsForPoint:f,valueStart:o,valueAxisDim:s,baseAxisDim:a,stacked:!!h,valueDim:l,baseDim:u,baseDataOffset:c,stackedOverDimension:t.getCalculationInfo("stackedOverDimension")}}function oge(e,t,n,r){var i=NaN;e.stacked&&(i=n.get(n.getCalculationInfo("stackedOverDimension"),r)),isNaN(i)&&(i=e.valueStart);var o=e.baseDataOffset,a=[];return a[o]=n.get(e.baseDim,r),a[1-o]=i,t.dataToPoint(a)}var age="undefined"!=typeof Float32Array,sge=age?Float32Array:Array;function lge(e){return e3(e)?age?new Float32Array(e):e:new sge(e)}var uge=Math.min,cge=Math.max;function fge(e,t){return isNaN(e)||isNaN(t)}function hge(e,t,n,r,i,o,a,s,l){for(var u,c,f,h,d,p,g=n,m=0;m<r;m++){var b=t[2*g],v=t[2*g+1];if(g>=i||g<0)break;if(fge(b,v)){if(l){g+=o;continue}break}if(g===n)e[o>0?"moveTo":"lineTo"](b,v),f=b,h=v;else{var y=b-u,w=v-c;if(y*y+w*w<.5){g+=o;continue}if(a>0){for(var x=g+o,_=t[2*x],S=t[2*x+1];_===b&&S===v&&m<r;)m++,g+=o,_=t[2*(x+=o)],S=t[2*x+1],y=(b=t[2*g])-u,w=(v=t[2*g+1])-c;var k=m+1;if(l)for(;fge(_,S)&&k<r;)k++,_=t[2*(x+=o)],S=t[2*x+1];var C=.5,E=0,I=0,M=void 0,T=void 0;if(k>=r||fge(_,S))d=b,p=v;else{E=_-u,I=S-c;var A=b-u,P=_-b,O=v-c,D=S-v,R=void 0,L=void 0;if("x"===s){var N=E>0?1:-1;d=b-N*(R=Math.abs(A))*a,p=v,M=b+N*(L=Math.abs(P))*a,T=v}else if("y"===s){var j=I>0?1:-1;d=b,p=v-j*(R=Math.abs(O))*a,M=b,T=v+j*(L=Math.abs(D))*a}else R=Math.sqrt(A*A+O*O),d=b-E*a*(1-(C=(L=Math.sqrt(P*P+D*D))/(L+R))),p=v-I*a*(1-C),T=v+I*a*C,M=uge(M=b+E*a*C,cge(_,b)),T=uge(T,cge(S,v)),M=cge(M,uge(_,b)),p=v-(I=(T=cge(T,uge(S,v)))-v)*R/L,d=uge(d=b-(E=M-b)*R/L,cge(u,b)),p=uge(p,cge(c,v)),M=b+(E=b-(d=cge(d,uge(u,b))))*L/R,T=v+(I=v-(p=cge(p,uge(c,v))))*L/R}e.bezierCurveTo(f,h,d,p,b,v),f=M,h=T}else e.lineTo(b,v)}u=b,c=v,g+=o}return m}var dge=function(){this.smooth=0,this.smoothConstraint=!0},pge=function(e){function t(t){var n=e.call(this,t)||this;return n.type="ec-polyline",n}return g2(t,e),t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new dge},t.prototype.buildPath=function(e,t){var n=t.points,r=0,i=n.length/2;if(t.connectNulls){for(;i>0&&fge(n[2*i-2],n[2*i-1]);i--);for(;r<i&&fge(n[2*r],n[2*r+1]);r++);}for(;r<i;)r+=hge(e,n,r,i,i,1,t.smooth,t.smoothMonotone,t.connectNulls)+1},t.prototype.getPointOn=function(e,t){this.path||(this.createPathProxy(),this.buildPath(this.path,this.shape));for(var n,r,i=this.path.data,o=fee.CMD,a="x"===t,s=[],l=0;l<i.length;){var u=void 0,c=void 0,f=void 0,h=void 0,d=void 0,p=void 0,g=void 0;switch(i[l++]){case o.M:n=i[l++],r=i[l++];break;case o.L:if(u=i[l++],c=i[l++],(g=a?(e-n)/(u-n):(e-r)/(c-r))<=1&&g>=0){var m=a?(c-r)*g+r:(u-n)*g+n;return a?[e,m]:[m,e]}n=u,r=c;break;case o.C:u=i[l++],c=i[l++],f=i[l++],h=i[l++],d=i[l++],p=i[l++];var b=a?I4(n,u,f,d,e,s):I4(r,c,h,p,e,s);if(b>0)for(var v=0;v<b;v++){var y=s[v];if(y<=1&&y>=0){m=a?C4(r,c,h,p,y):C4(n,u,f,d,y);return a?[e,m]:[m,e]}}n=d,r=p}}},t}(Oee),gge=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return g2(t,e),t}(dge),mge=function(e){function t(t){var n=e.call(this,t)||this;return n.type="ec-polygon",n}return g2(t,e),t.prototype.getDefaultShape=function(){return new gge},t.prototype.buildPath=function(e,t){var n=t.points,r=t.stackedOnPoints,i=0,o=n.length/2,a=t.smoothMonotone;if(t.connectNulls){for(;o>0&&fge(n[2*o-2],n[2*o-1]);o--);for(;i<o&&fge(n[2*i],n[2*i+1]);i++);}for(;i<o;){var s=hge(e,n,i,o,o,1,t.smooth,a,t.connectNulls);hge(e,r,i+s-1,s,o,-1,t.stackedOnSmooth,a,t.connectNulls),i+=s+1,e.closePath()}},t}(Oee);function bge(e,t,n,r,i){var o=e.getArea(),a=o.x,s=o.y,l=o.width,u=o.height,c=n.get(["lineStyle","width"])||2;a-=c/2,s-=c/2,l+=c,u+=c,a=Math.floor(a),l=Math.round(l);var f=new qee({shape:{x:a,y:s,width:l,height:u}});if(t){var h=e.getBaseAxis(),d=h.isHorizontal(),p=h.inverse;d?(p&&(f.shape.x+=l),f.shape.width=0):(p||(f.shape.y+=u),f.shape.height=0);var g=t3(i)?function(e){i(e,f)}:null;pne(f,{shape:{width:l,height:u,x:a,y:s}},n,null,r,g)}return f}function vge(e,t,n){var r=e.getArea(),i=n9(r.r0,1),o=n9(r.r,1),a=new Gse({shape:{cx:n9(e.cx,1),cy:n9(e.cy,1),r0:i,r:o,startAngle:r.startAngle,endAngle:r.endAngle,clockwise:r.clockwise}});t&&("angle"===e.getBaseAxis().dim?a.shape.endAngle=r.startAngle:a.shape.r=i,pne(a,{shape:{endAngle:r.endAngle,r:o}},n));return a}function yge(e,t,n,r,i){return e?"polar"===e.type?vge(e,t,n):"cartesian2d"===e.type?bge(e,t,n,r,i):null:null}function wge(e,t){return e.type===t}function xge(e,t){if(e.length===t.length){for(var n=0;n<e.length;n++)if(e[n]!==t[n])return;return!0}}function _ge(e){for(var t=1/0,n=1/0,r=-1/0,i=-1/0,o=0;o<e.length;){var a=e[o++],s=e[o++];isNaN(a)||(t=Math.min(a,t),r=Math.max(a,r)),isNaN(s)||(n=Math.min(s,n),i=Math.max(s,i))}return[[t,n],[r,i]]}function Sge(e,t){var n=_ge(e),r=n[0],i=n[1],o=_ge(t),a=o[0],s=o[1];return Math.max(Math.abs(r[0]-a[0]),Math.abs(r[1]-a[1]),Math.abs(i[0]-s[0]),Math.abs(i[1]-s[1]))}function kge(e){return i3(e)?e:e?.5:0}function Cge(e,t,n,r){var i=t.getBaseAxis(),o="x"===i.dim||"radius"===i.dim?0:1,a=[],s=0,l=[],u=[],c=[],f=[];if(r){for(s=0;s<e.length;s+=2)isNaN(e[s])||isNaN(e[s+1])||f.push(e[s],e[s+1]);e=f}for(s=0;s<e.length-2;s+=2)switch(c[0]=e[s+2],c[1]=e[s+3],u[0]=e[s],u[1]=e[s+1],a.push(u[0],u[1]),n){case"end":l[o]=c[o],l[1-o]=u[1-o],a.push(l[0],l[1]);break;case"middle":var h=(u[o]+c[o])/2,d=[];l[o]=d[o]=h,l[1-o]=u[1-o],d[1-o]=c[1-o],a.push(l[0],l[1]),a.push(d[0],d[1]);break;default:l[o]=u[o],l[1-o]=c[1-o],a.push(l[0],l[1])}return a.push(e[s++],e[s++]),a}function Ege(e,t,n){var r=e.getVisual("visualMeta");if(r&&r.length&&e.count()&&"cartesian2d"===t.type){for(var i,o,a=r.length-1;a>=0;a--){var s=e.getDimensionInfo(r[a].dimension);if("x"===(i=s&&s.coordDim)||"y"===i){o=r[a];break}}if(o){var l=t.getAxis(i),u=X2(o.stops,(function(e){return{coord:l.toGlobalCoord(l.dataToCoord(e.value)),color:e.color}})),c=u.length,f=o.outerColors.slice();c&&u[0].coord>u[c-1].coord&&(u.reverse(),f.reverse());var h=function(e,t){var n,r,i=[],o=e.length;function a(e,t,n){var r=e.coord;return{coord:n,color:l6((n-r)/(t.coord-r),[e.color,t.color])}}for(var s=0;s<o;s++){var l=e[s],u=l.coord;if(u<0)n=l;else{if(u>t){r?i.push(a(r,l,t)):n&&i.push(a(n,l,0),a(n,l,t));break}n&&(i.push(a(n,l,0)),n=null),i.push(l),r=l}}return i}(u,"x"===i?n.getWidth():n.getHeight()),d=h.length;if(!d&&c)return u[0].coord<0?f[1]?f[1]:u[c-1].color:f[0]?f[0]:u[0].color;var p=h[0].coord-10,g=h[d-1].coord+10,m=g-p;if(m<.001)return"transparent";q2(h,(function(e){e.offset=(e.coord-p)/m})),h.push({offset:d?h[d-1].offset:.5,color:f[1]||"transparent"}),h.unshift({offset:d?h[0].offset:.5,color:f[0]||"transparent"});var b=new ble(0,0,0,0,h,!0);return b[i]=p,b[i+"2"]=g,b}}}function Ige(e,t,n){var r=e.get("showAllSymbol"),i="auto"===r;if(!r||i){var o=n.getAxesByScale("ordinal")[0];if(o&&(!i||!function(e,t){var n=e.getExtent(),r=Math.abs(n[1]-n[0])/e.scale.count();isNaN(r)&&(r=0);for(var i=t.count(),o=Math.max(1,Math.round(i/5)),a=0;a<i;a+=o)if(1.5*Qpe.getSymbolSize(t,a)[e.isHorizontal()?1:0]>r)return!1;return!0}(o,t))){var a=t.mapDimension(o.dim),s={};return q2(o.getViewLabels(),(function(e){var t=o.scale.getRawOrdinalNumber(e.tickValue);s[t]=1})),function(e){return!s.hasOwnProperty(t.get(a,e))}}}}function Mge(e,t){return[e[2*t],e[2*t+1]]}function Tge(e){if(e.get(["endLabel","show"]))return!0;for(var t=0;t<mte.length;t++)if(e.get([mte[t],"endLabel","show"]))return!0;return!1}function Age(e,t,n,r){if(wge(t,"cartesian2d")){var i=r.getModel("endLabel"),o=i.get("valueAnimation"),a=r.getData(),s={lastFrameIndex:0},l=Tge(r)?function(n,r){e._endLabelOnDuring(n,r,a,s,o,i,t)}:null,u=t.getBaseAxis().isHorizontal(),c=bge(t,n,r,(function(){var t=e._endLabel;t&&n&&null!=s.originalX&&t.attr({x:s.originalX,y:s.originalY})}),l);if(!r.get("clip",!0)){var f=c.shape,h=Math.max(f.width,f.height);u?(f.y-=h,f.height+=2*h):(f.x-=h,f.width+=2*h)}return l&&l(1,c),c}return vge(t,n,r)}var Pge=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return g2(t,e),t.prototype.init=function(){var e=new X8,t=new rge;this.group.add(t.group),this._symbolDraw=t,this._lineGroup=e},t.prototype.render=function(e,t,n){var r=this,i=e.coordinateSystem,o=this.group,a=e.getData(),s=e.getModel("lineStyle"),l=e.getModel("areaStyle"),u=a.getLayout("points")||[],c="polar"===i.type,f=this._coordSys,h=this._symbolDraw,d=this._polyline,p=this._polygon,g=this._lineGroup,m=!t.ssr&&e.isAnimationEnabled(),b=!l.isEmpty(),v=l.get("origin"),y=ige(i,a,v),w=b&&function(e,t,n){if(!n.valueDim)return[];for(var r=t.count(),i=lge(2*r),o=0;o<r;o++){var a=oge(n,e,t,o);i[2*o]=a[0],i[2*o+1]=a[1]}return i}(i,a,y),x=e.get("showSymbol"),_=e.get("connectNulls"),S=x&&!c&&Ige(e,a,i),k=this._data;k&&k.eachItemGraphicEl((function(e,t){e.__temp&&(o.remove(e),k.setItemGraphicEl(t,null))})),x||h.remove(),o.add(g);var C,E=!c&&e.get("step");i&&i.getArea&&e.get("clip",!0)&&(null!=(C=i.getArea()).width?(C.x-=.1,C.y-=.1,C.width+=.2,C.height+=.2):C.r0&&(C.r0-=.5,C.r+=.5)),this._clipShapeForSymbol=C;var I=Ege(a,i,n)||a.getVisual("style")[a.getVisual("drawType")];if(d&&f.type===i.type&&E===this._step){b&&!p?p=this._newPolygon(u,w):p&&!b&&(g.remove(p),p=this._polygon=null),c||this._initOrUpdateEndLabel(e,i,Gre(I));var M=g.getClipPath();if(M)pne(M,{shape:Age(this,i,!1,e).shape},e);else g.setClipPath(Age(this,i,!0,e));x&&h.updateData(a,{isIgnore:S,clipShape:C,disableAnimation:!0,getSymbolPoint:function(e){return[u[2*e],u[2*e+1]]}}),xge(this._stackedOnPoints,w)&&xge(this._points,u)||(m?this._doUpdateAnimation(a,w,i,n,E,v,_):(E&&(u=Cge(u,i,E,_),w&&(w=Cge(w,i,E,_))),d.setShape({points:u}),p&&p.setShape({points:u,stackedOnPoints:w})))}else x&&h.updateData(a,{isIgnore:S,clipShape:C,disableAnimation:!0,getSymbolPoint:function(e){return[u[2*e],u[2*e+1]]}}),m&&this._initSymbolLabelAnimation(a,i,C),E&&(u=Cge(u,i,E,_),w&&(w=Cge(w,i,E,_))),d=this._newPolyline(u),b?p=this._newPolygon(u,w):p&&(g.remove(p),p=this._polygon=null),c||this._initOrUpdateEndLabel(e,i,Gre(I)),g.setClipPath(Age(this,i,!0,e));var T=e.getModel("emphasis"),A=T.get("focus"),P=T.get("blurScope"),O=T.get("disabled");(d.useStyle(H2(s.getLineStyle(),{fill:"none",stroke:I,lineJoin:"bevel"})),one(d,e,"lineStyle"),d.style.lineWidth>0&&"bolder"===e.get(["emphasis","lineStyle","width"]))&&(d.getState("emphasis").style.lineWidth=+d.style.lineWidth+1);cte(d).seriesIndex=e.seriesIndex,tne(d,A,P,O);var D=kge(e.get("smooth")),R=e.get("smoothMonotone");if(d.setShape({smooth:D,smoothMonotone:R,connectNulls:_}),p){var L=a.getCalculationInfo("stackedOnSeries"),N=0;p.useStyle(H2(l.getAreaStyle(),{fill:I,opacity:.7,lineJoin:"bevel",decal:a.getVisual("style").decal})),L&&(N=kge(L.get("smooth"))),p.setShape({smooth:D,stackedOnSmooth:N,smoothMonotone:R,connectNulls:_}),one(p,e,"areaStyle"),cte(p).seriesIndex=e.seriesIndex,tne(p,A,P,O)}var j=function(e){r._changePolyState(e)};a.eachItemGraphicEl((function(e){e&&(e.onHoverStateChange=j)})),this._polyline.onHoverStateChange=j,this._data=a,this._coordSys=i,this._stackedOnPoints=w,this._points=u,this._step=E,this._valueOrigin=v,e.get("triggerLineEvent")&&(this.packEventData(e,d),p&&this.packEventData(e,p))},t.prototype.packEventData=function(e,t){cte(t).eventData={componentType:"series",componentSubType:"line",componentIndex:e.componentIndex,seriesIndex:e.seriesIndex,seriesName:e.name,seriesType:"line"}},t.prototype.highlight=function(e,t,n,r){var i=e.getData(),o=N9(i,r);if(this._changePolyState("emphasis"),!(o instanceof Array)&&null!=o&&o>=0){var a=i.getLayout("points"),s=i.getItemGraphicEl(o);if(!s){var l=a[2*o],u=a[2*o+1];if(isNaN(l)||isNaN(u))return;if(this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(l,u))return;var c=e.get("zlevel")||0,f=e.get("z")||0;(s=new Qpe(i,o)).x=l,s.y=u,s.setZ(c,f);var h=s.getSymbolPath().getTextContent();h&&(h.zlevel=c,h.z=f,h.z2=this._polyline.z2+1),s.__temp=!0,i.setItemGraphicEl(o,s),s.stopSymbolAnimation(!0),this.group.add(s)}s.highlight()}else due.prototype.highlight.call(this,e,t,n,r)},t.prototype.downplay=function(e,t,n,r){var i=e.getData(),o=N9(i,r);if(this._changePolyState("normal"),null!=o&&o>=0){var a=i.getItemGraphicEl(o);a&&(a.__temp?(i.setItemGraphicEl(o,null),this.group.remove(a)):a.downplay())}else due.prototype.downplay.call(this,e,t,n,r)},t.prototype._changePolyState=function(e){var t=this._polygon;Nte(this._polyline,e),t&&Nte(t,e)},t.prototype._newPolyline=function(e){var t=this._polyline;return t&&this._lineGroup.remove(t),t=new pge({shape:{points:e},segmentIgnoreThreshold:2,z2:10}),this._lineGroup.add(t),this._polyline=t,t},t.prototype._newPolygon=function(e,t){var n=this._polygon;return n&&this._lineGroup.remove(n),n=new mge({shape:{points:e,stackedOnPoints:t},segmentIgnoreThreshold:2}),this._lineGroup.add(n),this._polygon=n,n},t.prototype._initSymbolLabelAnimation=function(e,t,n){var r,i,o=t.getBaseAxis(),a=o.inverse;"cartesian2d"===t.type?(r=o.isHorizontal(),i=!1):"polar"===t.type&&(r="angle"===o.dim,i=!0);var s=e.hostModel,l=s.get("animationDuration");t3(l)&&(l=l(null));var u=s.get("animationDelay")||0,c=t3(u)?u(null):u;e.eachItemGraphicEl((function(e,o){var s=e;if(s){var f=[e.x,e.y],h=void 0,d=void 0,p=void 0;if(n)if(i){var g=n,m=t.pointToCoord(f);r?(h=g.startAngle,d=g.endAngle,p=-m[1]/180*Math.PI):(h=g.r0,d=g.r,p=m[0])}else{var b=n;r?(h=b.x,d=b.x+b.width,p=e.x):(h=b.y+b.height,d=b.y,p=e.y)}var v=d===h?0:(p-h)/(d-h);a&&(v=1-v);var y=t3(u)?u(o):l*v+c,w=s.getSymbolPath(),x=w.getTextContent();s.attr({scaleX:0,scaleY:0}),s.animateTo({scaleX:1,scaleY:1},{duration:200,setToFinal:!0,delay:y}),x&&x.animateFrom({style:{opacity:0}},{duration:300,delay:y}),w.disableLabelAnimation=!0}}))},t.prototype._initOrUpdateEndLabel=function(e,t,n){var r=e.getModel("endLabel");if(Tge(e)){var i=e.getData(),o=this._polyline,a=i.getLayout("points");if(!a)return o.removeTextContent(),void(this._endLabel=null);var s=this._endLabel;s||((s=this._endLabel=new ute({z2:200})).ignoreClip=!0,o.setTextContent(this._endLabel),o.disableLabelAnimation=!0);var l=function(e){for(var t,n,r=e.length/2;r>0&&(t=e[2*r-2],n=e[2*r-1],isNaN(t)||isNaN(n));r--);return r-1}(a);l>=0&&(Sne(o,kne(e,"endLabel"),{inheritColor:n,labelFetcher:e,labelDataIndex:l,defaultText:function(e,t,n){return null!=n?Ype(i,n):Xpe(i,e)},enableTextSetter:!0},function(e,t){var n=t.getBaseAxis(),r=n.isHorizontal(),i=n.inverse,o=r?i?"right":"left":"center",a=r?"middle":i?"top":"bottom";return{normal:{align:e.get("align")||o,verticalAlign:e.get("verticalAlign")||a}}}(r,t)),o.textConfig.position=null)}else this._endLabel&&(this._polyline.removeTextContent(),this._endLabel=null)},t.prototype._endLabelOnDuring=function(e,t,n,r,i,o,a){var s=this._endLabel,l=this._polyline;if(s){e<1&&null==r.originalX&&(r.originalX=s.x,r.originalY=s.y);var u=n.getLayout("points"),c=n.hostModel,f=c.get("connectNulls"),h=o.get("precision"),d=o.get("distance")||0,p=a.getBaseAxis(),g=p.isHorizontal(),m=p.inverse,b=t.shape,v=m?g?b.x:b.y+b.height:g?b.x+b.width:b.y,y=(g?d:0)*(m?-1:1),w=(g?0:-d)*(m?-1:1),x=g?"x":"y",_=function(e,t,n){for(var r,i,o=e.length/2,a="x"===n?0:1,s=0,l=-1,u=0;u<o;u++)if(i=e[2*u+a],!isNaN(i)&&!isNaN(e[2*u+1-a]))if(0!==u){if(r<=t&&i>=t||r>=t&&i<=t){l=u;break}s=u,r=i}else r=i;return{range:[s,l],t:(t-r)/(i-r)}}(u,v,x),S=_.range,k=S[1]-S[0],C=void 0;if(k>=1){if(k>1&&!f){var E=Mge(u,S[0]);s.attr({x:E[0]+y,y:E[1]+w}),i&&(C=c.getRawValue(S[0]))}else{(E=l.getPointOn(v,x))&&s.attr({x:E[0]+y,y:E[1]+w});var I=c.getRawValue(S[0]),M=c.getRawValue(S[1]);i&&(C=U9(n,h,I,M,_.t))}r.lastFrameIndex=S[0]}else{var T=1===e||r.lastFrameIndex>0?S[0]:0;E=Mge(u,T);i&&(C=c.getRawValue(T)),s.attr({x:E[0]+y,y:E[1]+w})}i&&One(s).setLabelText(C)}},t.prototype._doUpdateAnimation=function(e,t,n,r,i,o,a){var s=this._polyline,l=this._polygon,u=e.hostModel,c=function(e,t,n,r,i,o,a,s){for(var l=function(e,t){var n=[];return t.diff(e).add((function(e){n.push({cmd:"+",idx:e})})).update((function(e,t){n.push({cmd:"=",idx:t,idx1:e})})).remove((function(e){n.push({cmd:"-",idx:e})})).execute(),n}(e,t),u=[],c=[],f=[],h=[],d=[],p=[],g=[],m=ige(i,t,a),b=e.getLayout("points")||[],v=t.getLayout("points")||[],y=0;y<l.length;y++){var w=l[y],x=!0,_=void 0,S=void 0;switch(w.cmd){case"=":_=2*w.idx,S=2*w.idx1;var k=b[_],C=b[_+1],E=v[S],I=v[S+1];(isNaN(k)||isNaN(C))&&(k=E,C=I),u.push(k,C),c.push(E,I),f.push(n[_],n[_+1]),h.push(r[S],r[S+1]),g.push(t.getRawIndex(w.idx1));break;case"+":var M=w.idx,T=m.dataDimsForPoint,A=i.dataToPoint([t.get(T[0],M),t.get(T[1],M)]);S=2*M,u.push(A[0],A[1]),c.push(v[S],v[S+1]);var P=oge(m,i,t,M);f.push(P[0],P[1]),h.push(r[S],r[S+1]),g.push(t.getRawIndex(M));break;case"-":x=!1}x&&(d.push(w),p.push(p.length))}p.sort((function(e,t){return g[e]-g[t]}));var O=u.length,D=lge(O),R=lge(O),L=lge(O),N=lge(O),j=[];for(y=0;y<p.length;y++){var F=p[y],z=2*y,B=2*F;D[z]=u[B],D[z+1]=u[B+1],R[z]=c[B],R[z+1]=c[B+1],L[z]=f[B],L[z+1]=f[B+1],N[z]=h[B],N[z+1]=h[B+1],j[y]=d[F]}return{current:D,next:R,stackedOnCurrent:L,stackedOnNext:N,status:j}}(this._data,e,this._stackedOnPoints,t,this._coordSys,0,this._valueOrigin),f=c.current,h=c.stackedOnCurrent,d=c.next,p=c.stackedOnNext;if(i&&(f=Cge(c.current,n,i,a),h=Cge(c.stackedOnCurrent,n,i,a),d=Cge(c.next,n,i,a),p=Cge(c.stackedOnNext,n,i,a)),Sge(f,d)>3e3||l&&Sge(h,p)>3e3)return s.stopAnimation(),s.setShape({points:d}),void(l&&(l.stopAnimation(),l.setShape({points:d,stackedOnPoints:p})));s.shape.__points=c.current,s.shape.points=f;var g={shape:{points:d}};c.current!==f&&(g.shape.__points=c.next),s.stopAnimation(),dne(s,g,u),l&&(l.setShape({points:f,stackedOnPoints:h}),l.stopAnimation(),dne(l,{shape:{stackedOnPoints:p}},u),s.shape.points!==l.shape.points&&(l.shape.points=s.shape.points));for(var m=[],b=c.status,v=0;v<b.length;v++){if("="===b[v].cmd){var y=e.getItemGraphicEl(b[v].idx1);y&&m.push({el:y,ptIdx:v})}}s.animators&&s.animators.length&&s.animators[0].during((function(){l&&l.dirtyShape();for(var e=s.shape.__points,t=0;t<m.length;t++){var n=m[t].el,r=2*m[t].ptIdx;n.x=e[r],n.y=e[r+1],n.markRedraw()}}))},t.prototype.remove=function(e){var t=this.group,n=this._data;this._lineGroup.removeAll(),this._symbolDraw.remove(!0),n&&n.eachItemGraphicEl((function(e,r){e.__temp&&(t.remove(e),n.setItemGraphicEl(r,null))})),this._polyline=this._polygon=this._coordSys=this._points=this._stackedOnPoints=this._endLabel=this._data=null},t.type="line",t}(due);const Oge=Pge;function Dge(e,t){return{seriesType:e,plan:nse(),reset:function(e){var n=e.getData(),r=e.coordinateSystem,i=e.pipelineContext,o=t||i.large;if(r){var a=X2(r.dimensions,(function(e){return n.mapDimension(e)})).slice(0,2),s=a.length,l=n.getCalculationInfo("stackResultDimension");Hpe(n,a[0])&&(a[0]=l),Hpe(n,a[1])&&(a[1]=l);var u=n.getStore(),c=n.getDimensionIndex(a[0]),f=n.getDimensionIndex(a[1]);return s&&{progress:function(e,t){for(var n=e.end-e.start,i=o&&lge(n*s),a=[],l=[],h=e.start,d=0;h<e.end;h++){var p=void 0;if(1===s){var g=u.get(c,h);p=r.dataToPoint(g,null,l)}else a[0]=u.get(c,h),a[1]=u.get(f,h),p=r.dataToPoint(a,null,l);o?(i[d++]=p[0],i[d++]=p[1]):t.setItemLayout(h,p.slice())}o&&t.setLayout("points",i)}}}}}}var Rge={average:function(e){for(var t=0,n=0,r=0;r<e.length;r++)isNaN(e[r])||(t+=e[r],n++);return 0===n?NaN:t/n},sum:function(e){for(var t=0,n=0;n<e.length;n++)t+=e[n]||0;return t},max:function(e){for(var t=-1/0,n=0;n<e.length;n++)e[n]>t&&(t=e[n]);return isFinite(t)?t:NaN},min:function(e){for(var t=1/0,n=0;n<e.length;n++)e[n]<t&&(t=e[n]);return isFinite(t)?t:NaN},nearest:function(e){return e[0]}},Lge=function(e){return Math.round(e.length/2)};function Nge(e){return{seriesType:e,reset:function(e,t,n){var r=e.getData(),i=e.get("sampling"),o=e.coordinateSystem,a=r.count();if(a>10&&"cartesian2d"===o.type&&i){var s=o.getBaseAxis(),l=o.getOtherAxis(s),u=s.getExtent(),c=n.getDevicePixelRatio(),f=Math.abs(u[1]-u[0])*(c||1),h=Math.round(a/f);if(isFinite(h)&&h>1){"lttb"===i&&e.setData(r.lttbDownSample(r.mapDimension(l.dim),1/h));var d=void 0;n3(i)?d=Rge[i]:t3(i)&&(d=i),d&&e.setData(r.downSample(r.mapDimension(l.dim),1/h,d,Lge))}}}}}var jge="__ec_stack_";function Fge(e){return e.get("stack")||jge+e.seriesIndex}function zge(e){return e.dim+e.index}function Bge(e,t){var n=[];return t.eachSeriesByType(e,(function(e){Wge(e)&&n.push(e)})),n}function Vge(e){var t=function(e){var t={};q2(e,(function(e){var n=e.coordinateSystem.getBaseAxis();if("time"===n.type||"value"===n.type)for(var r=e.getData(),i=n.dim+"_"+n.index,o=r.getDimensionIndex(r.mapDimension(n.dim)),a=r.getStore(),s=0,l=a.count();s<l;++s){var u=a.get(o,s);t[i]?t[i].push(u):t[i]=[u]}}));var n={};for(var r in t)if(t.hasOwnProperty(r)){var i=t[r];if(i){i.sort((function(e,t){return e-t}));for(var o=null,a=1;a<i.length;++a){var s=i[a]-i[a-1];s>0&&(o=null===o?s:Math.min(o,s))}n[r]=o}}return n}(e),n=[];return q2(e,(function(e){var r,i=e.coordinateSystem.getBaseAxis(),o=i.getExtent();if("category"===i.type)r=i.getBandWidth();else if("value"===i.type||"time"===i.type){var a=i.dim+"_"+i.index,s=t[a],l=Math.abs(o[1]-o[0]),u=i.scale.getExtent(),c=Math.abs(u[1]-u[0]);r=s?l/c*s:l}else{var f=e.getData();r=Math.abs(o[1]-o[0])/f.count()}var h=t9(e.get("barWidth"),r),d=t9(e.get("barMaxWidth"),r),p=t9(e.get("barMinWidth")||(Uge(e)?.5:1),r),g=e.get("barGap"),m=e.get("barCategoryGap");n.push({bandWidth:r,barWidth:h,barMaxWidth:d,barMinWidth:p,barGap:g,barCategoryGap:m,axisKey:zge(i),stackId:Fge(e)})})),$ge(n)}function $ge(e){var t={};q2(e,(function(e,n){var r=e.axisKey,i=e.bandWidth,o=t[r]||{bandWidth:i,remainedWidth:i,autoWidthCount:0,categoryGap:null,gap:"20%",stacks:{}},a=o.stacks;t[r]=o;var s=e.stackId;a[s]||o.autoWidthCount++,a[s]=a[s]||{width:0,maxWidth:0};var l=e.barWidth;l&&!a[s].width&&(a[s].width=l,l=Math.min(o.remainedWidth,l),o.remainedWidth-=l);var u=e.barMaxWidth;u&&(a[s].maxWidth=u);var c=e.barMinWidth;c&&(a[s].minWidth=c);var f=e.barGap;null!=f&&(o.gap=f);var h=e.barCategoryGap;null!=h&&(o.categoryGap=h)}));var n={};return q2(t,(function(e,t){n[t]={};var r=e.stacks,i=e.bandWidth,o=e.categoryGap;if(null==o){var a=Z2(r).length;o=Math.max(35-4*a,15)+"%"}var s=t9(o,i),l=t9(e.gap,1),u=e.remainedWidth,c=e.autoWidthCount,f=(u-s)/(c+(c-1)*l);f=Math.max(f,0),q2(r,(function(e){var t=e.maxWidth,n=e.minWidth;if(e.width){r=e.width;t&&(r=Math.min(r,t)),n&&(r=Math.max(r,n)),e.width=r,u-=r+l*r,c--}else{var r=f;t&&t<r&&(r=Math.min(t,u)),n&&n>r&&(r=n),r!==f&&(e.width=r,u-=r+l*r,c--)}})),f=(u-s)/(c+(c-1)*l),f=Math.max(f,0);var h,d=0;q2(r,(function(e,t){e.width||(e.width=f),h=e,d+=e.width*(1+l)})),h&&(d-=h.width*l);var p=-d/2;q2(r,(function(e,r){n[t][r]=n[t][r]||{bandWidth:i,offset:p,width:e.width},p+=e.width*(1+l)}))})),n}function Hge(e,t){var n=Bge(e,t),r=Vge(n);q2(n,(function(e){var t=e.getData(),n=e.coordinateSystem.getBaseAxis(),i=Fge(e),o=r[zge(n)][i],a=o.offset,s=o.width;t.setLayout({bandWidth:o.bandWidth,offset:a,size:s})}))}function Gge(e){return{seriesType:e,plan:nse(),reset:function(e){if(Wge(e)){var t=e.getData(),n=e.coordinateSystem,r=n.getBaseAxis(),i=n.getOtherAxis(r),o=t.getDimensionIndex(t.mapDimension(i.dim)),a=t.getDimensionIndex(t.mapDimension(r.dim)),s=e.get("showBackground",!0),l=t.mapDimension(i.dim),u=t.getCalculationInfo("stackResultDimension"),c=Hpe(t,l)&&!!t.getCalculationInfo("stackedOnSeries"),f=i.isHorizontal(),h=function(e,t){return t.toGlobalCoord(t.dataToCoord("log"===t.type?1:0))}(0,i),d=Uge(e),p=e.get("barMinHeight")||0,g=u&&t.getDimensionIndex(u),m=t.getLayout("size"),b=t.getLayout("offset");return{progress:function(e,t){for(var r,i=e.count,l=d&&lge(3*i),u=d&&s&&lge(3*i),v=d&&lge(i),y=n.master.getRect(),w=f?y.width:y.height,x=t.getStore(),_=0;null!=(r=e.next());){var S=x.get(c?g:o,r),k=x.get(a,r),C=h,E=void 0;c&&(E=+S-x.get(o,r));var I=void 0,M=void 0,T=void 0,A=void 0;if(f){var P=n.dataToPoint([S,k]);if(c)C=n.dataToPoint([E,k])[0];I=C,M=P[1]+b,T=P[0]-C,A=m,Math.abs(T)<p&&(T=(T<0?-1:1)*p)}else{P=n.dataToPoint([k,S]);if(c)C=n.dataToPoint([k,E])[1];I=P[0]+b,M=C,T=m,A=P[1]-C,Math.abs(A)<p&&(A=(A<=0?-1:1)*p)}d?(l[_]=I,l[_+1]=M,l[_+2]=f?T:A,u&&(u[_]=f?y.x:I,u[_+1]=f?M:y.y,u[_+2]=w),v[r]=r):t.setItemLayout(r,{x:I,y:M,width:T,height:A}),_+=3}d&&t.setLayout({largePoints:l,largeDataIndices:v,largeBackgroundPoints:u,valueAxisHorizontal:f})}}}}}}function Wge(e){return e.coordinateSystem&&"cartesian2d"===e.coordinateSystem.type}function Uge(e){return e.pipelineContext&&e.pipelineContext.large}var qge=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return g2(t,e),t.prototype.getInitialData=function(e,t){return Wpe(null,this,{useEncodeDefaulter:!0})},t.prototype.getMarkerPosition=function(e,t,n){var r=this.coordinateSystem;if(r&&r.clampData){var i=r.clampData(e),o=r.dataToPoint(i);if(n)q2(r.getAxes(),(function(e,n){if("category"===e.type&&null!=t){var r=e.getTicksCoords(),a=i[n],s="x1"===t[n]||"y1"===t[n];if(s&&(a+=1),r.length<2)return;if(2===r.length)return void(o[n]=e.toGlobalCoord(e.getExtent()[s?1:0]));for(var l=void 0,u=void 0,c=1,f=0;f<r.length;f++){var h=r[f].coord,d=f===r.length-1?r[f-1].tickValue+c:r[f].tickValue;if(d===a){u=h;break}if(d<a)l=h;else if(null!=l&&d>a){u=(h+l)/2;break}1===f&&(c=d-r[0].tickValue)}null==u&&(l?l&&(u=r[r.length-1].coord):u=r[0].coord),o[n]=e.toGlobalCoord(u)}}));else{var a=this.getData(),s=a.getLayout("offset"),l=a.getLayout("size"),u=r.getBaseAxis().isHorizontal()?0:1;o[u]+=s+l/2}return o}return[NaN,NaN]},t.type="series.__base_bar__",t.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,barMinHeight:0,barMinAngle:0,large:!1,largeThreshold:400,progressive:3e3,progressiveChunkMode:"mod"},t}(Jae);Jae.registerClass(qge);const Xge=qge;var Yge=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return g2(t,e),t.prototype.getInitialData=function(){return Wpe(null,this,{useEncodeDefaulter:!0,createInvertedIndices:!!this.get("realtimeSort",!0)||null})},t.prototype.getProgressive=function(){return!!this.get("large")&&this.get("progressive")},t.prototype.getProgressiveThreshold=function(){var e=this.get("progressiveThreshold"),t=this.get("largeThreshold");return t>e&&(e=t),e},t.prototype.brushSelector=function(e,t,n){return n.rect(t.getItemLayout(e))},t.type="series.bar",t.dependencies=["grid","polar"],t.defaultOption=Qne(Xge.defaultOption,{clip:!0,roundCap:!1,showBackground:!1,backgroundStyle:{color:"rgba(180, 180, 180, 0.2)",borderColor:null,borderWidth:0,borderType:"solid",borderRadius:0,shadowBlur:0,shadowColor:null,shadowOffsetX:0,shadowOffsetY:0,opacity:1},select:{itemStyle:{borderColor:"#212121"}},realtimeSort:!1}),t}(Xge);const Kge=Yge;var Zge=function(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0},Qge=function(e){function t(t){var n=e.call(this,t)||this;return n.type="sausage",n}return g2(t,e),t.prototype.getDefaultShape=function(){return new Zge},t.prototype.buildPath=function(e,t){var n=t.cx,r=t.cy,i=Math.max(t.r0||0,0),o=Math.max(t.r,0),a=.5*(o-i),s=i+a,l=t.startAngle,u=t.endAngle,c=t.clockwise,f=2*Math.PI,h=c?u-l<f:l-u<f;h||(l=u-(c?f:-f));var d=Math.cos(l),p=Math.sin(l),g=Math.cos(u),m=Math.sin(u);h?(e.moveTo(d*i+n,p*i+r),e.arc(d*s+n,p*s+r,a,-Math.PI+l,l,!c)):e.moveTo(d*o+n,p*o+r),e.arc(n,r,o,l,u,!c),e.arc(g*s+n,m*s+r,a,u-2*Math.PI,u-Math.PI,!c),0!==i&&e.arc(n,r,i,u,l,c)},t}(Oee);const Jge=Qge;function eme(e,t,n){return t*Math.sin(e)*(n?-1:1)}function tme(e,t,n){return t*Math.cos(e)*(n?1:-1)}function nme(e,t,n){var r=e.get("borderRadius");if(null==r)return n?{cornerRadius:0}:null;e3(r)||(r=[r,r,r,r]);var i=Math.abs(t.r||0-t.r0||0);return{cornerRadius:X2(r,(function(e){return R8(e,i)}))}}var rme=Math.max,ime=Math.min;var ome=function(e){function t(){var n=e.call(this)||this;return n.type=t.type,n._isFirstFrame=!0,n}return g2(t,e),t.prototype.render=function(e,t,n,r){this._model=e,this._removeOnRenderedListener(n),this._updateDrawMode(e);var i=e.get("coordinateSystem");("cartesian2d"===i||"polar"===i)&&(this._progressiveEls=null,this._isLargeDraw?this._renderLarge(e,t,n):this._renderNormal(e,t,n,r))},t.prototype.incrementalPrepareRender=function(e){this._clear(),this._updateDrawMode(e),this._updateLargeClip(e)},t.prototype.incrementalRender=function(e,t){this._progressiveEls=[],this._incrementalRenderLarge(e,t)},t.prototype.eachRendered=function(e){iue(this._progressiveEls||this.group,e)},t.prototype._updateDrawMode=function(e){var t=e.pipelineContext.large;null!=this._isLargeDraw&&t===this._isLargeDraw||(this._isLargeDraw=t,this._clear())},t.prototype._renderNormal=function(e,t,n,r){var i,o=this.group,a=e.getData(),s=this._data,l=e.coordinateSystem,u=l.getBaseAxis();"cartesian2d"===l.type?i=u.isHorizontal():"polar"===l.type&&(i="angle"===u.dim);var c=e.isAnimationEnabled()?e:null,f=function(e,t){var n=e.get("realtimeSort",!0),r=t.getBaseAxis();0;if(n&&"category"===r.type&&"cartesian2d"===t.type)return{baseAxis:r,otherAxis:t.getOtherAxis(r)}}(e,l);f&&this._enableRealtimeSort(f,a,n);var h=e.get("clip",!0)||f,d=function(e,t){var n=e.getArea&&e.getArea();if(wge(e,"cartesian2d")){var r=e.getBaseAxis();if("category"!==r.type||!r.onBand){var i=t.getLayout("bandWidth");r.isHorizontal()?(n.x-=i,n.width+=2*i):(n.y-=i,n.height+=2*i)}}return n}(l,a);o.removeClipPath();var p=e.get("roundCap",!0),g=e.get("showBackground",!0),m=e.getModel("backgroundStyle"),b=m.get("borderRadius")||0,v=[],y=this._backgroundEls,w=r&&r.isInitSort,x=r&&"changeAxisOrder"===r.type;function _(e){var t=dme[l.type](a,e),n=function(e,t,n){return new("polar"===e.type?Gse:qee)({shape:wme(t,n,e),silent:!0,z2:0})}(l,i,t);return n.useStyle(m.getItemStyle()),"cartesian2d"===l.type?n.setShape("r",b):n.setShape("cornerRadius",b),v[e]=n,n}a.diff(s).add((function(t){var n=a.getItemModel(t),r=dme[l.type](a,t,n);if(g&&_(t),a.hasValue(t)&&hme[l.type](r)){var s=!1;h&&(s=ame[l.type](d,r));var m=sme[l.type](e,a,t,r,i,c,u.model,!1,p);f&&(m.forceLabelAnimation=!0),gme(m,a,t,n,r,e,i,"polar"===l.type),w?m.attr({shape:r}):f?lme(f,c,m,r,t,i,!1,!1):pne(m,{shape:r},e,t),a.setItemGraphicEl(t,m),o.add(m),m.ignore=s}})).update((function(t,n){var r=a.getItemModel(t),S=dme[l.type](a,t,r);if(g){var k=void 0;0===y.length?k=_(n):((k=y[n]).useStyle(m.getItemStyle()),"cartesian2d"===l.type?k.setShape("r",b):k.setShape("cornerRadius",b),v[t]=k);var C=dme[l.type](a,t);dne(k,{shape:wme(i,C,l)},c,t)}var E=s.getItemGraphicEl(n);if(a.hasValue(t)&&hme[l.type](S)){var I=!1;if(h&&(I=ame[l.type](d,S))&&o.remove(E),E?yne(E):E=sme[l.type](e,a,t,S,i,c,u.model,!!E,p),f&&(E.forceLabelAnimation=!0),x){var M=E.getTextContent();if(M){var T=One(M);null!=T.prevValue&&(T.prevValue=T.value)}}else gme(E,a,t,r,S,e,i,"polar"===l.type);w?E.attr({shape:S}):f?lme(f,c,E,S,t,i,!0,x):dne(E,{shape:S},e,t,null),a.setItemGraphicEl(t,E),E.ignore=I,o.add(E)}else o.remove(E)})).remove((function(t){var n=s.getItemGraphicEl(t);n&&vne(n,e,t)})).execute();var S=this._backgroundGroup||(this._backgroundGroup=new X8);S.removeAll();for(var k=0;k<v.length;++k)S.add(v[k]);o.add(S),this._backgroundEls=v,this._data=a},t.prototype._renderLarge=function(e,t,n){this._clear(),vme(e,this.group),this._updateLargeClip(e)},t.prototype._incrementalRenderLarge=function(e,t){this._removeBackground(),vme(t,this.group,this._progressiveEls,!0)},t.prototype._updateLargeClip=function(e){var t=e.get("clip",!0)&&yge(e.coordinateSystem,!1,e),n=this.group;t?n.setClipPath(t):n.removeClipPath()},t.prototype._enableRealtimeSort=function(e,t,n){var r=this;if(t.count()){var i=e.baseAxis;if(this._isFirstFrame)this._dispatchInitSort(t,e,n),this._isFirstFrame=!1;else{var o=function(e){var n=t.getItemGraphicEl(e),r=n&&n.shape;return r&&Math.abs(i.isHorizontal()?r.height:r.width)||0};this._onRendered=function(){r._updateSortWithinSameData(t,o,i,n)},n.getZr().on("rendered",this._onRendered)}}},t.prototype._dataSort=function(e,t,n){var r=[];return e.each(e.mapDimension(t.dim),(function(e,t){var i=n(t);i=null==i?NaN:i,r.push({dataIndex:t,mappedValue:i,ordinalNumber:e})})),r.sort((function(e,t){return t.mappedValue-e.mappedValue})),{ordinalNumbers:X2(r,(function(e){return e.ordinalNumber}))}},t.prototype._isOrderChangedWithinSameData=function(e,t,n){for(var r=n.scale,i=e.mapDimension(n.dim),o=Number.MAX_VALUE,a=0,s=r.getOrdinalMeta().categories.length;a<s;++a){var l=e.rawIndexOf(i,r.getRawOrdinalNumber(a)),u=l<0?Number.MIN_VALUE:t(e.indexOfRawIndex(l));if(u>o)return!0;o=u}return!1},t.prototype._isOrderDifferentInView=function(e,t){for(var n=t.scale,r=n.getExtent(),i=Math.max(0,r[0]),o=Math.min(r[1],n.getOrdinalMeta().categories.length-1);i<=o;++i)if(e.ordinalNumbers[i]!==n.getRawOrdinalNumber(i))return!0},t.prototype._updateSortWithinSameData=function(e,t,n,r){if(this._isOrderChangedWithinSameData(e,t,n)){var i=this._dataSort(e,n,t);this._isOrderDifferentInView(i,n)&&(this._removeOnRenderedListener(r),r.dispatchAction({type:"changeAxisOrder",componentType:n.dim+"Axis",axisId:n.index,sortInfo:i}))}},t.prototype._dispatchInitSort=function(e,t,n){var r=t.baseAxis,i=this._dataSort(e,r,(function(n){return e.get(e.mapDimension(t.otherAxis.dim),n)}));n.dispatchAction({type:"changeAxisOrder",componentType:r.dim+"Axis",isInitSort:!0,axisId:r.index,sortInfo:i})},t.prototype.remove=function(e,t){this._clear(this._model),this._removeOnRenderedListener(t)},t.prototype.dispose=function(e,t){this._removeOnRenderedListener(t)},t.prototype._removeOnRenderedListener=function(e){this._onRendered&&(e.getZr().off("rendered",this._onRendered),this._onRendered=null)},t.prototype._clear=function(e){var t=this.group,n=this._data;e&&e.isAnimationEnabled()&&n&&!this._isLargeDraw?(this._removeBackground(),this._backgroundEls=[],n.eachItemGraphicEl((function(t){vne(t,e,cte(t).dataIndex)}))):t.removeAll(),this._data=null,this._isFirstFrame=!0},t.prototype._removeBackground=function(){this.group.remove(this._backgroundGroup),this._backgroundGroup=null},t.type="bar",t}(due),ame={cartesian2d:function(e,t){var n=t.width<0?-1:1,r=t.height<0?-1:1;n<0&&(t.x+=t.width,t.width=-t.width),r<0&&(t.y+=t.height,t.height=-t.height);var i=e.x+e.width,o=e.y+e.height,a=rme(t.x,e.x),s=ime(t.x+t.width,i),l=rme(t.y,e.y),u=ime(t.y+t.height,o),c=s<a,f=u<l;return t.x=c&&a>i?s:a,t.y=f&&l>o?u:l,t.width=c?0:s-a,t.height=f?0:u-l,n<0&&(t.x+=t.width,t.width=-t.width),r<0&&(t.y+=t.height,t.height=-t.height),c||f},polar:function(e,t){var n=t.r0<=t.r?1:-1;if(n<0){var r=t.r;t.r=t.r0,t.r0=r}var i=ime(t.r,e.r),o=rme(t.r0,e.r0);t.r=i,t.r0=o;var a=i-o<0;if(n<0){r=t.r;t.r=t.r0,t.r0=r}return a}},sme={cartesian2d:function(e,t,n,r,i,o,a,s,l){var u=new qee({shape:$2({},r),z2:1});(u.__dataIndex=n,u.name="item",o)&&(u.shape[i?"height":"width"]=0);return u},polar:function(e,t,n,r,i,o,a,s,l){var u=!i&&l?Jge:Gse,c=new u({shape:r,z2:1});c.name="item";var f,h,d=pme(i);if(c.calculateTextPosition=(f=d,h=({isRoundCap:u===Jge}||{}).isRoundCap,function(e,t,n){var r=t.position;if(!r||r instanceof Array)return L8(e,t,n);var i=f(r),o=null!=t.distance?t.distance:5,a=this.shape,s=a.cx,l=a.cy,u=a.r,c=a.r0,d=(u+c)/2,p=a.startAngle,g=a.endAngle,m=(p+g)/2,b=h?Math.abs(u-c)/2:0,v=Math.cos,y=Math.sin,w=s+u*v(p),x=l+u*y(p),_="left",S="top";switch(i){case"startArc":w=s+(c-o)*v(m),x=l+(c-o)*y(m),_="center",S="top";break;case"insideStartArc":w=s+(c+o)*v(m),x=l+(c+o)*y(m),_="center",S="bottom";break;case"startAngle":w=s+d*v(p)+eme(p,o+b,!1),x=l+d*y(p)+tme(p,o+b,!1),_="right",S="middle";break;case"insideStartAngle":w=s+d*v(p)+eme(p,-o+b,!1),x=l+d*y(p)+tme(p,-o+b,!1),_="left",S="middle";break;case"middle":w=s+d*v(m),x=l+d*y(m),_="center",S="middle";break;case"endArc":w=s+(u+o)*v(m),x=l+(u+o)*y(m),_="center",S="bottom";break;case"insideEndArc":w=s+(u-o)*v(m),x=l+(u-o)*y(m),_="center",S="top";break;case"endAngle":w=s+d*v(g)+eme(g,o+b,!0),x=l+d*y(g)+tme(g,o+b,!0),_="left",S="middle";break;case"insideEndAngle":w=s+d*v(g)+eme(g,-o+b,!0),x=l+d*y(g)+tme(g,-o+b,!0),_="right",S="middle";break;default:return L8(e,t,n)}return(e=e||{}).x=w,e.y=x,e.align=_,e.verticalAlign=S,e}),o){var p=i?"r":"endAngle",g={};c.shape[p]=i?r.r0:r.startAngle,g[p]=r[p],(s?dne:pne)(c,{shape:g},o)}return c}};function lme(e,t,n,r,i,o,a,s){var l,u;o?(u={x:r.x,width:r.width},l={y:r.y,height:r.height}):(u={y:r.y,height:r.height},l={x:r.x,width:r.width}),s||(a?dne:pne)(n,{shape:l},t,i,null),(a?dne:pne)(n,{shape:u},t?e.baseAxis.model:null,i)}function ume(e,t){for(var n=0;n<t.length;n++)if(!isFinite(e[t[n]]))return!0;return!1}var cme=["x","y","width","height"],fme=["cx","cy","r","startAngle","endAngle"],hme={cartesian2d:function(e){return!ume(e,cme)},polar:function(e){return!ume(e,fme)}},dme={cartesian2d:function(e,t,n){var r=e.getItemLayout(t),i=n?function(e,t){var n=e.get(["itemStyle","borderColor"]);if(!n||"none"===n)return 0;var r=e.get(["itemStyle","borderWidth"])||0,i=isNaN(t.width)?Number.MAX_VALUE:Math.abs(t.width),o=isNaN(t.height)?Number.MAX_VALUE:Math.abs(t.height);return Math.min(r,i,o)}(n,r):0,o=r.width>0?1:-1,a=r.height>0?1:-1;return{x:r.x+o*i/2,y:r.y+a*i/2,width:r.width-o*i,height:r.height-a*i}},polar:function(e,t,n){var r=e.getItemLayout(t);return{cx:r.cx,cy:r.cy,r0:r.r0,r:r.r,startAngle:r.startAngle,endAngle:r.endAngle,clockwise:r.clockwise}}};function pme(e){return function(e){var t=e?"Arc":"Angle";return function(e){switch(e){case"start":case"insideStart":case"end":case"insideEnd":return e+t;default:return e}}}(e)}function gme(e,t,n,r,i,o,a,s){var l=t.getItemVisual(n,"style");if(s){if(!o.get("roundCap")){var u=e.shape;$2(u,nme(r.getModel("itemStyle"),u,!0)),e.setShape(u)}}else{var c=r.get(["itemStyle","borderRadius"])||0;e.setShape("r",c)}e.useStyle(l);var f=r.getShallow("cursor");f&&e.attr("cursor",f);var h=s?a?i.r>=i.r0?"endArc":"startArc":i.endAngle>=i.startAngle?"endAngle":"startAngle":a?i.height>=0?"bottom":"top":i.width>=0?"right":"left",d=kne(r);Sne(e,d,{labelFetcher:o,labelDataIndex:n,defaultText:Xpe(o.getData(),n),inheritColor:l.fill,defaultOpacity:l.opacity,defaultOutsidePosition:h});var p=e.getTextContent();if(s&&p){var g=r.get(["label","position"]);e.textConfig.inside="middle"===g||null,function(e,t,n,r){if(i3(r))e.setTextConfig({rotation:r});else if(e3(t))e.setTextConfig({rotation:0});else{var i,o=e.shape,a=o.clockwise?o.startAngle:o.endAngle,s=o.clockwise?o.endAngle:o.startAngle,l=(a+s)/2,u=n(t);switch(u){case"startArc":case"insideStartArc":case"middle":case"insideEndArc":case"endArc":i=l;break;case"startAngle":case"insideStartAngle":i=a;break;case"endAngle":case"insideEndAngle":i=s;break;default:return void e.setTextConfig({rotation:0})}var c=1.5*Math.PI-i;"middle"===u&&c>Math.PI/2&&c<1.5*Math.PI&&(c-=Math.PI),e.setTextConfig({rotation:c})}}(e,"outside"===g?h:g,pme(a),r.get(["label","rotate"]))}Dne(p,d,o.getRawValue(n),(function(e){return Ype(t,e)}));var m=r.getModel(["emphasis"]);tne(e,m.get("focus"),m.get("blurScope"),m.get("disabled")),one(e,r),function(e){return null!=e.startAngle&&null!=e.endAngle&&e.startAngle===e.endAngle}(i)&&(e.style.fill="none",e.style.stroke="none",q2(e.states,(function(e){e.style&&(e.style.fill=e.style.stroke="none")})))}var mme=function(){},bme=function(e){function t(t){var n=e.call(this,t)||this;return n.type="largeBar",n}return g2(t,e),t.prototype.getDefaultShape=function(){return new mme},t.prototype.buildPath=function(e,t){for(var n=t.points,r=this.baseDimIdx,i=1-this.baseDimIdx,o=[],a=[],s=this.barWidth,l=0;l<n.length;l+=3)a[r]=s,a[i]=n[l+2],o[r]=n[l+r],o[i]=n[l+i],e.rect(o[0],o[1],a[0],a[1])},t}(Oee);function vme(e,t,n,r){var i=e.getData(),o=i.getLayout("valueAxisHorizontal")?1:0,a=i.getLayout("largeDataIndices"),s=i.getLayout("size"),l=e.getModel("backgroundStyle"),u=i.getLayout("largeBackgroundPoints");if(u){var c=new bme({shape:{points:u},incremental:!!r,silent:!0,z2:0});c.baseDimIdx=o,c.largeDataIndices=a,c.barWidth=s,c.useStyle(l.getItemStyle()),t.add(c),n&&n.push(c)}var f=new bme({shape:{points:i.getLayout("largePoints")},incremental:!!r,ignoreCoarsePointer:!0,z2:1});f.baseDimIdx=o,f.largeDataIndices=a,f.barWidth=s,t.add(f),f.useStyle(i.getVisual("style")),cte(f).seriesIndex=e.seriesIndex,e.get("silent")||(f.on("mousedown",yme),f.on("mousemove",yme)),n&&n.push(f)}var yme=bue((function(e){var t=function(e,t,n){for(var r=e.baseDimIdx,i=1-r,o=e.shape.points,a=e.largeDataIndices,s=[],l=[],u=e.barWidth,c=0,f=o.length/3;c<f;c++){var h=3*c;if(l[r]=u,l[i]=o[h+2],s[r]=o[h+r],s[i]=o[h+i],l[i]<0&&(s[i]+=l[i],l[i]=-l[i]),t>=s[0]&&t<=s[0]+l[0]&&n>=s[1]&&n<=s[1]+l[1])return a[c]}return-1}(this,e.offsetX,e.offsetY);cte(this).dataIndex=t>=0?t:null}),30,!1);function wme(e,t,n){if(wge(n,"cartesian2d")){var r=t,i=n.getArea();return{x:e?r.x:i.x,y:e?i.y:r.y,width:e?r.width:i.width,height:e?i.height:r.height}}var o=t;return{cx:(i=n.getArea()).cx,cy:i.cy,r0:e?i.r0:o.r0,r:e?i.r:o.r,startAngle:e?o.startAngle:0,endAngle:e?o.endAngle:2*Math.PI}}const xme=ome;var _me=2*Math.PI,Sme=Math.PI/180;function kme(e,t){return Zre(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()})}function Cme(e,t){var n=kme(e,t),r=e.get("center"),i=e.get("radius");e3(i)||(i=[0,i]);var o,a,s=t9(n.width,t.getWidth()),l=t9(n.height,t.getHeight()),u=Math.min(s,l),c=t9(i[0],u/2),f=t9(i[1],u/2),h=e.coordinateSystem;if(h){var d=h.dataToPoint(r);o=d[0]||0,a=d[1]||0}else e3(r)||(r=[r,r]),o=t9(r[0],s)+n.x,a=t9(r[1],l)+n.y;return{cx:o,cy:a,r0:c,r:f}}function Eme(e,t,n){t.eachSeriesByType(e,(function(e){var t=e.getData(),r=t.mapDimension("value"),i=kme(e,n),o=Cme(e,n),a=o.cx,s=o.cy,l=o.r,u=o.r0,c=-e.get("startAngle")*Sme,f=e.get("minAngle")*Sme,h=0;t.each(r,(function(e){!isNaN(e)&&h++}));var d=t.getSum(r),p=Math.PI/(d||h)*2,g=e.get("clockwise"),m=e.get("roseType"),b=e.get("stillShowZeroSum"),v=t.getDataExtent(r);v[0]=0;var y=_me,w=0,x=c,_=g?1:-1;if(t.setLayout({viewRect:i,r:l}),t.each(r,(function(e,n){var r;if(isNaN(e))t.setItemLayout(n,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:g,cx:a,cy:s,r0:u,r:m?NaN:l});else{(r="area"!==m?0===d&&b?p:e*p:_me/h)<f?(r=f,y-=f):w+=e;var i=x+_*r;t.setItemLayout(n,{angle:r,startAngle:x,endAngle:i,clockwise:g,cx:a,cy:s,r0:u,r:m?e9(e,v,[u,l]):l}),x=i}})),y<_me&&h)if(y<=.001){var S=_me/h;t.each(r,(function(e,n){if(!isNaN(e)){var r=t.getItemLayout(n);r.angle=S,r.startAngle=c+_*n*S,r.endAngle=c+_*(n+1)*S}}))}else p=y/w,x=c,t.each(r,(function(e,n){if(!isNaN(e)){var r=t.getItemLayout(n),i=r.angle===f?f:e*p;r.startAngle=x,r.endAngle=x+_*i,x+=_*i}}))}))}function Ime(e){return{seriesType:e,reset:function(e,t){var n=t.findComponents({mainType:"legend"});if(n&&n.length){var r=e.getData();r.filterSelf((function(e){for(var t=r.getName(e),i=0;i<n.length;i++)if(!n[i].isSelected(t))return!1;return!0}))}}}}var Mme=Math.PI/180;function Tme(e,t,n,r,i,o,a,s,l,u){if(!(e.length<2)){for(var c=e.length,f=0;f<c;f++)if("outer"===e[f].position&&"labelLine"===e[f].labelAlignTo){var h=e[f].label.x-u;e[f].linePoints[1][0]+=h,e[f].label.x=u}Phe(e,l,l+a)&&function(e){for(var o={list:[],maxY:0},a={list:[],maxY:0},s=0;s<e.length;s++)if("none"===e[s].labelAlignTo){var l=e[s],u=l.label.y>n?a:o,c=Math.abs(l.label.y-n);if(c>=u.maxY){var f=l.label.x-t-l.len2*i,h=r+l.len,p=Math.abs(f)<h?Math.sqrt(c*c/(1-f*f/h/h)):h;u.rB=p,u.maxY=c}u.list.push(l)}d(o),d(a)}(e)}function d(e){for(var o=e.rB,a=o*o,s=0;s<e.list.length;s++){var l=e.list[s],u=Math.abs(l.label.y-n),c=r+l.len,f=c*c,h=Math.sqrt((1-Math.abs(u*u/a))*f),d=t+(h+l.len2)*i,p=d-l.label.x;Ame(l,l.targetTextWidth-p*i,!0),l.label.x=d}}}function Ame(e,t,n){if(void 0===n&&(n=!1),null==e.labelStyleWidth){var r=e.label,i=r.style,o=e.rect,a=i.backgroundColor,s=i.padding,l=s?s[1]+s[3]:0,u=i.overflow,c=o.width+(a?0:l);if(t<c||n){var f=o.height;if(u&&u.match("break")){r.setStyle("backgroundColor",null),r.setStyle("width",t-l);var h=r.getBoundingRect();r.setStyle("width",Math.ceil(h.width)),r.setStyle("backgroundColor",a)}else{var d=t-l,p=t<c?d:n?d>e.unconstrainedWidth?null:d:null;r.setStyle("width",p)}var g=r.getBoundingRect();o.width=g.width;var m=(r.style.margin||0)+2.1;o.height=g.height+m,o.y-=(o.height-f)/2}}}function Pme(e){return"center"===e.position}function Ome(e){var t,n,r=e.getData(),i=[],o=!1,a=(e.get("minShowLabelAngle")||0)*Mme,s=r.getLayout("viewRect"),l=r.getLayout("r"),u=s.width,c=s.x,f=s.y,h=s.height;function d(e){e.ignore=!0}r.each((function(e){var s=r.getItemGraphicEl(e),f=s.shape,h=s.getTextContent(),p=s.getTextGuideLine(),g=r.getItemModel(e),m=g.getModel("label"),b=m.get("position")||g.get(["emphasis","label","position"]),v=m.get("distanceToLabelLine"),y=m.get("alignTo"),w=t9(m.get("edgeDistance"),u),x=m.get("bleedMargin"),_=g.getModel("labelLine"),S=_.get("length");S=t9(S,u);var k=_.get("length2");if(k=t9(k,u),Math.abs(f.endAngle-f.startAngle)<a)return q2(h.states,d),h.ignore=!0,void(p&&(q2(p.states,d),p.ignore=!0));if(function(e){if(!e.ignore)return!0;for(var t in e.states)if(!1===e.states[t].ignore)return!0;return!1}(h)){var C,E,I,M,T=(f.startAngle+f.endAngle)/2,A=Math.cos(T),P=Math.sin(T);t=f.cx,n=f.cy;var O="inside"===b||"inner"===b;if("center"===b)C=f.cx,E=f.cy,M="center";else{var D=(O?(f.r+f.r0)/2*A:f.r*A)+t,R=(O?(f.r+f.r0)/2*P:f.r*P)+n;if(C=D+3*A,E=R+3*P,!O){var L=D+A*(S+l-f.r),N=R+P*(S+l-f.r),j=L+(A<0?-1:1)*k;C="edge"===y?A<0?c+w:c+u-w:j+(A<0?-v:v),E=N,I=[[D,R],[L,N],[j,N]]}M=O?"center":"edge"===y?A>0?"right":"left":A>0?"left":"right"}var F=Math.PI,z=0,B=m.get("rotate");if(i3(B))z=B*(F/180);else if("center"===b)z=0;else if("radial"===B||!0===B){z=A<0?-T+F:-T}else if("tangential"===B&&"outside"!==b&&"outer"!==b){var V=Math.atan2(A,P);V<0&&(V=2*F+V),P>0&&(V=F+V),z=V-F}if(o=!!z,h.x=C,h.y=E,h.rotation=z,h.setStyle({verticalAlign:"middle"}),O){h.setStyle({align:M});var $=h.states.select;$&&($.x+=h.x,$.y+=h.y)}else{var H=h.getBoundingRect().clone();H.applyTransform(h.getComputedTransform());var G=(h.style.margin||0)+2.1;H.y-=G/2,H.height+=G,i.push({label:h,labelLine:p,position:b,len:S,len2:k,minTurnAngle:_.get("minTurnAngle"),maxSurfaceAngle:_.get("maxSurfaceAngle"),surfaceNormal:new O5(A,P),linePoints:I,textAlign:M,labelDistance:v,labelAlignTo:y,edgeDistance:w,bleedMargin:x,rect:H,unconstrainedWidth:H.width,labelStyleWidth:h.style.width})}s.setTextConfig({inside:O})}})),!o&&e.get("avoidLabelOverlap")&&function(e,t,n,r,i,o,a,s){for(var l=[],u=[],c=Number.MAX_VALUE,f=-Number.MAX_VALUE,h=0;h<e.length;h++){var d=e[h].label;Pme(e[h])||(d.x<t?(c=Math.min(c,d.x),l.push(e[h])):(f=Math.max(f,d.x),u.push(e[h])))}for(h=0;h<e.length;h++)if(!Pme(m=e[h])&&m.linePoints){if(null!=m.labelStyleWidth)continue;d=m.label;var p=m.linePoints,g=void 0;g="edge"===m.labelAlignTo?d.x<t?p[2][0]-m.labelDistance-a-m.edgeDistance:a+i-m.edgeDistance-p[2][0]-m.labelDistance:"labelLine"===m.labelAlignTo?d.x<t?c-a-m.bleedMargin:a+i-f-m.bleedMargin:d.x<t?d.x-a-m.bleedMargin:a+i-d.x-m.bleedMargin,m.targetTextWidth=g,Ame(m,g)}for(Tme(u,t,n,r,1,0,o,0,s,f),Tme(l,t,n,r,-1,0,o,0,s,c),h=0;h<e.length;h++){var m;if(!Pme(m=e[h])&&m.linePoints){d=m.label,p=m.linePoints;var b="edge"===m.labelAlignTo,v=d.style.padding,y=v?v[1]+v[3]:0,w=d.style.backgroundColor?0:y,x=m.rect.width+w,_=p[1][0]-p[2][0];b?d.x<t?p[2][0]=a+m.edgeDistance+x+m.labelDistance:p[2][0]=a+i-m.edgeDistance-x-m.labelDistance:(d.x<t?p[2][0]=d.x+m.labelDistance:p[2][0]=d.x-m.labelDistance,p[1][0]=p[2][0]+_),p[1][1]=p[2][1]=d.y}}}(i,t,n,l,u,h,c,f);for(var p=0;p<i.length;p++){var g=i[p],m=g.label,b=g.labelLine,v=isNaN(m.x)||isNaN(m.y);if(m){m.setStyle({align:g.textAlign}),v&&(q2(m.states,d),m.ignore=!0);var y=m.states.select;y&&(y.x+=m.x,y.y+=m.y)}if(b){var w=g.linePoints;v||!w?(q2(b.states,d),b.ignore=!0):(She(w,g.minTurnAngle),khe(w,g.surfaceNormal,g.maxSurfaceAngle),b.setShape({points:w}),m.__hostTarget.textGuideLineConfig={anchor:new O5(w[0][0],w[0][1])})}}}var Dme=function(e){function t(t,n,r){var i=e.call(this)||this;i.z2=2;var o=new ute;return i.setTextContent(o),i.updateData(t,n,r,!0),i}return g2(t,e),t.prototype.updateData=function(e,t,n,r){var i=this,o=e.hostModel,a=e.getItemModel(t),s=a.getModel("emphasis"),l=e.getItemLayout(t),u=$2(nme(a.getModel("itemStyle"),l,!0),l);if(isNaN(u.startAngle))i.setShape(u);else{if(r){i.setShape(u);var c=o.getShallow("animationType");o.ecModel.ssr?(pne(i,{scaleX:0,scaleY:0},o,{dataIndex:t,isFrom:!0}),i.originX=u.cx,i.originY=u.cy):"scale"===c?(i.shape.r=l.r0,pne(i,{shape:{r:l.r}},o,t)):null!=n?(i.setShape({startAngle:n,endAngle:n}),pne(i,{shape:{startAngle:l.startAngle,endAngle:l.endAngle}},o,t)):(i.shape.endAngle=l.startAngle,dne(i,{shape:{endAngle:l.endAngle}},o,t))}else yne(i),dne(i,{shape:u},o,t);i.useStyle(e.getItemVisual(t,"style")),one(i,a);var f=(l.startAngle+l.endAngle)/2,h=o.get("selectedOffset"),d=Math.cos(f)*h,p=Math.sin(f)*h,g=a.getShallow("cursor");g&&i.attr("cursor",g),this._updateLabel(o,e,t),i.ensureState("emphasis").shape=$2({r:l.r+(s.get("scale")&&s.get("scaleSize")||0)},nme(s.getModel("itemStyle"),l)),$2(i.ensureState("select"),{x:d,y:p,shape:nme(a.getModel(["select","itemStyle"]),l)}),$2(i.ensureState("blur"),{shape:nme(a.getModel(["blur","itemStyle"]),l)});var m=i.getTextGuideLine(),b=i.getTextContent();m&&$2(m.ensureState("select"),{x:d,y:p}),$2(b.ensureState("select"),{x:d,y:p}),tne(this,s.get("focus"),s.get("blurScope"),s.get("disabled"))}},t.prototype._updateLabel=function(e,t,n){var r=this,i=t.getItemModel(n),o=i.getModel("labelLine"),a=t.getItemVisual(n,"style"),s=a&&a.fill,l=a&&a.opacity;Sne(r,kne(i),{labelFetcher:t.hostModel,labelDataIndex:n,inheritColor:s,defaultOpacity:l,defaultText:e.getFormattedLabel(n,"normal")||t.getName(n)});var u=r.getTextContent();r.setTextConfig({position:null,rotation:null}),u.attr({z2:10});var c=e.get(["label","position"]);if("outside"!==c&&"outer"!==c)r.removeTextGuideLine();else{var f=this.getTextGuideLine();f||(f=new ele,this.setTextGuideLine(f)),Ihe(this,Mhe(i),{stroke:s,opacity:d3(o.get(["lineStyle","opacity"]),l,1)})}},t}(Gse),Rme=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.ignoreLabelLineUpdate=!0,t}return g2(t,e),t.prototype.render=function(e,t,n,r){var i,o=e.getData(),a=this._data,s=this.group;if(!a&&o.count()>0){for(var l=o.getItemLayout(0),u=1;isNaN(l&&l.startAngle)&&u<o.count();++u)l=o.getItemLayout(u);l&&(i=l.startAngle)}if(this._emptyCircleSector&&s.remove(this._emptyCircleSector),0===o.count()&&e.get("showEmptyCircle")){var c=new Gse({shape:Cme(e,n)});c.useStyle(e.getModel("emptyCircleStyle").getItemStyle()),this._emptyCircleSector=c,s.add(c)}o.diff(a).add((function(e){var t=new Dme(o,e,i);o.setItemGraphicEl(e,t),s.add(t)})).update((function(e,t){var n=a.getItemGraphicEl(t);n.updateData(o,e,i),n.off("click"),s.add(n),o.setItemGraphicEl(e,n)})).remove((function(t){vne(a.getItemGraphicEl(t),e,t)})).execute(),Ome(e),"expansion"!==e.get("animationTypeUpdate")&&(this._data=o)},t.prototype.dispose=function(){},t.prototype.containPoint=function(e,t){var n=t.getData().getItemLayout(0);if(n){var r=e[0]-n.cx,i=e[1]-n.cy,o=Math.sqrt(r*r+i*i);return o<=n.r&&o>=n.r0}},t.type="pie",t}(due);const Lme=Rme;function Nme(e,t,n){t=e3(t)&&{coordDimensions:t}||$2({encodeDefine:e.getEncode()},t);var r=e.getSource(),i=jpe(r,t).dimensions,o=new Npe(i,e);return o.initData(r,n),o}var jme=function(){function e(e,t){this._getDataWithEncodedVisual=e,this._getRawData=t}return e.prototype.getAllNames=function(){var e=this._getRawData();return e.mapArray(e.getName)},e.prototype.containName=function(e){return this._getRawData().indexOfName(e)>=0},e.prototype.indexOfName=function(e){return this._getDataWithEncodedVisual().indexOfName(e)},e.prototype.getItemVisual=function(e,t){return this._getDataWithEncodedVisual().getItemVisual(e,t)},e}();const Fme=jme;var zme=j9(),Bme=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return g2(t,e),t.prototype.init=function(t){e.prototype.init.apply(this,arguments),this.legendVisualProvider=new Fme(Q2(this.getData,this),Q2(this.getRawData,this)),this._defaultLabelLine(t)},t.prototype.mergeOption=function(){e.prototype.mergeOption.apply(this,arguments)},t.prototype.getInitialData=function(){return Nme(this,{coordDimensions:["value"],encodeDefaulter:J2(Sie,this)})},t.prototype.getDataParams=function(t){var n=this.getData(),r=zme(n),i=r.seats;if(!i){var o=[];n.each(n.mapDimension("value"),(function(e){o.push(e)})),i=r.seats=a9(o,n.hostModel.get("percentPrecision"))}var a=e.prototype.getDataParams.call(this,t);return a.percent=i[t]||0,a.$vars.push("percent"),a},t.prototype._defaultLabelLine=function(e){E9(e,"labelLine",["show"]);var t=e.labelLine,n=e.emphasis.labelLine;t.show=t.show&&e.label.show,n.show=n.show&&e.emphasis.label.show},t.type="series.pie",t.defaultOption={z:2,legendHoverLink:!0,colorBy:"data",center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,minAngle:0,minShowLabelAngle:0,selectedOffset:10,percentPrecision:2,stillShowZeroSum:!0,left:0,top:0,right:0,bottom:0,width:null,height:null,label:{rotate:0,show:!0,overflow:"truncate",position:"outer",alignTo:"none",edgeDistance:"25%",bleedMargin:10,distanceToLabelLine:5},labelLine:{show:!0,length:15,length2:15,smooth:!1,minTurnAngle:90,maxSurfaceAngle:90,lineStyle:{width:1,type:"solid"}},itemStyle:{borderWidth:1,borderJoin:"round"},showEmptyCircle:!0,emptyCircleStyle:{color:"lightgray",opacity:1},labelLayout:{hideOverlap:!0},emphasis:{scale:!0,scaleSize:5},avoidLabelOverlap:!0,animationType:"expansion",animationDuration:1e3,animationTypeUpdate:"transition",animationEasingUpdate:"cubicInOut",animationDurationUpdate:500,animationEasing:"cubicInOut"},t}(Jae);const Vme=Bme;var $me=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.hasSymbolVisual=!0,n}return g2(t,e),t.prototype.getInitialData=function(e,t){return Wpe(null,this,{useEncodeDefaulter:!0})},t.prototype.getProgressive=function(){var e=this.option.progressive;return null==e?this.option.large?5e3:this.get("progressive"):e},t.prototype.getProgressiveThreshold=function(){var e=this.option.progressiveThreshold;return null==e?this.option.large?1e4:this.get("progressiveThreshold"):e},t.prototype.brushSelector=function(e,t,n){return n.point(t.getItemLayout(e))},t.prototype.getZLevelKey=function(){return this.getData().count()>this.getProgressiveThreshold()?this.id:""},t.type="series.scatter",t.dependencies=["grid","polar","geo","singleAxis","calendar"],t.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,symbolSize:10,large:!1,largeThreshold:2e3,itemStyle:{opacity:.8},emphasis:{scale:!0},clip:!0,select:{itemStyle:{borderColor:"#212121"}},universalTransition:{divideShape:"clone"}},t}(Jae);const Hme=$me;var Gme=function(){},Wme=function(e){function t(t){var n=e.call(this,t)||this;return n._off=0,n.hoverDataIdx=-1,n}return g2(t,e),t.prototype.getDefaultShape=function(){return new Gme},t.prototype.reset=function(){this.notClear=!1,this._off=0},t.prototype.buildPath=function(e,t){var n,r=t.points,i=t.size,o=this.symbolProxy,a=o.shape,s=e.getContext?e.getContext():e,l=s&&i[0]<4,u=this.softClipShape;if(l)this._ctx=s;else{for(this._ctx=null,n=this._off;n<r.length;){var c=r[n++],f=r[n++];isNaN(c)||isNaN(f)||(u&&!u.contain(c,f)||(a.x=c-i[0]/2,a.y=f-i[1]/2,a.width=i[0],a.height=i[1],o.buildPath(e,a,!0)))}this.incremental&&(this._off=n,this.notClear=!0)}},t.prototype.afterBrush=function(){var e,t=this.shape,n=t.points,r=t.size,i=this._ctx,o=this.softClipShape;if(i){for(e=this._off;e<n.length;){var a=n[e++],s=n[e++];isNaN(a)||isNaN(s)||(o&&!o.contain(a,s)||i.fillRect(a-r[0]/2,s-r[1]/2,r[0],r[1]))}this.incremental&&(this._off=e,this.notClear=!0)}},t.prototype.findDataIndex=function(e,t){for(var n=this.shape,r=n.points,i=n.size,o=Math.max(i[0],4),a=Math.max(i[1],4),s=r.length/2-1;s>=0;s--){var l=2*s,u=r[l]-o/2,c=r[l+1]-a/2;if(e>=u&&t>=c&&e<=u+o&&t<=c+a)return s}return-1},t.prototype.contain=function(e,t){var n=this.transformCoordToLocal(e,t),r=this.getBoundingRect();return e=n[0],t=n[1],r.contain(e,t)?(this.hoverDataIdx=this.findDataIndex(e,t))>=0:(this.hoverDataIdx=-1,!1)},t.prototype.getBoundingRect=function(){var e=this._rect;if(!e){for(var t=this.shape,n=t.points,r=t.size,i=r[0],o=r[1],a=1/0,s=1/0,l=-1/0,u=-1/0,c=0;c<n.length;){var f=n[c++],h=n[c++];a=Math.min(f,a),l=Math.max(f,l),s=Math.min(h,s),u=Math.max(h,u)}e=this._rect=new $5(a-i/2,s-o/2,l-a+i,u-s+o)}return e},t}(Oee),Ume=function(){function e(){this.group=new X8}return e.prototype.updateData=function(e,t){this._clear();var n=this._create();n.setShape({points:e.getLayout("points")}),this._setCommon(n,e,t)},e.prototype.updateLayout=function(e){var t=e.getLayout("points");this.group.eachChild((function(e){if(null!=e.startIndex){var n=2*(e.endIndex-e.startIndex),r=4*e.startIndex*2;t=new Float32Array(t.buffer,r,n)}e.setShape("points",t),e.reset()}))},e.prototype.incrementalPrepareUpdate=function(e){this._clear()},e.prototype.incrementalUpdate=function(e,t,n){var r=this._newAdded[0],i=t.getLayout("points"),o=r&&r.shape.points;if(o&&o.length<2e4){var a=o.length,s=new Float32Array(a+i.length);s.set(o),s.set(i,a),r.endIndex=e.end,r.setShape({points:s})}else{this._newAdded=[];var l=this._create();l.startIndex=e.start,l.endIndex=e.end,l.incremental=!0,l.setShape({points:i}),this._setCommon(l,t,n)}},e.prototype.eachRendered=function(e){this._newAdded[0]&&e(this._newAdded[0])},e.prototype._create=function(){var e=new Wme({cursor:"default"});return e.ignoreCoarsePointer=!0,this.group.add(e),this._newAdded.push(e),e},e.prototype._setCommon=function(e,t,n){var r=t.hostModel;n=n||{};var i=t.getVisual("symbolSize");e.setShape("size",i instanceof Array?i:[i,i]),e.softClipShape=n.clipShape||null,e.symbolProxy=Sce(t.getVisual("symbol"),0,0,0,0),e.setColor=e.symbolProxy.setColor;var o=e.shape.size[0]<4;e.useStyle(r.getModel("itemStyle").getItemStyle(o?["color","shadowBlur","shadowColor"]:["color"]));var a=t.getVisual("style"),s=a&&a.fill;s&&e.setColor(s);var l=cte(e);l.seriesIndex=r.seriesIndex,e.on("mousemove",(function(t){l.dataIndex=null;var n=e.hoverDataIdx;n>=0&&(l.dataIndex=n+(e.startIndex||0))}))},e.prototype.remove=function(){this._clear()},e.prototype._clear=function(){this._newAdded=[],this.group.removeAll()},e}();const qme=Ume;var Xme=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return g2(t,e),t.prototype.render=function(e,t,n){var r=e.getData();this._updateSymbolDraw(r,e).updateData(r,{clipShape:this._getClipShape(e)}),this._finished=!0},t.prototype.incrementalPrepareRender=function(e,t,n){var r=e.getData();this._updateSymbolDraw(r,e).incrementalPrepareUpdate(r),this._finished=!1},t.prototype.incrementalRender=function(e,t,n){this._symbolDraw.incrementalUpdate(e,t.getData(),{clipShape:this._getClipShape(t)}),this._finished=e.end===t.getData().count()},t.prototype.updateTransform=function(e,t,n){var r=e.getData();if(this.group.dirty(),!this._finished||r.count()>1e4)return{update:!0};var i=Dge("").reset(e,t,n);i.progress&&i.progress({start:0,end:r.count(),count:r.count()},r),this._symbolDraw.updateLayout(r)},t.prototype.eachRendered=function(e){this._symbolDraw&&this._symbolDraw.eachRendered(e)},t.prototype._getClipShape=function(e){var t=e.coordinateSystem,n=t&&t.getArea&&t.getArea();return e.get("clip",!0)?n:null},t.prototype._updateSymbolDraw=function(e,t){var n=this._symbolDraw,r=t.pipelineContext.large;return n&&r===this._isLargeDraw||(n&&n.remove(),n=this._symbolDraw=r?new qme:new rge,this._isLargeDraw=r,this.group.removeAll()),this.group.add(n.group),n},t.prototype.remove=function(e,t){this._symbolDraw&&this._symbolDraw.remove(!0),this._symbolDraw=null},t.prototype.dispose=function(){},t.type="scatter",t}(due);const Yme=Xme;const Kme=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return g2(t,e),t.type="grid",t.dependencies=["xAxis","yAxis"],t.layoutMode="box",t.defaultOption={show:!1,z:0,left:"10%",top:60,right:"10%",bottom:70,containLabel:!1,backgroundColor:"rgba(0,0,0,0)",borderWidth:1,borderColor:"#ccc"},t}(oie);var Zme=function(){function e(){}return e.prototype.getNeedCrossZero=function(){return!this.option.scale},e.prototype.getCoordSysModel=function(){},e}(),Qme=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return g2(t,e),t.prototype.getCoordSysModel=function(){return this.getReferringComponents("grid",V9).models[0]},t.type="cartesian2dAxis",t}(oie);W2(Qme,Zme);var Jme={show:!0,z:0,inverse:!1,name:"",nameLocation:"end",nameRotate:null,nameTruncate:{maxWidth:null,ellipsis:"...",placeholder:"."},nameTextStyle:{},nameGap:15,silent:!1,triggerEvent:!1,tooltip:{show:!1},axisPointer:{},axisLine:{show:!0,onZero:!0,onZeroAxisIndex:null,lineStyle:{color:"#6E7079",width:1,type:"solid"},symbol:["none","none"],symbolSize:[10,15]},axisTick:{show:!0,inside:!1,length:5,lineStyle:{width:1}},axisLabel:{show:!0,inside:!1,rotate:0,showMinLabel:null,showMaxLabel:null,margin:8,fontSize:12},splitLine:{show:!0,lineStyle:{color:["#E0E6F1"],width:1,type:"solid"}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.2)","rgba(210,219,238,0.2)"]}}},ebe=B2({boundaryGap:!0,deduplication:null,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},Jme),tbe=B2({boundaryGap:[0,0],axisLine:{show:"auto"},axisTick:{show:"auto"},splitNumber:5,minorTick:{show:!1,splitNumber:5,length:3,lineStyle:{}},minorSplitLine:{show:!1,lineStyle:{color:"#F4F7FD",width:1}}},Jme);const nbe={category:ebe,value:tbe,time:B2({splitNumber:6,axisLabel:{showMinLabel:!1,showMaxLabel:!1,rich:{primary:{fontWeight:"bold"}}},splitLine:{show:!1}},tbe),log:H2({logBase:10},tbe)};var rbe=0,ibe=function(){function e(e){this.categories=e.categories||[],this._needCollect=e.needCollect,this._deduplication=e.deduplication,this.uid=++rbe}return e.createByAxisModel=function(t){var n=t.option,r=n.data,i=r&&X2(r,obe);return new e({categories:i,needCollect:!i,deduplication:!1!==n.dedplication})},e.prototype.getOrdinal=function(e){return this._getOrCreateMap().get(e)},e.prototype.parseAndCollect=function(e){var t,n=this._needCollect;if(!n3(e)&&!n)return e;if(n&&!this._deduplication)return t=this.categories.length,this.categories[t]=e,t;var r=this._getOrCreateMap();return null==(t=r.get(e))&&(n?(t=this.categories.length,this.categories[t]=e,r.set(e,t)):t=NaN),t},e.prototype._getOrCreateMap=function(){return this._map||(this._map=k3(this.categories))},e}();function obe(e){return o3(e)&&null!=e.value?e.value:e+""}const abe=ibe;var sbe={value:1,category:1,time:1,log:1};function lbe(e,t,n,r){q2(sbe,(function(i,o){var a=B2(B2({},nbe[o],!0),r,!0),s=function(e){function n(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t+"Axis."+o,n}return g2(n,e),n.prototype.mergeDefaultAndTheme=function(e,t){var n=Jre(this),r=n?tie(e):{};B2(e,t.getTheme().get(o+"Axis")),B2(e,this.getDefaultOption()),e.type=ube(e),n&&eie(e,r,n)},n.prototype.optionUpdated=function(){"category"===this.option.type&&(this.__ordinalMeta=abe.createByAxisModel(this))},n.prototype.getCategories=function(e){var t=this.option;if("category"===t.type)return e?t.data:this.__ordinalMeta.categories},n.prototype.getOrdinalMeta=function(){return this.__ordinalMeta},n.type=t+"Axis."+o,n.defaultOption=a,n}(n);e.registerComponentModel(s)})),e.registerSubTypeDefaulter(t+"Axis",ube)}function ube(e){return e.type||(e.data?"category":"value")}var cbe=function(){function e(e){this._setting=e||{},this._extent=[1/0,-1/0]}return e.prototype.getSetting=function(e){return this._setting[e]},e.prototype.unionExtent=function(e){var t=this._extent;e[0]<t[0]&&(t[0]=e[0]),e[1]>t[1]&&(t[1]=e[1])},e.prototype.unionExtentFromData=function(e,t){this.unionExtent(e.getApproximateExtent(t))},e.prototype.getExtent=function(){return this._extent.slice()},e.prototype.setExtent=function(e,t){var n=this._extent;isNaN(e)||(n[0]=e),isNaN(t)||(n[1]=t)},e.prototype.isInExtentRange=function(e){return this._extent[0]<=e&&this._extent[1]>=e},e.prototype.isBlank=function(){return this._isBlank},e.prototype.setBlank=function(e){this._isBlank=e},e}();t7(cbe);const fbe=cbe;function hbe(e){return"interval"===e.type||"log"===e.type}function dbe(e,t,n,r){var i={},o=e[1]-e[0],a=i.interval=p9(o/t,!0);null!=n&&a<n&&(a=i.interval=n),null!=r&&a>r&&(a=i.interval=r);var s=i.intervalPrecision=gbe(a);return function(e,t){!isFinite(e[0])&&(e[0]=t[0]),!isFinite(e[1])&&(e[1]=t[1]),mbe(e,0,t),mbe(e,1,t),e[0]>e[1]&&(e[0]=e[1])}(i.niceTickExtent=[n9(Math.ceil(e[0]/a)*a,s),n9(Math.floor(e[1]/a)*a,s)],e),i}function pbe(e){var t=Math.pow(10,d9(e)),n=e/t;return n?2===n?n=3:3===n?n=5:n*=2:n=1,n9(n*t)}function gbe(e){return i9(e)+2}function mbe(e,t,n){e[t]=Math.max(Math.min(e[t],n[1]),n[0])}function bbe(e,t){return e>=t[0]&&e<=t[1]}function vbe(e,t){return t[1]===t[0]?.5:(e-t[0])/(t[1]-t[0])}function ybe(e,t){return e*(t[1]-t[0])+t[0]}var wbe=function(e){function t(t){var n=e.call(this,t)||this;n.type="ordinal";var r=n.getSetting("ordinalMeta");return r||(r=new abe({})),e3(r)&&(r=new abe({categories:X2(r,(function(e){return o3(e)?e.value:e}))})),n._ordinalMeta=r,n._extent=n.getSetting("extent")||[0,r.categories.length-1],n}return g2(t,e),t.prototype.parse=function(e){return null==e?NaN:n3(e)?this._ordinalMeta.getOrdinal(e):Math.round(e)},t.prototype.contain=function(e){return bbe(e=this.parse(e),this._extent)&&null!=this._ordinalMeta.categories[e]},t.prototype.normalize=function(e){return vbe(e=this._getTickNumber(this.parse(e)),this._extent)},t.prototype.scale=function(e){return e=Math.round(ybe(e,this._extent)),this.getRawOrdinalNumber(e)},t.prototype.getTicks=function(){for(var e=[],t=this._extent,n=t[0];n<=t[1];)e.push({value:n}),n++;return e},t.prototype.getMinorTicks=function(e){},t.prototype.setSortInfo=function(e){if(null!=e){for(var t=e.ordinalNumbers,n=this._ordinalNumbersByTick=[],r=this._ticksByOrdinalNumber=[],i=0,o=this._ordinalMeta.categories.length,a=Math.min(o,t.length);i<a;++i){var s=t[i];n[i]=s,r[s]=i}for(var l=0;i<o;++i){for(;null!=r[l];)l++;n.push(l),r[l]=i}}else this._ordinalNumbersByTick=this._ticksByOrdinalNumber=null},t.prototype._getTickNumber=function(e){var t=this._ticksByOrdinalNumber;return t&&e>=0&&e<t.length?t[e]:e},t.prototype.getRawOrdinalNumber=function(e){var t=this._ordinalNumbersByTick;return t&&e>=0&&e<t.length?t[e]:e},t.prototype.getLabel=function(e){if(!this.isBlank()){var t=this.getRawOrdinalNumber(e.value),n=this._ordinalMeta.categories[t];return null==n?"":n+""}},t.prototype.count=function(){return this._extent[1]-this._extent[0]+1},t.prototype.unionExtentFromData=function(e,t){this.unionExtent(e.getApproximateExtent(t))},t.prototype.isInExtentRange=function(e){return e=this._getTickNumber(e),this._extent[0]<=e&&this._extent[1]>=e},t.prototype.getOrdinalMeta=function(){return this._ordinalMeta},t.prototype.calcNiceTicks=function(){},t.prototype.calcNiceExtent=function(){},t.type="ordinal",t}(fbe);fbe.registerClass(wbe);const xbe=wbe;var _be=n9,Sbe=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="interval",t._interval=0,t._intervalPrecision=2,t}return g2(t,e),t.prototype.parse=function(e){return e},t.prototype.contain=function(e){return bbe(e,this._extent)},t.prototype.normalize=function(e){return vbe(e,this._extent)},t.prototype.scale=function(e){return ybe(e,this._extent)},t.prototype.setExtent=function(e,t){var n=this._extent;isNaN(e)||(n[0]=parseFloat(e)),isNaN(t)||(n[1]=parseFloat(t))},t.prototype.unionExtent=function(e){var t=this._extent;e[0]<t[0]&&(t[0]=e[0]),e[1]>t[1]&&(t[1]=e[1]),this.setExtent(t[0],t[1])},t.prototype.getInterval=function(){return this._interval},t.prototype.setInterval=function(e){this._interval=e,this._niceExtent=this._extent.slice(),this._intervalPrecision=gbe(e)},t.prototype.getTicks=function(e){var t=this._interval,n=this._extent,r=this._niceExtent,i=this._intervalPrecision,o=[];if(!t)return o;n[0]<r[0]&&(e?o.push({value:_be(r[0]-t,i)}):o.push({value:n[0]}));for(var a=r[0];a<=r[1]&&(o.push({value:a}),(a=_be(a+t,i))!==o[o.length-1].value);)if(o.length>1e4)return[];var s=o.length?o[o.length-1].value:r[1];return n[1]>s&&(e?o.push({value:_be(s+t,i)}):o.push({value:n[1]})),o},t.prototype.getMinorTicks=function(e){for(var t=this.getTicks(!0),n=[],r=this.getExtent(),i=1;i<t.length;i++){for(var o=t[i],a=t[i-1],s=0,l=[],u=(o.value-a.value)/e;s<e-1;){var c=_be(a.value+(s+1)*u);c>r[0]&&c<r[1]&&l.push(c),s++}n.push(l)}return n},t.prototype.getLabel=function(e,t){if(null==e)return"";var n=t&&t.precision;return null==n?n=i9(e.value)||0:"auto"===n&&(n=this._intervalPrecision),jre(_be(e.value,n,!0))},t.prototype.calcNiceTicks=function(e,t,n){e=e||5;var r=this._extent,i=r[1]-r[0];if(isFinite(i)){i<0&&(i=-i,r.reverse());var o=dbe(r,e,t,n);this._intervalPrecision=o.intervalPrecision,this._interval=o.interval,this._niceExtent=o.niceTickExtent}},t.prototype.calcNiceExtent=function(e){var t=this._extent;if(t[0]===t[1])if(0!==t[0]){var n=Math.abs(t[0]);e.fixMax||(t[1]+=n/2),t[0]-=n/2}else t[1]=1;var r=t[1]-t[0];isFinite(r)||(t[0]=0,t[1]=1),this.calcNiceTicks(e.splitNumber,e.minInterval,e.maxInterval);var i=this._interval;e.fixMin||(t[0]=_be(Math.floor(t[0]/i)*i)),e.fixMax||(t[1]=_be(Math.ceil(t[1]/i)*i))},t.prototype.setNiceExtent=function(e,t){this._niceExtent=[e,t]},t.type="interval",t}(fbe);fbe.registerClass(Sbe);const kbe=Sbe;var Cbe=function(e){function t(t){var n=e.call(this,t)||this;return n.type="time",n}return g2(t,e),t.prototype.getLabel=function(e){var t=this.getSetting("useUTC");return wre(e.value,pre[function(e){switch(e){case"year":case"month":return"day";case"millisecond":return"millisecond";default:return"second"}}(vre(this._minLevelUnit))]||pre.second,t,this.getSetting("locale"))},t.prototype.getFormattedLabel=function(e,t,n){var r=this.getSetting("useUTC");return function(e,t,n,r,i){var o=null;if(n3(n))o=n;else if(t3(n))o=n(e.value,t,{level:e.level});else{var a=$2({},hre);if(e.level>0)for(var s=0;s<gre.length;++s)a[gre[s]]="{primary|"+a[gre[s]]+"}";var l=n?!1===n.inherit?n:H2(n,a):a,u=xre(e.value,i);if(l[u])o=l[u];else if(l.inherit){for(s=mre.indexOf(u)-1;s>=0;--s)if(l[u]){o=l[u];break}o=o||a.none}if(e3(o)){var c=null==e.level?0:e.level>=0?e.level:o.length+e.level;o=o[c=Math.min(c,o.length-1)]}}return wre(new Date(e.value),o,i,r)}(e,t,n,this.getSetting("locale"),r)},t.prototype.getTicks=function(){var e=this._interval,t=this._extent,n=[];if(!e)return n;n.push({value:t[0],level:0});var r=this.getSetting("useUTC"),i=function(e,t,n,r){var i=1e4,o=mre,a=0;function s(e,t,n,i,o,a,s){for(var l=new Date(t),u=t,c=l[i]();u<n&&u<=r[1];)s.push({value:u}),c+=e,l[o](c),u=l.getTime();s.push({value:u,notAdd:!0})}function l(e,i,o){var a=[],l=!i.length;if(!function(e,t,n,r){var i=h9(t),o=h9(n),a=function(e){return _re(i,e,r)===_re(o,e,r)},s=function(){return a("year")},l=function(){return s()&&a("month")},u=function(){return l()&&a("day")},c=function(){return u()&&a("hour")},f=function(){return c()&&a("minute")},h=function(){return f()&&a("second")},d=function(){return h()&&a("millisecond")};switch(e){case"year":return s();case"month":return l();case"day":return u();case"hour":return c();case"minute":return f();case"second":return h();case"millisecond":return d()}}(vre(e),r[0],r[1],n)){l&&(i=[{value:Obe(new Date(r[0]),e,n)},{value:r[1]}]);for(var u=0;u<i.length-1;u++){var c=i[u].value,f=i[u+1].value;if(c!==f){var h=void 0,d=void 0,p=void 0,g=!1;switch(e){case"year":h=Math.max(1,Math.round(t/cre/365)),d=Sre(n),p=Are(n);break;case"half-year":case"quarter":case"month":h=Mbe(t),d=kre(n),p=Pre(n);break;case"week":case"half-week":case"day":h=Ibe(t,31),d=Cre(n),p=Ore(n),g=!0;break;case"half-day":case"quarter-day":case"hour":h=Tbe(t),d=Ere(n),p=Dre(n);break;case"minute":h=Abe(t,!0),d=Ire(n),p=Rre(n);break;case"second":h=Abe(t,!1),d=Mre(n),p=Lre(n);break;case"millisecond":h=Pbe(t),d=Tre(n),p=Nre(n)}s(h,c,f,d,p,g,a),"year"===e&&o.length>1&&0===u&&o.unshift({value:o[0].value-h})}}for(u=0;u<a.length;u++)o.push(a[u]);return a}}for(var u=[],c=[],f=0,h=0,d=0;d<o.length&&a++<i;++d){var p=vre(o[d]);if(yre(o[d]))if(l(o[d],u[u.length-1]||[],c),p!==(o[d+1]?vre(o[d+1]):null)){if(c.length){h=f,c.sort((function(e,t){return e.value-t.value}));for(var g=[],m=0;m<c.length;++m){var b=c[m].value;0!==m&&c[m-1].value===b||(g.push(c[m]),b>=r[0]&&b<=r[1]&&f++)}var v=(r[1]-r[0])/t;if(f>1.5*v&&h>v/1.5)break;if(u.push(g),f>v||e===o[d])break}c=[]}}0;var y=K2(X2(u,(function(e){return K2(e,(function(e){return e.value>=r[0]&&e.value<=r[1]&&!e.notAdd}))})),(function(e){return e.length>0})),w=[],x=y.length-1;for(d=0;d<y.length;++d)for(var _=y[d],S=0;S<_.length;++S)w.push({value:_[S].value,level:x-d});w.sort((function(e,t){return e.value-t.value}));var k=[];for(d=0;d<w.length;++d)0!==d&&w[d].value===w[d-1].value||k.push(w[d]);return k}(this._minLevelUnit,this._approxInterval,r,t);return(n=n.concat(i)).push({value:t[1],level:0}),n},t.prototype.calcNiceExtent=function(e){var t=this._extent;if(t[0]===t[1]&&(t[0]-=cre,t[1]+=cre),t[1]===-1/0&&t[0]===1/0){var n=new Date;t[1]=+new Date(n.getFullYear(),n.getMonth(),n.getDate()),t[0]=t[1]-cre}this.calcNiceTicks(e.splitNumber,e.minInterval,e.maxInterval)},t.prototype.calcNiceTicks=function(e,t,n){e=e||10;var r=this._extent,i=r[1]-r[0];this._approxInterval=i/e,null!=t&&this._approxInterval<t&&(this._approxInterval=t),null!=n&&this._approxInterval>n&&(this._approxInterval=n);var o=Ebe.length,a=Math.min(function(e,t,n,r){for(;n<r;){var i=n+r>>>1;e[i][1]<t?n=i+1:r=i}return n}(Ebe,this._approxInterval,0,o),o-1);this._interval=Ebe[a][1],this._minLevelUnit=Ebe[Math.max(a-1,0)][0]},t.prototype.parse=function(e){return i3(e)?e:+h9(e)},t.prototype.contain=function(e){return bbe(this.parse(e),this._extent)},t.prototype.normalize=function(e){return vbe(this.parse(e),this._extent)},t.prototype.scale=function(e){return ybe(e,this._extent)},t.type="time",t}(kbe),Ebe=[["second",sre],["minute",lre],["hour",ure],["quarter-day",216e5],["half-day",432e5],["day",10368e4],["half-week",3024e5],["week",6048e5],["month",26784e5],["quarter",8208e6],["half-year",fre/2],["year",fre]];function Ibe(e,t){return(e/=cre)>16?16:e>7.5?7:e>3.5?4:e>1.5?2:1}function Mbe(e){return(e/=2592e6)>6?6:e>3?3:e>2?2:1}function Tbe(e){return(e/=ure)>12?12:e>6?6:e>3.5?4:e>2?2:1}function Abe(e,t){return(e/=t?lre:sre)>30?30:e>20?20:e>15?15:e>10?10:e>5?5:e>2?2:1}function Pbe(e){return p9(e,!0)}function Obe(e,t,n){var r=new Date(e);switch(vre(t)){case"year":case"month":r[Pre(n)](0);case"day":r[Ore(n)](1);case"hour":r[Dre(n)](0);case"minute":r[Rre(n)](0);case"second":r[Lre(n)](0),r[Nre(n)](0)}return r.getTime()}fbe.registerClass(Cbe);const Dbe=Cbe;var Rbe=fbe.prototype,Lbe=kbe.prototype,Nbe=n9,jbe=Math.floor,Fbe=Math.ceil,zbe=Math.pow,Bbe=Math.log,Vbe=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="log",t.base=10,t._originalScale=new kbe,t._interval=0,t}return g2(t,e),t.prototype.getTicks=function(e){var t=this._originalScale,n=this._extent,r=t.getExtent();return X2(Lbe.getTicks.call(this,e),(function(e){var t=e.value,i=n9(zbe(this.base,t));return i=t===n[0]&&this._fixMin?Hbe(i,r[0]):i,{value:i=t===n[1]&&this._fixMax?Hbe(i,r[1]):i}}),this)},t.prototype.setExtent=function(e,t){var n=Bbe(this.base);e=Bbe(Math.max(0,e))/n,t=Bbe(Math.max(0,t))/n,Lbe.setExtent.call(this,e,t)},t.prototype.getExtent=function(){var e=this.base,t=Rbe.getExtent.call(this);t[0]=zbe(e,t[0]),t[1]=zbe(e,t[1]);var n=this._originalScale.getExtent();return this._fixMin&&(t[0]=Hbe(t[0],n[0])),this._fixMax&&(t[1]=Hbe(t[1],n[1])),t},t.prototype.unionExtent=function(e){this._originalScale.unionExtent(e);var t=this.base;e[0]=Bbe(e[0])/Bbe(t),e[1]=Bbe(e[1])/Bbe(t),Rbe.unionExtent.call(this,e)},t.prototype.unionExtentFromData=function(e,t){this.unionExtent(e.getApproximateExtent(t))},t.prototype.calcNiceTicks=function(e){e=e||10;var t=this._extent,n=t[1]-t[0];if(!(n===1/0||n<=0)){var r,i=(r=n,Math.pow(10,d9(r)));for(e/n*i<=.5&&(i*=10);!isNaN(i)&&Math.abs(i)<1&&Math.abs(i)>0;)i*=10;var o=[n9(Fbe(t[0]/i)*i),n9(jbe(t[1]/i)*i)];this._interval=i,this._niceExtent=o}},t.prototype.calcNiceExtent=function(e){Lbe.calcNiceExtent.call(this,e),this._fixMin=e.fixMin,this._fixMax=e.fixMax},t.prototype.parse=function(e){return e},t.prototype.contain=function(e){return bbe(e=Bbe(e)/Bbe(this.base),this._extent)},t.prototype.normalize=function(e){return vbe(e=Bbe(e)/Bbe(this.base),this._extent)},t.prototype.scale=function(e){return e=ybe(e,this._extent),zbe(this.base,e)},t.type="log",t}(fbe),$be=Vbe.prototype;function Hbe(e,t){return Nbe(e,i9(t))}$be.getMinorTicks=Lbe.getMinorTicks,$be.getLabel=Lbe.getLabel,fbe.registerClass(Vbe);const Gbe=Vbe;var Wbe=function(){function e(e,t,n){this._prepareParams(e,t,n)}return e.prototype._prepareParams=function(e,t,n){n[1]<n[0]&&(n=[NaN,NaN]),this._dataMin=n[0],this._dataMax=n[1];var r=this._isOrdinal="ordinal"===e.type;this._needCrossZero="interval"===e.type&&t.getNeedCrossZero&&t.getNeedCrossZero();var i=this._modelMinRaw=t.get("min",!0);t3(i)?this._modelMinNum=Ybe(e,i({min:n[0],max:n[1]})):"dataMin"!==i&&(this._modelMinNum=Ybe(e,i));var o=this._modelMaxRaw=t.get("max",!0);if(t3(o)?this._modelMaxNum=Ybe(e,o({min:n[0],max:n[1]})):"dataMax"!==o&&(this._modelMaxNum=Ybe(e,o)),r)this._axisDataLen=t.getCategories().length;else{var a=t.get("boundaryGap"),s=e3(a)?a:[a||0,a||0];"boolean"==typeof s[0]||"boolean"==typeof s[1]?this._boundaryGapInner=[0,0]:this._boundaryGapInner=[R8(s[0],1),R8(s[1],1)]}},e.prototype.calculate=function(){var e=this._isOrdinal,t=this._dataMin,n=this._dataMax,r=this._axisDataLen,i=this._boundaryGapInner,o=e?null:n-t||Math.abs(t),a="dataMin"===this._modelMinRaw?t:this._modelMinNum,s="dataMax"===this._modelMaxRaw?n:this._modelMaxNum,l=null!=a,u=null!=s;null==a&&(a=e?r?0:NaN:t-i[0]*o),null==s&&(s=e?r?r-1:NaN:n+i[1]*o),(null==a||!isFinite(a))&&(a=NaN),(null==s||!isFinite(s))&&(s=NaN);var c=c3(a)||c3(s)||e&&!r;this._needCrossZero&&(a>0&&s>0&&!l&&(a=0),a<0&&s<0&&!u&&(s=0));var f=this._determinedMin,h=this._determinedMax;return null!=f&&(a=f,l=!0),null!=h&&(s=h,u=!0),{min:a,max:s,minFixed:l,maxFixed:u,isBlank:c}},e.prototype.modifyDataMinMax=function(e,t){this[qbe[e]]=t},e.prototype.setDeterminedMinMax=function(e,t){this[Ube[e]]=t},e.prototype.freeze=function(){this.frozen=!0},e}(),Ube={min:"_determinedMin",max:"_determinedMax"},qbe={min:"_dataMin",max:"_dataMax"};function Xbe(e,t,n){var r=e.rawExtentInfo;return r||(r=new Wbe(e,t,n),e.rawExtentInfo=r,r)}function Ybe(e,t){return null==t?null:c3(t)?NaN:e.parse(t)}function Kbe(e,t){var n=e.type,r=Xbe(e,t,e.getExtent()).calculate();e.setBlank(r.isBlank);var i=r.min,o=r.max,a=t.ecModel;if(a&&"time"===n){var s=Bge("bar",a),l=!1;if(q2(s,(function(e){l=l||e.getBaseAxis()===t.axis})),l){var u=Vge(s),c=function(e,t,n,r){var i=n.axis.getExtent(),o=i[1]-i[0],a=function(e,t,n){if(e&&t){var r=e[zge(t)];return null!=r&&null!=n?r[Fge(n)]:r}}(r,n.axis);if(void 0===a)return{min:e,max:t};var s=1/0;q2(a,(function(e){s=Math.min(e.offset,s)}));var l=-1/0;q2(a,(function(e){l=Math.max(e.offset+e.width,l)})),s=Math.abs(s),l=Math.abs(l);var u=s+l,c=t-e,f=c/(1-(s+l)/o)-c;return{min:e-=f*(s/u),max:t+=f*(l/u)}}(i,o,t,u);i=c.min,o=c.max}}return{extent:[i,o],fixMin:r.minFixed,fixMax:r.maxFixed}}function Zbe(e,t){var n=t,r=Kbe(e,n),i=r.extent,o=n.get("splitNumber");e instanceof Gbe&&(e.base=n.get("logBase"));var a=e.type,s=n.get("interval"),l="interval"===a||"time"===a;e.setExtent(i[0],i[1]),e.calcNiceExtent({splitNumber:o,fixMin:r.fixMin,fixMax:r.fixMax,minInterval:l?n.get("minInterval"):null,maxInterval:l?n.get("maxInterval"):null}),null!=s&&e.setInterval&&e.setInterval(s)}function Qbe(e,t){if(t=t||e.get("type"))switch(t){case"category":return new xbe({ordinalMeta:e.getOrdinalMeta?e.getOrdinalMeta():e.getCategories(),extent:[1/0,-1/0]});case"time":return new Dbe({locale:e.ecModel.getLocaleModel(),useUTC:e.ecModel.get("useUTC")});default:return new(fbe.getClass(t)||kbe)}}function Jbe(e){var t,n=e.getLabelModel().get("formatter"),r="category"===e.type?e.scale.getExtent()[0]:null;return"time"===e.scale.type?(t=n,function(n,r){return e.scale.getFormattedLabel(n,r,t)}):n3(n)?function(t){return function(n){var r=e.scale.getLabel(n);return t.replace("{value}",null!=r?r:"")}}(n):t3(n)?function(t){return function(n,i){return null!=r&&(i=n.value-r),t(eve(e,n),i,null!=n.level?{level:n.level}:null)}}(n):function(t){return e.scale.getLabel(t)}}function eve(e,t){return"category"===e.type?e.scale.getLabel(t):t.value}function tve(e,t){var n=t*Math.PI/180,r=e.width,i=e.height,o=r*Math.abs(Math.cos(n))+Math.abs(i*Math.sin(n)),a=r*Math.abs(Math.sin(n))+Math.abs(i*Math.cos(n));return new $5(e.x,e.y,o,a)}function nve(e){var t=e.get("interval");return null==t?"auto":t}function rve(e){return"category"===e.type&&0===nve(e.getLabelModel())}function ive(e,t){var n={};return q2(e.mapDimensionsAll(t),(function(t){n[Gpe(e,t)]=!0})),Z2(n)}var ove=function(){function e(e){this.type="cartesian",this._dimList=[],this._axes={},this.name=e||""}return e.prototype.getAxis=function(e){return this._axes[e]},e.prototype.getAxes=function(){return X2(this._dimList,(function(e){return this._axes[e]}),this)},e.prototype.getAxesByScale=function(e){return e=e.toLowerCase(),K2(this.getAxes(),(function(t){return t.scale.type===e}))},e.prototype.addAxis=function(e){var t=e.dim;this._axes[t]=e,this._dimList.push(t)},e}();var ave=["x","y"];function sve(e){return"interval"===e.type||"time"===e.type}var lve=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="cartesian2d",t.dimensions=ave,t}return g2(t,e),t.prototype.calcAffineTransform=function(){this._transform=this._invTransform=null;var e=this.getAxis("x").scale,t=this.getAxis("y").scale;if(sve(e)&&sve(t)){var n=e.getExtent(),r=t.getExtent(),i=this.dataToPoint([n[0],r[0]]),o=this.dataToPoint([n[1],r[1]]),a=n[1]-n[0],s=r[1]-r[0];if(a&&s){var l=(o[0]-i[0])/a,u=(o[1]-i[1])/s,c=i[0]-n[0]*l,f=i[1]-r[0]*u,h=this._transform=[l,0,0,u,c,f];this._invTransform=A5([],h)}}},t.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAxis("x")},t.prototype.containPoint=function(e){var t=this.getAxis("x"),n=this.getAxis("y");return t.contain(t.toLocalCoord(e[0]))&&n.contain(n.toLocalCoord(e[1]))},t.prototype.containData=function(e){return this.getAxis("x").containData(e[0])&&this.getAxis("y").containData(e[1])},t.prototype.containZone=function(e,t){var n=this.dataToPoint(e),r=this.dataToPoint(t),i=this.getArea(),o=new $5(n[0],n[1],r[0]-n[0],r[1]-n[1]);return i.intersect(o)},t.prototype.dataToPoint=function(e,t,n){n=n||[];var r=e[0],i=e[1];if(this._transform&&null!=r&&isFinite(r)&&null!=i&&isFinite(i))return X3(n,e,this._transform);var o=this.getAxis("x"),a=this.getAxis("y");return n[0]=o.toGlobalCoord(o.dataToCoord(r,t)),n[1]=a.toGlobalCoord(a.dataToCoord(i,t)),n},t.prototype.clampData=function(e,t){var n=this.getAxis("x").scale,r=this.getAxis("y").scale,i=n.getExtent(),o=r.getExtent(),a=n.parse(e[0]),s=r.parse(e[1]);return(t=t||[])[0]=Math.min(Math.max(Math.min(i[0],i[1]),a),Math.max(i[0],i[1])),t[1]=Math.min(Math.max(Math.min(o[0],o[1]),s),Math.max(o[0],o[1])),t},t.prototype.pointToData=function(e,t){var n=[];if(this._invTransform)return X3(n,e,this._invTransform);var r=this.getAxis("x"),i=this.getAxis("y");return n[0]=r.coordToData(r.toLocalCoord(e[0]),t),n[1]=i.coordToData(i.toLocalCoord(e[1]),t),n},t.prototype.getOtherAxis=function(e){return this.getAxis("x"===e.dim?"y":"x")},t.prototype.getArea=function(){var e=this.getAxis("x").getGlobalExtent(),t=this.getAxis("y").getGlobalExtent(),n=Math.min(e[0],e[1]),r=Math.min(t[0],t[1]),i=Math.max(e[0],e[1])-n,o=Math.max(t[0],t[1])-r;return new $5(n,r,i,o)},t}(ove);const uve=lve;var cve=j9();function fve(e){return"category"===e.type?function(e){var t=e.getLabelModel(),n=dve(e,t);return!t.get("show")||e.scale.isBlank()?{labels:[],labelCategoryInterval:n.labelCategoryInterval}:n}(e):function(e){var t=e.scale.getTicks(),n=Jbe(e);return{labels:X2(t,(function(t,r){return{level:t.level,formattedLabel:n(t,r),rawLabel:e.scale.getLabel(t),tickValue:t.value}}))}}(e)}function hve(e,t){return"category"===e.type?function(e,t){var n,r,i=pve(e,"ticks"),o=nve(t),a=gve(i,o);if(a)return a;t.get("show")&&!e.scale.isBlank()||(n=[]);if(t3(o))n=vve(e,o,!0);else if("auto"===o){var s=dve(e,e.getLabelModel());r=s.labelCategoryInterval,n=X2(s.labels,(function(e){return e.tickValue}))}else n=bve(e,r=o,!0);return mve(i,o,{ticks:n,tickCategoryInterval:r})}(e,t):{ticks:X2(e.scale.getTicks(),(function(e){return e.value}))}}function dve(e,t){var n,r,i=pve(e,"labels"),o=nve(t),a=gve(i,o);return a||(t3(o)?n=vve(e,o):(r="auto"===o?function(e){var t=cve(e).autoInterval;return null!=t?t:cve(e).autoInterval=e.calculateCategoryInterval()}(e):o,n=bve(e,r)),mve(i,o,{labels:n,labelCategoryInterval:r}))}function pve(e,t){return cve(e)[t]||(cve(e)[t]=[])}function gve(e,t){for(var n=0;n<e.length;n++)if(e[n].key===t)return e[n].value}function mve(e,t,n){return e.push({key:t,value:n}),n}function bve(e,t,n){var r=Jbe(e),i=e.scale,o=i.getExtent(),a=e.getLabelModel(),s=[],l=Math.max((t||0)+1,1),u=o[0],c=i.count();0!==u&&l>1&&c/l>2&&(u=Math.round(Math.ceil(u/l)*l));var f=rve(e),h=a.get("showMinLabel")||f,d=a.get("showMaxLabel")||f;h&&u!==o[0]&&g(o[0]);for(var p=u;p<=o[1];p+=l)g(p);function g(e){var t={value:e};s.push(n?e:{formattedLabel:r(t),rawLabel:i.getLabel(t),tickValue:e})}return d&&p-l!==o[1]&&g(o[1]),s}function vve(e,t,n){var r=e.scale,i=Jbe(e),o=[];return q2(r.getTicks(),(function(e){var a=r.getLabel(e),s=e.value;t(e.value,a)&&o.push(n?s:{formattedLabel:i(e),rawLabel:a,tickValue:s})})),o}var yve=[0,1],wve=function(){function e(e,t,n){this.onBand=!1,this.inverse=!1,this.dim=e,this.scale=t,this._extent=n||[0,0]}return e.prototype.contain=function(e){var t=this._extent,n=Math.min(t[0],t[1]),r=Math.max(t[0],t[1]);return e>=n&&e<=r},e.prototype.containData=function(e){return this.scale.contain(e)},e.prototype.getExtent=function(){return this._extent.slice()},e.prototype.getPixelPrecision=function(e){return o9(e||this.scale.getExtent(),this._extent)},e.prototype.setExtent=function(e,t){var n=this._extent;n[0]=e,n[1]=t},e.prototype.dataToCoord=function(e,t){var n=this._extent,r=this.scale;return e=r.normalize(e),this.onBand&&"ordinal"===r.type&&xve(n=n.slice(),r.count()),e9(e,yve,n,t)},e.prototype.coordToData=function(e,t){var n=this._extent,r=this.scale;this.onBand&&"ordinal"===r.type&&xve(n=n.slice(),r.count());var i=e9(e,n,yve,t);return this.scale.scale(i)},e.prototype.pointToData=function(e,t){},e.prototype.getTicksCoords=function(e){var t=(e=e||{}).tickModel||this.getTickModel(),n=X2(hve(this,t).ticks,(function(e){return{coord:this.dataToCoord("ordinal"===this.scale.type?this.scale.getRawOrdinalNumber(e):e),tickValue:e}}),this);return function(e,t,n,r){var i=t.length;if(!e.onBand||n||!i)return;var o,a,s=e.getExtent();if(1===i)t[0].coord=s[0],o=t[1]={coord:s[0]};else{var l=t[i-1].tickValue-t[0].tickValue,u=(t[i-1].coord-t[0].coord)/l;q2(t,(function(e){e.coord-=u/2})),a=1+e.scale.getExtent()[1]-t[i-1].tickValue,o={coord:t[i-1].coord+u*a},t.push(o)}var c=s[0]>s[1];f(t[0].coord,s[0])&&(r?t[0].coord=s[0]:t.shift());r&&f(s[0],t[0].coord)&&t.unshift({coord:s[0]});f(s[1],o.coord)&&(r?o.coord=s[1]:t.pop());r&&f(o.coord,s[1])&&t.push({coord:s[1]});function f(e,t){return e=n9(e),t=n9(t),c?e>t:e<t}}(this,n,t.get("alignWithLabel"),e.clamp),n},e.prototype.getMinorTicksCoords=function(){if("ordinal"===this.scale.type)return[];var e=this.model.getModel("minorTick").get("splitNumber");return e>0&&e<100||(e=5),X2(this.scale.getMinorTicks(e),(function(e){return X2(e,(function(e){return{coord:this.dataToCoord(e),tickValue:e}}),this)}),this)},e.prototype.getViewLabels=function(){return fve(this).labels},e.prototype.getLabelModel=function(){return this.model.getModel("axisLabel")},e.prototype.getTickModel=function(){return this.model.getModel("axisTick")},e.prototype.getBandWidth=function(){var e=this._extent,t=this.scale.getExtent(),n=t[1]-t[0]+(this.onBand?1:0);0===n&&(n=1);var r=Math.abs(e[1]-e[0]);return Math.abs(r)/n},e.prototype.calculateCategoryInterval=function(){return function(e){var t=function(e){var t=e.getLabelModel();return{axisRotate:e.getRotate?e.getRotate():e.isHorizontal&&!e.isHorizontal()?90:0,labelRotate:t.get("rotate")||0,font:t.getFont()}}(e),n=Jbe(e),r=(t.axisRotate-t.labelRotate)/180*Math.PI,i=e.scale,o=i.getExtent(),a=i.count();if(o[1]-o[0]<1)return 0;var s=1;a>40&&(s=Math.max(1,Math.floor(a/40)));for(var l=o[0],u=e.dataToCoord(l+1)-e.dataToCoord(l),c=Math.abs(u*Math.cos(r)),f=Math.abs(u*Math.sin(r)),h=0,d=0;l<=o[1];l+=s){var p,g,m=A8(n({value:l}),t.font,"center","top");p=1.3*m.width,g=1.3*m.height,h=Math.max(h,p,7),d=Math.max(d,g,7)}var b=h/c,v=d/f;isNaN(b)&&(b=1/0),isNaN(v)&&(v=1/0);var y=Math.max(0,Math.floor(Math.min(b,v))),w=cve(e.model),x=e.getExtent(),_=w.lastAutoInterval,S=w.lastTickCount;return null!=_&&null!=S&&Math.abs(_-y)<=1&&Math.abs(S-a)<=1&&_>y&&w.axisExtent0===x[0]&&w.axisExtent1===x[1]?y=_:(w.lastTickCount=a,w.lastAutoInterval=y,w.axisExtent0=x[0],w.axisExtent1=x[1]),y}(this)},e}();function xve(e,t){var n=(e[1]-e[0])/t/2;e[0]+=n,e[1]-=n}const _ve=wve;var Sve=function(e){function t(t,n,r,i,o){var a=e.call(this,t,n,r)||this;return a.index=0,a.type=i||"value",a.position=o||"bottom",a}return g2(t,e),t.prototype.isHorizontal=function(){var e=this.position;return"top"===e||"bottom"===e},t.prototype.getGlobalExtent=function(e){var t=this.getExtent();return t[0]=this.toGlobalCoord(t[0]),t[1]=this.toGlobalCoord(t[1]),e&&t[0]>t[1]&&t.reverse(),t},t.prototype.pointToData=function(e,t){return this.coordToData(this.toLocalCoord(e["x"===this.dim?0:1]),t)},t.prototype.setCategorySortInfo=function(e){if("category"!==this.type)return!1;this.model.option.categorySortInfo=e,this.scale.setSortInfo(e)},t}(_ve);const kve=Sve;function Cve(e,t,n){n=n||{};var r=e.coordinateSystem,i=t.axis,o={},a=i.getAxesOnZeroOf()[0],s=i.position,l=a?"onZero":s,u=i.dim,c=r.getRect(),f=[c.x,c.x+c.width,c.y,c.y+c.height],h={left:0,right:1,top:0,bottom:1,onZero:2},d=t.get("offset")||0,p="x"===u?[f[2]-d,f[3]+d]:[f[0]-d,f[1]+d];if(a){var g=a.toGlobalCoord(a.dataToCoord(0));p[h.onZero]=Math.max(Math.min(g,p[1]),p[0])}o.position=["y"===u?p[h[l]]:f[0],"x"===u?p[h[l]]:f[3]],o.rotation=Math.PI/2*("x"===u?0:1);o.labelDirection=o.tickDirection=o.nameDirection={top:-1,bottom:1,left:-1,right:1}[s],o.labelOffset=a?p[h[s]]-p[h.onZero]:0,t.get(["axisTick","inside"])&&(o.tickDirection=-o.tickDirection),f3(n.labelInside,t.get(["axisLabel","inside"]))&&(o.labelDirection=-o.labelDirection);var m=t.get(["axisLabel","rotate"]);return o.labelRotate="top"===l?-m:m,o.z2=1,o}function Eve(e){return"cartesian2d"===e.get("coordinateSystem")}function Ive(e){var t={xAxisModel:null,yAxisModel:null};return q2(t,(function(n,r){var i=r.replace(/Model$/,""),o=e.getReferringComponents(i,V9).models[0];t[r]=o})),t}var Mve=Math.log;function Tve(e,t,n){var r=kbe.prototype,i=r.getTicks.call(n),o=r.getTicks.call(n,!0),a=i.length-1,s=r.getInterval.call(n),l=Kbe(e,t),u=l.extent,c=l.fixMin,f=l.fixMax;if("log"===e.type){var h=Mve(e.base);u=[Mve(u[0])/h,Mve(u[1])/h]}e.setExtent(u[0],u[1]),e.calcNiceExtent({splitNumber:a,fixMin:c,fixMax:f});var d=r.getExtent.call(e);c&&(u[0]=d[0]),f&&(u[1]=d[1]);var p=r.getInterval.call(e),g=u[0],m=u[1];if(c&&f)p=(m-g)/a;else if(c)for(m=u[0]+p*a;m<u[1]&&isFinite(m)&&isFinite(u[1]);)p=pbe(p),m=u[0]+p*a;else if(f)for(g=u[1]-p*a;g>u[0]&&isFinite(g)&&isFinite(u[0]);)p=pbe(p),g=u[1]-p*a;else{e.getTicks().length-1>a&&(p=pbe(p));var b=p*a;(g=n9((m=Math.ceil(u[1]/p)*p)-b))<0&&u[0]>=0?(g=0,m=n9(b)):m>0&&u[1]<=0&&(m=0,g=-n9(b))}var v=(i[0].value-o[0].value)/s,y=(i[a].value-o[a].value)/s;r.setExtent.call(e,g+p*v,m+p*y),r.setInterval.call(e,p),(v||y)&&r.setNiceExtent.call(e,g+p,m-p)}var Ave=function(){function e(e,t,n){this.type="grid",this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this.axisPointerEnabled=!0,this.dimensions=ave,this._initCartesian(e,t,n),this.model=e}return e.prototype.getRect=function(){return this._rect},e.prototype.update=function(e,t){var n=this._axesMap;function r(e){var t,n=Z2(e),r=n.length;if(r){for(var i=[],o=r-1;o>=0;o--){var a=e[+n[o]],s=a.model,l=a.scale;hbe(l)&&s.get("alignTicks")&&null==s.get("interval")?i.push(a):(Zbe(l,s),hbe(l)&&(t=a))}i.length&&(t||Zbe((t=i.pop()).scale,t.model),q2(i,(function(e){Tve(e.scale,e.model,t.scale)})))}}this._updateScale(e,this.model),r(n.x),r(n.y);var i={};q2(n.x,(function(e){Ove(n,"y",e,i)})),q2(n.y,(function(e){Ove(n,"x",e,i)})),this.resize(this.model,t)},e.prototype.resize=function(e,t,n){var r=e.getBoxLayoutParams(),i=!n&&e.get("containLabel"),o=Zre(r,{width:t.getWidth(),height:t.getHeight()});this._rect=o;var a=this._axesList;function s(){q2(a,(function(e){var t=e.isHorizontal(),n=t?[0,o.width]:[0,o.height],r=e.inverse?1:0;e.setExtent(n[r],n[1-r]),function(e,t){var n=e.getExtent(),r=n[0]+n[1];e.toGlobalCoord="x"===e.dim?function(e){return e+t}:function(e){return r-e+t},e.toLocalCoord="x"===e.dim?function(e){return e-t}:function(e){return r-e+t}}(e,t?o.x:o.y)}))}s(),i&&(q2(a,(function(e){if(!e.model.get(["axisLabel","inside"])){var t=function(e){var t=e.model,n=e.scale;if(t.get(["axisLabel","show"])&&!n.isBlank()){var r,i,o=n.getExtent();i=n instanceof xbe?n.count():(r=n.getTicks()).length;var a,s=e.getLabelModel(),l=Jbe(e),u=1;i>40&&(u=Math.ceil(i/40));for(var c=0;c<i;c+=u){var f=l(r?r[c]:{value:o[0]+c},c),h=tve(s.getTextRect(f),s.get("rotate")||0);a?a.union(h):a=h}return a}}(e);if(t){var n=e.isHorizontal()?"height":"width",r=e.model.get(["axisLabel","margin"]);o[n]-=t[n]+r,"top"===e.position?o.y+=t.height+r:"left"===e.position&&(o.x+=t.width+r)}}})),s()),q2(this._coordsList,(function(e){e.calcAffineTransform()}))},e.prototype.getAxis=function(e,t){var n=this._axesMap[e];if(null!=n)return n[t||0]},e.prototype.getAxes=function(){return this._axesList.slice()},e.prototype.getCartesian=function(e,t){if(null!=e&&null!=t){var n="x"+e+"y"+t;return this._coordsMap[n]}o3(e)&&(t=e.yAxisIndex,e=e.xAxisIndex);for(var r=0,i=this._coordsList;r<i.length;r++)if(i[r].getAxis("x").index===e||i[r].getAxis("y").index===t)return i[r]},e.prototype.getCartesians=function(){return this._coordsList.slice()},e.prototype.convertToPixel=function(e,t,n){var r=this._findConvertTarget(t);return r.cartesian?r.cartesian.dataToPoint(n):r.axis?r.axis.toGlobalCoord(r.axis.dataToCoord(n)):null},e.prototype.convertFromPixel=function(e,t,n){var r=this._findConvertTarget(t);return r.cartesian?r.cartesian.pointToData(n):r.axis?r.axis.coordToData(r.axis.toLocalCoord(n)):null},e.prototype._findConvertTarget=function(e){var t,n,r=e.seriesModel,i=e.xAxisModel||r&&r.getReferringComponents("xAxis",V9).models[0],o=e.yAxisModel||r&&r.getReferringComponents("yAxis",V9).models[0],a=e.gridModel,s=this._coordsList;if(r)G2(s,t=r.coordinateSystem)<0&&(t=null);else if(i&&o)t=this.getCartesian(i.componentIndex,o.componentIndex);else if(i)n=this.getAxis("x",i.componentIndex);else if(o)n=this.getAxis("y",o.componentIndex);else if(a){a.coordinateSystem===this&&(t=this._coordsList[0])}return{cartesian:t,axis:n}},e.prototype.containPoint=function(e){var t=this._coordsList[0];if(t)return t.containPoint(e)},e.prototype._initCartesian=function(e,t,n){var r=this,i=this,o={left:!1,right:!1,top:!1,bottom:!1},a={x:{},y:{}},s={x:0,y:0};if(t.eachComponent("xAxis",l("x"),this),t.eachComponent("yAxis",l("y"),this),!s.x||!s.y)return this._axesMap={},void(this._axesList=[]);function l(t){return function(n,r){if(Pve(n,e)){var l=n.get("position");"x"===t?"top"!==l&&"bottom"!==l&&(l=o.bottom?"top":"bottom"):"left"!==l&&"right"!==l&&(l=o.left?"right":"left"),o[l]=!0;var u=new kve(t,Qbe(n),[0,0],n.get("type"),l),c="category"===u.type;u.onBand=c&&n.get("boundaryGap"),u.inverse=n.get("inverse"),n.axis=u,u.model=n,u.grid=i,u.index=r,i._axesList.push(u),a[t][r]=u,s[t]++}}}this._axesMap=a,q2(a.x,(function(t,n){q2(a.y,(function(i,o){var a="x"+n+"y"+o,s=new uve(a);s.master=r,s.model=e,r._coordsMap[a]=s,r._coordsList.push(s),s.addAxis(t),s.addAxis(i)}))}))},e.prototype._updateScale=function(e,t){function n(e,t){q2(ive(e,t.dim),(function(n){t.scale.unionExtentFromData(e,n)}))}q2(this._axesList,(function(e){if(e.scale.setExtent(1/0,-1/0),"category"===e.type){var t=e.model.get("categorySortInfo");e.scale.setSortInfo(t)}})),e.eachSeries((function(e){if(Eve(e)){var r=Ive(e),i=r.xAxisModel,o=r.yAxisModel;if(!Pve(i,t)||!Pve(o,t))return;var a=this.getCartesian(i.componentIndex,o.componentIndex),s=e.getData(),l=a.getAxis("x"),u=a.getAxis("y");n(s,l),n(s,u)}}),this)},e.prototype.getTooltipAxes=function(e){var t=[],n=[];return q2(this.getCartesians(),(function(r){var i=null!=e&&"auto"!==e?r.getAxis(e):r.getBaseAxis(),o=r.getOtherAxis(i);G2(t,i)<0&&t.push(i),G2(n,o)<0&&n.push(o)})),{baseAxes:t,otherAxes:n}},e.create=function(t,n){var r=[];return t.eachComponent("grid",(function(i,o){var a=new e(i,t,n);a.name="grid_"+o,a.resize(i,n,!0),i.coordinateSystem=a,r.push(a)})),t.eachSeries((function(e){if(Eve(e)){var t=Ive(e),n=t.xAxisModel,r=t.yAxisModel;0;var i=n.getCoordSysModel().coordinateSystem;e.coordinateSystem=i.getCartesian(n.componentIndex,r.componentIndex)}})),r},e.dimensions=ave,e}();function Pve(e,t){return e.getCoordSysModel()===t}function Ove(e,t,n,r){n.getAxesOnZeroOf=function(){return i?[i]:[]};var i,o=e[t],a=n.model,s=a.get(["axisLine","onZero"]),l=a.get(["axisLine","onZeroAxisIndex"]);if(s){if(null!=l)Dve(o[l])&&(i=o[l]);else for(var u in o)if(o.hasOwnProperty(u)&&Dve(o[u])&&!r[c(o[u])]){i=o[u];break}i&&(r[c(i)]=!0)}function c(e){return e.dim+"_"+e.index}}function Dve(e){return e&&"category"!==e.type&&"time"!==e.type&&function(e){var t=e.scale.getExtent(),n=t[0],r=t[1];return!(n>0&&r>0||n<0&&r<0)}(e)}const Rve=Ave;var Lve=Math.PI,Nve=function(){function e(e,t){this.group=new X8,this.opt=t,this.axisModel=e,H2(t,{labelOffset:0,nameDirection:1,tickDirection:1,labelDirection:1,silent:!0,handleAutoShown:function(){return!0}});var n=new X8({x:t.position[0],y:t.position[1],rotation:t.rotation});n.updateTransform(),this._transformGroup=n}return e.prototype.hasBuilder=function(e){return!!jve[e]},e.prototype.add=function(e){jve[e](this.opt,this.axisModel,this.group,this._transformGroup)},e.prototype.getGroup=function(){return this.group},e.innerTextLayout=function(e,t,n){var r,i,o=u9(t-e);return c9(o)?(i=n>0?"top":"bottom",r="center"):c9(o-Lve)?(i=n>0?"bottom":"top",r="center"):(i="middle",r=o>0&&o<Lve?n>0?"right":"left":n>0?"left":"right"),{rotation:o,textAlign:r,textVerticalAlign:i}},e.makeAxisEventDataBase=function(e){var t={componentType:e.mainType,componentIndex:e.componentIndex};return t[e.mainType+"Index"]=e.componentIndex,t},e.isLabelSilent=function(e){var t=e.get("tooltip");return e.get("silent")||!(e.get("triggerEvent")||t&&t.show)},e}(),jve={axisLine:function(e,t,n,r){var i=t.get(["axisLine","show"]);if("auto"===i&&e.handleAutoShown&&(i=e.handleAutoShown("axisLine")),i){var o=t.axis.getExtent(),a=r.transform,s=[o[0],0],l=[o[1],0],u=s[0]>l[0];a&&(X3(s,s,a),X3(l,l,a));var c=$2({lineCap:"round"},t.getModel(["axisLine","lineStyle"]).getLineStyle()),f=new ile({shape:{x1:s[0],y1:s[1],x2:l[0],y2:l[1]},style:c,strokeContainThreshold:e.strokeContainThreshold||5,silent:!0,z2:1});$le(f.shape,f.style.lineWidth),f.anid="line",n.add(f);var h=t.get(["axisLine","symbol"]);if(null!=h){var d=t.get(["axisLine","symbolSize"]);n3(h)&&(h=[h,h]),(n3(d)||i3(d))&&(d=[d,d]);var p=Cce(t.get(["axisLine","symbolOffset"])||0,d),g=d[0],m=d[1];q2([{rotate:e.rotation+Math.PI/2,offset:p[0],r:0},{rotate:e.rotation-Math.PI/2,offset:p[1],r:Math.sqrt((s[0]-l[0])*(s[0]-l[0])+(s[1]-l[1])*(s[1]-l[1]))}],(function(t,r){if("none"!==h[r]&&null!=h[r]){var i=Sce(h[r],-g/2,-m/2,g,m,c.stroke,!0),o=t.r+t.offset,a=u?l:s;i.attr({rotation:t.rotate,x:a[0]+o*Math.cos(e.rotation),y:a[1]-o*Math.sin(e.rotation),silent:!0,z2:11}),n.add(i)}}))}}},axisTickLabel:function(e,t,n,r){var i=function(e,t,n,r){var i=n.axis,o=n.getModel("axisTick"),a=o.get("show");"auto"===a&&r.handleAutoShown&&(a=r.handleAutoShown("axisTick"));if(!a||i.scale.isBlank())return;for(var s=o.getModel("lineStyle"),l=r.tickDirection*o.get("length"),u=Vve(i.getTicksCoords(),t.transform,l,H2(s.getLineStyle(),{stroke:n.get(["axisLine","lineStyle","color"])}),"ticks"),c=0;c<u.length;c++)e.add(u[c]);return u}(n,r,t,e),o=function(e,t,n,r){var i=n.axis;if(!f3(r.axisLabelShow,n.get(["axisLabel","show"]))||i.scale.isBlank())return;var o=n.getModel("axisLabel"),a=o.get("margin"),s=i.getViewLabels(),l=(f3(r.labelRotate,o.get("rotate"))||0)*Lve/180,u=Nve.innerTextLayout(r.rotation,l,r.labelDirection),c=n.getCategories&&n.getCategories(!0),f=[],h=Nve.isLabelSilent(n),d=n.get("triggerEvent");return q2(s,(function(s,l){var p="ordinal"===i.scale.type?i.scale.getRawOrdinalNumber(s.tickValue):s.tickValue,g=s.formattedLabel,m=s.rawLabel,b=o;if(c&&c[p]){var v=c[p];o3(v)&&v.textStyle&&(b=new Yne(v.textStyle,o,n.ecModel))}var y=b.getTextColor()||n.get(["axisLine","lineStyle","color"]),w=i.dataToCoord(p),x=new ute({x:w,y:r.labelOffset+r.labelDirection*a,rotation:u.rotation,silent:h,z2:10+(s.level||0),style:Cne(b,{text:g,align:b.getShallow("align",!0)||u.textAlign,verticalAlign:b.getShallow("verticalAlign",!0)||b.getShallow("baseline",!0)||u.textVerticalAlign,fill:t3(y)?y("category"===i.type?m:"value"===i.type?p+"":p,l):y})});if(x.anid="label_"+p,d){var _=Nve.makeAxisEventDataBase(n);_.targetType="axisLabel",_.value=m,_.tickIndex=l,"category"===i.type&&(_.dataIndex=p),cte(x).eventData=_}t.add(x),x.updateTransform(),f.push(x),e.add(x),x.decomposeTransform()})),f}(n,r,t,e);(function(e,t,n){if(rve(e.axis))return;var r=e.get(["axisLabel","showMinLabel"]),i=e.get(["axisLabel","showMaxLabel"]);n=n||[];var o=(t=t||[])[0],a=t[1],s=t[t.length-1],l=t[t.length-2],u=n[0],c=n[1],f=n[n.length-1],h=n[n.length-2];!1===r?(Fve(o),Fve(u)):zve(o,a)&&(r?(Fve(a),Fve(c)):(Fve(o),Fve(u)));!1===i?(Fve(s),Fve(f)):zve(l,s)&&(i?(Fve(l),Fve(h)):(Fve(s),Fve(f)))}(t,o,i),function(e,t,n,r){var i=n.axis,o=n.getModel("minorTick");if(!o.get("show")||i.scale.isBlank())return;var a=i.getMinorTicksCoords();if(!a.length)return;for(var s=o.getModel("lineStyle"),l=r*o.get("length"),u=H2(s.getLineStyle(),H2(n.getModel("axisTick").getLineStyle(),{stroke:n.get(["axisLine","lineStyle","color"])})),c=0;c<a.length;c++)for(var f=Vve(a[c],t.transform,l,u,"minorticks_"+c),h=0;h<f.length;h++)e.add(f[h])}(n,r,t,e.tickDirection),t.get(["axisLabel","hideOverlap"]))&&Ohe(The(X2(o,(function(e){return{label:e,priority:e.z2,defaultAttr:{ignore:e.ignore}}}))))},axisName:function(e,t,n,r){var i=f3(e.axisName,t.get("name"));if(i){var o,a,s=t.get("nameLocation"),l=e.nameDirection,u=t.getModel("nameTextStyle"),c=t.get("nameGap")||0,f=t.axis.getExtent(),h=f[0]>f[1]?-1:1,d=["start"===s?f[0]-h*c:"end"===s?f[1]+h*c:(f[0]+f[1])/2,Bve(s)?e.labelOffset+l*c:0],p=t.get("nameRotate");null!=p&&(p=p*Lve/180),Bve(s)?o=Nve.innerTextLayout(e.rotation,null!=p?p:e.rotation,l):(o=function(e,t,n,r){var i,o,a=u9(n-e),s=r[0]>r[1],l="start"===t&&!s||"start"!==t&&s;c9(a-Lve/2)?(o=l?"bottom":"top",i="center"):c9(a-1.5*Lve)?(o=l?"top":"bottom",i="center"):(o="middle",i=a<1.5*Lve&&a>Lve/2?l?"left":"right":l?"right":"left");return{rotation:a,textAlign:i,textVerticalAlign:o}}(e.rotation,s,p||0,f),null!=(a=e.axisNameAvailableWidth)&&(a=Math.abs(a/Math.sin(o.rotation)),!isFinite(a)&&(a=null)));var g=u.getFont(),m=t.get("nameTruncate",!0)||{},b=m.ellipsis,v=f3(e.nameTruncateMaxWidth,m.maxWidth,a),y=new ute({x:d[0],y:d[1],rotation:o.rotation,silent:Nve.isLabelSilent(t),style:Cne(u,{text:i,font:g,overflow:"truncate",width:v,ellipsis:b,fill:u.getTextColor()||t.get(["axisLine","lineStyle","color"]),align:u.get("align")||o.textAlign,verticalAlign:u.get("verticalAlign")||o.textVerticalAlign}),z2:1});if(nue({el:y,componentModel:t,itemName:i}),y.__fullText=i,y.anid="name",t.get("triggerEvent")){var w=Nve.makeAxisEventDataBase(t);w.targetType="axisName",w.name=i,cte(y).eventData=w}r.add(y),y.updateTransform(),n.add(y),y.decomposeTransform()}}};function Fve(e){e&&(e.ignore=!0)}function zve(e,t){var n=e&&e.getBoundingRect().clone(),r=t&&t.getBoundingRect().clone();if(n&&r){var i=k5([]);return M5(i,i,-e.rotation),n.applyTransform(E5([],i,e.getLocalTransform())),r.applyTransform(E5([],i,t.getLocalTransform())),n.intersect(r)}}function Bve(e){return"middle"===e||"center"===e}function Vve(e,t,n,r,i){for(var o=[],a=[],s=[],l=0;l<e.length;l++){var u=e[l].coord;a[0]=u,a[1]=0,s[0]=u,s[1]=n,t&&(X3(a,a,t),X3(s,s,t));var c=new ile({shape:{x1:a[0],y1:a[1],x2:s[0],y2:s[1]},style:r,z2:2,autoBatch:!0,silent:!0});$le(c.shape,c.style.lineWidth),c.anid=i+"_"+e[l].tickValue,o.push(c)}return o}const $ve=Nve;function Hve(e,t){var n={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{},coordSysMap:{}};return function(e,t,n){var r=t.getComponent("tooltip"),i=t.getComponent("axisPointer"),o=i.get("link",!0)||[],a=[];q2(n.getCoordinateSystems(),(function(n){if(n.axisPointerEnabled){var s=Xve(n.model),l=e.coordSysAxesInfo[s]={};e.coordSysMap[s]=n;var u=n.model.getModel("tooltip",r);if(q2(n.getAxes(),J2(d,!1,null)),n.getTooltipAxes&&r&&u.get("show")){var c="axis"===u.get("trigger"),f="cross"===u.get(["axisPointer","type"]),h=n.getTooltipAxes(u.get(["axisPointer","axis"]));(c||f)&&q2(h.baseAxes,J2(d,!f||"cross",c)),f&&q2(h.otherAxes,J2(d,"cross",!1))}}function d(r,s,c){var f=c.model.getModel("axisPointer",i),h=f.get("show");if(h&&("auto"!==h||r||qve(f))){null==s&&(s=f.get("triggerTooltip")),f=r?function(e,t,n,r,i,o){var a=t.getModel("axisPointer"),s={};q2(["type","snap","lineStyle","shadowStyle","label","animation","animationDurationUpdate","animationEasingUpdate","z"],(function(e){s[e]=z2(a.get(e))})),s.snap="category"!==e.type&&!!o,"cross"===a.get("type")&&(s.type="line");var l=s.label||(s.label={});if(null==l.show&&(l.show=!1),"cross"===i){var u=a.get(["label","show"]);if(l.show=null==u||u,!o){var c=s.lineStyle=a.get("crossStyle");c&&H2(l,c.textStyle)}}return e.model.getModel("axisPointer",new Yne(s,n,r))}(c,u,i,t,r,s):f;var d=f.get("snap"),p=Xve(c.model),g=s||d||"category"===c.type,m=e.axesInfo[p]={key:p,axis:c,coordSys:n,axisPointerModel:f,triggerTooltip:s,involveSeries:g,snap:d,useHandle:qve(f),seriesModels:[],linkGroup:null};l[p]=m,e.seriesInvolved=e.seriesInvolved||g;var b=function(e,t){for(var n=t.model,r=t.dim,i=0;i<e.length;i++){var o=e[i]||{};if(Gve(o[r+"AxisId"],n.id)||Gve(o[r+"AxisIndex"],n.componentIndex)||Gve(o[r+"AxisName"],n.name))return i}}(o,c);if(null!=b){var v=a[b]||(a[b]={axesInfo:{}});v.axesInfo[p]=m,v.mapper=o[b].mapper,m.linkGroup=v}}}}))}(n,e,t),n.seriesInvolved&&function(e,t){t.eachSeries((function(t){var n=t.coordinateSystem,r=t.get(["tooltip","trigger"],!0),i=t.get(["tooltip","show"],!0);n&&"none"!==r&&!1!==r&&"item"!==r&&!1!==i&&!1!==t.get(["axisPointer","show"],!0)&&q2(e.coordSysAxesInfo[Xve(n.model)],(function(e){var r=e.axis;n.getAxis(r.dim)===r&&(e.seriesModels.push(t),null==e.seriesDataCount&&(e.seriesDataCount=0),e.seriesDataCount+=t.getData().count())}))}))}(n,e),n}function Gve(e,t){return"all"===e||e3(e)&&G2(e,t)>=0||e===t}function Wve(e){var t=Uve(e);if(t){var n=t.axisPointerModel,r=t.axis.scale,i=n.option,o=n.get("status"),a=n.get("value");null!=a&&(a=r.parse(a));var s=qve(n);null==o&&(i.status=s?"show":"hide");var l=r.getExtent().slice();l[0]>l[1]&&l.reverse(),(null==a||a>l[1])&&(a=l[1]),a<l[0]&&(a=l[0]),i.value=a,s&&(i.status=t.axis.scale.isBlank()?"hide":"show")}}function Uve(e){var t=(e.ecModel.getComponent("axisPointer")||{}).coordSysAxesInfo;return t&&t.axesInfo[Xve(e)]}function qve(e){return!!e.get(["handle","show"])}function Xve(e){return e.type+"||"+e.id}var Yve={};const Kve=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return g2(t,e),t.prototype.render=function(t,n,r,i){this.axisPointerClass&&Wve(t),e.prototype.render.apply(this,arguments),this._doUpdateAxisPointerClass(t,r,!0)},t.prototype.updateAxisPointer=function(e,t,n,r){this._doUpdateAxisPointerClass(e,n,!1)},t.prototype.remove=function(e,t){var n=this._axisPointer;n&&n.remove(t)},t.prototype.dispose=function(t,n){this._disposeAxisPointer(n),e.prototype.dispose.apply(this,arguments)},t.prototype._doUpdateAxisPointerClass=function(e,n,r){var i=t.getAxisPointerClass(this.axisPointerClass);if(i){var o=function(e){var t=Uve(e);return t&&t.axisPointerModel}(e);o?(this._axisPointer||(this._axisPointer=new i)).render(e,o,n,r):this._disposeAxisPointer(n)}},t.prototype._disposeAxisPointer=function(e){this._axisPointer&&this._axisPointer.dispose(e),this._axisPointer=null},t.registerAxisPointerClass=function(e,t){Yve[e]=t},t.getAxisPointerClass=function(e){return e&&Yve[e]},t.type="axis",t}(tse);var Zve=j9();function Qve(e,t,n,r){var i=n.axis;if(!i.scale.isBlank()){var o=n.getModel("splitArea"),a=o.getModel("areaStyle"),s=a.get("color"),l=r.coordinateSystem.getRect(),u=i.getTicksCoords({tickModel:o,clamp:!0});if(u.length){var c=s.length,f=Zve(e).splitAreaColors,h=k3(),d=0;if(f)for(var p=0;p<u.length;p++){var g=f.get(u[p].tickValue);if(null!=g){d=(g+(c-1)*p)%c;break}}var m=i.toGlobalCoord(u[0].coord),b=a.getAreaStyle();s=e3(s)?s:[s];for(p=1;p<u.length;p++){var v=i.toGlobalCoord(u[p].coord),y=void 0,w=void 0,x=void 0,_=void 0;i.isHorizontal()?(y=m,w=l.y,x=v-y,_=l.height,m=y+x):(y=l.x,w=m,x=l.width,m=w+(_=v-w));var S=u[p-1].tickValue;null!=S&&h.set(S,d),t.add(new qee({anid:null!=S?"area_"+S:null,shape:{x:y,y:w,width:x,height:_},style:H2({fill:s[d]},b),autoBatch:!0,silent:!0})),d=(d+1)%c}Zve(e).splitAreaColors=h}}}function Jve(e){Zve(e).splitAreaColors=null}var eye=["axisLine","axisTickLabel","axisName"],tye=["splitArea","splitLine","minorSplitLine"],nye=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.axisPointerClass="CartesianAxisPointer",n}return g2(t,e),t.prototype.render=function(t,n,r,i){this.group.removeAll();var o=this._axisGroup;if(this._axisGroup=new X8,this.group.add(this._axisGroup),t.get("show")){var a=t.getCoordSysModel(),s=Cve(a,t),l=new $ve(t,$2({handleAutoShown:function(e){for(var n=a.coordinateSystem.getCartesians(),r=0;r<n.length;r++)if(hbe(n[r].getOtherAxis(t.axis).scale))return!0;return!1}},s));q2(eye,l.add,l),this._axisGroup.add(l.getGroup()),q2(tye,(function(e){t.get([e,"show"])&&rye[e](this,this._axisGroup,t,a)}),this),i&&"changeAxisOrder"===i.type&&i.isInitSort||Yle(o,this._axisGroup,t),e.prototype.render.call(this,t,n,r,i)}},t.prototype.remove=function(){Jve(this)},t.type="cartesianAxis",t}(Kve),rye={splitLine:function(e,t,n,r){var i=n.axis;if(!i.scale.isBlank()){var o=n.getModel("splitLine"),a=o.getModel("lineStyle"),s=a.get("color");s=e3(s)?s:[s];for(var l=r.coordinateSystem.getRect(),u=i.isHorizontal(),c=0,f=i.getTicksCoords({tickModel:o}),h=[],d=[],p=a.getLineStyle(),g=0;g<f.length;g++){var m=i.toGlobalCoord(f[g].coord);u?(h[0]=m,h[1]=l.y,d[0]=m,d[1]=l.y+l.height):(h[0]=l.x,h[1]=m,d[0]=l.x+l.width,d[1]=m);var b=c++%s.length,v=f[g].tickValue,y=new ile({anid:null!=v?"line_"+f[g].tickValue:null,autoBatch:!0,shape:{x1:h[0],y1:h[1],x2:d[0],y2:d[1]},style:H2({stroke:s[b]},p),silent:!0});$le(y.shape,p.lineWidth),t.add(y)}}},minorSplitLine:function(e,t,n,r){var i=n.axis,o=n.getModel("minorSplitLine").getModel("lineStyle"),a=r.coordinateSystem.getRect(),s=i.isHorizontal(),l=i.getMinorTicksCoords();if(l.length)for(var u=[],c=[],f=o.getLineStyle(),h=0;h<l.length;h++)for(var d=0;d<l[h].length;d++){var p=i.toGlobalCoord(l[h][d].coord);s?(u[0]=p,u[1]=a.y,c[0]=p,c[1]=a.y+a.height):(u[0]=a.x,u[1]=p,c[0]=a.x+a.width,c[1]=p);var g=new ile({anid:"minor_line_"+l[h][d].tickValue,autoBatch:!0,shape:{x1:u[0],y1:u[1],x2:c[0],y2:c[1]},style:f,silent:!0});$le(g.shape,f.lineWidth),t.add(g)}},splitArea:function(e,t,n,r){Qve(e,t,n,r)}},iye=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return g2(t,e),t.type="xAxis",t}(nye),oye=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=iye.type,t}return g2(t,e),t.type="yAxis",t}(nye);var aye=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="grid",t}return g2(t,e),t.prototype.render=function(e,t){this.group.removeAll(),e.get("show")&&this.group.add(new qee({shape:e.coordinateSystem.getRect(),style:H2({fill:e.get("backgroundColor")},e.getItemStyle()),silent:!0,z2:-1}))},t.type="grid",t}(tse),sye={offset:0};function lye(e){e.registerComponentView(aye),e.registerComponentModel(Kme),e.registerCoordinateSystem("cartesian2d",Rve),lbe(e,"x",Qme,sye),lbe(e,"y",Qme,sye),e.registerComponentView(iye),e.registerComponentView(oye),e.registerPreprocessor((function(e){e.xAxis&&e.yAxis&&!e.grid&&(e.grid={})}))}function uye(e){e.eachSeriesByType("radar",(function(e){var t=e.getData(),n=[],r=e.coordinateSystem;if(r){var i=r.getIndicatorAxes();q2(i,(function(e,o){t.each(t.mapDimension(i[o].dim),(function(e,t){n[t]=n[t]||[];var i=r.dataToPoint(e,o);n[t][o]=cye(i)?i:fye(r)}))})),t.each((function(e){var i=function(e,t,n){if(e&&t)for(var r=0,i=e.length;r<i;r++)if(t.call(n,e[r],r,e))return e[r]}(n[e],(function(e){return cye(e)}))||fye(r);n[e].push(i.slice()),t.setItemLayout(e,n[e])}))}}))}function cye(e){return!isNaN(e[0])&&!isNaN(e[1])}function fye(e){return[e.cx,e.cy]}function hye(e){var t=e.polar;if(t){e3(t)||(t=[t]);var n=[];q2(t,(function(t,r){t.indicator?(t.type&&!t.shape&&(t.shape=t.type),e.radar=e.radar||[],e3(e.radar)||(e.radar=[e.radar]),e.radar.push(t)):n.push(t)})),e.polar=n}q2(e.series,(function(e){e&&"radar"===e.type&&e.polarIndex&&(e.radarIndex=e.polarIndex)}))}var dye=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return g2(t,e),t.prototype.render=function(e,t,n){var i=e.coordinateSystem,o=this.group,a=e.getData(),s=this._data;function l(e,t){var n=e.getItemVisual(t,"symbol")||"circle";if("none"!==n){var r=kce(e.getItemVisual(t,"symbolSize")),i=Sce(n,-1,-1,2,2),o=e.getItemVisual(t,"symbolRotate")||0;return i.attr({style:{strokeNoScale:!0},z2:100,scaleX:r[0]/2,scaleY:r[1]/2,rotation:o*Math.PI/180||0}),i}}function u(t,n,i,o,a,s){i.removeAll();for(var u=0;u<n.length-1;u++){var c=l(o,a);c&&(c.__dimIdx=u,t[u]?(c.setPosition(t[u]),r[s?"initProps":"updateProps"](c,{x:n[u][0],y:n[u][1]},e,a)):c.setPosition(n[u]),i.add(c))}}function c(e){return X2(e,(function(e){return[i.cx,i.cy]}))}a.diff(s).add((function(t){var n=a.getItemLayout(t);if(n){var r=new Zse,i=new ele,o={shape:{points:n}};r.shape.points=c(n),i.shape.points=c(n),pne(r,o,e,t),pne(i,o,e,t);var s=new X8,l=new X8;s.add(i),s.add(r),s.add(l),u(i.shape.points,n,l,a,t,!0),a.setItemGraphicEl(t,s)}})).update((function(t,n){var r=s.getItemGraphicEl(n),i=r.childAt(0),o=r.childAt(1),l=r.childAt(2),c={shape:{points:a.getItemLayout(t)}};c.shape.points&&(u(i.shape.points,c.shape.points,l,a,t,!1),yne(o),yne(i),dne(i,c,e),dne(o,c,e),a.setItemGraphicEl(t,r))})).remove((function(e){o.remove(s.getItemGraphicEl(e))})).execute(),a.eachItemGraphicEl((function(e,t){var n=a.getItemModel(t),r=e.childAt(0),i=e.childAt(1),s=e.childAt(2),l=a.getItemVisual(t,"style"),u=l.fill;o.add(e),r.useStyle(H2(n.getModel("lineStyle").getLineStyle(),{fill:"none",stroke:u})),one(r,n,"lineStyle"),one(i,n,"areaStyle");var c=n.getModel("areaStyle"),f=c.isEmpty()&&c.parentModel.isEmpty();i.ignore=f,q2(["emphasis","select","blur"],(function(e){var t=n.getModel([e,"areaStyle"]),r=t.isEmpty()&&t.parentModel.isEmpty();i.ensureState(e).ignore=r&&f})),i.useStyle(H2(c.getAreaStyle(),{fill:u,opacity:.7,decal:l.decal}));var h=n.getModel("emphasis"),d=h.getModel("itemStyle").getItemStyle();s.eachChild((function(e){if(e instanceof zee){var r=e.style;e.useStyle($2({image:r.image,x:r.x,y:r.y,width:r.width,height:r.height},l))}else e.useStyle(l),e.setColor(u),e.style.strokeNoScale=!0;e.ensureState("emphasis").style=z2(d);var i=a.getStore().get(a.getDimensionIndex(e.__dimIdx),t);(null==i||isNaN(i))&&(i=""),Sne(e,kne(n),{labelFetcher:a.hostModel,labelDataIndex:t,labelDimIndex:e.__dimIdx,defaultText:i,inheritColor:u,defaultOpacity:l.opacity})})),tne(e,h.get("focus"),h.get("blurScope"),h.get("disabled"))})),this._data=a},t.prototype.remove=function(){this.group.removeAll(),this._data=null},t.type="radar",t}(due);const pye=dye;var gye=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.hasSymbolVisual=!0,n}return g2(t,e),t.prototype.init=function(t){e.prototype.init.apply(this,arguments),this.legendVisualProvider=new Fme(Q2(this.getData,this),Q2(this.getRawData,this))},t.prototype.getInitialData=function(e,t){return Nme(this,{generateCoord:"indicator_",generateCoordCount:1/0})},t.prototype.formatTooltip=function(e,t,n){var r=this.getData(),i=this.coordinateSystem.getIndicatorAxes(),o=this.getData().getName(e),a=""===o?this.name:o,s=zae(this,e);return Aae("section",{header:a,sortBlocks:!0,blocks:X2(i,(function(t){var n=r.get(r.mapDimension(t.dim),e);return Aae("nameValue",{markerType:"subItem",markerColor:s,name:t.name,value:n,sortParam:n})}))})},t.prototype.getTooltipPosition=function(e){if(null!=e)for(var t=this.getData(),n=this.coordinateSystem,r=t.getValues(X2(n.dimensions,(function(e){return t.mapDimension(e)})),e),i=0,o=r.length;i<o;i++)if(!isNaN(r[i])){var a=n.getIndicatorAxes();return n.coordToPoint(a[i].dataToCoord(r[i]),i)}},t.type="series.radar",t.dependencies=["radar"],t.defaultOption={z:2,colorBy:"data",coordinateSystem:"radar",legendHoverLink:!0,radarIndex:0,lineStyle:{width:2,type:"solid",join:"round"},label:{position:"top"},symbolSize:8},t}(Jae);const mye=gye;var bye=nbe.value;function vye(e,t){return H2({show:t},e)}var yye=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return g2(t,e),t.prototype.optionUpdated=function(){var e=this.get("boundaryGap"),t=this.get("splitNumber"),n=this.get("scale"),r=this.get("axisLine"),i=this.get("axisTick"),o=this.get("axisLabel"),a=this.get("axisName"),s=this.get(["axisName","show"]),l=this.get(["axisName","formatter"]),u=this.get("axisNameGap"),c=this.get("triggerEvent"),f=X2(this.get("indicator")||[],(function(f){null!=f.max&&f.max>0&&!f.min?f.min=0:null!=f.min&&f.min<0&&!f.max&&(f.max=0);var h=a;null!=f.color&&(h=H2({color:f.color},a));var d=B2(z2(f),{boundaryGap:e,splitNumber:t,scale:n,axisLine:r,axisTick:i,axisLabel:o,name:f.text,showName:s,nameLocation:"end",nameGap:u,nameTextStyle:h,triggerEvent:c},!1);if(n3(l)){var p=d.name;d.name=l.replace("{value}",null!=p?p:"")}else t3(l)&&(d.name=l(d.name,d));var g=new Yne(d,null,this.ecModel);return W2(g,Zme.prototype),g.mainType="radar",g.componentIndex=this.componentIndex,g}),this);this._indicatorModels=f},t.prototype.getIndicatorModels=function(){return this._indicatorModels},t.type="radar",t.defaultOption={z:0,center:["50%","50%"],radius:"75%",startAngle:90,axisName:{show:!0},boundaryGap:[0,0],splitNumber:5,axisNameGap:15,scale:!1,shape:"polygon",axisLine:B2({lineStyle:{color:"#bbb"}},bye.axisLine),axisLabel:vye(bye.axisLabel,!1),axisTick:vye(bye.axisTick,!1),splitLine:vye(bye.splitLine,!0),splitArea:vye(bye.splitArea,!0),indicator:[]},t}(oie);const wye=yye;var xye=["axisLine","axisTickLabel","axisName"],_ye=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return g2(t,e),t.prototype.render=function(e,t,n){this.group.removeAll(),this._buildAxes(e),this._buildSplitLineAndArea(e)},t.prototype._buildAxes=function(e){var t=e.coordinateSystem;q2(X2(t.getIndicatorAxes(),(function(e){var n=e.model.get("showName")?e.name:"";return new $ve(e.model,{axisName:n,position:[t.cx,t.cy],rotation:e.angle,labelDirection:-1,tickDirection:-1,nameDirection:1})})),(function(e){q2(xye,e.add,e),this.group.add(e.getGroup())}),this)},t.prototype._buildSplitLineAndArea=function(e){var t=e.coordinateSystem,n=t.getIndicatorAxes();if(n.length){var r=e.get("shape"),i=e.getModel("splitLine"),o=e.getModel("splitArea"),a=i.getModel("lineStyle"),s=o.getModel("areaStyle"),l=i.get("show"),u=o.get("show"),c=a.get("color"),f=s.get("color"),h=e3(c)?c:[c],d=e3(f)?f:[f],p=[],g=[];if("circle"===r)for(var m=n[0].getTicksCoords(),b=t.cx,v=t.cy,y=0;y<m.length;y++){if(l)p[I(p,h,y)].push(new Cse({shape:{cx:b,cy:v,r:m[y].coord}}));if(u&&y<m.length-1)g[I(g,d,y)].push(new qse({shape:{cx:b,cy:v,r0:m[y].coord,r:m[y+1].coord}}))}else{var w,x=X2(n,(function(e,n){var r=e.getTicksCoords();return w=null==w?r.length-1:Math.min(r.length-1,w),X2(r,(function(e){return t.coordToPoint(e.coord,n)}))})),_=[];for(y=0;y<=w;y++){for(var S=[],k=0;k<n.length;k++)S.push(x[k][y]);if(S[0]&&S.push(S[0].slice()),l)p[I(p,h,y)].push(new ele({shape:{points:S}}));if(u&&_)g[I(g,d,y-1)].push(new Zse({shape:{points:S.concat(_)}}));_=S.slice().reverse()}}var C=a.getLineStyle(),E=s.getAreaStyle();q2(g,(function(e,t){this.group.add(Ble(e,{style:H2({stroke:"none",fill:d[t%d.length]},E),silent:!0}))}),this),q2(p,(function(e,t){this.group.add(Ble(e,{style:H2({fill:"none",stroke:h[t%h.length]},C),silent:!0}))}),this)}function I(e,t,n){var r=n%t.length;return e[r]=e[r]||[],r}},t.type="radar",t}(tse);const Sye=_ye;var kye=function(e){function t(t,n,r){var i=e.call(this,t,n,r)||this;return i.type="value",i.angle=0,i.name="",i}return g2(t,e),t}(_ve);const Cye=kye;var Eye=function(){function e(e,t,n){this.dimensions=[],this._model=e,this._indicatorAxes=X2(e.getIndicatorModels(),(function(e,t){var n="indicator_"+t,r=new Cye(n,new kbe);return r.name=e.get("name"),r.model=e,e.axis=r,this.dimensions.push(n),r}),this),this.resize(e,n)}return e.prototype.getIndicatorAxes=function(){return this._indicatorAxes},e.prototype.dataToPoint=function(e,t){var n=this._indicatorAxes[t];return this.coordToPoint(n.dataToCoord(e),t)},e.prototype.coordToPoint=function(e,t){var n=this._indicatorAxes[t].angle;return[this.cx+e*Math.cos(n),this.cy-e*Math.sin(n)]},e.prototype.pointToData=function(e){var t=e[0]-this.cx,n=e[1]-this.cy,r=Math.sqrt(t*t+n*n);t/=r,n/=r;for(var i,o=Math.atan2(-n,t),a=1/0,s=-1,l=0;l<this._indicatorAxes.length;l++){var u=this._indicatorAxes[l],c=Math.abs(o-u.angle);c<a&&(i=u,s=l,a=c)}return[s,+(i&&i.coordToData(r))]},e.prototype.resize=function(e,t){var n=e.get("center"),r=t.getWidth(),i=t.getHeight(),o=Math.min(r,i)/2;this.cx=t9(n[0],r),this.cy=t9(n[1],i),this.startAngle=e.get("startAngle")*Math.PI/180;var a=e.get("radius");(n3(a)||i3(a))&&(a=[0,a]),this.r0=t9(a[0],o),this.r=t9(a[1],o),q2(this._indicatorAxes,(function(e,t){e.setExtent(this.r0,this.r);var n=this.startAngle+t*Math.PI*2/this._indicatorAxes.length;n=Math.atan2(Math.sin(n),Math.cos(n)),e.angle=n}),this)},e.prototype.update=function(e,t){var n=this._indicatorAxes,r=this._model;q2(n,(function(e){e.scale.setExtent(1/0,-1/0)})),e.eachSeriesByType("radar",(function(t,i){if("radar"===t.get("coordinateSystem")&&e.getComponent("radar",t.get("radarIndex"))===r){var o=t.getData();q2(n,(function(e){e.scale.unionExtentFromData(o,o.mapDimension(e.dim))}))}}),this);var i=r.get("splitNumber"),o=new kbe;o.setExtent(0,i),o.setInterval(1),q2(n,(function(e,t){Tve(e.scale,e.model,o)}))},e.prototype.convertToPixel=function(e,t,n){return console.warn("Not implemented."),null},e.prototype.convertFromPixel=function(e,t,n){return console.warn("Not implemented."),null},e.prototype.containPoint=function(e){return console.warn("Not implemented."),!1},e.create=function(t,n){var r=[];return t.eachComponent("radar",(function(i){var o=new e(i,t,n);r.push(o),i.coordinateSystem=o})),t.eachSeriesByType("radar",(function(e){"radar"===e.get("coordinateSystem")&&(e.coordinateSystem=r[e.get("radarIndex")||0])})),r},e.dimensions=[],e}();const Iye=Eye;function Mye(e){e.registerCoordinateSystem("radar",Iye),e.registerComponentModel(wye),e.registerComponentView(Sye),e.registerVisual({seriesType:"radar",reset:function(e){var t=e.getData();t.each((function(e){t.setItemVisual(e,"legendIcon","roundRect")})),t.setVisual("legendIcon","roundRect")}})}var Tye="\0_ec_interaction_mutex";function Aye(e,t){return!!Pye(e)[t]}function Pye(e){return e[Tye]||(e[Tye]={})}Kfe({type:"takeGlobalCursor",event:"globalCursorTaken",update:"update"},T3);var Oye=function(e){function t(t){var n=e.call(this)||this;n._zr=t;var r=Q2(n._mousedownHandler,n),i=Q2(n._mousemoveHandler,n),o=Q2(n._mouseupHandler,n),a=Q2(n._mousewheelHandler,n),s=Q2(n._pinchHandler,n);return n.enable=function(e,n){this.disable(),this._opt=H2(z2(n)||{},{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),null==e&&(e=!0),!0!==e&&"move"!==e&&"pan"!==e||(t.on("mousedown",r),t.on("mousemove",i),t.on("mouseup",o)),!0!==e&&"scale"!==e&&"zoom"!==e||(t.on("mousewheel",a),t.on("pinch",s))},n.disable=function(){t.off("mousedown",r),t.off("mousemove",i),t.off("mouseup",o),t.off("mousewheel",a),t.off("pinch",s)},n}return g2(t,e),t.prototype.isDragging=function(){return this._dragging},t.prototype.isPinching=function(){return this._pinching},t.prototype.setPointerChecker=function(e){this.pointerChecker=e},t.prototype.dispose=function(){this.disable()},t.prototype._mousedownHandler=function(e){if(!w5(e)){for(var t=e.target;t;){if(t.draggable)return;t=t.__hostTarget||t.parent}var n=e.offsetX,r=e.offsetY;this.pointerChecker&&this.pointerChecker(e,n,r)&&(this._x=n,this._y=r,this._dragging=!0)}},t.prototype._mousemoveHandler=function(e){if(this._dragging&&Lye("moveOnMouseMove",e,this._opt)&&"pinch"!==e.gestureEvent&&!Aye(this._zr,"globalPan")){var t=e.offsetX,n=e.offsetY,r=this._x,i=this._y,o=t-r,a=n-i;this._x=t,this._y=n,this._opt.preventDefaultMouseMove&&y5(e.event),Rye(this,"pan","moveOnMouseMove",e,{dx:o,dy:a,oldX:r,oldY:i,newX:t,newY:n,isAvailableBehavior:null})}},t.prototype._mouseupHandler=function(e){w5(e)||(this._dragging=!1)},t.prototype._mousewheelHandler=function(e){var t=Lye("zoomOnMouseWheel",e,this._opt),n=Lye("moveOnMouseWheel",e,this._opt),r=e.wheelDelta,i=Math.abs(r),o=e.offsetX,a=e.offsetY;if(0!==r&&(t||n)){if(t){var s=i>3?1.4:i>1?1.2:1.1;Dye(this,"zoom","zoomOnMouseWheel",e,{scale:r>0?s:1/s,originX:o,originY:a,isAvailableBehavior:null})}if(n){var l=Math.abs(r);Dye(this,"scrollMove","moveOnMouseWheel",e,{scrollDelta:(r>0?1:-1)*(l>3?.4:l>1?.15:.05),originX:o,originY:a,isAvailableBehavior:null})}}},t.prototype._pinchHandler=function(e){Aye(this._zr,"globalPan")||Dye(this,"zoom",null,e,{scale:e.pinchScale>1?1.1:1/1.1,originX:e.pinchX,originY:e.pinchY,isAvailableBehavior:null})},t}(t5);function Dye(e,t,n,r,i){e.pointerChecker&&e.pointerChecker(r,i.originX,i.originY)&&(y5(r.event),Rye(e,t,n,r,i))}function Rye(e,t,n,r,i){i.isAvailableBehavior=Q2(Lye,null,n,r),e.trigger(t,i)}function Lye(e,t,n){var r=n[e];return!e||r&&(!n3(r)||t.event[r+"Key"])}const Nye=Oye;function jye(e,t,n){var r=e.target;r.x+=t,r.y+=n,r.dirty()}function Fye(e,t,n,r){var i=e.target,o=e.zoomLimit,a=e.zoom=e.zoom||1;if(a*=t,o){var s=o.min||0,l=o.max||1/0;a=Math.max(Math.min(l,a),s)}var u=a/e.zoom;e.zoom=a,i.x-=(n-i.x)*(u-1),i.y-=(r-i.y)*(u-1),i.scaleX*=u,i.scaleY*=u,i.dirty()}var zye,Bye={axisPointer:1,tooltip:1,brush:1};function Vye(e,t,n){var r=t.getComponentByElement(e.topTarget),i=r&&r.coordinateSystem;return r&&r!==n&&!Bye.hasOwnProperty(r.mainType)&&i&&i.model!==n}function $ye(e){n3(e)&&(e=(new DOMParser).parseFromString(e,"text/xml"));var t=e;for(9===t.nodeType&&(t=t.firstChild);"svg"!==t.nodeName.toLowerCase()||1!==t.nodeType;)t=t.nextSibling;return t}var Hye={fill:"fill",stroke:"stroke","stroke-width":"lineWidth",opacity:"opacity","fill-opacity":"fillOpacity","stroke-opacity":"strokeOpacity","stroke-dasharray":"lineDash","stroke-dashoffset":"lineDashOffset","stroke-linecap":"lineCap","stroke-linejoin":"lineJoin","stroke-miterlimit":"miterLimit","font-family":"fontFamily","font-size":"fontSize","font-style":"fontStyle","font-weight":"fontWeight","text-anchor":"textAlign",visibility:"visibility",display:"display"},Gye=Z2(Hye),Wye={"alignment-baseline":"textBaseline","stop-color":"stopColor"},Uye=Z2(Wye),qye=function(){function e(){this._defs={},this._root=null}return e.prototype.parse=function(e,t){t=t||{};var n=$ye(e);this._defsUsePending=[];var r=new X8;this._root=r;var i=[],o=n.getAttribute("viewBox")||"",a=parseFloat(n.getAttribute("width")||t.width),s=parseFloat(n.getAttribute("height")||t.height);isNaN(a)&&(a=null),isNaN(s)&&(s=null),Jye(n,r,null,!0,!1);for(var l,u,c=n.firstChild;c;)this._parseNode(c,r,i,null,!1,!1),c=c.nextSibling;if(function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r[0].style[r[1]]=e[r[2]]}}(this._defs,this._defsUsePending),this._defsUsePending=[],o){var f=rwe(o);f.length>=4&&(l={x:parseFloat(f[0]||0),y:parseFloat(f[1]||0),width:parseFloat(f[2]),height:parseFloat(f[3])})}if(l&&null!=a&&null!=s&&(u=lwe(l,{x:0,y:0,width:a,height:s}),!t.ignoreViewBox)){var h=r;(r=new X8).add(h),h.scaleX=h.scaleY=u.scale,h.x=u.x,h.y=u.y}return t.ignoreRootClip||null==a||null==s||r.setClipPath(new qee({shape:{x:0,y:0,width:a,height:s}})),{root:r,width:a,height:s,viewBoxRect:l,viewBoxTransform:u,named:i}},e.prototype._parseNode=function(e,t,n,r,i,o){var a,s=e.nodeName.toLowerCase(),l=r;if("defs"===s&&(i=!0),"text"===s&&(o=!0),"defs"===s||"switch"===s)a=t;else{if(!i){var u=zye[s];if(u&&M3(zye,s)){a=u.call(this,e,t);var c=e.getAttribute("name");if(c){var f={name:c,namedFrom:null,svgNodeTagLower:s,el:a};n.push(f),"g"===s&&(l=f)}else r&&n.push({name:r.name,namedFrom:r,svgNodeTagLower:s,el:a});t.add(a)}}var h=Xye[s];if(h&&M3(Xye,s)){var d=h.call(this,e),p=e.getAttribute("id");p&&(this._defs[p]=d)}}if(a&&a.isGroup)for(var g=e.firstChild;g;)1===g.nodeType?this._parseNode(g,a,n,l,i,o):3===g.nodeType&&o&&this._parseText(g,a),g=g.nextSibling},e.prototype._parseText=function(e,t){var n=new Lee({style:{text:e.textContent},silent:!0,x:this._textX||0,y:this._textY||0});Zye(t,n),Jye(e,n,this._defsUsePending,!1,!1),function(e,t){var n=t.__selfStyle;if(n){var r=n.textBaseline,i=r;r&&"auto"!==r?"baseline"===r?i="alphabetic":"before-edge"===r||"text-before-edge"===r?i="top":"after-edge"===r||"text-after-edge"===r?i="bottom":"central"!==r&&"mathematical"!==r||(i="middle"):i="alphabetic",e.style.textBaseline=i}var o=t.__inheritedStyle;if(o){var a=o.textAlign,s=a;a&&("middle"===a&&(s="center"),e.style.textAlign=s)}}(n,t);var r=n.style,i=r.fontSize;i&&i<9&&(r.fontSize=9,n.scaleX*=i/9,n.scaleY*=i/9);var o=(r.fontSize||r.fontFamily)&&[r.fontStyle,r.fontWeight,(r.fontSize||12)+"px",r.fontFamily||"sans-serif"].join(" ");r.font=o;var a=n.getBoundingRect();return this._textX+=a.width,t.add(n),n},e.internalField=void(zye={g:function(e,t){var n=new X8;return Zye(t,n),Jye(e,n,this._defsUsePending,!1,!1),n},rect:function(e,t){var n=new qee;return Zye(t,n),Jye(e,n,this._defsUsePending,!1,!1),n.setShape({x:parseFloat(e.getAttribute("x")||"0"),y:parseFloat(e.getAttribute("y")||"0"),width:parseFloat(e.getAttribute("width")||"0"),height:parseFloat(e.getAttribute("height")||"0")}),n.silent=!0,n},circle:function(e,t){var n=new Cse;return Zye(t,n),Jye(e,n,this._defsUsePending,!1,!1),n.setShape({cx:parseFloat(e.getAttribute("cx")||"0"),cy:parseFloat(e.getAttribute("cy")||"0"),r:parseFloat(e.getAttribute("r")||"0")}),n.silent=!0,n},line:function(e,t){var n=new ile;return Zye(t,n),Jye(e,n,this._defsUsePending,!1,!1),n.setShape({x1:parseFloat(e.getAttribute("x1")||"0"),y1:parseFloat(e.getAttribute("y1")||"0"),x2:parseFloat(e.getAttribute("x2")||"0"),y2:parseFloat(e.getAttribute("y2")||"0")}),n.silent=!0,n},ellipse:function(e,t){var n=new Mse;return Zye(t,n),Jye(e,n,this._defsUsePending,!1,!1),n.setShape({cx:parseFloat(e.getAttribute("cx")||"0"),cy:parseFloat(e.getAttribute("cy")||"0"),rx:parseFloat(e.getAttribute("rx")||"0"),ry:parseFloat(e.getAttribute("ry")||"0")}),n.silent=!0,n},polygon:function(e,t){var n,r=e.getAttribute("points");r&&(n=Qye(r));var i=new Zse({shape:{points:n||[]},silent:!0});return Zye(t,i),Jye(e,i,this._defsUsePending,!1,!1),i},polyline:function(e,t){var n,r=e.getAttribute("points");r&&(n=Qye(r));var i=new ele({shape:{points:n||[]},silent:!0});return Zye(t,i),Jye(e,i,this._defsUsePending,!1,!1),i},image:function(e,t){var n=new zee;return Zye(t,n),Jye(e,n,this._defsUsePending,!1,!1),n.setStyle({image:e.getAttribute("xlink:href")||e.getAttribute("href"),x:+e.getAttribute("x"),y:+e.getAttribute("y"),width:+e.getAttribute("width"),height:+e.getAttribute("height")}),n.silent=!0,n},text:function(e,t){var n=e.getAttribute("x")||"0",r=e.getAttribute("y")||"0",i=e.getAttribute("dx")||"0",o=e.getAttribute("dy")||"0";this._textX=parseFloat(n)+parseFloat(i),this._textY=parseFloat(r)+parseFloat(o);var a=new X8;return Zye(t,a),Jye(e,a,this._defsUsePending,!1,!0),a},tspan:function(e,t){var n=e.getAttribute("x"),r=e.getAttribute("y");null!=n&&(this._textX=parseFloat(n)),null!=r&&(this._textY=parseFloat(r));var i=e.getAttribute("dx")||"0",o=e.getAttribute("dy")||"0",a=new X8;return Zye(t,a),Jye(e,a,this._defsUsePending,!1,!0),this._textX+=parseFloat(i),this._textY+=parseFloat(o),a},path:function(e,t){var n=xse(e.getAttribute("d")||"");return Zye(t,n),Jye(e,n,this._defsUsePending,!1,!1),n.silent=!0,n}}),e}(),Xye={lineargradient:function(e){var t=parseInt(e.getAttribute("x1")||"0",10),n=parseInt(e.getAttribute("y1")||"0",10),r=parseInt(e.getAttribute("x2")||"10",10),i=parseInt(e.getAttribute("y2")||"0",10),o=new ble(t,n,r,i);return Yye(e,o),Kye(e,o),o},radialgradient:function(e){var t=parseInt(e.getAttribute("cx")||"0",10),n=parseInt(e.getAttribute("cy")||"0",10),r=parseInt(e.getAttribute("r")||"0",10),i=new yle(t,n,r);return Yye(e,i),Kye(e,i),i}};function Yye(e,t){"userSpaceOnUse"===e.getAttribute("gradientUnits")&&(t.global=!0)}function Kye(e,t){for(var n=e.firstChild;n;){if(1===n.nodeType&&"stop"===n.nodeName.toLocaleLowerCase()){var r=n.getAttribute("offset"),i=void 0;i=r&&r.indexOf("%")>0?parseInt(r,10)/100:r?parseFloat(r):0;var o={};swe(n,o,o);var a=o.stopColor||n.getAttribute("stop-color")||"#000000";t.colorStops.push({offset:i,color:a})}n=n.nextSibling}}function Zye(e,t){e&&e.__inheritedStyle&&(t.__inheritedStyle||(t.__inheritedStyle={}),H2(t.__inheritedStyle,e.__inheritedStyle))}function Qye(e){for(var t=rwe(e),n=[],r=0;r<t.length;r+=2){var i=parseFloat(t[r]),o=parseFloat(t[r+1]);n.push([i,o])}return n}function Jye(e,t,n,r,i){var o=t,a=o.__inheritedStyle=o.__inheritedStyle||{},s={};1===e.nodeType&&(function(e,t){var n=e.getAttribute("transform");if(n){n=n.replace(/,/g," ");var r=[],i=null;n.replace(iwe,(function(e,t,n){return r.push(t,n),""}));for(var o=r.length-1;o>0;o-=2){var a=r[o],s=r[o-1],l=rwe(a);switch(i=i||[1,0,0,1,0,0],s){case"translate":I5(i,i,[parseFloat(l[0]),parseFloat(l[1]||"0")]);break;case"scale":T5(i,i,[parseFloat(l[0]),parseFloat(l[1]||l[0])]);break;case"rotate":M5(i,i,-parseFloat(l[0])*owe);break;case"skewX":E5(i,[1,0,Math.tan(parseFloat(l[0])*owe),1,0,0],i);break;case"skewY":E5(i,[1,Math.tan(parseFloat(l[0])*owe),0,1,0,0],i);break;case"matrix":i[0]=parseFloat(l[0]),i[1]=parseFloat(l[1]),i[2]=parseFloat(l[2]),i[3]=parseFloat(l[3]),i[4]=parseFloat(l[4]),i[5]=parseFloat(l[5])}}t.setLocalTransform(i)}}(e,t),swe(e,a,s),r||function(e,t,n){for(var r=0;r<Gye.length;r++){var i=Gye[r];null!=(o=e.getAttribute(i))&&(t[Hye[i]]=o)}for(r=0;r<Uye.length;r++){var o;i=Uye[r];null!=(o=e.getAttribute(i))&&(n[Wye[i]]=o)}}(e,a,s)),o.style=o.style||{},null!=a.fill&&(o.style.fill=twe(o,"fill",a.fill,n)),null!=a.stroke&&(o.style.stroke=twe(o,"stroke",a.stroke,n)),q2(["lineWidth","opacity","fillOpacity","strokeOpacity","miterLimit","fontSize"],(function(e){null!=a[e]&&(o.style[e]=parseFloat(a[e]))})),q2(["lineDashOffset","lineCap","lineJoin","fontWeight","fontFamily","fontStyle","textAlign"],(function(e){null!=a[e]&&(o.style[e]=a[e])})),i&&(o.__selfStyle=s),a.lineDash&&(o.style.lineDash=X2(rwe(a.lineDash),(function(e){return parseFloat(e)}))),"hidden"!==a.visibility&&"collapse"!==a.visibility||(o.invisible=!0),"none"===a.display&&(o.ignore=!0)}var ewe=/^url\(\s*#(.*?)\)/;function twe(e,t,n,r){var i=n&&n.match(ewe);if(!i)return"none"===n&&(n=null),n;var o=b3(i[1]);r.push([e,t,o])}var nwe=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function rwe(e){return e.match(nwe)||[]}var iwe=/(translate|scale|rotate|skewX|skewY|matrix)\(([\-\s0-9\.eE,]*)\)/g,owe=Math.PI/180;var awe=/([^\s:;]+)\s*:\s*([^:;]+)/g;function swe(e,t,n){var r,i=e.getAttribute("style");if(i)for(awe.lastIndex=0;null!=(r=awe.exec(i));){var o=r[1],a=M3(Hye,o)?Hye[o]:null;a&&(t[a]=r[2]);var s=M3(Wye,o)?Wye[o]:null;s&&(n[s]=r[2])}}function lwe(e,t){var n=t.width/e.width,r=t.height/e.height,i=Math.min(n,r);return{scale:i,x:-(e.x+e.width/2)*i+(t.x+t.width/2),y:-(e.y+e.height/2)*i+(t.y+t.height/2)}}function uwe(e,t){return Math.abs(e-t)<1e-8}function cwe(e,t,n){var r=0,i=e[0];if(!i)return!1;for(var o=1;o<e.length;o++){var a=e[o];r+=yee(i[0],i[1],a[0],a[1],t,n),i=a}var s=e[0];return uwe(i[0],s[0])&&uwe(i[1],s[1])||(r+=yee(i[0],i[1],s[0],s[1],t,n)),0!==r}var fwe=[];function hwe(e,t){for(var n=0;n<e.length;n++)X3(e[n],e[n],t)}function dwe(e,t,n,r){for(var i=0;i<e.length;i++){var o=e[i];r&&(o=r.project(o)),o&&isFinite(o[0])&&isFinite(o[1])&&(Y3(t,t,o),K3(n,n,o))}}var pwe=function(){function e(e){this.name=e}return e.prototype.setCenter=function(e){this._center=e},e.prototype.getCenter=function(){var e=this._center;return e||(e=this._center=this.calcCenter()),e},e}(),gwe=function(e,t){this.type="polygon",this.exterior=e,this.interiors=t},mwe=function(e){this.type="linestring",this.points=e},bwe=function(e){function t(t,n,r){var i=e.call(this,t)||this;return i.type="geoJSON",i.geometries=n,i._center=r&&[r[0],r[1]],i}return g2(t,e),t.prototype.calcCenter=function(){for(var e,t=this.geometries,n=0,r=0;r<t.length;r++){var i=t[r],o=i.exterior,a=o&&o.length;a>n&&(e=i,n=a)}if(e)return function(e){for(var t=0,n=0,r=0,i=e.length,o=e[i-1][0],a=e[i-1][1],s=0;s<i;s++){var l=e[s][0],u=e[s][1],c=o*u-l*a;t+=c,n+=(o+l)*c,r+=(a+u)*c,o=l,a=u}return t?[n/t/3,r/t/3,t]:[e[0][0]||0,e[0][1]||0]}(e.exterior);var s=this.getBoundingRect();return[s.x+s.width/2,s.y+s.height/2]},t.prototype.getBoundingRect=function(e){var t=this._rect;if(t&&!e)return t;var n=[1/0,1/0],r=[-1/0,-1/0];return q2(this.geometries,(function(t){"polygon"===t.type?dwe(t.exterior,n,r,e):q2(t.points,(function(t){dwe(t,n,r,e)}))})),isFinite(n[0])&&isFinite(n[1])&&isFinite(r[0])&&isFinite(r[1])||(n[0]=n[1]=r[0]=r[1]=0),t=new $5(n[0],n[1],r[0]-n[0],r[1]-n[1]),e||(this._rect=t),t},t.prototype.contain=function(e){var t=this.getBoundingRect(),n=this.geometries;if(!t.contain(e[0],e[1]))return!1;e:for(var r=0,i=n.length;r<i;r++){var o=n[r];if("polygon"===o.type){var a=o.exterior,s=o.interiors;if(cwe(a,e[0],e[1])){for(var l=0;l<(s?s.length:0);l++)if(cwe(s[l],e[0],e[1]))continue e;return!0}}}return!1},t.prototype.transformTo=function(e,t,n,r){var i=this.getBoundingRect(),o=i.width/i.height;n?r||(r=n/o):n=o*r;for(var a=new $5(e,t,n,r),s=i.calculateTransform(a),l=this.geometries,u=0;u<l.length;u++){var c=l[u];"polygon"===c.type?(hwe(c.exterior,s),q2(c.interiors,(function(e){hwe(e,s)}))):q2(c.points,(function(e){hwe(e,s)}))}(i=this._rect).copy(a),this._center=[i.x+i.width/2,i.y+i.height/2]},t.prototype.cloneShallow=function(e){null==e&&(e=this.name);var n=new t(e,this.geometries,this._center);return n._rect=this._rect,n.transformTo=null,n},t}(pwe),vwe=function(e){function t(t,n){var r=e.call(this,t)||this;return r.type="geoSVG",r._elOnlyForCalculate=n,r}return g2(t,e),t.prototype.calcCenter=function(){for(var e=this._elOnlyForCalculate,t=e.getBoundingRect(),n=[t.x+t.width/2,t.y+t.height/2],r=k5(fwe),i=e;i&&!i.isGeoSVGGraphicRoot;)E5(r,i.getLocalTransform(),r),i=i.parent;return A5(r,r),X3(n,n,r),n},t}(pwe),ywe=k3(["rect","circle","line","ellipse","polygon","polyline","path","text","tspan","g"]),wwe=function(){function e(e,t){this.type="geoSVG",this._usedGraphicMap=k3(),this._freedGraphics=[],this._mapName=e,this._parsedXML=$ye(t)}return e.prototype.load=function(){var e=this._firstGraphic;if(!e){e=this._firstGraphic=this._buildGraphic(this._parsedXML),this._freedGraphics.push(e),this._boundingRect=this._firstGraphic.boundingRect.clone();var t=function(e){var t=[],n=k3();return q2(e,(function(e){if(null==e.namedFrom){var r=new vwe(e.name,e.el);t.push(r),n.set(e.name,r)}})),{regions:t,regionsMap:n}}(e.named),n=t.regions,r=t.regionsMap;this._regions=n,this._regionsMap=r}return{boundingRect:this._boundingRect,regions:this._regions,regionsMap:this._regionsMap}},e.prototype._buildGraphic=function(e){var t,n;try{t=e&&function(e,t){return(new qye).parse(e,t)}(e,{ignoreViewBox:!0,ignoreRootClip:!0})||{},m3(null!=(n=t.root))}catch(e){throw new Error("Invalid svg format\n"+e.message)}var r=new X8;r.add(n),r.isGeoSVGGraphicRoot=!0;var i=t.width,o=t.height,a=t.viewBoxRect,s=this._boundingRect;if(!s){var l=void 0,u=void 0,c=void 0,f=void 0;if(null!=i?(l=0,c=i):a&&(l=a.x,c=a.width),null!=o?(u=0,f=o):a&&(u=a.y,f=a.height),null==l||null==u){var h=n.getBoundingRect();null==l&&(l=h.x,c=h.width),null==u&&(u=h.y,f=h.height)}s=this._boundingRect=new $5(l,u,c,f)}if(a){var d=lwe(a,s);n.scaleX=n.scaleY=d.scale,n.x=d.x,n.y=d.y}r.setClipPath(new qee({shape:s.plain()}));var p=[];return q2(t.named,(function(e){var t;null!=ywe.get(e.svgNodeTagLower)&&(p.push(e),(t=e.el).silent=!1,t.isGroup&&t.traverse((function(e){e.silent=!1})))})),{root:r,boundingRect:s,named:p}},e.prototype.useGraphic=function(e){var t=this._usedGraphicMap,n=t.get(e);return n||(n=this._freedGraphics.pop()||this._buildGraphic(this._parsedXML),t.set(e,n),n)},e.prototype.freeGraphic=function(e){var t=this._usedGraphicMap,n=t.get(e);n&&(t.removeKey(e),this._freedGraphics.push(n))},e}();function xwe(e,t,n){for(var r=0;r<e.length;r++)e[r]=_we(e[r],t[r],n)}function _we(e,t,n){for(var r=[],i=t[0],o=t[1],a=0;a<e.length;a+=2){var s=e.charCodeAt(a)-64,l=e.charCodeAt(a+1)-64;s=s>>1^-(1&s),l=l>>1^-(1&l),i=s+=i,o=l+=o,r.push([s/n,l/n])}return r}function Swe(e,t){return X2(K2((e=function(e){if(!e.UTF8Encoding)return e;var t=e,n=t.UTF8Scale;return null==n&&(n=1024),q2(t.features,(function(e){var t=e.geometry,r=t.encodeOffsets,i=t.coordinates;if(r)switch(t.type){case"LineString":t.coordinates=_we(i,r,n);break;case"Polygon":case"MultiLineString":xwe(i,r,n);break;case"MultiPolygon":q2(i,(function(e,t){return xwe(e,r[t],n)}))}})),t.UTF8Encoding=!1,t}(e)).features,(function(e){return e.geometry&&e.properties&&e.geometry.coordinates.length>0})),(function(e){var n=e.properties,r=e.geometry,i=[];switch(r.type){case"Polygon":var o=r.coordinates;i.push(new gwe(o[0],o.slice(1)));break;case"MultiPolygon":q2(r.coordinates,(function(e){e[0]&&i.push(new gwe(e[0],e.slice(1)))}));break;case"LineString":i.push(new mwe([r.coordinates]));break;case"MultiLineString":i.push(new mwe(r.coordinates))}var a=new bwe(n[t||"name"],i,n.cp);return a.properties=n,a}))}for(var kwe=[126,25],Cwe="南海诸岛",Ewe=[[[0,3.5],[7,11.2],[15,11.9],[30,7],[42,.7],[52,.7],[56,7.7],[59,.7],[64,.7],[64,0],[5,0],[0,3.5]],[[13,16.1],[19,14.7],[16,21.7],[11,23.1],[13,16.1]],[[12,32.2],[14,38.5],[15,38.5],[13,32.2],[12,32.2]],[[16,47.6],[12,53.2],[13,53.2],[18,47.6],[16,47.6]],[[6,64.4],[8,70],[9,70],[8,64.4],[6,64.4]],[[23,82.6],[29,79.8],[30,79.8],[25,82.6],[23,82.6]],[[37,70.7],[43,62.3],[44,62.3],[39,70.7],[37,70.7]],[[48,51.1],[51,45.5],[53,45.5],[50,51.1],[48,51.1]],[[51,35],[51,28.7],[53,28.7],[53,35],[51,35]],[[52,22.4],[55,17.5],[56,17.5],[53,22.4],[52,22.4]],[[58,12.6],[62,7],[63,7],[60,12.6],[58,12.6]],[[0,3.5],[0,93.1],[64,93.1],[64,0],[63,0],[63,92.4],[1,92.4],[1,3.5],[0,3.5]]],Iwe=0;Iwe<Ewe.length;Iwe++)for(var Mwe=0;Mwe<Ewe[Iwe].length;Mwe++)Ewe[Iwe][Mwe][0]/=10.5,Ewe[Iwe][Mwe][1]/=-14,Ewe[Iwe][Mwe][0]+=kwe[0],Ewe[Iwe][Mwe][1]+=kwe[1];var Twe={南海诸岛:[32,80],广东:[0,-10],香港:[10,5],澳门:[-10,10],天津:[5,5]};var Awe=[[[123.45165252685547,25.73527164402261],[123.49731445312499,25.73527164402261],[123.49731445312499,25.750734064600884],[123.45165252685547,25.750734064600884],[123.45165252685547,25.73527164402261]]];var Pwe=function(){function e(e,t,n){var r;this.type="geoJSON",this._parsedMap=k3(),this._mapName=e,this._specialAreas=n,this._geoJSON=n3(r=t)?"undefined"!=typeof JSON&&JSON.parse?JSON.parse(r):new Function("return ("+r+");")():r}return e.prototype.load=function(e,t){t=t||"name";var n=this._parsedMap.get(t);if(!n){var r=this._parseToRegions(t);n=this._parsedMap.set(t,{regions:r,boundingRect:Owe(r)})}var i=k3(),o=[];return q2(n.regions,(function(t){var n=t.name;e&&M3(e,n)&&(t=t.cloneShallow(n=e[n])),o.push(t),i.set(n,t)})),{regions:o,boundingRect:n.boundingRect||new $5(0,0,0,0),regionsMap:i}},e.prototype._parseToRegions=function(e){var t,n=this._mapName,r=this._geoJSON;try{t=r?Swe(r,e):[]}catch(e){throw new Error("Invalid geoJson format\n"+e.message)}return function(e,t){if("china"===e){for(var n=0;n<t.length;n++)if(t[n].name===Cwe)return;t.push(new bwe(Cwe,X2(Ewe,(function(e){return{type:"polygon",exterior:e}})),kwe))}}(n,t),q2(t,(function(e){var t=e.name;!function(e,t){if("china"===e){var n=Twe[t.name];if(n){var r=t.getCenter();r[0]+=n[0]/10.5,r[1]+=-n[1]/14,t.setCenter(r)}}}(n,e),function(e,t){"china"===e&&"台湾"===t.name&&t.geometries.push({type:"polygon",exterior:Awe[0]})}(n,e);var r=this._specialAreas&&this._specialAreas[t];r&&e.transformTo(r.left,r.top,r.width,r.height)}),this),t},e.prototype.getMapForUser=function(){return{geoJson:this._geoJSON,geoJSON:this._geoJSON,specialAreas:this._specialAreas}},e}();function Owe(e){for(var t,n=0;n<e.length;n++){var r=e[n].getBoundingRect();(t=t||r.clone()).union(r)}return t}var Dwe=k3();const Rwe=function(e,t,n){if(t.svg){var r=new wwe(e,t.svg);Dwe.set(e,r)}else{var i=t.geoJson||t.geoJSON;i&&!t.features?n=t.specialAreas:i=t;r=new Pwe(e,i,n);Dwe.set(e,r)}},Lwe=function(e){return Dwe.get(e)},Nwe=function(e){var t=Dwe.get(e);return t&&"geoJSON"===t.type&&t.getMapForUser()},jwe=function(e,t,n){var r=Dwe.get(e);if(r)return r.load(t,n)};var Fwe=["rect","circle","line","ellipse","polygon","polyline","path"],zwe=k3(Fwe),Bwe=k3(Fwe.concat(["g"])),Vwe=k3(Fwe.concat(["g"])),$we=j9();function Hwe(e){var t=e.getItemStyle(),n=e.get("areaColor");return null!=n&&(t.fill=n),t}function Gwe(e){var t=e.style;t&&(t.stroke=t.stroke||t.fill,t.fill=null)}var Wwe=function(){function e(e){var t=new X8;this.uid=Zne("ec_map_draw"),this._controller=new Nye(e.getZr()),this._controllerHost={target:t},this.group=t,t.add(this._regionsGroup=new X8),t.add(this._svgGroup=new X8)}return e.prototype.draw=function(e,t,n,r,i){var o="geo"===e.mainType,a=e.getData&&e.getData();o&&t.eachComponent({mainType:"series",subType:"map"},(function(t){a||t.getHostGeoModel()!==e||(a=t.getData())}));var s=e.coordinateSystem,l=this._regionsGroup,u=this.group,c=s.getTransformInfo(),f=c.raw,h=c.roam;!l.childAt(0)||i?(u.x=h.x,u.y=h.y,u.scaleX=h.scaleX,u.scaleY=h.scaleY,u.dirty()):dne(u,h,e);var d=a&&a.getVisual("visualMeta")&&a.getVisual("visualMeta").length>0,p={api:n,geo:s,mapOrGeoModel:e,data:a,isVisualEncodedByVisualMap:d,isGeo:o,transformInfoRaw:f};"geoJSON"===s.resourceType?this._buildGeoJSON(p):"geoSVG"===s.resourceType&&this._buildSVG(p),this._updateController(e,t,n),this._updateMapSelectHandler(e,l,n,r)},e.prototype._buildGeoJSON=function(e){var t=this._regionsGroupByName=k3(),n=k3(),r=this._regionsGroup,i=e.transformInfoRaw,o=e.mapOrGeoModel,a=e.data,s=e.geo.projection,l=s&&s.stream;function u(e,t){return t&&(e=t(e)),e&&[e[0]*i.scaleX+i.x,e[1]*i.scaleY+i.y]}function c(e){for(var t=[],n=!l&&s&&s.project,r=0;r<e.length;++r){var i=u(e[r],n);i&&t.push(i)}return t}function f(e){return{shape:{points:c(e)}}}r.removeAll(),q2(e.geo.regions,(function(i){var c=i.name,h=t.get(c),d=n.get(c)||{},p=d.dataIdx,g=d.regionModel;h||(h=t.set(c,new X8),r.add(h),p=a?a.indexOfName(c):null,g=e.isGeo?o.getRegionModel(c):a?a.getItemModel(p):null,n.set(c,{dataIdx:p,regionModel:g}));var m=[],b=[];q2(i.geometries,(function(e){if("polygon"===e.type){var t=[e.exterior].concat(e.interiors||[]);l&&(t=Zwe(t,l)),q2(t,(function(e){m.push(new Zse(f(e)))}))}else{var n=e.points;l&&(n=Zwe(n,l,!0)),q2(n,(function(e){b.push(new ele(f(e)))}))}}));var v=u(i.getCenter(),s&&s.project);function y(t,n){if(t.length){var r=new ple({culling:!0,segmentIgnoreThreshold:1,shape:{paths:t}});h.add(r),Uwe(e,r,p,g),qwe(e,r,c,g,o,p,v),n&&(Gwe(r),q2(r.states,Gwe))}}y(m),y(b,!0)})),t.each((function(t,r){var i=n.get(r),a=i.dataIdx,s=i.regionModel;Xwe(e,t,r,s,o,a),Ywe(e,t,r,s,o),Kwe(e,t,r,s,o)}),this)},e.prototype._buildSVG=function(e){var t=e.geo.map,n=e.transformInfoRaw;this._svgGroup.x=n.x,this._svgGroup.y=n.y,this._svgGroup.scaleX=n.scaleX,this._svgGroup.scaleY=n.scaleY,this._svgResourceChanged(t)&&(this._freeSVG(),this._useSVG(t));var r=this._svgDispatcherMap=k3(),i=!1;q2(this._svgGraphicRecord.named,(function(t){var n=t.name,o=e.mapOrGeoModel,a=e.data,s=t.svgNodeTagLower,l=t.el,u=a?a.indexOfName(n):null,c=o.getRegionModel(n);(null!=zwe.get(s)&&l instanceof A7&&Uwe(e,l,u,c),l instanceof A7&&(l.culling=!0),l.z2EmphasisLift=0,t.namedFrom)||(null!=Vwe.get(s)&&qwe(e,l,n,c,o,u,null),Xwe(e,l,n,c,o,u),Ywe(e,l,n,c,o),null!=Bwe.get(s)&&("self"===Kwe(e,l,n,c,o)&&(i=!0),(r.get(n)||r.set(n,[])).push(l)))}),this),this._enableBlurEntireSVG(i,e)},e.prototype._enableBlurEntireSVG=function(e,t){if(e&&t.isGeo){var n=t.mapOrGeoModel.getModel(["blur","itemStyle"]).getItemStyle().opacity;this._svgGraphicRecord.root.traverse((function(e){if(!e.isGroup){Fte(e);var t=e.ensureState("blur").style||{};null==t.opacity&&null!=n&&(t.opacity=n),e.ensureState("emphasis")}}))}},e.prototype.remove=function(){this._regionsGroup.removeAll(),this._regionsGroupByName=null,this._svgGroup.removeAll(),this._freeSVG(),this._controller.dispose(),this._controllerHost=null},e.prototype.findHighDownDispatchers=function(e,t){if(null==e)return[];var n=t.coordinateSystem;if("geoJSON"===n.resourceType){var r=this._regionsGroupByName;if(r){var i=r.get(e);return i?[i]:[]}}else if("geoSVG"===n.resourceType)return this._svgDispatcherMap&&this._svgDispatcherMap.get(e)||[]},e.prototype._svgResourceChanged=function(e){return this._svgMapName!==e},e.prototype._useSVG=function(e){var t=Lwe(e);if(t&&"geoSVG"===t.type){var n=t.useGraphic(this.uid);this._svgGroup.add(n.root),this._svgGraphicRecord=n,this._svgMapName=e}},e.prototype._freeSVG=function(){var e=this._svgMapName;if(null!=e){var t=Lwe(e);t&&"geoSVG"===t.type&&t.freeGraphic(this.uid),this._svgGraphicRecord=null,this._svgDispatcherMap=null,this._svgGroup.removeAll(),this._svgMapName=null}},e.prototype._updateController=function(e,t,n){var r=e.coordinateSystem,i=this._controller,o=this._controllerHost;o.zoomLimit=e.get("scaleLimit"),o.zoom=r.getZoom(),i.enable(e.get("roam")||!1);var a=e.mainType;function s(){var t={type:"geoRoam",componentType:a};return t[a+"Id"]=e.id,t}i.off("pan").on("pan",(function(e){this._mouseDownFlag=!1,jye(o,e.dx,e.dy),n.dispatchAction($2(s(),{dx:e.dx,dy:e.dy,animation:{duration:0}}))}),this),i.off("zoom").on("zoom",(function(e){this._mouseDownFlag=!1,Fye(o,e.scale,e.originX,e.originY),n.dispatchAction($2(s(),{zoom:e.scale,originX:e.originX,originY:e.originY,animation:{duration:0}}))}),this),i.setPointerChecker((function(t,i,o){return r.containPoint([i,o])&&!Vye(t,n,e)}))},e.prototype.resetForLabelLayout=function(){this.group.traverse((function(e){var t=e.getTextContent();t&&(t.ignore=$we(t).ignore)}))},e.prototype._updateMapSelectHandler=function(e,t,n,r){var i=this;t.off("mousedown"),t.off("click"),e.get("selectedMode")&&(t.on("mousedown",(function(){i._mouseDownFlag=!0})),t.on("click",(function(e){i._mouseDownFlag&&(i._mouseDownFlag=!1)})))},e}();function Uwe(e,t,n,r){var i=r.getModel("itemStyle"),o=r.getModel(["emphasis","itemStyle"]),a=r.getModel(["blur","itemStyle"]),s=r.getModel(["select","itemStyle"]),l=Hwe(i),u=Hwe(o),c=Hwe(s),f=Hwe(a),h=e.data;if(h){var d=h.getItemVisual(n,"style"),p=h.getItemVisual(n,"decal");e.isVisualEncodedByVisualMap&&d.fill&&(l.fill=d.fill),p&&(l.decal=Kce(p,e.api))}t.setStyle(l),t.style.strokeNoScale=!0,t.ensureState("emphasis").style=u,t.ensureState("select").style=c,t.ensureState("blur").style=f,Fte(t)}function qwe(e,t,n,r,i,o,a){var s=e.data,l=e.isGeo,u=s&&isNaN(s.get(s.mapDimension("value"),o)),c=s&&s.getItemLayout(o);if(l||u||c&&c.showLabel){var f=l?n:o,h=void 0;(!s||o>=0)&&(h=i);var d=a?{normal:{align:"center",verticalAlign:"middle"}}:null;Sne(t,kne(r),{labelFetcher:h,labelDataIndex:f,defaultText:n},d);var p=t.getTextContent();if(p&&($we(p).ignore=p.ignore,t.textConfig&&a)){var g=t.getBoundingRect().clone();t.textConfig.layoutRect=g,t.textConfig.position=[(a[0]-g.x)/g.width*100+"%",(a[1]-g.y)/g.height*100+"%"]}t.disableLabelAnimation=!0}else t.removeTextContent(),t.removeTextConfig(),t.disableLabelAnimation=null}function Xwe(e,t,n,r,i,o){e.data?e.data.setItemGraphicEl(o,t):cte(t).eventData={componentType:"geo",componentIndex:i.componentIndex,geoIndex:i.componentIndex,name:n,region:r&&r.option||{}}}function Ywe(e,t,n,r,i){e.data||nue({el:t,componentModel:i,itemName:n,itemTooltipOption:r.get("tooltip")})}function Kwe(e,t,n,r,i){t.highDownSilentOnTouch=!!i.get("selectedMode");var o=r.getModel("emphasis"),a=o.get("focus");return tne(t,a,o.get("blurScope"),o.get("disabled")),e.isGeo&&function(e,t,n){var r=cte(e);r.componentMainType=t.mainType,r.componentIndex=t.componentIndex,r.componentHighDownName=n}(t,i,n),a}function Zwe(e,t,n){var r,i=[];function o(){r=[]}function a(){r.length&&(i.push(r),r=[])}var s=t({polygonStart:o,polygonEnd:a,lineStart:o,lineEnd:a,point:function(e,t){isFinite(e)&&isFinite(t)&&r.push([e,t])},sphere:function(){}});return!n&&s.polygonStart(),q2(e,(function(e){s.lineStart();for(var t=0;t<e.length;t++)s.point(e[t][0],e[t][1]);s.lineEnd()})),!n&&s.polygonEnd(),i}const Qwe=Wwe;var Jwe=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return g2(t,e),t.prototype.render=function(e,t,n,r){if(!r||"mapToggleSelect"!==r.type||r.from!==this.uid){var i=this.group;if(i.removeAll(),!e.getHostGeoModel()){if(this._mapDraw&&r&&"geoRoam"===r.type&&this._mapDraw.resetForLabelLayout(),r&&"geoRoam"===r.type&&"series"===r.componentType&&r.seriesId===e.id)(o=this._mapDraw)&&i.add(o.group);else if(e.needsDrawMap){var o=this._mapDraw||new Qwe(n);i.add(o.group),o.draw(e,t,n,this,r),this._mapDraw=o}else this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null;e.get("showLegendSymbol")&&t.getComponent("legend")&&this._renderSymbols(e,t,n)}}},t.prototype.remove=function(){this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null,this.group.removeAll()},t.prototype.dispose=function(){this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null},t.prototype._renderSymbols=function(e,t,n){var r=e.originalData,i=this.group;r.each(r.mapDimension("value"),(function(t,n){if(!isNaN(t)){var o=r.getItemLayout(n);if(o&&o.point){var a=o.point,s=o.offset,l=new Cse({style:{fill:e.getData().getVisual("style").fill},shape:{cx:a[0]+9*s,cy:a[1],r:3},silent:!0,z2:8+(s?0:11)});if(!s){var u=e.mainSeries.getData(),c=r.getName(n),f=u.indexOfName(c),h=r.getItemModel(n),d=h.getModel("label"),p=u.getItemGraphicEl(f);Sne(l,kne(h),{labelFetcher:{getFormattedLabel:function(t,n){return e.getFormattedLabel(f,n)}},defaultText:c}),l.disableLabelAnimation=!0,d.get("position")||l.setTextConfig({position:"bottom"}),p.onHoverStateChange=function(e){Nte(l,e)}}i.add(l)}}}))},t.type="map",t}(due);const exe=Jwe;var txe=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.needsDrawMap=!1,n.seriesGroup=[],n.getTooltipPosition=function(e){if(null!=e){var t=this.getData().getName(e),n=this.coordinateSystem,r=n.getRegion(t);return r&&n.dataToPoint(r.getCenter())}},n}return g2(t,e),t.prototype.getInitialData=function(e){for(var t=Nme(this,{coordDimensions:["value"],encodeDefaulter:J2(Sie,this)}),n=k3(),r=[],i=0,o=t.count();i<o;i++){var a=t.getName(i);n.set(a,!0)}return q2(jwe(this.getMapType(),this.option.nameMap,this.option.nameProperty).regions,(function(e){var t=e.name;n.get(t)||r.push(t)})),t.appendValues([],r),t},t.prototype.getHostGeoModel=function(){var e=this.option.geoIndex;return null!=e?this.ecModel.getComponent("geo",e):null},t.prototype.getMapType=function(){return(this.getHostGeoModel()||this).option.map},t.prototype.getRawValue=function(e){var t=this.getData();return t.get(t.mapDimension("value"),e)},t.prototype.getRegionModel=function(e){var t=this.getData();return t.getItemModel(t.indexOfName(e))},t.prototype.formatTooltip=function(e,t,n){for(var r=this.getData(),i=this.getRawValue(e),o=r.getName(e),a=this.seriesGroup,s=[],l=0;l<a.length;l++){var u=a[l].originalData.indexOfName(o),c=r.mapDimension("value");isNaN(a[l].originalData.get(c,u))||s.push(a[l].name)}return Aae("section",{header:s.join(", "),noHeader:!s.length,blocks:[Aae("nameValue",{name:o,value:i})]})},t.prototype.setZoom=function(e){this.option.zoom=e},t.prototype.setCenter=function(e){this.option.center=e},t.prototype.getLegendIcon=function(e){var t=e.icon||"roundRect",n=Sce(t,0,0,e.itemWidth,e.itemHeight,e.itemStyle.fill);return n.setStyle(e.itemStyle),n.style.stroke="none",t.indexOf("empty")>-1&&(n.style.stroke=n.style.fill,n.style.fill="#fff",n.style.lineWidth=2),n},t.type="series.map",t.dependencies=["geo"],t.layoutMode="box",t.defaultOption={z:2,coordinateSystem:"geo",map:"",left:"center",top:"center",aspectScale:null,showLegendSymbol:!0,boundingCoords:null,center:null,zoom:1,scaleLimit:null,selectedMode:!0,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444",areaColor:"#eee"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{areaColor:"rgba(255,215,0,0.8)"}},select:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{color:"rgba(255,215,0,0.8)"}},nameProperty:"name"},t}(Jae);const nxe=txe;function rxe(e){var t={};e.eachSeriesByType("map",(function(e){var n=e.getHostGeoModel(),r=n?"o"+n.id:"i"+e.getMapType();(t[r]=t[r]||[]).push(e)})),q2(t,(function(e,t){for(var n,r,i,o=(n=X2(e,(function(e){return e.getData()})),r=e[0].get("mapValueCalculation"),i={},q2(n,(function(e){e.each(e.mapDimension("value"),(function(t,n){var r="ec-"+e.getName(n);i[r]=i[r]||[],isNaN(t)||i[r].push(t)}))})),n[0].map(n[0].mapDimension("value"),(function(e,t){for(var o="ec-"+n[0].getName(t),a=0,s=1/0,l=-1/0,u=i[o].length,c=0;c<u;c++)s=Math.min(s,i[o][c]),l=Math.max(l,i[o][c]),a+=i[o][c];return 0===u?NaN:"min"===r?s:"max"===r?l:"average"===r?a/u:a}))),a=0;a<e.length;a++)e[a].originalData=e[a].getData();for(a=0;a<e.length;a++)e[a].seriesGroup=e,e[a].needsDrawMap=0===a&&!e[a].getHostGeoModel(),e[a].setData(o.cloneShallow()),e[a].mainSeries=e[0]}))}function ixe(e){var t={};e.eachSeriesByType("map",(function(n){var r=n.getMapType();if(!n.getHostGeoModel()&&!t[r]){var i={};q2(n.seriesGroup,(function(t){var n=t.coordinateSystem,r=t.originalData;t.get("showLegendSymbol")&&e.getComponent("legend")&&r.each(r.mapDimension("value"),(function(e,t){var o=r.getName(t),a=n.getRegion(o);if(a&&!isNaN(e)){var s=i[o]||0,l=n.dataToPoint(a.getCenter());i[o]=s+1,r.setItemLayout(t,{point:l,offset:s})}}))}));var o=n.getData();o.each((function(e){var t=o.getName(e),n=o.getItemLayout(e)||{};n.showLabel=!i[t],o.setItemLayout(e,n)})),t[r]=!0}}))}var oxe=X3,axe=function(e){function t(t){var n=e.call(this)||this;return n.type="view",n.dimensions=["x","y"],n._roamTransformable=new E8,n._rawTransformable=new E8,n.name=t,n}return g2(t,e),t.prototype.setBoundingRect=function(e,t,n,r){return this._rect=new $5(e,t,n,r),this._rect},t.prototype.getBoundingRect=function(){return this._rect},t.prototype.setViewRect=function(e,t,n,r){this._transformTo(e,t,n,r),this._viewRect=new $5(e,t,n,r)},t.prototype._transformTo=function(e,t,n,r){var i=this.getBoundingRect(),o=this._rawTransformable;o.transform=i.calculateTransform(new $5(e,t,n,r));var a=o.parent;o.parent=null,o.decomposeTransform(),o.parent=a,this._updateTransform()},t.prototype.setCenter=function(e,t){e&&(this._center=[t9(e[0],t.getWidth()),t9(e[1],t.getHeight())],this._updateCenterAndZoom())},t.prototype.setZoom=function(e){e=e||1;var t=this.zoomLimit;t&&(null!=t.max&&(e=Math.min(t.max,e)),null!=t.min&&(e=Math.max(t.min,e))),this._zoom=e,this._updateCenterAndZoom()},t.prototype.getDefaultCenter=function(){var e=this.getBoundingRect();return[e.x+e.width/2,e.y+e.height/2]},t.prototype.getCenter=function(){return this._center||this.getDefaultCenter()},t.prototype.getZoom=function(){return this._zoom||1},t.prototype.getRoamTransform=function(){return this._roamTransformable.getLocalTransform()},t.prototype._updateCenterAndZoom=function(){var e=this._rawTransformable.getLocalTransform(),t=this._roamTransformable,n=this.getDefaultCenter(),r=this.getCenter(),i=this.getZoom();r=X3([],r,e),n=X3([],n,e),t.originX=r[0],t.originY=r[1],t.x=n[0]-r[0],t.y=n[1]-r[1],t.scaleX=t.scaleY=i,this._updateTransform()},t.prototype._updateTransform=function(){var e=this._roamTransformable,t=this._rawTransformable;t.parent=e,e.updateTransform(),t.updateTransform(),C5(this.transform||(this.transform=[]),t.transform||[1,0,0,1,0,0]),this._rawTransform=t.getLocalTransform(),this.invTransform=this.invTransform||[],A5(this.invTransform,this.transform),this.decomposeTransform()},t.prototype.getTransformInfo=function(){var e=this._rawTransformable,t=this._roamTransformable,n=new E8;return n.transform=t.transform,n.decomposeTransform(),{roam:{x:n.x,y:n.y,scaleX:n.scaleX,scaleY:n.scaleY},raw:{x:e.x,y:e.y,scaleX:e.scaleX,scaleY:e.scaleY}}},t.prototype.getViewRect=function(){return this._viewRect},t.prototype.getViewRectAfterRoam=function(){var e=this.getBoundingRect().clone();return e.applyTransform(this.transform),e},t.prototype.dataToPoint=function(e,t,n){var r=t?this._rawTransform:this.transform;return n=n||[],r?oxe(n,e,r):R3(n,e)},t.prototype.pointToData=function(e){var t=this.invTransform;return t?oxe([],e,t):[e[0],e[1]]},t.prototype.convertToPixel=function(e,t,n){var r=sxe(t);return r===this?r.dataToPoint(n):null},t.prototype.convertFromPixel=function(e,t,n){var r=sxe(t);return r===this?r.pointToData(n):null},t.prototype.containPoint=function(e){return this.getViewRectAfterRoam().contain(e[0],e[1])},t.dimensions=["x","y"],t}(E8);function sxe(e){var t=e.seriesModel;return t?t.coordinateSystem:null}const lxe=axe;var uxe={geoJSON:{aspectScale:.75,invertLongitute:!0},geoSVG:{aspectScale:1,invertLongitute:!1}},cxe=["lng","lat"],fxe=function(e){function t(t,n,r){var i=e.call(this,t)||this;i.dimensions=cxe,i.type="geo",i._nameCoordMap=k3(),i.map=n;var o,a=r.projection,s=jwe(n,r.nameMap,r.nameProperty),l=Lwe(n),u=(i.resourceType=l?l.type:null,i.regions=s.regions),c=uxe[l.type];if(i._regionsMap=s.regionsMap,i.regions=s.regions,i.projection=a,a)for(var f=0;f<u.length;f++){var h=u[f].getBoundingRect(a);(o=o||h.clone()).union(h)}else o=s.boundingRect;return i.setBoundingRect(o.x,o.y,o.width,o.height),i.aspectScale=a?1:h3(r.aspectScale,c.aspectScale),i._invertLongitute=!a&&c.invertLongitute,i}return g2(t,e),t.prototype._transformTo=function(e,t,n,r){var i=this.getBoundingRect(),o=this._invertLongitute;i=i.clone(),o&&(i.y=-i.y-i.height);var a=this._rawTransformable;a.transform=i.calculateTransform(new $5(e,t,n,r));var s=a.parent;a.parent=null,a.decomposeTransform(),a.parent=s,o&&(a.scaleY=-a.scaleY),this._updateTransform()},t.prototype.getRegion=function(e){return this._regionsMap.get(e)},t.prototype.getRegionByCoord=function(e){for(var t=this.regions,n=0;n<t.length;n++){var r=t[n];if("geoJSON"===r.type&&r.contain(e))return t[n]}},t.prototype.addGeoCoord=function(e,t){this._nameCoordMap.set(e,t)},t.prototype.getGeoCoord=function(e){var t=this._regionsMap.get(e);return this._nameCoordMap.get(e)||t&&t.getCenter()},t.prototype.dataToPoint=function(e,t,n){if(n3(e)&&(e=this.getGeoCoord(e)),e){var r=this.projection;return r&&(e=r.project(e)),e&&this.projectedToPoint(e,t,n)}},t.prototype.pointToData=function(e){var t=this.projection;return t&&(e=t.unproject(e)),e&&this.pointToProjected(e)},t.prototype.pointToProjected=function(t){return e.prototype.pointToData.call(this,t)},t.prototype.projectedToPoint=function(t,n,r){return e.prototype.dataToPoint.call(this,t,n,r)},t.prototype.convertToPixel=function(e,t,n){var r=hxe(t);return r===this?r.dataToPoint(n):null},t.prototype.convertFromPixel=function(e,t,n){var r=hxe(t);return r===this?r.pointToData(n):null},t}(lxe);function hxe(e){var t=e.geoModel,n=e.seriesModel;return t?t.coordinateSystem:n?n.coordinateSystem||(n.getReferringComponents("geo",V9).models[0]||{}).coordinateSystem:null}W2(fxe,lxe);const dxe=fxe;function pxe(e,t){var n=e.get("boundingCoords");if(null!=n){var r=n[0],i=n[1];if(isFinite(r[0])&&isFinite(r[1])&&isFinite(i[0])&&isFinite(i[1])){var o=this.projection;if(o){var a=r[0],s=r[1],l=i[0],u=i[1];r=[1/0,1/0],i=[-1/0,-1/0];var c=function(e,t,n,a){for(var s=n-e,l=a-t,u=0;u<=100;u++){var c=u/100,f=o.project([e+s*c,t+l*c]);Y3(r,r,f),K3(i,i,f)}};c(a,s,l,s),c(l,s,l,u),c(l,u,a,u),c(a,u,l,s)}this.setBoundingRect(r[0],r[1],i[0]-r[0],i[1]-r[1])}else 0}var f,h,d,p=this.getBoundingRect(),g=e.get("layoutCenter"),m=e.get("layoutSize"),b=t.getWidth(),v=t.getHeight(),y=p.width/p.height*this.aspectScale,w=!1;if(g&&m&&(f=[t9(g[0],b),t9(g[1],v)],h=t9(m,Math.min(b,v)),isNaN(f[0])||isNaN(f[1])||isNaN(h)||(w=!0)),w)d={},y>1?(d.width=h,d.height=h/y):(d.height=h,d.width=h*y),d.y=f[1]-d.height/2,d.x=f[0]-d.width/2;else{var x=e.getBoxLayoutParams();x.aspect=y,d=Zre(x,{width:b,height:v})}this.setViewRect(d.x,d.y,d.width,d.height),this.setCenter(e.get("center"),t),this.setZoom(e.get("zoom"))}var gxe=function(){function e(){this.dimensions=cxe}return e.prototype.create=function(e,t){var n=[];function r(e){return{nameProperty:e.get("nameProperty"),aspectScale:e.get("aspectScale"),projection:e.get("projection")}}e.eachComponent("geo",(function(e,i){var o=e.get("map"),a=new dxe(o+i,o,$2({nameMap:e.get("nameMap")},r(e)));a.zoomLimit=e.get("scaleLimit"),n.push(a),e.coordinateSystem=a,a.model=e,a.resize=pxe,a.resize(e,t)})),e.eachSeries((function(e){if("geo"===e.get("coordinateSystem")){var t=e.get("geoIndex")||0;e.coordinateSystem=n[t]}}));var i={};return e.eachSeriesByType("map",(function(e){if(!e.getHostGeoModel()){var t=e.getMapType();i[t]=i[t]||[],i[t].push(e)}})),q2(i,(function(e,i){var o=X2(e,(function(e){return e.get("nameMap")})),a=new dxe(i,i,$2({nameMap:V2(o)},r(e[0])));a.zoomLimit=f3.apply(null,X2(e,(function(e){return e.get("scaleLimit")}))),n.push(a),a.resize=pxe,a.resize(e[0],t),q2(e,(function(e){e.coordinateSystem=a,function(e,t){q2(t.get("geoCoord"),(function(t,n){e.addGeoCoord(n,t)}))}(a,e)}))})),n},e.prototype.getFilledRegions=function(e,t,n,r){for(var i=(e||[]).slice(),o=k3(),a=0;a<i.length;a++)o.set(i[a].name,i[a]);return q2(jwe(t,n,r).regions,(function(e){var t=e.name;!o.get(t)&&i.push({name:t})})),i},e}();const mxe=new gxe;var bxe=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return g2(t,e),t.prototype.init=function(e,t,n){var r=Lwe(e.map);if(r&&"geoJSON"===r.type){var i=e.itemStyle=e.itemStyle||{};"color"in i||(i.color="#eee")}this.mergeDefaultAndTheme(e,n),E9(e,"label",["show"])},t.prototype.optionUpdated=function(){var e=this,t=this.option;t.regions=mxe.getFilledRegions(t.regions,t.map,t.nameMap,t.nameProperty);var n={};this._optionModelMap=Y2(t.regions||[],(function(t,r){var i=r.name;return i&&(t.set(i,new Yne(r,e,e.ecModel)),r.selected&&(n[i]=!0)),t}),k3()),t.selectedMap||(t.selectedMap=n)},t.prototype.getRegionModel=function(e){return this._optionModelMap.get(e)||new Yne(null,this,this.ecModel)},t.prototype.getFormattedLabel=function(e,t){var n=this.getRegionModel(e),r="normal"===t?n.get(["label","formatter"]):n.get(["emphasis","label","formatter"]),i={name:e};return t3(r)?(i.status=t,r(i)):n3(r)?r.replace("{a}",null!=e?e:""):void 0},t.prototype.setZoom=function(e){this.option.zoom=e},t.prototype.setCenter=function(e){this.option.center=e},t.prototype.select=function(e){var t=this.option,n=t.selectedMode;n&&("multiple"!==n&&(t.selectedMap=null),(t.selectedMap||(t.selectedMap={}))[e]=!0)},t.prototype.unSelect=function(e){var t=this.option.selectedMap;t&&(t[e]=!1)},t.prototype.toggleSelected=function(e){this[this.isSelected(e)?"unSelect":"select"](e)},t.prototype.isSelected=function(e){var t=this.option.selectedMap;return!(!t||!t[e])},t.type="geo",t.layoutMode="box",t.defaultOption={z:0,show:!0,left:"center",top:"center",aspectScale:null,silent:!1,map:"",boundingCoords:null,center:null,zoom:1,scaleLimit:null,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{color:"rgba(255,215,0,0.8)"}},select:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{color:"rgba(255,215,0,0.8)"}},regions:[]},t}(oie);const vxe=bxe;function yxe(e,t){return e.pointToProjected?e.pointToProjected(t):e.pointToData(t)}function wxe(e,t,n,r){var i=e.getZoom(),o=e.getCenter(),a=t.zoom,s=e.projectedToPoint?e.projectedToPoint(o):e.dataToPoint(o);if(null!=t.dx&&null!=t.dy&&(s[0]-=t.dx,s[1]-=t.dy,e.setCenter(yxe(e,s),r)),null!=a){if(n){var l=n.min||0,u=n.max||1/0;a=Math.max(Math.min(i*a,u),l)/i}e.scaleX*=a,e.scaleY*=a;var c=(t.originX-e.x)*(a-1),f=(t.originY-e.y)*(a-1);e.x-=c,e.y-=f,e.updateTransform(),e.setCenter(yxe(e,s),r),e.setZoom(a*i)}return{center:e.getCenter(),zoom:e.getZoom()}}var xxe=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.focusBlurEnabled=!0,n}return g2(t,e),t.prototype.init=function(e,t){this._api=t},t.prototype.render=function(e,t,n,r){if(this._model=e,!e.get("show"))return this._mapDraw&&this._mapDraw.remove(),void(this._mapDraw=null);this._mapDraw||(this._mapDraw=new Qwe(n));var i=this._mapDraw;i.draw(e,t,n,this,r),i.group.on("click",this._handleRegionClick,this),i.group.silent=e.get("silent"),this.group.add(i.group),this.updateSelectStatus(e,t,n)},t.prototype._handleRegionClick=function(e){var t;cce(e.target,(function(e){return null!=(t=cte(e).eventData)}),!0),t&&this._api.dispatchAction({type:"geoToggleSelect",geoId:this._model.id,name:t.name})},t.prototype.updateSelectStatus=function(e,t,n){var r=this;this._mapDraw.group.traverse((function(e){var t=cte(e).eventData;if(t)return r._model.isSelected(t.name)?n.enterSelect(e):n.leaveSelect(e),!0}))},t.prototype.findHighDownDispatchers=function(e){return this._mapDraw&&this._mapDraw.findHighDownDispatchers(e,this._model)},t.prototype.dispose=function(){this._mapDraw&&this._mapDraw.remove()},t.type="geo",t}(tse);const _xe=xxe;function Sxe(e,t,n){Rwe(e,t,n)}function kxe(e){function t(t,n){n.update="geo:updateSelectStatus",e.registerAction(n,(function(e,n){var r={},i=[];return n.eachComponent({mainType:"geo",query:e},(function(n){n[t](e.name),q2(n.coordinateSystem.regions,(function(e){r[e.name]=n.isSelected(e.name)||!1}));var o=[];q2(r,(function(e,t){r[t]&&o.push(t)})),i.push({geoIndex:n.componentIndex,name:o})})),{selected:r,allSelected:i,name:e.name}}))}e.registerCoordinateSystem("geo",mxe),e.registerComponentModel(vxe),e.registerComponentView(_xe),e.registerImpl("registerMap",Sxe),e.registerImpl("getMap",(function(e){return Nwe(e)})),t("toggleSelected",{type:"geoToggleSelect",event:"geoselectchanged"}),t("select",{type:"geoSelect",event:"geoselected"}),t("unSelect",{type:"geoUnSelect",event:"geounselected"}),e.registerAction({type:"geoRoam",event:"geoRoam",update:"updateTransform"},(function(e,t,n){var r=e.componentType||"series";t.eachComponent({mainType:r,query:e},(function(t){var i=t.coordinateSystem;if("geo"===i.type){var o=wxe(i,e,t.get("scaleLimit"),n);t.setCenter&&t.setCenter(o.center),t.setZoom&&t.setZoom(o.zoom),"series"===r&&q2(t.seriesGroup,(function(e){e.setCenter(o.center),e.setZoom(o.zoom)}))}}))}))}function Cxe(e,t){var n=e.isExpand?e.children:[],r=e.parentNode.children,i=e.hierNode.i?r[e.hierNode.i-1]:null;if(n.length){!function(e){var t=e.children,n=t.length,r=0,i=0;for(;--n>=0;){var o=t[n];o.hierNode.prelim+=r,o.hierNode.modifier+=r,i+=o.hierNode.change,r+=o.hierNode.shift+i}}(e);var o=(n[0].hierNode.prelim+n[n.length-1].hierNode.prelim)/2;i?(e.hierNode.prelim=i.hierNode.prelim+t(e,i),e.hierNode.modifier=e.hierNode.prelim-o):e.hierNode.prelim=o}else i&&(e.hierNode.prelim=i.hierNode.prelim+t(e,i));e.parentNode.hierNode.defaultAncestor=function(e,t,n,r){if(t){for(var i=e,o=e,a=o.parentNode.children[0],s=t,l=i.hierNode.modifier,u=o.hierNode.modifier,c=a.hierNode.modifier,f=s.hierNode.modifier;s=Txe(s),o=Axe(o),s&&o;){i=Txe(i),a=Axe(a),i.hierNode.ancestor=e;var h=s.hierNode.prelim+f-o.hierNode.prelim-u+r(s,o);h>0&&(Oxe(Pxe(s,e,n),e,h),u+=h,l+=h),f+=s.hierNode.modifier,u+=o.hierNode.modifier,l+=i.hierNode.modifier,c+=a.hierNode.modifier}s&&!Txe(i)&&(i.hierNode.thread=s,i.hierNode.modifier+=f-l),o&&!Axe(a)&&(a.hierNode.thread=o,a.hierNode.modifier+=u-c,n=e)}return n}(e,i,e.parentNode.hierNode.defaultAncestor||r[0],t)}function Exe(e){var t=e.hierNode.prelim+e.parentNode.hierNode.modifier;e.setLayout({x:t},!0),e.hierNode.modifier+=e.parentNode.hierNode.modifier}function Ixe(e){return arguments.length?e:Dxe}function Mxe(e,t){return e-=Math.PI/2,{x:t*Math.cos(e),y:t*Math.sin(e)}}function Txe(e){var t=e.children;return t.length&&e.isExpand?t[t.length-1]:e.hierNode.thread}function Axe(e){var t=e.children;return t.length&&e.isExpand?t[0]:e.hierNode.thread}function Pxe(e,t,n){return e.hierNode.ancestor.parentNode===t.parentNode?e.hierNode.ancestor:n}function Oxe(e,t,n){var r=n/(t.hierNode.i-e.hierNode.i);t.hierNode.change-=r,t.hierNode.shift+=n,t.hierNode.modifier+=n,t.hierNode.prelim+=n,e.hierNode.change+=r}function Dxe(e,t){return e.parentNode===t.parentNode?1:2}var Rxe=function(){this.parentPoint=[],this.childPoints=[]},Lxe=function(e){function t(t){return e.call(this,t)||this}return g2(t,e),t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new Rxe},t.prototype.buildPath=function(e,t){var n=t.childPoints,r=n.length,i=t.parentPoint,o=n[0],a=n[r-1];if(1===r)return e.moveTo(i[0],i[1]),void e.lineTo(o[0],o[1]);var s=t.orient,l="TB"===s||"BT"===s?0:1,u=1-l,c=t9(t.forkPosition,1),f=[];f[l]=i[l],f[u]=i[u]+(a[u]-i[u])*c,e.moveTo(i[0],i[1]),e.lineTo(f[0],f[1]),e.moveTo(o[0],o[1]),f[l]=o[l],e.lineTo(f[0],f[1]),f[l]=a[l],e.lineTo(f[0],f[1]),e.lineTo(a[0],a[1]);for(var h=1;h<r-1;h++){var d=n[h];e.moveTo(d[0],d[1]),f[l]=d[l],e.lineTo(f[0],f[1])}},t}(Oee),Nxe=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n._mainGroup=new X8,n}return g2(t,e),t.prototype.init=function(e,t){this._controller=new Nye(t.getZr()),this._controllerHost={target:this.group},this.group.add(this._mainGroup)},t.prototype.render=function(e,t,n){var r=e.getData(),i=e.layoutInfo,o=this._mainGroup;"radial"===e.get("layout")?(o.x=i.x+i.width/2,o.y=i.y+i.height/2):(o.x=i.x,o.y=i.y),this._updateViewCoordSys(e,n),this._updateController(e,t,n);var a=this._data;r.diff(a).add((function(t){jxe(r,t)&&Fxe(r,t,null,o,e)})).update((function(t,n){var i=a.getItemGraphicEl(n);jxe(r,t)?Fxe(r,t,i,o,e):i&&Vxe(a,n,i,o,e)})).remove((function(t){var n=a.getItemGraphicEl(t);n&&Vxe(a,t,n,o,e)})).execute(),this._nodeScaleRatio=e.get("nodeScaleRatio"),this._updateNodeAndLinkScale(e),!0===e.get("expandAndCollapse")&&r.eachItemGraphicEl((function(t,r){t.off("click").on("click",(function(){n.dispatchAction({type:"treeExpandAndCollapse",seriesId:e.id,dataIndex:r})}))})),this._data=r},t.prototype._updateViewCoordSys=function(e,t){var n=e.getData(),r=[];n.each((function(e){var t=n.getItemLayout(e);!t||isNaN(t.x)||isNaN(t.y)||r.push([+t.x,+t.y])}));var i=[],o=[];z7(r,i,o);var a=this._min,s=this._max;o[0]-i[0]==0&&(i[0]=a?a[0]:i[0]-1,o[0]=s?s[0]:o[0]+1),o[1]-i[1]==0&&(i[1]=a?a[1]:i[1]-1,o[1]=s?s[1]:o[1]+1);var l=e.coordinateSystem=new lxe;l.zoomLimit=e.get("scaleLimit"),l.setBoundingRect(i[0],i[1],o[0]-i[0],o[1]-i[1]),l.setCenter(e.get("center"),t),l.setZoom(e.get("zoom")),this.group.attr({x:l.x,y:l.y,scaleX:l.scaleX,scaleY:l.scaleY}),this._min=i,this._max=o},t.prototype._updateController=function(e,t,n){var r=this,i=this._controller,o=this._controllerHost,a=this.group;i.setPointerChecker((function(t,r,i){var o=a.getBoundingRect();return o.applyTransform(a.transform),o.contain(r,i)&&!Vye(t,n,e)})),i.enable(e.get("roam")),o.zoomLimit=e.get("scaleLimit"),o.zoom=e.coordinateSystem.getZoom(),i.off("pan").off("zoom").on("pan",(function(t){jye(o,t.dx,t.dy),n.dispatchAction({seriesId:e.id,type:"treeRoam",dx:t.dx,dy:t.dy})})).on("zoom",(function(t){Fye(o,t.scale,t.originX,t.originY),n.dispatchAction({seriesId:e.id,type:"treeRoam",zoom:t.scale,originX:t.originX,originY:t.originY}),r._updateNodeAndLinkScale(e),n.updateLabelLayout()}))},t.prototype._updateNodeAndLinkScale=function(e){var t=e.getData(),n=this._getNodeGlobalScale(e);t.eachItemGraphicEl((function(e,t){e.setSymbolScale(n)}))},t.prototype._getNodeGlobalScale=function(e){var t=e.coordinateSystem;if("view"!==t.type)return 1;var n=this._nodeScaleRatio,r=t.scaleX||1;return((t.getZoom()-1)*n+1)/r},t.prototype.dispose=function(){this._controller&&this._controller.dispose(),this._controllerHost=null},t.prototype.remove=function(){this._mainGroup.removeAll(),this._data=null},t.type="tree",t}(due);function jxe(e,t){var n=e.getItemLayout(t);return n&&!isNaN(n.x)&&!isNaN(n.y)}function Fxe(e,t,n,r,i){var o=!n,a=e.tree.getNodeByDataIndex(t),s=a.getModel(),l=a.getVisual("style").fill,u=!1===a.isExpand&&0!==a.children.length?l:"#fff",c=e.tree.root,f=a.parentNode===c?a:a.parentNode||a,h=e.getItemGraphicEl(f.dataIndex),d=f.getLayout(),p=h?{x:h.__oldX,y:h.__oldY,rawX:h.__radialOldRawX,rawY:h.__radialOldRawY}:d,g=a.getLayout();o?((n=new Qpe(e,t,null,{symbolInnerColor:u,useNameLabel:!0})).x=p.x,n.y=p.y):n.updateData(e,t,null,{symbolInnerColor:u,useNameLabel:!0}),n.__radialOldRawX=n.__radialRawX,n.__radialOldRawY=n.__radialRawY,n.__radialRawX=g.rawX,n.__radialRawY=g.rawY,r.add(n),e.setItemGraphicEl(t,n),n.__oldX=n.x,n.__oldY=n.y,dne(n,{x:g.x,y:g.y},i);var m=n.getSymbolPath();if("radial"===i.get("layout")){var b=c.children[0],v=b.getLayout(),y=b.children.length,w=void 0,x=void 0;if(g.x===v.x&&!0===a.isExpand&&b.children.length){var _={x:(b.children[0].getLayout().x+b.children[y-1].getLayout().x)/2,y:(b.children[0].getLayout().y+b.children[y-1].getLayout().y)/2};(w=Math.atan2(_.y-v.y,_.x-v.x))<0&&(w=2*Math.PI+w),(x=_.x<v.x)&&(w-=Math.PI)}else(w=Math.atan2(g.y-v.y,g.x-v.x))<0&&(w=2*Math.PI+w),0===a.children.length||0!==a.children.length&&!1===a.isExpand?(x=g.x<v.x)&&(w-=Math.PI):(x=g.x>v.x)||(w-=Math.PI);var S=x?"left":"right",k=s.getModel("label"),C=k.get("rotate"),E=C*(Math.PI/180),I=m.getTextContent();I&&(m.setTextConfig({position:k.get("position")||S,rotation:null==C?-w:E,origin:"center"}),I.setStyle("verticalAlign","middle"))}var M=s.get(["emphasis","focus"]),T="relative"===M?C3(a.getAncestorsIndices(),a.getDescendantIndices()):"ancestor"===M?a.getAncestorsIndices():"descendant"===M?a.getDescendantIndices():null;T&&(cte(n).focus=T),function(e,t,n,r,i,o,a,s){var l=t.getModel(),u=e.get("edgeShape"),c=e.get("layout"),f=e.getOrient(),h=e.get(["lineStyle","curveness"]),d=e.get("edgeForkPosition"),p=l.getModel("lineStyle").getLineStyle(),g=r.__edge;if("curve"===u)t.parentNode&&t.parentNode!==n&&(g||(g=r.__edge=new ule({shape:$xe(c,f,h,i,i)})),dne(g,{shape:$xe(c,f,h,o,a)},e));else if("polyline"===u)if("orthogonal"===c){if(t!==n&&t.children&&0!==t.children.length&&!0===t.isExpand){for(var m=t.children,b=[],v=0;v<m.length;v++){var y=m[v].getLayout();b.push([y.x,y.y])}g||(g=r.__edge=new Lxe({shape:{parentPoint:[a.x,a.y],childPoints:[[a.x,a.y]],orient:f,forkPosition:d}})),dne(g,{shape:{parentPoint:[a.x,a.y],childPoints:b}},e)}}else 0;g&&("polyline"!==u||t.isExpand)&&(g.useStyle(H2({strokeNoScale:!0,fill:null},p)),one(g,l,"lineStyle"),Fte(g),s.add(g))}(i,a,c,n,p,d,g,r),n.__edge&&(n.onHoverStateChange=function(t){if("blur"!==t){var r=a.parentNode&&e.getItemGraphicEl(a.parentNode.dataIndex);r&&1===r.hoverState||Nte(n.__edge,t)}})}function zxe(e,t,n,r,i){var o=Bxe(t.tree.root,e),a=o.source,s=o.sourceLayout,l=t.getItemGraphicEl(e.dataIndex);if(l){var u=t.getItemGraphicEl(a.dataIndex).__edge,c=l.__edge||(!1===a.isExpand||1===a.children.length?u:void 0),f=r.get("edgeShape"),h=r.get("layout"),d=r.get("orient"),p=r.get(["lineStyle","curveness"]);c&&("curve"===f?mne(c,{shape:$xe(h,d,p,s,s),style:{opacity:0}},r,{cb:function(){n.remove(c)},removeOpt:i}):"polyline"===f&&"orthogonal"===r.get("layout")&&mne(c,{shape:{parentPoint:[s.x,s.y],childPoints:[[s.x,s.y]]},style:{opacity:0}},r,{cb:function(){n.remove(c)},removeOpt:i}))}}function Bxe(e,t){for(var n,r=t.parentNode===e?t:t.parentNode||t;null==(n=r.getLayout());)r=r.parentNode===e?r:r.parentNode||r;return{source:r,sourceLayout:n}}function Vxe(e,t,n,r,i){var o=e.tree.getNodeByDataIndex(t),a=Bxe(e.tree.root,o).sourceLayout,s={duration:i.get("animationDurationUpdate"),easing:i.get("animationEasingUpdate")};mne(n,{x:a.x+1,y:a.y+1},i,{cb:function(){r.remove(n),e.setItemGraphicEl(t,null)},removeOpt:s}),n.fadeOut(null,e.hostModel,{fadeLabel:!0,animation:s}),o.children.forEach((function(t){zxe(t,e,r,i,s)})),zxe(o,e,r,i,s)}function $xe(e,t,n,r,i){var o,a,s,l,u,c,f,h;if("radial"===e){u=r.rawX,f=r.rawY,c=i.rawX,h=i.rawY;var d=Mxe(u,f),p=Mxe(u,f+(h-f)*n),g=Mxe(c,h+(f-h)*n),m=Mxe(c,h);return{x1:d.x||0,y1:d.y||0,x2:m.x||0,y2:m.y||0,cpx1:p.x||0,cpy1:p.y||0,cpx2:g.x||0,cpy2:g.y||0}}return u=r.x,f=r.y,c=i.x,h=i.y,"LR"!==t&&"RL"!==t||(o=u+(c-u)*n,a=f,s=c+(u-c)*n,l=h),"TB"!==t&&"BT"!==t||(o=u,a=f+(h-f)*n,s=c,l=h+(f-h)*n),{x1:u,y1:f,x2:c,y2:h,cpx1:o,cpy1:a,cpx2:s,cpy2:l}}const Hxe=Nxe;var Gxe=j9();function Wxe(e,t){if(function(e){return Gxe(e).mainData===e}(this)){var n=$2({},Gxe(this).datas);n[this.dataType]=t,Kxe(t,n,e)}else Zxe(t,this.dataType,Gxe(this).mainData,e);return t}function Uxe(e,t){return e.struct&&e.struct.update(),t}function qxe(e,t){return q2(Gxe(t).datas,(function(n,r){n!==t&&Zxe(n.cloneShallow(),r,t,e)})),t}function Xxe(e){var t=Gxe(this).mainData;return null==e||null==t?t:Gxe(t).datas[e]}function Yxe(){var e=Gxe(this).mainData;return null==e?[{data:e}]:X2(Z2(Gxe(e).datas),(function(t){return{type:t,data:Gxe(e).datas[t]}}))}function Kxe(e,t,n){Gxe(e).datas={},q2(t,(function(t,r){Zxe(t,r,e,n)}))}function Zxe(e,t,n,r){Gxe(n).datas[t]=e,Gxe(e).mainData=n,e.dataType=t,r.struct&&(e[r.structAttr]=r.struct,r.struct[r.datasAttr[t]]=e),e.getLinkedData=Xxe,e.getLinkedDataAll=Yxe}const Qxe=function(e){var t=e.mainData,n=e.datas;n||(n={main:t},e.datasAttr={main:"data"}),e.datas=e.mainData=null,Kxe(t,n,e),q2(n,(function(n){q2(t.TRANSFERABLE_METHODS,(function(t){n.wrapMethod(t,J2(Wxe,e))}))})),t.wrapMethod("cloneShallow",J2(qxe,e)),q2(t.CHANGABLE_METHODS,(function(n){t.wrapMethod(n,J2(Uxe,e))})),m3(n[t.dataType]===t)};var Jxe=function(){function e(e,t){this.depth=0,this.height=0,this.dataIndex=-1,this.children=[],this.viewChildren=[],this.isExpand=!1,this.name=e||"",this.hostTree=t}return e.prototype.isRemoved=function(){return this.dataIndex<0},e.prototype.eachNode=function(e,t,n){t3(e)&&(n=t,t=e,e=null),n3(e=e||{})&&(e={order:e});var r,i=e.order||"preorder",o=this[e.attr||"children"];"preorder"===i&&(r=t.call(n,this));for(var a=0;!r&&a<o.length;a++)o[a].eachNode(e,t,n);"postorder"===i&&t.call(n,this)},e.prototype.updateDepthAndHeight=function(e){var t=0;this.depth=e;for(var n=0;n<this.children.length;n++){var r=this.children[n];r.updateDepthAndHeight(e+1),r.height>t&&(t=r.height)}this.height=t+1},e.prototype.getNodeById=function(e){if(this.getId()===e)return this;for(var t=0,n=this.children,r=n.length;t<r;t++){var i=n[t].getNodeById(e);if(i)return i}},e.prototype.contains=function(e){if(e===this)return!0;for(var t=0,n=this.children,r=n.length;t<r;t++){var i=n[t].contains(e);if(i)return i}},e.prototype.getAncestors=function(e){for(var t=[],n=e?this:this.parentNode;n;)t.push(n),n=n.parentNode;return t.reverse(),t},e.prototype.getAncestorsIndices=function(){for(var e=[],t=this;t;)e.push(t.dataIndex),t=t.parentNode;return e.reverse(),e},e.prototype.getDescendantIndices=function(){var e=[];return this.eachNode((function(t){e.push(t.dataIndex)})),e},e.prototype.getValue=function(e){var t=this.hostTree.data;return t.getStore().get(t.getDimensionIndex(e||"value"),this.dataIndex)},e.prototype.setLayout=function(e,t){this.dataIndex>=0&&this.hostTree.data.setItemLayout(this.dataIndex,e,t)},e.prototype.getLayout=function(){return this.hostTree.data.getItemLayout(this.dataIndex)},e.prototype.getModel=function(e){if(!(this.dataIndex<0))return this.hostTree.data.getItemModel(this.dataIndex).getModel(e)},e.prototype.getLevelModel=function(){return(this.hostTree.levelModels||[])[this.depth]},e.prototype.setVisual=function(e,t){this.dataIndex>=0&&this.hostTree.data.setItemVisual(this.dataIndex,e,t)},e.prototype.getVisual=function(e){return this.hostTree.data.getItemVisual(this.dataIndex,e)},e.prototype.getRawIndex=function(){return this.hostTree.data.getRawIndex(this.dataIndex)},e.prototype.getId=function(){return this.hostTree.data.getId(this.dataIndex)},e.prototype.getChildIndex=function(){if(this.parentNode){for(var e=this.parentNode.children,t=0;t<e.length;++t)if(e[t]===this)return t;return-1}return-1},e.prototype.isAncestorOf=function(e){for(var t=e.parentNode;t;){if(t===this)return!0;t=t.parentNode}return!1},e.prototype.isDescendantOf=function(e){return e!==this&&e.isAncestorOf(this)},e}(),e_e=function(){function e(e){this.type="tree",this._nodes=[],this.hostModel=e}return e.prototype.eachNode=function(e,t,n){this.root.eachNode(e,t,n)},e.prototype.getNodeByDataIndex=function(e){var t=this.data.getRawIndex(e);return this._nodes[t]},e.prototype.getNodeById=function(e){return this.root.getNodeById(e)},e.prototype.update=function(){for(var e=this.data,t=this._nodes,n=0,r=t.length;n<r;n++)t[n].dataIndex=-1;for(n=0,r=e.count();n<r;n++)t[e.getRawIndex(n)].dataIndex=n},e.prototype.clearLayouts=function(){this.data.clearItemLayouts()},e.createTree=function(t,n,r){var i=new e(n),o=[],a=1;!function e(t,n){var r=t.value;a=Math.max(a,e3(r)?r.length:1),o.push(t);var s=new Jxe(D9(t.name,""),i);n?function(e,t){var n=t.children;if(e.parentNode===t)return;n.push(e),e.parentNode=t}(s,n):i.root=s,i._nodes.push(s);var l=t.children;if(l)for(var u=0;u<l.length;u++)e(l[u],s)}(t),i.root.updateDepthAndHeight(0);var s=jpe(o,{coordDimensions:["value"],dimensionsCount:a}).dimensions,l=new Npe(s,n);return l.initData(o),r&&r(l),Qxe({mainData:l,struct:i,structAttr:"tree"}),i.update(),i},e}();const t_e=e_e;function n_e(e,t,n){if(e&&G2(t,e.type)>=0){var r=n.getData().tree.root,i=e.targetNode;if(n3(i)&&(i=r.getNodeById(i)),i&&r.contains(i))return{node:i};var o=e.targetNodeId;if(null!=o&&(i=r.getNodeById(o)))return{node:i}}}function r_e(e){for(var t=[];e;)(e=e.parentNode)&&t.push(e);return t.reverse()}function i_e(e,t){return G2(r_e(e),t)>=0}function o_e(e,t){for(var n=[];e;){var r=e.dataIndex;n.push({name:e.name,dataIndex:r,value:t.getRawValue(r)}),e=e.parentNode}return n.reverse(),n}var a_e=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.hasSymbolVisual=!0,t.ignoreStyleOnData=!0,t}return g2(t,e),t.prototype.getInitialData=function(e){var t={name:e.name,children:e.data},n=e.leaves||{},r=new Yne(n,this,this.ecModel),i=t_e.createTree(t,this,(function(e){e.wrapMethod("getItemModel",(function(e,t){var n=i.getNodeByDataIndex(t);return n&&n.children.length&&n.isExpand||(e.parentModel=r),e}))}));var o=0;i.eachNode("preorder",(function(e){e.depth>o&&(o=e.depth)}));var a=e.expandAndCollapse&&e.initialTreeDepth>=0?e.initialTreeDepth:o;return i.root.eachNode("preorder",(function(e){var t=e.hostTree.data.getRawDataItem(e.dataIndex);e.isExpand=t&&null!=t.collapsed?!t.collapsed:e.depth<=a})),i.data},t.prototype.getOrient=function(){var e=this.get("orient");return"horizontal"===e?e="LR":"vertical"===e&&(e="TB"),e},t.prototype.setZoom=function(e){this.option.zoom=e},t.prototype.setCenter=function(e){this.option.center=e},t.prototype.formatTooltip=function(e,t,n){for(var r=this.getData().tree,i=r.root.children[0],o=r.getNodeByDataIndex(e),a=o.getValue(),s=o.name;o&&o!==i;)s=o.parentNode.name+"."+s,o=o.parentNode;return Aae("nameValue",{name:s,value:a,noValue:isNaN(a)||null==a})},t.prototype.getDataParams=function(t){var n=e.prototype.getDataParams.apply(this,arguments),r=this.getData().tree.getNodeByDataIndex(t);return n.treeAncestors=o_e(r,this),n.collapsed=!r.isExpand,n},t.type="series.tree",t.layoutMode="box",t.defaultOption={z:2,coordinateSystem:"view",left:"12%",top:"12%",right:"12%",bottom:"12%",layout:"orthogonal",edgeShape:"curve",edgeForkPosition:"50%",roam:!1,nodeScaleRatio:.4,center:null,zoom:1,orient:"LR",symbol:"emptyCircle",symbolSize:7,expandAndCollapse:!0,initialTreeDepth:2,lineStyle:{color:"#ccc",width:1.5,curveness:.5},itemStyle:{color:"lightsteelblue",borderWidth:1.5},label:{show:!0},animationEasing:"linear",animationDuration:700,animationDurationUpdate:500},t}(Jae);const s_e=a_e;function l_e(e,t){for(var n,r=[e];n=r.pop();)if(t(n),n.isExpand){var i=n.children;if(i.length)for(var o=i.length-1;o>=0;o--)r.push(i[o])}}function u_e(e,t){e.eachSeriesByType("tree",(function(e){!function(e,t){var n=function(e,t){return Zre(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()})}(e,t);e.layoutInfo=n;var r=e.get("layout"),i=0,o=0,a=null;"radial"===r?(i=2*Math.PI,o=Math.min(n.height,n.width)/2,a=Ixe((function(e,t){return(e.parentNode===t.parentNode?1:2)/e.depth}))):(i=n.width,o=n.height,a=Ixe());var s=e.getData().tree.root,l=s.children[0];if(l){!function(e){var t=e;t.hierNode={defaultAncestor:null,ancestor:t,prelim:0,modifier:0,change:0,shift:0,i:0,thread:null};for(var n,r,i=[t];n=i.pop();)if(r=n.children,n.isExpand&&r.length)for(var o=r.length-1;o>=0;o--){var a=r[o];a.hierNode={defaultAncestor:null,ancestor:a,prelim:0,modifier:0,change:0,shift:0,i:o,thread:null},i.push(a)}}(s),function(e,t,n){for(var r,i=[e],o=[];r=i.pop();)if(o.push(r),r.isExpand){var a=r.children;if(a.length)for(var s=0;s<a.length;s++)i.push(a[s])}for(;r=o.pop();)t(r,n)}(l,Cxe,a),s.hierNode.modifier=-l.hierNode.prelim,l_e(l,Exe);var u=l,c=l,f=l;l_e(l,(function(e){var t=e.getLayout().x;t<u.getLayout().x&&(u=e),t>c.getLayout().x&&(c=e),e.depth>f.depth&&(f=e)}));var h=u===c?1:a(u,c)/2,d=h-u.getLayout().x,p=0,g=0,m=0,b=0;if("radial"===r)p=i/(c.getLayout().x+h+d),g=o/(f.depth-1||1),l_e(l,(function(e){m=(e.getLayout().x+d)*p,b=(e.depth-1)*g;var t=Mxe(m,b);e.setLayout({x:t.x,y:t.y,rawX:m,rawY:b},!0)}));else{var v=e.getOrient();"RL"===v||"LR"===v?(g=o/(c.getLayout().x+h+d),p=i/(f.depth-1||1),l_e(l,(function(e){b=(e.getLayout().x+d)*g,m="LR"===v?(e.depth-1)*p:i-(e.depth-1)*p,e.setLayout({x:m,y:b},!0)}))):"TB"!==v&&"BT"!==v||(p=i/(c.getLayout().x+h+d),g=o/(f.depth-1||1),l_e(l,(function(e){m=(e.getLayout().x+d)*p,b="TB"===v?(e.depth-1)*g:o-(e.depth-1)*g,e.setLayout({x:m,y:b},!0)})))}}}(e,t)}))}function c_e(e){e.eachSeriesByType("tree",(function(e){var t=e.getData();t.tree.eachNode((function(e){var n=e.getModel().getModel("itemStyle").getItemStyle();$2(t.ensureUniqueItemVisual(e.dataIndex,"style"),n)}))}))}var f_e=["treemapZoomToNode","treemapRender","treemapMove"];function h_e(e){var t=e.getData().tree,n={};t.eachNode((function(t){for(var r=t;r&&r.depth>1;)r=r.parentNode;var i=Rie(e.ecModel,r.name||r.dataIndex+"",n);t.setVisual("decal",i)}))}var d_e=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.preventUsingHoverLayer=!0,n}return g2(t,e),t.prototype.getInitialData=function(e,t){var n={name:e.name,children:e.data};p_e(n);var r=e.levels||[],i=this.designatedVisualItemStyle={},o=new Yne({itemStyle:i},this,t);r=e.levels=function(e,t){var n,r,i=C9(t.get("color")),o=C9(t.get(["aria","decal","decals"]));if(!i)return;q2(e=e||[],(function(e){var t=new Yne(e),i=t.get("color"),o=t.get("decal");(t.get(["itemStyle","color"])||i&&"none"!==i)&&(n=!0),(t.get(["itemStyle","decal"])||o&&"none"!==o)&&(r=!0)}));var a=e[0]||(e[0]={});n||(a.color=i.slice());!r&&o&&(a.decal=o.slice());return e}(r,t);var a=X2(r||[],(function(e){return new Yne(e,o,t)}),this),s=t_e.createTree(n,this,(function(e){e.wrapMethod("getItemModel",(function(e,t){var n=s.getNodeByDataIndex(t),r=n?a[n.depth]:null;return e.parentModel=r||o,e}))}));return s.data},t.prototype.optionUpdated=function(){this.resetViewRoot()},t.prototype.formatTooltip=function(e,t,n){var r=this.getData(),i=this.getRawValue(e);return Aae("nameValue",{name:r.getName(e),value:i})},t.prototype.getDataParams=function(t){var n=e.prototype.getDataParams.apply(this,arguments),r=this.getData().tree.getNodeByDataIndex(t);return n.treeAncestors=o_e(r,this),n.treePathInfo=n.treeAncestors,n},t.prototype.setLayoutInfo=function(e){this.layoutInfo=this.layoutInfo||{},$2(this.layoutInfo,e)},t.prototype.mapIdToIndex=function(e){var t=this._idIndexMap;t||(t=this._idIndexMap=k3(),this._idIndexMapCount=0);var n=t.get(e);return null==n&&t.set(e,n=this._idIndexMapCount++),n},t.prototype.getViewRoot=function(){return this._viewRoot},t.prototype.resetViewRoot=function(e){e?this._viewRoot=e:e=this._viewRoot;var t=this.getRawData().tree.root;e&&(e===t||t.contains(e))||(this._viewRoot=t)},t.prototype.enableAriaDecal=function(){h_e(this)},t.type="series.treemap",t.layoutMode="box",t.defaultOption={progressive:0,left:"center",top:"middle",width:"80%",height:"80%",sort:!0,clipWindow:"origin",squareRatio:.5*(1+Math.sqrt(5)),leafDepth:null,drillDownIcon:"▶",zoomToNodeRatio:.1024,roam:!0,nodeClick:"zoomToNode",animation:!0,animationDurationUpdate:900,animationEasing:"quinticInOut",breadcrumb:{show:!0,height:22,left:"center",top:"bottom",emptyItemWidth:25,itemStyle:{color:"rgba(0,0,0,0.7)",textStyle:{color:"#fff"}},emphasis:{itemStyle:{color:"rgba(0,0,0,0.9)"}}},label:{show:!0,distance:0,padding:5,position:"inside",color:"#fff",overflow:"truncate"},upperLabel:{show:!1,position:[0,"50%"],height:20,overflow:"truncate",verticalAlign:"middle"},itemStyle:{color:null,colorAlpha:null,colorSaturation:null,borderWidth:0,gapWidth:0,borderColor:"#fff",borderColorSaturation:null},emphasis:{upperLabel:{show:!0,position:[0,"50%"],overflow:"truncate",verticalAlign:"middle"}},visualDimension:0,visualMin:null,visualMax:null,color:[],colorAlpha:null,colorSaturation:null,colorMappingBy:"index",visibleMin:10,childrenVisibleMin:null,levels:[]},t}(Jae);function p_e(e){var t=0;q2(e.children,(function(e){p_e(e);var n=e.value;e3(n)&&(n=n[0]),t+=n}));var n=e.value;e3(n)&&(n=n[0]),(null==n||isNaN(n))&&(n=t),n<0&&(n=0),e3(e.value)?e.value[0]=n:e.value=n}const g_e=d_e;var m_e=function(){function e(e){this.group=new X8,e.add(this.group)}return e.prototype.render=function(e,t,n,r){var i=e.getModel("breadcrumb"),o=this.group;if(o.removeAll(),i.get("show")&&n){var a=i.getModel("itemStyle"),s=i.getModel("emphasis"),l=a.getModel("textStyle"),u=s.getModel(["itemStyle","textStyle"]),c={pos:{left:i.get("left"),right:i.get("right"),top:i.get("top"),bottom:i.get("bottom")},box:{width:t.getWidth(),height:t.getHeight()},emptyItemWidth:i.get("emptyItemWidth"),totalWidth:0,renderList:[]};this._prepare(n,c,l),this._renderContent(e,c,a,s,l,u,r),Qre(o,c.pos,c.box)}},e.prototype._prepare=function(e,t,n){for(var r=e;r;r=r.parentNode){var i=D9(r.getModel().get("name"),""),o=n.getTextRect(i),a=Math.max(o.width+16,t.emptyItemWidth);t.totalWidth+=a+8,t.renderList.push({node:r,text:i,width:a})}},e.prototype._renderContent=function(e,t,n,r,i,o,a){for(var s,l,u,c,f,h,d,p,g,m=0,b=t.emptyItemWidth,v=e.get(["breadcrumb","height"]),y=(s=t.pos,l=t.box,c=l.width,f=l.height,h=t9(s.left,c),d=t9(s.top,f),p=t9(s.right,c),g=t9(s.bottom,f),(isNaN(h)||isNaN(parseFloat(s.left)))&&(h=0),(isNaN(p)||isNaN(parseFloat(s.right)))&&(p=c),(isNaN(d)||isNaN(parseFloat(s.top)))&&(d=0),(isNaN(g)||isNaN(parseFloat(s.bottom)))&&(g=f),u=zre(u||0),{width:Math.max(p-h-u[1]-u[3],0),height:Math.max(g-d-u[0]-u[2],0)}),w=t.totalWidth,x=t.renderList,_=r.getModel("itemStyle").getItemStyle(),S=x.length-1;S>=0;S--){var k=x[S],C=k.node,E=k.width,I=k.text;w>y.width&&(w-=E-b,E=b,I=null);var M=new Zse({shape:{points:b_e(m,0,E,v,S===x.length-1,0===S)},style:H2(n.getItemStyle(),{lineJoin:"bevel"}),textContent:new ute({style:Cne(i,{text:I})}),textConfig:{position:"inside"},z2:1e5,onclick:J2(a,C)});M.disableLabelAnimation=!0,M.getTextContent().ensureState("emphasis").style=Cne(o,{text:I}),M.ensureState("emphasis").style=_,tne(M,r.get("focus"),r.get("blurScope"),r.get("disabled")),this.group.add(M),v_e(M,e,C),m+=E+8}},e.prototype.remove=function(){this.group.removeAll()},e}();function b_e(e,t,n,r,i,o){var a=[[i?e:e-5,t],[e+n,t],[e+n,t+r],[i?e:e-5,t+r]];return!o&&a.splice(2,0,[e+n+5,t+r/2]),!i&&a.push([e,t+r/2]),a}function v_e(e,t,n){cte(e).eventData={componentType:"series",componentSubType:"treemap",componentIndex:t.componentIndex,seriesIndex:t.seriesIndex,seriesName:t.name,seriesType:"treemap",selfType:"breadcrumb",nodeData:{dataIndex:n&&n.dataIndex,name:n&&n.name},treePathInfo:n&&o_e(n,t)}}const y_e=m_e;var w_e=function(){function e(){this._storage=[],this._elExistsMap={}}return e.prototype.add=function(e,t,n,r,i){return!this._elExistsMap[e.id]&&(this._elExistsMap[e.id]=!0,this._storage.push({el:e,target:t,duration:n,delay:r,easing:i}),!0)},e.prototype.finished=function(e){return this._finishedCallback=e,this},e.prototype.start=function(){for(var e=this,t=this._storage.length,n=function(){--t<=0&&(e._storage.length=0,e._elExistsMap={},e._finishedCallback&&e._finishedCallback())},r=0,i=this._storage.length;r<i;r++){var o=this._storage[r];o.el.animateTo(o.target,{duration:o.duration,delay:o.delay,easing:o.easing,setToFinal:!0,done:n,aborted:n})}return this},e}();var x_e=X8,__e=qee,S_e="label",k_e="upperLabel",C_e=n7([["fill","color"],["stroke","strokeColor"],["lineWidth","strokeWidth"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),E_e=function(e){var t=C_e(e);return t.stroke=t.fill=t.lineWidth=null,t},I_e=j9(),M_e=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n._state="ready",n._storage={nodeGroup:[],background:[],content:[]},n}return g2(t,e),t.prototype.render=function(e,t,n,r){if(!(G2(t.findComponents({mainType:"series",subType:"treemap",query:r}),e)<0)){this.seriesModel=e,this.api=n,this.ecModel=t;var i=n_e(r,["treemapZoomToNode","treemapRootToNode"],e),o=r&&r.type,a=e.layoutInfo,s=!this._oldTree,l=this._storage,u="treemapRootToNode"===o&&i&&l?{rootNodeGroup:l.nodeGroup[i.node.getRawIndex()],direction:r.direction}:null,c=this._giveContainerGroup(a),f=e.get("animation"),h=this._doRender(c,e,u);!f||s||o&&"treemapZoomToNode"!==o&&"treemapRootToNode"!==o?h.renderFinally():this._doAnimation(c,h,e,u),this._resetController(n),this._renderBreadcrumb(e,n,i)}},t.prototype._giveContainerGroup=function(e){var t=this._containerGroup;return t||(t=this._containerGroup=new x_e,this._initEvents(t),this.group.add(t)),t.x=e.x,t.y=e.y,t},t.prototype._doRender=function(e,t,n){var r=t.getData().tree,i=this._oldTree,o={nodeGroup:[],background:[],content:[]},a={nodeGroup:[],background:[],content:[]},s=this._storage,l=[];function u(e,r,i,u){return function(e,t,n,r,i,o,a,s,l,u){if(!a)return;var c=a.getLayout(),f=e.getData(),h=a.getModel();if(f.setItemGraphicEl(a.dataIndex,null),!c||!c.isInView)return;var d=c.width,p=c.height,g=c.borderWidth,m=c.invisible,b=a.getRawIndex(),v=s&&s.getRawIndex(),y=a.viewChildren,w=c.upperHeight,x=y&&y.length,_=h.getModel("itemStyle"),S=h.getModel(["emphasis","itemStyle"]),k=h.getModel(["blur","itemStyle"]),C=h.getModel(["select","itemStyle"]),E=_.get("borderRadius")||0,I=B("nodeGroup",x_e);if(!I)return;if(l.add(I),I.x=c.x||0,I.y=c.y||0,I.markRedraw(),I_e(I).nodeWidth=d,I_e(I).nodeHeight=p,c.isAboveViewRoot)return I;var M=B("background",__e,u,20);M&&L(I,M,x&&c.upperLabelHeight);var T=h.getModel("emphasis"),A=T.get("focus"),P=T.get("blurScope"),O=T.get("disabled"),D="ancestor"===A?a.getAncestorsIndices():"descendant"===A?a.getDescendantIndices():A;if(x)sne(I)&&ane(I,!1),M&&(ane(M,!O),f.setItemGraphicEl(a.dataIndex,M),nne(M,D,P));else{var R=B("content",__e,u,30);R&&N(I,R),M.disableMorphing=!0,M&&sne(M)&&ane(M,!1),ane(I,!O),f.setItemGraphicEl(a.dataIndex,I),nne(I,D,P)}return I;function L(t,n,r){var i=cte(n);if(i.dataIndex=a.dataIndex,i.seriesIndex=e.seriesIndex,n.setShape({x:0,y:0,width:d,height:p,r:E}),m)j(n);else{n.invisible=!1;var o=a.getVisual("style"),s=o.stroke,l=E_e(_);l.fill=s;var u=C_e(S);u.fill=S.get("borderColor");var c=C_e(k);c.fill=k.get("borderColor");var f=C_e(C);if(f.fill=C.get("borderColor"),r){var h=d-2*g;F(n,s,o.opacity,{x:g,y:0,width:h,height:w})}else n.removeTextContent();n.setStyle(l),n.ensureState("emphasis").style=u,n.ensureState("blur").style=c,n.ensureState("select").style=f,Fte(n)}t.add(n)}function N(t,n){var r=cte(n);r.dataIndex=a.dataIndex,r.seriesIndex=e.seriesIndex;var i=Math.max(d-2*g,0),o=Math.max(p-2*g,0);if(n.culling=!0,n.setShape({x:g,y:g,width:i,height:o,r:E}),m)j(n);else{n.invisible=!1;var s=a.getVisual("style"),l=s.fill,u=E_e(_);u.fill=l,u.decal=s.decal;var c=C_e(S),f=C_e(k),h=C_e(C);F(n,l,s.opacity,null),n.setStyle(u),n.ensureState("emphasis").style=c,n.ensureState("blur").style=f,n.ensureState("select").style=h,Fte(n)}t.add(n)}function j(e){!e.invisible&&o.push(e)}function F(t,n,r,i){var o=h.getModel(i?k_e:S_e),s=D9(h.get("name"),null),l=o.getShallow("show");Sne(t,kne(h,i?k_e:S_e),{defaultText:l?s:null,inheritColor:n,defaultOpacity:r,labelFetcher:e,labelDataIndex:a.dataIndex});var u=t.getTextContent();if(u){var f=u.style,d=g3(f.padding||0);i&&(t.setTextConfig({layoutRect:i}),u.disableLabelLayout=!0),u.beforeUpdate=function(){var e=Math.max((i?i.width:t.shape.width)-d[1]-d[3],0),n=Math.max((i?i.height:t.shape.height)-d[0]-d[2],0);f.width===e&&f.height===n||u.setStyle({width:e,height:n})},f.truncateMinChar=2,f.lineOverflow="truncate",z(f,i,c);var p=u.getState("emphasis");z(p?p.style:null,i,c)}}function z(t,n,r){var i=t?t.text:null;if(!n&&r.isLeafRoot&&null!=i){var o=e.get("drillDownIcon",!0);t.text=o?o+" "+i:i}}function B(e,r,o,a){var s=null!=v&&n[e][v],l=i[e];return s?(n[e][v]=null,V(l,s)):m||((s=new r)instanceof A7&&(s.z2=function(e,t){return 100*e+t}(o,a)),$(l,s)),t[e][b]=s}function V(e,t){var n=e[b]={};t instanceof x_e?(n.oldX=t.x,n.oldY=t.y):n.oldShape=$2({},t.shape)}function $(e,t){var n=e[b]={},o=a.parentNode,s=t instanceof X8;if(o&&(!r||"drillDown"===r.direction)){var l=0,u=0,c=i.background[o.getRawIndex()];!r&&c&&c.oldShape&&(l=c.oldShape.width,u=c.oldShape.height),s?(n.oldX=0,n.oldY=u):n.oldShape={x:l,y:u,width:0,height:0}}n.fadein=!s}}(t,a,s,n,o,l,e,r,i,u)}!function e(t,n,r,i,o){i?(n=t,q2(t,(function(e,t){!e.isRemoved()&&s(t,t)}))):new fpe(n,t,a,a).add(s).update(s).remove(J2(s,null)).execute();function a(e){return e.getId()}function s(a,s){var l=null!=a?t[a]:null,c=null!=s?n[s]:null,f=u(l,c,r,o);f&&e(l&&l.viewChildren||[],c&&c.viewChildren||[],f,i,o+1)}}(r.root?[r.root]:[],i&&i.root?[i.root]:[],e,r===i||!i,0);var c=function(e){var t={nodeGroup:[],background:[],content:[]};return e&&q2(e,(function(e,n){var r=t[n];q2(e,(function(e){e&&(r.push(e),I_e(e).willDelete=!0)}))})),t}(s);return this._oldTree=r,this._storage=a,{lastsForAnimation:o,willDeleteEls:c,renderFinally:function(){q2(c,(function(e){q2(e,(function(e){e.parent&&e.parent.remove(e)}))})),q2(l,(function(e){e.invisible=!0,e.dirty()}))}}},t.prototype._doAnimation=function(e,t,n,r){var i=n.get("animationDurationUpdate"),o=n.get("animationEasing"),a=(t3(i)?0:i)||0,s=(t3(o)?null:o)||"cubicOut",l=new w_e;q2(t.willDeleteEls,(function(e,t){q2(e,(function(e,n){if(!e.invisible){var i,o=e.parent,u=I_e(o);if(r&&"drillDown"===r.direction)i=o===r.rootNodeGroup?{shape:{x:0,y:0,width:u.nodeWidth,height:u.nodeHeight},style:{opacity:0}}:{style:{opacity:0}};else{var c=0,f=0;u.willDelete||(c=u.nodeWidth/2,f=u.nodeHeight/2),i="nodeGroup"===t?{x:c,y:f,style:{opacity:0}}:{shape:{x:c,y:f,width:0,height:0},style:{opacity:0}}}i&&l.add(e,i,a,0,s)}}))})),q2(this._storage,(function(e,n){q2(e,(function(e,r){var i=t.lastsForAnimation[n][r],o={};i&&(e instanceof X8?null!=i.oldX&&(o.x=e.x,o.y=e.y,e.x=i.oldX,e.y=i.oldY):(i.oldShape&&(o.shape=$2({},e.shape),e.setShape(i.oldShape)),i.fadein?(e.setStyle("opacity",0),o.style={opacity:1}):1!==e.style.opacity&&(o.style={opacity:1})),l.add(e,o,a,0,s))}))}),this),this._state="animating",l.finished(Q2((function(){this._state="ready",t.renderFinally()}),this)).start()},t.prototype._resetController=function(e){var t=this._controller;t||((t=this._controller=new Nye(e.getZr())).enable(this.seriesModel.get("roam")),t.on("pan",Q2(this._onPan,this)),t.on("zoom",Q2(this._onZoom,this)));var n=new $5(0,0,e.getWidth(),e.getHeight());t.setPointerChecker((function(e,t,r){return n.contain(t,r)}))},t.prototype._clearController=function(){var e=this._controller;e&&(e.dispose(),e=null)},t.prototype._onPan=function(e){if("animating"!==this._state&&(Math.abs(e.dx)>3||Math.abs(e.dy)>3)){var t=this.seriesModel.getData().tree.root;if(!t)return;var n=t.getLayout();if(!n)return;this.api.dispatchAction({type:"treemapMove",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:n.x+e.dx,y:n.y+e.dy,width:n.width,height:n.height}})}},t.prototype._onZoom=function(e){var t=e.originX,n=e.originY;if("animating"!==this._state){var r=this.seriesModel.getData().tree.root;if(!r)return;var i=r.getLayout();if(!i)return;var o=new $5(i.x,i.y,i.width,i.height),a=this.seriesModel.layoutInfo,s=[1,0,0,1,0,0];I5(s,s,[-(t-=a.x),-(n-=a.y)]),T5(s,s,[e.scale,e.scale]),I5(s,s,[t,n]),o.applyTransform(s),this.api.dispatchAction({type:"treemapRender",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:o.x,y:o.y,width:o.width,height:o.height}})}},t.prototype._initEvents=function(e){var t=this;e.on("click",(function(e){if("ready"===t._state){var n=t.seriesModel.get("nodeClick",!0);if(n){var r=t.findTarget(e.offsetX,e.offsetY);if(r){var i=r.node;if(i.getLayout().isLeafRoot)t._rootToNode(r);else if("zoomToNode"===n)t._zoomToNode(r);else if("link"===n){var o=i.hostTree.data.getItemModel(i.dataIndex),a=o.get("link",!0),s=o.get("target",!0)||"blank";a&&Wre(a,s)}}}}}),this)},t.prototype._renderBreadcrumb=function(e,t,n){var r=this;n||(n=null!=e.get("leafDepth",!0)?{node:e.getViewRoot()}:this.findTarget(t.getWidth()/2,t.getHeight()/2))||(n={node:e.getData().tree.root}),(this._breadcrumb||(this._breadcrumb=new y_e(this.group))).render(e,t,n.node,(function(t){"animating"!==r._state&&(i_e(e.getViewRoot(),t)?r._rootToNode({node:t}):r._zoomToNode({node:t}))}))},t.prototype.remove=function(){this._clearController(),this._containerGroup&&this._containerGroup.removeAll(),this._storage={nodeGroup:[],background:[],content:[]},this._state="ready",this._breadcrumb&&this._breadcrumb.remove()},t.prototype.dispose=function(){this._clearController()},t.prototype._zoomToNode=function(e){this.api.dispatchAction({type:"treemapZoomToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:e.node})},t.prototype._rootToNode=function(e){this.api.dispatchAction({type:"treemapRootToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:e.node})},t.prototype.findTarget=function(e,t){var n;return this.seriesModel.getViewRoot().eachNode({attr:"viewChildren",order:"preorder"},(function(r){var i=this._storage.background[r.getRawIndex()];if(i){var o=i.transformCoordToLocal(e,t),a=i.shape;if(!(a.x<=o[0]&&o[0]<=a.x+a.width&&a.y<=o[1]&&o[1]<=a.y+a.height))return!1;n={node:r,offsetX:o[0],offsetY:o[1]}}}),this),n},t.type="treemap",t}(due);const T_e=M_e;var A_e=q2,P_e=o3,O_e=-1,D_e=function(){function e(t){var n=t.mappingMethod,r=t.type,i=this.option=z2(t);this.type=r,this.mappingMethod=n,this._normalizeData=H_e[n];var o=e.visualHandlers[r];this.applyVisual=o.applyVisual,this.getColorMapper=o.getColorMapper,this._normalizedToVisual=o._normalizedToVisual[n],"piecewise"===n?(R_e(i),function(e){var t=e.pieceList;e.hasSpecialVisual=!1,q2(t,(function(t,n){t.originIndex=n,null!=t.visual&&(e.hasSpecialVisual=!0)}))}(i)):"category"===n?i.categories?function(e){var t=e.categories,n=e.categoryMap={},r=e.visual;if(A_e(t,(function(e,t){n[e]=t})),!e3(r)){var i=[];o3(r)?A_e(r,(function(e,t){var r=n[t];i[null!=r?r:O_e]=e})):i[-1]=r,r=$_e(e,i)}for(var o=t.length-1;o>=0;o--)null==r[o]&&(delete n[t[o]],t.pop())}(i):R_e(i,!0):(m3("linear"!==n||i.dataExtent),R_e(i))}return e.prototype.mapValueToVisual=function(e){var t=this._normalizeData(e);return this._normalizedToVisual(t,e)},e.prototype.getNormalizer=function(){return Q2(this._normalizeData,this)},e.listVisualTypes=function(){return Z2(e.visualHandlers)},e.isValidType=function(t){return e.visualHandlers.hasOwnProperty(t)},e.eachVisual=function(e,t,n){o3(e)?q2(e,t,n):t.call(n,e)},e.mapVisual=function(t,n,r){var i,o=e3(t)?[]:o3(t)?{}:(i=!0,null);return e.eachVisual(t,(function(e,t){var a=n.call(r,e,t);i?o=a:o[t]=a})),o},e.retrieveVisuals=function(t){var n,r={};return t&&A_e(e.visualHandlers,(function(e,i){t.hasOwnProperty(i)&&(r[i]=t[i],n=!0)})),n?r:null},e.prepareVisualTypes=function(e){if(e3(e))e=e.slice();else{if(!P_e(e))return[];var t=[];A_e(e,(function(e,n){t.push(n)})),e=t}return e.sort((function(e,t){return"color"===t&&"color"!==e&&0===e.indexOf("color")?1:-1})),e},e.dependsOn=function(e,t){return"color"===t?!(!e||0!==e.indexOf(t)):e===t},e.findPieceIndex=function(e,t,n){for(var r,i=1/0,o=0,a=t.length;o<a;o++){var s=t[o].value;if(null!=s){if(s===e||n3(s)&&s===e+"")return o;n&&f(s,o)}}for(o=0,a=t.length;o<a;o++){var l=t[o],u=l.interval,c=l.close;if(u){if(u[0]===-1/0){if(G_e(c[1],e,u[1]))return o}else if(u[1]===1/0){if(G_e(c[0],u[0],e))return o}else if(G_e(c[0],u[0],e)&&G_e(c[1],e,u[1]))return o;n&&f(u[0],o),n&&f(u[1],o)}}if(n)return e===1/0?t.length-1:e===-1/0?0:r;function f(t,n){var o=Math.abs(t-e);o<i&&(i=o,r=n)}},e.visualHandlers={color:{applyVisual:j_e("color"),getColorMapper:function(){var e=this.option;return Q2("category"===e.mappingMethod?function(e,t){return!t&&(e=this._normalizeData(e)),F_e.call(this,e)}:function(t,n,r){var i=!!r;return!n&&(t=this._normalizeData(t)),r=s6(t,e.parsedVisual,r),i?r:f6(r,"rgba")},this)},_normalizedToVisual:{linear:function(e){return f6(s6(e,this.option.parsedVisual),"rgba")},category:F_e,piecewise:function(e,t){var n=V_e.call(this,t);return null==n&&(n=f6(s6(e,this.option.parsedVisual),"rgba")),n},fixed:z_e}},colorHue:L_e((function(e,t){return u6(e,t)})),colorSaturation:L_e((function(e,t){return u6(e,null,t)})),colorLightness:L_e((function(e,t){return u6(e,null,null,t)})),colorAlpha:L_e((function(e,t){return c6(e,t)})),decal:{applyVisual:j_e("decal"),_normalizedToVisual:{linear:null,category:F_e,piecewise:null,fixed:null}},opacity:{applyVisual:j_e("opacity"),_normalizedToVisual:B_e([0,1])},liftZ:{applyVisual:j_e("liftZ"),_normalizedToVisual:{linear:z_e,category:z_e,piecewise:z_e,fixed:z_e}},symbol:{applyVisual:function(e,t,n){n("symbol",this.mapValueToVisual(e))},_normalizedToVisual:{linear:N_e,category:F_e,piecewise:function(e,t){var n=V_e.call(this,t);return null==n&&(n=N_e.call(this,e)),n},fixed:z_e}},symbolSize:{applyVisual:j_e("symbolSize"),_normalizedToVisual:B_e([0,1])}},e}();function R_e(e,t){var n=e.visual,r=[];o3(n)?A_e(n,(function(e){r.push(e)})):null!=n&&r.push(n);t||1!==r.length||{color:1,symbol:1}.hasOwnProperty(e.type)||(r[1]=r[0]),$_e(e,r)}function L_e(e){return{applyVisual:function(t,n,r){var i=this.mapValueToVisual(t);r("color",e(n("color"),i))},_normalizedToVisual:B_e([0,1])}}function N_e(e){var t=this.option.visual;return t[Math.round(e9(e,[0,1],[0,t.length-1],!0))]||{}}function j_e(e){return function(t,n,r){r(e,this.mapValueToVisual(t))}}function F_e(e){var t=this.option.visual;return t[this.option.loop&&e!==O_e?e%t.length:e]}function z_e(){return this.option.visual[0]}function B_e(e){return{linear:function(t){return e9(t,e,this.option.visual,!0)},category:F_e,piecewise:function(t,n){var r=V_e.call(this,n);return null==r&&(r=e9(t,e,this.option.visual,!0)),r},fixed:z_e}}function V_e(e){var t=this.option,n=t.pieceList;if(t.hasSpecialVisual){var r=n[D_e.findPieceIndex(e,n)];if(r&&r.visual)return r.visual[this.type]}}function $_e(e,t){return e.visual=t,"color"===e.type&&(e.parsedVisual=X2(t,(function(e){var t=i6(e);return t||[0,0,0,1]}))),t}var H_e={linear:function(e){return e9(e,this.option.dataExtent,[0,1],!0)},piecewise:function(e){var t=this.option.pieceList,n=D_e.findPieceIndex(e,t,!0);if(null!=n)return e9(n,[0,t.length-1],[0,1],!0)},category:function(e){var t=this.option.categories?this.option.categoryMap[e]:e;return null==t?O_e:t},fixed:T3};function G_e(e,t,n){return e?t<=n:t<n}const W_e=D_e;var U_e=j9();const q_e={seriesType:"treemap",reset:function(e){var t=e.getData().tree.root;t.isRemoved()||X_e(t,{},e.getViewRoot().getAncestors(),e)}};function X_e(e,t,n,r){var i=e.getModel(),o=e.getLayout(),a=e.hostTree.data;if(o&&!o.invisible&&o.isInView){var s,l=i.getModel("itemStyle"),u=function(e,t,n){var r=$2({},t),i=n.designatedVisualItemStyle;return q2(["color","colorAlpha","colorSaturation"],(function(n){i[n]=t[n];var o=e.get(n);i[n]=null,null!=o&&(r[n]=o)})),r}(l,t,r),c=a.ensureUniqueItemVisual(e.dataIndex,"style"),f=l.get("borderColor"),h=l.get("borderColorSaturation");null!=h&&(f=function(e,t){return null!=t?u6(t,null,null,e):null}(h,s=Y_e(u))),c.stroke=f;var d=e.viewChildren;if(d&&d.length){var p=function(e,t,n,r,i,o){if(!o||!o.length)return;var a=Z_e(t,"color")||null!=i.color&&"none"!==i.color&&(Z_e(t,"colorAlpha")||Z_e(t,"colorSaturation"));if(!a)return;var s=t.get("visualMin"),l=t.get("visualMax"),u=n.dataExtent.slice();null!=s&&s<u[0]&&(u[0]=s),null!=l&&l>u[1]&&(u[1]=l);var c=t.get("colorMappingBy"),f={type:a.name,dataExtent:u,visual:a.range};"color"!==f.type||"index"!==c&&"id"!==c?f.mappingMethod="linear":(f.mappingMethod="category",f.loop=!0);var h=new W_e(f);return U_e(h).drColorMappingBy=c,h}(0,i,o,0,u,d);q2(d,(function(e,t){if(e.depth>=n.length||e===n[e.depth]){var o=function(e,t,n,r,i,o){var a=$2({},t);if(i){var s=i.type,l="color"===s&&U_e(i).drColorMappingBy,u="index"===l?r:"id"===l?o.mapIdToIndex(n.getId()):n.getValue(e.get("visualDimension"));a[s]=i.mapValueToVisual(u)}return a}(i,u,e,t,p,r);X_e(e,o,n,r)}}))}else s=Y_e(u),c.fill=s}}function Y_e(e){var t=K_e(e,"color");if(t){var n=K_e(e,"colorAlpha"),r=K_e(e,"colorSaturation");return r&&(t=u6(t,null,null,r)),n&&(t=c6(t,n)),t}}function K_e(e,t){var n=e[t];if(null!=n&&"none"!==n)return n}function Z_e(e,t){var n=e.get(t);return e3(n)&&n.length?{name:t,range:n}:null}var Q_e=Math.max,J_e=Math.min,eSe=f3,tSe=q2,nSe=["itemStyle","borderWidth"],rSe=["itemStyle","gapWidth"],iSe=["upperLabel","show"],oSe=["upperLabel","height"];const aSe={seriesType:"treemap",reset:function(e,t,n,r){var i=n.getWidth(),o=n.getHeight(),a=e.option,s=Zre(e.getBoxLayoutParams(),{width:n.getWidth(),height:n.getHeight()}),l=a.size||[],u=t9(eSe(s.width,l[0]),i),c=t9(eSe(s.height,l[1]),o),f=r&&r.type,h=n_e(r,["treemapZoomToNode","treemapRootToNode"],e),d="treemapRender"===f||"treemapMove"===f?r.rootRect:null,p=e.getViewRoot(),g=r_e(p);if("treemapMove"!==f){var m="treemapZoomToNode"===f?function(e,t,n,r,i){var o,a=(t||{}).node,s=[r,i];if(!a||a===n)return s;var l=r*i,u=l*e.option.zoomToNodeRatio;for(;o=a.parentNode;){for(var c=0,f=o.children,h=0,d=f.length;h<d;h++)c+=f[h].getValue();var p=a.getValue();if(0===p)return s;u*=c/p;var g=o.getModel(),m=g.get(nSe);(u+=4*m*m+(3*m+Math.max(m,fSe(g)))*Math.pow(u,.5))>l9&&(u=l9),a=o}u<l&&(u=l);var b=Math.pow(u/l,.5);return[r*b,i*b]}(e,h,p,u,c):d?[d.width,d.height]:[u,c],b=a.sort;b&&"asc"!==b&&"desc"!==b&&(b="desc");var v={squareRatio:a.squareRatio,sort:b,leafDepth:a.leafDepth};p.hostTree.clearLayouts();var y={x:0,y:0,width:m[0],height:m[1],area:m[0]*m[1]};p.setLayout(y),sSe(p,v,!1,0),y=p.getLayout(),tSe(g,(function(e,t){var n=(g[t+1]||p).getValue();e.setLayout($2({dataExtent:[n,n],borderWidth:0,upperHeight:0},y))}))}var w=e.getData().tree.root;w.setLayout(function(e,t,n){if(t)return{x:t.x,y:t.y};var r={x:0,y:0};if(!n)return r;var i=n.node,o=i.getLayout();if(!o)return r;var a=[o.width/2,o.height/2],s=i;for(;s;){var l=s.getLayout();a[0]+=l.x,a[1]+=l.y,s=s.parentNode}return{x:e.width/2-a[0],y:e.height/2-a[1]}}(s,d,h),!0),e.setLayoutInfo(s),cSe(w,new $5(-s.x,-s.y,i,o),g,p,0)}};function sSe(e,t,n,r){var i,o;if(!e.isRemoved()){var a=e.getLayout();i=a.width,o=a.height;var s=e.getModel(),l=s.get(nSe),u=s.get(rSe)/2,c=fSe(s),f=Math.max(l,c),h=l-u,d=f-u;e.setLayout({borderWidth:l,upperHeight:f,upperLabelHeight:c},!0);var p=(i=Q_e(i-2*h,0))*(o=Q_e(o-h-d,0)),g=function(e,t,n,r,i,o){var a=e.children||[],s=r.sort;"asc"!==s&&"desc"!==s&&(s=null);var l=null!=r.leafDepth&&r.leafDepth<=o;if(i&&!l)return e.viewChildren=[];a=K2(a,(function(e){return!e.isRemoved()})),function(e,t){t&&e.sort((function(e,n){var r="asc"===t?e.getValue()-n.getValue():n.getValue()-e.getValue();return 0===r?"asc"===t?e.dataIndex-n.dataIndex:n.dataIndex-e.dataIndex:r}))}(a,s);var u=function(e,t,n){for(var r=0,i=0,o=t.length;i<o;i++)r+=t[i].getValue();var a,s=e.get("visualDimension");t&&t.length?"value"===s&&n?(a=[t[t.length-1].getValue(),t[0].getValue()],"asc"===n&&a.reverse()):(a=[1/0,-1/0],tSe(t,(function(e){var t=e.getValue(s);t<a[0]&&(a[0]=t),t>a[1]&&(a[1]=t)}))):a=[NaN,NaN];return{sum:r,dataExtent:a}}(t,a,s);if(0===u.sum)return e.viewChildren=[];if(u.sum=function(e,t,n,r,i){if(!r)return n;for(var o=e.get("visibleMin"),a=i.length,s=a,l=a-1;l>=0;l--){var u=i["asc"===r?a-l-1:l].getValue();u/n*t<o&&(s=l,n-=u)}return"asc"===r?i.splice(0,a-s):i.splice(s,a-s),n}(t,n,u.sum,s,a),0===u.sum)return e.viewChildren=[];for(var c=0,f=a.length;c<f;c++){var h=a[c].getValue()/u.sum*n;a[c].setLayout({area:h})}l&&(a.length&&e.setLayout({isLeafRoot:!0},!0),a.length=0);return e.viewChildren=a,e.setLayout({dataExtent:u.dataExtent},!0),a}(e,s,p,t,n,r);if(g.length){var m={x:h,y:d,width:i,height:o},b=J_e(i,o),v=1/0,y=[];y.area=0;for(var w=0,x=g.length;w<x;){var _=g[w];y.push(_),y.area+=_.getLayout().area;var S=lSe(y,b,t.squareRatio);S<=v?(w++,v=S):(y.area-=y.pop().getLayout().area,uSe(y,b,m,u,!1),b=J_e(m.width,m.height),y.length=y.area=0,v=1/0)}if(y.length&&uSe(y,b,m,u,!0),!n){var k=s.get("childrenVisibleMin");null!=k&&p<k&&(n=!0)}for(w=0,x=g.length;w<x;w++)sSe(g[w],t,n,r+1)}}}function lSe(e,t,n){for(var r=0,i=1/0,o=0,a=void 0,s=e.length;o<s;o++)(a=e[o].getLayout().area)&&(a<i&&(i=a),a>r&&(r=a));var l=e.area*e.area,u=t*t*n;return l?Q_e(u*r/l,l/(u*i)):1/0}function uSe(e,t,n,r,i){var o=t===n.width?0:1,a=1-o,s=["x","y"],l=["width","height"],u=n[s[o]],c=t?e.area/t:0;(i||c>n[l[a]])&&(c=n[l[a]]);for(var f=0,h=e.length;f<h;f++){var d=e[f],p={},g=c?d.getLayout().area/c:0,m=p[l[a]]=Q_e(c-2*r,0),b=n[s[o]]+n[l[o]]-u,v=f===h-1||b<g?b:g,y=p[l[o]]=Q_e(v-2*r,0);p[s[a]]=n[s[a]]+J_e(r,m/2),p[s[o]]=u+J_e(r,y/2),u+=v,d.setLayout(p,!0)}n[s[a]]+=c,n[l[a]]-=c}function cSe(e,t,n,r,i){var o=e.getLayout(),a=n[i],s=a&&a===e;if(!(a&&!s||i===n.length&&e!==r)){e.setLayout({isInView:!0,invisible:!s&&!t.intersect(o),isAboveViewRoot:s},!0);var l=new $5(t.x-o.x,t.y-o.y,t.width,t.height);tSe(e.viewChildren||[],(function(e){cSe(e,l,n,r,i+1)}))}}function fSe(e){return e.get(iSe)?e.get(oSe):0}function hSe(e){var t=e.findComponents({mainType:"legend"});t&&t.length&&e.eachSeriesByType("graph",(function(e){var n=e.getCategoriesData(),r=e.getGraph().data,i=n.mapArray(n.getName);r.filterSelf((function(e){var n=r.getItemModel(e).getShallow("category");if(null!=n){i3(n)&&(n=i[n]);for(var o=0;o<t.length;o++)if(!t[o].isSelected(n))return!1}return!0}))}))}function dSe(e){var t={};e.eachSeriesByType("graph",(function(e){var n=e.getCategoriesData(),r=e.getData(),i={};n.each((function(r){var o=n.getName(r);i["ec-"+o]=r;var a=n.getItemModel(r),s=a.getModel("itemStyle").getItemStyle();s.fill||(s.fill=e.getColorFromPalette(o,t)),n.setItemVisual(r,"style",s);for(var l=["symbol","symbolSize","symbolKeepAspect"],u=0;u<l.length;u++){var c=a.getShallow(l[u],!0);null!=c&&n.setItemVisual(r,l[u],c)}})),n.count()&&r.each((function(e){var t=r.getItemModel(e).getShallow("category");if(null!=t){n3(t)&&(t=i["ec-"+t]);var o=n.getItemVisual(t,"style");$2(r.ensureUniqueItemVisual(e,"style"),o);for(var a=["symbol","symbolSize","symbolKeepAspect"],s=0;s<a.length;s++)r.setItemVisual(e,a[s],n.getItemVisual(t,a[s]))}}))}))}function pSe(e){return e instanceof Array||(e=[e,e]),e}function gSe(e){e.eachSeriesByType("graph",(function(e){var t=e.getGraph(),n=e.getEdgeData(),r=pSe(e.get("edgeSymbol")),i=pSe(e.get("edgeSymbolSize"));n.setVisual("fromSymbol",r&&r[0]),n.setVisual("toSymbol",r&&r[1]),n.setVisual("fromSymbolSize",i&&i[0]),n.setVisual("toSymbolSize",i&&i[1]),n.setVisual("style",e.getModel("lineStyle").getLineStyle()),n.each((function(e){var r=n.getItemModel(e),i=t.getEdgeByIndex(e),o=pSe(r.getShallow("symbol",!0)),a=pSe(r.getShallow("symbolSize",!0)),s=r.getModel("lineStyle").getLineStyle(),l=n.ensureUniqueItemVisual(e,"style");switch($2(l,s),l.stroke){case"source":var u=i.node1.getVisual("style");l.stroke=u&&u.fill;break;case"target":u=i.node2.getVisual("style");l.stroke=u&&u.fill}o[0]&&i.setVisual("fromSymbol",o[0]),o[1]&&i.setVisual("toSymbol",o[1]),a[0]&&i.setVisual("fromSymbolSize",a[0]),a[1]&&i.setVisual("toSymbolSize",a[1])}))}))}var mSe="--\x3e",bSe=function(e){return e.get("autoCurveness")||null},vSe=function(e,t){var n=bSe(e),r=20,i=[];if(i3(n))r=n;else if(e3(n))return void(e.__curvenessList=n);t>r&&(r=t);var o=r%2?r+2:r+3;i=[];for(var a=0;a<o;a++)i.push((a%2?a+1:a)/10*(a%2?-1:1));e.__curvenessList=i},ySe=function(e,t,n){var r=[e.id,e.dataIndex].join("."),i=[t.id,t.dataIndex].join(".");return[n.uid,r,i].join(mSe)},wSe=function(e){var t=e.split(mSe);return[t[0],t[2],t[1]].join(mSe)},xSe=function(e,t){var n=t.__edgeMap;return n[e]?n[e].length:0};function _Se(e,t,n,r){var i=bSe(t),o=e3(i);if(!i)return null;var a=function(e,t){var n=ySe(e.node1,e.node2,t);return t.__edgeMap[n]}(e,t);if(!a)return null;for(var s=-1,l=0;l<a.length;l++)if(a[l]===n){s=l;break}var u=function(e,t){return xSe(ySe(e.node1,e.node2,t),t)+xSe(ySe(e.node2,e.node1,t),t)}(e,t);vSe(t,u),e.lineStyle=e.lineStyle||{};var c=ySe(e.node1,e.node2,t),f=t.__curvenessList,h=o||u%2?0:1;if(a.isForward)return f[h+s];var d=wSe(c),p=xSe(d,t),g=f[s+p+h];return r?o?i&&0===i[0]?(p+h)%2?g:-g:((p%2?0:1)+h)%2?g:-g:(p+h)%2?g:-g:f[s+p+h]}function SSe(e){var t=e.coordinateSystem;if(!t||"view"===t.type){var n=e.getGraph();n.eachNode((function(e){var t=e.getModel();e.setLayout([+t.get("x"),+t.get("y")])})),kSe(n,e)}}function kSe(e,t){e.eachEdge((function(e,n){var r=d3(e.getModel().get(["lineStyle","curveness"]),-_Se(e,t,n,!0),0),i=L3(e.node1.getLayout()),o=L3(e.node2.getLayout()),a=[i,o];+r&&a.push([(i[0]+o[0])/2-(i[1]-o[1])*r,(i[1]+o[1])/2-(o[0]-i[0])*r]),e.setLayout(a)}))}function CSe(e,t){e.eachSeriesByType("graph",(function(e){var t=e.get("layout"),n=e.coordinateSystem;if(n&&"view"!==n.type){var r=e.getData(),i=[];q2(n.dimensions,(function(e){i=i.concat(r.mapDimensionsAll(e))}));for(var o=0;o<r.count();o++){for(var a=[],s=!1,l=0;l<i.length;l++){var u=r.get(i[l],o);isNaN(u)||(s=!0),a.push(u)}s?r.setItemLayout(o,n.dataToPoint(a)):r.setItemLayout(o,[NaN,NaN])}kSe(r.graph,e)}else t&&"none"!==t||SSe(e)}))}function ESe(e){var t=e.coordinateSystem;if("view"!==t.type)return 1;var n=e.option.nodeScaleRatio,r=t.scaleX;return((t.getZoom()-1)*n+1)/r}function ISe(e){var t=e.getVisual("symbolSize");return t instanceof Array&&(t=(t[0]+t[1])/2),+t}var MSe=Math.PI,TSe=[];function ASe(e,t,n,r){var i=e.coordinateSystem;if(!i||"view"===i.type){var o=i.getBoundingRect(),a=e.getData(),s=a.graph,l=o.width/2+o.x,u=o.height/2+o.y,c=Math.min(o.width,o.height)/2,f=a.count();if(a.setLayout({cx:l,cy:u}),f){if(n){var h=i.pointToData(r),d=h[0],p=h[1],g=[d-l,p-u];H3(g,g),$3(g,g,c),n.setLayout([l+g[0],u+g[1]],!0),OSe(n,e.get(["circular","rotateLabel"]),l,u)}PSe[t](e,s,a,c,l,u,f),s.eachEdge((function(t,n){var r,i=d3(t.getModel().get(["lineStyle","curveness"]),_Se(t,e,n),0),o=L3(t.node1.getLayout()),a=L3(t.node2.getLayout()),s=(o[0]+a[0])/2,c=(o[1]+a[1])/2;+i&&(r=[l*(i*=3)+s*(1-i),u*i+c*(1-i)]),t.setLayout([o,a,r])}))}}}var PSe={value:function(e,t,n,r,i,o,a){var s=0,l=n.getSum("value"),u=2*Math.PI/(l||a);t.eachNode((function(e){var t=e.getValue("value"),n=u*(l?t:1)/2;s+=n,e.setLayout([r*Math.cos(s)+i,r*Math.sin(s)+o]),s+=n}))},symbolSize:function(e,t,n,r,i,o,a){var s=0;TSe.length=a;var l=ESe(e);t.eachNode((function(e){var t=ISe(e);isNaN(t)&&(t=2),t<0&&(t=0),t*=l;var n=Math.asin(t/2/r);isNaN(n)&&(n=MSe/2),TSe[e.dataIndex]=n,s+=2*n}));var u=(2*MSe-s)/a/2,c=0;t.eachNode((function(e){var t=u+TSe[e.dataIndex];c+=t,(!e.getLayout()||!e.getLayout().fixed)&&e.setLayout([r*Math.cos(c)+i,r*Math.sin(c)+o]),c+=t}))}};function OSe(e,t,n,r){var i=e.getGraphicEl();if(i){var o=e.getModel().get(["label","rotate"])||0,a=i.getSymbolPath();if(t){var s=e.getLayout(),l=Math.atan2(s[1]-r,s[0]-n);l<0&&(l=2*Math.PI+l);var u=s[0]<n;u&&(l-=Math.PI);var c=u?"left":"right";a.setTextConfig({rotation:-l,position:c,origin:"center"});var f=a.ensureState("emphasis");$2(f.textConfig||(f.textConfig={}),{position:c})}else a.setTextConfig({rotation:o*=Math.PI/180})}}function DSe(e){e.eachSeriesByType("graph",(function(e){"circular"===e.get("layout")&&ASe(e,"symbolSize")}))}var RSe=F3;function LSe(e){e.eachSeriesByType("graph",(function(e){var t=e.coordinateSystem;if(!t||"view"===t.type)if("force"===e.get("layout")){var n=e.preservedPoints||{},r=e.getGraph(),i=r.data,o=r.edgeData,a=e.getModel("force"),s=a.get("initLayout");e.preservedPoints?i.each((function(e){var t=i.getId(e);i.setItemLayout(e,n[t]||[NaN,NaN])})):s&&"none"!==s?"circular"===s&&ASe(e,"value"):SSe(e);var l=i.getDataExtent("value"),u=o.getDataExtent("value"),c=a.get("repulsion"),f=a.get("edgeLength"),h=e3(c)?c:[c,c],d=e3(f)?f:[f,f];d=[d[1],d[0]];var p=i.mapArray("value",(function(e,t){var n=i.getItemLayout(t),r=e9(e,l,h);return isNaN(r)&&(r=(h[0]+h[1])/2),{w:r,rep:r,fixed:i.getItemModel(t).get("fixed"),p:!n||isNaN(n[0])||isNaN(n[1])?null:n}})),g=o.mapArray("value",(function(t,n){var i=r.getEdgeByIndex(n),o=e9(t,u,d);isNaN(o)&&(o=(d[0]+d[1])/2);var a=i.getModel(),s=d3(i.getModel().get(["lineStyle","curveness"]),-_Se(i,e,n,!0),0);return{n1:p[i.node1.dataIndex],n2:p[i.node2.dataIndex],d:o,curveness:s,ignoreForceLayout:a.get("ignoreForceLayout")}})),m=t.getBoundingRect(),b=function(e,t,n){for(var r=e,i=t,o=n.rect,a=o.width,s=o.height,l=[o.x+a/2,o.y+s/2],u=null==n.gravity?.1:n.gravity,c=0;c<r.length;c++){var f=r[c];f.p||(f.p=D3(a*(Math.random()-.5)+l[0],s*(Math.random()-.5)+l[1])),f.pp=L3(f.p),f.edges=null}var h,d,p=null==n.friction?.6:n.friction,g=p;return{warmUp:function(){g=.8*p},setFixed:function(e){r[e].fixed=!0},setUnfixed:function(e){r[e].fixed=!1},beforeStep:function(e){h=e},afterStep:function(e){d=e},step:function(e){h&&h(r,i);for(var t=[],n=r.length,o=0;o<i.length;o++){var a=i[o];if(!a.ignoreForceLayout){var s=a.n1;z3(t,(m=a.n2).p,s.p);var c=B3(t)-a.d,f=m.w/(s.w+m.w);isNaN(f)&&(f=0),H3(t,t),!s.fixed&&RSe(s.p,s.p,t,f*c*g),!m.fixed&&RSe(m.p,m.p,t,-(1-f)*c*g)}}for(o=0;o<n;o++)(y=r[o]).fixed||(z3(t,l,y.p),RSe(y.p,y.p,t,u*g));for(o=0;o<n;o++){s=r[o];for(var p=o+1;p<n;p++){var m;z3(t,(m=r[p]).p,s.p),0===(c=B3(t))&&(N3(t,Math.random()-.5,Math.random()-.5),c=1);var b=(s.rep+m.rep)/c/c;!s.fixed&&RSe(s.pp,s.pp,t,b),!m.fixed&&RSe(m.pp,m.pp,t,-b)}}var v=[];for(o=0;o<n;o++){var y;(y=r[o]).fixed||(z3(v,y.p,y.pp),RSe(y.p,y.p,v,g),R3(y.pp,y.p))}var w=(g*=.992)<.01;d&&d(r,i,w),e&&e(w)}}}(p,g,{rect:m,gravity:a.get("gravity"),friction:a.get("friction")});b.beforeStep((function(e,t){for(var n=0,i=e.length;n<i;n++)e[n].fixed&&R3(e[n].p,r.getNodeByIndex(n).getLayout())})),b.afterStep((function(e,t,o){for(var a=0,s=e.length;a<s;a++)e[a].fixed||r.getNodeByIndex(a).setLayout(e[a].p),n[i.getId(a)]=e[a].p;for(a=0,s=t.length;a<s;a++){var l=t[a],u=r.getEdgeByIndex(a),c=l.n1.p,f=l.n2.p,h=u.getLayout();(h=h?h.slice():[])[0]=h[0]||[],h[1]=h[1]||[],R3(h[0],c),R3(h[1],f),+l.curveness&&(h[2]=[(c[0]+f[0])/2-(c[1]-f[1])*l.curveness,(c[1]+f[1])/2-(f[0]-c[0])*l.curveness]),u.setLayout(h)}})),e.forceLayout=b,e.preservedPoints=n,b.step()}else e.forceLayout=null}))}function NSe(e,t){var n=[];return e.eachSeriesByType("graph",(function(e){var r=e.get("coordinateSystem");if(!r||"view"===r){var i=e.getData(),o=[],a=[];z7(i.mapArray((function(e){var t=i.getItemModel(e);return[+t.get("x"),+t.get("y")]})),o,a),a[0]-o[0]==0&&(a[0]+=1,o[0]-=1),a[1]-o[1]==0&&(a[1]+=1,o[1]-=1);var s=(a[0]-o[0])/(a[1]-o[1]),l=function(e,t,n){return Zre($2(e.getBoxLayoutParams(),{aspect:n}),{width:t.getWidth(),height:t.getHeight()})}(e,t,s);isNaN(s)&&(o=[l.x,l.y],a=[l.x+l.width,l.y+l.height]);var u=a[0]-o[0],c=a[1]-o[1],f=l.width,h=l.height,d=e.coordinateSystem=new lxe;d.zoomLimit=e.get("scaleLimit"),d.setBoundingRect(o[0],o[1],u,c),d.setViewRect(l.x,l.y,f,h),d.setCenter(e.get("center"),t),d.setZoom(e.get("zoom")),n.push(d)}})),n}var jSe=ile.prototype,FSe=ule.prototype,zSe=function(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.percent=1};!function(e){function t(){return null!==e&&e.apply(this,arguments)||this}g2(t,e)}(zSe);function BSe(e){return isNaN(+e.cpx1)||isNaN(+e.cpy1)}var VSe=function(e){function t(t){var n=e.call(this,t)||this;return n.type="ec-line",n}return g2(t,e),t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new zSe},t.prototype.buildPath=function(e,t){BSe(t)?jSe.buildPath.call(this,e,t):FSe.buildPath.call(this,e,t)},t.prototype.pointAt=function(e){return BSe(this.shape)?jSe.pointAt.call(this,e):FSe.pointAt.call(this,e)},t.prototype.tangentAt=function(e){var t=this.shape,n=BSe(t)?[t.x2-t.x1,t.y2-t.y1]:FSe.tangentAt.call(this,e);return H3(n,n)},t}(Oee);const $Se=VSe;var HSe=["fromSymbol","toSymbol"];function GSe(e){return"_"+e+"Type"}function WSe(e,t,n){var r=t.getItemVisual(n,e);if(r&&"none"!==r){var i=t.getItemVisual(n,e+"Size"),o=t.getItemVisual(n,e+"Rotate"),a=t.getItemVisual(n,e+"Offset"),s=t.getItemVisual(n,e+"KeepAspect"),l=kce(i),u=Cce(a||0,l),c=Sce(r,-l[0]/2+u[0],-l[1]/2+u[1],l[0],l[1],null,s);return c.__specifiedRotation=null==o||isNaN(o)?void 0:+o*Math.PI/180||0,c.name=e,c}}function USe(e,t){e.x1=t[0][0],e.y1=t[0][1],e.x2=t[1][0],e.y2=t[1][1],e.percent=1;var n=t[2];n?(e.cpx1=n[0],e.cpy1=n[1]):(e.cpx1=NaN,e.cpy1=NaN)}var qSe=function(e){function t(t,n,r){var i=e.call(this)||this;return i._createLine(t,n,r),i}return g2(t,e),t.prototype._createLine=function(e,t,n){var r=e.hostModel,i=function(e){var t=new $Se({name:"line",subPixelOptimize:!0});return USe(t.shape,e),t}(e.getItemLayout(t));i.shape.percent=0,pne(i,{shape:{percent:1}},r,t),this.add(i),q2(HSe,(function(n){var r=WSe(n,e,t);this.add(r),this[GSe(n)]=e.getItemVisual(t,n)}),this),this._updateCommonStl(e,t,n)},t.prototype.updateData=function(e,t,n){var r=e.hostModel,i=this.childOfName("line"),o=e.getItemLayout(t),a={shape:{}};USe(a.shape,o),dne(i,a,r,t),q2(HSe,(function(n){var r=e.getItemVisual(t,n),i=GSe(n);if(this[i]!==r){this.remove(this.childOfName(n));var o=WSe(n,e,t);this.add(o)}this[i]=r}),this),this._updateCommonStl(e,t,n)},t.prototype.getLinePath=function(){return this.childAt(0)},t.prototype._updateCommonStl=function(e,t,n){var r=e.hostModel,i=this.childOfName("line"),o=n&&n.emphasisLineStyle,a=n&&n.blurLineStyle,s=n&&n.selectLineStyle,l=n&&n.labelStatesModels,u=n&&n.emphasisDisabled,c=n&&n.focus,f=n&&n.blurScope;if(!n||e.hasItemOption){var h=e.getItemModel(t),d=h.getModel("emphasis");o=d.getModel("lineStyle").getLineStyle(),a=h.getModel(["blur","lineStyle"]).getLineStyle(),s=h.getModel(["select","lineStyle"]).getLineStyle(),u=d.get("disabled"),c=d.get("focus"),f=d.get("blurScope"),l=kne(h)}var p=e.getItemVisual(t,"style"),g=p.stroke;i.useStyle(p),i.style.fill=null,i.style.strokeNoScale=!0,i.ensureState("emphasis").style=o,i.ensureState("blur").style=a,i.ensureState("select").style=s,q2(HSe,(function(e){var t=this.childOfName(e);if(t){t.setColor(g),t.style.opacity=p.opacity;for(var n=0;n<mte.length;n++){var r=mte[n],o=i.getState(r);if(o){var a=o.style||{},s=t.ensureState(r),l=s.style||(s.style={});null!=a.stroke&&(l[t.__isEmptyBrush?"stroke":"fill"]=a.stroke),null!=a.opacity&&(l.opacity=a.opacity)}}t.markRedraw()}}),this);var m=r.getRawValue(t);Sne(this,l,{labelDataIndex:t,labelFetcher:{getFormattedLabel:function(t,n){return r.getFormattedLabel(t,n,e.dataType)}},inheritColor:g||"#000",defaultOpacity:p.opacity,defaultText:(null==m?e.getName(t):isFinite(m)?n9(m):m)+""});var b=this.getTextContent();if(b){var v=l.normal;b.__align=b.style.align,b.__verticalAlign=b.style.verticalAlign,b.__position=v.get("position")||"middle";var y=v.get("distance");e3(y)||(y=[y,y]),b.__labelDistance=y}this.setTextConfig({position:null,local:!0,inside:!1}),tne(this,c,f,u)},t.prototype.highlight=function(){Vte(this)},t.prototype.downplay=function(){$te(this)},t.prototype.updateLayout=function(e,t){this.setLinePoints(e.getItemLayout(t))},t.prototype.setLinePoints=function(e){var t=this.childOfName("line");USe(t.shape,e),t.dirty()},t.prototype.beforeUpdate=function(){var e=this,t=e.childOfName("fromSymbol"),n=e.childOfName("toSymbol"),r=e.getTextContent();if(t||n||r&&!r.ignore){for(var i=1,o=this.parent;o;)o.scaleX&&(i/=o.scaleX),o=o.parent;var a=e.childOfName("line");if(this.__dirty||a.__dirty){var s=a.shape.percent,l=a.pointAt(0),u=a.pointAt(s),c=z3([],u,l);if(H3(c,c),t&&(t.setPosition(l),S(t,0),t.scaleX=t.scaleY=i*s,t.markRedraw()),n&&(n.setPosition(u),S(n,1),n.scaleX=n.scaleY=i*s,n.markRedraw()),r&&!r.ignore){r.x=r.y=0,r.originX=r.originY=0;var f=void 0,h=void 0,d=r.__labelDistance,p=d[0]*i,g=d[1]*i,m=s/2,b=a.tangentAt(m),v=[b[1],-b[0]],y=a.pointAt(m);v[1]>0&&(v[0]=-v[0],v[1]=-v[1]);var w=b[0]<0?-1:1;if("start"!==r.__position&&"end"!==r.__position){var x=-Math.atan2(b[1],b[0]);u[0]<l[0]&&(x=Math.PI+x),r.rotation=x}var _=void 0;switch(r.__position){case"insideStartTop":case"insideMiddleTop":case"insideEndTop":case"middle":_=-g,h="bottom";break;case"insideStartBottom":case"insideMiddleBottom":case"insideEndBottom":_=g,h="top";break;default:_=0,h="middle"}switch(r.__position){case"end":r.x=c[0]*p+u[0],r.y=c[1]*g+u[1],f=c[0]>.8?"left":c[0]<-.8?"right":"center",h=c[1]>.8?"top":c[1]<-.8?"bottom":"middle";break;case"start":r.x=-c[0]*p+l[0],r.y=-c[1]*g+l[1],f=c[0]>.8?"right":c[0]<-.8?"left":"center",h=c[1]>.8?"bottom":c[1]<-.8?"top":"middle";break;case"insideStartTop":case"insideStart":case"insideStartBottom":r.x=p*w+l[0],r.y=l[1]+_,f=b[0]<0?"right":"left",r.originX=-p*w,r.originY=-_;break;case"insideMiddleTop":case"insideMiddle":case"insideMiddleBottom":case"middle":r.x=y[0],r.y=y[1]+_,f="center",r.originY=-_;break;case"insideEndTop":case"insideEnd":case"insideEndBottom":r.x=-p*w+u[0],r.y=u[1]+_,f=b[0]>=0?"right":"left",r.originX=p*w,r.originY=-_}r.scaleX=r.scaleY=i,r.setStyle({verticalAlign:r.__verticalAlign||h,align:r.__align||f})}}}function S(e,t){var n=e.__specifiedRotation;if(null==n){var r=a.tangentAt(t);e.attr("rotation",(1===t?-1:1)*Math.PI/2-Math.atan2(r[1],r[0]))}else e.attr("rotation",n)}},t}(X8);const XSe=qSe;var YSe=function(){function e(e){this.group=new X8,this._LineCtor=e||XSe}return e.prototype.updateData=function(e){var t=this;this._progressiveEls=null;var n=this,r=n.group,i=n._lineData;n._lineData=e,i||r.removeAll();var o=KSe(e);e.diff(i).add((function(n){t._doAdd(e,n,o)})).update((function(n,r){t._doUpdate(i,e,r,n,o)})).remove((function(e){r.remove(i.getItemGraphicEl(e))})).execute()},e.prototype.updateLayout=function(){var e=this._lineData;e&&e.eachItemGraphicEl((function(t,n){t.updateLayout(e,n)}),this)},e.prototype.incrementalPrepareUpdate=function(e){this._seriesScope=KSe(e),this._lineData=null,this.group.removeAll()},e.prototype.incrementalUpdate=function(e,t){function n(e){e.isGroup||function(e){return e.animators&&e.animators.length>0}(e)||(e.incremental=!0,e.ensureState("emphasis").hoverLayer=!0)}this._progressiveEls=[];for(var r=e.start;r<e.end;r++){if(QSe(t.getItemLayout(r))){var i=new this._LineCtor(t,r,this._seriesScope);i.traverse(n),this.group.add(i),t.setItemGraphicEl(r,i),this._progressiveEls.push(i)}}},e.prototype.remove=function(){this.group.removeAll()},e.prototype.eachRendered=function(e){iue(this._progressiveEls||this.group,e)},e.prototype._doAdd=function(e,t,n){if(QSe(e.getItemLayout(t))){var r=new this._LineCtor(e,t,n);e.setItemGraphicEl(t,r),this.group.add(r)}},e.prototype._doUpdate=function(e,t,n,r,i){var o=e.getItemGraphicEl(n);QSe(t.getItemLayout(r))?(o?o.updateData(t,r,i):o=new this._LineCtor(t,r,i),t.setItemGraphicEl(r,o),this.group.add(o)):this.group.remove(o)},e}();function KSe(e){var t=e.hostModel,n=t.getModel("emphasis");return{lineStyle:t.getModel("lineStyle").getLineStyle(),emphasisLineStyle:n.getModel(["lineStyle"]).getLineStyle(),blurLineStyle:t.getModel(["blur","lineStyle"]).getLineStyle(),selectLineStyle:t.getModel(["select","lineStyle"]).getLineStyle(),emphasisDisabled:n.get("disabled"),blurScope:n.get("blurScope"),focus:n.get("focus"),labelStatesModels:kne(t)}}function ZSe(e){return isNaN(e[0])||isNaN(e[1])}function QSe(e){return e&&!ZSe(e[0])&&!ZSe(e[1])}const JSe=YSe;var eke=[],tke=[],nke=[],rke=O4,ike=U3,oke=Math.abs;function ake(e,t,n){for(var r,i=e[0],o=e[1],a=e[2],s=1/0,l=n*n,u=.1,c=.1;c<=.9;c+=.1){eke[0]=rke(i[0],o[0],a[0],c),eke[1]=rke(i[1],o[1],a[1],c),(d=oke(ike(eke,t)-l))<s&&(s=d,r=c)}for(var f=0;f<32;f++){var h=r+u;tke[0]=rke(i[0],o[0],a[0],r),tke[1]=rke(i[1],o[1],a[1],r),nke[0]=rke(i[0],o[0],a[0],h),nke[1]=rke(i[1],o[1],a[1],h);var d=ike(tke,t)-l;if(oke(d)<.01)break;var p=ike(nke,t)-l;u/=2,d<0?p>=0?r+=u:r-=u:p>=0?r-=u:r+=u}return r}function ske(e,t){var n=[],r=L4,i=[[],[],[]],o=[[],[]],a=[];t/=2,e.eachEdge((function(e,s){var l=e.getLayout(),u=e.getVisual("fromSymbol"),c=e.getVisual("toSymbol");l.__original||(l.__original=[L3(l[0]),L3(l[1])],l[2]&&l.__original.push(L3(l[2])));var f=l.__original;if(null!=l[2]){if(R3(i[0],f[0]),R3(i[1],f[2]),R3(i[2],f[1]),u&&"none"!==u){var h=ISe(e.node1),d=ake(i,f[0],h*t);r(i[0][0],i[1][0],i[2][0],d,n),i[0][0]=n[3],i[1][0]=n[4],r(i[0][1],i[1][1],i[2][1],d,n),i[0][1]=n[3],i[1][1]=n[4]}if(c&&"none"!==c){h=ISe(e.node2),d=ake(i,f[1],h*t);r(i[0][0],i[1][0],i[2][0],d,n),i[1][0]=n[1],i[2][0]=n[2],r(i[0][1],i[1][1],i[2][1],d,n),i[1][1]=n[1],i[2][1]=n[2]}R3(l[0],i[0]),R3(l[1],i[2]),R3(l[2],i[1])}else{if(R3(o[0],f[0]),R3(o[1],f[1]),z3(a,o[1],o[0]),H3(a,a),u&&"none"!==u){h=ISe(e.node1);F3(o[0],o[0],a,h*t)}if(c&&"none"!==c){h=ISe(e.node2);F3(o[1],o[1],a,-h*t)}R3(l[0],o[0]),R3(l[1],o[1])}}))}function lke(e){return"view"===e.type}var uke=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return g2(t,e),t.prototype.init=function(e,t){var n=new rge,r=new JSe,i=this.group;this._controller=new Nye(t.getZr()),this._controllerHost={target:i},i.add(n.group),i.add(r.group),this._symbolDraw=n,this._lineDraw=r,this._firstRender=!0},t.prototype.render=function(e,t,n){var r=this,i=e.coordinateSystem;this._model=e;var o=this._symbolDraw,a=this._lineDraw,s=this.group;if(lke(i)){var l={x:i.x,y:i.y,scaleX:i.scaleX,scaleY:i.scaleY};this._firstRender?s.attr(l):dne(s,l,e)}ske(e.getGraph(),ESe(e));var u=e.getData();o.updateData(u);var c=e.getEdgeData();a.updateData(c),this._updateNodeAndLinkScale(),this._updateController(e,t,n),clearTimeout(this._layoutTimeout);var f=e.forceLayout,h=e.get(["force","layoutAnimation"]);f&&this._startForceLayoutIteration(f,h);var d=e.get("layout");u.graph.eachNode((function(t){var n=t.dataIndex,i=t.getGraphicEl(),o=t.getModel();if(i){i.off("drag").off("dragend");var a=o.get("draggable");a&&i.on("drag",(function(o){switch(d){case"force":f.warmUp(),!r._layouting&&r._startForceLayoutIteration(f,h),f.setFixed(n),u.setItemLayout(n,[i.x,i.y]);break;case"circular":u.setItemLayout(n,[i.x,i.y]),t.setLayout({fixed:!0},!0),ASe(e,"symbolSize",t,[o.offsetX,o.offsetY]),r.updateLayout(e);break;default:u.setItemLayout(n,[i.x,i.y]),kSe(e.getGraph(),e),r.updateLayout(e)}})).on("dragend",(function(){f&&f.setUnfixed(n)})),i.setDraggable(a,!!o.get("cursor")),"adjacency"===o.get(["emphasis","focus"])&&(cte(i).focus=t.getAdjacentDataIndices())}})),u.graph.eachEdge((function(e){var t=e.getGraphicEl(),n=e.getModel().get(["emphasis","focus"]);t&&"adjacency"===n&&(cte(t).focus={edge:[e.dataIndex],node:[e.node1.dataIndex,e.node2.dataIndex]})}));var p="circular"===e.get("layout")&&e.get(["circular","rotateLabel"]),g=u.getLayout("cx"),m=u.getLayout("cy");u.graph.eachNode((function(e){OSe(e,p,g,m)})),this._firstRender=!1},t.prototype.dispose=function(){this._controller&&this._controller.dispose(),this._controllerHost=null},t.prototype._startForceLayoutIteration=function(e,t){var n=this;!function r(){e.step((function(e){n.updateLayout(n._model),(n._layouting=!e)&&(t?n._layoutTimeout=setTimeout(r,16):r())}))}()},t.prototype._updateController=function(e,t,n){var r=this,i=this._controller,o=this._controllerHost,a=this.group;i.setPointerChecker((function(t,r,i){var o=a.getBoundingRect();return o.applyTransform(a.transform),o.contain(r,i)&&!Vye(t,n,e)})),lke(e.coordinateSystem)?(i.enable(e.get("roam")),o.zoomLimit=e.get("scaleLimit"),o.zoom=e.coordinateSystem.getZoom(),i.off("pan").off("zoom").on("pan",(function(t){jye(o,t.dx,t.dy),n.dispatchAction({seriesId:e.id,type:"graphRoam",dx:t.dx,dy:t.dy})})).on("zoom",(function(t){Fye(o,t.scale,t.originX,t.originY),n.dispatchAction({seriesId:e.id,type:"graphRoam",zoom:t.scale,originX:t.originX,originY:t.originY}),r._updateNodeAndLinkScale(),ske(e.getGraph(),ESe(e)),r._lineDraw.updateLayout(),n.updateLabelLayout()}))):i.disable()},t.prototype._updateNodeAndLinkScale=function(){var e=this._model,t=e.getData(),n=ESe(e);t.eachItemGraphicEl((function(e,t){e&&e.setSymbolScale(n)}))},t.prototype.updateLayout=function(e){ske(e.getGraph(),ESe(e)),this._symbolDraw.updateLayout(),this._lineDraw.updateLayout()},t.prototype.remove=function(e,t){this._symbolDraw&&this._symbolDraw.remove(),this._lineDraw&&this._lineDraw.remove()},t.type="graph",t}(due);const cke=uke;function fke(e){return"_EC_"+e}var hke=function(){function e(e){this.type="graph",this.nodes=[],this.edges=[],this._nodesMap={},this._edgesMap={},this._directed=e||!1}return e.prototype.isDirected=function(){return this._directed},e.prototype.addNode=function(e,t){e=null==e?""+t:""+e;var n=this._nodesMap;if(!n[fke(e)]){var r=new dke(e,t);return r.hostGraph=this,this.nodes.push(r),n[fke(e)]=r,r}},e.prototype.getNodeByIndex=function(e){var t=this.data.getRawIndex(e);return this.nodes[t]},e.prototype.getNodeById=function(e){return this._nodesMap[fke(e)]},e.prototype.addEdge=function(e,t,n){var r=this._nodesMap,i=this._edgesMap;if(i3(e)&&(e=this.nodes[e]),i3(t)&&(t=this.nodes[t]),e instanceof dke||(e=r[fke(e)]),t instanceof dke||(t=r[fke(t)]),e&&t){var o=e.id+"-"+t.id,a=new pke(e,t,n);return a.hostGraph=this,this._directed&&(e.outEdges.push(a),t.inEdges.push(a)),e.edges.push(a),e!==t&&t.edges.push(a),this.edges.push(a),i[o]=a,a}},e.prototype.getEdgeByIndex=function(e){var t=this.edgeData.getRawIndex(e);return this.edges[t]},e.prototype.getEdge=function(e,t){e instanceof dke&&(e=e.id),t instanceof dke&&(t=t.id);var n=this._edgesMap;return this._directed?n[e+"-"+t]:n[e+"-"+t]||n[t+"-"+e]},e.prototype.eachNode=function(e,t){for(var n=this.nodes,r=n.length,i=0;i<r;i++)n[i].dataIndex>=0&&e.call(t,n[i],i)},e.prototype.eachEdge=function(e,t){for(var n=this.edges,r=n.length,i=0;i<r;i++)n[i].dataIndex>=0&&n[i].node1.dataIndex>=0&&n[i].node2.dataIndex>=0&&e.call(t,n[i],i)},e.prototype.breadthFirstTraverse=function(e,t,n,r){if(t instanceof dke||(t=this._nodesMap[fke(t)]),t){for(var i="out"===n?"outEdges":"in"===n?"inEdges":"edges",o=0;o<this.nodes.length;o++)this.nodes[o].__visited=!1;if(!e.call(r,t,null))for(var a=[t];a.length;){var s=a.shift(),l=s[i];for(o=0;o<l.length;o++){var u=l[o],c=u.node1===s?u.node2:u.node1;if(!c.__visited){if(e.call(r,c,s))return;a.push(c),c.__visited=!0}}}}},e.prototype.update=function(){for(var e=this.data,t=this.edgeData,n=this.nodes,r=this.edges,i=0,o=n.length;i<o;i++)n[i].dataIndex=-1;for(i=0,o=e.count();i<o;i++)n[e.getRawIndex(i)].dataIndex=i;t.filterSelf((function(e){var n=r[t.getRawIndex(e)];return n.node1.dataIndex>=0&&n.node2.dataIndex>=0}));for(i=0,o=r.length;i<o;i++)r[i].dataIndex=-1;for(i=0,o=t.count();i<o;i++)r[t.getRawIndex(i)].dataIndex=i},e.prototype.clone=function(){for(var t=new e(this._directed),n=this.nodes,r=this.edges,i=0;i<n.length;i++)t.addNode(n[i].id,n[i].dataIndex);for(i=0;i<r.length;i++){var o=r[i];t.addEdge(o.node1.id,o.node2.id,o.dataIndex)}return t},e}(),dke=function(){function e(e,t){this.inEdges=[],this.outEdges=[],this.edges=[],this.dataIndex=-1,this.id=null==e?"":e,this.dataIndex=null==t?-1:t}return e.prototype.degree=function(){return this.edges.length},e.prototype.inDegree=function(){return this.inEdges.length},e.prototype.outDegree=function(){return this.outEdges.length},e.prototype.getModel=function(e){if(!(this.dataIndex<0))return this.hostGraph.data.getItemModel(this.dataIndex).getModel(e)},e.prototype.getAdjacentDataIndices=function(){for(var e={edge:[],node:[]},t=0;t<this.edges.length;t++){var n=this.edges[t];n.dataIndex<0||(e.edge.push(n.dataIndex),e.node.push(n.node1.dataIndex,n.node2.dataIndex))}return e},e}(),pke=function(){function e(e,t,n){this.dataIndex=-1,this.node1=e,this.node2=t,this.dataIndex=null==n?-1:n}return e.prototype.getModel=function(e){if(!(this.dataIndex<0))return this.hostGraph.edgeData.getItemModel(this.dataIndex).getModel(e)},e.prototype.getAdjacentDataIndices=function(){return{edge:[this.dataIndex],node:[this.node1.dataIndex,this.node2.dataIndex]}},e}();function gke(e,t){return{getValue:function(n){var r=this[e][t];return r.getStore().get(r.getDimensionIndex(n||"value"),this.dataIndex)},setVisual:function(n,r){this.dataIndex>=0&&this[e][t].setItemVisual(this.dataIndex,n,r)},getVisual:function(n){return this[e][t].getItemVisual(this.dataIndex,n)},setLayout:function(n,r){this.dataIndex>=0&&this[e][t].setItemLayout(this.dataIndex,n,r)},getLayout:function(){return this[e][t].getItemLayout(this.dataIndex)},getGraphicEl:function(){return this[e][t].getItemGraphicEl(this.dataIndex)},getRawIndex:function(){return this[e][t].getRawIndex(this.dataIndex)}}}W2(dke,gke("hostGraph","data")),W2(pke,gke("hostGraph","edgeData"));const mke=hke;function bke(e,t,n,r,i){for(var o=new mke(r),a=0;a<e.length;a++)o.addNode(f3(e[a].id,e[a].name,a),a);var s=[],l=[],u=0;for(a=0;a<t.length;a++){var c=t[a],f=c.source,h=c.target;o.addEdge(f,h,u)&&(l.push(c),s.push(f3(D9(c.id,null),f+" > "+h)),u++)}var d,p=n.get("coordinateSystem");if("cartesian2d"===p||"polar"===p)d=Wpe(e,n);else{var g=Wie.get(p),m=g&&g.dimensions||[];G2(m,"value")<0&&m.concat(["value"]);var b=jpe(e,{coordDimensions:m,encodeDefine:n.getEncode()}).dimensions;(d=new Npe(b,n)).initData(e)}var v=new Npe(["value"],n);return v.initData(l,s),i&&i(d,v),Qxe({mainData:d,struct:o,structAttr:"graph",datas:{node:d,edge:v},datasAttr:{node:"data",edge:"edgeData"}}),o.update(),o}var vke=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.hasSymbolVisual=!0,n}return g2(t,e),t.prototype.init=function(t){e.prototype.init.apply(this,arguments);var n=this;function r(){return n._categoriesData}this.legendVisualProvider=new Fme(r,r),this.fillDataTextStyle(t.edges||t.links),this._updateCategoriesData()},t.prototype.mergeOption=function(t){e.prototype.mergeOption.apply(this,arguments),this.fillDataTextStyle(t.edges||t.links),this._updateCategoriesData()},t.prototype.mergeDefaultAndTheme=function(t){e.prototype.mergeDefaultAndTheme.apply(this,arguments),E9(t,"edgeLabel",["show"])},t.prototype.getInitialData=function(e,t){var n,r=e.edges||e.links||[],i=e.data||e.nodes||[],o=this;if(i&&r){bSe(n=this)&&(n.__curvenessList=[],n.__edgeMap={},vSe(n));var a=bke(i,r,this,!0,(function(e,t){e.wrapMethod("getItemModel",(function(e){var t=o._categoriesModels[e.getShallow("category")];return t&&(t.parentModel=e.parentModel,e.parentModel=t),e}));var n=Yne.prototype.getModel;function r(e,t){var r=n.call(this,e,t);return r.resolveParentPath=i,r}function i(e){if(e&&("label"===e[0]||"label"===e[1])){var t=e.slice();return"label"===e[0]?t[0]="edgeLabel":"label"===e[1]&&(t[1]="edgeLabel"),t}return e}t.wrapMethod("getItemModel",(function(e){return e.resolveParentPath=i,e.getModel=r,e}))}));return q2(a.edges,(function(e){!function(e,t,n,r){if(bSe(n)){var i=ySe(e,t,n),o=n.__edgeMap,a=o[wSe(i)];o[i]&&!a?o[i].isForward=!0:a&&o[i]&&(a.isForward=!0,o[i].isForward=!1),o[i]=o[i]||[],o[i].push(r)}}(e.node1,e.node2,this,e.dataIndex)}),this),a.data}},t.prototype.getGraph=function(){return this.getData().graph},t.prototype.getEdgeData=function(){return this.getGraph().edgeData},t.prototype.getCategoriesData=function(){return this._categoriesData},t.prototype.formatTooltip=function(e,t,n){if("edge"===n){var r=this.getData(),i=this.getDataParams(e,n),o=r.graph.getEdgeByIndex(e),a=r.getName(o.node1.dataIndex),s=r.getName(o.node2.dataIndex),l=[];return null!=a&&l.push(a),null!=s&&l.push(s),Aae("nameValue",{name:l.join(" > "),value:i.value,noValue:null==i.value})}return $ae({series:this,dataIndex:e,multipleSeries:t})},t.prototype._updateCategoriesData=function(){var e=X2(this.option.categories||[],(function(e){return null!=e.value?e:$2({value:0},e)})),t=new Npe(["value"],this);t.initData(e),this._categoriesData=t,this._categoriesModels=t.mapArray((function(e){return t.getItemModel(e)}))},t.prototype.setZoom=function(e){this.option.zoom=e},t.prototype.setCenter=function(e){this.option.center=e},t.prototype.isAnimationEnabled=function(){return e.prototype.isAnimationEnabled.call(this)&&!("force"===this.get("layout")&&this.get(["force","layoutAnimation"]))},t.type="series.graph",t.dependencies=["grid","polar","geo","singleAxis","calendar"],t.defaultOption={z:2,coordinateSystem:"view",legendHoverLink:!0,layout:null,circular:{rotateLabel:!1},force:{initLayout:null,repulsion:[0,50],gravity:.1,friction:.6,edgeLength:30,layoutAnimation:!0},left:"center",top:"center",symbol:"circle",symbolSize:10,edgeSymbol:["none","none"],edgeSymbolSize:10,edgeLabel:{position:"middle",distance:5},draggable:!1,roam:!1,center:null,zoom:1,nodeScaleRatio:.6,label:{show:!1,formatter:"{b}"},itemStyle:{},lineStyle:{color:"#aaa",width:1,opacity:.5},emphasis:{scale:!0,label:{show:!0}},select:{itemStyle:{borderColor:"#212121"}}},t}(Jae);const yke=vke;var wke={type:"graphRoam",event:"graphRoam",update:"none"};var xke=function(){this.angle=0,this.width=10,this.r=10,this.x=0,this.y=0},_ke=function(e){function t(t){var n=e.call(this,t)||this;return n.type="pointer",n}return g2(t,e),t.prototype.getDefaultShape=function(){return new xke},t.prototype.buildPath=function(e,t){var n=Math.cos,r=Math.sin,i=t.r,o=t.width,a=t.angle,s=t.x-n(a)*o*(o>=i/3?1:2),l=t.y-r(a)*o*(o>=i/3?1:2);a=t.angle-Math.PI/2,e.moveTo(s,l),e.lineTo(t.x+n(a)*o,t.y+r(a)*o),e.lineTo(t.x+n(t.angle)*i,t.y+r(t.angle)*i),e.lineTo(t.x-n(a)*o,t.y-r(a)*o),e.lineTo(s,l)},t}(Oee);const Ske=_ke;function kke(e,t){var n=null==e?"":e+"";return t&&(n3(t)?n=t.replace("{value}",n):t3(t)&&(n=t(e))),n}var Cke=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return g2(t,e),t.prototype.render=function(e,t,n){this.group.removeAll();var r=e.get(["axisLine","lineStyle","color"]),i=function(e,t){var n=e.get("center"),r=t.getWidth(),i=t.getHeight(),o=Math.min(r,i);return{cx:t9(n[0],t.getWidth()),cy:t9(n[1],t.getHeight()),r:t9(e.get("radius"),o/2)}}(e,n);this._renderMain(e,t,n,r,i),this._data=e.getData()},t.prototype.dispose=function(){},t.prototype._renderMain=function(e,t,n,r,i){var o=this.group,a=e.get("clockwise"),s=-e.get("startAngle")/180*Math.PI,l=-e.get("endAngle")/180*Math.PI,u=e.getModel("axisLine"),c=u.get("roundCap")?Jge:Gse,f=u.get("show"),h=u.getModel("lineStyle"),d=h.get("width"),p=[s,l];uee(p,!a);for(var g=(l=p[1])-(s=p[0]),m=s,b=[],v=0;f&&v<r.length;v++){var y=new c({shape:{startAngle:m,endAngle:l=s+g*Math.min(Math.max(r[v][0],0),1),cx:i.cx,cy:i.cy,clockwise:a,r0:i.r-d,r:i.r},silent:!0});y.setStyle({fill:r[v][1]}),y.setStyle(h.getLineStyle(["color","width"])),b.push(y),m=l}b.reverse(),q2(b,(function(e){return o.add(e)}));var w=function(e){if(e<=0)return r[0][1];var t;for(t=0;t<r.length;t++)if(r[t][0]>=e&&(0===t?0:r[t-1][0])<e)return r[t][1];return r[t-1][1]};this._renderTicks(e,t,n,w,i,s,l,a,d),this._renderTitleAndDetail(e,t,n,w,i),this._renderAnchor(e,i),this._renderPointer(e,t,n,w,i,s,l,a,d)},t.prototype._renderTicks=function(e,t,n,r,i,o,a,s,l){for(var u,c,f=this.group,h=i.cx,d=i.cy,p=i.r,g=+e.get("min"),m=+e.get("max"),b=e.getModel("splitLine"),v=e.getModel("axisTick"),y=e.getModel("axisLabel"),w=e.get("splitNumber"),x=v.get("splitNumber"),_=t9(b.get("length"),p),S=t9(v.get("length"),p),k=o,C=(a-o)/w,E=C/x,I=b.getModel("lineStyle").getLineStyle(),M=v.getModel("lineStyle").getLineStyle(),T=b.get("distance"),A=0;A<=w;A++){if(u=Math.cos(k),c=Math.sin(k),b.get("show")){var P=new ile({shape:{x1:u*(p-(O=T?T+l:l))+h,y1:c*(p-O)+d,x2:u*(p-_-O)+h,y2:c*(p-_-O)+d},style:I,silent:!0});"auto"===I.stroke&&P.setStyle({stroke:r(A/w)}),f.add(P)}if(y.get("show")){var O=y.get("distance")+T,D=kke(n9(A/w*(m-g)+g),y.get("formatter")),R=r(A/w),L=u*(p-_-O)+h,N=c*(p-_-O)+d,j=y.get("rotate"),F=0;"radial"===j?(F=-k+2*Math.PI)>Math.PI/2&&(F+=Math.PI):"tangential"===j?F=-k-Math.PI/2:i3(j)&&(F=j*Math.PI/180),0===F?f.add(new ute({style:Cne(y,{text:D,x:L,y:N,verticalAlign:c<-.8?"top":c>.8?"bottom":"middle",align:u<-.4?"left":u>.4?"right":"center"},{inheritColor:R}),silent:!0})):f.add(new ute({style:Cne(y,{text:D,x:L,y:N,verticalAlign:"middle",align:"center"},{inheritColor:R}),silent:!0,originX:L,originY:N,rotation:F}))}if(v.get("show")&&A!==w){O=(O=v.get("distance"))?O+l:l;for(var z=0;z<=x;z++){u=Math.cos(k),c=Math.sin(k);var B=new ile({shape:{x1:u*(p-O)+h,y1:c*(p-O)+d,x2:u*(p-S-O)+h,y2:c*(p-S-O)+d},silent:!0,style:M});"auto"===M.stroke&&B.setStyle({stroke:r((A+z/x)/w)}),f.add(B),k+=E}k-=E}else k+=C}},t.prototype._renderPointer=function(e,t,n,r,i,o,a,s,l){var u=this.group,c=this._data,f=this._progressEls,h=[],d=e.get(["pointer","show"]),p=e.getModel("progress"),g=p.get("show"),m=e.getData(),b=m.mapDimension("value"),v=+e.get("min"),y=+e.get("max"),w=[v,y],x=[o,a];function _(t,n){var r,o=m.getItemModel(t).getModel("pointer"),a=t9(o.get("width"),i.r),s=t9(o.get("length"),i.r),l=e.get(["pointer","icon"]),u=o.get("offsetCenter"),c=t9(u[0],i.r),f=t9(u[1],i.r),h=o.get("keepAspect");return(r=l?Sce(l,c-a/2,f-s,a,s,null,h):new Ske({shape:{angle:-Math.PI/2,width:a,r:s,x:c,y:f}})).rotation=-(n+Math.PI/2),r.x=i.cx,r.y=i.cy,r}function S(e,t){var n=p.get("roundCap")?Jge:Gse,r=p.get("overlap"),a=r?p.get("width"):l/m.count(),u=r?i.r-a:i.r-(e+1)*a,c=r?i.r:i.r-e*a,f=new n({shape:{startAngle:o,endAngle:t,cx:i.cx,cy:i.cy,clockwise:s,r0:u,r:c}});return r&&(f.z2=y-m.get(b,e)%y),f}(g||d)&&(m.diff(c).add((function(t){var n=m.get(b,t);if(d){var r=_(t,o);pne(r,{rotation:-((isNaN(+n)?x[0]:e9(n,w,x,!0))+Math.PI/2)},e),u.add(r),m.setItemGraphicEl(t,r)}if(g){var i=S(t,o),a=p.get("clip");pne(i,{shape:{endAngle:e9(n,w,x,a)}},e),u.add(i),fte(e.seriesIndex,m.dataType,t,i),h[t]=i}})).update((function(t,n){var r=m.get(b,t);if(d){var i=c.getItemGraphicEl(n),a=i?i.rotation:o,s=_(t,a);s.rotation=a,dne(s,{rotation:-((isNaN(+r)?x[0]:e9(r,w,x,!0))+Math.PI/2)},e),u.add(s),m.setItemGraphicEl(t,s)}if(g){var l=f[n],v=S(t,l?l.shape.endAngle:o),y=p.get("clip");dne(v,{shape:{endAngle:e9(r,w,x,y)}},e),u.add(v),fte(e.seriesIndex,m.dataType,t,v),h[t]=v}})).execute(),m.each((function(e){var t=m.getItemModel(e),n=t.getModel("emphasis"),i=n.get("focus"),o=n.get("blurScope"),a=n.get("disabled");if(d){var s=m.getItemGraphicEl(e),l=m.getItemVisual(e,"style"),u=l.fill;if(s instanceof zee){var c=s.style;s.useStyle($2({image:c.image,x:c.x,y:c.y,width:c.width,height:c.height},l))}else s.useStyle(l),"pointer"!==s.type&&s.setColor(u);s.setStyle(t.getModel(["pointer","itemStyle"]).getItemStyle()),"auto"===s.style.fill&&s.setStyle("fill",r(e9(m.get(b,e),w,[0,1],!0))),s.z2EmphasisLift=0,one(s,t),tne(s,i,o,a)}if(g){var f=h[e];f.useStyle(m.getItemVisual(e,"style")),f.setStyle(t.getModel(["progress","itemStyle"]).getItemStyle()),f.z2EmphasisLift=0,one(f,t),tne(f,i,o,a)}})),this._progressEls=h)},t.prototype._renderAnchor=function(e,t){var n=e.getModel("anchor");if(n.get("show")){var r=n.get("size"),i=n.get("icon"),o=n.get("offsetCenter"),a=n.get("keepAspect"),s=Sce(i,t.cx-r/2+t9(o[0],t.r),t.cy-r/2+t9(o[1],t.r),r,r,null,a);s.z2=n.get("showAbove")?1:0,s.setStyle(n.getModel("itemStyle").getItemStyle()),this.group.add(s)}},t.prototype._renderTitleAndDetail=function(e,t,n,r,i){var o=this,a=e.getData(),s=a.mapDimension("value"),l=+e.get("min"),u=+e.get("max"),c=new X8,f=[],h=[],d=e.isAnimationEnabled(),p=e.get(["pointer","showAbove"]);a.diff(this._data).add((function(e){f[e]=new ute({silent:!0}),h[e]=new ute({silent:!0})})).update((function(e,t){f[e]=o._titleEls[t],h[e]=o._detailEls[t]})).execute(),a.each((function(t){var n=a.getItemModel(t),o=a.get(s,t),g=new X8,m=r(e9(o,[l,u],[0,1],!0)),b=n.getModel("title");if(b.get("show")){var v=b.get("offsetCenter"),y=i.cx+t9(v[0],i.r),w=i.cy+t9(v[1],i.r);(M=f[t]).attr({z2:p?0:2,style:Cne(b,{x:y,y:w,text:a.getName(t),align:"center",verticalAlign:"middle"},{inheritColor:m})}),g.add(M)}var x=n.getModel("detail");if(x.get("show")){var _=x.get("offsetCenter"),S=i.cx+t9(_[0],i.r),k=i.cy+t9(_[1],i.r),C=t9(x.get("width"),i.r),E=t9(x.get("height"),i.r),I=e.get(["progress","show"])?a.getItemVisual(t,"style").fill:m,M=h[t],T=x.get("formatter");M.attr({z2:p?0:2,style:Cne(x,{x:S,y:k,text:kke(o,T),width:isNaN(C)?null:C,height:isNaN(E)?null:E,align:"center",verticalAlign:"middle"},{inheritColor:I})}),Dne(M,{normal:x},o,(function(e){return kke(e,T)})),d&&Rne(M,t,a,e,{getFormattedLabel:function(e,t,n,r,i,a){return kke(a?a.interpolatedValue:o,T)}}),g.add(M)}c.add(g)})),this.group.add(c),this._titleEls=f,this._detailEls=h},t.type="gauge",t}(due);const Eke=Cke;const Ike=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.visualStyleAccessPath="itemStyle",n}return g2(t,e),t.prototype.getInitialData=function(e,t){return Nme(this,["value"])},t.type="series.gauge",t.defaultOption={z:2,colorBy:"data",center:["50%","50%"],legendHoverLink:!0,radius:"75%",startAngle:225,endAngle:-45,clockwise:!0,min:0,max:100,splitNumber:10,axisLine:{show:!0,roundCap:!1,lineStyle:{color:[[1,"#E6EBF8"]],width:10}},progress:{show:!1,overlap:!0,width:10,roundCap:!1,clip:!0},splitLine:{show:!0,length:10,distance:10,lineStyle:{color:"#63677A",width:3,type:"solid"}},axisTick:{show:!0,splitNumber:5,length:6,distance:10,lineStyle:{color:"#63677A",width:1,type:"solid"}},axisLabel:{show:!0,distance:15,color:"#464646",fontSize:12,rotate:0},pointer:{icon:null,offsetCenter:[0,0],show:!0,showAbove:!0,length:"60%",width:6,keepAspect:!1},anchor:{show:!1,showAbove:!1,size:6,icon:"circle",offsetCenter:[0,0],keepAspect:!1,itemStyle:{color:"#fff",borderWidth:0,borderColor:"#5470c6"}},title:{show:!0,offsetCenter:[0,"20%"],color:"#464646",fontSize:16,valueAnimation:!1},detail:{show:!0,backgroundColor:"rgba(0,0,0,0)",borderWidth:0,borderColor:"#ccc",width:100,height:null,padding:[5,10],offsetCenter:[0,"40%"],color:"#464646",fontSize:30,fontWeight:"bold",lineHeight:30,valueAnimation:!1}},t}(Jae);var Mke=["itemStyle","opacity"],Tke=function(e){function t(t,n){var r=e.call(this)||this,i=r,o=new ele,a=new ute;return i.setTextContent(a),r.setTextGuideLine(o),r.updateData(t,n,!0),r}return g2(t,e),t.prototype.updateData=function(e,t,n){var r=this,i=e.hostModel,o=e.getItemModel(t),a=e.getItemLayout(t),s=o.getModel("emphasis"),l=o.get(Mke);l=null==l?1:l,n||yne(r),r.useStyle(e.getItemVisual(t,"style")),r.style.lineJoin="round",n?(r.setShape({points:a.points}),r.style.opacity=0,pne(r,{style:{opacity:l}},i,t)):dne(r,{style:{opacity:l},shape:{points:a.points}},i,t),one(r,o),this._updateLabel(e,t),tne(this,s.get("focus"),s.get("blurScope"),s.get("disabled"))},t.prototype._updateLabel=function(e,t){var n=this,r=this.getTextGuideLine(),i=n.getTextContent(),o=e.hostModel,a=e.getItemModel(t),s=e.getItemLayout(t).label,l=e.getItemVisual(t,"style"),u=l.fill;Sne(i,kne(a),{labelFetcher:e.hostModel,labelDataIndex:t,defaultOpacity:l.opacity,defaultText:e.getName(t)},{normal:{align:s.textAlign,verticalAlign:s.verticalAlign}}),n.setTextConfig({local:!0,inside:!!s.inside,insideStroke:u,outsideFill:u});var c=s.linePoints;r.setShape({points:c}),n.textGuideLineConfig={anchor:c?new O5(c[0][0],c[0][1]):null},dne(i,{style:{x:s.x,y:s.y}},o,t),i.attr({rotation:s.rotation,originX:s.x,originY:s.y,z2:10}),Ihe(n,Mhe(a),{stroke:u})},t}(Zse),Ake=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.ignoreLabelLineUpdate=!0,n}return g2(t,e),t.prototype.render=function(e,t,n){var r=e.getData(),i=this._data,o=this.group;r.diff(i).add((function(e){var t=new Tke(r,e);r.setItemGraphicEl(e,t),o.add(t)})).update((function(e,t){var n=i.getItemGraphicEl(t);n.updateData(r,e),o.add(n),r.setItemGraphicEl(e,n)})).remove((function(t){vne(i.getItemGraphicEl(t),e,t)})).execute(),this._data=r},t.prototype.remove=function(){this.group.removeAll(),this._data=null},t.prototype.dispose=function(){},t.type="funnel",t}(due);const Pke=Ake;var Oke=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return g2(t,e),t.prototype.init=function(t){e.prototype.init.apply(this,arguments),this.legendVisualProvider=new Fme(Q2(this.getData,this),Q2(this.getRawData,this)),this._defaultLabelLine(t)},t.prototype.getInitialData=function(e,t){return Nme(this,{coordDimensions:["value"],encodeDefaulter:J2(Sie,this)})},t.prototype._defaultLabelLine=function(e){E9(e,"labelLine",["show"]);var t=e.labelLine,n=e.emphasis.labelLine;t.show=t.show&&e.label.show,n.show=n.show&&e.emphasis.label.show},t.prototype.getDataParams=function(t){var n=this.getData(),r=e.prototype.getDataParams.call(this,t),i=n.mapDimension("value"),o=n.getSum(i);return r.percent=o?+(n.get(i,t)/o*100).toFixed(2):0,r.$vars.push("percent"),r},t.type="series.funnel",t.defaultOption={z:2,legendHoverLink:!0,colorBy:"data",left:80,top:60,right:80,bottom:60,minSize:"0%",maxSize:"100%",sort:"descending",orient:"vertical",gap:0,funnelAlign:"center",label:{show:!0,position:"outer"},labelLine:{show:!0,length:20,lineStyle:{width:1}},itemStyle:{borderColor:"#fff",borderWidth:1},emphasis:{label:{show:!0}},select:{itemStyle:{borderColor:"#212121"}}},t}(Jae);const Dke=Oke;function Rke(e,t){e.eachSeriesByType("funnel",(function(e){var n=e.getData(),r=n.mapDimension("value"),i=e.get("sort"),o=function(e,t){return Zre(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()})}(e,t),a=e.get("orient"),s=o.width,l=o.height,u=function(e,t){for(var n=e.mapDimension("value"),r=e.mapArray(n,(function(e){return e})),i=[],o="ascending"===t,a=0,s=e.count();a<s;a++)i[a]=a;return t3(t)?i.sort(t):"none"!==t&&i.sort((function(e,t){return o?r[e]-r[t]:r[t]-r[e]})),i}(n,i),c=o.x,f=o.y,h="horizontal"===a?[t9(e.get("minSize"),l),t9(e.get("maxSize"),l)]:[t9(e.get("minSize"),s),t9(e.get("maxSize"),s)],d=n.getDataExtent(r),p=e.get("min"),g=e.get("max");null==p&&(p=Math.min(d[0],0)),null==g&&(g=d[1]);var m=e.get("funnelAlign"),b=e.get("gap"),v=(("horizontal"===a?s:l)-b*(n.count()-1))/n.count(),y=function(e,t){if("horizontal"===a){var i=e9(n.get(r,e)||0,[p,g],h,!0),o=void 0;switch(m){case"top":o=f;break;case"center":o=f+(l-i)/2;break;case"bottom":o=f+(l-i)}return[[t,o],[t,o+i]]}var u,d=e9(n.get(r,e)||0,[p,g],h,!0);switch(m){case"left":u=c;break;case"center":u=c+(s-d)/2;break;case"right":u=c+s-d}return[[u,t],[u+d,t]]};"ascending"===i&&(v=-v,b=-b,"horizontal"===a?c+=s:f+=l,u=u.reverse());for(var w=0;w<u.length;w++){var x=u[w],_=u[w+1],S=n.getItemModel(x);if("horizontal"===a){var k=S.get(["itemStyle","width"]);null==k?k=v:(k=t9(k,s),"ascending"===i&&(k=-k));var C=y(x,c),E=y(_,c+k);c+=k+b,n.setItemLayout(x,{points:C.concat(E.slice().reverse())})}else{var I=S.get(["itemStyle","height"]);null==I?I=v:(I=t9(I,l),"ascending"===i&&(I=-I));C=y(x,f),E=y(_,f+I);f+=I+b,n.setItemLayout(x,{points:C.concat(E.slice().reverse())})}}!function(e){var t=e.hostModel.get("orient");e.each((function(n){var r,i,o,a,s=e.getItemModel(n),l=s.getModel("label").get("position"),u=s.getModel("labelLine"),c=e.getItemLayout(n),f=c.points,h="inner"===l||"inside"===l||"center"===l||"insideLeft"===l||"insideRight"===l;if(h)"insideLeft"===l?(i=(f[0][0]+f[3][0])/2+5,o=(f[0][1]+f[3][1])/2,r="left"):"insideRight"===l?(i=(f[1][0]+f[2][0])/2-5,o=(f[1][1]+f[2][1])/2,r="right"):(i=(f[0][0]+f[1][0]+f[2][0]+f[3][0])/4,o=(f[0][1]+f[1][1]+f[2][1]+f[3][1])/4,r="center"),a=[[i,o],[i,o]];else{var d=void 0,p=void 0,g=void 0,m=void 0,b=u.get("length");"left"===l?(d=(f[3][0]+f[0][0])/2,p=(f[3][1]+f[0][1])/2,i=(g=d-b)-5,r="right"):"right"===l?(d=(f[1][0]+f[2][0])/2,p=(f[1][1]+f[2][1])/2,i=(g=d+b)+5,r="left"):"top"===l?(d=(f[3][0]+f[0][0])/2,o=(m=(p=(f[3][1]+f[0][1])/2)-b)-5,r="center"):"bottom"===l?(d=(f[1][0]+f[2][0])/2,o=(m=(p=(f[1][1]+f[2][1])/2)+b)+5,r="center"):"rightTop"===l?(d="horizontal"===t?f[3][0]:f[1][0],p="horizontal"===t?f[3][1]:f[1][1],"horizontal"===t?(o=(m=p-b)-5,r="center"):(i=(g=d+b)+5,r="top")):"rightBottom"===l?(d=f[2][0],p=f[2][1],"horizontal"===t?(o=(m=p+b)+5,r="center"):(i=(g=d+b)+5,r="bottom")):"leftTop"===l?(d=f[0][0],p="horizontal"===t?f[0][1]:f[1][1],"horizontal"===t?(o=(m=p-b)-5,r="center"):(i=(g=d-b)-5,r="right")):"leftBottom"===l?(d="horizontal"===t?f[1][0]:f[3][0],p="horizontal"===t?f[1][1]:f[2][1],"horizontal"===t?(o=(m=p+b)+5,r="center"):(i=(g=d-b)-5,r="right")):(d=(f[1][0]+f[2][0])/2,p=(f[1][1]+f[2][1])/2,"horizontal"===t?(o=(m=p+b)+5,r="center"):(i=(g=d+b)+5,r="left")),"horizontal"===t?i=g=d:o=m=p,a=[[d,p],[g,m]]}c.label={linePoints:a,x:i,y:o,verticalAlign:"middle",textAlign:r,inside:h}}))}(n)}))}var Lke=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n._dataGroup=new X8,n._initialized=!1,n}return g2(t,e),t.prototype.init=function(){this.group.add(this._dataGroup)},t.prototype.render=function(e,t,n,r){this._progressiveEls=null;var i=this._dataGroup,o=e.getData(),a=this._data,s=e.coordinateSystem,l=s.dimensions,u=Fke(e);if(o.diff(a).add((function(e){zke(jke(o,i,e,l,s),o,e,u)})).update((function(t,n){var r=a.getItemGraphicEl(n),i=Nke(o,t,l,s);o.setItemGraphicEl(t,r),dne(r,{shape:{points:i}},e,t),yne(r),zke(r,o,t,u)})).remove((function(e){var t=a.getItemGraphicEl(e);i.remove(t)})).execute(),!this._initialized){this._initialized=!0;var c=function(e,t,n){var r=e.model,i=e.getRect(),o=new qee({shape:{x:i.x,y:i.y,width:i.width,height:i.height}}),a="horizontal"===r.get("layout")?"width":"height";return o.setShape(a,0),pne(o,{shape:{width:i.width,height:i.height}},t,n),o}(s,e,(function(){setTimeout((function(){i.removeClipPath()}))}));i.setClipPath(c)}this._data=o},t.prototype.incrementalPrepareRender=function(e,t,n){this._initialized=!0,this._data=null,this._dataGroup.removeAll()},t.prototype.incrementalRender=function(e,t,n){for(var r=t.getData(),i=t.coordinateSystem,o=i.dimensions,a=Fke(t),s=this._progressiveEls=[],l=e.start;l<e.end;l++){var u=jke(r,this._dataGroup,l,o,i);u.incremental=!0,zke(u,r,l,a),s.push(u)}},t.prototype.remove=function(){this._dataGroup&&this._dataGroup.removeAll(),this._data=null},t.type="parallel",t}(due);function Nke(e,t,n,r){for(var i,o=[],a=0;a<n.length;a++){var s=n[a],l=e.get(e.mapDimension(s),t);i=l,("category"===r.getAxis(s).type?null==i:null==i||isNaN(i))||o.push(r.dataToPoint(l,s))}return o}function jke(e,t,n,r,i){var o=Nke(e,n,r,i),a=new ele({shape:{points:o},z2:10});return t.add(a),e.setItemGraphicEl(n,a),a}function Fke(e){var t=e.get("smooth",!0);return!0===t&&(t=.3),c3(t=b9(t))&&(t=0),{smooth:t}}function zke(e,t,n,r){e.useStyle(t.getItemVisual(n,"style")),e.style.fill=null,e.setShape("smooth",r.smooth);var i=t.getItemModel(n),o=i.getModel("emphasis");one(e,i,"lineStyle"),tne(e,o.get("focus"),o.get("blurScope"),o.get("disabled"))}const Bke=Lke;var Vke=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.visualStyleAccessPath="lineStyle",n.visualDrawType="stroke",n}return g2(t,e),t.prototype.getInitialData=function(e,t){return Wpe(null,this,{useEncodeDefaulter:Q2($ke,null,this)})},t.prototype.getRawIndicesByActiveState=function(e){var t=this.coordinateSystem,n=this.getData(),r=[];return t.eachActiveState(n,(function(t,i){e===t&&r.push(n.getRawIndex(i))})),r},t.type="series.parallel",t.dependencies=["parallel"],t.defaultOption={z:2,coordinateSystem:"parallel",parallelIndex:0,label:{show:!1},inactiveOpacity:.05,activeOpacity:1,lineStyle:{width:1,opacity:.45,type:"solid"},emphasis:{label:{show:!1}},progressive:500,smooth:!1,animationEasing:"linear"},t}(Jae);function $ke(e){var t=e.ecModel.getComponent("parallel",e.get("parallelIndex"));if(t){var n={};return q2(t.dimensions,(function(e){var t=+e.replace("dim","");n[e]=t})),n}}const Hke=Vke;var Gke=["lineStyle","opacity"],Wke={seriesType:"parallel",reset:function(e,t){var n=e.coordinateSystem,r={normal:e.get(["lineStyle","opacity"]),active:e.get("activeOpacity"),inactive:e.get("inactiveOpacity")};return{progress:function(e,t){n.eachActiveState(t,(function(e,n){var i=r[e];if("normal"===e&&t.hasItemOption){var o=t.getItemModel(n).get(Gke,!0);null!=o&&(i=o)}t.ensureUniqueItemVisual(n,"style").opacity=i}),e.start,e.end)}}}};const Uke=Wke;function qke(e){!function(e){if(e.parallel)return;var t=!1;q2(e.series,(function(e){e&&"parallel"===e.type&&(t=!0)})),t&&(e.parallel=[{}])}(e),function(e){q2(C9(e.parallelAxis),(function(t){if(o3(t)){var n=t.parallelIndex||0,r=C9(e.parallel)[n];r&&r.parallelAxisDefault&&B2(t,r.parallelAxisDefault,!1)}}))}(e)}var Xke=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return g2(t,e),t.prototype.render=function(e,t,n){this._model=e,this._api=n,this._handlers||(this._handlers={},q2(Yke,(function(e,t){n.getZr().on(t,this._handlers[t]=Q2(e,this))}),this)),vue(this,"_throttledDispatchExpand",e.get("axisExpandRate"),"fixRate")},t.prototype.dispose=function(e,t){yue(this,"_throttledDispatchExpand"),q2(this._handlers,(function(e,n){t.getZr().off(n,e)})),this._handlers=null},t.prototype._throttledDispatchExpand=function(e){this._dispatchExpand(e)},t.prototype._dispatchExpand=function(e){e&&this._api.dispatchAction($2({type:"parallelAxisExpand"},e))},t.type="parallel",t}(tse),Yke={mousedown:function(e){Kke(this,"click")&&(this._mouseDownPoint=[e.offsetX,e.offsetY])},mouseup:function(e){var t=this._mouseDownPoint;if(Kke(this,"click")&&t){var n=[e.offsetX,e.offsetY];if(Math.pow(t[0]-n[0],2)+Math.pow(t[1]-n[1],2)>5)return;var r=this._model.coordinateSystem.getSlidedAxisExpandWindow([e.offsetX,e.offsetY]);"none"!==r.behavior&&this._dispatchExpand({axisExpandWindow:r.axisExpandWindow})}this._mouseDownPoint=null},mousemove:function(e){if(!this._mouseDownPoint&&Kke(this,"mousemove")){var t=this._model,n=t.coordinateSystem.getSlidedAxisExpandWindow([e.offsetX,e.offsetY]),r=n.behavior;"jump"===r&&this._throttledDispatchExpand.debounceNextCall(t.get("axisExpandDebounce")),this._throttledDispatchExpand("none"===r?null:{axisExpandWindow:n.axisExpandWindow,animation:"jump"===r?null:{duration:0}})}}};function Kke(e,t){var n=e._model;return n.get("axisExpandable")&&n.get("axisExpandTriggerOn")===t}const Zke=Xke;const Qke=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return g2(t,e),t.prototype.init=function(){e.prototype.init.apply(this,arguments),this.mergeOption({})},t.prototype.mergeOption=function(e){var t=this.option;e&&B2(t,e,!0),this._initDimensions()},t.prototype.contains=function(e,t){var n=e.get("parallelIndex");return null!=n&&t.getComponent("parallel",n)===this},t.prototype.setAxisExpand=function(e){q2(["axisExpandable","axisExpandCenter","axisExpandCount","axisExpandWidth","axisExpandWindow"],(function(t){e.hasOwnProperty(t)&&(this.option[t]=e[t])}),this)},t.prototype._initDimensions=function(){var e=this.dimensions=[],t=this.parallelAxisIndex=[];q2(K2(this.ecModel.queryComponents({mainType:"parallelAxis"}),(function(e){return(e.get("parallelIndex")||0)===this.componentIndex}),this),(function(n){e.push("dim"+n.get("dim")),t.push(n.componentIndex)}))},t.type="parallel",t.dependencies=["parallelAxis"],t.layoutMode="box",t.defaultOption={z:0,left:80,top:60,right:80,bottom:60,layout:"horizontal",axisExpandable:!1,axisExpandCenter:null,axisExpandCount:0,axisExpandWidth:50,axisExpandRate:17,axisExpandDebounce:50,axisExpandSlideTriggerArea:[-.15,.05,.4],axisExpandTriggerOn:"click",parallelAxisDefault:null},t}(oie);var Jke=function(e){function t(t,n,r,i,o){var a=e.call(this,t,n,r)||this;return a.type=i||"value",a.axisIndex=o,a}return g2(t,e),t.prototype.isHorizontal=function(){return"horizontal"!==this.coordinateSystem.getModel().get("layout")},t}(_ve);const eCe=Jke;function tCe(e,t,n,r,i,o){e=e||0;var a=n[1]-n[0];if(null!=i&&(i=rCe(i,[0,a])),null!=o&&(o=Math.max(o,null!=i?i:0)),"all"===r){var s=Math.abs(t[1]-t[0]);s=rCe(s,[0,a]),i=o=rCe(s,[i,o]),r=0}t[0]=rCe(t[0],n),t[1]=rCe(t[1],n);var l=nCe(t,r);t[r]+=e;var u,c=i||0,f=n.slice();return l.sign<0?f[0]+=c:f[1]-=c,t[r]=rCe(t[r],f),u=nCe(t,r),null!=i&&(u.sign!==l.sign||u.span<i)&&(t[1-r]=t[r]+l.sign*i),u=nCe(t,r),null!=o&&u.span>o&&(t[1-r]=t[r]+u.sign*o),t}function nCe(e,t){var n=e[t]-e[1-t];return{span:Math.abs(n),sign:n>0?-1:n<0?1:t?-1:1}}function rCe(e,t){return Math.min(null!=t[1]?t[1]:1/0,Math.max(null!=t[0]?t[0]:-1/0,e))}var iCe=q2,oCe=Math.min,aCe=Math.max,sCe=Math.floor,lCe=Math.ceil,uCe=n9,cCe=Math.PI,fCe=function(){function e(e,t,n){this.type="parallel",this._axesMap=k3(),this._axesLayout={},this.dimensions=e.dimensions,this._model=e,this._init(e,t,n)}return e.prototype._init=function(e,t,n){var r=e.dimensions,i=e.parallelAxisIndex;iCe(r,(function(e,n){var r=i[n],o=t.getComponent("parallelAxis",r),a=this._axesMap.set(e,new eCe(e,Qbe(o),[0,0],o.get("type"),r)),s="category"===a.type;a.onBand=s&&o.get("boundaryGap"),a.inverse=o.get("inverse"),o.axis=a,a.model=o,a.coordinateSystem=o.coordinateSystem=this}),this)},e.prototype.update=function(e,t){this._updateAxesFromSeries(this._model,e)},e.prototype.containPoint=function(e){var t=this._makeLayoutInfo(),n=t.axisBase,r=t.layoutBase,i=t.pixelDimIndex,o=e[1-i],a=e[i];return o>=n&&o<=n+t.axisLength&&a>=r&&a<=r+t.layoutLength},e.prototype.getModel=function(){return this._model},e.prototype._updateAxesFromSeries=function(e,t){t.eachSeries((function(n){if(e.contains(n,t)){var r=n.getData();iCe(this.dimensions,(function(e){var t=this._axesMap.get(e);t.scale.unionExtentFromData(r,r.mapDimension(e)),Zbe(t.scale,t.model)}),this)}}),this)},e.prototype.resize=function(e,t){this._rect=Zre(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()}),this._layoutAxes()},e.prototype.getRect=function(){return this._rect},e.prototype._makeLayoutInfo=function(){var e,t=this._model,n=this._rect,r=["x","y"],i=["width","height"],o=t.get("layout"),a="horizontal"===o?0:1,s=n[i[a]],l=[0,s],u=this.dimensions.length,c=hCe(t.get("axisExpandWidth"),l),f=hCe(t.get("axisExpandCount")||0,[0,u]),h=t.get("axisExpandable")&&u>3&&u>f&&f>1&&c>0&&s>0,d=t.get("axisExpandWindow");d?(e=hCe(d[1]-d[0],l),d[1]=d[0]+e):(e=hCe(c*(f-1),l),(d=[c*(t.get("axisExpandCenter")||sCe(u/2))-e/2])[1]=d[0]+e);var p=(s-e)/(u-f);p<3&&(p=0);var g=[sCe(uCe(d[0]/c,1))+1,lCe(uCe(d[1]/c,1))-1],m=p/c*d[0];return{layout:o,pixelDimIndex:a,layoutBase:n[r[a]],layoutLength:s,axisBase:n[r[1-a]],axisLength:n[i[1-a]],axisExpandable:h,axisExpandWidth:c,axisCollapseWidth:p,axisExpandWindow:d,axisCount:u,winInnerIndices:g,axisExpandWindow0Pos:m}},e.prototype._layoutAxes=function(){var e=this._rect,t=this._axesMap,n=this.dimensions,r=this._makeLayoutInfo(),i=r.layout;t.each((function(e){var t=[0,r.axisLength],n=e.inverse?1:0;e.setExtent(t[n],t[1-n])})),iCe(n,(function(t,n){var o=(r.axisExpandable?pCe:dCe)(n,r),a={horizontal:{x:o.position,y:r.axisLength},vertical:{x:0,y:o.position}},s={horizontal:cCe/2,vertical:0},l=[a[i].x+e.x,a[i].y+e.y],u=s[i],c=[1,0,0,1,0,0];M5(c,c,u),I5(c,c,l),this._axesLayout[t]={position:l,rotation:u,transform:c,axisNameAvailableWidth:o.axisNameAvailableWidth,axisLabelShow:o.axisLabelShow,nameTruncateMaxWidth:o.nameTruncateMaxWidth,tickDirection:1,labelDirection:1}}),this)},e.prototype.getAxis=function(e){return this._axesMap.get(e)},e.prototype.dataToPoint=function(e,t){return this.axisCoordToPoint(this._axesMap.get(t).dataToCoord(e),t)},e.prototype.eachActiveState=function(e,t,n,r){null==n&&(n=0),null==r&&(r=e.count());var i=this._axesMap,o=this.dimensions,a=[],s=[];q2(o,(function(t){a.push(e.mapDimension(t)),s.push(i.get(t).model)}));for(var l=this.hasAxisBrushed(),u=n;u<r;u++){var c=void 0;if(l){c="active";for(var f=e.getValues(a,u),h=0,d=o.length;h<d;h++){if("inactive"===s[h].getActiveState(f[h])){c="inactive";break}}}else c="normal";t(c,u)}},e.prototype.hasAxisBrushed=function(){for(var e=this.dimensions,t=this._axesMap,n=!1,r=0,i=e.length;r<i;r++)"normal"!==t.get(e[r]).model.getActiveState()&&(n=!0);return n},e.prototype.axisCoordToPoint=function(e,t){return Ule([e,0],this._axesLayout[t].transform)},e.prototype.getAxisLayout=function(e){return z2(this._axesLayout[e])},e.prototype.getSlidedAxisExpandWindow=function(e){var t=this._makeLayoutInfo(),n=t.pixelDimIndex,r=t.axisExpandWindow.slice(),i=r[1]-r[0],o=[0,t.axisExpandWidth*(t.axisCount-1)];if(!this.containPoint(e))return{behavior:"none",axisExpandWindow:r};var a,s=e[n]-t.layoutBase-t.axisExpandWindow0Pos,l="slide",u=t.axisCollapseWidth,c=this._model.get("axisExpandSlideTriggerArea"),f=null!=c[0];if(u)f&&u&&s<i*c[0]?(l="jump",a=s-i*c[2]):f&&u&&s>i*(1-c[0])?(l="jump",a=s-i*(1-c[2])):(a=s-i*c[1])>=0&&(a=s-i*(1-c[1]))<=0&&(a=0),(a*=t.axisExpandWidth/u)?tCe(a,r,o,"all"):l="none";else{var h=r[1]-r[0];(r=[aCe(0,o[1]*s/h-h/2)])[1]=oCe(o[1],r[0]+h),r[0]=r[1]-h}return{axisExpandWindow:r,behavior:l}},e}();function hCe(e,t){return oCe(aCe(e,t[0]),t[1])}function dCe(e,t){var n=t.layoutLength/(t.axisCount-1);return{position:n*e,axisNameAvailableWidth:n,axisLabelShow:!0}}function pCe(e,t){var n,r,i=t.layoutLength,o=t.axisExpandWidth,a=t.axisCount,s=t.axisCollapseWidth,l=t.winInnerIndices,u=s,c=!1;return e<l[0]?(n=e*s,r=s):e<=l[1]?(n=t.axisExpandWindow0Pos+e*o-t.axisExpandWindow[0],u=o,c=!0):(n=i-(a-1-e)*s,r=s),{position:n,axisNameAvailableWidth:u,axisLabelShow:c,nameTruncateMaxWidth:r}}const gCe=fCe;const mCe={create:function(e,t){var n=[];return e.eachComponent("parallel",(function(r,i){var o=new gCe(r,e,t);o.name="parallel_"+i,o.resize(r,t),r.coordinateSystem=o,o.model=r,n.push(o)})),e.eachSeries((function(e){if("parallel"===e.get("coordinateSystem")){var t=e.getReferringComponents("parallel",V9).models[0];e.coordinateSystem=t.coordinateSystem}})),n}};var bCe=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.activeIntervals=[],n}return g2(t,e),t.prototype.getAreaSelectStyle=function(){return n7([["fill","color"],["lineWidth","borderWidth"],["stroke","borderColor"],["width","width"],["opacity","opacity"]])(this.getModel("areaSelectStyle"))},t.prototype.setActiveIntervals=function(e){var t=this.activeIntervals=z2(e);if(t)for(var n=t.length-1;n>=0;n--)r9(t[n])},t.prototype.getActiveState=function(e){var t=this.activeIntervals;if(!t.length)return"normal";if(null==e||isNaN(+e))return"inactive";if(1===t.length){var n=t[0];if(n[0]<=e&&e<=n[1])return"active"}else for(var r=0,i=t.length;r<i;r++)if(t[r][0]<=e&&e<=t[r][1])return"active";return"inactive"},t}(oie);W2(bCe,Zme);const vCe=bCe;var yCe=!0,wCe=Math.min,xCe=Math.max,_Ce=Math.pow,SCe="globalPan",kCe={w:[0,0],e:[0,1],n:[1,0],s:[1,1]},CCe={w:"ew",e:"ew",n:"ns",s:"ns",ne:"nesw",sw:"nesw",nw:"nwse",se:"nwse"},ECe={brushStyle:{lineWidth:2,stroke:"rgba(210,219,238,0.3)",fill:"#D2DBEE"},transformable:!0,brushMode:"single",removeOnClick:!1},ICe=0,MCe=function(e){function t(t){var n=e.call(this)||this;return n._track=[],n._covers=[],n._handlers={},n._zr=t,n.group=new X8,n._uid="brushController_"+ICe++,q2(tEe,(function(e,t){this._handlers[t]=Q2(e,this)}),n),n}return g2(t,e),t.prototype.enableBrush=function(e){return this._brushType&&this._doDisableBrush(),e.brushType&&this._doEnableBrush(e),this},t.prototype._doEnableBrush=function(e){var t=this._zr;this._enableGlobalPan||function(e,t,n){Pye(e)[t]=n}(t,SCe,this._uid),q2(this._handlers,(function(e,n){t.on(n,e)})),this._brushType=e.brushType,this._brushOption=B2(z2(ECe),e,!0)},t.prototype._doDisableBrush=function(){var e=this._zr;!function(e,t,n){var r=Pye(e);r[t]===n&&(r[t]=null)}(e,SCe,this._uid),q2(this._handlers,(function(t,n){e.off(n,t)})),this._brushType=this._brushOption=null},t.prototype.setPanels=function(e){if(e&&e.length){var t=this._panels={};q2(e,(function(e){t[e.panelId]=z2(e)}))}else this._panels=null;return this},t.prototype.mount=function(e){e=e||{},this._enableGlobalPan=e.enableGlobalPan;var t=this.group;return this._zr.add(t),t.attr({x:e.x||0,y:e.y||0,rotation:e.rotation||0,scaleX:e.scaleX||1,scaleY:e.scaleY||1}),this._transform=t.getLocalTransform(),this},t.prototype.updateCovers=function(e){e=X2(e,(function(e){return B2(z2(ECe),e,!0)}));var t=this._covers,n=this._covers=[],r=this,i=this._creatingCover;return new fpe(t,e,(function(e,t){return o(e.__brushOption,t)}),o).add(a).update(a).remove((function(e){t[e]!==i&&r.group.remove(t[e])})).execute(),this;function o(e,t){return(null!=e.id?e.id:"\0-brush-index-"+t)+"-"+e.brushType}function a(o,a){var s=e[o];if(null!=a&&t[a]===i)n[o]=t[a];else{var l=n[o]=null!=a?(t[a].__brushOption=s,t[a]):ACe(r,TCe(r,s));DCe(r,l)}}},t.prototype.unmount=function(){return this.enableBrush(!1),jCe(this),this._zr.remove(this.group),this},t.prototype.dispose=function(){this.unmount(),this.off()},t}(t5);function TCe(e,t){var n=rEe[t.brushType].createCover(e,t);return n.__brushOption=t,OCe(n,t),e.group.add(n),n}function ACe(e,t){var n=RCe(t);return n.endCreating&&(n.endCreating(e,t),OCe(t,t.__brushOption)),t}function PCe(e,t){var n=t.__brushOption;RCe(t).updateCoverShape(e,t,n.range,n)}function OCe(e,t){var n=t.z;null==n&&(n=1e4),e.traverse((function(e){e.z=n,e.z2=n}))}function DCe(e,t){RCe(t).updateCommon(e,t),PCe(e,t)}function RCe(e){return rEe[e.__brushOption.brushType]}function LCe(e,t,n){var r,i=e._panels;if(!i)return yCe;var o=e._transform;return q2(i,(function(e){e.isTargetByCursor(t,n,o)&&(r=e)})),r}function NCe(e,t){var n=e._panels;if(!n)return yCe;var r=t.__brushOption.panelId;return null!=r?n[r]:yCe}function jCe(e){var t=e._covers,n=t.length;return q2(t,(function(t){e.group.remove(t)}),e),t.length=0,!!n}function FCe(e,t){var n=X2(e._covers,(function(e){var t=e.__brushOption,n=z2(t.range);return{brushType:t.brushType,panelId:t.panelId,range:n}}));e.trigger("brush",{areas:n,isEnd:!!t.isEnd,removeOnClick:!!t.removeOnClick})}function zCe(e){var t=e.length-1;return t<0&&(t=0),[e[0],e[t]]}function BCe(e,t,n,r){var i=new X8;return i.add(new qee({name:"main",style:GCe(n),silent:!0,draggable:!0,cursor:"move",drift:J2(qCe,e,t,i,["n","s","w","e"]),ondragend:J2(FCe,t,{isEnd:!0})})),q2(r,(function(n){i.add(new qee({name:n.join(""),style:{opacity:0},draggable:!0,silent:!0,invisible:!0,drift:J2(qCe,e,t,i,n),ondragend:J2(FCe,t,{isEnd:!0})}))})),i}function VCe(e,t,n,r){var i=r.brushStyle.lineWidth||0,o=xCe(i,6),a=n[0][0],s=n[1][0],l=a-i/2,u=s-i/2,c=n[0][1],f=n[1][1],h=c-o+i/2,d=f-o+i/2,p=c-a,g=f-s,m=p+i,b=g+i;HCe(e,t,"main",a,s,p,g),r.transformable&&(HCe(e,t,"w",l,u,o,b),HCe(e,t,"e",h,u,o,b),HCe(e,t,"n",l,u,m,o),HCe(e,t,"s",l,d,m,o),HCe(e,t,"nw",l,u,o,o),HCe(e,t,"ne",h,u,o,o),HCe(e,t,"sw",l,d,o,o),HCe(e,t,"se",h,d,o,o))}function $Ce(e,t){var n=t.__brushOption,r=n.transformable,i=t.childAt(0);i.useStyle(GCe(n)),i.attr({silent:!r,cursor:r?"move":"default"}),q2([["w"],["e"],["n"],["s"],["s","e"],["s","w"],["n","e"],["n","w"]],(function(n){var i=t.childOfName(n.join("")),o=1===n.length?UCe(e,n[0]):function(e,t){var n=[UCe(e,t[0]),UCe(e,t[1])];return("e"===n[0]||"w"===n[0])&&n.reverse(),n.join("")}(e,n);i&&i.attr({silent:!r,invisible:!r,cursor:r?CCe[o]+"-resize":null})}))}function HCe(e,t,n,r,i,o,a){var s=t.childOfName(n);s&&s.setShape(function(e){var t=wCe(e[0][0],e[1][0]),n=wCe(e[0][1],e[1][1]),r=xCe(e[0][0],e[1][0]),i=xCe(e[0][1],e[1][1]);return{x:t,y:n,width:r-t,height:i-n}}(KCe(e,t,[[r,i],[r+o,i+a]])))}function GCe(e){return H2({strokeNoScale:!0},e.brushStyle)}function WCe(e,t,n,r){var i=[wCe(e,n),wCe(t,r)],o=[xCe(e,n),xCe(t,r)];return[[i[0],o[0]],[i[1],o[1]]]}function UCe(e,t){var n=qle({w:"left",e:"right",n:"top",s:"bottom"}[t],function(e){return Wle(e.group)}(e));return{left:"w",right:"e",top:"n",bottom:"s"}[n]}function qCe(e,t,n,r,i,o){var a=n.__brushOption,s=e.toRectRange(a.range),l=YCe(t,i,o);q2(r,(function(e){var t=kCe[e];s[t[0]][t[1]]+=l[t[0]]})),a.range=e.fromRectRange(WCe(s[0][0],s[1][0],s[0][1],s[1][1])),DCe(t,n),FCe(t,{isEnd:!1})}function XCe(e,t,n,r){var i=t.__brushOption.range,o=YCe(e,n,r);q2(i,(function(e){e[0]+=o[0],e[1]+=o[1]})),DCe(e,t),FCe(e,{isEnd:!1})}function YCe(e,t,n){var r=e.group,i=r.transformCoordToLocal(t,n),o=r.transformCoordToLocal(0,0);return[i[0]-o[0],i[1]-o[1]]}function KCe(e,t,n){var r=NCe(e,t);return r&&r!==yCe?r.clipPath(n,e._transform):z2(n)}function ZCe(e){var t=e.event;t.preventDefault&&t.preventDefault()}function QCe(e,t,n){return e.childOfName("main").contain(t,n)}function JCe(e,t,n,r){var i,o=e._creatingCover,a=e._creatingPanel,s=e._brushOption;if(e._track.push(n.slice()),function(e){var t=e._track;if(!t.length)return!1;var n=t[t.length-1],r=t[0],i=n[0]-r[0],o=n[1]-r[1];return _Ce(i*i+o*o,.5)>6}(e)||o){if(a&&!o){"single"===s.brushMode&&jCe(e);var l=z2(s);l.brushType=eEe(l.brushType,a),l.panelId=a===yCe?null:a.panelId,o=e._creatingCover=TCe(e,l),e._covers.push(o)}if(o){var u=rEe[eEe(e._brushType,a)];o.__brushOption.range=u.getCreatingRange(KCe(e,o,e._track)),r&&(ACe(e,o),u.updateCommon(e,o)),PCe(e,o),i={isEnd:r}}}else r&&"single"===s.brushMode&&s.removeOnClick&&LCe(e,t,n)&&jCe(e)&&(i={isEnd:r,removeOnClick:!0});return i}function eEe(e,t){return"auto"===e?t.defaultBrushType:e}var tEe={mousedown:function(e){if(this._dragging)nEe(this,e);else if(!e.target||!e.target.draggable){ZCe(e);var t=this.group.transformCoordToLocal(e.offsetX,e.offsetY);this._creatingCover=null,(this._creatingPanel=LCe(this,e,t))&&(this._dragging=!0,this._track=[t.slice()])}},mousemove:function(e){var t=e.offsetX,n=e.offsetY,r=this.group.transformCoordToLocal(t,n);if(function(e,t,n){if(e._brushType&&!function(e,t,n){var r=e._zr;return t<0||t>r.getWidth()||n<0||n>r.getHeight()}(e,t.offsetX,t.offsetY)){var r=e._zr,i=e._covers,o=LCe(e,t,n);if(!e._dragging)for(var a=0;a<i.length;a++){var s=i[a].__brushOption;if(o&&(o===yCe||s.panelId===o.panelId)&&rEe[s.brushType].contain(i[a],n[0],n[1]))return}o&&r.setCursorStyle("crosshair")}}(this,e,r),this._dragging){ZCe(e);var i=JCe(this,e,r,!1);i&&FCe(this,i)}},mouseup:function(e){nEe(this,e)}};function nEe(e,t){if(e._dragging){ZCe(t);var n=t.offsetX,r=t.offsetY,i=e.group.transformCoordToLocal(n,r),o=JCe(e,t,i,!0);e._dragging=!1,e._track=[],e._creatingCover=null,o&&FCe(e,o)}}var rEe={lineX:iEe(0),lineY:iEe(1),rect:{createCover:function(e,t){function n(e){return e}return BCe({toRectRange:n,fromRectRange:n},e,t,[["w"],["e"],["n"],["s"],["s","e"],["s","w"],["n","e"],["n","w"]])},getCreatingRange:function(e){var t=zCe(e);return WCe(t[1][0],t[1][1],t[0][0],t[0][1])},updateCoverShape:function(e,t,n,r){VCe(e,t,n,r)},updateCommon:$Ce,contain:QCe},polygon:{createCover:function(e,t){var n=new X8;return n.add(new ele({name:"main",style:GCe(t),silent:!0})),n},getCreatingRange:function(e){return e},endCreating:function(e,t){t.remove(t.childAt(0)),t.add(new Zse({name:"main",draggable:!0,drift:J2(XCe,e,t),ondragend:J2(FCe,e,{isEnd:!0})}))},updateCoverShape:function(e,t,n,r){t.childAt(0).setShape({points:KCe(e,t,n)})},updateCommon:$Ce,contain:QCe}};function iEe(e){return{createCover:function(t,n){return BCe({toRectRange:function(t){var n=[t,[0,100]];return e&&n.reverse(),n},fromRectRange:function(t){return t[e]}},t,n,[[["w"],["e"]],[["n"],["s"]]][e])},getCreatingRange:function(t){var n=zCe(t);return[wCe(n[0][e],n[1][e]),xCe(n[0][e],n[1][e])]},updateCoverShape:function(t,n,r,i){var o,a=NCe(t,n);if(a!==yCe&&a.getLinearBrushOtherExtent)o=a.getLinearBrushOtherExtent(e);else{var s=t._zr;o=[0,[s.getWidth(),s.getHeight()][1-e]]}var l=[r,o];e&&l.reverse(),VCe(t,n,l,i)},updateCommon:$Ce,contain:QCe}}const oEe=MCe;function aEe(e){return e=uEe(e),function(t){return Kle(t,e)}}function sEe(e,t){return e=uEe(e),function(n){var r=null!=t?t:n,i=r?e.width:e.height,o=r?e.x:e.y;return[o,o+(i||0)]}}function lEe(e,t,n){var r=uEe(e);return function(e,i){return r.contain(i[0],i[1])&&!Vye(e,t,n)}}function uEe(e){return $5.create(e)}var cEe=["axisLine","axisTickLabel","axisName"],fEe=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return g2(t,e),t.prototype.init=function(t,n){e.prototype.init.apply(this,arguments),(this._brushController=new oEe(n.getZr())).on("brush",Q2(this._onBrush,this))},t.prototype.render=function(e,t,n,r){if(!function(e,t,n){return n&&"axisAreaSelect"===n.type&&t.findComponents({mainType:"parallelAxis",query:n})[0]===e}(e,t,r)){this.axisModel=e,this.api=n,this.group.removeAll();var i=this._axisGroup;if(this._axisGroup=new X8,this.group.add(this._axisGroup),e.get("show")){var o=function(e,t){return t.getComponent("parallel",e.get("parallelIndex"))}(e,t),a=o.coordinateSystem,s=e.getAreaSelectStyle(),l=s.width,u=e.axis.dim,c=$2({strokeContainThreshold:l},a.getAxisLayout(u)),f=new $ve(e,c);q2(cEe,f.add,f),this._axisGroup.add(f.getGroup()),this._refreshBrushController(c,s,e,o,l,n),Yle(i,this._axisGroup,e)}}},t.prototype._refreshBrushController=function(e,t,n,r,i,o){var a=n.axis.getExtent(),s=a[1]-a[0],l=Math.min(30,.1*Math.abs(s)),u=$5.create({x:a[0],y:-i/2,width:s,height:i});u.x-=l,u.width+=2*l,this._brushController.mount({enableGlobalPan:!0,rotation:e.rotation,x:e.position[0],y:e.position[1]}).setPanels([{panelId:"pl",clipPath:aEe(u),isTargetByCursor:lEe(u,o,r),getLinearBrushOtherExtent:sEe(u,0)}]).enableBrush({brushType:"lineX",brushStyle:t,removeOnClick:!0}).updateCovers(function(e){var t=e.axis;return X2(e.activeIntervals,(function(e){return{brushType:"lineX",panelId:"pl",range:[t.dataToCoord(e[0],!0),t.dataToCoord(e[1],!0)]}}))}(n))},t.prototype._onBrush=function(e){var t=e.areas,n=this.axisModel,r=n.axis,i=X2(t,(function(e){return[r.coordToData(e.range[0],!0),r.coordToData(e.range[1],!0)]}));(!n.option.realtime===e.isEnd||e.removeOnClick)&&this.api.dispatchAction({type:"axisAreaSelect",parallelAxisId:n.id,intervals:i})},t.prototype.dispose=function(){this._brushController.dispose()},t.type="parallelAxis",t}(tse);const hEe=fEe;var dEe={type:"axisAreaSelect",event:"axisAreaSelected"};var pEe={type:"value",areaSelectStyle:{width:20,borderWidth:1,borderColor:"rgba(160,197,232)",color:"rgba(160,197,232)",opacity:.3},realtime:!0,z:10};function gEe(e){e.registerComponentView(Zke),e.registerComponentModel(Qke),e.registerCoordinateSystem("parallel",mCe),e.registerPreprocessor(qke),e.registerComponentModel(vCe),e.registerComponentView(hEe),lbe(e,"parallel",vCe,pEe),function(e){e.registerAction(dEe,(function(e,t){t.eachComponent({mainType:"parallelAxis",query:e},(function(t){t.axis.model.setActiveIntervals(e.intervals)}))})),e.registerAction("parallelAxisExpand",(function(e,t){t.eachComponent({mainType:"parallel",query:e},(function(t){t.setAxisExpand(e)}))}))}(e)}var mEe=function(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.cpx1=0,this.cpy1=0,this.cpx2=0,this.cpy2=0,this.extent=0},bEe=function(e){function t(t){return e.call(this,t)||this}return g2(t,e),t.prototype.getDefaultShape=function(){return new mEe},t.prototype.buildPath=function(e,t){var n=t.extent;e.moveTo(t.x1,t.y1),e.bezierCurveTo(t.cpx1,t.cpy1,t.cpx2,t.cpy2,t.x2,t.y2),"vertical"===t.orient?(e.lineTo(t.x2+n,t.y2),e.bezierCurveTo(t.cpx2+n,t.cpy2,t.cpx1+n,t.cpy1,t.x1+n,t.y1)):(e.lineTo(t.x2,t.y2+n),e.bezierCurveTo(t.cpx2,t.cpy2+n,t.cpx1,t.cpy1+n,t.x1,t.y1+n)),e.closePath()},t.prototype.highlight=function(){Vte(this)},t.prototype.downplay=function(){$te(this)},t}(Oee),vEe=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n._focusAdjacencyDisabled=!1,n}return g2(t,e),t.prototype.render=function(e,t,n){var r=this,i=e.getGraph(),o=this.group,a=e.layoutInfo,s=a.width,l=a.height,u=e.getData(),c=e.getData("edge"),f=e.get("orient");this._model=e,o.removeAll(),o.x=a.x,o.y=a.y,i.eachEdge((function(t){var n=new bEe,r=cte(n);r.dataIndex=t.dataIndex,r.seriesIndex=e.seriesIndex,r.dataType="edge";var i,a,u,h,d,p,g,m,b=t.getModel(),v=b.getModel("lineStyle"),y=v.get("curveness"),w=t.node1.getLayout(),x=t.node1.getModel(),_=x.get("localX"),S=x.get("localY"),k=t.node2.getLayout(),C=t.node2.getModel(),E=C.get("localX"),I=C.get("localY"),M=t.getLayout();switch(n.shape.extent=Math.max(1,M.dy),n.shape.orient=f,"vertical"===f?(i=(null!=_?_*s:w.x)+M.sy,a=(null!=S?S*l:w.y)+w.dy,u=(null!=E?E*s:k.x)+M.ty,d=i,p=a*(1-y)+(h=null!=I?I*l:k.y)*y,g=u,m=a*y+h*(1-y)):(i=(null!=_?_*s:w.x)+w.dx,a=(null!=S?S*l:w.y)+M.sy,d=i*(1-y)+(u=null!=E?E*s:k.x)*y,p=a,g=i*y+u*(1-y),m=h=(null!=I?I*l:k.y)+M.ty),n.setShape({x1:i,y1:a,x2:u,y2:h,cpx1:d,cpy1:p,cpx2:g,cpy2:m}),n.useStyle(v.getItemStyle()),n.style.fill){case"source":n.style.fill=t.node1.getVisual("color"),n.style.decal=t.node1.getVisual("style").decal;break;case"target":n.style.fill=t.node2.getVisual("color"),n.style.decal=t.node2.getVisual("style").decal;break;case"gradient":var T=t.node1.getVisual("color"),A=t.node2.getVisual("color");n3(T)&&n3(A)&&(n.style.fill=new ble(0,0,+("horizontal"===f),+("vertical"===f),[{color:T,offset:0},{color:A,offset:1}]))}Sne(n,kne(b,"edgeLabel"),{labelFetcher:e,labelDataIndex:t.dataIndex,defaultText:""+b.get("value")}),n.setTextConfig({position:"inside"});var P=b.getModel("emphasis");one(n,b,"lineStyle",(function(e){return e.getItemStyle()})),o.add(n),c.setItemGraphicEl(t.dataIndex,n);var O=P.get("focus");tne(n,"adjacency"===O?t.getAdjacentDataIndices():O,P.get("blurScope"),P.get("disabled")),cte(n).dataType="edge"})),i.eachNode((function(t){var n=t.getLayout(),r=t.getModel(),i=r.get("localX"),a=r.get("localY"),c=r.getModel("emphasis"),f=new qee({shape:{x:null!=i?i*s:n.x,y:null!=a?a*l:n.y,width:n.dx,height:n.dy},style:r.getModel("itemStyle").getItemStyle(),z2:10});Sne(f,kne(r),{labelFetcher:e,labelDataIndex:t.dataIndex,defaultText:t.id}),f.disableLabelAnimation=!0,f.setStyle("fill",t.getVisual("color")),f.setStyle("decal",t.getVisual("style").decal),one(f,r),o.add(f),u.setItemGraphicEl(t.dataIndex,f),cte(f).dataType="node";var h=c.get("focus");tne(f,"adjacency"===h?t.getAdjacentDataIndices():h,c.get("blurScope"),c.get("disabled"))})),u.eachItemGraphicEl((function(t,i){u.getItemModel(i).get("draggable")&&(t.drift=function(t,o){r._focusAdjacencyDisabled=!0,this.shape.x+=t,this.shape.y+=o,this.dirty(),n.dispatchAction({type:"dragNode",seriesId:e.id,dataIndex:u.getRawIndex(i),localX:this.shape.x/s,localY:this.shape.y/l})},t.ondragend=function(){r._focusAdjacencyDisabled=!1},t.draggable=!0,t.cursor="move")})),!this._data&&e.isAnimationEnabled()&&o.setClipPath(function(e,t,n){var r=new qee({shape:{x:e.x-10,y:e.y-10,width:0,height:e.height+20}});return pne(r,{shape:{width:e.width+20}},t,n),r}(o.getBoundingRect(),e,(function(){o.removeClipPath()}))),this._data=e.getData()},t.prototype.dispose=function(){},t.type="sankey",t}(due);const yEe=vEe;var wEe=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return g2(t,e),t.prototype.getInitialData=function(e,t){var n=e.edges||e.links,r=e.data||e.nodes,i=e.levels;this.levelModels=[];for(var o=this.levelModels,a=0;a<i.length;a++)null!=i[a].depth&&i[a].depth>=0&&(o[i[a].depth]=new Yne(i[a],this,t));if(r&&n){var s=bke(r,n,this,!0,(function(e,t){e.wrapMethod("getItemModel",(function(e,t){var n=e.parentModel,r=n.getData().getItemLayout(t);if(r){var i=r.depth,o=n.levelModels[i];o&&(e.parentModel=o)}return e})),t.wrapMethod("getItemModel",(function(e,t){var n=e.parentModel,r=n.getGraph().getEdgeByIndex(t).node1.getLayout();if(r){var i=r.depth,o=n.levelModels[i];o&&(e.parentModel=o)}return e}))}));return s.data}},t.prototype.setNodePosition=function(e,t){var n=(this.option.data||this.option.nodes)[e];n.localX=t[0],n.localY=t[1]},t.prototype.getGraph=function(){return this.getData().graph},t.prototype.getEdgeData=function(){return this.getGraph().edgeData},t.prototype.formatTooltip=function(e,t,n){function r(e){return isNaN(e)||null==e}if("edge"===n){var i=this.getDataParams(e,n),o=i.data,a=i.value;return Aae("nameValue",{name:o.source+" -- "+o.target,value:a,noValue:r(a)})}var s=this.getGraph().getNodeByIndex(e).getLayout().value,l=this.getDataParams(e,n).data.name;return Aae("nameValue",{name:null!=l?l+"":null,value:s,noValue:r(s)})},t.prototype.optionUpdated=function(){},t.prototype.getDataParams=function(t,n){var r=e.prototype.getDataParams.call(this,t,n);if(null==r.value&&"node"===n){var i=this.getGraph().getNodeByIndex(t).getLayout().value;r.value=i}return r},t.type="series.sankey",t.defaultOption={z:2,coordinateSystem:"view",left:"5%",top:"5%",right:"20%",bottom:"5%",orient:"horizontal",nodeWidth:20,nodeGap:8,draggable:!0,layoutIterations:32,label:{show:!0,position:"right",fontSize:12},edgeLabel:{show:!1,fontSize:12},levels:[],nodeAlign:"justify",lineStyle:{color:"#314656",opacity:.2,curveness:.5},emphasis:{label:{show:!0},lineStyle:{opacity:.5}},select:{itemStyle:{borderColor:"#212121"}},animationEasing:"linear",animationDuration:1e3},t}(Jae);const xEe=wEe;function _Ee(e,t){e.eachSeriesByType("sankey",(function(e){var n=e.get("nodeWidth"),r=e.get("nodeGap"),i=function(e,t){return Zre(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()})}(e,t);e.layoutInfo=i;var o=i.width,a=i.height,s=e.getGraph(),l=s.nodes,u=s.edges;!function(e){q2(e,(function(e){var t=OEe(e.outEdges,PEe),n=OEe(e.inEdges,PEe),r=e.getValue()||0,i=Math.max(t,n,r);e.setLayout({value:i},!0)}))}(l);var c=K2(l,(function(e){return 0===e.getLayout().value}));!function(e,t,n,r,i,o,a,s,l){(function(e,t,n,r,i,o,a){for(var s=[],l=[],u=[],c=[],f=0,h=0;h<t.length;h++)s[h]=1;for(h=0;h<e.length;h++)l[h]=e[h].inEdges.length,0===l[h]&&u.push(e[h]);var d=-1;for(;u.length;){for(var p=0;p<u.length;p++){var g=u[p],m=g.hostGraph.data.getRawDataItem(g.dataIndex),b=null!=m.depth&&m.depth>=0;b&&m.depth>d&&(d=m.depth),g.setLayout({depth:b?m.depth:f},!0),"vertical"===o?g.setLayout({dy:n},!0):g.setLayout({dx:n},!0);for(var v=0;v<g.outEdges.length;v++){var y=g.outEdges[v];s[t.indexOf(y)]=0;var w=y.node2;0==--l[e.indexOf(w)]&&c.indexOf(w)<0&&c.push(w)}}++f,u=c,c=[]}for(h=0;h<s.length;h++)if(1===s[h])throw new Error("Sankey is a DAG, the original data has cycle!");var x=d>f-1?d:f-1;a&&"left"!==a&&function(e,t,n,r){if("right"===t){for(var i=[],o=e,a=0;o.length;){for(var s=0;s<o.length;s++){var l=o[s];l.setLayout({skNodeHeight:a},!0);for(var u=0;u<l.inEdges.length;u++){var c=l.inEdges[u];i.indexOf(c.node1)<0&&i.push(c.node1)}}o=i,i=[],++a}q2(e,(function(e){SEe(e)||e.setLayout({depth:Math.max(0,r-e.getLayout().skNodeHeight)},!0)}))}else"justify"===t&&function(e,t){q2(e,(function(e){SEe(e)||e.outEdges.length||e.setLayout({depth:t},!0)}))}(e,r)}(e,a,0,x);!function(e,t,n){q2(e,(function(e){var r=e.getLayout().depth*t;"vertical"===n?e.setLayout({y:r},!0):e.setLayout({x:r},!0)}))}(e,"vertical"===o?(i-n)/x:(r-n)/x,o)})(e,t,n,i,o,s,l),function(e,t,n,r,i,o,a){var s=function(e,t){var n=[],r="vertical"===t?"y":"x",i=W9(e,(function(e){return e.getLayout()[r]}));return i.keys.sort((function(e,t){return e-t})),q2(i.keys,(function(e){n.push(i.buckets.get(e))})),n}(e,a);(function(e,t,n,r,i,o){var a=1/0;q2(e,(function(e){var t=e.length,s=0;q2(e,(function(e){s+=e.getLayout().value}));var l="vertical"===o?(r-(t-1)*i)/s:(n-(t-1)*i)/s;l<a&&(a=l)})),q2(e,(function(e){q2(e,(function(e,t){var n=e.getLayout().value*a;"vertical"===o?(e.setLayout({x:t},!0),e.setLayout({dx:n},!0)):(e.setLayout({y:t},!0),e.setLayout({dy:n},!0))}))})),q2(t,(function(e){var t=+e.getValue()*a;e.setLayout({dy:t},!0)}))})(s,t,n,r,i,a),kEe(s,i,n,r,a);for(var l=1;o>0;o--)CEe(s,l*=.99,a),kEe(s,i,n,r,a),DEe(s,l,a),kEe(s,i,n,r,a)}(e,t,o,i,r,a,s),function(e,t){var n="vertical"===t?"x":"y";q2(e,(function(e){e.outEdges.sort((function(e,t){return e.node2.getLayout()[n]-t.node2.getLayout()[n]})),e.inEdges.sort((function(e,t){return e.node1.getLayout()[n]-t.node1.getLayout()[n]}))})),q2(e,(function(e){var t=0,n=0;q2(e.outEdges,(function(e){e.setLayout({sy:t},!0),t+=e.getLayout().dy})),q2(e.inEdges,(function(e){e.setLayout({ty:n},!0),n+=e.getLayout().dy}))}))}(e,s)}(l,u,n,r,o,a,0!==c.length?0:e.get("layoutIterations"),e.get("orient"),e.get("nodeAlign"))}))}function SEe(e){var t=e.hostGraph.data.getRawDataItem(e.dataIndex);return null!=t.depth&&t.depth>=0}function kEe(e,t,n,r,i){var o="vertical"===i?"x":"y";q2(e,(function(e){var a,s,l;e.sort((function(e,t){return e.getLayout()[o]-t.getLayout()[o]}));for(var u=0,c=e.length,f="vertical"===i?"dx":"dy",h=0;h<c;h++)(l=u-(s=e[h]).getLayout()[o])>0&&(a=s.getLayout()[o]+l,"vertical"===i?s.setLayout({x:a},!0):s.setLayout({y:a},!0)),u=s.getLayout()[o]+s.getLayout()[f]+t;if((l=u-t-("vertical"===i?r:n))>0){a=s.getLayout()[o]-l,"vertical"===i?s.setLayout({x:a},!0):s.setLayout({y:a},!0),u=a;for(h=c-2;h>=0;--h)(l=(s=e[h]).getLayout()[o]+s.getLayout()[f]+t-u)>0&&(a=s.getLayout()[o]-l,"vertical"===i?s.setLayout({x:a},!0):s.setLayout({y:a},!0)),u=s.getLayout()[o]}}))}function CEe(e,t,n){q2(e.slice().reverse(),(function(e){q2(e,(function(e){if(e.outEdges.length){var r=OEe(e.outEdges,EEe,n)/OEe(e.outEdges,PEe);if(isNaN(r)){var i=e.outEdges.length;r=i?OEe(e.outEdges,IEe,n)/i:0}if("vertical"===n){var o=e.getLayout().x+(r-AEe(e,n))*t;e.setLayout({x:o},!0)}else{var a=e.getLayout().y+(r-AEe(e,n))*t;e.setLayout({y:a},!0)}}}))}))}function EEe(e,t){return AEe(e.node2,t)*e.getValue()}function IEe(e,t){return AEe(e.node2,t)}function MEe(e,t){return AEe(e.node1,t)*e.getValue()}function TEe(e,t){return AEe(e.node1,t)}function AEe(e,t){return"vertical"===t?e.getLayout().x+e.getLayout().dx/2:e.getLayout().y+e.getLayout().dy/2}function PEe(e){return e.getValue()}function OEe(e,t,n){for(var r=0,i=e.length,o=-1;++o<i;){var a=+t(e[o],n);isNaN(a)||(r+=a)}return r}function DEe(e,t,n){q2(e,(function(e){q2(e,(function(e){if(e.inEdges.length){var r=OEe(e.inEdges,MEe,n)/OEe(e.inEdges,PEe);if(isNaN(r)){var i=e.inEdges.length;r=i?OEe(e.inEdges,TEe,n)/i:0}if("vertical"===n){var o=e.getLayout().x+(r-AEe(e,n))*t;e.setLayout({x:o},!0)}else{var a=e.getLayout().y+(r-AEe(e,n))*t;e.setLayout({y:a},!0)}}}))}))}function REe(e){e.eachSeriesByType("sankey",(function(e){var t=e.getGraph(),n=t.nodes,r=t.edges;if(n.length){var i=1/0,o=-1/0;q2(n,(function(e){var t=e.getLayout().value;t<i&&(i=t),t>o&&(o=t)})),q2(n,(function(t){var n=new W_e({type:"color",mappingMethod:"linear",dataExtent:[i,o],visual:e.get("color")}).mapValueToVisual(t.getLayout().value),r=t.getModel().get(["itemStyle","color"]);null!=r?(t.setVisual("color",r),t.setVisual("style",{fill:r})):(t.setVisual("color",n),t.setVisual("style",{fill:n}))}))}r.length&&q2(r,(function(e){var t=e.getModel().get("lineStyle");e.setVisual("style",t)}))}))}var LEe=function(){function e(){}return e.prototype.getInitialData=function(e,t){var n,r,i=t.getComponent("xAxis",this.get("xAxisIndex")),o=t.getComponent("yAxis",this.get("yAxisIndex")),a=i.get("type"),s=o.get("type");"category"===a?(e.layout="horizontal",n=i.getOrdinalMeta(),r=!0):"category"===s?(e.layout="vertical",n=o.getOrdinalMeta(),r=!0):e.layout=e.layout||"horizontal";var l=["x","y"],u="horizontal"===e.layout?0:1,c=this._baseAxisDim=l[u],f=l[1-u],h=[i,o],d=h[u].get("type"),p=h[1-u].get("type"),g=e.data;if(g&&r){var m=[];q2(g,(function(e,t){var n;e3(e)?(n=e.slice(),e.unshift(t)):e3(e.value)?((n=$2({},e)).value=n.value.slice(),e.value.unshift(t)):n=e,m.push(n)})),e.data=m}var b=this.defaultValueDimensions,v=[{name:c,type:ppe(d),ordinalMeta:n,otherDims:{tooltip:!1,itemName:0},dimsDef:["base"]},{name:f,type:ppe(p),dimsDef:b.slice()}];return Nme(this,{coordDimensions:v,dimensionsCount:b.length+1,encodeDefaulter:J2(_ie,v,this)})},e.prototype.getBaseAxis=function(){var e=this._baseAxisDim;return this.ecModel.getComponent(e+"Axis",this.get(e+"AxisIndex")).axis},e}(),NEe=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.defaultValueDimensions=[{name:"min",defaultTooltip:!0},{name:"Q1",defaultTooltip:!0},{name:"median",defaultTooltip:!0},{name:"Q3",defaultTooltip:!0},{name:"max",defaultTooltip:!0}],n.visualDrawType="stroke",n}return g2(t,e),t.type="series.boxplot",t.dependencies=["xAxis","yAxis","grid"],t.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,layout:null,boxWidth:[7,50],itemStyle:{color:"#fff",borderWidth:1},emphasis:{scale:!0,itemStyle:{borderWidth:2,shadowBlur:5,shadowOffsetX:1,shadowOffsetY:1,shadowColor:"rgba(0,0,0,0.2)"}},animationDuration:800},t}(Jae);W2(NEe,LEe,!0);const jEe=NEe;var FEe=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return g2(t,e),t.prototype.render=function(e,t,n){var r=e.getData(),i=this.group,o=this._data;this._data||i.removeAll();var a="horizontal"===e.get("layout")?1:0;r.diff(o).add((function(e){if(r.hasValue(e)){var t=VEe(r.getItemLayout(e),r,e,a,!0);r.setItemGraphicEl(e,t),i.add(t)}})).update((function(e,t){var n=o.getItemGraphicEl(t);if(r.hasValue(e)){var s=r.getItemLayout(e);n?(yne(n),$Ee(s,n,r,e)):n=VEe(s,r,e,a),i.add(n),r.setItemGraphicEl(e,n)}else i.remove(n)})).remove((function(e){var t=o.getItemGraphicEl(e);t&&i.remove(t)})).execute(),this._data=r},t.prototype.remove=function(e){var t=this.group,n=this._data;this._data=null,n&&n.eachItemGraphicEl((function(e){e&&t.remove(e)}))},t.type="boxplot",t}(due),zEe=function(){},BEe=function(e){function t(t){var n=e.call(this,t)||this;return n.type="boxplotBoxPath",n}return g2(t,e),t.prototype.getDefaultShape=function(){return new zEe},t.prototype.buildPath=function(e,t){var n=t.points,r=0;for(e.moveTo(n[r][0],n[r][1]),r++;r<4;r++)e.lineTo(n[r][0],n[r][1]);for(e.closePath();r<n.length;r++)e.moveTo(n[r][0],n[r][1]),r++,e.lineTo(n[r][0],n[r][1])},t}(Oee);function VEe(e,t,n,r,i){var o=e.ends,a=new BEe({shape:{points:i?HEe(o,r,e):o}});return $Ee(e,a,t,n,i),a}function $Ee(e,t,n,i,o){var a=n.hostModel;(0,r[o?"initProps":"updateProps"])(t,{shape:{points:e.ends}},a,i),t.useStyle(n.getItemVisual(i,"style")),t.style.strokeNoScale=!0,t.z2=100;var s=n.getItemModel(i),l=s.getModel("emphasis");one(t,s),tne(t,l.get("focus"),l.get("blurScope"),l.get("disabled"))}function HEe(e,t,n){return X2(e,(function(e){return(e=e.slice())[t]=n.initBaseline,e}))}const GEe=FEe;var WEe=q2;function UEe(e){var t=function(e){var t=[],n=[];return e.eachSeriesByType("boxplot",(function(e){var r=e.getBaseAxis(),i=G2(n,r);i<0&&(i=n.length,n[i]=r,t[i]={axis:r,seriesModels:[]}),t[i].seriesModels.push(e)})),t}(e);WEe(t,(function(e){var t=e.seriesModels;t.length&&(!function(e){var t,n=e.axis,r=e.seriesModels,i=r.length,o=e.boxWidthList=[],a=e.boxOffsetList=[],s=[];if("category"===n.type)t=n.getBandWidth();else{var l=0;WEe(r,(function(e){l=Math.max(l,e.getData().count())}));var u=n.getExtent();t=Math.abs(u[1]-u[0])/l}WEe(r,(function(e){var n=e.get("boxWidth");e3(n)||(n=[n,n]),s.push([t9(n[0],t)||0,t9(n[1],t)||0])}));var c=.8*t-2,f=c/i*.3,h=(c-f*(i-1))/i,d=h/2-c/2;WEe(r,(function(e,t){a.push(d),d+=f+h,o.push(Math.min(Math.max(h,s[t][0]),s[t][1]))}))}(e),WEe(t,(function(t,n){!function(e,t,n){var r=e.coordinateSystem,i=e.getData(),o=n/2,a="horizontal"===e.get("layout")?0:1,s=1-a,l=["x","y"],u=i.mapDimension(l[a]),c=i.mapDimensionsAll(l[s]);if(null==u||c.length<5)return;for(var f=0;f<i.count();f++){var h=i.get(u,f),d=y(h,c[2],f),p=y(h,c[0],f),g=y(h,c[1],f),m=y(h,c[3],f),b=y(h,c[4],f),v=[];w(v,g,!1),w(v,m,!0),v.push(p,g,b,m),x(v,p),x(v,b),x(v,d),i.setItemLayout(f,{initBaseline:d[s],ends:v})}function y(e,n,o){var l,u=i.get(n,o),c=[];return c[a]=e,c[s]=u,isNaN(e)||isNaN(u)?l=[NaN,NaN]:(l=r.dataToPoint(c))[a]+=t,l}function w(e,t,n){var r=t.slice(),i=t.slice();r[a]+=o,i[a]-=o,n?e.push(r,i):e.push(i,r)}function x(e,t){var n=t.slice(),r=t.slice();n[a]-=o,r[a]+=o,e.push(n,r)}}(t,e.boxOffsetList[n],e.boxWidthList[n])})))}))}var qEe={type:"echarts:boxplot",transform:function(e){var t=e.upstream;if(t.sourceFormat!==fie){0,Yoe("")}var n=function(e,t){for(var n=[],r=[],i=(t=t||{}).boundIQR,o="none"===i||0===i,a=0;a<e.length;a++){var s=r9(e[a].slice()),l=g9(s,.25),u=g9(s,.5),c=g9(s,.75),f=s[0],h=s[s.length-1],d=(null==i?1.5:i)*(c-l),p=o?f:Math.max(f,l-d),g=o?h:Math.min(h,c+d),m=t.itemNameFormatter,b=t3(m)?m({value:a}):n3(m)?m.replace("{value}",a+""):a+"";n.push([b,p,l,u,c,g]);for(var v=0;v<s.length;v++){var y=s[v];if(y<p||y>g){var w=[b,y];r.push(w)}}}return{boxData:n,outliers:r}}(t.getRawData(),e.config);return[{dimensions:["ItemName","Low","Q1","Q2","Q3","High"],data:n.boxData},{data:n.outliers}]}};var XEe=["color","borderColor"],YEe=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return g2(t,e),t.prototype.render=function(e,t,n){this.group.removeClipPath(),this._progressiveEls=null,this._updateDrawMode(e),this._isLargeDraw?this._renderLarge(e):this._renderNormal(e)},t.prototype.incrementalPrepareRender=function(e,t,n){this._clear(),this._updateDrawMode(e)},t.prototype.incrementalRender=function(e,t,n,r){this._progressiveEls=[],this._isLargeDraw?this._incrementalRenderLarge(e,t):this._incrementalRenderNormal(e,t)},t.prototype.eachRendered=function(e){iue(this._progressiveEls||this.group,e)},t.prototype._updateDrawMode=function(e){var t=e.pipelineContext.large;null!=this._isLargeDraw&&t===this._isLargeDraw||(this._isLargeDraw=t,this._clear())},t.prototype._renderNormal=function(e){var t=e.getData(),n=this._data,r=this.group,i=t.getLayout("isSimpleBox"),o=e.get("clip",!0),a=e.coordinateSystem,s=a.getArea&&a.getArea();this._data||r.removeAll(),t.diff(n).add((function(n){if(t.hasValue(n)){var a=t.getItemLayout(n);if(o&&JEe(s,a))return;var l=QEe(a,n,!0);pne(l,{shape:{points:a.ends}},e,n),eIe(l,t,n,i),r.add(l),t.setItemGraphicEl(n,l)}})).update((function(a,l){var u=n.getItemGraphicEl(l);if(t.hasValue(a)){var c=t.getItemLayout(a);o&&JEe(s,c)?r.remove(u):(u?(dne(u,{shape:{points:c.ends}},e,a),yne(u)):u=QEe(c,a),eIe(u,t,a,i),r.add(u),t.setItemGraphicEl(a,u))}else r.remove(u)})).remove((function(e){var t=n.getItemGraphicEl(e);t&&r.remove(t)})).execute(),this._data=t},t.prototype._renderLarge=function(e){this._clear(),iIe(e,this.group);var t=e.get("clip",!0)?yge(e.coordinateSystem,!1,e):null;t?this.group.setClipPath(t):this.group.removeClipPath()},t.prototype._incrementalRenderNormal=function(e,t){for(var n,r=t.getData(),i=r.getLayout("isSimpleBox");null!=(n=e.next());){var o=QEe(r.getItemLayout(n),n);eIe(o,r,n,i),o.incremental=!0,this.group.add(o),this._progressiveEls.push(o)}},t.prototype._incrementalRenderLarge=function(e,t){iIe(t,this.group,this._progressiveEls,!0)},t.prototype.remove=function(e){this._clear()},t.prototype._clear=function(){this.group.removeAll(),this._data=null},t.type="candlestick",t}(due),KEe=function(){},ZEe=function(e){function t(t){var n=e.call(this,t)||this;return n.type="normalCandlestickBox",n}return g2(t,e),t.prototype.getDefaultShape=function(){return new KEe},t.prototype.buildPath=function(e,t){var n=t.points;this.__simpleBox?(e.moveTo(n[4][0],n[4][1]),e.lineTo(n[6][0],n[6][1])):(e.moveTo(n[0][0],n[0][1]),e.lineTo(n[1][0],n[1][1]),e.lineTo(n[2][0],n[2][1]),e.lineTo(n[3][0],n[3][1]),e.closePath(),e.moveTo(n[4][0],n[4][1]),e.lineTo(n[5][0],n[5][1]),e.moveTo(n[6][0],n[6][1]),e.lineTo(n[7][0],n[7][1]))},t}(Oee);function QEe(e,t,n){var r=e.ends;return new ZEe({shape:{points:n?tIe(r,e):r},z2:100})}function JEe(e,t){for(var n=!0,r=0;r<t.ends.length;r++)if(e.contain(t.ends[r][0],t.ends[r][1])){n=!1;break}return n}function eIe(e,t,n,r){var i=t.getItemModel(n);e.useStyle(t.getItemVisual(n,"style")),e.style.strokeNoScale=!0,e.__simpleBox=r,one(e,i)}function tIe(e,t){return X2(e,(function(e){return(e=e.slice())[1]=t.initBaseline,e}))}var nIe=function(){},rIe=function(e){function t(t){var n=e.call(this,t)||this;return n.type="largeCandlestickBox",n}return g2(t,e),t.prototype.getDefaultShape=function(){return new nIe},t.prototype.buildPath=function(e,t){for(var n=t.points,r=0;r<n.length;)if(this.__sign===n[r++]){var i=n[r++];e.moveTo(i,n[r++]),e.lineTo(i,n[r++])}else r+=3},t}(Oee);function iIe(e,t,n,r){var i=e.getData(),o=i.getLayout("largePoints"),a=new rIe({shape:{points:o},__sign:1,ignoreCoarsePointer:!0});t.add(a);var s=new rIe({shape:{points:o},__sign:-1,ignoreCoarsePointer:!0});t.add(s);var l=new rIe({shape:{points:o},__sign:0,ignoreCoarsePointer:!0});t.add(l),oIe(1,a,e,i),oIe(-1,s,e,i),oIe(0,l,e,i),r&&(a.incremental=!0,s.incremental=!0),n&&n.push(a,s)}function oIe(e,t,n,r){var i=n.get(["itemStyle",e>0?"borderColor":"borderColor0"])||n.get(["itemStyle",e>0?"color":"color0"]);0===e&&(i=n.get(["itemStyle","borderColorDoji"]));var o=n.getModel("itemStyle").getItemStyle(XEe);t.useStyle(o),t.style.fill=null,t.style.stroke=i}const aIe=YEe;var sIe=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.defaultValueDimensions=[{name:"open",defaultTooltip:!0},{name:"close",defaultTooltip:!0},{name:"lowest",defaultTooltip:!0},{name:"highest",defaultTooltip:!0}],n}return g2(t,e),t.prototype.getShadowDim=function(){return"open"},t.prototype.brushSelector=function(e,t,n){var r=t.getItemLayout(e);return r&&n.rect(r.brushRect)},t.type="series.candlestick",t.dependencies=["xAxis","yAxis","grid"],t.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,layout:null,clip:!0,itemStyle:{color:"#eb5454",color0:"#47b262",borderColor:"#eb5454",borderColor0:"#47b262",borderColorDoji:null,borderWidth:1},emphasis:{scale:!0,itemStyle:{borderWidth:2}},barMaxWidth:null,barMinWidth:null,barWidth:null,large:!0,largeThreshold:600,progressive:3e3,progressiveThreshold:1e4,progressiveChunkMode:"mod",animationEasing:"linear",animationDuration:300},t}(Jae);W2(sIe,LEe,!0);const lIe=sIe;function uIe(e){e&&e3(e.series)&&q2(e.series,(function(e){o3(e)&&"k"===e.type&&(e.type="candlestick")}))}var cIe=["itemStyle","borderColor"],fIe=["itemStyle","borderColor0"],hIe=["itemStyle","borderColorDoji"],dIe=["itemStyle","color"],pIe=["itemStyle","color0"],gIe={seriesType:"candlestick",plan:nse(),performRawSeries:!0,reset:function(e,t){function n(e,t){return t.get(e>0?dIe:pIe)}function r(e,t){return t.get(0===e?hIe:e>0?cIe:fIe)}if(!t.isSeriesFiltered(e))return!e.pipelineContext.large&&{progress:function(e,t){for(var i;null!=(i=e.next());){var o=t.getItemModel(i),a=t.getItemLayout(i).sign,s=o.getItemStyle();s.fill=n(a,o),s.stroke=r(a,o)||s.fill,$2(t.ensureUniqueItemVisual(i,"style"),s)}}}}};const mIe=gIe;var bIe={seriesType:"candlestick",plan:nse(),reset:function(e){var t=e.coordinateSystem,n=e.getData(),r=function(e,t){var n,r=e.getBaseAxis(),i="category"===r.type?r.getBandWidth():(n=r.getExtent(),Math.abs(n[1]-n[0])/t.count()),o=t9(h3(e.get("barMaxWidth"),i),i),a=t9(h3(e.get("barMinWidth"),1),i),s=e.get("barWidth");return null!=s?t9(s,i):Math.max(Math.min(i/2,o),a)}(e,n),i=["x","y"],o=n.getDimensionIndex(n.mapDimension(i[0])),a=X2(n.mapDimensionsAll(i[1]),n.getDimensionIndex,n),s=a[0],l=a[1],u=a[2],c=a[3];if(n.setLayout({candleWidth:r,isSimpleBox:r<=1.3}),!(o<0||a.length<4))return{progress:e.pipelineContext.large?function(n,r){var i,a,f=lge(4*n.count),h=0,d=[],p=[],g=r.getStore(),m=!!e.get(["itemStyle","borderColorDoji"]);for(;null!=(a=n.next());){var b=g.get(o,a),v=g.get(s,a),y=g.get(l,a),w=g.get(u,a),x=g.get(c,a);isNaN(b)||isNaN(w)||isNaN(x)?(f[h++]=NaN,h+=3):(f[h++]=vIe(g,a,v,y,l,m),d[0]=b,d[1]=w,i=t.dataToPoint(d,null,p),f[h++]=i?i[0]:NaN,f[h++]=i?i[1]:NaN,d[1]=x,i=t.dataToPoint(d,null,p),f[h++]=i?i[1]:NaN)}r.setLayout("largePoints",f)}:function(e,n){var i,a=n.getStore();for(;null!=(i=e.next());){var f=a.get(o,i),h=a.get(s,i),d=a.get(l,i),p=a.get(u,i),g=a.get(c,i),m=Math.min(h,d),b=Math.max(h,d),v=k(m,f),y=k(b,f),w=k(p,f),x=k(g,f),_=[];C(_,y,0),C(_,v,1),_.push(I(x),I(y),I(w),I(v));var S=!!n.getItemModel(i).get(["itemStyle","borderColorDoji"]);n.setItemLayout(i,{sign:vIe(a,i,h,d,l,S),initBaseline:h>d?y[1]:v[1],ends:_,brushRect:E(p,g,f)})}function k(e,n){var r=[];return r[0]=n,r[1]=e,isNaN(n)||isNaN(e)?[NaN,NaN]:t.dataToPoint(r)}function C(e,t,n){var i=t.slice(),o=t.slice();i[0]=Gle(i[0]+r/2,1,!1),o[0]=Gle(o[0]-r/2,1,!0),n?e.push(i,o):e.push(o,i)}function E(e,t,n){var i=k(e,n),o=k(t,n);return i[0]-=r/2,o[0]-=r/2,{x:i[0],y:i[1],width:r,height:o[1]-i[1]}}function I(e){return e[0]=Gle(e[0],1),e}}}}};function vIe(e,t,n,r,i,o){return n>r?-1:n<r?1:o?0:t>0?e.get(i,t-1)<=r?1:-1:1}const yIe=bIe;function wIe(e,t){var n=t.rippleEffectColor||t.color;e.eachChild((function(e){e.attr({z:t.z,zlevel:t.zlevel,style:{stroke:"stroke"===t.brushType?n:null,fill:"fill"===t.brushType?n:null}})}))}var xIe=function(e){function t(t,n){var r=e.call(this)||this,i=new Qpe(t,n),o=new X8;return r.add(i),r.add(o),r.updateData(t,n),r}return g2(t,e),t.prototype.stopEffectAnimation=function(){this.childAt(1).removeAll()},t.prototype.startEffectAnimation=function(e){for(var t=e.symbolType,n=e.color,r=e.rippleNumber,i=this.childAt(1),o=0;o<r;o++){var a=Sce(t,-1,-1,2,2,n);a.attr({style:{strokeNoScale:!0},z2:99,silent:!0,scaleX:.5,scaleY:.5});var s=-o/r*e.period+e.effectOffset;a.animate("",!0).when(e.period,{scaleX:e.rippleScale/2,scaleY:e.rippleScale/2}).delay(s).start(),a.animateStyle(!0).when(e.period,{opacity:0}).delay(s).start(),i.add(a)}wIe(i,e)},t.prototype.updateEffectAnimation=function(e){for(var t=this._effectCfg,n=this.childAt(1),r=["symbolType","period","rippleScale","rippleNumber"],i=0;i<r.length;i++){var o=r[i];if(t[o]!==e[o])return this.stopEffectAnimation(),void this.startEffectAnimation(e)}wIe(n,e)},t.prototype.highlight=function(){Vte(this)},t.prototype.downplay=function(){$te(this)},t.prototype.getSymbolType=function(){var e=this.childAt(0);return e&&e.getSymbolType()},t.prototype.updateData=function(e,t){var n=this,r=e.hostModel;this.childAt(0).updateData(e,t);var i=this.childAt(1),o=e.getItemModel(t),a=e.getItemVisual(t,"symbol"),s=kce(e.getItemVisual(t,"symbolSize")),l=e.getItemVisual(t,"style"),u=l&&l.fill,c=o.getModel("emphasis");i.setScale(s),i.traverse((function(e){e.setStyle("fill",u)}));var f=Cce(e.getItemVisual(t,"symbolOffset"),s);f&&(i.x=f[0],i.y=f[1]);var h=e.getItemVisual(t,"symbolRotate");i.rotation=(h||0)*Math.PI/180||0;var d={};d.showEffectOn=r.get("showEffectOn"),d.rippleScale=o.get(["rippleEffect","scale"]),d.brushType=o.get(["rippleEffect","brushType"]),d.period=1e3*o.get(["rippleEffect","period"]),d.effectOffset=t/e.count(),d.z=r.getShallow("z")||0,d.zlevel=r.getShallow("zlevel")||0,d.symbolType=a,d.color=u,d.rippleEffectColor=o.get(["rippleEffect","color"]),d.rippleNumber=o.get(["rippleEffect","number"]),"render"===d.showEffectOn?(this._effectCfg?this.updateEffectAnimation(d):this.startEffectAnimation(d),this._effectCfg=d):(this._effectCfg=null,this.stopEffectAnimation(),this.onHoverStateChange=function(e){"emphasis"===e?"render"!==d.showEffectOn&&n.startEffectAnimation(d):"normal"===e&&"render"!==d.showEffectOn&&n.stopEffectAnimation()}),this._effectCfg=d,tne(this,c.get("focus"),c.get("blurScope"),c.get("disabled"))},t.prototype.fadeOut=function(e){e&&e()},t}(X8);const _Ie=xIe;var SIe=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return g2(t,e),t.prototype.init=function(){this._symbolDraw=new rge(_Ie)},t.prototype.render=function(e,t,n){var r=e.getData(),i=this._symbolDraw;i.updateData(r,{clipShape:this._getClipShape(e)}),this.group.add(i.group)},t.prototype._getClipShape=function(e){var t=e.coordinateSystem,n=t&&t.getArea&&t.getArea();return e.get("clip",!0)?n:null},t.prototype.updateTransform=function(e,t,n){var r=e.getData();this.group.dirty();var i=Dge("").reset(e,t,n);i.progress&&i.progress({start:0,end:r.count(),count:r.count()},r),this._symbolDraw.updateLayout()},t.prototype._updateGroupTransform=function(e){var t=e.coordinateSystem;t&&t.getRoamTransform&&(this.group.transform=function(e){var t=[1,0,0,1,0,0];return C5(t,e),t}(t.getRoamTransform()),this.group.decomposeTransform())},t.prototype.remove=function(e,t){this._symbolDraw&&this._symbolDraw.remove(!0)},t.type="effectScatter",t}(due);const kIe=SIe;var CIe=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.hasSymbolVisual=!0,n}return g2(t,e),t.prototype.getInitialData=function(e,t){return Wpe(null,this,{useEncodeDefaulter:!0})},t.prototype.brushSelector=function(e,t,n){return n.point(t.getItemLayout(e))},t.type="series.effectScatter",t.dependencies=["grid","polar"],t.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,effectType:"ripple",progressive:0,showEffectOn:"render",clip:!0,rippleEffect:{period:4,scale:2.5,brushType:"fill",number:3},universalTransition:{divideShape:"clone"},symbolSize:10},t}(Jae);const EIe=CIe;var IIe=function(e){function t(t,n,r){var i=e.call(this)||this;return i.add(i.createLine(t,n,r)),i._updateEffectSymbol(t,n),i}return g2(t,e),t.prototype.createLine=function(e,t,n){return new XSe(e,t,n)},t.prototype._updateEffectSymbol=function(e,t){var n=e.getItemModel(t).getModel("effect"),r=n.get("symbolSize"),i=n.get("symbol");e3(r)||(r=[r,r]);var o=e.getItemVisual(t,"style"),a=n.get("color")||o&&o.stroke,s=this.childAt(1);this._symbolType!==i&&(this.remove(s),(s=Sce(i,-.5,-.5,1,1,a)).z2=100,s.culling=!0,this.add(s)),s&&(s.setStyle("shadowColor",a),s.setStyle(n.getItemStyle(["color"])),s.scaleX=r[0],s.scaleY=r[1],s.setColor(a),this._symbolType=i,this._symbolScale=r,this._updateEffectAnimation(e,n,t))},t.prototype._updateEffectAnimation=function(e,t,n){var r=this.childAt(1);if(r){var i=e.getItemLayout(n),o=1e3*t.get("period"),a=t.get("loop"),s=t.get("roundTrip"),l=t.get("constantSpeed"),u=f3(t.get("delay"),(function(t){return t/e.count()*o/3}));if(r.ignore=!0,this._updateAnimationPoints(r,i),l>0&&(o=this._getLineLength(r)/l*1e3),o!==this._period||a!==this._loop||s!==this._roundTrip){r.stopAnimation();var c=void 0;c=t3(u)?u(n):u,r.__t>0&&(c=-o*r.__t),this._animateSymbol(r,o,c,a,s)}this._period=o,this._loop=a,this._roundTrip=s}},t.prototype._animateSymbol=function(e,t,n,r,i){if(t>0){e.__t=0;var o=this,a=e.animate("",r).when(i?2*t:t,{__t:i?2:1}).delay(n).during((function(){o._updateSymbolPosition(e)}));r||a.done((function(){o.remove(e)})),a.start()}},t.prototype._getLineLength=function(e){return W3(e.__p1,e.__cp1)+W3(e.__cp1,e.__p2)},t.prototype._updateAnimationPoints=function(e,t){e.__p1=t[0],e.__p2=t[1],e.__cp1=t[2]||[(t[0][0]+t[1][0])/2,(t[0][1]+t[1][1])/2]},t.prototype.updateData=function(e,t,n){this.childAt(0).updateData(e,t,n),this._updateEffectSymbol(e,t)},t.prototype._updateSymbolPosition=function(e){var t=e.__p1,n=e.__p2,r=e.__cp1,i=e.__t<1?e.__t:2-e.__t,o=[e.x,e.y],a=o.slice(),s=O4,l=D4;o[0]=s(t[0],r[0],n[0],i),o[1]=s(t[1],r[1],n[1],i);var u=e.__t<1?l(t[0],r[0],n[0],i):l(n[0],r[0],t[0],1-i),c=e.__t<1?l(t[1],r[1],n[1],i):l(n[1],r[1],t[1],1-i);e.rotation=-Math.atan2(c,u)-Math.PI/2,"line"!==this._symbolType&&"rect"!==this._symbolType&&"roundRect"!==this._symbolType||(void 0!==e.__lastT&&e.__lastT<e.__t?(e.scaleY=1.05*W3(a,o),1===i&&(o[0]=a[0]+(o[0]-a[0])/2,o[1]=a[1]+(o[1]-a[1])/2)):1===e.__lastT?e.scaleY=2*W3(t,o):e.scaleY=this._symbolScale[1]),e.__lastT=e.__t,e.ignore=!1,e.x=o[0],e.y=o[1]},t.prototype.updateLayout=function(e,t){this.childAt(0).updateLayout(e,t);var n=e.getItemModel(t).getModel("effect");this._updateEffectAnimation(e,n,t)},t}(X8);const MIe=IIe;var TIe=function(e){function t(t,n,r){var i=e.call(this)||this;return i._createPolyline(t,n,r),i}return g2(t,e),t.prototype._createPolyline=function(e,t,n){var r=e.getItemLayout(t),i=new ele({shape:{points:r}});this.add(i),this._updateCommonStl(e,t,n)},t.prototype.updateData=function(e,t,n){var r=e.hostModel;dne(this.childAt(0),{shape:{points:e.getItemLayout(t)}},r,t),this._updateCommonStl(e,t,n)},t.prototype._updateCommonStl=function(e,t,n){var r=this.childAt(0),i=e.getItemModel(t),o=n&&n.emphasisLineStyle,a=n&&n.focus,s=n&&n.blurScope,l=n&&n.emphasisDisabled;if(!n||e.hasItemOption){var u=i.getModel("emphasis");o=u.getModel("lineStyle").getLineStyle(),l=u.get("disabled"),a=u.get("focus"),s=u.get("blurScope")}r.useStyle(e.getItemVisual(t,"style")),r.style.fill=null,r.style.strokeNoScale=!0,r.ensureState("emphasis").style=o,tne(this,a,s,l)},t.prototype.updateLayout=function(e,t){this.childAt(0).setShape("points",e.getItemLayout(t))},t}(X8);const AIe=TIe;var PIe=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._lastFrame=0,t._lastFramePercent=0,t}return g2(t,e),t.prototype.createLine=function(e,t,n){return new AIe(e,t,n)},t.prototype._updateAnimationPoints=function(e,t){this._points=t;for(var n=[0],r=0,i=1;i<t.length;i++){var o=t[i-1],a=t[i];r+=W3(o,a),n.push(r)}if(0!==r){for(i=0;i<n.length;i++)n[i]/=r;this._offsets=n,this._length=r}else this._length=0},t.prototype._getLineLength=function(){return this._length},t.prototype._updateSymbolPosition=function(e){var t=e.__t<1?e.__t:2-e.__t,n=this._points,r=this._offsets,i=n.length;if(r){var o,a=this._lastFrame;if(t<this._lastFramePercent){for(o=Math.min(a+1,i-1);o>=0&&!(r[o]<=t);o--);o=Math.min(o,i-2)}else{for(o=a;o<i&&!(r[o]>t);o++);o=Math.min(o-1,i-2)}var s=(t-r[o])/(r[o+1]-r[o]),l=n[o],u=n[o+1];e.x=l[0]*(1-s)+s*u[0],e.y=l[1]*(1-s)+s*u[1];var c=e.__t<1?u[0]-l[0]:l[0]-u[0],f=e.__t<1?u[1]-l[1]:l[1]-u[1];e.rotation=-Math.atan2(f,c)-Math.PI/2,this._lastFrame=o,this._lastFramePercent=t,e.ignore=!1}},t}(MIe);const OIe=PIe;var DIe=function(){this.polyline=!1,this.curveness=0,this.segs=[]},RIe=function(e){function t(t){var n=e.call(this,t)||this;return n._off=0,n.hoverDataIdx=-1,n}return g2(t,e),t.prototype.reset=function(){this.notClear=!1,this._off=0},t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new DIe},t.prototype.buildPath=function(e,t){var n,r=t.segs,i=t.curveness;if(t.polyline)for(n=this._off;n<r.length;){var o=r[n++];if(o>0){e.moveTo(r[n++],r[n++]);for(var a=1;a<o;a++)e.lineTo(r[n++],r[n++])}}else for(n=this._off;n<r.length;){var s=r[n++],l=r[n++],u=r[n++],c=r[n++];if(e.moveTo(s,l),i>0){var f=(s+u)/2-(l-c)*i,h=(l+c)/2-(u-s)*i;e.quadraticCurveTo(f,h,u,c)}else e.lineTo(u,c)}this.incremental&&(this._off=n,this.notClear=!0)},t.prototype.findDataIndex=function(e,t){var n=this.shape,r=n.segs,i=n.curveness,o=this.style.lineWidth;if(n.polyline)for(var a=0,s=0;s<r.length;){var l=r[s++];if(l>0)for(var u=r[s++],c=r[s++],f=1;f<l;f++){if(hee(u,c,h=r[s++],d=r[s++],o,e,t))return a}a++}else for(a=0,s=0;s<r.length;){u=r[s++],c=r[s++];var h=r[s++],d=r[s++];if(i>0){if(pee(u,c,(u+h)/2-(c-d)*i,(c+d)/2-(h-u)*i,h,d,o,e,t))return a}else if(hee(u,c,h,d,o,e,t))return a;a++}return-1},t.prototype.contain=function(e,t){var n=this.transformCoordToLocal(e,t),r=this.getBoundingRect();return e=n[0],t=n[1],r.contain(e,t)?(this.hoverDataIdx=this.findDataIndex(e,t))>=0:(this.hoverDataIdx=-1,!1)},t.prototype.getBoundingRect=function(){var e=this._rect;if(!e){for(var t=this.shape.segs,n=1/0,r=1/0,i=-1/0,o=-1/0,a=0;a<t.length;){var s=t[a++],l=t[a++];n=Math.min(s,n),i=Math.max(s,i),r=Math.min(l,r),o=Math.max(l,o)}e=this._rect=new $5(n,r,i,o)}return e},t}(Oee),LIe=function(){function e(){this.group=new X8}return e.prototype.updateData=function(e){this._clear();var t=this._create();t.setShape({segs:e.getLayout("linesPoints")}),this._setCommon(t,e)},e.prototype.incrementalPrepareUpdate=function(e){this.group.removeAll(),this._clear()},e.prototype.incrementalUpdate=function(e,t){var n=this._newAdded[0],r=t.getLayout("linesPoints"),i=n&&n.shape.segs;if(i&&i.length<2e4){var o=i.length,a=new Float32Array(o+r.length);a.set(i),a.set(r,o),n.setShape({segs:a})}else{this._newAdded=[];var s=this._create();s.incremental=!0,s.setShape({segs:r}),this._setCommon(s,t),s.__startIndex=e.start}},e.prototype.remove=function(){this._clear()},e.prototype.eachRendered=function(e){this._newAdded[0]&&e(this._newAdded[0])},e.prototype._create=function(){var e=new RIe({cursor:"default",ignoreCoarsePointer:!0});return this._newAdded.push(e),this.group.add(e),e},e.prototype._setCommon=function(e,t,n){var r=t.hostModel;e.setShape({polyline:r.get("polyline"),curveness:r.get(["lineStyle","curveness"])}),e.useStyle(r.getModel("lineStyle").getLineStyle()),e.style.strokeNoScale=!0;var i=t.getVisual("style");i&&i.stroke&&e.setStyle("stroke",i.stroke),e.setStyle("fill",null);var o=cte(e);o.seriesIndex=r.seriesIndex,e.on("mousemove",(function(t){o.dataIndex=null;var n=e.hoverDataIdx;n>0&&(o.dataIndex=n+e.__startIndex)}))},e.prototype._clear=function(){this._newAdded=[],this.group.removeAll()},e}();const NIe=LIe;var jIe={seriesType:"lines",plan:nse(),reset:function(e){var t=e.coordinateSystem;if(t){var n=e.get("polyline"),r=e.pipelineContext.large;return{progress:function(i,o){var a=[];if(r){var s=void 0,l=i.end-i.start;if(n){for(var u=0,c=i.start;c<i.end;c++)u+=e.getLineCoordsCount(c);s=new Float32Array(l+2*u)}else s=new Float32Array(4*l);var f=0,h=[];for(c=i.start;c<i.end;c++){var d=e.getLineCoords(c,a);n&&(s[f++]=d);for(var p=0;p<d;p++)h=t.dataToPoint(a[p],!1,h),s[f++]=h[0],s[f++]=h[1]}o.setLayout("linesPoints",s)}else for(c=i.start;c<i.end;c++){var g=o.getItemModel(c),m=(d=e.getLineCoords(c,a),[]);if(n)for(var b=0;b<d;b++)m.push(t.dataToPoint(a[b]));else{m[0]=t.dataToPoint(a[0]),m[1]=t.dataToPoint(a[1]);var v=g.get(["lineStyle","curveness"]);+v&&(m[2]=[(m[0][0]+m[1][0])/2-(m[0][1]-m[1][1])*v,(m[0][1]+m[1][1])/2-(m[1][0]-m[0][0])*v])}o.setItemLayout(c,m)}}}}}};const FIe=jIe;var zIe=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return g2(t,e),t.prototype.render=function(e,t,n){var r=e.getData(),i=this._updateLineDraw(r,e),o=e.get("zlevel"),a=e.get(["effect","trailLength"]),s=n.getZr(),l="svg"===s.painter.getType();l||s.painter.getLayer(o).clear(!0),null==this._lastZlevel||l||s.configLayer(this._lastZlevel,{motionBlur:!1}),this._showEffect(e)&&a>0&&(l||s.configLayer(o,{motionBlur:!0,lastFrameAlpha:Math.max(Math.min(a/10+.9,1),0)})),i.updateData(r);var u=e.get("clip",!0)&&yge(e.coordinateSystem,!1,e);u?this.group.setClipPath(u):this.group.removeClipPath(),this._lastZlevel=o,this._finished=!0},t.prototype.incrementalPrepareRender=function(e,t,n){var r=e.getData();this._updateLineDraw(r,e).incrementalPrepareUpdate(r),this._clearLayer(n),this._finished=!1},t.prototype.incrementalRender=function(e,t,n){this._lineDraw.incrementalUpdate(e,t.getData()),this._finished=e.end===t.getData().count()},t.prototype.eachRendered=function(e){this._lineDraw&&this._lineDraw.eachRendered(e)},t.prototype.updateTransform=function(e,t,n){var r=e.getData(),i=e.pipelineContext;if(!this._finished||i.large||i.progressiveRender)return{update:!0};var o=FIe.reset(e,t,n);o.progress&&o.progress({start:0,end:r.count(),count:r.count()},r),this._lineDraw.updateLayout(),this._clearLayer(n)},t.prototype._updateLineDraw=function(e,t){var n=this._lineDraw,r=this._showEffect(t),i=!!t.get("polyline"),o=t.pipelineContext.large;return n&&r===this._hasEffet&&i===this._isPolyline&&o===this._isLargeDraw||(n&&n.remove(),n=this._lineDraw=o?new NIe:new JSe(i?r?OIe:AIe:r?MIe:XSe),this._hasEffet=r,this._isPolyline=i,this._isLargeDraw=o),this.group.add(n.group),n},t.prototype._showEffect=function(e){return!!e.get(["effect","show"])},t.prototype._clearLayer=function(e){var t=e.getZr();"svg"===t.painter.getType()||null==this._lastZlevel||t.painter.getLayer(this._lastZlevel).clear(!0)},t.prototype.remove=function(e,t){this._lineDraw&&this._lineDraw.remove(),this._lineDraw=null,this._clearLayer(t)},t.prototype.dispose=function(e,t){this.remove(e,t)},t.type="lines",t}(due);const BIe=zIe;var VIe="undefined"==typeof Uint32Array?Array:Uint32Array,$Ie="undefined"==typeof Float64Array?Array:Float64Array;function HIe(e){var t=e.data;t&&t[0]&&t[0][0]&&t[0][0].coord&&(e.data=X2(t,(function(e){var t={coords:[e[0].coord,e[1].coord]};return e[0].name&&(t.fromName=e[0].name),e[1].name&&(t.toName=e[1].name),V2([t,e[0],e[1]])})))}var GIe=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.visualStyleAccessPath="lineStyle",n.visualDrawType="stroke",n}return g2(t,e),t.prototype.init=function(t){t.data=t.data||[],HIe(t);var n=this._processFlatCoordsArray(t.data);this._flatCoords=n.flatCoords,this._flatCoordsOffset=n.flatCoordsOffset,n.flatCoords&&(t.data=new Float32Array(n.count)),e.prototype.init.apply(this,arguments)},t.prototype.mergeOption=function(t){if(HIe(t),t.data){var n=this._processFlatCoordsArray(t.data);this._flatCoords=n.flatCoords,this._flatCoordsOffset=n.flatCoordsOffset,n.flatCoords&&(t.data=new Float32Array(n.count))}e.prototype.mergeOption.apply(this,arguments)},t.prototype.appendData=function(e){var t=this._processFlatCoordsArray(e.data);t.flatCoords&&(this._flatCoords?(this._flatCoords=C3(this._flatCoords,t.flatCoords),this._flatCoordsOffset=C3(this._flatCoordsOffset,t.flatCoordsOffset)):(this._flatCoords=t.flatCoords,this._flatCoordsOffset=t.flatCoordsOffset),e.data=new Float32Array(t.count)),this.getRawData().appendData(e.data)},t.prototype._getCoordsFromItemModel=function(e){var t=this.getData().getItemModel(e);return t.option instanceof Array?t.option:t.getShallow("coords")},t.prototype.getLineCoordsCount=function(e){return this._flatCoordsOffset?this._flatCoordsOffset[2*e+1]:this._getCoordsFromItemModel(e).length},t.prototype.getLineCoords=function(e,t){if(this._flatCoordsOffset){for(var n=this._flatCoordsOffset[2*e],r=this._flatCoordsOffset[2*e+1],i=0;i<r;i++)t[i]=t[i]||[],t[i][0]=this._flatCoords[n+2*i],t[i][1]=this._flatCoords[n+2*i+1];return r}var o=this._getCoordsFromItemModel(e);for(i=0;i<o.length;i++)t[i]=t[i]||[],t[i][0]=o[i][0],t[i][1]=o[i][1];return o.length},t.prototype._processFlatCoordsArray=function(e){var t=0;if(this._flatCoords&&(t=this._flatCoords.length),i3(e[0])){for(var n=e.length,r=new VIe(n),i=new $Ie(n),o=0,a=0,s=0,l=0;l<n;){s++;var u=e[l++];r[a++]=o+t,r[a++]=u;for(var c=0;c<u;c++){var f=e[l++],h=e[l++];i[o++]=f,i[o++]=h}}return{flatCoordsOffset:new Uint32Array(r.buffer,0,a),flatCoords:i,count:s}}return{flatCoordsOffset:null,flatCoords:null,count:e.length}},t.prototype.getInitialData=function(e,t){var n=new Npe(["value"],this);return n.hasItemOption=!1,n.initData(e.data,[],(function(e,t,r,i){if(e instanceof Array)return NaN;n.hasItemOption=!0;var o=e.value;return null!=o?o instanceof Array?o[i]:o:void 0})),n},t.prototype.formatTooltip=function(e,t,n){var r=this.getData().getItemModel(e),i=r.get("name");if(i)return i;var o=r.get("fromName"),a=r.get("toName"),s=[];return null!=o&&s.push(o),null!=a&&s.push(a),Aae("nameValue",{name:s.join(" > ")})},t.prototype.preventIncremental=function(){return!!this.get(["effect","show"])},t.prototype.getProgressive=function(){var e=this.option.progressive;return null==e?this.option.large?1e4:this.get("progressive"):e},t.prototype.getProgressiveThreshold=function(){var e=this.option.progressiveThreshold;return null==e?this.option.large?2e4:this.get("progressiveThreshold"):e},t.prototype.getZLevelKey=function(){var e=this.getModel("effect"),t=e.get("trailLength");return this.getData().count()>this.getProgressiveThreshold()?this.id:e.get("show")&&t>0?t+"":""},t.type="series.lines",t.dependencies=["grid","polar","geo","calendar"],t.defaultOption={coordinateSystem:"geo",z:2,legendHoverLink:!0,xAxisIndex:0,yAxisIndex:0,symbol:["none","none"],symbolSize:[10,10],geoIndex:0,effect:{show:!1,period:4,constantSpeed:0,symbol:"circle",symbolSize:3,loop:!0,trailLength:.2},large:!1,largeThreshold:2e3,polyline:!1,clip:!0,label:{show:!1,position:"end"},lineStyle:{opacity:.5}},t}(Jae);const WIe=GIe;function UIe(e){return e instanceof Array||(e=[e,e]),e}var qIe={seriesType:"lines",reset:function(e){var t=UIe(e.get("symbol")),n=UIe(e.get("symbolSize")),r=e.getData();return r.setVisual("fromSymbol",t&&t[0]),r.setVisual("toSymbol",t&&t[1]),r.setVisual("fromSymbolSize",n&&n[0]),r.setVisual("toSymbolSize",n&&n[1]),{dataEach:r.hasItemOption?function(e,t){var n=e.getItemModel(t),r=UIe(n.getShallow("symbol",!0)),i=UIe(n.getShallow("symbolSize",!0));r[0]&&e.setItemVisual(t,"fromSymbol",r[0]),r[1]&&e.setItemVisual(t,"toSymbol",r[1]),i[0]&&e.setItemVisual(t,"fromSymbolSize",i[0]),i[1]&&e.setItemVisual(t,"toSymbolSize",i[1])}:null}}};const XIe=qIe;var YIe=function(){function e(){this.blurSize=30,this.pointSize=20,this.maxOpacity=1,this.minOpacity=0,this._gradientPixels={inRange:null,outOfRange:null};var e=k2.createCanvas();this.canvas=e}return e.prototype.update=function(e,t,n,r,i,o){var a=this._getBrush(),s=this._getGradient(i,"inRange"),l=this._getGradient(i,"outOfRange"),u=this.pointSize+this.blurSize,c=this.canvas,f=c.getContext("2d"),h=e.length;c.width=t,c.height=n;for(var d=0;d<h;++d){var p=e[d],g=p[0],m=p[1],b=r(p[2]);f.globalAlpha=b,f.drawImage(a,g-u,m-u)}if(!c.width||!c.height)return c;for(var v=f.getImageData(0,0,c.width,c.height),y=v.data,w=0,x=y.length,_=this.minOpacity,S=this.maxOpacity-_;w<x;){b=y[w+3]/256;var k=4*Math.floor(255*b);if(b>0){var C=o(b)?s:l;b>0&&(b=b*S+_),y[w++]=C[k],y[w++]=C[k+1],y[w++]=C[k+2],y[w++]=C[k+3]*b*256}else w+=4}return f.putImageData(v,0,0),c},e.prototype._getBrush=function(){var e=this._brushCanvas||(this._brushCanvas=k2.createCanvas()),t=this.pointSize+this.blurSize,n=2*t;e.width=n,e.height=n;var r=e.getContext("2d");return r.clearRect(0,0,n,n),r.shadowOffsetX=n,r.shadowBlur=this.blurSize,r.shadowColor="#000",r.beginPath(),r.arc(-t,t,this.pointSize,0,2*Math.PI,!0),r.closePath(),r.fill(),e},e.prototype._getGradient=function(e,t){for(var n=this._gradientPixels,r=n[t]||(n[t]=new Uint8ClampedArray(1024)),i=[0,0,0,0],o=0,a=0;a<256;a++)e[t](a/255,!0,i),r[o++]=i[0],r[o++]=i[1],r[o++]=i[2],r[o++]=i[3];return r},e}();const KIe=YIe;function ZIe(e){var t=e.dimensions;return"lng"===t[0]&&"lat"===t[1]}var QIe=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return g2(t,e),t.prototype.render=function(e,t,n){var r;t.eachComponent("visualMap",(function(t){t.eachTargetSeries((function(n){n===e&&(r=t)}))})),this._progressiveEls=null,this.group.removeAll();var i=e.coordinateSystem;"cartesian2d"===i.type||"calendar"===i.type?this._renderOnCartesianAndCalendar(e,n,0,e.getData().count()):ZIe(i)&&this._renderOnGeo(i,e,r,n)},t.prototype.incrementalPrepareRender=function(e,t,n){this.group.removeAll()},t.prototype.incrementalRender=function(e,t,n,r){var i=t.coordinateSystem;i&&(ZIe(i)?this.render(t,n,r):(this._progressiveEls=[],this._renderOnCartesianAndCalendar(t,r,e.start,e.end,!0)))},t.prototype.eachRendered=function(e){iue(this._progressiveEls||this.group,e)},t.prototype._renderOnCartesianAndCalendar=function(e,t,n,r,i){var o,a,s,l,u=e.coordinateSystem,c=wge(u,"cartesian2d");if(c){var f=u.getAxis("x"),h=u.getAxis("y");0,o=f.getBandWidth()+.5,a=h.getBandWidth()+.5,s=f.scale.getExtent(),l=h.scale.getExtent()}for(var d=this.group,p=e.getData(),g=e.getModel(["emphasis","itemStyle"]).getItemStyle(),m=e.getModel(["blur","itemStyle"]).getItemStyle(),b=e.getModel(["select","itemStyle"]).getItemStyle(),v=e.get(["itemStyle","borderRadius"]),y=kne(e),w=e.getModel("emphasis"),x=w.get("focus"),_=w.get("blurScope"),S=w.get("disabled"),k=c?[p.mapDimension("x"),p.mapDimension("y"),p.mapDimension("value")]:[p.mapDimension("time"),p.mapDimension("value")],C=n;C<r;C++){var E=void 0,I=p.getItemVisual(C,"style");if(c){var M=p.get(k[0],C),T=p.get(k[1],C);if(isNaN(p.get(k[2],C))||isNaN(M)||isNaN(T)||M<s[0]||M>s[1]||T<l[0]||T>l[1])continue;var A=u.dataToPoint([M,T]);E=new qee({shape:{x:A[0]-o/2,y:A[1]-a/2,width:o,height:a},style:I})}else{if(isNaN(p.get(k[1],C)))continue;E=new qee({z2:1,shape:u.dataToRect([p.get(k[0],C)]).contentShape,style:I})}if(p.hasItemOption){var P=p.getItemModel(C),O=P.getModel("emphasis");g=O.getModel("itemStyle").getItemStyle(),m=P.getModel(["blur","itemStyle"]).getItemStyle(),b=P.getModel(["select","itemStyle"]).getItemStyle(),v=P.get(["itemStyle","borderRadius"]),x=O.get("focus"),_=O.get("blurScope"),S=O.get("disabled"),y=kne(P)}E.shape.r=v;var D=e.getRawValue(C),R="-";D&&null!=D[2]&&(R=D[2]+""),Sne(E,y,{labelFetcher:e,labelDataIndex:C,defaultOpacity:I.opacity,defaultText:R}),E.ensureState("emphasis").style=g,E.ensureState("blur").style=m,E.ensureState("select").style=b,tne(E,x,_,S),E.incremental=i,i&&(E.states.emphasis.hoverLayer=!0),d.add(E),p.setItemGraphicEl(C,E),this._progressiveEls&&this._progressiveEls.push(E)}},t.prototype._renderOnGeo=function(e,t,n,r){var i=n.targetVisuals.inRange,o=n.targetVisuals.outOfRange,a=t.getData(),s=this._hmLayer||this._hmLayer||new KIe;s.blurSize=t.get("blurSize"),s.pointSize=t.get("pointSize"),s.minOpacity=t.get("minOpacity"),s.maxOpacity=t.get("maxOpacity");var l=e.getViewRect().clone(),u=e.getRoamTransform();l.applyTransform(u);var c=Math.max(l.x,0),f=Math.max(l.y,0),h=Math.min(l.width+l.x,r.getWidth()),d=Math.min(l.height+l.y,r.getHeight()),p=h-c,g=d-f,m=[a.mapDimension("lng"),a.mapDimension("lat"),a.mapDimension("value")],b=a.mapArray(m,(function(t,n,r){var i=e.dataToPoint([t,n]);return i[0]-=c,i[1]-=f,i.push(r),i})),v=n.getExtent(),y="visualMap.continuous"===n.type?function(e,t){var n=e[1]-e[0];return t=[(t[0]-e[0])/n,(t[1]-e[0])/n],function(e){return e>=t[0]&&e<=t[1]}}(v,n.option.range):function(e,t,n){var r=e[1]-e[0],i=(t=X2(t,(function(t){return{interval:[(t.interval[0]-e[0])/r,(t.interval[1]-e[0])/r]}}))).length,o=0;return function(e){var r;for(r=o;r<i;r++)if((a=t[r].interval)[0]<=e&&e<=a[1]){o=r;break}if(r===i)for(r=o-1;r>=0;r--){var a;if((a=t[r].interval)[0]<=e&&e<=a[1]){o=r;break}}return r>=0&&r<i&&n[r]}}(v,n.getPieceList(),n.option.selected);s.update(b,p,g,i.color.getNormalizer(),{inRange:i.color.getColorMapper(),outOfRange:o.color.getColorMapper()},y);var w=new zee({style:{width:p,height:g,x:c,y:f,image:s.canvas},silent:!0});this.group.add(w)},t.type="heatmap",t}(due);const JIe=QIe;const eMe=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return g2(t,e),t.prototype.getInitialData=function(e,t){return Wpe(null,this,{generateCoord:"value"})},t.prototype.preventIncremental=function(){var e=Wie.get(this.get("coordinateSystem"));if(e&&e.dimensions)return"lng"===e.dimensions[0]&&"lat"===e.dimensions[1]},t.type="series.heatmap",t.dependencies=["grid","geo","calendar"],t.defaultOption={coordinateSystem:"cartesian2d",z:2,geoIndex:0,blurSize:30,pointSize:20,maxOpacity:1,minOpacity:0,select:{itemStyle:{borderColor:"#212121"}}},t}(Jae);var tMe=["itemStyle","borderWidth"],nMe=[{xy:"x",wh:"width",index:0,posDesc:["left","right"]},{xy:"y",wh:"height",index:1,posDesc:["top","bottom"]}],rMe=new Cse,iMe=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return g2(t,e),t.prototype.render=function(e,t,n){var r=this.group,i=e.getData(),o=this._data,a=e.coordinateSystem,s=a.getBaseAxis().isHorizontal(),l=a.master.getRect(),u={ecSize:{width:n.getWidth(),height:n.getHeight()},seriesModel:e,coordSys:a,coordSysExtent:[[l.x,l.x+l.width],[l.y,l.y+l.height]],isHorizontal:s,valueDim:nMe[+s],categoryDim:nMe[1-+s]};return i.diff(o).add((function(e){if(i.hasValue(e)){var t=hMe(i,e),n=oMe(i,e,t,u),o=gMe(i,u,n);i.setItemGraphicEl(e,o),r.add(o),wMe(o,u,n)}})).update((function(e,t){var n=o.getItemGraphicEl(t);if(i.hasValue(e)){var a=hMe(i,e),s=oMe(i,e,a,u),l=bMe(i,s);n&&l!==n.__pictorialShapeStr&&(r.remove(n),i.setItemGraphicEl(e,null),n=null),n?function(e,t,n){var r=n.animationModel,i=n.dataIndex;dne(e.__pictorialBundle,{x:n.bundlePosition[0],y:n.bundlePosition[1]},r,i),n.symbolRepeat?lMe(e,t,n,!0):uMe(e,t,n,!0);cMe(e,n,!0),fMe(e,t,n,!0)}(n,u,s):n=gMe(i,u,s,!0),i.setItemGraphicEl(e,n),n.__pictorialSymbolMeta=s,r.add(n),wMe(n,u,s)}else r.remove(n)})).remove((function(e){var t=o.getItemGraphicEl(e);t&&mMe(o,e,t.__pictorialSymbolMeta.animationModel,t)})).execute(),this._data=i,this.group},t.prototype.remove=function(e,t){var n=this.group,r=this._data;e.get("animation")?r&&r.eachItemGraphicEl((function(t){mMe(r,cte(t).dataIndex,e,t)})):n.removeAll()},t.type="pictorialBar",t}(due);function oMe(e,t,n,r){var i=e.getItemLayout(t),o=n.get("symbolRepeat"),a=n.get("symbolClip"),s=n.get("symbolPosition")||"start",l=(n.get("symbolRotate")||0)*Math.PI/180||0,u=n.get("symbolPatternSize")||2,c=n.isAnimationEnabled(),f={dataIndex:t,layout:i,itemModel:n,symbolType:e.getItemVisual(t,"symbol")||"circle",style:e.getItemVisual(t,"style"),symbolClip:a,symbolRepeat:o,symbolRepeatDirection:n.get("symbolRepeatDirection"),symbolPatternSize:u,rotation:l,animationModel:c?n:null,hoverScale:c&&n.get(["emphasis","scale"]),z2:n.getShallow("z",!0)||0};!function(e,t,n,r,i){var o,a=r.valueDim,s=e.get("symbolBoundingData"),l=r.coordSys.getOtherAxis(r.coordSys.getBaseAxis()),u=l.toGlobalCoord(l.dataToCoord(0)),c=1-+(n[a.wh]<=0);if(e3(s)){var f=[aMe(l,s[0])-u,aMe(l,s[1])-u];f[1]<f[0]&&f.reverse(),o=f[c]}else o=null!=s?aMe(l,s)-u:t?r.coordSysExtent[a.index][c]-u:n[a.wh];i.boundingLength=o,t&&(i.repeatCutLength=n[a.wh]);i.pxSign=o>0?1:-1}(n,o,i,r,f),function(e,t,n,r,i,o,a,s,l,u){var c,f=l.valueDim,h=l.categoryDim,d=Math.abs(n[h.wh]),p=e.getItemVisual(t,"symbolSize");c=e3(p)?p.slice():null==p?["100%","100%"]:[p,p];c[h.index]=t9(c[h.index],d),c[f.index]=t9(c[f.index],r?d:Math.abs(o)),u.symbolSize=c,(u.symbolScale=[c[0]/s,c[1]/s])[f.index]*=(l.isHorizontal?-1:1)*a}(e,t,i,o,0,f.boundingLength,f.pxSign,u,r,f),function(e,t,n,r,i){var o=e.get(tMe)||0;o&&(rMe.attr({scaleX:t[0],scaleY:t[1],rotation:n}),rMe.updateTransform(),o/=rMe.getLineScale(),o*=t[r.valueDim.index]);i.valueLineWidth=o||0}(n,f.symbolScale,l,r,f);var h=f.symbolSize,d=Cce(n.get("symbolOffset"),h);return function(e,t,n,r,i,o,a,s,l,u,c,f){var h=c.categoryDim,d=c.valueDim,p=f.pxSign,g=Math.max(t[d.index]+s,0),m=g;if(r){var b=Math.abs(l),v=f3(e.get("symbolMargin"),"15%")+"",y=!1;v.lastIndexOf("!")===v.length-1&&(y=!0,v=v.slice(0,v.length-1));var w=t9(v,t[d.index]),x=Math.max(g+2*w,0),_=y?0:2*w,S=v9(r),k=S?r:xMe((b+_)/x);x=g+2*(w=(b-k*g)/2/(y?k:Math.max(k-1,1))),_=y?0:2*w,S||"fixed"===r||(k=u?xMe((Math.abs(u)+_)/x):0),m=k*x-_,f.repeatTimes=k,f.symbolMargin=w}var C=p*(m/2),E=f.pathPosition=[];E[h.index]=n[h.wh]/2,E[d.index]="start"===a?C:"end"===a?l-C:l/2,o&&(E[0]+=o[0],E[1]+=o[1]);var I=f.bundlePosition=[];I[h.index]=n[h.xy],I[d.index]=n[d.xy];var M=f.barRectShape=$2({},n);M[d.wh]=p*Math.max(Math.abs(n[d.wh]),Math.abs(E[d.index]+C)),M[h.wh]=n[h.wh];var T=f.clipShape={};T[h.xy]=-n[h.xy],T[h.wh]=c.ecSize[h.wh],T[d.xy]=0,T[d.wh]=n[d.wh]}(n,h,i,o,0,d,s,f.valueLineWidth,f.boundingLength,f.repeatCutLength,r,f),f}function aMe(e,t){return e.toGlobalCoord(e.dataToCoord(e.scale.parse(t)))}function sMe(e){var t=e.symbolPatternSize,n=Sce(e.symbolType,-t/2,-t/2,t,t);return n.attr({culling:!0}),"image"!==n.type&&n.setStyle({strokeNoScale:!0}),n}function lMe(e,t,n,r){var i=e.__pictorialBundle,o=n.symbolSize,a=n.valueLineWidth,s=n.pathPosition,l=t.valueDim,u=n.repeatTimes||0,c=0,f=o[t.valueDim.index]+a+2*n.symbolMargin;for(vMe(e,(function(e){e.__pictorialAnimationIndex=c,e.__pictorialRepeatTimes=u,c<u?yMe(e,null,p(c),n,r):yMe(e,null,{scaleX:0,scaleY:0},n,r,(function(){i.remove(e)})),c++}));c<u;c++){var h=sMe(n);h.__pictorialAnimationIndex=c,h.__pictorialRepeatTimes=u,i.add(h);var d=p(c);yMe(h,{x:d.x,y:d.y,scaleX:0,scaleY:0},{scaleX:d.scaleX,scaleY:d.scaleY,rotation:d.rotation},n,r)}function p(e){var t=s.slice(),r=n.pxSign,i=e;return("start"===n.symbolRepeatDirection?r>0:r<0)&&(i=u-1-e),t[l.index]=f*(i-u/2+.5)+s[l.index],{x:t[0],y:t[1],scaleX:n.symbolScale[0],scaleY:n.symbolScale[1],rotation:n.rotation}}}function uMe(e,t,n,r){var i=e.__pictorialBundle,o=e.__pictorialMainPath;o?yMe(o,null,{x:n.pathPosition[0],y:n.pathPosition[1],scaleX:n.symbolScale[0],scaleY:n.symbolScale[1],rotation:n.rotation},n,r):(o=e.__pictorialMainPath=sMe(n),i.add(o),yMe(o,{x:n.pathPosition[0],y:n.pathPosition[1],scaleX:0,scaleY:0,rotation:n.rotation},{scaleX:n.symbolScale[0],scaleY:n.symbolScale[1]},n,r))}function cMe(e,t,n){var r=$2({},t.barRectShape),i=e.__pictorialBarRect;i?yMe(i,null,{shape:r},t,n):((i=e.__pictorialBarRect=new qee({z2:2,shape:r,silent:!0,style:{stroke:"transparent",fill:"transparent",lineWidth:0}})).disableMorphing=!0,e.add(i))}function fMe(e,t,n,i){if(n.symbolClip){var o=e.__pictorialClipPath,a=$2({},n.clipShape),s=t.valueDim,l=n.animationModel,u=n.dataIndex;if(o)dne(o,{shape:a},l,u);else{a[s.wh]=0,o=new qee({shape:a}),e.__pictorialBundle.setClipPath(o),e.__pictorialClipPath=o;var c={};c[s.wh]=n.clipShape[s.wh],r[i?"updateProps":"initProps"](o,{shape:c},l,u)}}}function hMe(e,t){var n=e.getItemModel(t);return n.getAnimationDelayParams=dMe,n.isAnimationEnabled=pMe,n}function dMe(e){return{index:e.__pictorialAnimationIndex,count:e.__pictorialRepeatTimes}}function pMe(){return this.parentModel.isAnimationEnabled()&&!!this.getShallow("animation")}function gMe(e,t,n,r){var i=new X8,o=new X8;return i.add(o),i.__pictorialBundle=o,o.x=n.bundlePosition[0],o.y=n.bundlePosition[1],n.symbolRepeat?lMe(i,t,n):uMe(i,0,n),cMe(i,n,r),fMe(i,t,n,r),i.__pictorialShapeStr=bMe(e,n),i.__pictorialSymbolMeta=n,i}function mMe(e,t,n,r){var i=r.__pictorialBarRect;i&&i.removeTextContent();var o=[];vMe(r,(function(e){o.push(e)})),r.__pictorialMainPath&&o.push(r.__pictorialMainPath),r.__pictorialClipPath&&(n=null),q2(o,(function(e){mne(e,{scaleX:0,scaleY:0},n,t,(function(){r.parent&&r.parent.remove(r)}))})),e.setItemGraphicEl(t,null)}function bMe(e,t){return[e.getItemVisual(t.dataIndex,"symbol")||"none",!!t.symbolRepeat,!!t.symbolClip].join(":")}function vMe(e,t,n){q2(e.__pictorialBundle.children(),(function(r){r!==e.__pictorialBarRect&&t.call(n,r)}))}function yMe(e,t,n,i,o,a){t&&e.attr(t),i.symbolClip&&!o?n&&e.attr(n):n&&r[o?"updateProps":"initProps"](e,n,i.animationModel,i.dataIndex,a)}function wMe(e,t,n){var r=n.dataIndex,i=n.itemModel,o=i.getModel("emphasis"),a=o.getModel("itemStyle").getItemStyle(),s=i.getModel(["blur","itemStyle"]).getItemStyle(),l=i.getModel(["select","itemStyle"]).getItemStyle(),u=i.getShallow("cursor"),c=o.get("focus"),f=o.get("blurScope"),h=o.get("scale");vMe(e,(function(e){if(e instanceof zee){var t=e.style;e.useStyle($2({image:t.image,x:t.x,y:t.y,width:t.width,height:t.height},n.style))}else e.useStyle(n.style);var r=e.ensureState("emphasis");r.style=a,h&&(r.scaleX=1.1*e.scaleX,r.scaleY=1.1*e.scaleY),e.ensureState("blur").style=s,e.ensureState("select").style=l,u&&(e.cursor=u),e.z2=n.z2}));var d=t.valueDim.posDesc[+(n.boundingLength>0)];Sne(e.__pictorialBarRect,kne(i),{labelFetcher:t.seriesModel,labelDataIndex:r,defaultText:Xpe(t.seriesModel.getData(),r),inheritColor:n.style.fill,defaultOpacity:n.style.opacity,defaultOutsidePosition:d}),tne(e,c,f,o.get("disabled"))}function xMe(e){var t=Math.round(e);return Math.abs(e-t)<1e-4?t:Math.ceil(e)}const _Me=iMe;const SMe=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.hasSymbolVisual=!0,n.defaultSymbol="roundRect",n}return g2(t,e),t.prototype.getInitialData=function(t){return t.stack=null,e.prototype.getInitialData.apply(this,arguments)},t.type="series.pictorialBar",t.dependencies=["grid"],t.defaultOption=Qne(Xge.defaultOption,{symbol:"circle",symbolSize:null,symbolRotate:null,symbolPosition:null,symbolOffset:null,symbolMargin:null,symbolRepeat:!1,symbolRepeatDirection:"end",symbolClip:!1,symbolBoundingData:null,symbolPatternSize:400,barGap:"-100%",progressive:0,emphasis:{scale:!1},select:{itemStyle:{borderColor:"#212121"}}}),t}(Xge);var kMe=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n._layers=[],n}return g2(t,e),t.prototype.render=function(e,t,n){var r=e.getData(),i=this,o=this.group,a=e.getLayerSeries(),s=r.getLayout("layoutInfo"),l=s.rect,u=s.boundaryGap;function c(e){return e.name}o.x=0,o.y=l.y+u[0];var f=new fpe(this._layersSeries||[],a,c,c),h=[];function d(t,n,s){var l=i._layers;if("remove"!==t){for(var u,c,f=[],d=[],p=a[n].indices,g=0;g<p.length;g++){var m=r.getItemLayout(p[g]),b=m.x,v=m.y0,y=m.y;f.push(b,v),d.push(b,v+y),u=r.getItemVisual(p[g],"style")}var w=r.getItemLayout(p[0]),x=e.getModel("label").get("margin"),_=e.getModel("emphasis");if("add"===t){var S=h[n]=new X8;c=new mge({shape:{points:f,stackedOnPoints:d,smooth:.4,stackedOnSmooth:.4,smoothConstraint:!1},z2:0}),S.add(c),o.add(S),e.isAnimationEnabled()&&c.setClipPath(function(e,t,n){var r=new qee({shape:{x:e.x-10,y:e.y-10,width:0,height:e.height+20}});return pne(r,{shape:{x:e.x-50,width:e.width+100,height:e.height+20}},t,n),r}(c.getBoundingRect(),e,(function(){c.removeClipPath()})))}else{S=l[s];c=S.childAt(0),o.add(S),h[n]=S,dne(c,{shape:{points:f,stackedOnPoints:d}},e),yne(c)}Sne(c,kne(e),{labelDataIndex:p[g-1],defaultText:r.getName(p[g-1]),inheritColor:u.fill},{normal:{verticalAlign:"middle"}}),c.setTextConfig({position:null,local:!0});var k=c.getTextContent();k&&(k.x=w.x-x,k.y=w.y0+w.y/2),c.useStyle(u),r.setItemGraphicEl(n,c),one(c,e),tne(c,_.get("focus"),_.get("blurScope"),_.get("disabled"))}else o.remove(l[n])}f.add(Q2(d,this,"add")).update(Q2(d,this,"update")).remove(Q2(d,this,"remove")).execute(),this._layersSeries=a,this._layers=h},t.type="themeRiver",t}(due);const CMe=kMe;var EMe=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return g2(t,e),t.prototype.init=function(t){e.prototype.init.apply(this,arguments),this.legendVisualProvider=new Fme(Q2(this.getData,this),Q2(this.getRawData,this))},t.prototype.fixData=function(e){var t=e.length,n={},r=W9(e,(function(e){return n.hasOwnProperty(e[0]+"")||(n[e[0]+""]=-1),e[2]})),i=[];r.buckets.each((function(e,t){i.push({name:t,dataList:e})}));for(var o=i.length,a=0;a<o;++a){for(var s=i[a].name,l=0;l<i[a].dataList.length;++l){var u=i[a].dataList[l][0]+"";n[u]=a}for(var u in n)n.hasOwnProperty(u)&&n[u]!==a&&(n[u]=a,e[t]=[u,0,s],t++)}return e},t.prototype.getInitialData=function(e,t){for(var n=this.getReferringComponents("singleAxis",V9).models[0].get("type"),r=K2(e.data,(function(e){return void 0!==e[2]})),i=this.fixData(r||[]),o=[],a=this.nameMap=k3(),s=0,l=0;l<i.length;++l)o.push(i[l][2]),a.get(i[l][2])||(a.set(i[l][2],s),s++);var u=jpe(i,{coordDimensions:["single"],dimensionsDefine:[{name:"time",type:ppe(n)},{name:"value",type:"float"},{name:"name",type:"ordinal"}],encodeDefine:{single:0,value:1,itemName:2}}).dimensions,c=new Npe(u,this);return c.initData(i),c},t.prototype.getLayerSeries=function(){for(var e=this.getData(),t=e.count(),n=[],r=0;r<t;++r)n[r]=r;var i=e.mapDimension("single"),o=W9(n,(function(t){return e.get("name",t)})),a=[];return o.buckets.each((function(t,n){t.sort((function(t,n){return e.get(i,t)-e.get(i,n)})),a.push({name:n,indices:t})})),a},t.prototype.getAxisTooltipData=function(e,t,n){e3(e)||(e=e?[e]:[]);for(var r,i=this.getData(),o=this.getLayerSeries(),a=[],s=o.length,l=0;l<s;++l){for(var u=Number.MAX_VALUE,c=-1,f=o[l].indices.length,h=0;h<f;++h){var d=i.get(e[0],o[l].indices[h]),p=Math.abs(d-t);p<=u&&(r=d,u=p,c=o[l].indices[h])}a.push(c)}return{dataIndices:a,nestestValue:r}},t.prototype.formatTooltip=function(e,t,n){var r=this.getData();return Aae("nameValue",{name:r.getName(e),value:r.get(r.mapDimension("value"),e)})},t.type="series.themeRiver",t.dependencies=["singleAxis"],t.defaultOption={z:2,colorBy:"data",coordinateSystem:"singleAxis",boundaryGap:["10%","10%"],singleAxisIndex:0,animationEasing:"linear",label:{margin:4,show:!0,position:"left",fontSize:11},emphasis:{label:{show:!0}}},t}(Jae);const IMe=EMe;function MMe(e,t){e.eachSeriesByType("themeRiver",(function(e){var t=e.getData(),n=e.coordinateSystem,r={},i=n.getRect();r.rect=i;var o=e.get("boundaryGap"),a=n.getAxis();(r.boundaryGap=o,"horizontal"===a.orient)?(o[0]=t9(o[0],i.height),o[1]=t9(o[1],i.height),TMe(t,e,i.height-o[0]-o[1])):(o[0]=t9(o[0],i.width),o[1]=t9(o[1],i.width),TMe(t,e,i.width-o[0]-o[1]));t.setLayout("layoutInfo",r)}))}function TMe(e,t,n){if(e.count())for(var r,i=t.coordinateSystem,o=t.getLayerSeries(),a=e.mapDimension("single"),s=e.mapDimension("value"),l=X2(o,(function(t){return X2(t.indices,(function(t){var n=i.dataToPoint(e.get(a,t));return n[1]=e.get(s,t),n}))})),u=function(e){for(var t=e.length,n=e[0].length,r=[],i=[],o=0,a=0;a<n;++a){for(var s=0,l=0;l<t;++l)s+=e[l][a][1];s>o&&(o=s),r.push(s)}for(var u=0;u<n;++u)i[u]=(o-r[u])/2;o=0;for(var c=0;c<n;++c){var f=r[c]+i[c];f>o&&(o=f)}return{y0:i,max:o}}(l),c=u.y0,f=n/u.max,h=o.length,d=o[0].indices.length,p=0;p<d;++p){r=c[p]*f,e.setItemLayout(o[0].indices[p],{layerIndex:0,x:l[0][p][0],y0:r,y:l[0][p][1]*f});for(var g=1;g<h;++g)r+=l[g-1][p][1]*f,e.setItemLayout(o[g].indices[p],{layerIndex:g,x:l[g][p][0],y0:r,y:l[g][p][1]*f})}}var AMe=function(e){function t(t,n,r,i){var o=e.call(this)||this;o.z2=2,o.textConfig={inside:!0},cte(o).seriesIndex=n.seriesIndex;var a=new ute({z2:4,silent:t.getModel().get(["label","silent"])});return o.setTextContent(a),o.updateData(!0,t,n,r,i),o}return g2(t,e),t.prototype.updateData=function(e,t,n,r,i){this.node=t,t.piece=this,n=n||this._seriesModel,r=r||this._ecModel;var o=this;cte(o).dataIndex=t.dataIndex;var a=t.getModel(),s=a.getModel("emphasis"),l=t.getLayout(),u=$2({},l);u.label=null;var c=t.getVisual("style");c.lineJoin="bevel";var f=t.getVisual("decal");f&&(c.decal=Kce(f,i));var h=nme(a.getModel("itemStyle"),u,!0);$2(u,h),q2(mte,(function(e){var t=o.ensureState(e),n=a.getModel([e,"itemStyle"]);t.style=n.getItemStyle();var r=nme(n,u);r&&(t.shape=r)})),e?(o.setShape(u),o.shape.r=l.r0,pne(o,{shape:{r:l.r}},n,t.dataIndex)):(dne(o,{shape:u},n),yne(o)),o.useStyle(c),this._updateLabel(n);var d=a.getShallow("cursor");d&&o.attr("cursor",d),this._seriesModel=n||this._seriesModel,this._ecModel=r||this._ecModel;var p=s.get("focus");tne(this,"ancestor"===p?t.getAncestorsIndices():"descendant"===p?t.getDescendantIndices():p,s.get("blurScope"),s.get("disabled"))},t.prototype._updateLabel=function(e){var t=this,n=this.node.getModel(),r=n.getModel("label"),i=this.node.getLayout(),o=i.endAngle-i.startAngle,a=(i.startAngle+i.endAngle)/2,s=Math.cos(a),l=Math.sin(a),u=this,c=u.getTextContent(),f=this.node.dataIndex,h=r.get("minAngle")/180*Math.PI,d=r.get("show")&&!(null!=h&&Math.abs(o)<h);function p(e,t){var n=e.get(t);return null==n?r.get(t):n}c.ignore=!d,q2(bte,(function(r){var h="normal"===r?n.getModel("label"):n.getModel([r,"label"]),d="normal"===r,g=d?c:c.ensureState(r),m=e.getFormattedLabel(f,r);d&&(m=m||t.node.name),g.style=Cne(h,{},null,"normal"!==r,!0),m&&(g.style.text=m);var b=h.get("show");null==b||d||(g.ignore=!b);var v,y=p(h,"position"),w=d?u:u.states[r],x=w.style.fill;w.textConfig={outsideFill:"inherit"===h.get("color")?x:null,inside:"outside"!==y};var _=p(h,"distance")||0,S=p(h,"align");"outside"===y?(v=i.r+_,S=a>Math.PI/2?"right":"left"):S&&"center"!==S?"left"===S?(v=i.r0+_,a>Math.PI/2&&(S="right")):"right"===S&&(v=i.r-_,a>Math.PI/2&&(S="left")):(v=o===2*Math.PI&&0===i.r0?0:(i.r+i.r0)/2,S="center"),g.style.align=S,g.style.verticalAlign=p(h,"verticalAlign")||"middle",g.x=v*s+i.cx,g.y=v*l+i.cy;var k=p(h,"rotate"),C=0;"radial"===k?(C=mee(-a))>Math.PI/2&&C<1.5*Math.PI&&(C+=Math.PI):"tangential"===k?(C=Math.PI/2-a)>Math.PI/2?C-=Math.PI:C<-Math.PI/2&&(C+=Math.PI):i3(k)&&(C=k*Math.PI/180),g.rotation=C})),c.dirtyStyle()},t}(Gse);const PMe=AMe;var OMe="sunburstRootToNode",DMe="sunburstHighlight";var RMe=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return g2(t,e),t.prototype.render=function(e,t,n,r){var i=this;this.seriesModel=e,this.api=n,this.ecModel=t;var o=e.getData(),a=o.tree.root,s=e.getViewRoot(),l=this.group,u=e.get("renderLabelForZeroData"),c=[];s.eachNode((function(e){c.push(e)}));var f=this._oldChildren||[];!function(r,i){if(0===r.length&&0===i.length)return;function s(e){return e.getId()}function c(s,c){!function(r,i){u||!r||r.getValue()||(r=null);if(r!==a&&i!==a)if(i&&i.piece)r?(i.piece.updateData(!1,r,e,t,n),o.setItemGraphicEl(r.dataIndex,i.piece)):function(e){if(!e)return;e.piece&&(l.remove(e.piece),e.piece=null)}(i);else if(r){var s=new PMe(r,e,t,n);l.add(s),o.setItemGraphicEl(r.dataIndex,s)}}(null==s?null:r[s],null==c?null:i[c])}new fpe(i,r,s,s).add(c).update(c).remove(J2(c,null)).execute()}(c,f),function(r,o){o.depth>0?(i.virtualPiece?i.virtualPiece.updateData(!1,r,e,t,n):(i.virtualPiece=new PMe(r,e,t,n),l.add(i.virtualPiece)),o.piece.off("click"),i.virtualPiece.on("click",(function(e){i._rootToNode(o.parentNode)}))):i.virtualPiece&&(l.remove(i.virtualPiece),i.virtualPiece=null)}(a,s),this._initEvents(),this._oldChildren=c},t.prototype._initEvents=function(){var e=this;this.group.off("click"),this.group.on("click",(function(t){var n=!1;e.seriesModel.getViewRoot().eachNode((function(r){if(!n&&r.piece&&r.piece===t.target){var i=r.getModel().get("nodeClick");if("rootToNode"===i)e._rootToNode(r);else if("link"===i){var o=r.getModel(),a=o.get("link");if(a)Wre(a,o.get("target",!0)||"_blank")}n=!0}}))}))},t.prototype._rootToNode=function(e){e!==this.seriesModel.getViewRoot()&&this.api.dispatchAction({type:OMe,from:this.uid,seriesId:this.seriesModel.id,targetNode:e})},t.prototype.containPoint=function(e,t){var n=t.getData().getItemLayout(0);if(n){var r=e[0]-n.cx,i=e[1]-n.cy,o=Math.sqrt(r*r+i*i);return o<=n.r&&o>=n.r0}},t.type="sunburst",t}(due);const LMe=RMe;var NMe=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.ignoreStyleOnData=!0,n}return g2(t,e),t.prototype.getInitialData=function(e,t){var n={name:e.name,children:e.data};jMe(n);var r=this._levelModels=X2(e.levels||[],(function(e){return new Yne(e,this,t)}),this),i=t_e.createTree(n,this,(function(e){e.wrapMethod("getItemModel",(function(e,t){var n=i.getNodeByDataIndex(t),o=r[n.depth];return o&&(e.parentModel=o),e}))}));return i.data},t.prototype.optionUpdated=function(){this.resetViewRoot()},t.prototype.getDataParams=function(t){var n=e.prototype.getDataParams.apply(this,arguments),r=this.getData().tree.getNodeByDataIndex(t);return n.treePathInfo=o_e(r,this),n},t.prototype.getLevelModel=function(e){return this._levelModels&&this._levelModels[e.depth]},t.prototype.getViewRoot=function(){return this._viewRoot},t.prototype.resetViewRoot=function(e){e?this._viewRoot=e:e=this._viewRoot;var t=this.getRawData().tree.root;e&&(e===t||t.contains(e))||(this._viewRoot=t)},t.prototype.enableAriaDecal=function(){h_e(this)},t.type="series.sunburst",t.defaultOption={z:2,center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,minAngle:0,stillShowZeroSum:!0,nodeClick:"rootToNode",renderLabelForZeroData:!1,label:{rotate:"radial",show:!0,opacity:1,align:"center",position:"inside",distance:5,silent:!0},itemStyle:{borderWidth:1,borderColor:"white",borderType:"solid",shadowBlur:0,shadowColor:"rgba(0, 0, 0, 0.2)",shadowOffsetX:0,shadowOffsetY:0,opacity:1},emphasis:{focus:"descendant"},blur:{itemStyle:{opacity:.2},label:{opacity:.1}},animationType:"expansion",animationDuration:1e3,animationDurationUpdate:500,data:[],sort:"desc"},t}(Jae);function jMe(e){var t=0;q2(e.children,(function(e){jMe(e);var n=e.value;e3(n)&&(n=n[0]),t+=n}));var n=e.value;e3(n)&&(n=n[0]),(null==n||isNaN(n))&&(n=t),n<0&&(n=0),e3(e.value)?e.value[0]=n:e.value=n}const FMe=NMe;var zMe=Math.PI/180;function BMe(e,t,n){t.eachSeriesByType(e,(function(e){var t=e.get("center"),r=e.get("radius");e3(r)||(r=[0,r]),e3(t)||(t=[t,t]);var i=n.getWidth(),o=n.getHeight(),a=Math.min(i,o),s=t9(t[0],i),l=t9(t[1],o),u=t9(r[0],a/2),c=t9(r[1],a/2),f=-e.get("startAngle")*zMe,h=e.get("minAngle")*zMe,d=e.getData().tree.root,p=e.getViewRoot(),g=p.depth,m=e.get("sort");null!=m&&VMe(p,m);var b=0;q2(p.children,(function(e){!isNaN(e.getValue())&&b++}));var v=p.getValue(),y=Math.PI/(v||b)*2,w=p.depth>0,x=p.height-(w?-1:1),_=(c-u)/(x||1),S=e.get("clockwise"),k=e.get("stillShowZeroSum"),C=S?1:-1,E=function(t,n){if(t){var r=n;if(t!==d){var i=t.getValue(),o=0===v&&k?y:i*y;o<h&&(o=h),r=n+C*o;var c=t.depth-g-(w?-1:1),f=u+_*c,p=u+_*(c+1),m=e.getLevelModel(t);if(m){var b=m.get("r0",!0),x=m.get("r",!0),I=m.get("radius",!0);null!=I&&(b=I[0],x=I[1]),null!=b&&(f=t9(b,a/2)),null!=x&&(p=t9(x,a/2))}t.setLayout({angle:o,startAngle:n,endAngle:r,clockwise:S,cx:s,cy:l,r0:f,r:p})}if(t.children&&t.children.length){var M=0;q2(t.children,(function(e){M+=E(e,n+M)}))}return r-n}};if(w){var I=u,M=u+_,T=2*Math.PI;d.setLayout({angle:T,startAngle:f,endAngle:f+T,clockwise:S,cx:s,cy:l,r0:I,r:M})}E(p,f)}))}function VMe(e,t){var n=e.children||[];e.children=function(e,t){if(t3(t)){var n=X2(e,(function(e,t){var n=e.getValue();return{params:{depth:e.depth,height:e.height,dataIndex:e.dataIndex,getValue:function(){return n}},index:t}}));return n.sort((function(e,n){return t(e.params,n.params)})),X2(n,(function(t){return e[t.index]}))}var r="asc"===t;return e.sort((function(e,t){var n=(e.getValue()-t.getValue())*(r?1:-1);return 0===n?(e.dataIndex-t.dataIndex)*(r?-1:1):n}))}(n,t),n.length&&q2(e.children,(function(e){VMe(e,t)}))}function $Me(e){var t={};e.eachSeriesByType("sunburst",(function(e){var n=e.getData(),r=n.tree;r.eachNode((function(i){var o=i.getModel().getModel("itemStyle").getItemStyle();o.fill||(o.fill=function(e,n,r){for(var i=e;i&&i.depth>1;)i=i.parentNode;var o=n.getColorFromPalette(i.name||i.dataIndex+"",t);return e.depth>1&&n3(o)&&(o=a6(o,(e.depth-1)/(r-1)*.5)),o}(i,e,r.root.height)),$2(n.ensureUniqueItemVisual(i.dataIndex,"style"),o)}))}))}var HMe={color:"fill",borderColor:"stroke"},GMe={symbol:1,symbolSize:1,symbolKeepAspect:1,legendIcon:1,visualMeta:1,liftZ:1,decal:1},WMe=j9();const UMe=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return g2(t,e),t.prototype.optionUpdated=function(){this.currentZLevel=this.get("zlevel",!0),this.currentZ=this.get("z",!0)},t.prototype.getInitialData=function(e,t){return Wpe(null,this)},t.prototype.getDataParams=function(t,n,r){var i=e.prototype.getDataParams.call(this,t,n);return r&&(i.info=WMe(r).info),i},t.type="series.custom",t.dependencies=["grid","polar","geo","singleAxis","calendar"],t.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,clip:!1},t}(Jae);function qMe(e,t){return t=t||[0,0],X2(["x","y"],(function(n,r){var i=this.getAxis(n),o=t[r],a=e[r]/2;return"category"===i.type?i.getBandWidth():Math.abs(i.dataToCoord(o-a)-i.dataToCoord(o+a))}),this)}function XMe(e,t){return t=t||[0,0],X2([0,1],(function(n){var r=t[n],i=e[n]/2,o=[],a=[];return o[n]=r-i,a[n]=r+i,o[1-n]=a[1-n]=t[1-n],Math.abs(this.dataToPoint(o)[n]-this.dataToPoint(a)[n])}),this)}function YMe(e,t){var n=this.getAxis(),r=t instanceof Array?t[0]:t,i=(e instanceof Array?e[0]:e)/2;return"category"===n.type?n.getBandWidth():Math.abs(n.dataToCoord(r-i)-n.dataToCoord(r+i))}function KMe(e,t){return t=t||[0,0],X2(["Radius","Angle"],(function(n,r){var i=this["get"+n+"Axis"](),o=t[r],a=e[r]/2,s="category"===i.type?i.getBandWidth():Math.abs(i.dataToCoord(o-a)-i.dataToCoord(o+a));return"Angle"===n&&(s=s*Math.PI/180),s}),this)}function ZMe(e,t,n,r){return e&&(e.legacy||!1!==e.legacy&&!n&&!r&&"tspan"!==t&&("text"===t||M3(e,"text")))}function QMe(e,t,n){var r,i,o,a=e;if("text"===t)o=a;else{o={},M3(a,"text")&&(o.text=a.text),M3(a,"rich")&&(o.rich=a.rich),M3(a,"textFill")&&(o.fill=a.textFill),M3(a,"textStroke")&&(o.stroke=a.textStroke),M3(a,"fontFamily")&&(o.fontFamily=a.fontFamily),M3(a,"fontSize")&&(o.fontSize=a.fontSize),M3(a,"fontStyle")&&(o.fontStyle=a.fontStyle),M3(a,"fontWeight")&&(o.fontWeight=a.fontWeight),i={type:"text",style:o,silent:!0},r={};var s=M3(a,"textPosition");n?r.position=s?a.textPosition:"inside":s&&(r.position=a.textPosition),M3(a,"textPosition")&&(r.position=a.textPosition),M3(a,"textOffset")&&(r.offset=a.textOffset),M3(a,"textRotation")&&(r.rotation=a.textRotation),M3(a,"textDistance")&&(r.distance=a.textDistance)}return JMe(o,e),q2(o.rich,(function(e){JMe(e,e)})),{textConfig:r,textContent:i}}function JMe(e,t){t&&(t.font=t.textFont||t.font,M3(t,"textStrokeWidth")&&(e.lineWidth=t.textStrokeWidth),M3(t,"textAlign")&&(e.align=t.textAlign),M3(t,"textVerticalAlign")&&(e.verticalAlign=t.textVerticalAlign),M3(t,"textLineHeight")&&(e.lineHeight=t.textLineHeight),M3(t,"textWidth")&&(e.width=t.textWidth),M3(t,"textHeight")&&(e.height=t.textHeight),M3(t,"textBackgroundColor")&&(e.backgroundColor=t.textBackgroundColor),M3(t,"textPadding")&&(e.padding=t.textPadding),M3(t,"textBorderColor")&&(e.borderColor=t.textBorderColor),M3(t,"textBorderWidth")&&(e.borderWidth=t.textBorderWidth),M3(t,"textBorderRadius")&&(e.borderRadius=t.textBorderRadius),M3(t,"textBoxShadowColor")&&(e.shadowColor=t.textBoxShadowColor),M3(t,"textBoxShadowBlur")&&(e.shadowBlur=t.textBoxShadowBlur),M3(t,"textBoxShadowOffsetX")&&(e.shadowOffsetX=t.textBoxShadowOffsetX),M3(t,"textBoxShadowOffsetY")&&(e.shadowOffsetY=t.textBoxShadowOffsetY))}function eTe(e,t,n){var r=e;r.textPosition=r.textPosition||n.position||"inside",null!=n.offset&&(r.textOffset=n.offset),null!=n.rotation&&(r.textRotation=n.rotation),null!=n.distance&&(r.textDistance=n.distance);var i=r.textPosition.indexOf("inside")>=0,o=e.fill||"#000";tTe(r,t);var a=null==r.textFill;return i?a&&(r.textFill=n.insideFill||"#fff",!r.textStroke&&n.insideStroke&&(r.textStroke=n.insideStroke),!r.textStroke&&(r.textStroke=o),null==r.textStrokeWidth&&(r.textStrokeWidth=2)):(a&&(r.textFill=e.fill||n.outsideFill||"#000"),!r.textStroke&&n.outsideStroke&&(r.textStroke=n.outsideStroke)),r.text=t.text,r.rich=t.rich,q2(t.rich,(function(e){tTe(e,e)})),r}function tTe(e,t){t&&(M3(t,"fill")&&(e.textFill=t.fill),M3(t,"stroke")&&(e.textStroke=t.fill),M3(t,"lineWidth")&&(e.textStrokeWidth=t.lineWidth),M3(t,"font")&&(e.font=t.font),M3(t,"fontStyle")&&(e.fontStyle=t.fontStyle),M3(t,"fontWeight")&&(e.fontWeight=t.fontWeight),M3(t,"fontSize")&&(e.fontSize=t.fontSize),M3(t,"fontFamily")&&(e.fontFamily=t.fontFamily),M3(t,"align")&&(e.textAlign=t.align),M3(t,"verticalAlign")&&(e.textVerticalAlign=t.verticalAlign),M3(t,"lineHeight")&&(e.textLineHeight=t.lineHeight),M3(t,"width")&&(e.textWidth=t.width),M3(t,"height")&&(e.textHeight=t.height),M3(t,"backgroundColor")&&(e.textBackgroundColor=t.backgroundColor),M3(t,"padding")&&(e.textPadding=t.padding),M3(t,"borderColor")&&(e.textBorderColor=t.borderColor),M3(t,"borderWidth")&&(e.textBorderWidth=t.borderWidth),M3(t,"borderRadius")&&(e.textBorderRadius=t.borderRadius),M3(t,"shadowColor")&&(e.textBoxShadowColor=t.shadowColor),M3(t,"shadowBlur")&&(e.textBoxShadowBlur=t.shadowBlur),M3(t,"shadowOffsetX")&&(e.textBoxShadowOffsetX=t.shadowOffsetX),M3(t,"shadowOffsetY")&&(e.textBoxShadowOffsetY=t.shadowOffsetY),M3(t,"textShadowColor")&&(e.textShadowColor=t.textShadowColor),M3(t,"textShadowBlur")&&(e.textShadowBlur=t.textShadowBlur),M3(t,"textShadowOffsetX")&&(e.textShadowOffsetX=t.textShadowOffsetX),M3(t,"textShadowOffsetY")&&(e.textShadowOffsetY=t.textShadowOffsetY))}var nTe={position:["x","y"],scale:["scaleX","scaleY"],origin:["originX","originY"]},rTe=Z2(nTe),iTe=(Y2(k8,(function(e,t){return e[t]=1,e}),{}),k8.join(", "),["","style","shape","extra"]),oTe=j9();function aTe(e,t,n,r,i){var o=e+"Animation",a=fne(e,r,i)||{},s=oTe(t).userDuring;return a.duration>0&&(a.during=s?Q2(dTe,{el:t,userDuring:s}):null,a.setToFinal=!0,a.scope=e),$2(a,n[o]),a}function sTe(e,t,n,r){var i=(r=r||{}).dataIndex,o=r.isInit,a=r.clearStyle,s=n.isAnimationEnabled(),l=oTe(e),u=t.style;l.userDuring=t.during;var c={},f={};if(function(e,t,n){for(var r=0;r<rTe.length;r++){var i=rTe[r],o=nTe[i],a=t[i];a&&(n[o[0]]=a[0],n[o[1]]=a[1])}for(r=0;r<k8.length;r++){var s=k8[r];null!=t[s]&&(n[s]=t[s])}}(0,t,f),gTe("shape",t,f),gTe("extra",t,f),!o&&s&&(function(e,t,n){for(var r=t.transition,i=cTe(r)?k8:C9(r||[]),o=0;o<i.length;o++){var a=i[o];if("style"!==a&&"shape"!==a&&"extra"!==a){var s=e[a];0,n[a]=s}}}(e,t,c),pTe("shape",e,t,c),pTe("extra",e,t,c),function(e,t,n,r){if(!n)return;var i,o=e.style;if(o){var a=n.transition,s=t.transition;if(a&&!cTe(a)){var l=C9(a);!i&&(i=r.style={});for(var u=0;u<l.length;u++){var c=o[p=l[u]];i[p]=c}}else if(e.getAnimationStyleProps&&(cTe(s)||cTe(a)||G2(s,"style")>=0)){var f=e.getAnimationStyleProps(),h=f?f.style:null;if(h){!i&&(i=r.style={});var d=Z2(n);for(u=0;u<d.length;u++){var p;if(h[p=d[u]]){c=o[p];i[p]=c}}}}}}(e,t,u,c)),f.style=u,function(e,t,n){var r=t.style;if(!e.isGroup&&r){if(n){e.useStyle({});for(var i=e.animators,o=0;o<i.length;o++){var a=i[o];"style"===a.targetName&&a.changeTarget(e.style)}}e.setStyle(r)}t&&(t.style=null,t&&e.attr(t),t.style=r)}(e,f,a),function(e,t){M3(t,"silent")&&(e.silent=t.silent),M3(t,"ignore")&&(e.ignore=t.ignore),e instanceof A7&&M3(t,"invisible")&&(e.invisible=t.invisible);e instanceof Oee&&M3(t,"autoBatch")&&(e.autoBatch=t.autoBatch)}(e,t),s)if(o){var h={};q2(iTe,(function(e){var n=e?t[e]:t;n&&n.enterFrom&&(e&&(h[e]=h[e]||{}),$2(e?h[e]:h,n.enterFrom))}));var d=aTe("enter",e,t,n,i);d.duration>0&&e.animateFrom(h,d)}else!function(e,t,n,r,i){if(i){var o=aTe("update",e,t,r,n);o.duration>0&&e.animateFrom(i,o)}}(e,t,i||0,n,c);lTe(e,t),u?e.dirty():e.markRedraw()}function lTe(e,t){for(var n=oTe(e).leaveToProps,r=0;r<iTe.length;r++){var i=iTe[r],o=i?t[i]:t;o&&o.leaveTo&&(n||(n=oTe(e).leaveToProps={}),i&&(n[i]=n[i]||{}),$2(i?n[i]:n,o.leaveTo))}}function uTe(e,t,n,r){if(e){var i=e.parent,o=oTe(e).leaveToProps;if(o){var a=aTe("update",e,t,n,0);a.done=function(){i.remove(e),r&&r()},e.animateTo(o,a)}else i.remove(e),r&&r()}}function cTe(e){return"all"===e}var fTe={},hTe={setTransform:function(e,t){return fTe.el[e]=t,this},getTransform:function(e){return fTe.el[e]},setShape:function(e,t){var n=fTe.el;return(n.shape||(n.shape={}))[e]=t,n.dirtyShape&&n.dirtyShape(),this},getShape:function(e){var t=fTe.el.shape;if(t)return t[e]},setStyle:function(e,t){var n=fTe.el,r=n.style;return r&&(r[e]=t,n.dirtyStyle&&n.dirtyStyle()),this},getStyle:function(e){var t=fTe.el.style;if(t)return t[e]},setExtra:function(e,t){return(fTe.el.extra||(fTe.el.extra={}))[e]=t,this},getExtra:function(e){var t=fTe.el.extra;if(t)return t[e]}};function dTe(){var e=this,t=e.el;if(t){var n=oTe(t).userDuring,r=e.userDuring;n===r?(fTe.el=t,r(hTe)):e.el=e.userDuring=null}}function pTe(e,t,n,r){var i=n[e];if(i){var o,a=t[e];if(a){var s=n.transition,l=i.transition;if(l)if(!o&&(o=r[e]={}),cTe(l))$2(o,a);else for(var u=C9(l),c=0;c<u.length;c++){var f=a[d=u[c]];o[d]=f}else if(cTe(s)||G2(s,e)>=0){!o&&(o=r[e]={});var h=Z2(a);for(c=0;c<h.length;c++){var d;f=a[d=h[c]];mTe(i[d],f)&&(o[d]=f)}}}}}function gTe(e,t,n){var r=t[e];if(r)for(var i=n[e]={},o=Z2(r),a=0;a<o.length;a++){var s=o[a];i[s]=N6(r[s])}}function mTe(e,t){return U2(e)?e!==t:null!=e&&isFinite(e)}var bTe=j9(),vTe=["percent","easing","shape","style","extra"];function yTe(e){e.stopAnimation("keyframe"),e.attr(bTe(e))}function wTe(e,t,n){if(n.isAnimationEnabled()&&t)if(e3(t))q2(t,(function(t){wTe(e,t,n)}));else{var r=t.keyframes,i=t.duration;if(n&&null==i){var o=fne("enter",n,0);i=o&&o.duration}if(r&&i){var a=bTe(e);q2(iTe,(function(n){if(!n||e[n]){var o;r.sort((function(e,t){return e.percent-t.percent})),q2(r,(function(r){var s=e.animators,l=n?r[n]:r;if(l){var u=Z2(l);if(n||(u=K2(u,(function(e){return G2(vTe,e)<0}))),u.length){o||((o=e.animate(n,t.loop,!0)).scope="keyframe");for(var c=0;c<s.length;c++)s[c]!==o&&s[c].targetName===o.targetName&&s[c].stopTracks(u);n&&(a[n]=a[n]||{});var f=n?a[n]:a;q2(u,(function(t){f[t]=((n?e[n]:e)||{})[t]})),o.whenWithKeys(i*r.percent,l,u,r.easing)}}})),o&&o.delay(t.delay||0).duration(i).start(t.easing)}}))}}}var xTe="emphasis",_Te="normal",STe="blur",kTe="select",CTe=[_Te,xTe,STe,kTe],ETe={normal:["itemStyle"],emphasis:[xTe,"itemStyle"],blur:[STe,"itemStyle"],select:[kTe,"itemStyle"]},ITe={normal:["label"],emphasis:[xTe,"label"],blur:[STe,"label"],select:[kTe,"label"]},MTe=["x","y"],TTe={normal:{},emphasis:{},blur:{},select:{}},ATe={cartesian2d:function(e){var t=e.master.getRect();return{coordSys:{type:"cartesian2d",x:t.x,y:t.y,width:t.width,height:t.height},api:{coord:function(t){return e.dataToPoint(t)},size:Q2(qMe,e)}}},geo:function(e){var t=e.getBoundingRect();return{coordSys:{type:"geo",x:t.x,y:t.y,width:t.width,height:t.height,zoom:e.getZoom()},api:{coord:function(t){return e.dataToPoint(t)},size:Q2(XMe,e)}}},single:function(e){var t=e.getRect();return{coordSys:{type:"singleAxis",x:t.x,y:t.y,width:t.width,height:t.height},api:{coord:function(t){return e.dataToPoint(t)},size:Q2(YMe,e)}}},polar:function(e){var t=e.getRadiusAxis(),n=e.getAngleAxis(),r=t.getExtent();return r[0]>r[1]&&r.reverse(),{coordSys:{type:"polar",cx:e.cx,cy:e.cy,r:r[1],r0:r[0]},api:{coord:function(r){var i=t.dataToRadius(r[0]),o=n.dataToAngle(r[1]),a=e.coordToPoint([i,o]);return a.push(i,o*Math.PI/180),a},size:Q2(KMe,e)}}},calendar:function(e){var t=e.getRect(),n=e.getRangeInfo();return{coordSys:{type:"calendar",x:t.x,y:t.y,width:t.width,height:t.height,cellWidth:e.getCellWidth(),cellHeight:e.getCellHeight(),rangeInfo:{start:n.start,end:n.end,weeks:n.weeks,dayCount:n.allDay}},api:{coord:function(t,n){return e.dataToPoint(t,n)}}}}};function PTe(e){return e instanceof Oee}function OTe(e){return e instanceof A7}var DTe=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return g2(t,e),t.prototype.render=function(e,t,n,r){this._progressiveEls=null;var i=this._data,o=e.getData(),a=this.group,s=zTe(e,o,t,n);i||a.removeAll(),o.diff(i).add((function(t){VTe(n,null,t,s(t,r),e,a,o)})).remove((function(t){var n=i.getItemGraphicEl(t);n&&uTe(n,WMe(n).option,e)})).update((function(t,l){var u=i.getItemGraphicEl(l);VTe(n,u,t,s(t,r),e,a,o)})).execute();var l=e.get("clip",!0)?yge(e.coordinateSystem,!1,e):null;l?a.setClipPath(l):a.removeClipPath(),this._data=o},t.prototype.incrementalPrepareRender=function(e,t,n){this.group.removeAll(),this._data=null},t.prototype.incrementalRender=function(e,t,n,r,i){var o=t.getData(),a=zTe(t,o,n,r),s=this._progressiveEls=[];function l(e){e.isGroup||(e.incremental=!0,e.ensureState("emphasis").hoverLayer=!0)}for(var u=e.start;u<e.end;u++){var c=VTe(null,null,u,a(u,i),t,this.group,o);c&&(c.traverse(l),s.push(c))}},t.prototype.eachRendered=function(e){iue(this._progressiveEls||this.group,e)},t.prototype.filterForExposedEvent=function(e,t,n,r){var i=t.element;if(null==i||n.name===i)return!0;for(;(n=n.__hostTarget||n.parent)&&n!==this.group;)if(n.name===i)return!0;return!1},t.type="custom",t}(due);const RTe=DTe;function LTe(e){var t,n=e.type;if("path"===n){var r=e.shape,i=null!=r.width&&null!=r.height?{x:r.x||0,y:r.y||0,width:r.width,height:r.height}:null,o=ZTe(r);t=jle(o,null,i,r.layout||"center"),WMe(t).customPathData=o}else if("image"===n)t=new zee({}),WMe(t).customImagePath=e.style.image;else if("text"===n)t=new ute({});else if("group"===n)t=new X8;else{if("compoundPath"===n)throw new Error('"compoundPath" is not supported yet.');var a=Nle(n);if(!a){0,Yoe("")}t=new a}return WMe(t).customGraphicType=n,t.name=e.name,t.z2EmphasisLift=1,t.z2SelectLift=1,t}function NTe(e,t,n,r,i,o,a){yTe(t);var s=i&&i.normal.cfg;s&&t.setTextConfig(s),r&&null==r.transition&&(r.transition=MTe);var l=r&&r.style;if(l){if("text"===t.type){var u=l;M3(u,"textFill")&&(u.fill=u.textFill),M3(u,"textStroke")&&(u.stroke=u.textStroke)}var c=void 0,f=PTe(t)?l.decal:null;e&&f&&(f.dirty=!0,c=Kce(f,e)),l.__decalPattern=c}OTe(t)&&(l&&(c=l.__decalPattern)&&(l.decal=c));sTe(t,r,o,{dataIndex:n,isInit:a,clearStyle:!0}),wTe(t,r.keyframeAnimation,o)}function jTe(e,t,n,r,i){var o=t.isGroup?null:t,a=i&&i[e].cfg;if(o){var s=o.ensureState(e);if(!1===r){var l=o.getState(e);l&&(l.style=null)}else s.style=r||null;a&&(s.textConfig=a),Fte(o)}}function FTe(e,t,n){var r=n===_Te,i=r?t:WTe(t,n),o=i?i.z2:null;null!=o&&((r?e:e.ensureState(n)).z2=o||0)}function zTe(e,t,n,r){var i=e.get("renderItem"),o=e.coordinateSystem,a={};o&&(a=o.prepareCustoms?o.prepareCustoms(o):ATe[o.type](o));for(var s,l,u=H2({getWidth:r.getWidth,getHeight:r.getHeight,getZr:r.getZr,getDevicePixelRatio:r.getDevicePixelRatio,value:function(e,n){return null==n&&(n=s),t.getStore().get(t.getDimensionIndex(e||0),n)},style:function(n,r){0;null==r&&(r=s);var i=t.getItemVisual(r,"style"),o=i&&i.fill,a=i&&i.opacity,l=v(r,_Te).getItemStyle();null!=o&&(l.fill=o),null!=a&&(l.opacity=a);var u={inheritColor:n3(o)?o:"#000"},c=y(r,_Te),f=Cne(c,null,u,!1,!0);f.text=c.getShallow("show")?h3(e.getFormattedLabel(r,_Te),Xpe(t,r)):null;var h=Ene(c,u,!1);return x(n,l),l=eTe(l,f,h),n&&w(l,n),l.legacy=!0,l},ordinalRawValue:function(e,n){null==n&&(n=s),e=e||0;var r=t.getDimensionInfo(e);if(!r){var i=t.getDimensionIndex(e);return i>=0?t.getStore().get(i,n):void 0}var o=t.get(r.name,n),a=r&&r.ordinalMeta;return a?a.categories[o]:o},styleEmphasis:function(n,r){0;null==r&&(r=s);var i=v(r,xTe).getItemStyle(),o=y(r,xTe),a=Cne(o,null,null,!0,!0);a.text=o.getShallow("show")?d3(e.getFormattedLabel(r,xTe),e.getFormattedLabel(r,_Te),Xpe(t,r)):null;var l=Ene(o,null,!0);return x(n,i),i=eTe(i,a,l),n&&w(i,n),i.legacy=!0,i},visual:function(e,n){if(null==n&&(n=s),M3(HMe,e)){var r=t.getItemVisual(n,"style");return r?r[HMe[e]]:null}if(M3(GMe,e))return t.getItemVisual(n,e)},barLayout:function(e){if("cartesian2d"===o.type){return function(e){var t=[],n=e.axis,r="axis0";if("category"===n.type){for(var i=n.getBandWidth(),o=0;o<e.count;o++)t.push(H2({bandWidth:i,axisKey:r,stackId:jge+o},e));var a=$ge(t),s=[];for(o=0;o<e.count;o++){var l=a.axis0[jge+o];l.offsetCenter=l.offset+l.width/2,s.push(l)}return s}}(H2({axis:o.getBaseAxis()},e))}},currentSeriesIndices:function(){return n.getCurrentSeriesIndices()},font:function(e){return Pne(e,n)}},a.api||{}),c={context:{},seriesId:e.id,seriesName:e.name,seriesIndex:e.seriesIndex,coordSys:a.coordSys,dataInsideLength:t.count(),encode:BTe(e.getData())},f={},h={},d={},p={},g=0;g<CTe.length;g++){var m=CTe[g];d[m]=e.getModel(ETe[m]),p[m]=e.getModel(ITe[m])}function b(e){return e===s?l||(l=t.getItemModel(e)):t.getItemModel(e)}function v(e,n){return t.hasItemOption?e===s?f[n]||(f[n]=b(e).getModel(ETe[n])):b(e).getModel(ETe[n]):d[n]}function y(e,n){return t.hasItemOption?e===s?h[n]||(h[n]=b(e).getModel(ITe[n])):b(e).getModel(ITe[n]):p[n]}return function(e,n){return s=e,l=null,f={},h={},i&&i(H2({dataIndexInside:e,dataIndex:t.getRawIndex(e),actionType:n?n.type:null},c),u)};function w(e,t){for(var n in t)M3(t,n)&&(e[n]=t[n])}function x(e,t){e&&(e.textFill&&(t.textFill=e.textFill),e.textPosition&&(t.textPosition=e.textPosition))}}function BTe(e){var t={};return q2(e.dimensions,(function(n){var r=e.getDimensionInfo(n);if(!r.isExtraCoord){var i=r.coordDim;(t[i]=t[i]||[])[r.coordDimIndex]=e.getDimensionIndex(n)}})),t}function VTe(e,t,n,r,i,o,a){if(r){var s=$Te(e,t,n,r,i,o);return s&&a.setItemGraphicEl(n,s),s&&tne(s,r.focus,r.blurScope,r.emphasisDisabled),s}o.remove(t)}function $Te(e,t,n,r,i,o){var a=-1,s=t;t&&HTe(t,r,i)&&(a=G2(o.childrenRef(),t),t=null);var l,u,c=!t,f=t;f?f.clearStates():(f=LTe(r),s&&(l=s,(u=f).copyTransform(l),OTe(u)&&OTe(l)&&(u.setStyle(l.style),u.z=l.z,u.z2=l.z2,u.zlevel=l.zlevel,u.invisible=l.invisible,u.ignore=l.ignore,PTe(u)&&PTe(l)&&u.setShape(l.shape)))),!1===r.morph?f.disableMorphing=!0:f.disableMorphing&&(f.disableMorphing=!1),TTe.normal.cfg=TTe.normal.conOpt=TTe.emphasis.cfg=TTe.emphasis.conOpt=TTe.blur.cfg=TTe.blur.conOpt=TTe.select.cfg=TTe.select.conOpt=null,TTe.isLegacy=!1,function(e,t,n,r,i,o){if(e.isGroup)return;GTe(n,null,o),GTe(n,xTe,o);var a=o.normal.conOpt,s=o.emphasis.conOpt,l=o.blur.conOpt,u=o.select.conOpt;if(null!=a||null!=s||null!=u||null!=l){var c=e.getTextContent();if(!1===a)c&&e.removeTextContent();else{a=o.normal.conOpt=a||{type:"text"},c?c.clearStates():(c=LTe(a),e.setTextContent(c)),NTe(null,c,t,a,null,r,i);for(var f=a&&a.style,h=0;h<CTe.length;h++){var d=CTe[h];if(d!==_Te){var p=o[d].conOpt;jTe(d,c,0,UTe(a,p,d),null)}}f?c.dirty():c.markRedraw()}}}(f,n,r,i,c,TTe),function(e,t,n,r,i){var o=n.clipPath;if(!1===o)e&&e.getClipPath()&&e.removeClipPath();else if(o){var a=e.getClipPath();a&&HTe(a,o,r)&&(a=null),a||(a=LTe(o),e.setClipPath(a)),NTe(null,a,t,o,null,r,i)}}(f,n,r,i,c),NTe(e,f,n,r,TTe,i,c),M3(r,"info")&&(WMe(f).info=r.info);for(var h=0;h<CTe.length;h++){var d=CTe[h];if(d!==_Te){var p=WTe(r,d);jTe(d,f,0,UTe(r,p,d),TTe)}}return function(e,t,n){if(!e.isGroup){var r=e,i=n.currentZ,o=n.currentZLevel;r.z=i,r.zlevel=o;var a=t.z2;null!=a&&(r.z2=a||0);for(var s=0;s<CTe.length;s++)FTe(r,t,CTe[s])}}(f,r,i),"group"===r.type&&function(e,t,n,r,i){var o=r.children,a=o?o.length:0,s=r.$mergeChildren,l="byName"===s||r.diffChildrenByName,u=!1===s;if(!a&&!l&&!u)return;if(l)return c={api:e,oldChildren:t.children()||[],newChildren:o||[],dataIndex:n,seriesModel:i,group:t},void new fpe(c.oldChildren,c.newChildren,XTe,XTe,c).add(YTe).update(YTe).remove(KTe).execute();var c;u&&t.removeAll();for(var f=0;f<a;f++){var h=o[f],d=t.childAt(f);h?(null==h.ignore&&(h.ignore=!1),$Te(e,d,n,h,i,t)):d.ignore=!0}for(var p=t.childCount()-1;p>=f;p--){var g=t.childAt(p);qTe(t,g,i)}}(e,f,n,r,i),a>=0?o.replaceAt(f,a):o.add(f),f}function HTe(e,t,n){var r,i=WMe(e),o=t.type,a=t.shape,s=t.style;return n.isUniversalTransitionEnabled()||null!=o&&o!==i.customGraphicType||"path"===o&&((r=a)&&(M3(r,"pathData")||M3(r,"d")))&&ZTe(a)!==i.customPathData||"image"===o&&M3(s,"image")&&s.image!==i.customImagePath}function GTe(e,t,n){var r=t?WTe(e,t):e,i=t?UTe(e,r,xTe):e.style,o=e.type,a=r?r.textConfig:null,s=e.textContent,l=s?t?WTe(s,t):s:null;if(i&&(n.isLegacy||ZMe(i,o,!!a,!!l))){n.isLegacy=!0;var u=QMe(i,o,!t);!a&&u.textConfig&&(a=u.textConfig),!l&&u.textContent&&(l=u.textContent)}if(!t&&l){var c=l;!c.type&&(c.type="text")}var f=t?n[t]:n.normal;f.cfg=a,f.conOpt=l}function WTe(e,t){return t?e?e[t]:null:e}function UTe(e,t,n){var r=t&&t.style;return null==r&&n===xTe&&e&&(r=e.styleEmphasis),r}function qTe(e,t,n){t&&uTe(t,WMe(e).option,n)}function XTe(e,t){var n=e&&e.name;return null!=n?n:"e\0\0"+t}function YTe(e,t){var n=this.context,r=null!=e?n.newChildren[e]:null,i=null!=t?n.oldChildren[t]:null;$Te(n.api,i,n.dataIndex,r,n.seriesModel,n.group)}function KTe(e){var t=this.context,n=t.oldChildren[e];n&&uTe(n,WMe(n).option,t.seriesModel)}function ZTe(e){return e&&(e.pathData||e.d)}var QTe=j9(),JTe=z2,eAe=Q2,tAe=function(){function e(){this._dragging=!1,this.animationThreshold=15}return e.prototype.render=function(e,t,n,r){var i=t.get("value"),o=t.get("status");if(this._axisModel=e,this._axisPointerModel=t,this._api=n,r||this._lastValue!==i||this._lastStatus!==o){this._lastValue=i,this._lastStatus=o;var a=this._group,s=this._handle;if(!o||"hide"===o)return a&&a.hide(),void(s&&s.hide());a&&a.show(),s&&s.show();var l={};this.makeElOption(l,i,e,t,n);var u=l.graphicKey;u!==this._lastGraphicKey&&this.clear(n),this._lastGraphicKey=u;var c=this._moveAnimation=this.determineAnimation(e,t);if(a){var f=J2(nAe,t,c);this.updatePointerEl(a,l,f),this.updateLabelEl(a,l,f,t)}else a=this._group=new X8,this.createPointerEl(a,l,e,t),this.createLabelEl(a,l,e,t),n.getZr().add(a);aAe(a,t,!0),this._renderHandle(i)}},e.prototype.remove=function(e){this.clear(e)},e.prototype.dispose=function(e){this.clear(e)},e.prototype.determineAnimation=function(e,t){var n=t.get("animation"),r=e.axis,i="category"===r.type,o=t.get("snap");if(!o&&!i)return!1;if("auto"===n||null==n){var a=this.animationThreshold;if(i&&r.getBandWidth()>a)return!0;if(o){var s=Uve(e).seriesDataCount,l=r.getExtent();return Math.abs(l[0]-l[1])/s>a}return!1}return!0===n},e.prototype.makeElOption=function(e,t,n,r,i){},e.prototype.createPointerEl=function(e,t,n,i){var o=t.pointer;if(o){var a=QTe(e).pointerEl=new r[o.type](JTe(t.pointer));e.add(a)}},e.prototype.createLabelEl=function(e,t,n,r){if(t.label){var i=QTe(e).labelEl=new ute(JTe(t.label));e.add(i),iAe(i,r)}},e.prototype.updatePointerEl=function(e,t,n){var r=QTe(e).pointerEl;r&&t.pointer&&(r.setStyle(t.pointer.style),n(r,{shape:t.pointer.shape}))},e.prototype.updateLabelEl=function(e,t,n,r){var i=QTe(e).labelEl;i&&(i.setStyle(t.label.style),n(i,{x:t.label.x,y:t.label.y}),iAe(i,r))},e.prototype._renderHandle=function(e){if(!this._dragging&&this.updateHandleTransform){var t,n=this._axisPointerModel,r=this._api.getZr(),i=this._handle,o=n.getModel("handle"),a=n.get("status");if(!o.get("show")||!a||"hide"===a)return i&&r.remove(i),void(this._handle=null);this._handle||(t=!0,i=this._handle=Qle(o.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(e){y5(e.event)},onmousedown:eAe(this._onHandleDragMove,this,0,0),drift:eAe(this._onHandleDragMove,this),ondragend:eAe(this._onHandleDragEnd,this)}),r.add(i)),aAe(i,n,!1),i.setStyle(o.getItemStyle(null,["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"]));var s=o.get("size");e3(s)||(s=[s,s]),i.scaleX=s[0]/2,i.scaleY=s[1]/2,vue(this,"_doDispatchAxisPointer",o.get("throttle")||0,"fixRate"),this._moveHandleToValue(e,t)}},e.prototype._moveHandleToValue=function(e,t){nAe(this._axisPointerModel,!t&&this._moveAnimation,this._handle,oAe(this.getHandleTransform(e,this._axisModel,this._axisPointerModel)))},e.prototype._onHandleDragMove=function(e,t){var n=this._handle;if(n){this._dragging=!0;var r=this.updateHandleTransform(oAe(n),[e,t],this._axisModel,this._axisPointerModel);this._payloadInfo=r,n.stopAnimation(),n.attr(oAe(r)),QTe(n).lastProp=null,this._doDispatchAxisPointer()}},e.prototype._doDispatchAxisPointer=function(){if(this._handle){var e=this._payloadInfo,t=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:e.cursorPoint[0],y:e.cursorPoint[1],tooltipOption:e.tooltipOption,axesInfo:[{axisDim:t.axis.dim,axisIndex:t.componentIndex}]})}},e.prototype._onHandleDragEnd=function(){if(this._dragging=!1,this._handle){var e=this._axisPointerModel.get("value");this._moveHandleToValue(e),this._api.dispatchAction({type:"hideTip"})}},e.prototype.clear=function(e){this._lastValue=null,this._lastStatus=null;var t=e.getZr(),n=this._group,r=this._handle;t&&n&&(this._lastGraphicKey=null,n&&t.remove(n),r&&t.remove(r),this._group=null,this._handle=null,this._payloadInfo=null),yue(this,"_doDispatchAxisPointer")},e.prototype.doClear=function(){},e.prototype.buildLabel=function(e,t,n){return{x:e[n=n||0],y:e[1-n],width:t[n],height:t[1-n]}},e}();function nAe(e,t,n,r){rAe(QTe(n).lastProp,r)||(QTe(n).lastProp=r,t?dne(n,r,e):(n.stopAnimation(),n.attr(r)))}function rAe(e,t){if(o3(e)&&o3(t)){var n=!0;return q2(t,(function(t,r){n=n&&rAe(e[r],t)})),!!n}return e===t}function iAe(e,t){e[t.get(["label","show"])?"show":"hide"]()}function oAe(e){return{x:e.x||0,y:e.y||0,rotation:e.rotation||0}}function aAe(e,t,n){var r=t.get("z"),i=t.get("zlevel");e&&e.traverse((function(e){"group"!==e.type&&(null!=r&&(e.z=r),null!=i&&(e.zlevel=i),e.silent=n)}))}const sAe=tAe;function lAe(e){var t,n=e.get("type"),r=e.getModel(n+"Style");return"line"===n?(t=r.getLineStyle()).fill=null:"shadow"===n&&((t=r.getAreaStyle()).stroke=null),t}function uAe(e,t,n,r,i){var o=cAe(n.get("value"),t.axis,t.ecModel,n.get("seriesDataIndices"),{precision:n.get(["label","precision"]),formatter:n.get(["label","formatter"])}),a=n.getModel("label"),s=zre(a.get("padding")||0),l=a.getFont(),u=A8(o,l),c=i.position,f=u.width+s[1]+s[3],h=u.height+s[0]+s[2],d=i.align;"right"===d&&(c[0]-=f),"center"===d&&(c[0]-=f/2);var p=i.verticalAlign;"bottom"===p&&(c[1]-=h),"middle"===p&&(c[1]-=h/2),function(e,t,n,r){var i=r.getWidth(),o=r.getHeight();e[0]=Math.min(e[0]+t,i)-t,e[1]=Math.min(e[1]+n,o)-n,e[0]=Math.max(e[0],0),e[1]=Math.max(e[1],0)}(c,f,h,r);var g=a.get("backgroundColor");g&&"auto"!==g||(g=t.get(["axisLine","lineStyle","color"])),e.label={x:c[0],y:c[1],style:Cne(a,{text:o,font:l,fill:a.getTextColor(),padding:s,backgroundColor:g}),z2:10}}function cAe(e,t,n,r,i){e=t.scale.parse(e);var o=t.scale.getLabel({value:e},{precision:i.precision}),a=i.formatter;if(a){var s={value:eve(t,{value:e}),axisDimension:t.dim,axisIndex:t.index,seriesData:[]};q2(r,(function(e){var t=n.getSeriesByIndex(e.seriesIndex),r=e.dataIndexInside,i=t&&t.getDataParams(r);i&&s.seriesData.push(i)})),n3(a)?o=a.replace("{value}",o):t3(a)&&(o=a(s))}return o}function fAe(e,t,n){var r=[1,0,0,1,0,0];return M5(r,r,n.rotation),I5(r,r,n.position),Ule([e.dataToCoord(t),(n.labelOffset||0)+(n.labelDirection||1)*(n.labelMargin||0)],r)}function hAe(e,t,n,r,i,o){var a=$ve.innerTextLayout(n.rotation,0,n.labelDirection);n.labelMargin=i.get(["label","margin"]),uAe(t,r,i,o,{position:fAe(r.axis,e,n),align:a.textAlign,verticalAlign:a.textVerticalAlign})}function dAe(e,t,n){return{x1:e[n=n||0],y1:e[1-n],x2:t[n],y2:t[1-n]}}function pAe(e,t,n){return{x:e[n=n||0],y:e[1-n],width:t[n],height:t[1-n]}}function gAe(e,t,n,r,i,o){return{cx:e,cy:t,r0:n,r,startAngle:i,endAngle:o,clockwise:!0}}var mAe=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return g2(t,e),t.prototype.makeElOption=function(e,t,n,r,i){var o=n.axis,a=o.grid,s=r.get("type"),l=bAe(a,o).getOtherAxis(o).getGlobalExtent(),u=o.toGlobalCoord(o.dataToCoord(t,!0));if(s&&"none"!==s){var c=lAe(r),f=vAe[s](o,u,l);f.style=c,e.graphicKey=f.type,e.pointer=f}hAe(t,e,Cve(a.model,n),n,r,i)},t.prototype.getHandleTransform=function(e,t,n){var r=Cve(t.axis.grid.model,t,{labelInside:!1});r.labelMargin=n.get(["handle","margin"]);var i=fAe(t.axis,e,r);return{x:i[0],y:i[1],rotation:r.rotation+(r.labelDirection<0?Math.PI:0)}},t.prototype.updateHandleTransform=function(e,t,n,r){var i=n.axis,o=i.grid,a=i.getGlobalExtent(!0),s=bAe(o,i).getOtherAxis(i).getGlobalExtent(),l="x"===i.dim?0:1,u=[e.x,e.y];u[l]+=t[l],u[l]=Math.min(a[1],u[l]),u[l]=Math.max(a[0],u[l]);var c=(s[1]+s[0])/2,f=[c,c];f[l]=u[l];return{x:u[0],y:u[1],rotation:e.rotation,cursorPoint:f,tooltipOption:[{verticalAlign:"middle"},{align:"center"}][l]}},t}(sAe);function bAe(e,t){var n={};return n[t.dim+"AxisIndex"]=t.index,e.getCartesian(n)}var vAe={line:function(e,t,n){return{type:"Line",subPixelOptimize:!0,shape:dAe([t,n[0]],[t,n[1]],yAe(e))}},shadow:function(e,t,n){var r=Math.max(1,e.getBandWidth()),i=n[1]-n[0];return{type:"Rect",shape:pAe([t-r/2,n[0]],[r,i],yAe(e))}}};function yAe(e){return"x"===e.dim?0:1}const wAe=mAe;const xAe=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return g2(t,e),t.type="axisPointer",t.defaultOption={show:"auto",z:50,type:"line",snap:!1,triggerTooltip:!0,value:null,status:null,link:[],animation:null,animationDurationUpdate:200,lineStyle:{color:"#B9BEC9",width:1,type:"dashed"},shadowStyle:{color:"rgba(210,219,238,0.2)"},label:{show:!0,formatter:null,precision:"auto",margin:3,color:"#fff",padding:[5,7,5,7],backgroundColor:"auto",borderColor:null,borderWidth:0,borderRadius:3},handle:{show:!1,icon:"M10.7,11.9v-1.3H9.3v1.3c-4.9,0.3-8.8,4.4-8.8,9.4c0,5,3.9,9.1,8.8,9.4h1.3c4.9-0.3,8.8-4.4,8.8-9.4C19.5,16.3,15.6,12.2,10.7,11.9z M13.3,24.4H6.7v-1.2h6.6z M13.3,22H6.7v-1.2h6.6z M13.3,19.6H6.7v-1.2h6.6z",size:45,margin:50,color:"#333",shadowBlur:3,shadowColor:"#aaa",shadowOffsetX:0,shadowOffsetY:2,throttle:40}},t}(oie);var _Ae=j9(),SAe=q2;function kAe(e,t,n){if(!v2.node){var r=t.getZr();_Ae(r).records||(_Ae(r).records={}),function(e,t){if(_Ae(e).initialized)return;function n(n,r){e.on(n,(function(n){var i=function(e){var t={showTip:[],hideTip:[]},n=function(r){var i=t[r.type];i?i.push(r):(r.dispatchAction=n,e.dispatchAction(r))};return{dispatchAction:n,pendings:t}}(t);SAe(_Ae(e).records,(function(e){e&&r(e,n,i.dispatchAction)})),function(e,t){var n,r=e.showTip.length,i=e.hideTip.length;r?n=e.showTip[r-1]:i&&(n=e.hideTip[i-1]);n&&(n.dispatchAction=null,t.dispatchAction(n))}(i.pendings,t)}))}_Ae(e).initialized=!0,n("click",J2(EAe,"click")),n("mousemove",J2(EAe,"mousemove")),n("globalout",CAe)}(r,t),(_Ae(r).records[e]||(_Ae(r).records[e]={})).handler=n}}function CAe(e,t,n){e.handler("leave",null,n)}function EAe(e,t,n,r){t.handler(e,n,r)}function IAe(e,t){if(!v2.node){var n=t.getZr();(_Ae(n).records||{})[e]&&(_Ae(n).records[e]=null)}}var MAe=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return g2(t,e),t.prototype.render=function(e,t,n){var r=t.getComponent("tooltip"),i=e.get("triggerOn")||r&&r.get("triggerOn")||"mousemove|click";kAe("axisPointer",n,(function(e,t,n){"none"!==i&&("leave"===e||i.indexOf(e)>=0)&&n({type:"updateAxisPointer",currTrigger:e,x:t&&t.offsetX,y:t&&t.offsetY})}))},t.prototype.remove=function(e,t){IAe("axisPointer",t)},t.prototype.dispose=function(e,t){IAe("axisPointer",t)},t.type="axisPointer",t}(tse);const TAe=MAe;function AAe(e,t){var n,r=[],i=e.seriesIndex;if(null==i||!(n=t.getSeriesByIndex(i)))return{point:[]};var o=n.getData(),a=N9(o,e);if(null==a||a<0||e3(a))return{point:[]};var s=o.getItemGraphicEl(a),l=n.coordinateSystem;if(n.getTooltipPosition)r=n.getTooltipPosition(a)||[];else if(l&&l.dataToPoint)if(e.isStacked){var u=l.getBaseAxis(),c=l.getOtherAxis(u).dim,f=u.dim,h="x"===c||"radius"===c?1:0,d=o.mapDimension(f),p=[];p[h]=o.get(d,a),p[1-h]=o.get(o.getCalculationInfo("stackResultDimension"),a),r=l.dataToPoint(p)||[]}else r=l.dataToPoint(o.getValues(X2(l.dimensions,(function(e){return o.mapDimension(e)})),a))||[];else if(s){var g=s.getBoundingRect().clone();g.applyTransform(s.transform),r=[g.x+g.width/2,g.y+g.height/2]}return{point:r,el:s}}var PAe=j9();function OAe(e,t,n){var r=e.currTrigger,i=[e.x,e.y],o=e,a=e.dispatchAction||Q2(n.dispatchAction,n),s=t.getComponent("axisPointer").coordSysAxesInfo;if(s){jAe(i)&&(i=AAe({seriesIndex:o.seriesIndex,dataIndex:o.dataIndex},t).point);var l=jAe(i),u=o.axesInfo,c=s.axesInfo,f="leave"===r||jAe(i),h={},d={},p={list:[],map:{}},g={showPointer:J2(RAe,d),showTooltip:J2(LAe,p)};q2(s.coordSysMap,(function(e,t){var n=l||e.containPoint(i);q2(s.coordSysAxesInfo[t],(function(e,t){var r=e.axis,o=function(e,t){for(var n=0;n<(e||[]).length;n++){var r=e[n];if(t.axis.dim===r.axisDim&&t.axis.model.componentIndex===r.axisIndex)return r}}(u,e);if(!f&&n&&(!u||o)){var a=o&&o.value;null!=a||l||(a=r.pointToData(i)),null!=a&&DAe(e,a,g,!1,h)}}))}));var m={};return q2(c,(function(e,t){var n=e.linkGroup;n&&!d[t]&&q2(n.axesInfo,(function(t,r){var i=d[r];if(t!==e&&i){var o=i.value;n.mapper&&(o=e.axis.scale.parse(n.mapper(o,NAe(t),NAe(e)))),m[e.key]=o}}))})),q2(m,(function(e,t){DAe(c[t],e,g,!0,h)})),function(e,t,n){var r=n.axesInfo=[];q2(t,(function(t,n){var i=t.axisPointerModel.option,o=e[n];o?(!t.useHandle&&(i.status="show"),i.value=o.value,i.seriesDataIndices=(o.payloadBatch||[]).slice()):!t.useHandle&&(i.status="hide"),"show"===i.status&&r.push({axisDim:t.axis.dim,axisIndex:t.axis.model.componentIndex,value:i.value})}))}(d,c,h),function(e,t,n,r){if(jAe(t)||!e.list.length)return void r({type:"hideTip"});var i=((e.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};r({type:"showTip",escapeConnect:!0,x:t[0],y:t[1],tooltipOption:n.tooltipOption,position:n.position,dataIndexInside:i.dataIndexInside,dataIndex:i.dataIndex,seriesIndex:i.seriesIndex,dataByCoordSys:e.list})}(p,i,e,a),function(e,t,n){var r=n.getZr(),i="axisPointerLastHighlights",o=PAe(r)[i]||{},a=PAe(r)[i]={};q2(e,(function(e,t){var n=e.axisPointerModel.option;"show"===n.status&&q2(n.seriesDataIndices,(function(e){var t=e.seriesIndex+" | "+e.dataIndex;a[t]=e}))}));var s=[],l=[];q2(o,(function(e,t){!a[t]&&l.push(e)})),q2(a,(function(e,t){!o[t]&&s.push(e)})),l.length&&n.dispatchAction({type:"downplay",escapeConnect:!0,notBlur:!0,batch:l}),s.length&&n.dispatchAction({type:"highlight",escapeConnect:!0,notBlur:!0,batch:s})}(c,0,n),h}}function DAe(e,t,n,r,i){var o=e.axis;if(!o.scale.isBlank()&&o.containData(t))if(e.involveSeries){var a=function(e,t){var n=t.axis,r=n.dim,i=e,o=[],a=Number.MAX_VALUE,s=-1;return q2(t.seriesModels,(function(t,l){var u,c,f=t.getData().mapDimensionsAll(r);if(t.getAxisTooltipData){var h=t.getAxisTooltipData(f,e,n);c=h.dataIndices,u=h.nestestValue}else{if(!(c=t.getData().indicesOfNearest(f[0],e,"category"===n.type?.5:null)).length)return;u=t.getData().get(f[0],c[0])}if(null!=u&&isFinite(u)){var d=e-u,p=Math.abs(d);p<=a&&((p<a||d>=0&&s<0)&&(a=p,s=d,i=u,o.length=0),q2(c,(function(e){o.push({seriesIndex:t.seriesIndex,dataIndexInside:e,dataIndex:t.getData().getRawIndex(e)})})))}})),{payloadBatch:o,snapToValue:i}}(t,e),s=a.payloadBatch,l=a.snapToValue;s[0]&&null==i.seriesIndex&&$2(i,s[0]),!r&&e.snap&&o.containData(l)&&null!=l&&(t=l),n.showPointer(e,t,s),n.showTooltip(e,a,l)}else n.showPointer(e,t)}function RAe(e,t,n,r){e[t.key]={value:n,payloadBatch:r}}function LAe(e,t,n,r){var i=n.payloadBatch,o=t.axis,a=o.model,s=t.axisPointerModel;if(t.triggerTooltip&&i.length){var l=t.coordSys.model,u=Xve(l),c=e.map[u];c||(c=e.map[u]={coordSysId:l.id,coordSysIndex:l.componentIndex,coordSysType:l.type,coordSysMainType:l.mainType,dataByAxis:[]},e.list.push(c)),c.dataByAxis.push({axisDim:o.dim,axisIndex:a.componentIndex,axisType:a.type,axisId:a.id,value:r,valueLabelOpt:{precision:s.get(["label","precision"]),formatter:s.get(["label","formatter"])},seriesDataIndices:i.slice()})}}function NAe(e){var t=e.axis.model,n={},r=n.axisDim=e.axis.dim;return n.axisIndex=n[r+"AxisIndex"]=t.componentIndex,n.axisName=n[r+"AxisName"]=t.name,n.axisId=n[r+"AxisId"]=t.id,n}function jAe(e){return!e||null==e[0]||isNaN(e[0])||null==e[1]||isNaN(e[1])}function FAe(e){Kve.registerAxisPointerClass("CartesianAxisPointer",wAe),e.registerComponentModel(xAe),e.registerComponentView(TAe),e.registerPreprocessor((function(e){if(e){(!e.axisPointer||0===e.axisPointer.length)&&(e.axisPointer={});var t=e.axisPointer.link;t&&!e3(t)&&(e.axisPointer.link=[t])}})),e.registerProcessor(e.PRIORITY.PROCESSOR.STATISTIC,(function(e,t){e.getComponent("axisPointer").coordSysAxesInfo=Hve(e,t)})),e.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},OAe)}var zAe=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return g2(t,e),t.prototype.makeElOption=function(e,t,n,r,i){var o=n.axis;"angle"===o.dim&&(this.animationThreshold=Math.PI/18);var a=o.polar,s=a.getOtherAxis(o).getExtent(),l=o.dataToCoord(t),u=r.get("type");if(u&&"none"!==u){var c=lAe(r),f=BAe[u](o,a,l,s);f.style=c,e.graphicKey=f.type,e.pointer=f}var h=function(e,t,n,r,i){var o=t.axis,a=o.dataToCoord(e),s=r.getAngleAxis().getExtent()[0];s=s/180*Math.PI;var l,u,c,f=r.getRadiusAxis().getExtent();if("radius"===o.dim){var h=[1,0,0,1,0,0];M5(h,h,s),I5(h,h,[r.cx,r.cy]),l=Ule([a,-i],h);var d=t.getModel("axisLabel").get("rotate")||0,p=$ve.innerTextLayout(s,d*Math.PI/180,-1);u=p.textAlign,c=p.textVerticalAlign}else{var g=f[1];l=r.coordToPoint([g+i,a]);var m=r.cx,b=r.cy;u=Math.abs(l[0]-m)/g<.3?"center":l[0]>m?"left":"right",c=Math.abs(l[1]-b)/g<.3?"middle":l[1]>b?"top":"bottom"}return{position:l,align:u,verticalAlign:c}}(t,n,0,a,r.get(["label","margin"]));uAe(e,n,r,i,h)},t}(sAe);var BAe={line:function(e,t,n,r){return"angle"===e.dim?{type:"Line",shape:dAe(t.coordToPoint([r[0],n]),t.coordToPoint([r[1],n]))}:{type:"Circle",shape:{cx:t.cx,cy:t.cy,r:n}}},shadow:function(e,t,n,r){var i=Math.max(1,e.getBandWidth()),o=Math.PI/180;return"angle"===e.dim?{type:"Sector",shape:gAe(t.cx,t.cy,r[0],r[1],(-n-i/2)*o,(i/2-n)*o)}:{type:"Sector",shape:gAe(t.cx,t.cy,n-i/2,n+i/2,0,2*Math.PI)}}};const VAe=zAe;const $Ae=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return g2(t,e),t.prototype.findAxisModel=function(e){var t;return this.ecModel.eachComponent(e,(function(e){e.getCoordSysModel()===this&&(t=e)}),this),t},t.type="polar",t.dependencies=["radiusAxis","angleAxis"],t.defaultOption={z:0,center:["50%","50%"],radius:"80%"},t}(oie);var HAe=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return g2(t,e),t.prototype.getCoordSysModel=function(){return this.getReferringComponents("polar",V9).models[0]},t.type="polarAxis",t}(oie);W2(HAe,Zme);var GAe=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return g2(t,e),t.type="angleAxis",t}(HAe),WAe=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return g2(t,e),t.type="radiusAxis",t}(HAe),UAe=function(e){function t(t,n){return e.call(this,"radius",t,n)||this}return g2(t,e),t.prototype.pointToData=function(e,t){return this.polar.pointToData(e,t)["radius"===this.dim?0:1]},t}(_ve);UAe.prototype.dataToRadius=_ve.prototype.dataToCoord,UAe.prototype.radiusToData=_ve.prototype.coordToData;const qAe=UAe;var XAe=j9(),YAe=function(e){function t(t,n){return e.call(this,"angle",t,n||[0,360])||this}return g2(t,e),t.prototype.pointToData=function(e,t){return this.polar.pointToData(e,t)["radius"===this.dim?0:1]},t.prototype.calculateCategoryInterval=function(){var e=this,t=e.getLabelModel(),n=e.scale,r=n.getExtent(),i=n.count();if(r[1]-r[0]<1)return 0;var o=r[0],a=e.dataToCoord(o+1)-e.dataToCoord(o),s=Math.abs(a),l=A8(null==o?"":o+"",t.getFont(),"center","top"),u=Math.max(l.height,7)/s;isNaN(u)&&(u=1/0);var c=Math.max(0,Math.floor(u)),f=XAe(e.model),h=f.lastAutoInterval,d=f.lastTickCount;return null!=h&&null!=d&&Math.abs(h-c)<=1&&Math.abs(d-i)<=1&&h>c?c=h:(f.lastTickCount=i,f.lastAutoInterval=c),c},t}(_ve);YAe.prototype.dataToAngle=_ve.prototype.dataToCoord,YAe.prototype.angleToData=_ve.prototype.coordToData;const KAe=YAe;var ZAe=["radius","angle"],QAe=function(){function e(e){this.dimensions=ZAe,this.type="polar",this.cx=0,this.cy=0,this._radiusAxis=new qAe,this._angleAxis=new KAe,this.axisPointerEnabled=!0,this.name=e||"",this._radiusAxis.polar=this._angleAxis.polar=this}return e.prototype.containPoint=function(e){var t=this.pointToCoord(e);return this._radiusAxis.contain(t[0])&&this._angleAxis.contain(t[1])},e.prototype.containData=function(e){return this._radiusAxis.containData(e[0])&&this._angleAxis.containData(e[1])},e.prototype.getAxis=function(e){return this["_"+e+"Axis"]},e.prototype.getAxes=function(){return[this._radiusAxis,this._angleAxis]},e.prototype.getAxesByScale=function(e){var t=[],n=this._angleAxis,r=this._radiusAxis;return n.scale.type===e&&t.push(n),r.scale.type===e&&t.push(r),t},e.prototype.getAngleAxis=function(){return this._angleAxis},e.prototype.getRadiusAxis=function(){return this._radiusAxis},e.prototype.getOtherAxis=function(e){var t=this._angleAxis;return e===t?this._radiusAxis:t},e.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAngleAxis()},e.prototype.getTooltipAxes=function(e){var t=null!=e&&"auto"!==e?this.getAxis(e):this.getBaseAxis();return{baseAxes:[t],otherAxes:[this.getOtherAxis(t)]}},e.prototype.dataToPoint=function(e,t){return this.coordToPoint([this._radiusAxis.dataToRadius(e[0],t),this._angleAxis.dataToAngle(e[1],t)])},e.prototype.pointToData=function(e,t){var n=this.pointToCoord(e);return[this._radiusAxis.radiusToData(n[0],t),this._angleAxis.angleToData(n[1],t)]},e.prototype.pointToCoord=function(e){var t=e[0]-this.cx,n=e[1]-this.cy,r=this.getAngleAxis(),i=r.getExtent(),o=Math.min(i[0],i[1]),a=Math.max(i[0],i[1]);r.inverse?o=a-360:a=o+360;var s=Math.sqrt(t*t+n*n);t/=s,n/=s;for(var l=Math.atan2(-n,t)/Math.PI*180,u=l<o?1:-1;l<o||l>a;)l+=360*u;return[s,l]},e.prototype.coordToPoint=function(e){var t=e[0],n=e[1]/180*Math.PI;return[Math.cos(n)*t+this.cx,-Math.sin(n)*t+this.cy]},e.prototype.getArea=function(){var e=this.getAngleAxis(),t=this.getRadiusAxis().getExtent().slice();t[0]>t[1]&&t.reverse();var n=e.getExtent(),r=Math.PI/180;return{cx:this.cx,cy:this.cy,r0:t[0],r:t[1],startAngle:-n[0]*r,endAngle:-n[1]*r,clockwise:e.inverse,contain:function(e,t){var n=e-this.cx,r=t-this.cy,i=n*n+r*r-1e-4,o=this.r,a=this.r0;return i<=o*o&&i>=a*a}}},e.prototype.convertToPixel=function(e,t,n){return JAe(t)===this?this.dataToPoint(n):null},e.prototype.convertFromPixel=function(e,t,n){return JAe(t)===this?this.pointToData(n):null},e}();function JAe(e){var t=e.seriesModel,n=e.polarModel;return n&&n.coordinateSystem||t&&t.coordinateSystem}const ePe=QAe;function tPe(e,t){var n=this,r=n.getAngleAxis(),i=n.getRadiusAxis();if(r.scale.setExtent(1/0,-1/0),i.scale.setExtent(1/0,-1/0),e.eachSeries((function(e){if(e.coordinateSystem===n){var t=e.getData();q2(ive(t,"radius"),(function(e){i.scale.unionExtentFromData(t,e)})),q2(ive(t,"angle"),(function(e){r.scale.unionExtentFromData(t,e)}))}})),Zbe(r.scale,r.model),Zbe(i.scale,i.model),"category"===r.type&&!r.onBand){var o=r.getExtent(),a=360/r.scale.count();r.inverse?o[1]+=a:o[1]-=a,r.setExtent(o[0],o[1])}}function nPe(e,t){if(e.type=t.get("type"),e.scale=Qbe(t),e.onBand=t.get("boundaryGap")&&"category"===e.type,e.inverse=t.get("inverse"),function(e){return"angleAxis"===e.mainType}(t)){e.inverse=e.inverse!==t.get("clockwise");var n=t.get("startAngle");e.setExtent(n,n+(e.inverse?-360:360))}t.axis=e,e.model=t}var rPe={dimensions:ZAe,create:function(e,t){var n=[];return e.eachComponent("polar",(function(e,r){var i=new ePe(r+"");i.update=tPe;var o=i.getRadiusAxis(),a=i.getAngleAxis(),s=e.findAxisModel("radiusAxis"),l=e.findAxisModel("angleAxis");nPe(o,s),nPe(a,l),function(e,t,n){var r=t.get("center"),i=n.getWidth(),o=n.getHeight();e.cx=t9(r[0],i),e.cy=t9(r[1],o);var a=e.getRadiusAxis(),s=Math.min(i,o)/2,l=t.get("radius");null==l?l=[0,"100%"]:e3(l)||(l=[0,l]);var u=[t9(l[0],s),t9(l[1],s)];a.inverse?a.setExtent(u[1],u[0]):a.setExtent(u[0],u[1])}(i,e,t),n.push(i),e.coordinateSystem=i,i.model=e})),e.eachSeries((function(e){if("polar"===e.get("coordinateSystem")){var t=e.getReferringComponents("polar",V9).models[0];0,e.coordinateSystem=t.coordinateSystem}})),n}};const iPe=rPe;var oPe=["axisLine","axisLabel","axisTick","minorTick","splitLine","minorSplitLine","splitArea"];function aPe(e,t,n){t[1]>t[0]&&(t=t.slice().reverse());var r=e.coordToPoint([t[0],n]),i=e.coordToPoint([t[1],n]);return{x1:r[0],y1:r[1],x2:i[0],y2:i[1]}}function sPe(e){return e.getRadiusAxis().inverse?0:1}function lPe(e){var t=e[0],n=e[e.length-1];t&&n&&Math.abs(Math.abs(t.coord-n.coord)-360)<1e-4&&e.pop()}var uPe=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.axisPointerClass="PolarAxisPointer",n}return g2(t,e),t.prototype.render=function(e,t){if(this.group.removeAll(),e.get("show")){var n=e.axis,r=n.polar,i=r.getRadiusAxis().getExtent(),o=n.getTicksCoords(),a=n.getMinorTicksCoords(),s=X2(n.getViewLabels(),(function(e){e=z2(e);var t=n.scale,r="ordinal"===t.type?t.getRawOrdinalNumber(e.tickValue):e.tickValue;return e.coord=n.dataToCoord(r),e}));lPe(s),lPe(o),q2(oPe,(function(t){!e.get([t,"show"])||n.scale.isBlank()&&"axisLine"!==t||cPe[t](this.group,e,r,o,a,i,s)}),this)}},t.type="angleAxis",t}(Kve),cPe={axisLine:function(e,t,n,r,i,o){var a,s=t.getModel(["axisLine","lineStyle"]),l=sPe(n),u=l?0:1;(a=0===o[u]?new Cse({shape:{cx:n.cx,cy:n.cy,r:o[l]},style:s.getLineStyle(),z2:1,silent:!0}):new qse({shape:{cx:n.cx,cy:n.cy,r:o[l],r0:o[u]},style:s.getLineStyle(),z2:1,silent:!0})).style.fill=null,e.add(a)},axisTick:function(e,t,n,r,i,o){var a=t.getModel("axisTick"),s=(a.get("inside")?-1:1)*a.get("length"),l=o[sPe(n)],u=X2(r,(function(e){return new ile({shape:aPe(n,[l,l+s],e.coord)})}));e.add(Ble(u,{style:H2(a.getModel("lineStyle").getLineStyle(),{stroke:t.get(["axisLine","lineStyle","color"])})}))},minorTick:function(e,t,n,r,i,o){if(i.length){for(var a=t.getModel("axisTick"),s=t.getModel("minorTick"),l=(a.get("inside")?-1:1)*s.get("length"),u=o[sPe(n)],c=[],f=0;f<i.length;f++)for(var h=0;h<i[f].length;h++)c.push(new ile({shape:aPe(n,[u,u+l],i[f][h].coord)}));e.add(Ble(c,{style:H2(s.getModel("lineStyle").getLineStyle(),H2(a.getLineStyle(),{stroke:t.get(["axisLine","lineStyle","color"])}))}))}},axisLabel:function(e,t,n,r,i,o,a){var s=t.getCategories(!0),l=t.getModel("axisLabel"),u=l.get("margin"),c=t.get("triggerEvent");q2(a,(function(r,i){var a=l,f=r.tickValue,h=o[sPe(n)],d=n.coordToPoint([h+u,r.coord]),p=n.cx,g=n.cy,m=Math.abs(d[0]-p)/h<.3?"center":d[0]>p?"left":"right",b=Math.abs(d[1]-g)/h<.3?"middle":d[1]>g?"top":"bottom";if(s&&s[f]){var v=s[f];o3(v)&&v.textStyle&&(a=new Yne(v.textStyle,l,l.ecModel))}var y=new ute({silent:$ve.isLabelSilent(t),style:Cne(a,{x:d[0],y:d[1],fill:a.getTextColor()||t.get(["axisLine","lineStyle","color"]),text:r.formattedLabel,align:m,verticalAlign:b})});if(e.add(y),c){var w=$ve.makeAxisEventDataBase(t);w.targetType="axisLabel",w.value=r.rawLabel,cte(y).eventData=w}}),this)},splitLine:function(e,t,n,r,i,o){var a=t.getModel("splitLine").getModel("lineStyle"),s=a.get("color"),l=0;s=s instanceof Array?s:[s];for(var u=[],c=0;c<r.length;c++){var f=l++%s.length;u[f]=u[f]||[],u[f].push(new ile({shape:aPe(n,o,r[c].coord)}))}for(c=0;c<u.length;c++)e.add(Ble(u[c],{style:H2({stroke:s[c%s.length]},a.getLineStyle()),silent:!0,z:t.get("z")}))},minorSplitLine:function(e,t,n,r,i,o){if(i.length){for(var a=t.getModel("minorSplitLine").getModel("lineStyle"),s=[],l=0;l<i.length;l++)for(var u=0;u<i[l].length;u++)s.push(new ile({shape:aPe(n,o,i[l][u].coord)}));e.add(Ble(s,{style:a.getLineStyle(),silent:!0,z:t.get("z")}))}},splitArea:function(e,t,n,r,i,o){if(r.length){var a=t.getModel("splitArea").getModel("areaStyle"),s=a.get("color"),l=0;s=s instanceof Array?s:[s];for(var u=[],c=Math.PI/180,f=-r[0].coord*c,h=Math.min(o[0],o[1]),d=Math.max(o[0],o[1]),p=t.get("clockwise"),g=1,m=r.length;g<=m;g++){var b=g===m?r[0].coord:r[g].coord,v=l++%s.length;u[v]=u[v]||[],u[v].push(new Gse({shape:{cx:n.cx,cy:n.cy,r0:h,r:d,startAngle:f,endAngle:-b*c,clockwise:p},silent:!0})),f=-b*c}for(g=0;g<u.length;g++)e.add(Ble(u[g],{style:H2({fill:s[g%s.length]},a.getAreaStyle()),silent:!0}))}}};const fPe=uPe;var hPe=["axisLine","axisTickLabel","axisName"],dPe=["splitLine","splitArea","minorSplitLine"],pPe=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.axisPointerClass="PolarAxisPointer",n}return g2(t,e),t.prototype.render=function(e,t){if(this.group.removeAll(),e.get("show")){var n=this._axisGroup,r=this._axisGroup=new X8;this.group.add(r);var i=e.axis,o=i.polar,a=o.getAngleAxis(),s=i.getTicksCoords(),l=i.getMinorTicksCoords(),u=a.getExtent()[0],c=i.getExtent(),f=function(e,t,n){return{position:[e.cx,e.cy],rotation:n/180*Math.PI,labelDirection:-1,tickDirection:-1,nameDirection:1,labelRotate:t.getModel("axisLabel").get("rotate"),z2:1}}(o,e,u),h=new $ve(e,f);q2(hPe,h.add,h),r.add(h.getGroup()),Yle(n,r,e),q2(dPe,(function(t){e.get([t,"show"])&&!i.scale.isBlank()&&gPe[t](this.group,e,o,u,c,s,l)}),this)}},t.type="radiusAxis",t}(Kve),gPe={splitLine:function(e,t,n,r,i,o){var a=t.getModel("splitLine").getModel("lineStyle"),s=a.get("color"),l=0;s=s instanceof Array?s:[s];for(var u=[],c=0;c<o.length;c++){var f=l++%s.length;u[f]=u[f]||[],u[f].push(new Cse({shape:{cx:n.cx,cy:n.cy,r:Math.max(o[c].coord,0)}}))}for(c=0;c<u.length;c++)e.add(Ble(u[c],{style:H2({stroke:s[c%s.length],fill:null},a.getLineStyle()),silent:!0}))},minorSplitLine:function(e,t,n,r,i,o,a){if(a.length){for(var s=t.getModel("minorSplitLine").getModel("lineStyle"),l=[],u=0;u<a.length;u++)for(var c=0;c<a[u].length;c++)l.push(new Cse({shape:{cx:n.cx,cy:n.cy,r:a[u][c].coord}}));e.add(Ble(l,{style:H2({fill:null},s.getLineStyle()),silent:!0}))}},splitArea:function(e,t,n,r,i,o){if(o.length){var a=t.getModel("splitArea").getModel("areaStyle"),s=a.get("color"),l=0;s=s instanceof Array?s:[s];for(var u=[],c=o[0].coord,f=1;f<o.length;f++){var h=l++%s.length;u[h]=u[h]||[],u[h].push(new Gse({shape:{cx:n.cx,cy:n.cy,r0:c,r:o[f].coord,startAngle:0,endAngle:2*Math.PI},silent:!0})),c=o[f].coord}for(f=0;f<u.length;f++)e.add(Ble(u[f],{style:H2({fill:s[f%s.length]},a.getAreaStyle()),silent:!0}))}}};const mPe=pPe;function bPe(e){return e.get("stack")||"__ec_stack_"+e.seriesIndex}function vPe(e,t){return t.dim+e.model.componentIndex}const yPe=function(e,t,n){var r={},i=function(e){var t={};q2(e,(function(e,n){var r=e.getData(),i=e.coordinateSystem,o=i.getBaseAxis(),a=vPe(i,o),s=o.getExtent(),l="category"===o.type?o.getBandWidth():Math.abs(s[1]-s[0])/r.count(),u=t[a]||{bandWidth:l,remainedWidth:l,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},c=u.stacks;t[a]=u;var f=bPe(e);c[f]||u.autoWidthCount++,c[f]=c[f]||{width:0,maxWidth:0};var h=t9(e.get("barWidth"),l),d=t9(e.get("barMaxWidth"),l),p=e.get("barGap"),g=e.get("barCategoryGap");h&&!c[f].width&&(h=Math.min(u.remainedWidth,h),c[f].width=h,u.remainedWidth-=h),d&&(c[f].maxWidth=d),null!=p&&(u.gap=p),null!=g&&(u.categoryGap=g)}));var n={};return q2(t,(function(e,t){n[t]={};var r=e.stacks,i=e.bandWidth,o=t9(e.categoryGap,i),a=t9(e.gap,1),s=e.remainedWidth,l=e.autoWidthCount,u=(s-o)/(l+(l-1)*a);u=Math.max(u,0),q2(r,(function(e,t){var n=e.maxWidth;n&&n<u&&(n=Math.min(n,s),e.width&&(n=Math.min(n,e.width)),s-=n,e.width=n,l--)})),u=(s-o)/(l+(l-1)*a),u=Math.max(u,0);var c,f=0;q2(r,(function(e,t){e.width||(e.width=u),c=e,f+=e.width*(1+a)})),c&&(f-=c.width*a);var h=-f/2;q2(r,(function(e,r){n[t][r]=n[t][r]||{offset:h,width:e.width},h+=e.width*(1+a)}))})),n}(K2(t.getSeriesByType(e),(function(e){return!t.isSeriesFiltered(e)&&e.coordinateSystem&&"polar"===e.coordinateSystem.type})));t.eachSeriesByType(e,(function(e){if("polar"===e.coordinateSystem.type){var t=e.getData(),n=e.coordinateSystem,o=n.getBaseAxis(),a=vPe(n,o),s=bPe(e),l=i[a][s],u=l.offset,c=l.width,f=n.getOtherAxis(o),h=e.coordinateSystem.cx,d=e.coordinateSystem.cy,p=e.get("barMinHeight")||0,g=e.get("barMinAngle")||0;r[s]=r[s]||[];for(var m=t.mapDimension(f.dim),b=t.mapDimension(o.dim),v=Hpe(t,m),y="radius"!==o.dim||!e.get("roundCap",!0),w=f.dataToCoord(0),x=0,_=t.count();x<_;x++){var S=t.get(m,x),k=t.get(b,x),C=S>=0?"p":"n",E=w;v&&(r[s][k]||(r[s][k]={p:w,n:w}),E=r[s][k][C]);var I=void 0,M=void 0,T=void 0,A=void 0;if("radius"===f.dim){var P=f.dataToCoord(S)-w,O=o.dataToCoord(k);Math.abs(P)<p&&(P=(P<0?-1:1)*p),I=E,M=E+P,A=(T=O-u)-c,v&&(r[s][k][C]=M)}else{var D=f.dataToCoord(S,y)-w,R=o.dataToCoord(k);Math.abs(D)<g&&(D=(D<0?-1:1)*g),M=(I=R+u)+c,T=E,A=E+D,v&&(r[s][k][C]=A)}t.setItemLayout(x,{cx:h,cy:d,r0:I,r:M,startAngle:-T*Math.PI/180,endAngle:-A*Math.PI/180,clockwise:T>=A})}}}))};var wPe={startAngle:90,clockwise:!0,splitNumber:12,axisLabel:{rotate:0}},xPe={splitNumber:5},_Pe=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return g2(t,e),t.type="polar",t}(tse);function SPe(e,t){t=t||{};var n=e.coordinateSystem,r=e.axis,i={},o=r.position,a=r.orient,s=n.getRect(),l=[s.x,s.x+s.width,s.y,s.y+s.height],u={horizontal:{top:l[2],bottom:l[3]},vertical:{left:l[0],right:l[1]}};i.position=["vertical"===a?u.vertical[o]:l[0],"horizontal"===a?u.horizontal[o]:l[3]];i.rotation=Math.PI/2*{horizontal:0,vertical:1}[a];i.labelDirection=i.tickDirection=i.nameDirection={top:-1,bottom:1,right:1,left:-1}[o],e.get(["axisTick","inside"])&&(i.tickDirection=-i.tickDirection),f3(t.labelInside,e.get(["axisLabel","inside"]))&&(i.labelDirection=-i.labelDirection);var c=t.rotate;return null==c&&(c=e.get(["axisLabel","rotate"])),i.labelRotation="top"===o?-c:c,i.z2=1,i}var kPe=["axisLine","axisTickLabel","axisName"],CPe=["splitArea","splitLine"],EPe=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.axisPointerClass="SingleAxisPointer",n}return g2(t,e),t.prototype.render=function(t,n,r,i){var o=this.group;o.removeAll();var a=this._axisGroup;this._axisGroup=new X8;var s=SPe(t),l=new $ve(t,s);q2(kPe,l.add,l),o.add(this._axisGroup),o.add(l.getGroup()),q2(CPe,(function(e){t.get([e,"show"])&&IPe[e](this,this.group,this._axisGroup,t)}),this),Yle(a,this._axisGroup,t),e.prototype.render.call(this,t,n,r,i)},t.prototype.remove=function(){Jve(this)},t.type="singleAxis",t}(Kve),IPe={splitLine:function(e,t,n,r){var i=r.axis;if(!i.scale.isBlank()){var o=r.getModel("splitLine"),a=o.getModel("lineStyle"),s=a.get("color");s=s instanceof Array?s:[s];for(var l=a.get("width"),u=r.coordinateSystem.getRect(),c=i.isHorizontal(),f=[],h=0,d=i.getTicksCoords({tickModel:o}),p=[],g=[],m=0;m<d.length;++m){var b=i.toGlobalCoord(d[m].coord);c?(p[0]=b,p[1]=u.y,g[0]=b,g[1]=u.y+u.height):(p[0]=u.x,p[1]=b,g[0]=u.x+u.width,g[1]=b);var v=new ile({shape:{x1:p[0],y1:p[1],x2:g[0],y2:g[1]},silent:!0});$le(v.shape,l);var y=h++%s.length;f[y]=f[y]||[],f[y].push(v)}var w=a.getLineStyle(["color"]);for(m=0;m<f.length;++m)t.add(Ble(f[m],{style:H2({stroke:s[m%s.length]},w),silent:!0}))}},splitArea:function(e,t,n,r){Qve(e,n,r,r)}};const MPe=EPe;var TPe=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return g2(t,e),t.prototype.getCoordSysModel=function(){return this},t.type="singleAxis",t.layoutMode="box",t.defaultOption={left:"5%",top:"5%",right:"5%",bottom:"5%",type:"value",position:"bottom",orient:"horizontal",axisLine:{show:!0,lineStyle:{width:1,type:"solid"}},tooltip:{show:!0},axisTick:{show:!0,length:6,lineStyle:{width:1}},axisLabel:{show:!0,interval:"auto"},splitLine:{show:!0,lineStyle:{type:"dashed",opacity:.2}}},t}(oie);W2(TPe,Zme.prototype);const APe=TPe;var PPe=function(e){function t(t,n,r,i,o){var a=e.call(this,t,n,r)||this;return a.type=i||"value",a.position=o||"bottom",a}return g2(t,e),t.prototype.isHorizontal=function(){var e=this.position;return"top"===e||"bottom"===e},t.prototype.pointToData=function(e,t){return this.coordinateSystem.pointToData(e)[0]},t}(_ve);const OPe=PPe;var DPe=["single"],RPe=function(){function e(e,t,n){this.type="single",this.dimension="single",this.dimensions=DPe,this.axisPointerEnabled=!0,this.model=e,this._init(e,t,n)}return e.prototype._init=function(e,t,n){var r=this.dimension,i=new OPe(r,Qbe(e),[0,0],e.get("type"),e.get("position")),o="category"===i.type;i.onBand=o&&e.get("boundaryGap"),i.inverse=e.get("inverse"),i.orient=e.get("orient"),e.axis=i,i.model=e,i.coordinateSystem=this,this._axis=i},e.prototype.update=function(e,t){e.eachSeries((function(e){if(e.coordinateSystem===this){var t=e.getData();q2(t.mapDimensionsAll(this.dimension),(function(e){this._axis.scale.unionExtentFromData(t,e)}),this),Zbe(this._axis.scale,this._axis.model)}}),this)},e.prototype.resize=function(e,t){this._rect=Zre({left:e.get("left"),top:e.get("top"),right:e.get("right"),bottom:e.get("bottom"),width:e.get("width"),height:e.get("height")},{width:t.getWidth(),height:t.getHeight()}),this._adjustAxis()},e.prototype.getRect=function(){return this._rect},e.prototype._adjustAxis=function(){var e=this._rect,t=this._axis,n=t.isHorizontal(),r=n?[0,e.width]:[0,e.height],i=t.inverse?1:0;t.setExtent(r[i],r[1-i]),this._updateAxisTransform(t,n?e.x:e.y)},e.prototype._updateAxisTransform=function(e,t){var n=e.getExtent(),r=n[0]+n[1],i=e.isHorizontal();e.toGlobalCoord=i?function(e){return e+t}:function(e){return r-e+t},e.toLocalCoord=i?function(e){return e-t}:function(e){return r-e+t}},e.prototype.getAxis=function(){return this._axis},e.prototype.getBaseAxis=function(){return this._axis},e.prototype.getAxes=function(){return[this._axis]},e.prototype.getTooltipAxes=function(){return{baseAxes:[this.getAxis()],otherAxes:[]}},e.prototype.containPoint=function(e){var t=this.getRect(),n=this.getAxis();return"horizontal"===n.orient?n.contain(n.toLocalCoord(e[0]))&&e[1]>=t.y&&e[1]<=t.y+t.height:n.contain(n.toLocalCoord(e[1]))&&e[0]>=t.y&&e[0]<=t.y+t.height},e.prototype.pointToData=function(e){var t=this.getAxis();return[t.coordToData(t.toLocalCoord(e["horizontal"===t.orient?0:1]))]},e.prototype.dataToPoint=function(e){var t=this.getAxis(),n=this.getRect(),r=[],i="horizontal"===t.orient?0:1;return e instanceof Array&&(e=e[0]),r[i]=t.toGlobalCoord(t.dataToCoord(+e)),r[1-i]=0===i?n.y+n.height/2:n.x+n.width/2,r},e.prototype.convertToPixel=function(e,t,n){return LPe(t)===this?this.dataToPoint(n):null},e.prototype.convertFromPixel=function(e,t,n){return LPe(t)===this?this.pointToData(n):null},e}();function LPe(e){var t=e.seriesModel,n=e.singleAxisModel;return n&&n.coordinateSystem||t&&t.coordinateSystem}const NPe=RPe;const jPe={create:function(e,t){var n=[];return e.eachComponent("singleAxis",(function(r,i){var o=new NPe(r,e,t);o.name="single_"+i,o.resize(r,t),r.coordinateSystem=o,n.push(o)})),e.eachSeries((function(e){if("singleAxis"===e.get("coordinateSystem")){var t=e.getReferringComponents("singleAxis",V9).models[0];e.coordinateSystem=t&&t.coordinateSystem}})),n},dimensions:DPe};var FPe=["x","y"],zPe=["width","height"],BPe=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return g2(t,e),t.prototype.makeElOption=function(e,t,n,r,i){var o=n.axis,a=o.coordinateSystem,s=HPe(a,1-$Pe(o)),l=a.dataToPoint(t)[0],u=r.get("type");if(u&&"none"!==u){var c=lAe(r),f=VPe[u](o,l,s);f.style=c,e.graphicKey=f.type,e.pointer=f}hAe(t,e,SPe(n),n,r,i)},t.prototype.getHandleTransform=function(e,t,n){var r=SPe(t,{labelInside:!1});r.labelMargin=n.get(["handle","margin"]);var i=fAe(t.axis,e,r);return{x:i[0],y:i[1],rotation:r.rotation+(r.labelDirection<0?Math.PI:0)}},t.prototype.updateHandleTransform=function(e,t,n,r){var i=n.axis,o=i.coordinateSystem,a=$Pe(i),s=HPe(o,a),l=[e.x,e.y];l[a]+=t[a],l[a]=Math.min(s[1],l[a]),l[a]=Math.max(s[0],l[a]);var u=HPe(o,1-a),c=(u[1]+u[0])/2,f=[c,c];return f[a]=l[a],{x:l[0],y:l[1],rotation:e.rotation,cursorPoint:f,tooltipOption:{verticalAlign:"middle"}}},t}(sAe),VPe={line:function(e,t,n){return{type:"Line",subPixelOptimize:!0,shape:dAe([t,n[0]],[t,n[1]],$Pe(e))}},shadow:function(e,t,n){var r=e.getBandWidth(),i=n[1]-n[0];return{type:"Rect",shape:pAe([t-r/2,n[0]],[r,i],$Pe(e))}}};function $Pe(e){return e.isHorizontal()?0:1}function HPe(e,t){var n=e.getRect();return[n[FPe[t]],n[FPe[t]]+n[zPe[t]]]}const GPe=BPe;var WPe=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return g2(t,e),t.type="single",t}(tse);function UPe(e,t){var n,r=e.cellSize;1===(n=e3(r)?r:e.cellSize=[r,r]).length&&(n[1]=n[0]);var i=X2([0,1],(function(e){return function(e,t){return null!=e[Xre[t][0]]||null!=e[Xre[t][1]]&&null!=e[Xre[t][2]]}(t,e)&&(n[e]="auto"),null!=n[e]&&"auto"!==n[e]}));eie(e,t,{type:"box",ignoreSize:i})}const qPe=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return g2(t,e),t.prototype.init=function(t,n,r){var i=tie(t);e.prototype.init.apply(this,arguments),UPe(t,i)},t.prototype.mergeOption=function(t){e.prototype.mergeOption.apply(this,arguments),UPe(this.option,t)},t.prototype.getCellSize=function(){return this.option.cellSize},t.type="calendar",t.defaultOption={z:2,left:80,top:60,cellSize:20,orient:"horizontal",splitLine:{show:!0,lineStyle:{color:"#000",width:1,type:"solid"}},itemStyle:{color:"#fff",borderWidth:1,borderColor:"#ccc"},dayLabel:{show:!0,firstDay:0,position:"start",margin:"50%",color:"#000"},monthLabel:{show:!0,position:"start",margin:5,align:"center",formatter:null,color:"#000"},yearLabel:{show:!0,position:null,margin:30,formatter:null,color:"#ccc",fontFamily:"sans-serif",fontWeight:"bolder",fontSize:20}},t}(oie);var XPe=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return g2(t,e),t.prototype.render=function(e,t,n){var r=this.group;r.removeAll();var i=e.coordinateSystem,o=i.getRangeInfo(),a=i.getOrient(),s=t.getLocaleModel();this._renderDayRect(e,o,r),this._renderLines(e,o,a,r),this._renderYearText(e,o,a,r),this._renderMonthText(e,s,a,r),this._renderWeekText(e,s,o,a,r)},t.prototype._renderDayRect=function(e,t,n){for(var r=e.coordinateSystem,i=e.getModel("itemStyle").getItemStyle(),o=r.getCellWidth(),a=r.getCellHeight(),s=t.start.time;s<=t.end.time;s=r.getNextNDay(s,1).time){var l=r.dataToRect([s],!1).tl,u=new qee({shape:{x:l[0],y:l[1],width:o,height:a},cursor:"default",style:i});n.add(u)}},t.prototype._renderLines=function(e,t,n,r){var i=this,o=e.coordinateSystem,a=e.getModel(["splitLine","lineStyle"]).getLineStyle(),s=e.get(["splitLine","show"]),l=a.lineWidth;this._tlpoints=[],this._blpoints=[],this._firstDayOfMonth=[],this._firstDayPoints=[];for(var u=t.start,c=0;u.time<=t.end.time;c++){h(u.formatedDate),0===c&&(u=o.getDateInfo(t.start.y+"-"+t.start.m));var f=u.date;f.setMonth(f.getMonth()+1),u=o.getDateInfo(f)}function h(t){i._firstDayOfMonth.push(o.getDateInfo(t)),i._firstDayPoints.push(o.dataToRect([t],!1).tl);var l=i._getLinePointsOfOneWeek(e,t,n);i._tlpoints.push(l[0]),i._blpoints.push(l[l.length-1]),s&&i._drawSplitline(l,a,r)}h(o.getNextNDay(t.end.time,1).formatedDate),s&&this._drawSplitline(i._getEdgesPoints(i._tlpoints,l,n),a,r),s&&this._drawSplitline(i._getEdgesPoints(i._blpoints,l,n),a,r)},t.prototype._getEdgesPoints=function(e,t,n){var r=[e[0].slice(),e[e.length-1].slice()],i="horizontal"===n?0:1;return r[0][i]=r[0][i]-t/2,r[1][i]=r[1][i]+t/2,r},t.prototype._drawSplitline=function(e,t,n){var r=new ele({z2:20,shape:{points:e},style:t});n.add(r)},t.prototype._getLinePointsOfOneWeek=function(e,t,n){for(var r=e.coordinateSystem,i=r.getDateInfo(t),o=[],a=0;a<7;a++){var s=r.getNextNDay(i.time,a),l=r.dataToRect([s.time],!1);o[2*s.day]=l.tl,o[2*s.day+1]=l["horizontal"===n?"bl":"tr"]}return o},t.prototype._formatterLabel=function(e,t){return n3(e)&&e?function(e,t,n){return q2(t,(function(t,r){e=e.replace("{"+r+"}",n?c5(t):t)})),e}(e,t):t3(e)?e(t):t.nameMap},t.prototype._yearTextPositionControl=function(e,t,n,r,i){var o=t[0],a=t[1],s=["center","bottom"];"bottom"===r?(a+=i,s=["center","top"]):"left"===r?o-=i:"right"===r?(o+=i,s=["center","top"]):a-=i;var l=0;return"left"!==r&&"right"!==r||(l=Math.PI/2),{rotation:l,x:o,y:a,style:{align:s[0],verticalAlign:s[1]}}},t.prototype._renderYearText=function(e,t,n,r){var i=e.getModel("yearLabel");if(i.get("show")){var o=i.get("margin"),a=i.get("position");a||(a="horizontal"!==n?"top":"left");var s=[this._tlpoints[this._tlpoints.length-1],this._blpoints[0]],l=(s[0][0]+s[1][0])/2,u=(s[0][1]+s[1][1])/2,c="horizontal"===n?0:1,f={top:[l,s[c][1]],bottom:[l,s[1-c][1]],left:[s[1-c][0],u],right:[s[c][0],u]},h=t.start.y;+t.end.y>+t.start.y&&(h=h+"-"+t.end.y);var d=i.get("formatter"),p={start:t.start.y,end:t.end.y,nameMap:h},g=this._formatterLabel(d,p),m=new ute({z2:30,style:Cne(i,{text:g})});m.attr(this._yearTextPositionControl(m,f[a],n,a,o)),r.add(m)}},t.prototype._monthTextPositionControl=function(e,t,n,r,i){var o="left",a="top",s=e[0],l=e[1];return"horizontal"===n?(l+=i,t&&(o="center"),"start"===r&&(a="bottom")):(s+=i,t&&(a="middle"),"start"===r&&(o="right")),{x:s,y:l,align:o,verticalAlign:a}},t.prototype._renderMonthText=function(e,t,n,r){var i=e.getModel("monthLabel");if(i.get("show")){var o=i.get("nameMap"),a=i.get("margin"),s=i.get("position"),l=i.get("align"),u=[this._tlpoints,this._blpoints];o&&!n3(o)||(o&&(t=are(o)||t),o=t.get(["time","monthAbbr"])||[]);var c="start"===s?0:1,f="horizontal"===n?0:1;a="start"===s?-a:a;for(var h="center"===l,d=0;d<u[c].length-1;d++){var p=u[c][d].slice(),g=this._firstDayOfMonth[d];if(h){var m=this._firstDayPoints[d];p[f]=(m[f]+u[0][d+1][f])/2}var b=i.get("formatter"),v=o[+g.m-1],y={yyyy:g.y,yy:(g.y+"").slice(2),MM:g.m,M:+g.m,nameMap:v},w=this._formatterLabel(b,y),x=new ute({z2:30,style:$2(Cne(i,{text:w}),this._monthTextPositionControl(p,h,n,s,a))});r.add(x)}}},t.prototype._weekTextPositionControl=function(e,t,n,r,i){var o="center",a="middle",s=e[0],l=e[1],u="start"===n;return"horizontal"===t?(s=s+r+(u?1:-1)*i[0]/2,o=u?"right":"left"):(l=l+r+(u?1:-1)*i[1]/2,a=u?"bottom":"top"),{x:s,y:l,align:o,verticalAlign:a}},t.prototype._renderWeekText=function(e,t,n,r,i){var o=e.getModel("dayLabel");if(o.get("show")){var a=e.coordinateSystem,s=o.get("position"),l=o.get("nameMap"),u=o.get("margin"),c=a.getFirstDayOfWeek();if(!l||n3(l))l&&(t=are(l)||t),l=t.get(["time","dayOfWeekShort"])||X2(t.get(["time","dayOfWeekAbbr"]),(function(e){return e[0]}));var f=a.getNextNDay(n.end.time,7-n.lweek).time,h=[a.getCellWidth(),a.getCellHeight()];u=t9(u,Math.min(h[1],h[0])),"start"===s&&(f=a.getNextNDay(n.start.time,-(7+n.fweek)).time,u=-u);for(var d=0;d<7;d++){var p,g=a.getNextNDay(f,d),m=a.dataToRect([g.time],!1).center;p=Math.abs((d+c)%7);var b=new ute({z2:30,style:$2(Cne(o,{text:l[p]}),this._weekTextPositionControl(m,r,s,u,h))});i.add(b)}}},t.type="calendar",t}(tse);const YPe=XPe;var KPe=864e5,ZPe=function(){function e(t,n,r){this.type="calendar",this.dimensions=e.dimensions,this.getDimensionsInfo=e.getDimensionsInfo,this._model=t}return e.getDimensionsInfo=function(){return[{name:"time",type:"time"},"value"]},e.prototype.getRangeInfo=function(){return this._rangeInfo},e.prototype.getModel=function(){return this._model},e.prototype.getRect=function(){return this._rect},e.prototype.getCellWidth=function(){return this._sw},e.prototype.getCellHeight=function(){return this._sh},e.prototype.getOrient=function(){return this._orient},e.prototype.getFirstDayOfWeek=function(){return this._firstDayOfWeek},e.prototype.getDateInfo=function(e){var t=(e=h9(e)).getFullYear(),n=e.getMonth()+1,r=n<10?"0"+n:""+n,i=e.getDate(),o=i<10?"0"+i:""+i,a=e.getDay();return{y:t+"",m:r,d:o,day:a=Math.abs((a+7-this.getFirstDayOfWeek())%7),time:e.getTime(),formatedDate:t+"-"+r+"-"+o,date:e}},e.prototype.getNextNDay=function(e,t){return 0===(t=t||0)||(e=new Date(this.getDateInfo(e).time)).setDate(e.getDate()+t),this.getDateInfo(e)},e.prototype.update=function(e,t){this._firstDayOfWeek=+this._model.getModel("dayLabel").get("firstDay"),this._orient=this._model.get("orient"),this._lineWidth=this._model.getModel("itemStyle").getItemStyle().lineWidth||0,this._rangeInfo=this._getRangeInfo(this._initRangeOption());var n=this._rangeInfo.weeks||1,r=["width","height"],i=this._model.getCellSize().slice(),o=this._model.getBoxLayoutParams(),a="horizontal"===this._orient?[n,7]:[7,n];q2([0,1],(function(e){u(i,e)&&(o[r[e]]=i[e]*a[e])}));var s={width:t.getWidth(),height:t.getHeight()},l=this._rect=Zre(o,s);function u(e,t){return null!=e[t]&&"auto"!==e[t]}q2([0,1],(function(e){u(i,e)||(i[e]=l[r[e]]/a[e])})),this._sw=i[0],this._sh=i[1]},e.prototype.dataToPoint=function(e,t){e3(e)&&(e=e[0]),null==t&&(t=!0);var n=this.getDateInfo(e),r=this._rangeInfo,i=n.formatedDate;if(t&&!(n.time>=r.start.time&&n.time<r.end.time+KPe))return[NaN,NaN];var o=n.day,a=this._getRangeInfo([r.start.time,i]).nthWeek;return"vertical"===this._orient?[this._rect.x+o*this._sw+this._sw/2,this._rect.y+a*this._sh+this._sh/2]:[this._rect.x+a*this._sw+this._sw/2,this._rect.y+o*this._sh+this._sh/2]},e.prototype.pointToData=function(e){var t=this.pointToDate(e);return t&&t.time},e.prototype.dataToRect=function(e,t){var n=this.dataToPoint(e,t);return{contentShape:{x:n[0]-(this._sw-this._lineWidth)/2,y:n[1]-(this._sh-this._lineWidth)/2,width:this._sw-this._lineWidth,height:this._sh-this._lineWidth},center:n,tl:[n[0]-this._sw/2,n[1]-this._sh/2],tr:[n[0]+this._sw/2,n[1]-this._sh/2],br:[n[0]+this._sw/2,n[1]+this._sh/2],bl:[n[0]-this._sw/2,n[1]+this._sh/2]}},e.prototype.pointToDate=function(e){var t=Math.floor((e[0]-this._rect.x)/this._sw)+1,n=Math.floor((e[1]-this._rect.y)/this._sh)+1,r=this._rangeInfo.range;return"vertical"===this._orient?this._getDateByWeeksAndDay(n,t-1,r):this._getDateByWeeksAndDay(t,n-1,r)},e.prototype.convertToPixel=function(e,t,n){var r=QPe(t);return r===this?r.dataToPoint(n):null},e.prototype.convertFromPixel=function(e,t,n){var r=QPe(t);return r===this?r.pointToData(n):null},e.prototype.containPoint=function(e){return console.warn("Not implemented."),!1},e.prototype._initRangeOption=function(){var e,t=this._model.get("range");if(e3(t)&&1===t.length&&(t=t[0]),e3(t))e=t;else{var n=t.toString();if(/^\d{4}$/.test(n)&&(e=[n+"-01-01",n+"-12-31"]),/^\d{4}[\/|-]\d{1,2}$/.test(n)){var r=this.getDateInfo(n),i=r.date;i.setMonth(i.getMonth()+1);var o=this.getNextNDay(i,-1);e=[r.formatedDate,o.formatedDate]}/^\d{4}[\/|-]\d{1,2}[\/|-]\d{1,2}$/.test(n)&&(e=[n,n])}if(!e)return t;var a=this._getRangeInfo(e);return a.start.time>a.end.time&&e.reverse(),e},e.prototype._getRangeInfo=function(e){var t,n=[this.getDateInfo(e[0]),this.getDateInfo(e[1])];n[0].time>n[1].time&&(t=!0,n.reverse());var r=Math.floor(n[1].time/KPe)-Math.floor(n[0].time/KPe)+1,i=new Date(n[0].time),o=i.getDate(),a=n[1].date.getDate();i.setDate(o+r-1);var s=i.getDate();if(s!==a)for(var l=i.getTime()-n[1].time>0?1:-1;(s=i.getDate())!==a&&(i.getTime()-n[1].time)*l>0;)r-=l,i.setDate(s-l);var u=Math.floor((r+n[0].day+6)/7),c=t?1-u:u-1;return t&&n.reverse(),{range:[n[0].formatedDate,n[1].formatedDate],start:n[0],end:n[1],allDay:r,weeks:u,nthWeek:c,fweek:n[0].day,lweek:n[1].day}},e.prototype._getDateByWeeksAndDay=function(e,t,n){var r=this._getRangeInfo(n);if(e>r.weeks||0===e&&t<r.fweek||e===r.weeks&&t>r.lweek)return null;var i=7*(e-1)-r.fweek+t,o=new Date(r.start.time);return o.setDate(+r.start.d+i),this.getDateInfo(o)},e.create=function(t,n){var r=[];return t.eachComponent("calendar",(function(i){var o=new e(i,t,n);r.push(o),i.coordinateSystem=o})),t.eachSeries((function(e){"calendar"===e.get("coordinateSystem")&&(e.coordinateSystem=r[e.get("calendarIndex")||0])})),r},e.dimensions=["time","value"],e}();function QPe(e){var t=e.calendarModel,n=e.seriesModel;return t?t.coordinateSystem:n?n.coordinateSystem:null}const JPe=ZPe;function eOe(e,t){var n;return q2(t,(function(t){null!=e[t]&&"auto"!==e[t]&&(n=!0)})),n}var tOe=["transition","enterFrom","leaveTo"],nOe=tOe.concat(["enterAnimation","updateAnimation","leaveAnimation"]);function rOe(e,t,n){if(n&&(!e[n]&&t[n]&&(e[n]={}),e=e[n],t=t[n]),e&&t)for(var r=n?tOe:nOe,i=0;i<r.length;i++){var o=r[i];null==e[o]&&null!=t[o]&&(e[o]=t[o])}}var iOe=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.preventAutoZ=!0,n}return g2(t,e),t.prototype.mergeOption=function(t,n){var r=this.option.elements;this.option.elements=null,e.prototype.mergeOption.call(this,t,n),this.option.elements=r},t.prototype.optionUpdated=function(e,t){var n=this.option,r=(t?n:e).elements,i=n.elements=t?[]:n.elements,o=[];this._flatten(r,o,null);var a=A9(i,o,"normalMerge"),s=this._elOptionsToUpdate=[];q2(a,(function(e,t){var n=e.newOption;n&&(s.push(n),function(e,t){var n=e.existing;if(t.id=e.keyInfo.id,!t.type&&n&&(t.type=n.type),null==t.parentId){var r=t.parentOption;r?t.parentId=r.id:n&&(t.parentId=n.parentId)}t.parentOption=null}(e,n),function(e,t,n){var r=$2({},n),i=e[t],o=n.$action||"merge";"merge"===o?i?(B2(i,r,!0),eie(i,r,{ignoreSize:!0}),nie(n,i),rOe(n,i),rOe(n,i,"shape"),rOe(n,i,"style"),rOe(n,i,"extra"),n.clipPath=i.clipPath):e[t]=r:"replace"===o?e[t]=r:"remove"===o&&i&&(e[t]=null)}(i,t,n),function(e,t){if(e&&(e.hv=t.hv=[eOe(t,["left","right"]),eOe(t,["top","bottom"])],"group"===e.type)){var n=e,r=t;null==n.width&&(n.width=r.width=0),null==n.height&&(n.height=r.height=0)}}(i[t],n))}),this),n.elements=K2(i,(function(e){return e&&delete e.$action,null!=e}))},t.prototype._flatten=function(e,t,n){q2(e,(function(e){if(e){n&&(e.parentOption=n),t.push(e);var r=e.children;r&&r.length&&this._flatten(r,t,e),delete e.children}}),this)},t.prototype.useElOptionsToUpdate=function(){var e=this._elOptionsToUpdate;return this._elOptionsToUpdate=null,e},t.type="graphic",t.defaultOption={elements:[]},t}(oie),oOe={path:null,compoundPath:null,group:X8,image:zee,text:ute},aOe=j9(),sOe=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return g2(t,e),t.prototype.init=function(){this._elMap=k3()},t.prototype.render=function(e,t,n){e!==this._lastGraphicModel&&this._clear(),this._lastGraphicModel=e,this._updateElements(e),this._relocate(e,n)},t.prototype._updateElements=function(e){var t=e.useElOptionsToUpdate();if(t){var n=this._elMap,r=this.group,i=e.get("z"),o=e.get("zlevel");q2(t,(function(t){var a=D9(t.id,null),s=null!=a?n.get(a):null,l=D9(t.parentId,null),u=null!=l?n.get(l):r,c=t.type,f=t.style;"text"===c&&f&&t.hv&&t.hv[1]&&(f.textVerticalAlign=f.textBaseline=f.verticalAlign=f.align=null);var h=t.textContent,d=t.textConfig;if(f&&ZMe(f,c,!!d,!!h)){var p=QMe(f,c,!0);!d&&p.textConfig&&(d=t.textConfig=p.textConfig),!h&&p.textContent&&(h=p.textContent)}var g=function(e){return e=$2({},e),q2(["id","parentId","$action","hv","bounding","textContent","clipPath"].concat(qre),(function(t){delete e[t]})),e}(t);var m=t.$action||"merge",b="merge"===m,v="replace"===m;if(b){var y=s;(E=!s)?y=uOe(a,u,t.type,n):(y&&(aOe(y).isNew=!1),yTe(y)),y&&(sTe(y,g,e,{isInit:E}),fOe(y,t,i,o))}else if(v){cOe(s,t,n,e);var w=uOe(a,u,t.type,n);w&&(sTe(w,g,e,{isInit:!0}),fOe(w,t,i,o))}else"remove"===m&&(lTe(s,t),cOe(s,t,n,e));var x=n.get(a);if(x&&h)if(b){var _=x.getTextContent();_?_.attr(h):x.setTextContent(new ute(h))}else v&&x.setTextContent(new ute(h));if(x){var S=t.clipPath;if(S){var k=S.type,C=void 0,E=!1;if(b){var I=x.getClipPath();C=(E=!I||aOe(I).type!==k)?lOe(k):I}else v&&(E=!0,C=lOe(k));x.setClipPath(C),sTe(C,S,e,{isInit:E}),wTe(C,S.keyframeAnimation,e)}var M=aOe(x);x.setTextConfig(d),M.option=t,function(e,t,n){var r=cte(e).eventData;e.silent||e.ignore||r||(r=cte(e).eventData={componentType:"graphic",componentIndex:t.componentIndex,name:e.name});r&&(r.info=n.info)}(x,e,t),nue({el:x,componentModel:e,itemName:x.name,itemTooltipOption:t.tooltip}),wTe(x,t.keyframeAnimation,e)}}))}},t.prototype._relocate=function(e,t){for(var n=e.option.elements,r=this.group,i=this._elMap,o=t.getWidth(),a=t.getHeight(),s=["x","y"],l=0;l<n.length;l++){if((p=null!=(d=D9((h=n[l]).id,null))?i.get(d):null)&&p.isGroup){var u=(g=p.parent)===r,c=aOe(p),f=aOe(g);c.width=t9(c.option.width,u?o:f.width)||0,c.height=t9(c.option.height,u?a:f.height)||0}}for(l=n.length-1;l>=0;l--){var h,d,p;if(p=null!=(d=D9((h=n[l]).id,null))?i.get(d):null){var g=p.parent,m=(f=aOe(g),{}),b=Qre(p,h,g===r?{width:o,height:a}:{width:f.width,height:f.height},null,{hv:h.hv,boundingMode:h.bounding},m);if(!aOe(p).isNew&&b){for(var v=h.transition,y={},w=0;w<s.length;w++){var x=s[w],_=m[x];v&&(cTe(v)||G2(v,x)>=0)?y[x]=_:p[x]=_}dne(p,y,e,0)}else p.attr(m)}}},t.prototype._clear=function(){var e=this,t=this._elMap;t.each((function(n){cOe(n,aOe(n).option,t,e._lastGraphicModel)})),this._elMap=k3()},t.prototype.dispose=function(){this._clear()},t.type="graphic",t}(tse);function lOe(e){var t=new(M3(oOe,e)?oOe[e]:Nle(e))({});return aOe(t).type=e,t}function uOe(e,t,n,r){var i=lOe(n);return t.add(i),r.set(e,i),aOe(i).id=e,aOe(i).isNew=!0,i}function cOe(e,t,n,r){e&&e.parent&&("group"===e.type&&e.traverse((function(e){cOe(e,t,n,r)})),uTe(e,t,r),n.removeKey(aOe(e).id))}function fOe(e,t,n,r){e.isGroup||q2([["cursor",A7.prototype.cursor],["zlevel",r||0],["z",n||0],["z2",0]],(function(n){var r=n[0];M3(t,r)?e[r]=h3(t[r],n[1]):null==e[r]&&(e[r]=n[1])})),q2(Z2(t),(function(n){if(0===n.indexOf("on")){var r=t[n];e[n]=t3(r)?r:null}})),M3(t,"draggable")&&(e.draggable=t.draggable),null!=t.name&&(e.name=t.name),null!=t.id&&(e.id=t.id)}var hOe=["x","y","radius","angle","single"],dOe=["cartesian2d","polar","singleAxis"];function pOe(e){return e+"Axis"}function gOe(e,t){var n,r=k3(),i=[],o=k3();e.eachComponent({mainType:"dataZoom",query:t},(function(e){o.get(e.uid)||s(e)}));do{n=!1,e.eachComponent("dataZoom",a)}while(n);function a(e){!o.get(e.uid)&&function(e){var t=!1;return e.eachTargetAxis((function(e,n){var i=r.get(e);i&&i[n]&&(t=!0)})),t}(e)&&(s(e),n=!0)}function s(e){o.set(e.uid,!0),i.push(e),e.eachTargetAxis((function(e,t){(r.get(e)||r.set(e,[]))[t]=!0}))}return i}function mOe(e){var t=e.ecModel,n={infoList:[],infoMap:k3()};return e.eachTargetAxis((function(e,r){var i=t.getComponent(pOe(e),r);if(i){var o=i.getCoordSysModel();if(o){var a=o.uid,s=n.infoMap.get(a);s||(s={model:o,axisModels:[]},n.infoList.push(s),n.infoMap.set(a,s)),s.axisModels.push(i)}}})),n}var bOe=function(){function e(){this.indexList=[],this.indexMap=[]}return e.prototype.add=function(e){this.indexMap[e]||(this.indexList.push(e),this.indexMap[e]=!0)},e}(),vOe=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n._autoThrottle=!0,n._noTarget=!0,n._rangePropMode=["percent","percent"],n}return g2(t,e),t.prototype.init=function(e,t,n){var r=yOe(e);this.settledOption=r,this.mergeDefaultAndTheme(e,n),this._doInit(r)},t.prototype.mergeOption=function(e){var t=yOe(e);B2(this.option,e,!0),B2(this.settledOption,t,!0),this._doInit(t)},t.prototype._doInit=function(e){var t=this.option;this._setDefaultThrottle(e),this._updateRangeUse(e);var n=this.settledOption;q2([["start","startValue"],["end","endValue"]],(function(e,r){"value"===this._rangePropMode[r]&&(t[e[0]]=n[e[0]]=null)}),this),this._resetTarget()},t.prototype._resetTarget=function(){var e=this.get("orient",!0),t=this._targetAxisInfoMap=k3();this._fillSpecifiedTargetAxis(t)?this._orient=e||this._makeAutoOrientByTargetAxis():(this._orient=e||"horizontal",this._fillAutoTargetAxisByOrient(t,this._orient)),this._noTarget=!0,t.each((function(e){e.indexList.length&&(this._noTarget=!1)}),this)},t.prototype._fillSpecifiedTargetAxis=function(e){var t=!1;return q2(hOe,(function(n){var r=this.getReferringComponents(pOe(n),$9);if(r.specified){t=!0;var i=new bOe;q2(r.models,(function(e){i.add(e.componentIndex)})),e.set(n,i)}}),this),t},t.prototype._fillAutoTargetAxisByOrient=function(e,t){var n=this.ecModel,r=!0;if(r){var i="vertical"===t?"y":"x";o(n.findComponents({mainType:i+"Axis"}),i)}r&&o(n.findComponents({mainType:"singleAxis",filter:function(e){return e.get("orient",!0)===t}}),"single");function o(t,n){var i=t[0];if(i){var o=new bOe;if(o.add(i.componentIndex),e.set(n,o),r=!1,"x"===n||"y"===n){var a=i.getReferringComponents("grid",V9).models[0];a&&q2(t,(function(e){i.componentIndex!==e.componentIndex&&a===e.getReferringComponents("grid",V9).models[0]&&o.add(e.componentIndex)}))}}}r&&q2(hOe,(function(t){if(r){var i=n.findComponents({mainType:pOe(t),filter:function(e){return"category"===e.get("type",!0)}});if(i[0]){var o=new bOe;o.add(i[0].componentIndex),e.set(t,o),r=!1}}}),this)},t.prototype._makeAutoOrientByTargetAxis=function(){var e;return this.eachTargetAxis((function(t){!e&&(e=t)}),this),"y"===e?"vertical":"horizontal"},t.prototype._setDefaultThrottle=function(e){if(e.hasOwnProperty("throttle")&&(this._autoThrottle=!1),this._autoThrottle){var t=this.ecModel.option;this.option.throttle=t.animation&&t.animationDurationUpdate>0?100:20}},t.prototype._updateRangeUse=function(e){var t=this._rangePropMode,n=this.get("rangeMode");q2([["start","startValue"],["end","endValue"]],(function(r,i){var o=null!=e[r[0]],a=null!=e[r[1]];o&&!a?t[i]="percent":!o&&a?t[i]="value":n?t[i]=n[i]:o&&(t[i]="percent")}))},t.prototype.noTarget=function(){return this._noTarget},t.prototype.getFirstTargetAxisModel=function(){var e;return this.eachTargetAxis((function(t,n){null==e&&(e=this.ecModel.getComponent(pOe(t),n))}),this),e},t.prototype.eachTargetAxis=function(e,t){this._targetAxisInfoMap.each((function(n,r){q2(n.indexList,(function(n){e.call(t,r,n)}))}))},t.prototype.getAxisProxy=function(e,t){var n=this.getAxisModel(e,t);if(n)return n.__dzAxisProxy},t.prototype.getAxisModel=function(e,t){var n=this._targetAxisInfoMap.get(e);if(n&&n.indexMap[t])return this.ecModel.getComponent(pOe(e),t)},t.prototype.setRawRange=function(e){var t=this.option,n=this.settledOption;q2([["start","startValue"],["end","endValue"]],(function(r){null==e[r[0]]&&null==e[r[1]]||(t[r[0]]=n[r[0]]=e[r[0]],t[r[1]]=n[r[1]]=e[r[1]])}),this),this._updateRangeUse(e)},t.prototype.setCalculatedRange=function(e){var t=this.option;q2(["start","startValue","end","endValue"],(function(n){t[n]=e[n]}))},t.prototype.getPercentRange=function(){var e=this.findRepresentativeAxisProxy();if(e)return e.getDataPercentWindow()},t.prototype.getValueRange=function(e,t){if(null!=e||null!=t)return this.getAxisProxy(e,t).getDataValueWindow();var n=this.findRepresentativeAxisProxy();return n?n.getDataValueWindow():void 0},t.prototype.findRepresentativeAxisProxy=function(e){if(e)return e.__dzAxisProxy;for(var t,n=this._targetAxisInfoMap.keys(),r=0;r<n.length;r++)for(var i=n[r],o=this._targetAxisInfoMap.get(i),a=0;a<o.indexList.length;a++){var s=this.getAxisProxy(i,o.indexList[a]);if(s.hostedBy(this))return s;t||(t=s)}return t},t.prototype.getRangePropMode=function(){return this._rangePropMode.slice()},t.prototype.getOrient=function(){return this._orient},t.type="dataZoom",t.dependencies=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","series","toolbox"],t.defaultOption={z:4,filterMode:"filter",start:0,end:100},t}(oie);function yOe(e){var t={};return q2(["start","end","startValue","endValue","throttle"],(function(n){e.hasOwnProperty(n)&&(t[n]=e[n])})),t}const wOe=vOe;const xOe=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return g2(t,e),t.type="dataZoom.select",t}(wOe);const _Oe=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return g2(t,e),t.prototype.render=function(e,t,n,r){this.dataZoomModel=e,this.ecModel=t,this.api=n},t.type="dataZoom",t}(tse);const SOe=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return g2(t,e),t.type="dataZoom.select",t}(_Oe);var kOe=q2,COe=r9,EOe=function(){function e(e,t,n,r){this._dimName=e,this._axisIndex=t,this.ecModel=r,this._dataZoomModel=n}return e.prototype.hostedBy=function(e){return this._dataZoomModel===e},e.prototype.getDataValueWindow=function(){return this._valueWindow.slice()},e.prototype.getDataPercentWindow=function(){return this._percentWindow.slice()},e.prototype.getTargetSeriesModels=function(){var e=[];return this.ecModel.eachSeries((function(t){if(function(e){var t=e.get("coordinateSystem");return G2(dOe,t)>=0}(t)){var n=pOe(this._dimName),r=t.getReferringComponents(n,V9).models[0];r&&this._axisIndex===r.componentIndex&&e.push(t)}}),this),e},e.prototype.getAxisModel=function(){return this.ecModel.getComponent(this._dimName+"Axis",this._axisIndex)},e.prototype.getMinMaxSpan=function(){return z2(this._minMaxSpan)},e.prototype.calculateDataWindow=function(e){var t,n=this._dataExtent,r=this.getAxisModel().axis.scale,i=this._dataZoomModel.getRangePropMode(),o=[0,100],a=[],s=[];kOe(["start","end"],(function(l,u){var c=e[l],f=e[l+"Value"];"percent"===i[u]?(null==c&&(c=o[u]),f=r.parse(e9(c,o,n))):(t=!0,c=e9(f=null==f?n[u]:r.parse(f),n,o)),s[u]=null==f||isNaN(f)?n[u]:f,a[u]=null==c||isNaN(c)?o[u]:c})),COe(s),COe(a);var l=this._minMaxSpan;function u(e,t,n,i,o){var a=o?"Span":"ValueSpan";tCe(0,e,n,"all",l["min"+a],l["max"+a]);for(var s=0;s<2;s++)t[s]=e9(e[s],n,i,!0),o&&(t[s]=r.parse(t[s]))}return t?u(s,a,n,o,!1):u(a,s,o,n,!0),{valueWindow:s,percentWindow:a}},e.prototype.reset=function(e){if(e===this._dataZoomModel){var t=this.getTargetSeriesModels();this._dataExtent=function(e,t,n){var r=[1/0,-1/0];kOe(n,(function(e){!function(e,t,n){t&&q2(ive(t,n),(function(n){var r=t.getApproximateExtent(n);r[0]<e[0]&&(e[0]=r[0]),r[1]>e[1]&&(e[1]=r[1])}))}(r,e.getData(),t)}));var i=e.getAxisModel(),o=Xbe(i.axis.scale,i,r).calculate();return[o.min,o.max]}(this,this._dimName,t),this._updateMinMaxSpan();var n=this.calculateDataWindow(e.settledOption);this._valueWindow=n.valueWindow,this._percentWindow=n.percentWindow,this._setAxisModel()}},e.prototype.filterData=function(e,t){if(e===this._dataZoomModel){var n=this._dimName,r=this.getTargetSeriesModels(),i=e.get("filterMode"),o=this._valueWindow;"none"!==i&&kOe(r,(function(e){var t=e.getData(),r=t.mapDimensionsAll(n);if(r.length){if("weakFilter"===i){var a=t.getStore(),s=X2(r,(function(e){return t.getDimensionIndex(e)}),t);t.filterSelf((function(e){for(var t,n,i,l=0;l<r.length;l++){var u=a.get(s[l],e),c=!isNaN(u),f=u<o[0],h=u>o[1];if(c&&!f&&!h)return!0;c&&(i=!0),f&&(t=!0),h&&(n=!0)}return i&&t&&n}))}else kOe(r,(function(n){if("empty"===i)e.setData(t=t.map(n,(function(e){return function(e){return e>=o[0]&&e<=o[1]}(e)?e:NaN})));else{var r={};r[n]=o,t.selectRange(r)}}));kOe(r,(function(e){t.setApproximateExtent(o,e)}))}}))}},e.prototype._updateMinMaxSpan=function(){var e=this._minMaxSpan={},t=this._dataZoomModel,n=this._dataExtent;kOe(["min","max"],(function(r){var i=t.get(r+"Span"),o=t.get(r+"ValueSpan");null!=o&&(o=this.getAxisModel().axis.scale.parse(o)),null!=o?i=e9(n[0]+o,n,[0,100],!0):null!=i&&(o=e9(i,[0,100],n,!0)-n[0]),e[r+"Span"]=i,e[r+"ValueSpan"]=o}),this)},e.prototype._setAxisModel=function(){var e=this.getAxisModel(),t=this._percentWindow,n=this._valueWindow;if(t){var r=o9(n,[0,500]);r=Math.min(r,20);var i=e.axis.scale.rawExtentInfo;0!==t[0]&&i.setDeterminedMinMax("min",+n[0].toFixed(r)),100!==t[1]&&i.setDeterminedMinMax("max",+n[1].toFixed(r)),i.freeze()}},e}();const IOe=EOe;var MOe={getTargetSeries:function(e){function t(t){e.eachComponent("dataZoom",(function(n){n.eachTargetAxis((function(r,i){var o=e.getComponent(pOe(r),i);t(r,i,o,n)}))}))}t((function(e,t,n,r){n.__dzAxisProxy=null}));var n=[];t((function(t,r,i,o){i.__dzAxisProxy||(i.__dzAxisProxy=new IOe(t,r,o,e),n.push(i.__dzAxisProxy))}));var r=k3();return q2(n,(function(e){q2(e.getTargetSeriesModels(),(function(e){r.set(e.uid,e)}))})),r},overallReset:function(e,t){e.eachComponent("dataZoom",(function(e){e.eachTargetAxis((function(t,n){e.getAxisProxy(t,n).reset(e)})),e.eachTargetAxis((function(n,r){e.getAxisProxy(n,r).filterData(e,t)}))})),e.eachComponent("dataZoom",(function(e){var t=e.findRepresentativeAxisProxy();if(t){var n=t.getDataPercentWindow(),r=t.getDataValueWindow();e.setCalculatedRange({start:n[0],end:n[1],startValue:r[0],endValue:r[1]})}}))}};const TOe=MOe;var AOe=!1;function POe(e){AOe||(AOe=!0,e.registerProcessor(e.PRIORITY.PROCESSOR.FILTER,TOe),function(e){e.registerAction("dataZoom",(function(e,t){q2(gOe(t,e),(function(t){t.setRawRange({start:e.start,end:e.end,startValue:e.startValue,endValue:e.endValue})}))}))}(e),e.registerSubTypeDefaulter("dataZoom",(function(){return"slider"})))}function OOe(e){e.registerComponentModel(xOe),e.registerComponentView(SOe),POe(e)}var DOe=function(){},ROe={};function LOe(e,t){ROe[e]=t}function NOe(e){return ROe[e]}const jOe=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return g2(t,e),t.prototype.optionUpdated=function(){e.prototype.optionUpdated.apply(this,arguments);var t=this.ecModel;q2(this.option.feature,(function(e,n){var r=NOe(n);r&&(r.getDefaultOption&&(r.defaultOption=r.getDefaultOption(t)),B2(e,r.defaultOption))}))},t.type="toolbox",t.layoutMode={type:"box",ignoreSize:!0},t.defaultOption={show:!0,z:6,orient:"horizontal",left:"right",top:"top",backgroundColor:"transparent",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemSize:15,itemGap:8,showTitle:!0,iconStyle:{borderColor:"#666",color:"none"},emphasis:{iconStyle:{borderColor:"#3E98C5"}},tooltip:{show:!1,position:"bottom"}},t}(oie);function FOe(e,t){var n=zre(t.get("padding")),r=t.getItemStyle(["color","opacity"]);return r.fill=t.get("backgroundColor"),e=new qee({shape:{x:e.x-n[3],y:e.y-n[0],width:e.width+n[1]+n[3],height:e.height+n[0]+n[2],r:t.get("borderRadius")},style:r,silent:!0,z2:-1})}var zOe=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return g2(t,e),t.prototype.render=function(e,t,n,r){var i=this.group;if(i.removeAll(),e.get("show")){var o=+e.get("itemSize"),a="vertical"===e.get("orient"),s=e.get("feature")||{},l=this._features||(this._features={}),u=[];q2(s,(function(e,t){u.push(t)})),new fpe(this._featureNames||[],u).add(c).update(c).remove(J2(c,null)).execute(),this._featureNames=u,function(e,t,n){var r=t.getBoxLayoutParams(),i=t.get("padding"),o={width:n.getWidth(),height:n.getHeight()},a=Zre(r,o,i);Kre(t.get("orient"),e,t.get("itemGap"),a.width,a.height),Qre(e,r,o,i)}(i,e,n),i.add(FOe(i.getBoundingRect(),e)),a||i.eachChild((function(e){var t=e.__title,r=e.ensureState("emphasis"),a=r.textConfig||(r.textConfig={}),s=e.getTextContent(),l=s&&s.ensureState("emphasis");if(l&&!t3(l)&&t){var u=l.style||(l.style={}),c=A8(t,ute.makeFont(u)),f=e.x+i.x,h=!1;e.y+i.y+o+c.height>n.getHeight()&&(a.position="top",h=!0);var d=h?-5-c.height:o+10;f+c.width/2>n.getWidth()?(a.position=["100%",d],u.align="right"):f-c.width/2<0&&(a.position=[0,d],u.align="left")}}))}function c(c,f){var h,d=u[c],p=u[f],g=s[d],m=new Yne(g,e,e.ecModel);if(r&&null!=r.newTitle&&r.featureName===d&&(g.title=r.newTitle),d&&!p){if(function(e){return 0===e.indexOf("my")}(d))h={onclick:m.option.onclick,featureName:d};else{var b=NOe(d);if(!b)return;h=new b}l[d]=h}else if(!(h=l[p]))return;h.uid=Zne("toolbox-feature"),h.model=m,h.ecModel=t,h.api=n;var v=h instanceof DOe;d||!p?!m.get("show")||v&&h.unusable?v&&h.remove&&h.remove(t,n):(!function(r,s,l){var u,c,f=r.getModel("iconStyle"),h=r.getModel(["emphasis","iconStyle"]),d=s instanceof DOe&&s.getIcons?s.getIcons():r.get("icon"),p=r.get("title")||{};n3(d)?(u={})[l]=d:u=d;n3(p)?(c={})[l]=p:c=p;var g=r.iconPaths={};q2(u,(function(l,u){var d=Qle(l,{},{x:-o/2,y:-o/2,width:o,height:o});d.setStyle(f.getItemStyle()),d.ensureState("emphasis").style=h.getItemStyle();var p=new ute({style:{text:c[u],align:h.get("textAlign"),borderRadius:h.get("textBorderRadius"),padding:h.get("textPadding"),fill:null},ignore:!0});d.setTextContent(p),nue({el:d,componentModel:e,itemName:u,formatterParamsExtra:{title:c[u]}}),d.__title=c[u],d.on("mouseover",(function(){var t=h.getItemStyle(),r=a?null==e.get("right")&&"right"!==e.get("left")?"right":"left":null==e.get("bottom")&&"bottom"!==e.get("top")?"bottom":"top";p.setStyle({fill:h.get("textFill")||t.fill||t.stroke||"#000",backgroundColor:h.get("textBackgroundColor")}),d.setTextConfig({position:h.get("textPosition")||r}),p.ignore=!e.get("showTitle"),n.enterEmphasis(this)})).on("mouseout",(function(){"emphasis"!==r.get(["iconStatus",u])&&n.leaveEmphasis(this),p.hide()})),("emphasis"===r.get(["iconStatus",u])?Vte:$te)(d),i.add(d),d.on("click",Q2(s.onclick,s,t,n,u)),g[u]=d}))}(m,h,d),m.setIconStatus=function(e,t){var n=this.option,r=this.iconPaths;n.iconStatus=n.iconStatus||{},n.iconStatus[e]=t,r[e]&&("emphasis"===t?Vte:$te)(r[e])},h instanceof DOe&&h.render&&h.render(m,t,n,r)):v&&h.dispose&&h.dispose(t,n)}},t.prototype.updateView=function(e,t,n,r){q2(this._features,(function(e){e instanceof DOe&&e.updateView&&e.updateView(e.model,t,n,r)}))},t.prototype.remove=function(e,t){q2(this._features,(function(n){n instanceof DOe&&n.remove&&n.remove(e,t)})),this.group.removeAll()},t.prototype.dispose=function(e,t){q2(this._features,(function(n){n instanceof DOe&&n.dispose&&n.dispose(e,t)}))},t.type="toolbox",t}(tse);const BOe=zOe;var VOe=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return g2(t,e),t.prototype.onclick=function(e,t){var n=this.model,r=n.get("name")||e.get("title.0.text")||"echarts",i="svg"===t.getZr().painter.getType(),o=i?"svg":n.get("type",!0)||"png",a=t.getConnectedDataURL({type:o,backgroundColor:n.get("backgroundColor",!0)||e.get("backgroundColor")||"#fff",connectedBackgroundColor:n.get("connectedBackgroundColor"),excludeComponents:n.get("excludeComponents"),pixelRatio:n.get("pixelRatio")}),s=v2.browser;if(t3(MouseEvent)&&(s.newEdge||!s.ie&&!s.edge)){var l=document.createElement("a");l.download=r+"."+o,l.target="_blank",l.href=a;var u=new MouseEvent("click",{view:document.defaultView,bubbles:!0,cancelable:!1});l.dispatchEvent(u)}else if(window.navigator.msSaveOrOpenBlob||i){var c=a.split(","),f=c[0].indexOf("base64")>-1,h=i?decodeURIComponent(c[1]):c[1];f&&(h=window.atob(h));var d=r+"."+o;if(window.navigator.msSaveOrOpenBlob){for(var p=h.length,g=new Uint8Array(p);p--;)g[p]=h.charCodeAt(p);var m=new Blob([g]);window.navigator.msSaveOrOpenBlob(m,d)}else{var b=document.createElement("iframe");document.body.appendChild(b);var v=b.contentWindow,y=v.document;y.open("image/svg+xml","replace"),y.write(h),y.close(),v.focus(),y.execCommand("SaveAs",!0,d),document.body.removeChild(b)}}else{var w=n.get("lang"),x='<body style="margin:0;"><img src="'+a+'" style="max-width:100%;" title="'+(w&&w[0]||"")+'" /></body>',_=window.open();_.document.write(x),_.document.title=r}},t.getDefaultOption=function(e){return{show:!0,icon:"M4.7,22.9L29.3,45.5L54.7,23.4M4.6,43.6L4.6,58L53.8,58L53.8,43.6M29.2,45.1L29.2,0",title:e.getLocaleModel().get(["toolbox","saveAsImage","title"]),type:"png",connectedBackgroundColor:"#fff",name:"",excludeComponents:["toolbox"],lang:e.getLocaleModel().get(["toolbox","saveAsImage","lang"])}},t}(DOe);const $Oe=VOe;var HOe="__ec_magicType_stack__",GOe=[["line","bar"],["stack"]],WOe=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return g2(t,e),t.prototype.getIcons=function(){var e=this.model,t=e.get("icon"),n={};return q2(e.get("type"),(function(e){t[e]&&(n[e]=t[e])})),n},t.getDefaultOption=function(e){return{show:!0,type:[],icon:{line:"M4.1,28.9h7.1l9.3-22l7.4,38l9.7-19.7l3,12.8h14.9M4.1,58h51.4",bar:"M6.7,22.9h10V48h-10V22.9zM24.9,13h10v35h-10V13zM43.2,2h10v46h-10V2zM3.1,58h53.7",stack:"M8.2,38.4l-8.4,4.1l30.6,15.3L60,42.5l-8.1-4.1l-21.5,11L8.2,38.4z M51.9,30l-8.1,4.2l-13.4,6.9l-13.9-6.9L8.2,30l-8.4,4.2l8.4,4.2l22.2,11l21.5-11l8.1-4.2L51.9,30z M51.9,21.7l-8.1,4.2L35.7,30l-5.3,2.8L24.9,30l-8.4-4.1l-8.3-4.2l-8.4,4.2L8.2,30l8.3,4.2l13.9,6.9l13.4-6.9l8.1-4.2l8.1-4.1L51.9,21.7zM30.4,2.2L-0.2,17.5l8.4,4.1l8.3,4.2l8.4,4.2l5.5,2.7l5.3-2.7l8.1-4.2l8.1-4.2l8.1-4.1L30.4,2.2z"},title:e.getLocaleModel().get(["toolbox","magicType","title"]),option:{},seriesIndex:{}}},t.prototype.onclick=function(e,t,n){var r=this.model,i=r.get(["seriesIndex",n]);if(UOe[n]){var o,a={series:[]};q2(GOe,(function(e){G2(e,n)>=0&&q2(e,(function(e){r.setIconStatus(e,"normal")}))})),r.setIconStatus(n,"emphasis"),e.eachComponent({mainType:"series",query:null==i?null:{seriesIndex:i}},(function(e){var t=e.subType,i=e.id,o=UOe[n](t,i,e,r);o&&(H2(o,e.option),a.series.push(o));var s=e.coordinateSystem;if(s&&"cartesian2d"===s.type&&("line"===n||"bar"===n)){var l=s.getAxesByScale("ordinal")[0];if(l){var u=l.dim+"Axis",c=e.getReferringComponents(u,V9).models[0].componentIndex;a[u]=a[u]||[];for(var f=0;f<=c;f++)a[u][c]=a[u][c]||{};a[u][c].boundaryGap="bar"===n}}}));var s=n;"stack"===n&&(o=B2({stack:r.option.title.tiled,tiled:r.option.title.stack},r.option.title),"emphasis"!==r.get(["iconStatus",n])&&(s="tiled")),t.dispatchAction({type:"changeMagicType",currentType:s,newOption:a,newTitle:o,featureName:"magicType"})}},t}(DOe),UOe={line:function(e,t,n,r){if("bar"===e)return B2({id:t,type:"line",data:n.get("data"),stack:n.get("stack"),markPoint:n.get("markPoint"),markLine:n.get("markLine")},r.get(["option","line"])||{},!0)},bar:function(e,t,n,r){if("line"===e)return B2({id:t,type:"bar",data:n.get("data"),stack:n.get("stack"),markPoint:n.get("markPoint"),markLine:n.get("markLine")},r.get(["option","bar"])||{},!0)},stack:function(e,t,n,r){var i=n.get("stack")===HOe;if("line"===e||"bar"===e)return r.setIconStatus("stack",i?"normal":"emphasis"),B2({id:t,stack:i?"":HOe},r.get(["option","stack"])||{},!0)}};Kfe({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},(function(e,t){t.mergeOption(e.newOption)}));const qOe=WOe;var XOe=new Array(60).join("-"),YOe="\t";function KOe(e){return e.replace(/^\s\s*/,"").replace(/\s\s*$/,"")}var ZOe=new RegExp("[\t]+","g");function QOe(e,t){var n=e.split(new RegExp("\n*"+XOe+"\n*","g")),r={series:[]};return q2(n,(function(e,n){if(function(e){if(e.slice(0,e.indexOf("\n")).indexOf(YOe)>=0)return!0}(e)){var i=function(e){for(var t=e.split(/\n+/g),n=[],r=X2(KOe(t.shift()).split(ZOe),(function(e){return{name:e,data:[]}})),i=0;i<t.length;i++){var o=KOe(t[i]).split(ZOe);n.push(o.shift());for(var a=0;a<o.length;a++)r[a]&&(r[a].data[i]=o[a])}return{series:r,categories:n}}(e),o=t[n],a=o.axisDim+"Axis";o&&(r[a]=r[a]||[],r[a][o.axisIndex]={data:i.categories},r.series=r.series.concat(i.series))}else{i=function(e){for(var t=e.split(/\n+/g),n=KOe(t.shift()),r=[],i=0;i<t.length;i++){var o=KOe(t[i]);if(o){var a=o.split(ZOe),s="",l=void 0,u=!1;isNaN(a[0])?(u=!0,s=a[0],a=a.slice(1),r[i]={name:s,value:[]},l=r[i].value):l=r[i]=[];for(var c=0;c<a.length;c++)l.push(+a[c]);1===l.length&&(u?r[i].value=l[0]:r[i]=l[0])}}return{name:n,data:r}}(e);r.series.push(i)}})),r}var JOe=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return g2(t,e),t.prototype.onclick=function(e,t){setTimeout((function(){t.dispatchAction({type:"hideTip"})}));var n=t.getDom(),r=this.model;this._dom&&n.removeChild(this._dom);var i=document.createElement("div");i.style.cssText="position:absolute;top:0;bottom:0;left:0;right:0;padding:5px",i.style.backgroundColor=r.get("backgroundColor")||"#fff";var o=document.createElement("h4"),a=r.get("lang")||[];o.innerHTML=a[0]||r.get("title"),o.style.cssText="margin:10px 20px",o.style.color=r.get("textColor");var s=document.createElement("div"),l=document.createElement("textarea");s.style.cssText="overflow:auto";var u=r.get("optionToContent"),c=r.get("contentToOption"),f=function(e){var t,n,r,i=function(e){var t={},n=[],r=[];return e.eachRawSeries((function(e){var i=e.coordinateSystem;if(!i||"cartesian2d"!==i.type&&"polar"!==i.type)n.push(e);else{var o=i.getBaseAxis();if("category"===o.type){var a=o.dim+"_"+o.index;t[a]||(t[a]={categoryAxis:o,valueAxis:i.getOtherAxis(o),series:[]},r.push({axisDim:o.dim,axisIndex:o.index})),t[a].series.push(e)}else n.push(e)}})),{seriesGroupByCategoryAxis:t,other:n,meta:r}}(e);return{value:K2([(n=i.seriesGroupByCategoryAxis,r=[],q2(n,(function(e,t){var n=e.categoryAxis,i=e.valueAxis.dim,o=[" "].concat(X2(e.series,(function(e){return e.name}))),a=[n.model.getCategories()];q2(e.series,(function(e){var t=e.getRawData();a.push(e.getRawData().mapArray(t.mapDimension(i),(function(e){return e})))}));for(var s=[o.join(YOe)],l=0;l<a[0].length;l++){for(var u=[],c=0;c<a.length;c++)u.push(a[c][l]);s.push(u.join(YOe))}r.push(s.join("\n"))})),r.join("\n\n"+XOe+"\n\n")),(t=i.other,X2(t,(function(e){var t=e.getRawData(),n=[e.name],r=[];return t.each(t.dimensions,(function(){for(var e=arguments.length,i=arguments[e-1],o=t.getName(i),a=0;a<e-1;a++)r[a]=arguments[a];n.push((o?o+YOe:"")+r.join(YOe))})),n.join("\n")})).join("\n\n"+XOe+"\n\n"))],(function(e){return!!e.replace(/[\n\t\s]/g,"")})).join("\n\n"+XOe+"\n\n"),meta:i.meta}}(e);if(t3(u)){var h=u(t.getOption());n3(h)?s.innerHTML=h:l3(h)&&s.appendChild(h)}else{l.readOnly=r.get("readOnly");var d=l.style;d.cssText="display:block;width:100%;height:100%;font-family:monospace;font-size:14px;line-height:1.6rem;resize:none;box-sizing:border-box;outline:none",d.color=r.get("textColor"),d.borderColor=r.get("textareaBorderColor"),d.backgroundColor=r.get("textareaColor"),l.value=f.value,s.appendChild(l)}var p=f.meta,g=document.createElement("div");g.style.cssText="position:absolute;bottom:5px;left:0;right:0";var m="float:right;margin-right:20px;border:none;cursor:pointer;padding:2px 5px;font-size:12px;border-radius:3px",b=document.createElement("div"),v=document.createElement("div");m+=";background-color:"+r.get("buttonColor"),m+=";color:"+r.get("buttonTextColor");var y=this;function w(){n.removeChild(i),y._dom=null}v5(b,"click",w),v5(v,"click",(function(){if(null==c&&null!=u||null!=c&&null==u)w();else{var e;try{e=t3(c)?c(s,t.getOption()):QOe(l.value,p)}catch(e){throw w(),new Error("Data view format error "+e)}e&&t.dispatchAction({type:"changeDataView",newOption:e}),w()}})),b.innerHTML=a[1],v.innerHTML=a[2],v.style.cssText=b.style.cssText=m,!r.get("readOnly")&&g.appendChild(v),g.appendChild(b),i.appendChild(o),i.appendChild(s),i.appendChild(g),s.style.height=n.clientHeight-80+"px",n.appendChild(i),this._dom=i},t.prototype.remove=function(e,t){this._dom&&t.getDom().removeChild(this._dom)},t.prototype.dispose=function(e,t){this.remove(e,t)},t.getDefaultOption=function(e){return{show:!0,readOnly:!1,optionToContent:null,contentToOption:null,icon:"M17.5,17.3H33 M17.5,17.3H33 M45.4,29.5h-28 M11.5,2v56H51V14.8L38.4,2H11.5z M38.4,2.2v12.7H51 M45.4,41.7h-28",title:e.getLocaleModel().get(["toolbox","dataView","title"]),lang:e.getLocaleModel().get(["toolbox","dataView","lang"]),backgroundColor:"#fff",textColor:"#000",textareaColor:"#fff",textareaBorderColor:"#333",buttonColor:"#c23531",buttonTextColor:"#fff"}},t}(DOe);function eDe(e,t){return X2(e,(function(e,n){var r=t&&t[n];if(o3(r)&&!e3(r)){o3(e)&&!e3(e)||(e={value:e});var i=null!=r.name&&null==e.name;return e=H2(e,r),i&&delete e.name,e}return e}))}Kfe({type:"changeDataView",event:"dataViewChanged",update:"prepareAndUpdate"},(function(e,t){var n=[];q2(e.newOption.series,(function(e){var r=t.getSeriesByName(e.name)[0];if(r){var i=r.get("data");n.push({name:e.name,data:eDe(e.data,i)})}else n.push($2({type:"scatter"},e))})),t.mergeOption(H2({series:n},e.newOption))}));const tDe=JOe;var nDe=q2,rDe=j9();function iDe(e){var t=rDe(e);return t.snapshots||(t.snapshots=[{}]),t.snapshots}var oDe=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return g2(t,e),t.prototype.onclick=function(e,t){!function(e){rDe(e).snapshots=null}(e),t.dispatchAction({type:"restore",from:this.uid})},t.getDefaultOption=function(e){return{show:!0,icon:"M3.8,33.4 M47,18.9h9.8V8.7 M56.3,20.1 C52.1,9,40.5,0.6,26.8,2.1C12.6,3.7,1.6,16.2,2.1,30.6 M13,41.1H3.1v10.2 M3.7,39.9c4.2,11.1,15.8,19.5,29.5,18 c14.2-1.6,25.2-14.1,24.7-28.5",title:e.getLocaleModel().get(["toolbox","restore","title"])}},t}(DOe);Kfe({type:"restore",event:"restore",update:"prepareAndUpdate"},(function(e,t){t.resetOption("recreate")}));const aDe=oDe;var sDe=["grid","xAxis","yAxis","geo","graph","polar","radiusAxis","angleAxis","bmap"],lDe=function(){function e(e,t,n){var r=this;this._targetInfoList=[];var i=cDe(t,e);q2(fDe,(function(e,t){(!n||!n.include||G2(n.include,t)>=0)&&e(i,r._targetInfoList)}))}return e.prototype.setOutputRanges=function(e,t){return this.matchOutputRanges(e,t,(function(e,t,n){if((e.coordRanges||(e.coordRanges=[])).push(t),!e.coordRange){e.coordRange=t;var r=pDe[e.brushType](0,n,t);e.__rangeOffset={offset:mDe[e.brushType](r.values,e.range,[1,1]),xyMinMax:r.xyMinMax}}})),e},e.prototype.matchOutputRanges=function(e,t,n){q2(e,(function(e){var r=this.findTargetInfo(e,t);r&&!0!==r&&q2(r.coordSyses,(function(r){var i=pDe[e.brushType](1,r,e.range,!0);n(e,i.values,r,t)}))}),this)},e.prototype.setInputRanges=function(e,t){q2(e,(function(e){var n,r,i,o,a,s=this.findTargetInfo(e,t);if(e.range=e.range||[],s&&!0!==s){e.panelId=s.panelId;var l=pDe[e.brushType](0,s.coordSys,e.coordRange),u=e.__rangeOffset;e.range=u?mDe[e.brushType](l.values,u.offset,(n=l.xyMinMax,r=u.xyMinMax,i=vDe(n),o=vDe(r),a=[i[0]/o[0],i[1]/o[1]],isNaN(a[0])&&(a[0]=1),isNaN(a[1])&&(a[1]=1),a)):l.values}}),this)},e.prototype.makePanelOpts=function(e,t){return X2(this._targetInfoList,(function(n){var r=n.getPanelRect();return{panelId:n.panelId,defaultBrushType:t?t(n):null,clipPath:aEe(r),isTargetByCursor:lEe(r,e,n.coordSysModel),getLinearBrushOtherExtent:sEe(r)}}))},e.prototype.controlSeries=function(e,t,n){var r=this.findTargetInfo(e,n);return!0===r||r&&G2(r.coordSyses,t.coordinateSystem)>=0},e.prototype.findTargetInfo=function(e,t){for(var n=this._targetInfoList,r=cDe(t,e),i=0;i<n.length;i++){var o=n[i],a=e.panelId;if(a){if(o.panelId===a)return o}else for(var s=0;s<hDe.length;s++)if(hDe[s](r,o))return o}return!0},e}();function uDe(e){return e[0]>e[1]&&e.reverse(),e}function cDe(e,t){return z9(e,t,{includeMainTypes:sDe})}var fDe={grid:function(e,t){var n=e.xAxisModels,r=e.yAxisModels,i=e.gridModels,o=k3(),a={},s={};(n||r||i)&&(q2(n,(function(e){var t=e.axis.grid.model;o.set(t.id,t),a[t.id]=!0})),q2(r,(function(e){var t=e.axis.grid.model;o.set(t.id,t),s[t.id]=!0})),q2(i,(function(e){o.set(e.id,e),a[e.id]=!0,s[e.id]=!0})),o.each((function(e){var i=e.coordinateSystem,o=[];q2(i.getCartesians(),(function(e,t){(G2(n,e.getAxis("x").model)>=0||G2(r,e.getAxis("y").model)>=0)&&o.push(e)})),t.push({panelId:"grid--"+e.id,gridModel:e,coordSysModel:e,coordSys:o[0],coordSyses:o,getPanelRect:dDe.grid,xAxisDeclared:a[e.id],yAxisDeclared:s[e.id]})})))},geo:function(e,t){q2(e.geoModels,(function(e){var n=e.coordinateSystem;t.push({panelId:"geo--"+e.id,geoModel:e,coordSysModel:e,coordSys:n,coordSyses:[n],getPanelRect:dDe.geo})}))}},hDe=[function(e,t){var n=e.xAxisModel,r=e.yAxisModel,i=e.gridModel;return!i&&n&&(i=n.axis.grid.model),!i&&r&&(i=r.axis.grid.model),i&&i===t.gridModel},function(e,t){var n=e.geoModel;return n&&n===t.geoModel}],dDe={grid:function(){return this.coordSys.master.getRect().clone()},geo:function(){var e=this.coordSys,t=e.getBoundingRect().clone();return t.applyTransform(Wle(e)),t}},pDe={lineX:J2(gDe,0),lineY:J2(gDe,1),rect:function(e,t,n,r){var i=e?t.pointToData([n[0][0],n[1][0]],r):t.dataToPoint([n[0][0],n[1][0]],r),o=e?t.pointToData([n[0][1],n[1][1]],r):t.dataToPoint([n[0][1],n[1][1]],r),a=[uDe([i[0],o[0]]),uDe([i[1],o[1]])];return{values:a,xyMinMax:a}},polygon:function(e,t,n,r){var i=[[1/0,-1/0],[1/0,-1/0]];return{values:X2(n,(function(n){var o=e?t.pointToData(n,r):t.dataToPoint(n,r);return i[0][0]=Math.min(i[0][0],o[0]),i[1][0]=Math.min(i[1][0],o[1]),i[0][1]=Math.max(i[0][1],o[0]),i[1][1]=Math.max(i[1][1],o[1]),o})),xyMinMax:i}}};function gDe(e,t,n,r){var i=n.getAxis(["x","y"][e]),o=uDe(X2([0,1],(function(e){return t?i.coordToData(i.toLocalCoord(r[e]),!0):i.toGlobalCoord(i.dataToCoord(r[e]))}))),a=[];return a[e]=o,a[1-e]=[NaN,NaN],{values:o,xyMinMax:a}}var mDe={lineX:J2(bDe,0),lineY:J2(bDe,1),rect:function(e,t,n){return[[e[0][0]-n[0]*t[0][0],e[0][1]-n[0]*t[0][1]],[e[1][0]-n[1]*t[1][0],e[1][1]-n[1]*t[1][1]]]},polygon:function(e,t,n){return X2(e,(function(e,r){return[e[0]-n[0]*t[r][0],e[1]-n[1]*t[r][1]]}))}};function bDe(e,t,n,r){return[t[0]-r[e]*n[0],t[1]-r[e]*n[1]]}function vDe(e){return e?[e[0][1]-e[0][0],e[1][1]-e[1][0]]:[NaN,NaN]}const yDe=lDe;var wDe=q2,xDe=k9+"toolbox-dataZoom_",_De=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return g2(t,e),t.prototype.render=function(e,t,n,r){this._brushController||(this._brushController=new oEe(n.getZr()),this._brushController.on("brush",Q2(this._onBrush,this)).mount()),function(e,t,n,r,i){var o=n._isZoomActive;r&&"takeGlobalCursor"===r.type&&(o="dataZoomSelect"===r.key&&r.dataZoomSelectActive);n._isZoomActive=o,e.setIconStatus("zoom",o?"emphasis":"normal");var a=new yDe(kDe(e),t,{include:["grid"]}).makePanelOpts(i,(function(e){return e.xAxisDeclared&&!e.yAxisDeclared?"lineX":!e.xAxisDeclared&&e.yAxisDeclared?"lineY":"rect"}));n._brushController.setPanels(a).enableBrush(!(!o||!a.length)&&{brushType:"auto",brushStyle:e.getModel("brushStyle").getItemStyle()})}(e,t,this,r,n),function(e,t){e.setIconStatus("back",function(e){return iDe(e).length}(t)>1?"emphasis":"normal")}(e,t)},t.prototype.onclick=function(e,t,n){SDe[n].call(this)},t.prototype.remove=function(e,t){this._brushController&&this._brushController.unmount()},t.prototype.dispose=function(e,t){this._brushController&&this._brushController.dispose()},t.prototype._onBrush=function(e){var t=e.areas;if(e.isEnd&&t.length){var n={},r=this.ecModel;this._brushController.updateCovers([]),new yDe(kDe(this.model),r,{include:["grid"]}).matchOutputRanges(t,r,(function(e,t,n){if("cartesian2d"===n.type){var r=e.brushType;"rect"===r?(i("x",n,t[0]),i("y",n,t[1])):i({lineX:"x",lineY:"y"}[r],n,t)}})),function(e,t){var n=iDe(e);nDe(t,(function(t,r){for(var i=n.length-1;i>=0&&!n[i][r];i--);if(i<0){var o=e.queryComponents({mainType:"dataZoom",subType:"select",id:r})[0];if(o){var a=o.getPercentRange();n[0][r]={dataZoomId:r,start:a[0],end:a[1]}}}})),n.push(t)}(r,n),this._dispatchZoomAction(n)}function i(e,t,i){var o=t.getAxis(e),a=o.model,s=function(e,t,n){var r;return n.eachComponent({mainType:"dataZoom",subType:"select"},(function(n){n.getAxisModel(e,t.componentIndex)&&(r=n)})),r}(e,a,r),l=s.findRepresentativeAxisProxy(a).getMinMaxSpan();null==l.minValueSpan&&null==l.maxValueSpan||(i=tCe(0,i.slice(),o.scale.getExtent(),0,l.minValueSpan,l.maxValueSpan)),s&&(n[s.id]={dataZoomId:s.id,startValue:i[0],endValue:i[1]})}},t.prototype._dispatchZoomAction=function(e){var t=[];wDe(e,(function(e,n){t.push(z2(e))})),t.length&&this.api.dispatchAction({type:"dataZoom",from:this.uid,batch:t})},t.getDefaultOption=function(e){return{show:!0,filterMode:"filter",icon:{zoom:"M0,13.5h26.9 M13.5,26.9V0 M32.1,13.5H58V58H13.5 V32.1",back:"M22,1.4L9.9,13.5l12.3,12.3 M10.3,13.5H54.9v44.6 H10.3v-26"},title:e.getLocaleModel().get(["toolbox","dataZoom","title"]),brushStyle:{borderWidth:0,color:"rgba(210,219,238,0.2)"}}},t}(DOe),SDe={zoom:function(){var e=!this._isZoomActive;this.api.dispatchAction({type:"takeGlobalCursor",key:"dataZoomSelect",dataZoomSelectActive:e})},back:function(){this._dispatchZoomAction(function(e){var t=iDe(e),n=t[t.length-1];t.length>1&&t.pop();var r={};return nDe(n,(function(e,n){for(var i=t.length-1;i>=0;i--)if(e=t[i][n]){r[n]=e;break}})),r}(this.ecModel))}};function kDe(e){var t={xAxisIndex:e.get("xAxisIndex",!0),yAxisIndex:e.get("yAxisIndex",!0),xAxisId:e.get("xAxisId",!0),yAxisId:e.get("yAxisId",!0)};return null==t.xAxisIndex&&null==t.xAxisId&&(t.xAxisIndex="all"),null==t.yAxisIndex&&null==t.yAxisId&&(t.yAxisIndex="all"),t}!function(e,t){m3(null==Iie.get(e)&&t),Iie.set(e,t)}("dataZoom",(function(e){var t=e.getComponent("toolbox",0),n=["feature","dataZoom"];if(t&&null!=t.get(n)){var r=t.getModel(n),i=[],o=z9(e,kDe(r));return wDe(o.xAxisModels,(function(e){return a(e,"xAxis","xAxisIndex")})),wDe(o.yAxisModels,(function(e){return a(e,"yAxis","yAxisIndex")})),i}function a(e,t,n){var o=e.componentIndex,a={type:"select",$fromToolbox:!0,filterMode:r.get("filterMode",!0)||"filter",id:xDe+t+o};a[n]=o,i.push(a)}}));const CDe=_De;const EDe=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return g2(t,e),t.type="tooltip",t.dependencies=["axisPointer"],t.defaultOption={z:60,show:!0,showContent:!0,trigger:"item",triggerOn:"mousemove|click",alwaysShowContent:!1,displayMode:"single",renderMode:"auto",confine:null,showDelay:0,hideDelay:100,transitionDuration:.4,enterable:!1,backgroundColor:"#fff",shadowBlur:10,shadowColor:"rgba(0, 0, 0, .2)",shadowOffsetX:1,shadowOffsetY:2,borderRadius:4,borderWidth:1,padding:null,extraCssText:"",axisPointer:{type:"line",axis:"auto",animation:"auto",animationDurationUpdate:200,animationEasingUpdate:"exponentialOut",crossStyle:{color:"#999",width:1,type:"dashed",textStyle:{}}},textStyle:{color:"#666",fontSize:14}},t}(oie);function IDe(e){var t=e.get("confine");return null!=t?!!t:"richText"===e.get("renderMode")}function MDe(e){if(v2.domSupported)for(var t=document.documentElement.style,n=0,r=e.length;n<r;n++)if(e[n]in t)return e[n]}var TDe=MDe(["transform","webkitTransform","OTransform","MozTransform","msTransform"]);function ADe(e,t){if(!e)return t;t=Fre(t,!0);var n=e.indexOf(t);return(e=-1===n?t:"-"+e.slice(0,n)+"-"+t).toLowerCase()}var PDe=ADe(MDe(["webkitTransition","transition","OTransition","MozTransition","msTransition"]),"transition"),ODe=ADe(TDe,"transform"),DDe="position:absolute;display:block;border-style:solid;white-space:nowrap;z-index:9999999;"+(v2.transform3dSupported?"will-change:transform;":"");function RDe(e,t,n){var r=e.toFixed(0)+"px",i=t.toFixed(0)+"px";if(!v2.transformSupported)return n?"top:"+i+";left:"+r+";":[["top",i],["left",r]];var o=v2.transform3dSupported,a="translate"+(o?"3d":"")+"("+r+","+i+(o?",0":"")+")";return n?"top:0;left:0;"+ODe+":"+a+";":[["top",0],["left",0],[TDe,a]]}function LDe(e,t,n){var r=[],i=e.get("transitionDuration"),o=e.get("backgroundColor"),a=e.get("shadowBlur"),s=e.get("shadowColor"),l=e.get("shadowOffsetX"),u=e.get("shadowOffsetY"),c=e.getModel("textStyle"),f=Bae(e,"html"),h=l+"px "+u+"px "+a+"px "+s;return r.push("box-shadow:"+h),t&&i&&r.push(function(e,t){var n="cubic-bezier(0.23,1,0.32,1)",r=" "+e/2+"s "+n,i="opacity"+r+",visibility"+r;return t||(r=" "+e+"s "+n,i+=v2.transformSupported?","+ODe+r:",left"+r+",top"+r),PDe+":"+i}(i,n)),o&&r.push("background-color:"+o),q2(["width","color","radius"],(function(t){var n="border-"+t,i=Fre(n),o=e.get(i);null!=o&&r.push(n+":"+o+("color"===t?"":"px"))})),r.push(function(e){var t=[],n=e.get("fontSize"),r=e.getTextColor();r&&t.push("color:"+r),t.push("font:"+e.getFont()),n&&t.push("line-height:"+Math.round(3*n/2)+"px");var i=e.get("textShadowColor"),o=e.get("textShadowBlur")||0,a=e.get("textShadowOffsetX")||0,s=e.get("textShadowOffsetY")||0;return i&&o&&t.push("text-shadow:"+a+"px "+s+"px "+o+"px "+i),q2(["decoration","align"],(function(n){var r=e.get(n);r&&t.push("text-"+n+":"+r)})),t.join(";")}(c)),null!=f&&r.push("padding:"+zre(f).join("px ")+"px"),r.join(";")+";"}function NDe(e,t,n,r,i){var o=t&&t.painter;if(n){var a=o&&o.getViewportRoot();a&&function(e,t,n,r,i){a5(o5,t,r,i,!0)&&a5(e,n,o5[0],o5[1])}(e,a,document.body,r,i)}else{e[0]=r,e[1]=i;var s=o&&o.getViewportRootOffset();s&&(e[0]+=s.offsetLeft,e[1]+=s.offsetTop)}e[2]=e[0]/t.getWidth(),e[3]=e[1]/t.getHeight()}var jDe=function(){function e(e,t,n){if(this._show=!1,this._styleCoord=[0,0,0,0],this._enterable=!0,this._alwaysShowContent=!1,this._firstShow=!0,this._longHide=!0,v2.wxa)return null;var r=document.createElement("div");r.domBelongToZr=!0,this.el=r;var i=this._zr=t.getZr(),o=this._appendToBody=n&&n.appendToBody;NDe(this._styleCoord,i,o,t.getWidth()/2,t.getHeight()/2),o?document.body.appendChild(r):e.appendChild(r),this._container=e;var a=this;r.onmouseenter=function(){a._enterable&&(clearTimeout(a._hideTimeout),a._show=!0),a._inContent=!0},r.onmousemove=function(e){if(e=e||window.event,!a._enterable){var t=i.handler;b5(i.painter.getViewportRoot(),e,!0),t.dispatch("mousemove",e)}},r.onmouseleave=function(){a._inContent=!1,a._enterable&&a._show&&a.hideLater(a._hideDelay)}}return e.prototype.update=function(e){var t=this._container,n=function(e,t){var n=e.currentStyle||document.defaultView&&document.defaultView.getComputedStyle(e);return n?t?n[t]:n:null}(t,"position"),r=t.style;"absolute"!==r.position&&"absolute"!==n&&(r.position="relative");var i=e.get("alwaysShowContent");i&&this._moveIfResized(),this._alwaysShowContent=i,this.el.className=e.get("className")||""},e.prototype.show=function(e,t){clearTimeout(this._hideTimeout),clearTimeout(this._longHideTimeout);var n=this.el,r=n.style,i=this._styleCoord;n.innerHTML?r.cssText=DDe+LDe(e,!this._firstShow,this._longHide)+RDe(i[0],i[1],!0)+"border-color:"+Gre(t)+";"+(e.get("extraCssText")||"")+";pointer-events:"+(this._enterable?"auto":"none"):r.display="none",this._show=!0,this._firstShow=!1,this._longHide=!1},e.prototype.setContent=function(e,t,n,r,i){var o=this.el;if(null!=e){var a="";if(n3(i)&&"item"===n.get("trigger")&&!IDe(n)&&(a=function(e,t,n){if(!n3(n)||"inside"===n)return"";var r=e.get("backgroundColor"),i=e.get("borderWidth");t=Gre(t);var o,a,s="left"===(o=n)?"right":"right"===o?"left":"top"===o?"bottom":"top",l=Math.max(1.5*Math.round(i),6),u="",c=ODe+":";G2(["left","right"],s)>-1?(u+="top:50%",c+="translateY(-50%) rotate("+(a="left"===s?-225:-45)+"deg)"):(u+="left:50%",c+="translateX(-50%) rotate("+(a="top"===s?225:45)+"deg)");var f=a*Math.PI/180,h=l+i,d=h*Math.abs(Math.cos(f))+h*Math.abs(Math.sin(f)),p=t+" solid "+i+"px;";return'<div style="'+["position:absolute;width:"+l+"px;height:"+l+"px;z-index:-1;",(u+=";"+s+":-"+Math.round(100*((d-Math.SQRT2*i)/2+Math.SQRT2*i-(d-h)/2))/100+"px")+";"+c+";","border-bottom:"+p,"border-right:"+p,"background-color:"+r+";"].join("")+'"></div>'}(n,r,i)),n3(e))o.innerHTML=e+a;else if(e){o.innerHTML="",e3(e)||(e=[e]);for(var s=0;s<e.length;s++)l3(e[s])&&e[s].parentNode!==o&&o.appendChild(e[s]);if(a&&o.childNodes.length){var l=document.createElement("div");l.innerHTML=a,o.appendChild(l)}}}else o.innerHTML=""},e.prototype.setEnterable=function(e){this._enterable=e},e.prototype.getSize=function(){var e=this.el;return[e.offsetWidth,e.offsetHeight]},e.prototype.moveTo=function(e,t){var n=this._styleCoord;if(NDe(n,this._zr,this._appendToBody,e,t),null!=n[0]&&null!=n[1]){var r=this.el.style;q2(RDe(n[0],n[1]),(function(e){r[e[0]]=e[1]}))}},e.prototype._moveIfResized=function(){var e=this._styleCoord[2],t=this._styleCoord[3];this.moveTo(e*this._zr.getWidth(),t*this._zr.getHeight())},e.prototype.hide=function(){var e=this,t=this.el.style;t.visibility="hidden",t.opacity="0",v2.transform3dSupported&&(t.willChange=""),this._show=!1,this._longHideTimeout=setTimeout((function(){return e._longHide=!0}),500)},e.prototype.hideLater=function(e){!this._show||this._inContent&&this._enterable||this._alwaysShowContent||(e?(this._hideDelay=e,this._show=!1,this._hideTimeout=setTimeout(Q2(this.hide,this),e)):this.hide())},e.prototype.isShow=function(){return this._show},e.prototype.dispose=function(){this.el.parentNode.removeChild(this.el)},e}();const FDe=jDe;var zDe=function(){function e(e){this._show=!1,this._styleCoord=[0,0,0,0],this._alwaysShowContent=!1,this._enterable=!0,this._zr=e.getZr(),$De(this._styleCoord,this._zr,e.getWidth()/2,e.getHeight()/2)}return e.prototype.update=function(e){var t=e.get("alwaysShowContent");t&&this._moveIfResized(),this._alwaysShowContent=t},e.prototype.show=function(){this._hideTimeout&&clearTimeout(this._hideTimeout),this.el.show(),this._show=!0},e.prototype.setContent=function(e,t,n,r,i){var o=this;o3(e)&&Yoe(""),this.el&&this._zr.remove(this.el);var a=n.getModel("textStyle");this.el=new ute({style:{rich:t.richTextStyles,text:e,lineHeight:22,borderWidth:1,borderColor:r,textShadowColor:a.get("textShadowColor"),fill:n.get(["textStyle","color"]),padding:Bae(n,"richText"),verticalAlign:"top",align:"left"},z:n.get("z")}),q2(["backgroundColor","borderRadius","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"],(function(e){o.el.style[e]=n.get(e)})),q2(["textShadowBlur","textShadowOffsetX","textShadowOffsetY"],(function(e){o.el.style[e]=a.get(e)||0})),this._zr.add(this.el);var s=this;this.el.on("mouseover",(function(){s._enterable&&(clearTimeout(s._hideTimeout),s._show=!0),s._inContent=!0})),this.el.on("mouseout",(function(){s._enterable&&s._show&&s.hideLater(s._hideDelay),s._inContent=!1}))},e.prototype.setEnterable=function(e){this._enterable=e},e.prototype.getSize=function(){var e=this.el,t=this.el.getBoundingRect(),n=VDe(e.style);return[t.width+n.left+n.right,t.height+n.top+n.bottom]},e.prototype.moveTo=function(e,t){var n=this.el;if(n){var r=this._styleCoord;$De(r,this._zr,e,t),e=r[0],t=r[1];var i=n.style,o=BDe(i.borderWidth||0),a=VDe(i);n.x=e+o+a.left,n.y=t+o+a.top,n.markRedraw()}},e.prototype._moveIfResized=function(){var e=this._styleCoord[2],t=this._styleCoord[3];this.moveTo(e*this._zr.getWidth(),t*this._zr.getHeight())},e.prototype.hide=function(){this.el&&this.el.hide(),this._show=!1},e.prototype.hideLater=function(e){!this._show||this._inContent&&this._enterable||this._alwaysShowContent||(e?(this._hideDelay=e,this._show=!1,this._hideTimeout=setTimeout(Q2(this.hide,this),e)):this.hide())},e.prototype.isShow=function(){return this._show},e.prototype.dispose=function(){this._zr.remove(this.el)},e}();function BDe(e){return Math.max(0,e)}function VDe(e){var t=BDe(e.shadowBlur||0),n=BDe(e.shadowOffsetX||0),r=BDe(e.shadowOffsetY||0);return{left:BDe(t-n),right:BDe(t+n),top:BDe(t-r),bottom:BDe(t+r)}}function $De(e,t,n,r){e[0]=n,e[1]=r,e[2]=e[0]/t.getWidth(),e[3]=e[1]/t.getHeight()}const HDe=zDe;var GDe=new qee({shape:{x:-1,y:-1,width:2,height:2}}),WDe=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return g2(t,e),t.prototype.init=function(e,t){if(!v2.node&&t.getDom()){var n,r=e.getComponent("tooltip"),i=this._renderMode="auto"===(n=r.get("renderMode"))?v2.domSupported?"html":"richText":n||"html";this._tooltipContent="richText"===i?new HDe(t):new FDe(t.getDom(),t,{appendToBody:r.get("appendToBody",!0)})}},t.prototype.render=function(e,t,n){if(!v2.node&&n.getDom()){this.group.removeAll(),this._tooltipModel=e,this._ecModel=t,this._api=n;var r=this._tooltipContent;r.update(e),r.setEnterable(e.get("enterable")),this._initGlobalListener(),this._keepShow(),"richText"!==this._renderMode&&e.get("transitionDuration")?vue(this,"_updatePosition",50,"fixRate"):yue(this,"_updatePosition")}},t.prototype._initGlobalListener=function(){var e=this._tooltipModel.get("triggerOn");kAe("itemTooltip",this._api,Q2((function(t,n,r){"none"!==e&&(e.indexOf(t)>=0?this._tryShow(n,r):"leave"===t&&this._hide(r))}),this))},t.prototype._keepShow=function(){var e=this._tooltipModel,t=this._ecModel,n=this._api,r=e.get("triggerOn");if(null!=this._lastX&&null!=this._lastY&&"none"!==r&&"click"!==r){var i=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout((function(){!n.isDisposed()&&i.manuallyShowTip(e,t,n,{x:i._lastX,y:i._lastY,dataByCoordSys:i._lastDataByCoordSys})}))}},t.prototype.manuallyShowTip=function(e,t,n,r){if(r.from!==this.uid&&!v2.node&&n.getDom()){var i=qDe(r,n);this._ticket="";var o=r.dataByCoordSys,a=function(e,t,n){var r=B9(e).queryOptionMap,i=r.keys()[0];if(!i||"series"===i)return;var o,a=H9(t,i,r.get(i),{useDefault:!1,enableAll:!1,enableNone:!1}).models[0];if(!a)return;if(n.getViewOfComponentModel(a).group.traverse((function(t){var n=cte(t).tooltipConfig;if(n&&n.name===e.name)return o=t,!0})),o)return{componentMainType:i,componentIndex:a.componentIndex,el:o}}(r,t,n);if(a){var s=a.el.getBoundingRect().clone();s.applyTransform(a.el.transform),this._tryShow({offsetX:s.x+s.width/2,offsetY:s.y+s.height/2,target:a.el,position:r.position,positionDefault:"bottom"},i)}else if(r.tooltip&&null!=r.x&&null!=r.y){var l=GDe;l.x=r.x,l.y=r.y,l.update(),cte(l).tooltipConfig={name:null,option:r.tooltip},this._tryShow({offsetX:r.x,offsetY:r.y,target:l},i)}else if(o)this._tryShow({offsetX:r.x,offsetY:r.y,position:r.position,dataByCoordSys:o,tooltipOption:r.tooltipOption},i);else if(null!=r.seriesIndex){if(this._manuallyAxisShowTip(e,t,n,r))return;var u=AAe(r,t),c=u.point[0],f=u.point[1];null!=c&&null!=f&&this._tryShow({offsetX:c,offsetY:f,target:u.el,position:r.position,positionDefault:"bottom"},i)}else null!=r.x&&null!=r.y&&(n.dispatchAction({type:"updateAxisPointer",x:r.x,y:r.y}),this._tryShow({offsetX:r.x,offsetY:r.y,position:r.position,target:n.getZr().findHover(r.x,r.y).target},i))}},t.prototype.manuallyHideTip=function(e,t,n,r){var i=this._tooltipContent;this._tooltipModel&&i.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=this._lastDataByCoordSys=null,r.from!==this.uid&&this._hide(qDe(r,n))},t.prototype._manuallyAxisShowTip=function(e,t,n,r){var i=r.seriesIndex,o=r.dataIndex,a=t.getComponent("axisPointer").coordSysAxesInfo;if(null!=i&&null!=o&&null!=a){var s=t.getSeriesByIndex(i);if(s)if("axis"===UDe([s.getData().getItemModel(o),s,(s.coordinateSystem||{}).model],this._tooltipModel).get("trigger"))return n.dispatchAction({type:"updateAxisPointer",seriesIndex:i,dataIndex:o,position:r.position}),!0}},t.prototype._tryShow=function(e,t){var n=e.target;if(this._tooltipModel){this._lastX=e.offsetX,this._lastY=e.offsetY;var r=e.dataByCoordSys;if(r&&r.length)this._showAxisTooltip(r,e);else if(n){var i,o;this._lastDataByCoordSys=null,cce(n,(function(e){return null!=cte(e).dataIndex?(i=e,!0):null!=cte(e).tooltipConfig?(o=e,!0):void 0}),!0),i?this._showSeriesItemTooltip(e,i,t):o?this._showComponentItemTooltip(e,o,t):this._hide(t)}else this._lastDataByCoordSys=null,this._hide(t)}},t.prototype._showOrMove=function(e,t){var n=e.get("showDelay");t=Q2(t,this),clearTimeout(this._showTimout),n>0?this._showTimout=setTimeout(t,n):t()},t.prototype._showAxisTooltip=function(e,t){var n=this._ecModel,r=this._tooltipModel,i=[t.offsetX,t.offsetY],o=UDe([t.tooltipOption],r),a=this._renderMode,s=[],l=Aae("section",{blocks:[],noHeader:!0}),u=[],c=new Vae;q2(e,(function(e){q2(e.dataByAxis,(function(e){var t=n.getComponent(e.axisDim+"Axis",e.axisIndex),i=e.value;if(t&&null!=i){var o=cAe(i,t.axis,n,e.seriesDataIndices,e.valueLabelOpt),f=Aae("section",{header:o,noHeader:!b3(o),sortBlocks:!0,blocks:[]});l.blocks.push(f),q2(e.seriesDataIndices,(function(l){var h=n.getSeriesByIndex(l.seriesIndex),d=l.dataIndexInside,p=h.getDataParams(d);if(!(p.dataIndex<0)){p.axisDim=e.axisDim,p.axisIndex=e.axisIndex,p.axisType=e.axisType,p.axisId=e.axisId,p.axisValue=eve(t.axis,{value:i}),p.axisValueLabel=o,p.marker=c.makeTooltipMarker("item",Gre(p.color),a);var g=Goe(h.formatTooltip(d,!0,null)),m=g.frag;if(m){var b=UDe([h],r).get("valueFormatter");f.blocks.push(b?$2({valueFormatter:b},m):m)}g.text&&u.push(g.text),s.push(p)}}))}}))})),l.blocks.reverse(),u.reverse();var f=t.position,h=o.get("order"),d=Nae(l,c,a,h,n.get("useUTC"),o.get("textStyle"));d&&u.unshift(d);var p="richText"===a?"\n\n":"<br/>",g=u.join(p);this._showOrMove(o,(function(){this._updateContentNotChangedOnAxis(e,s)?this._updatePosition(o,f,i[0],i[1],this._tooltipContent,s):this._showTooltipContent(o,g,s,Math.random()+"",i[0],i[1],f,null,c)}))},t.prototype._showSeriesItemTooltip=function(e,t,n){var r=this._ecModel,i=cte(t),o=i.seriesIndex,a=r.getSeriesByIndex(o),s=i.dataModel||a,l=i.dataIndex,u=i.dataType,c=s.getData(u),f=this._renderMode,h=e.positionDefault,d=UDe([c.getItemModel(l),s,a&&(a.coordinateSystem||{}).model],this._tooltipModel,h?{position:h}:null),p=d.get("trigger");if(null==p||"item"===p){var g=s.getDataParams(l,u),m=new Vae;g.marker=m.makeTooltipMarker("item",Gre(g.color),f);var b=Goe(s.formatTooltip(l,!1,u)),v=d.get("order"),y=d.get("valueFormatter"),w=b.frag,x=w?Nae(y?$2({valueFormatter:y},w):w,m,f,v,r.get("useUTC"),d.get("textStyle")):b.text,_="item_"+s.name+"_"+l;this._showOrMove(d,(function(){this._showTooltipContent(d,x,g,_,e.offsetX,e.offsetY,e.position,e.target,m)})),n({type:"showTip",dataIndexInside:l,dataIndex:c.getRawIndex(l),seriesIndex:o,from:this.uid})}},t.prototype._showComponentItemTooltip=function(e,t,n){var r=cte(t),i=r.tooltipConfig.option||{};if(n3(i)){i={content:i,formatter:i}}var o=[i],a=this._ecModel.getComponent(r.componentMainType,r.componentIndex);a&&o.push(a),o.push({formatter:i.content});var s=e.positionDefault,l=UDe(o,this._tooltipModel,s?{position:s}:null),u=l.get("content"),c=Math.random()+"",f=new Vae;this._showOrMove(l,(function(){var n=z2(l.get("formatterParams")||{});this._showTooltipContent(l,u,n,c,e.offsetX,e.offsetY,e.position,t,f)})),n({type:"showTip",from:this.uid})},t.prototype._showTooltipContent=function(e,t,n,r,i,o,a,s,l){if(this._ticket="",e.get("showContent")&&e.get("show")){var u=this._tooltipContent;u.setEnterable(e.get("enterable"));var c=e.get("formatter");a=a||e.get("position");var f=t,h=this._getNearestPoint([i,o],n,e.get("trigger"),e.get("borderColor")).color;if(c)if(n3(c)){var d=e.ecModel.get("useUTC"),p=e3(n)?n[0]:n;f=c,p&&p.axisType&&p.axisType.indexOf("time")>=0&&(f=wre(p.axisValue,f,d)),f=Hre(f,n,!0)}else if(t3(c)){var g=Q2((function(t,r){t===this._ticket&&(u.setContent(r,l,e,h,a),this._updatePosition(e,a,i,o,u,n,s))}),this);this._ticket=r,f=c(n,r,g)}else f=c;u.setContent(f,l,e,h,a),u.show(e,h),this._updatePosition(e,a,i,o,u,n,s)}},t.prototype._getNearestPoint=function(e,t,n,r){return"axis"===n||e3(t)?{color:r||("html"===this._renderMode?"#fff":"none")}:e3(t)?void 0:{color:r||t.color||t.borderColor}},t.prototype._updatePosition=function(e,t,n,r,i,o,a){var s=this._api.getWidth(),l=this._api.getHeight();t=t||e.get("position");var u=i.getSize(),c=e.get("align"),f=e.get("verticalAlign"),h=a&&a.getBoundingRect().clone();if(a&&h.applyTransform(a.transform),t3(t)&&(t=t([n,r],o,i.el,h,{viewSize:[s,l],contentSize:u.slice()})),e3(t))n=t9(t[0],s),r=t9(t[1],l);else if(o3(t)){var d=t;d.width=u[0],d.height=u[1];var p=Zre(d,{width:s,height:l});n=p.x,r=p.y,c=null,f=null}else if(n3(t)&&a){var g=function(e,t,n,r){var i=n[0],o=n[1],a=Math.ceil(Math.SQRT2*r)+8,s=0,l=0,u=t.width,c=t.height;switch(e){case"inside":s=t.x+u/2-i/2,l=t.y+c/2-o/2;break;case"top":s=t.x+u/2-i/2,l=t.y-o-a;break;case"bottom":s=t.x+u/2-i/2,l=t.y+c+a;break;case"left":s=t.x-i-a,l=t.y+c/2-o/2;break;case"right":s=t.x+u+a,l=t.y+c/2-o/2}return[s,l]}(t,h,u,e.get("borderWidth"));n=g[0],r=g[1]}else{g=function(e,t,n,r,i,o,a){var s=n.getSize(),l=s[0],u=s[1];null!=o&&(e+l+o+2>r?e-=l+o:e+=o);null!=a&&(t+u+a>i?t-=u+a:t+=a);return[e,t]}(n,r,i,s,l,c?null:20,f?null:20);n=g[0],r=g[1]}if(c&&(n-=XDe(c)?u[0]/2:"right"===c?u[0]:0),f&&(r-=XDe(f)?u[1]/2:"bottom"===f?u[1]:0),IDe(e)){g=function(e,t,n,r,i){var o=n.getSize(),a=o[0],s=o[1];return e=Math.min(e+a,r)-a,t=Math.min(t+s,i)-s,e=Math.max(e,0),t=Math.max(t,0),[e,t]}(n,r,i,s,l);n=g[0],r=g[1]}i.moveTo(n,r)},t.prototype._updateContentNotChangedOnAxis=function(e,t){var n=this._lastDataByCoordSys,r=this._cbParamsList,i=!!n&&n.length===e.length;return i&&q2(n,(function(n,o){var a=n.dataByAxis||[],s=(e[o]||{}).dataByAxis||[];(i=i&&a.length===s.length)&&q2(a,(function(e,n){var o=s[n]||{},a=e.seriesDataIndices||[],l=o.seriesDataIndices||[];(i=i&&e.value===o.value&&e.axisType===o.axisType&&e.axisId===o.axisId&&a.length===l.length)&&q2(a,(function(e,t){var n=l[t];i=i&&e.seriesIndex===n.seriesIndex&&e.dataIndex===n.dataIndex})),r&&q2(e.seriesDataIndices,(function(e){var n=e.seriesIndex,o=t[n],a=r[n];o&&a&&a.data!==o.data&&(i=!1)}))}))})),this._lastDataByCoordSys=e,this._cbParamsList=t,!!i},t.prototype._hide=function(e){this._lastDataByCoordSys=null,e({type:"hideTip",from:this.uid})},t.prototype.dispose=function(e,t){!v2.node&&t.getDom()&&(yue(this,"_updatePosition"),this._tooltipContent.dispose(),IAe("itemTooltip",t))},t.type="tooltip",t}(tse);function UDe(e,t,n){var r,i=t.ecModel;n?(r=new Yne(n,i,i),r=new Yne(t.option,r,i)):r=t;for(var o=e.length-1;o>=0;o--){var a=e[o];a&&(a instanceof Yne&&(a=a.get("tooltip",!0)),n3(a)&&(a={formatter:a}),a&&(r=new Yne(a,r,i)))}return r}function qDe(e,t){return e.dispatchAction||Q2(t.dispatchAction,t)}function XDe(e){return"center"===e||"middle"===e}const YDe=WDe;var KDe=["rect","polygon","keep","clear"];function ZDe(e,t){var n=C9(e?e.brush:[]);if(n.length){var r=[];q2(n,(function(e){var t=e.hasOwnProperty("toolbox")?e.toolbox:[];t instanceof Array&&(r=r.concat(t))}));var i=e&&e.toolbox;e3(i)&&(i=i[0]),i||(i={feature:{}},e.toolbox=[i]);var o=i.feature||(i.feature={}),a=o.brush||(o.brush={}),s=a.type||(a.type=[]);s.push.apply(s,r),function(e){var t={};q2(e,(function(e){t[e]=1})),e.length=0,q2(t,(function(t,n){e.push(n)}))}(s),t&&!s.length&&s.push.apply(s,KDe)}}var QDe=q2;function JDe(e){if(e)for(var t in e)if(e.hasOwnProperty(t))return!0}function eRe(e,t,n){var r={};return QDe(t,(function(t){var i,o=r[t]=((i=function(){}).prototype.__hidden=i.prototype,new i);QDe(e[t],(function(e,r){if(W_e.isValidType(r)){var i={type:r,visual:e};n&&n(i,t),o[r]=new W_e(i),"opacity"===r&&((i=z2(i)).type="colorAlpha",o.__hidden.__alphaForOpacity=new W_e(i))}}))})),r}function tRe(e,t,n){var r;q2(n,(function(e){t.hasOwnProperty(e)&&JDe(t[e])&&(r=!0)})),r&&q2(n,(function(n){t.hasOwnProperty(n)&&JDe(t[n])?e[n]=z2(t[n]):delete e[n]}))}var nRe={lineX:rRe(0),lineY:rRe(1),rect:{point:function(e,t,n){return e&&n.boundingRect.contain(e[0],e[1])},rect:function(e,t,n){return e&&n.boundingRect.intersect(e)}},polygon:{point:function(e,t,n){return e&&n.boundingRect.contain(e[0],e[1])&&cwe(n.range,e[0],e[1])},rect:function(e,t,n){var r=n.range;if(!e||r.length<=1)return!1;var i=e.x,o=e.y,a=e.width,s=e.height,l=r[0];return!!(cwe(r,i,o)||cwe(r,i+a,o)||cwe(r,i,o+s)||cwe(r,i+a,o+s)||$5.create(e).contain(l[0],l[1])||Jle(i,o,i+a,o,r)||Jle(i,o,i,o+s,r)||Jle(i+a,o,i+a,o+s,r)||Jle(i,o+s,i+a,o+s,r))||void 0}}};function rRe(e){var t=["x","y"],n=["width","height"];return{point:function(t,n,r){if(t){var i=r.range;return iRe(t[e],i)}},rect:function(r,i,o){if(r){var a=o.range,s=[r[t[e]],r[t[e]]+r[n[e]]];return s[1]<s[0]&&s.reverse(),iRe(s[0],a)||iRe(s[1],a)||iRe(a[0],s)||iRe(a[1],s)}}}}function iRe(e,t){return t[0]<=e&&e<=t[1]}var oRe=["inBrush","outOfBrush"],aRe="__ecBrushSelect",sRe="__ecInBrushSelectEvent";function lRe(e){e.eachComponent({mainType:"brush"},(function(t){(t.brushTargetManager=new yDe(t.option,e)).setInputRanges(t.areas,e)}))}function uRe(e,t,n){var r,i,o=[];e.eachComponent({mainType:"brush"},(function(e){n&&"takeGlobalCursor"===n.type&&e.setBrushOption("brush"===n.key?n.brushOption:{brushType:!1})})),lRe(e),e.eachComponent({mainType:"brush"},(function(t,n){var a={brushId:t.id,brushIndex:n,brushName:t.name,areas:z2(t.areas),selected:[]};o.push(a);var s=t.option,l=s.brushLink,u=[],c=[],f=[],h=!1;n||(r=s.throttleType,i=s.throttleDelay);var d=X2(t.areas,(function(e){var t=hRe[e.brushType],n=H2({boundingRect:t?t(e):void 0},e);return n.selectors=function(e){var t=e.brushType,n={point:function(r){return nRe[t].point(r,n,e)},rect:function(r){return nRe[t].rect(r,n,e)}};return n}(n),n})),p=eRe(t.option,oRe,(function(e){e.mappingMethod="fixed"}));function g(e){return"all"===l||!!u[e]}function m(e){return!!e.length}e3(l)&&q2(l,(function(e){u[e]=1})),e.eachSeries((function(n,r){var i=f[r]=[];"parallel"===n.subType?function(e,t){var n=e.coordinateSystem;h=h||n.hasAxisBrushed(),g(t)&&n.eachActiveState(e.getData(),(function(e,t){"active"===e&&(c[t]=1)}))}(n,r):function(n,r,i){if(!n.brushSelector||function(e,t){var n=e.option.seriesIndex;return null!=n&&"all"!==n&&(e3(n)?G2(n,t)<0:t!==n)}(t,r))return;if(q2(d,(function(r){t.brushTargetManager.controlSeries(r,n,e)&&i.push(r),h=h||m(i)})),g(r)&&m(i)){var o=n.getData();o.each((function(e){fRe(n,i,o,e)&&(c[e]=1)}))}}(n,r,i)})),e.eachSeries((function(e,t){var n={seriesId:e.id,seriesIndex:t,seriesName:e.name,dataIndex:[]};a.selected.push(n);var r=f[t],i=e.getData(),o=g(t)?function(e){return c[e]?(n.dataIndex.push(i.getRawIndex(e)),"inBrush"):"outOfBrush"}:function(t){return fRe(e,r,i,t)?(n.dataIndex.push(i.getRawIndex(t)),"inBrush"):"outOfBrush"};(g(t)?h:m(r))&&function(e,t,n,r,i,o){var a,s={};function l(e){return oce(n,a,e)}function u(e,t){sce(n,a,e,t)}function c(e,c){a=null==o?e:c;var f=n.getRawDataItem(a);if(!f||!1!==f.visualMap)for(var h=r.call(i,e),d=t[h],p=s[h],g=0,m=p.length;g<m;g++){var b=p[g];d[b]&&d[b].applyVisual(e,l,u)}}q2(e,(function(e){var n=W_e.prepareVisualTypes(t[e]);s[e]=n})),null==o?n.each(c):n.each([o],c)}(oRe,p,i,o)}))})),function(e,t,n,r,i){if(!i)return;var o=e.getZr();if(o[sRe])return;o.__ecBrushSelect||(o.__ecBrushSelect=cRe);vue(o,aRe,n,t)(e,r)}(t,r,i,o,n)}function cRe(e,t){if(!e.isDisposed()){var n=e.getZr();n[sRe]=!0,e.dispatchAction({type:"brushSelect",batch:t}),n[sRe]=!1}}function fRe(e,t,n,r){for(var i=0,o=t.length;i<o;i++){var a=t[i];if(e.brushSelector(r,n,a.selectors,a))return!0}}var hRe={rect:function(e){return dRe(e.range)},polygon:function(e){for(var t,n=e.range,r=0,i=n.length;r<i;r++){t=t||[[1/0,-1/0],[1/0,-1/0]];var o=n[r];o[0]<t[0][0]&&(t[0][0]=o[0]),o[0]>t[0][1]&&(t[0][1]=o[0]),o[1]<t[1][0]&&(t[1][0]=o[1]),o[1]>t[1][1]&&(t[1][1]=o[1])}return t&&dRe(t)}};function dRe(e){return new $5(e[0][0],e[1][0],e[0][1]-e[0][0],e[1][1]-e[1][0])}const pRe=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return g2(t,e),t.prototype.init=function(e,t){this.ecModel=e,this.api=t,this.model,(this._brushController=new oEe(t.getZr())).on("brush",Q2(this._onBrush,this)).mount()},t.prototype.render=function(e,t,n,r){this.model=e,this._updateController(e,t,n,r)},t.prototype.updateTransform=function(e,t,n,r){lRe(t),this._updateController(e,t,n,r)},t.prototype.updateVisual=function(e,t,n,r){this.updateTransform(e,t,n,r)},t.prototype.updateView=function(e,t,n,r){this._updateController(e,t,n,r)},t.prototype._updateController=function(e,t,n,r){(!r||r.$from!==e.id)&&this._brushController.setPanels(e.brushTargetManager.makePanelOpts(n)).enableBrush(e.brushOption).updateCovers(e.areas.slice())},t.prototype.dispose=function(){this._brushController.dispose()},t.prototype._onBrush=function(e){var t=this.model.id,n=this.model.brushTargetManager.setOutputRanges(e.areas,this.ecModel);(!e.isEnd||e.removeOnClick)&&this.api.dispatchAction({type:"brush",brushId:t,areas:z2(n),$from:t}),e.isEnd&&this.api.dispatchAction({type:"brushEnd",brushId:t,areas:z2(n),$from:t})},t.type="brush",t}(tse);function gRe(e,t){return B2({brushType:e.brushType,brushMode:e.brushMode,transformable:e.transformable,brushStyle:new Yne(e.brushStyle).getItemStyle(),removeOnClick:e.removeOnClick,z:e.z},t,!0)}const mRe=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.areas=[],n.brushOption={},n}return g2(t,e),t.prototype.optionUpdated=function(e,t){var n=this.option;!t&&tRe(n,e,["inBrush","outOfBrush"]);var r=n.inBrush=n.inBrush||{};n.outOfBrush=n.outOfBrush||{color:"#ddd"},r.hasOwnProperty("liftZ")||(r.liftZ=5)},t.prototype.setAreas=function(e){e&&(this.areas=X2(e,(function(e){return gRe(this.option,e)}),this))},t.prototype.setBrushOption=function(e){this.brushOption=gRe(this.option,e),this.brushType=this.brushOption.brushType},t.type="brush",t.dependencies=["geo","grid","xAxis","yAxis","parallel","series"],t.defaultOption={seriesIndex:"all",brushType:"rect",brushMode:"single",transformable:!0,brushStyle:{borderWidth:1,color:"rgba(210,219,238,0.3)",borderColor:"#D2DBEE"},throttleType:"fixRate",throttleDelay:0,removeOnClick:!0,z:1e4},t}(oie);var bRe=["rect","polygon","lineX","lineY","keep","clear"];const vRe=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return g2(t,e),t.prototype.render=function(e,t,n){var r,i,o;t.eachComponent({mainType:"brush"},(function(e){r=e.brushType,i=e.brushOption.brushMode||"single",o=o||!!e.areas.length})),this._brushType=r,this._brushMode=i,q2(e.get("type",!0),(function(t){e.setIconStatus(t,("keep"===t?"multiple"===i:"clear"===t?o:t===r)?"emphasis":"normal")}))},t.prototype.updateView=function(e,t,n){this.render(e,t,n)},t.prototype.getIcons=function(){var e=this.model,t=e.get("icon",!0),n={};return q2(e.get("type",!0),(function(e){t[e]&&(n[e]=t[e])})),n},t.prototype.onclick=function(e,t,n){var r=this._brushType,i=this._brushMode;"clear"===n?(t.dispatchAction({type:"axisAreaSelect",intervals:[]}),t.dispatchAction({type:"brush",command:"clear",areas:[]})):t.dispatchAction({type:"takeGlobalCursor",key:"brush",brushOption:{brushType:"keep"===n?r:r!==n&&n,brushMode:"keep"===n?"multiple"===i?"single":"multiple":i}})},t.getDefaultOption=function(e){return{show:!0,type:bRe.slice(),icon:{rect:"M7.3,34.7 M0.4,10V-0.2h9.8 M89.6,10V-0.2h-9.8 M0.4,60v10.2h9.8 M89.6,60v10.2h-9.8 M12.3,22.4V10.5h13.1 M33.6,10.5h7.8 M49.1,10.5h7.8 M77.5,22.4V10.5h-13 M12.3,31.1v8.2 M77.7,31.1v8.2 M12.3,47.6v11.9h13.1 M33.6,59.5h7.6 M49.1,59.5 h7.7 M77.5,47.6v11.9h-13",polygon:"M55.2,34.9c1.7,0,3.1,1.4,3.1,3.1s-1.4,3.1-3.1,3.1 s-3.1-1.4-3.1-3.1S53.5,34.9,55.2,34.9z M50.4,51c1.7,0,3.1,1.4,3.1,3.1c0,1.7-1.4,3.1-3.1,3.1c-1.7,0-3.1-1.4-3.1-3.1 C47.3,52.4,48.7,51,50.4,51z M55.6,37.1l1.5-7.8 M60.1,13.5l1.6-8.7l-7.8,4 M59,19l-1,5.3 M24,16.1l6.4,4.9l6.4-3.3 M48.5,11.6 l-5.9,3.1 M19.1,12.8L9.7,5.1l1.1,7.7 M13.4,29.8l1,7.3l6.6,1.6 M11.6,18.4l1,6.1 M32.8,41.9 M26.6,40.4 M27.3,40.2l6.1,1.6 M49.9,52.1l-5.6-7.6l-4.9-1.2",lineX:"M15.2,30 M19.7,15.6V1.9H29 M34.8,1.9H40.4 M55.3,15.6V1.9H45.9 M19.7,44.4V58.1H29 M34.8,58.1H40.4 M55.3,44.4 V58.1H45.9 M12.5,20.3l-9.4,9.6l9.6,9.8 M3.1,29.9h16.5 M62.5,20.3l9.4,9.6L62.3,39.7 M71.9,29.9H55.4",lineY:"M38.8,7.7 M52.7,12h13.2v9 M65.9,26.6V32 M52.7,46.3h13.2v-9 M24.9,12H11.8v9 M11.8,26.6V32 M24.9,46.3H11.8v-9 M48.2,5.1l-9.3-9l-9.4,9.2 M38.9-3.9V12 M48.2,53.3l-9.3,9l-9.4-9.2 M38.9,62.3V46.4",keep:"M4,10.5V1h10.3 M20.7,1h6.1 M33,1h6.1 M55.4,10.5V1H45.2 M4,17.3v6.6 M55.6,17.3v6.6 M4,30.5V40h10.3 M20.7,40 h6.1 M33,40h6.1 M55.4,30.5V40H45.2 M21,18.9h62.9v48.6H21V18.9z",clear:"M22,14.7l30.9,31 M52.9,14.7L22,45.7 M4.7,16.8V4.2h13.1 M26,4.2h7.8 M41.6,4.2h7.8 M70.3,16.8V4.2H57.2 M4.7,25.9v8.6 M70.3,25.9v8.6 M4.7,43.2v12.6h13.1 M26,55.8h7.8 M41.6,55.8h7.8 M70.3,43.2v12.6H57.2"},title:e.getLocaleModel().get(["toolbox","brush","title"])}},t}(DOe);var yRe=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.layoutMode={type:"box",ignoreSize:!0},n}return g2(t,e),t.type="title",t.defaultOption={z:6,show:!0,text:"",target:"blank",subtext:"",subtarget:"blank",left:0,top:0,backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,padding:5,itemGap:10,textStyle:{fontSize:18,fontWeight:"bold",color:"#464646"},subtextStyle:{fontSize:12,color:"#6E7079"}},t}(oie),wRe=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return g2(t,e),t.prototype.render=function(e,t,n){if(this.group.removeAll(),e.get("show")){var r=this.group,i=e.getModel("textStyle"),o=e.getModel("subtextStyle"),a=e.get("textAlign"),s=h3(e.get("textBaseline"),e.get("textVerticalAlign")),l=new ute({style:Cne(i,{text:e.get("text"),fill:i.getTextColor()},{disableBox:!0}),z2:10}),u=l.getBoundingRect(),c=e.get("subtext"),f=new ute({style:Cne(o,{text:c,fill:o.getTextColor(),y:u.height+e.get("itemGap"),verticalAlign:"top"},{disableBox:!0}),z2:10}),h=e.get("link"),d=e.get("sublink"),p=e.get("triggerEvent",!0);l.silent=!h&&!p,f.silent=!d&&!p,h&&l.on("click",(function(){Wre(h,"_"+e.get("target"))})),d&&f.on("click",(function(){Wre(d,"_"+e.get("subtarget"))})),cte(l).eventData=cte(f).eventData=p?{componentType:"title",componentIndex:e.componentIndex}:null,r.add(l),c&&r.add(f);var g=r.getBoundingRect(),m=e.getBoxLayoutParams();m.width=g.width,m.height=g.height;var b=Zre(m,{width:n.getWidth(),height:n.getHeight()},e.get("padding"));a||("middle"===(a=e.get("left")||e.get("right"))&&(a="center"),"right"===a?b.x+=b.width:"center"===a&&(b.x+=b.width/2)),s||("center"===(s=e.get("top")||e.get("bottom"))&&(s="middle"),"bottom"===s?b.y+=b.height:"middle"===s&&(b.y+=b.height/2),s=s||"top"),r.x=b.x,r.y=b.y,r.markRedraw();var v={align:a,verticalAlign:s};l.setStyle(v),f.setStyle(v),g=r.getBoundingRect();var y=b.margin,w=e.getItemStyle(["color","opacity"]);w.fill=e.get("backgroundColor");var x=new qee({shape:{x:g.x-y[3],y:g.y-y[0],width:g.width+y[1]+y[3],height:g.height+y[0]+y[2],r:e.get("borderRadius")},style:w,subPixelOptimize:!0,silent:!0});r.add(x)}},t.type="title",t}(tse);var xRe=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.layoutMode="box",n}return g2(t,e),t.prototype.init=function(e,t,n){this.mergeDefaultAndTheme(e,n),this._initData()},t.prototype.mergeOption=function(t){e.prototype.mergeOption.apply(this,arguments),this._initData()},t.prototype.setCurrentIndex=function(e){null==e&&(e=this.option.currentIndex);var t=this._data.count();this.option.loop?e=(e%t+t)%t:(e>=t&&(e=t-1),e<0&&(e=0)),this.option.currentIndex=e},t.prototype.getCurrentIndex=function(){return this.option.currentIndex},t.prototype.isIndexMax=function(){return this.getCurrentIndex()>=this._data.count()-1},t.prototype.setPlayState=function(e){this.option.autoPlay=!!e},t.prototype.getPlayState=function(){return!!this.option.autoPlay},t.prototype._initData=function(){var e,t=this.option,n=t.data||[],r=t.axisType,i=this._names=[];"category"===r?(e=[],q2(n,(function(t,n){var r,o=D9(M9(t),"");o3(t)?(r=z2(t)).value=n:r=n,e.push(r),i.push(o)}))):e=n;var o={category:"ordinal",time:"time",value:"number"}[r]||"number";(this._data=new Npe([{name:"value",type:o}],this)).initData(e,i)},t.prototype.getData=function(){return this._data},t.prototype.getCategories=function(){if("category"===this.get("axisType"))return this._names.slice()},t.type="timeline",t.defaultOption={z:4,show:!0,axisType:"time",realtime:!0,left:"20%",top:null,right:"20%",bottom:0,width:null,height:40,padding:5,controlPosition:"left",autoPlay:!1,rewind:!1,loop:!0,playInterval:2e3,currentIndex:0,itemStyle:{},label:{color:"#000"},data:[]},t}(oie);const _Re=xRe;var SRe=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return g2(t,e),t.type="timeline.slider",t.defaultOption=Qne(_Re.defaultOption,{backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,orient:"horizontal",inverse:!1,tooltip:{trigger:"item"},symbol:"circle",symbolSize:12,lineStyle:{show:!0,width:2,color:"#DAE1F5"},label:{position:"auto",show:!0,interval:"auto",rotate:0,color:"#A4B1D7"},itemStyle:{color:"#A4B1D7",borderWidth:1},checkpointStyle:{symbol:"circle",symbolSize:15,color:"#316bf3",borderColor:"#fff",borderWidth:2,shadowBlur:2,shadowOffsetX:1,shadowOffsetY:1,shadowColor:"rgba(0, 0, 0, 0.3)",animation:!0,animationDuration:300,animationEasing:"quinticInOut"},controlStyle:{show:!0,showPlayBtn:!0,showPrevBtn:!0,showNextBtn:!0,itemSize:24,itemGap:12,position:"left",playIcon:"path://M31.6,53C17.5,53,6,41.5,6,27.4S17.5,1.8,31.6,1.8C45.7,1.8,57.2,13.3,57.2,27.4S45.7,53,31.6,53z M31.6,3.3 C18.4,3.3,7.5,14.1,7.5,27.4c0,13.3,10.8,24.1,24.1,24.1C44.9,51.5,55.7,40.7,55.7,27.4C55.7,14.1,44.9,3.3,31.6,3.3z M24.9,21.3 c0-2.2,1.6-3.1,3.5-2l10.5,6.1c1.899,1.1,1.899,2.9,0,4l-10.5,6.1c-1.9,1.1-3.5,0.2-3.5-2V21.3z",stopIcon:"path://M30.9,53.2C16.8,53.2,5.3,41.7,5.3,27.6S16.8,2,30.9,2C45,2,56.4,13.5,56.4,27.6S45,53.2,30.9,53.2z M30.9,3.5C17.6,3.5,6.8,14.4,6.8,27.6c0,13.3,10.8,24.1,24.101,24.1C44.2,51.7,55,40.9,55,27.6C54.9,14.4,44.1,3.5,30.9,3.5z M36.9,35.8c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H36c0.5,0,0.9,0.4,0.9,1V35.8z M27.8,35.8 c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H27c0.5,0,0.9,0.4,0.9,1L27.8,35.8L27.8,35.8z",nextIcon:"M2,18.5A1.52,1.52,0,0,1,.92,18a1.49,1.49,0,0,1,0-2.12L7.81,9.36,1,3.11A1.5,1.5,0,1,1,3,.89l8,7.34a1.48,1.48,0,0,1,.49,1.09,1.51,1.51,0,0,1-.46,1.1L3,18.08A1.5,1.5,0,0,1,2,18.5Z",prevIcon:"M10,.5A1.52,1.52,0,0,1,11.08,1a1.49,1.49,0,0,1,0,2.12L4.19,9.64,11,15.89a1.5,1.5,0,1,1-2,2.22L1,10.77A1.48,1.48,0,0,1,.5,9.68,1.51,1.51,0,0,1,1,8.58L9,.92A1.5,1.5,0,0,1,10,.5Z",prevBtnSize:18,nextBtnSize:18,color:"#A4B1D7",borderColor:"#A4B1D7",borderWidth:1},emphasis:{label:{show:!0,color:"#6f778d"},itemStyle:{color:"#316BF3"},controlStyle:{color:"#316BF3",borderColor:"#316BF3",borderWidth:2}},progress:{lineStyle:{color:"#316BF3"},itemStyle:{color:"#316BF3"},label:{color:"#6f778d"}},data:[]}),t}(_Re);W2(SRe,Hoe.prototype);const kRe=SRe;const CRe=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return g2(t,e),t.type="timeline",t}(tse);var ERe=function(e){function t(t,n,r,i){var o=e.call(this,t,n,r)||this;return o.type=i||"value",o}return g2(t,e),t.prototype.getLabelModel=function(){return this.model.getModel("label")},t.prototype.isHorizontal=function(){return"horizontal"===this.model.get("orient")},t}(_ve);const IRe=ERe;var MRe=Math.PI,TRe=j9(),ARe=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return g2(t,e),t.prototype.init=function(e,t){this.api=t},t.prototype.render=function(e,t,n){if(this.model=e,this.api=n,this.ecModel=t,this.group.removeAll(),e.get("show",!0)){var r=this._layout(e,n),i=this._createGroup("_mainGroup"),o=this._createGroup("_labelGroup"),a=this._axis=this._createAxis(r,e);e.formatTooltip=function(e){return Aae("nameValue",{noName:!0,value:a.scale.getLabel({value:e})})},q2(["AxisLine","AxisTick","Control","CurrentPointer"],(function(t){this["_render"+t](r,i,a,e)}),this),this._renderAxisLabel(r,o,a,e),this._position(r,e)}this._doPlayStop(),this._updateTicksStatus()},t.prototype.remove=function(){this._clearTimer(),this.group.removeAll()},t.prototype.dispose=function(){this._clearTimer()},t.prototype._layout=function(e,t){var n,r,i,o,a=e.get(["label","position"]),s=e.get("orient"),l=function(e,t){return Zre(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()},e.get("padding"))}(e,t),u={horizontal:"center",vertical:(n=null==a||"auto"===a?"horizontal"===s?l.y+l.height/2<t.getHeight()/2?"-":"+":l.x+l.width/2<t.getWidth()/2?"+":"-":n3(a)?{horizontal:{top:"-",bottom:"+"},vertical:{left:"-",right:"+"}}[s][a]:a)>=0||"+"===n?"left":"right"},c={horizontal:n>=0||"+"===n?"top":"bottom",vertical:"middle"},f={horizontal:0,vertical:MRe/2},h="vertical"===s?l.height:l.width,d=e.getModel("controlStyle"),p=d.get("show",!0),g=p?d.get("itemSize"):0,m=p?d.get("itemGap"):0,b=g+m,v=e.get(["label","rotate"])||0;v=v*MRe/180;var y=d.get("position",!0),w=p&&d.get("showPlayBtn",!0),x=p&&d.get("showPrevBtn",!0),_=p&&d.get("showNextBtn",!0),S=0,k=h;"left"===y||"bottom"===y?(w&&(r=[0,0],S+=b),x&&(i=[S,0],S+=b),_&&(o=[k-g,0],k-=b)):(w&&(r=[k-g,0],k-=b),x&&(i=[0,0],S+=b),_&&(o=[k-g,0],k-=b));var C=[S,k];return e.get("inverse")&&C.reverse(),{viewRect:l,mainLength:h,orient:s,rotation:f[s],labelRotation:v,labelPosOpt:n,labelAlign:e.get(["label","align"])||u[s],labelBaseline:e.get(["label","verticalAlign"])||e.get(["label","baseline"])||c[s],playPosition:r,prevBtnPosition:i,nextBtnPosition:o,axisExtent:C,controlSize:g,controlGap:m}},t.prototype._position=function(e,t){var n=this._mainGroup,r=this._labelGroup,i=e.viewRect;if("vertical"===e.orient){var o=[1,0,0,1,0,0],a=i.x,s=i.y+i.height;I5(o,o,[-a,-s]),M5(o,o,-MRe/2),I5(o,o,[a,s]),(i=i.clone()).applyTransform(o)}var l=m(i),u=m(n.getBoundingRect()),c=m(r.getBoundingRect()),f=[n.x,n.y],h=[r.x,r.y];h[0]=f[0]=l[0][0];var d,p=e.labelPosOpt;null==p||n3(p)?(b(f,u,l,1,d="+"===p?0:1),b(h,c,l,1,1-d)):(b(f,u,l,1,d=p>=0?0:1),h[1]=f[1]+p);function g(e){e.originX=l[0][0]-e.x,e.originY=l[1][0]-e.y}function m(e){return[[e.x,e.x+e.width],[e.y,e.y+e.height]]}function b(e,t,n,r,i){e[r]+=n[r][i]-t[r][i]}n.setPosition(f),r.setPosition(h),n.rotation=r.rotation=e.rotation,g(n),g(r)},t.prototype._createAxis=function(e,t){var n=t.getData(),r=t.get("axisType"),i=function(e,t){if(t=t||e.get("type"))switch(t){case"category":return new xbe({ordinalMeta:e.getCategories(),extent:[1/0,-1/0]});case"time":return new Dbe({locale:e.ecModel.getLocaleModel(),useUTC:e.ecModel.get("useUTC")});default:return new kbe}}(t,r);i.getTicks=function(){return n.mapArray(["value"],(function(e){return{value:e}}))};var o=n.getDataExtent("value");i.setExtent(o[0],o[1]),i.calcNiceTicks();var a=new IRe("value",i,e.axisExtent,r);return a.model=t,a},t.prototype._createGroup=function(e){var t=this[e]=new X8;return this.group.add(t),t},t.prototype._renderAxisLine=function(e,t,n,r){var i=n.getExtent();if(r.get(["lineStyle","show"])){var o=new ile({shape:{x1:i[0],y1:0,x2:i[1],y2:0},style:$2({lineCap:"round"},r.getModel("lineStyle").getLineStyle()),silent:!0,z2:1});t.add(o);var a=this._progressLine=new ile({shape:{x1:i[0],x2:this._currentPointer?this._currentPointer.x:i[0],y1:0,y2:0},style:H2({lineCap:"round",lineWidth:o.style.lineWidth},r.getModel(["progress","lineStyle"]).getLineStyle()),silent:!0,z2:1});t.add(a)}},t.prototype._renderAxisTick=function(e,t,n,r){var i=this,o=r.getData(),a=n.scale.getTicks();this._tickSymbols=[],q2(a,(function(e){var a=n.dataToCoord(e.value),s=o.getItemModel(e.value),l=s.getModel("itemStyle"),u=s.getModel(["emphasis","itemStyle"]),c=s.getModel(["progress","itemStyle"]),f={x:a,y:0,onclick:Q2(i._changeTimeline,i,e.value)},h=PRe(s,l,t,f);h.ensureState("emphasis").style=u.getItemStyle(),h.ensureState("progress").style=c.getItemStyle(),ene(h);var d=cte(h);s.get("tooltip")?(d.dataIndex=e.value,d.dataModel=r):d.dataIndex=d.dataModel=null,i._tickSymbols.push(h)}))},t.prototype._renderAxisLabel=function(e,t,n,r){var i=this;if(n.getLabelModel().get("show")){var o=r.getData(),a=n.getViewLabels();this._tickLabels=[],q2(a,(function(r){var a=r.tickValue,s=o.getItemModel(a),l=s.getModel("label"),u=s.getModel(["emphasis","label"]),c=s.getModel(["progress","label"]),f=n.dataToCoord(r.tickValue),h=new ute({x:f,y:0,rotation:e.labelRotation-e.rotation,onclick:Q2(i._changeTimeline,i,a),silent:!1,style:Cne(l,{text:r.formattedLabel,align:e.labelAlign,verticalAlign:e.labelBaseline})});h.ensureState("emphasis").style=Cne(u),h.ensureState("progress").style=Cne(c),t.add(h),ene(h),TRe(h).dataIndex=a,i._tickLabels.push(h)}))}},t.prototype._renderControl=function(e,t,n,r){var i=e.controlSize,o=e.rotation,a=r.getModel("controlStyle").getItemStyle(),s=r.getModel(["emphasis","controlStyle"]).getItemStyle(),l=r.getPlayState(),u=r.get("inverse",!0);function c(e,n,l,u){if(e){var c=R8(h3(r.get(["controlStyle",n+"BtnSize"]),i),i),f=function(e,t,n,r){var i=r.style,o=Qle(e.get(["controlStyle",t]),r||{},new $5(n[0],n[1],n[2],n[3]));i&&o.setStyle(i);return o}(r,n+"Icon",[0,-c/2,c,c],{x:e[0],y:e[1],originX:i/2,originY:0,rotation:u?-o:0,rectHover:!0,style:a,onclick:l});f.ensureState("emphasis").style=s,t.add(f),ene(f)}}c(e.nextBtnPosition,"next",Q2(this._changeTimeline,this,u?"-":"+")),c(e.prevBtnPosition,"prev",Q2(this._changeTimeline,this,u?"+":"-")),c(e.playPosition,l?"stop":"play",Q2(this._handlePlayClick,this,!l),!0)},t.prototype._renderCurrentPointer=function(e,t,n,r){var i=r.getData(),o=r.getCurrentIndex(),a=i.getItemModel(o).getModel("checkpointStyle"),s=this,l={onCreate:function(e){e.draggable=!0,e.drift=Q2(s._handlePointerDrag,s),e.ondragend=Q2(s._handlePointerDragend,s),ORe(e,s._progressLine,o,n,r,!0)},onUpdate:function(e){ORe(e,s._progressLine,o,n,r)}};this._currentPointer=PRe(a,a,this._mainGroup,{},this._currentPointer,l)},t.prototype._handlePlayClick=function(e){this._clearTimer(),this.api.dispatchAction({type:"timelinePlayChange",playState:e,from:this.uid})},t.prototype._handlePointerDrag=function(e,t,n){this._clearTimer(),this._pointerChangeTimeline([n.offsetX,n.offsetY])},t.prototype._handlePointerDragend=function(e){this._pointerChangeTimeline([e.offsetX,e.offsetY],!0)},t.prototype._pointerChangeTimeline=function(e,t){var n=this._toAxisCoord(e)[0],r=r9(this._axis.getExtent().slice());n>r[1]&&(n=r[1]),n<r[0]&&(n=r[0]),this._currentPointer.x=n,this._currentPointer.markRedraw();var i=this._progressLine;i&&(i.shape.x2=n,i.dirty());var o=this._findNearestTick(n),a=this.model;(t||o!==a.getCurrentIndex()&&a.get("realtime"))&&this._changeTimeline(o)},t.prototype._doPlayStop=function(){var e=this;this._clearTimer(),this.model.getPlayState()&&(this._timer=setTimeout((function(){var t=e.model;e._changeTimeline(t.getCurrentIndex()+(t.get("rewind",!0)?-1:1))}),this.model.get("playInterval")))},t.prototype._toAxisCoord=function(e){return Ule(e,this._mainGroup.getLocalTransform(),!0)},t.prototype._findNearestTick=function(e){var t,n=this.model.getData(),r=1/0,i=this._axis;return n.each(["value"],(function(n,o){var a=i.dataToCoord(n),s=Math.abs(a-e);s<r&&(r=s,t=o)})),t},t.prototype._clearTimer=function(){this._timer&&(clearTimeout(this._timer),this._timer=null)},t.prototype._changeTimeline=function(e){var t=this.model.getCurrentIndex();"+"===e?e=t+1:"-"===e&&(e=t-1),this.api.dispatchAction({type:"timelineChange",currentIndex:e,from:this.uid})},t.prototype._updateTicksStatus=function(){var e=this.model.getCurrentIndex(),t=this._tickSymbols,n=this._tickLabels;if(t)for(var r=0;r<t.length;r++)t&&t[r]&&t[r].toggleState("progress",r<e);if(n)for(r=0;r<n.length;r++)n&&n[r]&&n[r].toggleState("progress",TRe(n[r]).dataIndex<=e)},t.type="timeline.slider",t}(CRe);function PRe(e,t,n,r,i,o){var a=t.get("color");i?(i.setColor(a),n.add(i),o&&o.onUpdate(i)):((i=Sce(e.get("symbol"),-1,-1,2,2,a)).setStyle("strokeNoScale",!0),n.add(i),o&&o.onCreate(i));var s=t.getItemStyle(["color"]);i.setStyle(s),r=B2({rectHover:!0,z2:100},r,!0);var l=kce(e.get("symbolSize"));r.scaleX=l[0]/2,r.scaleY=l[1]/2;var u=Cce(e.get("symbolOffset"),l);u&&(r.x=(r.x||0)+u[0],r.y=(r.y||0)+u[1]);var c=e.get("symbolRotate");return r.rotation=(c||0)*Math.PI/180||0,i.attr(r),i.updateTransform(),i}function ORe(e,t,n,r,i,o){if(!e.dragging){var a=i.getModel("checkpointStyle"),s=r.dataToCoord(i.getData().get("value",n));if(o||!a.get("animation",!0))e.attr({x:s,y:0}),t&&t.attr({shape:{x2:s}});else{var l={duration:a.get("animationDuration",!0),easing:a.get("animationEasing",!0)};e.stopAnimation(null,!0),e.animateTo({x:s,y:0},l),t&&t.animateTo({shape:{x2:s}},l)}}}const DRe=ARe;function RRe(e){var t=e&&e.timeline;e3(t)||(t=t?[t]:[]),q2(t,(function(e){e&&function(e){var t=e.type,n={number:"value",time:"time"};n[t]&&(e.axisType=n[t],delete e.type);if(LRe(e),NRe(e,"controlPosition")){var r=e.controlStyle||(e.controlStyle={});NRe(r,"position")||(r.position=e.controlPosition),"none"!==r.position||NRe(r,"show")||(r.show=!1,delete r.position),delete e.controlPosition}q2(e.data||[],(function(e){o3(e)&&!e3(e)&&(!NRe(e,"value")&&NRe(e,"name")&&(e.value=e.name),LRe(e))}))}(e)}))}function LRe(e){var t=e.itemStyle||(e.itemStyle={}),n=t.emphasis||(t.emphasis={}),r=e.label||e.label||{},i=r.normal||(r.normal={}),o={normal:1,emphasis:1};q2(r,(function(e,t){o[t]||NRe(i,t)||(i[t]=e)})),n.label&&!NRe(r,"emphasis")&&(r.emphasis=n.label,delete n.label)}function NRe(e,t){return e.hasOwnProperty(t)}function jRe(e,t){if(!e)return!1;for(var n=e3(e)?e:[e],r=0;r<n.length;r++)if(n[r]&&n[r][t])return!0;return!1}function FRe(e){E9(e,"label",["show"])}var zRe=j9(),BRe=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.createdBySelf=!1,n}return g2(t,e),t.prototype.init=function(e,t,n){this.mergeDefaultAndTheme(e,n),this._mergeOption(e,n,!1,!0)},t.prototype.isAnimationEnabled=function(){if(v2.node)return!1;var e=this.__hostSeries;return this.getShallow("animation")&&e&&e.isAnimationEnabled()},t.prototype.mergeOption=function(e,t){this._mergeOption(e,t,!1,!1)},t.prototype._mergeOption=function(e,t,n,r){var i=this.mainType;n||t.eachSeries((function(e){var n=e.get(this.mainType,!0),o=zRe(e)[i];n&&n.data?(o?o._mergeOption(n,t,!0):(r&&FRe(n),q2(n.data,(function(e){e instanceof Array?(FRe(e[0]),FRe(e[1])):FRe(e)})),$2(o=this.createMarkerModelFromSeries(n,this,t),{mainType:this.mainType,seriesIndex:e.seriesIndex,name:e.name,createdBySelf:!0}),o.__hostSeries=e),zRe(e)[i]=o):zRe(e)[i]=null}),this)},t.prototype.formatTooltip=function(e,t,n){var r=this.getData(),i=this.getRawValue(e),o=r.getName(e);return Aae("section",{header:this.name,blocks:[Aae("nameValue",{name:o,value:i,noName:!o,noValue:null==i})]})},t.prototype.getData=function(){return this._data},t.prototype.setData=function(e){this._data=e},t.getMarkerModelFromSeries=function(e,t){return zRe(e)[t]},t.type="marker",t.dependencies=["series","grid","polar","geo"],t}(oie);W2(BRe,Hoe.prototype);const VRe=BRe;const $Re=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return g2(t,e),t.prototype.createMarkerModelFromSeries=function(e,n,r){return new t(e,n,r)},t.type="markPoint",t.defaultOption={z:5,symbol:"pin",symbolSize:50,tooltip:{trigger:"item"},label:{show:!0,position:"inside"},itemStyle:{borderWidth:2},emphasis:{label:{show:!0}}},t}(VRe);function HRe(e){return!(isNaN(parseFloat(e.x))&&isNaN(parseFloat(e.y)))}function GRe(e,t,n,r,i,o){var a=[],s=Hpe(t,r)?t.getCalculationInfo("stackResultDimension"):r,l=KRe(t,s,e),u=t.indicesOfNearest(s,l)[0];a[i]=t.get(n,u),a[o]=t.get(s,u);var c=t.get(r,u),f=i9(t.get(r,u));return(f=Math.min(f,20))>=0&&(a[o]=+a[o].toFixed(f)),[a,c]}var WRe={min:J2(GRe,"min"),max:J2(GRe,"max"),average:J2(GRe,"average"),median:J2(GRe,"median")};function URe(e,t){if(t){var n=e.getData(),r=e.coordinateSystem,i=r&&r.dimensions;if(!function(e){return!isNaN(parseFloat(e.x))&&!isNaN(parseFloat(e.y))}(t)&&!e3(t.coord)&&e3(i)){var o=qRe(t,n,r,e);if((t=z2(t)).type&&WRe[t.type]&&o.baseAxis&&o.valueAxis){var a=G2(i,o.baseAxis.dim),s=G2(i,o.valueAxis.dim),l=WRe[t.type](n,o.baseDataDim,o.valueDataDim,a,s);t.coord=l[0],t.value=l[1]}else t.coord=[null!=t.xAxis?t.xAxis:t.radiusAxis,null!=t.yAxis?t.yAxis:t.angleAxis]}if(null!=t.coord&&e3(i))for(var u=t.coord,c=0;c<2;c++)WRe[u[c]]&&(u[c]=KRe(n,n.mapDimension(i[c]),u[c]));else t.coord=[];return t}}function qRe(e,t,n,r){var i={};return null!=e.valueIndex||null!=e.valueDim?(i.valueDataDim=null!=e.valueIndex?t.getDimension(e.valueIndex):e.valueDim,i.valueAxis=n.getAxis(function(e,t){var n=e.getData().getDimensionInfo(t);return n&&n.coordDim}(r,i.valueDataDim)),i.baseAxis=n.getOtherAxis(i.valueAxis),i.baseDataDim=t.mapDimension(i.baseAxis.dim)):(i.baseAxis=r.getBaseAxis(),i.valueAxis=n.getOtherAxis(i.baseAxis),i.baseDataDim=t.mapDimension(i.baseAxis.dim),i.valueDataDim=t.mapDimension(i.valueAxis.dim)),i}function XRe(e,t){return!(e&&e.containData&&t.coord&&!HRe(t))||e.containData(t.coord)}function YRe(e,t){return e?function(e,n,r,i){return Koe(i<2?e.coord&&e.coord[i]:e.value,t[i])}:function(e,n,r,i){return Koe(e.value,t[i])}}function KRe(e,t,n){if("average"===n){var r=0,i=0;return e.each(t,(function(e,t){isNaN(e)||(r+=e,i++)})),r/i}return"median"===n?e.getMedian(t):e.getDataExtent(t)["max"===n?1:0]}var ZRe=j9();const QRe=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return g2(t,e),t.prototype.init=function(){this.markerGroupMap=k3()},t.prototype.render=function(e,t,n){var r=this,i=this.markerGroupMap;i.each((function(e){ZRe(e).keep=!1})),t.eachSeries((function(e){var i=VRe.getMarkerModelFromSeries(e,r.type);i&&r.renderSeries(e,i,t,n)})),i.each((function(e){!ZRe(e).keep&&r.group.remove(e.group)}))},t.prototype.markKeep=function(e){ZRe(e).keep=!0},t.prototype.toggleBlurSeries=function(e,t){var n=this;q2(e,(function(e){var r=VRe.getMarkerModelFromSeries(e,n.type);r&&r.getData().eachItemGraphicEl((function(e){e&&(t?Hte(e):Gte(e))}))}))},t.type="marker",t}(tse);function JRe(e,t,n){var r=t.coordinateSystem;e.each((function(i){var o,a=e.getItemModel(i),s=t9(a.get("x"),n.getWidth()),l=t9(a.get("y"),n.getHeight());if(isNaN(s)||isNaN(l)){if(t.getMarkerPosition)o=t.getMarkerPosition(e.getValues(e.dimensions,i));else if(r){var u=e.get(r.dimensions[0],i),c=e.get(r.dimensions[1],i);o=r.dataToPoint([u,c])}}else o=[s,l];isNaN(s)||(o[0]=s),isNaN(l)||(o[1]=l),e.setItemLayout(i,o)}))}var eLe=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return g2(t,e),t.prototype.updateTransform=function(e,t,n){t.eachSeries((function(e){var t=VRe.getMarkerModelFromSeries(e,"markPoint");t&&(JRe(t.getData(),e,n),this.markerGroupMap.get(e.id).updateLayout())}),this)},t.prototype.renderSeries=function(e,t,n,r){var i=e.coordinateSystem,o=e.id,a=e.getData(),s=this.markerGroupMap,l=s.get(o)||s.set(o,new rge),u=function(e,t,n){var r;r=e?X2(e&&e.dimensions,(function(e){return $2($2({},t.getData().getDimensionInfo(t.getData().mapDimension(e))||{}),{name:e,ordinalMeta:null})})):[{name:"value",type:"float"}];var i=new Npe(r,n),o=X2(n.get("data"),J2(URe,t));e&&(o=K2(o,J2(XRe,e)));var a=YRe(!!e,r);return i.initData(o,null,a),i}(i,e,t);t.setData(u),JRe(t.getData(),e,r),u.each((function(e){var n=u.getItemModel(e),r=n.getShallow("symbol"),i=n.getShallow("symbolSize"),o=n.getShallow("symbolRotate"),s=n.getShallow("symbolOffset"),l=n.getShallow("symbolKeepAspect");if(t3(r)||t3(i)||t3(o)||t3(s)){var c=t.getRawValue(e),f=t.getDataParams(e);t3(r)&&(r=r(c,f)),t3(i)&&(i=i(c,f)),t3(o)&&(o=o(c,f)),t3(s)&&(s=s(c,f))}var h=n.getModel("itemStyle").getItemStyle(),d=ace(a,"color");h.fill||(h.fill=d),u.setItemVisual(e,{symbol:r,symbolSize:i,symbolRotate:o,symbolOffset:s,symbolKeepAspect:l,style:h})})),l.updateData(u),this.group.add(l.group),u.eachItemGraphicEl((function(e){e.traverse((function(e){cte(e).dataModel=t}))})),this.markKeep(l),l.group.silent=t.get("silent")||e.get("silent")},t.type="markPoint",t}(QRe);const tLe=eLe;const nLe=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return g2(t,e),t.prototype.createMarkerModelFromSeries=function(e,n,r){return new t(e,n,r)},t.type="markLine",t.defaultOption={z:5,symbol:["circle","arrow"],symbolSize:[8,16],symbolOffset:0,precision:2,tooltip:{trigger:"item"},label:{show:!0,position:"end",distance:5},lineStyle:{type:"dashed"},emphasis:{label:{show:!0},lineStyle:{width:3}},animationEasing:"linear"},t}(VRe);var rLe=j9(),iLe=function(e,t,n,r){var i,o=e.getData();if(e3(r))i=r;else{var a=r.type;if("min"===a||"max"===a||"average"===a||"median"===a||null!=r.xAxis||null!=r.yAxis){var s=void 0,l=void 0;if(null!=r.yAxis||null!=r.xAxis)s=t.getAxis(null!=r.yAxis?"y":"x"),l=f3(r.yAxis,r.xAxis);else{var u=qRe(r,o,t,e);s=u.valueAxis,l=KRe(o,Gpe(o,u.valueDataDim),a)}var c="x"===s.dim?0:1,f=1-c,h=z2(r),d={coord:[]};h.type=null,h.coord=[],h.coord[f]=-1/0,d.coord[f]=1/0;var p=n.get("precision");p>=0&&i3(l)&&(l=+l.toFixed(Math.min(p,20))),h.coord[c]=d.coord[c]=l,i=[h,d,{type:a,valueIndex:r.valueIndex,value:l}]}else i=[]}var g=[URe(e,i[0]),URe(e,i[1]),$2({},i[2])];return g[2].type=g[2].type||null,B2(g[2],g[0]),B2(g[2],g[1]),g};function oLe(e){return!isNaN(e)&&!isFinite(e)}function aLe(e,t,n,r){var i=1-e,o=r.dimensions[e];return oLe(t[i])&&oLe(n[i])&&t[e]===n[e]&&r.getAxis(o).containData(t[e])}function sLe(e,t){if("cartesian2d"===e.type){var n=t[0].coord,r=t[1].coord;if(n&&r&&(aLe(1,n,r,e)||aLe(0,n,r,e)))return!0}return XRe(e,t[0])&&XRe(e,t[1])}function lLe(e,t,n,r,i){var o,a=r.coordinateSystem,s=e.getItemModel(t),l=t9(s.get("x"),i.getWidth()),u=t9(s.get("y"),i.getHeight());if(isNaN(l)||isNaN(u)){if(r.getMarkerPosition)o=r.getMarkerPosition(e.getValues(e.dimensions,t));else{var c=a.dimensions,f=e.get(c[0],t),h=e.get(c[1],t);o=a.dataToPoint([f,h])}if(wge(a,"cartesian2d")){var d=a.getAxis("x"),p=a.getAxis("y");c=a.dimensions;oLe(e.get(c[0],t))?o[0]=d.toGlobalCoord(d.getExtent()[n?0:1]):oLe(e.get(c[1],t))&&(o[1]=p.toGlobalCoord(p.getExtent()[n?0:1]))}isNaN(l)||(o[0]=l),isNaN(u)||(o[1]=u)}else o=[l,u];e.setItemLayout(t,o)}var uLe=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return g2(t,e),t.prototype.updateTransform=function(e,t,n){t.eachSeries((function(e){var t=VRe.getMarkerModelFromSeries(e,"markLine");if(t){var r=t.getData(),i=rLe(t).from,o=rLe(t).to;i.each((function(t){lLe(i,t,!0,e,n),lLe(o,t,!1,e,n)})),r.each((function(e){r.setItemLayout(e,[i.getItemLayout(e),o.getItemLayout(e)])})),this.markerGroupMap.get(e.id).updateLayout()}}),this)},t.prototype.renderSeries=function(e,t,n,r){var i=e.coordinateSystem,o=e.id,a=e.getData(),s=this.markerGroupMap,l=s.get(o)||s.set(o,new JSe);this.group.add(l.group);var u=function(e,t,n){var r;r=e?X2(e&&e.dimensions,(function(e){return $2($2({},t.getData().getDimensionInfo(t.getData().mapDimension(e))||{}),{name:e,ordinalMeta:null})})):[{name:"value",type:"float"}];var i=new Npe(r,n),o=new Npe(r,n),a=new Npe([],n),s=X2(n.get("data"),J2(iLe,t,e,n));e&&(s=K2(s,J2(sLe,e)));var l=YRe(!!e,r);return i.initData(X2(s,(function(e){return e[0]})),null,l),o.initData(X2(s,(function(e){return e[1]})),null,l),a.initData(X2(s,(function(e){return e[2]}))),a.hasItemOption=!0,{from:i,to:o,line:a}}(i,e,t),c=u.from,f=u.to,h=u.line;rLe(t).from=c,rLe(t).to=f,t.setData(h);var d=t.get("symbol"),p=t.get("symbolSize"),g=t.get("symbolRotate"),m=t.get("symbolOffset");function b(t,n,i){var o=t.getItemModel(n);lLe(t,n,i,e,r);var s=o.getModel("itemStyle").getItemStyle();null==s.fill&&(s.fill=ace(a,"color")),t.setItemVisual(n,{symbolKeepAspect:o.get("symbolKeepAspect"),symbolOffset:h3(o.get("symbolOffset",!0),m[i?0:1]),symbolRotate:h3(o.get("symbolRotate",!0),g[i?0:1]),symbolSize:h3(o.get("symbolSize"),p[i?0:1]),symbol:h3(o.get("symbol",!0),d[i?0:1]),style:s})}e3(d)||(d=[d,d]),e3(p)||(p=[p,p]),e3(g)||(g=[g,g]),e3(m)||(m=[m,m]),u.from.each((function(e){b(c,e,!0),b(f,e,!1)})),h.each((function(e){var t=h.getItemModel(e).getModel("lineStyle").getLineStyle();h.setItemLayout(e,[c.getItemLayout(e),f.getItemLayout(e)]),null==t.stroke&&(t.stroke=c.getItemVisual(e,"style").fill),h.setItemVisual(e,{fromSymbolKeepAspect:c.getItemVisual(e,"symbolKeepAspect"),fromSymbolOffset:c.getItemVisual(e,"symbolOffset"),fromSymbolRotate:c.getItemVisual(e,"symbolRotate"),fromSymbolSize:c.getItemVisual(e,"symbolSize"),fromSymbol:c.getItemVisual(e,"symbol"),toSymbolKeepAspect:f.getItemVisual(e,"symbolKeepAspect"),toSymbolOffset:f.getItemVisual(e,"symbolOffset"),toSymbolRotate:f.getItemVisual(e,"symbolRotate"),toSymbolSize:f.getItemVisual(e,"symbolSize"),toSymbol:f.getItemVisual(e,"symbol"),style:t})})),l.updateData(h),u.line.eachItemGraphicEl((function(e){cte(e).dataModel=t,e.traverse((function(e){cte(e).dataModel=t}))})),this.markKeep(l),l.group.silent=t.get("silent")||e.get("silent")},t.type="markLine",t}(QRe);const cLe=uLe;const fLe=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return g2(t,e),t.prototype.createMarkerModelFromSeries=function(e,n,r){return new t(e,n,r)},t.type="markArea",t.defaultOption={z:1,tooltip:{trigger:"item"},animation:!1,label:{show:!0,position:"top"},itemStyle:{borderWidth:0},emphasis:{label:{show:!0,position:"top"}}},t}(VRe);var hLe=j9(),dLe=function(e,t,n,r){var i=r[0],o=r[1];if(i&&o){var a=URe(e,i),s=URe(e,o),l=a.coord,u=s.coord;l[0]=f3(l[0],-1/0),l[1]=f3(l[1],-1/0),u[0]=f3(u[0],1/0),u[1]=f3(u[1],1/0);var c=V2([{},a,s]);return c.coord=[a.coord,s.coord],c.x0=a.x,c.y0=a.y,c.x1=s.x,c.y1=s.y,c}};function pLe(e){return!isNaN(e)&&!isFinite(e)}function gLe(e,t,n,r){var i=1-e;return pLe(t[i])&&pLe(n[i])}function mLe(e,t){var n=t.coord[0],r=t.coord[1],i={coord:n,x:t.x0,y:t.y0},o={coord:r,x:t.x1,y:t.y1};return wge(e,"cartesian2d")?!(!n||!r||!gLe(1,n,r)&&!gLe(0,n,r))||function(e,t,n){return!(e&&e.containZone&&t.coord&&n.coord&&!HRe(t)&&!HRe(n))||e.containZone(t.coord,n.coord)}(e,i,o):XRe(e,i)||XRe(e,o)}function bLe(e,t,n,r,i){var o,a=r.coordinateSystem,s=e.getItemModel(t),l=t9(s.get(n[0]),i.getWidth()),u=t9(s.get(n[1]),i.getHeight());if(isNaN(l)||isNaN(u)){if(r.getMarkerPosition){var c=e.getValues(["x0","y0"],t),f=e.getValues(["x1","y1"],t),h=a.clampData(c),d=a.clampData(f),p=[];"x0"===n[0]?p[0]=h[0]>d[0]?f[0]:c[0]:p[0]=h[0]>d[0]?c[0]:f[0],"y0"===n[1]?p[1]=h[1]>d[1]?f[1]:c[1]:p[1]=h[1]>d[1]?c[1]:f[1],o=r.getMarkerPosition(p,n,!0)}else{var g=[v=e.get(n[0],t),y=e.get(n[1],t)];a.clampData&&a.clampData(g,g),o=a.dataToPoint(g,!0)}if(wge(a,"cartesian2d")){var m=a.getAxis("x"),b=a.getAxis("y"),v=e.get(n[0],t),y=e.get(n[1],t);pLe(v)?o[0]=m.toGlobalCoord(m.getExtent()["x0"===n[0]?0:1]):pLe(y)&&(o[1]=b.toGlobalCoord(b.getExtent()["y0"===n[1]?0:1]))}isNaN(l)||(o[0]=l),isNaN(u)||(o[1]=u)}else o=[l,u];return o}var vLe=[["x0","y0"],["x1","y0"],["x1","y1"],["x0","y1"]],yLe=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return g2(t,e),t.prototype.updateTransform=function(e,t,n){t.eachSeries((function(e){var t=VRe.getMarkerModelFromSeries(e,"markArea");if(t){var r=t.getData();r.each((function(t){var i=X2(vLe,(function(i){return bLe(r,t,i,e,n)}));r.setItemLayout(t,i),r.getItemGraphicEl(t).setShape("points",i)}))}}),this)},t.prototype.renderSeries=function(e,t,n,r){var i=e.coordinateSystem,o=e.id,a=e.getData(),s=this.markerGroupMap,l=s.get(o)||s.set(o,{group:new X8});this.group.add(l.group),this.markKeep(l);var u=function(e,t,n){var r,i,o=["x0","y0","x1","y1"];if(e){var a=X2(e&&e.dimensions,(function(e){var n=t.getData();return $2($2({},n.getDimensionInfo(n.mapDimension(e))||{}),{name:e,ordinalMeta:null})}));i=X2(o,(function(e,t){return{name:e,type:a[t%2].type}})),r=new Npe(i,n)}else r=new Npe(i=[{name:"value",type:"float"}],n);var s=X2(n.get("data"),J2(dLe,t,e,n));e&&(s=K2(s,J2(mLe,e)));var l=e?function(e,t,n,r){return Koe(e.coord[Math.floor(r/2)][r%2],i[r])}:function(e,t,n,r){return Koe(e.value,i[r])};return r.initData(s,null,l),r.hasItemOption=!0,r}(i,e,t);t.setData(u),u.each((function(t){var n=X2(vLe,(function(n){return bLe(u,t,n,e,r)})),o=i.getAxis("x").scale,s=i.getAxis("y").scale,l=o.getExtent(),c=s.getExtent(),f=[o.parse(u.get("x0",t)),o.parse(u.get("x1",t))],h=[s.parse(u.get("y0",t)),s.parse(u.get("y1",t))];r9(f),r9(h);var d=!!(l[0]>f[1]||l[1]<f[0]||c[0]>h[1]||c[1]<h[0]);u.setItemLayout(t,{points:n,allClipped:d});var p=u.getItemModel(t).getModel("itemStyle").getItemStyle(),g=ace(a,"color");p.fill||(p.fill=g,n3(p.fill)&&(p.fill=c6(p.fill,.4))),p.stroke||(p.stroke=g),u.setItemVisual(t,"style",p)})),u.diff(hLe(l).data).add((function(e){var t=u.getItemLayout(e);if(!t.allClipped){var n=new Zse({shape:{points:t.points}});u.setItemGraphicEl(e,n),l.group.add(n)}})).update((function(e,n){var r=hLe(l).data.getItemGraphicEl(n),i=u.getItemLayout(e);i.allClipped?r&&l.group.remove(r):(r?dne(r,{shape:{points:i.points}},t,e):r=new Zse({shape:{points:i.points}}),u.setItemGraphicEl(e,r),l.group.add(r))})).remove((function(e){var t=hLe(l).data.getItemGraphicEl(e);l.group.remove(t)})).execute(),u.eachItemGraphicEl((function(e,n){var r=u.getItemModel(n),i=u.getItemVisual(n,"style");e.useStyle(u.getItemVisual(n,"style")),Sne(e,kne(r),{labelFetcher:t,labelDataIndex:n,defaultText:u.getName(n)||"",inheritColor:n3(i.fill)?c6(i.fill,1):"#000"}),one(e,r),tne(e,null,null,r.get(["emphasis","disabled"])),cte(e).dataModel=t})),hLe(l).data=u,l.group.silent=t.get("silent")||e.get("silent")},t.type="markArea",t}(QRe);const wLe=yLe;var xLe=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.layoutMode={type:"box",ignoreSize:!0},n}return g2(t,e),t.prototype.init=function(e,t,n){this.mergeDefaultAndTheme(e,n),e.selected=e.selected||{},this._updateSelector(e)},t.prototype.mergeOption=function(t,n){e.prototype.mergeOption.call(this,t,n),this._updateSelector(t)},t.prototype._updateSelector=function(e){var t=e.selector,n=this.ecModel;!0===t&&(t=e.selector=["all","inverse"]),e3(t)&&q2(t,(function(e,r){n3(e)&&(e={type:e}),t[r]=B2(e,function(e,t){return"all"===t?{type:"all",title:e.getLocaleModel().get(["legend","selector","all"])}:"inverse"===t?{type:"inverse",title:e.getLocaleModel().get(["legend","selector","inverse"])}:void 0}(n,e.type))}))},t.prototype.optionUpdated=function(){this._updateData(this.ecModel);var e=this._data;if(e[0]&&"single"===this.get("selectedMode")){for(var t=!1,n=0;n<e.length;n++){var r=e[n].get("name");if(this.isSelected(r)){this.select(r),t=!0;break}}!t&&this.select(e[0].get("name"))}},t.prototype._updateData=function(e){var t=[],n=[];e.eachRawSeries((function(r){var i,o=r.name;if(n.push(o),r.legendVisualProvider){var a=r.legendVisualProvider.getAllNames();e.isSeriesFiltered(r)||(n=n.concat(a)),a.length?t=t.concat(a):i=!0}else i=!0;i&&R9(r)&&t.push(r.name)})),this._availableNames=n;var r=this.get("data")||t,i=k3(),o=X2(r,(function(e){return(n3(e)||i3(e))&&(e={name:e}),i.get(e.name)?null:(i.set(e.name,!0),new Yne(e,this,this.ecModel))}),this);this._data=K2(o,(function(e){return!!e}))},t.prototype.getData=function(){return this._data},t.prototype.select=function(e){var t=this.option.selected;"single"===this.get("selectedMode")&&q2(this._data,(function(e){t[e.get("name")]=!1}));t[e]=!0},t.prototype.unSelect=function(e){"single"!==this.get("selectedMode")&&(this.option.selected[e]=!1)},t.prototype.toggleSelected=function(e){var t=this.option.selected;t.hasOwnProperty(e)||(t[e]=!0),this[t[e]?"unSelect":"select"](e)},t.prototype.allSelect=function(){var e=this._data,t=this.option.selected;q2(e,(function(e){t[e.get("name",!0)]=!0}))},t.prototype.inverseSelect=function(){var e=this._data,t=this.option.selected;q2(e,(function(e){var n=e.get("name",!0);t.hasOwnProperty(n)||(t[n]=!0),t[n]=!t[n]}))},t.prototype.isSelected=function(e){var t=this.option.selected;return!(t.hasOwnProperty(e)&&!t[e])&&G2(this._availableNames,e)>=0},t.prototype.getOrient=function(){return"vertical"===this.get("orient")?{index:1,name:"vertical"}:{index:0,name:"horizontal"}},t.type="legend.plain",t.dependencies=["series"],t.defaultOption={z:4,show:!0,orient:"horizontal",left:"center",top:0,align:"auto",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemGap:10,itemWidth:25,itemHeight:14,symbolRotate:"inherit",symbolKeepAspect:!0,inactiveColor:"#ccc",inactiveBorderColor:"#ccc",inactiveBorderWidth:"auto",itemStyle:{color:"inherit",opacity:"inherit",borderColor:"inherit",borderWidth:"auto",borderCap:"inherit",borderJoin:"inherit",borderDashOffset:"inherit",borderMiterLimit:"inherit"},lineStyle:{width:"auto",color:"inherit",inactiveColor:"#ccc",inactiveWidth:2,opacity:"inherit",type:"inherit",cap:"inherit",join:"inherit",dashOffset:"inherit",miterLimit:"inherit"},textStyle:{color:"#333"},selectedMode:!0,selector:!1,selectorLabel:{show:!0,borderRadius:10,padding:[3,5,3,5],fontSize:12,fontFamily:"sans-serif",color:"#666",borderWidth:1,borderColor:"#666"},emphasis:{selectorLabel:{show:!0,color:"#eee",backgroundColor:"#666"}},selectorPosition:"auto",selectorItemGap:7,selectorButtonGap:10,tooltip:{show:!1}},t}(oie);const _Le=xLe;var SLe=J2,kLe=q2,CLe=X8,ELe=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.newlineDisabled=!1,n}return g2(t,e),t.prototype.init=function(){this.group.add(this._contentGroup=new CLe),this.group.add(this._selectorGroup=new CLe),this._isFirstRender=!0},t.prototype.getContentGroup=function(){return this._contentGroup},t.prototype.getSelectorGroup=function(){return this._selectorGroup},t.prototype.render=function(e,t,n){var r=this._isFirstRender;if(this._isFirstRender=!1,this.resetInner(),e.get("show",!0)){var i=e.get("align"),o=e.get("orient");i&&"auto"!==i||(i="right"===e.get("left")&&"vertical"===o?"right":"left");var a=e.get("selector",!0),s=e.get("selectorPosition",!0);!a||s&&"auto"!==s||(s="horizontal"===o?"end":"start"),this.renderInner(i,e,t,n,a,o,s);var l=e.getBoxLayoutParams(),u={width:n.getWidth(),height:n.getHeight()},c=e.get("padding"),f=Zre(l,u,c),h=this.layoutInner(e,i,f,r,a,s),d=Zre(H2({width:h.width,height:h.height},l),u,c);this.group.x=d.x-h.x,this.group.y=d.y-h.y,this.group.markRedraw(),this.group.add(this._backgroundEl=FOe(h,e))}},t.prototype.resetInner=function(){this.getContentGroup().removeAll(),this._backgroundEl&&this.group.remove(this._backgroundEl),this.getSelectorGroup().removeAll()},t.prototype.renderInner=function(e,t,n,r,i,o,a){var s=this.getContentGroup(),l=k3(),u=t.get("selectedMode"),c=[];n.eachRawSeries((function(e){!e.get("legendHoverLink")&&c.push(e.id)})),kLe(t.getData(),(function(i,o){var a=i.get("name");if(!this.newlineDisabled&&(""===a||"\n"===a)){var f=new CLe;return f.newline=!0,void s.add(f)}var h=n.getSeriesByName(a)[0];if(!l.get(a)){if(h){var d=h.getData(),p=d.getVisual("legendLineStyle")||{},g=d.getVisual("legendIcon"),m=d.getVisual("style");this._createItem(h,a,o,i,t,e,p,m,g,u,r).on("click",SLe(ILe,a,null,r,c)).on("mouseover",SLe(TLe,h.name,null,r,c)).on("mouseout",SLe(ALe,h.name,null,r,c)),l.set(a,!0)}else n.eachRawSeries((function(n){if(!l.get(a)&&n.legendVisualProvider){var s=n.legendVisualProvider;if(!s.containName(a))return;var f=s.indexOfName(a),h=s.getItemVisual(f,"style"),d=s.getItemVisual(f,"legendIcon"),p=i6(h.fill);p&&0===p[3]&&(p[3]=.2,h=$2($2({},h),{fill:f6(p,"rgba")})),this._createItem(n,a,o,i,t,e,{},h,d,u,r).on("click",SLe(ILe,null,a,r,c)).on("mouseover",SLe(TLe,null,a,r,c)).on("mouseout",SLe(ALe,null,a,r,c)),l.set(a,!0)}}),this);0}}),this),i&&this._createSelector(i,t,r,o,a)},t.prototype._createSelector=function(e,t,n,r,i){var o=this.getSelectorGroup();kLe(e,(function(e){var r=e.type,i=new ute({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){n.dispatchAction({type:"all"===r?"legendAllSelect":"legendInverseSelect"})}});o.add(i),Sne(i,{normal:t.getModel("selectorLabel"),emphasis:t.getModel(["emphasis","selectorLabel"])},{defaultText:e.title}),ene(i)}))},t.prototype._createItem=function(e,t,n,r,i,o,a,s,l,u,c){var f=e.visualDrawType,h=i.get("itemWidth"),d=i.get("itemHeight"),p=i.isSelected(t),g=r.get("symbolRotate"),m=r.get("symbolKeepAspect"),b=r.get("icon"),v=function(e,t,n,r,i,o,a){function s(e,t){"auto"===e.lineWidth&&(e.lineWidth=t.lineWidth>0?2:0),kLe(e,(function(n,r){"inherit"===e[r]&&(e[r]=t[r])}))}var l=t.getModel("itemStyle"),u=l.getItemStyle(),c=0===e.lastIndexOf("empty",0)?"fill":"stroke",f=l.getShallow("decal");u.decal=f&&"inherit"!==f?Kce(f,a):r.decal,"inherit"===u.fill&&(u.fill=r[i]);"inherit"===u.stroke&&(u.stroke=r[c]);"inherit"===u.opacity&&(u.opacity=("fill"===i?r:n).opacity);s(u,r);var h=t.getModel("lineStyle"),d=h.getLineStyle();if(s(d,n),"auto"===u.fill&&(u.fill=r.fill),"auto"===u.stroke&&(u.stroke=r.fill),"auto"===d.stroke&&(d.stroke=r.fill),!o){var p=t.get("inactiveBorderWidth"),g=u[c];u.lineWidth="auto"===p?r.lineWidth>0&&g?2:0:u.lineWidth,u.fill=t.get("inactiveColor"),u.stroke=t.get("inactiveBorderColor"),d.stroke=h.get("inactiveColor"),d.lineWidth=h.get("inactiveWidth")}return{itemStyle:u,lineStyle:d}}(l=b||l||"roundRect",r,a,s,f,p,c),y=new CLe,w=r.getModel("textStyle");if(!t3(e.getLegendIcon)||b&&"inherit"!==b){var x="inherit"===b&&e.getData().getVisual("symbol")?"inherit"===g?e.getData().getVisual("symbolRotate"):g:0;y.add(function(e){var t=e.icon||"roundRect",n=Sce(t,0,0,e.itemWidth,e.itemHeight,e.itemStyle.fill,e.symbolKeepAspect);n.setStyle(e.itemStyle),n.rotation=(e.iconRotate||0)*Math.PI/180,n.setOrigin([e.itemWidth/2,e.itemHeight/2]),t.indexOf("empty")>-1&&(n.style.stroke=n.style.fill,n.style.fill="#fff",n.style.lineWidth=2);return n}({itemWidth:h,itemHeight:d,icon:l,iconRotate:x,itemStyle:v.itemStyle,lineStyle:v.lineStyle,symbolKeepAspect:m}))}else y.add(e.getLegendIcon({itemWidth:h,itemHeight:d,icon:l,iconRotate:g,itemStyle:v.itemStyle,lineStyle:v.lineStyle,symbolKeepAspect:m}));var _="left"===o?h+5:-5,S=o,k=i.get("formatter"),C=t;n3(k)&&k?C=k.replace("{name}",null!=t?t:""):t3(k)&&(C=k(t));var E=r.get("inactiveColor");y.add(new ute({style:Cne(w,{text:C,x:_,y:d/2,fill:p?w.getTextColor():E,align:S,verticalAlign:"middle"})}));var I=new qee({shape:y.getBoundingRect(),invisible:!0}),M=r.getModel("tooltip");return M.get("show")&&nue({el:I,componentModel:i,itemName:t,itemTooltipOption:M.option}),y.add(I),y.eachChild((function(e){e.silent=!0})),I.silent=!u,this.getContentGroup().add(y),ene(y),y.__legendDataIndex=n,y},t.prototype.layoutInner=function(e,t,n,r,i,o){var a=this.getContentGroup(),s=this.getSelectorGroup();Kre(e.get("orient"),a,e.get("itemGap"),n.width,n.height);var l=a.getBoundingRect(),u=[-l.x,-l.y];if(s.markRedraw(),a.markRedraw(),i){Kre("horizontal",s,e.get("selectorItemGap",!0));var c=s.getBoundingRect(),f=[-c.x,-c.y],h=e.get("selectorButtonGap",!0),d=e.getOrient().index,p=0===d?"width":"height",g=0===d?"height":"width",m=0===d?"y":"x";"end"===o?f[d]+=l[p]+h:u[d]+=c[p]+h,f[1-d]+=l[g]/2-c[g]/2,s.x=f[0],s.y=f[1],a.x=u[0],a.y=u[1];var b={x:0,y:0};return b[p]=l[p]+h+c[p],b[g]=Math.max(l[g],c[g]),b[m]=Math.min(0,c[m]+f[1-d]),b}return a.x=u[0],a.y=u[1],this.group.getBoundingRect()},t.prototype.remove=function(){this.getContentGroup().removeAll(),this._isFirstRender=!0},t.type="legend.plain",t}(tse);function ILe(e,t,n,r){ALe(e,t,n,r),n.dispatchAction({type:"legendToggleSelect",name:null!=e?e:t}),TLe(e,t,n,r)}function MLe(e){for(var t,n=e.getZr().storage.getDisplayList(),r=0,i=n.length;r<i&&!(t=n[r].states.emphasis);)r++;return t&&t.hoverLayer}function TLe(e,t,n,r){MLe(n)||n.dispatchAction({type:"highlight",seriesName:e,name:t,excludeSeriesId:r})}function ALe(e,t,n,r){MLe(n)||n.dispatchAction({type:"downplay",seriesName:e,name:t,excludeSeriesId:r})}const PLe=ELe;function OLe(e){var t=e.findComponents({mainType:"legend"});t&&t.length&&e.filterSeries((function(e){for(var n=0;n<t.length;n++)if(!t[n].isSelected(e.name))return!1;return!0}))}function DLe(e,t,n){var r,i={},o="toggleSelected"===e;return n.eachComponent("legend",(function(n){o&&null!=r?n[r?"select":"unSelect"](t.name):"allSelect"===e||"inverseSelect"===e?n[e]():(n[e](t.name),r=n.isSelected(t.name)),q2(n.getData(),(function(e){var t=e.get("name");if("\n"!==t&&""!==t){var r=n.isSelected(t);i.hasOwnProperty(t)?i[t]=i[t]&&r:i[t]=r}}))})),"allSelect"===e||"inverseSelect"===e?{selected:i}:{name:t.name,selected:i}}function RLe(e){e.registerComponentModel(_Le),e.registerComponentView(PLe),e.registerProcessor(e.PRIORITY.PROCESSOR.SERIES_FILTER,OLe),e.registerSubTypeDefaulter("legend",(function(){return"plain"})),function(e){e.registerAction("legendToggleSelect","legendselectchanged",J2(DLe,"toggleSelected")),e.registerAction("legendAllSelect","legendselectall",J2(DLe,"allSelect")),e.registerAction("legendInverseSelect","legendinverseselect",J2(DLe,"inverseSelect")),e.registerAction("legendSelect","legendselected",J2(DLe,"select")),e.registerAction("legendUnSelect","legendunselected",J2(DLe,"unSelect"))}(e)}function LLe(e,t,n){var r=[1,1];r[e.getOrient().index]=0,eie(t,n,{type:"box",ignoreSize:!!r})}const NLe=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return g2(t,e),t.prototype.setScrollDataIndex=function(e){this.option.scrollDataIndex=e},t.prototype.init=function(t,n,r){var i=tie(t);e.prototype.init.call(this,t,n,r),LLe(this,t,i)},t.prototype.mergeOption=function(t,n){e.prototype.mergeOption.call(this,t,n),LLe(this,this.option,t)},t.type="legend.scroll",t.defaultOption=Qne(_Le.defaultOption,{scrollDataIndex:0,pageButtonItemGap:5,pageButtonGap:null,pageButtonPosition:"end",pageFormatter:"{current}/{total}",pageIcons:{horizontal:["M0,0L12,-10L12,10z","M0,0L-12,-10L-12,10z"],vertical:["M0,0L20,0L10,-20z","M0,0L20,0L10,20z"]},pageIconColor:"#2f4554",pageIconInactiveColor:"#aaa",pageIconSize:15,pageTextStyle:{color:"#333"},animationDurationUpdate:800}),t}(_Le);var jLe=X8,FLe=["width","height"],zLe=["x","y"],BLe=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.newlineDisabled=!0,n._currentIndex=0,n}return g2(t,e),t.prototype.init=function(){e.prototype.init.call(this),this.group.add(this._containerGroup=new jLe),this._containerGroup.add(this.getContentGroup()),this.group.add(this._controllerGroup=new jLe)},t.prototype.resetInner=function(){e.prototype.resetInner.call(this),this._controllerGroup.removeAll(),this._containerGroup.removeClipPath(),this._containerGroup.__rectSize=null},t.prototype.renderInner=function(t,n,r,i,o,a,s){var l=this;e.prototype.renderInner.call(this,t,n,r,i,o,a,s);var u=this._controllerGroup,c=n.get("pageIconSize",!0),f=e3(c)?c:[c,c];d("pagePrev",0);var h=n.getModel("pageTextStyle");function d(e,t){var r=e+"DataIndex",o=Qle(n.get("pageIcons",!0)[n.getOrient().name][t],{onclick:Q2(l._pageGo,l,r,n,i)},{x:-f[0]/2,y:-f[1]/2,width:f[0],height:f[1]});o.name=e,u.add(o)}u.add(new ute({name:"pageText",style:{text:"xx/xx",fill:h.getTextColor(),font:h.getFont(),verticalAlign:"middle",align:"center"},silent:!0})),d("pageNext",1)},t.prototype.layoutInner=function(e,t,n,r,i,o){var a=this.getSelectorGroup(),s=e.getOrient().index,l=FLe[s],u=zLe[s],c=FLe[1-s],f=zLe[1-s];i&&Kre("horizontal",a,e.get("selectorItemGap",!0));var h=e.get("selectorButtonGap",!0),d=a.getBoundingRect(),p=[-d.x,-d.y],g=z2(n);i&&(g[l]=n[l]-d[l]-h);var m=this._layoutContentAndController(e,r,g,s,l,c,f,u);if(i){if("end"===o)p[s]+=m[l]+h;else{var b=d[l]+h;p[s]-=b,m[u]-=b}m[l]+=d[l]+h,p[1-s]+=m[f]+m[c]/2-d[c]/2,m[c]=Math.max(m[c],d[c]),m[f]=Math.min(m[f],d[f]+p[1-s]),a.x=p[0],a.y=p[1],a.markRedraw()}return m},t.prototype._layoutContentAndController=function(e,t,n,r,i,o,a,s){var l=this.getContentGroup(),u=this._containerGroup,c=this._controllerGroup;Kre(e.get("orient"),l,e.get("itemGap"),r?n.width:null,r?null:n.height),Kre("horizontal",c,e.get("pageButtonItemGap",!0));var f=l.getBoundingRect(),h=c.getBoundingRect(),d=this._showController=f[i]>n[i],p=[-f.x,-f.y];t||(p[r]=l[s]);var g=[0,0],m=[-h.x,-h.y],b=h3(e.get("pageButtonGap",!0),e.get("itemGap",!0));d&&("end"===e.get("pageButtonPosition",!0)?m[r]+=n[i]-h[i]:g[r]+=h[i]+b);m[1-r]+=f[o]/2-h[o]/2,l.setPosition(p),u.setPosition(g),c.setPosition(m);var v={x:0,y:0};if(v[i]=d?n[i]:f[i],v[o]=Math.max(f[o],h[o]),v[a]=Math.min(0,h[a]+m[1-r]),u.__rectSize=n[i],d){var y={x:0,y:0};y[i]=Math.max(n[i]-h[i]-b,0),y[o]=v[o],u.setClipPath(new qee({shape:y})),u.__rectSize=y[i]}else c.eachChild((function(e){e.attr({invisible:!0,silent:!0})}));var w=this._getPageInfo(e);return null!=w.pageIndex&&dne(l,{x:w.contentPosition[0],y:w.contentPosition[1]},d?e:null),this._updatePageInfoView(e,w),v},t.prototype._pageGo=function(e,t,n){var r=this._getPageInfo(t)[e];null!=r&&n.dispatchAction({type:"legendScroll",scrollDataIndex:r,legendId:t.id})},t.prototype._updatePageInfoView=function(e,t){var n=this._controllerGroup;q2(["pagePrev","pageNext"],(function(r){var i=null!=t[r+"DataIndex"],o=n.childOfName(r);o&&(o.setStyle("fill",i?e.get("pageIconColor",!0):e.get("pageIconInactiveColor",!0)),o.cursor=i?"pointer":"default")}));var r=n.childOfName("pageText"),i=e.get("pageFormatter"),o=t.pageIndex,a=null!=o?o+1:0,s=t.pageCount;r&&i&&r.setStyle("text",n3(i)?i.replace("{current}",null==a?"":a+"").replace("{total}",null==s?"":s+""):i({current:a,total:s}))},t.prototype._getPageInfo=function(e){var t=e.get("scrollDataIndex",!0),n=this.getContentGroup(),r=this._containerGroup.__rectSize,i=e.getOrient().index,o=FLe[i],a=zLe[i],s=this._findTargetItemIndex(t),l=n.children(),u=l[s],c=l.length,f=c?1:0,h={contentPosition:[n.x,n.y],pageCount:f,pageIndex:f-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!u)return h;var d=v(u);h.contentPosition[i]=-d.s;for(var p=s+1,g=d,m=d,b=null;p<=c;++p)(!(b=v(l[p]))&&m.e>g.s+r||b&&!y(b,g.s))&&(g=m.i>g.i?m:b)&&(null==h.pageNextDataIndex&&(h.pageNextDataIndex=g.i),++h.pageCount),m=b;for(p=s-1,g=d,m=d,b=null;p>=-1;--p)(b=v(l[p]))&&y(m,b.s)||!(g.i<m.i)||(m=g,null==h.pagePrevDataIndex&&(h.pagePrevDataIndex=g.i),++h.pageCount,++h.pageIndex),g=b;return h;function v(e){if(e){var t=e.getBoundingRect(),n=t[a]+e[a];return{s:n,e:n+t[o],i:e.__legendDataIndex}}}function y(e,t){return e.e>=t&&e.s<=t+r}},t.prototype._findTargetItemIndex=function(e){return this._showController?(this.getContentGroup().eachChild((function(r,i){var o=r.__legendDataIndex;null==n&&null!=o&&(n=i),o===e&&(t=i)})),null!=t?t:n):0;var t,n},t.type="legend.scroll",t}(PLe);const VLe=BLe;function $Le(e){ihe(RLe),e.registerComponentModel(NLe),e.registerComponentView(VLe),function(e){e.registerAction("legendScroll","legendscroll",(function(e,t){var n=e.scrollDataIndex;null!=n&&t.eachComponent({mainType:"legend",subType:"scroll",query:e},(function(e){e.setScrollDataIndex(n)}))}))}(e)}const HLe=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return g2(t,e),t.type="dataZoom.inside",t.defaultOption=Qne(wOe.defaultOption,{disabled:!1,zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),t}(wOe);var GLe=j9();function WLe(e,t,n){GLe(e).coordSysRecordMap.each((function(e){var r=e.dataZoomInfoMap.get(t.uid);r&&(r.getRange=n)}))}function ULe(e,t){if(t){e.removeKey(t.model.uid);var n=t.controller;n&&n.dispose()}}function qLe(e,t){e.isDisposed()||e.dispatchAction({type:"dataZoom",animation:{easing:"cubicOut",duration:100},batch:t})}function XLe(e,t,n,r){return e.coordinateSystem.containPoint([n,r])}function YLe(e){e.registerProcessor(e.PRIORITY.PROCESSOR.FILTER,(function(e,t){var n=GLe(t),r=n.coordSysRecordMap||(n.coordSysRecordMap=k3());r.each((function(e){e.dataZoomInfoMap=null})),e.eachComponent({mainType:"dataZoom",subType:"inside"},(function(e){q2(mOe(e).infoList,(function(n){var i=n.model.uid,o=r.get(i)||r.set(i,function(e,t){var n={model:t,containsPoint:J2(XLe,t),dispatchAction:J2(qLe,e),dataZoomInfoMap:null,controller:null},r=n.controller=new Nye(e.getZr());return q2(["pan","zoom","scrollMove"],(function(e){r.on(e,(function(t){var r=[];n.dataZoomInfoMap.each((function(i){if(t.isAvailableBehavior(i.model.option)){var o=(i.getRange||{})[e],a=o&&o(i.dzReferCoordSysInfo,n.model.mainType,n.controller,t);!i.model.get("disabled",!0)&&a&&r.push({dataZoomId:i.model.id,start:a[0],end:a[1]})}})),r.length&&n.dispatchAction(r)}))})),n}(t,n.model));(o.dataZoomInfoMap||(o.dataZoomInfoMap=k3())).set(e.uid,{dzReferCoordSysInfo:n,model:e,getRange:null})}))})),r.each((function(e){var t,n=e.controller,i=e.dataZoomInfoMap;if(i){var o=i.keys()[0];null!=o&&(t=i.get(o))}if(t){var a=function(e){var t,n="type_",r={type_true:2,type_move:1,type_false:0,type_undefined:-1},i=!0;return e.each((function(e){var o=e.model,a=!o.get("disabled",!0)&&(!o.get("zoomLock",!0)||"move");r[n+a]>r[n+t]&&(t=a),i=i&&o.get("preventDefaultMouseMove",!0)})),{controlType:t,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!i}}}(i);n.enable(a.controlType,a.opt),n.setPointerChecker(e.containsPoint),vue(e,"dispatchAction",t.model.get("throttle",!0),"fixRate")}else ULe(r,e)}))}))}var KLe=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="dataZoom.inside",t}return g2(t,e),t.prototype.render=function(t,n,r){e.prototype.render.apply(this,arguments),t.noTarget()?this._clear():(this.range=t.getPercentRange(),WLe(r,t,{pan:Q2(ZLe.pan,this),zoom:Q2(ZLe.zoom,this),scrollMove:Q2(ZLe.scrollMove,this)}))},t.prototype.dispose=function(){this._clear(),e.prototype.dispose.apply(this,arguments)},t.prototype._clear=function(){!function(e,t){for(var n=GLe(e).coordSysRecordMap,r=n.keys(),i=0;i<r.length;i++){var o=r[i],a=n.get(o),s=a.dataZoomInfoMap;if(s){var l=t.uid;s.get(l)&&(s.removeKey(l),s.keys().length||ULe(n,a))}}}(this.api,this.dataZoomModel),this.range=null},t.type="dataZoom.inside",t}(_Oe),ZLe={zoom:function(e,t,n,r){var i=this.range,o=i.slice(),a=e.axisModels[0];if(a){var s=JLe[t](null,[r.originX,r.originY],a,n,e),l=(s.signal>0?s.pixelStart+s.pixelLength-s.pixel:s.pixel-s.pixelStart)/s.pixelLength*(o[1]-o[0])+o[0],u=Math.max(1/r.scale,0);o[0]=(o[0]-l)*u+l,o[1]=(o[1]-l)*u+l;var c=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();return tCe(0,o,[0,100],0,c.minSpan,c.maxSpan),this.range=o,i[0]!==o[0]||i[1]!==o[1]?o:void 0}},pan:QLe((function(e,t,n,r,i,o){var a=JLe[r]([o.oldX,o.oldY],[o.newX,o.newY],t,i,n);return a.signal*(e[1]-e[0])*a.pixel/a.pixelLength})),scrollMove:QLe((function(e,t,n,r,i,o){return JLe[r]([0,0],[o.scrollDelta,o.scrollDelta],t,i,n).signal*(e[1]-e[0])*o.scrollDelta}))};function QLe(e){return function(t,n,r,i){var o=this.range,a=o.slice(),s=t.axisModels[0];if(s)return tCe(e(a,s,t,n,r,i),a,[0,100],"all"),this.range=a,o[0]!==a[0]||o[1]!==a[1]?a:void 0}}var JLe={grid:function(e,t,n,r,i){var o=n.axis,a={},s=i.model.coordinateSystem.getRect();return e=e||[0,0],"x"===o.dim?(a.pixel=t[0]-e[0],a.pixelLength=s.width,a.pixelStart=s.x,a.signal=o.inverse?1:-1):(a.pixel=t[1]-e[1],a.pixelLength=s.height,a.pixelStart=s.y,a.signal=o.inverse?-1:1),a},polar:function(e,t,n,r,i){var o=n.axis,a={},s=i.model.coordinateSystem,l=s.getRadiusAxis().getExtent(),u=s.getAngleAxis().getExtent();return e=e?s.pointToCoord(e):[0,0],t=s.pointToCoord(t),"radiusAxis"===n.mainType?(a.pixel=t[0]-e[0],a.pixelLength=l[1]-l[0],a.pixelStart=l[0],a.signal=o.inverse?1:-1):(a.pixel=t[1]-e[1],a.pixelLength=u[1]-u[0],a.pixelStart=u[0],a.signal=o.inverse?-1:1),a},singleAxis:function(e,t,n,r,i){var o=n.axis,a=i.model.coordinateSystem.getRect(),s={};return e=e||[0,0],"horizontal"===o.orient?(s.pixel=t[0]-e[0],s.pixelLength=a.width,s.pixelStart=a.x,s.signal=o.inverse?1:-1):(s.pixel=t[1]-e[1],s.pixelLength=a.height,s.pixelStart=a.y,s.signal=o.inverse?-1:1),s}};const eNe=KLe;function tNe(e){POe(e),e.registerComponentModel(HLe),e.registerComponentView(eNe),YLe(e)}const nNe=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return g2(t,e),t.type="dataZoom.slider",t.layoutMode="box",t.defaultOption=Qne(wOe.defaultOption,{show:!0,right:"ph",top:"ph",width:"ph",height:"ph",left:null,bottom:null,borderColor:"#d2dbee",borderRadius:3,backgroundColor:"rgba(47,69,84,0)",dataBackground:{lineStyle:{color:"#d2dbee",width:.5},areaStyle:{color:"#d2dbee",opacity:.2}},selectedDataBackground:{lineStyle:{color:"#8fb0f7",width:.5},areaStyle:{color:"#8fb0f7",opacity:.2}},fillerColor:"rgba(135,175,274,0.2)",handleIcon:"path://M-9.35,34.56V42m0-40V9.5m-2,0h4a2,2,0,0,1,2,2v21a2,2,0,0,1-2,2h-4a2,2,0,0,1-2-2v-21A2,2,0,0,1-11.35,9.5Z",handleSize:"100%",handleStyle:{color:"#fff",borderColor:"#ACB8D1"},moveHandleSize:7,moveHandleIcon:"path://M-320.9-50L-320.9-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-348-41-339-50-320.9-50z M-212.3-50L-212.3-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-239.4-41-230.4-50-212.3-50z M-103.7-50L-103.7-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-130.9-41-121.8-50-103.7-50z",moveHandleStyle:{color:"#D2DBEE",opacity:.7},showDetail:!0,showDataShadow:"auto",realtime:!0,zoomLock:!1,textStyle:{color:"#6E7079"},brushSelect:!0,brushStyle:{color:"rgba(135,175,274,0.15)"},emphasis:{handleStyle:{borderColor:"#8FB0F7"},moveHandleStyle:{color:"#8FB0F7"}}}),t}(wOe);var rNe=qee,iNe="horizontal",oNe="vertical",aNe=["line","bar","candlestick","scatter"],sNe={easing:"cubicOut",duration:100,delay:0},lNe=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n._displayables={},n}return g2(t,e),t.prototype.init=function(e,t){this.api=t,this._onBrush=Q2(this._onBrush,this),this._onBrushEnd=Q2(this._onBrushEnd,this)},t.prototype.render=function(t,n,r,i){if(e.prototype.render.apply(this,arguments),vue(this,"_dispatchZoomAction",t.get("throttle"),"fixRate"),this._orient=t.getOrient(),!1!==t.get("show")){if(t.noTarget())return this._clear(),void this.group.removeAll();i&&"dataZoom"===i.type&&i.from===this.uid||this._buildView(),this._updateView()}else this.group.removeAll()},t.prototype.dispose=function(){this._clear(),e.prototype.dispose.apply(this,arguments)},t.prototype._clear=function(){yue(this,"_dispatchZoomAction");var e=this.api.getZr();e.off("mousemove",this._onBrush),e.off("mouseup",this._onBrushEnd)},t.prototype._buildView=function(){var e=this.group;e.removeAll(),this._brushing=!1,this._displayables.brushRect=null,this._resetLocation(),this._resetInterval();var t=this._displayables.sliderGroup=new X8;this._renderBackground(),this._renderHandle(),this._renderDataShadow(),e.add(t),this._positionGroup()},t.prototype._resetLocation=function(){var e=this.dataZoomModel,t=this.api,n=e.get("brushSelect")?7:0,r=this._findCoordRect(),i={width:t.getWidth(),height:t.getHeight()},o=this._orient===iNe?{right:i.width-r.x-r.width,top:i.height-30-7-n,width:r.width,height:30}:{right:7,top:r.y,width:30,height:r.height},a=tie(e.option);q2(["right","top","width","height"],(function(e){"ph"===a[e]&&(a[e]=o[e])}));var s=Zre(a,i);this._location={x:s.x,y:s.y},this._size=[s.width,s.height],this._orient===oNe&&this._size.reverse()},t.prototype._positionGroup=function(){var e=this.group,t=this._location,n=this._orient,r=this.dataZoomModel.getFirstTargetAxisModel(),i=r&&r.get("inverse"),o=this._displayables.sliderGroup,a=(this._dataShadowInfo||{}).otherAxisInverse;o.attr(n!==iNe||i?n===iNe&&i?{scaleY:a?1:-1,scaleX:-1}:n!==oNe||i?{scaleY:a?-1:1,scaleX:-1,rotation:Math.PI/2}:{scaleY:a?-1:1,scaleX:1,rotation:Math.PI/2}:{scaleY:a?1:-1,scaleX:1});var s=e.getBoundingRect([o]);e.x=t.x-s.x,e.y=t.y-s.y,e.markRedraw()},t.prototype._getViewExtent=function(){return[0,this._size[0]]},t.prototype._renderBackground=function(){var e=this.dataZoomModel,t=this._size,n=this._displayables.sliderGroup,r=e.get("brushSelect");n.add(new rNe({silent:!0,shape:{x:0,y:0,width:t[0],height:t[1]},style:{fill:e.get("backgroundColor")},z2:-40}));var i=new rNe({shape:{x:0,y:0,width:t[0],height:t[1]},style:{fill:"transparent"},z2:0,onclick:Q2(this._onClickPanel,this)}),o=this.api.getZr();r?(i.on("mousedown",this._onBrushStart,this),i.cursor="crosshair",o.on("mousemove",this._onBrush),o.on("mouseup",this._onBrushEnd)):(o.off("mousemove",this._onBrush),o.off("mouseup",this._onBrushEnd)),n.add(i)},t.prototype._renderDataShadow=function(){var e=this._dataShadowInfo=this._prepareDataShadowInfo();if(this._displayables.dataShadowSegs=[],e){var t=this._size,n=this._shadowSize||[],r=e.series,i=r.getRawData(),o=r.getShadowDim&&r.getShadowDim(),a=o&&i.getDimensionInfo(o)?r.getShadowDim():e.otherDim;if(null!=a){var s=this._shadowPolygonPts,l=this._shadowPolylinePts;if(i!==this._shadowData||a!==this._shadowDim||t[0]!==n[0]||t[1]!==n[1]){var u=i.getDataExtent(a),c=.3*(u[1]-u[0]);u=[u[0]-c,u[1]+c];var f,h=[0,t[1]],d=[0,t[0]],p=[[t[0],0],[0,0]],g=[],m=d[1]/(i.count()-1),b=0,v=Math.round(i.count()/t[0]);i.each([a],(function(e,t){if(v>0&&t%v)b+=m;else{var n=null==e||isNaN(e)||""===e,r=n?0:e9(e,u,h,!0);n&&!f&&t?(p.push([p[p.length-1][0],0]),g.push([g[g.length-1][0],0])):!n&&f&&(p.push([b,0]),g.push([b,0])),p.push([b,r]),g.push([b,r]),b+=m,f=n}})),s=this._shadowPolygonPts=p,l=this._shadowPolylinePts=g}this._shadowData=i,this._shadowDim=a,this._shadowSize=[t[0],t[1]];for(var y=this.dataZoomModel,w=0;w<3;w++){var x=_(1===w);this._displayables.sliderGroup.add(x),this._displayables.dataShadowSegs.push(x)}}}function _(e){var t=y.getModel(e?"selectedDataBackground":"dataBackground"),n=new X8,r=new Zse({shape:{points:s},segmentIgnoreThreshold:1,style:t.getModel("areaStyle").getAreaStyle(),silent:!0,z2:-20}),i=new ele({shape:{points:l},segmentIgnoreThreshold:1,style:t.getModel("lineStyle").getLineStyle(),silent:!0,z2:-19});return n.add(r),n.add(i),n}},t.prototype._prepareDataShadowInfo=function(){var e=this.dataZoomModel,t=e.get("showDataShadow");if(!1!==t){var n,r=this.ecModel;return e.eachTargetAxis((function(i,o){q2(e.getAxisProxy(i,o).getTargetSeriesModels(),(function(e){if(!(n||!0!==t&&G2(aNe,e.get("type"))<0)){var a,s=r.getComponent(pOe(i),o).axis,l={x:"y",y:"x",radius:"angle",angle:"radius"}[i],u=e.coordinateSystem;null!=l&&u.getOtherAxis&&(a=u.getOtherAxis(s).inverse),l=e.getData().mapDimension(l),n={thisAxis:s,series:e,thisDim:i,otherDim:l,otherAxisInverse:a}}}),this)}),this),n}},t.prototype._renderHandle=function(){var e=this.group,t=this._displayables,n=t.handles=[null,null],r=t.handleLabels=[null,null],i=this._displayables.sliderGroup,o=this._size,a=this.dataZoomModel,s=this.api,l=a.get("borderRadius")||0,u=a.get("brushSelect"),c=t.filler=new rNe({silent:u,style:{fill:a.get("fillerColor")},textConfig:{position:"inside"}});i.add(c),i.add(new rNe({silent:!0,subPixelOptimize:!0,shape:{x:0,y:0,width:o[0],height:o[1],r:l},style:{stroke:a.get("dataBackgroundColor")||a.get("borderColor"),lineWidth:1,fill:"rgba(0,0,0,0)"}})),q2([0,1],(function(t){var o=a.get("handleIcon");!wce[o]&&o.indexOf("path://")<0&&o.indexOf("image://")<0&&(o="path://"+o);var s=Sce(o,-1,0,2,2,null,!0);s.attr({cursor:uNe(this._orient),draggable:!0,drift:Q2(this._onDragMove,this,t),ondragend:Q2(this._onDragEnd,this),onmouseover:Q2(this._showDataInfo,this,!0),onmouseout:Q2(this._showDataInfo,this,!1),z2:5});var l=s.getBoundingRect(),u=a.get("handleSize");this._handleHeight=t9(u,this._size[1]),this._handleWidth=l.width/l.height*this._handleHeight,s.setStyle(a.getModel("handleStyle").getItemStyle()),s.style.strokeNoScale=!0,s.rectHover=!0,s.ensureState("emphasis").style=a.getModel(["emphasis","handleStyle"]).getItemStyle(),ene(s);var c=a.get("handleColor");null!=c&&(s.style.fill=c),i.add(n[t]=s);var f=a.getModel("textStyle");e.add(r[t]=new ute({silent:!0,invisible:!0,style:Cne(f,{x:0,y:0,text:"",verticalAlign:"middle",align:"center",fill:f.getTextColor(),font:f.getFont()}),z2:10}))}),this);var f=c;if(u){var h=t9(a.get("moveHandleSize"),o[1]),d=t.moveHandle=new qee({style:a.getModel("moveHandleStyle").getItemStyle(),silent:!0,shape:{r:[0,0,2,2],y:o[1]-.5,height:h}}),p=.8*h,g=t.moveHandleIcon=Sce(a.get("moveHandleIcon"),-p/2,-p/2,p,p,"#fff",!0);g.silent=!0,g.y=o[1]+h/2-.5,d.ensureState("emphasis").style=a.getModel(["emphasis","moveHandleStyle"]).getItemStyle();var m=Math.min(o[1]/2,Math.max(h,10));(f=t.moveZone=new qee({invisible:!0,shape:{y:o[1]-m,height:h+m}})).on("mouseover",(function(){s.enterEmphasis(d)})).on("mouseout",(function(){s.leaveEmphasis(d)})),i.add(d),i.add(g),i.add(f)}f.attr({draggable:!0,cursor:uNe(this._orient),drift:Q2(this._onDragMove,this,"all"),ondragstart:Q2(this._showDataInfo,this,!0),ondragend:Q2(this._onDragEnd,this),onmouseover:Q2(this._showDataInfo,this,!0),onmouseout:Q2(this._showDataInfo,this,!1)})},t.prototype._resetInterval=function(){var e=this._range=this.dataZoomModel.getPercentRange(),t=this._getViewExtent();this._handleEnds=[e9(e[0],[0,100],t,!0),e9(e[1],[0,100],t,!0)]},t.prototype._updateInterval=function(e,t){var n=this.dataZoomModel,r=this._handleEnds,i=this._getViewExtent(),o=n.findRepresentativeAxisProxy().getMinMaxSpan(),a=[0,100];tCe(t,r,i,n.get("zoomLock")?"all":e,null!=o.minSpan?e9(o.minSpan,a,i,!0):null,null!=o.maxSpan?e9(o.maxSpan,a,i,!0):null);var s=this._range,l=this._range=r9([e9(r[0],i,a,!0),e9(r[1],i,a,!0)]);return!s||s[0]!==l[0]||s[1]!==l[1]},t.prototype._updateView=function(e){var t=this._displayables,n=this._handleEnds,r=r9(n.slice()),i=this._size;q2([0,1],(function(e){var r=t.handles[e],o=this._handleHeight;r.attr({scaleX:o/2,scaleY:o/2,x:n[e]+(e?-1:1),y:i[1]/2-o/2})}),this),t.filler.setShape({x:r[0],y:0,width:r[1]-r[0],height:i[1]});var o={x:r[0],width:r[1]-r[0]};t.moveHandle&&(t.moveHandle.setShape(o),t.moveZone.setShape(o),t.moveZone.getBoundingRect(),t.moveHandleIcon&&t.moveHandleIcon.attr("x",o.x+o.width/2));for(var a=t.dataShadowSegs,s=[0,r[0],r[1],i[0]],l=0;l<a.length;l++){var u=a[l],c=u.getClipPath();c||(c=new qee,u.setClipPath(c)),c.setShape({x:s[l],y:0,width:s[l+1]-s[l],height:i[1]})}this._updateDataInfo(e)},t.prototype._updateDataInfo=function(e){var t=this.dataZoomModel,n=this._displayables,r=n.handleLabels,i=this._orient,o=["",""];if(t.get("showDetail")){var a=t.findRepresentativeAxisProxy();if(a){var s=a.getAxisModel().axis,l=this._range,u=e?a.calculateDataWindow({start:l[0],end:l[1]}).valueWindow:a.getDataValueWindow();o=[this._formatLabel(u[0],s),this._formatLabel(u[1],s)]}}var c=r9(this._handleEnds.slice());function f(e){var t=Wle(n.handles[e].parent,this.group),a=qle(0===e?"right":"left",t),s=this._handleWidth/2+5,l=Ule([c[e]+(0===e?-s:s),this._size[1]/2],t);r[e].setStyle({x:l[0],y:l[1],verticalAlign:i===iNe?"middle":a,align:i===iNe?a:"center",text:o[e]})}f.call(this,0),f.call(this,1)},t.prototype._formatLabel=function(e,t){var n=this.dataZoomModel,r=n.get("labelFormatter"),i=n.get("labelPrecision");null!=i&&"auto"!==i||(i=t.getPixelPrecision());var o=null==e||isNaN(e)?"":"category"===t.type||"time"===t.type?t.scale.getLabel({value:Math.round(e)}):e.toFixed(Math.min(i,20));return t3(r)?r(e,o):n3(r)?r.replace("{value}",o):o},t.prototype._showDataInfo=function(e){e=this._dragging||e;var t=this._displayables,n=t.handleLabels;n[0].attr("invisible",!e),n[1].attr("invisible",!e),t.moveHandle&&this.api[e?"enterEmphasis":"leaveEmphasis"](t.moveHandle,1)},t.prototype._onDragMove=function(e,t,n,r){this._dragging=!0,y5(r.event);var i=Ule([t,n],this._displayables.sliderGroup.getLocalTransform(),!0),o=this._updateInterval(e,i[0]),a=this.dataZoomModel.get("realtime");this._updateView(!a),o&&a&&this._dispatchZoomAction(!0)},t.prototype._onDragEnd=function(){this._dragging=!1,this._showDataInfo(!1),!this.dataZoomModel.get("realtime")&&this._dispatchZoomAction(!1)},t.prototype._onClickPanel=function(e){var t=this._size,n=this._displayables.sliderGroup.transformCoordToLocal(e.offsetX,e.offsetY);if(!(n[0]<0||n[0]>t[0]||n[1]<0||n[1]>t[1])){var r=this._handleEnds,i=(r[0]+r[1])/2,o=this._updateInterval("all",n[0]-i);this._updateView(),o&&this._dispatchZoomAction(!1)}},t.prototype._onBrushStart=function(e){var t=e.offsetX,n=e.offsetY;this._brushStart=new O5(t,n),this._brushing=!0,this._brushStartTime=+new Date},t.prototype._onBrushEnd=function(e){if(this._brushing){var t=this._displayables.brushRect;if(this._brushing=!1,t){t.attr("ignore",!0);var n=t.shape;if(!(+new Date-this._brushStartTime<200&&Math.abs(n.width)<5)){var r=this._getViewExtent(),i=[0,100];this._range=r9([e9(n.x,r,i,!0),e9(n.x+n.width,r,i,!0)]),this._handleEnds=[n.x,n.x+n.width],this._updateView(),this._dispatchZoomAction(!1)}}}},t.prototype._onBrush=function(e){this._brushing&&(y5(e.event),this._updateBrushRect(e.offsetX,e.offsetY))},t.prototype._updateBrushRect=function(e,t){var n=this._displayables,r=this.dataZoomModel,i=n.brushRect;i||(i=n.brushRect=new rNe({silent:!0,style:r.getModel("brushStyle").getItemStyle()}),n.sliderGroup.add(i)),i.attr("ignore",!1);var o=this._brushStart,a=this._displayables.sliderGroup,s=a.transformCoordToLocal(e,t),l=a.transformCoordToLocal(o.x,o.y),u=this._size;s[0]=Math.max(Math.min(u[0],s[0]),0),i.setShape({x:l[0],y:0,width:s[0]-l[0],height:u[1]})},t.prototype._dispatchZoomAction=function(e){var t=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,animation:e?sNe:null,start:t[0],end:t[1]})},t.prototype._findCoordRect=function(){var e,t=mOe(this.dataZoomModel).infoList;if(!e&&t.length){var n=t[0].model.coordinateSystem;e=n.getRect&&n.getRect()}if(!e){var r=this.api.getWidth(),i=this.api.getHeight();e={x:.2*r,y:.2*i,width:.6*r,height:.6*i}}return e},t.type="dataZoom.slider",t}(_Oe);function uNe(e){return"vertical"===e?"ns-resize":"ew-resize"}const cNe=lNe;function fNe(e){e.registerComponentModel(nNe),e.registerComponentView(cNe),POe(e)}var hNe={get:function(e,t,n){var r=z2((dNe[e]||{})[t]);return n&&e3(r)?r[r.length-1]:r}},dNe={color:{active:["#006edd","#e0ffff"],inactive:["rgba(0,0,0,0)"]},colorHue:{active:[0,360],inactive:[0,0]},colorSaturation:{active:[.3,1],inactive:[0,0]},colorLightness:{active:[.9,.5],inactive:[0,0]},colorAlpha:{active:[.3,1],inactive:[0,0]},opacity:{active:[.3,1],inactive:[0,0]},symbol:{active:["circle","roundRect","diamond"],inactive:["none"]},symbolSize:{active:[10,50],inactive:[0,0]}};const pNe=hNe;var gNe=W_e.mapVisual,mNe=W_e.eachVisual,bNe=e3,vNe=q2,yNe=r9,wNe=e9,xNe=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.stateList=["inRange","outOfRange"],n.replacableOptionKeys=["inRange","outOfRange","target","controller","color"],n.layoutMode={type:"box",ignoreSize:!0},n.dataBound=[-1/0,1/0],n.targetVisuals={},n.controllerVisuals={},n}return g2(t,e),t.prototype.init=function(e,t,n){this.mergeDefaultAndTheme(e,n)},t.prototype.optionUpdated=function(e,t){var n=this.option;!t&&tRe(n,e,this.replacableOptionKeys),this.textStyleModel=this.getModel("textStyle"),this.resetItemSize(),this.completeVisualOption()},t.prototype.resetVisual=function(e){var t=this.stateList;e=Q2(e,this),this.controllerVisuals=eRe(this.option.controller,t,e),this.targetVisuals=eRe(this.option.target,t,e)},t.prototype.getItemSymbol=function(){return null},t.prototype.getTargetSeriesIndices=function(){var e=this.option.seriesIndex,t=[];return null==e||"all"===e?this.ecModel.eachSeries((function(e,n){t.push(n)})):t=C9(e),t},t.prototype.eachTargetSeries=function(e,t){q2(this.getTargetSeriesIndices(),(function(n){var r=this.ecModel.getSeriesByIndex(n);r&&e.call(t,r)}),this)},t.prototype.isTargetSeries=function(e){var t=!1;return this.eachTargetSeries((function(n){n===e&&(t=!0)})),t},t.prototype.formatValueText=function(e,t,n){var r,i=this.option,o=i.precision,a=this.dataBound,s=i.formatter;n=n||["<",">"],e3(e)&&(e=e.slice(),r=!0);var l=t?e:r?[u(e[0]),u(e[1])]:u(e);return n3(s)?s.replace("{value}",r?l[0]:l).replace("{value2}",r?l[1]:l):t3(s)?r?s(e[0],e[1]):s(e):r?e[0]===a[0]?n[0]+" "+l[1]:e[1]===a[1]?n[1]+" "+l[0]:l[0]+" - "+l[1]:l;function u(e){return e===a[0]?"min":e===a[1]?"max":(+e).toFixed(Math.min(o,20))}},t.prototype.resetExtent=function(){var e=this.option,t=yNe([e.min,e.max]);this._dataExtent=t},t.prototype.getDataDimensionIndex=function(e){var t=this.option.dimension;if(null!=t)return e.getDimensionIndex(t);for(var n=e.dimensions,r=n.length-1;r>=0;r--){var i=n[r],o=e.getDimensionInfo(i);if(!o.isCalculationCoord)return o.storeDimIndex}},t.prototype.getExtent=function(){return this._dataExtent.slice()},t.prototype.completeVisualOption=function(){var e=this.ecModel,t=this.option,n={inRange:t.inRange,outOfRange:t.outOfRange},r=t.target||(t.target={}),i=t.controller||(t.controller={});B2(r,n),B2(i,n);var o=this.isCategory();function a(n){bNe(t.color)&&!n.inRange&&(n.inRange={color:t.color.slice().reverse()}),n.inRange=n.inRange||{color:e.get("gradientColor")}}a.call(this,r),a.call(this,i),function(e,t,n){var r=e[t],i=e[n];r&&!i&&(i=e[n]={},vNe(r,(function(e,t){if(W_e.isValidType(t)){var n=pNe.get(t,"inactive",o);null!=n&&(i[t]=n,"color"!==t||i.hasOwnProperty("opacity")||i.hasOwnProperty("colorAlpha")||(i.opacity=[0,0]))}})))}.call(this,r,"inRange","outOfRange"),function(e){var t=(e.inRange||{}).symbol||(e.outOfRange||{}).symbol,n=(e.inRange||{}).symbolSize||(e.outOfRange||{}).symbolSize,r=this.get("inactiveColor"),i=this.getItemSymbol()||"roundRect";vNe(this.stateList,(function(a){var s=this.itemSize,l=e[a];l||(l=e[a]={color:o?r:[r]}),null==l.symbol&&(l.symbol=t&&z2(t)||(o?i:[i])),null==l.symbolSize&&(l.symbolSize=n&&z2(n)||(o?s[0]:[s[0],s[0]])),l.symbol=gNe(l.symbol,(function(e){return"none"===e?i:e}));var u=l.symbolSize;if(null!=u){var c=-1/0;mNe(u,(function(e){e>c&&(c=e)})),l.symbolSize=gNe(u,(function(e){return wNe(e,[0,c],[0,s[0]],!0)}))}}),this)}.call(this,i)},t.prototype.resetItemSize=function(){this.itemSize=[parseFloat(this.get("itemWidth")),parseFloat(this.get("itemHeight"))]},t.prototype.isCategory=function(){return!!this.option.categories},t.prototype.setSelected=function(e){},t.prototype.getSelected=function(){return null},t.prototype.getValueState=function(e){return null},t.prototype.getVisualMeta=function(e){return null},t.type="visualMap",t.dependencies=["series"],t.defaultOption={show:!0,z:4,seriesIndex:"all",min:0,max:200,left:0,right:null,top:null,bottom:0,itemWidth:null,itemHeight:null,inverse:!1,orient:"vertical",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",contentColor:"#5793f3",inactiveColor:"#aaa",borderWidth:0,padding:5,textGap:10,precision:0,textStyle:{color:"#333"}},t}(oie);const _Ne=xNe;var SNe=[20,140],kNe=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return g2(t,e),t.prototype.optionUpdated=function(t,n){e.prototype.optionUpdated.apply(this,arguments),this.resetExtent(),this.resetVisual((function(e){e.mappingMethod="linear",e.dataExtent=this.getExtent()})),this._resetRange()},t.prototype.resetItemSize=function(){e.prototype.resetItemSize.apply(this,arguments);var t=this.itemSize;(null==t[0]||isNaN(t[0]))&&(t[0]=SNe[0]),(null==t[1]||isNaN(t[1]))&&(t[1]=SNe[1])},t.prototype._resetRange=function(){var e=this.getExtent(),t=this.option.range;!t||t.auto?(e.auto=1,this.option.range=e):e3(t)&&(t[0]>t[1]&&t.reverse(),t[0]=Math.max(t[0],e[0]),t[1]=Math.min(t[1],e[1]))},t.prototype.completeVisualOption=function(){e.prototype.completeVisualOption.apply(this,arguments),q2(this.stateList,(function(e){var t=this.option.controller[e].symbolSize;t&&t[0]!==t[1]&&(t[0]=t[1]/3)}),this)},t.prototype.setSelected=function(e){this.option.range=e.slice(),this._resetRange()},t.prototype.getSelected=function(){var e=this.getExtent(),t=r9((this.get("range")||[]).slice());return t[0]>e[1]&&(t[0]=e[1]),t[1]>e[1]&&(t[1]=e[1]),t[0]<e[0]&&(t[0]=e[0]),t[1]<e[0]&&(t[1]=e[0]),t},t.prototype.getValueState=function(e){var t=this.option.range,n=this.getExtent();return(t[0]<=n[0]||t[0]<=e)&&(t[1]>=n[1]||e<=t[1])?"inRange":"outOfRange"},t.prototype.findTargetDataIndices=function(e){var t=[];return this.eachTargetSeries((function(n){var r=[],i=n.getData();i.each(this.getDataDimensionIndex(i),(function(t,n){e[0]<=t&&t<=e[1]&&r.push(n)}),this),t.push({seriesId:n.id,dataIndex:r})}),this),t},t.prototype.getVisualMeta=function(e){var t=CNe(this,"outOfRange",this.getExtent()),n=CNe(this,"inRange",this.option.range.slice()),r=[];function i(t,n){r.push({value:t,color:e(t,n)})}for(var o=0,a=0,s=n.length,l=t.length;a<l&&(!n.length||t[a]<=n[0]);a++)t[a]<n[o]&&i(t[a],"outOfRange");for(var u=1;o<s;o++,u=0)u&&r.length&&i(n[o],"outOfRange"),i(n[o],"inRange");for(u=1;a<l;a++)(!n.length||n[n.length-1]<t[a])&&(u&&(r.length&&i(r[r.length-1].value,"outOfRange"),u=0),i(t[a],"outOfRange"));var c=r.length;return{stops:r,outerColors:[c?r[0].color:"transparent",c?r[c-1].color:"transparent"]}},t.type="visualMap.continuous",t.defaultOption=Qne(_Ne.defaultOption,{align:"auto",calculable:!1,hoverLink:!0,realtime:!0,handleIcon:"path://M-11.39,9.77h0a3.5,3.5,0,0,1-3.5,3.5h-22a3.5,3.5,0,0,1-3.5-3.5h0a3.5,3.5,0,0,1,3.5-3.5h22A3.5,3.5,0,0,1-11.39,9.77Z",handleSize:"120%",handleStyle:{borderColor:"#fff",borderWidth:1},indicatorIcon:"circle",indicatorSize:"50%",indicatorStyle:{borderColor:"#fff",borderWidth:2,shadowBlur:2,shadowOffsetX:1,shadowOffsetY:1,shadowColor:"rgba(0,0,0,0.2)"}}),t}(_Ne);function CNe(e,t,n){if(n[0]===n[1])return n.slice();for(var r=(n[1]-n[0])/200,i=n[0],o=[],a=0;a<=200&&i<n[1];a++)o.push(i),i+=r;return o.push(n[1]),o}const ENe=kNe;var INe=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.autoPositionValues={left:1,right:1,top:1,bottom:1},n}return g2(t,e),t.prototype.init=function(e,t){this.ecModel=e,this.api=t},t.prototype.render=function(e,t,n,r){this.visualMapModel=e,!1!==e.get("show")?this.doRender(e,t,n,r):this.group.removeAll()},t.prototype.renderBackground=function(e){var t=this.visualMapModel,n=zre(t.get("padding")||0),r=e.getBoundingRect();e.add(new qee({z2:-1,silent:!0,shape:{x:r.x-n[3],y:r.y-n[0],width:r.width+n[3]+n[1],height:r.height+n[0]+n[2]},style:{fill:t.get("backgroundColor"),stroke:t.get("borderColor"),lineWidth:t.get("borderWidth")}}))},t.prototype.getControllerVisual=function(e,t,n){var r=(n=n||{}).forceState,i=this.visualMapModel,o={};if("color"===t){var a=i.get("contentColor");o.color=a}function s(e){return o[e]}function l(e,t){o[e]=t}var u=i.controllerVisuals[r||i.getValueState(e)];return q2(W_e.prepareVisualTypes(u),(function(r){var i=u[r];n.convertOpacityToAlpha&&"opacity"===r&&(r="colorAlpha",i=u.__alphaForOpacity),W_e.dependsOn(r,t)&&i&&i.applyVisual(e,s,l)})),o[t]},t.prototype.positionGroup=function(e){var t=this.visualMapModel,n=this.api;Qre(e,t.getBoxLayoutParams(),{width:n.getWidth(),height:n.getHeight()})},t.prototype.doRender=function(e,t,n,r){},t.type="visualMap",t}(tse);const MNe=INe;var TNe=[["left","right","width"],["top","bottom","height"]];function ANe(e,t,n){var r=e.option,i=r.align;if(null!=i&&"auto"!==i)return i;for(var o={width:t.getWidth(),height:t.getHeight()},a="horizontal"===r.orient?1:0,s=TNe[a],l=[0,null,10],u={},c=0;c<3;c++)u[TNe[1-a][c]]=l[c],u[s[c]]=2===c?n[0]:r[s[c]];var f=[["x","width",3],["y","height",0]][a],h=Zre(u,o,r.padding);return s[(h.margin[f[2]]||0)+h[f[0]]+.5*h[f[1]]<.5*o[f[1]]?0:1]}function PNe(e,t){return q2(e||[],(function(e){null!=e.dataIndex&&(e.dataIndexInside=e.dataIndex,e.dataIndex=null),e.highlightKey="visualMap"+(t?t.componentIndex:"")})),e}var ONe=e9,DNe=q2,RNe=Math.min,LNe=Math.max,NNe=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n._shapes={},n._dataInterval=[],n._handleEnds=[],n._hoverLinkDataIndices=[],n}return g2(t,e),t.prototype.doRender=function(e,t,n,r){this._api=n,r&&"selectDataRange"===r.type&&r.from===this.uid||this._buildView()},t.prototype._buildView=function(){this.group.removeAll();var e=this.visualMapModel,t=this.group;this._orient=e.get("orient"),this._useHandle=e.get("calculable"),this._resetInterval(),this._renderBar(t);var n=e.get("text");this._renderEndsText(t,n,0),this._renderEndsText(t,n,1),this._updateView(!0),this.renderBackground(t),this._updateView(),this._enableHoverLinkToSeries(),this._enableHoverLinkFromSeries(),this.positionGroup(t)},t.prototype._renderEndsText=function(e,t,n){if(t){var r=t[1-n];r=null!=r?r+"":"";var i=this.visualMapModel,o=i.get("textGap"),a=i.itemSize,s=this._shapes.mainGroup,l=this._applyTransform([a[0]/2,0===n?-o:a[1]+o],s),u=this._applyTransform(0===n?"bottom":"top",s),c=this._orient,f=this.visualMapModel.textStyleModel;this.group.add(new ute({style:Cne(f,{x:l[0],y:l[1],verticalAlign:"horizontal"===c?"middle":u,align:"horizontal"===c?u:"center",text:r})}))}},t.prototype._renderBar=function(e){var t=this.visualMapModel,n=this._shapes,r=t.itemSize,i=this._orient,o=this._useHandle,a=ANe(t,this.api,r),s=n.mainGroup=this._createBarGroup(a),l=new X8;s.add(l),l.add(n.outOfRange=jNe()),l.add(n.inRange=jNe(null,o?zNe(this._orient):null,Q2(this._dragHandle,this,"all",!1),Q2(this._dragHandle,this,"all",!0))),l.setClipPath(new qee({shape:{x:0,y:0,width:r[0],height:r[1],r:3}}));var u=t.textStyleModel.getTextRect("国"),c=LNe(u.width,u.height);o&&(n.handleThumbs=[],n.handleLabels=[],n.handleLabelPoints=[],this._createHandle(t,s,0,r,c,i),this._createHandle(t,s,1,r,c,i)),this._createIndicator(t,s,r,c,i),e.add(s)},t.prototype._createHandle=function(e,t,n,r,i,o){var a=Q2(this._dragHandle,this,n,!1),s=Q2(this._dragHandle,this,n,!0),l=R8(e.get("handleSize"),r[0]),u=Sce(e.get("handleIcon"),-l/2,-l/2,l,l,null,!0),c=zNe(this._orient);u.attr({cursor:c,draggable:!0,drift:a,ondragend:s,onmousemove:function(e){y5(e.event)}}),u.x=r[0]/2,u.useStyle(e.getModel("handleStyle").getItemStyle()),u.setStyle({strokeNoScale:!0,strokeFirst:!0}),u.style.lineWidth*=2,u.ensureState("emphasis").style=e.getModel(["emphasis","handleStyle"]).getItemStyle(),ane(u,!0),t.add(u);var f=this.visualMapModel.textStyleModel,h=new ute({cursor:c,draggable:!0,drift:a,onmousemove:function(e){y5(e.event)},ondragend:s,style:Cne(f,{x:0,y:0,text:""})});h.ensureState("blur").style={opacity:.1},h.stateTransition={duration:200},this.group.add(h);var d=[l,0],p=this._shapes;p.handleThumbs[n]=u,p.handleLabelPoints[n]=d,p.handleLabels[n]=h},t.prototype._createIndicator=function(e,t,n,r,i){var o=R8(e.get("indicatorSize"),n[0]),a=Sce(e.get("indicatorIcon"),-o/2,-o/2,o,o,null,!0);a.attr({cursor:"move",invisible:!0,silent:!0,x:n[0]/2});var s=e.getModel("indicatorStyle").getItemStyle();if(a instanceof zee){var l=a.style;a.useStyle($2({image:l.image,x:l.x,y:l.y,width:l.width,height:l.height},s))}else a.useStyle(s);t.add(a);var u=this.visualMapModel.textStyleModel,c=new ute({silent:!0,invisible:!0,style:Cne(u,{x:0,y:0,text:""})});this.group.add(c);var f=[("horizontal"===i?r/2:6)+n[0]/2,0],h=this._shapes;h.indicator=a,h.indicatorLabel=c,h.indicatorLabelPoint=f,this._firstShowIndicator=!0},t.prototype._dragHandle=function(e,t,n,r){if(this._useHandle){if(this._dragging=!t,!t){var i=this._applyTransform([n,r],this._shapes.mainGroup,!0);this._updateInterval(e,i[1]),this._hideIndicator(),this._updateView()}t===!this.visualMapModel.get("realtime")&&this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:this._dataInterval.slice()}),t?!this._hovering&&this._clearHoverLinkToSeries():FNe(this.visualMapModel)&&this._doHoverLinkToSeries(this._handleEnds[e],!1)}},t.prototype._resetInterval=function(){var e=this.visualMapModel,t=this._dataInterval=e.getSelected(),n=e.getExtent(),r=[0,e.itemSize[1]];this._handleEnds=[ONe(t[0],n,r,!0),ONe(t[1],n,r,!0)]},t.prototype._updateInterval=function(e,t){t=t||0;var n=this.visualMapModel,r=this._handleEnds,i=[0,n.itemSize[1]];tCe(t,r,i,e,0);var o=n.getExtent();this._dataInterval=[ONe(r[0],i,o,!0),ONe(r[1],i,o,!0)]},t.prototype._updateView=function(e){var t=this.visualMapModel,n=t.getExtent(),r=this._shapes,i=[0,t.itemSize[1]],o=e?i:this._handleEnds,a=this._createBarVisual(this._dataInterval,n,o,"inRange"),s=this._createBarVisual(n,n,i,"outOfRange");r.inRange.setStyle({fill:a.barColor}).setShape("points",a.barPoints),r.outOfRange.setStyle({fill:s.barColor}).setShape("points",s.barPoints),this._updateHandle(o,a)},t.prototype._createBarVisual=function(e,t,n,r){var i={forceState:r,convertOpacityToAlpha:!0},o=this._makeColorGradient(e,i),a=[this.getControllerVisual(e[0],"symbolSize",i),this.getControllerVisual(e[1],"symbolSize",i)],s=this._createBarPoints(n,a);return{barColor:new ble(0,0,0,1,o),barPoints:s,handlesColor:[o[0].color,o[o.length-1].color]}},t.prototype._makeColorGradient=function(e,t){var n=[],r=(e[1]-e[0])/100;n.push({color:this.getControllerVisual(e[0],"color",t),offset:0});for(var i=1;i<100;i++){var o=e[0]+r*i;if(o>e[1])break;n.push({color:this.getControllerVisual(o,"color",t),offset:i/100})}return n.push({color:this.getControllerVisual(e[1],"color",t),offset:1}),n},t.prototype._createBarPoints=function(e,t){var n=this.visualMapModel.itemSize;return[[n[0]-t[0],e[0]],[n[0],e[0]],[n[0],e[1]],[n[0]-t[1],e[1]]]},t.prototype._createBarGroup=function(e){var t=this._orient,n=this.visualMapModel.get("inverse");return new X8("horizontal"!==t||n?"horizontal"===t&&n?{scaleX:"bottom"===e?-1:1,rotation:-Math.PI/2}:"vertical"!==t||n?{scaleX:"left"===e?1:-1}:{scaleX:"left"===e?1:-1,scaleY:-1}:{scaleX:"bottom"===e?1:-1,rotation:Math.PI/2})},t.prototype._updateHandle=function(e,t){if(this._useHandle){var n=this._shapes,r=this.visualMapModel,i=n.handleThumbs,o=n.handleLabels,a=r.itemSize,s=r.getExtent();DNe([0,1],(function(l){var u=i[l];u.setStyle("fill",t.handlesColor[l]),u.y=e[l];var c=ONe(e[l],[0,a[1]],s,!0),f=this.getControllerVisual(c,"symbolSize");u.scaleX=u.scaleY=f/a[0],u.x=a[0]-f/2;var h=Ule(n.handleLabelPoints[l],Wle(u,this.group));o[l].setStyle({x:h[0],y:h[1],text:r.formatValueText(this._dataInterval[l]),verticalAlign:"middle",align:"vertical"===this._orient?this._applyTransform("left",n.mainGroup):"center"})}),this)}},t.prototype._showIndicator=function(e,t,n,r){var i=this.visualMapModel,o=i.getExtent(),a=i.itemSize,s=[0,a[1]],l=this._shapes,u=l.indicator;if(u){u.attr("invisible",!1);var c=this.getControllerVisual(e,"color",{convertOpacityToAlpha:!0}),f=this.getControllerVisual(e,"symbolSize"),h=ONe(e,o,s,!0),d=a[0]-f/2,p={x:u.x,y:u.y};u.y=h,u.x=d;var g=Ule(l.indicatorLabelPoint,Wle(u,this.group)),m=l.indicatorLabel;m.attr("invisible",!1);var b=this._applyTransform("left",l.mainGroup),v="horizontal"===this._orient;m.setStyle({text:(n||"")+i.formatValueText(t),verticalAlign:v?b:"middle",align:v?"center":b});var y={x:d,y:h,style:{fill:c}},w={style:{x:g[0],y:g[1]}};if(i.ecModel.isAnimationEnabled()&&!this._firstShowIndicator){var x={duration:100,easing:"cubicInOut",additive:!0};u.x=p.x,u.y=p.y,u.animateTo(y,x),m.animateTo(w,x)}else u.attr(y),m.attr(w);this._firstShowIndicator=!1;var _=this._shapes.handleLabels;if(_)for(var S=0;S<_.length;S++)this._api.enterBlur(_[S])}},t.prototype._enableHoverLinkToSeries=function(){var e=this;this._shapes.mainGroup.on("mousemove",(function(t){if(e._hovering=!0,!e._dragging){var n=e.visualMapModel.itemSize,r=e._applyTransform([t.offsetX,t.offsetY],e._shapes.mainGroup,!0,!0);r[1]=RNe(LNe(0,r[1]),n[1]),e._doHoverLinkToSeries(r[1],0<=r[0]&&r[0]<=n[0])}})).on("mouseout",(function(){e._hovering=!1,!e._dragging&&e._clearHoverLinkToSeries()}))},t.prototype._enableHoverLinkFromSeries=function(){var e=this.api.getZr();this.visualMapModel.option.hoverLink?(e.on("mouseover",this._hoverLinkFromSeriesMouseOver,this),e.on("mouseout",this._hideIndicator,this)):this._clearHoverLinkFromSeries()},t.prototype._doHoverLinkToSeries=function(e,t){var n=this.visualMapModel,r=n.itemSize;if(n.option.hoverLink){var i=[0,r[1]],o=n.getExtent();e=RNe(LNe(i[0],e),i[1]);var a=function(e,t,n){var r=6,i=e.get("hoverLinkDataSize");i&&(r=ONe(i,t,n,!0)/2);return r}(n,o,i),s=[e-a,e+a],l=ONe(e,i,o,!0),u=[ONe(s[0],i,o,!0),ONe(s[1],i,o,!0)];s[0]<i[0]&&(u[0]=-1/0),s[1]>i[1]&&(u[1]=1/0),t&&(u[0]===-1/0?this._showIndicator(l,u[1],"< ",a):u[1]===1/0?this._showIndicator(l,u[0],"> ",a):this._showIndicator(l,l,"≈ ",a));var c=this._hoverLinkDataIndices,f=[];(t||FNe(n))&&(f=this._hoverLinkDataIndices=n.findTargetDataIndices(u));var h=function(e,t){var n={},r={};return i(e||[],n),i(t||[],r,n),[o(n),o(r)];function i(e,t,n){for(var r=0,i=e.length;r<i;r++){var o=D9(e[r].seriesId,null);if(null==o)return;for(var a=C9(e[r].dataIndex),s=n&&n[o],l=0,u=a.length;l<u;l++){var c=a[l];s&&s[c]?s[c]=null:(t[o]||(t[o]={}))[c]=1}}}function o(e,t){var n=[];for(var r in e)if(e.hasOwnProperty(r)&&null!=e[r])if(t)n.push(+r);else{var i=o(e[r],!0);i.length&&n.push({seriesId:r,dataIndex:i})}return n}}(c,f);this._dispatchHighDown("downplay",PNe(h[0],n)),this._dispatchHighDown("highlight",PNe(h[1],n))}},t.prototype._hoverLinkFromSeriesMouseOver=function(e){var t;if(cce(e.target,(function(e){var n=cte(e);if(null!=n.dataIndex)return t=n,!0}),!0),t){var n=this.ecModel.getSeriesByIndex(t.seriesIndex),r=this.visualMapModel;if(r.isTargetSeries(n)){var i=n.getData(t.dataType),o=i.getStore().get(r.getDataDimensionIndex(i),t.dataIndex);isNaN(o)||this._showIndicator(o,o)}}},t.prototype._hideIndicator=function(){var e=this._shapes;e.indicator&&e.indicator.attr("invisible",!0),e.indicatorLabel&&e.indicatorLabel.attr("invisible",!0);var t=this._shapes.handleLabels;if(t)for(var n=0;n<t.length;n++)this._api.leaveBlur(t[n])},t.prototype._clearHoverLinkToSeries=function(){this._hideIndicator();var e=this._hoverLinkDataIndices;this._dispatchHighDown("downplay",PNe(e,this.visualMapModel)),e.length=0},t.prototype._clearHoverLinkFromSeries=function(){this._hideIndicator();var e=this.api.getZr();e.off("mouseover",this._hoverLinkFromSeriesMouseOver),e.off("mouseout",this._hideIndicator)},t.prototype._applyTransform=function(e,t,n,r){var i=Wle(t,r?null:this.group);return e3(e)?Ule(e,i,n):qle(e,i,n)},t.prototype._dispatchHighDown=function(e,t){t&&t.length&&this.api.dispatchAction({type:e,batch:t})},t.prototype.dispose=function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()},t.prototype.remove=function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()},t.type="visualMap.continuous",t}(MNe);function jNe(e,t,n,r){return new Zse({shape:{points:e},draggable:!!n,cursor:t,drift:n,onmousemove:function(e){y5(e.event)},ondragend:r})}function FNe(e){var t=e.get("hoverLinkOnHandle");return!!(null==t?e.get("realtime"):t)}function zNe(e){return"vertical"===e?"ns-resize":"ew-resize"}const BNe=NNe;var VNe={type:"selectDataRange",event:"dataRangeSelected",update:"update"},$Ne=function(e,t){t.eachComponent({mainType:"visualMap",query:e},(function(t){t.setSelected(e.selected)}))},HNe=[{createOnAllSeries:!0,reset:function(e,t){var n=[];return t.eachComponent("visualMap",(function(t){var r,i,o,a,s,l=e.pipelineContext;!t.isTargetSeries(e)||l&&l.large||n.push((r=t.stateList,i=t.targetVisuals,o=Q2(t.getValueState,t),a=t.getDataDimensionIndex(e.getData()),s={},q2(r,(function(e){var t=W_e.prepareVisualTypes(i[e]);s[e]=t})),{progress:function(e,t){var n,r;function l(e){return oce(t,r,e)}function u(e,n){sce(t,r,e,n)}null!=a&&(n=t.getDimensionIndex(a));for(var c=t.getStore();null!=(r=e.next());){var f=t.getRawDataItem(r);if(!f||!1!==f.visualMap)for(var h=null!=a?c.get(n,r):r,d=o(h),p=i[d],g=s[d],m=0,b=g.length;m<b;m++){var v=g[m];p[v]&&p[v].applyVisual(h,l,u)}}}}))})),n}},{createOnAllSeries:!0,reset:function(e,t){var n=e.getData(),r=[];t.eachComponent("visualMap",(function(t){if(t.isTargetSeries(e)){var i=t.getVisualMeta(Q2(GNe,null,e,t))||{stops:[],outerColors:[]},o=t.getDataDimensionIndex(n);o>=0&&(i.dimension=o,r.push(i))}})),e.getData().setVisual("visualMeta",r)}}];function GNe(e,t,n,r){for(var i=t.targetVisuals[r],o=W_e.prepareVisualTypes(i),a={color:ace(e.getData(),"color")},s=0,l=o.length;s<l;s++){var u=o[s],c=i["opacity"===u?"__alphaForOpacity":u];c&&c.applyVisual(n,f,h)}return a.color;function f(e){return a[e]}function h(e,t){a[e]=t}}var WNe=q2;function UNe(e){var t=e&&e.visualMap;e3(t)||(t=t?[t]:[]),WNe(t,(function(e){if(e){qNe(e,"splitList")&&!qNe(e,"pieces")&&(e.pieces=e.splitList,delete e.splitList);var t=e.pieces;t&&e3(t)&&WNe(t,(function(e){o3(e)&&(qNe(e,"start")&&!qNe(e,"min")&&(e.min=e.start),qNe(e,"end")&&!qNe(e,"max")&&(e.max=e.end))}))}}))}function qNe(e,t){return e&&e.hasOwnProperty&&e.hasOwnProperty(t)}var XNe=!1;function YNe(e){XNe||(XNe=!0,e.registerSubTypeDefaulter("visualMap",(function(e){return e.categories||(e.pieces?e.pieces.length>0:e.splitNumber>0)&&!e.calculable?"piecewise":"continuous"})),e.registerAction(VNe,$Ne),q2(HNe,(function(t){e.registerVisual(e.PRIORITY.VISUAL.COMPONENT,t)})),e.registerPreprocessor(UNe))}function KNe(e){e.registerComponentModel(ENe),e.registerComponentView(BNe),YNe(e)}var ZNe=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n._pieceList=[],n}return g2(t,e),t.prototype.optionUpdated=function(t,n){e.prototype.optionUpdated.apply(this,arguments),this.resetExtent();var r=this._mode=this._determineMode();this._pieceList=[],QNe[this._mode].call(this,this._pieceList),this._resetSelected(t,n);var i=this.option.categories;this.resetVisual((function(e,t){"categories"===r?(e.mappingMethod="category",e.categories=z2(i)):(e.dataExtent=this.getExtent(),e.mappingMethod="piecewise",e.pieceList=X2(this._pieceList,(function(e){return e=z2(e),"inRange"!==t&&(e.visual=null),e})))}))},t.prototype.completeVisualOption=function(){var t=this.option,n={},r=W_e.listVisualTypes(),i=this.isCategory();function o(e,t,n){return e&&e[t]&&e[t].hasOwnProperty(n)}q2(t.pieces,(function(e){q2(r,(function(t){e.hasOwnProperty(t)&&(n[t]=1)}))})),q2(n,(function(e,n){var r=!1;q2(this.stateList,(function(e){r=r||o(t,e,n)||o(t.target,e,n)}),this),!r&&q2(this.stateList,(function(e){(t[e]||(t[e]={}))[n]=pNe.get(n,"inRange"===e?"active":"inactive",i)}))}),this),e.prototype.completeVisualOption.apply(this,arguments)},t.prototype._resetSelected=function(e,t){var n=this.option,r=this._pieceList,i=(t?n:e).selected||{};if(n.selected=i,q2(r,(function(e,t){var n=this.getSelectedMapKey(e);i.hasOwnProperty(n)||(i[n]=!0)}),this),"single"===n.selectedMode){var o=!1;q2(r,(function(e,t){var n=this.getSelectedMapKey(e);i[n]&&(o?i[n]=!1:o=!0)}),this)}},t.prototype.getItemSymbol=function(){return this.get("itemSymbol")},t.prototype.getSelectedMapKey=function(e){return"categories"===this._mode?e.value+"":e.index+""},t.prototype.getPieceList=function(){return this._pieceList},t.prototype._determineMode=function(){var e=this.option;return e.pieces&&e.pieces.length>0?"pieces":this.option.categories?"categories":"splitNumber"},t.prototype.setSelected=function(e){this.option.selected=z2(e)},t.prototype.getValueState=function(e){var t=W_e.findPieceIndex(e,this._pieceList);return null!=t&&this.option.selected[this.getSelectedMapKey(this._pieceList[t])]?"inRange":"outOfRange"},t.prototype.findTargetDataIndices=function(e){var t=[],n=this._pieceList;return this.eachTargetSeries((function(r){var i=[],o=r.getData();o.each(this.getDataDimensionIndex(o),(function(t,r){W_e.findPieceIndex(t,n)===e&&i.push(r)}),this),t.push({seriesId:r.id,dataIndex:i})}),this),t},t.prototype.getRepresentValue=function(e){var t;if(this.isCategory())t=e.value;else if(null!=e.value)t=e.value;else{var n=e.interval||[];t=n[0]===-1/0&&n[1]===1/0?0:(n[0]+n[1])/2}return t},t.prototype.getVisualMeta=function(e){if(!this.isCategory()){var t=[],n=["",""],r=this,i=this._pieceList.slice();if(i.length){var o=i[0].interval[0];o!==-1/0&&i.unshift({interval:[-1/0,o]}),(o=i[i.length-1].interval[1])!==1/0&&i.push({interval:[o,1/0]})}else i.push({interval:[-1/0,1/0]});var a=-1/0;return q2(i,(function(e){var t=e.interval;t&&(t[0]>a&&s([a,t[0]],"outOfRange"),s(t.slice()),a=t[1])}),this),{stops:t,outerColors:n}}function s(i,o){var a=r.getRepresentValue({interval:i});o||(o=r.getValueState(a));var s=e(a,o);i[0]===-1/0?n[0]=s:i[1]===1/0?n[1]=s:t.push({value:i[0],color:s},{value:i[1],color:s})}},t.type="visualMap.piecewise",t.defaultOption=Qne(_Ne.defaultOption,{selected:null,minOpen:!1,maxOpen:!1,align:"auto",itemWidth:20,itemHeight:14,itemSymbol:"roundRect",pieces:null,categories:null,splitNumber:5,selectedMode:"multiple",itemGap:10,hoverLink:!0}),t}(_Ne),QNe={splitNumber:function(e){var t=this.option,n=Math.min(t.precision,20),r=this.getExtent(),i=t.splitNumber;i=Math.max(parseInt(i,10),1),t.splitNumber=i;for(var o=(r[1]-r[0])/i;+o.toFixed(n)!==o&&n<5;)n++;t.precision=n,o=+o.toFixed(n),t.minOpen&&e.push({interval:[-1/0,r[0]],close:[0,0]});for(var a=0,s=r[0];a<i;s+=o,a++){var l=a===i-1?r[1]:s+o;e.push({interval:[s,l],close:[1,1]})}t.maxOpen&&e.push({interval:[r[1],1/0],close:[0,0]}),m9(e),q2(e,(function(e,t){e.index=t,e.text=this.formatValueText(e.interval)}),this)},categories:function(e){var t=this.option;q2(t.categories,(function(t){e.push({text:this.formatValueText(t,!0),value:t})}),this),JNe(t,e)},pieces:function(e){var t=this.option;q2(t.pieces,(function(t,n){o3(t)||(t={value:t});var r={text:"",index:n};if(null!=t.label&&(r.text=t.label),t.hasOwnProperty("value")){var i=r.value=t.value;r.interval=[i,i],r.close=[1,1]}else{for(var o=r.interval=[],a=r.close=[0,0],s=[1,0,1],l=[-1/0,1/0],u=[],c=0;c<2;c++){for(var f=[["gte","gt","min"],["lte","lt","max"]][c],h=0;h<3&&null==o[c];h++)o[c]=t[f[h]],a[c]=s[h],u[c]=2===h;null==o[c]&&(o[c]=l[c])}u[0]&&o[1]===1/0&&(a[0]=0),u[1]&&o[0]===-1/0&&(a[1]=0),o[0]===o[1]&&a[0]&&a[1]&&(r.value=o[0])}r.visual=W_e.retrieveVisuals(t),e.push(r)}),this),JNe(t,e),m9(e),q2(e,(function(e){var t=e.close,n=[["<","≤"][t[1]],[">","≥"][t[0]]];e.text=e.text||this.formatValueText(null!=e.value?e.value:e.interval,!1,n)}),this)}};function JNe(e,t){var n=e.inverse;("vertical"===e.orient?!n:n)&&t.reverse()}const eje=ZNe;var tje=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return g2(t,e),t.prototype.doRender=function(){var e=this.group;e.removeAll();var t=this.visualMapModel,n=t.get("textGap"),r=t.textStyleModel,i=r.getFont(),o=r.getTextColor(),a=this._getItemAlign(),s=t.itemSize,l=this._getViewData(),u=l.endsText,c=f3(t.get("showLabel",!0),!u);u&&this._renderEndsText(e,u[0],s,c,a),q2(l.viewPieceList,(function(r){var l=r.piece,u=new X8;u.onclick=Q2(this._onItemClick,this,l),this._enableHoverLink(u,r.indexInModelPieceList);var f=t.getRepresentValue(l);if(this._createItemSymbol(u,f,[0,0,s[0],s[1]]),c){var h=this.visualMapModel.getValueState(f);u.add(new ute({style:{x:"right"===a?-n:s[0]+n,y:s[1]/2,text:l.text,verticalAlign:"middle",align:a,font:i,fill:o,opacity:"outOfRange"===h?.5:1}}))}e.add(u)}),this),u&&this._renderEndsText(e,u[1],s,c,a),Kre(t.get("orient"),e,t.get("itemGap")),this.renderBackground(e),this.positionGroup(e)},t.prototype._enableHoverLink=function(e,t){var n=this;e.on("mouseover",(function(){return r("highlight")})).on("mouseout",(function(){return r("downplay")}));var r=function(e){var r=n.visualMapModel;r.option.hoverLink&&n.api.dispatchAction({type:e,batch:PNe(r.findTargetDataIndices(t),r)})}},t.prototype._getItemAlign=function(){var e=this.visualMapModel,t=e.option;if("vertical"===t.orient)return ANe(e,this.api,e.itemSize);var n=t.align;return n&&"auto"!==n||(n="left"),n},t.prototype._renderEndsText=function(e,t,n,r,i){if(t){var o=new X8,a=this.visualMapModel.textStyleModel;o.add(new ute({style:Cne(a,{x:r?"right"===i?n[0]:0:n[0]/2,y:n[1]/2,verticalAlign:"middle",align:r?i:"center",text:t})})),e.add(o)}},t.prototype._getViewData=function(){var e=this.visualMapModel,t=X2(e.getPieceList(),(function(e,t){return{piece:e,indexInModelPieceList:t}})),n=e.get("text"),r=e.get("orient"),i=e.get("inverse");return("horizontal"===r?i:!i)?t.reverse():n&&(n=n.slice().reverse()),{viewPieceList:t,endsText:n}},t.prototype._createItemSymbol=function(e,t,n){e.add(Sce(this.getControllerVisual(t,"symbol"),n[0],n[1],n[2],n[3],this.getControllerVisual(t,"color")))},t.prototype._onItemClick=function(e){var t=this.visualMapModel,n=t.option,r=n.selectedMode;if(r){var i=z2(n.selected),o=t.getSelectedMapKey(e);"single"===r||!0===r?(i[o]=!0,q2(i,(function(e,t){i[t]=t===o}))):i[o]=!i[o],this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:i})}},t.type="visualMap.piecewise",t}(MNe);const nje=tje;function rje(e){e.registerComponentModel(eje),e.registerComponentView(nje),YNe(e)}var ije={label:{enabled:!0},decal:{show:!1}},oje=j9(),aje={};function sje(e,t){var n=e.getModel("aria");if(n.get("enabled")){var r=z2(ije);B2(r.label,e.getLocaleModel().get("aria"),!1),B2(n.option,r,!1),function(){if(n.getModel("decal").get("show")){var t=k3();e.eachSeries((function(e){if(!e.isColorBySeries()){var n=t.get(e.type);n||(n={},t.set(e.type,n)),oje(e).scope=n}})),e.eachRawSeries((function(t){if(!e.isSeriesFiltered(t))if(t3(t.enableAriaDecal))t.enableAriaDecal();else{var n=t.getData();if(t.isColorBySeries()){var r=Rie(t.ecModel,t.name,aje,e.getSeriesCount()),i=n.getVisual("decal");n.setVisual("decal",u(i,r))}else{var o=t.getRawData(),a={},s=oje(t).scope;n.each((function(e){var t=n.getRawIndex(e);a[t]=e}));var l=o.count();o.each((function(e){var r=a[e],i=o.getName(e)||e+"",c=Rie(t.ecModel,i,s,l),f=n.getItemVisual(r,"decal");n.setItemVisual(r,"decal",u(f,c))}))}}function u(e,t){var n=e?$2($2({},t),e):t;return n.dirty=!0,n}}))}}(),function(){var r=e.getLocaleModel().get("aria"),o=n.getModel("label");if(o.option=H2(o.option,r),!o.get("enabled"))return;var a=t.getZr().dom;if(o.get("description"))return void a.setAttribute("aria-label",o.get("description"));var s,l=e.getSeriesCount(),u=o.get(["data","maxCount"])||10,c=o.get(["series","maxCount"])||10,f=Math.min(l,c);if(l<1)return;var h=function(){var t=e.get("title");t&&t.length&&(t=t[0]);return t&&t.text}();if(h){var d=o.get(["general","withTitle"]);s=i(d,{title:h})}else s=o.get(["general","withoutTitle"]);var p=[],g=l>1?o.get(["series","multiple","prefix"]):o.get(["series","single","prefix"]);s+=i(g,{seriesCount:l}),e.eachSeries((function(t,n){if(n<f){var r=void 0,a=t.get("name")?"withName":"withoutName";r=i(r=l>1?o.get(["series","multiple",a]):o.get(["series","single",a]),{seriesId:t.seriesIndex,seriesName:t.get("name"),seriesType:(y=t.subType,e.getLocaleModel().get(["series","typeNames"])[y]||"自定义图")});var s=t.getData();if(s.count()>u)r+=i(o.get(["data","partialData"]),{displayCnt:u});else r+=o.get(["data","allData"]);for(var c=o.get(["data","separator","middle"]),h=o.get(["data","separator","end"]),d=[],g=0;g<s.count();g++)if(g<u){var m=s.getName(g),b=s.getValues(g),v=o.get(["data",m?"withName":"withoutName"]);d.push(i(v,{name:m,value:b.join(c)}))}r+=d.join(c)+h,p.push(r)}var y}));var m=o.getModel(["series","multiple","separator"]),b=m.get("middle"),v=m.get("end");s+=p.join(b)+v,a.setAttribute("aria-label",s)}()}function i(e,t){if(!n3(e))return e;var n=e;return q2(t,(function(e,t){n=n.replace(new RegExp("\\{\\s*"+t+"\\s*\\}","g"),e)})),n}}function lje(e){if(e&&e.aria){var t=e.aria;null!=t.show&&(t.enabled=t.show),t.label=t.label||{},q2(["description","general","series","data"],(function(e){null!=t[e]&&(t.label[e]=t[e])}))}}var uje={value:"eq","<":"lt","<=":"lte",">":"gt",">=":"gte","=":"eq","!=":"ne","<>":"ne"},cje=function(){function e(e){var t;if(null==(this._condVal=n3(e)?new RegExp(e):(t=e,"[object RegExp]"===I2.call(t)?e:null))){0,Yoe("")}}return e.prototype.evaluate=function(e){var t=typeof e;return n3(t)?this._condVal.test(e):!!i3(t)&&this._condVal.test(e+"")},e}(),fje=function(){function e(){}return e.prototype.evaluate=function(){return this.value},e}(),hje=function(){function e(){}return e.prototype.evaluate=function(){for(var e=this.children,t=0;t<e.length;t++)if(!e[t].evaluate())return!1;return!0},e}(),dje=function(){function e(){}return e.prototype.evaluate=function(){for(var e=this.children,t=0;t<e.length;t++)if(e[t].evaluate())return!0;return!1},e}(),pje=function(){function e(){}return e.prototype.evaluate=function(){return!this.child.evaluate()},e}(),gje=function(){function e(){}return e.prototype.evaluate=function(){for(var e=!!this.valueParser,t=(0,this.getValue)(this.valueGetterParam),n=e?this.valueParser(t):null,r=0;r<this.subCondList.length;r++)if(!this.subCondList[r].evaluate(e?n:t))return!1;return!0},e}();function mje(e,t){if(!0===e||!1===e){var n=new fje;return n.value=e,n}return vje(e)||Yoe(""),e.and?bje("and",e,t):e.or?bje("or",e,t):e.not?function(e,t){var n=e.not,r="";0;vje(n)||Yoe(r);var i=new pje;i.child=mje(n,t),i.child||Yoe(r);return i}(e,t):function(e,t){for(var n="",r=t.prepareGetValue(e),i=[],o=Z2(e),a=e.parser,s=a?Qoe(a):null,l=0;l<o.length;l++){var u=o[l];if("parser"!==u&&!t.valueGetterAttrMap.get(u)){var c=M3(uje,u)?uje[u]:u,f=e[u],h=s?s(f):f,d=rae(c,h)||"reg"===c&&new cje(h);d||Yoe(n),i.push(d)}}i.length||Yoe(n);var p=new gje;return p.valueGetterParam=r,p.valueParser=s,p.getValue=t.getValue,p.subCondList=i,p}(e,t)}function bje(e,t,n){var r=t[e];e3(r)||Yoe(""),r.length||Yoe("");var i="and"===e?new hje:new dje;return i.children=X2(r,(function(e){return mje(e,n)})),i.children.length||Yoe(""),i}function vje(e){return o3(e)&&!U2(e)}var yje=function(){function e(e,t){this._cond=mje(e,t)}return e.prototype.evaluate=function(){return this._cond.evaluate()},e}();var wje={type:"echarts:filter",transform:function(e){for(var t,n,r,i=e.upstream,o=(n=e.config,r={valueGetterAttrMap:k3({dimension:!0}),prepareGetValue:function(e){var t=e.dimension;M3(e,"dimension")||Yoe("");var n=i.getDimensionInfo(t);return n||Yoe(""),{dimIdx:n.index}},getValue:function(e){return i.retrieveValueFromItem(t,e.dimIdx)}},new yje(n,r)),a=[],s=0,l=i.count();s<l;s++)t=i.getRawDataItem(s),o.evaluate()&&a.push(t);return{data:a}}};var xje={type:"echarts:sort",transform:function(e){var t=e.upstream,n=e.config,r="",i=C9(n);i.length||Yoe(r);var o=[];q2(i,(function(e){var n=e.dimension,i=e.order,a=e.parser,s=e.incomparable;if(null==n&&Yoe(r),"asc"!==i&&"desc"!==i&&Yoe(r),s&&"min"!==s&&"max"!==s){0,Yoe("")}if("asc"!==i&&"desc"!==i){0,Yoe("")}var l=t.getDimensionInfo(n);l||Yoe(r);var u=a?Qoe(a):null;a&&!u&&Yoe(r),o.push({dimIdx:l.index,parser:u,comparator:new tae(i,s)})}));var a=t.sourceFormat;a!==fie&&a!==hie&&Yoe(r);for(var s=[],l=0,u=t.count();l<u;l++)s.push(t.getRawDataItem(l));return s.sort((function(e,n){for(var r=0;r<o.length;r++){var i=o[r],a=t.retrieveValueFromItem(e,i.dimIdx),s=t.retrieveValueFromItem(n,i.dimIdx);i.parser&&(a=i.parser(a),s=i.parser(s));var l=i.comparator.evaluate(a,s);if(0!==l)return l}return 0})),{data:s}}};var _je=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="dataset",t}return g2(t,e),t.prototype.init=function(t,n,r){e.prototype.init.call(this,t,n,r),this._sourceManager=new Sae(this),kae(this)},t.prototype.mergeOption=function(t,n){e.prototype.mergeOption.call(this,t,n),kae(this)},t.prototype.optionUpdated=function(){this._sourceManager.dirty()},t.prototype.getSourceManager=function(){return this._sourceManager},t.type="dataset",t.defaultOption={seriesLayoutBy:mie},t}(oie),Sje=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="dataset",t}return g2(t,e),t.type="dataset",t}(tse);var kje=fee.CMD;function Cje(e,t){return Math.abs(e-t)<1e-5}function Eje(e){var t,n,r,i,o,a=e.data,s=e.len(),l=[],u=0,c=0,f=0,h=0;function d(e,n){t&&t.length>2&&l.push(t),t=[e,n]}function p(e,n,r,i){Cje(e,r)&&Cje(n,i)||t.push(e,n,r,i,r,i)}function g(e,n,r,i,o,a){var s=Math.abs(n-e),l=4*Math.tan(s/4)/3,u=n<e?-1:1,c=Math.cos(e),f=Math.sin(e),h=Math.cos(n),d=Math.sin(n),p=c*o+r,g=f*a+i,m=h*o+r,b=d*a+i,v=o*l*u,y=a*l*u;t.push(p-v*f,g+y*c,m+v*d,b-y*h,m,b)}for(var m=0;m<s;){var b=a[m++],v=1===m;switch(v&&(f=u=a[m],h=c=a[m+1],b!==kje.L&&b!==kje.C&&b!==kje.Q||(t=[f,h])),b){case kje.M:u=f=a[m++],c=h=a[m++],d(f,h);break;case kje.L:p(u,c,n=a[m++],r=a[m++]),u=n,c=r;break;case kje.C:t.push(a[m++],a[m++],a[m++],a[m++],u=a[m++],c=a[m++]);break;case kje.Q:n=a[m++],r=a[m++],i=a[m++],o=a[m++],t.push(u+2/3*(n-u),c+2/3*(r-c),i+2/3*(n-i),o+2/3*(r-o),i,o),u=i,c=o;break;case kje.A:var y=a[m++],w=a[m++],x=a[m++],_=a[m++],S=a[m++],k=a[m++]+S;m+=1;var C=!a[m++];n=Math.cos(S)*x+y,r=Math.sin(S)*_+w,v?d(f=n,h=r):p(u,c,n,r),u=Math.cos(k)*x+y,c=Math.sin(k)*_+w;for(var E=(C?-1:1)*Math.PI/2,I=S;C?I>k:I<k;I+=E){g(I,C?Math.max(I+E,k):Math.min(I+E,k),y,w,x,_)}break;case kje.R:f=u=a[m++],h=c=a[m++],n=f+a[m++],r=h+a[m++],d(n,h),p(n,h,n,r),p(n,r,f,r),p(f,r,f,h),p(f,h,n,h);break;case kje.Z:t&&p(u,c,f,h),u=f,c=h}}return t&&t.length>2&&l.push(t),l}function Ije(e,t,n,r,i,o,a,s,l,u){if(Cje(e,n)&&Cje(t,r)&&Cje(i,a)&&Cje(o,s))l.push(a,s);else{var c=2/u,f=c*c,h=a-e,d=s-t,p=Math.sqrt(h*h+d*d);h/=p,d/=p;var g=n-e,m=r-t,b=i-a,v=o-s,y=g*g+m*m,w=b*b+v*v;if(y<f&&w<f)l.push(a,s);else{var x=h*g+d*m,_=-h*b-d*v;if(y-x*x<f&&x>=0&&w-_*_<f&&_>=0)l.push(a,s);else{var S=[],k=[];T4(e,n,i,a,.5,S),T4(t,r,o,s,.5,k),Ije(S[0],k[0],S[1],k[1],S[2],k[2],S[3],k[3],l,u),Ije(S[4],k[4],S[5],k[5],S[6],k[6],S[7],k[7],l,u)}}}}function Mje(e,t,n){var r=e[t],i=e[1-t],o=Math.abs(r/i),a=Math.ceil(Math.sqrt(o*n)),s=Math.floor(n/a);0===s&&(s=1,a=n);for(var l=[],u=0;u<a;u++)l.push(s);var c=n-a*s;if(c>0)for(u=0;u<c;u++)l[u%a]+=1;return l}function Tje(e,t,n){for(var r=e.r0,i=e.r,o=e.startAngle,a=e.endAngle,s=Math.abs(a-o),l=s*i,u=i-r,c=l>Math.abs(u),f=Mje([l,u],c?0:1,t),h=(c?s:u)/f.length,d=0;d<f.length;d++)for(var p=(c?u:s)/f[d],g=0;g<f[d];g++){var m={};c?(m.startAngle=o+h*d,m.endAngle=o+h*(d+1),m.r0=r+p*g,m.r=r+p*(g+1)):(m.startAngle=o+p*g,m.endAngle=o+p*(g+1),m.r0=r+h*d,m.r=r+h*(d+1)),m.clockwise=e.clockwise,m.cx=e.cx,m.cy=e.cy,n.push(m)}}function Aje(e,t,n,r){return e*r-n*t}function Pje(e,t,n,r,i,o,a,s){var l=n-e,u=r-t,c=a-i,f=s-o,h=Aje(c,f,l,u);if(Math.abs(h)<1e-6)return null;var d=Aje(e-i,t-o,c,f)/h;return d<0||d>1?null:new O5(d*l+e,d*u+t)}function Oje(e,t,n){var r=new O5;O5.sub(r,n,t),r.normalize();var i=new O5;return O5.sub(i,e,t),i.dot(r)}function Dje(e,t){var n=e[e.length-1];n&&n[0]===t[0]&&n[1]===t[1]||e.push(t)}function Rje(e){var t=e.points,n=[],r=[];z7(t,n,r);var i=new $5(n[0],n[1],r[0]-n[0],r[1]-n[1]),o=i.width,a=i.height,s=i.x,l=i.y,u=new O5,c=new O5;return o>a?(u.x=c.x=s+o/2,u.y=l,c.y=l+a):(u.y=c.y=l+a/2,u.x=s,c.x=s+o),function(e,t,n){for(var r=e.length,i=[],o=0;o<r;o++){var a=e[o],s=e[(o+1)%r],l=Pje(a[0],a[1],s[0],s[1],t.x,t.y,n.x,n.y);l&&i.push({projPt:Oje(l,t,n),pt:l,idx:o})}if(i.length<2)return[{points:e},{points:e}];i.sort((function(e,t){return e.projPt-t.projPt}));var u=i[0],c=i[i.length-1];if(c.idx<u.idx){var f=u;u=c,c=f}var h=[u.pt.x,u.pt.y],d=[c.pt.x,c.pt.y],p=[h],g=[d];for(o=u.idx+1;o<=c.idx;o++)Dje(p,e[o].slice());for(Dje(p,d),Dje(p,h),o=c.idx+1;o<=u.idx+r;o++)Dje(g,e[o%r].slice());return Dje(g,h),Dje(g,d),[{points:p},{points:g}]}(t,u,c)}function Lje(e,t,n,r){if(1===n)r.push(t);else{var i=Math.floor(n/2),o=e(t);Lje(e,o[0],i,r),Lje(e,o[1],n-i,r)}return r}function Nje(e,t){t.setStyle(e.style),t.z=e.z,t.z2=e.z2,t.zlevel=e.zlevel}function jje(e,t){var n,r=[],i=e.shape;switch(e.type){case"rect":!function(e,t,n){for(var r=e.width,i=e.height,o=r>i,a=Mje([r,i],o?0:1,t),s=o?"width":"height",l=o?"height":"width",u=o?"x":"y",c=o?"y":"x",f=e[s]/a.length,h=0;h<a.length;h++)for(var d=e[l]/a[h],p=0;p<a[h];p++){var g={};g[u]=h*f,g[c]=p*d,g[s]=f,g[l]=d,g.x+=e.x,g.y+=e.y,n.push(g)}}(i,t,r),n=qee;break;case"sector":Tje(i,t,r),n=Gse;break;case"circle":Tje({r0:0,r:i.r,startAngle:0,endAngle:2*Math.PI,cx:i.cx,cy:i.cy},t,r),n=Gse;break;default:var o=e.getComputedTransform(),a=o?Math.sqrt(Math.max(o[0]*o[0]+o[1]*o[1],o[2]*o[2]+o[3]*o[3])):1,s=X2(function(e,t){var n=Eje(e),r=[];t=t||1;for(var i=0;i<n.length;i++){var o=n[i],a=[],s=o[0],l=o[1];a.push(s,l);for(var u=2;u<o.length;){var c=o[u++],f=o[u++],h=o[u++],d=o[u++],p=o[u++],g=o[u++];Ije(s,l,c,f,h,d,p,g,a,t),s=p,l=g}r.push(a)}return r}(e.getUpdatedPathProxy(),a),(function(e){return function(e){for(var t=[],n=0;n<e.length;)t.push([e[n++],e[n++]]);return t}(e)})),l=s.length;if(0===l)Lje(Rje,{points:s[0]},t,r);else if(l===t)for(var u=0;u<l;u++)r.push({points:s[u]});else{var c=0,f=X2(s,(function(e){var t=[],n=[];z7(e,t,n);var r=(n[1]-t[1])*(n[0]-t[0]);return c+=r,{poly:e,area:r}}));f.sort((function(e,t){return t.area-e.area}));var h=t;for(u=0;u<l;u++){var d=f[u];if(h<=0)break;var p=u===l-1?h:Math.ceil(d.area/c*t);p<0||(Lje(Rje,{points:d.poly},p,r),h-=p)}}n=Zse}if(!n)return function(e,t){for(var n=[],r=0;r<t;r++)n.push(_se(e));return n}(e,t);var g=[];for(u=0;u<r.length;u++){var m=new n;m.setShape(r[u]),Nje(e,m),g.push(m)}return g}function Fje(e,t){var n=e.length,r=t.length;if(n===r)return[e,t];for(var i=[],o=[],a=n<r?e:t,s=Math.min(n,r),l=Math.abs(r-n)/6,u=(s-2)/6,c=Math.ceil(l/u)+1,f=[a[0],a[1]],h=l,d=2;d<s;){var p=a[d-2],g=a[d-1],m=a[d++],b=a[d++],v=a[d++],y=a[d++],w=a[d++],x=a[d++];if(h<=0)f.push(m,b,v,y,w,x);else{for(var _=Math.min(h,c-1)+1,S=1;S<=_;S++){var k=S/_;T4(p,m,v,w,k,i),T4(g,b,y,x,k,o),p=i[3],g=o[3],f.push(i[1],o[1],i[2],o[2],p,g),m=i[5],b=o[5],v=i[6],y=o[6]}h-=_-1}}return a===e?[f,t]:[e,f]}function zje(e,t){for(var n=e.length,r=e[n-2],i=e[n-1],o=[],a=0;a<t.length;)o[a++]=r,o[a++]=i;return o}function Bje(e){for(var t=0,n=0,r=0,i=e.length,o=0,a=i-2;o<i;a=o,o+=2){var s=e[a],l=e[a+1],u=e[o],c=e[o+1],f=s*c-u*l;t+=f,n+=(s+u)*f,r+=(l+c)*f}return 0===t?[e[0]||0,e[1]||0]:[n/t/3,r/t/3,t]}function Vje(e,t,n,r){for(var i=(e.length-2)/6,o=1/0,a=0,s=e.length,l=s-2,u=0;u<i;u++){for(var c=6*u,f=0,h=0;h<s;h+=2){var d=0===h?c:(c+h-2)%l+2,p=e[d]-n[0],g=e[d+1]-n[1],m=t[h]-r[0]-p,b=t[h+1]-r[1]-g;f+=m*m+b*b}f<o&&(o=f,a=u)}return a}function $je(e){for(var t=[],n=e.length,r=0;r<n;r+=2)t[r]=e[n-r-2],t[r+1]=e[n-r-1];return t}function Hje(e){return e.__isCombineMorphing}var Gje="__mOriginal_";function Wje(e,t,n){var r=Gje+t,i=e[r]||e[t];e[r]||(e[r]=e[t]);var o=n.replace,a=n.after,s=n.before;e[t]=function(){var e,t=arguments;return s&&s.apply(this,t),e=o?o.apply(this,t):i.apply(this,t),a&&a.apply(this,t),e}}function Uje(e,t){var n=Gje+t;e[n]&&(e[t]=e[n],e[n]=null)}function qje(e,t){for(var n=0;n<e.length;n++)for(var r=e[n],i=0;i<r.length;){var o=r[i],a=r[i+1];r[i++]=t[0]*o+t[2]*a+t[4],r[i++]=t[1]*o+t[3]*a+t[5]}}function Xje(e,t){var n=e.getUpdatedPathProxy(),r=t.getUpdatedPathProxy(),i=function(e,t){for(var n,r,i,o=[],a=[],s=0;s<Math.max(e.length,t.length);s++){var l=e[s],u=t[s],c=void 0,f=void 0;l?u?(r=c=(n=Fje(l,u))[0],i=f=n[1]):(f=zje(i||l,l),c=l):(c=zje(r||u,u),f=u),o.push(c),a.push(f)}return[o,a]}(Eje(n),Eje(r)),o=i[0],a=i[1],s=e.getComputedTransform(),l=t.getComputedTransform();s&&qje(o,s),l&&qje(a,l),Wje(t,"updateTransform",{replace:function(){this.transform=null}}),t.transform=null;var u=function(e,t,n,r){for(var i,o=[],a=0;a<e.length;a++){var s=e[a],l=t[a],u=Bje(s),c=Bje(l);null==i&&(i=u[2]<0!=c[2]<0);var f=[],h=[],d=0,p=1/0,g=[],m=s.length;i&&(s=$je(s));for(var b=6*Vje(s,l,u,c),v=m-2,y=0;y<v;y+=2){var w=(b+y)%v+2;f[y+2]=s[w]-u[0],f[y+3]=s[w+1]-u[1]}if(f[0]=s[b]-u[0],f[1]=s[b+1]-u[1],n>0)for(var x=r/n,_=-r/2;_<=r/2;_+=x){var S=Math.sin(_),k=Math.cos(_),C=0;for(y=0;y<s.length;y+=2){var E=f[y],I=f[y+1],M=l[y]-c[0],T=l[y+1]-c[1],A=M*k-T*S,P=M*S+T*k;g[y]=A,g[y+1]=P;var O=A-E,D=P-I;C+=O*O+D*D}if(C<p){p=C,d=_;for(var R=0;R<g.length;R++)h[R]=g[R]}}else for(var L=0;L<m;L+=2)h[L]=l[L]-c[0],h[L+1]=l[L+1]-c[1];o.push({from:f,to:h,fromCp:u,toCp:c,rotation:-d})}return o}(o,a,10,Math.PI),c=[];Wje(t,"buildPath",{replace:function(e){for(var n=t.__morphT,r=1-n,i=[],o=0;o<u.length;o++){var a=u[o],s=a.from,l=a.to,f=a.rotation*n,h=a.fromCp,d=a.toCp,p=Math.sin(f),g=Math.cos(f);q3(i,h,d,n);for(var m=0;m<s.length;m+=2){var b=s[m],v=s[m+1],y=b*r+(S=l[m])*n,w=v*r+(k=l[m+1])*n;c[m]=y*g-w*p+i[0],c[m+1]=y*p+w*g+i[1]}var x=c[0],_=c[1];e.moveTo(x,_);for(m=2;m<s.length;){var S=c[m++],k=c[m++],C=c[m++],E=c[m++],I=c[m++],M=c[m++];x===S&&_===k&&C===I&&E===M?e.lineTo(I,M):e.bezierCurveTo(S,k,C,E,I,M),x=I,_=M}}}})}function Yje(e,t,n){if(!e||!t)return t;var r=n.done,i=n.during;return Xje(e,t),t.__morphT=0,t.animateTo({__morphT:1},H2({during:function(e){t.dirtyShape(),i&&i(e)},done:function(){Uje(t,"buildPath"),Uje(t,"updateTransform"),t.__morphT=-1,t.createPathProxy(),t.dirtyShape(),r&&r()}},n)),t}function Kje(e,t,n,r,i,o){e=i===n?0:Math.round(32767*(e-n)/(i-n)),t=o===r?0:Math.round(32767*(t-r)/(o-r));for(var a,s=0,l=32768;l>0;l/=2){var u=0,c=0;(e&l)>0&&(u=1),(t&l)>0&&(c=1),s+=l*l*(3*u^c),0===c&&(1===u&&(e=l-1-e,t=l-1-t),a=e,e=t,t=a)}return s}function Zje(e){var t=1/0,n=1/0,r=-1/0,i=-1/0,o=X2(e,(function(e){var o=e.getBoundingRect(),a=e.getComputedTransform(),s=o.x+o.width/2+(a?a[4]:0),l=o.y+o.height/2+(a?a[5]:0);return t=Math.min(s,t),n=Math.min(l,n),r=Math.max(s,r),i=Math.max(l,i),[s,l]}));return X2(o,(function(o,a){return{cp:o,z:Kje(o[0],o[1],t,n,r,i),path:e[a]}})).sort((function(e,t){return e.z-t.z})).map((function(e){return e.path}))}function Qje(e){return jje(e.path,e.count)}function Jje(e){return e3(e[0])}function eFe(e,t){for(var n=[],r=e.length,i=0;i<r;i++)n.push({one:e[i],many:[]});for(i=0;i<t.length;i++){var o=t[i].length,a=void 0;for(a=0;a<o;a++)n[a%r].many.push(t[i][a])}var s=0;for(i=r-1;i>=0;i--)if(!n[i].many.length){var l=n[s].many;if(l.length<=1){if(!s)return n;s=0}o=l.length;var u=Math.ceil(o/2);n[i].many=l.slice(u,o),n[s].many=l.slice(0,u),s++}return n}var tFe={clone:function(e){for(var t=[],n=1-Math.pow(1-e.path.style.opacity,1/e.count),r=0;r<e.count;r++){var i=_se(e.path);i.setStyle("opacity",n),t.push(i)}return t},split:null};function nFe(e,t,n,r,i,o){if(e.length&&t.length){var a=fne("update",r,i);if(a&&a.duration>0){var s,l,u=r.getModel("universalTransition").get("delay"),c=Object.assign({setToFinal:!0},a);Jje(e)&&(s=e,l=t),Jje(t)&&(s=t,l=e);for(var f=s?s===e:e.length>t.length,h=s?eFe(l,s):eFe(f?t:e,[f?e:t]),d=0,p=0;p<h.length;p++)d+=h[p].many.length;var g=0;for(p=0;p<h.length;p++)m(h[p],f,g,d),g+=h[p].many.length}}function m(e,t,r,i,a){var s=e.many,l=e.one;if(1!==s.length||a)for(var f=H2({dividePath:tFe[n],individualDelay:u&&function(e,t,n,o){return u(e+r,i)}},c),h=t?function(e,t,n){var r=[];!function e(t){for(var n=0;n<t.length;n++){var i=t[n];Hje(i)?e(i.childrenRef()):i instanceof Oee&&r.push(i)}}(e);var i=r.length;if(!i)return{fromIndividuals:[],toIndividuals:[],count:0};var o=(n.dividePath||Qje)({path:t,count:i});if(o.length!==i)return console.error("Invalid morphing: unmatched splitted path"),{fromIndividuals:[],toIndividuals:[],count:0};r=Zje(r),o=Zje(o);for(var a=n.done,s=n.during,l=n.individualDelay,u=new E8,c=0;c<i;c++){var f=r[c],h=o[c];h.parent=t,h.copyTransform(u),l||Xje(f,h)}function d(e){for(var t=0;t<o.length;t++)o[t].addSelfToZr(e)}function p(){t.__isCombineMorphing=!1,t.__morphT=-1,t.childrenRef=null,Uje(t,"addSelfToZr"),Uje(t,"removeSelfFromZr")}t.__isCombineMorphing=!0,t.childrenRef=function(){return o},Wje(t,"addSelfToZr",{after:function(e){d(e)}}),Wje(t,"removeSelfFromZr",{after:function(e){for(var t=0;t<o.length;t++)o[t].removeSelfFromZr(e)}});var g=o.length;if(l){var m=g,b=function(){0==--m&&(p(),a&&a())};for(c=0;c<g;c++){var v=l?H2({delay:(n.delay||0)+l(c,g,r[c],o[c]),done:b},n):n;Yje(r[c],o[c],v)}}else t.__morphT=0,t.animateTo({__morphT:1},H2({during:function(e){for(var n=0;n<g;n++){var r=o[n];r.__morphT=t.__morphT,r.dirtyShape()}s&&s(e)},done:function(){p();for(var t=0;t<e.length;t++)Uje(e[t],"updateTransform");a&&a()}},n));return t.__zr&&d(t.__zr),{fromIndividuals:r,toIndividuals:o,count:g}}(s,l,f):function(e,t,n){var r=t.length,i=[],o=n.dividePath||Qje;if(Hje(e)){!function e(t){for(var n=0;n<t.length;n++){var r=t[n];Hje(r)?e(r.childrenRef()):r instanceof Oee&&i.push(r)}}(e.childrenRef());var a=i.length;if(a<r)for(var s=0,l=a;l<r;l++)i.push(_se(i[s++%a]));i.length=r}else{i=o({path:e,count:r});var u=e.getComputedTransform();for(l=0;l<i.length;l++)i[l].setLocalTransform(u);if(i.length!==r)return console.error("Invalid morphing: unmatched splitted path"),{fromIndividuals:[],toIndividuals:[],count:0}}i=Zje(i),t=Zje(t);var c=n.individualDelay;for(l=0;l<r;l++){var f=c?H2({delay:(n.delay||0)+c(l,r,i[l],t[l])},n):n;Yje(i[l],t[l],f)}return{fromIndividuals:i,toIndividuals:t,count:t.length}}(l,s,f),d=h.fromIndividuals,p=h.toIndividuals,g=d.length,b=0;b<g;b++){v=u?H2({delay:u(b,g)},c):c;o(d[b],p[b],t?s[b]:e.one,t?e.one:s[b],v)}else{var v,y=t?s[0]:l,w=t?l:s[0];if(Hje(y))m({many:[y],one:w},!0,r,i,!0);else Yje(y,w,v=u?H2({delay:u(r,i)},c):c),o(y,w,y,w,v)}}}function rFe(e){if(!e)return[];if(e3(e)){for(var t=[],n=0;n<e.length;n++)t.push(rFe(e[n]));return t}var r=[];return e.traverse((function(e){e instanceof Oee&&!e.disableMorphing&&!e.invisible&&!e.ignore&&r.push(e)})),r}var iFe=j9();function oFe(e){var t=[];return q2(e,(function(e){var n=e.data;if(!(n.count()>1e4))for(var r=n.getIndices(),i=function(e){for(var t=e.dimensions,n=0;n<t.length;n++){var r=e.getDimensionInfo(t[n]);if(r&&0===r.otherDims.itemGroupId)return t[n]}}(n),o=0;o<r.length;o++)t.push({dataGroupId:e.dataGroupId,data:n,dim:e.dim||i,divide:e.divide,dataIndex:o})})),t}function aFe(e,t,n){e.traverse((function(e){e instanceof Oee&&pne(e,{style:{opacity:0}},t,{dataIndex:n,isFrom:!0})}))}function sFe(e){if(e.parent){var t=e.getComputedTransform();e.setLocalTransform(t),e.parent.remove(e)}}function lFe(e){e.stopAnimation(),e.isGroup&&e.traverse((function(e){e.stopAnimation()}))}function uFe(e,t,n){var r=fne("update",n,t);r&&e.traverse((function(e){if(e instanceof A7){var t=function(e){return cne(e).oldStyle}(e);t&&e.animateFrom({style:t},r)}}))}function cFe(e,t,n){var r=oFe(e),i=oFe(t);function o(e,t,n,r,i){(n||e)&&t.animateFrom({style:n&&n!==e?$2($2({},n.style),e.style):e.style},i)}function a(e){for(var t=0;t<e.length;t++)if(e[t].dim)return e[t].dim}var s=a(r),l=a(i),u=!1;function c(e,t){return function(n){var r=n.data,i=n.dataIndex;if(t)return r.getId(i);var o=n.dataGroupId,a=e?s||l:l||s,u=a&&r.getDimensionInfo(a),c=u&&u.ordinalMeta;if(u){var f=r.get(u.name,i);return c&&c.categories[f]||f+""}var h=r.getRawDataItem(i);return h&&h.groupId?h.groupId+"":o||r.getId(i)}}var f=function(e,t){var n=e.length;if(n!==t.length)return!1;for(var r=0;r<n;r++){var i=e[r],o=t[r];if(i.data.getId(i.dataIndex)!==o.data.getId(o.dataIndex))return!1}return!0}(r,i),h={};if(!f)for(var d=0;d<i.length;d++){var p=i[d],g=p.data.getItemGraphicEl(p.dataIndex);g&&(h[g.id]=!0)}function m(e,t){var n=r[t],a=i[e],s=a.data.hostModel,l=n.data.getItemGraphicEl(n.dataIndex),c=a.data.getItemGraphicEl(a.dataIndex);l!==c?l&&h[l.id]||c&&(lFe(c),l?(lFe(l),sFe(l),u=!0,nFe(rFe(l),rFe(c),a.divide,s,e,o)):aFe(c,s,e)):c&&uFe(c,a.dataIndex,s)}new fpe(r,i,c(!0,f),c(!1,f),null,"multiple").update(m).updateManyToOne((function(e,t){var n=i[e],a=n.data,s=a.hostModel,l=a.getItemGraphicEl(n.dataIndex),c=K2(X2(t,(function(e){return r[e].data.getItemGraphicEl(r[e].dataIndex)})),(function(e){return e&&e!==l&&!h[e.id]}));l&&(lFe(l),c.length?(q2(c,(function(e){lFe(e),sFe(e)})),u=!0,nFe(rFe(c),rFe(l),n.divide,s,e,o)):aFe(l,s,n.dataIndex))})).updateOneToMany((function(e,t){var n=r[t],a=n.data.getItemGraphicEl(n.dataIndex);if(!a||!h[a.id]){var s=K2(X2(e,(function(e){return i[e].data.getItemGraphicEl(i[e].dataIndex)})),(function(e){return e&&e!==a})),l=i[e[0]].data.hostModel;s.length&&(q2(s,(function(e){return lFe(e)})),a?(lFe(a),sFe(a),u=!0,nFe(rFe(a),rFe(s),n.divide,l,e[0],o)):q2(s,(function(t){return aFe(t,l,e[0])})))}})).updateManyToMany((function(e,t){new fpe(t,e,(function(e){return r[e].data.getId(r[e].dataIndex)}),(function(e){return i[e].data.getId(i[e].dataIndex)})).update((function(n,r){m(e[n],t[r])})).execute()})).execute(),u&&q2(t,(function(e){var t=e.data.hostModel,r=t&&n.getViewOfSeriesModel(t),i=fne("update",t,0);r&&t.isAnimationEnabled()&&i&&i.duration>0&&r.group.traverse((function(e){e instanceof Oee&&!e.animators.length&&e.animateFrom({style:{opacity:0}},i)}))}))}function fFe(e){var t=e.getModel("universalTransition").get("seriesKey");return t||e.id}function hFe(e){return e3(e)?e.sort().join(","):e}function dFe(e){if(e.hostModel)return e.hostModel.getModel("universalTransition").get("divideShape")}function pFe(e,t){var n=k3(),r=k3(),i=k3();return q2(e.oldSeries,(function(t,n){var o=e.oldDataGroupIds[n],a=e.oldData[n],s=fFe(t),l=hFe(s);r.set(l,{dataGroupId:o,data:a}),e3(s)&&q2(s,(function(e){i.set(e,{key:l,dataGroupId:o,data:a})}))})),q2(t.updatedSeries,(function(e){if(e.isUniversalTransitionEnabled()&&e.isAnimationEnabled()){var t=e.get("dataGroupId"),o=e.getData(),a=fFe(e),s=hFe(a),l=r.get(s);if(l)n.set(s,{oldSeries:[{dataGroupId:l.dataGroupId,divide:dFe(l.data),data:l.data}],newSeries:[{dataGroupId:t,divide:dFe(o),data:o}]});else if(e3(a)){0;var u=[];q2(a,(function(e){var t=r.get(e);t.data&&u.push({dataGroupId:t.dataGroupId,divide:dFe(t.data),data:t.data})})),u.length&&n.set(s,{oldSeries:u,newSeries:[{dataGroupId:t,data:o,divide:dFe(o)}]})}else{var c=i.get(a);if(c){var f=n.get(c.key);f||(f={oldSeries:[{dataGroupId:c.dataGroupId,data:c.data,divide:dFe(c.data)}],newSeries:[]},n.set(c.key,f)),f.newSeries.push({dataGroupId:t,data:o,divide:dFe(o)})}}}})),n}function gFe(e,t){for(var n=0;n<e.length;n++){if(null!=t.seriesIndex&&t.seriesIndex===e[n].seriesIndex||null!=t.seriesId&&t.seriesId===e[n].id)return n}}ihe([function(e){e.registerPainter("canvas",Qhe)}]),ihe([function(e){e.registerPainter("svg",spe)}]),ihe([function(e){e.registerChartView(Oge),e.registerSeriesModel(qpe),e.registerLayout(Dge("line",!0)),e.registerVisual({seriesType:"line",reset:function(e){var t=e.getData(),n=e.getModel("lineStyle").getLineStyle();n&&!n.stroke&&(n.stroke=t.getVisual("style").fill),t.setVisual("legendLineStyle",n)}}),e.registerProcessor(e.PRIORITY.PROCESSOR.STATISTIC,Nge("line"))},function(e){e.registerChartView(xme),e.registerSeriesModel(Kge),e.registerLayout(e.PRIORITY.VISUAL.LAYOUT,J2(Hge,"bar")),e.registerLayout(e.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,Gge("bar")),e.registerProcessor(e.PRIORITY.PROCESSOR.STATISTIC,Nge("bar")),e.registerAction({type:"changeAxisOrder",event:"changeAxisOrder",update:"update"},(function(e,t){var n=e.componentType||"series";t.eachComponent({mainType:n,query:e},(function(t){e.sortInfo&&t.axis.setCategorySortInfo(e.sortInfo)}))}))},function(e){e.registerChartView(Lme),e.registerSeriesModel(Vme),lce("pie",e.registerAction),e.registerLayout(J2(Eme,"pie")),e.registerProcessor(Ime("pie")),e.registerProcessor(function(e){return{seriesType:e,reset:function(e,t){var n=e.getData();n.filterSelf((function(e){var t=n.mapDimension("value"),r=n.get(t,e);return!(i3(r)&&!isNaN(r)&&r<0)}))}}}("pie"))},function(e){ihe(lye),e.registerSeriesModel(Hme),e.registerChartView(Yme),e.registerLayout(Dge("scatter"))},function(e){ihe(Mye),e.registerChartView(pye),e.registerSeriesModel(mye),e.registerLayout(uye),e.registerProcessor(Ime("radar")),e.registerPreprocessor(hye)},function(e){ihe(kxe),e.registerChartView(exe),e.registerSeriesModel(nxe),e.registerLayout(ixe),e.registerProcessor(e.PRIORITY.PROCESSOR.STATISTIC,rxe),lce("map",e.registerAction)},function(e){e.registerChartView(Hxe),e.registerSeriesModel(s_e),e.registerLayout(u_e),e.registerVisual(c_e),function(e){e.registerAction({type:"treeExpandAndCollapse",event:"treeExpandAndCollapse",update:"update"},(function(e,t){t.eachComponent({mainType:"series",subType:"tree",query:e},(function(t){var n=e.dataIndex,r=t.getData().tree.getNodeByDataIndex(n);r.isExpand=!r.isExpand}))})),e.registerAction({type:"treeRoam",event:"treeRoam",update:"none"},(function(e,t,n){t.eachComponent({mainType:"series",subType:"tree",query:e},(function(t){var r=wxe(t.coordinateSystem,e,void 0,n);t.setCenter&&t.setCenter(r.center),t.setZoom&&t.setZoom(r.zoom)}))}))}(e)},function(e){e.registerSeriesModel(g_e),e.registerChartView(T_e),e.registerVisual(q_e),e.registerLayout(aSe),function(e){for(var t=0;t<f_e.length;t++)e.registerAction({type:f_e[t],update:"updateView"},T3);e.registerAction({type:"treemapRootToNode",update:"updateView"},(function(e,t){t.eachComponent({mainType:"series",subType:"treemap",query:e},(function(t,n){var r=n_e(e,["treemapZoomToNode","treemapRootToNode"],t);if(r){var i=t.getViewRoot();i&&(e.direction=i_e(i,r.node)?"rollUp":"drillDown"),t.resetViewRoot(r.node)}}))}))}(e)},function(e){e.registerChartView(cke),e.registerSeriesModel(yke),e.registerProcessor(hSe),e.registerVisual(dSe),e.registerVisual(gSe),e.registerLayout(CSe),e.registerLayout(e.PRIORITY.VISUAL.POST_CHART_LAYOUT,DSe),e.registerLayout(LSe),e.registerCoordinateSystem("graphView",{dimensions:lxe.dimensions,create:NSe}),e.registerAction({type:"focusNodeAdjacency",event:"focusNodeAdjacency",update:"series:focusNodeAdjacency"},T3),e.registerAction({type:"unfocusNodeAdjacency",event:"unfocusNodeAdjacency",update:"series:unfocusNodeAdjacency"},T3),e.registerAction(wke,(function(e,t,n){t.eachComponent({mainType:"series",query:e},(function(t){var r=wxe(t.coordinateSystem,e,void 0,n);t.setCenter&&t.setCenter(r.center),t.setZoom&&t.setZoom(r.zoom)}))}))},function(e){e.registerChartView(Eke),e.registerSeriesModel(Ike)},function(e){e.registerChartView(Pke),e.registerSeriesModel(Dke),e.registerLayout(Rke),e.registerProcessor(Ime("funnel"))},function(e){ihe(gEe),e.registerChartView(Bke),e.registerSeriesModel(Hke),e.registerVisual(e.PRIORITY.VISUAL.BRUSH,Uke)},function(e){e.registerChartView(yEe),e.registerSeriesModel(xEe),e.registerLayout(_Ee),e.registerVisual(REe),e.registerAction({type:"dragNode",event:"dragnode",update:"update"},(function(e,t){t.eachComponent({mainType:"series",subType:"sankey",query:e},(function(t){t.setNodePosition(e.dataIndex,[e.localX,e.localY])}))}))},function(e){e.registerSeriesModel(jEe),e.registerChartView(GEe),e.registerLayout(UEe),e.registerTransform(qEe)},function(e){e.registerChartView(aIe),e.registerSeriesModel(lIe),e.registerPreprocessor(uIe),e.registerVisual(mIe),e.registerLayout(yIe)},function(e){e.registerChartView(kIe),e.registerSeriesModel(EIe),e.registerLayout(Dge("effectScatter"))},function(e){e.registerChartView(BIe),e.registerSeriesModel(WIe),e.registerLayout(FIe),e.registerVisual(XIe)},function(e){e.registerChartView(JIe),e.registerSeriesModel(eMe)},function(e){e.registerChartView(_Me),e.registerSeriesModel(SMe),e.registerLayout(e.PRIORITY.VISUAL.LAYOUT,J2(Hge,"pictorialBar")),e.registerLayout(e.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,Gge("pictorialBar"))},function(e){e.registerChartView(CMe),e.registerSeriesModel(IMe),e.registerLayout(MMe),e.registerProcessor(Ime("themeRiver"))},function(e){e.registerChartView(LMe),e.registerSeriesModel(FMe),e.registerLayout(J2(BMe,"sunburst")),e.registerProcessor(J2(Ime,"sunburst")),e.registerVisual($Me),function(e){e.registerAction({type:OMe,update:"updateView"},(function(e,t){t.eachComponent({mainType:"series",subType:"sunburst",query:e},(function(t,n){var r=n_e(e,[OMe],t);if(r){var i=t.getViewRoot();i&&(e.direction=i_e(i,r.node)?"rollUp":"drillDown"),t.resetViewRoot(r.node)}}))})),e.registerAction({type:DMe,update:"none"},(function(e,t,n){e=$2({},e),t.eachComponent({mainType:"series",subType:"sunburst",query:e},(function(t){var n=n_e(e,[DMe],t);n&&(e.dataIndex=n.node.dataIndex)})),n.dispatchAction($2(e,{type:"highlight"}))})),e.registerAction({type:"sunburstUnhighlight",update:"updateView"},(function(e,t,n){e=$2({},e),n.dispatchAction($2(e,{type:"downplay"}))}))}(e)},function(e){e.registerChartView(RTe),e.registerSeriesModel(UMe)}]),ihe((function(e){ihe(lye),ihe(FAe)})),ihe((function(e){ihe(FAe),Kve.registerAxisPointerClass("PolarAxisPointer",VAe),e.registerCoordinateSystem("polar",iPe),e.registerComponentModel($Ae),e.registerComponentView(_Pe),lbe(e,"angle",GAe,wPe),lbe(e,"radius",WAe,xPe),e.registerComponentView(fPe),e.registerComponentView(mPe),e.registerLayout(J2(yPe,"bar"))})),ihe(kxe),ihe((function(e){ihe(FAe),Kve.registerAxisPointerClass("SingleAxisPointer",GPe),e.registerComponentView(WPe),e.registerComponentView(MPe),e.registerComponentModel(APe),lbe(e,"single",APe,APe.defaultOption),e.registerCoordinateSystem("single",jPe)})),ihe(gEe),ihe((function(e){e.registerComponentModel(qPe),e.registerComponentView(YPe),e.registerCoordinateSystem("calendar",JPe)})),ihe((function(e){e.registerComponentModel(iOe),e.registerComponentView(sOe),e.registerPreprocessor((function(e){var t=e.graphic;e3(t)?t[0]&&t[0].elements?e.graphic=[e.graphic[0]]:e.graphic=[{elements:t}]:t&&!t.elements&&(e.graphic=[{elements:[t]}])}))})),ihe((function(e){e.registerComponentModel(jOe),e.registerComponentView(BOe),LOe("saveAsImage",$Oe),LOe("magicType",qOe),LOe("dataView",tDe),LOe("dataZoom",CDe),LOe("restore",aDe),ihe(OOe)})),ihe((function(e){ihe(FAe),e.registerComponentModel(EDe),e.registerComponentView(YDe),e.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},T3),e.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},T3)})),ihe(FAe),ihe((function(e){e.registerComponentView(pRe),e.registerComponentModel(mRe),e.registerPreprocessor(ZDe),e.registerVisual(e.PRIORITY.VISUAL.BRUSH,uRe),e.registerAction({type:"brush",event:"brush",update:"updateVisual"},(function(e,t){t.eachComponent({mainType:"brush",query:e},(function(t){t.setAreas(e.areas)}))})),e.registerAction({type:"brushSelect",event:"brushSelected",update:"none"},T3),e.registerAction({type:"brushEnd",event:"brushEnd",update:"none"},T3),LOe("brush",vRe)})),ihe((function(e){e.registerComponentModel(yRe),e.registerComponentView(wRe)})),ihe((function(e){e.registerComponentModel(kRe),e.registerComponentView(DRe),e.registerSubTypeDefaulter("timeline",(function(){return"slider"})),function(e){e.registerAction({type:"timelineChange",event:"timelineChanged",update:"prepareAndUpdate"},(function(e,t,n){var r=t.getComponent("timeline");return r&&null!=e.currentIndex&&(r.setCurrentIndex(e.currentIndex),!r.get("loop",!0)&&r.isIndexMax()&&r.getPlayState()&&(r.setPlayState(!1),n.dispatchAction({type:"timelinePlayChange",playState:!1,from:e.from}))),t.resetOption("timeline",{replaceMerge:r.get("replaceMerge",!0)}),H2({currentIndex:r.option.currentIndex},e)})),e.registerAction({type:"timelinePlayChange",event:"timelinePlayChanged",update:"update"},(function(e,t){var n=t.getComponent("timeline");n&&null!=e.playState&&n.setPlayState(e.playState)}))}(e),e.registerPreprocessor(RRe)})),ihe((function(e){e.registerComponentModel($Re),e.registerComponentView(tLe),e.registerPreprocessor((function(e){jRe(e.series,"markPoint")&&(e.markPoint=e.markPoint||{})}))})),ihe((function(e){e.registerComponentModel(nLe),e.registerComponentView(cLe),e.registerPreprocessor((function(e){jRe(e.series,"markLine")&&(e.markLine=e.markLine||{})}))})),ihe((function(e){e.registerComponentModel(fLe),e.registerComponentView(wLe),e.registerPreprocessor((function(e){jRe(e.series,"markArea")&&(e.markArea=e.markArea||{})}))})),ihe((function(e){ihe(RLe),ihe($Le)})),ihe((function(e){ihe(tNe),ihe(fNe)})),ihe(tNe),ihe(fNe),ihe((function(e){ihe(KNe),ihe(rje)})),ihe(KNe),ihe(rje),ihe((function(e){e.registerPreprocessor(lje),e.registerVisual(e.PRIORITY.VISUAL.ARIA,sje)})),ihe((function(e){e.registerTransform(wje),e.registerTransform(xje)})),ihe((function(e){e.registerComponentModel(_je),e.registerComponentView(Sje)})),ihe((function(e){e.registerUpdateLifecycle("series:beforeupdate",(function(e,t,n){q2(C9(n.seriesTransition),(function(e){q2(C9(e.to),(function(e){for(var t=n.updatedSeries,r=0;r<t.length;r++)(null!=e.seriesIndex&&e.seriesIndex===t[r].seriesIndex||null!=e.seriesId&&e.seriesId===t[r].id)&&(t[r].__universalTransitionEnabled=!0)}))}))})),e.registerUpdateLifecycle("series:transition",(function(e,t,n){var r=iFe(t);if(r.oldSeries&&n.updatedSeries&&n.optionChanged){var i=n.seriesTransition;if(i)q2(C9(i),(function(e){!function(e,t,n,r){var i=[],o=[];q2(C9(e.from),(function(e){var n=gFe(t.oldSeries,e);n>=0&&i.push({dataGroupId:t.oldDataGroupIds[n],data:t.oldData[n],divide:dFe(t.oldData[n]),dim:e.dimension})})),q2(C9(e.to),(function(e){var r=gFe(n.updatedSeries,e);if(r>=0){var i=n.updatedSeries[r].getData();o.push({dataGroupId:t.oldDataGroupIds[r],data:i,divide:dFe(i),dim:e.dimension})}})),i.length>0&&o.length>0&&cFe(i,o,r)}(e,r,n,t)}));else{var o=pFe(r,n);q2(o.keys(),(function(e){var n=o.get(e);cFe(n.oldSeries,n.newSeries,t)}))}q2(n.updatedSeries,(function(e){e.__universalTransitionEnabled&&(e.__universalTransitionEnabled=!1)}))}for(var a=e.getSeries(),s=r.oldSeries=[],l=r.oldDataGroupIds=[],u=r.oldData=[],c=0;c<a.length;c++){var f=a[c].getData();f.count()<1e4&&(s.push(a[c]),l.push(a[c].get("dataGroupId")),u.push(f))}}))})),ihe(Ghe);const mFe=e=>{let{loading:t,option:n,settings:r,style:o,theme:a,events:s}=e;const l=(0,i.useRef)(null);return(0,i.useEffect)((()=>{let e;null!==l.current&&(e=function(e,t,n){var r=!(n&&n.ssr);if(r){var i=Wfe(e);if(i)return i}var o=new Afe(e,t,n);return o.id="ec_"+Hfe++,Vfe[o.id]=o,r&&G9(e,Gfe,o.id),Cfe(o),efe.trigger("afterinit",o),o}(l.current,a,{renderer:"svg"}));const t=()=>{e?.resize()};return window.addEventListener("resize",t),()=>{e?.dispose(),window.removeEventListener("resize",t)}}),[a]),(0,i.useEffect)((()=>{if(null!==l.current){const e=Wfe(l.current);!0===t?e?.showLoading():e?.hideLoading()}}),[t]),(0,i.useEffect)((()=>{if(null!==l.current){const e=Wfe(l.current);e&&(e.setOption(n,r),s&&Object.keys(s).forEach((t=>{e.on(t,s[t])})))}}),[n,r,a,s]),i.createElement("div",{"data-testid":"echart-container",ref:l,style:{width:"100%",height:"100%",...o}})},bFe=e=>{let{showBar:t}=e;const{onSelect:n}=yC(),[r,o]=Ne(),{data:{dagRuns:a,groups:s,ordering:l}}=CC(),u=[],c={};a.forEach((e=>{u.push(e.runId)})),c.runId=u;const f=[],h=[],d=l[0]||l[1]||"startDate";s.children?.forEach((e=>{if(null===e.id)return;const n=e.id;h.push(n),t?f.push({name:n,type:"bar",stack:"x"}):f.push({name:n,type:"line"}),c[n]=e.instances.map((e=>moment.duration(e.startDate?Ty(e.startDate,e?.endDate):0).asSeconds()))}));const p=["runId"].concat(h);const g={legend:{orient:"horizontal",type:"scroll",icon:"circle",data:h},tooltip:{trigger:"axis",valueFormatter:function(e){return moment.utc(1e3*e).format("HH[h]:mm[m]:ss[s]")}},dataset:{dimensions:p,source:c},series:f,xAxis:{type:"category",show:!0,axisLabel:{formatter:e=>{const t=a.find((t=>t.runId===e));return t&&t[d]?moment(t[d]).format(ky):e}},name:(0,Yy.startCase)(d),nameLocation:"end",nameGap:0,nameTextStyle:{align:"right",verticalAlign:"top",padding:[30,0,0,0]}},yAxis:{type:"value",name:"Duration",axisLabel:{formatter:e=>moment.utc(1e3*e).format("HH[h]:mm[m]:ss[s]")}}},m={click(e){const t=new Ok(r);t.set("tab","details"),o(t),n({taskId:e.seriesName,runId:e.name})}};return i.createElement(mFe,{option:g,events:m})},vFe=()=>{const{selected:{taskId:e},onSelect:t}=yC(),{data:{dagRuns:n,groups:r,ordering:o}}=CC();let a=0,s="seconds",l=1;const u=nw({taskId:e,task:r});if(!u)return null;const c=o[0]||o[1]||"startDate",f=n.map((e=>{const{runId:t}=e,n=u.instances.find((e=>e&&e.runId===t));if(!n)return{};const r=moment.duration(n.startDate?Ty(n.startDate,n?.endDate):0),i=moment.duration(n.queuedDttm&&n.startDate&&n.startDate>n.queuedDttm?Ty(n.queuedDttm,n.startDate):0);r.asSeconds()>a&&(a=r.asSeconds()),a<=120?(s="seconds",l=1):a<=7200?(s="minutes",l=60):a<=172800?(s="hours",l=3600):(s="days",l=86400);const o=r.asSeconds(),f=i.asSeconds();return{...n,[c]:e?e[c]:n.startDate,runDuration:r,queuedDuration:i,runDurationUnit:o,queuedDurationUnit:f}}));const h={legend:{orient:"horizontal",icon:"circle",formatter:function(e){switch(e){case"runDurationUnit":return"Median total duration";case"queuedDurationUnit":return"Median queued duration";default:return e}},data:[{name:"runDurationUnit",itemStyle:{color:"blue"}},{name:"queuedDurationUnit",itemStyle:{color:stateColors.queued}}]},series:[{type:"bar",barMinHeight:.1,itemStyle:{color:stateColors.queued,opacity:.6},stack:"x",markLine:{silent:!0,data:[{type:"median",lineStyle:{color:stateColors.queued}}]}},{type:"bar",barMinHeight:1,itemStyle:{color:e=>stateColors[e.data.state]},stack:"x",markLine:{silent:!0,data:[{type:"median",lineStyle:{color:"blue"}}]}}],dataset:{dimensions:["runId","queuedDurationUnit","runDurationUnit"],source:f.map((e=>{if(e){const t=e;return{...t,queuedDurationUnit:t.queuedDurationUnit/l,runDurationUnit:t.runDurationUnit/l}}return e}))},tooltip:{trigger:"axis",formatter:function(e){const{data:t}=e[0],{runId:n,queuedDttm:r,startDate:i,state:o,endDate:a,tryNumber:l,queuedDurationUnit:u,runDurationUnit:f}=t;return`\n Run Id: ${n} <br>\n ${(0,Yy.startCase)(c)}: ${My(t[c])} <br>\n ${l&&l>-1?`Try Number: ${l} <br>`:""}\n State: ${o} <br>\n ${r?`Queued: ${My(r)} <br>`:""}\n Started: ${i&&My(i)} <br>\n Ended: ${a&&My(a||void 0)} <br>\n ${r?`Queued duration: ${u.toFixed(2)} ${s}<br>`:""}\n Run duration: ${f.toFixed(2)} ${s}<br>\n ${r?`Total duration: ${(u+f).toFixed(2)} ${s}<br>`:""}\n `},axisPointer:{type:"shadow"}},xAxis:{type:"category",show:!0,axisLabel:{formatter:e=>{const t=n.find((t=>t.runId===e));return t&&t[c]?moment(t[c]).format(ky):e}},name:(0,Yy.startCase)(c),nameLocation:"end",nameGap:0,nameTextStyle:{align:"right",verticalAlign:"top",padding:[30,0,0,0]}},yAxis:{type:"value",name:`Duration (${s})`}},d={click(e){t({taskId:e.data.taskId,runId:e.data.runId})}};return i.createElement(mFe,{option:h,events:d})},yFe=()=>{const{selected:{taskId:e}}=yC(),{data:{groups:t}}=CC(),n=nw({taskId:e,task:t});return i.createElement(Ow,{height:"50%"},i.createElement(sx,{as:"strong"},"Task Instance Duration"),i.createElement(vFe,null),i.createElement(sx,{as:"strong"},"Task Details"),i.createElement(nT,{variant:"striped",my:5},i.createElement(aT,null,i.createElement(lT,null,i.createElement(uT,null,"Operator"),i.createElement(uT,null,n?.operator)),i.createElement(lT,null,i.createElement(uT,null,"Trigger Rule"),i.createElement(uT,null,n?.triggerRule)))))};var wFe=(...e)=>e.filter(Boolean).join(" ");function xFe(e){const t=typeof e;return null!=e&&("object"===t||"function"===t)&&!Array.isArray(e)}var _Fe=e=>e?"":void 0,SFe=e=>!!e||void 0;function kFe(...e){return function(t){e.some((e=>(null==e||e(t),null==t?void 0:t.defaultPrevented)))}}function CFe(e={}){const{onChange:t,value:n,defaultValue:r,name:o,isDisabled:a,isFocusable:s,isNative:l,...u}=e,[c,f]=(0,i.useState)(r||""),h=void 0!==n,d=h?n:c,p=(0,i.useRef)(null),g=(0,i.useCallback)((()=>{const e=p.current;if(!e)return;let t="input:not(:disabled):checked";const n=e.querySelector(t);if(n)return void n.focus();t="input:not(:disabled)";const r=e.querySelector(t);null==r||r.focus()}),[]),m=(0,i.useId)(),b=o||`radio-${m}`,v=(0,i.useCallback)((e=>{const n=function(e){return e&&xFe(e)&&xFe(e.target)}(e)?e.target.value:e;h||f(n),null==t||t(String(n))}),[t,h]);return{getRootProps:(0,i.useCallback)(((e={},t=null)=>({...e,ref:fx(t,p),role:"radiogroup"})),[]),getRadioProps:(0,i.useCallback)(((e={},t=null)=>{const n=l?"checked":"isChecked";return{...e,ref:t,name:b,[n]:null!=d?e.value===d:void 0,onChange(e){v(e)},"data-radiogroup":!0}}),[l,b,v,d]),name:b,ref:p,focus:g,setValue:f,value:d,onChange:v,isDisabled:a,isFocusable:s,htmlProps:u}}var[EFe,IFe]=It({name:"RadioGroupContext",strict:!1}),MFe=Li(((e,t)=>{const{colorScheme:n,size:r,variant:o,children:a,className:s,isDisabled:l,isFocusable:u,...c}=e,{value:f,onChange:h,getRootProps:d,name:p,htmlProps:g}=CFe(c),m=(0,i.useMemo)((()=>({name:p,size:r,onChange:h,colorScheme:n,value:f,variant:o,isDisabled:l,isFocusable:u})),[p,r,h,n,f,o,l,u]);return i.createElement(EFe,{value:m},i.createElement(zi.div,{...d(g,t),className:wFe("chakra-radio-group",s)},a))}));MFe.displayName="RadioGroup";var TFe={border:"0",clip:"rect(0, 0, 0, 0)",height:"1px",width:"1px",margin:"-1px",padding:"0",overflow:"hidden",whiteSpace:"nowrap",position:"absolute"};function AFe(e){e.preventDefault(),e.stopPropagation()}var PFe=Li(((e,t)=>{const n=IFe(),{onChange:r,value:o}=e,a=Fi("Radio",{...n,...e}),s=Ur(e),{spacing:l="0.5rem",children:u,isDisabled:c=(null==n?void 0:n.isDisabled),isFocusable:f=(null==n?void 0:n.isFocusable),inputProps:h,...d}=s;let p=e.isChecked;null!=(null==n?void 0:n.value)&&null!=o&&(p=n.value===o);let g=r;(null==n?void 0:n.onChange)&&null!=o&&(g=function(...e){return function(t){e.forEach((e=>{null==e||e(t)}))}}(n.onChange,r));const m=(null==e?void 0:e.name)??(null==n?void 0:n.name),{getInputProps:b,getCheckboxProps:v,getLabelProps:y,getRootProps:w,htmlProps:x}=function(e={}){const{defaultChecked:t,isChecked:n,isFocusable:r,isDisabled:o,isReadOnly:a,isRequired:s,onChange:l,isInvalid:u,name:c,value:f,id:h,"data-radiogroup":d,"aria-describedby":p,...g}=e,m=`radio-${(0,i.useId)()}`,b=VT(),v=IFe();let y=!b||v||d?m:b.id;y=h??y;const w=o??(null==b?void 0:b.isDisabled),x=a??(null==b?void 0:b.isReadOnly),_=s??(null==b?void 0:b.isRequired),S=u??(null==b?void 0:b.isInvalid),[k,C]=(0,i.useState)(!1),[E,I]=(0,i.useState)(!1),[M,T]=(0,i.useState)(!1),[A,P]=(0,i.useState)(!1),[O,D]=(0,i.useState)(Boolean(t)),R=void 0!==n,L=R?n:O;(0,i.useEffect)((()=>fA(C)),[]);const N=(0,i.useCallback)((e=>{x||w?e.preventDefault():(R||D(e.target.checked),null==l||l(e))}),[R,w,x,l]),j=(0,i.useCallback)((e=>{" "===e.key&&P(!0)}),[P]),F=(0,i.useCallback)((e=>{" "===e.key&&P(!1)}),[P]),z=(0,i.useCallback)(((e={},t=null)=>({...e,ref:t,"data-active":_Fe(A),"data-hover":_Fe(M),"data-disabled":_Fe(w),"data-invalid":_Fe(S),"data-checked":_Fe(L),"data-focus":_Fe(E),"data-focus-visible":_Fe(E&&k),"data-readonly":_Fe(x),"aria-hidden":!0,onMouseDown:kFe(e.onMouseDown,(()=>P(!0))),onMouseUp:kFe(e.onMouseUp,(()=>P(!1))),onMouseEnter:kFe(e.onMouseEnter,(()=>T(!0))),onMouseLeave:kFe(e.onMouseLeave,(()=>T(!1)))})),[A,M,w,S,L,E,x,k]),{onFocus:B,onBlur:V}=b??{},$=(0,i.useCallback)(((e={},t=null)=>{const n=w&&!r;return{...e,id:y,ref:t,type:"radio",name:c,value:f,onChange:kFe(e.onChange,N),onBlur:kFe(V,e.onBlur,(()=>I(!1))),onFocus:kFe(B,e.onFocus,(()=>I(!0))),onKeyDown:kFe(e.onKeyDown,j),onKeyUp:kFe(e.onKeyUp,F),checked:L,disabled:n,readOnly:x,required:_,"aria-invalid":SFe(S),"aria-disabled":SFe(n),"aria-required":SFe(_),"data-readonly":_Fe(x),"aria-describedby":p,style:TFe}}),[w,r,y,c,f,N,V,B,j,F,L,x,_,S,p]);return{state:{isInvalid:S,isFocused:E,isChecked:L,isActive:A,isHovered:M,isDisabled:w,isReadOnly:x,isRequired:_},getCheckboxProps:z,getInputProps:$,getLabelProps:(e={},t=null)=>({...e,ref:t,onMouseDown:kFe(e.onMouseDown,AFe),onTouchStart:kFe(e.onTouchStart,AFe),"data-disabled":_Fe(w),"data-checked":_Fe(L),"data-invalid":_Fe(S)}),getRootProps:(e,t=null)=>({...e,ref:t,"data-disabled":_Fe(w),"data-checked":_Fe(L),"data-invalid":_Fe(S)}),htmlProps:g}}({...d,isChecked:p,isFocusable:f,isDisabled:c,onChange:g,name:m}),[_,S]=function(e,t){const n={},r={};for(const[i,o]of Object.entries(e))t.includes(i)?n[i]=o:r[i]=o;return[n,r]}(x,Lr),k=v(S),C=b(h,t),E=y(),I=Object.assign({},_,w()),M={display:"inline-flex",alignItems:"center",verticalAlign:"top",cursor:"pointer",position:"relative",...a.container},T={display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:0,...a.control},A={userSelect:"none",marginStart:l,...a.label};return i.createElement(zi.label,{className:"chakra-radio",...I,__css:M},i.createElement("input",{className:"chakra-radio__input",...C}),i.createElement(zi.span,{className:"chakra-radio__control",...k,__css:T}),u&&i.createElement(zi.span,{className:"chakra-radio__label",...E,__css:A},u))}));PFe.displayName="Radio";var OFe=["allowCreateWhileLoading","createOptionPosition","formatCreateLabel","isValidNewOption","getNewOptionData","onCreateOption","options","onChange"],DFe=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0,r=String(e).toLowerCase(),i=String(n.getOptionValue(t)).toLowerCase(),o=String(n.getOptionLabel(t)).toLowerCase();return i===r||o===r},RFe={formatCreateLabel:function(e){return'Create "'.concat(e,'"')},isValidNewOption:function(e,t,n,r){return!(!e||t.some((function(t){return DFe(e,t,r)}))||n.some((function(t){return DFe(e,t,r)})))},getNewOptionData:function(e,t){return{label:t,value:e,__isNew__:!0}}};var LFe=(0,i.forwardRef)((function(e,t){var n=function(e){var t=e.allowCreateWhileLoading,n=void 0!==t&&t,r=e.createOptionPosition,o=void 0===r?"last":r,a=e.formatCreateLabel,s=void 0===a?RFe.formatCreateLabel:a,l=e.isValidNewOption,u=void 0===l?RFe.isValidNewOption:l,c=e.getNewOptionData,f=void 0===c?RFe.getNewOptionData:c,h=e.onCreateOption,d=e.options,p=void 0===d?[]:d,g=e.onChange,m=oQ(e,OFe),b=m.getOptionValue,v=void 0===b?QJ:b,y=m.getOptionLabel,w=void 0===y?ZJ:y,x=m.inputValue,_=m.isLoading,S=m.isMulti,k=m.value,C=m.name,E=(0,i.useMemo)((function(){return u(x,EQ(k),p,{getOptionValue:v,getOptionLabel:w})?f(x,s(x)):void 0}),[s,f,w,v,x,u,p,k]),I=(0,i.useMemo)((function(){return!n&&_||!E?p:"first"===o?[E].concat(yJ(p)):[].concat(yJ(p),[E])}),[n,o,_,E,p]),M=(0,i.useCallback)((function(e,t){if("select-option"!==t.action)return g(e,t);var n=Array.isArray(e)?e:[e];if(n[n.length-1]!==E)g(e,t);else if(h)h(x);else{var r=f(x,x),i={action:"create-option",name:C,option:r};g(zQ(S,[].concat(yJ(EQ(k)),[r]),r),i)}}),[f,x,S,C,E,h,g,k]);return vQ(vQ({},m),{},{options:I,onChange:M})}(vJ(e));return i.createElement(d0,iQ({ref:t},n))}));const NFe=LFe;function jFe(){return jFe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},jFe.apply(this,arguments)}const FFe=(0,i.forwardRef)((function(e,t){var n=k1(e);return i.createElement(NFe,jFe({ref:t},n))}));const zFe=function(e,t){return{columns:t.map((e=>({...e,cell:()=>i.createElement(Wz,{"data-testid":"skeleton",width:e.meta?.skeletonWidth||200,height:"10px",display:"inline-block"})}))),data:[...Array(e)].map((()=>({})))}},BFe=e=>(0,Yy.pick)(e,"pagination","sorting","globalFilter"),VFe=e=>{let{data:t,columns:n,initialState:r,onStateChange:o,resultCount:a,isLoading:s=!1,isFetching:l=!1,onRowClicked:u,skeletonCount:c=10}=e;const f=(0,i.useRef)({tableRef:void 0}),h=$t("gray.50","gray.900"),d=$t("gray.100","gray.700"),p=(0,i.useCallback)((e=>{if(f.current.tableRef&&o){const t=f.current.tableRef.getState(),n="function"==typeof e?e(t):e,r=BFe(t),i=BFe(n);(0,Yy.isEqual)(r,i)||o(i)}}),[o]),g=function(e){const t={state:{},onStateChange:()=>{},renderFallbackValue:null,...e},[n]=i.useState((()=>({current:BB(t)}))),[r,o]=i.useState((()=>n.current.initialState));return n.current.setOptions((t=>({...t,...e,state:{...r,...e.state},onStateChange:t=>{o(t),null==e.onStateChange||e.onStateChange(t)}}))),n.current}({columns:n,data:t,initialState:{...r,pagination:{pageIndex:0,pageSize:25,...r?.pagination}},...s?zFe(c,n):{},rowCount:a,manualPagination:!0,manualSorting:!0,getCoreRowModel:e=>Zz((()=>[e.options.data]),(t=>{const n={rows:[],flatRows:[],rowsById:{}},r=function(t,i,o){void 0===i&&(i=0);const a=[];for(let l=0;l<t.length;l++){const u=VB(e,e._getRowId(t[l],l,o),t[l],l,i,void 0,null==o?void 0:o.id);var s;n.flatRows.push(u),n.rowsById[u.id]=u,a.push(u),e.options.getSubRows&&(u.originalSubRows=e.options.getSubRows(t[l],l),null!=(s=u.originalSubRows)&&s.length&&(u.subRows=r(u.originalSubRows,i+1,u)))}return a};return n.rows=r(t),n}),Qz(e.options,"debugTable",0,(()=>e._autoResetPageIndex()))),getPaginationRowModel:e=>Zz((()=>[e.getState().pagination,e.getPrePaginationRowModel(),e.options.paginateExpandedRows?void 0:e.getState().expanded]),((t,n)=>{if(!n.rows.length)return n;const{pageSize:r,pageIndex:i}=t;let{rows:o,flatRows:a,rowsById:s}=n;const l=r*i,u=l+r;let c;o=o.slice(l,u),c=e.options.paginateExpandedRows?{rows:o,flatRows:a,rowsById:s}:$B({rows:o,flatRows:a,rowsById:s}),c.flatRows=[];const f=e=>{c.flatRows.push(e),e.subRows.length&&e.subRows.forEach(f)};return c.rows.forEach(f),c}),Qz(e.options,"debugTable")),getSortedRowModel:e=>Zz((()=>[e.getState().sorting,e.getPreSortedRowModel()]),((t,n)=>{if(!n.rows.length||null==t||!t.length)return n;const r=e.getState().sorting,i=[],o=r.filter((t=>{var n;return null==(n=e.getColumn(t.id))?void 0:n.getCanSort()})),a={};o.forEach((t=>{const n=e.getColumn(t.id);n&&(a[t.id]={sortUndefined:n.columnDef.sortUndefined,invertSorting:n.columnDef.invertSorting,sortingFn:n.getSortingFn()})}));const s=e=>{const t=e.map((e=>({...e})));return t.sort(((e,t)=>{for(let r=0;r<o.length;r+=1){var n;const i=o[r],s=a[i.id],l=null!=(n=null==i?void 0:i.desc)&&n;let u=0;if(s.sortUndefined){const n=void 0===e.getValue(i.id),r=void 0===t.getValue(i.id);(n||r)&&(u=n&&r?0:n?s.sortUndefined:-s.sortUndefined)}if(0===u&&(u=s.sortingFn(e,t,i.id)),0!==u)return l&&(u*=-1),s.invertSorting&&(u*=-1),u}return e.index-t.index})),t.forEach((e=>{var t;i.push(e),null!=(t=e.subRows)&&t.length&&(e.subRows=s(e.subRows))})),t};return{rows:s(n.rows),flatRows:i,rowsById:n.rowsById}}),Qz(e.options,"debugTable",0,(()=>e._autoResetPageIndex()))),onStateChange:p});f.current.tableRef=g;const m=a||t.length,{pageIndex:b,pageSize:v}=g.getState().pagination,y=Math.min(b*v+1,m),w=Math.min((b+1)*v,b*v+t.length,m),x=g.getCanPreviousPage(),_=g.getCanNextPage()&&t.length===v;return i.createElement(i.Fragment,null,i.createElement(nT,null,i.createElement(oT,null,g.getHeaderGroups().map((e=>i.createElement(lT,{key:e.id},e.headers.map((e=>{let{id:t,colSpan:n,column:r,isPlaceholder:o,getContext:a}=e;const s=r.getIsSorted(),l=r.getCanSort();return i.createElement(sT,{key:t,colSpan:n,whiteSpace:"nowrap",cursor:r.getCanSort()?"pointer":void 0,onClick:r.getToggleSortingHandler()},o?null:HB(r.columnDef.header,a()),l&&!s&&i.createElement(Sz,{"aria-label":"unsorted",style:{display:"inline"},size:"1em"}),l&&s&&("desc"===s?i.createElement(xz,{"aria-label":"sorted descending",style:{display:"inline"},size:"1em"}):i.createElement(_z,{"aria-label":"sorted ascending",style:{display:"inline"},size:"1em"})))})))))),i.createElement(aT,null,g.getRowModel().rows.map((e=>i.createElement(lT,{key:e.id,_odd:{backgroundColor:h},_hover:u&&{backgroundColor:d,cursor:"pointer"},onClick:u?t=>u(e,t):void 0},e.getVisibleCells().map((e=>i.createElement(uT,{key:e.id,py:3},HB(e.column.columnDef.cell,e.getContext()))))))))),i.createElement(ox,{spacing:4,mt:4},w&&i.createElement(Ow,{fontSize:"sm"},y,"-",w,w!==m&&` out of ${m} total`),(x||_)&&i.createElement(k_,{size:"sm",isAttached:!0,variant:"outline"},i.createElement(w_,{leftIcon:i.createElement(IO,null),colorScheme:"gray","aria-label":"Previous Page",isDisabled:!x,onClick:()=>{g.previousPage()}},"Prev"),i.createElement(w_,{rightIcon:i.createElement(MO,null),colorScheme:"gray","aria-label":"Next Page",isDisabled:!_,onClick:()=>{g.nextPage()}},"Next"),l&&i.createElement(Gc,{ml:2,mt:4,size:"sm"}))))},$Fe={pagination:{pageIndex:0,pageSize:25},sorting:[]},HFe=e=>{const[t,n]=Ne(),r=(0,i.useCallback)((e=>{n(((e,t)=>{const n=new URLSearchParams(window.location.search);return(0,Yy.isEqual)(e.pagination,t?.pagination)?(n.delete(dC),n.delete(pC)):e.pagination&&(n.set(dC,`${e.pagination.pageSize}`),n.set(pC,`${e.pagination.pageIndex}`)),(0,Yy.isEqual)(e.sorting,t?.sorting)?e.sorting.forEach((e=>{let{id:t}=e;n.delete(`sort.${t}`)})):e.sorting&&e.sorting.forEach((e=>{let{id:t,desc:r}=e;n.set(`sort.${t}`,r?"desc":"asc")})),n})(e,$Fe),{replace:!0})}),[n]),o=(0,i.useMemo)((()=>((e,t)=>{let n={};const r=e.get(pC),i=e.get(dC);r&&i&&(n={...n,pagination:{pageIndex:parseInt(r,10),pageSize:parseInt(i,10)}});const o=[];return e.forEach(((e,t)=>{t.startsWith(gC)&&o.push({id:t.replace(gC,""),desc:"desc"===e})})),o.length&&(n={...n,sorting:o}),{...t,...n}})(t,{...$Fe,...e})),[t,e]),a=(0,i.useMemo)((()=>(e=>{let t={};if(e?.pagination){const{pageIndex:n,pageSize:r}=e.pagination;t={...t,limit:r,offset:n*r}}if(e?.sorting){const n=e.sorting.map((e=>{let{id:t,desc:n}=e;return`${t}:${n?"desc":"asc"}`}));t={...t,sorts:n}}return t})(o)),[o]);return{tableURLState:o,requestParams:a,setTableURLState:r}},GFe=e=>{let{getValue:t}=e;const n=t();return i.createElement(qO,{dateTime:n})},WFe=e=>{let{getValue:t}=e;const n=t();return n?i.createElement(jw,null,n):null};var UFe=Li((function(e,t){const{htmlSize:n,...r}=e,o=Fi("Input",r),a=GT(Ur(r)),s=Bc("chakra-input",e.className);return i.createElement(zi.input,{size:n,...a,__css:o.field,ref:t,className:s})}));UFe.displayName="Input",UFe.id="Input";var[qFe,XFe]=It({name:"InputGroupStylesContext",errorMessage:"useInputGroupStyles returned is 'undefined'. Seems you forgot to wrap the components in \"<InputGroup />\" "}),YFe=Li((function(e,t){const n=Fi("Input",e),{children:r,className:o,...a}=Ur(e),s=Bc("chakra-input__group",o),l={},u=Tw(r),c=n.field;u.forEach((e=>{n&&(c&&"InputLeftElement"===e.type.id&&(l.paddingStart=c.height??c.h),c&&"InputRightElement"===e.type.id&&(l.paddingEnd=c.height??c.h),"InputRightAddon"===e.type.id&&(l.borderEndRadius=0),"InputLeftAddon"===e.type.id&&(l.borderStartRadius=0))}));const f=u.map((t=>{var n,r;const o=Mw({size:(null==(n=t.props)?void 0:n.size)||e.size,variant:(null==(r=t.props)?void 0:r.variant)||e.variant});return"Input"!==t.type.id?(0,i.cloneElement)(t,o):(0,i.cloneElement)(t,Object.assign(o,l,t.props))}));return i.createElement(zi.div,{className:s,ref:t,__css:{width:"100%",display:"flex",position:"relative"},...a},i.createElement(qFe,{value:n},f))}));YFe.displayName="InputGroup";var KFe={left:{marginEnd:"-1px",borderEndRadius:0,borderEndColor:"transparent"},right:{marginStart:"-1px",borderStartRadius:0,borderStartColor:"transparent"}},ZFe=zi("div",{baseStyle:{flex:"0 0 auto",width:"auto",display:"flex",alignItems:"center",whiteSpace:"nowrap"}}),QFe=Li((function(e,t){const{placement:n="left",...r}=e,o=KFe[n]??{},a=XFe();return i.createElement(ZFe,{ref:t,...r,__css:{...a.addon,...o}})}));QFe.displayName="InputAddon";var JFe=Li((function(e,t){return i.createElement(QFe,{ref:t,placement:"left",...e,className:Bc("chakra-input__left-addon",e.className)})}));JFe.displayName="InputLeftAddon",JFe.id="InputLeftAddon";var eze=Li((function(e,t){return i.createElement(QFe,{ref:t,placement:"right",...e,className:Bc("chakra-input__right-addon",e.className)})}));eze.displayName="InputRightAddon",eze.id="InputRightAddon";var tze=zi("div",{baseStyle:{display:"flex",alignItems:"center",justifyContent:"center",position:"absolute",top:"0",zIndex:2}}),nze=Li((function(e,t){const{placement:n="left",...r}=e,o=XFe(),a=o.field,s={["left"===n?"insetStart":"insetEnd"]:"0",width:(null==a?void 0:a.height)??(null==a?void 0:a.h),height:(null==a?void 0:a.height)??(null==a?void 0:a.h),fontSize:null==a?void 0:a.fontSize,...o.element};return i.createElement(tze,{ref:t,__css:s,...r})}));nze.id="InputElement",nze.displayName="InputElement";var rze=Li((function(e,t){const{className:n,...r}=e,o=Bc("chakra-input__left-element",n);return i.createElement(nze,{ref:t,placement:"left",className:o,...r})}));rze.id="InputLeftElement",rze.displayName="InputLeftElement";var ize=Li((function(e,t){const{className:n,...r}=e,o=Bc("chakra-input__right-element",n);return i.createElement(nze,{ref:t,placement:"right",className:o,...r})}));ize.id="InputRightElement",ize.displayName="InputRightElement";const oze=e=>{const t=navigator.userAgent.toLowerCase();if(!(t.includes("firefox")||t.includes("safari")))return i.createElement(UFe,Fe({type:"datetime-local"},e));const{value:n,onChange:r,...o}=e;let a=moment(n);a=a.isValid()?a:moment();const s=moment(a).format("YYYY-MM-DD"),l=moment(a).format("HH:mm:ss");return i.createElement(Bw,null,i.createElement(UFe,Fe({type:"date",value:s,onChange:e=>{r&&r({...e,target:{...e.target,value:`${e.target.value}T${l}`}})}},o,{borderRightWidth:0,borderRightRadius:0,paddingInlineEnd:0})),i.createElement(UFe,Fe({type:"time",value:l,onChange:e=>{r&&r({...e,target:{...e.target,value:`${s}T${e.target.value}`}})}},o,{borderLeftWidth:0,borderLeftRadius:0,paddingInlineStart:0})))},aze=Qy("excluded_audit_log_events"),sze=Qy("included_audit_log_events"),lze=Qy("dag_id")||void 0,uze={accessor:(e,t)=>"function"==typeof e?{...t,accessorFn:e}:{...t,accessorKey:e},display:e=>e,group:e=>e},cze=e=>{let{taskId:t,run:n,showMapped:r}=e;const o=(0,i.useRef)(null),a=Ky(o),{tableURLState:s,setTableURLState:l}=HFe({sorting:[{id:"when",desc:!0}]}),u=sze.length?sze.split(","):[],c=aze.length?aze.split(","):[];let f="include",h=u;!u.length&&c.length&&(f="exclude",h=c);const[d,p]=(0,i.useState)(f),[g,m]=(0,i.useState)(h),[b,v]=(0,i.useState)(""),[y,w]=(0,i.useState)(""),x=s.sorting[0],_=x?`${x.desc?"-":""}${(0,Yy.snakeCase)(x.id)}`:"",{timezone:S}=Dy(),k=moment(b).tz(S).format(Cy),C=moment(y).tz(S).format(Cy),{data:E,isLoading:I,isFetching:M,refetch:T}=function(e){let{dagId:t,taskId:n,runId:r,limit:i,offset:o,orderBy:a,after:s,before:l,owner:u,includedEvents:c,excludedEvents:f}=e;const{isRefreshOn:h}=hw();return(0,py.useQuery)(["eventLogs",t,n,r,i,o,a,s,l,u,f,c],(()=>{const e=Qy("event_logs_api"),u=a?{order_by:a}:{},h=f?{excluded_events:f}:{},d=c?{included_events:c}:{};return Mk.get(e,{params:{offset:o,limit:i,dag_id:t,task_id:n,run_id:r,...u,...h,...d,after:s,before:l}})}),{refetchInterval:h&&1e3*(autoRefreshInterval||1),keepPreviousData:!0})}({dagId:lze,taskId:t,runId:n?.runId||void 0,before:b?moment(b).format():void 0,after:y?moment(y).format():void 0,orderBy:_,limit:s.pagination.pageSize,offset:s.pagination.pageIndex*s.pagination.pageSize,includedEvents:"include"===d&&g?g.join(","):void 0,excludedEvents:"exclude"===d&&g?g.join(","):void 0}),A=(0,i.useMemo)((()=>{const e=uze.accessor("when",{header:"When",cell:GFe}),i=uze.accessor("taskId",{header:"Task Id",meta:{skeletonWidth:20}}),o=uze.accessor("runId",{header:"Run Id"}),a=uze.accessor("mapIndex",{header:"Map Index",enableSorting:!1,meta:{skeletonWidth:10},cell:e=>-1===e.getValue()?void 0:e.getValue()}),s=[uze.accessor("tryNumber",{header:"Try Number",enableSorting:!1,meta:{skeletonWidth:10}}),uze.accessor("event",{header:"Event",meta:{skeletonWidth:40}}),uze.accessor("owner",{header:"User",meta:{skeletonWidth:20}}),uze.accessor("extra",{header:"Details",cell:WFe})];return[e,...n?[]:[o],...t?[]:[i],...r?[a]:[],...s]}),[t,n,r]),P=(0,i.useMemo)((()=>E?.eventLogs),[E?.eventLogs]),O=k1({isMulti:!0,noOptionsMessage:()=>"Type to add new event",tagVariant:"solid",value:g.map((e=>({label:e,value:e}))),onChange:e=>{m((e||[]).map((e=>{let{value:t}=e;return t})))},chakraStyles:{dropdownIndicator:e=>({...e,display:"none"}),indicatorSeparator:e=>({...e,display:"none"}),menuList:e=>({...e,py:0})}});return i.createElement(Ow,{height:"100%",maxHeight:`calc(100% - ${a}px)`,ref:o,overflowY:"auto"},i.createElement(Bw,{justifyContent:"right",mb:2},i.createElement(C_,{"aria-label":"Refresh",icon:i.createElement(OO,null),onClick:()=>T(),variant:"outline",colorScheme:"blue",mr:2}),i.createElement(RF,{href:Qy("audit_log_url")},"View full cluster Audit Log")),i.createElement(ex,{columns:4,columnGap:2},i.createElement($T,null,i.createElement(KT,null,"Show Logs After"),i.createElement(oze,{value:C,onChange:e=>w(e.target.value)})),i.createElement($T,null,i.createElement(KT,null,"Show Logs Before"),i.createElement(oze,{value:k,onChange:e=>v(e.target.value)})),i.createElement($T,null,i.createElement(KT,{display:"flex",alignItems:"center"},"Events to",i.createElement(MFe,{onChange:p,value:d,display:"inline-flex",ml:2},i.createElement(ix,{direction:"row"},i.createElement(PFe,{value:"include"},"Include"),i.createElement(PFe,{value:"exclude"},"Exclude")))),i.createElement(FFe,O))),i.createElement(VFe,{key:`${t}-${n?.runId}`,data:P||[],columns:A,isLoading:I,isFetching:M,initialState:s,onStateChange:l,resultCount:E?.totalEntries}))},fze=e=>{let{showLandingTimes:t}=e;const{onSelect:n}=yC(),{data:{dagRuns:r,ordering:o}}=CC();let a=0,s="seconds",l=1;const u=o[0]||o[1]||"startDate",c=r.map((e=>{const n=moment.duration(Ty(e.dataIntervalEnd,e.queuedAt||e.startDate)),r=moment.duration(e.startDate?Ty(e.startDate,e?.endDate):0),i=moment.duration(e.queuedAt&&e.startDate&&e.startDate>e.queuedAt?Ty(e.queuedAt,e.startDate):0);t?n.asSeconds()>a&&(a=n.asSeconds()):r.asSeconds()>a&&(a=r.asSeconds()),a<=120?(s="seconds",l=1):a<=7200?(s="minutes",l=60):a<=172800?(s="hours",l=3600):(s="days",l=86400);const o=n.asSeconds(),u=i.asSeconds(),c=r.asSeconds();return{...e,landingDuration:n,runDuration:r,queuedDuration:i,landingDurationUnit:o,runDurationUnit:c,queuedDurationUnit:u}}));const f={series:[...t?[{type:"bar",barMinHeight:.1,itemStyle:{color:stateColors.scheduled,opacity:.6},stack:"x"}]:[],{type:"bar",barMinHeight:.1,itemStyle:{color:stateColors.queued,opacity:.6},stack:"x"},{type:"bar",barMinHeight:1,itemStyle:{opacity:1,color:e=>stateColors[e.data.state]},stack:"x"}],dataset:{dimensions:["runId",...t?["landingDurationUnit"]:[],"queuedDurationUnit","runDurationUnit"],source:c.map((e=>{if(e){const t=e;return{...t,landingDurationUnit:t.landingDurationUnit/l,queuedDurationUnit:t.queuedDurationUnit/l,runDurationUnit:t.runDurationUnit/l}}return e}))},tooltip:{trigger:"axis",formatter:function(e){const{data:t}=e[0],{runId:n,queuedAt:r,startDate:i,logicalDate:o,dataIntervalStart:a,dataIntervalEnd:l,state:u,endDate:c,queuedDurationUnit:f,runDurationUnit:h,landingDurationUnit:d}=t;return`\n Run Id: ${n} <br>\n State: ${u} <br>\n Logical Date: ${My(o)} <br>\n Data Interval Start: ${My(a)} <br>\n Data Interval End: ${My(l)} <br>\n ${r?`Queued: ${My(r)} <br>`:""}\n Started: ${i&&My(i)} <br>\n Ended: ${c&&My(c||void 0)} <br>\n Landing Time: ${d.toFixed(2)} ${s}<br>\n ${r?`Queued duration: ${f.toFixed(2)} ${s}<br>`:""}\n Run duration: ${h.toFixed(2)} ${s}<br>\n Total duration: ${(d+f+h).toFixed(2)} ${s}<br>\n `},axisPointer:{type:"shadow"}},xAxis:{type:"category",show:!0,axisLabel:{formatter:e=>{const t=r.find((t=>t.runId===e));return t&&t[u]?moment(t[u]).format(ky):e}},name:(0,Yy.startCase)(u),nameLocation:"end",nameGap:0,nameTextStyle:{align:"right",verticalAlign:"top",padding:[30,0,0,0]}},yAxis:{type:"value",name:`Duration (${s})`}},h={click(e){n({runId:e.data.runId})}};return i.createElement(mFe,{option:f,events:h})},hze="showLandingTimes",dze=()=>{const e=localStorage.getItem(hze),[t,n]=(0,i.useState)(!e||JSON.parse(e));return i.createElement(Ow,{height:"50%"},i.createElement(Bw,{justifyContent:"right",pr:"30px"},i.createElement(IA,{isChecked:t,onChange:()=>{localStorage.setItem(hze,(!t).toString()),n(!t)},size:"lg"},"Show Landing Times"),i.createElement(jO,{label:"Landing Time is the difference between the Data Interval End and the start of the Dag Run",size:16})),i.createElement(fze,{showLandingTimes:t}))},pze=()=>{const{onBaseDateChange:e}=lC(),{data:t,isLoading:n}=KC();if(n)return i.createElement(Gc,null);if(!t)return null;const{dagStates:r}=t;if(r.length<1)return i.createElement(sx,null,"Calendar view requires at least one DAG Run.");const o=r[0].date,a=r[r.length-1].date,s=moment(o).year(),l=moment(a).year(),u=[],c=[],f={},h={};r.forEach((e=>{"planned"!==e.state?f[e.date]={...f[e.date],[e.state]:e.count}:h[e.date]={[e.state]:e.count}}));const d=Object.keys(f).map((e=>{const t=e,n=f[e],r=(n.failed||0)+(n.success||0)+(n.running||0),i=((n.success||0)+(n.running||0))/r;return[t,Math.round(100*i)]}));if(s!==l)for(let e=l;e>=s;e-=1){const t=l-e,n=e===s?o:`${e}-01-01`,i=`${e}-12-31`;u.push({left:100,top:150*t+20,range:[n,i],cellSize:15}),c.push({calendarIndex:t,type:"heatmap",coordinateSystem:"calendar",data:d.filter((t=>"string"==typeof t[0]&&t[0].startsWith(e.toString())))}),c.push({calendarIndex:t,type:"scatter",coordinateSystem:"calendar",symbolSize:4,data:r.filter((t=>t.date.startsWith(e.toString())&&"planned"===t.state)).map((e=>[e.date,e.count]))})}else u.push({top:20,left:100,range:[o,`${l}-12-31`],cellSize:15}),c.push({type:"heatmap",coordinateSystem:"calendar",data:d}),c.push({type:"scatter",coordinateSystem:"calendar",symbolSize:()=>4,data:r.filter((e=>"planned"===e.state)).map((e=>[e.date,e.count]))});const p=[],g=[];c.forEach(((e,t)=>{"heatmap"===e.type?g.push(t):"scatter"===e.type&&p.push(t)}));const m={tooltip:{formatter:e=>{const t=e.data[0],n=f[t],r="scatter"===e.componentSubType?e.data[1]:h[t]?.planned||0;return`\n <strong>${moment(t).format("ddd YYYY-MM-DD")}</strong> <br>\n ${r?`Planned ${r} <br>`:""}\n ${n?.failed?`Failed ${n.failed} <br>`:""}\n ${n?.running?`Running ${n.running} <br>`:""}\n ${n?.success?`Success ${n.success} <br>`:""}\n `}},visualMap:[{min:0,max:100,text:["% Success","Failed"],calculable:!0,orient:"vertical",left:"0",top:"0",seriesIndex:g,inRange:{color:[stateColors.failed,stateColors.up_for_retry,stateColors.success]}},{seriesIndex:p,inRange:{color:"gray",opacity:.6},show:!1}],calendar:u,series:c},b={click(t){e(t.data[0])}};return i.createElement(Ow,{height:165*u.length+"px",width:"900px"},i.createElement(Bw,null,i.createElement(jO,{label:"Only showing the next year of planned DAG runs or the next 2000 runs, whichever comes first.",size:16})),i.createElement(mFe,{option:m,events:b}))};var gze=a(1370);const mze="True"===Qy("k8s_or_k8scelery_executor"),bze=()=>{const{selected:{runId:e,taskId:t,mapIndex:n}}=yC(),{data:r}=QC(e,t,n),o=(0,i.useRef)(null),a=Ky(o);return mze&&e&&t?i.createElement(jw,{mt:3,ref:o,maxHeight:`calc(100% - ${a}px)`,overflowY:"auto"},i.createElement("pre",null,gze.stringify(r))):null},vze=Qy("dag_id"),yze="True"===Qy("k8s_or_k8scelery_executor"),wze=(e,t,n,r,i)=>{const o=!(!n||!t||r||i);switch(e){case 0:return"details";case 1:return"graph";case 2:return"gantt";case 3:return"code";case 4:return"event_log";case 5:return i?"mapped_tasks":o?"logs":t||n?void 0:"run_duration";case 6:return t||n?o?"xcom":void 0:"task_duration";case 7:return t||n?o&&yze?"rendered_k8s":void 0:"calendar";default:return}},xze="tab",_ze=e=>{let{openGroupIds:t,onToggleGroups:n,hoveredTaskState:r,gridScrollRef:o,ganttScrollRef:a}=e;const{selected:{runId:s,taskId:l,mapIndex:u},onSelect:c}=yC(),f=!s&&!l,h=s&&!l,{data:{dagRuns:d,groups:p}}=CC(),g=nw({taskId:l,task:p}),m=g?.children,b=g?.isMapped,v=!!m,[y,w]=(0,i.useState)(!1),x=!(!l||!s||v||!b||void 0!==u),_=!(!l||!s||v||x),S=!!l&&!s,k=!!l&&!g,[C,E]=Ne(),I=(e=>{switch(e){case"graph":return 1;case"gantt":return 2;case"code":return 3;case"event_log":case"audit_log":return 4;case"logs":case"mapped_tasks":case"run_duration":return 5;case"xcom":case"task_duration":return 6;case"calendar":case"rendered_k8s":return 7;default:return 0}})(C.get(xze)||void 0),M=(0,i.useCallback)((e=>{const t=new Ok(C),n=wze(e,s,l,v,x);n?t.set(xze,n):t.delete(xze),E(t)}),[E,C,s,l,v,x]);(0,i.useEffect)((()=>{void 0===wze(I,s,l,v,x)&&M(S?0:1)}),[I,s,l,v,x,S,M]);const T=d.find((e=>e.runId===s)),{data:A}=zC({dagId:vze,dagRunId:s||"",taskId:l||"",mapIndex:u,options:{enabled:void 0!==u}}),P=void 0!==u&&u>-1?A:g?.instances.find((e=>e.runId===s));return i.createElement(Bw,{flexDirection:"column",height:"100%"},i.createElement(Bw,{alignItems:"center",justifyContent:"space-between",flexWrap:"wrap"},i.createElement(eD,{mapIndex:A?.renderedMapIndex||A?.mapIndex}),i.createElement(Bw,{flexWrap:"wrap"},s&&!l&&i.createElement(i.Fragment,null,i.createElement($1,{runId:s,mr:2}),i.createElement(q1,{runId:s,state:T?.state})),s&&l&&!k&&i.createElement(i.Fragment,null,i.createElement(a2,{taskId:l,runId:s,executionDate:T?.executionDate||"",isGroup:v,isMapped:b,mapIndex:u,mt:2,mr:2}),i.createElement(f2,{taskId:l,runId:s,state:P?.state&&"none"!==P?.state?P.state:void 0,isGroup:v,isMapped:b,mapIndex:u,mt:2,mr:2})),i.createElement(F1,{taskId:l}))),i.createElement(zw,{my:2}),i.createElement(MT,{size:"lg",isLazy:!0,height:"100%",index:I,onChange:M},i.createElement(AT,null,i.createElement(DT,null,i.createElement(TO,{size:16}),i.createElement(sx,{as:"strong",ml:1},"Details")),i.createElement(DT,null,i.createElement(DO,{size:16}),i.createElement(sx,{as:"strong",ml:1},"Graph")),i.createElement(DT,null,i.createElement(LO,{size:16}),i.createElement(sx,{as:"strong",ml:1},"Gantt")),i.createElement(DT,null,i.createElement(bO,{size:16}),i.createElement(sx,{as:"strong",ml:1},"Code")),i.createElement(DT,null,i.createElement(NO,{size:16}),i.createElement(sx,{as:"strong",ml:1},"Event Log")),f&&i.createElement(DT,null,i.createElement(EO,{size:16}),i.createElement(sx,{as:"strong",ml:1},"Run Duration")),f&&i.createElement(DT,null,i.createElement(EO,{size:16}),i.createElement(sx,{as:"strong",ml:1},"Task Duration")),f&&i.createElement(DT,null,i.createElement(yO,{size:16}),i.createElement(sx,{as:"strong",ml:1},"Calendar")),_&&i.createElement(DT,null,i.createElement(_O,{size:16}),i.createElement(sx,{as:"strong",ml:1},"Logs")),x&&i.createElement(DT,null,i.createElement(FO,{size:16}),i.createElement(sx,{as:"strong",ml:1},"Mapped Tasks")),_&&i.createElement(DT,null,i.createElement(SO,{size:16}),i.createElement(sx,{as:"strong",ml:1},"XCom")),_&&yze&&i.createElement(DT,null,i.createElement(zO,{size:16}),i.createElement(sx,{as:"strong",ml:1},"K8s Pod Spec")),!!l&&!!s&&i.createElement(w_,{variant:"unstyled",display:"flex",alignItems:"center",fontSize:"lg",py:3,pl:4,pr:4,mt:"4px",onClick:()=>{M(0),c({taskId:l})},isDisabled:k},i.createElement(EO,{size:16}),i.createElement(sx,{as:"strong",ml:1},"Task Duration"))),i.createElement(OT,{height:"100%"},i.createElement(PT,{height:"100%"},f&&i.createElement(SV,null),h&&i.createElement(vV,{runId:s}),!!s&&!!l&&i.createElement(i.Fragment,null,i.createElement(j1,{isMapIndexDefined:void 0!==u&&u>-1,onClick:()=>c({runId:s,taskId:l})}),i.createElement(hV,{runId:s,taskId:l,mapIndex:u})),S&&i.createElement(yFe,null)),i.createElement(PT,{p:0,height:"100%"},i.createElement(fZ,{openGroupIds:t,onToggleGroups:n,hoveredTaskState:r})),i.createElement(PT,{p:0,height:"100%"},i.createElement(bZ,{openGroupIds:t,gridScrollRef:o,ganttScrollRef:a,taskId:l,runId:s})),i.createElement(PT,{height:"100%"},i.createElement(eQ,null)),i.createElement(PT,{height:"100%"},i.createElement(cze,{taskId:v||!l?void 0:l,showMapped:b||!l,run:T})),f&&i.createElement(PT,{height:"100%"},i.createElement(dze,null)),f&&i.createElement(PT,{height:"80%"},i.createElement(Bw,{justifyContent:"right",pr:"30px"},i.createElement(IA,{isChecked:y,onChange:()=>w(!y),size:"lg"},"Show Bar Chart"),i.createElement(jO,{label:"Show bar chart",size:16})),i.createElement(bFe,{showBar:y})),f&&i.createElement(PT,{height:"100%",width:"100%",overflow:"auto"},i.createElement(pze,null)),_&&T&&i.createElement(PT,{pt:void 0!==u?"0px":void 0,height:"100%"},i.createElement(j1,{isMapIndexDefined:void 0!==u,onClick:()=>c({runId:s,taskId:l})}),i.createElement(N1,{dagId:vze,dagRunId:s,taskId:l,mapIndex:u,executionDate:T?.executionDate,tryNumber:P?.tryNumber,state:P?.state&&"none"!==P?.state?P.state:void 0})),x&&i.createElement(PT,{height:"100%"},i.createElement(tQ,{dagId:vze,runId:s,taskId:l,onRowClicked:e=>c({runId:s,taskId:l,mapIndex:e.values.mapIndex})})),_&&i.createElement(PT,{height:"100%"},i.createElement(d2,{dagId:vze,dagRunId:s,taskId:l,mapIndex:u,tryNumber:P?.tryNumber})),_&&yze&&i.createElement(PT,{height:"100%"},i.createElement(bze,null)))))},Sze=e=>{let{task:t,level:n=0,...r}=e;return i.createElement(i.Fragment,null,(t?.children||[]).map((e=>i.createElement(Cze,Fe({},r,{key:e.id,task:e,level:n})))))},kze=e=>{let{task:t,dagRunIds:n,selectedRunId:r,onSelect:o,hoveredTaskState:a,isGridCollapsed:s}=e;return i.createElement(Bw,{justifyContent:"flex-end"},n.map((e=>{const n=t.instances.find((t=>t&&t.runId===e)),l=r===e&&!s;return i.createElement(Ow,{py:"4px",px:"3px",className:`js-${e}`,"data-selected":l,transition:"background-color 0.2s",key:`${e}-${t.id}-${n?n.note:""}`,bg:l?"blue.100":void 0},n?i.createElement(JF,{instance:n,group:t,onSelect:o,isActive:void 0===a||a===n.state,containsNotes:!!n.note}):i.createElement(Ow,{width:XF,"data-testid":"blank-task"}))})))},Cze=e=>{const{task:t,level:n=0,dagRunIds:r,openParentCount:o=0,openGroupIds:a=[],onToggleGroups:s=(()=>{}),hoveredTaskState:l,isParentMapped:u,isGridCollapsed:c}=e,{colors:f}=Si(),{selected:h,onSelect:d}=yC(),p=`${f.blue[100]}50`,g=!!t.children,m=h.taskId===t.id,b=a.some((e=>e===t.id)),v=(0,i.useCallback)((()=>{if(g&&t.id){let e=[];e=b?a.filter((e=>e!==t.id)):[...a,t.id],s(e)}}),[g,b,t.id,a,s]);return n!==o?null:i.createElement(i.Fragment,null,i.createElement(lT,{bg:m?"blue.100":"inherit",borderBottomWidth:1,borderBottomColor:g&&b?"gray.400":"gray.200",borderRightWidth:"16px",borderRightColor:m?"blue.100":"transparent",role:"group",_hover:m?void 0:{bg:p},transition:"background-color 0.2s"},!c&&i.createElement(uT,{bg:m?"blue.100":"white",_groupHover:m?void 0:{bg:"blue.50"},p:0,transition:"background-color 0.2s",lineHeight:"18px",position:"sticky",left:0,cursor:"pointer",onClick:()=>d({taskId:t.id}),borderBottom:0,width:"100%",zIndex:1},i.createElement(tZ,{onClick:e=>{g&&(e.stopPropagation(),v())},isGroup:g,isMapped:t.isMapped&&!u,label:t.label||t.id||"",id:t.id||"",isOpen:b,pl:4*n+4,setupTeardownType:t.setupTeardownType,pr:4,noOfLines:1})),i.createElement(uT,{p:0,align:"right",width:16*r.length+"px",borderBottom:0},i.createElement(kze,{dagRunIds:r,task:t,selectedRunId:h.runId,onSelect:d,hoveredTaskState:l,isGridCollapsed:c}))),g&&b&&Sze({...e,level:n+1,openParentCount:o+1,isParentMapped:t.isMapped}))},Eze=Sze,Ize=e=>{let{dagRun:t}=e;const{data:{ordering:n}}=CC();return i.createElement(Ow,{py:"2px"},i.createElement(sx,null,"Status: ",t.state||"no status"),i.createElement(sx,{whiteSpace:"nowrap"},(0,Yy.startCase)(n[0]||n[1]),": ",i.createElement(qO,{dateTime:iw({dagRun:t,ordering:n})})),i.createElement(sx,null,"Duration: ",Ay(t.duration)),i.createElement(sx,null,"Type: ",t.runType),t.note&&i.createElement(sx,null,"Contains a note"))},Mze=e=>{let{run:t,max:n,index:r,totalRuns:o,isSelected:a,onSelect:s}=e;const{runType:l,runId:u,duration:c,state:f}=t,h=Sy(),{colors:d}=Si(),p=`${d.blue[100]}50`,g=o-r,m=4===g||g>4&&(g-4)%10==0,b=stateColors[f],{data:{ordering:v}}=CC(),y=t;return i.createElement(Ow,{className:`js-${u}`,"data-selected":a,bg:a?"blue.100":void 0,transition:"background-color 0.2s",px:"1px",pb:"2px",position:"relative"},i.createElement(Bw,{height:100,alignItems:"flex-end",justifyContent:"center",px:"2px",cursor:"pointer",width:"14px",zIndex:1,onMouseEnter:()=>{if(!a){Array.from(h?.current?.getElementsByClassName(`js-${u}`)).forEach((e=>{e.style.backgroundColor=p}))}},onMouseLeave:()=>{Array.from(h?.current?.getElementsByClassName(`js-${u}`)).forEach((e=>{e.style.backgroundColor=""}))},onClick:()=>s({runId:u})},i.createElement(mO,{label:i.createElement(Ize,{dagRun:t}),hasArrow:!0,portalProps:{containerRef:h},placement:"top",openDelay:Zy,maxW:"md"},i.createElement(Bw,{width:"10px",height:c/n*100+"px",minHeight:"14px",background:ow(b,!!t.note),borderRadius:2,cursor:"pointer",pb:"2px",direction:"column",justifyContent:"flex-end",alignItems:"center",px:"1px",zIndex:1,"data-testid":"run"},"scheduled"!==l&&i.createElement(ZO,{runType:l,size:"8px",color:"white","data-testid":`${l}-run`})))),m&&i.createElement(ax,{position:"absolute",top:"0",left:"8px",spacing:0,zIndex:0,width:0},i.createElement(sx,{fontSize:"sm",color:"gray.400",whiteSpace:"nowrap",transform:"rotate(-30deg) translateX(28px)",mt:"-23px !important"},i.createElement(qO,{dateTime:iw({dagRun:y,ordering:v}),format:"MMM DD, HH:mm"})),i.createElement(Ow,{borderLeftWidth:1,opacity:.7,height:"100px",zIndex:0})))},Tze=(e,t)=>(0,Yy.isEqual)(e.run,t.run)&&e.max===t.max&&e.index===t.index&&e.totalRuns===t.totalRuns&&e.isSelected===t.isSelected,Aze=i.memo(Mze,Tze),Pze=e=>{let{groups:t,openGroupIds:n,onToggleGroups:r}=e;const o=t.children&&t.children.find((e=>!!e.children));if(!o)return null;const a=(e=>{const t=[],n=e=>e.forEach((e=>{e.children&&(t.push(e.id),n(e.children))}));return n(e),t})(t.children||[]),s=a.length===n.length,l=!n.length;return i.createElement(Bw,null,i.createElement(C_,{fontSize:"2xl",onClick:()=>{r(a)},title:"Expand all task groups","aria-label":"Expand all task groups",icon:i.createElement(wO,null),isDisabled:s,mr:2}),i.createElement(C_,{fontSize:"2xl",onClick:()=>{r([])},title:"Collapse all task groups","aria-label":"Collapse all task groups",isDisabled:l,icon:i.createElement(vO,null)}))},Oze=e=>i.createElement(Ow,Fe({position:"absolute",borderBottomWidth:1,zIndex:0,opacity:.7,width:"100%"},e)),Dze=e=>{let{children:t,...n}=e;return i.createElement(sx,Fe({fontSize:"sm",color:"gray.400",right:1,position:"absolute",whiteSpace:"nowrap"},n),t)},Rze=e=>i.createElement(uT,Fe({position:"sticky",top:0,zIndex:1,p:0,height:"155px",bg:"white"},e)),Lze=e=>{let{groups:t,openGroupIds:n,onToggleGroups:r,isGridCollapsed:o}=e;const{data:{dagRuns:a}}=CC(),{selected:s,onSelect:l}=yC(),u=[],c=a.map((e=>{const t=Ty(e.startDate,e.endDate);return u.push(t),{...e,duration:t}})).filter(((e,t)=>!o||(s.runId?e.runId===s.runId:t===a.length-1))),f=Math.max.apply(null,u);return i.createElement(lT,null,!o&&i.createElement(Rze,{left:0,zIndex:2},i.createElement(Bw,{borderBottomWidth:3,position:"relative",height:"100%",width:"100%",flexDirection:"column-reverse",pb:2},!!c.length&&i.createElement(i.Fragment,null,!!(t&&n&&r)&&i.createElement(Pze,{groups:t,openGroupIds:n,onToggleGroups:r}),i.createElement(Dze,{bottom:"120px"},"Duration"),i.createElement(Dze,{bottom:"96px"},Ay(f)),i.createElement(Dze,{bottom:"46px"},Ay(f/2)),i.createElement(Dze,{bottom:0},"00:00:00")))),i.createElement(Rze,{align:"right",verticalAlign:"bottom",borderRightWidth:"16px",borderRightColor:"white"},i.createElement(Bw,{justifyContent:"flex-end",borderBottomWidth:3,position:"relative",borderRightWidth:"16px",borderRightColor:"white",marginRight:"-16px",borderTopWidth:"50px",borderTopColor:"white"},c.map(((e,t)=>i.createElement(Aze,{key:e.runId,run:e,index:t,totalRuns:c.length,max:f,isSelected:e.runId===s.runId&&!o,onSelect:l}))),i.createElement(Oze,{bottom:"100px"}),i.createElement(Oze,{bottom:"50px"}),i.createElement(Oze,{bottom:"4px"}))))},Nze=e=>{let{hoveredTaskState:t,openGroupIds:n,onToggleGroups:r,isGridCollapsed:o,gridScrollRef:a,ganttScrollRef:s}=e;const l=(0,i.useRef)(null),u=Ky(l),{selected:c}=yC(),{data:{groups:f,dagRuns:h}}=CC(),d=h.map((e=>e.runId)).filter(((e,t)=>!o||(c.runId?e===c.runId:t===h.length-1))),p=e=>{const{scrollTop:t}=e.currentTarget;t&&a?.current&&(a.current.scrollTo(0,t),setTimeout((()=>{const e=a?.current?.scrollTop,t=s?.current?.scrollTop;t!==e&&a?.current&&a.current.scrollTo(0,t||0)}),100))};return(0,i.useEffect)((()=>{const e=s?.current;return e?.addEventListener("scroll",p),()=>{e?.removeEventListener("scroll",p)}})),(0,i.useEffect)((()=>{const e=new ResizeObserver((()=>{const e=a?.current;l?.current&&e&&e.scrollWidth>e.clientWidth&&e.scrollBy(l.current.offsetWidth,0)}));if(l&&l.current){const t=l.current;return e.observe(t),()=>{e.unobserve(t)}}return()=>{}}),[l,o,a]),i.createElement(Ow,{height:"100%",maxHeight:`calc(100% - ${u}px)`,ref:a,overflow:"auto",position:"relative",mt:8,overscrollBehavior:"auto",pb:4},i.createElement(nT,{borderRightWidth:"16px",borderColor:"transparent"},i.createElement(oT,null,i.createElement(Lze,{groups:f,openGroupIds:n,onToggleGroups:r,isGridCollapsed:o})),i.createElement(aT,{ref:l},Eze({task:f,dagRunIds:d,openGroupIds:n,onToggleGroups:r,hoveredTaskState:t,isGridCollapsed:o}))))},jze=()=>{const{isRefreshOn:e,toggleRefresh:t,isPaused:n}=hw();return i.createElement($T,{display:"flex",width:"auto",mr:2,alignItems:"center"},i.createElement(Gc,{color:"blue.500",speed:"1s",mr:"4px",visibility:e?"visible":"hidden"}),i.createElement(KT,{htmlFor:"auto-refresh",mb:0,fontWeight:"normal",display:"flex",alignItems:"center"},"Auto-refresh"),i.createElement(EV,{id:"auto-refresh",onChange:t,isDisabled:n,isChecked:e,size:"lg",title:n?"Autorefresh is disabled while the DAG is paused":""}))},Fze=new Date,zze=()=>{const{filters:{baseDate:e,numRuns:t,runState:n,runStateOptions:r,runType:o,runTypeOptions:a},onBaseDateChange:s,onNumRunsChange:l,onRunTypeChange:u,onRunStateChange:c,clearFilters:f,transformArrayToMultiSelectOptions:h}=lC(),d=moment(Fze).isSame(e,"minute"),p=!n||!n.length,g=!o||!o.length,m=d&&g&&p,{timezone:b}=Dy(),v=moment(e).tz(b).format(Cy),y={backgroundColor:"white",size:"lg"},w={minWidth:"160px",zIndex:3},x={size:"lg",isMulti:!0,tagVariant:"solid",hideSelectedOptions:!1,isClearable:!1,selectedOptionStyle:"check"},_={borderColor:"blue.400",borderWidth:2},S=k1({...x,chakraStyles:{control:e=>({...e,bg:"white",...g?{}:_,_hover:{...g?{}:_}})}}),k=k1({...x,chakraStyles:{control:e=>({...e,bg:"white",...p?{}:_,_hover:{...p?{}:_}})}});return i.createElement(Bw,{backgroundColor:"blackAlpha.200",p:4,justifyContent:"space-between"},i.createElement(Bw,null,i.createElement(Ow,{px:2},i.createElement(oze,Fe({},y,{value:v||"",onChange:e=>s(e.target.value)},d?{}:_))),i.createElement(Ow,{px:2,style:w},i.createElement(I1,Fe({},S,{value:h(o),onChange:e=>{Array.isArray(e)&&e.every((e=>"value"in e))&&u(e.map((e=>e.value)))},options:h(a),placeholder:"All Run Types"}))),i.createElement(Ow,null),i.createElement(Ow,{px:2,style:w},i.createElement(I1,Fe({},k,{value:h(n),onChange:e=>{Array.isArray(e)&&e.every((e=>"value"in e))&&c(e.map((e=>e.value)))},options:h(r),placeholder:"All Run States"}))),i.createElement(Ow,{px:2},i.createElement(w_,{colorScheme:"cyan","aria-label":"Reset filters",background:"white",variant:"outline",onClick:f,disabled:m,size:"lg"},"Clear Filters"))),i.createElement(Bw,null,i.createElement(jze,null),i.createElement(Ow,{px:2},i.createElement(dz,Fe({},y,{placeholder:"Runs",value:t||"",onChange:e=>l(e.target.value),"aria-label":"Number of runs to display in grid"}),filtersOptions.numRuns.map((e=>i.createElement("option",{value:e,key:e},e)))))))},Bze=e=>{let{state:t,stateColor:n,onStatusHover:r,onStatusLeave:o,displayValue:a}=e;return i.createElement(sx,{borderRadius:4,border:`solid 2px ${n}`,px:1,cursor:"pointer",fontSize:"11px",onMouseEnter:()=>r(t),onMouseLeave:()=>o()},a||t)},Vze=e=>{let{onStatusHover:t,onStatusLeave:n}=e;return i.createElement(Bw,{p:4,justifyContent:"space-between",flexWrap:"wrap"},i.createElement(Lw,null,i.createElement(sx,{fontSize:"11px",position:"relative"},"Press"," ",i.createElement(Ww,{position:"relative",top:-.5},"shift")," ","+"," ",i.createElement(Ww,{position:"relative",top:-.5},"/")," ","for Shortcuts")),i.createElement(Bw,{flexWrap:"wrap",justifyContent:"end"},i.createElement(ox,{spacing:2,wrap:"wrap"},Object.entries(stateColors).map((e=>{let[r,o]=e;return i.createElement(Bze,{key:r,state:r,stateColor:o,onStatusHover:t,onStatusLeave:n})})),i.createElement(Bze,{key:"no_status",displayValue:"no_status",state:null,stateColor:"white",onStatusHover:t,onStatusLeave:n}))))},$ze=Qy("dag_id"),Hze=()=>{const e=`${$ze}/open-groups`,t=JSON.parse(localStorage.getItem(e)||"[]"),[n,r]=(0,i.useState)(t);return{openGroupIds:n,onToggleGroups:t=>{localStorage.setItem(e,JSON.stringify(t)),r(t)}}},Gze=300,Wze="32px",Uze="grid-width",qze=(0,Yy.debounce)((e=>localStorage.setItem(Uze,e)),Zy),Xze=parseInt(getComputedStyle(document.getElementsByTagName("body")[0]).paddingBottom.replace("px",""),10)||0,Yze=parseInt(getComputedStyle(document.getElementsByTagName("body")[0]).paddingTop.replace("px",""),10)||0,Kze=()=>{const{data:{groups:e},isLoading:t}=CC(),[n,r]=(0,i.useState)(!1),[o,a]=(0,i.useState)([0]),s=!o.length,l=(0,i.useRef)(null),u=(0,i.useRef)(null),c=(0,i.useRef)(null),f=(0,i.useRef)(null),[h,d]=(0,i.useState)(),{openGroupIds:p,onToggleGroups:g}=Hze(),m=(0,i.useRef)(0),{onClose:b,isOpen:v,onToggle:y}=kw(),w=(0,Yy.debounce)((e=>d(e)),Zy),x=localStorage.getItem(Uze)||void 0,_=(0,i.useCallback)((e=>{const t=u.current,i=void 0!==e?e:!n;void 0!==i&&t&&(t.style.width=i?Wze:localStorage.getItem(Uze)||"",r(i))}),[n]),S=(0,i.useCallback)((e=>{const t=u.current;if(t)if(e.x>Gze&&e.x<window.innerWidth-Gze){const n=`${e.x}px`;t.style.width=n,qze(n)}else e.x<Gze&&m&&m.current&&m.current<e.x?r(!1):e.x<150&&m&&m.current&&m.current>e.x&&_();m.current=e.x}),[u,_]);(0,i.useEffect)((()=>{const e=l.current;return e?(e.addEventListener("mousedown",(e=>{e.preventDefault(),document.addEventListener("mousemove",S)})),document.addEventListener("mouseup",(()=>{document.removeEventListener("mousemove",S)})),()=>{e?.removeEventListener("mousedown",S),document.removeEventListener("mouseup",S)}):()=>{}}),[S,t]),pw(OF.toggleShortcutCheatSheet,y);const k=s&&n;return i.createElement(Ow,{flex:1,height:`calc(100vh - ${Xze+Yze}px)`,maxHeight:`calc(100vh - ${Xze+Yze}px)`,minHeight:"750px",overflow:"hidden",position:"relative"},i.createElement(d_,{allowToggle:!0,index:o,borderTopWidth:0},i.createElement(f_,{sx:{".chakra-collapse":{overflow:"visible !important"}}},i.createElement(o_,{display:"none"}),i.createElement(h_,{p:0},i.createElement(zze,null),i.createElement(Vze,{onStatusHover:w,onStatusLeave:()=>{d(void 0),w.cancel()}})))),i.createElement(Bw,{height:"100%"},t||(0,Yy.isEmpty)(e)?i.createElement(Gc,null):i.createElement(i.Fragment,null,i.createElement(Ow,{minWidth:n?Wze:Gze,ref:u,height:"100%",width:n?Wze:x,position:"relative"},i.createElement(C_,{icon:k?i.createElement(F_,null):i.createElement(j_,null),fontSize:"xl",position:"absolute",right:0,top:0,variant:"ghost",color:"gray.400",size:"sm","aria-label":"Toggle full screen details",title:"Toggle full screen details",onClick:()=>{k?(a([0]),_(!1)):(a([]),_(!0))}}),i.createElement(Nze,{hoveredTaskState:h,openGroupIds:p,onToggleGroups:g,isGridCollapsed:n,gridScrollRef:c,ganttScrollRef:f})),i.createElement(Ow,{width:2,cursor:"ew-resize",bg:"gray.200",ref:l,zIndex:1}),i.createElement(Ow,{flex:1,minWidth:Gze,zIndex:1,bg:"white",height:"100%"},i.createElement(_ze,{openGroupIds:p,onToggleGroups:g,hoveredTaskState:h,gridScrollRef:c,ganttScrollRef:f})))),i.createElement(cT,{isOpen:v,onClose:b,header:"Shortcuts to interact with DAGs and Tasks",keyboardShortcutIdentifier:OF}))},Zze=document.querySelector("#root")?.attachShadow({mode:"open"}),Qze=ue({container:Zze,key:"c"}),Jze=document.getElementById("react-container");if(Jze){const e=document.createElement("style"),t=fe.A.toString();e.innerHTML=t,Zze?.appendChild(e),Zze?.appendChild(Jze);(0,s.H)(Jze).render(i.createElement(bw,{cache:Qze},i.createElement(Kze,null)))}})(),{}})()));