/*! For license information please see main.18fa60f5.js.LICENSE.txt */ !function(){var e={61553:function(e,t){t.black="#050505",t.blackLight="rgba(5,5,5,0.7)",t.blackXLight="rgba(5,5,5,0.4)",t.blackXXLight="rgba(5,5,5,0.1)",t.blue00="#00101f",t.blue01="#05192b",t.blue02="#092743",t.blue03="#0d365c",t.blue04="#12487a",t.blue05="#165b99",t.blue06="#1b6fb9",t.blue07="#1f83db",t.blue08="#5995e1",t.blue09="#7ea7e7",t.blue10="#9dbaec",t.blue11="#bacdf2",t.blue12="#d2def6",t.blue13="#eaf0fb",t.blue14="#f7fafd",t.blueLight="rgba(31,131,219,0.7)",t.blueXLight="rgba(31,131,219,0.4)",t.blueXXLight="rgba(31,131,219,0.1)",t.cyan00="#001b1e",t.cyan01="#042529",t.cyan02="#08373d",t.cyan03="#0f4a52",t.cyan04="#17616c",t.cyan05="#207986",t.cyan06="#2991a2",t.cyan07="#32abbe",t.cyan08="#5fb8c8",t.cyan09="#80c5d2",t.cyan10="#9ed2dc",t.cyan11="#badfe6",t.cyan12="#d2eaef",t.cyan13="#eaf5f8",t.cyan14="#f7fcfd",t.cyanLight="rgba(50,171,190,0.7)",t.cyanXLight="rgba(50,171,190,0.4)",t.cyanXXLight="rgba(50,171,190,0.1)",t.grape00="#18001f",t.grape01="#200b2a",t.grape02="#33143f",t.grape03="#481d56",t.grape04="#602871",t.grape05="#7a338d",t.grape06="#943eab",t.grape07="#b04ac9",t.grape08="#be68d2",t.grape09="#cb84da",t.grape10="#d89fe3",t.grape11="#e4baeb",t.grape12="#edd2f2",t.grape13="#f7e9f9",t.grape14="#fcf7fd",t.grapeLight="rgba(176,74,201,0.7)",t.grapeXLight="rgba(176,74,201,0.4)",t.grapeXXLight="rgba(176,74,201,0.1)",t.gray00="#0f0f0f",t.gray01="#181818",t.gray02="#242424",t.gray03="#323232",t.gray04="#424242",t.gray05="#535353",t.gray06="#646464",t.gray07="#767676",t.gray08="#8a8a8a",t.gray09="#9e9e9e",t.gray10="#b3b3b3",t.gray11="#c8c8c8",t.gray12="#dbdbdb",t.gray13="#efefef",t.gray14="#fafafa",t.grayLight="rgba(118,118,118,0.7)",t.grayXLight="rgba(118,118,118,0.4)",t.grayXXLight="rgba(118,118,118,0.1)",t.green00="#121e00",t.green01="#192a07",t.green02="#28400f",t.green03="#385714",t.green04="#4c731a",t.green05="#61911f",t.green06="#76af25",t.green07="#8ccf2a",t.green08="#a1d753",t.green09="#b4de74",t.green10="#c6e593",t.green11="#d7edb2",t.green12="#e5f3cd",t.green13="#f3f9e8",t.green14="#fbfdf7",t.greenLight="rgba(140,207,42,0.7)",t.greenXLight="rgba(140,207,42,0.4)",t.greenXXLight="rgba(140,207,42,0.1)",t.indigo00="#00071f",t.indigo01="#07122c",t.indigo02="#0f1e44",t.indigo03="#192b5e",t.indigo04="#24397e",t.indigo05="#30499f",t.indigo06="#3c59c1",t.indigo07="#4969e4",t.indigo08="#6f7ee9",t.indigo09="#8e94ed",t.indigo10="#a9abf1",t.indigo11="#c2c2f5",t.indigo12="#d7d7f8",t.indigo13="#ebedfb",t.indigo14="#f7f9fd",t.indigoLight="rgba(73,105,228,0.7)",t.indigoXLight="rgba(73,105,228,0.4)",t.indigoXXLight="rgba(73,105,228,0.1)",t.lime00="#001f06",t.lime01="#05290f",t.lime02="#0c3c19",t.lime03="#145124",t.lime04="#1f6930",t.lime05="#2a833c",t.lime06="#359e4a",t.lime07="#41b957",t.lime08="#65c470",t.lime09="#84d08a",t.lime10="#a0dba3",t.lime11="#bbe5bd",t.lime12="#d2efd4",t.lime13="#e9f8eb",t.lime14="#f6fdf8",t.limeLight="rgba(65,185,87,0.7)",t.limeXLight="rgba(65,185,87,0.4)",t.limeXXLight="rgba(65,185,87,0.1)",t.orange00="#1e0c00",t.orange01="#2b1505",t.orange02="#46210d",t.orange03="#622e10",t.orange04="#853d12",t.orange05="#a94d14",t.orange06="#cf5d14",t.orange07="#f66e13",t.orange08="#fd853f",t.orange09="#ff9c62",t.orange10="#ffb284",t.orange11="#ffc8a7",t.orange12="#ffdbc5",t.orange13="#ffeee5",t.orange14="#fdf9f7",t.orangeLight="rgba(246,110,19,0.7)",t.orangeXLight="rgba(246,110,19,0.4)",t.orangeXXLight="rgba(246,110,19,0.1)",t.pear00="#1e1d00",t.pear01="#2a2a07",t.pear02="#42410e",t.pear03="#5d5a12",t.pear04="#7c7815",t.pear05="#9d9718",t.pear06="#bfb71b",t.pear07="#e3d91c",t.pear08="#eade4f",t.pear09="#f0e472",t.pear10="#f6e993",t.pear11="#f9efb2",t.pear12="#fcf4cd",t.pear13="#fdf9e8",t.pear14="#fdfcf7",t.pearLight="rgba(227,217,28,0.7)",t.pearXLight="rgba(227,217,28,0.4)",t.pearXXLight="rgba(227,217,28,0.1)",t.pink00="#1e000a",t.pink01="#280a14",t.pink02="#3f1221",t.pink03="#58192f",t.pink04="#75223f",t.pink05="#942b50",t.pink06="#b53461",t.pink07="#d63d73",t.pink08="#e06187",t.pink09="#e87f9c",t.pink10="#f09cb1",t.pink11="#f5b8c6",t.pink12="#f9d1da",t.pink13="#fce9ee",t.pink14="#fdf7f9",t.pinkLight="rgba(214,61,115,0.7)",t.pinkXLight="rgba(214,61,115,0.4)",t.pinkXXLight="rgba(214,61,115,0.1)",t.red00="#1e0002",t.red01="#2a0805",t.red02="#420e0b",t.red03="#5d110f",t.red04="#7d1311",t.red05="#9e1313",t.red06="#c11014",t.red07="#e50914",t.red08="#f04c38",t.red09="#f9715a",t.red10="#ff927d",t.red11="#ffb2a2",t.red12="#ffcdc3",t.red13="#ffe8e4",t.red14="#fdf7f8",t.redLight="rgba(229,9,20,0.7)",t.redXLight="rgba(229,9,20,0.4)",t.redXXLight="rgba(229,9,20,0.1)",t.violet00="#08001e",t.violet01="#110b2b",t.violet02="#1d1643",t.violet03="#2a1f5d",t.violet04="#3b297c",t.violet05="#4c349d",t.violet06="#5e3fbf",t.violet07="#714be2",t.violet08="#8c66e7",t.violet09="#a481ec",t.violet10="#ba9cf1",t.violet11="#ceb8f5",t.violet12="#dfd0f8",t.violet13="#f0e9fb",t.violet14="#f9f7fd",t.violetLight="rgba(113,75,226,0.7)",t.violetXLight="rgba(113,75,226,0.4)",t.violetXXLight="rgba(113,75,226,0.1)",t.white="#FFFFFF",t.whiteLight="rgba(255,255,255,0.7)",t.whiteXLight="rgba(255,255,255,0.4)",t.whiteXXLight="rgba(255,255,255,0.1)",t.yellow00="#1e1400",t.yellow01="#2c1e06",t.yellow02="#47300d",t.yellow03="#64430f",t.yellow04="#875a11",t.yellow05="#ac7210",t.yellow06="#d38a0c",t.yellow07="#fba404",t.yellow08="#ffb141",t.yellow09="#ffbf66",t.yellow10="#ffcd89",t.yellow11="#ffdbaa",t.yellow12="#ffe7c8",t.yellow13="#fff4e6",t.yellow14="#fdfbf7",t.yellowLight="rgba(251,164,4,0.7)",t.yellowXLight="rgba(251,164,4,0.4)",t.yellowXXLight="rgba(251,164,4,0.1)"},13108:function(e,t,n){"use strict";n.d(t,{$n:function(){return d},Fq:function(){return c},_4:function(){return l},_j:function(){return f},mi:function(){return s}});var r=n(37483);function i(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return Math.min(Math.max(t,e),n)}function o(e){if(e.type)return e;if("#"===e.charAt(0))return o(function(e){e=e.substr(1);var t=new RegExp(".{1,".concat(e.length>=6?2:1,"}"),"g"),n=e.match(t);return n&&1===n[0].length&&(n=n.map((function(e){return e+e}))),n?"rgb".concat(4===n.length?"a":"","(").concat(n.map((function(e,t){return t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3})).join(", "),")"):""}(e));var t=e.indexOf("("),n=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla"].indexOf(n))throw new Error((0,r.Z)(3,e));var i=e.substring(t+1,e.length-1).split(",");return{type:n,values:i=i.map((function(e){return parseFloat(e)}))}}function a(e){var t=e.type,n=e.values;return-1!==t.indexOf("rgb")?n=n.map((function(e,t){return t<3?parseInt(e,10):e})):-1!==t.indexOf("hsl")&&(n[1]="".concat(n[1],"%"),n[2]="".concat(n[2],"%")),"".concat(t,"(").concat(n.join(", "),")")}function s(e,t){var n=u(e),r=u(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function u(e){var t="hsl"===(e=o(e)).type?o(function(e){var t=(e=o(e)).values,n=t[0],r=t[1]/100,i=t[2]/100,s=r*Math.min(i,1-i),u=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(e+n/30)%12;return i-s*Math.max(Math.min(t-3,9-t,1),-1)},l="rgb",c=[Math.round(255*u(0)),Math.round(255*u(8)),Math.round(255*u(4))];return"hsla"===e.type&&(l+="a",c.push(t[3])),a({type:l,values:c})}(e)).values:e.values;return t=t.map((function(e){return(e/=255)<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4)})),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function l(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.15;return u(e)>.5?f(e,t):d(e,t)}function c(e,t){return e=o(e),t=i(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),e.values[3]=t,a(e)}function f(e,t){if(e=o(e),t=i(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb"))for(var n=0;n<3;n+=1)e.values[n]*=1-t;return a(e)}function d(e,t){if(e=o(e),t=i(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(var n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;return a(e)}},89688:function(e,t,n){"use strict";n.d(t,{Z:function(){return X}});var r=n(45987),i=n(81534),o=n(87462),a=["xs","sm","md","lg","xl"];function s(e){var t=e.values,n=void 0===t?{xs:0,sm:600,md:960,lg:1280,xl:1920}:t,i=e.unit,s=void 0===i?"px":i,u=e.step,l=void 0===u?5:u,c=(0,r.Z)(e,["values","unit","step"]);function f(e){var t="number"===typeof n[e]?n[e]:e;return"@media (min-width:".concat(t).concat(s,")")}function d(e,t){var r=a.indexOf(t);return r===a.length-1?f(e):"@media (min-width:".concat("number"===typeof n[e]?n[e]:e).concat(s,") and ")+"(max-width:".concat((-1!==r&&"number"===typeof n[a[r+1]]?n[a[r+1]]:t)-l/100).concat(s,")")}return(0,o.Z)({keys:a,values:n,up:f,down:function(e){var t=a.indexOf(e)+1,r=n[a[t]];return t===a.length?f("xs"):"@media (max-width:".concat(("number"===typeof r&&t>0?r:e)-l/100).concat(s,")")},between:d,only:function(e){return d(e,e)},width:function(e){return n[e]}},c)}var u=n(4942);function l(e,t,n){var r;return(0,o.Z)({gutters:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return console.warn(["Material-UI: theme.mixins.gutters() is deprecated.","You can use the source of the mixin directly:","\n paddingLeft: theme.spacing(2),\n paddingRight: theme.spacing(2),\n [theme.breakpoints.up('sm')]: {\n paddingLeft: theme.spacing(3),\n paddingRight: theme.spacing(3),\n },\n "].join("\n")),(0,o.Z)({paddingLeft:t(2),paddingRight:t(2)},n,(0,u.Z)({},e.up("sm"),(0,o.Z)({paddingLeft:t(3),paddingRight:t(3)},n[e.up("sm")])))},toolbar:(r={minHeight:56},(0,u.Z)(r,"".concat(e.up("xs")," and (orientation: landscape)"),{minHeight:48}),(0,u.Z)(r,e.up("sm"),{minHeight:64}),r)},n)}var c=n(37483),f={black:"#000",white:"#fff"},d={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#d5d5d5",A200:"#aaaaaa",A400:"#303030",A700:"#616161"},h={50:"#e8eaf6",100:"#c5cae9",200:"#9fa8da",300:"#7986cb",400:"#5c6bc0",500:"#3f51b5",600:"#3949ab",700:"#303f9f",800:"#283593",900:"#1a237e",A100:"#8c9eff",A200:"#536dfe",A400:"#3d5afe",A700:"#304ffe"},p={50:"#fce4ec",100:"#f8bbd0",200:"#f48fb1",300:"#f06292",400:"#ec407a",500:"#e91e63",600:"#d81b60",700:"#c2185b",800:"#ad1457",900:"#880e4f",A100:"#ff80ab",A200:"#ff4081",A400:"#f50057",A700:"#c51162"},m={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},v={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},g={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},y={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},b=n(13108),w={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.54)",disabled:"rgba(0, 0, 0, 0.38)",hint:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:f.white,default:d[50]},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},x={text:{primary:f.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",hint:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:d[800],default:"#303030"},action:{active:f.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function _(e,t,n,r){var i=r.light||r,o=r.dark||1.5*r;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:"light"===t?e.light=(0,b.$n)(e.main,i):"dark"===t&&(e.dark=(0,b._j)(e.main,o)))}function k(e){var t=e.primary,n=void 0===t?{light:h[300],main:h[500],dark:h[700]}:t,a=e.secondary,s=void 0===a?{light:p.A200,main:p.A400,dark:p.A700}:a,u=e.error,l=void 0===u?{light:m[300],main:m[500],dark:m[700]}:u,k=e.warning,S=void 0===k?{light:v[300],main:v[500],dark:v[700]}:k,M=e.info,T=void 0===M?{light:g[300],main:g[500],dark:g[700]}:M,E=e.success,C=void 0===E?{light:y[300],main:y[500],dark:y[700]}:E,O=e.type,D=void 0===O?"light":O,N=e.contrastThreshold,j=void 0===N?3:N,A=e.tonalOffset,P=void 0===A?.2:A,R=(0,r.Z)(e,["primary","secondary","error","warning","info","success","type","contrastThreshold","tonalOffset"]);function I(e){return(0,b.mi)(e,x.text.primary)>=j?x.text.primary:w.text.primary}var F=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:500,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:300,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:700;if(!(e=(0,o.Z)({},e)).main&&e[t]&&(e.main=e[t]),!e.main)throw new Error((0,c.Z)(4,t));if("string"!==typeof e.main)throw new Error((0,c.Z)(5,JSON.stringify(e.main)));return _(e,"light",n,P),_(e,"dark",r,P),e.contrastText||(e.contrastText=I(e.main)),e},L={dark:x,light:w};return(0,i.Z)((0,o.Z)({common:f,type:D,primary:F(n),secondary:F(s,"A400","A200","A700"),error:F(l),warning:F(S),info:F(T),success:F(C),grey:d,contrastThreshold:j,getContrastText:I,augmentColor:F,tonalOffset:P},L[D]),R)}function S(e){return Math.round(1e5*e)/1e5}function M(e){return S(e)}var T={textTransform:"uppercase"},E='"Roboto", "Helvetica", "Arial", sans-serif';function C(e,t){var n="function"===typeof t?t(e):t,a=n.fontFamily,s=void 0===a?E:a,u=n.fontSize,l=void 0===u?14:u,c=n.fontWeightLight,f=void 0===c?300:c,d=n.fontWeightRegular,h=void 0===d?400:d,p=n.fontWeightMedium,m=void 0===p?500:p,v=n.fontWeightBold,g=void 0===v?700:v,y=n.htmlFontSize,b=void 0===y?16:y,w=n.allVariants,x=n.pxToRem,_=(0,r.Z)(n,["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"]);var k=l/14,C=x||function(e){return"".concat(e/b*k,"rem")},O=function(e,t,n,r,i){return(0,o.Z)({fontFamily:s,fontWeight:e,fontSize:C(t),lineHeight:n},s===E?{letterSpacing:"".concat(S(r/t),"em")}:{},i,w)},D={h1:O(f,96,1.167,-1.5),h2:O(f,60,1.2,-.5),h3:O(h,48,1.167,0),h4:O(h,34,1.235,.25),h5:O(h,24,1.334,0),h6:O(m,20,1.6,.15),subtitle1:O(h,16,1.75,.15),subtitle2:O(m,14,1.57,.1),body1:O(h,16,1.5,.15),body2:O(h,14,1.43,.15),button:O(m,14,1.75,.4,T),caption:O(h,12,1.66,.4),overline:O(h,12,2.66,1,T)};return(0,i.Z)((0,o.Z)({htmlFontSize:b,pxToRem:C,round:M,fontFamily:s,fontSize:l,fontWeightLight:f,fontWeightRegular:h,fontWeightMedium:m,fontWeightBold:g},D),_,{clone:!1})}function O(){return["".concat(arguments.length<=0?void 0:arguments[0],"px ").concat(arguments.length<=1?void 0:arguments[1],"px ").concat(arguments.length<=2?void 0:arguments[2],"px ").concat(arguments.length<=3?void 0:arguments[3],"px rgba(0,0,0,").concat(.2,")"),"".concat(arguments.length<=4?void 0:arguments[4],"px ").concat(arguments.length<=5?void 0:arguments[5],"px ").concat(arguments.length<=6?void 0:arguments[6],"px ").concat(arguments.length<=7?void 0:arguments[7],"px rgba(0,0,0,").concat(.14,")"),"".concat(arguments.length<=8?void 0:arguments[8],"px ").concat(arguments.length<=9?void 0:arguments[9],"px ").concat(arguments.length<=10?void 0:arguments[10],"px ").concat(arguments.length<=11?void 0:arguments[11],"px rgba(0,0,0,").concat(.12,")")].join(",")}var D=["none",O(0,2,1,-1,0,1,1,0,0,1,3,0),O(0,3,1,-2,0,2,2,0,0,1,5,0),O(0,3,3,-2,0,3,4,0,0,1,8,0),O(0,2,4,-1,0,4,5,0,0,1,10,0),O(0,3,5,-1,0,5,8,0,0,1,14,0),O(0,3,5,-1,0,6,10,0,0,1,18,0),O(0,4,5,-2,0,7,10,1,0,2,16,1),O(0,5,5,-3,0,8,10,1,0,3,14,2),O(0,5,6,-3,0,9,12,1,0,3,16,2),O(0,6,6,-3,0,10,14,1,0,4,18,3),O(0,6,7,-4,0,11,15,1,0,4,20,3),O(0,7,8,-4,0,12,17,2,0,5,22,4),O(0,7,8,-4,0,13,19,2,0,5,24,4),O(0,7,9,-4,0,14,21,2,0,5,26,4),O(0,8,9,-5,0,15,22,2,0,6,28,5),O(0,8,10,-5,0,16,24,2,0,6,30,5),O(0,8,11,-5,0,17,26,2,0,6,32,5),O(0,9,11,-5,0,18,28,2,0,7,34,6),O(0,9,12,-6,0,19,29,2,0,7,36,6),O(0,10,13,-6,0,20,31,3,0,8,38,7),O(0,10,13,-6,0,21,33,3,0,8,40,7),O(0,10,14,-6,0,22,35,3,0,8,42,7),O(0,11,14,-7,0,23,36,3,0,9,44,8),O(0,11,15,-7,0,24,38,3,0,9,46,8)],N={borderRadius:4},j=n(70885),A=n(71002),P={xs:0,sm:600,md:960,lg:1280,xl:1920},R={keys:["xs","sm","md","lg","xl"],up:function(e){return"@media (min-width:".concat(P[e],"px)")}};var I=function(e,t){return t?(0,i.Z)(e,t,{clone:!1}):e};var F={m:"margin",p:"padding"},L={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},z={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},B=function(e){var t={};return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}((function(e){if(e.length>2){if(!z[e])return[e];e=z[e]}var t=e.split(""),n=(0,j.Z)(t,2),r=n[0],i=n[1],o=F[r],a=L[i]||"";return Array.isArray(a)?a.map((function(e){return o+e})):[o+a]})),Z=["m","mt","mr","mb","ml","mx","my","p","pt","pr","pb","pl","px","py","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY"];function W(e){var t=e.spacing||8;return"number"===typeof t?function(e){return t*e}:Array.isArray(t)?function(e){return t[e]}:"function"===typeof t?t:function(){}}function H(e,t){return function(n){return e.reduce((function(e,r){return e[r]=function(e,t){if("string"===typeof t||null==t)return t;var n=e(Math.abs(t));return t>=0?n:"number"===typeof n?-n:"-".concat(n)}(t,n),e}),{})}}function Y(e){var t=W(e.theme);return Object.keys(e).map((function(n){if(-1===Z.indexOf(n))return null;var r=H(B(n),t),i=e[n];return function(e,t,n){if(Array.isArray(t)){var r=e.theme.breakpoints||R;return t.reduce((function(e,i,o){return e[r.up(r.keys[o])]=n(t[o]),e}),{})}if("object"===(0,A.Z)(t)){var i=e.theme.breakpoints||R;return Object.keys(t).reduce((function(e,r){return e[i.up(r)]=n(t[r]),e}),{})}return n(t)}(e,i,r)})).reduce(I,{})}Y.propTypes={},Y.filterProps=Z;function U(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:8;if(e.mui)return e;var t=W({spacing:e}),n=function(){for(var e=arguments.length,n=new Array(e),r=0;r0&&void 0!==arguments[0]?arguments[0]:{},t=e.breakpoints,n=void 0===t?{}:t,o=e.mixins,a=void 0===o?{}:o,u=e.palette,c=void 0===u?{}:u,f=e.spacing,d=e.typography,h=void 0===d?{}:d,p=(0,r.Z)(e,["breakpoints","mixins","palette","spacing","typography"]),m=k(c),v=s(n),g=U(f),y=(0,i.Z)({breakpoints:v,direction:"ltr",mixins:l(v,g,a),overrides:{},palette:m,props:{},shadows:D,typography:C(m,h),spacing:g,shape:N,transitions:V.ZP,zIndex:q.Z},p),b=arguments.length,w=new Array(b>1?b-1:0),x=1;x0&&void 0!==arguments[0]?arguments[0]:["all"],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.duration,s=void 0===n?o.standard:n,u=t.easing,l=void 0===u?i.easeInOut:u,c=t.delay,f=void 0===c?0:c;(0,r.Z)(t,["duration","easing","delay"]);return(Array.isArray(e)?e:[e]).map((function(e){return"".concat(e," ").concat("string"===typeof s?s:a(s)," ").concat(l," ").concat("string"===typeof f?f:a(f))})).join(",")},getAutoHeightDuration:function(e){if(!e)return 0;var t=e/36;return Math.round(10*(4+15*Math.pow(t,.25)+t/5))}}},38317:function(e,t,n){"use strict";n.d(t,{Z:function(){return h}});var r=n(87462),i=n(45987),o=n(72791),a=n(62110),s=n.n(a),u=n(63401),l=n(70794),c=n(78444),f=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(n){var a=t.defaultTheme,f=t.withTheme,d=void 0!==f&&f,h=t.name,p=(0,i.Z)(t,["defaultTheme","withTheme","name"]);var m=h,v=(0,u.Z)(e,(0,r.Z)({defaultTheme:a,Component:n,name:h||n.displayName,classNamePrefix:m},p)),g=o.forwardRef((function(e,t){e.classes;var s,u=e.innerRef,f=(0,i.Z)(e,["classes","innerRef"]),p=v((0,r.Z)({},n.defaultProps,e)),m=f;return("string"===typeof h||d)&&(s=(0,c.Z)()||a,h&&(m=(0,l.Z)({theme:s,name:h,props:f})),d&&!m.theme&&(m.theme=s)),o.createElement(n,(0,r.Z)({ref:u||t,classes:p},m))}));return s()(g,n),g}},d=n(40663);var h=function(e,t){return f(e,(0,r.Z)({defaultTheme:d.Z},t))}},19535:function(e,t){"use strict";t.Z={mobileStepper:1e3,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500}},91122:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(37483);function i(e){if("string"!==typeof e)throw new Error((0,r.Z)(7));return e.charAt(0).toUpperCase()+e.slice(1)}},37545:function(e,t,n){"use strict";function r(){for(var e=arguments.length,t=new Array(e),n=0;n1&&void 0!==arguments[1]?arguments[1]:166;function r(){for(var r=arguments.length,i=new Array(r),o=0;o<+~=|^:(),"'`\s])/g,x="undefined"!==typeof CSS&&CSS.escape,_=function(e){return x?x(e):e.replace(w,"\\$1")},k=function(){function e(e,t,n){this.type="style",this.isProcessed=!1;var r=n.sheet,i=n.Renderer;this.key=e,this.options=n,this.style=t,r?this.renderer=r.renderer:i&&(this.renderer=new i)}return e.prototype.prop=function(e,t,n){if(void 0===t)return this.style[e];var r=!!n&&n.force;if(!r&&this.style[e]===t)return this;var i=t;n&&!1===n.process||(i=this.options.jss.plugins.onChangeValue(t,e,this));var o=null==i||!1===i,a=e in this.style;if(o&&!a&&!r)return this;var s=o&&a;if(s?delete this.style[e]:this.style[e]=i,this.renderable&&this.renderer)return s?this.renderer.removeProperty(this.renderable,e):this.renderer.setProperty(this.renderable,e,i),this;var u=this.options.sheet;return u&&u.attached,this},e}(),S=function(e){function t(t,n,r){var i;i=e.call(this,t,n,r)||this;var o=r.selector,a=r.scoped,s=r.sheet,u=r.generateId;return o?i.selectorText=o:!1!==a&&(i.id=u((0,c.Z)((0,c.Z)(i)),s),i.selectorText="."+_(i.id)),i}(0,l.Z)(t,e);var n=t.prototype;return n.applyTo=function(e){var t=this.renderer;if(t){var n=this.toJSON();for(var r in n)t.setProperty(e,r,n[r])}return this},n.toJSON=function(){var e={};for(var t in this.style){var n=this.style[t];"object"!==typeof n?e[t]=n:Array.isArray(n)&&(e[t]=v(n))}return e},n.toString=function(e){var t=this.options.sheet,n=!!t&&t.options.link?(0,i.Z)({},e,{allowEmpty:!0}):e;return b(this.selectorText,this.style,n)},(0,u.Z)(t,[{key:"selector",set:function(e){if(e!==this.selectorText){this.selectorText=e;var t=this.renderer,n=this.renderable;if(n&&t)t.setSelector(n,e)||t.replaceRule(n,this)}},get:function(){return this.selectorText}}]),t}(k),M={onCreateRule:function(e,t,n){return"@"===e[0]||n.parent&&"keyframes"===n.parent.type?null:new S(e,t,n)}},T={indent:1,children:!0},E=/@([\w-]+)/,C=function(){function e(e,t,n){this.type="conditional",this.isProcessed=!1,this.key=e;var r=e.match(E);for(var o in this.at=r?r[1]:"unknown",this.query=n.name||"@"+this.at,this.options=n,this.rules=new K((0,i.Z)({},n,{parent:this})),t)this.rules.add(o,t[o]);this.rules.process()}var t=e.prototype;return t.getRule=function(e){return this.rules.get(e)},t.indexOf=function(e){return this.rules.indexOf(e)},t.addRule=function(e,t,n){var r=this.rules.add(e,t,n);return r?(this.options.jss.plugins.onProcessRule(r),r):null},t.replaceRule=function(e,t,n){var r=this.rules.replace(e,t,n);return r&&this.options.jss.plugins.onProcessRule(r),r},t.toString=function(e){void 0===e&&(e=T);var t=g(e).linebreak;if(null==e.indent&&(e.indent=T.indent),null==e.children&&(e.children=T.children),!1===e.children)return this.query+" {}";var n=this.rules.toString(e);return n?this.query+" {"+t+n+t+"}":""},e}(),O=/@media|@supports\s+/,D={onCreateRule:function(e,t,n){return O.test(e)?new C(e,t,n):null}},N={indent:1,children:!0},j=/@keyframes\s+([\w-]+)/,A=function(){function e(e,t,n){this.type="keyframes",this.at="@keyframes",this.isProcessed=!1;var r=e.match(j);r&&r[1]?this.name=r[1]:this.name="noname",this.key=this.type+"-"+this.name,this.options=n;var o=n.scoped,a=n.sheet,s=n.generateId;for(var u in this.id=!1===o?this.name:_(s(this,a)),this.rules=new K((0,i.Z)({},n,{parent:this})),t)this.rules.add(u,t[u],(0,i.Z)({},n,{parent:this}));this.rules.process()}return e.prototype.toString=function(e){void 0===e&&(e=N);var t=g(e).linebreak;if(null==e.indent&&(e.indent=N.indent),null==e.children&&(e.children=N.children),!1===e.children)return this.at+" "+this.id+" {}";var n=this.rules.toString(e);return n&&(n=""+t+n+t),this.at+" "+this.id+" {"+n+"}"},e}(),P=/@keyframes\s+/,R=/\$([\w-]+)/g,I=function(e,t){return"string"===typeof e?e.replace(R,(function(e,n){return n in t?t[n]:e})):e},F=function(e,t,n){var r=e[t],i=I(r,n);i!==r&&(e[t]=i)},L={onCreateRule:function(e,t,n){return"string"===typeof e&&P.test(e)?new A(e,t,n):null},onProcessStyle:function(e,t,n){return"style"===t.type&&n?("animation-name"in e&&F(e,"animation-name",n.keyframes),"animation"in e&&F(e,"animation",n.keyframes),e):e},onChangeValue:function(e,t,n){var r=n.options.sheet;if(!r)return e;switch(t){case"animation":case"animation-name":return I(e,r.keyframes);default:return e}}},z=function(e){function t(){return e.apply(this,arguments)||this}return(0,l.Z)(t,e),t.prototype.toString=function(e){var t=this.options.sheet,n=!!t&&t.options.link?(0,i.Z)({},e,{allowEmpty:!0}):e;return b(this.key,this.style,n)},t}(k),B={onCreateRule:function(e,t,n){return n.parent&&"keyframes"===n.parent.type?new z(e,t,n):null}},Z=function(){function e(e,t,n){this.type="font-face",this.at="@font-face",this.isProcessed=!1,this.key=e,this.style=t,this.options=n}return e.prototype.toString=function(e){var t=g(e).linebreak;if(Array.isArray(this.style)){for(var n="",r=0;r=this.index)t.push(e);else for(var r=0;rn)return void t.splice(r,0,e)},t.reset=function(){this.registry=[]},t.remove=function(e){var t=this.registry.indexOf(e);this.registry.splice(t,1)},t.toString=function(e){for(var t=void 0===e?{}:e,n=t.attached,r=(0,f.Z)(t,["attached"]),i=g(r).linebreak,o="",a=0;a0){var n=function(e,t){for(var n=0;nt.index&&r.options.insertionPoint===t.insertionPoint)return r}return null}(t,e);if(n&&n.renderer)return{parent:n.renderer.element.parentNode,node:n.renderer.element};if(n=function(e,t){for(var n=e.length-1;n>=0;n--){var r=e[n];if(r.attached&&r.options.insertionPoint===t.insertionPoint)return r}return null}(t,e),n&&n.renderer)return{parent:n.renderer.element.parentNode,node:n.renderer.element.nextSibling}}var r=e.insertionPoint;if(r&&"string"===typeof r){var i=function(e){for(var t=de(),n=0;nn?n:t},ge=function(){function e(e){this.getPropertyValue=ue,this.setProperty=le,this.removeProperty=ce,this.setSelector=fe,this.hasInsertedRules=!1,this.cssRules=[],e&&ne.add(e),this.sheet=e;var t=this.sheet?this.sheet.options:{},n=t.media,r=t.meta,i=t.element;this.element=i||function(){var e=document.createElement("style");return e.textContent="\n",e}(),this.element.setAttribute("data-jss",""),n&&this.element.setAttribute("media",n),r&&this.element.setAttribute("data-meta",r);var o=pe();o&&this.element.setAttribute("nonce",o)}var t=e.prototype;return t.attach=function(){if(!this.element.parentNode&&this.sheet){!function(e,t){var n=t.insertionPoint,r=he(t);if(!1!==r&&r.parent)r.parent.insertBefore(e,r.node);else if(n&&"number"===typeof n.nodeType){var i=n,o=i.parentNode;o&&o.insertBefore(e,i.nextSibling)}else de().appendChild(e)}(this.element,this.sheet.options);var e=Boolean(this.sheet&&this.sheet.deployed);this.hasInsertedRules&&e&&(this.hasInsertedRules=!1,this.deploy())}},t.detach=function(){if(this.sheet){var e=this.element.parentNode;e&&e.removeChild(this.element),this.sheet.options.link&&(this.cssRules=[],this.element.textContent="\n")}},t.deploy=function(){var e=this.sheet;e&&(e.options.link?this.insertRules(e.rules):this.element.textContent="\n"+e.toString()+"\n")},t.insertRules=function(e,t){for(var n=0;n-1){var i=zt[e];if(!Array.isArray(i))return ht+kt(i)in t&&pt+i;if(!r)return!1;for(var o=0;ot?1:-1:e.length-t.length};return{onProcessStyle:function(t,n){if("style"!==n.type)return t;for(var r={},i=Object.keys(t).sort(e),o=0;o0&&void 0!==arguments[0]?arguments[0]:{},t=e.disableGlobal,n=void 0!==t&&t,r=e.productionPrefix,i=void 0===r?"jss":r,o=e.seed,a=void 0===o?"":o,s=""===a?"":"".concat(a,"-"),u=0,l=function(){return u+=1};return function(e,t){var r=t.options.name;if(r&&0===r.indexOf("Mui")&&!t.options.link&&!n){if(-1!==Ce.indexOf(e.key))return"Mui-".concat(e.key);var o="".concat(s).concat(r,"-").concat(e.key);return t.options.theme[Ee.Z]&&""===a?"".concat(o,"-").concat(l()):o}return"".concat(s).concat(i).concat(l())}}(),sn={disableGeneration:!1,generateClassName:an,jss:on,sheetsCache:null,sheetsManager:new Map,sheetsRegistry:null},un=o.createContext(sn);var ln=-1e9;function cn(){return ln+=1}var fn=n(81534);function dn(e){var t="function"===typeof e;return{create:function(n,r){var o;try{o=t?e(n):e}catch(u){throw u}if(!r||!n.overrides||!n.overrides[r])return o;var a=n.overrides[r],s=(0,i.Z)({},o);return Object.keys(a).forEach((function(e){s[e]=(0,fn.Z)(s[e],a[e])})),s},options:{}}}var hn={};function pn(e,t,n){var r=e.state;if(e.stylesOptions.disableGeneration)return t||{};r.cacheClasses||(r.cacheClasses={value:null,lastProp:null,lastJSS:{}});var i=!1;return r.classes!==r.cacheClasses.lastJSS&&(r.cacheClasses.lastJSS=r.classes,i=!0),t!==r.cacheClasses.lastProp&&(r.cacheClasses.lastProp=t,i=!0),i&&(r.cacheClasses.value=(0,ke.Z)({baseClasses:r.cacheClasses.lastJSS,newClasses:t,Component:n})),r.cacheClasses.value}function mn(e,t){var n=e.state,r=e.theme,o=e.stylesOptions,a=e.stylesCreator,s=e.name;if(!o.disableGeneration){var u=Me.get(o.sheetsManager,a,r);u||(u={refs:0,staticSheet:null,dynamicStyles:null},Me.set(o.sheetsManager,a,r,u));var l=(0,i.Z)({},a.options,o,{theme:r,flip:"boolean"===typeof o.flip?o.flip:"rtl"===r.direction});l.generateId=l.serverGenerateClassName||l.generateClassName;var c=o.sheetsRegistry;if(0===u.refs){var f;o.sheetsCache&&(f=Me.get(o.sheetsCache,a,r));var d=a.create(r,s);f||((f=o.jss.createStyleSheet(d,(0,i.Z)({link:!1},l))).attach(),o.sheetsCache&&Me.set(o.sheetsCache,a,r,f)),c&&c.add(f),u.staticSheet=f,u.dynamicStyles=_e(d)}if(u.dynamicStyles){var h=o.jss.createStyleSheet(u.dynamicStyles,(0,i.Z)({link:!0},l));h.update(t),h.attach(),n.dynamicSheet=h,n.classes=(0,ke.Z)({baseClasses:u.staticSheet.classes,newClasses:h.classes}),c&&c.add(h)}else n.classes=u.staticSheet.classes;u.refs+=1}}function vn(e,t){var n=e.state;n.dynamicSheet&&n.dynamicSheet.update(t)}function gn(e){var t=e.state,n=e.theme,r=e.stylesOptions,i=e.stylesCreator;if(!r.disableGeneration){var o=Me.get(r.sheetsManager,i,n);o.refs-=1;var a=r.sheetsRegistry;0===o.refs&&(Me.delete(r.sheetsManager,i,n),r.jss.removeStyleSheet(o.staticSheet),a&&a.remove(o.staticSheet)),t.dynamicSheet&&(r.jss.removeStyleSheet(t.dynamicSheet),a&&a.remove(t.dynamicSheet))}}function yn(e,t){var n,r=o.useRef([]),i=o.useMemo((function(){return{}}),t);r.current!==i&&(r.current=i,n=e()),o.useEffect((function(){return function(){n&&n()}}),[i])}function bn(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.name,a=t.classNamePrefix,s=t.Component,u=t.defaultTheme,l=void 0===u?hn:u,c=(0,r.Z)(t,["name","classNamePrefix","Component","defaultTheme"]),f=dn(e),d=n||a||"makeStyles";f.options={index:cn(),name:n,meta:d,classNamePrefix:d};var h=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=(0,Te.Z)()||l,r=(0,i.Z)({},o.useContext(un),c),a=o.useRef(),u=o.useRef();yn((function(){var i={name:n,state:{},stylesCreator:f,stylesOptions:r,theme:t};return mn(i,e),u.current=!1,a.current=i,function(){gn(i)}}),[t,f]),o.useEffect((function(){u.current&&vn(a.current,e),u.current=!0}));var d=pn(a.current,e.classes,s);return d};return h}},25352:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(87462);function i(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.baseClasses,n=e.newClasses;e.Component;if(!n)return t;var i=(0,r.Z)({},t);return Object.keys(n).forEach((function(e){n[e]&&(i[e]="".concat(t[e]," ").concat(n[e]))})),i}},40423:function(e,t,n){"use strict";var r=n(72791).createContext(null);t.Z=r},78444:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(72791),i=n(40423);function o(){return r.useContext(i.Z)}},81534:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(87462),i=n(71002);function o(e){return e&&"object"===(0,i.Z)(e)&&e.constructor===Object}function a(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{clone:!0},i=n.clone?(0,r.Z)({},e):e;return o(e)&&o(t)&&Object.keys(t).forEach((function(r){"__proto__"!==r&&(o(t[r])&&r in e?i[r]=a(e[r],t[r],n):i[r]=t[r])})),i}},37483:function(e,t,n){"use strict";function r(e){for(var t="https://mui.com/production-error/?code="+e,n=1;n-1?i(n):n}},19722:function(e,t,n){"use strict";var r=n(33350),i=n(52506),o=i("%Function.prototype.apply%"),a=i("%Function.prototype.call%"),s=i("%Reflect.apply%",!0)||r.call(a,o),u=i("%Object.getOwnPropertyDescriptor%",!0),l=i("%Object.defineProperty%",!0),c=i("%Math.max%");if(l)try{l({},"a",{value:1})}catch(d){l=null}e.exports=function(e){var t=s(r,a,arguments);if(u&&l){var n=u(t,"length");n.configurable&&l(t,"length",{value:1+c(0,e.length-(arguments.length-1))})}return t};var f=function(){return s(r,o,arguments)};l?l(e.exports,"apply",{value:f}):e.exports.apply=f},28182:function(e,t,n){"use strict";function r(e){var t,n,i="";if("string"==typeof e||"number"==typeof e)i+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t0}e.exports=function(e,n,r,i){var o,a,s,u,l,c,f,d,h,p,m,v,g;if(o=n.y-e.y,s=e.x-n.x,l=n.x*e.y-e.x*n.y,h=o*r.x+s*r.y+l,p=o*i.x+s*i.y+l,0!==h&&0!==p&&t(h,p))return;if(a=i.y-r.y,u=r.x-i.x,c=i.x*r.y-r.x*i.y,f=a*e.x+u*e.y+c,d=a*n.x+u*n.y+c,0!==f&&0!==d&&t(f,d))return;if(0===(m=o*u-a*s))return;return v=Math.abs(m/2),{x:(g=s*c-u*l)<0?(g-v)/m:(g+v)/m,y:(g=a*l-o*c)<0?(g-v)/m:(g+v)/m}}},42788:function(e){e.exports=function(e,t){return e.intersect(t)}},50618:function(e,t,n){var r=n(13564);e.exports=function(e,t,n){var i=e.x,o=e.y,a=[],s=Number.POSITIVE_INFINITY,u=Number.POSITIVE_INFINITY;t.forEach((function(e){s=Math.min(s,e.x),u=Math.min(u,e.y)}));for(var l=i-e.width/2-s,c=o-e.height/2-u,f=0;f1&&a.sort((function(e,t){var r=e.x-n.x,i=e.y-n.y,o=Math.sqrt(r*r+i*i),a=t.x-n.x,s=t.y-n.y,u=Math.sqrt(a*a+s*s);return oMath.abs(a)*l?(s<0&&(l=-l),n=0===s?0:l*a/s,r=l):(a<0&&(u=-u),n=u,r=0===a?0:u*s/a);return{x:i+n,y:o+r}}},44203:function(e,t,n){var r=n(80630);e.exports=function(e,t){var n=e.append("foreignObject").attr("width","100000"),i=n.append("xhtml:div");i.attr("xmlns","http://www.w3.org/1999/xhtml");var o=t.label;switch(typeof o){case"function":i.insert(o);break;case"object":i.insert((function(){return o}));break;default:i.html(o)}r.applyStyle(i,t.labelStyle),i.style("display","inline-block"),i.style("white-space","nowrap");var a=i.node().getBoundingClientRect();return n.attr("width",a.width).attr("height",a.height),n}},75844:function(e,t,n){var r=n(38312),i=n(44203),o=n(42365);e.exports=function(e,t,n){var a=t.label,s=e.append("g");"svg"===t.labelType?o(s,t):"string"!==typeof a||"html"===t.labelType?i(s,t):r(s,t);var u,l=s.node().getBBox();switch(n){case"top":u=-t.height/2;break;case"bottom":u=t.height/2-l.height;break;default:u=-l.height/2}return s.attr("transform","translate("+-l.width/2+","+u+")"),s}},42365:function(e,t,n){var r=n(80630);e.exports=function(e,t){var n=e;return n.node().appendChild(t.label),r.applyStyle(n,t.labelStyle),n}},38312:function(e,t,n){var r=n(80630);e.exports=function(e,t){for(var n=e.append("text"),i=function(e){for(var t,n="",r=!1,i=0;it?1:e>=t?0:NaN}function o(e){var t;return 1===e.length&&(t=e,e=function(e,n){return i(t(e),n)}),{left:function(t,n,r,i){for(null==r&&(r=0),null==i&&(i=t.length);r>>1;e(t[o],n)<0?r=o+1:i=o}return r},right:function(t,n,r,i){for(null==r&&(r=0),null==i&&(i=t.length);r>>1;e(t[o],n)>0?i=o:r=o+1}return r}}}var a=o(i),s=a.right,u=a.left,l=s;function c(e,t){null==t&&(t=f);for(var n=0,r=e.length-1,i=e[0],o=new Array(r<0?0:r);ne?1:t>=e?0:NaN}function p(e){return null===e?NaN:+e}function m(e,t){var n,r,i=e.length,o=0,a=-1,s=0,u=0;if(null==t)for(;++a1)return u/(o-1)}function v(e,t){var n=m(e,t);return n?Math.sqrt(n):n}function g(e,t){var n,r,i,o=e.length,a=-1;if(null==t){for(;++a=n)for(r=i=n;++an&&(r=n),i=n)for(r=i=n;++an&&(r=n),i0)return[e];if((r=t0)for(e=Math.ceil(e/a),t=Math.floor(t/a),o=new Array(i=Math.ceil(t-e+1));++s=0?(o>=S?10:o>=M?5:o>=T?2:1)*Math.pow(10,i):-Math.pow(10,-i)/(o>=S?10:o>=M?5:o>=T?2:1)}function O(e,t,n){var r=Math.abs(t-e)/Math.max(0,n),i=Math.pow(10,Math.floor(Math.log(r)/Math.LN10)),o=r/i;return o>=S?i*=10:o>=M?i*=5:o>=T&&(i*=2),tf;)d.pop(),--h;var p,m=new Array(h+1);for(i=0;i<=h;++i)(p=m[i]=[]).x0=i>0?d[i-1]:c,p.x1=i=1)return+n(e[r-1],r-1,e);var r,i=(r-1)*t,o=Math.floor(i),a=+n(e[o],o,e);return a+(+n(e[o+1],o+1,e)-a)*(i-o)}}function A(e,t,n){return e=w.call(e,p).sort(i),Math.ceil((n-t)/(2*(j(e,.75)-j(e,.25))*Math.pow(e.length,-1/3)))}function P(e,t,n){return Math.ceil((n-t)/(3.5*v(e)*Math.pow(e.length,-1/3)))}function R(e,t){var n,r,i=e.length,o=-1;if(null==t){for(;++o=n)for(r=n;++or&&(r=n)}else for(;++o=n)for(r=n;++or&&(r=n);return r}function I(e,t){var n,r=e.length,i=r,o=-1,a=0;if(null==t)for(;++o=0;)for(t=(r=e[i]).length;--t>=0;)n[--a]=r[t];return n}function z(e,t){var n,r,i=e.length,o=-1;if(null==t){for(;++o=n)for(r=n;++on&&(r=n)}else for(;++o=n)for(r=n;++on&&(r=n);return r}function B(e,t){for(var n=t.length,r=new Array(n);n--;)r[n]=e[t[n]];return r}function Z(e,t){if(n=e.length){var n,r,o=0,a=0,s=e[a];for(null==t&&(t=i);++o=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 ce(e,t){for(var n,r=0,i=e.length;r0)for(var n,r,i=new Array(n),o=0;ot?1:e>=t?0:NaN}var ke="http://www.w3.org/1999/xhtml",Se={svg:"http://www.w3.org/2000/svg",xhtml:ke,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function Me(e){var t=e+="",n=t.indexOf(":");return n>=0&&"xmlns"!==(t=e.slice(0,n))&&(e=e.slice(n+1)),Se.hasOwnProperty(t)?{space:Se[t],local:e}:e}function Te(e){return function(){this.removeAttribute(e)}}function Ee(e){return function(){this.removeAttributeNS(e.space,e.local)}}function Ce(e,t){return function(){this.setAttribute(e,t)}}function Oe(e,t){return function(){this.setAttributeNS(e.space,e.local,t)}}function De(e,t){return function(){var n=t.apply(this,arguments);null==n?this.removeAttribute(e):this.setAttribute(e,n)}}function Ne(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 je(e){return e.ownerDocument&&e.ownerDocument.defaultView||e.document&&e||e.defaultView}function Ae(e){return function(){this.style.removeProperty(e)}}function Pe(e,t,n){return function(){this.style.setProperty(e,t,n)}}function Re(e,t,n){return function(){var r=t.apply(this,arguments);null==r?this.style.removeProperty(e):this.style.setProperty(e,r,n)}}function Ie(e,t){return e.style.getPropertyValue(t)||je(e).getComputedStyle(e,null).getPropertyValue(t)}function Fe(e){return function(){delete this[e]}}function Le(e,t){return function(){this[e]=t}}function ze(e,t){return function(){var n=t.apply(this,arguments);null==n?delete this[e]:this[e]=n}}function Be(e){return e.trim().split(/^|\s+/)}function Ze(e){return e.classList||new We(e)}function We(e){this._node=e,this._names=Be(e.getAttribute("class")||"")}function He(e,t){for(var n=Ze(e),r=-1,i=t.length;++r=0&&(this._names.splice(t,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(e){return this._names.indexOf(e)>=0}};var lt={},ct=null;"undefined"!==typeof document&&("onmouseenter"in document.documentElement||(lt={mouseenter:"mouseover",mouseleave:"mouseout"}));function ft(e,t,n){return e=dt(e,t,n),function(t){var n=t.relatedTarget;n&&(n===this||8&n.compareDocumentPosition(this))||e.call(this,t)}}function dt(e,t,n){return function(r){var i=ct;ct=r;try{e.call(this,this.__data__,t,n)}finally{ct=i}}}function ht(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 pt(e){return function(){var t=this.__on;if(t){for(var n,r=0,i=-1,o=t.length;r=w&&(w=b+1);!(y=v[w])&&++w=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=_e);for(var n=this._groups,r=n.length,i=new Array(r),o=0;o1?this.each((null==t?Ae:"function"===typeof t?Re:Pe)(e,t,null==n?"":n)):Ie(this.node(),e)},property:function(e,t){return arguments.length>1?this.each((null==t?Fe:"function"===typeof t?ze:Le)(e,t)):this.node()[e]},classed:function(e,t){var n=Be(e+"");if(arguments.length<2){for(var r=Ze(this.node()),i=-1,o=n.length;++i>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===n?Xt(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===n?Xt(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=Lt.exec(e))?new Kt(t[1],t[2],t[3],1):(t=zt.exec(e))?new Kt(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=Bt.exec(e))?Xt(t[1],t[2],t[3],t[4]):(t=Zt.exec(e))?Xt(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=Wt.exec(e))?nn(t[1],t[2]/100,t[3]/100,1):(t=Ht.exec(e))?nn(t[1],t[2]/100,t[3]/100,t[4]):Yt.hasOwnProperty(e)?Gt(Yt[e]):"transparent"===e?new Kt(NaN,NaN,NaN,0):null}function Gt(e){return new Kt(e>>16&255,e>>8&255,255&e,1)}function Xt(e,t,n,r){return r<=0&&(e=t=n=NaN),new Kt(e,t,n,r)}function $t(e){return e instanceof Nt||(e=qt(e)),e?new Kt((e=e.rgb()).r,e.g,e.b,e.opacity):new Kt}function Qt(e,t,n,r){return 1===arguments.length?$t(e):new Kt(e,t,n,null==r?1:r)}function Kt(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}function Jt(){return"#"+tn(this.r)+tn(this.g)+tn(this.b)}function en(){var e=this.opacity;return(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===e?")":", "+e+")")}function tn(e){return((e=Math.max(0,Math.min(255,Math.round(e)||0)))<16?"0":"")+e.toString(16)}function nn(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new an(e,t,n,r)}function rn(e){if(e instanceof an)return new an(e.h,e.s,e.l,e.opacity);if(e instanceof Nt||(e=qt(e)),!e)return new an;if(e instanceof an)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,u=(o+i)/2;return s?(a=t===o?(n-r)/s+6*(n0&&u<1?0:a,new an(a,s,u,e.opacity)}function on(e,t,n,r){return 1===arguments.length?rn(e):new an(e,t,n,null==r?1:r)}function an(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function sn(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 un(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}function ln(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=r180||n<-180?n-360*Math.round(n/360):n):fn(isNaN(e)?t:e)}function pn(e){return 1===(e=+e)?mn: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):fn(isNaN(t)?n:t)}}function mn(e,t){var n=t-e;return n?dn(e,n):fn(isNaN(e)?t:e)}Ot(Nt,qt,{copy:function(e){return Object.assign(new this.constructor,this,e)},displayable:function(){return this.rgb().displayable()},hex:Ut,formatHex:Ut,formatHsl:function(){return rn(this).formatHsl()},formatRgb:Vt,toString:Vt}),Ot(Kt,Qt,Dt(Nt,{brighter:function(e){return e=null==e?At:Math.pow(At,e),new Kt(this.r*e,this.g*e,this.b*e,this.opacity)},darker:function(e){return e=null==e?jt:Math.pow(jt,e),new Kt(this.r*e,this.g*e,this.b*e,this.opacity)},rgb:function(){return this},displayable:function(){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:Jt,formatHex:Jt,formatRgb:en,toString:en})),Ot(an,on,Dt(Nt,{brighter:function(e){return e=null==e?At:Math.pow(At,e),new an(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?jt:Math.pow(jt,e),new an(this.h,this.s,this.l*e,this.opacity)},rgb:function(){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 Kt(sn(e>=240?e-240:e+120,i,r),sn(e,i,r),sn(e<120?e+240:e-120,i,r),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var e=this.opacity;return(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===e?")":", "+e+")")}}));var vn=function e(t){var n=pn(t);function r(e,t){var r=n((e=Qt(e)).r,(t=Qt(t)).r),i=n(e.g,t.g),o=n(e.b,t.b),a=mn(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 gn(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;no&&(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,u.push({i:a,x:Mn(n,r)})),o=Cn.lastIndex;return o=0&&t._call.call(null,e),t=t._next;--Fn}function $n(){Zn=(Bn=Hn.now())+Wn,Fn=Ln=0;try{Xn()}finally{Fn=0,function(){var e,t,n=Rn,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:Rn=t);In=e,Kn(r)}(),Zn=0}}function Qn(){var e=Hn.now(),t=e-Bn;t>1e3&&(Wn-=t,Bn=e)}function Kn(e){Fn||(Ln&&(Ln=clearTimeout(Ln)),e-Zn>24?(e<1/0&&(Ln=setTimeout($n,e-Hn.now()-Wn)),zn&&(zn=clearInterval(zn))):(zn||(Bn=Hn.now(),zn=setInterval(Qn,1e3)),Fn=1,Yn($n)))}function Jn(e,t,n){var r=new qn;return t=null==t?0:+t,r.restart((function(n){r.stop(),e(n+t)}),t,n),r}qn.prototype=Gn.prototype={constructor:qn,restart:function(e,t,n){if("function"!==typeof e)throw new TypeError("callback is not a function");n=(null==n?Un():+n)+(null==t?0:+t),this._next||In===this||(In?In._next=this:Rn=this,In=this),this._call=e,this._time=n,Kn()},stop:function(){this._call&&(this._call=null,this._time=1/0,Kn())}};var er=de("start","end","cancel","interrupt"),tr=[];function nr(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 l,c,f,d;if(1!==n.state)return u();for(l in i)if((d=i[l]).name===n.name){if(3===d.state)return Jn(a);4===d.state?(d.state=6,d.timer.stop(),d.on.call("interrupt",e,e.__data__,d.index,d.group),delete i[l]):+l0)throw new Error("too late; already scheduled");return n}function ir(e,t){var n=or(e,t);if(n.state>3)throw new Error("too late; already running");return n}function or(e,t){var n=e.__transition;if(!n||!(n=n[t]))throw new Error("transition not found");return n}function ar(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}}var sr,ur,lr,cr,fr=180/Math.PI,dr={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function hr(e,t,n,r,i,o){var a,s,u;return(a=Math.sqrt(e*e+t*t))&&(e/=a,t/=a),(u=e*n+t*r)&&(n-=e*u,r-=t*u),(s=Math.sqrt(n*n+r*r))&&(n/=s,r/=s,u/=s),e*r180?t+=360:t-e>180&&(e+=360),o.push({i:n.push(i(n)+"rotate(",null,r)-2,x:Mn(e,t)})):t&&n.push(i(n)+"rotate("+t+r)}(o.rotate,a.rotate,s,u),function(e,t,n,o){e!==t?o.push({i:n.push(i(n)+"skewX(",null,r)-2,x:Mn(e,t)}):t&&n.push(i(n)+"skewX("+t+r)}(o.skewX,a.skewX,s,u),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:Mn(e,n)},{i:s-2,x:Mn(t,r)})}else 1===n&&1===r||o.push(i(o)+"scale("+n+","+r+")")}(o.scaleX,o.scaleY,a.scaleX,a.scaleY,s,u),o=a=null,function(e){for(var t,n=-1,r=u.length;++n=0&&(e=e.slice(0,t)),!e||"start"===e}))}(t)?rr:ir;return function(){var a=o(this,e),s=a.on;s!==r&&(i=(r=s).copy()).on(t,n),a.on=i}}var Fr=kt.prototype.constructor;function Lr(e){return function(){this.style.removeProperty(e)}}function zr(e,t,n){return function(r){this.style.setProperty(e,t.call(this,r),n)}}function Br(e,t,n){var r,i;function o(){var o=t.apply(this,arguments);return o!==i&&(r=(i=o)&&zr(e,o,n)),r}return o._value=t,o}function Zr(e){return function(t){this.textContent=e.call(this,t)}}function Wr(e){var t,n;function r(){var r=e.apply(this,arguments);return r!==n&&(t=(n=r)&&Zr(r)),t}return r._value=e,r}var Hr=0;function Yr(e,t,n,r){this._groups=e,this._parents=t,this._name=n,this._id=r}function Ur(e){return kt().transition(e)}function Vr(){return++Hr}var qr=kt.prototype;function Gr(e){return e*e*e}function Xr(e){return--e*e*e+1}function $r(e){return((e*=2)<=1?e*e*e:(e-=2)*e*e+2)/2}Yr.prototype=Ur.prototype={constructor:Yr,select:function(e){var t=this._name,n=this._id;"function"!==typeof e&&(e=pe(e));for(var r=this._groups,i=r.length,o=new Array(i),a=0;a1&&n.name===t)return new Yr([[e]],Jr,t,+r);return null}function ti(e){return function(){return e}}function ni(e,t,n){this.target=e,this.type=t,this.selection=n}function ri(){ct.stopImmediatePropagation()}function ii(){ct.preventDefault(),ct.stopImmediatePropagation()}var oi={name:"drag"},ai={name:"space"},si={name:"handle"},ui={name:"center"};function li(e){return[+e[0],+e[1]]}function ci(e){return[li(e[0]),li(e[1])]}function fi(e){return function(t){return An(t,ct.touches,e)}}var di={name:"x",handles:["w","e"].map(wi),input:function(e,t){return null==e?null:[[+e[0],t[0][1]],[+e[1],t[1][1]]]},output:function(e){return e&&[e[0][0],e[1][0]]}},hi={name:"y",handles:["n","s"].map(wi),input:function(e,t){return null==e?null:[[t[0][0],+e[0]],[t[1][0],+e[1]]]},output:function(e){return e&&[e[0][1],e[1][1]]}},pi={name:"xy",handles:["n","w","e","s","nw","ne","sw","se"].map(wi),input:function(e){return null==e?null:ci(e)},output:function(e){return e}},mi={overlay:"crosshair",selection:"move",n:"ns-resize",e:"ew-resize",s:"ns-resize",w:"ew-resize",nw:"nwse-resize",ne:"nesw-resize",se:"nwse-resize",sw:"nesw-resize"},vi={e:"w",w:"e",nw:"ne",ne:"nw",se:"sw",sw:"se"},gi={n:"s",s:"n",nw:"sw",ne:"se",se:"ne",sw:"nw"},yi={overlay:1,selection:1,n:null,e:1,s:null,w:-1,nw:-1,ne:1,se:1,sw:-1},bi={overlay:1,selection:1,n:-1,e:null,s:1,w:null,nw:-1,ne:-1,se:1,sw:1};function wi(e){return{type:e}}function xi(){return!ct.ctrlKey&&!ct.button}function _i(){var e=this.ownerSVGElement||this;return 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]]}function ki(){return navigator.maxTouchPoints||"ontouchstart"in this}function Si(e){for(;!e.__brush;)if(!(e=e.parentNode))return;return e.__brush}function Mi(e){return e[0][0]===e[1][0]||e[0][1]===e[1][1]}function Ti(e){var t=e.__brush;return t?t.dim.output(t.selection):null}function Ei(){return Di(di)}function Ci(){return Di(hi)}function Oi(){return Di(pi)}function Di(e){var t,n=_i,r=xi,i=ki,o=!0,a=de("start","brush","end"),s=6;function u(t){var n=t.property("__brush",m).selectAll(".overlay").data([wi("overlay")]);n.enter().append("rect").attr("class","overlay").attr("pointer-events","all").attr("cursor",mi.overlay).merge(n).each((function(){var e=Si(this).extent;St(this).attr("x",e[0][0]).attr("y",e[0][1]).attr("width",e[1][0]-e[0][0]).attr("height",e[1][1]-e[0][1])})),t.selectAll(".selection").data([wi("selection")]).enter().append("rect").attr("class","selection").attr("cursor",mi.selection).attr("fill","#777").attr("fill-opacity",.3).attr("stroke","#fff").attr("shape-rendering","crispEdges");var r=t.selectAll(".handle").data(e.handles,(function(e){return e.type}));r.exit().remove(),r.enter().append("rect").attr("class",(function(e){return"handle handle--"+e.type})).attr("cursor",(function(e){return mi[e.type]})),t.each(l).attr("fill","none").attr("pointer-events","all").on("mousedown.brush",d).filter(i).on("touchstart.brush",d).on("touchmove.brush",h).on("touchend.brush touchcancel.brush",p).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function l(){var e=St(this),t=Si(this).selection;t?(e.selectAll(".selection").style("display",null).attr("x",t[0][0]).attr("y",t[0][1]).attr("width",t[1][0]-t[0][0]).attr("height",t[1][1]-t[0][1]),e.selectAll(".handle").style("display",null).attr("x",(function(e){return"e"===e.type[e.type.length-1]?t[1][0]-s/2:t[0][0]-s/2})).attr("y",(function(e){return"s"===e.type[0]?t[1][1]-s/2:t[0][1]-s/2})).attr("width",(function(e){return"n"===e.type||"s"===e.type?t[1][0]-t[0][0]+s:s})).attr("height",(function(e){return"e"===e.type||"w"===e.type?t[1][1]-t[0][1]+s:s}))):e.selectAll(".selection,.handle").style("display","none").attr("x",null).attr("y",null).attr("width",null).attr("height",null)}function c(e,t,n){var r=e.__brush.emitter;return!r||n&&r.clean?new f(e,t,n):r}function f(e,t,n){this.that=e,this.args=t,this.state=e.__brush,this.active=0,this.clean=n}function d(){if((!t||ct.touches)&&r.apply(this,arguments)){var n,i,a,s,u,f,d,h,p,m,v,g=this,y=ct.target.__data__.type,b="selection"===(o&&ct.metaKey?y="overlay":y)?oi:o&&ct.altKey?ui:si,w=e===hi?null:yi[y],x=e===di?null:bi[y],_=Si(g),k=_.extent,S=_.selection,M=k[0][0],T=k[0][1],E=k[1][0],C=k[1][1],O=0,D=0,N=w&&x&&o&&ct.shiftKey,j=ct.touches?fi(ct.changedTouches[0].identifier):Pn,A=j(g),P=A,R=c(g,arguments,!0).beforestart();"overlay"===y?(S&&(p=!0),_.selection=S=[[n=e===hi?M:A[0],a=e===di?T:A[1]],[u=e===hi?E:n,d=e===di?C:a]]):(n=S[0][0],a=S[0][1],u=S[1][0],d=S[1][1]),i=n,s=a,f=u,h=d;var I=St(g).attr("pointer-events","none"),F=I.selectAll(".overlay").attr("cursor",mi[y]);if(ct.touches)R.moved=z,R.ended=Z;else{var L=St(ct.view).on("mousemove.brush",z,!0).on("mouseup.brush",Z,!0);o&&L.on("keydown.brush",W,!0).on("keyup.brush",H,!0),Et(ct.view)}ri(),ar(g),l.call(g),R.start()}function z(){var e=j(g);!N||m||v||(Math.abs(e[0]-P[0])>Math.abs(e[1]-P[1])?v=!0:m=!0),P=e,p=!0,ii(),B()}function B(){var e;switch(O=P[0]-A[0],D=P[1]-A[1],b){case ai:case oi:w&&(O=Math.max(M-n,Math.min(E-u,O)),i=n+O,f=u+O),x&&(D=Math.max(T-a,Math.min(C-d,D)),s=a+D,h=d+D);break;case si:w<0?(O=Math.max(M-n,Math.min(E-n,O)),i=n+O,f=u):w>0&&(O=Math.max(M-u,Math.min(E-u,O)),i=n,f=u+O),x<0?(D=Math.max(T-a,Math.min(C-a,D)),s=a+D,h=d):x>0&&(D=Math.max(T-d,Math.min(C-d,D)),s=a,h=d+D);break;case ui:w&&(i=Math.max(M,Math.min(E,n-O*w)),f=Math.max(M,Math.min(E,u+O*w))),x&&(s=Math.max(T,Math.min(C,a-D*x)),h=Math.max(T,Math.min(C,d+D*x)))}f0&&(n=i-O),x<0?d=h-D:x>0&&(a=s-D),b=ai,F.attr("cursor",mi.selection),B());break;default:return}ii()}function H(){switch(ct.keyCode){case 16:N&&(m=v=N=!1,B());break;case 18:b===ui&&(w<0?u=f:w>0&&(n=i),x<0?d=h:x>0&&(a=s),b=si,B());break;case 32:b===ai&&(ct.altKey?(w&&(u=f-O*w,n=i+O*w),x&&(d=h-D*x,a=s+D*x),b=ui):(w<0?u=f:w>0&&(n=i),x<0?d=h:x>0&&(a=s),b=si),F.attr("cursor",mi[y]),B());break;default:return}ii()}}function h(){c(this,arguments).moved()}function p(){c(this,arguments).ended()}function m(){var t=this.__brush||{selection:null};return t.extent=ci(n.apply(this,arguments)),t.dim=e,t}return u.move=function(t,n){t.selection?t.on("start.brush",(function(){c(this,arguments).beforestart().start()})).on("interrupt.brush end.brush",(function(){c(this,arguments).end()})).tween("brush",(function(){var t=this,r=t.__brush,i=c(t,arguments),o=r.selection,a=e.input("function"===typeof n?n.apply(this,arguments):n,r.extent),s=Dn(o,a);function u(e){r.selection=1===e&&null===a?null:s(e),l.call(t),i.brush()}return null!==o&&null!==a?u:u(1)})):t.each((function(){var t=this,r=arguments,i=t.__brush,o=e.input("function"===typeof n?n.apply(t,r):n,i.extent),a=c(t,r).beforestart();ar(t),i.selection=null===o?null:o,l.call(t),a.start().brush().end()}))},u.clear=function(e){u.move(e,null)},f.prototype={beforestart:function(){return 1===++this.active&&(this.state.emitter=this,this.starting=!0),this},start:function(){return this.starting?(this.starting=!1,this.emit("start")):this.emit("brush"),this},brush:function(){return this.emit("brush"),this},end:function(){return 0===--this.active&&(delete this.state.emitter,this.emit("end")),this},emit:function(t){vt(new ni(u,t,e.output(this.state.selection)),a.apply,a,[t,this.that,this.args])}},u.extent=function(e){return arguments.length?(n="function"===typeof e?e:ti(ci(e)),u):n},u.filter=function(e){return arguments.length?(r="function"===typeof e?e:ti(!!e),u):r},u.touchable=function(e){return arguments.length?(i="function"===typeof e?e:ti(!!e),u):i},u.handleSize=function(e){return arguments.length?(s=+e,u):s},u.keyModifiers=function(e){return arguments.length?(o=!!e,u):o},u.on=function(){var e=a.on.apply(a,arguments);return e===a?u:e},u}var Ni=Math.cos,ji=Math.sin,Ai=Math.PI,Pi=Ai/2,Ri=2*Ai,Ii=Math.max;function Fi(e){return function(t,n){return e(t.source.value+t.target.value,n.source.value+n.target.value)}}function Li(){var e=0,t=null,n=null,r=null;function i(i){var o,a,s,u,l,c,f=i.length,d=[],h=k(f),p=[],m=[],v=m.groups=new Array(f),g=new Array(f*f);for(o=0,l=-1;++lHi)if(Math.abs(c*s-u*l)>Hi&&i){var d=n-o,h=r-a,p=s*s+u*u,m=d*d+h*h,v=Math.sqrt(p),g=Math.sqrt(f),y=i*Math.tan((Zi-Math.acos((p+f-m)/(2*v*g)))/2),b=y/g,w=y/v;Math.abs(b-1)>Hi&&(this._+="L"+(e+b*l)+","+(t+b*c)),this._+="A"+i+","+i+",0,0,"+ +(c*d>l*h)+","+(this._x1=e+w*s)+","+(this._y1=t+w*u)}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),u=e+a,l=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"+u+","+l:(Math.abs(this._x1-u)>Hi||Math.abs(this._y1-l)>Hi)&&(this._+="L"+u+","+l),n&&(f<0&&(f=f%Wi+Wi),f>Yi?this._+="A"+n+","+n+",0,1,"+c+","+(e-a)+","+(t-s)+"A"+n+","+n+",0,1,"+c+","+(this._x1=u)+","+(this._y1=l):f>Hi&&(this._+="A"+n+","+n+",0,"+ +(f>=Zi)+","+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._}};var qi=Vi;function Gi(e){return e.source}function Xi(e){return e.target}function $i(e){return e.radius}function Qi(e){return e.startAngle}function Ki(e){return e.endAngle}function Ji(){var e=Gi,t=Xi,n=$i,r=Qi,i=Ki,o=null;function a(){var a,s=zi.call(arguments),u=e.apply(this,s),l=t.apply(this,s),c=+n.apply(this,(s[0]=u,s)),f=r.apply(this,s)-Pi,d=i.apply(this,s)-Pi,h=c*Ni(f),p=c*ji(f),m=+n.apply(this,(s[0]=l,s)),v=r.apply(this,s)-Pi,g=i.apply(this,s)-Pi;if(o||(o=a=qi()),o.moveTo(h,p),o.arc(0,0,c,f,d),f===v&&d===g||(o.quadraticCurveTo(0,0,m*Ni(v),m*ji(v)),o.arc(0,0,m,v,g)),o.quadraticCurveTo(0,0,h,p),o.closePath(),a)return o=null,a+""||null}return a.radius=function(e){return arguments.length?(n="function"===typeof e?e:Bi(+e),a):n},a.startAngle=function(e){return arguments.length?(r="function"===typeof e?e:Bi(+e),a):r},a.endAngle=function(e){return arguments.length?(i="function"===typeof e?e:Bi(+e),a):i},a.source=function(t){return arguments.length?(e=t,a):e},a.target=function(e){return arguments.length?(t=e,a):t},a.context=function(e){return arguments.length?(o=null==e?null:e,a):o},a}var eo="$";function to(){}function no(e,t){var n=new to;if(e instanceof to)e.each((function(e,t){n.set(t,e)}));else if(Array.isArray(e)){var r,i=-1,o=e.length;if(null==t)for(;++i=r.length)return null!=e&&n.sort(e),null!=t?t(n):n;for(var u,l,c,f=-1,d=n.length,h=r[i++],p=ro(),m=a();++fr.length)return e;var o,s=i[n-1];return null!=t&&n>=r.length?o=e.entries():(o=[],e.each((function(e,t){o.push({key:t,values:a(e,n)})}))),null!=s?o.sort((function(e,t){return s(e.key,t.key)})):o}return n={object:function(e){return o(e,0,oo,ao)},map:function(e){return o(e,0,so,uo)},entries:function(e){return a(o(e,0,so,uo),0)},key:function(e){return r.push(e),n},sortKeys:function(e){return i[r.length-1]=e,n},sortValues:function(t){return e=t,n},rollup:function(e){return t=e,n}}}function oo(){return{}}function ao(e,t,n){e[t]=n}function so(){return ro()}function uo(e,t,n){e.set(t,n)}function lo(){}var co=ro.prototype;function fo(e,t){var n=new lo;if(e instanceof lo)e.each((function(e){n.add(e)}));else if(e){var r=-1,i=e.length;if(null==t)for(;++r.008856451679035631?Math.pow(e,1/3):e/ko+xo}function Oo(e){return e>_o?e*e*e:ko*(e-xo)}function Do(e){return 255*(e<=.0031308?12.92*e:1.055*Math.pow(e,1/2.4)-.055)}function No(e){return(e/=255)<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4)}function jo(e){if(e instanceof Ro)return new Ro(e.h,e.c,e.l,e.opacity);if(e instanceof Eo||(e=So(e)),0===e.a&&0===e.b)return new Ro(NaN,0r!==h>r&&n<(d-l)*(r-c)/(h-c)+l&&(i=-i)}return i}function Jo(e,t,n){var r,i,o,a;return function(e,t,n){return(t[0]-e[0])*(n[1]-e[1])===(n[0]-e[0])*(t[1]-e[1])}(e,t,n)&&(i=e[r=+(e[0]===t[0])],o=n[r],a=t[r],i<=o&&o<=a||a<=o&&o<=i)}function ea(){}var ta=[[],[[[1,1.5],[.5,1]]],[[[1.5,1],[1,1.5]]],[[[1.5,1],[.5,1]]],[[[1,.5],[1.5,1]]],[[[1,1.5],[.5,1]],[[1,.5],[1.5,1]]],[[[1,.5],[1,1.5]]],[[[1,.5],[.5,1]]],[[[.5,1],[1,.5]]],[[[1,1.5],[1,.5]]],[[[.5,1],[1,.5]],[[1.5,1],[1,1.5]]],[[[1.5,1],[1,.5]]],[[[.5,1],[1.5,1]]],[[[1,1.5],[1.5,1]]],[[[.5,1],[1,1.5]]],[]];function na(){var e=1,t=1,n=D,r=s;function i(e){var t=n(e);if(Array.isArray(t))t=t.slice().sort(Xo);else{var r=g(e),i=r[0],a=r[1];t=O(i,a,t),t=k(Math.floor(i/t)*t,Math.floor(a/t)*t,t)}return t.map((function(t){return o(e,t)}))}function o(n,i){var o=[],s=[];return function(n,r,i){var o,s,u,l,c,f,d=new Array,h=new Array;o=s=-1,l=n[0]>=r,ta[l<<1].forEach(p);for(;++o=r,ta[u|l<<1].forEach(p);ta[l<<0].forEach(p);for(;++s=r,c=n[s*e]>=r,ta[l<<1|c<<2].forEach(p);++o=r,f=c,c=n[s*e+o+1]>=r,ta[u|l<<1|c<<2|f<<3].forEach(p);ta[l|c<<3].forEach(p)}o=-1,c=n[s*e]>=r,ta[c<<2].forEach(p);for(;++o=r,ta[c<<2|f<<3].forEach(p);function p(e){var t,n,r=[e[0][0]+o,e[0][1]+s],u=[e[1][0]+o,e[1][1]+s],l=a(r),c=a(u);(t=h[l])?(n=d[c])?(delete h[t.end],delete d[n.start],t===n?(t.ring.push(u),i(t.ring)):d[t.start]=h[n.end]={start:t.start,end:n.end,ring:t.ring.concat(n.ring)}):(delete h[t.end],t.ring.push(u),h[t.end=c]=t):(t=d[c])?(n=h[l])?(delete d[t.start],delete h[n.end],t===n?(t.ring.push(u),i(t.ring)):d[n.start]=h[t.end]={start:n.start,end:t.end,ring:n.ring.concat(t.ring)}):(delete d[t.start],t.ring.unshift(r),d[t.start=l]=t):d[l]=h[c]={start:l,end:c,ring:[r,u]}}ta[c<<3].forEach(p)}(n,i,(function(e){r(e,n,i),function(e){for(var t=0,n=e.length,r=e[n-1][1]*e[0][0]-e[n-1][0]*e[0][1];++t0?o.push([e]):s.push(e)})),s.forEach((function(e){for(var t,n=0,r=o.length;n0&&a0&&s0)||!(o>0))throw new Error("invalid size");return e=r,t=o,i},i.thresholds=function(e){return arguments.length?(n="function"===typeof e?e:Array.isArray(e)?$o(Go.call(e)):$o(e),i):n},i.smooth=function(e){return arguments.length?(r=e?s:ea,i):r===s},i}function ra(e,t,n){for(var r=e.width,i=e.height,o=1+(n<<1),a=0;a=n&&(s>=o&&(u-=e.data[s-o+a*r]),t.data[s-n+a*r]=u/Math.min(s+1,r-1+o-s,o))}function ia(e,t,n){for(var r=e.width,i=e.height,o=1+(n<<1),a=0;a=n&&(s>=o&&(u-=e.data[a+(s-o)*r]),t.data[a+(s-n)*r]=u/Math.min(s+1,i-1+o-s,o))}function oa(e){return e[0]}function aa(e){return e[1]}function sa(){return 1}function ua(){var e=oa,t=aa,n=sa,r=960,i=500,o=20,a=2,s=3*o,u=r+2*s>>a,l=i+2*s>>a,c=$o(20);function f(r){var i=new Float32Array(u*l),f=new Float32Array(u*l);r.forEach((function(r,o,c){var f=+e(r,o,c)+s>>a,d=+t(r,o,c)+s>>a,h=+n(r,o,c);f>=0&&f=0&&d>a),ia({width:u,height:l,data:f},{width:u,height:l,data:i},o>>a),ra({width:u,height:l,data:i},{width:u,height:l,data:f},o>>a),ia({width:u,height:l,data:f},{width:u,height:l,data:i},o>>a),ra({width:u,height:l,data:i},{width:u,height:l,data:f},o>>a),ia({width:u,height:l,data:f},{width:u,height:l,data:i},o>>a);var h=c(i);if(!Array.isArray(h)){var p=R(i);h=O(0,p,h),(h=k(0,Math.floor(p/h)*h,h)).shift()}return na().thresholds(h).size([u,l])(i).map(d)}function d(e){return e.value*=Math.pow(2,-2*a),e.coordinates.forEach(h),e}function h(e){e.forEach(p)}function p(e){e.forEach(m)}function m(e){e[0]=e[0]*Math.pow(2,a)-s,e[1]=e[1]*Math.pow(2,a)-s}function v(){return u=r+2*(s=3*o)>>a,l=i+2*s>>a,f}return f.x=function(t){return arguments.length?(e="function"===typeof t?t:$o(+t),f):e},f.y=function(e){return arguments.length?(t="function"===typeof e?e:$o(+e),f):t},f.weight=function(e){return arguments.length?(n="function"===typeof e?e:$o(+e),f):n},f.size=function(e){if(!arguments.length)return[r,i];var t=Math.ceil(e[0]),n=Math.ceil(e[1]);if(!(t>=0)&&!(t>=0))throw new Error("invalid size");return r=t,i=n,v()},f.cellSize=function(e){if(!arguments.length)return 1<=1))throw new Error("invalid cell size");return a=Math.floor(Math.log(e)/Math.LN2),v()},f.thresholds=function(e){return arguments.length?(c="function"===typeof e?e:Array.isArray(e)?$o(Go.call(e)):$o(e),f):c},f.bandwidth=function(e){if(!arguments.length)return Math.sqrt(o*(o+1));if(!((e=+e)>=0))throw new Error("invalid bandwidth");return o=Math.round((Math.sqrt(4*e*e+1)-1)/2),v()},f}function la(e){return function(){return e}}function ca(e,t,n,r,i,o,a,s,u,l){this.target=e,this.type=t,this.subject=n,this.identifier=r,this.active=i,this.x=o,this.y=a,this.dx=s,this.dy=u,this._=l}function fa(){return!ct.ctrlKey&&!ct.button}function da(){return this.parentNode}function ha(e){return null==e?{x:ct.x,y:ct.y}:e}function pa(){return navigator.maxTouchPoints||"ontouchstart"in this}function ma(){var e,t,n,r,i=fa,o=da,a=ha,s=pa,u={},l=de("start","drag","end"),c=0,f=0;function d(e){e.on("mousedown.drag",h).filter(s).on("touchstart.drag",v).on("touchmove.drag",g).on("touchend.drag touchcancel.drag",y).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function h(){if(!r&&i.apply(this,arguments)){var a=b("mouse",o.apply(this,arguments),Pn,this,arguments);a&&(St(ct.view).on("mousemove.drag",p,!0).on("mouseup.drag",m,!0),Et(ct.view),Mt(),n=!1,e=ct.clientX,t=ct.clientY,a("start"))}}function p(){if(Tt(),!n){var r=ct.clientX-e,i=ct.clientY-t;n=r*r+i*i>f}u.mouse("drag")}function m(){St(ct.view).on("mousemove.drag mouseup.drag",null),Ct(ct.view,n),Tt(),u.mouse("end")}function v(){if(i.apply(this,arguments)){var e,t,n=ct.changedTouches,r=o.apply(this,arguments),a=n.length;for(e=0;e9999?"+"+wa(e,6):wa(e,4)}(e.getUTCFullYear())+"-"+wa(e.getUTCMonth()+1,2)+"-"+wa(e.getUTCDate(),2)+(i?"T"+wa(t,2)+":"+wa(n,2)+":"+wa(r,2)+"."+wa(i,3)+"Z":r?"T"+wa(t,2)+":"+wa(n,2)+":"+wa(r,2)+"Z":n||t?"T"+wa(t,2)+":"+wa(n,2)+"Z":"")}function _a(e){var t=new RegExp('["'+e+"\n\r]"),n=e.charCodeAt(0);function r(e,t){var r,i=[],o=e.length,a=0,s=0,u=o<=0,l=!1;function c(){if(u)return ga;if(l)return l=!1,va;var t,r,i=a;if(34===e.charCodeAt(i)){for(;a++=o?u=!0:10===(r=e.charCodeAt(a++))?l=!0:13===r&&(l=!0,10===e.charCodeAt(a)&&++a),e.slice(i+1,t-1).replace(/""/g,'"')}for(;a=(o=(m+g)/2))?m=o:g=o,(c=n>=(a=(v+y)/2))?v=a:y=a,i=h,!(h=h[f=c<<1|l]))return i[f]=p,e;if(s=+e._x.call(null,h.data),u=+e._y.call(null,h.data),t===s&&n===u)return p.next=h,i?i[f]=p:e._root=p,e;do{i=i?i[f]=new Array(4):e._root=new Array(4),(l=t>=(o=(m+g)/2))?m=o:g=o,(c=n>=(a=(v+y)/2))?v=a:y=a}while((f=c<<1|l)===(d=(u>=a)<<1|s>=o));return i[d]=h,i[f]=p,e}function Bs(e,t,n,r,i){this.node=e,this.x0=t,this.y0=n,this.x1=r,this.y1=i}function Zs(e){return e[0]}function Ws(e){return e[1]}function Hs(e,t,n){var r=new Ys(null==t?Zs:t,null==n?Ws:n,NaN,NaN,NaN,NaN);return null==e?r:r.addAll(e)}function Ys(e,t,n,r,i,o){this._x=e,this._y=t,this._x0=n,this._y0=r,this._x1=i,this._y1=o,this._root=void 0}function Us(e){for(var t={data:e.data},n=t;e=e.next;)n=n.next={data:e.data};return t}var Vs=Hs.prototype=Ys.prototype;function qs(e){return e.x+e.vx}function Gs(e){return e.y+e.vy}function Xs(e){var t,n,r=1,i=1;function o(){for(var e,o,s,u,l,c,f,d=t.length,h=0;hu+h||il+h||os.index){var p=u-a.x-a.vx,m=l-a.y-a.vy,v=p*p+m*m;ve.r&&(e.r=e[t].r)}function s(){if(t){var r,i,o=t.length;for(n=new Array(o),r=0;rc&&(c=r),if&&(f=i));if(u>c||l>f)return this;for(this.cover(u,l).cover(c,f),n=0;ne||e>=i||r>t||t>=o;)switch(s=(td||(o=u.y0)>h||(a=u.x1)=g)<<1|e>=v)&&(u=p[p.length-1],p[p.length-1]=p[p.length-1-l],p[p.length-1-l]=u)}else{var y=e-+this._x.call(null,m.data),b=t-+this._y.call(null,m.data),w=y*y+b*b;if(w=(s=(p+v)/2))?p=s:v=s,(c=a>=(u=(m+g)/2))?m=u:g=u,t=h,!(h=h[f=c<<1|l]))return this;if(!h.length)break;(t[f+1&3]||t[f+2&3]||t[f+3&3])&&(n=t,d=f)}for(;h.data!==e;)if(r=h,!(h=h.next))return this;return(i=h.next)&&delete h.next,r?(i?r.next=i:delete r.next,this):t?(i?t[f]=i:delete t[f],(h=t[0]||t[1]||t[2]||t[3])&&h===(t[3]||t[2]||t[1]||t[0])&&!h.length&&(n?n[d]=h:this._root=h),this):(this._root=i,this)},Vs.removeAll=function(e){for(var t=0,n=e.length;t1?(null==n?s.remove(e):s.set(e,h(n)),t):s.get(e)},find:function(t,n,r){var i,o,a,s,u,l=0,c=e.length;for(null==r?r=1/0:r*=r,l=0;l1?(l.on(e,n),t):l.on(e)}}}function ru(){var e,t,n,r,i=Fs(-30),o=1,a=1/0,s=.81;function u(r){var i,o=e.length,a=Hs(e,Js,eu).visitAfter(c);for(n=r,i=0;i=a)){(e.data!==t||e.next)&&(0===c&&(h+=(c=Ls())*c),0===f&&(h+=(f=Ls())*f),h1?r[0]+r.slice(2):r,+e.slice(n+1)]}function uu(e){return(e=su(Math.abs(e)))?e[1]:NaN}var lu,cu=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function fu(e){if(!(t=cu.exec(e)))throw new Error("invalid format: "+e);var t;return new du({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}function du(e){this.fill=void 0===e.fill?" ":e.fill+"",this.align=void 0===e.align?">":e.align+"",this.sign=void 0===e.sign?"-":e.sign+"",this.symbol=void 0===e.symbol?"":e.symbol+"",this.zero=!!e.zero,this.width=void 0===e.width?void 0:+e.width,this.comma=!!e.comma,this.precision=void 0===e.precision?void 0:+e.precision,this.trim=!!e.trim,this.type=void 0===e.type?"":e.type+""}function hu(e,t){var n=su(e,t);if(!n)return e+"";var r=n[0],i=n[1];return i<0?"0."+new Array(-i).join("0")+r:r.length>i+1?r.slice(0,i+1)+"."+r.slice(i+1):r+new Array(i-r.length+2).join("0")}fu.prototype=du.prototype,du.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};var pu={"%":function(e,t){return(100*e).toFixed(t)},b:function(e){return Math.round(e).toString(2)},c:function(e){return e+""},d:function(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString("en").replace(/,/g,""):e.toString(10)},e:function(e,t){return e.toExponential(t)},f:function(e,t){return e.toFixed(t)},g:function(e,t){return e.toPrecision(t)},o:function(e){return Math.round(e).toString(8)},p:function(e,t){return hu(100*e,t)},r:hu,s:function(e,t){var n=su(e,t);if(!n)return e+"";var r=n[0],i=n[1],o=i-(lu=3*Math.max(-8,Math.min(8,Math.floor(i/3))))+1,a=r.length;return o===a?r:o>a?r+new Array(o-a+1).join("0"):o>0?r.slice(0,o)+"."+r.slice(o):"0."+new Array(1-o).join("0")+su(e,Math.max(0,t+o-1))[0]},X:function(e){return Math.round(e).toString(16).toUpperCase()},x:function(e){return Math.round(e).toString(16)}};function mu(e){return e}var vu,gu,yu,bu=Array.prototype.map,wu=["y","z","a","f","p","n","\xb5","m","","k","M","G","T","P","E","Z","Y"];function xu(e){var t,n,r=void 0===e.grouping||void 0===e.thousands?mu:(t=bu.call(e.grouping,Number),n=e.thousands+"",function(e,r){for(var i=e.length,o=[],a=0,s=t[0],u=0;i>0&&s>0&&(u+s+1>r&&(s=Math.max(1,r-u)),o.push(e.substring(i-=s,i+s)),!((u+=s+1)>r));)s=t[a=(a+1)%t.length];return o.reverse().join(n)}),i=void 0===e.currency?"":e.currency[0]+"",o=void 0===e.currency?"":e.currency[1]+"",a=void 0===e.decimal?".":e.decimal+"",s=void 0===e.numerals?mu:function(e){return function(t){return t.replace(/[0-9]/g,(function(t){return e[+t]}))}}(bu.call(e.numerals,String)),u=void 0===e.percent?"%":e.percent+"",l=void 0===e.minus?"-":e.minus+"",c=void 0===e.nan?"NaN":e.nan+"";function f(e){var t=(e=fu(e)).fill,n=e.align,f=e.sign,d=e.symbol,h=e.zero,p=e.width,m=e.comma,v=e.precision,g=e.trim,y=e.type;"n"===y?(m=!0,y="g"):pu[y]||(void 0===v&&(v=12),g=!0,y="g"),(h||"0"===t&&"="===n)&&(h=!0,t="0",n="=");var b="$"===d?i:"#"===d&&/[boxX]/.test(y)?"0"+y.toLowerCase():"",w="$"===d?o:/[%p]/.test(y)?u:"",x=pu[y],_=/[defgprs%]/.test(y);function k(e){var i,o,u,d=b,k=w;if("c"===y)k=x(e)+k,e="";else{var S=(e=+e)<0||1/e<0;if(e=isNaN(e)?c:x(Math.abs(e),v),g&&(e=function(e){e:for(var t,n=e.length,r=1,i=-1;r0&&(i=0)}return i>0?e.slice(0,i)+e.slice(t+1):e}(e)),S&&0===+e&&"+"!==f&&(S=!1),d=(S?"("===f?f:l:"-"===f||"("===f?"":f)+d,k=("s"===y?wu[8+lu/3]:"")+k+(S&&"("===f?")":""),_)for(i=-1,o=e.length;++i(u=e.charCodeAt(i))||u>57){k=(46===u?a+e.slice(i+1):e.slice(i))+k,e=e.slice(0,i);break}}m&&!h&&(e=r(e,1/0));var M=d.length+e.length+k.length,T=M>1)+d+e+k+T.slice(M);break;default:e=T+d+e+k}return s(e)}return v=void 0===v?6:/[gprs]/.test(y)?Math.max(1,Math.min(21,v)):Math.max(0,Math.min(20,v)),k.toString=function(){return e+""},k}return{format:f,formatPrefix:function(e,t){var n=f(((e=fu(e)).type="f",e)),r=3*Math.max(-8,Math.min(8,Math.floor(uu(t)/3))),i=Math.pow(10,-r),o=wu[8+r/3];return function(e){return n(i*e)+o}}}}function _u(e){return vu=xu(e),gu=vu.format,yu=vu.formatPrefix,vu}function ku(e){return Math.max(0,-uu(Math.abs(e)))}function Su(e,t){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(uu(t)/3)))-uu(Math.abs(e)))}function Mu(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,uu(t)-uu(e))+1}function Tu(){return new Eu}function Eu(){this.reset()}_u({decimal:".",thousands:",",grouping:[3],currency:["$",""],minus:"-"}),Eu.prototype={constructor:Eu,reset:function(){this.s=this.t=0},add:function(e){Ou(Cu,e,this.t),Ou(this,Cu.s,this.s),this.s?this.t+=Cu.t:this.s=Cu.t},valueOf:function(){return this.s}};var Cu=new Eu;function Ou(e,t,n){var r=e.s=t+n,i=r-t,o=r-i;e.t=t-o+(n-i)}var Du=1e-6,Nu=1e-12,ju=Math.PI,Au=ju/2,Pu=ju/4,Ru=2*ju,Iu=180/ju,Fu=ju/180,Lu=Math.abs,zu=Math.atan,Bu=Math.atan2,Zu=Math.cos,Wu=Math.ceil,Hu=Math.exp,Yu=(Math.floor,Math.log),Uu=Math.pow,Vu=Math.sin,qu=Math.sign||function(e){return e>0?1:e<0?-1:0},Gu=Math.sqrt,Xu=Math.tan;function $u(e){return e>1?0:e<-1?ju:Math.acos(e)}function Qu(e){return e>1?Au:e<-1?-Au:Math.asin(e)}function Ku(e){return(e=Vu(e/2))*e}function Ju(){}function el(e,t){e&&nl.hasOwnProperty(e.type)&&nl[e.type](e,t)}var tl={Feature:function(e,t){el(e.geometry,t)},FeatureCollection:function(e,t){for(var n=e.features,r=-1,i=n.length;++r=0?1:-1,i=r*n,o=Zu(t=(t*=Fu)/2+Pu),a=Vu(t),s=cl*a,u=ll*o+s*Zu(i),l=s*r*Vu(i);fl.add(Bu(l,u)),ul=e,ll=o,cl=a}function yl(e){return dl.reset(),ol(e,hl),2*dl}function bl(e){return[Bu(e[1],e[0]),Qu(e[2])]}function wl(e){var t=e[0],n=e[1],r=Zu(n);return[r*Zu(t),r*Vu(t),Vu(n)]}function xl(e,t){return e[0]*t[0]+e[1]*t[1]+e[2]*t[2]}function _l(e,t){return[e[1]*t[2]-e[2]*t[1],e[2]*t[0]-e[0]*t[2],e[0]*t[1]-e[1]*t[0]]}function kl(e,t){e[0]+=t[0],e[1]+=t[1],e[2]+=t[2]}function Sl(e,t){return[e[0]*t,e[1]*t,e[2]*t]}function Ml(e){var t=Gu(e[0]*e[0]+e[1]*e[1]+e[2]*e[2]);e[0]/=t,e[1]/=t,e[2]/=t}var Tl,El,Cl,Ol,Dl,Nl,jl,Al,Pl,Rl,Il,Fl,Ll,zl,Bl,Zl,Wl,Hl,Yl,Ul,Vl,ql,Gl,Xl,$l,Ql,Kl=Tu(),Jl={point:ec,lineStart:nc,lineEnd:rc,polygonStart:function(){Jl.point=ic,Jl.lineStart=oc,Jl.lineEnd=ac,Kl.reset(),hl.polygonStart()},polygonEnd:function(){hl.polygonEnd(),Jl.point=ec,Jl.lineStart=nc,Jl.lineEnd=rc,fl<0?(Tl=-(Cl=180),El=-(Ol=90)):Kl>Du?Ol=90:Kl<-1e-6&&(El=-90),Rl[0]=Tl,Rl[1]=Cl},sphere:function(){Tl=-(Cl=180),El=-(Ol=90)}};function ec(e,t){Pl.push(Rl=[Tl=e,Cl=e]),tOl&&(Ol=t)}function tc(e,t){var n=wl([e*Fu,t*Fu]);if(Al){var r=_l(Al,n),i=_l([r[1],-r[0],0],r);Ml(i),i=bl(i);var o,a=e-Dl,s=a>0?1:-1,u=i[0]*Iu*s,l=Lu(a)>180;l^(s*DlOl&&(Ol=o):l^(s*Dl<(u=(u+360)%360-180)&&uOl&&(Ol=t)),l?esc(Tl,Cl)&&(Cl=e):sc(e,Cl)>sc(Tl,Cl)&&(Tl=e):Cl>=Tl?(eCl&&(Cl=e)):e>Dl?sc(Tl,e)>sc(Tl,Cl)&&(Cl=e):sc(e,Cl)>sc(Tl,Cl)&&(Tl=e)}else Pl.push(Rl=[Tl=e,Cl=e]);tOl&&(Ol=t),Al=n,Dl=e}function nc(){Jl.point=tc}function rc(){Rl[0]=Tl,Rl[1]=Cl,Jl.point=ec,Al=null}function ic(e,t){if(Al){var n=e-Dl;Kl.add(Lu(n)>180?n+(n>0?360:-360):n)}else Nl=e,jl=t;hl.point(e,t),tc(e,t)}function oc(){hl.lineStart()}function ac(){ic(Nl,jl),hl.lineEnd(),Lu(Kl)>Du&&(Tl=-(Cl=180)),Rl[0]=Tl,Rl[1]=Cl,Al=null}function sc(e,t){return(t-=e)<0?t+360:t}function uc(e,t){return e[0]-t[0]}function lc(e,t){return e[0]<=e[1]?e[0]<=t&&t<=e[1]:tsc(r[0],r[1])&&(r[1]=i[1]),sc(i[0],r[1])>sc(r[0],r[1])&&(r[0]=i[0])):o.push(r=i);for(a=-1/0,t=0,r=o[n=o.length-1];t<=n;r=i,++t)i=o[t],(s=sc(r[1],i[0]))>a&&(a=s,Tl=i[0],Cl=r[1])}return Pl=Rl=null,Tl===1/0||El===1/0?[[NaN,NaN],[NaN,NaN]]:[[Tl,El],[Cl,Ol]]}var fc={sphere:Ju,point:dc,lineStart:pc,lineEnd:gc,polygonStart:function(){fc.lineStart=yc,fc.lineEnd=bc},polygonEnd:function(){fc.lineStart=pc,fc.lineEnd=gc}};function dc(e,t){e*=Fu;var n=Zu(t*=Fu);hc(n*Zu(e),n*Vu(e),Vu(t))}function hc(e,t,n){++Il,Ll+=(e-Ll)/Il,zl+=(t-zl)/Il,Bl+=(n-Bl)/Il}function pc(){fc.point=mc}function mc(e,t){e*=Fu;var n=Zu(t*=Fu);Xl=n*Zu(e),$l=n*Vu(e),Ql=Vu(t),fc.point=vc,hc(Xl,$l,Ql)}function vc(e,t){e*=Fu;var n=Zu(t*=Fu),r=n*Zu(e),i=n*Vu(e),o=Vu(t),a=Bu(Gu((a=$l*o-Ql*i)*a+(a=Ql*r-Xl*o)*a+(a=Xl*i-$l*r)*a),Xl*r+$l*i+Ql*o);Fl+=a,Zl+=a*(Xl+(Xl=r)),Wl+=a*($l+($l=i)),Hl+=a*(Ql+(Ql=o)),hc(Xl,$l,Ql)}function gc(){fc.point=dc}function yc(){fc.point=wc}function bc(){xc(ql,Gl),fc.point=dc}function wc(e,t){ql=e,Gl=t,e*=Fu,t*=Fu,fc.point=xc;var n=Zu(t);Xl=n*Zu(e),$l=n*Vu(e),Ql=Vu(t),hc(Xl,$l,Ql)}function xc(e,t){e*=Fu;var n=Zu(t*=Fu),r=n*Zu(e),i=n*Vu(e),o=Vu(t),a=$l*o-Ql*i,s=Ql*r-Xl*o,u=Xl*i-$l*r,l=Gu(a*a+s*s+u*u),c=Qu(l),f=l&&-c/l;Yl+=f*a,Ul+=f*s,Vl+=f*u,Fl+=c,Zl+=c*(Xl+(Xl=r)),Wl+=c*($l+($l=i)),Hl+=c*(Ql+(Ql=o)),hc(Xl,$l,Ql)}function _c(e){Il=Fl=Ll=zl=Bl=Zl=Wl=Hl=Yl=Ul=Vl=0,ol(e,fc);var t=Yl,n=Ul,r=Vl,i=t*t+n*n+r*r;return iju?e+Math.round(-e/Ru)*Ru:e,t]}function Tc(e,t,n){return(e%=Ru)?t||n?Sc(Cc(e),Oc(t,n)):Cc(e):t||n?Oc(t,n):Mc}function Ec(e){return function(t,n){return[(t+=e)>ju?t-Ru:t<-ju?t+Ru:t,n]}}function Cc(e){var t=Ec(e);return t.invert=Ec(-e),t}function Oc(e,t){var n=Zu(e),r=Vu(e),i=Zu(t),o=Vu(t);function a(e,t){var a=Zu(t),s=Zu(e)*a,u=Vu(e)*a,l=Vu(t),c=l*n+s*r;return[Bu(u*i-c*o,s*n-l*r),Qu(c*i+u*o)]}return a.invert=function(e,t){var a=Zu(t),s=Zu(e)*a,u=Vu(e)*a,l=Vu(t),c=l*i-u*o;return[Bu(u*i+l*o,s*n+c*r),Qu(c*n-s*r)]},a}function Dc(e){function t(t){return(t=e(t[0]*Fu,t[1]*Fu))[0]*=Iu,t[1]*=Iu,t}return e=Tc(e[0]*Fu,e[1]*Fu,e.length>2?e[2]*Fu:0),t.invert=function(t){return(t=e.invert(t[0]*Fu,t[1]*Fu))[0]*=Iu,t[1]*=Iu,t},t}function Nc(e,t,n,r,i,o){if(n){var a=Zu(t),s=Vu(t),u=r*n;null==i?(i=t+r*Ru,o=t-u/2):(i=jc(a,i),o=jc(a,o),(r>0?io)&&(i+=r*Ru));for(var l,c=i;r>0?c>o:c1&&t.push(t.pop().concat(t.shift()))},result:function(){var n=t;return t=[],e=null,n}}}function Rc(e,t){return Lu(e[0]-t[0])=0;--o)i.point((c=l[o])[0],c[1]);else r(d.x,d.p.x,-1,i);d=d.p}l=(d=d.o).z,h=!h}while(!d.v);i.lineEnd()}}}function Lc(e){if(t=e.length){for(var t,n,r=0,i=e[0];++r=0?1:-1,M=S*k,T=M>ju,E=m*x;if(zc.add(Bu(E*S*Vu(M),v*_+E*Zu(M))),a+=T?k+S*Ru:k,T^h>=n^b>=n){var C=_l(wl(d),wl(y));Ml(C);var O=_l(o,C);Ml(O);var D=(T^k>=0?-1:1)*Qu(O[2]);(r>D||r===D&&(C[0]||C[1]))&&(s+=T^k>=0?1:-1)}}return(a<-1e-6||a0){for(f||(i.polygonStart(),f=!0),i.lineStart(),e=0;e1&&2&u&&d.push(d.pop().concat(d.shift())),a.push(d.filter(Hc))}return d}}function Hc(e){return e.length>1}function Yc(e,t){return((e=e.x)[0]<0?e[1]-Au-Du:Au-e[1])-((t=t.x)[0]<0?t[1]-Au-Du:Au-t[1])}var Uc=Wc((function(){return!0}),(function(e){var t,n=NaN,r=NaN,i=NaN;return{lineStart:function(){e.lineStart(),t=1},point:function(o,a){var s=o>0?ju:-ju,u=Lu(o-n);Lu(u-ju)0?Au:-Au),e.point(i,r),e.lineEnd(),e.lineStart(),e.point(s,r),e.point(o,r),t=0):i!==s&&u>=ju&&(Lu(n-i)Du?zu((Vu(t)*(o=Zu(r))*Vu(n)-Vu(r)*(i=Zu(t))*Vu(e))/(i*o*a)):(t+r)/2}(n,r,o,a),e.point(i,r),e.lineEnd(),e.lineStart(),e.point(s,r),t=0),e.point(n=o,r=a),i=s},lineEnd:function(){e.lineEnd(),n=r=NaN},clean:function(){return 2-t}}}),(function(e,t,n,r){var i;if(null==e)i=n*Au,r.point(-ju,i),r.point(0,i),r.point(ju,i),r.point(ju,0),r.point(ju,-i),r.point(0,-i),r.point(-ju,-i),r.point(-ju,0),r.point(-ju,i);else if(Lu(e[0]-t[0])>Du){var o=e[0]0,i=Lu(t)>Du;function o(e,n){return Zu(e)*Zu(n)>t}function a(e,n,r){var i=[1,0,0],o=_l(wl(e),wl(n)),a=xl(o,o),s=o[0],u=a-s*s;if(!u)return!r&&e;var l=t*a/u,c=-t*s/u,f=_l(i,o),d=Sl(i,l);kl(d,Sl(o,c));var h=f,p=xl(d,h),m=xl(h,h),v=p*p-m*(xl(d,d)-1);if(!(v<0)){var g=Gu(v),y=Sl(h,(-p-g)/m);if(kl(y,d),y=bl(y),!r)return y;var b,w=e[0],x=n[0],_=e[1],k=n[1];x0^y[1]<(Lu(y[0]-w)ju^(w<=y[0]&&y[0]<=x)){var T=Sl(h,(-p+g)/m);return kl(T,d),[y,bl(T)]}}}function s(t,n){var i=r?e:ju-e,o=0;return t<-i?o|=1:t>i&&(o|=2),n<-i?o|=4:n>i&&(o|=8),o}return Wc(o,(function(e){var t,n,u,l,c;return{lineStart:function(){l=u=!1,c=1},point:function(f,d){var h,p=[f,d],m=o(f,d),v=r?m?0:s(f,d):m?s(f+(f<0?ju:-ju),d):0;if(!t&&(l=u=m)&&e.lineStart(),m!==u&&(!(h=a(t,p))||Rc(t,h)||Rc(p,h))&&(p[2]=1),m!==u)c=0,m?(e.lineStart(),h=a(p,t),e.point(h[0],h[1])):(h=a(t,p),e.point(h[0],h[1],2),e.lineEnd()),t=h;else if(i&&t&&r^m){var g;v&n||!(g=a(p,t,!0))||(c=0,r?(e.lineStart(),e.point(g[0][0],g[0][1]),e.point(g[1][0],g[1][1]),e.lineEnd()):(e.point(g[1][0],g[1][1]),e.lineEnd(),e.lineStart(),e.point(g[0][0],g[0][1],3)))}!m||t&&Rc(t,p)||e.point(p[0],p[1]),t=p,u=m,n=v},lineEnd:function(){u&&e.lineEnd(),t=null},clean:function(){return c|(l&&u)<<1}}}),(function(t,r,i,o){Nc(o,e,n,i,t,r)}),r?[0,-e]:[-ju,e-ju])}var qc=1e9,Gc=-qc;function Xc(e,t,n,r){function i(i,o){return e<=i&&i<=n&&t<=o&&o<=r}function o(i,o,s,l){var c=0,f=0;if(null==i||(c=a(i,s))!==(f=a(o,s))||u(i,o)<0^s>0)do{l.point(0===c||3===c?e:n,c>1?r:t)}while((c=(c+s+4)%4)!==f);else l.point(o[0],o[1])}function a(r,i){return Lu(r[0]-e)0?0:3:Lu(r[0]-n)0?2:1:Lu(r[1]-t)0?1:0:i>0?3:2}function s(e,t){return u(e.x,t.x)}function u(e,t){var n=a(e,1),r=a(t,1);return n!==r?n-r:0===n?t[1]-e[1]:1===n?e[0]-t[0]:2===n?e[1]-t[1]:t[0]-e[0]}return function(a){var u,l,c,f,d,h,p,m,v,g,y,b=a,w=Pc(),x={point:_,lineStart:function(){x.point=k,l&&l.push(c=[]);g=!0,v=!1,p=m=NaN},lineEnd:function(){u&&(k(f,d),h&&v&&w.rejoin(),u.push(w.result()));x.point=_,v&&b.lineEnd()},polygonStart:function(){b=w,u=[],l=[],y=!0},polygonEnd:function(){var t=function(){for(var t=0,n=0,i=l.length;nr&&(d-o)*(r-a)>(h-a)*(e-o)&&++t:h<=r&&(d-o)*(r-a)<(h-a)*(e-o)&&--t;return t}(),n=y&&t,i=(u=L(u)).length;(n||i)&&(a.polygonStart(),n&&(a.lineStart(),o(null,null,1,a),a.lineEnd()),i&&Fc(u,s,t,o,a),a.polygonEnd());b=a,u=l=c=null}};function _(e,t){i(e,t)&&b.point(e,t)}function k(o,a){var s=i(o,a);if(l&&c.push([o,a]),g)f=o,d=a,h=s,g=!1,s&&(b.lineStart(),b.point(o,a));else if(s&&v)b.point(o,a);else{var u=[p=Math.max(Gc,Math.min(qc,p)),m=Math.max(Gc,Math.min(qc,m))],w=[o=Math.max(Gc,Math.min(qc,o)),a=Math.max(Gc,Math.min(qc,a))];!function(e,t,n,r,i,o){var a,s=e[0],u=e[1],l=0,c=1,f=t[0]-s,d=t[1]-u;if(a=n-s,f||!(a>0)){if(a/=f,f<0){if(a0){if(a>c)return;a>l&&(l=a)}if(a=i-s,f||!(a<0)){if(a/=f,f<0){if(a>c)return;a>l&&(l=a)}else if(f>0){if(a0)){if(a/=d,d<0){if(a0){if(a>c)return;a>l&&(l=a)}if(a=o-u,d||!(a<0)){if(a/=d,d<0){if(a>c)return;a>l&&(l=a)}else if(d>0){if(a0&&(e[0]=s+l*f,e[1]=u+l*d),c<1&&(t[0]=s+c*f,t[1]=u+c*d),!0}}}}}(u,w,e,t,n,r)?s&&(b.lineStart(),b.point(o,a),y=!1):(v||(b.lineStart(),b.point(u[0],u[1])),b.point(w[0],w[1]),s||b.lineEnd(),y=!1)}p=o,m=a,v=s}return x}}function $c(){var e,t,n,r=0,i=0,o=960,a=500;return n={stream:function(n){return e&&t===n?e:e=Xc(r,i,o,a)(t=n)},extent:function(s){return arguments.length?(r=+s[0][0],i=+s[0][1],o=+s[1][0],a=+s[1][1],e=t=null,n):[[r,i],[o,a]]}}}var Qc,Kc,Jc,ef=Tu(),tf={sphere:Ju,point:Ju,lineStart:function(){tf.point=rf,tf.lineEnd=nf},lineEnd:Ju,polygonStart:Ju,polygonEnd:Ju};function nf(){tf.point=tf.lineEnd=Ju}function rf(e,t){Qc=e*=Fu,Kc=Vu(t*=Fu),Jc=Zu(t),tf.point=of}function of(e,t){e*=Fu;var n=Vu(t*=Fu),r=Zu(t),i=Lu(e-Qc),o=Zu(i),a=r*Vu(i),s=Jc*n-Kc*r*o,u=Kc*n+Jc*r*o;ef.add(Bu(Gu(a*a+s*s),u)),Qc=e,Kc=n,Jc=r}function af(e){return ef.reset(),ol(e,tf),+ef}var sf=[null,null],uf={type:"LineString",coordinates:sf};function lf(e,t){return sf[0]=e,sf[1]=t,af(uf)}var cf={Feature:function(e,t){return df(e.geometry,t)},FeatureCollection:function(e,t){for(var n=e.features,r=-1,i=n.length;++r0&&(i=lf(e[o],e[o-1]))>0&&n<=i&&r<=i&&(n+r-i)*(1-Math.pow((n-r)/i,2))Du})).map(u)).concat(k(Wu(o/h)*h,i,h).filter((function(e){return Lu(e%m)>Du})).map(l))}return g.lines=function(){return y().map((function(e){return{type:"LineString",coordinates:e}}))},g.outline=function(){return{type:"Polygon",coordinates:[c(r).concat(f(a).slice(1),c(n).reverse().slice(1),f(s).reverse().slice(1))]}},g.extent=function(e){return arguments.length?g.extentMajor(e).extentMinor(e):g.extentMinor()},g.extentMajor=function(e){return arguments.length?(r=+e[0][0],n=+e[1][0],s=+e[0][1],a=+e[1][1],r>n&&(e=r,r=n,n=e),s>a&&(e=s,s=a,a=e),g.precision(v)):[[r,s],[n,a]]},g.extentMinor=function(n){return arguments.length?(t=+n[0][0],e=+n[1][0],o=+n[0][1],i=+n[1][1],t>e&&(n=t,t=e,e=n),o>i&&(n=o,o=i,i=n),g.precision(v)):[[t,o],[e,i]]},g.step=function(e){return arguments.length?g.stepMajor(e).stepMinor(e):g.stepMinor()},g.stepMajor=function(e){return arguments.length?(p=+e[0],m=+e[1],g):[p,m]},g.stepMinor=function(e){return arguments.length?(d=+e[0],h=+e[1],g):[d,h]},g.precision=function(d){return arguments.length?(v=+d,u=bf(o,i,90),l=wf(t,e,v),c=bf(s,a,90),f=wf(r,n,v),g):v},g.extentMajor([[-180,-89.999999],[180,89.999999]]).extentMinor([[-180,-80.000001],[180,80.000001]])}function _f(){return xf()()}function kf(e,t){var n=e[0]*Fu,r=e[1]*Fu,i=t[0]*Fu,o=t[1]*Fu,a=Zu(r),s=Vu(r),u=Zu(o),l=Vu(o),c=a*Zu(n),f=a*Vu(n),d=u*Zu(i),h=u*Vu(i),p=2*Qu(Gu(Ku(o-r)+a*u*Ku(i-n))),m=Vu(p),v=p?function(e){var t=Vu(e*=p)/m,n=Vu(p-e)/m,r=n*c+t*d,i=n*f+t*h,o=n*s+t*l;return[Bu(i,r)*Iu,Bu(o,Gu(r*r+i*i))*Iu]}:function(){return[n*Iu,r*Iu]};return v.distance=p,v}function Sf(e){return e}var Mf,Tf,Ef,Cf,Of=Tu(),Df=Tu(),Nf={point:Ju,lineStart:Ju,lineEnd:Ju,polygonStart:function(){Nf.lineStart=jf,Nf.lineEnd=Rf},polygonEnd:function(){Nf.lineStart=Nf.lineEnd=Nf.point=Ju,Of.add(Lu(Df)),Df.reset()},result:function(){var e=Of/2;return Of.reset(),e}};function jf(){Nf.point=Af}function Af(e,t){Nf.point=Pf,Mf=Ef=e,Tf=Cf=t}function Pf(e,t){Df.add(Cf*e-Ef*t),Ef=e,Cf=t}function Rf(){Pf(Mf,Tf)}var If=Nf,Ff=1/0,Lf=Ff,zf=-Ff,Bf=zf,Zf={point:function(e,t){ezf&&(zf=e);tBf&&(Bf=t)},lineStart:Ju,lineEnd:Ju,polygonStart:Ju,polygonEnd:Ju,result:function(){var e=[[Ff,Lf],[zf,Bf]];return zf=Bf=-(Lf=Ff=1/0),e}};var Wf,Hf,Yf,Uf,Vf=Zf,qf=0,Gf=0,Xf=0,$f=0,Qf=0,Kf=0,Jf=0,ed=0,td=0,nd={point:rd,lineStart:id,lineEnd:sd,polygonStart:function(){nd.lineStart=ud,nd.lineEnd=ld},polygonEnd:function(){nd.point=rd,nd.lineStart=id,nd.lineEnd=sd},result:function(){var e=td?[Jf/td,ed/td]:Kf?[$f/Kf,Qf/Kf]:Xf?[qf/Xf,Gf/Xf]:[NaN,NaN];return qf=Gf=Xf=$f=Qf=Kf=Jf=ed=td=0,e}};function rd(e,t){qf+=e,Gf+=t,++Xf}function id(){nd.point=od}function od(e,t){nd.point=ad,rd(Yf=e,Uf=t)}function ad(e,t){var n=e-Yf,r=t-Uf,i=Gu(n*n+r*r);$f+=i*(Yf+e)/2,Qf+=i*(Uf+t)/2,Kf+=i,rd(Yf=e,Uf=t)}function sd(){nd.point=rd}function ud(){nd.point=cd}function ld(){fd(Wf,Hf)}function cd(e,t){nd.point=fd,rd(Wf=Yf=e,Hf=Uf=t)}function fd(e,t){var n=e-Yf,r=t-Uf,i=Gu(n*n+r*r);$f+=i*(Yf+e)/2,Qf+=i*(Uf+t)/2,Kf+=i,Jf+=(i=Uf*e-Yf*t)*(Yf+e),ed+=i*(Uf+t),td+=3*i,rd(Yf=e,Uf=t)}var dd=nd;function hd(e){this._context=e}hd.prototype={_radius:4.5,pointRadius:function(e){return this._radius=e,this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._context.closePath(),this._point=NaN},point:function(e,t){switch(this._point){case 0:this._context.moveTo(e,t),this._point=1;break;case 1:this._context.lineTo(e,t);break;default:this._context.moveTo(e+this._radius,t),this._context.arc(e,t,this._radius,0,Ru)}},result:Ju};var pd,md,vd,gd,yd,bd=Tu(),wd={point:Ju,lineStart:function(){wd.point=xd},lineEnd:function(){pd&&_d(md,vd),wd.point=Ju},polygonStart:function(){pd=!0},polygonEnd:function(){pd=null},result:function(){var e=+bd;return bd.reset(),e}};function xd(e,t){wd.point=_d,md=gd=e,vd=yd=t}function _d(e,t){gd-=e,yd-=t,bd.add(Gu(gd*gd+yd*yd)),gd=e,yd=t}var kd=wd;function Sd(){this._string=[]}function Md(e){return"m0,"+e+"a"+e+","+e+" 0 1,1 0,"+-2*e+"a"+e+","+e+" 0 1,1 0,"+2*e+"z"}function Td(e,t){var n,r,i=4.5;function o(e){return e&&("function"===typeof i&&r.pointRadius(+i.apply(this,arguments)),ol(e,n(r))),r.result()}return o.area=function(e){return ol(e,n(If)),If.result()},o.measure=function(e){return ol(e,n(kd)),kd.result()},o.bounds=function(e){return ol(e,n(Vf)),Vf.result()},o.centroid=function(e){return ol(e,n(dd)),dd.result()},o.projection=function(t){return arguments.length?(n=null==t?(e=null,Sf):(e=t).stream,o):e},o.context=function(e){return arguments.length?(r=null==e?(t=null,new Sd):new hd(t=e),"function"!==typeof i&&r.pointRadius(i),o):t},o.pointRadius=function(e){return arguments.length?(i="function"===typeof e?e:(r.pointRadius(+e),+e),o):i},o.projection(e).context(t)}function Ed(e){return{stream:Cd(e)}}function Cd(e){return function(t){var n=new Od;for(var r in e)n[r]=e[r];return n.stream=t,n}}function Od(){}function Dd(e,t,n){var r=e.clipExtent&&e.clipExtent();return e.scale(150).translate([0,0]),null!=r&&e.clipExtent(null),ol(n,e.stream(Vf)),t(Vf.result()),null!=r&&e.clipExtent(r),e}function Nd(e,t,n){return Dd(e,(function(n){var r=t[1][0]-t[0][0],i=t[1][1]-t[0][1],o=Math.min(r/(n[1][0]-n[0][0]),i/(n[1][1]-n[0][1])),a=+t[0][0]+(r-o*(n[1][0]+n[0][0]))/2,s=+t[0][1]+(i-o*(n[1][1]+n[0][1]))/2;e.scale(150*o).translate([a,s])}),n)}function jd(e,t,n){return Nd(e,[[0,0],t],n)}function Ad(e,t,n){return Dd(e,(function(n){var r=+t,i=r/(n[1][0]-n[0][0]),o=(r-i*(n[1][0]+n[0][0]))/2,a=-i*n[0][1];e.scale(150*i).translate([o,a])}),n)}function Pd(e,t,n){return Dd(e,(function(n){var r=+t,i=r/(n[1][1]-n[0][1]),o=-i*n[0][0],a=(r-i*(n[1][1]+n[0][1]))/2;e.scale(150*i).translate([o,a])}),n)}Sd.prototype={_radius:4.5,_circle:Md(4.5),pointRadius:function(e){return(e=+e)!==this._radius&&(this._radius=e,this._circle=null),this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._string.push("Z"),this._point=NaN},point:function(e,t){switch(this._point){case 0:this._string.push("M",e,",",t),this._point=1;break;case 1:this._string.push("L",e,",",t);break;default:null==this._circle&&(this._circle=Md(this._radius)),this._string.push("M",e,",",t,this._circle)}},result:function(){if(this._string.length){var e=this._string.join("");return this._string=[],e}return null}},Od.prototype={constructor:Od,point:function(e,t){this.stream.point(e,t)},sphere:function(){this.stream.sphere()},lineStart:function(){this.stream.lineStart()},lineEnd:function(){this.stream.lineEnd()},polygonStart:function(){this.stream.polygonStart()},polygonEnd:function(){this.stream.polygonEnd()}};var Rd=Zu(30*Fu);function Id(e,t){return+t?function(e,t){function n(r,i,o,a,s,u,l,c,f,d,h,p,m,v){var g=l-r,y=c-i,b=g*g+y*y;if(b>4*t&&m--){var w=a+d,x=s+h,_=u+p,k=Gu(w*w+x*x+_*_),S=Qu(_/=k),M=Lu(Lu(_)-1)t||Lu((g*O+y*D)/b-.5)>.3||a*d+s*h+u*p2?e[2]%360*Fu:0,O()):[v*Iu,g*Iu,y*Iu]},E.angle=function(e){return arguments.length?(b=e%360*Fu,O()):b*Iu},E.reflectX=function(e){return arguments.length?(w=e?-1:1,O()):w<0},E.reflectY=function(e){return arguments.length?(x=e?-1:1,O()):x<0},E.precision=function(e){return arguments.length?(a=Id(s,T=e*e),D()):Gu(T)},E.fitExtent=function(e,t){return Nd(E,e,t)},E.fitSize=function(e,t){return jd(E,e,t)},E.fitWidth=function(e,t){return Ad(E,e,t)},E.fitHeight=function(e,t){return Pd(E,e,t)},function(){return t=e.apply(this,arguments),E.invert=t.invert&&C,O()}}function Wd(e){var t=0,n=ju/3,r=Zd(e),i=r(t,n);return i.parallels=function(e){return arguments.length?r(t=e[0]*Fu,n=e[1]*Fu):[t*Iu,n*Iu]},i}function Hd(e,t){var n=Vu(e),r=(n+Vu(t))/2;if(Lu(r)=.12&&i<.234&&r>=-.425&&r<-.214?s:i>=.166&&i<.234&&r>=-.214&&r<-.115?u:a).invert(e)},c.stream=function(n){return e&&t===n?e:e=function(e){var t=e.length;return{point:function(n,r){for(var i=-1;++i0?t<-Au+Du&&(t=-Au+Du):t>Au-Du&&(t=Au-Du);var n=i/Uu(nh(t),r);return[n*Vu(r*e),i-n*Zu(r*e)]}return o.invert=function(e,t){var n=i-t,o=qu(r)*Gu(e*e+n*n),a=Bu(e,Lu(n))*qu(n);return n*r<0&&(a-=ju*qu(e)*qu(n)),[a/r,2*zu(Uu(i/o,1/r))-Au]},o}function ih(){return Wd(rh).scale(109.5).parallels([30,30])}function oh(e,t){return[e,t]}function ah(){return Bd(oh).scale(152.63)}function sh(e,t){var n=Zu(e),r=e===t?Vu(e):(n-Zu(t))/(t-e),i=n/r+e;if(Lu(r)2?e[2]+90:90]):[(e=n())[0],e[1],e[2]-90]},n([0,0,90]).scale(159.155)}function Eh(e,t){return e.parent===t.parent?1:2}function Ch(e,t){return e+t.x}function Oh(e,t){return Math.max(e,t.y)}function Dh(){var e=Eh,t=1,n=1,r=!1;function i(i){var o,a=0;i.eachAfter((function(t){var n=t.children;n?(t.x=function(e){return e.reduce(Ch,0)/e.length}(n),t.y=function(e){return 1+e.reduce(Oh,0)}(n)):(t.x=o?a+=e(t,o):0,t.y=0,o=t)}));var s=function(e){for(var t;t=e.children;)e=t[0];return e}(i),u=function(e){for(var t;t=e.children;)e=t[t.length-1];return e}(i),l=s.x-e(s,u)/2,c=u.x+e(u,s)/2;return i.eachAfter(r?function(e){e.x=(e.x-i.x)*t,e.y=(i.y-e.y)*n}:function(e){e.x=(e.x-l)/(c-l)*t,e.y=(1-(i.y?e.y/i.y:1))*n})}return i.separation=function(t){return arguments.length?(e=t,i):e},i.size=function(e){return arguments.length?(r=!1,t=+e[0],n=+e[1],i):r?null:[t,n]},i.nodeSize=function(e){return arguments.length?(r=!0,t=+e[0],n=+e[1],i):r?[t,n]:null},i}function Nh(e){var t=0,n=e.children,r=n&&n.length;if(r)for(;--r>=0;)t+=n[r].value;else t=1;e.value=t}function jh(e,t){var n,r,i,o,a,s=new Ih(e),u=+e.value&&(s.value=e.value),l=[s];for(null==t&&(t=Ah);n=l.pop();)if(u&&(n.value=+n.data.value),(i=t(n.data))&&(a=i.length))for(n.children=new Array(a),o=a-1;o>=0;--o)l.push(r=n.children[o]=new Ih(i[o])),r.parent=n,r.depth=n.depth+1;return s.eachBefore(Rh)}function Ah(e){return e.children}function Ph(e){e.data=e.data.data}function Rh(e){var t=0;do{e.height=t}while((e=e.parent)&&e.height<++t)}function Ih(e){this.data=e,this.depth=this.height=0,this.parent=null}ph.invert=function(e,t){for(var n,r=t,i=r*r,o=i*i*i,a=0;a<12&&(o=(i=(r-=n=(r*(lh+ch*i+o*(fh+dh*i))-t)/(lh+3*ch*i+o*(7*fh+9*dh*i)))*r)*i*i,!(Lu(n)Du&&--i>0);return[e/(.8707+(o=r*r)*(o*(o*o*o*(.003971-.001529*o)-.013791)-.131979)),r]},xh.invert=Gd(Qu),kh.invert=Gd((function(e){return 2*zu(e)})),Mh.invert=function(e,t){return[-t,2*zu(Hu(e))-Au]},Ih.prototype=jh.prototype={constructor:Ih,count:function(){return this.eachAfter(Nh)},each:function(e){var t,n,r,i,o=this,a=[o];do{for(t=a.reverse(),a=[];o=t.pop();)if(e(o),n=o.children)for(r=0,i=n.length;r=0;--n)i.push(t[n]);return this},sum:function(e){return this.eachAfter((function(t){for(var n=+e(t.data)||0,r=t.children,i=r&&r.length;--i>=0;)n+=r[i].value;t.value=n}))},sort:function(e){return this.eachBefore((function(t){t.children&&t.children.sort(e)}))},path:function(e){for(var t=this,n=function(e,t){if(e===t)return e;var n=e.ancestors(),r=t.ancestors(),i=null;e=n.pop(),t=r.pop();for(;e===t;)i=e,e=n.pop(),t=r.pop();return i}(t,e),r=[t];t!==n;)t=t.parent,r.push(t);for(var i=r.length;e!==n;)r.splice(i,0,e),e=e.parent;return r},ancestors:function(){for(var e=this,t=[e];e=e.parent;)t.push(e);return t},descendants:function(){var e=[];return this.each((function(t){e.push(t)})),e},leaves:function(){var e=[];return this.eachBefore((function(t){t.children||e.push(t)})),e},links:function(){var e=this,t=[];return e.each((function(n){n!==e&&t.push({source:n.parent,target:n})})),t},copy:function(){return jh(this).eachBefore(Ph)}};var Fh=Array.prototype.slice;function Lh(e){for(var t,n,r=0,i=(e=function(e){for(var t,n,r=e.length;r;)n=Math.random()*r--|0,t=e[r],e[r]=e[n],e[n]=t;return e}(Fh.call(e))).length,o=[];r0&&n*n>r*r+i*i}function Wh(e,t){for(var n=0;n(a*=a)?(r=(l+a-i)/(2*l),o=Math.sqrt(Math.max(0,a/l-r*r)),n.x=e.x-r*s-o*u,n.y=e.y-r*u+o*s):(r=(l+i-a)/(2*l),o=Math.sqrt(Math.max(0,i/l-r*r)),n.x=t.x+r*s-o*u,n.y=t.y+r*u+o*s)):(n.x=t.x+n.r,n.y=t.y)}function qh(e,t){var n=e.r+t.r-1e-6,r=t.x-e.x,i=t.y-e.y;return n>0&&n*n>r*r+i*i}function Gh(e){var t=e._,n=e.next._,r=t.r+n.r,i=(t.x*n.r+n.x*t.r)/r,o=(t.y*n.r+n.y*t.r)/r;return i*i+o*o}function Xh(e){this._=e,this.next=null,this.previous=null}function $h(e){if(!(i=e.length))return 0;var t,n,r,i,o,a,s,u,l,c,f;if((t=e[0]).x=0,t.y=0,!(i>1))return t.r;if(n=e[1],t.x=-n.r,n.x=t.r,n.y=0,!(i>2))return t.r+n.r;Vh(n,t,r=e[2]),t=new Xh(t),n=new Xh(n),r=new Xh(r),t.next=r.previous=n,n.next=t.previous=r,r.next=n.previous=t;e:for(s=3;s0)throw new Error("cycle");return o}return n.id=function(t){return arguments.length?(e=Jh(t),n):e},n.parentId=function(e){return arguments.length?(t=Jh(e),n):t},n}function mp(e,t){return e.parent===t.parent?1:2}function vp(e){var t=e.children;return t?t[0]:e.t}function gp(e){var t=e.children;return t?t[t.length-1]:e.t}function yp(e,t,n){var r=n/(t.i-e.i);t.c-=r,t.s+=n,e.c+=r,t.z+=n,t.m+=n}function bp(e,t,n){return e.a.parent===t.parent?e.a:n}function wp(e,t){this._=e,this.parent=null,this.children=null,this.A=null,this.a=this,this.z=0,this.m=0,this.c=0,this.s=0,this.t=null,this.i=t}function xp(){var e=mp,t=1,n=1,r=null;function i(i){var u=function(e){for(var t,n,r,i,o,a=new wp(e,0),s=[a];t=s.pop();)if(r=t._.children)for(t.children=new Array(o=r.length),i=o-1;i>=0;--i)s.push(n=t.children[i]=new wp(r[i],i)),n.parent=t;return(a.parent=new wp(null,0)).children=[a],a}(i);if(u.eachAfter(o),u.parent.m=-u.z,u.eachBefore(a),r)i.eachBefore(s);else{var l=i,c=i,f=i;i.eachBefore((function(e){e.xc.x&&(c=e),e.depth>f.depth&&(f=e)}));var d=l===c?1:e(l,c)/2,h=d-l.x,p=t/(c.x+d+h),m=n/(f.depth||1);i.eachBefore((function(e){e.x=(e.x+h)*p,e.y=e.depth*m}))}return i}function o(t){var n=t.children,r=t.parent.children,i=t.i?r[t.i-1]:null;if(n){!function(e){for(var t,n=0,r=0,i=e.children,o=i.length;--o>=0;)(t=i[o]).z+=n,t.m+=n,n+=t.s+(r+=t.c)}(t);var o=(n[0].z+n[n.length-1].z)/2;i?(t.z=i.z+e(t._,i._),t.m=t.z-o):t.z=o}else i&&(t.z=i.z+e(t._,i._));t.parent.A=function(t,n,r){if(n){for(var i,o=t,a=t,s=n,u=o.parent.children[0],l=o.m,c=a.m,f=s.m,d=u.m;s=gp(s),o=vp(o),s&&o;)u=vp(u),(a=gp(a)).a=t,(i=s.z+f-o.z-l+e(s._,o._))>0&&(yp(bp(s,t,r),t,i),l+=i,c+=i),f+=s.m,l+=o.m,d+=u.m,c+=a.m;s&&!gp(a)&&(a.t=s,a.m+=f-c),o&&!vp(u)&&(u.t=o,u.m+=l-d,r=t)}return r}(t,i,t.parent.A||r[0])}function a(e){e._.x=e.z+e.parent.m,e.m+=e.parent.m}function s(e){e.x*=t,e.y=e.depth*n}return i.separation=function(t){return arguments.length?(e=t,i):e},i.size=function(e){return arguments.length?(r=!1,t=+e[0],n=+e[1],i):r?null:[t,n]},i.nodeSize=function(e){return arguments.length?(r=!0,t=+e[0],n=+e[1],i):r?[t,n]:null},i}function _p(e,t,n,r,i){for(var o,a=e.children,s=-1,u=a.length,l=e.value&&(i-n)/e.value;++sd&&(d=s),v=c*c*m,(h=Math.max(d/v,v/f))>p){c-=s;break}p=h}g.push(a={value:c,dice:u1?t:1)},n}(kp);function Tp(){var e=Mp,t=!1,n=1,r=1,i=[0],o=ep,a=ep,s=ep,u=ep,l=ep;function c(e){return e.x0=e.y0=0,e.x1=n,e.y1=r,e.eachBefore(f),i=[0],t&&e.eachBefore(sp),e}function f(t){var n=i[t.depth],r=t.x0+n,c=t.y0+n,f=t.x1-n,d=t.y1-n;f=n-1){var c=s[t];return c.x0=i,c.y0=o,c.x1=a,void(c.y1=u)}var f=l[t],d=r/2+f,h=t+1,p=n-1;for(;h>>1;l[m]u-o){var y=(i*g+a*v)/r;e(t,h,v,i,o,y,u),e(h,n,g,y,o,a,u)}else{var b=(o*g+u*v)/r;e(t,h,v,i,o,a,b),e(h,n,g,i,b,a,u)}}(0,u,e.value,t,n,r,i)}function Cp(e,t,n,r,i){(1&e.depth?_p:up)(e,t,n,r,i)}var Op=function e(t){function n(e,n,r,i,o){if((a=e._squarify)&&a.ratio===t)for(var a,s,u,l,c,f=-1,d=a.length,h=e.value;++f1?t:1)},n}(kp);function Dp(e){var t=e.length;return function(n){return e[Math.max(0,Math.min(t-1,Math.floor(n*t)))]}}function Np(e,t){var n=hn(+e,+t);return function(e){var t=n(e);return t-360*Math.floor(t/360)}}function jp(e,t){return e=+e,t=+t,function(n){return Math.round(e*(1-n)+t*n)}}var Ap=Math.SQRT2;function Pp(e){return((e=Math.exp(e))+1/e)/2}function Rp(e,t){var n,r,i=e[0],o=e[1],a=e[2],s=t[0],u=t[1],l=t[2],c=s-i,f=u-o,d=c*c+f*f;if(d<1e-12)r=Math.log(l/a)/Ap,n=function(e){return[i+e*c,o+e*f,a*Math.exp(Ap*e*r)]};else{var h=Math.sqrt(d),p=(l*l-a*a+4*d)/(2*a*2*h),m=(l*l-a*a-4*d)/(2*l*2*h),v=Math.log(Math.sqrt(p*p+1)-p),g=Math.log(Math.sqrt(m*m+1)-m);r=(g-v)/Ap,n=function(e){var t=e*r,n=Pp(v),s=a/(2*h)*(n*function(e){return((e=Math.exp(2*e))-1)/(e+1)}(Ap*t+v)-function(e){return((e=Math.exp(e))-1/e)/2}(v));return[i+s*c,o+s*f,a*n/Pp(Ap*t+v)]}}return n.duration=1e3*r,n}function Ip(e){return function(t,n){var r=e((t=on(t)).h,(n=on(n)).h),i=mn(t.s,n.s),o=mn(t.l,n.l),a=mn(t.opacity,n.opacity);return function(e){return t.h=r(e),t.s=i(e),t.l=o(e),t.opacity=a(e),t+""}}}var Fp=Ip(hn),Lp=Ip(mn);function zp(e,t){var n=mn((e=To(e)).l,(t=To(t)).l),r=mn(e.a,t.a),i=mn(e.b,t.b),o=mn(e.opacity,t.opacity);return function(t){return e.l=n(t),e.a=r(t),e.b=i(t),e.opacity=o(t),e+""}}function Bp(e){return function(t,n){var r=e((t=Po(t)).h,(n=Po(n)).h),i=mn(t.c,n.c),o=mn(t.l,n.l),a=mn(t.opacity,n.opacity);return function(e){return t.h=r(e),t.c=i(e),t.l=o(e),t.opacity=a(e),t+""}}}var Zp=Bp(hn),Wp=Bp(mn);function Hp(e){return function t(n){function r(t,r){var i=e((t=Vo(t)).h,(r=Vo(r)).h),o=mn(t.s,r.s),a=mn(t.l,r.l),s=mn(t.opacity,r.opacity);return function(e){return t.h=i(e),t.s=o(e),t.l=a(Math.pow(e,n)),t.opacity=s(e),t+""}}return n=+n,r.gamma=t,r}(1)}var Yp=Hp(hn),Up=Hp(mn);function Vp(e,t){for(var n=0,r=t.length-1,i=t[0],o=new Array(r<0?0:r);n1&&$p(e[n[r-2]],e[n[r-1]],e[i])<=0;)--r;n[r++]=i}return n.slice(0,r)}function Jp(e){if((n=e.length)<3)return null;var t,n,r=new Array(n),i=new Array(n);for(t=0;t=0;--t)l.push(e[r[o[t]][2]]);for(t=+s;ts!==l>s&&a<(u-n)*(s-r)/(l-r)+n&&(c=!c),u=n,l=r;return c}function tm(e){for(var t,n,r=-1,i=e.length,o=e[i-1],a=o[0],s=o[1],u=0;++r1);return e+n*o*Math.sqrt(-2*Math.log(i)/i)}}return n.source=e,n}(nm),om=function e(t){function n(){var e=im.source(t).apply(this,arguments);return function(){return Math.exp(e())}}return n.source=e,n}(nm),am=function e(t){function n(e){return function(){for(var n=0,r=0;rr&&(t=n,n=r,r=t),function(e){return Math.max(n,Math.min(r,e))}}function Sm(e,t,n){var r=e[0],i=e[1],o=t[0],a=t[1];return i2?Mm:Sm,i=o=null,f}function f(t){return isNaN(t=+t)?n:(i||(i=r(a.map(e),s,u)))(e(l(t)))}return f.invert=function(n){return l(t((o||(o=r(s,a.map(e),Mn)))(n)))},f.domain=function(e){return arguments.length?(a=dm.call(e,bm),l===xm||(l=km(a)),c()):a.slice()},f.range=function(e){return arguments.length?(s=hm.call(e),c()):s.slice()},f.rangeRound=function(e){return s=hm.call(e),u=jp,c()},f.clamp=function(e){return arguments.length?(l=e?km(a):xm,f):l!==xm},f.interpolate=function(e){return arguments.length?(u=e,c()):u},f.unknown=function(e){return arguments.length?(n=e,f):n},function(n,r){return e=n,t=r,c()}}function Cm(e,t){return Em()(e,t)}function Om(e,t,n,r){var i,o=O(e,t,n);switch((r=fu(null==r?",f":r)).type){case"s":var a=Math.max(Math.abs(e),Math.abs(t));return null!=r.precision||isNaN(i=Su(o,a))||(r.precision=i),yu(r,a);case"":case"e":case"g":case"p":case"r":null!=r.precision||isNaN(i=Mu(o,Math.max(Math.abs(e),Math.abs(t))))||(r.precision=i-("e"===r.type));break;case"f":case"%":null!=r.precision||isNaN(i=ku(o))||(r.precision=i-2*("%"===r.type))}return gu(r)}function Dm(e){var t=e.domain;return e.ticks=function(e){var n=t();return E(n[0],n[n.length-1],null==e?10:e)},e.tickFormat=function(e,n){var r=t();return Om(r[0],r[r.length-1],null==e?10:e,n)},e.nice=function(n){null==n&&(n=10);var r,i=t(),o=0,a=i.length-1,s=i[o],u=i[a];return u0?r=C(s=Math.floor(s/r)*r,u=Math.ceil(u/r)*r,n):r<0&&(r=C(s=Math.ceil(s*r)/r,u=Math.floor(u*r)/r,n)),r>0?(i[o]=Math.floor(s/r)*r,i[a]=Math.ceil(u/r)*r,t(i)):r<0&&(i[o]=Math.ceil(s*r)/r,i[a]=Math.floor(u*r)/r,t(i)),e},e}function Nm(){var e=Cm(xm,xm);return e.copy=function(){return Tm(e,Nm())},lm.apply(e,arguments),Dm(e)}function jm(e){var t;function n(e){return isNaN(e=+e)?t:e}return n.invert=n,n.domain=n.range=function(t){return arguments.length?(e=dm.call(t,bm),n):e.slice()},n.unknown=function(e){return arguments.length?(t=e,n):t},n.copy=function(){return jm(e).unknown(t)},e=arguments.length?dm.call(e,bm):[0,1],Dm(n)}function Am(e,t){var n,r=0,i=(e=e.slice()).length-1,o=e[r],a=e[i];return a0){for(;du)break;m.push(f)}}else for(;d=1;--c)if(!((f=l*c)u)break;m.push(f)}}else m=E(d,h,Math.min(h-d,p)).map(n);return r?m.reverse():m},r.tickFormat=function(e,i){if(null==i&&(i=10===o?".0e":","),"function"!==typeof i&&(i=gu(i)),e===1/0)return i;null==e&&(e=10);var a=Math.max(1,o*e/r.ticks().length);return function(e){var r=e/n(Math.round(t(e)));return r*o0?r[i-1]:t[0],i=r?[i[r-1],n]:[i[a-1],i[a]]},a.unknown=function(t){return arguments.length?(e=t,a):a},a.thresholds=function(){return i.slice()},a.copy=function(){return Jm().domain([t,n]).range(o).unknown(e)},lm.apply(Dm(a),arguments)}function ev(){var e,t=[.5],n=[0,1],r=1;function i(i){return i<=i?n[l(t,i,0,r)]:e}return i.domain=function(e){return arguments.length?(t=hm.call(e),r=Math.min(t.length,n.length-1),i):t.slice()},i.range=function(e){return arguments.length?(n=hm.call(e),r=Math.min(t.length,n.length-1),i):n.slice()},i.invertExtent=function(e){var r=n.indexOf(e);return[t[r-1],t[r]]},i.unknown=function(t){return arguments.length?(e=t,i):e},i.copy=function(){return ev().domain(t).range(n).unknown(e)},lm.apply(i,arguments)}var tv=new Date,nv=new Date;function rv(e,t,n,r){function i(t){return e(t=0===arguments.length?new Date:new Date(+t)),t}return i.floor=function(t){return e(t=new Date(+t)),t},i.ceil=function(n){return e(n=new Date(n-1)),t(n,1),e(n),n},i.round=function(e){var t=i(e),n=i.ceil(e);return e-t0))return s;do{s.push(a=new Date(+n)),t(n,o),e(n)}while(a=t)for(;e(t),!n(t);)t.setTime(t-1)}),(function(e,r){if(e>=e)if(r<0)for(;++r<=0;)for(;t(e,-1),!n(e););else for(;--r>=0;)for(;t(e,1),!n(e););}))},n&&(i.count=function(t,r){return tv.setTime(+t),nv.setTime(+r),e(tv),e(nv),Math.floor(n(tv,nv))},i.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?i.filter(r?function(t){return r(t)%e===0}:function(t){return i.count(0,t)%e===0}):i:null}),i}var iv=rv((function(e){e.setMonth(0,1),e.setHours(0,0,0,0)}),(function(e,t){e.setFullYear(e.getFullYear()+t)}),(function(e,t){return t.getFullYear()-e.getFullYear()}),(function(e){return e.getFullYear()}));iv.every=function(e){return isFinite(e=Math.floor(e))&&e>0?rv((function(t){t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)}),(function(t,n){t.setFullYear(t.getFullYear()+n*e)})):null};var ov=iv,av=iv.range,sv=rv((function(e){e.setDate(1),e.setHours(0,0,0,0)}),(function(e,t){e.setMonth(e.getMonth()+t)}),(function(e,t){return t.getMonth()-e.getMonth()+12*(t.getFullYear()-e.getFullYear())}),(function(e){return e.getMonth()})),uv=sv,lv=sv.range,cv=1e3,fv=6e4,dv=36e5,hv=864e5,pv=6048e5;function mv(e){return rv((function(t){t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)}),(function(e,t){e.setDate(e.getDate()+7*t)}),(function(e,t){return(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*fv)/pv}))}var vv=mv(0),gv=mv(1),yv=mv(2),bv=mv(3),wv=mv(4),xv=mv(5),_v=mv(6),kv=vv.range,Sv=gv.range,Mv=yv.range,Tv=bv.range,Ev=wv.range,Cv=xv.range,Ov=_v.range,Dv=rv((function(e){e.setHours(0,0,0,0)}),(function(e,t){e.setDate(e.getDate()+t)}),(function(e,t){return(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*fv)/hv}),(function(e){return e.getDate()-1})),Nv=Dv,jv=Dv.range,Av=rv((function(e){e.setTime(e-e.getMilliseconds()-e.getSeconds()*cv-e.getMinutes()*fv)}),(function(e,t){e.setTime(+e+t*dv)}),(function(e,t){return(t-e)/dv}),(function(e){return e.getHours()})),Pv=Av,Rv=Av.range,Iv=rv((function(e){e.setTime(e-e.getMilliseconds()-e.getSeconds()*cv)}),(function(e,t){e.setTime(+e+t*fv)}),(function(e,t){return(t-e)/fv}),(function(e){return e.getMinutes()})),Fv=Iv,Lv=Iv.range,zv=rv((function(e){e.setTime(e-e.getMilliseconds())}),(function(e,t){e.setTime(+e+t*cv)}),(function(e,t){return(t-e)/cv}),(function(e){return e.getUTCSeconds()})),Bv=zv,Zv=zv.range,Wv=rv((function(){}),(function(e,t){e.setTime(+e+t)}),(function(e,t){return t-e}));Wv.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?rv((function(t){t.setTime(Math.floor(t/e)*e)}),(function(t,n){t.setTime(+t+n*e)}),(function(t,n){return(n-t)/e})):Wv:null};var Hv=Wv,Yv=Wv.range;function Uv(e){return rv((function(t){t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCDate(e.getUTCDate()+7*t)}),(function(e,t){return(t-e)/pv}))}var Vv=Uv(0),qv=Uv(1),Gv=Uv(2),Xv=Uv(3),$v=Uv(4),Qv=Uv(5),Kv=Uv(6),Jv=Vv.range,eg=qv.range,tg=Gv.range,ng=Xv.range,rg=$v.range,ig=Qv.range,og=Kv.range,ag=rv((function(e){e.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCDate(e.getUTCDate()+t)}),(function(e,t){return(t-e)/hv}),(function(e){return e.getUTCDate()-1})),sg=ag,ug=ag.range,lg=rv((function(e){e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCFullYear(e.getUTCFullYear()+t)}),(function(e,t){return t.getUTCFullYear()-e.getUTCFullYear()}),(function(e){return e.getUTCFullYear()}));lg.every=function(e){return isFinite(e=Math.floor(e))&&e>0?rv((function(t){t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)}),(function(t,n){t.setUTCFullYear(t.getUTCFullYear()+n*e)})):null};var cg=lg,fg=lg.range;function dg(e){if(0<=e.y&&e.y<100){var t=new Date(-1,e.m,e.d,e.H,e.M,e.S,e.L);return t.setFullYear(e.y),t}return new Date(e.y,e.m,e.d,e.H,e.M,e.S,e.L)}function hg(e){if(0<=e.y&&e.y<100){var t=new Date(Date.UTC(-1,e.m,e.d,e.H,e.M,e.S,e.L));return t.setUTCFullYear(e.y),t}return new Date(Date.UTC(e.y,e.m,e.d,e.H,e.M,e.S,e.L))}function pg(e,t,n){return{y:e,m:t,d:n,H:0,M:0,S:0,L:0}}function mg(e){var t=e.dateTime,n=e.date,r=e.time,i=e.periods,o=e.days,a=e.shortDays,s=e.months,u=e.shortMonths,l=Eg(i),c=Cg(i),f=Eg(o),d=Cg(o),h=Eg(a),p=Cg(a),m=Eg(s),v=Cg(s),g=Eg(u),y=Cg(u),b={a:function(e){return a[e.getDay()]},A:function(e){return o[e.getDay()]},b:function(e){return u[e.getMonth()]},B:function(e){return s[e.getMonth()]},c:null,d:Xg,e:Xg,f:ey,g:fy,G:hy,H:$g,I:Qg,j:Kg,L:Jg,m:ty,M:ny,p:function(e){return i[+(e.getHours()>=12)]},q:function(e){return 1+~~(e.getMonth()/3)},Q:Iy,s:Fy,S:ry,u:iy,U:oy,V:sy,w:uy,W:ly,x:null,X:null,y:cy,Y:dy,Z:py,"%":Ry},w={a:function(e){return a[e.getUTCDay()]},A:function(e){return o[e.getUTCDay()]},b:function(e){return u[e.getUTCMonth()]},B:function(e){return s[e.getUTCMonth()]},c:null,d:my,e:my,f:wy,g:Ny,G:Ay,H:vy,I:gy,j:yy,L:by,m:xy,M:_y,p:function(e){return i[+(e.getUTCHours()>=12)]},q:function(e){return 1+~~(e.getUTCMonth()/3)},Q:Iy,s:Fy,S:ky,u:Sy,U:My,V:Ey,w:Cy,W:Oy,x:null,X:null,y:Dy,Y:jy,Z:Py,"%":Ry},x={a:function(e,t,n){var r=h.exec(t.slice(n));return r?(e.w=p[r[0].toLowerCase()],n+r[0].length):-1},A:function(e,t,n){var r=f.exec(t.slice(n));return r?(e.w=d[r[0].toLowerCase()],n+r[0].length):-1},b:function(e,t,n){var r=g.exec(t.slice(n));return r?(e.m=y[r[0].toLowerCase()],n+r[0].length):-1},B:function(e,t,n){var r=m.exec(t.slice(n));return r?(e.m=v[r[0].toLowerCase()],n+r[0].length):-1},c:function(e,n,r){return S(e,t,n,r)},d:zg,e:zg,f:Ug,g:Rg,G:Pg,H:Zg,I:Zg,j:Bg,L:Yg,m:Lg,M:Wg,p:function(e,t,n){var r=l.exec(t.slice(n));return r?(e.p=c[r[0].toLowerCase()],n+r[0].length):-1},q:Fg,Q:qg,s:Gg,S:Hg,u:Dg,U:Ng,V:jg,w:Og,W:Ag,x:function(e,t,r){return S(e,n,t,r)},X:function(e,t,n){return S(e,r,t,n)},y:Rg,Y:Pg,Z:Ig,"%":Vg};function _(e,t){return function(n){var r,i,o,a=[],s=-1,u=0,l=e.length;for(n instanceof Date||(n=new Date(+n));++s53)return null;"w"in o||(o.w=1),"Z"in o?(i=(r=hg(pg(o.y,0,1))).getUTCDay(),r=i>4||0===i?qv.ceil(r):qv(r),r=sg.offset(r,7*(o.V-1)),o.y=r.getUTCFullYear(),o.m=r.getUTCMonth(),o.d=r.getUTCDate()+(o.w+6)%7):(i=(r=dg(pg(o.y,0,1))).getDay(),r=i>4||0===i?gv.ceil(r):gv(r),r=Nv.offset(r,7*(o.V-1)),o.y=r.getFullYear(),o.m=r.getMonth(),o.d=r.getDate()+(o.w+6)%7)}else("W"in o||"U"in o)&&("w"in o||(o.w="u"in o?o.u%7:"W"in o?1:0),i="Z"in o?hg(pg(o.y,0,1)).getUTCDay():dg(pg(o.y,0,1)).getDay(),o.m=0,o.d="W"in o?(o.w+6)%7+7*o.W-(i+5)%7:o.w+7*o.U-(i+6)%7);return"Z"in o?(o.H+=o.Z/100|0,o.M+=o.Z%100,hg(o)):dg(o)}}function S(e,t,n,r){for(var i,o,a=0,s=t.length,u=n.length;a=u)return-1;if(37===(i=t.charCodeAt(a++))){if(i=t.charAt(a++),!(o=x[i in xg?t.charAt(a++):i])||(r=o(e,n,r))<0)return-1}else if(i!=n.charCodeAt(r++))return-1}return r}return b.x=_(n,b),b.X=_(r,b),b.c=_(t,b),w.x=_(n,w),w.X=_(r,w),w.c=_(t,w),{format:function(e){var t=_(e+="",b);return t.toString=function(){return e},t},parse:function(e){var t=k(e+="",!1);return t.toString=function(){return e},t},utcFormat:function(e){var t=_(e+="",w);return t.toString=function(){return e},t},utcParse:function(e){var t=k(e+="",!0);return t.toString=function(){return e},t}}}var vg,gg,yg,bg,wg,xg={"-":"",_:" ",0:"0"},_g=/^\s*\d+/,kg=/^%/,Sg=/[\\^$*+?|[\]().{}]/g;function Mg(e,t,n){var r=e<0?"-":"",i=(r?-e:e)+"",o=i.length;return r+(o68?1900:2e3),n+r[0].length):-1}function Ig(e,t,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(n,n+6));return r?(e.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function Fg(e,t,n){var r=_g.exec(t.slice(n,n+1));return r?(e.q=3*r[0]-3,n+r[0].length):-1}function Lg(e,t,n){var r=_g.exec(t.slice(n,n+2));return r?(e.m=r[0]-1,n+r[0].length):-1}function zg(e,t,n){var r=_g.exec(t.slice(n,n+2));return r?(e.d=+r[0],n+r[0].length):-1}function Bg(e,t,n){var r=_g.exec(t.slice(n,n+3));return r?(e.m=0,e.d=+r[0],n+r[0].length):-1}function Zg(e,t,n){var r=_g.exec(t.slice(n,n+2));return r?(e.H=+r[0],n+r[0].length):-1}function Wg(e,t,n){var r=_g.exec(t.slice(n,n+2));return r?(e.M=+r[0],n+r[0].length):-1}function Hg(e,t,n){var r=_g.exec(t.slice(n,n+2));return r?(e.S=+r[0],n+r[0].length):-1}function Yg(e,t,n){var r=_g.exec(t.slice(n,n+3));return r?(e.L=+r[0],n+r[0].length):-1}function Ug(e,t,n){var r=_g.exec(t.slice(n,n+6));return r?(e.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function Vg(e,t,n){var r=kg.exec(t.slice(n,n+1));return r?n+r[0].length:-1}function qg(e,t,n){var r=_g.exec(t.slice(n));return r?(e.Q=+r[0],n+r[0].length):-1}function Gg(e,t,n){var r=_g.exec(t.slice(n));return r?(e.s=+r[0],n+r[0].length):-1}function Xg(e,t){return Mg(e.getDate(),t,2)}function $g(e,t){return Mg(e.getHours(),t,2)}function Qg(e,t){return Mg(e.getHours()%12||12,t,2)}function Kg(e,t){return Mg(1+Nv.count(ov(e),e),t,3)}function Jg(e,t){return Mg(e.getMilliseconds(),t,3)}function ey(e,t){return Jg(e,t)+"000"}function ty(e,t){return Mg(e.getMonth()+1,t,2)}function ny(e,t){return Mg(e.getMinutes(),t,2)}function ry(e,t){return Mg(e.getSeconds(),t,2)}function iy(e){var t=e.getDay();return 0===t?7:t}function oy(e,t){return Mg(vv.count(ov(e)-1,e),t,2)}function ay(e){var t=e.getDay();return t>=4||0===t?wv(e):wv.ceil(e)}function sy(e,t){return e=ay(e),Mg(wv.count(ov(e),e)+(4===ov(e).getDay()),t,2)}function uy(e){return e.getDay()}function ly(e,t){return Mg(gv.count(ov(e)-1,e),t,2)}function cy(e,t){return Mg(e.getFullYear()%100,t,2)}function fy(e,t){return Mg((e=ay(e)).getFullYear()%100,t,2)}function dy(e,t){return Mg(e.getFullYear()%1e4,t,4)}function hy(e,t){var n=e.getDay();return Mg((e=n>=4||0===n?wv(e):wv.ceil(e)).getFullYear()%1e4,t,4)}function py(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+Mg(t/60|0,"0",2)+Mg(t%60,"0",2)}function my(e,t){return Mg(e.getUTCDate(),t,2)}function vy(e,t){return Mg(e.getUTCHours(),t,2)}function gy(e,t){return Mg(e.getUTCHours()%12||12,t,2)}function yy(e,t){return Mg(1+sg.count(cg(e),e),t,3)}function by(e,t){return Mg(e.getUTCMilliseconds(),t,3)}function wy(e,t){return by(e,t)+"000"}function xy(e,t){return Mg(e.getUTCMonth()+1,t,2)}function _y(e,t){return Mg(e.getUTCMinutes(),t,2)}function ky(e,t){return Mg(e.getUTCSeconds(),t,2)}function Sy(e){var t=e.getUTCDay();return 0===t?7:t}function My(e,t){return Mg(Vv.count(cg(e)-1,e),t,2)}function Ty(e){var t=e.getUTCDay();return t>=4||0===t?$v(e):$v.ceil(e)}function Ey(e,t){return e=Ty(e),Mg($v.count(cg(e),e)+(4===cg(e).getUTCDay()),t,2)}function Cy(e){return e.getUTCDay()}function Oy(e,t){return Mg(qv.count(cg(e)-1,e),t,2)}function Dy(e,t){return Mg(e.getUTCFullYear()%100,t,2)}function Ny(e,t){return Mg((e=Ty(e)).getUTCFullYear()%100,t,2)}function jy(e,t){return Mg(e.getUTCFullYear()%1e4,t,4)}function Ay(e,t){var n=e.getUTCDay();return Mg((e=n>=4||0===n?$v(e):$v.ceil(e)).getUTCFullYear()%1e4,t,4)}function Py(){return"+0000"}function Ry(){return"%"}function Iy(e){return+e}function Fy(e){return Math.floor(+e/1e3)}function Ly(e){return vg=mg(e),gg=vg.format,yg=vg.parse,bg=vg.utcFormat,wg=vg.utcParse,vg}Ly({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});var zy=1e3,By=6e4,Zy=36e5,Wy=864e5,Hy=2592e6,Yy=31536e6;function Uy(e){return new Date(e)}function Vy(e){return e instanceof Date?+e:+new Date(+e)}function qy(e,t,n,r,i,a,s,u,l){var c=Cm(xm,xm),f=c.invert,d=c.domain,h=l(".%L"),p=l(":%S"),m=l("%I:%M"),v=l("%I %p"),g=l("%a %d"),y=l("%b %d"),b=l("%B"),w=l("%Y"),x=[[s,1,zy],[s,5,5e3],[s,15,15e3],[s,30,3e4],[a,1,By],[a,5,3e5],[a,15,9e5],[a,30,18e5],[i,1,Zy],[i,3,108e5],[i,6,216e5],[i,12,432e5],[r,1,Wy],[r,2,1728e5],[n,1,6048e5],[t,1,Hy],[t,3,7776e6],[e,1,Yy]];function _(o){return(s(o)1)&&(e-=Math.floor(e));var t=Math.abs(e-.5);return Rw.h=360*e-100,Rw.s=1.5-1.5*t,Rw.l=.8-.9*t,Rw+""}var Fw=Qt(),Lw=Math.PI/3,zw=2*Math.PI/3;function Bw(e){var t;return e=(.5-e)*Math.PI,Fw.r=255*(t=Math.sin(e))*t,Fw.g=255*(t=Math.sin(e+Lw))*t,Fw.b=255*(t=Math.sin(e+zw))*t,Fw+""}function Zw(e){return e=Math.max(0,Math.min(1,e)),"rgb("+Math.max(0,Math.min(255,Math.round(34.61+e*(1172.33-e*(10793.56-e*(33300.12-e*(38394.49-14825.05*e)))))))+", "+Math.max(0,Math.min(255,Math.round(23.31+e*(557.33+e*(1225.33-e*(3574.96-e*(1073.77+707.56*e)))))))+", "+Math.max(0,Math.min(255,Math.round(27.2+e*(3211.1-e*(15327.97-e*(27814-e*(22569.18-6838.66*e)))))))+")"}function Ww(e){var t=e.length;return function(n){return e[Math.max(0,Math.min(t-1,Math.floor(n*t)))]}}var Hw=Ww(bb("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725")),Yw=Ww(bb("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf")),Uw=Ww(bb("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4")),Vw=Ww(bb("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921"));function qw(e){return St(it(e).call(document.documentElement))}var Gw=0;function Xw(){return new $w}function $w(){this._="@"+(++Gw).toString(36)}function Qw(e){return"string"===typeof e?new xt([document.querySelectorAll(e)],[document.documentElement]):new xt([null==e?[]:e],wt)}function Kw(e,t){null==t&&(t=Nn().touches);for(var n=0,r=t?t.length:0,i=new Array(r);n1?0:e<-1?ux:Math.acos(e)}function dx(e){return e>=1?lx:e<=-1?-lx:Math.asin(e)}function hx(e){return e.innerRadius}function px(e){return e.outerRadius}function mx(e){return e.startAngle}function vx(e){return e.endAngle}function gx(e){return e&&e.padAngle}function yx(e,t,n,r,i,o,a,s){var u=n-e,l=r-t,c=a-i,f=s-o,d=f*u-c*l;if(!(d*dD*D+N*N&&(S=T,M=E),{cx:S,cy:M,x01:-c,y01:-f,x11:S*(i/x-1),y11:M*(i/x-1)}}function wx(){var e=hx,t=px,n=Jw(0),r=null,i=mx,o=vx,a=gx,s=null;function u(){var u,l,c=+e.apply(this,arguments),f=+t.apply(this,arguments),d=i.apply(this,arguments)-lx,h=o.apply(this,arguments)-lx,p=ex(h-d),m=h>d;if(s||(s=u=qi()),fsx)if(p>cx-sx)s.moveTo(f*nx(d),f*ox(d)),s.arc(0,0,f,d,h,!m),c>sx&&(s.moveTo(c*nx(h),c*ox(h)),s.arc(0,0,c,h,d,m));else{var v,g,y=d,b=h,w=d,x=h,_=p,k=p,S=a.apply(this,arguments)/2,M=S>sx&&(r?+r.apply(this,arguments):ax(c*c+f*f)),T=ix(ex(f-c)/2,+n.apply(this,arguments)),E=T,C=T;if(M>sx){var O=dx(M/c*ox(S)),D=dx(M/f*ox(S));(_-=2*O)>sx?(w+=O*=m?1:-1,x-=O):(_=0,w=x=(d+h)/2),(k-=2*D)>sx?(y+=D*=m?1:-1,b-=D):(k=0,y=b=(d+h)/2)}var N=f*nx(y),j=f*ox(y),A=c*nx(x),P=c*ox(x);if(T>sx){var R,I=f*nx(b),F=f*ox(b),L=c*nx(w),z=c*ox(w);if(psx?C>sx?(v=bx(L,z,N,j,f,C,m),g=bx(I,F,A,P,f,C,m),s.moveTo(v.cx+v.x01,v.cy+v.y01),Csx&&_>sx?E>sx?(v=bx(A,P,I,F,c,-E,m),g=bx(N,j,L,z,c,-E,m),s.lineTo(v.cx+v.x01,v.cy+v.y01),E=c;--f)s.point(v[f],g[f]);s.lineEnd(),s.areaEnd()}m&&(v[l]=+e(d,l,u),g[l]=+n(d,l,u),s.point(t?+t(d,l,u):v[l],r?+r(d,l,u):g[l]))}if(h)return s=null,h+""||null}function l(){return Mx().defined(i).curve(a).context(o)}return u.x=function(n){return arguments.length?(e="function"===typeof n?n:Jw(+n),t=null,u):e},u.x0=function(t){return arguments.length?(e="function"===typeof t?t:Jw(+t),u):e},u.x1=function(e){return arguments.length?(t=null==e?null:"function"===typeof e?e:Jw(+e),u):t},u.y=function(e){return arguments.length?(n="function"===typeof e?e:Jw(+e),r=null,u):n},u.y0=function(e){return arguments.length?(n="function"===typeof e?e:Jw(+e),u):n},u.y1=function(e){return arguments.length?(r=null==e?null:"function"===typeof e?e:Jw(+e),u):r},u.lineX0=u.lineY0=function(){return l().x(e).y(n)},u.lineY1=function(){return l().x(e).y(r)},u.lineX1=function(){return l().x(t).y(n)},u.defined=function(e){return arguments.length?(i="function"===typeof e?e:Jw(!!e),u):i},u.curve=function(e){return arguments.length?(a=e,null!=o&&(s=a(o)),u):a},u.context=function(e){return arguments.length?(null==e?o=s=null:s=a(o=e),u):o},u}function Ex(e,t){return te?1:t>=e?0:NaN}function Cx(e){return e}function Ox(){var e=Cx,t=Ex,n=null,r=Jw(0),i=Jw(cx),o=Jw(0);function a(a){var s,u,l,c,f,d=a.length,h=0,p=new Array(d),m=new Array(d),v=+r.apply(this,arguments),g=Math.min(cx,Math.max(-cx,i.apply(this,arguments)-v)),y=Math.min(Math.abs(g)/d,o.apply(this,arguments)),b=y*(g<0?-1:1);for(s=0;s0&&(h+=f);for(null!=t?p.sort((function(e,n){return t(m[e],m[n])})):null!=n&&p.sort((function(e,t){return n(a[e],a[t])})),s=0,l=h?(g-d*b)/h:0;s0?f*l:0)+b,m[u]={data:a[u],index:s,value:f,startAngle:v,endAngle:c,padAngle:y};return m}return a.value=function(t){return arguments.length?(e="function"===typeof t?t:Jw(+t),a):e},a.sortValues=function(e){return arguments.length?(t=e,n=null,a):t},a.sort=function(e){return arguments.length?(n=e,t=null,a):n},a.startAngle=function(e){return arguments.length?(r="function"===typeof e?e:Jw(+e),a):r},a.endAngle=function(e){return arguments.length?(i="function"===typeof e?e:Jw(+e),a):i},a.padAngle=function(e){return arguments.length?(o="function"===typeof e?e:Jw(+e),a):o},a}xx.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 Dx=jx(_x);function Nx(e){this._curve=e}function jx(e){function t(t){return new Nx(e(t))}return t._curve=e,t}function Ax(e){var t=e.curve;return e.angle=e.x,delete e.x,e.radius=e.y,delete e.y,e.curve=function(e){return arguments.length?t(jx(e)):t()._curve},e}function Px(){return Ax(Mx().curve(Dx))}function Rx(){var e=Tx().curve(Dx),t=e.curve,n=e.lineX0,r=e.lineX1,i=e.lineY0,o=e.lineY1;return e.angle=e.x,delete e.x,e.startAngle=e.x0,delete e.x0,e.endAngle=e.x1,delete e.x1,e.radius=e.y,delete e.y,e.innerRadius=e.y0,delete e.y0,e.outerRadius=e.y1,delete e.y1,e.lineStartAngle=function(){return Ax(n())},delete e.lineX0,e.lineEndAngle=function(){return Ax(r())},delete e.lineX1,e.lineInnerRadius=function(){return Ax(i())},delete e.lineY0,e.lineOuterRadius=function(){return Ax(o())},delete e.lineY1,e.curve=function(e){return arguments.length?t(jx(e)):t()._curve},e}function Ix(e,t){return[(t=+t)*Math.cos(e-=Math.PI/2),t*Math.sin(e)]}Nx.prototype={areaStart:function(){this._curve.areaStart()},areaEnd:function(){this._curve.areaEnd()},lineStart:function(){this._curve.lineStart()},lineEnd:function(){this._curve.lineEnd()},point:function(e,t){this._curve.point(t*Math.sin(e),t*-Math.cos(e))}};var Fx=Array.prototype.slice;function Lx(e){return e.source}function zx(e){return e.target}function Bx(e){var t=Lx,n=zx,r=kx,i=Sx,o=null;function a(){var a,s=Fx.call(arguments),u=t.apply(this,s),l=n.apply(this,s);if(o||(o=a=qi()),e(o,+r.apply(this,(s[0]=u,s)),+i.apply(this,s),+r.apply(this,(s[0]=l,s)),+i.apply(this,s)),a)return o=null,a+""||null}return a.source=function(e){return arguments.length?(t=e,a):t},a.target=function(e){return arguments.length?(n=e,a):n},a.x=function(e){return arguments.length?(r="function"===typeof e?e:Jw(+e),a):r},a.y=function(e){return arguments.length?(i="function"===typeof e?e:Jw(+e),a):i},a.context=function(e){return arguments.length?(o=null==e?null:e,a):o},a}function Zx(e,t,n,r,i){e.moveTo(t,n),e.bezierCurveTo(t=(t+r)/2,n,t,i,r,i)}function Wx(e,t,n,r,i){e.moveTo(t,n),e.bezierCurveTo(t,n=(n+i)/2,r,n,r,i)}function Hx(e,t,n,r,i){var o=Ix(t,n),a=Ix(t,n=(n+i)/2),s=Ix(r,n),u=Ix(r,i);e.moveTo(o[0],o[1]),e.bezierCurveTo(a[0],a[1],s[0],s[1],u[0],u[1])}function Yx(){return Bx(Zx)}function Ux(){return Bx(Wx)}function Vx(){var e=Bx(Hx);return e.angle=e.x,delete e.x,e.radius=e.y,delete e.y,e}var qx={draw:function(e,t){var n=Math.sqrt(t/ux);e.moveTo(n,0),e.arc(0,0,n,0,cx)}},Gx={draw:function(e,t){var n=Math.sqrt(t/5)/2;e.moveTo(-3*n,-n),e.lineTo(-n,-n),e.lineTo(-n,-3*n),e.lineTo(n,-3*n),e.lineTo(n,-n),e.lineTo(3*n,-n),e.lineTo(3*n,n),e.lineTo(n,n),e.lineTo(n,3*n),e.lineTo(-n,3*n),e.lineTo(-n,n),e.lineTo(-3*n,n),e.closePath()}},Xx=Math.sqrt(1/3),$x=2*Xx,Qx={draw:function(e,t){var n=Math.sqrt(t/$x),r=n*Xx;e.moveTo(0,-n),e.lineTo(r,0),e.lineTo(0,n),e.lineTo(-r,0),e.closePath()}},Kx=Math.sin(ux/10)/Math.sin(7*ux/10),Jx=Math.sin(cx/10)*Kx,e_=-Math.cos(cx/10)*Kx,t_={draw:function(e,t){var n=Math.sqrt(.8908130915292852*t),r=Jx*n,i=e_*n;e.moveTo(0,-n),e.lineTo(r,i);for(var o=1;o<5;++o){var a=cx*o/5,s=Math.cos(a),u=Math.sin(a);e.lineTo(u*n,-s*n),e.lineTo(s*r-u*i,u*r+s*i)}e.closePath()}},n_={draw:function(e,t){var n=Math.sqrt(t),r=-n/2;e.rect(r,r,n,n)}},r_=Math.sqrt(3),i_={draw:function(e,t){var n=-Math.sqrt(t/(3*r_));e.moveTo(0,2*n),e.lineTo(-r_*n,-n),e.lineTo(r_*n,-n),e.closePath()}},o_=-.5,a_=Math.sqrt(3)/2,s_=1/Math.sqrt(12),u_=3*(s_/2+1),l_={draw:function(e,t){var n=Math.sqrt(t/u_),r=n/2,i=n*s_,o=r,a=n*s_+n,s=-o,u=a;e.moveTo(r,i),e.lineTo(o,a),e.lineTo(s,u),e.lineTo(o_*r-a_*i,a_*r+o_*i),e.lineTo(o_*o-a_*a,a_*o+o_*a),e.lineTo(o_*s-a_*u,a_*s+o_*u),e.lineTo(o_*r+a_*i,o_*i-a_*r),e.lineTo(o_*o+a_*a,o_*a-a_*o),e.lineTo(o_*s+a_*u,o_*u-a_*s),e.closePath()}},c_=[qx,Gx,Qx,n_,t_,i_,l_];function f_(){var e=Jw(qx),t=Jw(64),n=null;function r(){var r;if(n||(n=r=qi()),e.apply(this,arguments).draw(n,+t.apply(this,arguments)),r)return n=null,r+""||null}return r.type=function(t){return arguments.length?(e="function"===typeof t?t:Jw(t),r):e},r.size=function(e){return arguments.length?(t="function"===typeof e?e:Jw(+e),r):t},r.context=function(e){return arguments.length?(n=null==e?null:e,r):n},r}function d_(){}function h_(e,t,n){e._context.bezierCurveTo((2*e._x0+e._x1)/3,(2*e._y0+e._y1)/3,(e._x0+2*e._x1)/3,(e._y0+2*e._y1)/3,(e._x0+4*e._x1+t)/6,(e._y0+4*e._y1+n)/6)}function p_(e){this._context=e}function m_(e){return new p_(e)}function v_(e){this._context=e}function g_(e){return new v_(e)}function y_(e){this._context=e}function b_(e){return new y_(e)}function w_(e,t){this._basis=new p_(e),this._beta=t}p_.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:h_(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(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;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:h_(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},v_.prototype={areaStart:d_,areaEnd:d_,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x2=e,this._y2=t;break;case 1:this._point=2,this._x3=e,this._y3=t;break;case 2:this._point=3,this._x4=e,this._y4=t,this._context.moveTo((this._x0+4*this._x1+e)/6,(this._y0+4*this._y1+t)/6);break;default:h_(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},y_.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===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;break;case 1:this._point=2;break;case 2:this._point=3;var n=(this._x0+4*this._x1+e)/6,r=(this._y0+4*this._y1+t)/6;this._line?this._context.lineTo(n,r):this._context.moveTo(n,r);break;case 3:this._point=4;default:h_(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},w_.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var e=this._x,t=this._y,n=e.length-1;if(n>0)for(var r,i=e[0],o=t[0],a=e[n]-i,s=t[n]-o,u=-1;++u<=n;)r=u/n,this._basis.point(this._beta*e[u]+(1-this._beta)*(i+r*a),this._beta*t[u]+(1-this._beta)*(o+r*s));this._x=this._y=null,this._basis.lineEnd()},point:function(e,t){this._x.push(+e),this._y.push(+t)}};var x_=function e(t){function n(e){return 1===t?new p_(e):new w_(e,t)}return n.beta=function(t){return e(+t)},n}(.85);function __(e,t,n){e._context.bezierCurveTo(e._x1+e._k*(e._x2-e._x0),e._y1+e._k*(e._y2-e._y0),e._x2+e._k*(e._x1-t),e._y2+e._k*(e._y1-n),e._x2,e._y2)}function k_(e,t){this._context=e,this._k=(1-t)/6}k_.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:__(this,this._x1,this._y1)}(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,this._x1=e,this._y1=t;break;case 2:this._point=3;default:__(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var S_=function e(t){function n(e){return new k_(e,t)}return n.tension=function(t){return e(+t)},n}(0);function M_(e,t){this._context=e,this._k=(1-t)/6}M_.prototype={areaStart:d_,areaEnd:d_,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x3=e,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t);break;case 2:this._point=3,this._x5=e,this._y5=t;break;default:__(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var T_=function e(t){function n(e){return new M_(e,t)}return n.tension=function(t){return e(+t)},n}(0);function E_(e,t){this._context=e,this._k=(1-t)/6}E_.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===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;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:__(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var C_=function e(t){function n(e){return new E_(e,t)}return n.tension=function(t){return e(+t)},n}(0);function O_(e,t,n){var r=e._x1,i=e._y1,o=e._x2,a=e._y2;if(e._l01_a>sx){var s=2*e._l01_2a+3*e._l01_a*e._l12_a+e._l12_2a,u=3*e._l01_a*(e._l01_a+e._l12_a);r=(r*s-e._x0*e._l12_2a+e._x2*e._l01_2a)/u,i=(i*s-e._y0*e._l12_2a+e._y2*e._l01_2a)/u}if(e._l23_a>sx){var l=2*e._l23_2a+3*e._l23_a*e._l12_a+e._l12_2a,c=3*e._l23_a*(e._l23_a+e._l12_a);o=(o*l+e._x1*e._l23_2a-t*e._l12_2a)/c,a=(a*l+e._y1*e._l23_2a-n*e._l12_2a)/c}e._context.bezierCurveTo(r,i,o,a,e._x2,e._y2)}function D_(e,t){this._context=e,this._alpha=t}D_.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(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;break;case 2:this._point=3;default:O_(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var N_=function e(t){function n(e){return t?new D_(e,t):new k_(e,0)}return n.alpha=function(t){return e(+t)},n}(.5);function j_(e,t){this._context=e,this._alpha=t}j_.prototype={areaStart:d_,areaEnd:d_,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=e,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t);break;case 2:this._point=3,this._x5=e,this._y5=t;break;default:O_(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var A_=function e(t){function n(e){return t?new j_(e,t):new M_(e,0)}return n.alpha=function(t){return e(+t)},n}(.5);function P_(e,t){this._context=e,this._alpha=t}P_.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:O_(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var R_=function e(t){function n(e){return t?new P_(e,t):new E_(e,0)}return n.alpha=function(t){return e(+t)},n}(.5);function I_(e){this._context=e}function F_(e){return new I_(e)}function L_(e){return e<0?-1:1}function z_(e,t,n){var r=e._x1-e._x0,i=t-e._x1,o=(e._y1-e._y0)/(r||i<0&&-0),a=(n-e._y1)/(i||r<0&&-0),s=(o*i+a*r)/(r+i);return(L_(o)+L_(a))*Math.min(Math.abs(o),Math.abs(a),.5*Math.abs(s))||0}function B_(e,t){var n=e._x1-e._x0;return n?(3*(e._y1-e._y0)/n-t)/2:t}function Z_(e,t,n){var r=e._x0,i=e._y0,o=e._x1,a=e._y1,s=(o-r)/3;e._context.bezierCurveTo(r+s,i+s*t,o-s,a-s*n,o,a)}function W_(e){this._context=e}function H_(e){this._context=new Y_(e)}function Y_(e){this._context=e}function U_(e){return new W_(e)}function V_(e){return new H_(e)}function q_(e){this._context=e}function G_(e){var t,n,r=e.length-1,i=new Array(r),o=new Array(r),a=new Array(r);for(i[0]=0,o[0]=2,a[0]=e[0]+2*e[1],t=1;t=0;--t)i[t]=(a[t]-i[t+1])/o[t];for(o[r-1]=(e[r]+i[r-1])/2,t=0;t1)for(var n,r,i,o=1,a=e[t[0]],s=a.length;o=0;)n[t]=t;return n}function nk(e,t){return e[t]}function rk(){var e=Jw([]),t=tk,n=ek,r=nk;function i(i){var o,a,s=e.apply(this,arguments),u=i.length,l=s.length,c=new Array(l);for(o=0;o0){for(var n,r,i,o=0,a=e[0].length;o0)for(var n,r,i,o,a,s,u=0,l=e[t[0]].length;u0?(r[0]=o,r[1]=o+=i):i<0?(r[1]=a,r[0]=a+=i):(r[0]=0,r[1]=i)}function ak(e,t){if((n=e.length)>0){for(var n,r=0,i=e[t[0]],o=i.length;r0&&(r=(n=e[t[0]]).length)>0){for(var n,r,i,o=0,a=1;ao&&(o=t,r=n);return r}function ck(e){var t=e.map(fk);return tk(e).sort((function(e,n){return t[e]-t[n]}))}function fk(e){for(var t,n=0,r=-1,i=e.length;++r=0&&(this._t=1-this._t,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:if(this._t<=0)this._context.lineTo(this._x,t),this._context.lineTo(e,t);else{var n=this._x*(1-this._t)+e*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,t)}}this._x=e,this._y=t}};var mk="%Y-%m-%dT%H:%M:%S.%LZ";var vk=Date.prototype.toISOString?function(e){return e.toISOString()}:bg(mk),gk=vk;var yk=+new Date("2000-01-01T00:00:00.000Z")?function(e){var t=new Date(e);return isNaN(t)?null:t}:wg(mk),bk=yk;function wk(e,t,n){var r=new qn,i=t;return null==t?(r.restart(e,t,n),r):(t=+t,n=null==n?Un():+n,r.restart((function o(a){a+=i,r.restart(o,i+=t,n),e(a)}),t,n),r)}function xk(e){return function(){return e}}function _k(e){return e[0]}function kk(e){return e[1]}function Sk(){this._=null}function Mk(e){e.U=e.C=e.L=e.R=e.P=e.N=null}function Tk(e,t){var n=t,r=t.R,i=n.U;i?i.L===n?i.L=r:i.R=r:e._=r,r.U=i,n.U=r,n.R=r.L,n.R&&(n.R.U=n),r.L=n}function Ek(e,t){var n=t,r=t.L,i=n.U;i?i.L===n?i.L=r:i.R=r:e._=r,r.U=i,n.U=r,n.L=r.R,n.L&&(n.L.U=n),r.R=n}function Ck(e){for(;e.L;)e=e.L;return e}Sk.prototype={constructor:Sk,insert:function(e,t){var n,r,i;if(e){if(t.P=e,t.N=e.N,e.N&&(e.N.P=t),e.N=t,e.R){for(e=e.R;e.L;)e=e.L;e.L=t}else e.R=t;n=e}else this._?(e=Ck(this._),t.P=null,t.N=e,e.P=e.L=t,n=e):(t.P=t.N=null,this._=t,n=null);for(t.L=t.R=null,t.U=n,t.C=!0,e=t;n&&n.C;)n===(r=n.U).L?(i=r.R)&&i.C?(n.C=i.C=!1,r.C=!0,e=r):(e===n.R&&(Tk(this,n),n=(e=n).U),n.C=!1,r.C=!0,Ek(this,r)):(i=r.L)&&i.C?(n.C=i.C=!1,r.C=!0,e=r):(e===n.L&&(Ek(this,n),n=(e=n).U),n.C=!1,r.C=!0,Tk(this,r)),n=e.U;this._.C=!1},remove:function(e){e.N&&(e.N.P=e.P),e.P&&(e.P.N=e.N),e.N=e.P=null;var t,n,r,i=e.U,o=e.L,a=e.R;if(n=o?a?Ck(a):o:a,i?i.L===e?i.L=n:i.R=n:this._=n,o&&a?(r=n.C,n.C=e.C,n.L=o,o.U=n,n!==a?(i=n.U,n.U=e.U,e=n.R,i.L=e,n.R=a,a.U=n):(n.U=i,i=n,e=n.R)):(r=e.C,e=n),e&&(e.U=i),!r)if(e&&e.C)e.C=!1;else{do{if(e===this._)break;if(e===i.L){if((t=i.R).C&&(t.C=!1,i.C=!0,Tk(this,i),t=i.R),t.L&&t.L.C||t.R&&t.R.C){t.R&&t.R.C||(t.L.C=!1,t.C=!0,Ek(this,t),t=i.R),t.C=i.C,i.C=t.R.C=!1,Tk(this,i),e=this._;break}}else if((t=i.L).C&&(t.C=!1,i.C=!0,Ek(this,i),t=i.L),t.L&&t.L.C||t.R&&t.R.C){t.L&&t.L.C||(t.R.C=!1,t.C=!0,Tk(this,t),t=i.L),t.C=i.C,i.C=t.L.C=!1,Ek(this,i),e=this._;break}t.C=!0,e=i,i=i.U}while(!e.C);e&&(e.C=!1)}}};var Ok=Sk;function Dk(e,t,n,r){var i=[null,null],o=eS.push(i)-1;return i.left=e,i.right=t,n&&jk(i,e,t,n),r&&jk(i,t,e,r),Kk[e.index].halfedges.push(o),Kk[t.index].halfedges.push(o),i}function Nk(e,t,n){var r=[t,n];return r.left=e,r}function jk(e,t,n,r){e[0]||e[1]?e.left===n?e[1]=r:e[0]=r:(e[0]=r,e.left=t,e.right=n)}function Ak(e,t,n,r,i){var o,a=e[0],s=e[1],u=a[0],l=a[1],c=0,f=1,d=s[0]-u,h=s[1]-l;if(o=t-u,d||!(o>0)){if(o/=d,d<0){if(o0){if(o>f)return;o>c&&(c=o)}if(o=r-u,d||!(o<0)){if(o/=d,d<0){if(o>f)return;o>c&&(c=o)}else if(d>0){if(o0)){if(o/=h,h<0){if(o0){if(o>f)return;o>c&&(c=o)}if(o=i-l,h||!(o<0)){if(o/=h,h<0){if(o>f)return;o>c&&(c=o)}else if(h>0){if(o0||f<1)||(c>0&&(e[0]=[u+c*d,l+c*h]),f<1&&(e[1]=[u+f*d,l+f*h]),!0)}}}}}function Pk(e,t,n,r,i){var o=e[1];if(o)return!0;var a,s,u=e[0],l=e.left,c=e.right,f=l[0],d=l[1],h=c[0],p=c[1],m=(f+h)/2,v=(d+p)/2;if(p===d){if(m=r)return;if(f>h){if(u){if(u[1]>=i)return}else u=[m,n];o=[m,i]}else{if(u){if(u[1]1)if(f>h){if(u){if(u[1]>=i)return}else u=[(n-s)/a,n];o=[(i-s)/a,i]}else{if(u){if(u[1]=r)return}else u=[t,a*t+s];o=[r,a*r+s]}else{if(u){if(u[0]=-nS)){var h=u*u+l*l,p=c*c+f*f,m=(f*h-l*p)/d,v=(u*p-c*h)/d,g=zk.pop()||new Bk;g.arc=e,g.site=i,g.x=m+a,g.y=(g.cy=v+s)+Math.sqrt(m*m+v*v),e.circle=g;for(var y=null,b=Jk._;b;)if(g.ytS)s=s.L;else{if(!((i=o-$k(s,a))>tS)){r>-tS?(t=s.P,n=s):i>-tS?(t=s,n=s.N):t=n=s;break}if(!s.R){t=s;break}s=s.R}!function(e){Kk[e.index]={site:e,halfedges:[]}}(e);var u=Uk(e);if(Qk.insert(t,u),t||n){if(t===n)return Wk(t),n=Uk(t.site),Qk.insert(u,n),u.edge=n.edge=Dk(t.site,u.site),Zk(t),void Zk(n);if(n){Wk(t),Wk(n);var l=t.site,c=l[0],f=l[1],d=e[0]-c,h=e[1]-f,p=n.site,m=p[0]-c,v=p[1]-f,g=2*(d*v-h*m),y=d*d+h*h,b=m*m+v*v,w=[(v*y-h*b)/g+c,(d*b-m*y)/g+f];jk(n.edge,l,p,w),u.edge=Dk(l,e,null,w),n.edge=Dk(e,p,null,w),Zk(t),Zk(n)}else u.edge=Dk(t.site,u.site)}}function Xk(e,t){var n=e.site,r=n[0],i=n[1],o=i-t;if(!o)return r;var a=e.P;if(!a)return-1/0;var s=(n=a.site)[0],u=n[1],l=u-t;if(!l)return s;var c=s-r,f=1/o-1/l,d=c/l;return f?(-d+Math.sqrt(d*d-2*f*(c*c/(-2*l)-u+l/2+i-o/2)))/f+r:(r+s)/2}function $k(e,t){var n=e.N;if(n)return Xk(n,t);var r=e.site;return r[1]===t?r[0]:1/0}var Qk,Kk,Jk,eS,tS=1e-6,nS=1e-12;function rS(e,t,n){return(e[0]-n[0])*(t[1]-e[1])-(e[0]-t[0])*(n[1]-e[1])}function iS(e,t){return t[1]-e[1]||t[0]-e[0]}function oS(e,t){var n,r,i,o=e.sort(iS).pop();for(eS=[],Kk=new Array(e.length),Qk=new Ok,Jk=new Ok;;)if(i=Lk,o&&(!i||o[1]tS||Math.abs(i[0][1]-i[1][1])>tS)||delete eS[o]}(a,s,u,l),function(e,t,n,r){var i,o,a,s,u,l,c,f,d,h,p,m,v=Kk.length,g=!0;for(i=0;itS||Math.abs(m-d)>tS)&&(u.splice(s,0,eS.push(Nk(a,h,Math.abs(p-e)tS?[e,Math.abs(f-e)tS?[Math.abs(d-r)tS?[n,Math.abs(f-n)tS?[Math.abs(d-t)=s)return null;var u=e-i.site[0],l=t-i.site[1],c=u*u+l*l;do{i=o.cells[r=a],a=null,i.halfedges.forEach((function(n){var r=o.edges[n],s=r.left;if(s!==i.site&&s||(s=r.right)){var u=e-s[0],l=t-s[1],f=u*u+l*l;fr?(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 wS(){var e,t,n=pS,r=mS,i=bS,o=gS,a=yS,s=[0,1/0],u=[[-1/0,-1/0],[1/0,1/0]],l=250,c=Rp,f=de("start","zoom","end"),d=500,h=0;function p(e){e.property("__zoom",vS).on("wheel.zoom",x).on("mousedown.zoom",_).on("dblclick.zoom",k).filter(a).on("touchstart.zoom",S).on("touchmove.zoom",M).on("touchend.zoom touchcancel.zoom",T).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function m(e,t){return(t=Math.max(s[0],Math.min(s[1],t)))===e.k?e:new lS(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 lS(e.k,r,i)}function g(e){return[(+e[0][0]+ +e[1][0])/2,(+e[0][1]+ +e[1][1])/2]}function y(e,t,n){e.on("start.zoom",(function(){b(this,arguments).start()})).on("interrupt.zoom end.zoom",(function(){b(this,arguments).end()})).tween("zoom",(function(){var e=this,i=arguments,o=b(e,i),a=r.apply(e,i),s=null==n?g(a):"function"===typeof n?n.apply(e,i):n,u=Math.max(a[1][0]-a[0][0],a[1][1]-a[0][1]),l=e.__zoom,f="function"===typeof t?t.apply(e,i):t,d=c(l.invert(s).concat(u/l.k),f.invert(s).concat(u/f.k));return function(e){if(1===e)e=f;else{var t=d(e),n=u/t[2];e=new lS(n,s[0]-t[0]*n,s[1]-t[1]*n)}o.zoom(null,e)}}))}function b(e,t,n){return!n&&e.__zooming||new w(e,t)}function w(e,t){this.that=e,this.args=t,this.active=0,this.extent=r.apply(e,t),this.taps=0}function x(){if(n.apply(this,arguments)){var e=b(this,arguments),t=this.__zoom,r=Math.max(s[0],Math.min(s[1],t.k*Math.pow(2,o.apply(this,arguments)))),a=Pn(this);if(e.wheel)e.mouse[0][0]===a[0]&&e.mouse[0][1]===a[1]||(e.mouse[1]=t.invert(e.mouse[0]=a)),clearTimeout(e.wheel);else{if(t.k===r)return;e.mouse=[a,t.invert(a)],ar(this),e.start()}hS(),e.wheel=setTimeout(l,150),e.zoom("mouse",i(v(m(t,r),e.mouse[0],e.mouse[1]),e.extent,u))}function l(){e.wheel=null,e.end()}}function _(){if(!t&&n.apply(this,arguments)){var e=b(this,arguments,!0),r=St(ct.view).on("mousemove.zoom",l,!0).on("mouseup.zoom",c,!0),o=Pn(this),a=ct.clientX,s=ct.clientY;Et(ct.view),dS(),e.mouse=[o,this.__zoom.invert(o)],ar(this),e.start()}function l(){if(hS(),!e.moved){var t=ct.clientX-a,n=ct.clientY-s;e.moved=t*t+n*n>h}e.zoom("mouse",i(v(e.that.__zoom,e.mouse[0]=Pn(e.that),e.mouse[1]),e.extent,u))}function c(){r.on("mousemove.zoom mouseup.zoom",null),Ct(ct.view,e.moved),hS(),e.end()}}function k(){if(n.apply(this,arguments)){var e=this.__zoom,t=Pn(this),o=e.invert(t),a=e.k*(ct.shiftKey?.5:2),s=i(v(m(e,a),t,o),r.apply(this,arguments),u);hS(),l>0?St(this).transition().duration(l).call(y,s,t):St(this).call(p.transform,s)}}function S(){if(n.apply(this,arguments)){var t,r,i,o,a=ct.touches,s=a.length,u=b(this,arguments,ct.changedTouches.length===s);for(dS(),r=0;r0;--u)if(r=t[u].dequeue()){i=i.concat(s(e,t,n,r,!0));break}}return i}(n.graph,n.buckets,n.zeroIdx);return r.flatten(r.map(l,(function(t){return e.outEdges(t.v,t.w)})),!0)};var a=r.constant(1);function s(e,t,n,i,o){var a=o?[]:void 0;return r.forEach(e.inEdges(i.v),(function(r){var i=e.edge(r),s=e.node(r.v);o&&a.push({v:r.v,w:r.w}),s.out-=i,u(t,n,s)})),r.forEach(e.outEdges(i.v),(function(r){var i=e.edge(r),o=r.w,a=e.node(o);a.in-=i,u(t,n,a)})),e.removeNode(i.v),a}function u(e,t,n){n.out?n.in?e[n.out-n.in+t].enqueue(n):e[e.length-1].enqueue(n):e[0].enqueue(n)}},26456:function(e,t,n){"use strict";var r=n(38899),i=n(2212),o=n(81898),a=n(56744),s=n(48392).normalizeRanks,u=n(77652),l=n(48392).removeEmptyRanks,c=n(51652),f=n(24093),d=n(87523),h=n(57348),p=n(13090),m=n(48392),v=n(2990).Graph;e.exports=function(e,t){var n=t&&t.debugTiming?m.time:m.notime;n("layout",(function(){var t=n(" buildLayoutGraph",(function(){return function(e){var t=new v({multigraph:!0,compound:!0}),n=T(e.graph());return t.setGraph(r.merge({},y,M(n,g),r.pick(n,b))),r.forEach(e.nodes(),(function(n){var i=T(e.node(n));t.setNode(n,r.defaults(M(i,w),x)),t.setParent(n,e.parent(n))})),r.forEach(e.edges(),(function(n){var i=T(e.edge(n));t.setEdge(n,r.merge({},k,M(i,_),r.pick(i,S)))})),t}(e)}));n(" runLayout",(function(){!function(e,t){t(" makeSpaceForEdgeLabels",(function(){!function(e){var t=e.graph();t.ranksep/=2,r.forEach(e.edges(),(function(n){var r=e.edge(n);r.minlen*=2,"c"!==r.labelpos.toLowerCase()&&("TB"===t.rankdir||"BT"===t.rankdir?r.width+=r.labeloffset:r.height+=r.labeloffset)}))}(e)})),t(" removeSelfEdges",(function(){!function(e){r.forEach(e.edges(),(function(t){if(t.v===t.w){var n=e.node(t.v);n.selfEdges||(n.selfEdges=[]),n.selfEdges.push({e:t,label:e.edge(t)}),e.removeEdge(t)}}))}(e)})),t(" acyclic",(function(){i.run(e)})),t(" nestingGraph.run",(function(){c.run(e)})),t(" rank",(function(){a(m.asNonCompoundGraph(e))})),t(" injectEdgeLabelProxies",(function(){!function(e){r.forEach(e.edges(),(function(t){var n=e.edge(t);if(n.width&&n.height){var r=e.node(t.v),i={rank:(e.node(t.w).rank-r.rank)/2+r.rank,e:t};m.addDummyNode(e,"edge-proxy",i,"_ep")}}))}(e)})),t(" removeEmptyRanks",(function(){l(e)})),t(" nestingGraph.cleanup",(function(){c.cleanup(e)})),t(" normalizeRanks",(function(){s(e)})),t(" assignRankMinMax",(function(){!function(e){var t=0;r.forEach(e.nodes(),(function(n){var i=e.node(n);i.borderTop&&(i.minRank=e.node(i.borderTop).rank,i.maxRank=e.node(i.borderBottom).rank,t=r.max(t,i.maxRank))})),e.graph().maxRank=t}(e)})),t(" removeEdgeLabelProxies",(function(){!function(e){r.forEach(e.nodes(),(function(t){var n=e.node(t);"edge-proxy"===n.dummy&&(e.edge(n.e).labelRank=n.rank,e.removeNode(t))}))}(e)})),t(" normalize.run",(function(){o.run(e)})),t(" parentDummyChains",(function(){u(e)})),t(" addBorderSegments",(function(){f(e)})),t(" order",(function(){h(e)})),t(" insertSelfEdges",(function(){!function(e){var t=m.buildLayerMatrix(e);r.forEach(t,(function(t){var n=0;r.forEach(t,(function(t,i){var o=e.node(t);o.order=i+n,r.forEach(o.selfEdges,(function(t){m.addDummyNode(e,"selfedge",{width:t.label.width,height:t.label.height,rank:o.rank,order:i+ ++n,e:t.e,label:t.label},"_se")})),delete o.selfEdges}))}))}(e)})),t(" adjustCoordinateSystem",(function(){d.adjust(e)})),t(" position",(function(){p(e)})),t(" positionSelfEdges",(function(){!function(e){r.forEach(e.nodes(),(function(t){var n=e.node(t);if("selfedge"===n.dummy){var r=e.node(n.e.v),i=r.x+r.width/2,o=r.y,a=n.x-i,s=r.height/2;e.setEdge(n.e,n.label),e.removeNode(t),n.label.points=[{x:i+2*a/3,y:o-s},{x:i+5*a/6,y:o-s},{x:i+a,y:o},{x:i+5*a/6,y:o+s},{x:i+2*a/3,y:o+s}],n.label.x=n.x,n.label.y=n.y}}))}(e)})),t(" removeBorderNodes",(function(){!function(e){r.forEach(e.nodes(),(function(t){if(e.children(t).length){var n=e.node(t),i=e.node(n.borderTop),o=e.node(n.borderBottom),a=e.node(r.last(n.borderLeft)),s=e.node(r.last(n.borderRight));n.width=Math.abs(s.x-a.x),n.height=Math.abs(o.y-i.y),n.x=a.x+n.width/2,n.y=i.y+n.height/2}})),r.forEach(e.nodes(),(function(t){"border"===e.node(t).dummy&&e.removeNode(t)}))}(e)})),t(" normalize.undo",(function(){o.undo(e)})),t(" fixupEdgeLabelCoords",(function(){!function(e){r.forEach(e.edges(),(function(t){var n=e.edge(t);if(r.has(n,"x"))switch("l"!==n.labelpos&&"r"!==n.labelpos||(n.width-=n.labeloffset),n.labelpos){case"l":n.x-=n.width/2+n.labeloffset;break;case"r":n.x+=n.width/2+n.labeloffset}}))}(e)})),t(" undoCoordinateSystem",(function(){d.undo(e)})),t(" translateGraph",(function(){!function(e){var t=Number.POSITIVE_INFINITY,n=0,i=Number.POSITIVE_INFINITY,o=0,a=e.graph(),s=a.marginx||0,u=a.marginy||0;function l(e){var r=e.x,a=e.y,s=e.width,u=e.height;t=Math.min(t,r-s/2),n=Math.max(n,r+s/2),i=Math.min(i,a-u/2),o=Math.max(o,a+u/2)}r.forEach(e.nodes(),(function(t){l(e.node(t))})),r.forEach(e.edges(),(function(t){var n=e.edge(t);r.has(n,"x")&&l(n)})),t-=s,i-=u,r.forEach(e.nodes(),(function(n){var r=e.node(n);r.x-=t,r.y-=i})),r.forEach(e.edges(),(function(n){var o=e.edge(n);r.forEach(o.points,(function(e){e.x-=t,e.y-=i})),r.has(o,"x")&&(o.x-=t),r.has(o,"y")&&(o.y-=i)})),a.width=n-t+s,a.height=o-i+u}(e)})),t(" assignNodeIntersects",(function(){!function(e){r.forEach(e.edges(),(function(t){var n,r,i=e.edge(t),o=e.node(t.v),a=e.node(t.w);i.points?(n=i.points[0],r=i.points[i.points.length-1]):(i.points=[],n=a,r=o),i.points.unshift(m.intersectRect(o,n)),i.points.push(m.intersectRect(a,r))}))}(e)})),t(" reversePoints",(function(){!function(e){r.forEach(e.edges(),(function(t){var n=e.edge(t);n.reversed&&n.points.reverse()}))}(e)})),t(" acyclic.undo",(function(){i.undo(e)}))}(t,n)})),n(" updateInputGraph",(function(){!function(e,t){r.forEach(e.nodes(),(function(n){var r=e.node(n),i=t.node(n);r&&(r.x=i.x,r.y=i.y,t.children(n).length&&(r.width=i.width,r.height=i.height))})),r.forEach(e.edges(),(function(n){var i=e.edge(n),o=t.edge(n);i.points=o.points,r.has(o,"x")&&(i.x=o.x,i.y=o.y)})),e.graph().width=t.graph().width,e.graph().height=t.graph().height}(e,t)}))}))};var g=["nodesep","edgesep","ranksep","marginx","marginy"],y={ranksep:50,edgesep:20,nodesep:50,rankdir:"tb"},b=["acyclicer","ranker","rankdir","align"],w=["width","height"],x={width:0,height:0},_=["minlen","weight","width","height","labeloffset"],k={minlen:1,weight:1,width:0,height:0,labeloffset:10,labelpos:"r"},S=["labelpos"];function M(e,t){return r.mapValues(r.pick(e,t),Number)}function T(e){var t={};return r.forEach(e,(function(e,n){t[n.toLowerCase()]=e})),t}},38899:function(e,t,n){var r;try{r={cloneDeep:n(58121),constant:n(71547),defaults:n(66933),each:n(29430),filter:n(80086),find:n(61211),flatten:n(25506),forEach:n(36514),forIn:n(69144),has:n(17805),isUndefined:n(42530),last:n(15727),map:n(72034),mapValues:n(37702),max:n(29627),merge:n(79286),min:n(66452),minBy:n(43638),now:n(50072),pick:n(36460),range:n(66222),reduce:n(25080),sortBy:n(64286),uniqueId:n(30804),values:n(92063),zipObject:n(84827)}}catch(i){}r||(r=window._),e.exports=r},51652:function(e,t,n){var r=n(38899),i=n(48392);function o(e,t,n,a,s,u,l){var c=e.children(l);if(c.length){var f=i.addBorderNode(e,"_bt"),d=i.addBorderNode(e,"_bb"),h=e.node(l);e.setParent(f,l),h.borderTop=f,e.setParent(d,l),h.borderBottom=d,r.forEach(c,(function(r){o(e,t,n,a,s,u,r);var i=e.node(r),c=i.borderTop?i.borderTop:r,h=i.borderBottom?i.borderBottom:r,p=i.borderTop?a:2*a,m=c!==h?1:s-u[l]+1;e.setEdge(f,c,{weight:p,minlen:m,nestingEdge:!0}),e.setEdge(h,d,{weight:p,minlen:m,nestingEdge:!0})})),e.parent(l)||e.setEdge(t,f,{weight:0,minlen:s+u[l]})}else l!==t&&e.setEdge(t,l,{weight:0,minlen:n})}e.exports={run:function(e){var t=i.addDummyNode(e,"root",{},"_root"),n=function(e){var t={};function n(i,o){var a=e.children(i);a&&a.length&&r.forEach(a,(function(e){n(e,o+1)})),t[i]=o}return r.forEach(e.children(),(function(e){n(e,1)})),t}(e),a=r.max(r.values(n))-1,s=2*a+1;e.graph().nestingRoot=t,r.forEach(e.edges(),(function(t){e.edge(t).minlen*=s}));var u=function(e){return r.reduce(e.edges(),(function(t,n){return t+e.edge(n).weight}),0)}(e)+1;r.forEach(e.children(),(function(r){o(e,t,s,u,a,n,r)})),e.graph().nodeRankFactor=s},cleanup:function(e){var t=e.graph();e.removeNode(t.nestingRoot),delete t.nestingRoot,r.forEach(e.edges(),(function(t){e.edge(t).nestingEdge&&e.removeEdge(t)}))}}},81898:function(e,t,n){"use strict";var r=n(38899),i=n(48392);e.exports={run:function(e){e.graph().dummyChains=[],r.forEach(e.edges(),(function(t){!function(e,t){var n,r,o,a=t.v,s=e.node(a).rank,u=t.w,l=e.node(u).rank,c=t.name,f=e.edge(t),d=f.labelRank;if(l===s+1)return;for(e.removeEdge(t),o=0,++s;s0;)t%2&&(n+=u[t+1]),u[t=t-1>>1]+=e.weight;l+=e.weight*n}))),l}e.exports=function(e,t){for(var n=0,r=1;r=2),s=c.buildLayerMatrix(e);var v=o(e,s);v=e.barycenter)&&function(e,t){var n=0,r=0;e.weight&&(n+=e.barycenter*e.weight,r+=e.weight);t.weight&&(n+=t.barycenter*t.weight,r+=t.weight);e.vs=t.vs.concat(e.vs),e.barycenter=n/r,e.weight=r,e.i=Math.min(t.i,e.i),t.merged=!0}(e,t)}}function i(t){return function(n){n.in.push(t),0===--n.indegree&&e.push(n)}}for(;e.length;){var o=e.pop();t.push(o),r.forEach(o.in.reverse(),n(o)),r.forEach(o.out,i(o))}return r.map(r.filter(t,(function(e){return!e.merged})),(function(e){return r.pick(e,["vs","i","barycenter","weight"])}))}(r.filter(n,(function(e){return!e.indegree})))}},83616:function(e,t,n){var r=n(38899),i=n(85213),o=n(31982),a=n(54929);e.exports=function e(t,n,s,u){var l=t.children(n),c=t.node(n),f=c?c.borderLeft:void 0,d=c?c.borderRight:void 0,h={};f&&(l=r.filter(l,(function(e){return e!==f&&e!==d})));var p=i(t,l);r.forEach(p,(function(n){if(t.children(n.v).length){var i=e(t,n.v,s,u);h[n.v]=i,r.has(i,"barycenter")&&(o=n,a=i,r.isUndefined(o.barycenter)?(o.barycenter=a.barycenter,o.weight=a.weight):(o.barycenter=(o.barycenter*o.weight+a.barycenter*a.weight)/(o.weight+a.weight),o.weight+=a.weight))}var o,a}));var m=o(p,s);!function(e,t){r.forEach(e,(function(e){e.vs=r.flatten(e.vs.map((function(e){return t[e]?t[e].vs:e})),!0)}))}(m,h);var v=a(m,u);if(f&&(v.vs=r.flatten([f,v.vs,d],!0),t.predecessors(f).length)){var g=t.node(t.predecessors(f)[0]),y=t.node(t.predecessors(d)[0]);r.has(v,"barycenter")||(v.barycenter=0,v.weight=0),v.barycenter=(v.barycenter*v.weight+g.order+y.order)/(v.weight+2),v.weight+=2}return v}},54929:function(e,t,n){var r=n(38899),i=n(48392);function o(e,t,n){for(var i;t.length&&(i=r.last(t)).i<=n;)t.pop(),e.push(i.vs),n++;return n}e.exports=function(e,t){var n=i.partition(e,(function(e){return r.has(e,"barycenter")})),a=n.lhs,s=r.sortBy(n.rhs,(function(e){return-e.i})),u=[],l=0,c=0,f=0;a.sort((d=!!t,function(e,t){return e.barycentert.barycenter?1:d?t.i-e.i:e.i-t.i})),f=o(u,s,f),r.forEach(a,(function(e){f+=e.vs.length,u.push(e.vs),l+=e.barycenter*e.weight,c+=e.weight,f=o(u,s,f)}));var d;var h={vs:r.flatten(u,!0)};c&&(h.barycenter=l/c,h.weight=c);return h}},77652:function(e,t,n){var r=n(38899);e.exports=function(e){var t=function(e){var t={},n=0;function i(o){var a=n;r.forEach(e.children(o),i),t[o]={low:a,lim:n++}}return r.forEach(e.children(),i),t}(e);r.forEach(e.graph().dummyChains,(function(n){for(var r=e.node(n),i=r.edgeObj,o=function(e,t,n,r){var i,o,a=[],s=[],u=Math.min(t[n].low,t[r].low),l=Math.max(t[n].lim,t[r].lim);i=n;do{i=e.parent(i),a.push(i)}while(i&&(t[i].low>u||l>t[i].lim));o=i,i=r;for(;(i=e.parent(i))!==o;)s.push(i);return{path:a.concat(s.reverse()),lca:o}}(e,t,i.v,i.w),a=o.path,s=o.lca,u=0,l=a[u],c=!0;n!==i.w;){if(r=e.node(n),c){for(;(l=a[u])!==s&&e.node(l).maxRanks)&&u(n,t,l)}))}))}return r.reduce(t,(function(t,n){var o,a=-1,s=0;return r.forEach(n,(function(r,u){if("border"===e.node(r).dummy){var l=e.predecessors(r);l.length&&(o=e.node(l[0]).order,i(n,s,u,a,o),s=u,a=o)}i(n,s,n.length,o,t.length)})),n})),n}function u(e,t,n){if(t>n){var r=t;t=n,n=r}var i=e[t];i||(e[t]=i={}),i[n]=!0}function l(e,t,n){if(t>n){var i=t;t=n,n=i}return r.has(e[t],n)}function c(e,t,n,i){var o={},a={},s={};return r.forEach(t,(function(e){r.forEach(e,(function(e,t){o[e]=e,a[e]=e,s[e]=t}))})),r.forEach(t,(function(e){var t=-1;r.forEach(e,(function(e){var u=i(e);if(u.length){u=r.sortBy(u,(function(e){return s[e]}));for(var c=(u.length-1)/2,f=Math.floor(c),d=Math.ceil(c);f<=d;++f){var h=u[f];a[e]===e&&tu.lim&&(l=u,c=!0);var f=r.filter(t.edges(),(function(t){return c===y(e,e.node(t.v),l)&&c!==y(e,e.node(t.w),l)}));return r.minBy(f,(function(e){return o(t,e)}))}function g(e,t,n,i){var o=n.v,a=n.w;e.removeEdge(o,a),e.setEdge(i.v,i.w,{}),h(e),f(e,t),function(e,t){var n=r.find(e.nodes(),(function(e){return!t.node(e).parent})),i=s(e,n);i=i.slice(1),r.forEach(i,(function(n){var r=e.node(n).parent,i=t.edge(n,r),o=!1;i||(i=t.edge(r,n),o=!0),t.node(n).rank=t.node(r).rank+(o?i.minlen:-i.minlen)}))}(e,t)}function y(e,t,n){return n.low<=t.lim&&t.lim<=n.lim}e.exports=c,c.initLowLimValues=h,c.initCutValues=f,c.calcCutValue=d,c.leaveEdge=m,c.enterEdge=v,c.exchangeEdges=g},64441:function(e,t,n){"use strict";var r=n(38899);e.exports={longestPath:function(e){var t={};r.forEach(e.sources(),(function n(i){var o=e.node(i);if(r.has(t,i))return o.rank;t[i]=!0;var a=r.min(r.map(e.outEdges(i),(function(t){return n(t.w)-e.edge(t).minlen})));return a!==Number.POSITIVE_INFINITY&&void 0!==a&&null!==a||(a=0),o.rank=a}))},slack:function(e,t){return e.node(t.w).rank-e.node(t.v).rank-e.edge(t).minlen}}},48392:function(e,t,n){"use strict";var r=n(38899),i=n(2990).Graph;function o(e,t,n,i){var o;do{o=r.uniqueId(i)}while(e.hasNode(o));return n.dummy=t,e.setNode(o,n),o}function a(e){return r.max(r.map(e.nodes(),(function(t){var n=e.node(t).rank;if(!r.isUndefined(n))return n})))}e.exports={addDummyNode:o,simplify:function(e){var t=(new i).setGraph(e.graph());return r.forEach(e.nodes(),(function(n){t.setNode(n,e.node(n))})),r.forEach(e.edges(),(function(n){var r=t.edge(n.v,n.w)||{weight:0,minlen:1},i=e.edge(n);t.setEdge(n.v,n.w,{weight:r.weight+i.weight,minlen:Math.max(r.minlen,i.minlen)})})),t},asNonCompoundGraph:function(e){var t=new i({multigraph:e.isMultigraph()}).setGraph(e.graph());return r.forEach(e.nodes(),(function(n){e.children(n).length||t.setNode(n,e.node(n))})),r.forEach(e.edges(),(function(n){t.setEdge(n,e.edge(n))})),t},successorWeights:function(e){var t=r.map(e.nodes(),(function(t){var n={};return r.forEach(e.outEdges(t),(function(t){n[t.w]=(n[t.w]||0)+e.edge(t).weight})),n}));return r.zipObject(e.nodes(),t)},predecessorWeights:function(e){var t=r.map(e.nodes(),(function(t){var n={};return r.forEach(e.inEdges(t),(function(t){n[t.v]=(n[t.v]||0)+e.edge(t).weight})),n}));return r.zipObject(e.nodes(),t)},intersectRect:function(e,t){var n,r,i=e.x,o=e.y,a=t.x-i,s=t.y-o,u=e.width/2,l=e.height/2;if(!a&&!s)throw new Error("Not possible to find intersection inside of the rectangle");Math.abs(s)*u>Math.abs(a)*l?(s<0&&(l=-l),n=l*a/s,r=l):(a<0&&(u=-u),n=u,r=u*s/a);return{x:i+n,y:o+r}},buildLayerMatrix:function(e){var t=r.map(r.range(a(e)+1),(function(){return[]}));return r.forEach(e.nodes(),(function(n){var i=e.node(n),o=i.rank;r.isUndefined(o)||(t[o][i.order]=n)})),t},normalizeRanks:function(e){var t=r.min(r.map(e.nodes(),(function(t){return e.node(t).rank})));r.forEach(e.nodes(),(function(n){var i=e.node(n);r.has(i,"rank")&&(i.rank-=t)}))},removeEmptyRanks:function(e){var t=r.min(r.map(e.nodes(),(function(t){return e.node(t).rank}))),n=[];r.forEach(e.nodes(),(function(r){var i=e.node(r).rank-t;n[i]||(n[i]=[]),n[i].push(r)}));var i=0,o=e.graph().nodeRankFactor;r.forEach(n,(function(t,n){r.isUndefined(t)&&n%o!==0?--i:i&&r.forEach(t,(function(t){e.node(t).rank+=i}))}))},addBorderNode:function(e,t,n,r){var i={width:0,height:0};arguments.length>=4&&(i.rank=n,i.order=r);return o(e,"border",i,t)},maxRank:a,partition:function(e,t){var n={lhs:[],rhs:[]};return r.forEach(e,(function(e){t(e)?n.lhs.push(e):n.rhs.push(e)})),n},time:function(e,t){var n=r.now();try{return t()}finally{console.log(e+" time: "+(r.now()-n)+"ms")}},notime:function(e,t){return t()}}},6206:function(e){e.exports="0.8.5"},30222:function(e){"use strict";var t="Function.prototype.bind called on incompatible ",n=Array.prototype.slice,r=Object.prototype.toString,i="[object Function]";e.exports=function(e){var o=this;if("function"!==typeof o||r.call(o)!==i)throw new TypeError(t+o);for(var a,s=n.call(arguments,1),u=function(){if(this instanceof a){var t=o.apply(this,s.concat(n.call(arguments)));return Object(t)===t?t:this}return o.apply(e,s.concat(n.call(arguments)))},l=Math.max(0,o.length-s.length),c=[],f=0;f1&&"boolean"!==typeof t)throw new a('"allowMissing" argument must be a boolean');if(null===S(/^%?[^%]*%?$/g,e))throw new i("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=E(e),r=n.length>0?n[0]:"",o=C("%"+r+"%",t),s=o.name,l=o.value,c=!1,f=o.alias;f&&(r=f[0],x(n,w([0,1],f)));for(var d=1,h=!0;d=n.length){var y=u(l,p);l=(h=!!y)&&"get"in y&&!("originalValue"in y.get)?y.get:l[p]}else h=b(l,p),l=l[p];h&&!c&&(m[s]=l)}}return l}},86118:function(e,t,n){var r=n(95828);e.exports={Graph:r.Graph,json:n(15710),alg:n(25280),version:r.version}},46666:function(e,t,n){var r=n(90980);e.exports=function(e){var t,n={},i=[];function o(i){r.has(n,i)||(n[i]=!0,t.push(i),r.each(e.successors(i),o),r.each(e.predecessors(i),o))}return r.each(e.nodes(),(function(e){t=[],o(e),t.length&&i.push(t)})),i}},30672:function(e,t,n){var r=n(90980);function i(e,t,n,o,a,s){r.has(o,t)||(o[t]=!0,n||s.push(t),r.each(a(t),(function(t){i(e,t,n,o,a,s)})),n&&s.push(t))}e.exports=function(e,t,n){r.isArray(t)||(t=[t]);var o=(e.isDirected()?e.successors:e.neighbors).bind(e),a=[],s={};return r.each(t,(function(t){if(!e.hasNode(t))throw new Error("Graph does not have node: "+t);i(e,t,"post"===n,s,o,a)})),a}},99919:function(e,t,n){var r=n(44871),i=n(90980);e.exports=function(e,t,n){return i.transform(e.nodes(),(function(i,o){i[o]=r(e,o,t,n)}),{})}},44871:function(e,t,n){var r=n(90980),i=n(96071);e.exports=function(e,t,n,r){return function(e,t,n,r){var o,a,s={},u=new i,l=function(e){var t=e.v!==o?e.v:e.w,r=s[t],i=n(e),l=a.distance+i;if(i<0)throw new Error("dijkstra does not allow negative edge weights. Bad edge: "+e+" Weight: "+i);l0&&(o=u.removeMin(),(a=s[o]).distance!==Number.POSITIVE_INFINITY);)r(o).forEach(l);return s}(e,String(t),n||o,r||function(t){return e.outEdges(t)})};var o=r.constant(1)},86050:function(e,t,n){var r=n(90980),i=n(18172);e.exports=function(e){return r.filter(i(e),(function(t){return t.length>1||1===t.length&&e.hasEdge(t[0],t[0])}))}},65053:function(e,t,n){var r=n(90980);e.exports=function(e,t,n){return function(e,t,n){var r={},i=e.nodes();return i.forEach((function(e){r[e]={},r[e][e]={distance:0},i.forEach((function(t){e!==t&&(r[e][t]={distance:Number.POSITIVE_INFINITY})})),n(e).forEach((function(n){var i=n.v===e?n.w:n.v,o=t(n);r[e][i]={distance:o,predecessor:e}}))})),i.forEach((function(e){var t=r[e];i.forEach((function(n){var o=r[n];i.forEach((function(n){var r=o[e],i=t[n],a=o[n],s=r.distance+i.distance;s0;){if(n=u.removeMin(),r.has(s,n))a.setEdge(n,s[n]);else{if(c)throw new Error("Input graph is not connected: "+e);c=!0}e.nodeEdges(n).forEach(l)}return a}},18172:function(e,t,n){var r=n(90980);e.exports=function(e){var t=0,n=[],i={},o=[];function a(s){var u=i[s]={onStack:!0,lowlink:t,index:t++};if(n.push(s),e.successors(s).forEach((function(e){r.has(i,e)?i[e].onStack&&(u.lowlink=Math.min(u.lowlink,i[e].index)):(a(e),u.lowlink=Math.min(u.lowlink,i[e].lowlink))})),u.lowlink===u.index){var l,c=[];do{l=n.pop(),i[l].onStack=!1,c.push(l)}while(s!==l);o.push(c)}}return e.nodes().forEach((function(e){r.has(i,e)||a(e)})),o}},11731:function(e,t,n){var r=n(90980);function i(e){var t={},n={},i=[];if(r.each(e.sinks(),(function a(s){if(r.has(n,s))throw new o;r.has(t,s)||(n[s]=!0,t[s]=!0,r.each(e.predecessors(s),a),delete n[s],i.push(s))})),r.size(t)!==e.nodeCount())throw new o;return i}function o(){}e.exports=i,i.CycleException=o,o.prototype=new Error},96071:function(e,t,n){var r=n(90980);function i(){this._arr=[],this._keyIndices={}}e.exports=i,i.prototype.size=function(){return this._arr.length},i.prototype.keys=function(){return this._arr.map((function(e){return e.key}))},i.prototype.has=function(e){return r.has(this._keyIndices,e)},i.prototype.priority=function(e){var t=this._keyIndices[e];if(void 0!==t)return this._arr[t].priority},i.prototype.min=function(){if(0===this.size())throw new Error("Queue underflow");return this._arr[0].key},i.prototype.add=function(e,t){var n=this._keyIndices;if(e=String(e),!r.has(n,e)){var i=this._arr,o=i.length;return n[e]=o,i.push({key:e,priority:t}),this._decrease(o),!0}return!1},i.prototype.removeMin=function(){this._swap(0,this._arr.length-1);var e=this._arr.pop();return delete this._keyIndices[e.key],this._heapify(0),e.key},i.prototype.decrease=function(e,t){var n=this._keyIndices[e];if(t>this._arr[n].priority)throw new Error("New priority is greater than current priority. Key: "+e+" Old: "+this._arr[n].priority+" New: "+t);this._arr[n].priority=t,this._decrease(n)},i.prototype._heapify=function(e){var t=this._arr,n=2*e,r=n+1,i=e;n>1].prioritya){var s=o;o=a,a=s}return o+"\x01"+a+"\x01"+(r.isUndefined(i)?"\0":i)}function l(e,t,n,r){var i=""+t,o=""+n;if(!e&&i>o){var a=i;i=o,o=a}var s={v:i,w:o};return r&&(s.name=r),s}function c(e,t){return u(e,t.v,t.w,t.name)}o.prototype._nodeCount=0,o.prototype._edgeCount=0,o.prototype.isDirected=function(){return this._isDirected},o.prototype.isMultigraph=function(){return this._isMultigraph},o.prototype.isCompound=function(){return this._isCompound},o.prototype.setGraph=function(e){return this._label=e,this},o.prototype.graph=function(){return this._label},o.prototype.setDefaultNodeLabel=function(e){return r.isFunction(e)||(e=r.constant(e)),this._defaultNodeLabelFn=e,this},o.prototype.nodeCount=function(){return this._nodeCount},o.prototype.nodes=function(){return r.keys(this._nodes)},o.prototype.sources=function(){var e=this;return r.filter(this.nodes(),(function(t){return r.isEmpty(e._in[t])}))},o.prototype.sinks=function(){var e=this;return r.filter(this.nodes(),(function(t){return r.isEmpty(e._out[t])}))},o.prototype.setNodes=function(e,t){var n=arguments,i=this;return r.each(e,(function(e){n.length>1?i.setNode(e,t):i.setNode(e)})),this},o.prototype.setNode=function(e,t){return r.has(this._nodes,e)?(arguments.length>1&&(this._nodes[e]=t),this):(this._nodes[e]=arguments.length>1?t:this._defaultNodeLabelFn(e),this._isCompound&&(this._parent[e]=i,this._children[e]={},this._children["\0"][e]=!0),this._in[e]={},this._preds[e]={},this._out[e]={},this._sucs[e]={},++this._nodeCount,this)},o.prototype.node=function(e){return this._nodes[e]},o.prototype.hasNode=function(e){return r.has(this._nodes,e)},o.prototype.removeNode=function(e){var t=this;if(r.has(this._nodes,e)){var n=function(e){t.removeEdge(t._edgeObjs[e])};delete this._nodes[e],this._isCompound&&(this._removeFromParentsChildList(e),delete this._parent[e],r.each(this.children(e),(function(e){t.setParent(e)})),delete this._children[e]),r.each(r.keys(this._in[e]),n),delete this._in[e],delete this._preds[e],r.each(r.keys(this._out[e]),n),delete this._out[e],delete this._sucs[e],--this._nodeCount}return this},o.prototype.setParent=function(e,t){if(!this._isCompound)throw new Error("Cannot set parent in a non-compound graph");if(r.isUndefined(t))t=i;else{for(var n=t+="";!r.isUndefined(n);n=this.parent(n))if(n===e)throw new Error("Setting "+t+" as parent of "+e+" would create a cycle");this.setNode(t)}return this.setNode(e),this._removeFromParentsChildList(e),this._parent[e]=t,this._children[t][e]=!0,this},o.prototype._removeFromParentsChildList=function(e){delete this._children[this._parent[e]][e]},o.prototype.parent=function(e){if(this._isCompound){var t=this._parent[e];if(t!==i)return t}},o.prototype.children=function(e){if(r.isUndefined(e)&&(e=i),this._isCompound){var t=this._children[e];if(t)return r.keys(t)}else{if(e===i)return this.nodes();if(this.hasNode(e))return[]}},o.prototype.predecessors=function(e){var t=this._preds[e];if(t)return r.keys(t)},o.prototype.successors=function(e){var t=this._sucs[e];if(t)return r.keys(t)},o.prototype.neighbors=function(e){var t=this.predecessors(e);if(t)return r.union(t,this.successors(e))},o.prototype.isLeaf=function(e){return 0===(this.isDirected()?this.successors(e):this.neighbors(e)).length},o.prototype.filterNodes=function(e){var t=new this.constructor({directed:this._isDirected,multigraph:this._isMultigraph,compound:this._isCompound});t.setGraph(this.graph());var n=this;r.each(this._nodes,(function(n,r){e(r)&&t.setNode(r,n)})),r.each(this._edgeObjs,(function(e){t.hasNode(e.v)&&t.hasNode(e.w)&&t.setEdge(e,n.edge(e))}));var i={};function o(e){var r=n.parent(e);return void 0===r||t.hasNode(r)?(i[e]=r,r):r in i?i[r]:o(r)}return this._isCompound&&r.each(t.nodes(),(function(e){t.setParent(e,o(e))})),t},o.prototype.setDefaultEdgeLabel=function(e){return r.isFunction(e)||(e=r.constant(e)),this._defaultEdgeLabelFn=e,this},o.prototype.edgeCount=function(){return this._edgeCount},o.prototype.edges=function(){return r.values(this._edgeObjs)},o.prototype.setPath=function(e,t){var n=this,i=arguments;return r.reduce(e,(function(e,r){return i.length>1?n.setEdge(e,r,t):n.setEdge(e,r),r})),this},o.prototype.setEdge=function(){var e,t,n,i,o=!1,s=arguments[0];"object"===typeof s&&null!==s&&"v"in s?(e=s.v,t=s.w,n=s.name,2===arguments.length&&(i=arguments[1],o=!0)):(e=s,t=arguments[1],n=arguments[3],arguments.length>2&&(i=arguments[2],o=!0)),e=""+e,t=""+t,r.isUndefined(n)||(n=""+n);var c=u(this._isDirected,e,t,n);if(r.has(this._edgeLabels,c))return o&&(this._edgeLabels[c]=i),this;if(!r.isUndefined(n)&&!this._isMultigraph)throw new Error("Cannot set a named edge when isMultigraph = false");this.setNode(e),this.setNode(t),this._edgeLabels[c]=o?i:this._defaultEdgeLabelFn(e,t,n);var f=l(this._isDirected,e,t,n);return e=f.v,t=f.w,Object.freeze(f),this._edgeObjs[c]=f,a(this._preds[t],e),a(this._sucs[e],t),this._in[t][c]=f,this._out[e][c]=f,this._edgeCount++,this},o.prototype.edge=function(e,t,n){var r=1===arguments.length?c(this._isDirected,arguments[0]):u(this._isDirected,e,t,n);return this._edgeLabels[r]},o.prototype.hasEdge=function(e,t,n){var i=1===arguments.length?c(this._isDirected,arguments[0]):u(this._isDirected,e,t,n);return r.has(this._edgeLabels,i)},o.prototype.removeEdge=function(e,t,n){var r=1===arguments.length?c(this._isDirected,arguments[0]):u(this._isDirected,e,t,n),i=this._edgeObjs[r];return i&&(e=i.v,t=i.w,delete this._edgeLabels[r],delete this._edgeObjs[r],s(this._preds[t],e),s(this._sucs[e],t),delete this._in[t][r],delete this._out[e][r],this._edgeCount--),this},o.prototype.inEdges=function(e,t){var n=this._in[e];if(n){var i=r.values(n);return t?r.filter(i,(function(e){return e.v===t})):i}},o.prototype.outEdges=function(e,t){var n=this._out[e];if(n){var i=r.values(n);return t?r.filter(i,(function(e){return e.w===t})):i}},o.prototype.nodeEdges=function(e,t){var n=this.inEdges(e,t);if(n)return n.concat(this.outEdges(e,t))}},95828:function(e,t,n){e.exports={Graph:n(41311),version:n(54161)}},15710:function(e,t,n){var r=n(90980),i=n(41311);function o(e){return r.map(e.nodes(),(function(t){var n=e.node(t),i=e.parent(t),o={v:t};return r.isUndefined(n)||(o.value=n),r.isUndefined(i)||(o.parent=i),o}))}function a(e){return r.map(e.edges(),(function(t){var n=e.edge(t),i={v:t.v,w:t.w};return r.isUndefined(t.name)||(i.name=t.name),r.isUndefined(n)||(i.value=n),i}))}e.exports={write:function(e){var t={options:{directed:e.isDirected(),multigraph:e.isMultigraph(),compound:e.isCompound()},nodes:o(e),edges:a(e)};r.isUndefined(e.graph())||(t.value=r.clone(e.graph()));return t},read:function(e){var t=new i(e.options).setGraph(e.value);return r.each(e.nodes,(function(e){t.setNode(e.v,e.value),e.parent&&t.setParent(e.v,e.parent)})),r.each(e.edges,(function(e){t.setEdge({v:e.v,w:e.w,name:e.name},e.value)})),t}}},90980:function(e,t,n){var r;try{r={clone:n(68787),constant:n(71547),each:n(29430),filter:n(80086),has:n(17805),isArray:n(93629),isEmpty:n(66364),isFunction:n(74786),isUndefined:n(42530),keys:n(12742),map:n(72034),reduce:n(25080),size:n(69467),transform:n(25653),union:n(26310),values:n(92063)}}catch(i){}r||(r=window._),e.exports=r},54161:function(e){e.exports="2.1.8"},80697:function(e,t,n){"use strict";var r="undefined"!==typeof Symbol&&Symbol,i=n(63297);e.exports=function(){return"function"===typeof r&&("function"===typeof Symbol&&("symbol"===typeof r("foo")&&("symbol"===typeof Symbol("bar")&&i())))}},63297:function(e){"use strict";e.exports=function(){if("function"!==typeof Symbol||"function"!==typeof Object.getOwnPropertySymbols)return!1;if("symbol"===typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),n=Object(t);if("string"===typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;for(t in e[t]=42,e)return!1;if("function"===typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"===typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var r=Object.getOwnPropertySymbols(e);if(1!==r.length||r[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"===typeof Object.getOwnPropertyDescriptor){var i=Object.getOwnPropertyDescriptor(e,t);if(42!==i.value||!0!==i.enumerable)return!1}return!0}},58316:function(e,t,n){"use strict";var r=n(33350);e.exports=r.call(Function.call,Object.prototype.hasOwnProperty)},62110:function(e,t,n){"use strict";var r=n(48309),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 u(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 l=Object.defineProperty,c=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,h=Object.getPrototypeOf,p=Object.prototype;e.exports=function e(t,n,r){if("string"!==typeof n){if(p){var i=h(n);i&&i!==p&&e(t,i,r)}var a=c(n);f&&(a=a.concat(f(n)));for(var s=u(t),m=u(n),v=0;v-1}},32683:function(e){e.exports=function(e,t,n){for(var r=-1,i=null==e?0:e.length;++r=200&&(f=u,d=!1,t=new r(t));e:for(;++c0&&o(c)?n>1?e(c,n-1,o,a,s):r(s,c):a||(s[s.length]=c)}return s}},85099:function(e,t,n){var r=n(30372)();e.exports=r},15358:function(e,t,n){var r=n(85099),i=n(12742);e.exports=function(e,t){return e&&r(e,t,i)}},98667:function(e,t,n){var r=n(43082),i=n(69793);e.exports=function(e,t){for(var n=0,o=(t=r(t,e)).length;null!=e&&nt}},97852:function(e){var t=Object.prototype.hasOwnProperty;e.exports=function(e,n){return null!=e&&t.call(e,n)}},90529:function(e){e.exports=function(e,t){return null!=e&&t in Object(e)}},24842:function(e,t,n){var r=n(2045),i=n(50505),o=n(77167);e.exports=function(e,t,n){return t===t?o(e,t,n):r(e,i,n)}},75188:function(e,t,n){var r=n(20692),i=n(59055),o=n(32683),a=n(68950),s=n(16194),u=n(60075),l=Math.min;e.exports=function(e,t,n){for(var c=n?o:i,f=e[0].length,d=e.length,h=d,p=Array(d),m=1/0,v=[];h--;){var g=e[h];h&&t&&(g=a(g,s(t))),m=l(g.length,m),p[h]=!n&&(t||f>=120&&g.length>=120)?new r(h&&g):void 0}g=e[0];var y=-1,b=p[0];e:for(;++yi?0:i+t),(n=n>i?i:n)<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var o=Array(i);++r=200){var m=t?null:s(e);if(m)return u(m);d=!1,c=a,p=new r}else p=t?[]:h;e:for(;++l=i?e:r(e,t,n)}},7010:function(e,t,n){var r=n(46219);e.exports=function(e){var t=new e.constructor(e.byteLength);return new r(t).set(new r(e)),t}},94523:function(e,t,n){e=n.nmd(e);var r=n(97009),i=t&&!t.nodeType&&t,o=i&&e&&!e.nodeType&&e,a=o&&o.exports===i?r.Buffer:void 0,s=a?a.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var n=e.length,r=s?s(n):new e.constructor(n);return e.copy(r),r}},61022:function(e,t,n){var r=n(7010);e.exports=function(e,t){var n=t?r(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}},18503:function(e){var t=/\w*$/;e.exports=function(e){var n=new e.constructor(e.source,t.exec(e));return n.lastIndex=e.lastIndex,n}},64720:function(e,t,n){var r=n(87197),i=r?r.prototype:void 0,o=i?i.valueOf:void 0;e.exports=function(e){return o?Object(o.call(e)):{}}},40613:function(e,t,n){var r=n(7010);e.exports=function(e,t){var n=t?r(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}},88558:function(e,t,n){var r=n(70152);e.exports=function(e,t){if(e!==t){var n=void 0!==e,i=null===e,o=e===e,a=r(e),s=void 0!==t,u=null===t,l=t===t,c=r(t);if(!u&&!c&&!a&&e>t||a&&s&&l&&!u&&!c||i&&s&&l||!n&&l||!o)return 1;if(!i&&!a&&!c&&e=u?l:l*("desc"==n[i]?-1:1)}return e.index-t.index}},10291:function(e){e.exports=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n1?n[o-1]:void 0,s=o>2?n[2]:void 0;for(a=e.length>3&&"function"==typeof a?(o--,a):void 0,s&&i(n[0],n[1],s)&&(a=o<3?void 0:a,o=1),t=Object(t);++r-1?s[u?t[l]:l]:void 0}}},56381:function(e,t,n){var r=n(7255),i=n(3195),o=n(91495);e.exports=function(e){return function(t,n,a){return a&&"number"!=typeof a&&i(t,n,a)&&(n=a=void 0),t=o(t),void 0===n?(n=t,t=0):n=o(n),a=void 0===a?tc))return!1;var d=u.get(e),h=u.get(t);if(d&&h)return d==t&&h==e;var p=-1,m=!0,v=2&n?new r:void 0;for(u.set(e,t),u.set(t,e);++p-1&&e%1==0&&e-1}},87109:function(e,t,n){var r=n(27112);e.exports=function(e,t){var n=this.__data__,i=r(n,e);return i<0?(++this.size,n.push([e,t])):n[i][1]=t,this}},34086:function(e,t,n){var r=n(29676),i=n(38384),o=n(95797);e.exports=function(){this.size=0,this.__data__={hash:new r,map:new(o||i),string:new r}}},9255:function(e,t,n){var r=n(32799);e.exports=function(e){var t=r(this,e).delete(e);return this.size-=t?1:0,t}},29186:function(e,t,n){var r=n(32799);e.exports=function(e){return r(this,e).get(e)}},13423:function(e,t,n){var r=n(32799);e.exports=function(e){return r(this,e).has(e)}},73739:function(e,t,n){var r=n(32799);e.exports=function(e,t){var n=r(this,e),i=n.size;return n.set(e,t),this.size+=n.size==i?0:1,this}},90234:function(e){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}},50284:function(e){e.exports=function(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in Object(n)))}}},14634:function(e,t,n){var r=n(49151);e.exports=function(e){var t=r(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}},49620:function(e,t,n){var r=n(68136)(Object,"create");e.exports=r},75964:function(e,t,n){var r=n(12709)(Object.keys,Object);e.exports=r},4221:function(e){e.exports=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}},49494:function(e,t,n){e=n.nmd(e);var r=n(31032),i=t&&!t.nodeType&&t,o=i&&e&&!e.nodeType&&e,a=o&&o.exports===i&&r.process,s=function(){try{var e=o&&o.require&&o.require("util").types;return e||a&&a.binding&&a.binding("util")}catch(t){}}();e.exports=s},43581:function(e){var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},12709:function(e){e.exports=function(e,t){return function(n){return e(t(n))}}},64262:function(e,t,n){var r=n(13665),i=Math.max;e.exports=function(e,t,n){return t=i(void 0===t?e.length-1:t,0),function(){for(var o=arguments,a=-1,s=i(o.length-t,0),u=Array(s);++a0){if(++n>=800)return arguments[0]}else n=0;return e.apply(void 0,arguments)}}},20511:function(e,t,n){var r=n(38384);e.exports=function(){this.__data__=new r,this.size=0}},50835:function(e){e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},90707:function(e){e.exports=function(e){return this.__data__.get(e)}},18832:function(e){e.exports=function(e){return this.__data__.has(e)}},35077:function(e,t,n){var r=n(38384),i=n(95797),o=n(78059);e.exports=function(e,t){var n=this.__data__;if(n instanceof r){var a=n.__data__;if(!i||a.length<199)return a.push([e,t]),this.size=++n.size,this;n=this.__data__=new o(a)}return n.set(e,t),this.size=n.size,this}},77167:function(e){e.exports=function(e,t,n){for(var r=n-1,i=e.length;++r=t||n<0||v&&e-p>=c}function x(){var e=i();if(w(e))return _(e);d=setTimeout(x,function(e){var n=t-(e-h);return v?s(n,c-(e-p)):n}(e))}function _(e){return d=void 0,g&&u?y(e):(u=l=void 0,f)}function k(){var e=i(),n=w(e);if(u=arguments,l=this,h=e,n){if(void 0===d)return b(h);if(v)return clearTimeout(d),d=setTimeout(x,t),y(h)}return void 0===d&&(d=setTimeout(x,t)),f}return t=o(t)||0,r(n)&&(m=!!n.leading,c=(v="maxWait"in n)?a(o(n.maxWait)||0,t):c,g="trailing"in n?!!n.trailing:g),k.cancel=function(){void 0!==d&&clearTimeout(d),p=0,u=h=l=d=void 0},k.flush=function(){return void 0===d?f:_(i())},k}},94857:function(e,t,n){var r=n(35868),i=n(63518),o=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,a=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");e.exports=function(e){return(e=i(e))&&e.replace(o,r).replace(a,"")}},66933:function(e,t,n){var r=n(58794),i=n(29231),o=n(3195),a=n(73961),s=Object.prototype,u=s.hasOwnProperty,l=r((function(e,t){e=Object(e);var n=-1,r=t.length,l=r>2?t[2]:void 0;for(l&&o(t[0],t[1],l)&&(r=1);++n-1&&e%1==0&&e<=9007199254740991}},60103:function(e,t,n){var r=n(53085),i=n(16194),o=n(49494),a=o&&o.isMap,s=a?i(a):r;e.exports=s},8092:function(e){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},43141:function(e){e.exports=function(e){return null!=e&&"object"==typeof e}},93977:function(e,t,n){var r=n(39066),i=n(31137),o=n(43141),a=Function.prototype,s=Object.prototype,u=a.toString,l=s.hasOwnProperty,c=u.call(Object);e.exports=function(e){if(!o(e)||"[object Object]"!=r(e))return!1;var t=i(e);if(null===t)return!0;var n=l.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&u.call(n)==c}},36995:function(e,t,n){var r=n(48680),i=n(16194),o=n(49494),a=o&&o.isSet,s=a?i(a):r;e.exports=s},26769:function(e,t,n){var r=n(39066),i=n(93629),o=n(43141);e.exports=function(e){return"string"==typeof e||!i(e)&&o(e)&&"[object String]"==r(e)}},70152:function(e,t,n){var r=n(39066),i=n(43141);e.exports=function(e){return"symbol"==typeof e||i(e)&&"[object Symbol]"==r(e)}},19102:function(e,t,n){var r=n(68150),i=n(16194),o=n(49494),a=o&&o.isTypedArray,s=a?i(a):r;e.exports=s},42530:function(e){e.exports=function(e){return void 0===e}},12742:function(e,t,n){var r=n(47538),i=n(43654),o=n(21473);e.exports=function(e){return o(e)?r(e):i(e)}},73961:function(e,t,n){var r=n(47538),i=n(8664),o=n(21473);e.exports=function(e){return o(e)?r(e,!0):i(e)}},15727:function(e){e.exports=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}},763:function(e,t,n){var r;e=n.nmd(e),function(){var i,o="Expected a function",a="__lodash_hash_undefined__",s="__lodash_placeholder__",u=16,l=32,c=64,f=128,d=256,h=1/0,p=9007199254740991,m=NaN,v=4294967295,g=[["ary",f],["bind",1],["bindKey",2],["curry",8],["curryRight",u],["flip",512],["partial",l],["partialRight",c],["rearg",d]],y="[object Arguments]",b="[object Array]",w="[object Boolean]",x="[object Date]",_="[object Error]",k="[object Function]",S="[object GeneratorFunction]",M="[object Map]",T="[object Number]",E="[object Object]",C="[object Promise]",O="[object RegExp]",D="[object Set]",N="[object String]",j="[object Symbol]",A="[object WeakMap]",P="[object ArrayBuffer]",R="[object DataView]",I="[object Float32Array]",F="[object Float64Array]",L="[object Int8Array]",z="[object Int16Array]",B="[object Int32Array]",Z="[object Uint8Array]",W="[object Uint8ClampedArray]",H="[object Uint16Array]",Y="[object Uint32Array]",U=/\b__p \+= '';/g,V=/\b(__p \+=) '' \+/g,q=/(__e\(.*?\)|\b__t\)) \+\n'';/g,G=/&(?:amp|lt|gt|quot|#39);/g,X=/[&<>"']/g,$=RegExp(G.source),Q=RegExp(X.source),K=/<%-([\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/,ue=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,le=/\{\n\/\* \[wrapped with (.+)\] \*/,ce=/,? & /,fe=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,de=/[()=,{}\[\]\/\s]/,he=/\\(\\)?/g,pe=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,me=/\w*$/,ve=/^[-+]0x[0-9a-f]+$/i,ge=/^0b[01]+$/i,ye=/^\[object .+?Constructor\]$/,be=/^0o[0-7]+$/i,we=/^(?:0|[1-9]\d*)$/,xe=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,_e=/($^)/,ke=/['\n\r\u2028\u2029\\]/g,Se="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",Me="\\u2700-\\u27bf",Te="a-z\\xdf-\\xf6\\xf8-\\xff",Ee="A-Z\\xc0-\\xd6\\xd8-\\xde",Ce="\\ufe0e\\ufe0f",Oe="\\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",De="['\u2019]",Ne="[\\ud800-\\udfff]",je="["+Oe+"]",Ae="["+Se+"]",Pe="\\d+",Re="[\\u2700-\\u27bf]",Ie="["+Te+"]",Fe="[^\\ud800-\\udfff"+Oe+Pe+Me+Te+Ee+"]",Le="\\ud83c[\\udffb-\\udfff]",ze="[^\\ud800-\\udfff]",Be="(?:\\ud83c[\\udde6-\\uddff]){2}",Ze="[\\ud800-\\udbff][\\udc00-\\udfff]",We="["+Ee+"]",He="(?:"+Ie+"|"+Fe+")",Ye="(?:"+We+"|"+Fe+")",Ue="(?:['\u2019](?:d|ll|m|re|s|t|ve))?",Ve="(?:['\u2019](?:D|LL|M|RE|S|T|VE))?",qe="(?:"+Ae+"|"+Le+")"+"?",Ge="[\\ufe0e\\ufe0f]?",Xe=Ge+qe+("(?:\\u200d(?:"+[ze,Be,Ze].join("|")+")"+Ge+qe+")*"),$e="(?:"+[Re,Be,Ze].join("|")+")"+Xe,Qe="(?:"+[ze+Ae+"?",Ae,Be,Ze,Ne].join("|")+")",Ke=RegExp(De,"g"),Je=RegExp(Ae,"g"),et=RegExp(Le+"(?="+Le+")|"+Qe+Xe,"g"),tt=RegExp([We+"?"+Ie+"+"+Ue+"(?="+[je,We,"$"].join("|")+")",Ye+"+"+Ve+"(?="+[je,We+He,"$"].join("|")+")",We+"?"+He+"+"+Ue,We+"+"+Ve,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Pe,$e].join("|"),"g"),nt=RegExp("[\\u200d\\ud800-\\udfff"+Se+Ce+"]"),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[I]=at[F]=at[L]=at[z]=at[B]=at[Z]=at[W]=at[H]=at[Y]=!0,at[y]=at[b]=at[P]=at[w]=at[R]=at[x]=at[_]=at[k]=at[M]=at[T]=at[E]=at[O]=at[D]=at[N]=at[A]=!1;var st={};st[y]=st[b]=st[P]=st[R]=st[w]=st[x]=st[I]=st[F]=st[L]=st[z]=st[B]=st[M]=st[T]=st[E]=st[O]=st[D]=st[N]=st[j]=st[Z]=st[W]=st[H]=st[Y]=!0,st[_]=st[k]=st[A]=!1;var ut={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},lt=parseFloat,ct=parseInt,ft="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,dt="object"==typeof self&&self&&self.Object===Object&&self,ht=ft||dt||Function("return this")(),pt=t&&!t.nodeType&&t,mt=pt&&e&&!e.nodeType&&e,vt=mt&&mt.exports===pt,gt=vt&&ft.process,yt=function(){try{var e=mt&&mt.require&&mt.require("util").types;return e||gt&>.binding&>.binding("util")}catch(t){}}(),bt=yt&&yt.isArrayBuffer,wt=yt&&yt.isDate,xt=yt&&yt.isMap,_t=yt&&yt.isRegExp,kt=yt&&yt.isSet,St=yt&&yt.isTypedArray;function Mt(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 Tt(e,t,n,r){for(var i=-1,o=null==e?0:e.length;++i-1}function jt(e,t,n){for(var r=-1,i=null==e?0:e.length;++r-1;);return n}function tn(e,t){for(var n=e.length;n--&&Zt(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=Vt({"\xc0":"A","\xc1":"A","\xc2":"A","\xc3":"A","\xc4":"A","\xc5":"A","\xe0":"a","\xe1":"a","\xe2":"a","\xe3":"a","\xe4":"a","\xe5":"a","\xc7":"C","\xe7":"c","\xd0":"D","\xf0":"d","\xc8":"E","\xc9":"E","\xca":"E","\xcb":"E","\xe8":"e","\xe9":"e","\xea":"e","\xeb":"e","\xcc":"I","\xcd":"I","\xce":"I","\xcf":"I","\xec":"i","\xed":"i","\xee":"i","\xef":"i","\xd1":"N","\xf1":"n","\xd2":"O","\xd3":"O","\xd4":"O","\xd5":"O","\xd6":"O","\xd8":"O","\xf2":"o","\xf3":"o","\xf4":"o","\xf5":"o","\xf6":"o","\xf8":"o","\xd9":"U","\xda":"U","\xdb":"U","\xdc":"U","\xf9":"u","\xfa":"u","\xfb":"u","\xfc":"u","\xdd":"Y","\xfd":"y","\xff":"y","\xc6":"Ae","\xe6":"ae","\xde":"Th","\xfe":"th","\xdf":"ss","\u0100":"A","\u0102":"A","\u0104":"A","\u0101":"a","\u0103":"a","\u0105":"a","\u0106":"C","\u0108":"C","\u010a":"C","\u010c":"C","\u0107":"c","\u0109":"c","\u010b":"c","\u010d":"c","\u010e":"D","\u0110":"D","\u010f":"d","\u0111":"d","\u0112":"E","\u0114":"E","\u0116":"E","\u0118":"E","\u011a":"E","\u0113":"e","\u0115":"e","\u0117":"e","\u0119":"e","\u011b":"e","\u011c":"G","\u011e":"G","\u0120":"G","\u0122":"G","\u011d":"g","\u011f":"g","\u0121":"g","\u0123":"g","\u0124":"H","\u0126":"H","\u0125":"h","\u0127":"h","\u0128":"I","\u012a":"I","\u012c":"I","\u012e":"I","\u0130":"I","\u0129":"i","\u012b":"i","\u012d":"i","\u012f":"i","\u0131":"i","\u0134":"J","\u0135":"j","\u0136":"K","\u0137":"k","\u0138":"k","\u0139":"L","\u013b":"L","\u013d":"L","\u013f":"L","\u0141":"L","\u013a":"l","\u013c":"l","\u013e":"l","\u0140":"l","\u0142":"l","\u0143":"N","\u0145":"N","\u0147":"N","\u014a":"N","\u0144":"n","\u0146":"n","\u0148":"n","\u014b":"n","\u014c":"O","\u014e":"O","\u0150":"O","\u014d":"o","\u014f":"o","\u0151":"o","\u0154":"R","\u0156":"R","\u0158":"R","\u0155":"r","\u0157":"r","\u0159":"r","\u015a":"S","\u015c":"S","\u015e":"S","\u0160":"S","\u015b":"s","\u015d":"s","\u015f":"s","\u0161":"s","\u0162":"T","\u0164":"T","\u0166":"T","\u0163":"t","\u0165":"t","\u0167":"t","\u0168":"U","\u016a":"U","\u016c":"U","\u016e":"U","\u0170":"U","\u0172":"U","\u0169":"u","\u016b":"u","\u016d":"u","\u016f":"u","\u0171":"u","\u0173":"u","\u0174":"W","\u0175":"w","\u0176":"Y","\u0177":"y","\u0178":"Y","\u0179":"Z","\u017b":"Z","\u017d":"Z","\u017a":"z","\u017c":"z","\u017e":"z","\u0132":"IJ","\u0133":"ij","\u0152":"Oe","\u0153":"oe","\u0149":"'n","\u017f":"s"}),on=Vt({"&":"&","<":"<",">":">",'"':""","'":"'"});function an(e){return"\\"+ut[e]}function sn(e){return nt.test(e)}function un(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function ln(e,t){return function(n){return e(t(n))}}function cn(e,t){for(var n=-1,r=e.length,i=0,o=[];++n",""":'"',"'":"'"});var gn=function e(t){var n=(t=null==t?ht:gn.defaults(ht.Object(),t,gn.pick(ht,it))).Array,r=t.Date,se=t.Error,Se=t.Function,Me=t.Math,Te=t.Object,Ee=t.RegExp,Ce=t.String,Oe=t.TypeError,De=n.prototype,Ne=Se.prototype,je=Te.prototype,Ae=t["__core-js_shared__"],Pe=Ne.toString,Re=je.hasOwnProperty,Ie=0,Fe=function(){var e=/[^.]+$/.exec(Ae&&Ae.keys&&Ae.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),Le=je.toString,ze=Pe.call(Te),Be=ht._,Ze=Ee("^"+Pe.call(Re).replace(ie,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),We=vt?t.Buffer:i,He=t.Symbol,Ye=t.Uint8Array,Ue=We?We.allocUnsafe:i,Ve=ln(Te.getPrototypeOf,Te),qe=Te.create,Ge=je.propertyIsEnumerable,Xe=De.splice,$e=He?He.isConcatSpreadable:i,Qe=He?He.iterator:i,et=He?He.toStringTag:i,nt=function(){try{var e=ho(Te,"defineProperty");return e({},"",{}),e}catch(t){}}(),ut=t.clearTimeout!==ht.clearTimeout&&t.clearTimeout,ft=r&&r.now!==ht.Date.now&&r.now,dt=t.setTimeout!==ht.setTimeout&&t.setTimeout,pt=Me.ceil,mt=Me.floor,gt=Te.getOwnPropertySymbols,yt=We?We.isBuffer:i,Lt=t.isFinite,Vt=De.join,yn=ln(Te.keys,Te),bn=Me.max,wn=Me.min,xn=r.now,_n=t.parseInt,kn=Me.random,Sn=De.reverse,Mn=ho(t,"DataView"),Tn=ho(t,"Map"),En=ho(t,"Promise"),Cn=ho(t,"Set"),On=ho(t,"WeakMap"),Dn=ho(Te,"create"),Nn=On&&new On,jn={},An=Bo(Mn),Pn=Bo(Tn),Rn=Bo(En),In=Bo(Cn),Fn=Bo(On),Ln=He?He.prototype:i,zn=Ln?Ln.valueOf:i,Bn=Ln?Ln.toString:i;function Zn(e){if(rs(e)&&!Va(e)&&!(e instanceof Un)){if(e instanceof Yn)return e;if(Re.call(e,"__wrapped__"))return Zo(e)}return new Yn(e)}var Wn=function(){function e(){}return function(t){if(!ns(t))return{};if(qe)return qe(t);e.prototype=t;var n=new e;return e.prototype=i,n}}();function Hn(){}function Yn(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__=v,this.__views__=[]}function Vn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t=t?e:t)),e}function lr(e,t,n,r,o,a){var s,u=1&t,l=2&t,c=4&t;if(n&&(s=o?n(e,r,o,a):n(e)),s!==i)return s;if(!ns(e))return e;var f=Va(e);if(f){if(s=function(e){var t=e.length,n=new e.constructor(t);t&&"string"==typeof e[0]&&Re.call(e,"index")&&(n.index=e.index,n.input=e.input);return n}(e),!u)return Di(e,s)}else{var d=vo(e),h=d==k||d==S;if($a(e))return Si(e,u);if(d==E||d==y||h&&!o){if(s=l||h?{}:yo(e),!u)return l?function(e,t){return Ni(e,mo(e),t)}(e,function(e,t){return e&&Ni(t,Ps(t),e)}(s,e)):function(e,t){return Ni(e,po(e),t)}(e,or(s,e))}else{if(!st[d])return o?e:{};s=function(e,t,n){var r=e.constructor;switch(t){case P:return Mi(e);case w:case x:return new r(+e);case R:return function(e,t){var n=t?Mi(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,n);case I:case F:case L:case z:case B:case Z:case W:case H:case Y:return Ti(e,n);case M:return new r;case T:case N:return new r(e);case O:return function(e){var t=new e.constructor(e.source,me.exec(e));return t.lastIndex=e.lastIndex,t}(e);case D:return new r;case j:return i=e,zn?Te(zn.call(i)):{}}var i}(e,d,u)}}a||(a=new $n);var p=a.get(e);if(p)return p;a.set(e,s),us(e)?e.forEach((function(r){s.add(lr(r,t,n,r,e,a))})):is(e)&&e.forEach((function(r,i){s.set(i,lr(r,t,n,i,e,a))}));var m=f?i:(c?l?oo:io:l?Ps:As)(e);return Et(m||e,(function(r,i){m&&(r=e[i=r]),nr(s,i,lr(r,t,n,i,e,a))})),s}function cr(e,t,n){var r=n.length;if(null==e)return!r;for(e=Te(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 fr(e,t,n){if("function"!=typeof e)throw new Oe(o);return Ao((function(){e.apply(i,n)}),t)}function dr(e,t,n,r){var i=-1,o=Nt,a=!0,s=e.length,u=[],l=t.length;if(!s)return u;n&&(t=At(t,Qt(n))),r?(o=jt,a=!1):t.length>=200&&(o=Jt,a=!1,t=new Xn(t));e:for(;++i-1},qn.prototype.set=function(e,t){var n=this.__data__,r=rr(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},Gn.prototype.clear=function(){this.size=0,this.__data__={hash:new Vn,map:new(Tn||qn),string:new Vn}},Gn.prototype.delete=function(e){var t=co(this,e).delete(e);return this.size-=t?1:0,t},Gn.prototype.get=function(e){return co(this,e).get(e)},Gn.prototype.has=function(e){return co(this,e).has(e)},Gn.prototype.set=function(e,t){var n=co(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},Xn.prototype.add=Xn.prototype.push=function(e){return this.__data__.set(e,a),this},Xn.prototype.has=function(e){return this.__data__.has(e)},$n.prototype.clear=function(){this.__data__=new qn,this.size=0},$n.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},$n.prototype.get=function(e){return this.__data__.get(e)},$n.prototype.has=function(e){return this.__data__.has(e)},$n.prototype.set=function(e,t){var n=this.__data__;if(n instanceof qn){var r=n.__data__;if(!Tn||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Gn(r)}return n.set(e,t),this.size=n.size,this};var hr=Pi(xr),pr=Pi(_r,!0);function mr(e,t){var n=!0;return hr(e,(function(e,r,i){return n=!!t(e,r,i)})),n}function vr(e,t,n){for(var r=-1,o=e.length;++r0&&n(s)?t>1?yr(s,t-1,n,r,i):Pt(i,s):r||(i[i.length]=s)}return i}var br=Ri(),wr=Ri(!0);function xr(e,t){return e&&br(e,t,As)}function _r(e,t){return e&&wr(e,t,As)}function kr(e,t){return Dt(t,(function(t){return Ja(e[t])}))}function Sr(e,t){for(var n=0,r=(t=wi(t,e)).length;null!=e&&nt}function Cr(e,t){return null!=e&&Re.call(e,t)}function Or(e,t){return null!=e&&t in Te(e)}function Dr(e,t,r){for(var o=r?jt:Nt,a=e[0].length,s=e.length,u=s,l=n(s),c=1/0,f=[];u--;){var d=e[u];u&&t&&(d=At(d,Qt(t))),c=wn(d.length,c),l[u]=!r&&(t||a>=120&&d.length>=120)?new Xn(u&&d):i}d=e[0];var h=-1,p=l[0];e:for(;++h=s?u:u*("desc"==n[r]?-1:1)}return e.index-t.index}(e,t,n)}))}function Vr(e,t,n){for(var r=-1,i=t.length,o={};++r-1;)s!==e&&Xe.call(s,u,1),Xe.call(e,u,1);return e}function Gr(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;wo(i)?Xe.call(e,i,1):di(e,i)}}return e}function Xr(e,t){return e+mt(kn()*(t-e+1))}function $r(e,t){var n="";if(!e||t<1||t>p)return n;do{t%2&&(n+=e),(t=mt(t/2))&&(e+=e)}while(t);return n}function Qr(e,t){return Po(Co(e,t,ou),e+"")}function Kr(e){return Kn(Ws(e))}function Jr(e,t){var n=Ws(e);return Fo(n,ur(t,0,n.length))}function ei(e,t,n,r){if(!ns(e))return e;for(var o=-1,a=(t=wi(t,e)).length,s=a-1,u=e;null!=u&&++oo?0:o+t),(r=r>o?o:r)<0&&(r+=o),o=t>r?0:r-t>>>0,t>>>=0;for(var a=n(o);++i>>1,a=e[o];null!==a&&!cs(a)&&(n?a<=t:a=200){var l=t?null:$i(e);if(l)return fn(l);a=!1,i=Jt,u=new Xn}else u=t?[]:s;e:for(;++r=r?e:ii(e,t,n)}var ki=ut||function(e){return ht.clearTimeout(e)};function Si(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 Mi(e){var t=new e.constructor(e.byteLength);return new Ye(t).set(new Ye(e)),t}function Ti(e,t){var n=t?Mi(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function Ei(e,t){if(e!==t){var n=e!==i,r=null===e,o=e===e,a=cs(e),s=t!==i,u=null===t,l=t===t,c=cs(t);if(!u&&!c&&!a&&e>t||a&&s&&l&&!u&&!c||r&&s&&l||!n&&l||!o)return 1;if(!r&&!a&&!c&&e1?n[o-1]:i,s=o>2?n[2]:i;for(a=e.length>3&&"function"==typeof a?(o--,a):i,s&&xo(n[0],n[1],s)&&(a=o<3?i:a,o=1),t=Te(t);++r-1?o[a?t[s]:s]:i}}function Bi(e){return ro((function(t){var n=t.length,r=n,a=Yn.prototype.thru;for(e&&t.reverse();r--;){var s=t[r];if("function"!=typeof s)throw new Oe(o);if(a&&!u&&"wrapper"==so(s))var u=new Yn([],!0)}for(r=u?r:n;++r1&&b.reverse(),h&&cu))return!1;var c=a.get(e),f=a.get(t);if(c&&f)return c==t&&f==e;var d=-1,h=!0,p=2&n?new Xn:i;for(a.set(e,t),a.set(t,e);++d-1&&e%1==0&&e1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace(ue,"{\n/* [wrapped with "+t+"] */\n")}(r,function(e,t){return Et(g,(function(n){var r="_."+n[0];t&n[1]&&!Nt(e,r)&&e.push(r)})),e.sort()}(function(e){var t=e.match(le);return t?t[1].split(ce):[]}(r),n)))}function Io(e){var t=0,n=0;return function(){var r=xn(),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;++n1?e[t-1]:i;return n="function"==typeof n?(e.pop(),n):i,sa(e,n)}));function pa(e){var t=Zn(e);return t.__chain__=!0,t}function ma(e,t){return t(e)}var va=ro((function(e){var t=e.length,n=t?e[0]:0,r=this.__wrapped__,o=function(t){return sr(t,e)};return!(t>1||this.__actions__.length)&&r instanceof Un&&wo(n)?((r=r.slice(n,+n+(t?1:0))).__actions__.push({func:ma,args:[o],thisArg:i}),new Yn(r,this.__chain__).thru((function(e){return t&&!e.length&&e.push(i),e}))):this.thru(o)}));var ga=ji((function(e,t,n){Re.call(e,n)?++e[n]:ar(e,n,1)}));var ya=zi(Uo),ba=zi(Vo);function wa(e,t){return(Va(e)?Et:hr)(e,lo(t,3))}function xa(e,t){return(Va(e)?Ct:pr)(e,lo(t,3))}var _a=ji((function(e,t,n){Re.call(e,n)?e[n].push(t):ar(e,n,[t])}));var ka=Qr((function(e,t,r){var i=-1,o="function"==typeof t,a=Ga(e)?n(e.length):[];return hr(e,(function(e){a[++i]=o?Mt(t,e,r):Nr(e,t,r)})),a})),Sa=ji((function(e,t,n){ar(e,n,t)}));function Ma(e,t){return(Va(e)?At:Br)(e,lo(t,3))}var Ta=ji((function(e,t,n){e[n?0:1].push(t)}),(function(){return[[],[]]}));var Ea=Qr((function(e,t){if(null==e)return[];var n=t.length;return n>1&&xo(e,t[0],t[1])?t=[]:n>2&&xo(t[0],t[1],t[2])&&(t=[t[0]]),Ur(e,yr(t,1),[])})),Ca=ft||function(){return ht.Date.now()};function Oa(e,t,n){return t=n?i:t,t=e&&null==t?e.length:t,Ki(e,f,i,i,i,i,t)}function Da(e,t){var n;if("function"!=typeof t)throw new Oe(o);return e=vs(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=i),n}}var Na=Qr((function(e,t,n){var r=1;if(n.length){var i=cn(n,uo(Na));r|=l}return Ki(e,r,t,n,i)})),ja=Qr((function(e,t,n){var r=3;if(n.length){var i=cn(n,uo(ja));r|=l}return Ki(t,r,e,n,i)}));function Aa(e,t,n){var r,a,s,u,l,c,f=0,d=!1,h=!1,p=!0;if("function"!=typeof e)throw new Oe(o);function m(t){var n=r,o=a;return r=a=i,f=t,u=e.apply(o,n)}function v(e){return f=e,l=Ao(y,t),d?m(e):u}function g(e){var n=e-c;return c===i||n>=t||n<0||h&&e-f>=s}function y(){var e=Ca();if(g(e))return b(e);l=Ao(y,function(e){var n=t-(e-c);return h?wn(n,s-(e-f)):n}(e))}function b(e){return l=i,p&&r?m(e):(r=a=i,u)}function w(){var e=Ca(),n=g(e);if(r=arguments,a=this,c=e,n){if(l===i)return v(c);if(h)return ki(l),l=Ao(y,t),m(c)}return l===i&&(l=Ao(y,t)),u}return t=ys(t)||0,ns(n)&&(d=!!n.leading,s=(h="maxWait"in n)?bn(ys(n.maxWait)||0,t):s,p="trailing"in n?!!n.trailing:p),w.cancel=function(){l!==i&&ki(l),f=0,r=c=a=l=i},w.flush=function(){return l===i?u:b(Ca())},w}var Pa=Qr((function(e,t){return fr(e,1,t)})),Ra=Qr((function(e,t,n){return fr(e,ys(t)||0,n)}));function Ia(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new Oe(o);var n=function n(){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(Ia.Cache||Gn),n}function Fa(e){if("function"!=typeof e)throw new Oe(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)}}Ia.Cache=Gn;var La=xi((function(e,t){var n=(t=1==t.length&&Va(t[0])?At(t[0],Qt(lo())):At(yr(t,1),Qt(lo()))).length;return Qr((function(r){for(var i=-1,o=wn(r.length,n);++i=t})),Ua=jr(function(){return arguments}())?jr:function(e){return rs(e)&&Re.call(e,"callee")&&!Ge.call(e,"callee")},Va=n.isArray,qa=bt?Qt(bt):function(e){return rs(e)&&Tr(e)==P};function Ga(e){return null!=e&&ts(e.length)&&!Ja(e)}function Xa(e){return rs(e)&&Ga(e)}var $a=yt||yu,Qa=wt?Qt(wt):function(e){return rs(e)&&Tr(e)==x};function Ka(e){if(!rs(e))return!1;var t=Tr(e);return t==_||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!as(e)}function Ja(e){if(!ns(e))return!1;var t=Tr(e);return t==k||t==S||"[object AsyncFunction]"==t||"[object Proxy]"==t}function es(e){return"number"==typeof e&&e==vs(e)}function ts(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=p}function ns(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function rs(e){return null!=e&&"object"==typeof e}var is=xt?Qt(xt):function(e){return rs(e)&&vo(e)==M};function os(e){return"number"==typeof e||rs(e)&&Tr(e)==T}function as(e){if(!rs(e)||Tr(e)!=E)return!1;var t=Ve(e);if(null===t)return!0;var n=Re.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&Pe.call(n)==ze}var ss=_t?Qt(_t):function(e){return rs(e)&&Tr(e)==O};var us=kt?Qt(kt):function(e){return rs(e)&&vo(e)==D};function ls(e){return"string"==typeof e||!Va(e)&&rs(e)&&Tr(e)==N}function cs(e){return"symbol"==typeof e||rs(e)&&Tr(e)==j}var fs=St?Qt(St):function(e){return rs(e)&&ts(e.length)&&!!at[Tr(e)]};var ds=qi(zr),hs=qi((function(e,t){return e<=t}));function ps(e){if(!e)return[];if(Ga(e))return ls(e)?pn(e):Di(e);if(Qe&&e[Qe])return function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}(e[Qe]());var t=vo(e);return(t==M?un:t==D?fn:Ws)(e)}function ms(e){return e?(e=ys(e))===h||e===-1/0?17976931348623157e292*(e<0?-1:1):e===e?e:0:0===e?e:0}function vs(e){var t=ms(e),n=t%1;return t===t?n?t-n:t:0}function gs(e){return e?ur(vs(e),0,v):0}function ys(e){if("number"==typeof e)return e;if(cs(e))return m;if(ns(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=ns(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=$t(e);var n=ge.test(e);return n||be.test(e)?ct(e.slice(2),n?2:8):ve.test(e)?m:+e}function bs(e){return Ni(e,Ps(e))}function ws(e){return null==e?"":ci(e)}var xs=Ai((function(e,t){if(Mo(t)||Ga(t))Ni(t,As(t),e);else for(var n in t)Re.call(t,n)&&nr(e,n,t[n])})),_s=Ai((function(e,t){Ni(t,Ps(t),e)})),ks=Ai((function(e,t,n,r){Ni(t,Ps(t),e,r)})),Ss=Ai((function(e,t,n,r){Ni(t,As(t),e,r)})),Ms=ro(sr);var Ts=Qr((function(e,t){e=Te(e);var n=-1,r=t.length,o=r>2?t[2]:i;for(o&&xo(t[0],t[1],o)&&(r=1);++n1),t})),Ni(e,oo(e),n),r&&(n=lr(n,7,to));for(var i=t.length;i--;)di(n,t[i]);return n}));var Ls=ro((function(e,t){return null==e?{}:function(e,t){return Vr(e,t,(function(t,n){return Os(e,n)}))}(e,t)}));function zs(e,t){if(null==e)return{};var n=At(oo(e),(function(e){return[e]}));return t=lo(t),Vr(e,n,(function(e,n){return t(e,n[0])}))}var Bs=Qi(As),Zs=Qi(Ps);function Ws(e){return null==e?[]:Kt(e,As(e))}var Hs=Fi((function(e,t,n){return t=t.toLowerCase(),e+(n?Ys(t):t)}));function Ys(e){return Ks(ws(e).toLowerCase())}function Us(e){return(e=ws(e))&&e.replace(xe,rn).replace(Je,"")}var Vs=Fi((function(e,t,n){return e+(n?"-":"")+t.toLowerCase()})),qs=Fi((function(e,t,n){return e+(n?" ":"")+t.toLowerCase()})),Gs=Ii("toLowerCase");var Xs=Fi((function(e,t,n){return e+(n?"_":"")+t.toLowerCase()}));var $s=Fi((function(e,t,n){return e+(n?" ":"")+Ks(t)}));var Qs=Fi((function(e,t,n){return e+(n?" ":"")+t.toUpperCase()})),Ks=Ii("toUpperCase");function Js(e,t,n){return e=ws(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 eu=Qr((function(e,t){try{return Mt(e,i,t)}catch(n){return Ka(n)?n:new se(n)}})),tu=ro((function(e,t){return Et(t,(function(t){t=zo(t),ar(e,t,Na(e[t],e))})),e}));function nu(e){return function(){return e}}var ru=Bi(),iu=Bi(!0);function ou(e){return e}function au(e){return Ir("function"==typeof e?e:lr(e,1))}var su=Qr((function(e,t){return function(n){return Nr(n,e,t)}})),uu=Qr((function(e,t){return function(n){return Nr(e,n,t)}}));function lu(e,t,n){var r=As(t),i=kr(t,r);null!=n||ns(t)&&(i.length||!r.length)||(n=t,t=e,e=this,i=kr(t,As(t)));var o=!(ns(n)&&"chain"in n)||!!n.chain,a=Ja(e);return Et(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__=Di(this.__actions__);return i.push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,Pt([this.value()],arguments))})})),e}function cu(){}var fu=Yi(At),du=Yi(Ot),hu=Yi(Ft);function pu(e){return _o(e)?Ut(zo(e)):function(e){return function(t){return Sr(t,e)}}(e)}var mu=Vi(),vu=Vi(!0);function gu(){return[]}function yu(){return!1}var bu=Hi((function(e,t){return e+t}),0),wu=Xi("ceil"),xu=Hi((function(e,t){return e/t}),1),_u=Xi("floor");var ku=Hi((function(e,t){return e*t}),1),Su=Xi("round"),Mu=Hi((function(e,t){return e-t}),0);return Zn.after=function(e,t){if("function"!=typeof t)throw new Oe(o);return e=vs(e),function(){if(--e<1)return t.apply(this,arguments)}},Zn.ary=Oa,Zn.assign=xs,Zn.assignIn=_s,Zn.assignInWith=ks,Zn.assignWith=Ss,Zn.at=Ms,Zn.before=Da,Zn.bind=Na,Zn.bindAll=tu,Zn.bindKey=ja,Zn.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return Va(e)?e:[e]},Zn.chain=pa,Zn.chunk=function(e,t,r){t=(r?xo(e,t,r):t===i)?1:bn(vs(t),0);var o=null==e?0:e.length;if(!o||t<1)return[];for(var a=0,s=0,u=n(pt(o/t));ao?0:o+n),(r=r===i||r>o?o:vs(r))<0&&(r+=o),r=n>r?0:gs(r);n>>0)?(e=ws(e))&&("string"==typeof t||null!=t&&!ss(t))&&!(t=ci(t))&&sn(e)?_i(pn(e),0,n):e.split(t,n):[]},Zn.spread=function(e,t){if("function"!=typeof e)throw new Oe(o);return t=null==t?0:bn(vs(t),0),Qr((function(n){var r=n[t],i=_i(n,0,t);return r&&Pt(i,r),Mt(e,this,i)}))},Zn.tail=function(e){var t=null==e?0:e.length;return t?ii(e,1,t):[]},Zn.take=function(e,t,n){return e&&e.length?ii(e,0,(t=n||t===i?1:vs(t))<0?0:t):[]},Zn.takeRight=function(e,t,n){var r=null==e?0:e.length;return r?ii(e,(t=r-(t=n||t===i?1:vs(t)))<0?0:t,r):[]},Zn.takeRightWhile=function(e,t){return e&&e.length?pi(e,lo(t,3),!1,!0):[]},Zn.takeWhile=function(e,t){return e&&e.length?pi(e,lo(t,3)):[]},Zn.tap=function(e,t){return t(e),e},Zn.throttle=function(e,t,n){var r=!0,i=!0;if("function"!=typeof e)throw new Oe(o);return ns(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),Aa(e,t,{leading:r,maxWait:t,trailing:i})},Zn.thru=ma,Zn.toArray=ps,Zn.toPairs=Bs,Zn.toPairsIn=Zs,Zn.toPath=function(e){return Va(e)?At(e,zo):cs(e)?[e]:Di(Lo(ws(e)))},Zn.toPlainObject=bs,Zn.transform=function(e,t,n){var r=Va(e),i=r||$a(e)||fs(e);if(t=lo(t,4),null==n){var o=e&&e.constructor;n=i?r?new o:[]:ns(e)&&Ja(o)?Wn(Ve(e)):{}}return(i?Et:xr)(e,(function(e,r,i){return t(n,e,r,i)})),n},Zn.unary=function(e){return Oa(e,1)},Zn.union=ra,Zn.unionBy=ia,Zn.unionWith=oa,Zn.uniq=function(e){return e&&e.length?fi(e):[]},Zn.uniqBy=function(e,t){return e&&e.length?fi(e,lo(t,2)):[]},Zn.uniqWith=function(e,t){return t="function"==typeof t?t:i,e&&e.length?fi(e,i,t):[]},Zn.unset=function(e,t){return null==e||di(e,t)},Zn.unzip=aa,Zn.unzipWith=sa,Zn.update=function(e,t,n){return null==e?e:hi(e,t,bi(n))},Zn.updateWith=function(e,t,n,r){return r="function"==typeof r?r:i,null==e?e:hi(e,t,bi(n),r)},Zn.values=Ws,Zn.valuesIn=function(e){return null==e?[]:Kt(e,Ps(e))},Zn.without=ua,Zn.words=Js,Zn.wrap=function(e,t){return za(bi(t),e)},Zn.xor=la,Zn.xorBy=ca,Zn.xorWith=fa,Zn.zip=da,Zn.zipObject=function(e,t){return gi(e||[],t||[],nr)},Zn.zipObjectDeep=function(e,t){return gi(e||[],t||[],ei)},Zn.zipWith=ha,Zn.entries=Bs,Zn.entriesIn=Zs,Zn.extend=_s,Zn.extendWith=ks,lu(Zn,Zn),Zn.add=bu,Zn.attempt=eu,Zn.camelCase=Hs,Zn.capitalize=Ys,Zn.ceil=wu,Zn.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)},Zn.clone=function(e){return lr(e,4)},Zn.cloneDeep=function(e){return lr(e,5)},Zn.cloneDeepWith=function(e,t){return lr(e,5,t="function"==typeof t?t:i)},Zn.cloneWith=function(e,t){return lr(e,4,t="function"==typeof t?t:i)},Zn.conformsTo=function(e,t){return null==t||cr(e,t,As(t))},Zn.deburr=Us,Zn.defaultTo=function(e,t){return null==e||e!==e?t:e},Zn.divide=xu,Zn.endsWith=function(e,t,n){e=ws(e),t=ci(t);var r=e.length,o=n=n===i?r:ur(vs(n),0,r);return(n-=t.length)>=0&&e.slice(n,o)==t},Zn.eq=Wa,Zn.escape=function(e){return(e=ws(e))&&Q.test(e)?e.replace(X,on):e},Zn.escapeRegExp=function(e){return(e=ws(e))&&oe.test(e)?e.replace(ie,"\\$&"):e},Zn.every=function(e,t,n){var r=Va(e)?Ot:mr;return n&&xo(e,t,n)&&(t=i),r(e,lo(t,3))},Zn.find=ya,Zn.findIndex=Uo,Zn.findKey=function(e,t){return zt(e,lo(t,3),xr)},Zn.findLast=ba,Zn.findLastIndex=Vo,Zn.findLastKey=function(e,t){return zt(e,lo(t,3),_r)},Zn.floor=_u,Zn.forEach=wa,Zn.forEachRight=xa,Zn.forIn=function(e,t){return null==e?e:br(e,lo(t,3),Ps)},Zn.forInRight=function(e,t){return null==e?e:wr(e,lo(t,3),Ps)},Zn.forOwn=function(e,t){return e&&xr(e,lo(t,3))},Zn.forOwnRight=function(e,t){return e&&_r(e,lo(t,3))},Zn.get=Cs,Zn.gt=Ha,Zn.gte=Ya,Zn.has=function(e,t){return null!=e&&go(e,t,Cr)},Zn.hasIn=Os,Zn.head=Go,Zn.identity=ou,Zn.includes=function(e,t,n,r){e=Ga(e)?e:Ws(e),n=n&&!r?vs(n):0;var i=e.length;return n<0&&(n=bn(i+n,0)),ls(e)?n<=i&&e.indexOf(t,n)>-1:!!i&&Zt(e,t,n)>-1},Zn.indexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=null==n?0:vs(n);return i<0&&(i=bn(r+i,0)),Zt(e,t,i)},Zn.inRange=function(e,t,n){return t=ms(t),n===i?(n=t,t=0):n=ms(n),function(e,t,n){return e>=wn(t,n)&&e=-9007199254740991&&e<=p},Zn.isSet=us,Zn.isString=ls,Zn.isSymbol=cs,Zn.isTypedArray=fs,Zn.isUndefined=function(e){return e===i},Zn.isWeakMap=function(e){return rs(e)&&vo(e)==A},Zn.isWeakSet=function(e){return rs(e)&&"[object WeakSet]"==Tr(e)},Zn.join=function(e,t){return null==e?"":Vt.call(e,t)},Zn.kebabCase=Vs,Zn.last=Ko,Zn.lastIndexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=r;return n!==i&&(o=(o=vs(n))<0?bn(r+o,0):wn(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)},Zn.lowerCase=qs,Zn.lowerFirst=Gs,Zn.lt=ds,Zn.lte=hs,Zn.max=function(e){return e&&e.length?vr(e,ou,Er):i},Zn.maxBy=function(e,t){return e&&e.length?vr(e,lo(t,2),Er):i},Zn.mean=function(e){return Yt(e,ou)},Zn.meanBy=function(e,t){return Yt(e,lo(t,2))},Zn.min=function(e){return e&&e.length?vr(e,ou,zr):i},Zn.minBy=function(e,t){return e&&e.length?vr(e,lo(t,2),zr):i},Zn.stubArray=gu,Zn.stubFalse=yu,Zn.stubObject=function(){return{}},Zn.stubString=function(){return""},Zn.stubTrue=function(){return!0},Zn.multiply=ku,Zn.nth=function(e,t){return e&&e.length?Yr(e,vs(t)):i},Zn.noConflict=function(){return ht._===this&&(ht._=Be),this},Zn.noop=cu,Zn.now=Ca,Zn.pad=function(e,t,n){e=ws(e);var r=(t=vs(t))?hn(e):0;if(!t||r>=t)return e;var i=(t-r)/2;return Ui(mt(i),n)+e+Ui(pt(i),n)},Zn.padEnd=function(e,t,n){e=ws(e);var r=(t=vs(t))?hn(e):0;return t&&rt){var r=e;e=t,t=r}if(n||e%1||t%1){var o=kn();return wn(e+o*(t-e+lt("1e-"+((o+"").length-1))),t)}return Xr(e,t)},Zn.reduce=function(e,t,n){var r=Va(e)?Rt:qt,i=arguments.length<3;return r(e,lo(t,4),n,i,hr)},Zn.reduceRight=function(e,t,n){var r=Va(e)?It:qt,i=arguments.length<3;return r(e,lo(t,4),n,i,pr)},Zn.repeat=function(e,t,n){return t=(n?xo(e,t,n):t===i)?1:vs(t),$r(ws(e),t)},Zn.replace=function(){var e=arguments,t=ws(e[0]);return e.length<3?t:t.replace(e[1],e[2])},Zn.result=function(e,t,n){var r=-1,o=(t=wi(t,e)).length;for(o||(o=1,e=i);++rp)return[];var n=v,r=wn(e,v);t=lo(t),e-=v;for(var i=Xt(r,t);++n=a)return e;var u=n-hn(r);if(u<1)return r;var l=s?_i(s,0,u).join(""):e.slice(0,u);if(o===i)return l+r;if(s&&(u+=l.length-u),ss(o)){if(e.slice(u).search(o)){var c,f=l;for(o.global||(o=Ee(o.source,ws(me.exec(o))+"g")),o.lastIndex=0;c=o.exec(f);)var d=c.index;l=l.slice(0,d===i?u:d)}}else if(e.indexOf(ci(o),u)!=u){var h=l.lastIndexOf(o);h>-1&&(l=l.slice(0,h))}return l+r},Zn.unescape=function(e){return(e=ws(e))&&$.test(e)?e.replace(G,vn):e},Zn.uniqueId=function(e){var t=++Ie;return ws(e)+t},Zn.upperCase=Qs,Zn.upperFirst=Ks,Zn.each=wa,Zn.eachRight=xa,Zn.first=Go,lu(Zn,function(){var e={};return xr(Zn,(function(t,n){Re.call(Zn.prototype,n)||(e[n]=t)})),e}(),{chain:!1}),Zn.VERSION="4.17.21",Et(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){Zn[e].placeholder=Zn})),Et(["drop","take"],(function(e,t){Un.prototype[e]=function(n){n=n===i?1:bn(vs(n),0);var r=this.__filtered__&&!t?new Un(this):this.clone();return r.__filtered__?r.__takeCount__=wn(n,r.__takeCount__):r.__views__.push({size:wn(n,v),type:e+(r.__dir__<0?"Right":"")}),r},Un.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}})),Et(["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:lo(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}})),Et(["head","last"],(function(e,t){var n="take"+(t?"Right":"");Un.prototype[e]=function(){return this[n](1).value()[0]}})),Et(["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(ou)},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 Nr(n,e,t)}))})),Un.prototype.reject=function(e){return this.filter(Fa(lo(e)))},Un.prototype.slice=function(e,t){e=vs(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=vs(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(v)},xr(Un.prototype,(function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),r=/^(?:head|last)$/.test(t),o=Zn[r?"take"+("last"==t?"Right":""):t],a=r||/^find/.test(t);o&&(Zn.prototype[t]=function(){var t=this.__wrapped__,s=r?[1]:arguments,u=t instanceof Un,l=s[0],c=u||Va(t),f=function(e){var t=o.apply(Zn,Pt([e],s));return r&&d?t[0]:t};c&&n&&"function"==typeof l&&1!=l.length&&(u=c=!1);var d=this.__chain__,h=!!this.__actions__.length,p=a&&!d,m=u&&!h;if(!a&&c){t=m?t:new Un(this);var v=e.apply(t,s);return v.__actions__.push({func:ma,args:[f],thisArg:i}),new Yn(v,d)}return p&&m?e.apply(this,s):(v=this.thru(f),p?r?v.value()[0]:v.value():v)})})),Et(["pop","push","shift","sort","splice","unshift"],(function(e){var t=De[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",r=/^(?:pop|shift)$/.test(e);Zn.prototype[e]=function(){var e=arguments;if(r&&!this.__chain__){var i=this.value();return t.apply(Va(i)?i:[],e)}return this[n]((function(n){return t.apply(Va(n)?n:[],e)}))}})),xr(Un.prototype,(function(e,t){var n=Zn[t];if(n){var r=n.name+"";Re.call(jn,r)||(jn[r]=[]),jn[r].push({name:t,func:n})}})),jn[Zi(i,2).name]=[{name:"wrapper",func:i}],Un.prototype.clone=function(){var e=new Un(this.__wrapped__);return e.__actions__=Di(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=Di(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=Di(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=Va(e),r=t<0,i=n?e.length:0,o=function(e,t,n){var r=-1,i=n.length;for(;++r=this.__values__.length;return{done:e,value:e?i:this.__values__[this.__index__++]}},Zn.prototype.plant=function(e){for(var t,n=this;n instanceof Hn;){var r=Zo(n);r.__index__=0,r.__values__=i,t?o.__wrapped__=r:t=r;var o=r;n=n.__wrapped__}return o.__wrapped__=e,t},Zn.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:[na],thisArg:i}),new Yn(t,this.__chain__)}return this.thru(na)},Zn.prototype.toJSON=Zn.prototype.valueOf=Zn.prototype.value=function(){return mi(this.__wrapped__,this.__actions__)},Zn.prototype.first=Zn.prototype.head,Qe&&(Zn.prototype[Qe]=function(){return this}),Zn}();ht._=gn,(r=function(){return gn}.call(t,n,t,e))===i||(e.exports=r)}.call(this)},72034:function(e,t,n){var r=n(68950),i=n(56025),o=n(53849),a=n(93629);e.exports=function(e,t){return(a(e)?r:o)(e,i(t,3))}},19029:function(e,t,n){var r=n(32526),i=n(15358),o=n(56025);e.exports=function(e,t){var n={};return t=o(t,3),i(e,(function(e,i,o){r(n,t(e,i,o),e)})),n}},37702:function(e,t,n){var r=n(32526),i=n(15358),o=n(56025);e.exports=function(e,t){var n={};return t=o(t,3),i(e,(function(e,i,o){r(n,i,t(e,i,o))})),n}},29627:function(e,t,n){var r=n(43079),i=n(81954),o=n(2100);e.exports=function(e){return e&&e.length?r(e,o,i):void 0}},49151:function(e,t,n){var r=n(78059);function i(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function n(){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(i.Cache||r),n}i.Cache=r,e.exports=i},79286:function(e,t,n){var r=n(64173),i=n(39934)((function(e,t,n){r(e,t,n)}));e.exports=i},66452:function(e,t,n){var r=n(43079),i=n(92580),o=n(2100);e.exports=function(e){return e&&e.length?r(e,o,i):void 0}},43638:function(e,t,n){var r=n(43079),i=n(56025),o=n(92580);e.exports=function(e,t){return e&&e.length?r(e,i(t,2),o):void 0}},19694:function(e){e.exports=function(){}},50072:function(e,t,n){var r=n(97009);e.exports=function(){return r.Date.now()}},24242:function(e,t,n){var r=n(68950),i=n(31905),o=n(86555),a=n(43082),s=n(64503),u=n(26013),l=n(27038),c=n(55341),f=l((function(e,t){var n={};if(null==e)return n;var l=!1;t=r(t,(function(t){return t=a(t,e),l||(l=t.length>1),t})),s(e,c(e),n),l&&(n=i(n,7,u));for(var f=t.length;f--;)o(n,t[f]);return n}));e.exports=f},36460:function(e,t,n){var r=n(14980),i=n(27038)((function(e,t){return null==e?{}:r(e,t)}));e.exports=i},10038:function(e,t,n){var r=n(9586),i=n(4084),o=n(25823),a=n(69793);e.exports=function(e){return o(e)?r(a(e)):i(e)}},66222:function(e,t,n){var r=n(56381)();e.exports=r},25080:function(e,t,n){var r=n(32095),i=n(87927),o=n(56025),a=n(10750),s=n(93629);e.exports=function(e,t,n){var u=s(e)?r:a,l=arguments.length<3;return u(e,o(t,4),n,l,i)}},69467:function(e,t,n){var r=n(43654),i=n(88383),o=n(21473),a=n(26769),s=n(64651);e.exports=function(e){if(null==e)return 0;if(o(e))return a(e)?s(e):e.length;var t=i(e);return"[object Map]"==t||"[object Set]"==t?e.size:r(e).length}},37499:function(e,t,n){var r=n(17810)((function(e,t,n){return e+(n?"_":"")+t.toLowerCase()}));e.exports=r},64286:function(e,t,n){var r=n(55182),i=n(93226),o=n(58794),a=n(3195),s=o((function(e,t){if(null==e)return[];var n=t.length;return n>1&&a(e,t[0],t[1])?t=[]:n>2&&a(t[0],t[1],t[2])&&(t=[t[0]]),i(e,r(t,1),[])}));e.exports=s},68174:function(e){e.exports=function(){return[]}},49488:function(e){e.exports=function(){return!1}},33038:function(e,t,n){var r=n(48573),i=n(8092);e.exports=function(e,t,n){var o=!0,a=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return i(n)&&(o="leading"in n?!!n.leading:o,a="trailing"in n?!!n.trailing:a),r(e,t,{leading:o,maxWait:t,trailing:a})}},91495:function(e,t,n){var r=n(42582),i=1/0;e.exports=function(e){return e?(e=r(e))===i||e===-1/0?17976931348623157e292*(e<0?-1:1):e===e?e:0:0===e?e:0}},39753:function(e,t,n){var r=n(91495);e.exports=function(e){var t=r(e),n=t%1;return t===t?n?t-n:t:0}},42582:function(e,t,n){var r=n(20821),i=n(8092),o=n(70152),a=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,u=/^0o[0-7]+$/i,l=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(o(e))return NaN;if(i(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=i(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=r(e);var n=s.test(e);return n||u.test(e)?l(e.slice(2),n?2:8):a.test(e)?NaN:+e}},6576:function(e,t,n){var r=n(64503),i=n(73961);e.exports=function(e){return r(e,i(e))}},63518:function(e,t,n){var r=n(2446);e.exports=function(e){return null==e?"":r(e)}},25653:function(e,t,n){var r=n(4550),i=n(65763),o=n(15358),a=n(56025),s=n(31137),u=n(93629),l=n(5174),c=n(74786),f=n(8092),d=n(19102);e.exports=function(e,t,n){var h=u(e),p=h||l(e)||d(e);if(t=a(t,4),null==n){var m=e&&e.constructor;n=p?h?new m:[]:f(e)&&c(m)?i(s(e)):{}}return(p?r:o)(e,(function(e,r,i){return t(n,e,r,i)})),n}},26310:function(e,t,n){var r=n(55182),i=n(58794),o=n(39602),a=n(56279),s=i((function(e){return o(r(e,1,a,!0))}));e.exports=s},30804:function(e,t,n){var r=n(63518),i=0;e.exports=function(e){var t=++i;return r(e)+t}},52085:function(e,t,n){var r=n(10322)("toUpperCase");e.exports=r},92063:function(e,t,n){var r=n(28019),i=n(12742);e.exports=function(e){return null==e?[]:r(e,i(e))}},95660:function(e,t,n){var r=n(40240),i=n(87137),o=n(63518),a=n(41029);e.exports=function(e,t,n){return e=o(e),void 0===(t=n?void 0:t)?i(e)?a(e):r(e):e.match(t)||[]}},84827:function(e,t,n){var r=n(18463),i=n(62971);e.exports=function(e,t){return i(e||[],t||[],r)}},72426:function(e,t,n){(e=n.nmd(e)).exports=function(){"use strict";var t,n;function r(){return t.apply(null,arguments)}function i(e){t=e}function o(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function a(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function s(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function u(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(s(e,t))return!1;return!0}function l(e){return void 0===e}function c(e){return"number"===typeof e||"[object Number]"===Object.prototype.toString.call(e)}function f(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function d(e,t){var n,r=[],i=e.length;for(n=0;n>>0;for(t=0;t0)for(n=0;n=0?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+r}var I=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,F=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,L={},z={};function B(e,t,n,r){var i=r;"string"===typeof r&&(i=function(){return this[r]()}),e&&(z[e]=i),t&&(z[t[0]]=function(){return R(i.apply(this,arguments),t[1],t[2])}),n&&(z[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function Z(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function W(e){var t,n,r=e.match(I);for(t=0,n=r.length;t=0&&F.test(e);)e=e.replace(F,r),F.lastIndex=0,n-=1;return e}var U={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function V(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(I).map((function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e})).join(""),this._longDateFormat[e])}var q="Invalid date";function G(){return this._invalidDate}var X="%d",$=/\d{1,2}/;function Q(e){return this._ordinal.replace("%d",e)}var K={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function J(e,t,n,r){var i=this._relativeTime[n];return O(i)?i(e,t,n,r):i.replace(/%d/i,e)}function ee(e,t){var n=this._relativeTime[e>0?"future":"past"];return O(n)?n(t):n.replace(/%s/i,t)}var te={};function ne(e,t){var n=e.toLowerCase();te[n]=te[n+"s"]=te[t]=e}function re(e){return"string"===typeof e?te[e]||te[e.toLowerCase()]:void 0}function ie(e){var t,n,r={};for(n in e)s(e,n)&&(t=re(n))&&(r[t]=e[n]);return r}var oe={};function ae(e,t){oe[e]=t}function se(e){var t,n=[];for(t in e)s(e,t)&&n.push({unit:t,priority:oe[t]});return n.sort((function(e,t){return e.priority-t.priority})),n}function ue(e){return e%4===0&&e%100!==0||e%400===0}function le(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function ce(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=le(t)),n}function fe(e,t){return function(n){return null!=n?(he(this,e,n),r.updateOffset(this,t),this):de(this,e)}}function de(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function he(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&ue(e.year())&&1===e.month()&&29===e.date()?(n=ce(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),Je(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}function pe(e){return O(this[e=re(e)])?this[e]():this}function me(e,t){if("object"===typeof e){var n,r=se(e=ie(e)),i=r.length;for(n=0;n68?1900:2e3)};var vt=fe("FullYear",!0);function gt(){return ue(this.year())}function yt(e,t,n,r,i,o,a){var s;return e<100&&e>=0?(s=new Date(e+400,t,n,r,i,o,a),isFinite(s.getFullYear())&&s.setFullYear(e)):s=new Date(e,t,n,r,i,o,a),s}function bt(e){var t,n;return e<100&&e>=0?((n=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function wt(e,t,n){var r=7+t-n;return-(7+bt(e,0,r).getUTCDay()-t)%7+r-1}function xt(e,t,n,r,i){var o,a,s=1+7*(t-1)+(7+n-r)%7+wt(e,r,i);return s<=0?a=mt(o=e-1)+s:s>mt(e)?(o=e+1,a=s-mt(e)):(o=e,a=s),{year:o,dayOfYear:a}}function _t(e,t,n){var r,i,o=wt(e.year(),t,n),a=Math.floor((e.dayOfYear()-o-1)/7)+1;return a<1?r=a+kt(i=e.year()-1,t,n):a>kt(e.year(),t,n)?(r=a-kt(e.year(),t,n),i=e.year()+1):(i=e.year(),r=a),{week:r,year:i}}function kt(e,t,n){var r=wt(e,t,n),i=wt(e+1,t,n);return(mt(e)-r+i)/7}function St(e){return _t(e,this._week.dow,this._week.doy).week}B("w",["ww",2],"wo","week"),B("W",["WW",2],"Wo","isoWeek"),ne("week","w"),ne("isoWeek","W"),ae("week",5),ae("isoWeek",5),Pe("w",_e),Pe("ww",_e,ye),Pe("W",_e),Pe("WW",_e,ye),Be(["w","ww","W","WW"],(function(e,t,n,r){t[r.substr(0,1)]=ce(e)}));var Mt={dow:0,doy:6};function Tt(){return this._week.dow}function Et(){return this._week.doy}function Ct(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")}function Ot(e){var t=_t(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")}function Dt(e,t){return"string"!==typeof e?e:isNaN(e)?"number"===typeof(e=t.weekdaysParse(e))?e:null:parseInt(e,10)}function Nt(e,t){return"string"===typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function jt(e,t){return e.slice(t,7).concat(e.slice(0,t))}B("d",0,"do","day"),B("dd",0,0,(function(e){return this.localeData().weekdaysMin(this,e)})),B("ddd",0,0,(function(e){return this.localeData().weekdaysShort(this,e)})),B("dddd",0,0,(function(e){return this.localeData().weekdays(this,e)})),B("e",0,0,"weekday"),B("E",0,0,"isoWeekday"),ne("day","d"),ne("weekday","e"),ne("isoWeekday","E"),ae("day",11),ae("weekday",11),ae("isoWeekday",11),Pe("d",_e),Pe("e",_e),Pe("E",_e),Pe("dd",(function(e,t){return t.weekdaysMinRegex(e)})),Pe("ddd",(function(e,t){return t.weekdaysShortRegex(e)})),Pe("dddd",(function(e,t){return t.weekdaysRegex(e)})),Be(["dd","ddd","dddd"],(function(e,t,n,r){var i=n._locale.weekdaysParse(e,r,n._strict);null!=i?t.d=i:v(n).invalidWeekday=e})),Be(["d","e","E"],(function(e,t,n,r){t[r]=ce(e)}));var At="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Pt="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Rt="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),It=Ae,Ft=Ae,Lt=Ae;function zt(e,t){var n=o(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?jt(n,this._week.dow):e?n[e.day()]:n}function Bt(e){return!0===e?jt(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Zt(e){return!0===e?jt(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Wt(e,t,n){var r,i,o,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)o=p([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(o,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(i=We.call(this._weekdaysParse,a))?i:null:"ddd"===t?-1!==(i=We.call(this._shortWeekdaysParse,a))?i:null:-1!==(i=We.call(this._minWeekdaysParse,a))?i:null:"dddd"===t?-1!==(i=We.call(this._weekdaysParse,a))||-1!==(i=We.call(this._shortWeekdaysParse,a))||-1!==(i=We.call(this._minWeekdaysParse,a))?i:null:"ddd"===t?-1!==(i=We.call(this._shortWeekdaysParse,a))||-1!==(i=We.call(this._weekdaysParse,a))||-1!==(i=We.call(this._minWeekdaysParse,a))?i:null:-1!==(i=We.call(this._minWeekdaysParse,a))||-1!==(i=We.call(this._weekdaysParse,a))||-1!==(i=We.call(this._shortWeekdaysParse,a))?i:null}function Ht(e,t,n){var r,i,o;if(this._weekdaysParseExact)return Wt.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(i=p([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(o="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[r]=new RegExp(o.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[r].test(e))return r;if(n&&"ddd"===t&&this._shortWeekdaysParse[r].test(e))return r;if(n&&"dd"===t&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}}function Yt(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=Dt(e,this.localeData()),this.add(e-t,"d")):t}function Ut(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")}function Vt(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=Nt(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7}function qt(e){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||$t.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(s(this,"_weekdaysRegex")||(this._weekdaysRegex=It),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function Gt(e){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||$t.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(s(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Ft),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Xt(e){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||$t.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(s(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Lt),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function $t(){function e(e,t){return t.length-e.length}var t,n,r,i,o,a=[],s=[],u=[],l=[];for(t=0;t<7;t++)n=p([2e3,1]).day(t),r=Fe(this.weekdaysMin(n,"")),i=Fe(this.weekdaysShort(n,"")),o=Fe(this.weekdays(n,"")),a.push(r),s.push(i),u.push(o),l.push(r),l.push(i),l.push(o);a.sort(e),s.sort(e),u.sort(e),l.sort(e),this._weekdaysRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function Qt(){return this.hours()%12||12}function Kt(){return this.hours()||24}function Jt(e,t){B(e,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)}))}function en(e,t){return t._meridiemParse}function tn(e){return"p"===(e+"").toLowerCase().charAt(0)}B("H",["HH",2],0,"hour"),B("h",["hh",2],0,Qt),B("k",["kk",2],0,Kt),B("hmm",0,0,(function(){return""+Qt.apply(this)+R(this.minutes(),2)})),B("hmmss",0,0,(function(){return""+Qt.apply(this)+R(this.minutes(),2)+R(this.seconds(),2)})),B("Hmm",0,0,(function(){return""+this.hours()+R(this.minutes(),2)})),B("Hmmss",0,0,(function(){return""+this.hours()+R(this.minutes(),2)+R(this.seconds(),2)})),Jt("a",!0),Jt("A",!1),ne("hour","h"),ae("hour",13),Pe("a",en),Pe("A",en),Pe("H",_e),Pe("h",_e),Pe("k",_e),Pe("HH",_e,ye),Pe("hh",_e,ye),Pe("kk",_e,ye),Pe("hmm",ke),Pe("hmmss",Se),Pe("Hmm",ke),Pe("Hmmss",Se),ze(["H","HH"],Ve),ze(["k","kk"],(function(e,t,n){var r=ce(e);t[Ve]=24===r?0:r})),ze(["a","A"],(function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e})),ze(["h","hh"],(function(e,t,n){t[Ve]=ce(e),v(n).bigHour=!0})),ze("hmm",(function(e,t,n){var r=e.length-2;t[Ve]=ce(e.substr(0,r)),t[qe]=ce(e.substr(r)),v(n).bigHour=!0})),ze("hmmss",(function(e,t,n){var r=e.length-4,i=e.length-2;t[Ve]=ce(e.substr(0,r)),t[qe]=ce(e.substr(r,2)),t[Ge]=ce(e.substr(i)),v(n).bigHour=!0})),ze("Hmm",(function(e,t,n){var r=e.length-2;t[Ve]=ce(e.substr(0,r)),t[qe]=ce(e.substr(r))})),ze("Hmmss",(function(e,t,n){var r=e.length-4,i=e.length-2;t[Ve]=ce(e.substr(0,r)),t[qe]=ce(e.substr(r,2)),t[Ge]=ce(e.substr(i))}));var nn=/[ap]\.?m?\.?/i,rn=fe("Hours",!0);function on(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}var an,sn={calendar:A,longDateFormat:U,invalidDate:q,ordinal:X,dayOfMonthOrdinalParse:$,relativeTime:K,months:et,monthsShort:tt,week:Mt,weekdays:At,weekdaysMin:Rt,weekdaysShort:Pt,meridiemParse:nn},un={},ln={};function cn(e,t){var n,r=Math.min(e.length,t.length);for(n=0;n0;){if(r=pn(i.slice(0,t).join("-")))return r;if(n&&n.length>=t&&cn(i,n)>=t-1)break;t--}o++}return an}function hn(e){return null!=e.match("^[^/\\\\]*$")}function pn(t){var n=null;if(void 0===un[t]&&e&&e.exports&&hn(t))try{n=an._abbr,Object(function(){var e=new Error("Cannot find module 'undefined'");throw e.code="MODULE_NOT_FOUND",e}()),mn(n)}catch(r){un[t]=null}return un[t]}function mn(e,t){var n;return e&&((n=l(t)?yn(e):vn(e,t))?an=n:"undefined"!==typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),an._abbr}function vn(e,t){if(null!==t){var n,r=sn;if(t.abbr=e,null!=un[e])C("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),r=un[e]._config;else if(null!=t.parentLocale)if(null!=un[t.parentLocale])r=un[t.parentLocale]._config;else{if(null==(n=pn(t.parentLocale)))return ln[t.parentLocale]||(ln[t.parentLocale]=[]),ln[t.parentLocale].push({name:e,config:t}),null;r=n._config}return un[e]=new j(N(r,t)),ln[e]&&ln[e].forEach((function(e){vn(e.name,e.config)})),mn(e),un[e]}return delete un[e],null}function gn(e,t){if(null!=t){var n,r,i=sn;null!=un[e]&&null!=un[e].parentLocale?un[e].set(N(un[e]._config,t)):(null!=(r=pn(e))&&(i=r._config),t=N(i,t),null==r&&(t.abbr=e),(n=new j(t)).parentLocale=un[e],un[e]=n),mn(e)}else null!=un[e]&&(null!=un[e].parentLocale?(un[e]=un[e].parentLocale,e===mn()&&mn(e)):null!=un[e]&&delete un[e]);return un[e]}function yn(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return an;if(!o(e)){if(t=pn(e))return t;e=[e]}return dn(e)}function bn(){return T(un)}function wn(e){var t,n=e._a;return n&&-2===v(e).overflow&&(t=n[Ye]<0||n[Ye]>11?Ye:n[Ue]<1||n[Ue]>Je(n[He],n[Ye])?Ue:n[Ve]<0||n[Ve]>24||24===n[Ve]&&(0!==n[qe]||0!==n[Ge]||0!==n[Xe])?Ve:n[qe]<0||n[qe]>59?qe:n[Ge]<0||n[Ge]>59?Ge:n[Xe]<0||n[Xe]>999?Xe:-1,v(e)._overflowDayOfYear&&(tUe)&&(t=Ue),v(e)._overflowWeeks&&-1===t&&(t=$e),v(e)._overflowWeekday&&-1===t&&(t=Qe),v(e).overflow=t),e}var xn=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,_n=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,kn=/Z|[+-]\d\d(?::?\d\d)?/,Sn=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],Mn=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],Tn=/^\/?Date\((-?\d+)/i,En=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,Cn={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function On(e){var t,n,r,i,o,a,s=e._i,u=xn.exec(s)||_n.exec(s),l=Sn.length,c=Mn.length;if(u){for(v(e).iso=!0,t=0,n=l;tmt(o)||0===e._dayOfYear)&&(v(e)._overflowDayOfYear=!0),n=bt(o,0,e._dayOfYear),e._a[Ye]=n.getUTCMonth(),e._a[Ue]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=a[t]=r[t];for(;t<7;t++)e._a[t]=a[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[Ve]&&0===e._a[qe]&&0===e._a[Ge]&&0===e._a[Xe]&&(e._nextDay=!0,e._a[Ve]=0),e._d=(e._useUTC?bt:yt).apply(null,a),i=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[Ve]=24),e._w&&"undefined"!==typeof e._w.d&&e._w.d!==i&&(v(e).weekdayMismatch=!0)}}function Bn(e){var t,n,r,i,o,a,s,u,l;null!=(t=e._w).GG||null!=t.W||null!=t.E?(o=1,a=4,n=Fn(t.GG,e._a[He],_t(Xn(),1,4).year),r=Fn(t.W,1),((i=Fn(t.E,1))<1||i>7)&&(u=!0)):(o=e._locale._week.dow,a=e._locale._week.doy,l=_t(Xn(),o,a),n=Fn(t.gg,e._a[He],l.year),r=Fn(t.w,l.week),null!=t.d?((i=t.d)<0||i>6)&&(u=!0):null!=t.e?(i=t.e+o,(t.e<0||t.e>6)&&(u=!0)):i=o),r<1||r>kt(n,o,a)?v(e)._overflowWeeks=!0:null!=u?v(e)._overflowWeekday=!0:(s=xt(n,r,i,o,a),e._a[He]=s.year,e._dayOfYear=s.dayOfYear)}function Zn(e){if(e._f!==r.ISO_8601)if(e._f!==r.RFC_2822){e._a=[],v(e).empty=!0;var t,n,i,o,a,s,u,l=""+e._i,c=l.length,f=0;for(u=(i=Y(e._f,e._locale).match(I)||[]).length,t=0;t0&&v(e).unusedInput.push(a),l=l.slice(l.indexOf(n)+n.length),f+=n.length),z[o]?(n?v(e).empty=!1:v(e).unusedTokens.push(o),Ze(o,n,e)):e._strict&&!n&&v(e).unusedTokens.push(o);v(e).charsLeftOver=c-f,l.length>0&&v(e).unusedInput.push(l),e._a[Ve]<=12&&!0===v(e).bigHour&&e._a[Ve]>0&&(v(e).bigHour=void 0),v(e).parsedDateParts=e._a.slice(0),v(e).meridiem=e._meridiem,e._a[Ve]=Wn(e._locale,e._a[Ve],e._meridiem),null!==(s=v(e).era)&&(e._a[He]=e._locale.erasConvertYear(s,e._a[He])),zn(e),wn(e)}else Rn(e);else On(e)}function Wn(e,t,n){var r;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?((r=e.isPM(n))&&t<12&&(t+=12),r||12!==t||(t=0),t):t}function Hn(e){var t,n,r,i,o,a,s=!1,u=e._f.length;if(0===u)return v(e).invalidFormat=!0,void(e._d=new Date(NaN));for(i=0;ithis?this:e:y()}));function Kn(e,t){var n,r;if(1===t.length&&o(t[0])&&(t=t[0]),!t.length)return Xn();for(n=t[0],r=1;rthis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function _r(){if(!l(this._isDSTShifted))return this._isDSTShifted;var e,t={};return x(t,this),(t=Vn(t))._a?(e=t._isUTC?p(t._a):Xn(t._a),this._isDSTShifted=this.isValid()&&lr(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function kr(){return!!this.isValid()&&!this._isUTC}function Sr(){return!!this.isValid()&&this._isUTC}function Mr(){return!!this.isValid()&&this._isUTC&&0===this._offset}r.updateOffset=function(){};var Tr=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Er=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Cr(e,t){var n,r,i,o=e,a=null;return sr(e)?o={ms:e._milliseconds,d:e._days,M:e._months}:c(e)||!isNaN(+e)?(o={},t?o[t]=+e:o.milliseconds=+e):(a=Tr.exec(e))?(n="-"===a[1]?-1:1,o={y:0,d:ce(a[Ue])*n,h:ce(a[Ve])*n,m:ce(a[qe])*n,s:ce(a[Ge])*n,ms:ce(ur(1e3*a[Xe]))*n}):(a=Er.exec(e))?(n="-"===a[1]?-1:1,o={y:Or(a[2],n),M:Or(a[3],n),w:Or(a[4],n),d:Or(a[5],n),h:Or(a[6],n),m:Or(a[7],n),s:Or(a[8],n)}):null==o?o={}:"object"===typeof o&&("from"in o||"to"in o)&&(i=Nr(Xn(o.from),Xn(o.to)),(o={}).ms=i.milliseconds,o.M=i.months),r=new ar(o),sr(e)&&s(e,"_locale")&&(r._locale=e._locale),sr(e)&&s(e,"_isValid")&&(r._isValid=e._isValid),r}function Or(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Dr(e,t){var n={};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function Nr(e,t){var n;return e.isValid()&&t.isValid()?(t=hr(t,e),e.isBefore(t)?n=Dr(e,t):((n=Dr(t,e)).milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function jr(e,t){return function(n,r){var i;return null===r||isNaN(+r)||(C(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),i=n,n=r,r=i),Ar(this,Cr(n,r),e),this}}function Ar(e,t,n,i){var o=t._milliseconds,a=ur(t._days),s=ur(t._months);e.isValid()&&(i=null==i||i,s&<(e,de(e,"Month")+s*n),a&&he(e,"Date",de(e,"Date")+a*n),o&&e._d.setTime(e._d.valueOf()+o*n),i&&r.updateOffset(e,a||s))}Cr.fn=ar.prototype,Cr.invalid=or;var Pr=jr(1,"add"),Rr=jr(-1,"subtract");function Ir(e){return"string"===typeof e||e instanceof String}function Fr(e){return k(e)||f(e)||Ir(e)||c(e)||zr(e)||Lr(e)||null===e||void 0===e}function Lr(e){var t,n,r=a(e)&&!u(e),i=!1,o=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],l=o.length;for(t=0;tn.valueOf():n.valueOf()9999?H(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):O(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",H(n,"Z")):H(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function ei(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t,n,r,i="moment",o="";return this.isLocal()||(i=0===this.utcOffset()?"moment.utc":"moment.parseZone",o="Z"),e="["+i+'("]',t=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",n="-MM-DD[T]HH:mm:ss.SSS",r=o+'[")]',this.format(e+t+n+r)}function ti(e){e||(e=this.isUtc()?r.defaultFormatUtc:r.defaultFormat);var t=H(this,e);return this.localeData().postformat(t)}function ni(e,t){return this.isValid()&&(k(e)&&e.isValid()||Xn(e).isValid())?Cr({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function ri(e){return this.from(Xn(),e)}function ii(e,t){return this.isValid()&&(k(e)&&e.isValid()||Xn(e).isValid())?Cr({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function oi(e){return this.to(Xn(),e)}function ai(e){var t;return void 0===e?this._locale._abbr:(null!=(t=yn(e))&&(this._locale=t),this)}r.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",r.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var si=M("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",(function(e){return void 0===e?this.localeData():this.locale(e)}));function ui(){return this._locale}var li=1e3,ci=60*li,fi=60*ci,di=3506328*fi;function hi(e,t){return(e%t+t)%t}function pi(e,t,n){return e<100&&e>=0?new Date(e+400,t,n)-di:new Date(e,t,n).valueOf()}function mi(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-di:Date.UTC(e,t,n)}function vi(e){var t,n;if(void 0===(e=re(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?mi:pi,e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=hi(t+(this._isUTC?0:this.utcOffset()*ci),fi);break;case"minute":t=this._d.valueOf(),t-=hi(t,ci);break;case"second":t=this._d.valueOf(),t-=hi(t,li)}return this._d.setTime(t),r.updateOffset(this,!0),this}function gi(e){var t,n;if(void 0===(e=re(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?mi:pi,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=fi-hi(t+(this._isUTC?0:this.utcOffset()*ci),fi)-1;break;case"minute":t=this._d.valueOf(),t+=ci-hi(t,ci)-1;break;case"second":t=this._d.valueOf(),t+=li-hi(t,li)-1}return this._d.setTime(t),r.updateOffset(this,!0),this}function yi(){return this._d.valueOf()-6e4*(this._offset||0)}function bi(){return Math.floor(this.valueOf()/1e3)}function wi(){return new Date(this.valueOf())}function xi(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function _i(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function ki(){return this.isValid()?this.toISOString():null}function Si(){return g(this)}function Mi(){return h({},v(this))}function Ti(){return v(this).overflow}function Ei(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function Ci(e,t){var n,i,o,a=this._eras||yn("en")._eras;for(n=0,i=a.length;n=0)return u[r]}function Di(e,t){var n=e.since<=e.until?1:-1;return void 0===t?r(e.since).year():r(e.since).year()+(t-e.offset)*n}function Ni(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e(o=kt(e,r,i))&&(t=o),Qi.call(this,e,t,n,r,i))}function Qi(e,t,n,r,i){var o=xt(e,t,n,r,i),a=bt(o.year,0,o.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}function Ki(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)}B("N",0,0,"eraAbbr"),B("NN",0,0,"eraAbbr"),B("NNN",0,0,"eraAbbr"),B("NNNN",0,0,"eraName"),B("NNNNN",0,0,"eraNarrow"),B("y",["y",1],"yo","eraYear"),B("y",["yy",2],0,"eraYear"),B("y",["yyy",3],0,"eraYear"),B("y",["yyyy",4],0,"eraYear"),Pe("N",Li),Pe("NN",Li),Pe("NNN",Li),Pe("NNNN",zi),Pe("NNNNN",Bi),ze(["N","NN","NNN","NNNN","NNNNN"],(function(e,t,n,r){var i=n._locale.erasParse(e,r,n._strict);i?v(n).era=i:v(n).invalidEra=e})),Pe("y",Ce),Pe("yy",Ce),Pe("yyy",Ce),Pe("yyyy",Ce),Pe("yo",Zi),ze(["y","yy","yyy","yyyy"],He),ze(["yo"],(function(e,t,n,r){var i;n._locale._eraYearOrdinalRegex&&(i=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[He]=n._locale.eraYearOrdinalParse(e,i):t[He]=parseInt(e,10)})),B(0,["gg",2],0,(function(){return this.weekYear()%100})),B(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),Hi("gggg","weekYear"),Hi("ggggg","weekYear"),Hi("GGGG","isoWeekYear"),Hi("GGGGG","isoWeekYear"),ne("weekYear","gg"),ne("isoWeekYear","GG"),ae("weekYear",1),ae("isoWeekYear",1),Pe("G",Oe),Pe("g",Oe),Pe("GG",_e,ye),Pe("gg",_e,ye),Pe("GGGG",Te,we),Pe("gggg",Te,we),Pe("GGGGG",Ee,xe),Pe("ggggg",Ee,xe),Be(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,n,r){t[r.substr(0,2)]=ce(e)})),Be(["gg","GG"],(function(e,t,n,i){t[i]=r.parseTwoDigitYear(e)})),B("Q",0,"Qo","quarter"),ne("quarter","Q"),ae("quarter",7),Pe("Q",ge),ze("Q",(function(e,t){t[Ye]=3*(ce(e)-1)})),B("D",["DD",2],"Do","date"),ne("date","D"),ae("date",9),Pe("D",_e),Pe("DD",_e,ye),Pe("Do",(function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient})),ze(["D","DD"],Ue),ze("Do",(function(e,t){t[Ue]=ce(e.match(_e)[0])}));var Ji=fe("Date",!0);function eo(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")}B("DDD",["DDDD",3],"DDDo","dayOfYear"),ne("dayOfYear","DDD"),ae("dayOfYear",4),Pe("DDD",Me),Pe("DDDD",be),ze(["DDD","DDDD"],(function(e,t,n){n._dayOfYear=ce(e)})),B("m",["mm",2],0,"minute"),ne("minute","m"),ae("minute",14),Pe("m",_e),Pe("mm",_e,ye),ze(["m","mm"],qe);var to=fe("Minutes",!1);B("s",["ss",2],0,"second"),ne("second","s"),ae("second",15),Pe("s",_e),Pe("ss",_e,ye),ze(["s","ss"],Ge);var no,ro,io=fe("Seconds",!1);for(B("S",0,0,(function(){return~~(this.millisecond()/100)})),B(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),B(0,["SSS",3],0,"millisecond"),B(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),B(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),B(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),B(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),B(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),B(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),ne("millisecond","ms"),ae("millisecond",16),Pe("S",Me,ge),Pe("SS",Me,ye),Pe("SSS",Me,be),no="SSSS";no.length<=9;no+="S")Pe(no,Ce);function oo(e,t){t[Xe]=ce(1e3*("0."+e))}for(no="S";no.length<=9;no+="S")ze(no,oo);function ao(){return this._isUTC?"UTC":""}function so(){return this._isUTC?"Coordinated Universal Time":""}ro=fe("Milliseconds",!1),B("z",0,0,"zoneAbbr"),B("zz",0,0,"zoneName");var uo=_.prototype;function lo(e){return Xn(1e3*e)}function co(){return Xn.apply(null,arguments).parseZone()}function fo(e){return e}uo.add=Pr,uo.calendar=Wr,uo.clone=Hr,uo.diff=$r,uo.endOf=gi,uo.format=ti,uo.from=ni,uo.fromNow=ri,uo.to=ii,uo.toNow=oi,uo.get=pe,uo.invalidAt=Ti,uo.isAfter=Yr,uo.isBefore=Ur,uo.isBetween=Vr,uo.isSame=qr,uo.isSameOrAfter=Gr,uo.isSameOrBefore=Xr,uo.isValid=Si,uo.lang=si,uo.locale=ai,uo.localeData=ui,uo.max=Qn,uo.min=$n,uo.parsingFlags=Mi,uo.set=me,uo.startOf=vi,uo.subtract=Rr,uo.toArray=xi,uo.toObject=_i,uo.toDate=wi,uo.toISOString=Jr,uo.inspect=ei,"undefined"!==typeof Symbol&&null!=Symbol.for&&(uo[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),uo.toJSON=ki,uo.toString=Kr,uo.unix=bi,uo.valueOf=yi,uo.creationData=Ei,uo.eraName=Ni,uo.eraNarrow=ji,uo.eraAbbr=Ai,uo.eraYear=Pi,uo.year=vt,uo.isLeapYear=gt,uo.weekYear=Yi,uo.isoWeekYear=Ui,uo.quarter=uo.quarters=Ki,uo.month=ct,uo.daysInMonth=ft,uo.week=uo.weeks=Ct,uo.isoWeek=uo.isoWeeks=Ot,uo.weeksInYear=Gi,uo.weeksInWeekYear=Xi,uo.isoWeeksInYear=Vi,uo.isoWeeksInISOWeekYear=qi,uo.date=Ji,uo.day=uo.days=Yt,uo.weekday=Ut,uo.isoWeekday=Vt,uo.dayOfYear=eo,uo.hour=uo.hours=rn,uo.minute=uo.minutes=to,uo.second=uo.seconds=io,uo.millisecond=uo.milliseconds=ro,uo.utcOffset=mr,uo.utc=gr,uo.local=yr,uo.parseZone=br,uo.hasAlignedHourOffset=wr,uo.isDST=xr,uo.isLocal=kr,uo.isUtcOffset=Sr,uo.isUtc=Mr,uo.isUTC=Mr,uo.zoneAbbr=ao,uo.zoneName=so,uo.dates=M("dates accessor is deprecated. Use date instead.",Ji),uo.months=M("months accessor is deprecated. Use month instead",ct),uo.years=M("years accessor is deprecated. Use year instead",vt),uo.zone=M("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",vr),uo.isDSTShifted=M("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",_r);var ho=j.prototype;function po(e,t,n,r){var i=yn(),o=p().set(r,t);return i[n](o,e)}function mo(e,t,n){if(c(e)&&(t=e,e=void 0),e=e||"",null!=t)return po(e,t,n,"month");var r,i=[];for(r=0;r<12;r++)i[r]=po(e,r,n,"month");return i}function vo(e,t,n,r){"boolean"===typeof e?(c(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,c(t)&&(n=t,t=void 0),t=t||"");var i,o=yn(),a=e?o._week.dow:0,s=[];if(null!=n)return po(t,(n+a)%7,r,"day");for(i=0;i<7;i++)s[i]=po(t,(i+a)%7,r,"day");return s}function go(e,t){return mo(e,t,"months")}function yo(e,t){return mo(e,t,"monthsShort")}function bo(e,t,n){return vo(e,t,n,"weekdays")}function wo(e,t,n){return vo(e,t,n,"weekdaysShort")}function xo(e,t,n){return vo(e,t,n,"weekdaysMin")}ho.calendar=P,ho.longDateFormat=V,ho.invalidDate=G,ho.ordinal=Q,ho.preparse=fo,ho.postformat=fo,ho.relativeTime=J,ho.pastFuture=ee,ho.set=D,ho.eras=Ci,ho.erasParse=Oi,ho.erasConvertYear=Di,ho.erasAbbrRegex=Ii,ho.erasNameRegex=Ri,ho.erasNarrowRegex=Fi,ho.months=ot,ho.monthsShort=at,ho.monthsParse=ut,ho.monthsRegex=ht,ho.monthsShortRegex=dt,ho.week=St,ho.firstDayOfYear=Et,ho.firstDayOfWeek=Tt,ho.weekdays=zt,ho.weekdaysMin=Zt,ho.weekdaysShort=Bt,ho.weekdaysParse=Ht,ho.weekdaysRegex=qt,ho.weekdaysShortRegex=Gt,ho.weekdaysMinRegex=Xt,ho.isPM=tn,ho.meridiem=on,mn("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===ce(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),r.lang=M("moment.lang is deprecated. Use moment.locale instead.",mn),r.langData=M("moment.langData is deprecated. Use moment.localeData instead.",yn);var _o=Math.abs;function ko(){var e=this._data;return this._milliseconds=_o(this._milliseconds),this._days=_o(this._days),this._months=_o(this._months),e.milliseconds=_o(e.milliseconds),e.seconds=_o(e.seconds),e.minutes=_o(e.minutes),e.hours=_o(e.hours),e.months=_o(e.months),e.years=_o(e.years),this}function So(e,t,n,r){var i=Cr(t,n);return e._milliseconds+=r*i._milliseconds,e._days+=r*i._days,e._months+=r*i._months,e._bubble()}function Mo(e,t){return So(this,e,t,1)}function To(e,t){return So(this,e,t,-1)}function Eo(e){return e<0?Math.floor(e):Math.ceil(e)}function Co(){var e,t,n,r,i,o=this._milliseconds,a=this._days,s=this._months,u=this._data;return o>=0&&a>=0&&s>=0||o<=0&&a<=0&&s<=0||(o+=864e5*Eo(Do(s)+a),a=0,s=0),u.milliseconds=o%1e3,e=le(o/1e3),u.seconds=e%60,t=le(e/60),u.minutes=t%60,n=le(t/60),u.hours=n%24,a+=le(n/24),s+=i=le(Oo(a)),a-=Eo(Do(i)),r=le(s/12),s%=12,u.days=a,u.months=s,u.years=r,this}function Oo(e){return 4800*e/146097}function Do(e){return 146097*e/4800}function No(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if("month"===(e=re(e))||"quarter"===e||"year"===e)switch(t=this._days+r/864e5,n=this._months+Oo(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(Do(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return 24*t+r/36e5;case"minute":return 1440*t+r/6e4;case"second":return 86400*t+r/1e3;case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}}function jo(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*ce(this._months/12):NaN}function Ao(e){return function(){return this.as(e)}}var Po=Ao("ms"),Ro=Ao("s"),Io=Ao("m"),Fo=Ao("h"),Lo=Ao("d"),zo=Ao("w"),Bo=Ao("M"),Zo=Ao("Q"),Wo=Ao("y");function Ho(){return Cr(this)}function Yo(e){return e=re(e),this.isValid()?this[e+"s"]():NaN}function Uo(e){return function(){return this.isValid()?this._data[e]:NaN}}var Vo=Uo("milliseconds"),qo=Uo("seconds"),Go=Uo("minutes"),Xo=Uo("hours"),$o=Uo("days"),Qo=Uo("months"),Ko=Uo("years");function Jo(){return le(this.days()/7)}var ea=Math.round,ta={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function na(e,t,n,r,i){return i.relativeTime(t||1,!!n,e,r)}function ra(e,t,n,r){var i=Cr(e).abs(),o=ea(i.as("s")),a=ea(i.as("m")),s=ea(i.as("h")),u=ea(i.as("d")),l=ea(i.as("M")),c=ea(i.as("w")),f=ea(i.as("y")),d=o<=n.ss&&["s",o]||o0,d[4]=r,na.apply(null,d)}function ia(e){return void 0===e?ea:"function"===typeof e&&(ea=e,!0)}function oa(e,t){return void 0!==ta[e]&&(void 0===t?ta[e]:(ta[e]=t,"s"===e&&(ta.ss=t-1),!0))}function aa(e,t){if(!this.isValid())return this.localeData().invalidDate();var n,r,i=!1,o=ta;return"object"===typeof e&&(t=e,e=!1),"boolean"===typeof e&&(i=e),"object"===typeof t&&(o=Object.assign({},ta,t),null!=t.s&&null==t.ss&&(o.ss=t.s-1)),r=ra(this,!i,o,n=this.localeData()),i&&(r=n.pastFuture(+this,r)),n.postformat(r)}var sa=Math.abs;function ua(e){return(e>0)-(e<0)||+e}function la(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,r,i,o,a,s,u=sa(this._milliseconds)/1e3,l=sa(this._days),c=sa(this._months),f=this.asSeconds();return f?(e=le(u/60),t=le(e/60),u%=60,e%=60,n=le(c/12),c%=12,r=u?u.toFixed(3).replace(/\.?0+$/,""):"",i=f<0?"-":"",o=ua(this._months)!==ua(f)?"-":"",a=ua(this._days)!==ua(f)?"-":"",s=ua(this._milliseconds)!==ua(f)?"-":"",i+"P"+(n?o+n+"Y":"")+(c?o+c+"M":"")+(l?a+l+"D":"")+(t||e||u?"T":"")+(t?s+t+"H":"")+(e?s+e+"M":"")+(u?s+r+"S":"")):"P0D"}var ca=ar.prototype;return ca.isValid=ir,ca.abs=ko,ca.add=Mo,ca.subtract=To,ca.as=No,ca.asMilliseconds=Po,ca.asSeconds=Ro,ca.asMinutes=Io,ca.asHours=Fo,ca.asDays=Lo,ca.asWeeks=zo,ca.asMonths=Bo,ca.asQuarters=Zo,ca.asYears=Wo,ca.valueOf=jo,ca._bubble=Co,ca.clone=Ho,ca.get=Yo,ca.milliseconds=Vo,ca.seconds=qo,ca.minutes=Go,ca.hours=Xo,ca.days=$o,ca.weeks=Jo,ca.months=Qo,ca.years=Ko,ca.humanize=aa,ca.toISOString=la,ca.toString=la,ca.toJSON=la,ca.locale=ai,ca.localeData=ui,ca.toIsoString=M("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",la),ca.lang=si,B("X",0,0,"unix"),B("x",0,0,"valueOf"),Pe("x",Oe),Pe("X",je),ze("X",(function(e,t,n){n._d=new Date(1e3*parseFloat(e))})),ze("x",(function(e,t,n){n._d=new Date(ce(e))})),r.version="2.29.4",i(Xn),r.fn=uo,r.min=Jn,r.max=er,r.now=tr,r.utc=p,r.unix=lo,r.months=go,r.isDate=f,r.locale=mn,r.invalid=y,r.duration=Cr,r.isMoment=k,r.weekdays=bo,r.parseZone=co,r.localeData=yn,r.isDuration=sr,r.monthsShort=yo,r.weekdaysMin=xo,r.defineLocale=vn,r.updateLocale=gn,r.locales=bn,r.weekdaysShort=wo,r.normalizeUnits=re,r.relativeTimeRounding=ia,r.relativeTimeThreshold=oa,r.calendarFormat=Zr,r.prototype=uo,r.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},r}()},31725:function(e){"use strict";var t=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;function i(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(i){return!1}}()?Object.assign:function(e,o){for(var a,s,u=i(e),l=1;l-1e3&&e<1e3||_.call(/e/,t))return t;var n=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"===typeof e){var r=e<0?-T(-e):T(e);if(r!==e){var i=String(r),o=y.call(t,i.length+1);return b.call(i,n,"$&_")+"."+b.call(b.call(o,/([0-9]{3})/g,"$&_"),/_$/,"")}}return b.call(t,n,"$&_")}var R=n(24654),I=R.custom,F=W(I)?I:null;function L(e,t,n){var r="double"===(n.quoteStyle||t)?'"':"'";return r+e+r}function z(e){return b.call(String(e),/"/g,""")}function B(e){return"[object Array]"===U(e)&&(!N||!("object"===typeof e&&N in e))}function Z(e){return"[object RegExp]"===U(e)&&(!N||!("object"===typeof e&&N in e))}function W(e){if(D)return e&&"object"===typeof e&&e instanceof Symbol;if("symbol"===typeof e)return!0;if(!e||"object"!==typeof e||!O)return!1;try{return O.call(e),!0}catch(t){}return!1}e.exports=function e(t,n,r,i){var s=n||{};if(Y(s,"quoteStyle")&&"single"!==s.quoteStyle&&"double"!==s.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(Y(s,"maxStringLength")&&("number"===typeof s.maxStringLength?s.maxStringLength<0&&s.maxStringLength!==1/0:null!==s.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var u=!Y(s,"customInspect")||s.customInspect;if("boolean"!==typeof u&&"symbol"!==u)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(Y(s,"indent")&&null!==s.indent&&"\t"!==s.indent&&!(parseInt(s.indent,10)===s.indent&&s.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(Y(s,"numericSeparator")&&"boolean"!==typeof s.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var m=s.numericSeparator;if("undefined"===typeof t)return"undefined";if(null===t)return"null";if("boolean"===typeof t)return t?"true":"false";if("string"===typeof t)return q(t,s);if("number"===typeof t){if(0===t)return 1/0/t>0?"0":"-0";var w=String(t);return m?P(t,w):w}if("bigint"===typeof t){var _=String(t)+"n";return m?P(t,_):_}var T="undefined"===typeof s.depth?5:s.depth;if("undefined"===typeof r&&(r=0),r>=T&&T>0&&"object"===typeof t)return B(t)?"[Array]":"[Object]";var C=function(e,t){var n;if("\t"===e.indent)n="\t";else{if(!("number"===typeof e.indent&&e.indent>0))return null;n=S.call(Array(e.indent+1)," ")}return{base:n,prev:S.call(Array(t+1),n)}}(s,r);if("undefined"===typeof i)i=[];else if(V(i,t)>=0)return"[Circular]";function I(t,n,o){if(n&&(i=M.call(i)).push(n),o){var a={depth:s.depth};return Y(s,"quoteStyle")&&(a.quoteStyle=s.quoteStyle),e(t,a,r+1,i)}return e(t,s,r+1,i)}if("function"===typeof t&&!Z(t)){var H=function(e){if(e.name)return e.name;var t=g.call(v.call(e),/^function\s*([\w$]+)/);if(t)return t[1];return null}(t),G=J(t,I);return"[Function"+(H?": "+H:" (anonymous)")+"]"+(G.length>0?" { "+S.call(G,", ")+" }":"")}if(W(t)){var ee=D?b.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):O.call(t);return"object"!==typeof t||D?ee:X(ee)}if(function(e){if(!e||"object"!==typeof e)return!1;if("undefined"!==typeof HTMLElement&&e instanceof HTMLElement)return!0;return"string"===typeof e.nodeName&&"function"===typeof e.getAttribute}(t)){for(var te="<"+x.call(String(t.nodeName)),ne=t.attributes||[],re=0;re"}if(B(t)){if(0===t.length)return"[]";var ie=J(t,I);return C&&!function(e){for(var t=0;t=0)return!1;return!0}(ie)?"["+K(ie,C)+"]":"[ "+S.call(ie,", ")+" ]"}if(function(e){return"[object Error]"===U(e)&&(!N||!("object"===typeof e&&N in e))}(t)){var oe=J(t,I);return"cause"in Error.prototype||!("cause"in t)||j.call(t,"cause")?0===oe.length?"["+String(t)+"]":"{ ["+String(t)+"] "+S.call(oe,", ")+" }":"{ ["+String(t)+"] "+S.call(k.call("[cause]: "+I(t.cause),oe),", ")+" }"}if("object"===typeof t&&u){if(F&&"function"===typeof t[F]&&R)return R(t,{depth:T-r});if("symbol"!==u&&"function"===typeof t.inspect)return t.inspect()}if(function(e){if(!o||!e||"object"!==typeof e)return!1;try{o.call(e);try{l.call(e)}catch(te){return!0}return e instanceof Map}catch(t){}return!1}(t)){var ae=[];return a.call(t,(function(e,n){ae.push(I(n,t,!0)+" => "+I(e,t))})),Q("Map",o.call(t),ae,C)}if(function(e){if(!l||!e||"object"!==typeof e)return!1;try{l.call(e);try{o.call(e)}catch(t){return!0}return e instanceof Set}catch(n){}return!1}(t)){var se=[];return c.call(t,(function(e){se.push(I(e,t))})),Q("Set",l.call(t),se,C)}if(function(e){if(!f||!e||"object"!==typeof e)return!1;try{f.call(e,f);try{d.call(e,d)}catch(te){return!0}return e instanceof WeakMap}catch(t){}return!1}(t))return $("WeakMap");if(function(e){if(!d||!e||"object"!==typeof e)return!1;try{d.call(e,d);try{f.call(e,f)}catch(te){return!0}return e instanceof WeakSet}catch(t){}return!1}(t))return $("WeakSet");if(function(e){if(!h||!e||"object"!==typeof e)return!1;try{return h.call(e),!0}catch(t){}return!1}(t))return $("WeakRef");if(function(e){return"[object Number]"===U(e)&&(!N||!("object"===typeof e&&N in e))}(t))return X(I(Number(t)));if(function(e){if(!e||"object"!==typeof e||!E)return!1;try{return E.call(e),!0}catch(t){}return!1}(t))return X(I(E.call(t)));if(function(e){return"[object Boolean]"===U(e)&&(!N||!("object"===typeof e&&N in e))}(t))return X(p.call(t));if(function(e){return"[object String]"===U(e)&&(!N||!("object"===typeof e&&N in e))}(t))return X(I(String(t)));if(!function(e){return"[object Date]"===U(e)&&(!N||!("object"===typeof e&&N in e))}(t)&&!Z(t)){var ue=J(t,I),le=A?A(t)===Object.prototype:t instanceof Object||t.constructor===Object,ce=t instanceof Object?"":"null prototype",fe=!le&&N&&Object(t)===t&&N in t?y.call(U(t),8,-1):ce?"Object":"",de=(le||"function"!==typeof t.constructor?"":t.constructor.name?t.constructor.name+" ":"")+(fe||ce?"["+S.call(k.call([],fe||[],ce||[]),": ")+"] ":"");return 0===ue.length?de+"{}":C?de+"{"+K(ue,C)+"}":de+"{ "+S.call(ue,", ")+" }"}return String(t)};var H=Object.prototype.hasOwnProperty||function(e){return e in this};function Y(e,t){return H.call(e,t)}function U(e){return m.call(e)}function V(e,t){if(e.indexOf)return e.indexOf(t);for(var n=0,r=e.length;nt.maxStringLength){var n=e.length-t.maxStringLength,r="... "+n+" more character"+(n>1?"s":"");return q(y.call(e,0,t.maxStringLength),t)+r}return L(b.call(b.call(e,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,G),"single",t)}function G(e){var t=e.charCodeAt(0),n={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return n?"\\"+n:"\\x"+(t<16?"0":"")+w.call(t.toString(16))}function X(e){return"Object("+e+")"}function $(e){return e+" { ? }"}function Q(e,t,n,r){return e+" ("+t+") {"+(r?K(n,r):S.call(n,", "))+"}"}function K(e,t){if(0===e.length)return"";var n="\n"+t.prev+t.base;return n+S.call(e,","+n)+"\n"+t.prev}function J(e,t){var n=B(e),r=[];if(n){r.length=e.length;for(var i=0;i2&&(i.push([n].concat(o.splice(0,2))),a="l",n="m"==n?"l":"L");;){if(o.length==t[a])return o.unshift(n),i.push(o);if(o.length=this._maxSize&&this.clear(),e in this._values||this._size++,this._values[e]=t};var n=/[^.^\]^[]+|(?=\[\]|\.\.)/g,r=/^\d+$/,i=/^\d/,o=/[~`!#$%\^&*+=\-\[\]\\';,/{}|\\":<>\?]/g,a=/^\s*(['"]?)(.*?)(\1)\s*$/,s=new t(512),u=new t(512),l=new t(512);function c(e){return s.get(e)||s.set(e,f(e).map((function(e){return e.replace(a,"$2")})))}function f(e){return e.match(n)||[""]}function d(e){return"string"===typeof e&&e&&-1!==["'",'"'].indexOf(e.charAt(0))}function h(e){return!d(e)&&(function(e){return e.match(i)&&!e.match(r)}(e)||function(e){return o.test(e)}(e))}e.exports={Cache:t,split:f,normalizePath:c,setter:function(e){var t=c(e);return u.get(e)||u.set(e,(function(e,n){for(var r=0,i=t.length,o=e;r-1?e.split(","):e},l=function(e,t,n,r){if(e){var o=n.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,a=/(\[[^[\]]*])/g,s=n.depth>0&&/(\[[^[\]]*])/.exec(o),l=s?o.slice(0,s.index):o,c=[];if(l){if(!n.plainObjects&&i.call(Object.prototype,l)&&!n.allowPrototypes)return;c.push(l)}for(var f=0;n.depth>0&&null!==(s=a.exec(o))&&f=0;--o){var a,s=e[o];if("[]"===s&&n.parseArrays)a=[].concat(i);else{a=n.plainObjects?Object.create(null):{};var l="["===s.charAt(0)&&"]"===s.charAt(s.length-1)?s.slice(1,-1):s,c=parseInt(l,10);n.parseArrays||""!==l?!isNaN(c)&&s!==l&&String(c)===l&&c>=0&&n.parseArrays&&c<=n.arrayLimit?(a=[])[c]=i:"__proto__"!==l&&(a[l]=i):a={0:i}}i=a}return i}(c,t,n,r)}};e.exports=function(e,t){var n=function(e){if(!e)return a;if(null!==e.decoder&&void 0!==e.decoder&&"function"!==typeof e.decoder)throw new TypeError("Decoder has to be a function.");if("undefined"!==typeof e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var t="undefined"===typeof e.charset?a.charset:e.charset;return{allowDots:"undefined"===typeof e.allowDots?a.allowDots:!!e.allowDots,allowPrototypes:"boolean"===typeof e.allowPrototypes?e.allowPrototypes:a.allowPrototypes,allowSparse:"boolean"===typeof e.allowSparse?e.allowSparse:a.allowSparse,arrayLimit:"number"===typeof e.arrayLimit?e.arrayLimit:a.arrayLimit,charset:t,charsetSentinel:"boolean"===typeof e.charsetSentinel?e.charsetSentinel:a.charsetSentinel,comma:"boolean"===typeof e.comma?e.comma:a.comma,decoder:"function"===typeof e.decoder?e.decoder:a.decoder,delimiter:"string"===typeof e.delimiter||r.isRegExp(e.delimiter)?e.delimiter:a.delimiter,depth:"number"===typeof e.depth||!1===e.depth?+e.depth:a.depth,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"===typeof e.interpretNumericEntities?e.interpretNumericEntities:a.interpretNumericEntities,parameterLimit:"number"===typeof e.parameterLimit?e.parameterLimit:a.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"===typeof e.plainObjects?e.plainObjects:a.plainObjects,strictNullHandling:"boolean"===typeof e.strictNullHandling?e.strictNullHandling:a.strictNullHandling}}(t);if(""===e||null===e||"undefined"===typeof e)return n.plainObjects?Object.create(null):{};for(var c="string"===typeof e?function(e,t){var n,l={},c=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,f=t.parameterLimit===1/0?void 0:t.parameterLimit,d=c.split(t.delimiter,f),h=-1,p=t.charset;if(t.charsetSentinel)for(n=0;n-1&&(v=o(v)?[v]:v),i.call(l,m)?l[m]=r.combine(l[m],v):l[m]=v}return l}(e,n):e,f=n.plainObjects?Object.create(null):{},d=Object.keys(c),h=0;h0?S.join(",")||null:void 0}];else if(u(d))A=d;else{var R=Object.keys(S);A=h?R.sort(h):R}for(var I=0;I0?w+b:""}},64184:function(e,t,n){"use strict";var r=n(59874),i=Object.prototype.hasOwnProperty,o=Array.isArray,a=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),s=function(e,t){for(var n=t&&t.plainObjects?Object.create(null):{},r=0;r1;){var t=e.pop(),n=t.obj[t.prop];if(o(n)){for(var r=[],i=0;i=48&&c<=57||c>=65&&c<=90||c>=97&&c<=122||o===r.RFC1738&&(40===c||41===c)?u+=s.charAt(l):c<128?u+=a[c]:c<2048?u+=a[192|c>>6]+a[128|63&c]:c<55296||c>=57344?u+=a[224|c>>12]+a[128|c>>6&63]+a[128|63&c]:(l+=1,c=65536+((1023&c)<<10|1023&s.charCodeAt(l)),u+=a[240|c>>18]+a[128|c>>12&63]+a[128|c>>6&63]+a[128|63&c])}return u},isBuffer:function(e){return!(!e||"object"!==typeof e)&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},maybeMap:function(e,t){if(o(e)){for(var n=[],r=0;re.length)&&(t=e.length);for(var n=0,r=new Array(t);n row.field");return n&&"function"==typeof n?n(e,r):t&&"function"==typeof t?t(e,r):t.split(".").reduce((function(e,t){var n=t.match(/[^\]\\[.]+/g);return 1 * {\n margin-left: 5px;\n }\n"]);return $t=function(){return e},e}function Qt(){var e=h(["\n flex: 1 0 auto;\n color: ",";\n font-size: ",";\n font-weight: 400;\n"]);return Qt=function(){return e},e}function Kt(){var e=h(["\n position: relative;\n box-sizing: border-box;\n overflow: hidden;\n display: flex;\n flex: 1 1 auto;\n align-items: center;\n justify-content: space-between;\n width: 100%;\n flex-wrap: wrap;\n ","\n"]);return Kt=function(){return e},e}var Jt=s.default.div(Kt(),(function(e){return e.theme.header.style})),en=s.default.div(Qt(),(function(e){return e.theme.header.fontColor}),(function(e){return e.theme.header.fontSize})),tn=s.default.div($t()),nn=function(e){var t=e.title,n=e.actions;e=e.showMenu;return a.default.createElement(Jt,{className:"rdt_TableHeader",role:"heading","aria-level":"1"},a.default.createElement(en,null,t),a.default.createElement(tn,null,n),e&&a.default.createElement(Xt,null))};function rn(){var e=h(["\n position: relative;\n display: flex;\n flex: 1 1 auto;\n box-sizing: border-box;\n align-items: center;\n padding: 4px 16px 4px 24px;\n width: 100%;\n justify-content: ",";\n flex-wrap: ",";\n ","\n"]);return rn=function(){return e},e}nn.propTypes={title:Q.oneOfType([Q.string,Q.node]).isRequired,actions:Q.oneOfType([Q.arrayOf(Q.node),Q.node]),showMenu:Q.bool},nn.defaultProps={actions:[],showMenu:!0};var on={left:"flex-start",right:"flex-end",center:"center"},an=s.default.header(rn(),(function(e){return on[e.align]}),(function(e){return e.wrapContent?"wrap":"nowrap"}),(function(e){return e.theme.subHeader.style})),sn=function(e){var t=e.align,n=e.wrapContent;e=e.children;return a.default.createElement(an,{align:t,wrapContent:n},e)};function un(){var e=h(["\n max-height: ",";\n overflow-y: auto;\n -webkit-overflow-scrolling: touch;\n "]);return un=function(){return e},e}function ln(){var e=h(["\n display: flex;\n flex-direction: column;\n ",";\n"]);return ln=function(){return e},e}sn.propTypes={children:Q.oneOfType([Q.arrayOf(Q.node),Q.node,Q.string]),align:Q.oneOf(["center","left","right"]),wrapContent:Q.bool},sn.defaultProps={children:null,align:"right",wrapContent:!0};var cn=s.default.div(ln(),(function(e){var t=e.fixedHeader,n=e.hasOffset,r=e.offset;e=e.fixedHeaderScrollHeight;return t&&i.css(un(),n?"calc(".concat(e," - ").concat(r,")"):e)}));function fn(){var e=h(["\n padding-bottom: ",";\n margin-bottom: -",";\n "]);return fn=function(){return e},e}function dn(){var e=h(["\n overflow-x: auto;\n\n // prevents vertical scrolling in firefox\n overflow-y: hidden;\n min-height: 0;\n "]);return dn=function(){return e},e}function hn(){var e=h(["\n position: relative;\n width: 100%;\n border-radius: inherit;\n ",";\n ",";\n"]);return hn=function(){return e},e}cn.defaultProps={fixedHeaderScrollHeight:"100vh",offset:0};var pn=s.default.div(hn(),(function(e){return e.responsive&&i.css(dn())}),(function(e){return e.overflowY&&e.responsive&&e.overflowYOffset&&i.css(fn(),e.overflowYOffset,e.overflowYOffset)}));function mn(){var e=h(["\n position: relative;\n box-sizing: border-box;\n width: 100%;\n height: 100%;\n ",";\n"]);return mn=function(){return e},e}var vn=s.default.div(mn(),(function(e){return e.theme.progress.style})),gn=function(e){return e=e.children,a.default.createElement(vn,null,e)};function yn(){var e=h(["\n position: relative;\n width: 100%;\n ",";\n"]);return yn=function(){return e},e}gn.propTypes={children:Q.oneOfType([Q.string,Q.node,Q.func]).isRequired};var bn=s.default.div(yn(),(function(e){return e.theme.tableWrapper.style}));function wn(){var e=h(["\n white-space: nowrap;\n ",";\n"]);return wn=function(){return e},e}var xn=s.default(it)(wn(),(function(e){return e.theme.expanderCell.style}));function _n(){var e=h(["\n box-sizing: border-box;\n width: 100%;\n height: 100%;\n ",";\n"]);return _n=function(){return e},e}var kn=s.default.div(_n(),(function(e){return e.theme.noData.style})),Sn=function(e){return e=e.children,a.default.createElement(kn,null,e)};Sn.propTypes={children:Q.oneOfType([Q.string,Q.node]).isRequired};var Mn=function(){return a.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},a.default.createElement("path",{d:"M7 10l5 5 5-5z"}),a.default.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}))};function Tn(){var e=h(["\n position: relative;\n flex-shrink: 0;\n font-size: inherit;\n color: inherit;\n margin-top: 1px;\n\n svg {\n top: 0;\n right: 0;\n color: inherit;\n position: absolute;\n fill: currentColor;\n width: 24px;\n height: 24px;\n display: inline-block;\n user-select: none;\n pointer-events: none;\n }\n"]);return Tn=function(){return e},e}function En(){var e=h(["\n cursor: pointer;\n height: 24px;\n min-width: 24px;\n user-select: none;\n padding-left: 8px;\n padding-right: 12px;\n box-sizing: content-box;\n font-size: inherit;\n color: inherit;\n border: none;\n background-color: transparent;\n appearance: none;\n direction: ltr;\n\n &::-ms-expand {\n display: none;\n }\n\n &:disabled::-ms-expand {\n background: #f60;\n }\n\n option {\n color: initial;\n }\n"]);return En=function(){return e},e}var Cn=s.default.select(En()),On=s.default.div(Tn()),Dn=function(e){return a.default.createElement(On,null,a.default.createElement(Cn,e),a.default.createElement(Mn,null))};function Nn(){var e=h(["\n margin: 0 4px;\n"]);return Nn=function(){return e},e}function jn(){var e=h(["\n margin: 0 24px;\n"]);return jn=function(){return e},e}function An(){var e=h(["\n flex-shrink: 1;\n user-select: none;\n"]);return An=function(){return e},e}function Pn(){var e=h(["\n width: 100%;\n justify-content: space-around;\n "]);return Pn=function(){return e},e}function Rn(){var e=h(["\n display: flex;\n align-items: center;\n border-radius: 4px;\n white-space: nowrap;\n ",";\n"]);return Rn=function(){return e},e}function In(){var e=h(["\n position: relative;\n display: block;\n user-select: none;\n border: none;\n ",";\n ",";\n"]);return In=function(){return e},e}function Fn(){var e=h(["\n display: flex;\n flex: 1 1 auto;\n justify-content: flex-end;\n align-items: center;\n box-sizing: border-box;\n padding-right: 8px;\n padding-left: 8px;\n width: 100%;\n ",";\n"]);return Fn=function(){return e},e}var Ln={rowsPerPageText:"Rows per page:",rangeSeparatorText:"of",noRowsPerPage:!1,selectAllRowsItem:!1,selectAllRowsItemText:"All"},zn=s.default.nav(Fn(),(function(e){return e.theme.pagination.style})),Bn=s.default.button(In(),(function(e){return e.theme.pagination.pageButtonsStyle}),(function(e){return e.isRTL&&"transform: scale(-1, -1)"})),Zn=s.default.div(Rn(),qe(Pn())),Wn=s.default.span(An()),Hn=s.default(Wn)(jn()),Yn=s.default(Wn)(Nn()),Un=function(e){var t=e.rowsPerPage,n=e.rowCount,i=e.onChangePage,o=e.onChangeRowsPerPage,s=e.currentPage,l=(S=J()).direction,c=S.paginationRowsPerPageOptions,f=S.paginationIconLastPage,h=S.paginationIconFirstPage,m=S.paginationIconNext,v=S.paginationIconPrevious,g=S.paginationComponentOptions,y=function(){var e="object"===("undefined"==typeof window?"undefined":u(window));function t(){return{width:e?window.innerWidth:void 0,height:e?window.innerHeight:void 0}}var n=p(r.useState(t),2),i=n[0],o=n[1];return r.useEffect((function(){return!!e&&(window.addEventListener("resize",n),function(){return window.removeEventListener("resize",n)});function n(){o(t())}}),[]),i}().width>599,b=Ne(l),w=Te(n,t),x=(M=s*t)-t+1,_=1===s,k=s===w,S=(e=d(d({},Ln),g),(s===w?"".concat(x,"-").concat(n," "):"".concat(x,"-").concat(M," ")).concat(e.rangeSeparatorText," ").concat(n)),M=(l=r.useCallback((function(){return i(s-1)}),[s,i]),g=r.useCallback((function(){return i(s+1)}),[s,i]),w=r.useCallback((function(){return i(1)}),[i]),x=r.useCallback((function(){return i(Te(n,t))}),[i,n,t]),r.useCallback((function(e){return e=e.target,o(Number(e.value),s)}),[s,o]));c=c.map((function(e){return a.default.createElement("option",{key:e,value:e},e)}));return e.selectAllRowsItem&&c.push(a.default.createElement("option",{key:-1,value:n},e.selectAllRowsItemText)),c=a.default.createElement(Dn,{onChange:M,defaultValue:t,"aria-label":e.rowsPerPageText},c),a.default.createElement(zn,{className:"rdt_Pagination"},!e.noRowsPerPage&&y&&a.default.createElement(a.default.Fragment,null,a.default.createElement(Yn,null,e.rowsPerPageText),c),y&&a.default.createElement(Hn,null,S),a.default.createElement(Zn,null,a.default.createElement(Bn,{id:"pagination-first-page",type:"button","aria-label":"First Page","aria-disabled":_,onClick:w,disabled:_,isRTL:b},h),a.default.createElement(Bn,{id:"pagination-previous-page",type:"button","aria-label":"Previous Page","aria-disabled":_,onClick:l,disabled:_,isRTL:b},v),!y&&c,a.default.createElement(Bn,{id:"pagination-next-page",type:"button","aria-label":"Next Page","aria-disabled":k,onClick:g,disabled:k,isRTL:b},m),a.default.createElement(Bn,{id:"pagination-last-page",type:"button","aria-label":"Last Page","aria-disabled":k,onClick:x,disabled:k,isRTL:b},f)))};function Vn(e,t){var n=r.useRef(!0);r.useEffect((function(){n.current?n.current=!1:e()}),t)}Un.propTypes={rowsPerPage:Q.number.isRequired,rowCount:Q.number.isRequired,onChangePage:Q.func.isRequired,onChangeRowsPerPage:Q.func.isRequired,currentPage:Q.number.isRequired};var qn={title:Q.oneOfType([Q.string,Q.node]),selectableRows:Q.bool,selectableRowsHighlight:Q.bool,selectableRowsVisibleOnly:Q.bool,selectableRowsNoSelectAll:Q.bool,selectableRowSelected:Q.func,selectableRowDisabled:Q.func,selectableRowsComponent:Q.oneOfType([Q.string,Q.node,Q.func,Q.object]),selectableRowsComponentProps:Q.object,onRowsSelectedUpdate:Q.func,clearSelectedRows:Q.bool,expandableRows:Q.bool,expandableRowDisabled:Q.func,expandableRowExpanded:Q.func,expandOnRowClicked:Q.bool,expandableRowsHideExpander:Q.bool,expandOnRowDoubleClicked:Q.bool,onRowExpandToggled:Q.func,expandableInheritConditionalStyles:Q.bool,keyField:Q.string,progressPending:Q.bool,progressComponent:Q.oneOfType([Q.string,Q.node,Q.func]),persistTableHead:Q.bool,expandableRowsComponent:Q.oneOfType([Q.arrayOf(Q.node),Q.node,Q.func]),expandableIcon:Q.shape({collapsed:Q.oneOfType([Q.string,Q.node,Q.func]),expanded:Q.oneOfType([Q.string,Q.node,Q.func])}),sortIcon:Q.oneOfType([Q.bool,Q.node]),sortFunction:Q.func,sortServer:Q.bool,onSort:Q.func,striped:Q.bool,highlightOnHover:Q.bool,pointerOnHover:Q.bool,actions:Q.oneOfType([Q.arrayOf(Q.node),Q.node]),noContextMenu:Q.bool,contextMessage:Q.shape({singular:Q.string.isRequired,plural:Q.string.isRequired,message:Q.string}),contextActions:Q.oneOfType([Q.arrayOf(Q.node),Q.node]),contextComponent:Q.oneOfType([Q.node,Q.func]),defaultSortField:Q.string,defaultSortAsc:Q.bool,columns:Q.array,data:Q.array,className:Q.string,style:Q.object,responsive:Q.bool,overflowY:Q.bool,overflowYOffset:Q.string,noDataComponent:Q.oneOfType([Q.string,Q.node,Q.func]),disabled:Q.bool,noTableHead:Q.bool,noHeader:Q.bool,subHeader:Q.bool,subHeaderAlign:Q.string,subHeaderWrap:Q.bool,subHeaderComponent:Q.oneOfType([Q.arrayOf(Q.node),Q.node,Q.string]),onRowClicked:Q.func,onRowDoubleClicked:Q.func,fixedHeader:Q.bool,fixedHeaderScrollHeight:Q.string,pagination:Q.bool,paginationServer:Q.bool,paginationServerOptions:Q.shape({persistSelectedOnSort:Q.bool,persistSelectedOnPageChange:Q.bool}),paginationDefaultPage:Q.number,paginationResetDefaultPage:Q.bool,paginationTotalRows:Q.number,paginationPerPage:Q.number,paginationRowsPerPageOptions:Q.array,onChangePage:Q.func,onChangeRowsPerPage:Q.func,paginationComponent:Q.oneOfType([Q.arrayOf(Q.node),Q.node,Q.func]),paginationComponentOptions:Q.object,paginationIconFirstPage:Q.oneOfType([Q.string,Q.node,Q.func]),paginationIconLastPage:Q.oneOfType([Q.string,Q.node,Q.func]),paginationIconNext:Q.oneOfType([Q.string,Q.node,Q.func]),paginationIconPrevious:Q.oneOfType([Q.string,Q.node,Q.func]),dense:Q.bool,conditionalRowStyles:Q.arrayOf(Q.shape({when:Q.func.isRequired,style:Q.object.isRequired})),theme:Q.string,customStyles:Q.object,direction:Q.oneOf(["ltr","rtl","auto"])},Gn={title:"",keyField:"id",selectableRows:!1,selectableRowsHighlight:!1,selectableRowsNoSelectAll:!1,selectableRowSelected:null,selectableRowDisabled:null,selectableRowsComponent:"input",selectableRowsComponentProps:{},onSelectedRowsChange:function(){return null},clearSelectedRows:!1,expandableRows:!1,expandableRowDisabled:null,expandableRowExpanded:null,expandOnRowClicked:!1,expandableRowsHideExpander:!1,expandOnRowDoubleClicked:!1,expandableInheritConditionalStyles:!1,onRowExpandToggled:function(){return null},progressPending:!1,progressComponent:a.default.createElement("div",{style:{fontSize:"24px",fontWeight:700,padding:"24px"}},"Loading..."),persistTableHead:!1,expandableRowsComponent:a.default.createElement("div",{style:{padding:"24px"}},"Add a custom expander component. Use props.data for row data"),expandableIcon:{collapsed:a.default.createElement((function(){return a.default.createElement("svg",{fill:"currentColor",height:"24",viewBox:"0 0 24 24",width:"24",xmlns:"http://www.w3.org/2000/svg"},a.default.createElement("path",{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"}),a.default.createElement("path",{d:"M0-.25h24v24H0z",fill:"none"}))}),null),expanded:a.default.createElement((function(){return a.default.createElement("svg",{fill:"currentColor",height:"24",viewBox:"0 0 24 24",width:"24",xmlns:"http://www.w3.org/2000/svg"},a.default.createElement("path",{d:"M7.41 7.84L12 12.42l4.59-4.58L18 9.25l-6 6-6-6z"}),a.default.createElement("path",{d:"M0-.75h24v24H0z",fill:"none"}))}),null)},sortIcon:!1,sortFunction:null,sortServer:!1,onSort:function(){return null},striped:!1,highlightOnHover:!1,pointerOnHover:!1,noContextMenu:!1,contextMessage:{singular:"item",plural:"items",message:"selected"},contextActions:[],contextComponent:null,defaultSortField:null,defaultSortAsc:!0,columns:[],data:[],className:null,style:{},responsive:!0,overflowY:!1,overflowYOffset:"250px",noDataComponent:a.default.createElement("div",{style:{padding:"24px"}},"There are no records to display"),disabled:!1,noTableHead:!1,noHeader:!1,subHeader:!1,subHeaderAlign:"right",subHeaderWrap:!0,subHeaderComponent:[],onRowClicked:function(){return null},onRowDoubleClicked:function(){return null},fixedHeader:!1,fixedHeaderScrollHeight:"100vh",pagination:!1,paginationServer:!1,paginationServerOptions:{persistSelectedOnSort:!1,persistSelectedOnPageChange:!1},paginationDefaultPage:1,paginationResetDefaultPage:!1,paginationTotalRows:0,paginationPerPage:10,paginationRowsPerPageOptions:[10,15,20,25,30],onChangePage:function(){return null},onChangeRowsPerPage:function(){return null},paginationComponent:null,paginationComponentOptions:{},paginationIconFirstPage:a.default.createElement((function(){return a.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24","aria-hidden":"true",role:"presentation"},a.default.createElement("path",{d:"M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"}),a.default.createElement("path",{fill:"none",d:"M24 24H0V0h24v24z"}))}),null),paginationIconLastPage:a.default.createElement((function(){return a.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24","aria-hidden":"true",role:"presentation"},a.default.createElement("path",{d:"M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"}),a.default.createElement("path",{fill:"none",d:"M0 0h24v24H0V0z"}))}),null),paginationIconNext:a.default.createElement((function(){return a.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24","aria-hidden":"true",role:"presentation"},a.default.createElement("path",{d:"M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"}),a.default.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}))}),null),paginationIconPrevious:a.default.createElement((function(){return a.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24","aria-hidden":"true",role:"presentation"},a.default.createElement("path",{d:"M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"}),a.default.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}))}),null),dense:!1,conditionalRowStyles:[],theme:"default",customStyles:{},direction:"auto"},Xn=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===$n}(e)}(e)};var $n="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function Qn(e,t){return!1!==t.clone&&t.isMergeableObject(e)?nr(function(e){return Array.isArray(e)?[]:{}}(e),e,t):e}function Kn(e,t,n){return e.concat(t).map((function(e){return Qn(e,n)}))}function Jn(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(t){return e.propertyIsEnumerable(t)})):[]}(e))}function er(e,t){try{return t in e}catch(e){return!1}}function tr(e,t,n){var r={};return n.isMergeableObject(e)&&Jn(e).forEach((function(t){r[t]=Qn(e[t],n)})),Jn(t).forEach((function(i){(function(e,t){return er(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))})(e,i)||(er(e,i)&&n.isMergeableObject(t[i])?r[i]=function(e,t){return t.customMerge&&"function"==typeof(e=t.customMerge(e))?e:nr}(i,n)(e[i],t[i],n):r[i]=Qn(t[i],n))})),r}function nr(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||Kn,n.isMergeableObject=n.isMergeableObject||Xn,n.cloneUnlessOtherwiseSpecified=Qn;var r=Array.isArray(t);return r===Array.isArray(e)?r?n.arrayMerge(e,t,n):tr(e,t,n):Qn(t,n)}nr.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,n){return nr(e,n,t)}),{})};var rr=nr,ir={default:{text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.54)",disabled:"rgba(0, 0, 0, 0.38)"},background:{default:"#FFFFFF"},context:{background:"#e3f2fd",text:"rgba(0, 0, 0, 0.87)"},divider:{default:"rgba(0,0,0,.12)"},button:{default:"rgba(0,0,0,.54)",focus:"rgba(0,0,0,.12)",hover:"rgba(0,0,0,.12)",disabled:"rgba(0, 0, 0, .18)"},sortFocus:{default:"rgba(0, 0, 0, .54)"},selected:{default:"#e3f2fd",text:"rgba(0, 0, 0, 0.87)"},highlightOnHover:{default:"#EEEEEE",text:"rgba(0, 0, 0, 0.87)"},striped:{default:"#FAFAFA",text:"rgba(0, 0, 0, 0.87)"}},dark:{text:{primary:"#FFFFFF",secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(0,0,0,.12)"},background:{default:"#424242"},context:{background:"#E91E63",text:"#FFFFFF"},divider:{default:"rgba(81, 81, 81, 1)"},button:{default:"#FFFFFF",focus:"rgba(255, 255, 255, .54)",hover:"rgba(255, 255, 255, .12)",disabled:"rgba(255, 255, 255, .18)"},sortFocus:{default:"rgba(255, 255, 255, .54)"},selected:{default:"rgba(0, 0, 0, .7)",text:"#FFFFFF"},highlightOnHover:{default:"rgba(0, 0, 0, .7)",text:"#FFFFFF"},striped:{default:"rgba(0, 0, 0, .87)",text:"#FFFFFF"}}},or=function(e){return{table:{style:{color:e.text.primary,backgroundColor:e.background.default}},tableWrapper:{style:{display:"table"}},header:{style:{fontSize:"22px",color:e.text.primary,backgroundColor:e.background.default,minHeight:"56px",paddingLeft:"16px",paddingRight:"8px"}},subHeader:{style:{backgroundColor:e.background.default,minHeight:"52px"}},head:{style:{}},headRow:{style:{backgroundColor:e.background.default,minHeight:"56px",borderBottomWidth:"1px",borderBottomColor:e.divider.default,borderBottomStyle:"solid"},denseStyle:{minHeight:"32px"}},headCells:{style:{fontSize:"12px",fontWeight:500,color:e.text.primary,paddingLeft:"16px",paddingRight:"16px"},activeSortStyle:{color:e.text.primary,"&:focus":{outline:"none"},"&:hover:not(:focus)":{color:e.sortFocus.default}},inactiveSortStyle:{"&:focus":{outline:"none",color:e.sortFocus.default},"&:hover":{color:e.sortFocus.default}}},contextMenu:{style:{backgroundColor:e.context.background,fontSize:"18px",fontWeight:400,color:e.context.text,paddingLeft:"16px",paddingRight:"8px",transform:"translate3d(0, -100%, 0)",transitionDuration:"125ms",transitionTimingFunction:"cubic-bezier(0, 0, 0.2, 1)",willChange:"transform"},activeStyle:{transform:"translate3d(0, 0, 0)"}},cells:{style:{paddingLeft:"16px",paddingRight:"16px",wordBreak:"break-word"}},rows:{style:{fontSize:"13px",color:e.text.primary,backgroundColor:e.background.default,minHeight:"48px","&:not(:last-of-type)":{borderBottomStyle:"solid",borderBottomWidth:"1px",borderBottomColor:e.divider.default}},denseStyle:{minHeight:"32px"},selectedHighlightStyle:{"&:nth-of-type(n)":{color:e.selected.text,backgroundColor:e.selected.default,borderBottomColor:e.background.default}},highlightOnHoverStyle:{color:e.highlightOnHover.text,backgroundColor:e.highlightOnHover.default,transitionDuration:"0.15s",transitionProperty:"background-color",borderBottomColor:e.background.default,outlineStyle:"solid",outlineWidth:"1px",outlineColor:e.background.default},stripedStyle:{color:e.striped.text,backgroundColor:e.striped.default}},expanderRow:{style:{color:e.text.primary,backgroundColor:e.background.default}},expanderCell:{style:{flex:"0 0 48px"}},expanderButton:{style:{color:e.button.default,fill:e.button.default,backgroundColor:"transparent",borderRadius:"2px",transition:"0.25s",height:"100%",width:"100%","&:hover:enabled":{cursor:"pointer"},"&:disabled":{color:e.button.disabled},"&:hover:not(:disabled)":{cursor:"pointer",backgroundColor:e.button.hover},"&:focus":{outline:"none",backgroundColor:e.button.focus},svg:{margin:"auto"}}},pagination:{style:{color:e.text.secondary,fontSize:"13px",minHeight:"56px",backgroundColor:e.background.default,borderTopStyle:"solid",borderTopWidth:"1px",borderTopColor:e.divider.default},pageButtonsStyle:{borderRadius:"50%",height:"40px",width:"40px",padding:"8px",margin:"px",cursor:"pointer",transition:"0.4s",color:e.button.default,fill:e.button.default,backgroundColor:"transparent","&:disabled":{cursor:"unset",color:e.button.disabled,fill:e.button.disabled},"&:hover:not(:disabled)":{backgroundColor:e.button.hover},"&:focus":{outline:"none",backgroundColor:e.button.focus}}},noData:{style:{display:"flex",alignItems:"center",justifyContent:"center",color:e.text.primary,backgroundColor:e.background.default}},progress:{style:{display:"flex",alignItems:"center",justifyContent:"center",color:e.text.primary,backgroundColor:e.background.default}}}},ar=r.memo((function(e){function t(e){return et({type:"CHANGE_PAGE",page:e,paginationServer:j,visibleOnly:_,persistSelectedOnPageChange:tt})}var n=e.data,o=e.columns,s=e.title,u=e.actions,f=e.keyField,h=e.striped,v=e.highlightOnHover,g=e.pointerOnHover,y=e.dense,b=e.selectableRows,w=e.selectableRowsHighlight,x=e.selectableRowsNoSelectAll,_=e.selectableRowsVisibleOnly,k=e.selectableRowSelected,S=e.selectableRowDisabled,M=e.selectableRowsComponent,T=e.selectableRowsComponentProps,E=e.onRowExpandToggled,C=e.onSelectedRowsChange,O=e.expandableIcon,D=e.onChangeRowsPerPage,N=e.onChangePage,j=e.paginationServer,A=e.paginationServerOptions,P=e.paginationTotalRows,R=e.paginationDefaultPage,I=e.paginationResetDefaultPage,F=e.paginationPerPage,L=e.paginationRowsPerPageOptions,z=e.paginationIconLastPage,B=e.paginationIconFirstPage,Z=e.paginationIconNext,W=e.paginationIconPrevious,H=e.paginationComponent,Y=e.paginationComponentOptions,U=e.className,V=e.style,q=e.responsive,G=e.overflowY,X=e.overflowYOffset,$=e.progressPending,Q=e.progressComponent,K=e.persistTableHead,J=e.noDataComponent,te=e.disabled,ne=e.noTableHead,re=e.noHeader,ie=e.fixedHeader,oe=e.fixedHeaderScrollHeight,ae=e.pagination,se=e.subHeader,ue=e.subHeaderAlign,le=e.subHeaderWrap,ce=e.subHeaderComponent,fe=e.noContextMenu,de=e.contextMessage,he=e.contextActions,pe=e.contextComponent,me=e.expandableRows,ve=e.onRowClicked,ge=e.onRowDoubleClicked,ye=e.sortIcon,be=e.onSort,we=e.sortFunction,ke=e.sortServer,Se=e.expandableRowsComponent,Ce=e.expandableRowDisabled,Oe=e.expandableRowsHideExpander,Ne=e.expandOnRowClicked,Ae=e.expandOnRowDoubleClicked,Pe=e.expandableRowExpanded,Re=e.expandableInheritConditionalStyles,Fe=e.defaultSortField,ze=e.defaultSortAsc,Be=e.clearSelectedRows,Ze=e.conditionalRowStyles,He=e.theme,Ye=e.customStyles,Ue=e.direction,Ve=(e={allSelected:!1,selectedCount:0,selectedRows:[],sortColumn:Fe,selectedColumn:{},sortDirection:Me(ze),currentPage:R,rowsPerPage:F},(ze=(Fe=p(r.useReducer(je,e),2))[0]).rowsPerPage),qe=ze.currentPage,Ge=ze.selectedRows,Xe=ze.allSelected,$e=ze.selectedCount,Qe=ze.sortColumn,Ke=ze.selectedColumn,Je=ze.sortDirection,et=Fe[1],tt=(F=A.persistSelectedOnSort,A.persistSelectedOnPageChange),nt=j&&(tt||F),rt=(e=ae&&!$&&0