diff --git a/asset-manifest.json b/asset-manifest.json index 6b5915d..0389168 100644 --- a/asset-manifest.json +++ b/asset-manifest.json @@ -1,21 +1,21 @@ { "files": { "main.css": "./static/css/main.e470b262.chunk.css", - "main.js": "./static/js/main.88c8073f.chunk.js", - "main.js.map": "./static/js/main.88c8073f.chunk.js.map", + "main.js": "./static/js/main.589a3784.chunk.js", + "main.js.map": "./static/js/main.589a3784.chunk.js.map", "runtime-main.js": "./static/js/runtime-main.e815d40d.js", "runtime-main.js.map": "./static/js/runtime-main.e815d40d.js.map", "static/css/2.2bf7be7f.chunk.css": "./static/css/2.2bf7be7f.chunk.css", - "static/js/2.50a019af.chunk.js": "./static/js/2.50a019af.chunk.js", - "static/js/2.50a019af.chunk.js.map": "./static/js/2.50a019af.chunk.js.map", + "static/js/2.96ddc299.chunk.js": "./static/js/2.96ddc299.chunk.js", + "static/js/2.96ddc299.chunk.js.map": "./static/js/2.96ddc299.chunk.js.map", "static/js/3.2bb250f7.chunk.js": "./static/js/3.2bb250f7.chunk.js", "static/js/3.2bb250f7.chunk.js.map": "./static/js/3.2bb250f7.chunk.js.map", "index.html": "./index.html", - "precache-manifest.3e1d715cbdfabd11a06835b92e31ec26.js": "./precache-manifest.3e1d715cbdfabd11a06835b92e31ec26.js", + "precache-manifest.93e3a4ea5a74be4410ae8de7e3f00755.js": "./precache-manifest.93e3a4ea5a74be4410ae8de7e3f00755.js", "service-worker.js": "./service-worker.js", "static/css/2.2bf7be7f.chunk.css.map": "./static/css/2.2bf7be7f.chunk.css.map", "static/css/main.e470b262.chunk.css.map": "./static/css/main.e470b262.chunk.css.map", - "static/js/2.50a019af.chunk.js.LICENSE.txt": "./static/js/2.50a019af.chunk.js.LICENSE.txt", + "static/js/2.96ddc299.chunk.js.LICENSE.txt": "./static/js/2.96ddc299.chunk.js.LICENSE.txt", "static/js/3.2bb250f7.chunk.js.LICENSE.txt": "./static/js/3.2bb250f7.chunk.js.LICENSE.txt", "static/media/semantic.min.css": "./static/media/outline-icons.ef60a4f6.woff", "static/media/index.css": "./static/media/topola.060eef13.jpg", @@ -24,8 +24,8 @@ "entrypoints": [ "static/js/runtime-main.e815d40d.js", "static/css/2.2bf7be7f.chunk.css", - "static/js/2.50a019af.chunk.js", + "static/js/2.96ddc299.chunk.js", "static/css/main.e470b262.chunk.css", - "static/js/main.88c8073f.chunk.js" + "static/js/main.589a3784.chunk.js" ] } \ No newline at end of file diff --git a/index.html b/index.html index de156fc..3719567 100644 --- a/index.html +++ b/index.html @@ -1 +1 @@ -Topola Genealogy Viewer
\ No newline at end of file +Topola Genealogy Viewer
\ No newline at end of file diff --git a/precache-manifest.3e1d715cbdfabd11a06835b92e31ec26.js b/precache-manifest.93e3a4ea5a74be4410ae8de7e3f00755.js similarity index 87% rename from precache-manifest.3e1d715cbdfabd11a06835b92e31ec26.js rename to precache-manifest.93e3a4ea5a74be4410ae8de7e3f00755.js index 49ab69d..c5da7ab 100644 --- a/precache-manifest.3e1d715cbdfabd11a06835b92e31ec26.js +++ b/precache-manifest.93e3a4ea5a74be4410ae8de7e3f00755.js @@ -1,23 +1,23 @@ self.__precacheManifest = (self.__precacheManifest || []).concat([ { - "revision": "5ff0052c16c1b50253df1645db5c5cf5", + "revision": "1cf934dbc628075fb8273647809b32b7", "url": "./index.html" }, { - "revision": "a9e0782e4b858ce55f47", + "revision": "6a1b298ac0771d024766", "url": "./static/css/2.2bf7be7f.chunk.css" }, { - "revision": "e293e6fe826d244fcabc", + "revision": "638548ec3eeb9a20881f", "url": "./static/css/main.e470b262.chunk.css" }, { - "revision": "a9e0782e4b858ce55f47", - "url": "./static/js/2.50a019af.chunk.js" + "revision": "6a1b298ac0771d024766", + "url": "./static/js/2.96ddc299.chunk.js" }, { "revision": "debce6332a77cb3ccaf9977a7d7b1c6f", - "url": "./static/js/2.50a019af.chunk.js.LICENSE.txt" + "url": "./static/js/2.96ddc299.chunk.js.LICENSE.txt" }, { "revision": "a87dc7b876f6ea5111db", @@ -28,8 +28,8 @@ self.__precacheManifest = (self.__precacheManifest || []).concat([ "url": "./static/js/3.2bb250f7.chunk.js.LICENSE.txt" }, { - "revision": "e293e6fe826d244fcabc", - "url": "./static/js/main.88c8073f.chunk.js" + "revision": "638548ec3eeb9a20881f", + "url": "./static/js/main.589a3784.chunk.js" }, { "revision": "f5a930ad183b086eff41", diff --git a/service-worker.js b/service-worker.js index 6486bd1..0c8f1fc 100644 --- a/service-worker.js +++ b/service-worker.js @@ -14,7 +14,7 @@ importScripts("https://storage.googleapis.com/workbox-cdn/releases/4.3.1/workbox-sw.js"); importScripts( - "./precache-manifest.3e1d715cbdfabd11a06835b92e31ec26.js" + "./precache-manifest.93e3a4ea5a74be4410ae8de7e3f00755.js" ); self.addEventListener('message', (event) => { diff --git a/static/js/2.50a019af.chunk.js b/static/js/2.50a019af.chunk.js deleted file mode 100644 index d9f5f2a..0000000 --- a/static/js/2.50a019af.chunk.js +++ /dev/null @@ -1,3 +0,0 @@ -/*! For license information please see 2.50a019af.chunk.js.LICENSE.txt */ -(this["webpackJsonptopola-viewer"]=this["webpackJsonptopola-viewer"]||[]).push([[2],[function(e,t,n){"use strict";e.exports=n(349)},function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},function(e,t){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},function(e,t){function n(){return e.exports=n=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:[],t=Array.isArray(e)?e:[e];t.forEach((function(e){e&&e.locale&&(a.a.__addLocaleData(e),s.a.__addLocaleData(e))}))}function b(e){var t=e&&e.toLowerCase();return!(!a.a.__localeData__[t]||!s.a.__localeData__[t])}var w="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},x=(function(){function e(e){this.value=e}function t(t){var n,r;function o(n,r){try{var a=t[n](r),u=a.value;u instanceof e?Promise.resolve(u.value).then((function(e){o("next",e)}),(function(e){o("throw",e)})):i(a.done?"return":"normal",a.value)}catch(s){i("throw",s)}}function i(e,t){switch(e){case"return":n.resolve({value:t,done:!0});break;case"throw":n.reject(t);break;default:n.resolve({value:t,done:!1})}(n=n.next)?o(n.key,n.arg):r=null}this._invoke=function(e,t){return new Promise((function(i,a){var u={key:e,arg:t,resolve:i,reject:a,next:null};r?r=r.next=u:(n=r=u,o(e,t))}))},"function"!==typeof t.return&&(this.return=void 0)}"function"===typeof Symbol&&Symbol.asyncIterator&&(t.prototype[Symbol.asyncIterator]=function(){return this}),t.prototype.next=function(e){return this._invoke("next",e)},t.prototype.throw=function(e){return this._invoke("throw",e)},t.prototype.return=function(e){return this._invoke("return",e)}}(),function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}),_=function(){function e(e,t){for(var n=0;n":">","<":"<",'"':""","'":"'"},K=/[&><"']/g;function Y(e){return(""+e).replace(K,(function(e){return G[e]}))}function X(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return t.reduce((function(t,r){return e.hasOwnProperty(r)?t[r]=e[r]:n.hasOwnProperty(r)&&(t[r]=n[r]),t}),{})}function Z(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.intl;h()(t,"[React Intl] Could not find required `intl` object. needs to exist in the component ancestry.")}function J(e,t){if(e===t)return!0;if("object"!==("undefined"===typeof e?"undefined":w(e))||null===e||"object"!==("undefined"===typeof t?"undefined":w(t))||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var o=Object.prototype.hasOwnProperty.bind(t),i=0;i3&&void 0!==arguments[3]?arguments[3]:{},s=a.intl,l=void 0===s?{}:s,c=u.intl,f=void 0===c?{}:c;return!J(t,r)||!J(n,o)||!(f===l||J(X(f,q),X(l,q)))}function te(e,t){return"[React Intl] "+e+(t?"\n"+t:"")}function ne(e){0}function re(e){return a.a.prototype._resolveLocale(e)}function oe(e){return a.a.prototype._findPluralRuleFunction(e)}var ie=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};x(this,e);var r="ordinal"===n.style,o=oe(re(t));this.format=function(e){return o(e,r)}},ae=Object.keys(V),ue=Object.keys(Q),se=Object.keys(H),le=Object.keys($),ce={second:60,minute:60,hour:24,day:30,month:12};function fe(e){var t=s.a.thresholds;t.second=e.second,t.minute=e.minute,t.hour=e.hour,t.day=e.day,t.month=e.month,t["second-short"]=e["second-short"],t["minute-short"]=e["minute-short"],t["hour-short"]=e["hour-short"],t["day-short"]=e["day-short"],t["month-short"]=e["month-short"]}function pe(e,t,n,r){var o=e&&e[t]&&e[t][n];if(o)return o;r(te("No "+t+" format named: "+n))}function de(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=e.locale,i=e.formats,a=e.messages,u=e.defaultLocale,s=e.defaultFormats,l=n.id,c=n.defaultMessage;h()(l,"[React Intl] An `id` must be provided to format a message.");var f=a&&a[l],p=Object.keys(r).length>0;if(!p)return f||c||l;var d=void 0,m=e.onError||ne;if(f)try{var y=t.getMessageFormat(f,o,i);d=y.format(r)}catch(g){m(te('Error formatting message: "'+l+'" for locale: "'+o+'"'+(c?", using default message as fallback.":""),g))}else(!c||o&&o.toLowerCase()!==u.toLowerCase())&&m(te('Missing message: "'+l+'" for locale: "'+o+'"'+(c?", using default message as fallback.":"")));if(!d&&c)try{var v=t.getMessageFormat(c,u,s);d=v.format(r)}catch(g){m(te('Error formatting the default message for: "'+l+'"',g))}return d||m(te('Cannot format message: "'+l+'", using message '+(f||c?"source":"id")+" as fallback.")),d||f||c||l}var he=Object.freeze({formatDate:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=e.locale,i=e.formats,a=e.timeZone,u=r.format,s=e.onError||ne,l=new Date(n),c=k({},a&&{timeZone:a},u&&pe(i,"date",u,s)),f=X(r,ae,c);try{return t.getDateTimeFormat(o,f).format(l)}catch(p){s(te("Error formatting date.",p))}return String(l)},formatTime:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=e.locale,i=e.formats,a=e.timeZone,u=r.format,s=e.onError||ne,l=new Date(n),c=k({},a&&{timeZone:a},u&&pe(i,"time",u,s)),f=X(r,ae,c);f.hour||f.minute||f.second||(f=k({},f,{hour:"numeric",minute:"numeric"}));try{return t.getDateTimeFormat(o,f).format(l)}catch(p){s(te("Error formatting time.",p))}return String(l)},formatRelative:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=e.locale,i=e.formats,a=r.format,u=e.onError||ne,l=new Date(n),c=new Date(r.now),f=a&&pe(i,"relative",a,u),p=X(r,se,f),d=k({},s.a.thresholds);fe(ce);try{return t.getRelativeFormat(o,p).format(l,{now:isFinite(c)?c:t.now()})}catch(h){u(te("Error formatting relative time.",h))}finally{fe(d)}return String(l)},formatNumber:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=e.locale,i=e.formats,a=r.format,u=e.onError||ne,s=a&&pe(i,"number",a,u),l=X(r,ue,s);try{return t.getNumberFormat(o,l).format(n)}catch(c){u(te("Error formatting number.",c))}return String(n)},formatPlural:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=e.locale,i=X(r,le),a=e.onError||ne;try{return t.getPluralFormat(o,i).format(n)}catch(u){a(te("Error formatting plural.",u))}return"other"},formatMessage:de,formatHTMLMessage:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=Object.keys(r).reduce((function(e,t){var n=r[t];return e[t]="string"===typeof n?Y(n):n,e}),{});return de(e,t,n,o)}}),me=Object.keys(B),ye=Object.keys(U),ve={formats:{},messages:{},timeZone:null,textComponent:"span",defaultLocale:"en",defaultFormats:{},onError:ne},ge=function(e){function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};x(this,t);var r=j(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));h()("undefined"!==typeof Intl,"[React Intl] The `Intl` APIs must be available in the runtime, and do not appear to be built-in. An `Intl` polyfill should be loaded.\nSee: http://formatjs.io/guides/runtime-environments/");var o=n.intl,i=void 0;i=isFinite(e.initialNow)?Number(e.initialNow):o?o.now():Date.now();var u=o||{},l=u.formatters,c=void 0===l?{getDateTimeFormat:y(Intl.DateTimeFormat),getNumberFormat:y(Intl.NumberFormat),getMessageFormat:y(a.a),getRelativeFormat:y(s.a),getPluralFormat:y(ie)}:l;return r.state=k({},c,{now:function(){return r._didDisplay?Date.now():i}}),r}return O(t,e),_(t,[{key:"getConfig",value:function(){var e=this.context.intl,t=X(this.props,me,e);for(var n in ve)void 0===t[n]&&(t[n]=ve[n]);if(!function(e){for(var t=(e||"").split("-");t.length>0;){if(b(t.join("-")))return!0;t.pop()}return!1}(t.locale)){var r=t,o=r.locale,i=r.defaultLocale,a=r.defaultFormats;(0,r.onError)(te('Missing locale data for locale: "'+o+'". Using default locale: "'+i+'" as fallback.')),t=k({},t,{locale:i,formats:a,messages:ve.messages})}return t}},{key:"getBoundFormatFns",value:function(e,t){return ye.reduce((function(n,r){return n[r]=he[r].bind(null,e,t),n}),{})}},{key:"getChildContext",value:function(){var e=this.getConfig(),t=this.getBoundFormatFns(e,this.state),n=this.state,r=n.now,o=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(n,["now"]);return{intl:k({},e,t,{formatters:o,now:r})}}},{key:"shouldComponentUpdate",value:function(){for(var e=arguments.length,t=Array(e),n=0;n1?o-1:0),a=1;a0){var v=Math.floor(1099511627776*Math.random()).toString(16),g=function(){var e=0;return function(){return"ELEMENT-"+v+"-"+(e+=1)}}();h="@__"+v+"__@",m={},y={},Object.keys(l).forEach((function(e){var t=l[e];if(Object(f.isValidElement)(t)){var n=g();m[e]=h+n+h,y[n]=t}else m[e]=t}))}var b=n({id:a,description:u,defaultMessage:s},m||l),w=void 0;return w=y&&Object.keys(y).length>0?b.split(h).filter((function(e){return!!e})).map((function(e){return y[e]||e})):[b],"function"===typeof d?d.apply(void 0,S(w)):f.createElement.apply(void 0,[p,null].concat(S(w)))}}]),t}(f.Component);je.displayName="FormattedMessage",je.contextTypes={intl:W},je.defaultProps={values:{}};var Se=function(e){function t(e,n){x(this,t);var r=j(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return Z(n),r}return O(t,e),_(t,[{key:"shouldComponentUpdate",value:function(e){var t=this.props.values,n=e.values;if(!J(n,t))return!0;for(var r=k({},e,{values:t}),o=arguments.length,i=Array(o>1?o-1:0),a=1;a=e.length?{done:!0}:{done:!1,value:e[t++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,i,a=!0,u=!1;return{s:function(){o=e[Symbol.iterator]()},n:function(){var e=o.next();return a=e.done,e},e:function(e){u=!0,i=e},f:function(){try{a||null==o.return||o.return()}finally{if(u)throw i}}}}},function(e,t,n){var r=n(2);e.exports=function(e){for(var t=1;t1&&"boolean"!==typeof t)throw new TypeError('"allowMissing" argument must be a boolean');for(var n=m(e),i=y("%"+(n.length>0?n[0]:"")+"%",t),a=1;a=n.length){var u=o(i,n[a]);if(!t&&!(n[a]in i))throw new r("base intrinsic for "+e+" exists, but the property is not available.");i=u?u.get||u.value:i[n[a]]}else i=i[n[a]];return i}},function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"e",(function(){return u})),n.d(t,"b",(function(){return s})),n.d(t,"c",(function(){return l})),n.d(t,"d",(function(){return c})),n.d(t,"f",(function(){return f})),n.d(t,"g",(function(){return p}));var r=n(41),o=n.n(r),i=n(88),a=function(e,t){return e&&t},u=function(e,t){return e&&!0!==e&&"".concat(e," ").concat(t)},s=function(e,t){return e&&(!0===e?t:"".concat(e," ").concat(t))},l=function(e,t){return e&&!0!==e?e.replace("large screen","large-screen").replace(/ vertically/g,"-vertically").split(" ").map((function(e){return"".concat(e.replace("-"," ")," ").concat(t)})).join(" "):null},c=function(e){return"justified"===e?"justified":u(e,"aligned")},f=function(e){return u(e,"aligned")},p=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(n&&"equal"===e)return"equal width";var r=o()(e);return"string"!==r&&"number"!==r||!t?Object(i.a)(e):"".concat(Object(i.a)(e)," ").concat(t)}},function(e,t,n){"use strict";for(var r=function(e){return null!==e&&!Array.isArray(e)&&"object"===typeof e},o={3:"Cancel",6:"Help",8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",28:"Convert",29:"NonConvert",30:"Accept",31:"ModeChange",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",41:"Select",42:"Print",43:"Execute",44:"PrintScreen",45:"Insert",46:"Delete",48:["0",")"],49:["1","!"],50:["2","@"],51:["3","#"],52:["4","$"],53:["5","%"],54:["6","^"],55:["7","&"],56:["8","*"],57:["9","("],91:"OS",93:"ContextMenu",144:"NumLock",145:"ScrollLock",181:"VolumeMute",182:"VolumeDown",183:"VolumeUp",186:[";",":"],187:["=","+"],188:[",","<"],189:["-","_"],190:[".",">"],191:["/","?"],192:["`","~"],219:["[","{"],220:["\\","|"],221:["]","}"],222:["'",'"'],224:"Meta",225:"AltGraph",246:"Attn",247:"CrSel",248:"ExSel",249:"EraseEof",250:"Play",251:"ZoomOut"},i=0;i<24;i+=1)o[112+i]="F"+(i+1);for(var a=0;a<26;a+=1){var u=a+65;o[u]=[String.fromCharCode(u+32),String.fromCharCode(u)]}var s={codes:o,getCode:function(e){return r(e)?e.keyCode||e.which||this[e.key]:this[e]},getKey:function(e){var t=r(e);if(t&&e.key)return e.key;var n=o[t?e.keyCode||e.which:e];return Array.isArray(n)&&(n=t?n[e.shiftKey?1:0]:n[0]),n},Cancel:3,Help:6,Backspace:8,Tab:9,Clear:12,Enter:13,Shift:16,Control:17,Alt:18,Pause:19,CapsLock:20,Escape:27,Convert:28,NonConvert:29,Accept:30,ModeChange:31," ":32,PageUp:33,PageDown:34,End:35,Home:36,ArrowLeft:37,ArrowUp:38,ArrowRight:39,ArrowDown:40,Select:41,Print:42,Execute:43,PrintScreen:44,Insert:45,Delete:46,0:48,")":48,1:49,"!":49,2:50,"@":50,3:51,"#":51,4:52,$:52,5:53,"%":53,6:54,"^":54,7:55,"&":55,8:56,"*":56,9:57,"(":57,a:65,A:65,b:66,B:66,c:67,C:67,d:68,D:68,e:69,E:69,f:70,F:70,g:71,G:71,h:72,H:72,i:73,I:73,j:74,J:74,k:75,K:75,l:76,L:76,m:77,M:77,n:78,N:78,o:79,O:79,p:80,P:80,q:81,Q:81,r:82,R:82,s:83,S:83,t:84,T:84,u:85,U:85,v:86,V:86,w:87,W:87,x:88,X:88,y:89,Y:89,z:90,Z:90,OS:91,ContextMenu:93,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,F13:124,F14:125,F15:126,F16:127,F17:128,F18:129,F19:130,F20:131,F21:132,F22:133,F23:134,F24:135,NumLock:144,ScrollLock:145,VolumeMute:181,VolumeDown:182,VolumeUp:183,";":186,":":186,"=":187,"+":187,",":188,"<":188,"-":189,_:189,".":190,">":190,"/":191,"?":191,"`":192,"~":192,"[":219,"{":219,"\\":220,"|":220,"]":221,"}":221,"'":222,'"':222,Meta:224,AltGraph:225,Attn:246,CrSel:247,ExSel:248,EraseEof:249,Play:250,ZoomOut:251};s.Spacebar=s[" "],s.Digit0=s[0],s.Digit1=s[1],s.Digit2=s[2],s.Digit3=s[3],s.Digit4=s[4],s.Digit5=s[5],s.Digit6=s[6],s.Digit7=s[7],s.Digit8=s[8],s.Digit9=s[9],s.Tilde=s["~"],s.GraveAccent=s["`"],s.ExclamationPoint=s["!"],s.AtSign=s["@"],s.PoundSign=s["#"],s.PercentSign=s["%"],s.Caret=s["^"],s.Ampersand=s["&"],s.PlusSign=s["+"],s.MinusSign=s["-"],s.EqualsSign=s["="],s.DivisionSign=s["/"],s.MultiplicationSign=s["*"],s.Comma=s[","],s.Decimal=s["."],s.Colon=s[":"],s.Semicolon=s[";"],s.Pipe=s["|"],s.BackSlash=s["\\"],s.QuestionMark=s["?"],s.SingleQuote=s["'"],s.DoubleQuote=s['"'],s.LeftCurlyBrace=s["{"],s.RightCurlyBrace=s["}"],s.LeftParenthesis=s["("],s.RightParenthesis=s[")"],s.LeftAngleBracket=s["<"],s.RightAngleBracket=s[">"],s.LeftSquareBracket=s["["],s.RightSquareBracket=s["]"],e.exports=s},function(e,t){var n=Array.isArray;e.exports=n},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(90);function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Object(r.a)(e,t)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n(108),o=n(146);function i(e){return(i="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var a=n(96);function u(e,t){return!t||"object"!==i(t)&&"function"!==typeof t?Object(a.a)(e):t}function s(e){return function(){var t,n=Object(r.a)(e);if(Object(o.a)()){var i=Object(r.a)(this).constructor;t=Reflect.construct(n,arguments,i)}else t=n.apply(this,arguments);return u(this,t)}}},function(e,t,n){var r=n(68),o=n(52),i=n(517),a=n(24);e.exports=function(e,t){return(a(e)?r:i)(e,o(t,3))}},function(e,t,n){"use strict";n.r(t),n.d(t,"create",(function(){return i})),n.d(t,"creator",(function(){return r.a})),n.d(t,"local",(function(){return u})),n.d(t,"matcher",(function(){return l.a})),n.d(t,"mouse",(function(){return c.a})),n.d(t,"namespace",(function(){return f.a})),n.d(t,"namespaces",(function(){return p.a})),n.d(t,"clientPoint",(function(){return d.a})),n.d(t,"select",(function(){return o.a})),n.d(t,"selectAll",(function(){return m})),n.d(t,"selection",(function(){return h.b})),n.d(t,"selector",(function(){return y.a})),n.d(t,"selectorAll",(function(){return v.a})),n.d(t,"style",(function(){return g.b})),n.d(t,"touch",(function(){return b.a})),n.d(t,"touches",(function(){return x})),n.d(t,"window",(function(){return _.a})),n.d(t,"event",(function(){return k.c})),n.d(t,"customEvent",(function(){return k.a}));var r=n(56),o=n(145),i=function(e){return Object(o.a)(Object(r.a)(e).call(document.documentElement))},a=0;function u(){return new s}function s(){this._="@"+(++a).toString(36)}s.prototype=u.prototype={constructor:s,get:function(e){for(var t=this._;!(t in e);)if(!(e=e.parentNode))return;return e[t]},set:function(e,t){return e[this._]=t},remove:function(e){return this._ in e&&delete e[this._]},toString:function(){return this._}};var l=n(142),c=n(215),f=n(85),p=n(59),d=n(57),h=n(46),m=function(e){return"string"===typeof e?new h.a([document.querySelectorAll(e)],[document.documentElement]):new h.a([null==e?[]:e],h.c)},y=n(86),v=n(143),g=n(144),b=n(216),w=n(91),x=function(e,t){null==t&&(t=Object(w.a)().touches);for(var n=0,r=t?t.length:0,o=new Array(r);n-1:!!c&&r(e,t,n)>-1}},function(e,t){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},function(e,t,n){var r=n(128),o=n(54),i=n(125),a=n(24),u=n(40),s=n(126),l=n(129),c=n(180),f=Object.prototype.hasOwnProperty;e.exports=function(e){if(null==e)return!0;if(u(e)&&(a(e)||"string"==typeof e||"function"==typeof e.splice||s(e)||c(e)||i(e)))return!e.length;var t=o(e);if("[object Map]"==t||"[object Set]"==t)return!e.size;if(l(e))return!r(e).length;for(var n in e)if(f.call(e,n))return!1;return!0}},function(e,t,n){"use strict";n.d(t,"c",(function(){return G})),n.d(t,"a",(function(){return K}));var r=n(86),o=n(143),i=n(142),a=function(e){return new Array(e.length)};function u(e,t){this.ownerDocument=e.ownerDocument,this.namespaceURI=e.namespaceURI,this._next=null,this._parent=e,this.__data__=t}u.prototype={constructor:u,appendChild:function(e){return this._parent.insertBefore(e,this._next)},insertBefore:function(e,t){return this._parent.insertBefore(e,t)},querySelector:function(e){return this._parent.querySelector(e)},querySelectorAll:function(e){return this._parent.querySelectorAll(e)}};function s(e,t,n,r,o,i){for(var a,s=0,l=t.length,c=i.length;st?1:e>=t?0:NaN}var f=n(85);function p(e){return function(){this.removeAttribute(e)}}function d(e){return function(){this.removeAttributeNS(e.space,e.local)}}function h(e,t){return function(){this.setAttribute(e,t)}}function m(e,t){return function(){this.setAttributeNS(e.space,e.local,t)}}function y(e,t){return function(){var n=t.apply(this,arguments);null==n?this.removeAttribute(e):this.setAttribute(e,n)}}function v(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)}}var g=n(144);function b(e){return function(){delete this[e]}}function w(e,t){return function(){this[e]=t}}function x(e,t){return function(){var n=t.apply(this,arguments);null==n?delete this[e]:this[e]=n}}function _(e){return e.trim().split(/^|\s+/)}function k(e){return e.classList||new O(e)}function O(e){this._node=e,this._names=_(e.getAttribute("class")||"")}function j(e,t){for(var n=k(e),r=-1,o=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}};function P(){this.textContent=""}function N(e){return function(){this.textContent=e}}function A(e){return function(){var t=e.apply(this,arguments);this.textContent=null==t?"":t}}function I(){this.innerHTML=""}function M(e){return function(){this.innerHTML=e}}function F(e){return function(){var t=e.apply(this,arguments);this.innerHTML=null==t?"":t}}function D(){this.nextSibling&&this.parentNode.appendChild(this)}function L(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}var R=n(56);function z(){return null}function B(){var e=this.parentNode;e&&e.removeChild(this)}function U(){var e=this.cloneNode(!1),t=this.parentNode;return t?t.insertBefore(e,this.nextSibling):e}function W(){var e=this.cloneNode(!0),t=this.parentNode;return t?t.insertBefore(e,this.nextSibling):e}var V=n(73),Q=n(87);function H(e,t,n){var r=Object(Q.a)(e),o=r.CustomEvent;"function"===typeof o?o=new o(t,n):(o=r.document.createEvent("Event"),n?(o.initEvent(t,n.bubbles,n.cancelable),o.detail=n.detail):o.initEvent(t,!1,!1)),e.dispatchEvent(o)}function $(e,t){return function(){return H(this,e,t)}}function q(e,t){return function(){return H(this,e,t.apply(this,arguments))}}var G=[null];function K(e,t){this._groups=e,this._parents=t}function Y(){return new K([[document.documentElement]],G)}K.prototype=Y.prototype={constructor:K,select:function(e){"function"!==typeof e&&(e=Object(r.a)(e));for(var t=this._groups,n=t.length,o=new Array(n),i=0;i=k&&(k=_+1);!(x=b[k])&&++k=0;)(r=o[i])&&(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=c);for(var n=this._groups,r=n.length,o=new Array(r),i=0;i1?this.each((null==t?b:"function"===typeof t?x:w)(e,t)):this.node()[e]},classed:function(e,t){var n=_(e+"");if(arguments.length<2){for(var r=k(this.node()),o=-1,i=n.length;++o=0;p--){var d=a[p];"."===d?i(a,p):".."===d?(i(a,p),f++):f&&(i(a,p),f--)}if(!l)for(;f--;f)a.unshift("..");!l||""===a[0]||a[0]&&o(a[0])||a.unshift("");var h=a.join("/");return n&&"/"!==h.substr(-1)&&(h+="/"),h};function u(e){return e.valueOf?e.valueOf():Object.prototype.valueOf.call(e)}var s=function e(t,n){if(t===n)return!0;if(null==t||null==n)return!1;if(Array.isArray(t))return Array.isArray(n)&&t.length===n.length&&t.every((function(t,r){return e(t,n[r])}));if("object"===typeof t||"object"===typeof n){var r=u(t),o=u(n);return r!==t||o!==n?e(r,o):Object.keys(Object.assign({},t,n)).every((function(r){return e(t[r],n[r])}))}return!1};var l=function(e,t){if(!e)throw new Error("Invariant failed")};function c(e){return"/"===e.charAt(0)?e:"/"+e}function f(e){return"/"===e.charAt(0)?e.substr(1):e}function p(e,t){return function(e,t){return 0===e.toLowerCase().indexOf(t.toLowerCase())&&-1!=="/?#".indexOf(e.charAt(t.length))}(e,t)?e.substr(t.length):e}function d(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function h(e){var t=e.pathname,n=e.search,r=e.hash,o=t||"/";return n&&"?"!==n&&(o+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(o+="#"===r.charAt(0)?r:"#"+r),o}function m(e,t,n,o){var i;"string"===typeof e?(i=function(e){var t=e||"/",n="",r="",o=t.indexOf("#");-1!==o&&(r=t.substr(o),t=t.substr(0,o));var i=t.indexOf("?");return-1!==i&&(n=t.substr(i),t=t.substr(0,i)),{pathname:t,search:"?"===n?"":n,hash:"#"===r?"":r}}(e)).state=t:(void 0===(i=r({},e)).pathname&&(i.pathname=""),i.search?"?"!==i.search.charAt(0)&&(i.search="?"+i.search):i.search="",i.hash?"#"!==i.hash.charAt(0)&&(i.hash="#"+i.hash):i.hash="",void 0!==t&&void 0===i.state&&(i.state=t));try{i.pathname=decodeURI(i.pathname)}catch(u){throw u instanceof URIError?new URIError('Pathname "'+i.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):u}return n&&(i.key=n),o?i.pathname?"/"!==i.pathname.charAt(0)&&(i.pathname=a(i.pathname,o.pathname)):i.pathname=o.pathname:i.pathname||(i.pathname="/"),i}function y(e,t){return e.pathname===t.pathname&&e.search===t.search&&e.hash===t.hash&&e.key===t.key&&s(e.state,t.state)}function v(){var e=null;var t=[];return{setPrompt:function(t){return e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,n,r,o){if(null!=e){var i="function"===typeof e?e(t,n):e;"string"===typeof i?"function"===typeof r?r(i,o):o(!0):o(!1!==i)}else o(!0)},appendListener:function(e){var n=!0;function r(){n&&e.apply(void 0,arguments)}return t.push(r),function(){n=!1,t=t.filter((function(e){return e!==r}))}},notifyListeners:function(){for(var e=arguments.length,n=new Array(e),r=0;re.parent.data.generation?[e.data,e.parent.data]:[e.parent.data,e.data],n=t[0],r=t[1];return n.additionalMarriage?n.id+":A":r.id+":"+n.id}t.linkId=a,t.getChartInfo=function(e){var t=i.min(e,(function(e){return e.x-e.data.width/2}))-15,n=i.min(e,(function(e){return e.y-e.data.height/2}))-15;return{size:[i.max(e,(function(e){return e.x+e.data.width/2}))+15-t,i.max(e,(function(e){return e.y+e.data.height/2}))+15-n],origin:[-t,-n]}},t.getChartInfoWithoutMargin=function(e){var t=i.min(e,(function(e){return e.x-e.data.width/2})),n=i.min(e,(function(e){return e.y-e.data.height/2}));return{size:[i.max(e,(function(e){return e.x+e.data.width/2}))-t,i.max(e,(function(e){return e.y+e.data.height/2}))-n],origin:[-t,-n]}};var u=function(){function e(e){this.options=e}return e.prototype.linkHorizontal=function(e,t){var n=this.options.renderer.getFamilyAnchor(e.data),r=e.id===t.data.spouseParentNodeId?this.options.renderer.getSpouseAnchor(t.data):this.options.renderer.getIndiAnchor(t.data),o=[e.x+n[0],e.y+n[1]],i=o[0],a=o[1],u=[t.x+r[0],t.y+r[1]],s=u[0],l=u[1],c=(e.x+e.data.width/2+t.x-t.data.width/2)/2;return"M "+i+" "+a+"\n L "+c+" "+a+",\n "+c+" "+l+",\n "+s+" "+l},e.prototype.linkVertical=function(e,n){var r=this.options.renderer.getFamilyAnchor(e.data),o=e.id===n.data.spouseParentNodeId?this.options.renderer.getSpouseAnchor(n.data):this.options.renderer.getIndiAnchor(n.data),i=[e.x+r[0],e.y+r[1]],a=i[0],u=i[1],s=[n.x+o[0],n.y+o[1]],l=s[0],c=s[1],f=e.y+e.data.height/2+t.V_SPACING/2;return"M "+a+" "+u+"\n L "+a+" "+f+",\n "+l+" "+f+",\n "+l+" "+c},e.prototype.linkAdditionalMarriage=function(e){var t=e.parent.children.findIndex((function(t){return t.data.id===e.data.id})),n=e.parent.children[t-1],r=this.options.renderer.getIndiAnchor(e.data),o=this.options.renderer.getIndiAnchor(n.data),i=[e.x+r[0],e.y+r[1]],a=i[0],u=i[1],s=[n.x+o[0],n.y+o[1]];return"M "+a+", "+u+"\n L "+s[0]+", "+s[1]},e.prototype.updateSvgDimensions=function(e){var t=r.select(this.options.svgSelector).select("g");(this.options.animate?t.transition().delay(200).duration(500):t).attr("transform","translate("+e.origin[0]+", "+e.origin[1]+")")},e.prototype.layOutChart=function(e,n){var a=this;void 0===n&&(n={});var u=r.select(this.options.svgSelector);u.select("style").empty()&&u.append("style").text(this.options.renderer.getCss()),e.each((function(e){e.data.generation=e.depth*(n.flipVertically?-1:1)+(a.options.baseGeneration||0)})),this.options.renderer.updateNodes(e.descendants());var s=new Map;e.each((function(e){var t=e.depth,n=i.max([a.options.horizontal?e.data.width:e.data.height,s.get(t)]);s.set(t,n)})),e.each((function(e){var t=s.get(e.depth);a.options.horizontal?e.data.width=t:e.data.height=t}));var l=void 0!==n.vSpacing?n.vSpacing:t.V_SPACING,c=void 0!==n.hSpacing?n.hSpacing:t.H_SPACING,f=o.flextree().nodeSize((function(e){if(a.options.horizontal){var t=i.max(e.children||[],(function(e){return e.data.width}))||0;return[e.data.height,(t+e.data.width)/2+l]}var n=i.max(e.children||[],(function(e){return e.data.height}))||0;return[e.data.width,(n+e.data.height)/2+l]})).spacing((function(e,t){return c}))(e).descendants();return f.forEach((function(e){var t;n.flipVertically&&(e.y=-e.y),a.options.horizontal&&(t=[e.y,e.x],e.x=t[0],e.y=t[1])})),f},e.prototype.renderChart=function(e){var t=this.getSvgForRendering(),n=this.renderNodes(e,t),r=this.renderLinks(e,t);return Promise.all([n,r])},e.prototype.renderNodes=function(e,t){var n=this;return new Promise((function(r){var o=t.select("g").selectAll("g.node").data(e,(function(e){return e.id})),i=o.enter().append("g"),a=o.exit().size()+o.size()+i.size(),u=function(){0===--a&&r()};n.options.animate||r(),i.merge(o).attr("class",(function(e){return"node generation"+e.data.generation})),i.attr("transform",(function(e){return"translate("+(e.x-e.data.width/2)+", "+(e.y-e.data.height/2)+")"})),n.options.animate&&i.style("opacity",0).transition().delay(700).duration(200).style("opacity",1).on("end",u),(n.options.animate?o.transition().delay(200).duration(500).on("end",u):o).attr("transform",(function(e){return"translate("+(e.x-e.data.width/2)+", "+(e.y-e.data.height/2)+")"})),n.options.renderer.render(i,o),n.options.animate?o.exit().transition().duration(200).style("opacity",0).remove().on("end",u):o.exit().remove()}))},e.prototype.renderLinks=function(e,t){var n=this;return new Promise((function(r){var o=function(e,t){if(t.data.additionalMarriage)return n.linkAdditionalMarriage(t);var r=e.data.generation>t.data.generation;return n.options.horizontal?r?n.linkHorizontal(t,e):n.linkHorizontal(e,t):r?n.linkVertical(t,e):n.linkVertical(e,t)},i=e.filter((function(e){return!!e.parent||e.data.additionalMarriage})),u=t.select("g").selectAll("path.link").data(i,a),s=u.enter().insert("path","g").attr("class",(function(e){return e.data.additionalMarriage?"link additional-marriage":"link"})).attr("d",(function(e){return o(e.parent,e)})),l=u.exit().size()+u.size()+s.size(),c=function(){0===--l&&r()};n.options.animate||r(),(n.options.animate?u.transition().delay(200).duration(500).on("end",c):u).attr("d",(function(e){return o(e.parent,e)})),n.options.animate&&s.style("opacity",0).transition().delay(900).duration(0).style("opacity",1).on("end",c),n.options.animate?u.exit().transition().duration(0).style("opacity",0).remove().on("end",c):u.exit().remove()}))},e.prototype.getSvgForRendering=function(){var e=r.select(this.options.svgSelector);return e.select("g").empty()&&e.append("g"),e},e}();t.ChartUtil=u},function(e,t,n){var r=n(35).Symbol;e.exports=r},function(e,t,n){var r=n(398),o=n(401);e.exports=function(e,t){var n=o(e,t);return r(n)?n:void 0}},function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++nt?1:e>=t?0:NaN},o=function(e){var t=e,n=e;function o(e,t,r,o){for(null==r&&(r=0),null==o&&(o=e.length);r>>1;n(e[i],t)<0?r=i+1:o=i}return r}return 1===e.length&&(t=function(t,n){return e(t)-n},n=function(e){return function(t,n){return r(e(t),n)}}(e)),{left:o,center:function(e,n,r,i){null==r&&(r=0),null==i&&(i=e.length);var a=o(e,n,r,i-1);return a>r&&t(e[a-1],n)>-t(e[a],n)?a-1:a},right:function(e,t,r,o){for(null==r&&(r=0),null==o&&(o=e.length);r>>1;n(e[i],t)>0?o=i:r=i+1}return r}}};var i=n(9),a=n.n(i),u=n(16),s=a.a.mark(c),l=function(e){return null===e?NaN:+e};function c(e,t){var n,r,o,i,l,c,f;return a.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:if(void 0!==t){a.next=21;break}n=Object(u.a)(e),a.prev=2,n.s();case 4:if((r=n.n()).done){a.next=11;break}if(!(null!=(o=r.value)&&(o=+o)>=o)){a.next=9;break}return a.next=9,o;case 9:a.next=4;break;case 11:a.next=16;break;case 13:a.prev=13,a.t0=a.catch(2),n.e(a.t0);case 16:return a.prev=16,n.f(),a.finish(16);case 19:a.next=40;break;case 21:i=-1,l=Object(u.a)(e),a.prev=23,l.s();case 25:if((c=l.n()).done){a.next=32;break}if(f=c.value,!(null!=(f=t(f,++i,e))&&(f=+f)>=f)){a.next=30;break}return a.next=30,f;case 30:a.next=25;break;case 32:a.next=37;break;case 34:a.prev=34,a.t1=a.catch(23),l.e(a.t1);case 37:return a.prev=37,l.f(),a.finish(37);case 40:case"end":return a.stop()}}),s,null,[[2,13,16,19],[23,34,37,40]])}var f=o(r),p=f.right,d=f.left,h=o(l).center,m=p;function y(e,t){var n=0;if(void 0===t){var r,o=Object(u.a)(e);try{for(o.s();!(r=o.n()).done;){var i=r.value;null!=i&&(i=+i)>=i&&++n}}catch(f){o.e(f)}finally{o.f()}}else{var a,s=-1,l=Object(u.a)(e);try{for(l.s();!(a=l.n()).done;){var c=a.value;null!=(c=t(c,++s,e))&&(c=+c)>=c&&++n}}catch(f){l.e(f)}finally{l.f()}}return n}var v=n(31);function g(e){return 0|e.length}function b(e){return!(e>0)}function w(e){return"object"!==typeof e||"length"in e?e:Array.from(e)}function x(e){return function(t){return e.apply(void 0,Object(v.a)(t))}}function _(){for(var e=arguments.length,t=new Array(e),n=0;ne?1:t>=e?0:NaN};function j(e,t){var n,r=0,o=0,i=0;if(void 0===t){var a,s=Object(u.a)(e);try{for(s.s();!(a=s.n()).done;){var l=a.value;null!=l&&(l=+l)>=l&&(i+=(n=l-o)*(l-(o+=n/++r)))}}catch(h){s.e(h)}finally{s.f()}}else{var c,f=-1,p=Object(u.a)(e);try{for(p.s();!(c=p.n()).done;){var d=c.value;null!=(d=t(d,++f,e))&&(d=+d)>=d&&(i+=(n=d-o)*(d-(o+=n/++r)))}}catch(h){p.e(h)}finally{p.f()}}if(r>1)return i/(r-1)}function S(e,t){var n=j(e,t);return n?Math.sqrt(n):n}var E=function(e,t){var n,r;if(void 0===t){var o,i=Object(u.a)(e);try{for(i.s();!(o=i.n()).done;){var a=o.value;null!=a&&(void 0===n?a>=a&&(n=r=a):(n>a&&(n=a),r=f&&(n=r=f):(n>f&&(n=f),r0){for(i=r[--o];o>0&&(e=i,!(n=(t=r[--o])-((i=e+t)-e))););o>0&&(n<0&&r[o-1]<0||n>0&&r[o-1]>0)&&(t=2*n)==(e=i+t)-i&&(i=e)}return i}}]),e}(),N=function(e,t){var n=new P;if(void 0===t){var r,o=Object(u.a)(e);try{for(o.s();!(r=o.n()).done;){var i=r.value;(i=+i)&&n.add(i)}}catch(f){o.e(f)}finally{o.f()}}else{var a,s=-1,l=Object(u.a)(e);try{for(l.s();!(a=l.n()).done;){var c=a.value;(c=+t(c,++s,e))&&n.add(c)}}catch(f){l.e(f)}finally{l.f()}}return+n},A=n(48),I=function(e){return e};function M(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r1?t-1:0),r=1;r2?n-2:0),o=2;o2?n-2:0),o=2;o1?t-1:0),r=1;r1?t-1:0),r=1;r=r.length)return n(o);var a,s=new Map,l=r[i++],c=-1,f=Object(u.a)(o);try{for(f.s();!(a=f.n()).done;){var p=a.value,d=l(p,++c,o),h=s.get(d);h?h.push(p):s.set(d,[p])}}catch(w){f.e(w)}finally{f.f()}var m,y=Object(u.a)(s);try{for(y.s();!(m=y.n()).done;){var v=Object(A.a)(m.value,2),g=v[0],b=v[1];s.set(g,e(b,i))}}catch(w){y.e(w)}finally{y.f()}return t(s)}(e,0)}var W=Array.prototype,V=W.slice,Q=(W.map,function(e){return function(){return e}}),H=Math.sqrt(50),$=Math.sqrt(10),q=Math.sqrt(2),G=function(e,t,n){var r,o,i,a,u=-1;if(n=+n,(e=+e)===(t=+t)&&n>0)return[e];if((r=t0)for(e=Math.ceil(e/a),t=Math.floor(t/a),i=new Array(o=Math.ceil(t-e+1));++u=0?(i>=H?10:i>=$?5:i>=q?2:1)*Math.pow(10,o):-Math.pow(10,-o)/(i>=H?10:i>=$?5:i>=q?2:1)}function Y(e,t,n){var r=Math.abs(t-e)/Math.max(0,n),o=Math.pow(10,Math.floor(Math.log(r)/Math.LN10)),i=r/o;return i>=H?o*=10:i>=$?o*=5:i>=q&&(o*=2),tc;)f.pop(),--p;var d,h=new Array(p+1);for(o=0;o<=p;++o)(d=h[o]=[]).x0=o>0?f[o-1]:l,d.x1=o2&&void 0!==arguments[2]?arguments[2]:0,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e.length-1,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:r;o>n;){if(o-n>600){var a=o-n+1,u=t-n+1,s=Math.log(a),l=.5*Math.exp(2*s/3),c=.5*Math.sqrt(s*l*(a-l)/a)*(u-a/2<0?-1:1),f=Math.max(n,Math.floor(t-u*l/a+c)),p=Math.min(o,Math.floor(t+(a-u)*l/a+c));te(e,t,f,p,i)}var d=e[t],h=n,m=o;for(ne(e,n,t),i(e[o],d)>0&&ne(e,n,o);h0;)--m}0===i(e[n],d)?ne(e,n,m):ne(e,++m,o),m<=t&&(n=m+1),t<=m&&(o=m-1)}return e}function ne(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function re(e,t,n){if(r=(e=Float64Array.from(c(e,n))).length){if((t=+t)<=0||r<2)return Object(ee.a)(e);if(t>=1)return Object(J.a)(e);var r,o=(r-1)*t,i=Math.floor(o),a=Object(J.a)(te(e,i).subarray(0,i+1));return a+(Object(ee.a)(e.subarray(i+1))-a)*(o-i)}}function oe(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:l;if(r=e.length){if((t=+t)<=0||r<2)return+n(e[0],0,e);if(t>=1)return+n(e[r-1],r-1,e);var r,o=(r-1)*t,i=Math.floor(o),a=+n(e[i],i,e),u=+n(e[i+1],i+1,e);return a+(u-a)*(o-i)}}var ie=function(e,t,n){return Math.ceil((n-t)/(2*(re(e,.75)-re(e,.25))*Math.pow(y(e),-1/3)))},ae=function(e,t,n){return Math.ceil((n-t)/(3.5*S(e)*Math.pow(y(e),-1/3)))};function ue(e,t){var n,r=-1,o=-1;if(void 0===t){var i,a=Object(u.a)(e);try{for(a.s();!(i=a.n()).done;){var s=i.value;++o,null!=s&&(n=s)&&(n=s,r=o)}}catch(p){a.e(p)}finally{a.f()}}else{var l,c=Object(u.a)(e);try{for(c.s();!(l=c.n()).done;){var f=l.value;null!=(f=t(f,++o,e))&&(n=f)&&(n=f,r=o)}}catch(p){c.e(p)}finally{c.f()}}return r}function se(e,t){var n=0,r=0;if(void 0===t){var o,i=Object(u.a)(e);try{for(i.s();!(o=i.n()).done;){var a=o.value;null!=a&&(a=+a)>=a&&(++n,r+=a)}}catch(p){i.e(p)}finally{i.f()}}else{var s,l=-1,c=Object(u.a)(e);try{for(c.s();!(s=c.n()).done;){var f=s.value;null!=(f=t(f,++l,e))&&(f=+f)>=f&&(++n,r+=f)}}catch(p){c.e(p)}finally{c.f()}}if(n)return r/n}var le=function(e,t){return re(e,.5,t)},ce=a.a.mark(fe);function fe(e){var t,n,r;return a.a.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:t=Object(u.a)(e),o.prev=1,t.s();case 3:if((n=t.n()).done){o.next=8;break}return r=n.value,o.delegateYield(r,"t0",6);case 6:o.next=3;break;case 8:o.next=13;break;case 10:o.prev=10,o.t1=o.catch(1),t.e(o.t1);case 13:return o.prev=13,t.f(),o.finish(13);case 16:case"end":return o.stop()}}),ce,null,[[1,10,13,16]])}function pe(e){return Array.from(fe(e))}function de(e,t){var n,r=-1,o=-1;if(void 0===t){var i,a=Object(u.a)(e);try{for(a.s();!(i=a.n()).done;){var s=i.value;++o,null!=s&&(n>s||void 0===n&&s>=s)&&(n=s,r=o)}}catch(p){a.e(p)}finally{a.f()}}else{var l,c=Object(u.a)(e);try{for(c.s();!(l=c.n()).done;){var f=l.value;null!=(f=t(f,++o,e))&&(n>f||void 0===n&&f>=f)&&(n=f,r=o)}}catch(p){c.e(p)}finally{c.f()}}return r}function he(e){var t,n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:me,o=[],i=!1,a=Object(u.a)(e);try{for(a.s();!(n=a.n()).done;){var s=n.value;i&&o.push(r(t,s)),t=s,i=!0}}catch(l){a.e(l)}finally{a.f()}return o}function me(e,t){return[e,t]}var ye=function(e,t){return Array.from(t,(function(t){return e[t]}))},ve=function(e,t,n){e=+e,t=+t,n=(o=arguments.length)<2?(t=e,e=0,1):o<3?1:+n;for(var r=-1,o=0|Math.max(0,Math.ceil((t-e)/n)),i=new Array(o);++r1&&void 0!==arguments[1]?arguments[1]:r,o=!1;if(1===n.length){var i,a,s=Object(u.a)(e);try{for(s.s();!(a=s.n()).done;){var l=a.value,c=n(l);(o?r(c,i)<0:0===r(c,c))&&(t=l,i=c,o=!0)}}catch(h){s.e(h)}finally{s.f()}}else{var f,p=Object(u.a)(e);try{for(p.s();!(f=p.n()).done;){var d=f.value;(o?n(d,t)<0:0===n(d,d))&&(t=d,o=!0)}}catch(h){p.e(h)}finally{p.f()}}return t}function be(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r;if(1===n.length)return de(e,n);var o,i=-1,a=-1,s=Object(u.a)(e);try{for(s.s();!(o=s.n()).done;){var l=o.value;++a,(i<0?0===n(l,l):n(l,t)<0)&&(t=l,i=a)}}catch(c){s.e(c)}finally{s.f()}return i}function we(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r,o=!1;if(1===n.length){var i,a,s=Object(u.a)(e);try{for(s.s();!(a=s.n()).done;){var l=a.value,c=n(l);(o?r(c,i)>0:0===r(c,c))&&(t=l,i=c,o=!0)}}catch(h){s.e(h)}finally{s.f()}}else{var f,p=Object(u.a)(e);try{for(p.s();!(f=p.n()).done;){var d=f.value;(o?n(d,t)>0:0===n(d,d))&&(t=d,o=!0)}}catch(h){p.e(h)}finally{p.f()}}return t}function xe(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r;if(1===n.length)return ue(e,n);var o,i=-1,a=-1,s=Object(u.a)(e);try{for(s.s();!(o=s.n()).done;){var l=o.value;++a,(i<0?0===n(l,l):n(l,t)>0)&&(t=l,i=a)}}catch(c){s.e(c)}finally{s.f()}return i}function _e(e,t){var n=be(e,t);return n<0?void 0:n}var ke=Oe(Math.random);function Oe(e){return function(t){for(var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t.length,o=r-(n=+n);o;){var i=e()*o--|0,a=t[o+n];t[o+n]=t[i+n],t[i+n]=a}return t}}function je(e,t){var n=0;if(void 0===t){var r,o=Object(u.a)(e);try{for(o.s();!(r=o.n()).done;){var i=r.value;(i=+i)&&(n+=i)}}catch(f){o.e(f)}finally{o.f()}}else{var a,s=-1,l=Object(u.a)(e);try{for(l.s();!(a=l.n()).done;){var c=a.value;(c=+t(c,++s,e))&&(n+=c)}}catch(f){l.e(f)}finally{l.f()}}return n}var Se=function(e){if(!(o=e.length))return[];for(var t=-1,n=Object(ee.a)(e,Ee),r=new Array(n);++t1&&void 0!==arguments[1]?arguments[1]:{},n=t.htmlProps,r=void 0===n?s:n,i=t.includeAria,u=void 0===i||i,l={},c={};return a()(e,(function(e,t){var n=u&&(/^aria-.*$/.test(t)||"role"===t);(o()(r,t)||n?l:c)[t]=e})),[l,c]}},function(e,t,n){"use strict";n.d(t,"c",(function(){return o})),n.d(t,"a",(function(){return c}));var r={},o=null;"undefined"!==typeof document&&("onmouseenter"in document.documentElement||(r={mouseenter:"mouseover",mouseleave:"mouseout"}));function i(e,t,n){return e=a(e,t,n),function(t){var n=t.relatedTarget;n&&(n===this||8&n.compareDocumentPosition(this))||e.call(this,t)}}function a(e,t,n){return function(r){var i=o;o=r;try{e.call(this,this.__data__,t,n)}finally{o=i}}}function u(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 s(e){return function(){var t=this.__on;if(t){for(var n,r=0,o=-1,i=t.length;ra||void 0===n&&a>=a)&&(n=a)}}catch(f){i.e(f)}finally{i.f()}}else{var u,s=-1,l=Object(r.a)(e);try{for(l.s();!(u=l.n()).done;){var c=u.value;null!=(c=t(c,++s,e))&&(n>c||void 0===n&&c>=c)&&(n=c)}}catch(f){l.e(f)}finally{l.f()}}return n}},function(e,t,n){"use strict";n.r(t),n.d(t,"transition",(function(){return it})),n.d(t,"active",(function(){return ft})),n.d(t,"interrupt",(function(){return I}));var r,o,i=n(46),a=n(613),u=0,s=0,l=0,c=0,f=0,p=0,d="object"===typeof performance&&performance.now?performance:Date,h="object"===typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(e){setTimeout(e,17)};function m(){return f||(h(y),f=d.now()+p)}function y(){f=0}function v(){this._call=this._time=this._next=null}function g(e,t,n){var r=new v;return r.restart(e,t,n),r}function b(){f=(c=d.now())+p,u=s=0;try{!function(){m(),++u;for(var e,t=r;t;)(e=f-t._time)>=0&&t._call.call(null,e),t=t._next;--u}()}finally{u=0,function(){var e,t,n=r,i=1/0;for(;n;)n._call?(i>n._time&&(i=n._time),e=n,n=n._next):(t=n._next,n._next=null,n=e?e._next=t:r=t);o=e,x(i)}(),f=0}}function w(){var e=d.now(),t=e-c;t>1e3&&(p-=t,c=e)}function x(e){u||(s&&(s=clearTimeout(s)),e-f>24?(e<1/0&&(s=setTimeout(b,e-d.now()-p)),l&&(l=clearInterval(l))):(l||(c=d.now(),l=setInterval(w,1e3)),u=1,h(b)))}v.prototype=g.prototype={constructor:v,restart:function(e,t,n){if("function"!==typeof e)throw new TypeError("callback is not a function");n=(null==n?m():+n)+(null==t?0:+t),this._next||o===this||(o?o._next=this:r=this,o=this),this._call=e,this._time=n,x()},stop:function(){this._call&&(this._call=null,this._time=1/0,x())}};var _=function(e,t,n){var r=new v;return t=null==t?0:+t,r.restart((function(n){r.stop(),e(n+t)}),t,n),r},k=Object(a.a)("start","end","cancel","interrupt"),O=[],j=function(e,t,n,r,o,i){var a=e.__transition;if(a){if(n in a)return}else e.__transition={};!function(e,t,n){var r,o=e.__transition;function i(s){var l,c,f,p;if(1!==n.state)return u();for(l in o)if((p=o[l]).name===n.name){if(3===p.state)return _(i);4===p.state?(p.state=6,p.timer.stop(),p.on.call("interrupt",e,e.__data__,p.index,p.group),delete o[l]):+l0)throw new Error("too late; already scheduled");return n}function E(e,t){var n=T(e,t);if(n.state>3)throw new Error("too late; already running");return n}function T(e,t){var n=e.__transition;if(!n||!(n=n[t]))throw new Error("transition not found");return n}var C,P,N,A,I=function(e,t){var n,r,o,i=e.__transition,a=!0;if(i){for(o in t=null==t?null:t+"",i)(n=i[o]).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 i[o]):a=!1;a&&delete e.__transition}},M=n(49),F=180/Math.PI,D={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1},L=function(e,t,n,r,o,i){var a,u,s;return(a=Math.sqrt(e*e+t*t))&&(e/=a,t/=a),(s=e*n+t*r)&&(n-=e*s,r-=t*s),(u=Math.sqrt(n*n+r*r))&&(n/=u,r/=u,s/=u),e*r180?t+=360:t-e>180&&(e+=360),i.push({i:n.push(o(n)+"rotate(",null,r)-2,x:Object(M.a)(e,t)})):t&&n.push(o(n)+"rotate("+t+r)}(i.rotate,a.rotate,u,s),function(e,t,n,i){e!==t?i.push({i:n.push(o(n)+"skewX(",null,r)-2,x:Object(M.a)(e,t)}):t&&n.push(o(n)+"skewX("+t+r)}(i.skewX,a.skewX,u,s),function(e,t,n,r,i,a){if(e!==n||t!==r){var u=i.push(o(i)+"scale(",null,",",null,")");a.push({i:u-4,x:Object(M.a)(e,n)},{i:u-2,x:Object(M.a)(t,r)})}else 1===n&&1===r||i.push(o(i)+"scale("+n+","+r+")")}(i.scaleX,i.scaleY,a.scaleX,a.scaleY,u,s),i=a=null,function(e){for(var t,n=-1,r=s.length;++n>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===n?le(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===n?le(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=Z.exec(e))?new pe(t[1],t[2],t[3],1):(t=J.exec(e))?new pe(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=ee.exec(e))?le(t[1],t[2],t[3],t[4]):(t=te.exec(e))?le(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=ne.exec(e))?ye(t[1],t[2]/100,t[3]/100,1):(t=re.exec(e))?ye(t[1],t[2]/100,t[3]/100,t[4]):oe.hasOwnProperty(e)?se(oe[e]):"transparent"===e?new pe(NaN,NaN,NaN,0):null}function se(e){return new pe(e>>16&255,e>>8&255,255&e,1)}function le(e,t,n,r){return r<=0&&(e=t=n=NaN),new pe(e,t,n,r)}function ce(e){return e instanceof q||(e=ue(e)),e?new pe((e=e.rgb()).r,e.g,e.b,e.opacity):new pe}function fe(e,t,n,r){return 1===arguments.length?ce(e):new pe(e,t,n,null==r?1:r)}function pe(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}function de(){return"#"+me(this.r)+me(this.g)+me(this.b)}function he(){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 me(e){return((e=Math.max(0,Math.min(255,Math.round(e)||0)))<16?"0":"")+e.toString(16)}function ye(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new ge(e,t,n,r)}function ve(e){if(e instanceof ge)return new ge(e.h,e.s,e.l,e.opacity);if(e instanceof q||(e=ue(e)),!e)return new ge;if(e instanceof ge)return e;var t=(e=e.rgb()).r/255,n=e.g/255,r=e.b/255,o=Math.min(t,n,r),i=Math.max(t,n,r),a=NaN,u=i-o,s=(i+o)/2;return u?(a=t===i?(n-r)/u+6*(n0&&s<1?0:a,new ge(a,u,s,e.opacity)}function ge(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function be(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 we(e,t,n,r,o){var i=e*e,a=i*e;return((1-3*e+3*i-a)*t+(4-6*i+3*a)*n+(1+3*e+3*i-3*a)*r+a*o)/6}H(q,ue,{copy:function(e){return Object.assign(new this.constructor,this,e)},displayable:function(){return this.rgb().displayable()},hex:ie,formatHex:ie,formatHsl:function(){return ve(this).formatHsl()},formatRgb:ae,toString:ae}),H(pe,fe,$(q,{brighter:function(e){return e=null==e?1/.7:Math.pow(1/.7,e),new pe(this.r*e,this.g*e,this.b*e,this.opacity)},darker:function(e){return e=null==e?.7:Math.pow(.7,e),new pe(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:de,formatHex:de,formatRgb:he,toString:he})),H(ge,(function(e,t,n,r){return 1===arguments.length?ve(e):new ge(e,t,n,null==r?1:r)}),$(q,{brighter:function(e){return e=null==e?1/.7:Math.pow(1/.7,e),new ge(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?.7:Math.pow(.7,e),new ge(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,o=2*n-r;return new pe(be(e>=240?e-240:e+120,o,r),be(e,o,r),be(e<120?e+240:e-120,o,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 xe=function(e){return function(){return e}};function _e(e,t){return function(n){return e+n*t}}function ke(e){return 1===(e=+e)?Oe: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):xe(isNaN(t)?n:t)}}function Oe(e,t){var n=t-e;return n?_e(e,n):xe(isNaN(e)?t:e)}var je=function e(t){var n=ke(t);function r(e,t){var r=n((e=fe(e)).r,(t=fe(t)).r),o=n(e.g,t.g),i=n(e.b,t.b),a=Oe(e.opacity,t.opacity);return function(t){return e.r=r(t),e.g=o(t),e.b=i(t),e.opacity=a(t),e+""}}return r.gamma=e,r}(1);function Se(e){return function(t){var n,r,o=t.length,i=new Array(o),a=new Array(o),u=new Array(o);for(n=0;n=1?(n=1,t-1):Math.floor(n*t),o=e[r],i=e[r+1],a=r>0?e[r-1]:2*o-i,u=ri&&(o=t.slice(i,o),u[a]?u[a]+=o:u[++a]=o),(n=n[0])===(r=r[0])?u[a]?u[a]+=r:u[++a]=r:(u[++a]=null,s.push({i:a,x:Object(M.a)(n,r)})),i=Te.lastIndex;return i=0&&(e=e.slice(0,t)),!e||"start"===e}))}(t)?S:E;return function(){var a=i(this,e),u=a.on;u!==r&&(o=(r=u).copy()).on(t,n),a.on=o}}var Ge=n(86),Ke=n(143),Ye=i.b.prototype.constructor,Xe=n(144);function Ze(e){return function(){this.style.removeProperty(e)}}function Je(e,t,n){return function(r){this.style.setProperty(e,t.call(this,r),n)}}function et(e,t,n){var r,o;function i(){var i=t.apply(this,arguments);return i!==o&&(r=(o=i)&&Je(e,i,n)),r}return i._value=t,i}function tt(e){return function(t){this.textContent=e.call(this,t)}}function nt(e){var t,n;function r(){var r=e.apply(this,arguments);return r!==n&&(t=(n=r)&&tt(r)),t}return r._value=e,r}var rt=0;function ot(e,t,n,r){this._groups=e,this._parents=t,this._name=n,this._id=r}function it(e){return Object(i.b)().transition(e)}function at(){return++rt}var ut=i.b.prototype;ot.prototype=it.prototype={constructor:ot,select:function(e){var t=this._name,n=this._id;"function"!==typeof e&&(e=Object(Ge.a)(e));for(var r=this._groups,o=r.length,i=new Array(o),a=0;a1&&n.name===t)return new ot([[e]],ct,t,+r);return null}},function(e,t,n){"use strict";function r(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}n.d(t,"c",(function(){return o})),n.d(t,"b",(function(){return u})),n.d(t,"a",(function(){return s}));function o(e,t){var n,r,o,a,l,c=new s(e),f=+e.value&&(c.value=e.value),p=[c];for(null==t&&(t=i);n=p.pop();)if(f&&(n.value=+n.data.value),(o=t(n.data))&&(l=o.length))for(n.children=new Array(l),a=l-1;a>=0;--a)p.push(r=n.children[a]=new s(o[a])),r.parent=n,r.depth=n.depth+1;return c.eachBefore(u)}function i(e){return e.children}function a(e){e.data=e.data.data}function u(e){var t=0;do{e.height=t}while((e=e.parent)&&e.height<++t)}function s(e){this.data=e,this.depth=this.height=0,this.parent=null}s.prototype=o.prototype={constructor:s,count:function(){return this.eachAfter(r)},each:function(e){var t,n,r,o,i=this,a=[i];do{for(t=a.reverse(),a=[];i=t.pop();)if(e(i),n=i.children)for(r=0,o=n.length;r=0;--n)o.push(t[n]);return this},sum:function(e){return this.eachAfter((function(t){for(var n=+e(t.data)||0,r=t.children,o=r&&r.length;--o>=0;)n+=r[o].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(),o=null;e=n.pop(),t=r.pop();for(;e===t;)o=e,e=n.pop(),t=r.pop();return o}(t,e),r=[t];t!==n;)t=t.parent,r.push(t);for(var o=r.length;e!==n;)r.splice(o,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 o(this).eachBefore(a)}}},function(e,t,n){"use strict";!function e(){if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE){0;try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}}(),e.exports=n(350)},function(e,t,n){"use strict";var r=n(3),o=n.n(r),i=n(11),a=n.n(i),u=n(12),s=n.n(u),l=n(13),c=n.n(l),f=n(10),p=n.n(f),d=n(14),h=n.n(d),m=n(2),y=n.n(m),v=n(15),g=n.n(v),b=(n(36),n(6)),w=n.n(b),x=(n(4),n(0)),_=n.n(x),k=n(22),O=n(148),j=n(147),S=n(151),E=n(5);function T(e){var t=e.children,n=e.className,r=e.content,i=e.size,a=w()(i,"icons",n),u=Object(O.a)(T,e),s=Object(j.a)(T,e);return _.a.createElement(s,o()({},u,{className:a}),E.a.isNil(t)?r:t)}T.handledProps=["as","children","className","content","size"],T.propTypes={},T.defaultProps={as:"i"};var C=T,P=function(e){function t(){return a()(this,t),c()(this,p()(t).apply(this,arguments))}return h()(t,e),s()(t,[{key:"getIconAriaOptions",value:function(){var e={},t=this.props,n=t["aria-label"],r=t["aria-hidden"];return g()(n)?e["aria-hidden"]="true":e["aria-label"]=n,g()(r)||(e["aria-hidden"]=r),e}},{key:"render",value:function(){var e=this.props,n=e.bordered,r=e.circular,i=e.className,a=e.color,u=e.corner,s=e.disabled,l=e.fitted,c=e.flipped,f=e.inverted,p=e.link,d=e.loading,h=e.name,m=e.rotated,y=e.size,v=w()(a,h,y,Object(k.a)(n,"bordered"),Object(k.a)(r,"circular"),Object(k.a)(s,"disabled"),Object(k.a)(l,"fitted"),Object(k.a)(f,"inverted"),Object(k.a)(p,"link"),Object(k.a)(d,"loading"),Object(k.b)(u,"corner"),Object(k.e)(c,"flipped"),Object(k.e)(m,"rotated"),"icon",i),g=Object(O.a)(t,this.props),b=Object(j.a)(t,this.props),x=this.getIconAriaOptions();return _.a.createElement(b,o()({},g,x,{className:v}))}}]),t}(x.PureComponent);y()(P,"defaultProps",{as:"i"}),y()(P,"Group",C),y()(P,"handledProps",["aria-hidden","aria-label","as","bordered","circular","className","color","corner","disabled","fitted","flipped","inverted","link","loading","name","rotated","size"]),P.propTypes={},P.create=Object(S.f)(P,(function(e){return{name:e}}));t.a=P},function(e,t,n){var r=n(70),o=n(224),i=n(167);e.exports=function(e,t){return i(o(e,t,r),e+"")}},function(e,t,n){"use strict";e.exports=function(e){return"string"===typeof e||"symbol"===typeof e}},function(e,t,n){"use strict";var r=n(169);e.exports=r.call(Function.call,Object.prototype.hasOwnProperty)},function(e,t){e.exports=function(e){return function(t){return e(t)}}},function(e,t,n){var r=n(263);e.exports=function(e){var t=r(e),n=t%1;return t===t?n?t-n:t:0}},function(e,t,n){var r=n(494),o=n(497)(r);e.exports=o},function(e,t,n){"use strict";var r=n(59);t.a=function(e){var t=e+="",n=t.indexOf(":");return n>=0&&"xmlns"!==(t=e.slice(0,n))&&(e=e.slice(n+1)),r.a.hasOwnProperty(t)?{space:r.a[t],local:e}:e}},function(e,t,n){"use strict";function r(){}t.a=function(e){return null==e?r:function(){return this.querySelector(e)}}},function(e,t,n){"use strict";t.a=function(e){return e.ownerDocument&&e.ownerDocument.defaultView||e.document&&e||e.defaultView}},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(41),o=n.n(r),i={1:"one",2:"two",3:"three",4:"four",5:"five",6:"six",7:"seven",8:"eight",9:"nine",10:"ten",11:"eleven",12:"twelve",13:"thirteen",14:"fourteen",15:"fifteen",16:"sixteen"};function a(e){var t=o()(e);return"string"===t||"number"===t?i[e]||e:""}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(107);function o(e,t){if(e){if("string"===typeof e)return Object(r.a)(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Object(r.a)(e,t):void 0}}},function(e,t,n){"use strict";function r(e,t){return(r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";var r=n(73);t.a=function(){for(var e,t=r.c;e=t.sourceEvent;)t=e;return t}},function(e,t,n){var r=n(130),o=n(84),i=n(504),a=n(24);e.exports=function(e,t){return(a(e)?r:o)(e,i(t))}},function(e,t,n){"use strict";var r=n(41),o=n.n(r);t.a=function(e,t){"function"!==typeof e?null!==e&&"object"===o()(e)&&(e.current=t):e(t)}},function(e,t){e.exports=function(e){return void 0===e}},function(e,t,n){var r=n(275),o=n(84),i=n(52),a=n(535),u=n(24);e.exports=function(e,t,n){var s=u(e)?r:a,l=arguments.length<3;return s(e,i(t,4),n,l,o)}},function(e,t,n){"use strict";function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";var r=n(361).default;n(366),(t=e.exports=r).default=t},function(e,t,n){"use strict";n.d(t,"a",(function(){return T})),n.d(t,"b",(function(){return b}));var r=n(613),o=n(145),i=n(73);var a=function(){i.c.preventDefault(),i.c.stopImmediatePropagation()},u=function(e){var t=e.document.documentElement,n=Object(o.a)(e).on("dragstart.drag",a,!0);"onselectstart"in t?n.on("selectstart.drag",a,!0):(t.__noselect=t.style.MozUserSelect,t.style.MozUserSelect="none")};function s(e,t){var n=e.document.documentElement,r=Object(o.a)(e).on("dragstart.drag",null);t&&(r.on("click.drag",a,!0),setTimeout((function(){r.on("click.drag",null)}),0)),"onselectstart"in n?r.on("selectstart.drag",null):(n.style.MozUserSelect=n.__noselect,delete n.__noselect)}var l=Math.SQRT2;function c(e){return((e=Math.exp(e))+1/e)/2}var f=function(e,t){var n,r,o=e[0],i=e[1],a=e[2],u=t[0],s=t[1],f=t[2],p=u-o,d=s-i,h=p*p+d*d;if(h<1e-12)r=Math.log(f/a)/l,n=function(e){return[o+e*p,i+e*d,a*Math.exp(l*e*r)]};else{var m=Math.sqrt(h),y=(f*f-a*a+4*h)/(2*a*2*m),v=(f*f-a*a-4*h)/(2*f*2*m),g=Math.log(Math.sqrt(y*y+1)-y),b=Math.log(Math.sqrt(v*v+1)-v);r=(b-g)/l,n=function(e){var t,n=e*r,u=c(g),s=a/(2*m)*(u*(t=l*n+g,((t=Math.exp(2*t))-1)/(t+1))-function(e){return((e=Math.exp(e))-1/e)/2}(g));return[o+s*p,i+s*d,a*u/c(l*n+g)]}}return n.duration=1e3*r,n},p=n(215),d=n(216),h=n(75),m=function(e){return function(){return e}};function y(e,t,n){this.target=e,this.type=t,this.transform=n}function v(e,t,n){this.k=e,this.x=t,this.y=n}v.prototype={constructor:v,scale:function(e){return 1===e?this:new v(this.k*e,this.x,this.y)},translate:function(e,t){return 0===e&0===t?this:new v(this.k,this.x+this.k*e,this.y+this.k*t)},apply:function(e){return[e[0]*this.k+this.x,e[1]*this.k+this.y]},applyX:function(e){return e*this.k+this.x},applyY:function(e){return e*this.k+this.y},invert:function(e){return[(e[0]-this.x)/this.k,(e[1]-this.y)/this.k]},invertX:function(e){return(e-this.x)/this.k},invertY:function(e){return(e-this.y)/this.k},rescaleX:function(e){return e.copy().domain(e.range().map(this.invertX,this).map(e.invert,e))},rescaleY:function(e){return e.copy().domain(e.range().map(this.invertY,this).map(e.invert,e))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}};var g=new v(1,0,0);function b(e){for(;!e.__zoom;)if(!(e=e.parentNode))return g;return e.__zoom}function w(){i.c.stopImmediatePropagation()}b.prototype=v.prototype;var x=function(){i.c.preventDefault(),i.c.stopImmediatePropagation()};function _(){return!i.c.ctrlKey&&!i.c.button}function k(){var e=this;return e instanceof SVGElement?(e=e.ownerSVGElement||e).hasAttribute("viewBox")?[[(e=e.viewBox.baseVal).x,e.y],[e.x+e.width,e.y+e.height]]:[[0,0],[e.width.baseVal.value,e.height.baseVal.value]]:[[0,0],[e.clientWidth,e.clientHeight]]}function O(){return this.__zoom||g}function j(){return-i.c.deltaY*(1===i.c.deltaMode?.05:i.c.deltaMode?1:.002)}function S(){return navigator.maxTouchPoints||"ontouchstart"in this}function E(e,t,n){var r=e.invertX(t[0][0])-n[0][0],o=e.invertX(t[1][0])-n[1][0],i=e.invertY(t[0][1])-n[0][1],a=e.invertY(t[1][1])-n[1][1];return e.translate(o>r?(r+o)/2:Math.min(0,r)||Math.max(0,o),a>i?(i+a)/2:Math.min(0,i)||Math.max(0,a))}var T=function(){var e,t,n=_,a=k,l=E,c=j,b=S,T=[0,1/0],C=[[-1/0,-1/0],[1/0,1/0]],P=250,N=f,A=Object(r.a)("start","zoom","end"),I=0;function M(e){e.property("__zoom",O).on("wheel.zoom",U).on("mousedown.zoom",W).on("dblclick.zoom",V).filter(b).on("touchstart.zoom",Q).on("touchmove.zoom",H).on("touchend.zoom touchcancel.zoom",$).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function F(e,t){return(t=Math.max(T[0],Math.min(T[1],t)))===e.k?e:new v(t,e.x,e.y)}function D(e,t,n){var r=t[0]-n[0]*e.k,o=t[1]-n[1]*e.k;return r===e.x&&o===e.y?e:new v(e.k,r,o)}function L(e){return[(+e[0][0]+ +e[1][0])/2,(+e[0][1]+ +e[1][1])/2]}function R(e,t,n){e.on("start.zoom",(function(){z(this,arguments).start()})).on("interrupt.zoom end.zoom",(function(){z(this,arguments).end()})).tween("zoom",(function(){var e=this,r=arguments,o=z(e,r),i=a.apply(e,r),u=null==n?L(i):"function"===typeof n?n.apply(e,r):n,s=Math.max(i[1][0]-i[0][0],i[1][1]-i[0][1]),l=e.__zoom,c="function"===typeof t?t.apply(e,r):t,f=N(l.invert(u).concat(s/l.k),c.invert(u).concat(s/c.k));return function(e){if(1===e)e=c;else{var t=f(e),n=s/t[2];e=new v(n,u[0]-t[0]*n,u[1]-t[1]*n)}o.zoom(null,e)}}))}function z(e,t,n){return!n&&e.__zooming||new B(e,t)}function B(e,t){this.that=e,this.args=t,this.active=0,this.extent=a.apply(e,t),this.taps=0}function U(){if(n.apply(this,arguments)){var e=z(this,arguments),t=this.__zoom,r=Math.max(T[0],Math.min(T[1],t.k*Math.pow(2,c.apply(this,arguments)))),o=Object(p.a)(this);if(e.wheel)e.mouse[0][0]===o[0]&&e.mouse[0][1]===o[1]||(e.mouse[1]=t.invert(e.mouse[0]=o)),clearTimeout(e.wheel);else{if(t.k===r)return;e.mouse=[o,t.invert(o)],Object(h.interrupt)(this),e.start()}x(),e.wheel=setTimeout(i,150),e.zoom("mouse",l(D(F(t,r),e.mouse[0],e.mouse[1]),e.extent,C))}function i(){e.wheel=null,e.end()}}function W(){if(!t&&n.apply(this,arguments)){var e=z(this,arguments,!0),r=Object(o.a)(i.c.view).on("mousemove.zoom",d,!0).on("mouseup.zoom",m,!0),a=Object(p.a)(this),c=i.c.clientX,f=i.c.clientY;u(i.c.view),w(),e.mouse=[a,this.__zoom.invert(a)],Object(h.interrupt)(this),e.start()}function d(){if(x(),!e.moved){var t=i.c.clientX-c,n=i.c.clientY-f;e.moved=t*t+n*n>I}e.zoom("mouse",l(D(e.that.__zoom,e.mouse[0]=Object(p.a)(e.that),e.mouse[1]),e.extent,C))}function m(){r.on("mousemove.zoom mouseup.zoom",null),s(i.c.view,e.moved),x(),e.end()}}function V(){if(n.apply(this,arguments)){var e=this.__zoom,t=Object(p.a)(this),r=e.invert(t),u=e.k*(i.c.shiftKey?.5:2),s=l(D(F(e,u),t,r),a.apply(this,arguments),C);x(),P>0?Object(o.a)(this).transition().duration(P).call(R,s,t):Object(o.a)(this).call(M.transform,s)}}function Q(){if(n.apply(this,arguments)){var t,r,o,a,u=i.c.touches,s=u.length,l=z(this,arguments,i.c.changedTouches.length===s);for(w(),r=0;r-1&&e%1==0&&e=a)&&(n=a)}}catch(f){i.e(f)}finally{i.f()}}else{var u,s=-1,l=Object(r.a)(e);try{for(l.s();!(u=l.n()).done;){var c=u.value;null!=(c=t(c,++s,e))&&(n=c)&&(n=c)}}catch(f){l.e(f)}finally{l.f()}}return n}},function(e,t,n){var r=n(251),o=n(510),i=n(52),a=n(24);e.exports=function(e,t){return(a(e)?r:o)(e,i(t,3))}},function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n1){var u={id:t.DUMMY_ROOT_NODE_ID,height:1,width:1};n.push(u),o.forEach((function(e){return e.parentId=u.id}))}n.push.apply(n,o);var s=[];o.forEach((function(e){e.family&&s.push(e)}));for(var l=function(){var t=s.pop();c.options.data.getFam(t.family.id).getChildren().forEach((function(r){var o=e.getNodes(r);o.forEach((function(e){e.parentId=t.id,e.family&&(e.id=""+a.getId(e.family.id),s.push(e))})),n.push.apply(n,o)}))},c=this;s.length;)l();return r.stratify()(n)},e.prototype.render=function(){var e=this.createHierarchy(),t=a(this.util.layOutChart(e)),n=this.util.renderChart(t),r=o.getChartInfo(t);return this.util.updateSvgDimensions(r),Object.assign(r,{animationPromise:n})},e}();t.DescendantChart=u},function(e,t){e.exports=function(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(e,t,n){var r=n(67)(Object,"create");e.exports=r},function(e,t,n){var r=n(406),o=n(407),i=n(408),a=n(409),u=n(410);function s(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t-1}},function(e,t,n){var r=n(177),o=n(507);e.exports=function e(t,n,i,a,u){var s=-1,l=t.length;for(i||(i=o),u||(u=[]);++s0&&i(c)?n>1?e(c,n-1,i,a,u):r(u,c):a||(u[u.length]=c)}return u}},function(e,t,n){var r=n(40),o=n(32);e.exports=function(e){return o(e)&&r(e)}},function(e,t,n){var r=n(518),o=n(519),i=n(265),a=n(520);e.exports=function(e){return r(e)||o(e)||i(e)||a()}},function(e,t){var n=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");e.exports=function(e){return n.test(e)}},function(e,t,n){var r=n(279),o=n(549),i=n(550),a=n(281),u=n(559),s=n(190),l=n(560),c=n(287),f=n(288),p=n(83),d=Math.max;e.exports=function(e,t,n,h,m,y,v,g){var b=2&t;if(!b&&"function"!=typeof e)throw new TypeError("Expected a function");var w=h?h.length:0;if(w||(t&=-97,h=m=void 0),v=void 0===v?v:d(p(v),0),g=void 0===g?g:p(g),w-=m?m.length:0,64&t){var x=h,_=m;h=m=void 0}var k=b?void 0:s(e),O=[e,t,n,h,m,x,_,y,v,g];if(k&&l(O,k),e=O[0],t=O[1],n=O[2],h=O[3],m=O[4],!(g=O[9]=void 0===O[9]?b?0:e.length:d(O[9]-w,0))&&24&t&&(t&=-25),t&&1!=t)j=8==t||16==t?i(e,t,g):32!=t&&33!=t||m.length?a.apply(void 0,O):u(e,t,n,h);else var j=o(e,t,n);return f((k?r:c)(j,O),e,t)}},function(e,t,n){var r=n(138),o=n(44);e.exports=function(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=r(e.prototype),i=e.apply(n,t);return o(i)?i:n}}},function(e,t,n){var r=n(44),o=Object.create,i=function(){function e(){}return function(t){if(!r(t))return{};if(o)return o(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();e.exports=i},function(e,t){e.exports=function(e,t){for(var n=-1,r=e.length,o=0,i=[];++n0&&n*n>r*r+o*o}function d(e,t){for(var n=0;n(a*=a)?(r=(l+a-o)/(2*l),i=Math.sqrt(Math.max(0,a/l-r*r)),n.x=e.x-r*u-i*s,n.y=e.y-r*s+i*u):(r=(l+o-a)/(2*l),i=Math.sqrt(Math.max(0,o/l-r*r)),n.x=t.x+r*u-i*s,n.y=t.y+r*s+i*u)):(n.x=t.x+n.r,n.y=t.y)}function g(e,t){var n=e.r+t.r-1e-6,r=t.x-e.x,o=t.y-e.y;return n>0&&n*n>r*r+o*o}function b(e){var t=e._,n=e.next._,r=t.r+n.r,o=(t.x*n.r+n.x*t.r)/r,i=(t.y*n.r+n.y*t.r)/r;return o*o+i*i}function w(e){this._=e,this.next=null,this.previous=null}function x(e){if(!(o=e.length))return 0;var t,n,r,o,i,a,u,s,c,f,p;if((t=e[0]).x=0,t.y=0,!(o>1))return t.r;if(n=e[1],t.x=-n.r,n.x=t.r,n.y=0,!(o>2))return t.r+n.r;v(n,t,r=e[2]),t=new w(t),n=new w(n),r=new w(r),t.next=r.previous=n,n.next=t.previous=r,r.next=n.previous=t;e:for(u=3;u0)throw new Error("cycle");return i}return n.id=function(t){return arguments.length?(e=O(t),n):e},n.parentId=function(e){return arguments.length?(t=O(e),n):t},n};function B(e,t){return e.parent===t.parent?1:2}function U(e){var t=e.children;return t?t[0]:e.t}function W(e){var t=e.children;return t?t[t.length-1]:e.t}function V(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 Q(e,t,n){return e.a.parent===t.parent?e.a:n}function H(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}H.prototype=Object.create(u.a.prototype);var $=function(){var e=B,t=1,n=1,r=null;function o(o){var s=function(e){for(var t,n,r,o,i,a=new H(e,0),u=[a];t=u.pop();)if(r=t._.children)for(t.children=new Array(i=r.length),o=i-1;o>=0;--o)u.push(n=t.children[o]=new H(r[o],o)),n.parent=t;return(a.parent=new H(null,0)).children=[a],a}(o);if(s.eachAfter(i),s.parent.m=-s.z,s.eachBefore(a),r)o.eachBefore(u);else{var l=o,c=o,f=o;o.eachBefore((function(e){e.xc.x&&(c=e),e.depth>f.depth&&(f=e)}));var p=l===c?1:e(l,c)/2,d=p-l.x,h=t/(c.x+p+d),m=n/(f.depth||1);o.eachBefore((function(e){e.x=(e.x+d)*h,e.y=e.depth*m}))}return o}function i(t){var n=t.children,r=t.parent.children,o=t.i?r[t.i-1]:null;if(n){!function(e){for(var t,n=0,r=0,o=e.children,i=o.length;--i>=0;)(t=o[i]).z+=n,t.m+=n,n+=t.s+(r+=t.c)}(t);var i=(n[0].z+n[n.length-1].z)/2;o?(t.z=o.z+e(t._,o._),t.m=t.z-i):t.z=i}else o&&(t.z=o.z+e(t._,o._));t.parent.A=function(t,n,r){if(n){for(var o,i=t,a=t,u=n,s=i.parent.children[0],l=i.m,c=a.m,f=u.m,p=s.m;u=W(u),i=U(i),u&&i;)s=U(s),(a=W(a)).a=t,(o=u.z+f-i.z-l+e(u._,i._))>0&&(V(Q(u,t,r),t,o),l+=o,c+=o),f+=u.m,l+=i.m,p+=s.m,c+=a.m;u&&!W(a)&&(a.t=u,a.m+=f-c),i&&!U(s)&&(s.t=i,s.m+=l-p,r=t)}return r}(t,o,t.parent.A||r[0])}function a(e){e._.x=e.z+e.parent.m,e.m+=e.parent.m}function u(e){e.x*=t,e.y=e.depth*n}return o.separation=function(t){return arguments.length?(e=t,o):e},o.size=function(e){return arguments.length?(r=!1,t=+e[0],n=+e[1],o):r?null:[t,n]},o.nodeSize=function(e){return arguments.length?(r=!0,t=+e[0],n=+e[1],o):r?[t,n]:null},o},q=function(e,t,n,r,o){for(var i,a=e.children,u=-1,s=a.length,l=e.value&&(o-n)/e.value;++up&&(p=u),y=c*c*m,(d=Math.max(p/y,y/f))>h){c-=u;break}h=d}v.push(a={value:c,dice:s1?t:1)},n}(G),X=function(){var e=Y,t=!1,n=1,r=1,o=[0],i=j,a=j,u=j,s=j,l=j;function c(e){return e.x0=e.y0=0,e.x1=n,e.y1=r,e.eachBefore(f),o=[0],t&&e.eachBefore(A),e}function f(t){var n=o[t.depth],r=t.x0+n,c=t.y0+n,f=t.x1-n,p=t.y1-n;f=n-1){var c=u[t];return c.x0=o,c.y0=i,c.x1=a,void(c.y1=s)}var f=l[t],p=r/2+f,d=t+1,h=n-1;for(;d>>1;l[m]s-i){var g=(o*v+a*y)/r;e(t,d,y,o,i,g,s),e(d,n,v,g,i,a,s)}else{var b=(i*v+s*y)/r;e(t,d,y,o,i,a,b),e(d,n,v,o,b,a,s)}}(0,s,e.value,t,n,r,o)},J=function(e,t,n,r,o){(1&e.depth?q:I)(e,t,n,r,o)},ee=function e(t){function n(e,n,r,o,i){if((a=e._squarify)&&a.ratio===t)for(var a,u,s,l,c,f=-1,p=a.length,d=e.value;++f1?t:1)},n}(G)},function(e,t,n){"use strict";t.a=function(e){return function(){return this.matches(e)}}},function(e,t,n){"use strict";function r(){return[]}t.a=function(e){return null==e?r:function(){return this.querySelectorAll(e)}}},function(e,t,n){"use strict";n.d(t,"b",(function(){return u}));var r=n(87);function o(e){return function(){this.style.removeProperty(e)}}function i(e,t,n){return function(){this.style.setProperty(e,t,n)}}function a(e,t,n){return function(){var r=t.apply(this,arguments);null==r?this.style.removeProperty(e):this.style.setProperty(e,r,n)}}function u(e,t){return e.style.getPropertyValue(t)||Object(r.a)(e).getComputedStyle(e,null).getPropertyValue(t)}t.a=function(e,t,n){return arguments.length>1?this.each((null==t?o:"function"===typeof t?a:i)(e,t,null==n?"":n)):u(this.node(),e)}},function(e,t,n){"use strict";var r=n(46);t.a=function(e){return"string"===typeof e?new r.a([[document.querySelector(e)]],[document.documentElement]):new r.a([[e]],r.c)}},function(e,t,n){"use strict";function r(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";t.a=function(e,t,n){var r=e.defaultProps,o=void 0===r?{}:r;if(t.as&&t.as!==o.as)return t.as;if(n){var i=n();if(i)return i}return t.href?"a":o.as||"div"}},function(e,t,n){"use strict";t.a=function(e,t){var n=e.handledProps,r=void 0===n?[]:n;return Object.keys(t).reduce((function(e,n){return"childKey"===n||-1===r.indexOf(n)&&(e[n]=t[n]),e}),{})}},function(e,t,n){var r=n(468)(n(197));e.exports=r},function(e,t,n){var r=n(271),o=n(132),i=n(79),a=n(133),u=i((function(e,t){return a(e)?r(e,o(t,1,a,!0)):[]}));e.exports=u},function(e,t,n){"use strict";n.d(t,"e",(function(){return j})),n.d(t,"f",(function(){return S})),n.d(t,"a",(function(){return E})),n.d(t,"b",(function(){return T})),n.d(t,"c",(function(){return C})),n.d(t,"d",(function(){return P}));var r=n(17),o=n.n(r),i=(n(41),n(198)),a=n.n(i),u=n(24),s=n.n(u),l=n(199),c=n.n(l),f=n(58),p=n.n(f),d=n(310),h=n.n(d),m=n(104),y=n.n(m),v=n(311),g=n.n(v),b=n(15),w=n.n(b),x=n(6),_=n.n(x),k=n(0),O=n.n(k);function j(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};if("function"!==typeof e&&"string"!==typeof e)throw new Error("createShorthand() Component must be a string or function.");if(w()(n)||g()(n))return null;var i=y()(n),u=h()(n),l=p()(n),f=Object(k.isValidElement)(n),d=c()(n),m=i||u||s()(n);if(!l&&!f&&!d&&!m)return null;var v=r.defaultProps,b=void 0===v?{}:v,x=f&&n.props||d&&n||m&&t(n),j=r.overrideProps,S=void 0===j?{}:j;S=p()(S)?S(o()({},b,x)):S;var E=o()({},b,x,S);if(b.className||S.className||x.className){var T=_()(b.className,S.className,x.className);E.className=a()(T.split(" ")).join(" ")}if((b.style||S.style||x.style)&&(E.style=o()({},b.style,x.style,S.style)),w()(E.key)){var C=E.childKey,P=r.autoGenerateKey,N=void 0===P||P;w()(C)?N&&(i||u)&&(E.key=n):(E.key="function"===typeof C?C(E):C,delete E.childKey)}return f?Object(k.cloneElement)(n,E):m||d?O.a.createElement(e,E):l?n(e,E,E.children):void 0}function S(e,t){if("function"!==typeof e&&"string"!==typeof e)throw new Error("createShorthandFactory() Component must be a string or function.");return function(n,r){return j(e,t,n,r)}}j.handledProps=[];S("div",(function(e){return{children:e}})),S("iframe",(function(e){return{src:e}}));var E=S("img",(function(e){return{src:e}})),T=S("input",(function(e){return{type:e}})),C=S("label",(function(e){return{children:e}})),P=S("p",(function(e){return{children:e}}))},function(e,t,n){var r=n(522),o=n(51),i=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,a=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");e.exports=function(e){return(e=o(e))&&e.replace(i,r).replace(a,"")}},function(e,t,n){var r=n(532);function o(t,n,i){return"undefined"!==typeof Reflect&&Reflect.get?e.exports=o=Reflect.get:e.exports=o=function(e,t,n){var o=r(e,t);if(o){var i=Object.getOwnPropertyDescriptor(o,t);return i.get?i.get.call(n):i.value}},o(t,n,i||t)}e.exports=o},function(e,t,n){var r=n(536),o=n(187)((function(e,t){return null==e?{}:r(e,t)}));e.exports=o},function(e,t,n){"use strict";var r=n(156),o=n.n(r),i={},a=0,u=function(e,t){var n=""+t.end+t.strict+t.sensitive,r=i[n]||(i[n]={});if(r[e])return r[e];var u=[],s={re:o()(e,u,t),keys:u};return a<1e4&&(r[e]=s,a++),s};t.a=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments[2];"string"===typeof t&&(t={path:t});var r=t,o=r.path,i=r.exact,a=void 0!==i&&i,s=r.strict,l=void 0!==s&&s,c=r.sensitive,f=void 0!==c&&c;if(null==o)return n;var p=u(o,{end:a,strict:l,sensitive:f}),d=p.re,h=p.keys,m=d.exec(e);if(!m)return null;var y=m[0],v=m.slice(1),g=e===y;return a&&!g?null:{path:o,url:"/"===o&&""===y?"/":y,isExact:g,params:h.reduce((function(e,t,n){return e[t.name]=v[n],e}),{})}}},function(e,t,n){var r=n(596);e.exports=d,e.exports.parse=i,e.exports.compile=function(e,t){return u(i(e,t),t)},e.exports.tokensToFunction=u,e.exports.tokensToRegExp=p;var o=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function i(e,t){for(var n,r=[],i=0,a=0,u="",c=t&&t.delimiter||"/";null!=(n=o.exec(e));){var f=n[0],p=n[1],d=n.index;if(u+=e.slice(a,d),a=d+f.length,p)u+=p[1];else{var h=e[a],m=n[2],y=n[3],v=n[4],g=n[5],b=n[6],w=n[7];u&&(r.push(u),u="");var x=null!=m&&null!=h&&h!==m,_="+"===b||"*"===b,k="?"===b||"*"===b,O=n[2]||c,j=v||g;r.push({name:y||i++,prefix:m||"",delimiter:O,optional:k,repeat:_,partial:x,asterisk:!!w,pattern:j?l(j):w?".*":"[^"+s(O)+"]+?"})}}return a1&&o.children&&o.children.length>1&&(o.children.pop(),o.data.spouseParentNodeId=void 0),o};var u=function(){function e(e){this.options=e,this.util=new o.ChartUtil(e)}return e.prototype.createHierarchy=function(){var e=[],t=[],n=this.options.idGenerator||new a.IdGenerator;if(this.options.startIndi){var r=(f=this.options.data.getIndi(this.options.startIndi).getFamilyAsChild())?n.getId(f):void 0;f&&t.push({id:f,parentId:this.options.startIndi,family:{id:f}}),e.push({id:this.options.startIndi,indi:{id:this.options.startIndi},indiParentNodeId:r})}else t.push({id:n.getId(this.options.startFam),family:{id:this.options.startFam}});for(;t.length;){var o=t.pop(),u=this.options.data.getFam(o.family.id);if(u){var s=o.family.id===this.options.startFam&&this.options.swapStartSpouses?[u.getMother(),u.getFather()]:[u.getFather(),u.getMother()],l=s[0],c=s[1];if(l||c){var f;if(c)if(o.spouse={id:c},f=this.options.data.getIndi(c).getFamilyAsChild()){r=n.getId(f);o.spouseParentNodeId=r,t.push({id:r,parentId:o.id,family:{id:f}})}if(l)if(o.indi={id:l},f=this.options.data.getIndi(l).getFamilyAsChild()){r=n.getId(f);o.indiParentNodeId=r,t.push({id:r,parentId:o.id,family:{id:f}})}e.push(o)}}}return i.stratify()(e)},e.prototype.render=function(){var e=this.createHierarchy(),t=this.util.layOutChart(e,{flipVertically:!0}),n=this.util.renderChart(t),r=o.getChartInfo(t);return this.util.updateSvgDimensions(r),Object.assign(r,{animationPromise:n})},e}();t.AncestorChart=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(71),o=function(){function e(e){this.options=e}return e.prototype.getPreferredFamSize=function(e){return[0,0]},e.prototype.setPreferredIndiSize=function(e){var t;e&&(t=this.getPreferredIndiSize(e.id),e.width=t[0],e.height=t[1])},e.prototype.updateNodes=function(e){var t=this,n=new Map;e.forEach((function(e){var o;t.setPreferredIndiSize(e.data.indi),t.setPreferredIndiSize(e.data.spouse);var i=e.data.family;i&&(o=t.getPreferredFamSize(i.id),i.width=o[0],i.height=o[1]);var a=e.depth,s=r.max([u(e.data,!!t.options.horizontal),n.get(a)]);n.set(a,s)})),e.forEach((function(e){var o;t.options.horizontal?(e.data.indi&&(e.data.indi.width=n.get(e.depth)),e.data.spouse&&(e.data.spouse.width=n.get(e.depth))):(e.data.indi&&(e.data.indi.height=n.get(e.depth)),e.data.spouse&&(e.data.spouse.height=n.get(e.depth)));var i=function(e,t){return u(e,t)+function(e,t){if(t)return e.family?e.family.width:0;return e.family?e.family.height:0}(e,t)}(e.data,!!t.options.horizontal),a=function(e,t){if(t)return(e.indi?e.indi.height:0)+(e.spouse?e.spouse.height:0);var n=(e.indi?e.indi.width:0)+(e.spouse?e.spouse.width:0);return r.max([n,e.family?e.family.width:0])}(e.data,!!t.options.horizontal);o=t.options.horizontal?[i,a]:[a,i],e.data.width=o[0],e.data.height=o[1]}))},e.prototype.getFamilyAnchor=function(e){if(this.options.horizontal){var t=-e.width/2+u(e,this.options.horizontal)/2,n=e.family?r.max([-a(e),0]):0;return[t,-(e.indi&&e.spouse?e.height/2-e.indi.height:0)+n]}var o=e.family?r.max([-i(e),0]):0;return[-(e.indi&&e.spouse?e.width/2-e.indi.width:0)+o,-e.height/2+u(e,this.options.horizontal)/2]},e.prototype.getSpouseAnchor=function(e){return this.options.horizontal?[-e.width/2+u(e,this.options.horizontal)/2,e.indi?e.indi.height/2:0]:[e.indi?e.indi.width/2:0,-e.height/2+u(e,!!this.options.horizontal)/2]},e.prototype.getIndiAnchor=function(e){return this.options.horizontal?[-e.width/2+u(e,this.options.horizontal)/2,e.spouse?-e.spouse.height/2:0]:[e.spouse?-e.spouse.width/2:0,-e.height/2+u(e,!!this.options.horizontal)/2]},e}();function i(e){var t=e.indi?e.indi.width:0,n=e.spouse?e.spouse.width:0,r=e.family.width;return!e.indi||!e.spouse||t+n<=r?(t+n-r)/2:r/2>=n?t+n-r:r/2>=t?0:t-r/2}function a(e){var t=e.indi?e.indi.height:0,n=e.spouse?e.spouse.height:0,r=e.family.height;return e.indi&&e.spouse?t-r/2:(t+n-r)/2}function u(e,t){return t?r.max([e.indi?e.indi.width:0,e.spouse?e.spouse.width:0]):r.max([e.indi?e.indi.height:0,e.spouse?e.spouse.height:0])}t.CompositeRenderer=o,t.getFamPositionVertical=i,t.getFamPositionHorizontal=a},function(e,t,n){var r=n(24),o=n(100),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;e.exports=function(e,t){if(r(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!o(e))||(a.test(e)||!i.test(e)||null!=t&&e in Object(t))}},function(e,t,n){var r=n(395),o=n(411),i=n(413),a=n(414),u=n(415);function s(e){var t=-1,n=null==e?0:e.length;for(this.clear();++to?0:o+t),(n=n>o?o:n)<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var i=Array(o);++r-1&&e%1==0&&e<=9007199254740991}},function(e,t,n){var r=n(119),o=n(40),i=n(102),a=n(44);e.exports=function(e,t,n){if(!a(n))return!1;var u=typeof t;return!!("number"==u?o(n)&&i(t,n.length):"string"==u&&t in n)&&r(n[t],e)}},function(e,t){e.exports=function(e,t,n){for(var r=-1,o=null==e?0:e.length;++re.level){var n=e.pointer;e.pointer=e.pointer.tree[e.pointer.tree.length-1],e.pointer.tree.push(t),e.pointer.up=n,e.level=t.level}else if(t.level=t.status}function o(e){try{e.dispatchEvent(new MouseEvent("click"))}catch(t){var n=document.createEvent("MouseEvents");n.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),e.dispatchEvent(n)}}var i="object"==typeof window&&window.window===window?window:"object"==typeof self&&self.self===self?self:"object"==typeof n&&n.global===n?n:void 0,a=i.saveAs||("object"!=typeof window||window!==i?function(){}:"download"in HTMLAnchorElement.prototype?function(e,n,a){var u=i.URL||i.webkitURL,s=document.createElement("a");n=n||e.name||"download",s.download=n,s.rel="noopener","string"==typeof e?(s.href=e,s.origin===location.origin?o(s):r(s.href)?t(e,n,a):o(s,s.target="_blank")):(s.href=u.createObjectURL(e),setTimeout((function(){u.revokeObjectURL(s.href)}),4e4),setTimeout((function(){o(s)}),0))}:"msSaveOrOpenBlob"in navigator?function(e,n,i){if(n=n||e.name||"download","string"!=typeof e)navigator.msSaveOrOpenBlob(function(e,t){return"undefined"==typeof t?t={autoBom:!1}:"object"!=typeof t&&(console.warn("Deprecated: Expected third argument to be a object"),t={autoBom:!t}),t.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type)?new Blob(["\ufeff",e],{type:e.type}):e}(e,i),n);else if(r(e))t(e,n,i);else{var a=document.createElement("a");a.href=e,a.target="_blank",setTimeout((function(){o(a)}))}}:function(e,n,r,o){if((o=o||open("","_blank"))&&(o.document.title=o.document.body.innerText="downloading..."),"string"==typeof e)return t(e,n,r);var a="application/octet-stream"===e.type,u=/constructor/i.test(i.HTMLElement)||i.safari,s=/CriOS\/[\d]+/.test(navigator.userAgent);if((s||a&&u)&&"object"==typeof FileReader){var l=new FileReader;l.onloadend=function(){var e=l.result;e=s?e:e.replace(/^data:[^;]*;/,"data:attachment/file;"),o?o.location.href=e:location=e,o=null},l.readAsDataURL(e)}else{var c=i.URL||i.webkitURL,f=c.createObjectURL(e);o?o.location=f:location.href=f,o=null,setTimeout((function(){c.revokeObjectURL(f)}),4e4)}});i.saveAs=a.saveAs=a,e.exports=a})?r.apply(t,o):r)||(e.exports=i)}).call(this,n(157))},,function(e,t,n){var r=n(132),o=n(79),i=n(273),a=n(133),u=o((function(e){return i(r(e,1,a,!0))}));e.exports=u},function(e,t,n){!function(){var t=n(543),r=n(278).utf8,o=n(544),i=n(278).bin,a=function e(n,a){n.constructor==String?n=a&&"binary"===a.encoding?i.stringToBytes(n):r.stringToBytes(n):o(n)?n=Array.prototype.slice.call(n,0):Array.isArray(n)||n.constructor===Uint8Array||(n=n.toString());for(var u=t.bytesToWords(n),s=8*n.length,l=1732584193,c=-271733879,f=-1732584194,p=271733878,d=0;d>>24)|4278255360&(u[d]<<24|u[d]>>>8);u[s>>>5]|=128<>>9<<4)]=s;var h=e._ff,m=e._gg,y=e._hh,v=e._ii;for(d=0;d>>0,c=c+b>>>0,f=f+w>>>0,p=p+x>>>0}return t.endian([l,c,f,p])};a._ff=function(e,t,n,r,o,i,a){var u=e+(t&n|~t&r)+(o>>>0)+a;return(u<>>32-i)+t},a._gg=function(e,t,n,r,o,i,a){var u=e+(t&r|n&~r)+(o>>>0)+a;return(u<>>32-i)+t},a._hh=function(e,t,n,r,o,i,a){var u=e+(t^n^r)+(o>>>0)+a;return(u<>>32-i)+t},a._ii=function(e,t,n,r,o,i,a){var u=e+(n^(t|~r))+(o>>>0)+a;return(u<>>32-i)+t},a._blocksize=16,a._digestsize=16,e.exports=function(e,n){if(void 0===e||null===e)throw new Error("Illegal argument "+e);var r=t.wordsToBytes(a(e,n));return n&&n.asBytes?r:n&&n.asString?i.bytesToString(r):t.bytesToHex(r)}}()},function(e,t,n){var r,o;!function(i){if(void 0===(o="function"===typeof(r=i)?r.call(t,n,t,e):r)||(e.exports=o),!0,e.exports=i(),!!0){var a=window.Cookies,u=window.Cookies=i();u.noConflict=function(){return window.Cookies=a,u}}}((function(){function e(){for(var e=0,t={};e=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}},,,,,,,,,function(e,t,n){"use strict";t.extend=function(e){var t,n,o,i,a=Array.prototype.slice.call(arguments,1);for(t=0,n=a.length;t0&&this.json.images[0].url||null},e.prototype.getImages=function(){return this.json.images||null},e.prototype.getNotes=function(){return this.json.notes||null},e.prototype.getEvents=function(){return this.json.events||null},e.prototype.showId=function(){return!this.json.hideId},e}(),o=function(){function e(e){this.json=e}return e.prototype.getId=function(){return this.json.id},e.prototype.getFather=function(){return this.json.husb||null},e.prototype.getMother=function(){return this.json.wife||null},e.prototype.getChildren=function(){return this.json.children||[]},e.prototype.getMarriageDate=function(){return this.json.marriage||null},e.prototype.getMarriagePlace=function(){return this.json.marriage&&this.json.marriage.place||null},e}(),i=function(){function e(e){var t=this;this.json=e,this.indis=new Map,this.fams=new Map,e.indis.forEach((function(e){return t.indis.set(e.id,new r(e))})),e.fams.forEach((function(e){return t.fams.set(e.id,new o(e))}))}return e.prototype.getIndi=function(e){return this.indis.get(e)||null},e.prototype.getFam=function(e){return this.fams.get(e)||null},e}();t.JsonDataProvider=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=new Map([[1,"Jan"],[2,"Feb"],[3,"Mar"],[4,"Apr"],[5,"May"],[6,"Jun"],[7,"Jul"],[8,"Aug"],[9,"Sep"],[10,"Oct"],[11,"Nov"],[12,"Dec"]]),o=new Map([["de",new Map([["cal","errech."],["abt","etwa"],["est","gesch\xe4t."],["before","vor"],["after","nach"]])],["fr",new Map([["cal","calc."],["abt","vers"],["est","est."],["before","avant"],["after","apr\xe8s"]])],["it",new Map([["cal","calc."],["abt","circa il"],["est","stim."],["before","prima del"],["after","dopo del"]])],["pl",new Map([["cal","wyl."],["abt","ok."],["est","szac."],["before","przed"],["after","po"]])],["ru",new Map([["cal","\u0432\u044b\u0447."],["abt","\u043e\u043a."],["est","\u043e\u0446\u0435\u043d."],["before","\u0434\u043e"],["after","\u043f\u043e\u0441\u043b\u0435"]])]]),i=new Map;function a(e,t){if(!Intl||!Intl.DateTimeFormat)return r.get(e);var n=e+"|"+(t||"");if(i.has(n))return i.get(n);var o=new Intl.DateTimeFormat(t,{month:"short"}).format(new Date(2e3,e-1));return i.set(n,o),o}function u(e,t){var n=t&&t.split(/[-_]/)[0],r=n&&o.get(n);return r?r.get(e):e}function s(e,t){return[e.qualifier&&u(e.qualifier,t),e.day,e.month&&a(e.month,t),e.year,e.text].join(" ")}t.formatDate=s,t.formatDateOrRange=function(e,t){if(e.date)return s(e.date,t);if(!e.dateRange)return"";var n=e.dateRange.from&&s(e.dateRange.from),r=e.dateRange.to&&s(e.dateRange.to);return n&&r?n+" .. "+r:n?u("after",t)+" "+n:r?u("before",t)+" "+r:""}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=function(){function e(e){void 0===e&&(e={}),this.indiParents=[],this.indiSiblings=[],this.spouseParents=[],this.spouseSiblings=[],this.children=[],Object.assign(this,e)}return e.prototype.get=function(e){switch(e){case r.IndiParents:return this.indiParents;case r.IndiSiblings:return this.indiSiblings;case r.SpouseParents:return this.spouseParents;case r.SpouseSiblings:return this.spouseSiblings;case r.Children:return this.children}},e.prototype.getAll=function(){return[].concat(this.indiSiblings,this.indiParents,this.children,this.spouseParents,this.spouseSiblings)},e.EMPTY=new e,e}();t.ChildNodes=o,function(e){e[e.IndiParents=0]="IndiParents",e[e.IndiSiblings=1]="IndiSiblings",e[e.SpouseParents=2]="SpouseParents",e[e.SpouseSiblings=3]="SpouseSiblings",e[e.Children=4]="Children"}(r=t.LinkType||(t.LinkType={})),t.otherSideLinkType=function(e){switch(e){case r.IndiParents:return r.Children;case r.IndiSiblings:return r.IndiSiblings;case r.SpouseParents:return r.Children;case r.SpouseSiblings:return r.IndiSiblings;case r.Children:return r.IndiParents}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.nonEmpty=function(e){return!(!e||!e.length)},t.last=function(e){return e[e.length-1]},t.zip=function(e,t){return e.map((function(e,n){return[e,t[n]]}))},t.points2pathd=function(e){for(var t="M "+e[0].x+" "+e[0].y+" L",n=0,r=e.slice(1);n0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}},function(e,t,n){"use strict";var r=n(306);t.a=r.instance},function(e,t,n){"use strict";var r=n(41),o=n.n(r),i=n(15),a=n.n(i),u="object"===("undefined"===typeof document?"undefined":o()(document))&&null!==document,s="object"===("undefined"===typeof window?"undefined":o()(window))&&null!==window&&window.self===window;t.a=function e(){return a()(e.override)?u&&s:e.override}},function(e,t,n){"use strict";var r=n(422),o="function"===typeof Symbol&&"symbol"===typeof Symbol("foo"),i=Object.prototype.toString,a=Array.prototype.concat,u=Object.defineProperty,s=u&&function(){var e={};try{for(var t in u(e,"x",{enumerable:!1,value:e}),e)return!1;return e.x===e}catch(n){return!1}}(),l=function(e,t,n,r){var o;(!(t in e)||"function"===typeof(o=r)&&"[object Function]"===i.call(o)&&r())&&(s?u(e,t,{configurable:!0,enumerable:!1,value:n,writable:!0}):e[t]=n)},c=function(e,t){var n=arguments.length>2?arguments[2]:{},i=r(t);o&&(i=a.call(i,Object.getOwnPropertySymbols(t)));for(var u=0;u=0&&"[object Function]"===r.call(e.callee)),n}},function(e,t,n){"use strict";var r=n(426),o=n(435),i=n(171),a=n(238),u=n(243),s=n(457);e.exports=function(e){var t,n=s(this),l=u(i(n,"length"));if(!a(e))throw new TypeError("mapperFunction must be a function");arguments.length>1&&(t=arguments[1]);var c=r(n,0);return o(c,n,l,0,1,e,t),c}},function(e,t,n){"use strict";var r=n(21)("%Object.defineProperty%",!0);if(r)try{r({},"a",{value:1})}catch(i){r=null}var o=n(101)("Object.prototype.propertyIsEnumerable");e.exports=function(e,t,n,i,a,u){if(!r){if(!e(u))return!1;if(!u["[[Configurable]]"]||!u["[[Writable]]"])return!1;if(a in i&&o(i,a)!==!!u["[[Enumerable]]"])return!1;var s=u["[[Value]]"];return i[a]=s,t(i[a],s)}return r(i,a,n(u)),!0}},function(e,t,n){"use strict";var r=n(173),o=n(39);e.exports=function(e){if("undefined"===typeof e)return e;r(o,"Property Descriptor","Desc",e);var t={};return"[[Value]]"in e&&(t.value=e["[[Value]]"]),"[[Writable]]"in e&&(t.writable=e["[[Writable]]"]),"[[Get]]"in e&&(t.get=e["[[Get]]"]),"[[Set]]"in e&&(t.set=e["[[Set]]"]),"[[Enumerable]]"in e&&(t.enumerable=e["[[Enumerable]]"]),"[[Configurable]]"in e&&(t.configurable=e["[[Configurable]]"]),t}},function(e,t,n){"use strict";var r=n(81),o=n(173),i=n(39);e.exports=function(e){return"undefined"!==typeof e&&(o(i,"Property Descriptor","Desc",e),!(!r(e,"[[Value]]")&&!r(e,"[[Writable]]")))}},function(e,t,n){"use strict";var r=n(174);e.exports=function(e,t){return e===t?0!==e||1/e===1/t:r(e)&&r(t)}},function(e,t,n){"use strict";var r=n(81),o=n(21)("%TypeError%"),i=n(39),a=n(237),u=n(238);e.exports=function(e){if("Object"!==i(e))throw new o("ToPropertyDescriptor requires an object");var t={};if(r(e,"enumerable")&&(t["[[Enumerable]]"]=a(e.enumerable)),r(e,"configurable")&&(t["[[Configurable]]"]=a(e.configurable)),r(e,"value")&&(t["[[Value]]"]=e.value),r(e,"writable")&&(t["[[Writable]]"]=a(e.writable)),r(e,"get")){var n=e.get;if("undefined"!==typeof n&&!u(n))throw new TypeError("getter must be a function");t["[[Get]]"]=n}if(r(e,"set")){var s=e.set;if("undefined"!==typeof s&&!u(s))throw new o("setter must be a function");t["[[Set]]"]=s}if((r(t,"[[Get]]")||r(t,"[[Set]]"))&&(r(t,"[[Value]]")||r(t,"[[Writable]]")))throw new o("Invalid property descriptor. Cannot both specify accessors and a value or writable attribute");return t}},function(e,t,n){"use strict";e.exports=function(e){return!!e}},function(e,t,n){"use strict";e.exports=n(239)},function(e,t,n){"use strict";var r,o,i=Function.prototype.toString,a="object"===typeof Reflect&&null!==Reflect&&Reflect.apply;if("function"===typeof a&&"function"===typeof Object.defineProperty)try{r=Object.defineProperty({},"length",{get:function(){throw o}}),o={}}catch(f){a=null}else a=null;var u=/^\s*class\b/,s=function(e){try{var t=i.call(e);return u.test(t)}catch(n){return!1}},l=Object.prototype.toString,c="function"===typeof Symbol&&"symbol"===typeof Symbol.toStringTag;e.exports=a?function(e){if(!e)return!1;if("function"!==typeof e&&"object"!==typeof e)return!1;if("function"===typeof e&&!e.prototype)return!0;try{a(e,null,r)}catch(t){if(t!==o)return!1}return!s(e)}:function(e){if(!e)return!1;if("function"!==typeof e&&"object"!==typeof e)return!1;if("function"===typeof e&&!e.prototype)return!0;if(c)return function(e){try{return!s(e)&&(i.call(e),!0)}catch(t){return!1}}(e);if(s(e))return!1;var t=l.call(e);return"[object Function]"===t||"[object GeneratorFunction]"===t}},function(e,t,n){"use strict";var r=Number.isNaN||function(e){return e!==e};e.exports=Number.isFinite||function(e){return"number"===typeof e&&!r(e)&&e!==1/0&&e!==-1/0}},function(e,t,n){"use strict";var r=n(21),o=r("%Math%"),i=r("%Number%");e.exports=i.MAX_SAFE_INTEGER||o.pow(2,53)-1},function(e,t,n){"use strict";e.exports=function(e){return null===e||"function"!==typeof e&&"object"!==typeof e}},function(e,t,n){"use strict";var r=n(241),o=n(445);e.exports=function(e){var t=o(e);return t<=0?0:t>r?r:t}},function(e,t,n){"use strict";var r=n(231);e.exports=function(){return Array.prototype.flatMap||r}},function(e,t,n){var r=n(122),o=n(246),i=n(123);e.exports=function(e,t,n,a,u,s){var l=1&n,c=e.length,f=t.length;if(c!=f&&!(l&&f>c))return!1;var p=s.get(e),d=s.get(t);if(p&&d)return p==t&&d==e;var h=-1,m=!0,y=2&n?new r:void 0;for(s.set(e,t),s.set(t,e);++he.length)&&(t=e.length);for(var n=0,r=new Array(t);n3&&void 0!==arguments[3]&&arguments[3],o=t[e];if(void 0!==o)return o;if(r){var i=t[O(e)];if(void 0!==i)return i;if(n){var a=n[e];if(void 0!==a)return a}}return"checked"!==e&&("value"===e?t.multiple?[]:"":void 0)},S=function(e){function t(){var e,n;a()(this,t);for(var r=arguments.length,i=new Array(r),u=0;u0&&n.setState(i)}));var s=n.constructor.autoControlledProps,l=_()(y()(y()(n)),"getInitialAutoControlledState",n.props)||{},f=s.reduce((function(e,t){return e[t]=j(t,n.props,l,!0),e}),{});return n.state=o()({},l,f),n}return h()(t,e),s()(t,[{key:"componentWillReceiveProps",value:function(e){var t=this.constructor.autoControlledProps.reduce((function(t,n){return!w()(e[n])&&(t[n]=e[n]),t}),{});Object.keys(t).length>0&&this.setState(t)}}]),t}(k.Component)},function(e,t,n){var r=n(122),o=n(131),i=n(183),a=n(68),u=n(82),s=n(123);e.exports=function(e,t,n,l){var c=-1,f=o,p=!0,d=e.length,h=[],m=t.length;if(!d)return h;n&&(t=a(t,u(n))),l?(f=i,p=!1):t.length>=200&&(f=s,p=!1,t=new r(t));e:for(;++c=200){var m=t?null:u(e);if(m)return s(m);p=!1,c=a,h=new r}else h=t?[]:d;e:for(;++l=o?e:r(e,t,n)}},function(e,t,n){var r=n(225);e.exports=function(e,t,n){"__proto__"==t&&r?r(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}},function(e,t){var n={utf8:{stringToBytes:function(e){return n.bin.stringToBytes(unescape(encodeURIComponent(e)))},bytesToString:function(e){return decodeURIComponent(escape(n.bin.bytesToString(e)))}},bin:{stringToBytes:function(e){for(var t=[],n=0;n1&&T.reverse(),w&&g=0&&e<2?"one":"other"},fields:{year:{displayName:"ann\xe9e",relative:{0:"cette ann\xe9e",1:"l\u2019ann\xe9e prochaine","-1":"l\u2019ann\xe9e derni\xe8re"},relativeTime:{future:{one:"dans {0} an",other:"dans {0} ans"},past:{one:"il y a {0} an",other:"il y a {0} ans"}}},"year-short":{displayName:"an",relative:{0:"cette ann\xe9e",1:"l\u2019ann\xe9e prochaine","-1":"l\u2019ann\xe9e derni\xe8re"},relativeTime:{future:{one:"dans {0} a",other:"dans {0} a"},past:{one:"il y a {0} a",other:"il y a {0} a"}}},month:{displayName:"mois",relative:{0:"ce mois-ci",1:"le mois prochain","-1":"le mois dernier"},relativeTime:{future:{one:"dans {0} mois",other:"dans {0} mois"},past:{one:"il y a {0} mois",other:"il y a {0} mois"}}},"month-short":{displayName:"m.",relative:{0:"ce mois-ci",1:"le mois prochain","-1":"le mois dernier"},relativeTime:{future:{one:"dans {0} m.",other:"dans {0} m."},past:{one:"il y a {0} m.",other:"il y a {0} m."}}},day:{displayName:"jour",relative:{0:"aujourd\u2019hui",1:"demain",2:"apr\xe8s-demain","-2":"avant-hier","-1":"hier"},relativeTime:{future:{one:"dans {0} jour",other:"dans {0} jours"},past:{one:"il y a {0} jour",other:"il y a {0} jours"}}},"day-short":{displayName:"j",relative:{0:"aujourd\u2019hui",1:"demain",2:"apr\xe8s-demain","-2":"avant-hier","-1":"hier"},relativeTime:{future:{one:"dans {0}\xa0j",other:"dans {0}\xa0j"},past:{one:"il y a {0}\xa0j",other:"il y a {0}\xa0j"}}},hour:{displayName:"heure",relative:{0:"cette heure-ci"},relativeTime:{future:{one:"dans {0} heure",other:"dans {0} heures"},past:{one:"il y a {0} heure",other:"il y a {0} heures"}}},"hour-short":{displayName:"h",relative:{0:"cette heure-ci"},relativeTime:{future:{one:"dans {0}\xa0h",other:"dans {0}\xa0h"},past:{one:"il y a {0}\xa0h",other:"il y a {0}\xa0h"}}},minute:{displayName:"minute",relative:{0:"cette minute-ci"},relativeTime:{future:{one:"dans {0} minute",other:"dans {0} minutes"},past:{one:"il y a {0} minute",other:"il y a {0} minutes"}}},"minute-short":{displayName:"min",relative:{0:"cette minute-ci"},relativeTime:{future:{one:"dans {0}\xa0min",other:"dans {0}\xa0min"},past:{one:"il y a {0}\xa0min",other:"il y a {0}\xa0min"}}},second:{displayName:"seconde",relative:{0:"maintenant"},relativeTime:{future:{one:"dans {0} seconde",other:"dans {0} secondes"},past:{one:"il y a {0} seconde",other:"il y a {0} secondes"}}},"second-short":{displayName:"s",relative:{0:"maintenant"},relativeTime:{future:{one:"dans {0}\xa0s",other:"dans {0}\xa0s"},past:{one:"il y a {0}\xa0s",other:"il y a {0}\xa0s"}}}}},{locale:"fr-BE",parentLocale:"fr"},{locale:"fr-BF",parentLocale:"fr"},{locale:"fr-BI",parentLocale:"fr"},{locale:"fr-BJ",parentLocale:"fr"},{locale:"fr-BL",parentLocale:"fr"},{locale:"fr-CA",parentLocale:"fr",fields:{year:{displayName:"ann\xe9e",relative:{0:"cette ann\xe9e",1:"l\u2019ann\xe9e prochaine","-1":"l\u2019ann\xe9e derni\xe8re"},relativeTime:{future:{one:"Dans {0}\xa0an",other:"Dans {0}\xa0ans"},past:{one:"Il y a {0}\xa0an",other:"Il y a {0}\xa0ans"}}},"year-short":{displayName:"a",relative:{0:"cette ann\xe9e",1:"l\u2019ann\xe9e prochaine","-1":"l\u2019ann\xe9e derni\xe8re"},relativeTime:{future:{one:"dans {0} a",other:"dans {0} a"},past:{one:"il y a {0} a",other:"il y a {0} a"}}},month:{displayName:"mois",relative:{0:"ce mois-ci",1:"le mois prochain","-1":"le mois dernier"},relativeTime:{future:{one:"dans {0} mois",other:"dans {0} mois"},past:{one:"il y a {0} mois",other:"il y a {0} mois"}}},"month-short":{displayName:"m.",relative:{0:"ce mois-ci",1:"le mois prochain","-1":"le mois dernier"},relativeTime:{future:{one:"dans {0} m.",other:"dans {0} m."},past:{one:"il y a {0} m.",other:"il y a {0} m."}}},day:{displayName:"jour",relative:{0:"aujourd\u2019hui",1:"demain",2:"apr\xe8s-demain","-2":"avant-hier","-1":"hier"},relativeTime:{future:{one:"dans {0} jour",other:"dans {0} jours"},past:{one:"il y a {0} jour",other:"il y a {0} jours"}}},"day-short":{displayName:"j",relative:{0:"aujourd\u2019hui",1:"demain",2:"apr\xe8s-demain","-2":"avant-hier","-1":"hier"},relativeTime:{future:{one:"dans {0}\xa0j",other:"dans {0}\xa0j"},past:{one:"il y a {0}\xa0j",other:"il y a {0}\xa0j"}}},hour:{displayName:"heure",relative:{0:"cette heure-ci"},relativeTime:{future:{one:"dans {0} heure",other:"dans {0} heures"},past:{one:"il y a {0} heure",other:"il y a {0} heures"}}},"hour-short":{displayName:"h",relative:{0:"cette heure-ci"},relativeTime:{future:{one:"dans {0}\xa0h",other:"dans {0}\xa0h"},past:{one:"il y a {0}\xa0h",other:"il y a {0}\xa0h"}}},minute:{displayName:"minute",relative:{0:"cette minute-ci"},relativeTime:{future:{one:"dans {0} minute",other:"dans {0} minutes"},past:{one:"il y a {0} minute",other:"il y a {0} minutes"}}},"minute-short":{displayName:"min",relative:{0:"cette minute-ci"},relativeTime:{future:{one:"dans {0}\xa0min",other:"dans {0}\xa0min"},past:{one:"il y a {0}\xa0min",other:"il y a {0}\xa0min"}}},second:{displayName:"seconde",relative:{0:"maintenant"},relativeTime:{future:{one:"dans {0} seconde",other:"dans {0} secondes"},past:{one:"il y a {0} seconde",other:"il y a {0} secondes"}}},"second-short":{displayName:"s",relative:{0:"maintenant"},relativeTime:{future:{one:"dans {0}\xa0s",other:"dans {0}\xa0s"},past:{one:"il y a {0}\xa0s",other:"il y a {0}\xa0s"}}}}},{locale:"fr-CD",parentLocale:"fr"},{locale:"fr-CF",parentLocale:"fr"},{locale:"fr-CG",parentLocale:"fr"},{locale:"fr-CH",parentLocale:"fr"},{locale:"fr-CI",parentLocale:"fr"},{locale:"fr-CM",parentLocale:"fr"},{locale:"fr-DJ",parentLocale:"fr"},{locale:"fr-DZ",parentLocale:"fr"},{locale:"fr-GA",parentLocale:"fr"},{locale:"fr-GF",parentLocale:"fr"},{locale:"fr-GN",parentLocale:"fr"},{locale:"fr-GP",parentLocale:"fr"},{locale:"fr-GQ",parentLocale:"fr"},{locale:"fr-HT",parentLocale:"fr",fields:{year:{displayName:"ann\xe9e",relative:{0:"cette ann\xe9e",1:"l\u2019ann\xe9e prochaine","-1":"l\u2019ann\xe9e derni\xe8re"},relativeTime:{future:{one:"dans {0} an",other:"dans {0} ans"},past:{one:"il y a {0} an",other:"il y a {0} ans"}}},"year-short":{displayName:"an",relative:{0:"cette ann\xe9e",1:"l\u2019ann\xe9e prochaine","-1":"l\u2019ann\xe9e derni\xe8re"},relativeTime:{future:{one:"dans {0} a",other:"dans {0} a"},past:{one:"il y a {0} a",other:"il y a {0} a"}}},month:{displayName:"mois",relative:{0:"ce mois-ci",1:"le mois prochain","-1":"le mois dernier"},relativeTime:{future:{one:"dans {0} mois",other:"dans {0} mois"},past:{one:"il y a {0} mois",other:"il y a {0} mois"}}},"month-short":{displayName:"m.",relative:{0:"ce mois-ci",1:"le mois prochain","-1":"le mois dernier"},relativeTime:{future:{one:"dans {0} m.",other:"dans {0} m."},past:{one:"il y a {0} m.",other:"il y a {0} m."}}},day:{displayName:"jour",relative:{0:"aujourd\u2019hui",1:"demain",2:"apr\xe8s-demain","-2":"avant-hier","-1":"hier"},relativeTime:{future:{one:"dans {0} jour",other:"dans {0} jours"},past:{one:"il y a {0} jour",other:"il y a {0} jours"}}},"day-short":{displayName:"jr.",relative:{0:"aujourd\u2019hui",1:"demain",2:"apr\xe8s-demain","-2":"avant-hier","-1":"hier"},relativeTime:{future:{one:"dans {0}\xa0j",other:"dans {0}\xa0j"},past:{one:"il y a {0}\xa0j",other:"il y a {0}\xa0j"}}},hour:{displayName:"heure",relative:{0:"cette heure-ci"},relativeTime:{future:{one:"dans {0} heure",other:"dans {0} heures"},past:{one:"il y a {0} heure",other:"il y a {0} heures"}}},"hour-short":{displayName:"hr",relative:{0:"cette heure-ci"},relativeTime:{future:{one:"dans {0}\xa0h",other:"dans {0}\xa0h"},past:{one:"il y a {0}\xa0h",other:"il y a {0}\xa0h"}}},minute:{displayName:"minute",relative:{0:"cette minute-ci"},relativeTime:{future:{one:"dans {0} minute",other:"dans {0} minutes"},past:{one:"il y a {0} minute",other:"il y a {0} minutes"}}},"minute-short":{displayName:"min.",relative:{0:"cette minute-ci"},relativeTime:{future:{one:"dans {0}\xa0min",other:"dans {0}\xa0min"},past:{one:"il y a {0}\xa0min",other:"il y a {0}\xa0min"}}},second:{displayName:"seconde",relative:{0:"maintenant"},relativeTime:{future:{one:"dans {0} seconde",other:"dans {0} secondes"},past:{one:"il y a {0} seconde",other:"il y a {0} secondes"}}},"second-short":{displayName:"s",relative:{0:"maintenant"},relativeTime:{future:{one:"dans {0}\xa0s",other:"dans {0}\xa0s"},past:{one:"il y a {0}\xa0s",other:"il y a {0}\xa0s"}}}}},{locale:"fr-KM",parentLocale:"fr"},{locale:"fr-LU",parentLocale:"fr"},{locale:"fr-MA",parentLocale:"fr"},{locale:"fr-MC",parentLocale:"fr"},{locale:"fr-MF",parentLocale:"fr"},{locale:"fr-MG",parentLocale:"fr"},{locale:"fr-ML",parentLocale:"fr"},{locale:"fr-MQ",parentLocale:"fr"},{locale:"fr-MR",parentLocale:"fr"},{locale:"fr-MU",parentLocale:"fr"},{locale:"fr-NC",parentLocale:"fr"},{locale:"fr-NE",parentLocale:"fr"},{locale:"fr-PF",parentLocale:"fr"},{locale:"fr-PM",parentLocale:"fr"},{locale:"fr-RE",parentLocale:"fr"},{locale:"fr-RW",parentLocale:"fr"},{locale:"fr-SC",parentLocale:"fr"},{locale:"fr-SN",parentLocale:"fr"},{locale:"fr-SY",parentLocale:"fr"},{locale:"fr-TD",parentLocale:"fr"},{locale:"fr-TG",parentLocale:"fr"},{locale:"fr-TN",parentLocale:"fr"},{locale:"fr-VU",parentLocale:"fr"},{locale:"fr-WF",parentLocale:"fr"},{locale:"fr-YT",parentLocale:"fr"}]}()},function(e,t,n){e.exports=function(){"use strict";return[{locale:"it",pluralRuleFunction:function(e,t){var n=!String(e).split(".")[1];return t?11==e||8==e||80==e||800==e?"many":"other":1==e&&n?"one":"other"},fields:{year:{displayName:"anno",relative:{0:"quest\u2019anno",1:"anno prossimo","-1":"anno scorso"},relativeTime:{future:{one:"tra {0} anno",other:"tra {0} anni"},past:{one:"{0} anno fa",other:"{0} anni fa"}}},"year-short":{displayName:"anno",relative:{0:"quest\u2019anno",1:"anno prossimo","-1":"anno scorso"},relativeTime:{future:{one:"tra {0} anno",other:"tra {0} anni"},past:{one:"{0} anno fa",other:"{0} anni fa"}}},month:{displayName:"mese",relative:{0:"questo mese",1:"mese prossimo","-1":"mese scorso"},relativeTime:{future:{one:"tra {0} mese",other:"tra {0} mesi"},past:{one:"{0} mese fa",other:"{0} mesi fa"}}},"month-short":{displayName:"mese",relative:{0:"questo mese",1:"mese prossimo","-1":"mese scorso"},relativeTime:{future:{one:"tra {0} mese",other:"tra {0} mesi"},past:{one:"{0} mese fa",other:"{0} mesi fa"}}},day:{displayName:"giorno",relative:{0:"oggi",1:"domani",2:"dopodomani","-2":"l\u2019altro ieri","-1":"ieri"},relativeTime:{future:{one:"tra {0} giorno",other:"tra {0} giorni"},past:{one:"{0} giorno fa",other:"{0} giorni fa"}}},"day-short":{displayName:"g",relative:{0:"oggi",1:"domani",2:"dopodomani","-2":"l\u2019altro ieri","-1":"ieri"},relativeTime:{future:{one:"tra {0} g",other:"tra {0} gg"},past:{one:"{0} g fa",other:"{0} gg fa"}}},hour:{displayName:"ora",relative:{0:"quest\u2019ora"},relativeTime:{future:{one:"tra {0} ora",other:"tra {0} ore"},past:{one:"{0} ora fa",other:"{0} ore fa"}}},"hour-short":{displayName:"h.",relative:{0:"quest\u2019ora"},relativeTime:{future:{one:"tra {0} h",other:"tra {0} h"},past:{one:"{0} h fa",other:"{0} h fa"}}},minute:{displayName:"minuto",relative:{0:"questo minuto"},relativeTime:{future:{one:"tra {0} minuto",other:"tra {0} minuti"},past:{one:"{0} minuto fa",other:"{0} minuti fa"}}},"minute-short":{displayName:"min",relative:{0:"questo minuto"},relativeTime:{future:{one:"tra {0} min",other:"tra {0} min"},past:{one:"{0} min fa",other:"{0} min fa"}}},second:{displayName:"secondo",relative:{0:"ora"},relativeTime:{future:{one:"tra {0} secondo",other:"tra {0} secondi"},past:{one:"{0} secondo fa",other:"{0} secondi fa"}}},"second-short":{displayName:"s",relative:{0:"ora"},relativeTime:{future:{one:"tra {0} s",other:"tra {0} sec."},past:{one:"{0} s fa",other:"{0} sec. fa"}}}}},{locale:"it-CH",parentLocale:"it"},{locale:"it-SM",parentLocale:"it"},{locale:"it-VA",parentLocale:"it"}]}()},function(e,t,n){e.exports=function(){"use strict";return[{locale:"pl",pluralRuleFunction:function(e,t){var n=String(e).split("."),r=n[0],o=!n[1],i=r.slice(-1),a=r.slice(-2);return t?"other":1==e&&o?"one":o&&i>=2&&i<=4&&(a<12||a>14)?"few":o&&1!=r&&(0==i||1==i)||o&&i>=5&&i<=9||o&&a>=12&&a<=14?"many":"other"},fields:{year:{displayName:"rok",relative:{0:"w tym roku",1:"w przysz\u0142ym roku","-1":"w zesz\u0142ym roku"},relativeTime:{future:{one:"za {0} rok",few:"za {0} lata",many:"za {0} lat",other:"za {0} roku"},past:{one:"{0} rok temu",few:"{0} lata temu",many:"{0} lat temu",other:"{0} roku temu"}}},"year-short":{displayName:"r.",relative:{0:"w tym roku",1:"w przysz\u0142ym roku","-1":"w zesz\u0142ym roku"},relativeTime:{future:{one:"za {0} rok",few:"za {0} lata",many:"za {0} lat",other:"za {0} roku"},past:{one:"{0} rok temu",few:"{0} lata temu",many:"{0} lat temu",other:"{0} roku temu"}}},month:{displayName:"miesi\u0105c",relative:{0:"w tym miesi\u0105cu",1:"w przysz\u0142ym miesi\u0105cu","-1":"w zesz\u0142ym miesi\u0105cu"},relativeTime:{future:{one:"za {0} miesi\u0105c",few:"za {0} miesi\u0105ce",many:"za {0} miesi\u0119cy",other:"za {0} miesi\u0105ca"},past:{one:"{0} miesi\u0105c temu",few:"{0} miesi\u0105ce temu",many:"{0} miesi\u0119cy temu",other:"{0} miesi\u0105ca temu"}}},"month-short":{displayName:"mies.",relative:{0:"w tym miesi\u0105cu",1:"w przysz\u0142ym miesi\u0105cu","-1":"w zesz\u0142ym miesi\u0105cu"},relativeTime:{future:{one:"za {0} mies.",few:"za {0} mies.",many:"za {0} mies.",other:"za {0} mies."},past:{one:"{0} mies. temu",few:"{0} mies. temu",many:"{0} mies. temu",other:"{0} mies. temu"}}},day:{displayName:"dzie\u0144",relative:{0:"dzisiaj",1:"jutro",2:"pojutrze","-2":"przedwczoraj","-1":"wczoraj"},relativeTime:{future:{one:"za {0} dzie\u0144",few:"za {0} dni",many:"za {0} dni",other:"za {0} dnia"},past:{one:"{0} dzie\u0144 temu",few:"{0} dni temu",many:"{0} dni temu",other:"{0} dnia temu"}}},"day-short":{displayName:"dzie\u0144",relative:{0:"dzisiaj",1:"jutro",2:"pojutrze","-2":"przedwczoraj","-1":"wczoraj"},relativeTime:{future:{one:"za {0} dzie\u0144",few:"za {0} dni",many:"za {0} dni",other:"za {0} dnia"},past:{one:"{0} dzie\u0144 temu",few:"{0} dni temu",many:"{0} dni temu",other:"{0} dnia temu"}}},hour:{displayName:"godzina",relative:{0:"ta godzina"},relativeTime:{future:{one:"za {0} godzin\u0119",few:"za {0} godziny",many:"za {0} godzin",other:"za {0} godziny"},past:{one:"{0} godzin\u0119 temu",few:"{0} godziny temu",many:"{0} godzin temu",other:"{0} godziny temu"}}},"hour-short":{displayName:"godz.",relative:{0:"ta godzina"},relativeTime:{future:{one:"za {0} godz.",few:"za {0} godz.",many:"za {0} godz.",other:"za {0} godz."},past:{one:"{0} godz. temu",few:"{0} godz. temu",many:"{0} godz. temu",other:"{0} godz. temu"}}},minute:{displayName:"minuta",relative:{0:"ta minuta"},relativeTime:{future:{one:"za {0} minut\u0119",few:"za {0} minuty",many:"za {0} minut",other:"za {0} minuty"},past:{one:"{0} minut\u0119 temu",few:"{0} minuty temu",many:"{0} minut temu",other:"{0} minuty temu"}}},"minute-short":{displayName:"min",relative:{0:"ta minuta"},relativeTime:{future:{one:"za {0} min",few:"za {0} min",many:"za {0} min",other:"za {0} min"},past:{one:"{0} min temu",few:"{0} min temu",many:"{0} min temu",other:"{0} min temu"}}},second:{displayName:"sekunda",relative:{0:"teraz"},relativeTime:{future:{one:"za {0} sekund\u0119",few:"za {0} sekundy",many:"za {0} sekund",other:"za {0} sekundy"},past:{one:"{0} sekund\u0119 temu",few:"{0} sekundy temu",many:"{0} sekund temu",other:"{0} sekundy temu"}}},"second-short":{displayName:"sek.",relative:{0:"teraz"},relativeTime:{future:{one:"za {0} sek.",few:"za {0} sek.",many:"za {0} sek.",other:"za {0} sek."},past:{one:"{0} sek. temu",few:"{0} sek. temu",many:"{0} sek. temu",other:"{0} sek. temu"}}}}}]}()},function(e,t,n){e.exports=function(){"use strict";return[{locale:"ru",pluralRuleFunction:function(e,t){var n=String(e).split("."),r=n[0],o=!n[1],i=r.slice(-1),a=r.slice(-2);return t?"other":o&&1==i&&11!=a?"one":o&&i>=2&&i<=4&&(a<12||a>14)?"few":o&&0==i||o&&i>=5&&i<=9||o&&a>=11&&a<=14?"many":"other"},fields:{year:{displayName:"\u0433\u043e\u0434",relative:{0:"\u0432 \u044d\u0442\u043e\u043c \u0433\u043e\u0434\u0443",1:"\u0432 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u043c \u0433\u043e\u0434\u0443","-1":"\u0432 \u043f\u0440\u043e\u0448\u043b\u043e\u043c \u0433\u043e\u0434\u0443"},relativeTime:{future:{one:"\u0447\u0435\u0440\u0435\u0437 {0} \u0433\u043e\u0434",few:"\u0447\u0435\u0440\u0435\u0437 {0} \u0433\u043e\u0434\u0430",many:"\u0447\u0435\u0440\u0435\u0437 {0} \u043b\u0435\u0442",other:"\u0447\u0435\u0440\u0435\u0437 {0} \u0433\u043e\u0434\u0430"},past:{one:"{0} \u0433\u043e\u0434 \u043d\u0430\u0437\u0430\u0434",few:"{0} \u0433\u043e\u0434\u0430 \u043d\u0430\u0437\u0430\u0434",many:"{0} \u043b\u0435\u0442 \u043d\u0430\u0437\u0430\u0434",other:"{0} \u0433\u043e\u0434\u0430 \u043d\u0430\u0437\u0430\u0434"}}},"year-short":{displayName:"\u0433.",relative:{0:"\u0432 \u044d\u0442\u043e\u043c \u0433.",1:"\u0432 \u0441\u043b\u0435\u0434. \u0433.","-1":"\u0432 \u043f\u0440\u043e\u0448\u043b\u043e\u043c \u0433."},relativeTime:{future:{one:"\u0447\u0435\u0440\u0435\u0437 {0} \u0433.",few:"\u0447\u0435\u0440\u0435\u0437 {0} \u0433.",many:"\u0447\u0435\u0440\u0435\u0437 {0} \u043b.",other:"\u0447\u0435\u0440\u0435\u0437 {0} \u0433."},past:{one:"{0} \u0433. \u043d\u0430\u0437\u0430\u0434",few:"{0} \u0433. \u043d\u0430\u0437\u0430\u0434",many:"{0} \u043b. \u043d\u0430\u0437\u0430\u0434",other:"{0} \u0433. \u043d\u0430\u0437\u0430\u0434"}}},month:{displayName:"\u043c\u0435\u0441\u044f\u0446",relative:{0:"\u0432 \u044d\u0442\u043e\u043c \u043c\u0435\u0441\u044f\u0446\u0435",1:"\u0432 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u043c \u043c\u0435\u0441\u044f\u0446\u0435","-1":"\u0432 \u043f\u0440\u043e\u0448\u043b\u043e\u043c \u043c\u0435\u0441\u044f\u0446\u0435"},relativeTime:{future:{one:"\u0447\u0435\u0440\u0435\u0437 {0} \u043c\u0435\u0441\u044f\u0446",few:"\u0447\u0435\u0440\u0435\u0437 {0} \u043c\u0435\u0441\u044f\u0446\u0430",many:"\u0447\u0435\u0440\u0435\u0437 {0} \u043c\u0435\u0441\u044f\u0446\u0435\u0432",other:"\u0447\u0435\u0440\u0435\u0437 {0} \u043c\u0435\u0441\u044f\u0446\u0430"},past:{one:"{0} \u043c\u0435\u0441\u044f\u0446 \u043d\u0430\u0437\u0430\u0434",few:"{0} \u043c\u0435\u0441\u044f\u0446\u0430 \u043d\u0430\u0437\u0430\u0434",many:"{0} \u043c\u0435\u0441\u044f\u0446\u0435\u0432 \u043d\u0430\u0437\u0430\u0434",other:"{0} \u043c\u0435\u0441\u044f\u0446\u0430 \u043d\u0430\u0437\u0430\u0434"}}},"month-short":{displayName:"\u043c\u0435\u0441.",relative:{0:"\u0432 \u044d\u0442\u043e\u043c \u043c\u0435\u0441.",1:"\u0432 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u043c \u043c\u0435\u0441.","-1":"\u0432 \u043f\u0440\u043e\u0448\u043b\u043e\u043c \u043c\u0435\u0441."},relativeTime:{future:{one:"\u0447\u0435\u0440\u0435\u0437 {0} \u043c\u0435\u0441.",few:"\u0447\u0435\u0440\u0435\u0437 {0} \u043c\u0435\u0441.",many:"\u0447\u0435\u0440\u0435\u0437 {0} \u043c\u0435\u0441.",other:"\u0447\u0435\u0440\u0435\u0437 {0} \u043c\u0435\u0441."},past:{one:"{0} \u043c\u0435\u0441. \u043d\u0430\u0437\u0430\u0434",few:"{0} \u043c\u0435\u0441. \u043d\u0430\u0437\u0430\u0434",many:"{0} \u043c\u0435\u0441. \u043d\u0430\u0437\u0430\u0434",other:"{0} \u043c\u0435\u0441. \u043d\u0430\u0437\u0430\u0434"}}},day:{displayName:"\u0434\u0435\u043d\u044c",relative:{0:"\u0441\u0435\u0433\u043e\u0434\u043d\u044f",1:"\u0437\u0430\u0432\u0442\u0440\u0430",2:"\u043f\u043e\u0441\u043b\u0435\u0437\u0430\u0432\u0442\u0440\u0430","-2":"\u043f\u043e\u0437\u0430\u0432\u0447\u0435\u0440\u0430","-1":"\u0432\u0447\u0435\u0440\u0430"},relativeTime:{future:{one:"\u0447\u0435\u0440\u0435\u0437 {0} \u0434\u0435\u043d\u044c",few:"\u0447\u0435\u0440\u0435\u0437 {0} \u0434\u043d\u044f",many:"\u0447\u0435\u0440\u0435\u0437 {0} \u0434\u043d\u0435\u0439",other:"\u0447\u0435\u0440\u0435\u0437 {0} \u0434\u043d\u044f"},past:{one:"{0} \u0434\u0435\u043d\u044c \u043d\u0430\u0437\u0430\u0434",few:"{0} \u0434\u043d\u044f \u043d\u0430\u0437\u0430\u0434",many:"{0} \u0434\u043d\u0435\u0439 \u043d\u0430\u0437\u0430\u0434",other:"{0} \u0434\u043d\u044f \u043d\u0430\u0437\u0430\u0434"}}},"day-short":{displayName:"\u0434\u043d.",relative:{0:"\u0441\u0435\u0433\u043e\u0434\u043d\u044f",1:"\u0437\u0430\u0432\u0442\u0440\u0430",2:"\u043f\u043e\u0441\u043b\u0435\u0437\u0430\u0432\u0442\u0440\u0430","-2":"\u043f\u043e\u0437\u0430\u0432\u0447\u0435\u0440\u0430","-1":"\u0432\u0447\u0435\u0440\u0430"},relativeTime:{future:{one:"\u0447\u0435\u0440\u0435\u0437 {0} \u0434\u043d.",few:"\u0447\u0435\u0440\u0435\u0437 {0} \u0434\u043d.",many:"\u0447\u0435\u0440\u0435\u0437 {0} \u0434\u043d.",other:"\u0447\u0435\u0440\u0435\u0437 {0} \u0434\u043d."},past:{one:"{0} \u0434\u043d. \u043d\u0430\u0437\u0430\u0434",few:"{0} \u0434\u043d. \u043d\u0430\u0437\u0430\u0434",many:"{0} \u0434\u043d. \u043d\u0430\u0437\u0430\u0434",other:"{0} \u0434\u043d. \u043d\u0430\u0437\u0430\u0434"}}},hour:{displayName:"\u0447\u0430\u0441",relative:{0:"\u0432 \u044d\u0442\u043e\u0442 \u0447\u0430\u0441"},relativeTime:{future:{one:"\u0447\u0435\u0440\u0435\u0437 {0} \u0447\u0430\u0441",few:"\u0447\u0435\u0440\u0435\u0437 {0} \u0447\u0430\u0441\u0430",many:"\u0447\u0435\u0440\u0435\u0437 {0} \u0447\u0430\u0441\u043e\u0432",other:"\u0447\u0435\u0440\u0435\u0437 {0} \u0447\u0430\u0441\u0430"},past:{one:"{0} \u0447\u0430\u0441 \u043d\u0430\u0437\u0430\u0434",few:"{0} \u0447\u0430\u0441\u0430 \u043d\u0430\u0437\u0430\u0434",many:"{0} \u0447\u0430\u0441\u043e\u0432 \u043d\u0430\u0437\u0430\u0434",other:"{0} \u0447\u0430\u0441\u0430 \u043d\u0430\u0437\u0430\u0434"}}},"hour-short":{displayName:"\u0447",relative:{0:"\u0432 \u044d\u0442\u043e\u0442 \u0447\u0430\u0441"},relativeTime:{future:{one:"\u0447\u0435\u0440\u0435\u0437 {0}\xa0\u0447.",few:"\u0447\u0435\u0440\u0435\u0437 {0} \u0447.",many:"\u0447\u0435\u0440\u0435\u0437 {0} \u0447.",other:"\u0447\u0435\u0440\u0435\u0437 {0} \u0447."},past:{one:"{0}\xa0\u0447. \u043d\u0430\u0437\u0430\u0434",few:"{0} \u0447. \u043d\u0430\u0437\u0430\u0434",many:"{0} \u0447. \u043d\u0430\u0437\u0430\u0434",other:"{0} \u0447. \u043d\u0430\u0437\u0430\u0434"}}},minute:{displayName:"\u043c\u0438\u043d\u0443\u0442\u0430",relative:{0:"\u0432 \u044d\u0442\u0443 \u043c\u0438\u043d\u0443\u0442\u0443"},relativeTime:{future:{one:"\u0447\u0435\u0440\u0435\u0437 {0} \u043c\u0438\u043d\u0443\u0442\u0443",few:"\u0447\u0435\u0440\u0435\u0437 {0} \u043c\u0438\u043d\u0443\u0442\u044b",many:"\u0447\u0435\u0440\u0435\u0437 {0} \u043c\u0438\u043d\u0443\u0442",other:"\u0447\u0435\u0440\u0435\u0437 {0} \u043c\u0438\u043d\u0443\u0442\u044b"},past:{one:"{0} \u043c\u0438\u043d\u0443\u0442\u0443 \u043d\u0430\u0437\u0430\u0434",few:"{0} \u043c\u0438\u043d\u0443\u0442\u044b \u043d\u0430\u0437\u0430\u0434",many:"{0} \u043c\u0438\u043d\u0443\u0442 \u043d\u0430\u0437\u0430\u0434",other:"{0} \u043c\u0438\u043d\u0443\u0442\u044b \u043d\u0430\u0437\u0430\u0434"}}},"minute-short":{displayName:"\u043c\u0438\u043d.",relative:{0:"\u0432 \u044d\u0442\u0443 \u043c\u0438\u043d\u0443\u0442\u0443"},relativeTime:{future:{one:"\u0447\u0435\u0440\u0435\u0437 {0} \u043c\u0438\u043d.",few:"\u0447\u0435\u0440\u0435\u0437 {0} \u043c\u0438\u043d.",many:"\u0447\u0435\u0440\u0435\u0437 {0} \u043c\u0438\u043d.",other:"\u0447\u0435\u0440\u0435\u0437 {0} \u043c\u0438\u043d."},past:{one:"{0} \u043c\u0438\u043d. \u043d\u0430\u0437\u0430\u0434",few:"{0} \u043c\u0438\u043d. \u043d\u0430\u0437\u0430\u0434",many:"{0} \u043c\u0438\u043d. \u043d\u0430\u0437\u0430\u0434",other:"{0} \u043c\u0438\u043d. \u043d\u0430\u0437\u0430\u0434"}}},second:{displayName:"\u0441\u0435\u043a\u0443\u043d\u0434\u0430",relative:{0:"\u0441\u0435\u0439\u0447\u0430\u0441"},relativeTime:{future:{one:"\u0447\u0435\u0440\u0435\u0437 {0} \u0441\u0435\u043a\u0443\u043d\u0434\u0443",few:"\u0447\u0435\u0440\u0435\u0437 {0} \u0441\u0435\u043a\u0443\u043d\u0434\u044b",many:"\u0447\u0435\u0440\u0435\u0437 {0} \u0441\u0435\u043a\u0443\u043d\u0434",other:"\u0447\u0435\u0440\u0435\u0437 {0} \u0441\u0435\u043a\u0443\u043d\u0434\u044b"},past:{one:"{0} \u0441\u0435\u043a\u0443\u043d\u0434\u0443 \u043d\u0430\u0437\u0430\u0434",few:"{0} \u0441\u0435\u043a\u0443\u043d\u0434\u044b \u043d\u0430\u0437\u0430\u0434",many:"{0} \u0441\u0435\u043a\u0443\u043d\u0434 \u043d\u0430\u0437\u0430\u0434",other:"{0} \u0441\u0435\u043a\u0443\u043d\u0434\u044b \u043d\u0430\u0437\u0430\u0434"}}},"second-short":{displayName:"\u0441\u0435\u043a.",relative:{0:"\u0441\u0435\u0439\u0447\u0430\u0441"},relativeTime:{future:{one:"\u0447\u0435\u0440\u0435\u0437 {0}\xa0\u0441\u0435\u043a.",few:"\u0447\u0435\u0440\u0435\u0437 {0}\xa0\u0441\u0435\u043a.",many:"\u0447\u0435\u0440\u0435\u0437 {0}\xa0\u0441\u0435\u043a.",other:"\u0447\u0435\u0440\u0435\u0437 {0}\xa0\u0441\u0435\u043a."},past:{one:"{0} \u0441\u0435\u043a. \u043d\u0430\u0437\u0430\u0434",few:"{0} \u0441\u0435\u043a. \u043d\u0430\u0437\u0430\u0434",many:"{0} \u0441\u0435\u043a. \u043d\u0430\u0437\u0430\u0434",other:"{0} \u0441\u0435\u043a. \u043d\u0430\u0437\u0430\u0434"}}}}},{locale:"ru-BY",parentLocale:"ru"},{locale:"ru-KG",parentLocale:"ru"},{locale:"ru-KZ",parentLocale:"ru"},{locale:"ru-MD",parentLocale:"ru"},{locale:"ru-UA",parentLocale:"ru"}]}()},,,,,,,function(e,t,n){"use strict";var r=n(369),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={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},u={};function s(e){return r.isMemo(e)?a:u[e.$$typeof]||o}u[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},u[r.Memo]=a;var l=Object.defineProperty,c=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,d=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!==typeof n){if(h){var o=d(n);o&&o!==h&&e(t,o,r)}var a=c(n);f&&(a=a.concat(f(n)));for(var u=s(t),m=s(n),y=0;ya&&r.push(e.substring(a,i.index));var s={href:i.url,key:"parse"+n.parseCounter+"match"+u};for(var l in n.props.properties){var c=n.props.properties[l];c===t.MATCH&&(c=i.url),s[l]=c}r.push(o.default.createElement(n.props.component,s,i.text)),a=i.lastIndex})),a=0?r=setTimeout(s,t-l):(r=null,n||(u=e.apply(i,o),i=o=null))}null==t&&(t=100);var l=function(){i=this,o=arguments,a=Date.now();var l=n&&!r;return r||(r=setTimeout(s,t)),l&&(u=e.apply(i,o),i=o=null),u};return l.clear=function(){r&&(clearTimeout(r),r=null)},l.flush=function(){r&&(u=e.apply(i,o),i=o=null,clearTimeout(r),r=null)},l}n.debounce=n,e.exports=n},function(e,t,n){var r,o;!function(){var i,a=function e(t){var n=new e.Builder;return n.pipeline.add(e.trimmer,e.stopWordFilter,e.stemmer),n.searchPipeline.add(e.stemmer),t.call(n,n),n.build()};a.version="2.3.9",(a.utils={}).warn=(i=this,function(e){i.console&&console.warn&&console.warn(e)}),a.utils.asString=function(e){return void 0===e||null===e?"":e.toString()},a.utils.clone=function(e){if(null===e||void 0===e)return e;for(var t=Object.create(null),n=Object.keys(e),r=0;r0){var l=a.utils.clone(t)||{};l.position=[u,s],l.index=o.length,o.push(new a.Token(n.slice(u,i),l))}u=i+1}}return o}).separator=/[\s\-]+/,(a.Pipeline=function(){this._stack=[]}).registeredFunctions=Object.create(null),a.Pipeline.registerFunction=function(e,t){t in this.registeredFunctions&&a.utils.warn("Overwriting existing registered function: "+t),e.label=t,a.Pipeline.registeredFunctions[e.label]=e},a.Pipeline.warnIfFunctionNotRegistered=function(e){e.label&&e.label in this.registeredFunctions||a.utils.warn("Function is not registered with pipeline. This may cause problems when serialising the index.\n",e)},a.Pipeline.load=function(e){var t=new a.Pipeline;return e.forEach((function(e){var n=a.Pipeline.registeredFunctions[e];if(!n)throw new Error("Cannot load unregistered function: "+e);t.add(n)})),t},a.Pipeline.prototype.add=function(){var e=Array.prototype.slice.call(arguments);e.forEach((function(e){a.Pipeline.warnIfFunctionNotRegistered(e),this._stack.push(e)}),this)},a.Pipeline.prototype.after=function(e,t){a.Pipeline.warnIfFunctionNotRegistered(t);var n=this._stack.indexOf(e);if(-1==n)throw new Error("Cannot find existingFn");n+=1,this._stack.splice(n,0,t)},a.Pipeline.prototype.before=function(e,t){a.Pipeline.warnIfFunctionNotRegistered(t);var n=this._stack.indexOf(e);if(-1==n)throw new Error("Cannot find existingFn");this._stack.splice(n,0,t)},a.Pipeline.prototype.remove=function(e){var t=this._stack.indexOf(e);-1!=t&&this._stack.splice(t,1)},a.Pipeline.prototype.run=function(e){for(var t=this._stack.length,n=0;n1&&(ie&&(n=o),i!=e);)r=n-t,o=t+Math.floor(r/2),i=this.elements[2*o];return i==e||i>e?2*o:iu?l+=2:a==u&&(t+=n[s+1]*r[l+1],s+=2,l+=2);return t},a.Vector.prototype.similarity=function(e){return this.dot(e)/this.magnitude()||0},a.Vector.prototype.toArray=function(){for(var e=new Array(this.elements.length/2),t=1,n=0;t0){var i,u=o.str.charAt(0);u in o.node.edges?i=o.node.edges[u]:(i=new a.TokenSet,o.node.edges[u]=i),1==o.str.length&&(i.final=!0),r.push({node:i,editsRemaining:o.editsRemaining,str:o.str.slice(1)})}if(0!=o.editsRemaining){if("*"in o.node.edges)var s=o.node.edges["*"];else{s=new a.TokenSet;o.node.edges["*"]=s}if(0==o.str.length&&(s.final=!0),r.push({node:s,editsRemaining:o.editsRemaining-1,str:o.str}),o.str.length>1&&r.push({node:o.node,editsRemaining:o.editsRemaining-1,str:o.str.slice(1)}),1==o.str.length&&(o.node.final=!0),o.str.length>=1){if("*"in o.node.edges)var l=o.node.edges["*"];else{l=new a.TokenSet;o.node.edges["*"]=l}1==o.str.length&&(l.final=!0),r.push({node:l,editsRemaining:o.editsRemaining-1,str:o.str.slice(1)})}if(o.str.length>1){var c,f=o.str.charAt(0),p=o.str.charAt(1);p in o.node.edges?c=o.node.edges[p]:(c=new a.TokenSet,o.node.edges[p]=c),1==o.str.length&&(c.final=!0),r.push({node:c,editsRemaining:o.editsRemaining-1,str:f+o.str.slice(2)})}}}return n},a.TokenSet.fromString=function(e){for(var t=new a.TokenSet,n=t,r=0,o=e.length;r=e;t--){var n=this.uncheckedNodes[t],r=n.child.toString();r in this.minimizedNodes?n.parent.edges[n.char]=this.minimizedNodes[r]:(n.child._str=r,this.minimizedNodes[r]=n.child),this.uncheckedNodes.pop()}},(a.Index=function(e){this.invertedIndex=e.invertedIndex,this.fieldVectors=e.fieldVectors,this.tokenSet=e.tokenSet,this.fields=e.fields,this.pipeline=e.pipeline}).prototype.search=function(e){return this.query((function(t){new a.QueryParser(e,t).parse()}))},a.Index.prototype.query=function(e){for(var t=new a.Query(this.fields),n=Object.create(null),r=Object.create(null),o=Object.create(null),i=Object.create(null),u=Object.create(null),s=0;s1?1:e},a.Builder.prototype.k1=function(e){this._k1=e},a.Builder.prototype.add=function(e,t){var n=e[this._ref],r=Object.keys(this._fields);this._documents[n]=t||{},this.documentCount+=1;for(var o=0;o=this.length)return a.QueryLexer.EOS;var e=this.str.charAt(this.pos);return this.pos+=1,e},a.QueryLexer.prototype.width=function(){return this.pos-this.start},a.QueryLexer.prototype.ignore=function(){this.start==this.pos&&(this.pos+=1),this.start=this.pos},a.QueryLexer.prototype.backup=function(){this.pos-=1},a.QueryLexer.prototype.acceptDigitRun=function(){var e,t;do{t=(e=this.next()).charCodeAt(0)}while(t>47&&t<58);e!=a.QueryLexer.EOS&&this.backup()},a.QueryLexer.prototype.more=function(){return this.pos1&&(e.backup(),e.emit(a.QueryLexer.TERM)),e.ignore(),e.more())return a.QueryLexer.lexText},a.QueryLexer.lexEditDistance=function(e){return e.ignore(),e.acceptDigitRun(),e.emit(a.QueryLexer.EDIT_DISTANCE),a.QueryLexer.lexText},a.QueryLexer.lexBoost=function(e){return e.ignore(),e.acceptDigitRun(),e.emit(a.QueryLexer.BOOST),a.QueryLexer.lexText},a.QueryLexer.lexEOS=function(e){e.width()>0&&e.emit(a.QueryLexer.TERM)},a.QueryLexer.termSeparator=a.tokenizer.separator,a.QueryLexer.lexText=function(e){for(;;){var t=e.next();if(t==a.QueryLexer.EOS)return a.QueryLexer.lexEOS;if(92!=t.charCodeAt(0)){if(":"==t)return a.QueryLexer.lexField;if("~"==t)return e.backup(),e.width()>0&&e.emit(a.QueryLexer.TERM),a.QueryLexer.lexEditDistance;if("^"==t)return e.backup(),e.width()>0&&e.emit(a.QueryLexer.TERM),a.QueryLexer.lexBoost;if("+"==t&&1===e.width())return e.emit(a.QueryLexer.PRESENCE),a.QueryLexer.lexText;if("-"==t&&1===e.width())return e.emit(a.QueryLexer.PRESENCE),a.QueryLexer.lexText;if(t.match(a.QueryLexer.termSeparator))return a.QueryLexer.lexTerm}else e.escapeCharacter()}},(a.QueryParser=function(e,t){this.lexer=new a.QueryLexer(e),this.query=t,this.currentClause={},this.lexemeIdx=0}).prototype.parse=function(){this.lexer.run(),this.lexemes=this.lexer.lexemes;for(var e=a.QueryParser.parseClause;e;)e=e(this);return this.query},a.QueryParser.prototype.peekLexeme=function(){return this.lexemes[this.lexemeIdx]},a.QueryParser.prototype.consumeLexeme=function(){var e=this.peekLexeme();return this.lexemeIdx+=1,e},a.QueryParser.prototype.nextClause=function(){var e=this.currentClause;this.query.clause(e),this.currentClause={}},a.QueryParser.parseClause=function(e){var t=e.peekLexeme();if(void 0!=t)switch(t.type){case a.QueryLexer.PRESENCE:return a.QueryParser.parsePresence;case a.QueryLexer.FIELD:return a.QueryParser.parseField;case a.QueryLexer.TERM:return a.QueryParser.parseTerm;default:var n="expected either a field or a term, found "+t.type;throw t.str.length>=1&&(n+=" with value '"+t.str+"'"),new a.QueryParseError(n,t.start,t.end)}},a.QueryParser.parsePresence=function(e){var t=e.consumeLexeme();if(void 0!=t){switch(t.str){case"-":e.currentClause.presence=a.Query.presence.PROHIBITED;break;case"+":e.currentClause.presence=a.Query.presence.REQUIRED;break;default:var n="unrecognised presence operator'"+t.str+"'";throw new a.QueryParseError(n,t.start,t.end)}var r=e.peekLexeme();if(void 0==r)throw new a.QueryParseError(n="expecting term or field, found nothing",t.start,t.end);switch(r.type){case a.QueryLexer.FIELD:return a.QueryParser.parseField;case a.QueryLexer.TERM:return a.QueryParser.parseTerm;default:n="expecting term or field, found '"+r.type+"'";throw new a.QueryParseError(n,r.start,r.end)}}},a.QueryParser.parseField=function(e){var t=e.consumeLexeme();if(void 0!=t){if(-1==e.query.allFields.indexOf(t.str)){var n=e.query.allFields.map((function(e){return"'"+e+"'"})).join(", "),r="unrecognised field '"+t.str+"', possible fields: "+n;throw new a.QueryParseError(r,t.start,t.end)}e.currentClause.fields=[t.str];var o=e.peekLexeme();if(void 0==o)throw new a.QueryParseError(r="expecting term, found nothing",t.start,t.end);switch(o.type){case a.QueryLexer.TERM:return a.QueryParser.parseTerm;default:r="expecting term, found '"+o.type+"'";throw new a.QueryParseError(r,o.start,o.end)}}},a.QueryParser.parseTerm=function(e){var t=e.consumeLexeme();if(void 0!=t){e.currentClause.term=t.str.toLowerCase(),-1!=t.str.indexOf("*")&&(e.currentClause.usePipeline=!1);var n=e.peekLexeme();if(void 0!=n)switch(n.type){case a.QueryLexer.TERM:return e.nextClause(),a.QueryParser.parseTerm;case a.QueryLexer.FIELD:return e.nextClause(),a.QueryParser.parseField;case a.QueryLexer.EDIT_DISTANCE:return a.QueryParser.parseEditDistance;case a.QueryLexer.BOOST:return a.QueryParser.parseBoost;case a.QueryLexer.PRESENCE:return e.nextClause(),a.QueryParser.parsePresence;default:var r="Unexpected lexeme type '"+n.type+"'";throw new a.QueryParseError(r,n.start,n.end)}else e.nextClause()}},a.QueryParser.parseEditDistance=function(e){var t=e.consumeLexeme();if(void 0!=t){var n=parseInt(t.str,10);if(isNaN(n))throw new a.QueryParseError(o="edit distance must be numeric",t.start,t.end);e.currentClause.editDistance=n;var r=e.peekLexeme();if(void 0!=r)switch(r.type){case a.QueryLexer.TERM:return e.nextClause(),a.QueryParser.parseTerm;case a.QueryLexer.FIELD:return e.nextClause(),a.QueryParser.parseField;case a.QueryLexer.EDIT_DISTANCE:return a.QueryParser.parseEditDistance;case a.QueryLexer.BOOST:return a.QueryParser.parseBoost;case a.QueryLexer.PRESENCE:return e.nextClause(),a.QueryParser.parsePresence;default:var o="Unexpected lexeme type '"+r.type+"'";throw new a.QueryParseError(o,r.start,r.end)}else e.nextClause()}},a.QueryParser.parseBoost=function(e){var t=e.consumeLexeme();if(void 0!=t){var n=parseInt(t.str,10);if(isNaN(n))throw new a.QueryParseError(o="boost must be numeric",t.start,t.end);e.currentClause.boost=n;var r=e.peekLexeme();if(void 0!=r)switch(r.type){case a.QueryLexer.TERM:return e.nextClause(),a.QueryParser.parseTerm;case a.QueryLexer.FIELD:return e.nextClause(),a.QueryParser.parseField;case a.QueryLexer.EDIT_DISTANCE:return a.QueryParser.parseEditDistance;case a.QueryLexer.BOOST:return a.QueryParser.parseBoost;case a.QueryLexer.PRESENCE:return e.nextClause(),a.QueryParser.parsePresence;default:var o="Unexpected lexeme type '"+r.type+"'";throw new a.QueryParseError(o,r.start,r.end)}else e.nextClause()}},void 0===(o="function"===typeof(r=function(){return a})?r.call(t,n,t,e):r)||(e.exports=o)}()},function(e,t){e.exports=function e(t,n){"use strict";var r,o,i=/(^([+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?)?$|^0x[0-9a-f]+$|\d+)/gi,a=/(^[ ]*|[ ]*$)/g,u=/(^([\w ]+,?[\w ]+)?[\w ]+,?[\w ]+\d+:\d+(:\d+)?[\w ]?|^\d{1,4}[\/\-]\d{1,4}[\/\-]\d{1,4}|^\w+, \w+ \d+, \d{4})/,s=/^0x[0-9a-f]+$/i,l=/^0/,c=function(t){return e.insensitive&&(""+t).toLowerCase()||""+t},f=c(t).replace(a,"")||"",p=c(n).replace(a,"")||"",d=f.replace(i,"\0$1\0").replace(/\0$/,"").replace(/^\0/,"").split("\0"),h=p.replace(i,"\0$1\0").replace(/\0$/,"").replace(/^\0/,"").split("\0"),m=parseInt(f.match(s),16)||1!==d.length&&f.match(u)&&Date.parse(f),y=parseInt(p.match(s),16)||m&&p.match(u)&&Date.parse(p)||null;if(y){if(my)return 1}for(var v=0,g=Math.max(d.length,h.length);vo)return 1}return 0}},function(e,t,n){var r=n(79),o=n(136),i=n(192),a=n(139),u=r((function(e,t){var n=a(t,i(u));return o(e,64,void 0,t,n)}));u.placeholder={},e.exports=u},function(e,t,n){"use strict";(function(e){var n=this&&this.__spreadArrays||function(){for(var e=0,t=0,n=arguments.length;tP.length&&P.push(e)}function I(e,t,n){return null==e?0:function e(t,n,r,o){var u=typeof t;"undefined"!==u&&"boolean"!==u||(t=null);var s=!1;if(null===t)s=!0;else switch(u){case"string":case"number":s=!0;break;case"object":switch(t.$$typeof){case i:case a:s=!0}}if(s)return r(o,t,""===n?"."+M(t,0):n),1;if(s=0,n=""===n?".":n+":",Array.isArray(t))for(var l=0;l