(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const a of i)if(a.type==="childList")for(const o of a.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(i){const a={};return i.integrity&&(a.integrity=i.integrity),i.referrerPolicy&&(a.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?a.credentials="include":i.crossOrigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function r(i){if(i.ep)return;i.ep=!0;const a=n(i);fetch(i.href,a)}})();var Ta=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Un(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Xm(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if(typeof t=="function"){var n=function r(){return this instanceof r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var i=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,i.get?i:{enumerable:!0,get:function(){return e[r]}})}),n}var Px={exports:{}},ph={},Ix={exports:{}},ht={};/** * @license React * react.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var Y4;function HX(){if(Y4)return ht;Y4=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),o=Symbol.for("react.context"),s=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),l=Symbol.for("react.memo"),c=Symbol.for("react.lazy"),f=Symbol.iterator;function d(G){return G===null||typeof G!="object"?null:(G=f&&G[f]||G["@@iterator"],typeof G=="function"?G:null)}var p={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},y=Object.assign,g={};function w(G,U,W){this.props=G,this.context=U,this.refs=g,this.updater=W||p}w.prototype.isReactComponent={},w.prototype.setState=function(G,U){if(typeof G!="object"&&typeof G!="function"&&G!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,G,U,"setState")},w.prototype.forceUpdate=function(G){this.updater.enqueueForceUpdate(this,G,"forceUpdate")};function _(){}_.prototype=w.prototype;function b(G,U,W){this.props=G,this.context=U,this.refs=g,this.updater=W||p}var E=b.prototype=new _;E.constructor=b,y(E,w.prototype),E.isPureReactComponent=!0;var S=Array.isArray,v=Object.prototype.hasOwnProperty,C={current:null},A={key:!0,ref:!0,__self:!0,__source:!0};function M(G,U,W){var ne,ce={},ve=null,_e=null;if(U!=null)for(ne in U.ref!==void 0&&(_e=U.ref),U.key!==void 0&&(ve=""+U.key),U)v.call(U,ne)&&!A.hasOwnProperty(ne)&&(ce[ne]=U[ne]);var xe=arguments.length-2;if(xe===1)ce.children=W;else if(1>>16,p[1]!==61&&(c[d++]=g>>>8),p[0]!==61&&(c[d++]=g),y=0));return c};t&&(o=new t([62,-1,-1,-1,63,52,53,54,55,56,57,58,59,60,61,-1,-1,-1,0,-1,-1,-1,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,-1,-1,-1,-1,-1,-1,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51])),n&&(!r.toBlob||!r.toBlobHD)&&(r.toBlob||(r.toBlob=function(u,l){if(l||(l="image/png"),this.mozGetAsFile){u(this.mozGetAsFile("canvas",l));return}if(this.msToBlob&&/^\s*image\/png\s*(?:$|;)/i.test(l)){u(this.msToBlob());return}var c=Array.prototype.slice.call(arguments,1),f=this[a].apply(this,c),d=f.indexOf(","),p=f.substring(d+1),y=i.test(f.substring(0,d)),g;Blob.fake?(g=new Blob,y?g.encoding="base64":g.encoding="URI",g.data=p,g.size=p.length):t&&(y?g=new Blob([s(p)],{type:l}):g=new Blob([decodeURIComponent(p)],{type:l})),u(g)}),!r.toBlobHD&&r.toDataURLHD?r.toBlobHD=function(){a="toDataURLHD";var u=this.toBlob();return a="toDataURL",u}:r.toBlobHD=r.toBlob)}(typeof self<"u"&&self||typeof window<"u"&&window||K0.content||K0),K0}GX();var J4=function(e,t,n){if(n||arguments.length===2)for(var r=0,i=t.length,a;r"u"&&typeof navigator<"u"&&navigator.product==="ReactNative"?new XX:typeof navigator<"u"?rZ(navigator.userAgent):aZ()}function nZ(e){return e!==""&&eZ.reduce(function(t,n){var r=n[0],i=n[1];if(t)return t;var a=i.exec(e);return!!a&&[r,a]},!1)}function rZ(e){var t=nZ(e);if(!t)return null;var n=t[0],r=t[1];if(n==="searchbot")return new KX;var i=r[1]&&r[1].split(".").join("_").split("_").slice(0,3);i?i.length>>1,U=K[G];if(0>>1;Gi(ce,L))vei(_e,ce)?(K[G]=_e,K[ve]=L,G=ve):(K[G]=ce,K[ne]=L,G=ne);else if(vei(_e,L))K[G]=_e,K[ve]=L,G=ve;else break e}}return H}function i(K,H){var L=K.sortIndex-H.sortIndex;return L!==0?L:K.id-H.id}if(typeof performance=="object"&&typeof performance.now=="function"){var a=performance;e.unstable_now=function(){return a.now()}}else{var o=Date,s=o.now();e.unstable_now=function(){return o.now()-s}}var u=[],l=[],c=1,f=null,d=3,p=!1,y=!1,g=!1,w=typeof setTimeout=="function"?setTimeout:null,_=typeof clearTimeout=="function"?clearTimeout:null,b=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function E(K){for(var H=n(l);H!==null;){if(H.callback===null)r(l);else if(H.startTime<=K)r(l),H.sortIndex=H.expirationTime,t(u,H);else break;H=n(l)}}function S(K){if(g=!1,E(K),!y)if(n(u)!==null)y=!0,B(v);else{var H=n(l);H!==null&&Q(S,H.startTime-K)}}function v(K,H){y=!1,g&&(g=!1,_(M),M=-1),p=!0;var L=d;try{for(E(H),f=n(u);f!==null&&(!(f.expirationTime>H)||K&&!P());){var G=f.callback;if(typeof G=="function"){f.callback=null,d=f.priorityLevel;var U=G(f.expirationTime<=H);H=e.unstable_now(),typeof U=="function"?f.callback=U:f===n(u)&&r(u),E(H)}else r(u);f=n(u)}if(f!==null)var W=!0;else{var ne=n(l);ne!==null&&Q(S,ne.startTime-H),W=!1}return W}finally{f=null,d=L,p=!1}}var C=!1,A=null,M=-1,R=5,O=-1;function P(){return!(e.unstable_now()-OK||125G?(K.sortIndex=L,t(l,K),n(u)===null&&K===n(l)&&(g?(_(M),M=-1):g=!0,Q(S,L-G))):(K.sortIndex=U,t(u,K),y||p||(y=!0,B(v))),K},e.unstable_shouldYield=P,e.unstable_wrapCallback=function(K){var H=d;return function(){var L=d;d=H;try{return K.apply(this,arguments)}finally{d=L}}}}(Ox)),Ox}var rN;function uZ(){return rN||(rN=1,Nx.exports=sZ()),Nx.exports}/** * @license React * react-dom.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var iN;function lZ(){if(iN)return Pr;iN=1;var e=su(),t=uZ();function n(h){for(var m="https://reactjs.org/docs/error-decoder.html?invariant="+h,x=1;x"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),u=Object.prototype.hasOwnProperty,l=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,c={},f={};function d(h){return u.call(f,h)?!0:u.call(c,h)?!1:l.test(h)?f[h]=!0:(c[h]=!0,!1)}function p(h,m,x,k){if(x!==null&&x.type===0)return!1;switch(typeof m){case"function":case"symbol":return!0;case"boolean":return k?!1:x!==null?!x.acceptsBooleans:(h=h.toLowerCase().slice(0,5),h!=="data-"&&h!=="aria-");default:return!1}}function y(h,m,x,k){if(m===null||typeof m>"u"||p(h,m,x,k))return!0;if(k)return!1;if(x!==null)switch(x.type){case 3:return!m;case 4:return m===!1;case 5:return isNaN(m);case 6:return isNaN(m)||1>m}return!1}function g(h,m,x,k,T,N,V){this.acceptsBooleans=m===2||m===3||m===4,this.attributeName=k,this.attributeNamespace=T,this.mustUseProperty=x,this.propertyName=h,this.type=m,this.sanitizeURL=N,this.removeEmptyString=V}var w={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(h){w[h]=new g(h,0,!1,h,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(h){var m=h[0];w[m]=new g(m,1,!1,h[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(h){w[h]=new g(h,2,!1,h.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(h){w[h]=new g(h,2,!1,h,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(h){w[h]=new g(h,3,!1,h.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(h){w[h]=new g(h,3,!0,h,null,!1,!1)}),["capture","download"].forEach(function(h){w[h]=new g(h,4,!1,h,null,!1,!1)}),["cols","rows","size","span"].forEach(function(h){w[h]=new g(h,6,!1,h,null,!1,!1)}),["rowSpan","start"].forEach(function(h){w[h]=new g(h,5,!1,h.toLowerCase(),null,!1,!1)});var _=/[\-:]([a-z])/g;function b(h){return h[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(h){var m=h.replace(_,b);w[m]=new g(m,1,!1,h,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(h){var m=h.replace(_,b);w[m]=new g(m,1,!1,h,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(h){var m=h.replace(_,b);w[m]=new g(m,1,!1,h,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(h){w[h]=new g(h,1,!1,h.toLowerCase(),null,!1,!1)}),w.xlinkHref=new g("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(h){w[h]=new g(h,1,!1,h.toLowerCase(),null,!0,!0)});function E(h,m,x,k){var T=w.hasOwnProperty(m)?w[m]:null;(T!==null?T.type!==0:k||!(2Z||T[V]!==N[Z]){var re=` `+T[V].replace(" at new "," at ");return h.displayName&&re.includes("")&&(re=re.replace("",h.displayName)),re}while(1<=V&&0<=Z);break}}}finally{W=!1,Error.prepareStackTrace=x}return(h=h?h.displayName||h.name:"")?U(h):""}function ce(h){switch(h.tag){case 5:return U(h.type);case 16:return U("Lazy");case 13:return U("Suspense");case 19:return U("SuspenseList");case 0:case 2:case 15:return h=ne(h.type,!1),h;case 11:return h=ne(h.type.render,!1),h;case 1:return h=ne(h.type,!0),h;default:return""}}function ve(h){if(h==null)return null;if(typeof h=="function")return h.displayName||h.name||null;if(typeof h=="string")return h;switch(h){case A:return"Fragment";case C:return"Portal";case R:return"Profiler";case M:return"StrictMode";case Y:return"Suspense";case F:return"SuspenseList"}if(typeof h=="object")switch(h.$$typeof){case P:return(h.displayName||"Context")+".Consumer";case O:return(h._context.displayName||"Context")+".Provider";case z:var m=h.render;return h=h.displayName,h||(h=m.displayName||m.name||"",h=h!==""?"ForwardRef("+h+")":"ForwardRef"),h;case D:return m=h.displayName||null,m!==null?m:ve(h.type)||"Memo";case B:m=h._payload,h=h._init;try{return ve(h(m))}catch{}}return null}function _e(h){var m=h.type;switch(h.tag){case 24:return"Cache";case 9:return(m.displayName||"Context")+".Consumer";case 10:return(m._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return h=m.render,h=h.displayName||h.name||"",m.displayName||(h!==""?"ForwardRef("+h+")":"ForwardRef");case 7:return"Fragment";case 5:return m;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return ve(m);case 8:return m===M?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof m=="function")return m.displayName||m.name||null;if(typeof m=="string")return m}return null}function xe(h){switch(typeof h){case"boolean":case"number":case"string":case"undefined":return h;case"object":return h;default:return""}}function me(h){var m=h.type;return(h=h.nodeName)&&h.toLowerCase()==="input"&&(m==="checkbox"||m==="radio")}function be(h){var m=me(h)?"checked":"value",x=Object.getOwnPropertyDescriptor(h.constructor.prototype,m),k=""+h[m];if(!h.hasOwnProperty(m)&&typeof x<"u"&&typeof x.get=="function"&&typeof x.set=="function"){var T=x.get,N=x.set;return Object.defineProperty(h,m,{configurable:!0,get:function(){return T.call(this)},set:function(V){k=""+V,N.call(this,V)}}),Object.defineProperty(h,m,{enumerable:x.enumerable}),{getValue:function(){return k},setValue:function(V){k=""+V},stopTracking:function(){h._valueTracker=null,delete h[m]}}}}function ge(h){h._valueTracker||(h._valueTracker=be(h))}function fe(h){if(!h)return!1;var m=h._valueTracker;if(!m)return!0;var x=m.getValue(),k="";return h&&(k=me(h)?h.checked?"true":"false":h.value),h=k,h!==x?(m.setValue(h),!0):!1}function Re(h){if(h=h||(typeof document<"u"?document:void 0),typeof h>"u")return null;try{return h.activeElement||h.body}catch{return h.body}}function $e(h,m){var x=m.checked;return L({},m,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:x??h._wrapperState.initialChecked})}function at(h,m){var x=m.defaultValue==null?"":m.defaultValue,k=m.checked!=null?m.checked:m.defaultChecked;x=xe(m.value!=null?m.value:x),h._wrapperState={initialChecked:k,initialValue:x,controlled:m.type==="checkbox"||m.type==="radio"?m.checked!=null:m.value!=null}}function Ye(h,m){m=m.checked,m!=null&&E(h,"checked",m,!1)}function Oe(h,m){Ye(h,m);var x=xe(m.value),k=m.type;if(x!=null)k==="number"?(x===0&&h.value===""||h.value!=x)&&(h.value=""+x):h.value!==""+x&&(h.value=""+x);else if(k==="submit"||k==="reset"){h.removeAttribute("value");return}m.hasOwnProperty("value")?It(h,m.type,x):m.hasOwnProperty("defaultValue")&&It(h,m.type,xe(m.defaultValue)),m.checked==null&&m.defaultChecked!=null&&(h.defaultChecked=!!m.defaultChecked)}function ct(h,m,x){if(m.hasOwnProperty("value")||m.hasOwnProperty("defaultValue")){var k=m.type;if(!(k!=="submit"&&k!=="reset"||m.value!==void 0&&m.value!==null))return;m=""+h._wrapperState.initialValue,x||m===h.value||(h.value=m),h.defaultValue=m}x=h.name,x!==""&&(h.name=""),h.defaultChecked=!!h._wrapperState.initialChecked,x!==""&&(h.name=x)}function It(h,m,x){(m!=="number"||Re(h.ownerDocument)!==h)&&(x==null?h.defaultValue=""+h._wrapperState.initialValue:h.defaultValue!==""+x&&(h.defaultValue=""+x))}var dt=Array.isArray;function _t(h,m,x,k){if(h=h.options,m){m={};for(var T=0;T"+m.valueOf().toString()+"",m=I.firstChild;h.firstChild;)h.removeChild(h.firstChild);for(;m.firstChild;)h.appendChild(m.firstChild)}});function X(h,m){if(m){var x=h.firstChild;if(x&&x===h.lastChild&&x.nodeType===3){x.nodeValue=m;return}}h.textContent=m}var ie={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},he=["Webkit","ms","Moz","O"];Object.keys(ie).forEach(function(h){he.forEach(function(m){m=m+h.charAt(0).toUpperCase()+h.substring(1),ie[m]=ie[h]})});function ye(h,m,x){return m==null||typeof m=="boolean"||m===""?"":x||typeof m!="number"||m===0||ie.hasOwnProperty(h)&&ie[h]?(""+m).trim():m+"px"}function Je(h,m){h=h.style;for(var x in m)if(m.hasOwnProperty(x)){var k=x.indexOf("--")===0,T=ye(x,m[x],k);x==="float"&&(x="cssFloat"),k?h.setProperty(x,T):h[x]=T}}var se=L({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function ue(h,m){if(m){if(se[h]&&(m.children!=null||m.dangerouslySetInnerHTML!=null))throw Error(n(137,h));if(m.dangerouslySetInnerHTML!=null){if(m.children!=null)throw Error(n(60));if(typeof m.dangerouslySetInnerHTML!="object"||!("__html"in m.dangerouslySetInnerHTML))throw Error(n(61))}if(m.style!=null&&typeof m.style!="object")throw Error(n(62))}}function Ue(h,m){if(h.indexOf("-")===-1)return typeof m.is=="string";switch(h){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Le=null;function Mt(h){return h=h.target||h.srcElement||window,h.correspondingUseElement&&(h=h.correspondingUseElement),h.nodeType===3?h.parentNode:h}var rt=null,rr=null,Er=null;function Hn(h){if(h=Jd(h)){if(typeof rt!="function")throw Error(n(280));var m=h.stateNode;m&&(m=f0(m),rt(h.stateNode,h.type,m))}}function $i(h){rr?Er?Er.push(h):Er=[h]:rr=h}function Kl(){if(rr){var h=rr,m=Er;if(Er=rr=null,Hn(h),m)for(h=0;h>>=0,h===0?32:31-(aK(h)/oK|0)|0}var Vg=64,Yg=4194304;function $d(h){switch(h&-h){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return h&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return h&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return h}}function Qg(h,m){var x=h.pendingLanes;if(x===0)return 0;var k=0,T=h.suspendedLanes,N=h.pingedLanes,V=x&268435455;if(V!==0){var Z=V&~T;Z!==0?k=$d(Z):(N&=V,N!==0&&(k=$d(N)))}else V=x&~T,V!==0?k=$d(V):N!==0&&(k=$d(N));if(k===0)return 0;if(m!==0&&m!==k&&(m&T)===0&&(T=k&-k,N=m&-m,T>=N||T===16&&(N&4194240)!==0))return m;if((k&4)!==0&&(k|=x&16),m=h.entangledLanes,m!==0)for(h=h.entanglements,m&=k;0x;x++)m.push(h);return m}function Dd(h,m,x){h.pendingLanes|=m,m!==536870912&&(h.suspendedLanes=0,h.pingedLanes=0),h=h.eventTimes,m=31-Di(m),h[m]=x}function cK(h,m){var x=h.pendingLanes&~m;h.pendingLanes=m,h.suspendedLanes=0,h.pingedLanes=0,h.expiredLanes&=m,h.mutableReadLanes&=m,h.entangledLanes&=m,m=h.entanglements;var k=h.eventTimes;for(h=h.expirationTimes;0=qd),UI=" ",jI=!1;function HI(h,m){switch(h){case"keyup":return LK.indexOf(m.keyCode)!==-1;case"keydown":return m.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function qI(h){return h=h.detail,typeof h=="object"&&"data"in h?h.data:null}var rc=!1;function zK(h,m){switch(h){case"compositionend":return qI(m);case"keypress":return m.which!==32?null:(jI=!0,UI);case"textInput":return h=m.data,h===UI&&jI?null:h;default:return null}}function UK(h,m){if(rc)return h==="compositionend"||!cb&&HI(h,m)?(h=$I(),e0=ib=us=null,rc=!1,h):null;switch(h){case"paste":return null;case"keypress":if(!(m.ctrlKey||m.altKey||m.metaKey)||m.ctrlKey&&m.altKey){if(m.char&&1=m)return{node:x,offset:m-h};h=k}e:{for(;x;){if(x.nextSibling){x=x.nextSibling;break e}x=x.parentNode}x=void 0}x=XI(x)}}function JI(h,m){return h&&m?h===m?!0:h&&h.nodeType===3?!1:m&&m.nodeType===3?JI(h,m.parentNode):"contains"in h?h.contains(m):h.compareDocumentPosition?!!(h.compareDocumentPosition(m)&16):!1:!1}function eR(){for(var h=window,m=Re();m instanceof h.HTMLIFrameElement;){try{var x=typeof m.contentWindow.location.href=="string"}catch{x=!1}if(x)h=m.contentWindow;else break;m=Re(h.document)}return m}function hb(h){var m=h&&h.nodeName&&h.nodeName.toLowerCase();return m&&(m==="input"&&(h.type==="text"||h.type==="search"||h.type==="tel"||h.type==="url"||h.type==="password")||m==="textarea"||h.contentEditable==="true")}function KK(h){var m=eR(),x=h.focusedElem,k=h.selectionRange;if(m!==x&&x&&x.ownerDocument&&JI(x.ownerDocument.documentElement,x)){if(k!==null&&hb(x)){if(m=k.start,h=k.end,h===void 0&&(h=m),"selectionStart"in x)x.selectionStart=m,x.selectionEnd=Math.min(h,x.value.length);else if(h=(m=x.ownerDocument||document)&&m.defaultView||window,h.getSelection){h=h.getSelection();var T=x.textContent.length,N=Math.min(k.start,T);k=k.end===void 0?N:Math.min(k.end,T),!h.extend&&N>k&&(T=k,k=N,N=T),T=ZI(x,N);var V=ZI(x,k);T&&V&&(h.rangeCount!==1||h.anchorNode!==T.node||h.anchorOffset!==T.offset||h.focusNode!==V.node||h.focusOffset!==V.offset)&&(m=m.createRange(),m.setStart(T.node,T.offset),h.removeAllRanges(),N>k?(h.addRange(m),h.extend(V.node,V.offset)):(m.setEnd(V.node,V.offset),h.addRange(m)))}}for(m=[],h=x;h=h.parentNode;)h.nodeType===1&&m.push({element:h,left:h.scrollLeft,top:h.scrollTop});for(typeof x.focus=="function"&&x.focus(),x=0;x=document.documentMode,ic=null,pb=null,Yd=null,mb=!1;function tR(h,m,x){var k=x.window===x?x.document:x.nodeType===9?x:x.ownerDocument;mb||ic==null||ic!==Re(k)||(k=ic,"selectionStart"in k&&hb(k)?k={start:k.selectionStart,end:k.selectionEnd}:(k=(k.ownerDocument&&k.ownerDocument.defaultView||window).getSelection(),k={anchorNode:k.anchorNode,anchorOffset:k.anchorOffset,focusNode:k.focusNode,focusOffset:k.focusOffset}),Yd&&Vd(Yd,k)||(Yd=k,k=u0(pb,"onSelect"),0lc||(h.current=Ab[lc],Ab[lc]=null,lc--)}function $t(h,m){lc++,Ab[lc]=h.current,h.current=m}var ds={},qn=fs(ds),Cr=fs(!1),Eu=ds;function cc(h,m){var x=h.type.contextTypes;if(!x)return ds;var k=h.stateNode;if(k&&k.__reactInternalMemoizedUnmaskedChildContext===m)return k.__reactInternalMemoizedMaskedChildContext;var T={},N;for(N in x)T[N]=m[N];return k&&(h=h.stateNode,h.__reactInternalMemoizedUnmaskedChildContext=m,h.__reactInternalMemoizedMaskedChildContext=T),T}function kr(h){return h=h.childContextTypes,h!=null}function d0(){zt(Cr),zt(qn)}function gR(h,m,x){if(qn.current!==ds)throw Error(n(168));$t(qn,m),$t(Cr,x)}function vR(h,m,x){var k=h.stateNode;if(m=m.childContextTypes,typeof k.getChildContext!="function")return x;k=k.getChildContext();for(var T in k)if(!(T in m))throw Error(n(108,_e(h)||"Unknown",T));return L({},x,k)}function h0(h){return h=(h=h.stateNode)&&h.__reactInternalMemoizedMergedChildContext||ds,Eu=qn.current,$t(qn,h),$t(Cr,Cr.current),!0}function yR(h,m,x){var k=h.stateNode;if(!k)throw Error(n(169));x?(h=vR(h,m,Eu),k.__reactInternalMemoizedMergedChildContext=h,zt(Cr),zt(qn),$t(qn,h)):zt(Cr),$t(Cr,x)}var uo=null,p0=!1,Tb=!1;function wR(h){uo===null?uo=[h]:uo.push(h)}function uX(h){p0=!0,wR(h)}function hs(){if(!Tb&&uo!==null){Tb=!0;var h=0,m=Pt;try{var x=uo;for(Pt=1;h>=V,T-=V,lo=1<<32-Di(m)+T|x<et?(kn=Ze,Ze=null):kn=Ze.sibling;var bt=Ee(le,Ze,de[et],Pe);if(bt===null){Ze===null&&(Ze=kn);break}h&&Ze&&bt.alternate===null&&m(le,Ze),oe=N(bt,oe,et),Xe===null?Ge=bt:Xe.sibling=bt,Xe=bt,Ze=kn}if(et===de.length)return x(le,Ze),Gt&&Cu(le,et),Ge;if(Ze===null){for(;etet?(kn=Ze,Ze=null):kn=Ze.sibling;var xs=Ee(le,Ze,bt.value,Pe);if(xs===null){Ze===null&&(Ze=kn);break}h&&Ze&&xs.alternate===null&&m(le,Ze),oe=N(xs,oe,et),Xe===null?Ge=xs:Xe.sibling=xs,Xe=xs,Ze=kn}if(bt.done)return x(le,Ze),Gt&&Cu(le,et),Ge;if(Ze===null){for(;!bt.done;et++,bt=de.next())bt=Ae(le,bt.value,Pe),bt!==null&&(oe=N(bt,oe,et),Xe===null?Ge=bt:Xe.sibling=bt,Xe=bt);return Gt&&Cu(le,et),Ge}for(Ze=k(le,Ze);!bt.done;et++,bt=de.next())bt=Fe(Ze,le,et,bt.value,Pe),bt!==null&&(h&&bt.alternate!==null&&Ze.delete(bt.key===null?et:bt.key),oe=N(bt,oe,et),Xe===null?Ge=bt:Xe.sibling=bt,Xe=bt);return h&&Ze.forEach(function(jX){return m(le,jX)}),Gt&&Cu(le,et),Ge}function rn(le,oe,de,Pe){if(typeof de=="object"&&de!==null&&de.type===A&&de.key===null&&(de=de.props.children),typeof de=="object"&&de!==null){switch(de.$$typeof){case v:e:{for(var Ge=de.key,Xe=oe;Xe!==null;){if(Xe.key===Ge){if(Ge=de.type,Ge===A){if(Xe.tag===7){x(le,Xe.sibling),oe=T(Xe,de.props.children),oe.return=le,le=oe;break e}}else if(Xe.elementType===Ge||typeof Ge=="object"&&Ge!==null&&Ge.$$typeof===B&&CR(Ge)===Xe.type){x(le,Xe.sibling),oe=T(Xe,de.props),oe.ref=eh(le,Xe,de),oe.return=le,le=oe;break e}x(le,Xe);break}else m(le,Xe);Xe=Xe.sibling}de.type===A?(oe=Nu(de.props.children,le.mode,Pe,de.key),oe.return=le,le=oe):(Pe=j0(de.type,de.key,de.props,null,le.mode,Pe),Pe.ref=eh(le,oe,de),Pe.return=le,le=Pe)}return V(le);case C:e:{for(Xe=de.key;oe!==null;){if(oe.key===Xe)if(oe.tag===4&&oe.stateNode.containerInfo===de.containerInfo&&oe.stateNode.implementation===de.implementation){x(le,oe.sibling),oe=T(oe,de.children||[]),oe.return=le,le=oe;break e}else{x(le,oe);break}else m(le,oe);oe=oe.sibling}oe=Cx(de,le.mode,Pe),oe.return=le,le=oe}return V(le);case B:return Xe=de._init,rn(le,oe,Xe(de._payload),Pe)}if(dt(de))return je(le,oe,de,Pe);if(H(de))return qe(le,oe,de,Pe);y0(le,de)}return typeof de=="string"&&de!==""||typeof de=="number"?(de=""+de,oe!==null&&oe.tag===6?(x(le,oe.sibling),oe=T(oe,de),oe.return=le,le=oe):(x(le,oe),oe=Sx(de,le.mode,Pe),oe.return=le,le=oe),V(le)):x(le,oe)}return rn}var pc=kR(!0),AR=kR(!1),w0=fs(null),_0=null,mc=null,Ob=null;function $b(){Ob=mc=_0=null}function Db(h){var m=w0.current;zt(w0),h._currentValue=m}function Fb(h,m,x){for(;h!==null;){var k=h.alternate;if((h.childLanes&m)!==m?(h.childLanes|=m,k!==null&&(k.childLanes|=m)):k!==null&&(k.childLanes&m)!==m&&(k.childLanes|=m),h===x)break;h=h.return}}function gc(h,m){_0=h,Ob=mc=null,h=h.dependencies,h!==null&&h.firstContext!==null&&((h.lanes&m)!==0&&(Ar=!0),h.firstContext=null)}function li(h){var m=h._currentValue;if(Ob!==h)if(h={context:h,memoizedValue:m,next:null},mc===null){if(_0===null)throw Error(n(308));mc=h,_0.dependencies={lanes:0,firstContext:h}}else mc=mc.next=h;return m}var ku=null;function Lb(h){ku===null?ku=[h]:ku.push(h)}function TR(h,m,x,k){var T=m.interleaved;return T===null?(x.next=x,Lb(m)):(x.next=T.next,T.next=x),m.interleaved=x,fo(h,k)}function fo(h,m){h.lanes|=m;var x=h.alternate;for(x!==null&&(x.lanes|=m),x=h,h=h.return;h!==null;)h.childLanes|=m,x=h.alternate,x!==null&&(x.childLanes|=m),x=h,h=h.return;return x.tag===3?x.stateNode:null}var ps=!1;function Bb(h){h.updateQueue={baseState:h.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function MR(h,m){h=h.updateQueue,m.updateQueue===h&&(m.updateQueue={baseState:h.baseState,firstBaseUpdate:h.firstBaseUpdate,lastBaseUpdate:h.lastBaseUpdate,shared:h.shared,effects:h.effects})}function ho(h,m){return{eventTime:h,lane:m,tag:0,payload:null,callback:null,next:null}}function ms(h,m,x){var k=h.updateQueue;if(k===null)return null;if(k=k.shared,(yt&2)!==0){var T=k.pending;return T===null?m.next=m:(m.next=T.next,T.next=m),k.pending=m,fo(h,x)}return T=k.interleaved,T===null?(m.next=m,Lb(k)):(m.next=T.next,T.next=m),k.interleaved=m,fo(h,x)}function b0(h,m,x){if(m=m.updateQueue,m!==null&&(m=m.shared,(x&4194240)!==0)){var k=m.lanes;k&=h.pendingLanes,x|=k,m.lanes=x,J_(h,x)}}function PR(h,m){var x=h.updateQueue,k=h.alternate;if(k!==null&&(k=k.updateQueue,x===k)){var T=null,N=null;if(x=x.firstBaseUpdate,x!==null){do{var V={eventTime:x.eventTime,lane:x.lane,tag:x.tag,payload:x.payload,callback:x.callback,next:null};N===null?T=N=V:N=N.next=V,x=x.next}while(x!==null);N===null?T=N=m:N=N.next=m}else T=N=m;x={baseState:k.baseState,firstBaseUpdate:T,lastBaseUpdate:N,shared:k.shared,effects:k.effects},h.updateQueue=x;return}h=x.lastBaseUpdate,h===null?x.firstBaseUpdate=m:h.next=m,x.lastBaseUpdate=m}function x0(h,m,x,k){var T=h.updateQueue;ps=!1;var N=T.firstBaseUpdate,V=T.lastBaseUpdate,Z=T.shared.pending;if(Z!==null){T.shared.pending=null;var re=Z,pe=re.next;re.next=null,V===null?N=pe:V.next=pe,V=re;var Se=h.alternate;Se!==null&&(Se=Se.updateQueue,Z=Se.lastBaseUpdate,Z!==V&&(Z===null?Se.firstBaseUpdate=pe:Z.next=pe,Se.lastBaseUpdate=re))}if(N!==null){var Ae=T.baseState;V=0,Se=pe=re=null,Z=N;do{var Ee=Z.lane,Fe=Z.eventTime;if((k&Ee)===Ee){Se!==null&&(Se=Se.next={eventTime:Fe,lane:0,tag:Z.tag,payload:Z.payload,callback:Z.callback,next:null});e:{var je=h,qe=Z;switch(Ee=m,Fe=x,qe.tag){case 1:if(je=qe.payload,typeof je=="function"){Ae=je.call(Fe,Ae,Ee);break e}Ae=je;break e;case 3:je.flags=je.flags&-65537|128;case 0:if(je=qe.payload,Ee=typeof je=="function"?je.call(Fe,Ae,Ee):je,Ee==null)break e;Ae=L({},Ae,Ee);break e;case 2:ps=!0}}Z.callback!==null&&Z.lane!==0&&(h.flags|=64,Ee=T.effects,Ee===null?T.effects=[Z]:Ee.push(Z))}else Fe={eventTime:Fe,lane:Ee,tag:Z.tag,payload:Z.payload,callback:Z.callback,next:null},Se===null?(pe=Se=Fe,re=Ae):Se=Se.next=Fe,V|=Ee;if(Z=Z.next,Z===null){if(Z=T.shared.pending,Z===null)break;Ee=Z,Z=Ee.next,Ee.next=null,T.lastBaseUpdate=Ee,T.shared.pending=null}}while(!0);if(Se===null&&(re=Ae),T.baseState=re,T.firstBaseUpdate=pe,T.lastBaseUpdate=Se,m=T.shared.interleaved,m!==null){T=m;do V|=T.lane,T=T.next;while(T!==m)}else N===null&&(T.shared.lanes=0);Mu|=V,h.lanes=V,h.memoizedState=Ae}}function IR(h,m,x){if(h=m.effects,m.effects=null,h!==null)for(m=0;mx?x:4,h(!0);var k=qb.transition;qb.transition={};try{h(!1),m()}finally{Pt=x,qb.transition=k}}function KR(){return ci().memoizedState}function dX(h,m,x){var k=ws(h);if(x={lane:k,action:x,hasEagerState:!1,eagerState:null,next:null},XR(h))ZR(m,x);else if(x=TR(h,m,x,k),x!==null){var T=ar();ji(x,h,k,T),JR(x,m,k)}}function hX(h,m,x){var k=ws(h),T={lane:k,action:x,hasEagerState:!1,eagerState:null,next:null};if(XR(h))ZR(m,T);else{var N=h.alternate;if(h.lanes===0&&(N===null||N.lanes===0)&&(N=m.lastRenderedReducer,N!==null))try{var V=m.lastRenderedState,Z=N(V,x);if(T.hasEagerState=!0,T.eagerState=Z,Fi(Z,V)){var re=m.interleaved;re===null?(T.next=T,Lb(m)):(T.next=re.next,re.next=T),m.interleaved=T;return}}catch{}finally{}x=TR(h,m,T,k),x!==null&&(T=ar(),ji(x,h,k,T),JR(x,m,k))}}function XR(h){var m=h.alternate;return h===Qt||m!==null&&m===Qt}function ZR(h,m){ih=C0=!0;var x=h.pending;x===null?m.next=m:(m.next=x.next,x.next=m),h.pending=m}function JR(h,m,x){if((x&4194240)!==0){var k=m.lanes;k&=h.pendingLanes,x|=k,m.lanes=x,J_(h,x)}}var T0={readContext:li,useCallback:Wn,useContext:Wn,useEffect:Wn,useImperativeHandle:Wn,useInsertionEffect:Wn,useLayoutEffect:Wn,useMemo:Wn,useReducer:Wn,useRef:Wn,useState:Wn,useDebugValue:Wn,useDeferredValue:Wn,useTransition:Wn,useMutableSource:Wn,useSyncExternalStore:Wn,useId:Wn,unstable_isNewReconciler:!1},pX={readContext:li,useCallback:function(h,m){return da().memoizedState=[h,m===void 0?null:m],h},useContext:li,useEffect:jR,useImperativeHandle:function(h,m,x){return x=x!=null?x.concat([h]):null,k0(4194308,4,WR.bind(null,m,h),x)},useLayoutEffect:function(h,m){return k0(4194308,4,h,m)},useInsertionEffect:function(h,m){return k0(4,2,h,m)},useMemo:function(h,m){var x=da();return m=m===void 0?null:m,h=h(),x.memoizedState=[h,m],h},useReducer:function(h,m,x){var k=da();return m=x!==void 0?x(m):m,k.memoizedState=k.baseState=m,h={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:h,lastRenderedState:m},k.queue=h,h=h.dispatch=dX.bind(null,Qt,h),[k.memoizedState,h]},useRef:function(h){var m=da();return h={current:h},m.memoizedState=h},useState:zR,useDebugValue:Xb,useDeferredValue:function(h){return da().memoizedState=h},useTransition:function(){var h=zR(!1),m=h[0];return h=fX.bind(null,h[1]),da().memoizedState=h,[m,h]},useMutableSource:function(){},useSyncExternalStore:function(h,m,x){var k=Qt,T=da();if(Gt){if(x===void 0)throw Error(n(407));x=x()}else{if(x=m(),Cn===null)throw Error(n(349));(Tu&30)!==0||$R(k,m,x)}T.memoizedState=x;var N={value:x,getSnapshot:m};return T.queue=N,jR(FR.bind(null,k,N,h),[h]),k.flags|=2048,sh(9,DR.bind(null,k,N,x,m),void 0,null),x},useId:function(){var h=da(),m=Cn.identifierPrefix;if(Gt){var x=co,k=lo;x=(k&~(1<<32-Di(k)-1)).toString(32)+x,m=":"+m+"R"+x,x=ah++,0<\/script>",h=h.removeChild(h.firstChild)):typeof k.is=="string"?h=V.createElement(x,{is:k.is}):(h=V.createElement(x),x==="select"&&(V=h,k.multiple?V.multiple=!0:k.size&&(V.size=k.size))):h=V.createElementNS(h,x),h[ca]=m,h[Zd]=k,w4(h,m,!1,!1),m.stateNode=h;e:{switch(V=Ue(x,k),x){case"dialog":Bt("cancel",h),Bt("close",h),T=k;break;case"iframe":case"object":case"embed":Bt("load",h),T=k;break;case"video":case"audio":for(T=0;Tbc&&(m.flags|=128,k=!0,uh(N,!1),m.lanes=4194304)}else{if(!k)if(h=E0(V),h!==null){if(m.flags|=128,k=!0,x=h.updateQueue,x!==null&&(m.updateQueue=x,m.flags|=4),uh(N,!0),N.tail===null&&N.tailMode==="hidden"&&!V.alternate&&!Gt)return Gn(m),null}else 2*nn()-N.renderingStartTime>bc&&x!==1073741824&&(m.flags|=128,k=!0,uh(N,!1),m.lanes=4194304);N.isBackwards?(V.sibling=m.child,m.child=V):(x=N.last,x!==null?x.sibling=V:m.child=V,N.last=V)}return N.tail!==null?(m=N.tail,N.rendering=m,N.tail=m.sibling,N.renderingStartTime=nn(),m.sibling=null,x=Yt.current,$t(Yt,k?x&1|2:x&1),m):(Gn(m),null);case 22:case 23:return bx(),k=m.memoizedState!==null,h!==null&&h.memoizedState!==null!==k&&(m.flags|=8192),k&&(m.mode&1)!==0?(Yr&1073741824)!==0&&(Gn(m),m.subtreeFlags&6&&(m.flags|=8192)):Gn(m),null;case 24:return null;case 25:return null}throw Error(n(156,m.tag))}function xX(h,m){switch(Pb(m),m.tag){case 1:return kr(m.type)&&d0(),h=m.flags,h&65536?(m.flags=h&-65537|128,m):null;case 3:return vc(),zt(Cr),zt(qn),Hb(),h=m.flags,(h&65536)!==0&&(h&128)===0?(m.flags=h&-65537|128,m):null;case 5:return Ub(m),null;case 13:if(zt(Yt),h=m.memoizedState,h!==null&&h.dehydrated!==null){if(m.alternate===null)throw Error(n(340));hc()}return h=m.flags,h&65536?(m.flags=h&-65537|128,m):null;case 19:return zt(Yt),null;case 4:return vc(),null;case 10:return Db(m.type._context),null;case 22:case 23:return bx(),null;case 24:return null;default:return null}}var R0=!1,Vn=!1,EX=typeof WeakSet=="function"?WeakSet:Set,ze=null;function wc(h,m){var x=h.ref;if(x!==null)if(typeof x=="function")try{x(null)}catch(k){Zt(h,m,k)}else x.current=null}function lx(h,m,x){try{x()}catch(k){Zt(h,m,k)}}var x4=!1;function SX(h,m){if(bb=Zg,h=eR(),hb(h)){if("selectionStart"in h)var x={start:h.selectionStart,end:h.selectionEnd};else e:{x=(x=h.ownerDocument)&&x.defaultView||window;var k=x.getSelection&&x.getSelection();if(k&&k.rangeCount!==0){x=k.anchorNode;var T=k.anchorOffset,N=k.focusNode;k=k.focusOffset;try{x.nodeType,N.nodeType}catch{x=null;break e}var V=0,Z=-1,re=-1,pe=0,Se=0,Ae=h,Ee=null;t:for(;;){for(var Fe;Ae!==x||T!==0&&Ae.nodeType!==3||(Z=V+T),Ae!==N||k!==0&&Ae.nodeType!==3||(re=V+k),Ae.nodeType===3&&(V+=Ae.nodeValue.length),(Fe=Ae.firstChild)!==null;)Ee=Ae,Ae=Fe;for(;;){if(Ae===h)break t;if(Ee===x&&++pe===T&&(Z=V),Ee===N&&++Se===k&&(re=V),(Fe=Ae.nextSibling)!==null)break;Ae=Ee,Ee=Ae.parentNode}Ae=Fe}x=Z===-1||re===-1?null:{start:Z,end:re}}else x=null}x=x||{start:0,end:0}}else x=null;for(xb={focusedElem:h,selectionRange:x},Zg=!1,ze=m;ze!==null;)if(m=ze,h=m.child,(m.subtreeFlags&1028)!==0&&h!==null)h.return=m,ze=h;else for(;ze!==null;){m=ze;try{var je=m.alternate;if((m.flags&1024)!==0)switch(m.tag){case 0:case 11:case 15:break;case 1:if(je!==null){var qe=je.memoizedProps,rn=je.memoizedState,le=m.stateNode,oe=le.getSnapshotBeforeUpdate(m.elementType===m.type?qe:Bi(m.type,qe),rn);le.__reactInternalSnapshotBeforeUpdate=oe}break;case 3:var de=m.stateNode.containerInfo;de.nodeType===1?de.textContent="":de.nodeType===9&&de.documentElement&&de.removeChild(de.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(n(163))}}catch(Pe){Zt(m,m.return,Pe)}if(h=m.sibling,h!==null){h.return=m.return,ze=h;break}ze=m.return}return je=x4,x4=!1,je}function lh(h,m,x){var k=m.updateQueue;if(k=k!==null?k.lastEffect:null,k!==null){var T=k=k.next;do{if((T.tag&h)===h){var N=T.destroy;T.destroy=void 0,N!==void 0&&lx(m,x,N)}T=T.next}while(T!==k)}}function N0(h,m){if(m=m.updateQueue,m=m!==null?m.lastEffect:null,m!==null){var x=m=m.next;do{if((x.tag&h)===h){var k=x.create;x.destroy=k()}x=x.next}while(x!==m)}}function cx(h){var m=h.ref;if(m!==null){var x=h.stateNode;switch(h.tag){case 5:h=x;break;default:h=x}typeof m=="function"?m(h):m.current=h}}function E4(h){var m=h.alternate;m!==null&&(h.alternate=null,E4(m)),h.child=null,h.deletions=null,h.sibling=null,h.tag===5&&(m=h.stateNode,m!==null&&(delete m[ca],delete m[Zd],delete m[kb],delete m[oX],delete m[sX])),h.stateNode=null,h.return=null,h.dependencies=null,h.memoizedProps=null,h.memoizedState=null,h.pendingProps=null,h.stateNode=null,h.updateQueue=null}function S4(h){return h.tag===5||h.tag===3||h.tag===4}function C4(h){e:for(;;){for(;h.sibling===null;){if(h.return===null||S4(h.return))return null;h=h.return}for(h.sibling.return=h.return,h=h.sibling;h.tag!==5&&h.tag!==6&&h.tag!==18;){if(h.flags&2||h.child===null||h.tag===4)continue e;h.child.return=h,h=h.child}if(!(h.flags&2))return h.stateNode}}function fx(h,m,x){var k=h.tag;if(k===5||k===6)h=h.stateNode,m?x.nodeType===8?x.parentNode.insertBefore(h,m):x.insertBefore(h,m):(x.nodeType===8?(m=x.parentNode,m.insertBefore(h,x)):(m=x,m.appendChild(h)),x=x._reactRootContainer,x!=null||m.onclick!==null||(m.onclick=c0));else if(k!==4&&(h=h.child,h!==null))for(fx(h,m,x),h=h.sibling;h!==null;)fx(h,m,x),h=h.sibling}function dx(h,m,x){var k=h.tag;if(k===5||k===6)h=h.stateNode,m?x.insertBefore(h,m):x.appendChild(h);else if(k!==4&&(h=h.child,h!==null))for(dx(h,m,x),h=h.sibling;h!==null;)dx(h,m,x),h=h.sibling}var On=null,zi=!1;function gs(h,m,x){for(x=x.child;x!==null;)k4(h,m,x),x=x.sibling}function k4(h,m,x){if(la&&typeof la.onCommitFiberUnmount=="function")try{la.onCommitFiberUnmount(Gg,x)}catch{}switch(x.tag){case 5:Vn||wc(x,m);case 6:var k=On,T=zi;On=null,gs(h,m,x),On=k,zi=T,On!==null&&(zi?(h=On,x=x.stateNode,h.nodeType===8?h.parentNode.removeChild(x):h.removeChild(x)):On.removeChild(x.stateNode));break;case 18:On!==null&&(zi?(h=On,x=x.stateNode,h.nodeType===8?Cb(h.parentNode,x):h.nodeType===1&&Cb(h,x),Ud(h)):Cb(On,x.stateNode));break;case 4:k=On,T=zi,On=x.stateNode.containerInfo,zi=!0,gs(h,m,x),On=k,zi=T;break;case 0:case 11:case 14:case 15:if(!Vn&&(k=x.updateQueue,k!==null&&(k=k.lastEffect,k!==null))){T=k=k.next;do{var N=T,V=N.destroy;N=N.tag,V!==void 0&&((N&2)!==0||(N&4)!==0)&&lx(x,m,V),T=T.next}while(T!==k)}gs(h,m,x);break;case 1:if(!Vn&&(wc(x,m),k=x.stateNode,typeof k.componentWillUnmount=="function"))try{k.props=x.memoizedProps,k.state=x.memoizedState,k.componentWillUnmount()}catch(Z){Zt(x,m,Z)}gs(h,m,x);break;case 21:gs(h,m,x);break;case 22:x.mode&1?(Vn=(k=Vn)||x.memoizedState!==null,gs(h,m,x),Vn=k):gs(h,m,x);break;default:gs(h,m,x)}}function A4(h){var m=h.updateQueue;if(m!==null){h.updateQueue=null;var x=h.stateNode;x===null&&(x=h.stateNode=new EX),m.forEach(function(k){var T=NX.bind(null,h,k);x.has(k)||(x.add(k),k.then(T,T))})}}function Ui(h,m){var x=m.deletions;if(x!==null)for(var k=0;kT&&(T=V),k&=~N}if(k=T,k=nn()-k,k=(120>k?120:480>k?480:1080>k?1080:1920>k?1920:3e3>k?3e3:4320>k?4320:1960*kX(k/1960))-k,10h?16:h,ys===null)var k=!1;else{if(h=ys,ys=null,L0=0,(yt&6)!==0)throw Error(n(331));var T=yt;for(yt|=4,ze=h.current;ze!==null;){var N=ze,V=N.child;if((ze.flags&16)!==0){var Z=N.deletions;if(Z!==null){for(var re=0;renn()-mx?Iu(h,0):px|=x),Mr(h,m)}function z4(h,m){m===0&&((h.mode&1)===0?m=1:(m=Yg,Yg<<=1,(Yg&130023424)===0&&(Yg=4194304)));var x=ar();h=fo(h,m),h!==null&&(Dd(h,m,x),Mr(h,x))}function RX(h){var m=h.memoizedState,x=0;m!==null&&(x=m.retryLane),z4(h,x)}function NX(h,m){var x=0;switch(h.tag){case 13:var k=h.stateNode,T=h.memoizedState;T!==null&&(x=T.retryLane);break;case 19:k=h.stateNode;break;default:throw Error(n(314))}k!==null&&k.delete(m),z4(h,x)}var U4;U4=function(h,m,x){if(h!==null)if(h.memoizedProps!==m.pendingProps||Cr.current)Ar=!0;else{if((h.lanes&x)===0&&(m.flags&128)===0)return Ar=!1,_X(h,m,x);Ar=(h.flags&131072)!==0}else Ar=!1,Gt&&(m.flags&1048576)!==0&&_R(m,g0,m.index);switch(m.lanes=0,m.tag){case 2:var k=m.type;I0(h,m),h=m.pendingProps;var T=cc(m,qn.current);gc(m,x),T=Gb(null,m,k,h,T,x);var N=Vb();return m.flags|=1,typeof T=="object"&&T!==null&&typeof T.render=="function"&&T.$$typeof===void 0?(m.tag=1,m.memoizedState=null,m.updateQueue=null,kr(k)?(N=!0,h0(m)):N=!1,m.memoizedState=T.state!==null&&T.state!==void 0?T.state:null,Bb(m),T.updater=M0,m.stateNode=T,T._reactInternals=m,Jb(m,k,h,x),m=rx(null,m,k,!0,N,x)):(m.tag=0,Gt&&N&&Mb(m),ir(null,m,T,x),m=m.child),m;case 16:k=m.elementType;e:{switch(I0(h,m),h=m.pendingProps,T=k._init,k=T(k._payload),m.type=k,T=m.tag=$X(k),h=Bi(k,h),T){case 0:m=nx(null,m,k,h,x);break e;case 1:m=h4(null,m,k,h,x);break e;case 11:m=u4(null,m,k,h,x);break e;case 14:m=l4(null,m,k,Bi(k.type,h),x);break e}throw Error(n(306,k,""))}return m;case 0:return k=m.type,T=m.pendingProps,T=m.elementType===k?T:Bi(k,T),nx(h,m,k,T,x);case 1:return k=m.type,T=m.pendingProps,T=m.elementType===k?T:Bi(k,T),h4(h,m,k,T,x);case 3:e:{if(p4(m),h===null)throw Error(n(387));k=m.pendingProps,N=m.memoizedState,T=N.element,MR(h,m),x0(m,k,null,x);var V=m.memoizedState;if(k=V.element,N.isDehydrated)if(N={element:k,isDehydrated:!1,cache:V.cache,pendingSuspenseBoundaries:V.pendingSuspenseBoundaries,transitions:V.transitions},m.updateQueue.baseState=N,m.memoizedState=N,m.flags&256){T=yc(Error(n(423)),m),m=m4(h,m,k,x,T);break e}else if(k!==T){T=yc(Error(n(424)),m),m=m4(h,m,k,x,T);break e}else for(Vr=cs(m.stateNode.containerInfo.firstChild),Gr=m,Gt=!0,Li=null,x=AR(m,null,k,x),m.child=x;x;)x.flags=x.flags&-3|4096,x=x.sibling;else{if(hc(),k===T){m=po(h,m,x);break e}ir(h,m,k,x)}m=m.child}return m;case 5:return RR(m),h===null&&Rb(m),k=m.type,T=m.pendingProps,N=h!==null?h.memoizedProps:null,V=T.children,Eb(k,T)?V=null:N!==null&&Eb(k,N)&&(m.flags|=32),d4(h,m),ir(h,m,V,x),m.child;case 6:return h===null&&Rb(m),null;case 13:return g4(h,m,x);case 4:return zb(m,m.stateNode.containerInfo),k=m.pendingProps,h===null?m.child=pc(m,null,k,x):ir(h,m,k,x),m.child;case 11:return k=m.type,T=m.pendingProps,T=m.elementType===k?T:Bi(k,T),u4(h,m,k,T,x);case 7:return ir(h,m,m.pendingProps,x),m.child;case 8:return ir(h,m,m.pendingProps.children,x),m.child;case 12:return ir(h,m,m.pendingProps.children,x),m.child;case 10:e:{if(k=m.type._context,T=m.pendingProps,N=m.memoizedProps,V=T.value,$t(w0,k._currentValue),k._currentValue=V,N!==null)if(Fi(N.value,V)){if(N.children===T.children&&!Cr.current){m=po(h,m,x);break e}}else for(N=m.child,N!==null&&(N.return=m);N!==null;){var Z=N.dependencies;if(Z!==null){V=N.child;for(var re=Z.firstContext;re!==null;){if(re.context===k){if(N.tag===1){re=ho(-1,x&-x),re.tag=2;var pe=N.updateQueue;if(pe!==null){pe=pe.shared;var Se=pe.pending;Se===null?re.next=re:(re.next=Se.next,Se.next=re),pe.pending=re}}N.lanes|=x,re=N.alternate,re!==null&&(re.lanes|=x),Fb(N.return,x,m),Z.lanes|=x;break}re=re.next}}else if(N.tag===10)V=N.type===m.type?null:N.child;else if(N.tag===18){if(V=N.return,V===null)throw Error(n(341));V.lanes|=x,Z=V.alternate,Z!==null&&(Z.lanes|=x),Fb(V,x,m),V=N.sibling}else V=N.child;if(V!==null)V.return=N;else for(V=N;V!==null;){if(V===m){V=null;break}if(N=V.sibling,N!==null){N.return=V.return,V=N;break}V=V.return}N=V}ir(h,m,T.children,x),m=m.child}return m;case 9:return T=m.type,k=m.pendingProps.children,gc(m,x),T=li(T),k=k(T),m.flags|=1,ir(h,m,k,x),m.child;case 14:return k=m.type,T=Bi(k,m.pendingProps),T=Bi(k.type,T),l4(h,m,k,T,x);case 15:return c4(h,m,m.type,m.pendingProps,x);case 17:return k=m.type,T=m.pendingProps,T=m.elementType===k?T:Bi(k,T),I0(h,m),m.tag=1,kr(k)?(h=!0,h0(m)):h=!1,gc(m,x),t4(m,k,T),Jb(m,k,T,x),rx(null,m,k,!0,h,x);case 19:return y4(h,m,x);case 22:return f4(h,m,x)}throw Error(n(156,m.tag))};function j4(h,m){return Od(h,m)}function OX(h,m,x,k){this.tag=h,this.key=x,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=m,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=k,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function di(h,m,x,k){return new OX(h,m,x,k)}function Ex(h){return h=h.prototype,!(!h||!h.isReactComponent)}function $X(h){if(typeof h=="function")return Ex(h)?1:0;if(h!=null){if(h=h.$$typeof,h===z)return 11;if(h===D)return 14}return 2}function bs(h,m){var x=h.alternate;return x===null?(x=di(h.tag,m,h.key,h.mode),x.elementType=h.elementType,x.type=h.type,x.stateNode=h.stateNode,x.alternate=h,h.alternate=x):(x.pendingProps=m,x.type=h.type,x.flags=0,x.subtreeFlags=0,x.deletions=null),x.flags=h.flags&14680064,x.childLanes=h.childLanes,x.lanes=h.lanes,x.child=h.child,x.memoizedProps=h.memoizedProps,x.memoizedState=h.memoizedState,x.updateQueue=h.updateQueue,m=h.dependencies,x.dependencies=m===null?null:{lanes:m.lanes,firstContext:m.firstContext},x.sibling=h.sibling,x.index=h.index,x.ref=h.ref,x}function j0(h,m,x,k,T,N){var V=2;if(k=h,typeof h=="function")Ex(h)&&(V=1);else if(typeof h=="string")V=5;else e:switch(h){case A:return Nu(x.children,T,N,m);case M:V=8,T|=8;break;case R:return h=di(12,x,m,T|2),h.elementType=R,h.lanes=N,h;case Y:return h=di(13,x,m,T),h.elementType=Y,h.lanes=N,h;case F:return h=di(19,x,m,T),h.elementType=F,h.lanes=N,h;case Q:return H0(x,T,N,m);default:if(typeof h=="object"&&h!==null)switch(h.$$typeof){case O:V=10;break e;case P:V=9;break e;case z:V=11;break e;case D:V=14;break e;case B:V=16,k=null;break e}throw Error(n(130,h==null?h:typeof h,""))}return m=di(V,x,m,T),m.elementType=h,m.type=k,m.lanes=N,m}function Nu(h,m,x,k){return h=di(7,h,k,m),h.lanes=x,h}function H0(h,m,x,k){return h=di(22,h,k,m),h.elementType=Q,h.lanes=x,h.stateNode={isHidden:!1},h}function Sx(h,m,x){return h=di(6,h,null,m),h.lanes=x,h}function Cx(h,m,x){return m=di(4,h.children!==null?h.children:[],h.key,m),m.lanes=x,m.stateNode={containerInfo:h.containerInfo,pendingChildren:null,implementation:h.implementation},m}function DX(h,m,x,k,T){this.tag=m,this.containerInfo=h,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Z_(0),this.expirationTimes=Z_(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Z_(0),this.identifierPrefix=k,this.onRecoverableError=T,this.mutableSourceEagerHydrationData=null}function kx(h,m,x,k,T,N,V,Z,re){return h=new DX(h,m,x,Z,re),m===1?(m=1,N===!0&&(m|=8)):m=0,N=di(3,null,null,m),h.current=N,N.stateNode=h,N.memoizedState={element:k,isDehydrated:x,cache:null,transitions:null,pendingSuspenseBoundaries:null},Bb(N),h}function FX(h,m,x){var k=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),Rx.exports=lZ(),Rx.exports}var oN;function cZ(){if(oN)return X0;oN=1;var e=o9();return X0.createRoot=e.createRoot,X0.hydrateRoot=e.hydrateRoot,X0}var fZ=cZ(),pk=function(e,t){return pk=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[i]=r[i])},pk(e,t)};function Mi(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");pk(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}var We=function(){return We=Object.assign||function(t){for(var n,r=1,i=arguments.length;r"u"&&(a=e.call(this,r),t.set(i,a)),a}function s9(e,t,n){var r=Array.prototype.slice.call(arguments,3),i=n(r),a=t.get(i);return typeof a>"u"&&(a=e.apply(this,r),t.set(i,a)),a}function u9(e,t,n,r,i){return n.bind(t,e,r,i)}function pZ(e,t){var n=e.length===1?hZ:s9;return u9(e,this,n,t.cache.create(),t.serializer)}function mZ(e,t){return u9(e,this,s9,t.cache.create(),t.serializer)}var gZ=function(){return JSON.stringify(arguments)};function UT(){this.cache=Object.create(null)}UT.prototype.get=function(e){return this.cache[e]};UT.prototype.set=function(e,t){this.cache[e]=t};var vZ={create:function(){return new UT}},Jm={variadic:mZ};function l9(e,t,n){if(n===void 0&&(n=Error),!e)throw new n(t)}Zm(function(){for(var e,t=[],n=0;n"u"&&(a=e.call(this,r),t.set(i,a)),a}function c9(e,t,n){var r=Array.prototype.slice.call(arguments,3),i=n(r),a=t.get(i);return typeof a>"u"&&(a=e.apply(this,r),t.set(i,a)),a}function f9(e,t,n,r,i){return n.bind(t,e,r,i)}function _Z(e,t){var n=e.length===1?wZ:c9;return f9(e,this,n,t.cache.create(),t.serializer)}function bZ(e,t){return f9(e,this,c9,t.cache.create(),t.serializer)}var xZ=function(){return JSON.stringify(arguments)};function jT(){this.cache=Object.create(null)}jT.prototype.get=function(e){return this.cache[e]};jT.prototype.set=function(e,t){this.cache[e]=t};var EZ={create:function(){return new jT}},Dx={variadic:bZ},mt;(function(e){e[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",e[e.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",e[e.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",e[e.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",e[e.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",e[e.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",e[e.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",e[e.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",e[e.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",e[e.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",e[e.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",e[e.INVALID_TAG=23]="INVALID_TAG",e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG"})(mt||(mt={}));var Ht;(function(e){e[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound",e[e.tag=8]="tag"})(Ht||(Ht={}));var sf;(function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"})(sf||(sf={}));function sN(e){return e.type===Ht.literal}function SZ(e){return e.type===Ht.argument}function d9(e){return e.type===Ht.number}function h9(e){return e.type===Ht.date}function p9(e){return e.type===Ht.time}function m9(e){return e.type===Ht.select}function g9(e){return e.type===Ht.plural}function CZ(e){return e.type===Ht.pound}function v9(e){return e.type===Ht.tag}function y9(e){return!!(e&&typeof e=="object"&&e.type===sf.number)}function mk(e){return!!(e&&typeof e=="object"&&e.type===sf.dateTime)}var w9=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,kZ=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function AZ(e){var t={};return e.replace(kZ,function(n){var r=n.length;switch(n[0]){case"G":t.era=r===4?"long":r===5?"narrow":"short";break;case"y":t.year=r===2?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":t.month=["numeric","2-digit","short","long","narrow"][r-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][r-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":t.weekday=r===4?"long":r===5?"narrow":"short";break;case"e":if(r<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][r-4];break;case"c":if(r<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][r-4];break;case"a":t.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":t.hourCycle="h12",t.hour=["numeric","2-digit"][r-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][r-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][r-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][r-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":t.minute=["numeric","2-digit"][r-1];break;case"s":t.second=["numeric","2-digit"][r-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=r<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),t}var TZ=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function MZ(e){if(e.length===0)throw new Error("Number skeleton cannot be empty");for(var t=e.split(TZ).filter(function(d){return d.length>0}),n=[],r=0,i=t;r1)throw new RangeError("integer-width stems only accept a single optional option");i.options[0].replace(IZ,function(u,l,c,f,d,p){if(l)t.minimumIntegerDigits=c.length;else{if(f&&d)throw new Error("We currently do not support maximum integer digits");if(p)throw new Error("We currently do not support exact integer digits")}return""});continue}if(b9.test(i.stem)){t.minimumIntegerDigits=i.stem.length;continue}if(uN.test(i.stem)){if(i.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(uN,function(u,l,c,f,d,p){return c==="*"?t.minimumFractionDigits=l.length:f&&f[0]==="#"?t.maximumFractionDigits=f.length:d&&p?(t.minimumFractionDigits=d.length,t.maximumFractionDigits=d.length+p.length):(t.minimumFractionDigits=l.length,t.maximumFractionDigits=l.length),""});var a=i.options[0];a==="w"?t=We(We({},t),{trailingZeroDisplay:"stripIfInteger"}):a&&(t=We(We({},t),lN(a)));continue}if(_9.test(i.stem)){t=We(We({},t),lN(i.stem));continue}var o=x9(i.stem);o&&(t=We(We({},t),o));var s=RZ(i.stem);s&&(t=We(We({},t),s))}return t}var Z0={"001":["H","h"],419:["h","H","hB","hb"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["h","H","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["h","H","hB","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["h","H","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["h","H","hB","hb"],CU:["h","H","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["h","H","hB","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GT:["h","H","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["h","H","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["h","H","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["h","H","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["h","H","hB","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["h","H","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["h","H","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["h","H","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"en-HK":["h","hb","H","hB"],"en-IL":["H","h","hb","hB"],"en-MY":["h","hb","H","hB"],"es-BR":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]};function OZ(e,t){for(var n="",r=0;r>1),u="a",l=$Z(t);for((l=="H"||l=="k")&&(s=0);s-- >0;)n+=u;for(;o-- >0;)n=l+n}else i==="J"?n+="H":n+=i}return n}function $Z(e){var t=e.hourCycle;if(t===void 0&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var n=e.language,r;n!=="root"&&(r=e.maximize().region);var i=Z0[r||""]||Z0[n||""]||Z0["".concat(n,"-001")]||Z0["001"];return i[0]}var Fx,DZ=new RegExp("^".concat(w9.source,"*")),FZ=new RegExp("".concat(w9.source,"*$"));function vt(e,t){return{start:e,end:t}}var LZ=!!String.prototype.startsWith&&"_a".startsWith("a",1),BZ=!!String.fromCodePoint,zZ=!!Object.fromEntries,UZ=!!String.prototype.codePointAt,jZ=!!String.prototype.trimStart,HZ=!!String.prototype.trimEnd,qZ=!!Number.isSafeInteger,WZ=qZ?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},gk=!0;try{var GZ=S9("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");gk=((Fx=GZ.exec("a"))===null||Fx===void 0?void 0:Fx[0])==="a"}catch{gk=!1}var fN=LZ?function(t,n,r){return t.startsWith(n,r)}:function(t,n,r){return t.slice(r,r+n.length)===n},vk=BZ?String.fromCodePoint:function(){for(var t=[],n=0;na;){if(o=t[a++],o>1114111)throw RangeError(o+" is not a valid code point");r+=o<65536?String.fromCharCode(o):String.fromCharCode(((o-=65536)>>10)+55296,o%1024+56320)}return r},dN=zZ?Object.fromEntries:function(t){for(var n={},r=0,i=t;r=r)){var i=t.charCodeAt(n),a;return i<55296||i>56319||n+1===r||(a=t.charCodeAt(n+1))<56320||a>57343?i:(i-55296<<10)+(a-56320)+65536}},VZ=jZ?function(t){return t.trimStart()}:function(t){return t.replace(DZ,"")},YZ=HZ?function(t){return t.trimEnd()}:function(t){return t.replace(FZ,"")};function S9(e,t){return new RegExp(e,t)}var yk;if(gk){var hN=S9("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");yk=function(t,n){var r;hN.lastIndex=n;var i=hN.exec(t);return(r=i[1])!==null&&r!==void 0?r:""}}else yk=function(t,n){for(var r=[];;){var i=E9(t,n);if(i===void 0||C9(i)||ZZ(i))break;r.push(i),n+=i>=65536?2:1}return vk.apply(void 0,r)};var QZ=function(){function e(t,n){n===void 0&&(n={}),this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!n.ignoreTag,this.locale=n.locale,this.requiresOtherClause=!!n.requiresOtherClause,this.shouldParseSkeletons=!!n.shouldParseSkeletons}return e.prototype.parse=function(){if(this.offset()!==0)throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(t,n,r){for(var i=[];!this.isEOF();){var a=this.char();if(a===123){var o=this.parseArgument(t,r);if(o.err)return o;i.push(o.val)}else{if(a===125&&t>0)break;if(a===35&&(n==="plural"||n==="selectordinal")){var s=this.clonePosition();this.bump(),i.push({type:Ht.pound,location:vt(s,this.clonePosition())})}else if(a===60&&!this.ignoreTag&&this.peek()===47){if(r)break;return this.error(mt.UNMATCHED_CLOSING_TAG,vt(this.clonePosition(),this.clonePosition()))}else if(a===60&&!this.ignoreTag&&wk(this.peek()||0)){var o=this.parseTag(t,n);if(o.err)return o;i.push(o.val)}else{var o=this.parseLiteral(t,n);if(o.err)return o;i.push(o.val)}}}return{val:i,err:null}},e.prototype.parseTag=function(t,n){var r=this.clonePosition();this.bump();var i=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:Ht.literal,value:"<".concat(i,"/>"),location:vt(r,this.clonePosition())},err:null};if(this.bumpIf(">")){var a=this.parseMessage(t+1,n,!0);if(a.err)return a;var o=a.val,s=this.clonePosition();if(this.bumpIf("")?{val:{type:Ht.tag,value:i,children:o,location:vt(r,this.clonePosition())},err:null}:this.error(mt.INVALID_TAG,vt(s,this.clonePosition())))}else return this.error(mt.UNCLOSED_TAG,vt(r,this.clonePosition()))}else return this.error(mt.INVALID_TAG,vt(r,this.clonePosition()))},e.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&XZ(this.char());)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(t,n){for(var r=this.clonePosition(),i="";;){var a=this.tryParseQuote(n);if(a){i+=a;continue}var o=this.tryParseUnquoted(t,n);if(o){i+=o;continue}var s=this.tryParseLeftAngleBracket();if(s){i+=s;continue}break}var u=vt(r,this.clonePosition());return{val:{type:Ht.literal,value:i,location:u},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!KZ(this.peek()||0))?(this.bump(),"<"):null},e.prototype.tryParseQuote=function(t){if(this.isEOF()||this.char()!==39)return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if(t==="plural"||t==="selectordinal")break;return null;default:return null}this.bump();var n=[this.char()];for(this.bump();!this.isEOF();){var r=this.char();if(r===39)if(this.peek()===39)n.push(39),this.bump();else{this.bump();break}else n.push(r);this.bump()}return vk.apply(void 0,n)},e.prototype.tryParseUnquoted=function(t,n){if(this.isEOF())return null;var r=this.char();return r===60||r===123||r===35&&(n==="plural"||n==="selectordinal")||r===125&&t>0?null:(this.bump(),vk(r))},e.prototype.parseArgument=function(t,n){var r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(mt.EXPECT_ARGUMENT_CLOSING_BRACE,vt(r,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(mt.EMPTY_ARGUMENT,vt(r,this.clonePosition()));var i=this.parseIdentifierIfPossible().value;if(!i)return this.error(mt.MALFORMED_ARGUMENT,vt(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(mt.EXPECT_ARGUMENT_CLOSING_BRACE,vt(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:Ht.argument,value:i,location:vt(r,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(mt.EXPECT_ARGUMENT_CLOSING_BRACE,vt(r,this.clonePosition())):this.parseArgumentOptions(t,n,i,r);default:return this.error(mt.MALFORMED_ARGUMENT,vt(r,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),n=this.offset(),r=yk(this.message,n),i=n+r.length;this.bumpTo(i);var a=this.clonePosition(),o=vt(t,a);return{value:r,location:o}},e.prototype.parseArgumentOptions=function(t,n,r,i){var a,o=this.clonePosition(),s=this.parseIdentifierIfPossible().value,u=this.clonePosition();switch(s){case"":return this.error(mt.EXPECT_ARGUMENT_TYPE,vt(o,u));case"number":case"date":case"time":{this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition(),f=this.parseSimpleArgStyleIfPossible();if(f.err)return f;var d=YZ(f.val);if(d.length===0)return this.error(mt.EXPECT_ARGUMENT_STYLE,vt(this.clonePosition(),this.clonePosition()));var p=vt(c,this.clonePosition());l={style:d,styleLocation:p}}var y=this.tryParseArgumentClose(i);if(y.err)return y;var g=vt(i,this.clonePosition());if(l&&fN(l==null?void 0:l.style,"::",0)){var w=VZ(l.style.slice(2));if(s==="number"){var f=this.parseNumberSkeletonFromString(w,l.styleLocation);return f.err?f:{val:{type:Ht.number,value:r,location:g,style:f.val},err:null}}else{if(w.length===0)return this.error(mt.EXPECT_DATE_TIME_SKELETON,g);var _=w;this.locale&&(_=OZ(w,this.locale));var d={type:sf.dateTime,pattern:_,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?AZ(_):{}},b=s==="date"?Ht.date:Ht.time;return{val:{type:b,value:r,location:g,style:d},err:null}}}return{val:{type:s==="number"?Ht.number:s==="date"?Ht.date:Ht.time,value:r,location:g,style:(a=l==null?void 0:l.style)!==null&&a!==void 0?a:null},err:null}}case"plural":case"selectordinal":case"select":{var E=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(mt.EXPECT_SELECT_ARGUMENT_OPTIONS,vt(E,We({},E)));this.bumpSpace();var S=this.parseIdentifierIfPossible(),v=0;if(s!=="select"&&S.value==="offset"){if(!this.bumpIf(":"))return this.error(mt.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,vt(this.clonePosition(),this.clonePosition()));this.bumpSpace();var f=this.tryParseDecimalInteger(mt.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,mt.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(f.err)return f;this.bumpSpace(),S=this.parseIdentifierIfPossible(),v=f.val}var C=this.tryParsePluralOrSelectOptions(t,s,n,S);if(C.err)return C;var y=this.tryParseArgumentClose(i);if(y.err)return y;var A=vt(i,this.clonePosition());return s==="select"?{val:{type:Ht.select,value:r,options:dN(C.val),location:A},err:null}:{val:{type:Ht.plural,value:r,options:dN(C.val),offset:v,pluralType:s==="plural"?"cardinal":"ordinal",location:A},err:null}}default:return this.error(mt.INVALID_ARGUMENT_TYPE,vt(o,u))}},e.prototype.tryParseArgumentClose=function(t){return this.isEOF()||this.char()!==125?this.error(mt.EXPECT_ARGUMENT_CLOSING_BRACE,vt(t,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var t=0,n=this.clonePosition();!this.isEOF();){var r=this.char();switch(r){case 39:{this.bump();var i=this.clonePosition();if(!this.bumpUntil("'"))return this.error(mt.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,vt(i,this.clonePosition()));this.bump();break}case 123:{t+=1,this.bump();break}case 125:{if(t>0)t-=1;else return{val:this.message.slice(n.offset,this.offset()),err:null};break}default:this.bump();break}}return{val:this.message.slice(n.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(t,n){var r=[];try{r=MZ(t)}catch{return this.error(mt.INVALID_NUMBER_SKELETON,n)}return{val:{type:sf.number,tokens:r,location:n,parsedOptions:this.shouldParseSkeletons?NZ(r):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(t,n,r,i){for(var a,o=!1,s=[],u=new Set,l=i.value,c=i.location;;){if(l.length===0){var f=this.clonePosition();if(n!=="select"&&this.bumpIf("=")){var d=this.tryParseDecimalInteger(mt.EXPECT_PLURAL_ARGUMENT_SELECTOR,mt.INVALID_PLURAL_ARGUMENT_SELECTOR);if(d.err)return d;c=vt(f,this.clonePosition()),l=this.message.slice(f.offset,this.offset())}else break}if(u.has(l))return this.error(n==="select"?mt.DUPLICATE_SELECT_ARGUMENT_SELECTOR:mt.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,c);l==="other"&&(o=!0),this.bumpSpace();var p=this.clonePosition();if(!this.bumpIf("{"))return this.error(n==="select"?mt.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:mt.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,vt(this.clonePosition(),this.clonePosition()));var y=this.parseMessage(t+1,n,r);if(y.err)return y;var g=this.tryParseArgumentClose(p);if(g.err)return g;s.push([l,{value:y.val,location:vt(p,this.clonePosition())}]),u.add(l),this.bumpSpace(),a=this.parseIdentifierIfPossible(),l=a.value,c=a.location}return s.length===0?this.error(n==="select"?mt.EXPECT_SELECT_ARGUMENT_SELECTOR:mt.EXPECT_PLURAL_ARGUMENT_SELECTOR,vt(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!o?this.error(mt.MISSING_OTHER_CLAUSE,vt(this.clonePosition(),this.clonePosition())):{val:s,err:null}},e.prototype.tryParseDecimalInteger=function(t,n){var r=1,i=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(r=-1);for(var a=!1,o=0;!this.isEOF();){var s=this.char();if(s>=48&&s<=57)a=!0,o=o*10+(s-48),this.bump();else break}var u=vt(i,this.clonePosition());return a?(o*=r,WZ(o)?{val:o,err:null}:this.error(n,u)):this.error(t,u)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var t=this.position.offset;if(t>=this.message.length)throw Error("out of bound");var n=E9(this.message,t);if(n===void 0)throw Error("Offset ".concat(t," is at invalid UTF-16 code unit boundary"));return n},e.prototype.error=function(t,n){return{val:null,err:{kind:t,message:this.message,location:n}}},e.prototype.bump=function(){if(!this.isEOF()){var t=this.char();t===10?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=t<65536?1:2)}},e.prototype.bumpIf=function(t){if(fN(this.message,t,this.offset())){for(var n=0;n=0?(this.bumpTo(r),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(t){if(this.offset()>t)throw Error("targetOffset ".concat(t," must be greater than or equal to the current offset ").concat(this.offset()));for(t=Math.min(t,this.message.length);;){var n=this.offset();if(n===t)break;if(n>t)throw Error("targetOffset ".concat(t," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&C9(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var t=this.char(),n=this.offset(),r=this.message.charCodeAt(n+(t>=65536?2:1));return r??null},e}();function wk(e){return e>=97&&e<=122||e>=65&&e<=90}function KZ(e){return wk(e)||e===47}function XZ(e){return e===45||e===46||e>=48&&e<=57||e===95||e>=97&&e<=122||e>=65&&e<=90||e==183||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}function C9(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function ZZ(e){return e>=33&&e<=35||e===36||e>=37&&e<=39||e===40||e===41||e===42||e===43||e===44||e===45||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||e===91||e===92||e===93||e===94||e===96||e===123||e===124||e===125||e===126||e===161||e>=162&&e<=165||e===166||e===167||e===169||e===171||e===172||e===174||e===176||e===177||e===182||e===187||e===191||e===215||e===247||e>=8208&&e<=8213||e>=8214&&e<=8215||e===8216||e===8217||e===8218||e>=8219&&e<=8220||e===8221||e===8222||e===8223||e>=8224&&e<=8231||e>=8240&&e<=8248||e===8249||e===8250||e>=8251&&e<=8254||e>=8257&&e<=8259||e===8260||e===8261||e===8262||e>=8263&&e<=8273||e===8274||e===8275||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||e===8608||e>=8609&&e<=8610||e===8611||e>=8612&&e<=8613||e===8614||e>=8615&&e<=8621||e===8622||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||e===8658||e===8659||e===8660||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||e===8968||e===8969||e===8970||e===8971||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||e===9001||e===9002||e>=9003&&e<=9083||e===9084||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||e===9655||e>=9656&&e<=9664||e===9665||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||e===9839||e>=9840&&e<=10087||e===10088||e===10089||e===10090||e===10091||e===10092||e===10093||e===10094||e===10095||e===10096||e===10097||e===10098||e===10099||e===10100||e===10101||e>=10132&&e<=10175||e>=10176&&e<=10180||e===10181||e===10182||e>=10183&&e<=10213||e===10214||e===10215||e===10216||e===10217||e===10218||e===10219||e===10220||e===10221||e===10222||e===10223||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||e===10627||e===10628||e===10629||e===10630||e===10631||e===10632||e===10633||e===10634||e===10635||e===10636||e===10637||e===10638||e===10639||e===10640||e===10641||e===10642||e===10643||e===10644||e===10645||e===10646||e===10647||e===10648||e>=10649&&e<=10711||e===10712||e===10713||e===10714||e===10715||e>=10716&&e<=10747||e===10748||e===10749||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||e===11158||e>=11159&&e<=11263||e>=11776&&e<=11777||e===11778||e===11779||e===11780||e===11781||e>=11782&&e<=11784||e===11785||e===11786||e===11787||e===11788||e===11789||e>=11790&&e<=11798||e===11799||e>=11800&&e<=11801||e===11802||e===11803||e===11804||e===11805||e>=11806&&e<=11807||e===11808||e===11809||e===11810||e===11811||e===11812||e===11813||e===11814||e===11815||e===11816||e===11817||e>=11818&&e<=11822||e===11823||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||e===11840||e===11841||e===11842||e>=11843&&e<=11855||e>=11856&&e<=11857||e===11858||e>=11859&&e<=11903||e>=12289&&e<=12291||e===12296||e===12297||e===12298||e===12299||e===12300||e===12301||e===12302||e===12303||e===12304||e===12305||e>=12306&&e<=12307||e===12308||e===12309||e===12310||e===12311||e===12312||e===12313||e===12314||e===12315||e===12316||e===12317||e>=12318&&e<=12319||e===12320||e===12336||e===64830||e===64831||e>=65093&&e<=65094}function _k(e){e.forEach(function(t){if(delete t.location,m9(t)||g9(t))for(var n in t.options)delete t.options[n].location,_k(t.options[n].value);else d9(t)&&y9(t.style)||(h9(t)||p9(t))&&mk(t.style)?delete t.style.location:v9(t)&&_k(t.children)})}function JZ(e,t){t===void 0&&(t={}),t=We({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var n=new QZ(e,t).parse();if(n.err){var r=SyntaxError(mt[n.err.kind]);throw r.location=n.err.location,r.originalMessage=n.err.message,r}return t!=null&&t.captureLocation||_k(n.val),n.val}var Ba;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(Ba||(Ba={}));var uu=function(e){Mi(t,e);function t(n,r,i){var a=e.call(this,n)||this;return a.code=r,a.originalMessage=i,a}return t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),pN=function(e){Mi(t,e);function t(n,r,i,a){return e.call(this,'Invalid values for "'.concat(n,'": "').concat(r,'". Options are "').concat(Object.keys(i).join('", "'),'"'),Ba.INVALID_VALUE,a)||this}return t}(uu),eJ=function(e){Mi(t,e);function t(n,r,i){return e.call(this,'Value for "'.concat(n,'" must be of type ').concat(r),Ba.INVALID_VALUE,i)||this}return t}(uu),tJ=function(e){Mi(t,e);function t(n,r){return e.call(this,'The intl string context variable "'.concat(n,'" was not provided to the string "').concat(r,'"'),Ba.MISSING_VALUE,r)||this}return t}(uu),sr;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(sr||(sr={}));function nJ(e){return e.length<2?e:e.reduce(function(t,n){var r=t[t.length-1];return!r||r.type!==sr.literal||n.type!==sr.literal?t.push(n):r.value+=n.value,t},[])}function k9(e){return typeof e=="function"}function ay(e,t,n,r,i,a,o){if(e.length===1&&sN(e[0]))return[{type:sr.literal,value:e[0].value}];for(var s=[],u=0,l=e;u"u")){var n=Intl.NumberFormat.supportedLocalesOf(t);return n.length>0?new Intl.Locale(n[0]):new Intl.Locale(typeof t=="string"?t:t[0])}},e.__parse=JZ,e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}();function Ou(e,t){var n=t&&t.cache?t.cache:fJ,r=t&&t.serializer?t.serializer:cJ,i=t&&t.strategy?t.strategy:uJ;return i(e,{cache:n,serializer:r})}function oJ(e){return e==null||typeof e=="number"||typeof e=="boolean"}function sJ(e,t,n,r){var i=oJ(r)?r:n(r),a=t.get(i);return typeof a>"u"&&(a=e.call(this,r),t.set(i,a)),a}function T9(e,t,n){var r=Array.prototype.slice.call(arguments,3),i=n(r),a=t.get(i);return typeof a>"u"&&(a=e.apply(this,r),t.set(i,a)),a}function M9(e,t,n,r,i){return n.bind(t,e,r,i)}function uJ(e,t){var n=e.length===1?sJ:T9;return M9(e,this,n,t.cache.create(),t.serializer)}function lJ(e,t){return M9(e,this,T9,t.cache.create(),t.serializer)}var cJ=function(){return JSON.stringify(arguments)};function HT(){this.cache=Object.create(null)}HT.prototype.get=function(e){return this.cache[e]};HT.prototype.set=function(e,t){this.cache[e]=t};var fJ={create:function(){return new HT}},$u={variadic:lJ},al;(function(e){e.FORMAT_ERROR="FORMAT_ERROR",e.UNSUPPORTED_FORMATTER="UNSUPPORTED_FORMATTER",e.INVALID_CONFIG="INVALID_CONFIG",e.MISSING_DATA="MISSING_DATA",e.MISSING_TRANSLATION="MISSING_TRANSLATION"})(al||(al={}));var eg=function(e){Mi(t,e);function t(n,r,i){var a=this,o=i?i instanceof Error?i:new Error(String(i)):void 0;return a=e.call(this,"[@formatjs/intl Error ".concat(n,"] ").concat(r,` `).concat(o?` `.concat(o.message,` `).concat(o.stack):""))||this,a.code=n,typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(a,t),a}return t}(Error),dJ=function(e){Mi(t,e);function t(n,r){return e.call(this,al.UNSUPPORTED_FORMATTER,n,r)||this}return t}(eg),hJ=function(e){Mi(t,e);function t(n,r){return e.call(this,al.INVALID_CONFIG,n,r)||this}return t}(eg),mN=function(e){Mi(t,e);function t(n,r){return e.call(this,al.MISSING_DATA,n,r)||this}return t}(eg),Pi=function(e){Mi(t,e);function t(n,r,i){var a=e.call(this,al.FORMAT_ERROR,"".concat(n,` Locale: `).concat(r,` `),i)||this;return a.locale=r,a}return t}(eg),Bx=function(e){Mi(t,e);function t(n,r,i,a){var o=e.call(this,"".concat(n,` MessageID: `).concat(i==null?void 0:i.id,` Default Message: `).concat(i==null?void 0:i.defaultMessage,` Description: `).concat(i==null?void 0:i.description,` `),r,a)||this;return o.descriptor=i,o.locale=r,o}return t}(Pi),pJ=function(e){Mi(t,e);function t(n,r){var i=e.call(this,al.MISSING_TRANSLATION,'Missing message: "'.concat(n.id,'" for locale "').concat(r,'", using ').concat(n.defaultMessage?"default message (".concat(typeof n.defaultMessage=="string"?n.defaultMessage:n.defaultMessage.map(function(a){var o;return(o=a.value)!==null&&o!==void 0?o:JSON.stringify(a)}).join(),")"):"id"," as fallback."))||this;return i.descriptor=n,i}return t}(eg);function Il(e,t,n){return n===void 0&&(n={}),t.reduce(function(r,i){return i in e?r[i]=e[i]:i in n&&(r[i]=n[i]),r},{})}var mJ=function(e){},gJ=function(e){},P9={formats:{},messages:{},timeZone:void 0,defaultLocale:"en",defaultFormats:{},fallbackOnEmptyString:!0,onError:mJ,onWarn:gJ};function I9(){return{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}}}function Du(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,n){e[t]=n}}}}}function vJ(e){e===void 0&&(e=I9());var t=Intl.RelativeTimeFormat,n=Intl.ListFormat,r=Intl.DisplayNames,i=Ou(function(){for(var s,u=[],l=0;l needs to exist in the component ancestry.")}var D9=We(We({},P9),{textComponent:ee.Fragment});function BJ(e){return function(t){return e(ee.Children.toArray(t))}}function xk(e,t){if(e===t)return!0;if(!e||!t)return!1;var n=Object.keys(e),r=Object.keys(t),i=n.length;if(r.length!==i)return!1;for(var a=0;a{const d=function(){};return d.prototype=Object.create(null),d})();function o(d,p){const y=new a,g=d.length;if(g<2)return y;const w=(p==null?void 0:p.decode)||c;let _=0;do{const b=d.indexOf("=",_);if(b===-1)break;const E=d.indexOf(";",_),S=E===-1?g:E;if(b>S){_=d.lastIndexOf(";",b-1)+1;continue}const v=s(d,_,b),C=u(d,b,v),A=d.slice(v,C);if(y[A]===void 0){let M=s(d,b+1,S),R=u(d,S,M);const O=w(d.slice(M,R));y[A]=O}_=S+1}while(_y;){const g=d.charCodeAt(--p);if(g!==32&&g!==9)return p+1}return y}function l(d,p,y){const g=(y==null?void 0:y.encode)||encodeURIComponent;if(!e.test(d))throw new TypeError(`argument name is invalid: ${d}`);const w=g(p);if(!t.test(w))throw new TypeError(`argument val is invalid: ${p}`);let _=d+"="+w;if(!y)return _;if(y.maxAge!==void 0){if(!Number.isInteger(y.maxAge))throw new TypeError(`option maxAge is invalid: ${y.maxAge}`);_+="; Max-Age="+y.maxAge}if(y.domain){if(!n.test(y.domain))throw new TypeError(`option domain is invalid: ${y.domain}`);_+="; Domain="+y.domain}if(y.path){if(!r.test(y.path))throw new TypeError(`option path is invalid: ${y.path}`);_+="; Path="+y.path}if(y.expires){if(!f(y.expires)||!Number.isFinite(y.expires.valueOf()))throw new TypeError(`option expires is invalid: ${y.expires}`);_+="; Expires="+y.expires.toUTCString()}if(y.httpOnly&&(_+="; HttpOnly"),y.secure&&(_+="; Secure"),y.partitioned&&(_+="; Partitioned"),y.priority)switch(typeof y.priority=="string"?y.priority.toLowerCase():void 0){case"low":_+="; Priority=Low";break;case"medium":_+="; Priority=Medium";break;case"high":_+="; Priority=High";break;default:throw new TypeError(`option priority is invalid: ${y.priority}`)}if(y.sameSite)switch(typeof y.sameSite=="string"?y.sameSite.toLowerCase():y.sameSite){case!0:case"strict":_+="; SameSite=Strict";break;case"lax":_+="; SameSite=Lax";break;case"none":_+="; SameSite=None";break;default:throw new TypeError(`option sameSite is invalid: ${y.sameSite}`)}return _}function c(d){if(d.indexOf("%")===-1)return d;try{return decodeURIComponent(d)}catch{return d}}function f(d){return i.call(d)==="[object Date]"}return mh}YJ();var CN="popstate";function QJ(e={}){function t(i,a){let{pathname:o="/",search:s="",hash:u=""}=Rl(i.location.hash.substring(1));return!o.startsWith("/")&&!o.startsWith(".")&&(o="/"+o),Ck("",{pathname:o,search:s,hash:u},a.state&&a.state.usr||null,a.state&&a.state.key||"default")}function n(i,a){let o=i.document.querySelector("base"),s="";if(o&&o.getAttribute("href")){let u=i.location.href,l=u.indexOf("#");s=l===-1?u:u.slice(0,l)}return s+"#"+(typeof a=="string"?a:Op(a))}function r(i,a){Si(i.pathname.charAt(0)==="/",`relative pathnames are not supported in hash history.push(${JSON.stringify(a)})`)}return XJ(t,n,r,e)}function Vt(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function Si(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function KJ(){return Math.random().toString(36).substring(2,10)}function kN(e,t){return{usr:e.state,key:e.key,idx:t}}function Ck(e,t,n=null,r){return{pathname:typeof e=="string"?e:e.pathname,search:"",hash:"",...typeof t=="string"?Rl(t):t,state:n,key:t&&t.key||r||KJ()}}function Op({pathname:e="/",search:t="",hash:n=""}){return t&&t!=="?"&&(e+=t.charAt(0)==="?"?t:"?"+t),n&&n!=="#"&&(e+=n.charAt(0)==="#"?n:"#"+n),e}function Rl(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substring(n),e=e.substring(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substring(r),e=e.substring(0,r)),e&&(t.pathname=e)}return t}function XJ(e,t,n,r={}){let{window:i=document.defaultView,v5Compat:a=!1}=r,o=i.history,s="POP",u=null,l=c();l==null&&(l=0,o.replaceState({...o.state,idx:l},""));function c(){return(o.state||{idx:null}).idx}function f(){s="POP";let w=c(),_=w==null?null:w-l;l=w,u&&u({action:s,location:g.location,delta:_})}function d(w,_){s="PUSH";let b=Ck(g.location,w,_);n&&n(b,w),l=c()+1;let E=kN(b,l),S=g.createHref(b);try{o.pushState(E,"",S)}catch(v){if(v instanceof DOMException&&v.name==="DataCloneError")throw v;i.location.assign(S)}a&&u&&u({action:s,location:g.location,delta:1})}function p(w,_){s="REPLACE";let b=Ck(g.location,w,_);n&&n(b,w),l=c();let E=kN(b,l),S=g.createHref(b);o.replaceState(E,"",S),a&&u&&u({action:s,location:g.location,delta:0})}function y(w){let _=i.location.origin!=="null"?i.location.origin:i.location.href,b=typeof w=="string"?w:Op(w);return b=b.replace(/ $/,"%20"),Vt(_,`No window.location.(origin|href) available to create URL for href: ${b}`),new URL(b,_)}let g={get action(){return s},get location(){return e(i,o)},listen(w){if(u)throw new Error("A history only accepts one active listener");return i.addEventListener(CN,f),u=w,()=>{i.removeEventListener(CN,f),u=null}},createHref(w){return t(i,w)},createURL:y,encodeLocation(w){let _=y(w);return{pathname:_.pathname,search:_.search,hash:_.hash}},push:d,replace:p,go(w){return o.go(w)}};return g}function z9(e,t,n="/"){return ZJ(e,t,n,!1)}function ZJ(e,t,n,r){let i=typeof t=="string"?Rl(t):t,a=Do(i.pathname||"/",n);if(a==null)return null;let o=U9(e);JJ(o);let s=null;for(let u=0;s==null&&u{let u={relativePath:s===void 0?a.path||"":s,caseSensitive:a.caseSensitive===!0,childrenIndex:o,route:a};u.relativePath.startsWith("/")&&(Vt(u.relativePath.startsWith(r),`Absolute route path "${u.relativePath}" nested under path "${r}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),u.relativePath=u.relativePath.slice(r.length));let l=Oo([r,u.relativePath]),c=n.concat(u);a.children&&a.children.length>0&&(Vt(a.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${l}".`),U9(a.children,t,c,l)),!(a.path==null&&!a.index)&&t.push({path:l,score:oee(l,a.index),routesMeta:c})};return e.forEach((a,o)=>{var s;if(a.path===""||!((s=a.path)!=null&&s.includes("?")))i(a,o);else for(let u of j9(a.path))i(a,o,u)}),t}function j9(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,i=n.endsWith("?"),a=n.replace(/\?$/,"");if(r.length===0)return i?[a,""]:[a];let o=j9(r.join("/")),s=[];return s.push(...o.map(u=>u===""?a:[a,u].join("/"))),i&&s.push(...o),s.map(u=>e.startsWith("/")&&u===""?"/":u)}function JJ(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:see(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}var eee=/^:[\w-]+$/,tee=3,nee=2,ree=1,iee=10,aee=-2,AN=e=>e==="*";function oee(e,t){let n=e.split("/"),r=n.length;return n.some(AN)&&(r+=aee),t&&(r+=nee),n.filter(i=>!AN(i)).reduce((i,a)=>i+(eee.test(a)?tee:a===""?ree:iee),r)}function see(e,t){return e.length===t.length&&e.slice(0,-1).every((r,i)=>r===t[i])?e[e.length-1]-t[t.length-1]:0}function uee(e,t,n=!1){let{routesMeta:r}=e,i={},a="/",o=[];for(let s=0;s{if(c==="*"){let y=s[d]||"";o=a.slice(0,a.length-y.length).replace(/(.)\/+$/,"$1")}const p=s[d];return f&&!p?l[c]=void 0:l[c]=(p||"").replace(/%2F/g,"/"),l},{}),pathname:a,pathnameBase:o,pattern:e}}function lee(e,t=!1,n=!0){Si(e==="*"||!e.endsWith("*")||e.endsWith("/*"),`Route path "${e}" will be treated as if it were "${e.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/,"/*")}".`);let r=[],i="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(o,s,u)=>(r.push({paramName:s,isOptional:u!=null}),u?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),i+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?i+="\\/*$":e!==""&&e!=="/"&&(i+="(?:(?=\\/|$))"),[new RegExp(i,t?void 0:"i"),r]}function cee(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return Si(!1,`The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`),e}}function Do(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}function fee(e,t="/"){let{pathname:n,search:r="",hash:i=""}=typeof e=="string"?Rl(e):e;return{pathname:n?n.startsWith("/")?n:dee(n,t):t,search:mee(r),hash:gee(i)}}function dee(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(i=>{i===".."?n.length>1&&n.pop():i!=="."&&n.push(i)}),n.length>1?n.join("/"):"/"}function Hx(e,t,n,r){return`Cannot include a '${e}' character in a manually specified \`to.${t}\` field [${JSON.stringify(r)}]. Please separate it out to the \`to.${n}\` field. Alternatively you may provide the full path as a string in and the router will parse it for you.`}function hee(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function GT(e){let t=hee(e);return t.map((n,r)=>r===t.length-1?n.pathname:n.pathnameBase)}function VT(e,t,n,r=!1){let i;typeof e=="string"?i=Rl(e):(i={...e},Vt(!i.pathname||!i.pathname.includes("?"),Hx("?","pathname","search",i)),Vt(!i.pathname||!i.pathname.includes("#"),Hx("#","pathname","hash",i)),Vt(!i.search||!i.search.includes("#"),Hx("#","search","hash",i)));let a=e===""||i.pathname==="",o=a?"/":i.pathname,s;if(o==null)s=n;else{let f=t.length-1;if(!r&&o.startsWith("..")){let d=o.split("/");for(;d[0]==="..";)d.shift(),f-=1;i.pathname=d.join("/")}s=f>=0?t[f]:"/"}let u=fee(i,s),l=o&&o!=="/"&&o.endsWith("/"),c=(a||o===".")&&n.endsWith("/");return!u.pathname.endsWith("/")&&(l||c)&&(u.pathname+="/"),u}var Oo=e=>e.join("/").replace(/\/\/+/g,"/"),pee=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),mee=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,gee=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function vee(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}var H9=["POST","PUT","PATCH","DELETE"];new Set(H9);var yee=["GET",...H9];new Set(yee);var fd=ee.createContext(null);fd.displayName="DataRouter";var vw=ee.createContext(null);vw.displayName="DataRouterState";var q9=ee.createContext({isTransitioning:!1});q9.displayName="ViewTransition";var wee=ee.createContext(new Map);wee.displayName="Fetchers";var _ee=ee.createContext(null);_ee.displayName="Await";var ta=ee.createContext(null);ta.displayName="Navigation";var ng=ee.createContext(null);ng.displayName="Location";var Qa=ee.createContext({outlet:null,matches:[],isDataRoute:!1});Qa.displayName="Route";var YT=ee.createContext(null);YT.displayName="RouteError";function bee(e,{relative:t}={}){Vt(dd(),"useHref() may be used only in the context of a component.");let{basename:n,navigator:r}=ee.useContext(ta),{hash:i,pathname:a,search:o}=rg(e,{relative:t}),s=a;return n!=="/"&&(s=a==="/"?n:Oo([n,a])),r.createHref({pathname:s,search:o,hash:i})}function dd(){return ee.useContext(ng)!=null}function ii(){return Vt(dd(),"useLocation() may be used only in the context of a component."),ee.useContext(ng).location}var W9="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function G9(e){ee.useContext(ta).static||ee.useLayoutEffect(e)}function Nl(){let{isDataRoute:e}=ee.useContext(Qa);return e?Oee():xee()}function xee(){Vt(dd(),"useNavigate() may be used only in the context of a component.");let e=ee.useContext(fd),{basename:t,navigator:n}=ee.useContext(ta),{matches:r}=ee.useContext(Qa),{pathname:i}=ii(),a=JSON.stringify(GT(r)),o=ee.useRef(!1);return G9(()=>{o.current=!0}),ee.useCallback((u,l={})=>{if(Si(o.current,W9),!o.current)return;if(typeof u=="number"){n.go(u);return}let c=VT(u,JSON.parse(a),i,l.relative==="path");e==null&&t!=="/"&&(c.pathname=c.pathname==="/"?t:Oo([t,c.pathname])),(l.replace?n.replace:n.push)(c,l.state,l)},[t,n,a,i,e])}ee.createContext(null);function rg(e,{relative:t}={}){let{matches:n}=ee.useContext(Qa),{pathname:r}=ii(),i=JSON.stringify(GT(n));return ee.useMemo(()=>VT(e,JSON.parse(i),r,t==="path"),[e,i,r,t])}function Eee(e,t){return V9(e,t)}function V9(e,t,n,r){var b;Vt(dd(),"useRoutes() may be used only in the context of a component.");let{navigator:i,static:a}=ee.useContext(ta),{matches:o}=ee.useContext(Qa),s=o[o.length-1],u=s?s.params:{},l=s?s.pathname:"/",c=s?s.pathnameBase:"/",f=s&&s.route;{let E=f&&f.path||"";Y9(l,!f||E.endsWith("*")||E.endsWith("*?"),`You rendered descendant (or called \`useRoutes()\`) at "${l}" (under ) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render. Please change the parent to .`)}let d=ii(),p;if(t){let E=typeof t=="string"?Rl(t):t;Vt(c==="/"||((b=E.pathname)==null?void 0:b.startsWith(c)),`When overriding the location using \`\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${c}" but pathname "${E.pathname}" was given in the \`location\` prop.`),p=E}else p=d;let y=p.pathname||"/",g=y;if(c!=="/"){let E=c.replace(/^\//,"").split("/");g="/"+y.replace(/^\//,"").split("/").slice(E.length).join("/")}let w=!a&&n&&n.matches&&n.matches.length>0?n.matches:z9(e,{pathname:g});Si(f||w!=null,`No routes matched location "${p.pathname}${p.search}${p.hash}" `),Si(w==null||w[w.length-1].route.element!==void 0||w[w.length-1].route.Component!==void 0||w[w.length-1].route.lazy!==void 0,`Matched leaf route at location "${p.pathname}${p.search}${p.hash}" does not have an element or Component. This means it will render an with a null value by default resulting in an "empty" page.`);let _=Tee(w&&w.map(E=>Object.assign({},E,{params:Object.assign({},u,E.params),pathname:Oo([c,i.encodeLocation?i.encodeLocation(E.pathname).pathname:E.pathname]),pathnameBase:E.pathnameBase==="/"?c:Oo([c,i.encodeLocation?i.encodeLocation(E.pathnameBase).pathname:E.pathnameBase])})),o,n,r);return t&&_?ee.createElement(ng.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",...p},navigationType:"POP"}},_):_}function See(){let e=Nee(),t=vee(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,r="rgba(200,200,200, 0.5)",i={padding:"0.5rem",backgroundColor:r},a={padding:"2px 4px",backgroundColor:r},o=null;return console.error("Error handled by React Router default ErrorBoundary:",e),o=ee.createElement(ee.Fragment,null,ee.createElement("p",null,"💿 Hey developer 👋"),ee.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",ee.createElement("code",{style:a},"ErrorBoundary")," or"," ",ee.createElement("code",{style:a},"errorElement")," prop on your route.")),ee.createElement(ee.Fragment,null,ee.createElement("h2",null,"Unexpected Application Error!"),ee.createElement("h3",{style:{fontStyle:"italic"}},t),n?ee.createElement("pre",{style:i},n):null,o)}var Cee=ee.createElement(See,null),kee=class extends ee.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||t.revalidation!=="idle"&&e.revalidation==="idle"?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error!==void 0?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){console.error("React Router caught the following error during render",e,t)}render(){return this.state.error!==void 0?ee.createElement(Qa.Provider,{value:this.props.routeContext},ee.createElement(YT.Provider,{value:this.state.error,children:this.props.component})):this.props.children}};function Aee({routeContext:e,match:t,children:n}){let r=ee.useContext(fd);return r&&r.static&&r.staticContext&&(t.route.errorElement||t.route.ErrorBoundary)&&(r.staticContext._deepestRenderedBoundaryId=t.route.id),ee.createElement(Qa.Provider,{value:e},n)}function Tee(e,t=[],n=null,r=null){if(e==null){if(!n)return null;if(n.errors)e=n.matches;else if(t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let i=e,a=n==null?void 0:n.errors;if(a!=null){let u=i.findIndex(l=>l.route.id&&(a==null?void 0:a[l.route.id])!==void 0);Vt(u>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(a).join(",")}`),i=i.slice(0,Math.min(i.length,u+1))}let o=!1,s=-1;if(n)for(let u=0;u=0?i=i.slice(0,s+1):i=[i[0]];break}}}return i.reduceRight((u,l,c)=>{let f,d=!1,p=null,y=null;n&&(f=a&&l.route.id?a[l.route.id]:void 0,p=l.route.errorElement||Cee,o&&(s<0&&c===0?(Y9("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),d=!0,y=null):s===c&&(d=!0,y=l.route.hydrateFallbackElement||null)));let g=t.concat(i.slice(0,c+1)),w=()=>{let _;return f?_=p:d?_=y:l.route.Component?_=ee.createElement(l.route.Component,null):l.route.element?_=l.route.element:_=u,ee.createElement(Aee,{match:l,routeContext:{outlet:u,matches:g,isDataRoute:n!=null},children:_})};return n&&(l.route.ErrorBoundary||l.route.errorElement||c===0)?ee.createElement(kee,{location:n.location,revalidation:n.revalidation,component:p,error:f,children:w(),routeContext:{outlet:null,matches:g,isDataRoute:!0}}):w()},null)}function QT(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function Mee(e){let t=ee.useContext(fd);return Vt(t,QT(e)),t}function Pee(e){let t=ee.useContext(vw);return Vt(t,QT(e)),t}function Iee(e){let t=ee.useContext(Qa);return Vt(t,QT(e)),t}function KT(e){let t=Iee(e),n=t.matches[t.matches.length-1];return Vt(n.route.id,`${e} can only be used on routes that contain a unique "id"`),n.route.id}function Ree(){return KT("useRouteId")}function Nee(){var r;let e=ee.useContext(YT),t=Pee("useRouteError"),n=KT("useRouteError");return e!==void 0?e:(r=t.errors)==null?void 0:r[n]}function Oee(){let{router:e}=Mee("useNavigate"),t=KT("useNavigate"),n=ee.useRef(!1);return G9(()=>{n.current=!0}),ee.useCallback(async(i,a={})=>{Si(n.current,W9),n.current&&(typeof i=="number"?e.navigate(i):await e.navigate(i,{fromRouteId:t,...a}))},[e,t])}var TN={};function Y9(e,t,n){!t&&!TN[e]&&(TN[e]=!0,Si(!1,n))}ee.memo($ee);function $ee({routes:e,future:t,state:n}){return V9(e,void 0,n,t)}function Dee({to:e,replace:t,state:n,relative:r}){Vt(dd()," may be used only in the context of a component.");let{static:i}=ee.useContext(ta);Si(!i," must not be used on the initial render in a . This is a no-op, but you should modify your code so the is only ever rendered in response to some user interaction or state change.");let{matches:a}=ee.useContext(Qa),{pathname:o}=ii(),s=Nl(),u=VT(e,GT(a),o,r==="path"),l=JSON.stringify(u);return ee.useEffect(()=>{s(JSON.parse(l),{replace:t,state:n,relative:r})},[s,l,r,t,n]),null}function oy(e){Vt(!1,"A is only ever to be used as the child of element, never rendered directly. Please wrap your in a .")}function Fee({basename:e="/",children:t=null,location:n,navigationType:r="POP",navigator:i,static:a=!1}){Vt(!dd(),"You cannot render a inside another . You should never have more than one in your app.");let o=e.replace(/^\/*/,"/"),s=ee.useMemo(()=>({basename:o,navigator:i,static:a,future:{}}),[o,i,a]);typeof n=="string"&&(n=Rl(n));let{pathname:u="/",search:l="",hash:c="",state:f=null,key:d="default"}=n,p=ee.useMemo(()=>{let y=Do(u,o);return y==null?null:{location:{pathname:y,search:l,hash:c,state:f,key:d},navigationType:r}},[o,u,l,c,f,d,r]);return Si(p!=null,` is not able to match the URL "${u}${l}${c}" because it does not start with the basename, so the won't render anything.`),p==null?null:ee.createElement(ta.Provider,{value:s},ee.createElement(ng.Provider,{children:t,value:p}))}function Lee({children:e,location:t}){return Eee(kk(e),t)}function kk(e,t=[]){let n=[];return ee.Children.forEach(e,(r,i)=>{if(!ee.isValidElement(r))return;let a=[...t,i];if(r.type===ee.Fragment){n.push.apply(n,kk(r.props.children,a));return}Vt(r.type===oy,`[${typeof r.type=="string"?r.type:r.type.name}] is not a component. All component children of must be a or `),Vt(!r.props.index||!r.props.children,"An index route cannot have child routes.");let o={id:r.props.id||a.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,hydrateFallbackElement:r.props.hydrateFallbackElement,HydrateFallback:r.props.HydrateFallback,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.hasErrorBoundary===!0||r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(o.children=kk(r.props.children,a)),n.push(o)}),n}var sy="get",uy="application/x-www-form-urlencoded";function yw(e){return e!=null&&typeof e.tagName=="string"}function Bee(e){return yw(e)&&e.tagName.toLowerCase()==="button"}function zee(e){return yw(e)&&e.tagName.toLowerCase()==="form"}function Uee(e){return yw(e)&&e.tagName.toLowerCase()==="input"}function jee(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function Hee(e,t){return e.button===0&&(!t||t==="_self")&&!jee(e)}var ev=null;function qee(){if(ev===null)try{new FormData(document.createElement("form"),0),ev=!1}catch{ev=!0}return ev}var Wee=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function qx(e){return e!=null&&!Wee.has(e)?(Si(!1,`"${e}" is not a valid \`encType\` for \`
\`/\`\` and will default to "${uy}"`),null):e}function Gee(e,t){let n,r,i,a,o;if(zee(e)){let s=e.getAttribute("action");r=s?Do(s,t):null,n=e.getAttribute("method")||sy,i=qx(e.getAttribute("enctype"))||uy,a=new FormData(e)}else if(Bee(e)||Uee(e)&&(e.type==="submit"||e.type==="image")){let s=e.form;if(s==null)throw new Error('Cannot submit a `;function t(){return`
`}function n(){return` ${e.addRelativeActive?bY():_Y()} `}function r(){return` ${e.editable?SY():EY()} `}function i(){return e.editable?`
${e.gender_field.options.map(l=>` `).join("")}
`:""}function a(){if(!e.editable)return l();return e.fields.map(c=>` ${c.type==="text"?`
`:c.type==="textarea"?`
`:""} `).join("");function l(){return e.fields.map(c=>`
${c.label} ${c.initial_value||""}
`).join("")}}function o(){return`
`}function s(){return` × `}function u(){return'
'}}function VNe(e,t,n){let r=[],i=-1;return{changed:a,back:o,forward:s,canForward:u,canBack:l};function a(){i0}function c(f){e.updateMainId(f.main_id),e.updateData(f),n()}}function YNe(e,t,n=()=>{}){const r=De.select(e).append("div").attr("class","f3-history-controls"),i=r.append("button").attr("class","f3-back-button").on("click",()=>{t.back(),o(),n()}),a=r.append("button").attr("class","f3-forward-button").on("click",()=>{t.forward(),o(),n()});return i.html(CY()),a.html(kY()),{back_btn:i.node(),forward_btn:a.node(),updateButtons:o,destroy:s};function o(){i.classed("disabled",!t.canBack()),a.classed("disabled",!t.canForward()),r.style("display",!t.canBack()&&!t.canForward()?"none":null)}function s(){t=null,De.select(e).select(".f3-history-controls").remove()}}var QNe=Object.freeze({__proto__:null,manualZoom:SNe,isAllRelativeDisplayed:eY,cardChangeMain:QP,cardEdit:KP,cardShowHideRels:sY,handleRelsOfNewDatum:KV,handleNewRel:XV,createNewPerson:qi,createNewPersonWithGenderFromRel:ZV,addNewPerson:VP,createTreeDataWithMainNode:JV,addNewPersonAndHandleRels:xNe,checkIfRelativesConnectedWithoutPerson:GP,createForm:_Ne,moveToAddToAdded:YV,removeToAdd:Qm,deletePerson:Og,cleanupDataJson:QV,removeToAddFromData:bNe,formInfoSetup:WNe,createHistory:VNe,createHistoryControls:YNe,treeFit:MT,calculateTreeFit:rY,cardToMiddle:iY});function KNe({d:e,card_dim:t,card_display:n}){return{template:` ${XNe({d:e,card_dim:t,card_display:n}).template} `}}function XNe({d:e,card_dim:t,card_display:n}){return{template:` ${Array.isArray(n)?n.map(r=>`${r(e.data)}`).join(` `):n(e.data)} `}}function ZNe({d:e,card_dim:t,card_add:n,label:r}){return{template:` ${r} `}}function JNe({d:e,card_dim:t,is_new:n}){return{template:` `}}function eOe({d:e,card_dim:t,x:n,y:r}){return{template:` `}}function tOe({d:e,card_dim:t}){return{template:` `}}function nOe({d:e,card_dim:t,x:n,y:r}){return{template:` `}}function $D({x:e,y:t,rt:n,closed:r}){return{template:` `}}function rOe({d:e,card_dim:t}){let n="",r=e.data.rels,i=e.data._rels||{},a=e.data.hide_rels,o=u=>u.father||u.mother,s=u=>u.children&&u.children.length>0;if((e.is_ancestry||e.data.main)&&(o(r)||o(i))&&(n+=$D({x:t.w/2,y:0,rt:-45,closed:a}).template),!e.is_ancestry&&e.added){const u=e.spouse,l=u.data.rels,c=u.data._rels||{};(s(r)||s(i))&&(s(l)||s(c))&&(n+=$D({x:e.sx-e.x+t.w/2+24.4,y:(e.x!==e.sx?t.h/2:t.h)+1,rt:135,closed:a}).template)}return{template:n}}function iOe({d:e,image:t,card_dim:n,maleIcon:r,femaleIcon:i}){return{template:` ${t?``:(e.data.data.gender,e.data.data.gender,a())} `};function a(){return` `}}function aOe(e,t,n){const r=document.createElementNS("http://www.w3.org/2000/svg","g");r.innerHTML=e,t.insertBefore(r,t.firstChild)}const Nc={miniTree:oOe,lineBreak:sOe,cardBody:uOe,cardImage:lOe,cardEdit:cOe,cardAdd:fOe};function oOe(e,t){if(e.data.to_add)return;const n=t.card_dim;if(e.all_rels_displayed)return;const r=De.create("svg:g").html(tOe({d:e,card_dim:n}).template);return r.on("click",function(i){i.stopPropagation(),t.onMiniTreeClick?t.onMiniTreeClick.call(this,i,e):QP(t.store,{d:e})}),r.node()}function sOe(e,t){if(e.data.to_add)return;const n=t.card_dim,r=De.create("svg:g").html(rOe({d:e,card_dim:n}).template);return r.on("click",i=>{i.stopPropagation(),sY(t.store,{d:e})}),r.node()}function uOe(e,t){const n=t.cardEditForm?"ADD":"UNKNOWN",r=t.card_dim;let i;return e.data.to_add?(i=De.create("svg:g").html(ZNe({d:e,card_dim:r,card_add:t.cardEditForm,label:n}).template),i.on("click",a=>{a.stopPropagation(),KP(t.store,{d:e,cardEditForm:t.cardEditForm})})):(i=De.create("svg:g").html(KNe({d:e,card_dim:r,card_display:t.card_display}).template),i.on("click",function(a){a.stopPropagation(),t.onCardClick?t.onCardClick.call(this,a,e):QP(t.store,{d:e})})),i.node()}function lOe(e,t){if(e.data.to_add)return;const n=t.card_dim;return De.create("svg:g").html(iOe({d:e,image:e.data.data.avatar||null,card_dim:n,maleIcon:null,femaleIcon:null}).template).node()}function cOe(e,t){if(e.data.to_add)return;const n=t.card_dim,r=De.create("svg:g").html(eOe({card_dim:n,x:n.w-46,y:n.h-20}).template);return r.on("click",i=>{i.stopPropagation(),KP(t.store,{d:e,cardEditForm:t.cardEditForm})}),r.node()}function fOe(e,t){if(e.data.to_add)return;const n=t.card_dim,r=De.create("svg:g").html(nOe({card_dim:n,x:n.w-26,y:n.h-20}).template);return r.on("click",i=>{i.stopPropagation(),t.addRelative({d:e})}),r.node()}function Yu(e,t,n){e&&(n?t.insertBefore(e,t.firstChild):t.appendChild(e))}function MY(e,t){if(e.querySelector("defs#f3CardDef"))return;e.insertAdjacentHTML("afterbegin",` `);function n(r,i,a){const{w:o,h:s}=r,u=i,l=a||[],c=g=>l.includes(g),f=c("lx")?"M0,0":`M0,${u} Q 0,0 5,0`,d=c("rx")?`H${o}`:`H${o-u} Q ${o},0 ${o},5`,p=c("ry")?`V${s}`:`V${s-u} Q ${o},${s} ${o-u},${s}`,y=c("ly")?"H0":`H${u} Q 0,${s} 0,${s-u}`;return`${f} ${d} ${p} ${y} z`}}function dOe(e,t){e.querySelector("defs#f3CardDef")&&e.querySelector("defs#f3CardDef").remove(),MY(e,t)}function hOe(e){return e=t(e),MY(e.svg,e.card_dim),function(n){const r=n.data.data.gender==="M"?"card-male":n.data.data.gender==="F"?"card-female":"card-genderless",i=e.card_dim,a=De.create("svg:g").attr("class",`card ${r}`).attr("transform",`translate(${[-i.w/2,-i.h/2]})`);a.append("g").attr("class","card-inner").attr("clip-path","url(#card_clip)"),this.innerHTML="",this.appendChild(a.node()),aOe(JNe({d:n,card_dim:i,is_new:n.data.to_add}).template,a.node()),Yu(Nc.cardBody(n,e),this.querySelector(".card-inner")),e.img&&Yu(Nc.cardImage(n,e),this.querySelector(".card")),e.mini_tree&&Yu(Nc.miniTree(n,e),this.querySelector(".card"),!0),e.link_break&&Yu(Nc.lineBreak(n,e),this.querySelector(".card")),e.cardEditForm&&(Yu(Nc.cardEdit(n,e),this.querySelector(".card-inner")),Yu(Nc.cardAdd(n,e),this.querySelector(".card-inner"))),e.onCardUpdates&&e.onCardUpdates.map(o=>o.call(this,n)),e.onCardUpdate&&e.onCardUpdate.call(this,n)};function t(n){const r={img:!0,mini_tree:!0,link_break:!1,card_dim:{w:220,h:70,text_x:75,text_y:15,img_w:60,img_h:60,img_x:5,img_y:5}};n||(n={});for(const i in r)typeof n[i]>"u"&&(n[i]=r[i]);return n}}function pOe(e){const t=e.style==="default"?l:e.style==="imageCircleRect"?u:e.style==="imageCircle"?c:e.style==="imageRect"?f:e.style==="rect"?d:l;return function(_){this.innerHTML=`
${e.mini_tree?s(_):""} ${t(_)}
`,this.querySelector(".card").addEventListener("click",b=>e.onCardClick(b,_)),e.onCardUpdate&&e.onCardUpdate.call(this,_),e.onCardMouseenter&&De.select(this).select(".card").on("mouseenter",b=>e.onCardMouseenter(b,_)),e.onCardMouseleave&&De.select(this).select(".card").on("mouseleave",b=>e.onCardMouseleave(b,_))};function n(_){return`
${_.data.data.avatar?``:w(_)}
${a(_)}
`}function r(_){return`
${_.data.data.avatar?``:w(_)}
${a(_)}
`}function i(_){return`
${a(_)}
`}function a(_){return _.data._new_rel_data?o(_):_.data.to_add?`
${e.empty_card_label||"ADD"}
`:` ${e.card_display.map(b=>`
${b(_.data)}
`).join("")} `}function o(_){const b=[];return b.push(`data-rel-type="${_.data._new_rel_data.rel_type}"`),["son","daughter"].includes(_.data._new_rel_data.rel_type)&&b.push(`data-other-parent-id="${_.data._new_rel_data.other_parent_id}"`),`
${_.data._new_rel_data.label}
`}function s(_){return!e.mini_tree||_.data.to_add||_.data._new_rel_data||_.all_rels_displayed?"":`
${TY()}
`}function u(_){return _.data.data.avatar?c(_):d(_)}function l(_){return r(_)}function c(_){return n(_)}function f(_){return r(_)}function d(_){return i(_)}function p(_){const b=[];return _.data.data.gender==="M"?b.push("card-male"):_.data.data.gender==="F"?b.push("card-female"):b.push("card-genderless"),_.data.main&&b.push("card-main"),_.data._new_rel_data&&b.push("card-new-rel"),_.data.to_add&&b.push("card-to-add"),b}function y(){let _='style="';if(e.card_dim.w||e.card_dim.h)_+=`width: ${e.card_dim.w}px; min-height: ${e.card_dim.h}px;`,e.card_dim.height_auto?_+="height: auto;":_+=`height: ${e.card_dim.h}px;`;else return"";return _+='"',_}function g(){let _='style="position: relative;';if(e.card_dim.img_w||e.card_dim.img_h||e.card_dim.img_x||e.card_dim.img_y)_+=`width: ${e.card_dim.img_w}px; height: ${e.card_dim.img_h}px;`,_+=`left: ${e.card_dim.img_x}px; top: ${e.card_dim.img_y}px;`;else return"";return _+='"',_}function w(_){return _.data._new_rel_data?`
${xY()}
`:`
${AY()}
`}}var mOe=Object.freeze({__proto__:null,appendElement:Yu,Card:hOe,CardHtml:pOe}),gOe=(...e)=>new $g(...e);function $g(e,t,n){return this.store=e,this.cancelCallback=t,this.onSubmitCallback=n,this.datum=null,this.onChange=null,this.onCancel=null,this.is_active=!1,this.store_data=null,this.addRelLabels=this.addRelLabelsDefault(),this}$g.prototype.activate=function(e){this.is_active&&this.onCancel(),this.is_active=!0;const t=this.store;this.store_data=t.getData(),this.datum=e,e=JSON.parse(JSON.stringify(this.datum));const n=vOe(e,this.getStoreData(),this.addRelLabels);t.updateData(n),t.updateTree({}),this.onChange=r.bind(this),this.onCancel=i.bind(this);function r(a){if(a!=null&&a._new_rel_data){const o=a;XV({datum:this.datum,new_rel_datum:o,data_stash:this.getStoreData()}),this.onSubmitCallback(this.datum,o)}else a.id===this.datum.id?this.datum.data=a.data:console.error("Something went wrong")}function i(){this.is_active&&(this.is_active=!1,t.updateData(this.getStoreData()),this.cancelCallback(this.datum),this.store_data=null,this.datum=null,this.onChange=null,this.onCancel=null)}};$g.prototype.setAddRelLabels=function(e){if(typeof e!="object"){console.error("add_rel_labels must be an object");return}for(let t in e)this.addRelLabels[t]=e[t];return this};$g.prototype.addRelLabelsDefault=function(){return{father:"Add Father",mother:"Add Mother",spouse:"Add Spouse",son:"Add Son",daughter:"Add Daughter"}};$g.prototype.getStoreData=function(){return this.store_data};function vOe(e,t,n){const r=wOe(e,t);if(!e.rels.father){const s=qi({data:{gender:"M"},rels:{children:[e.id]}});s._new_rel_data={rel_type:"father",label:n.father},e.rels.father=s.id,r.push(s)}if(!e.rels.mother){const s=qi({data:{gender:"F"},rels:{children:[e.id]}});s._new_rel_data={rel_type:"mother",label:n.mother},e.rels.mother=s.id,r.push(s)}const i=r.find(s=>s.id===e.rels.mother),a=r.find(s=>s.id===e.rels.father);if(i.rels.spouses=[a.id],a.rels.spouses=[i.id],i.rels.children=[e.id],a.rels.children=[e.id],e.rels.spouses||(e.rels.spouses=[]),e.rels.children){let s;e.rels.children.forEach(u=>{const l=r.find(c=>c.id===u);l.rels.mother||(s||(s=qi({data:{gender:"F"},rels:{spouses:[e.id],children:[]}})),s._new_rel_data={rel_type:"spouse",label:n.spouse},s.rels.children.push(l.id),e.rels.spouses.push(s.id),l.rels.mother=s.id,r.push(s)),l.rels.father||(s||(s=qi({data:{gender:"M"},rels:{spouses:[e.id],children:[]}})),s._new_rel_data={rel_type:"spouse",label:n.spouse},s.rels.children.push(l.id),e.rels.spouses.push(s.id),l.rels.father=s.id,r.push(s))})}const o=qi({data:{gender:"F"},rels:{spouses:[e.id]}});return o._new_rel_data={rel_type:"spouse",label:n.spouse},e.rels.spouses.push(o.id),r.push(o),e.rels.children||(e.rels.children=[]),e.rels.spouses.forEach(s=>{const u=r.find(f=>f.id===s);u.rels.children||(u.rels.children=[]),u.rels.children=u.rels.children.filter(f=>e.rels.children.includes(f));const l=qi({data:{gender:"M"},rels:{father:e.id,mother:u.id}});l._new_rel_data={rel_type:"son",label:n.son,other_parent_id:u.id},u.rels.children.push(l.id),e.rels.children.push(l.id),r.push(l);const c=qi({data:{gender:"F"},rels:{mother:u.id,father:e.id}});c._new_rel_data={rel_type:"daughter",label:n.daughter,other_parent_id:u.id},u.rels.children.push(c.id),e.rels.children.push(c.id),r.push(c)}),r}function yOe(e,t){return JSON.parse(JSON.stringify(e.find(n=>n.id===t)))}function wOe(e,t){const n=[e];return Object.keys(e.rels).forEach(i=>{const a=e.rels[i];Array.isArray(a)?a.forEach(o=>{r(i,o)}):r(i,a)}),n;function r(i,a){const o=yOe(t,a);(i==="father"||i==="mother")&&(delete o.rels.father,delete o.rels.mother),i==="children"&&(o.rels.children=[],o.rels.spouses=[]),n.push(o)}}function _Oe(...e){return new Wt(...e)}function Wt(e,t){return this.cont=e,this.store=t,this.fields=[{type:"text",label:"first name",id:"first name"},{type:"text",label:"last name",id:"last name"},{type:"text",label:"birthday",id:"birthday"},{type:"text",label:"avatar",id:"avatar"}],this.form_cont=null,this.is_fixed=!0,this.history=null,this.no_edit=!1,this.onChange=null,this.editFirst=!1,this.init(),this}Wt.prototype.init=function(){this.form_cont=De.select(this.cont).append("div").classed("f3-form-cont",!0).node(),this.addRelativeInstance=this.setupAddRelative(),this.createHistory()};Wt.prototype.open=function(e){e.data.data&&(e=e.data),this.addRelativeInstance.is_active&&!e._new_rel_data&&(this.addRelativeInstance.onCancel(),e=this.store.getDatum(e.id)),this.cardEditForm(e)};Wt.prototype.openWithoutRelCancel=function(e){e.data.data&&(e=e.data),this.cardEditForm(e)};Wt.prototype.cardEditForm=function(e){const t={};(e==null?void 0:e._new_rel_data)?t.onCancel=()=>this.addRelativeInstance.onCancel():(t.addRelative=this.addRelativeInstance,t.deletePerson=()=>{const o=this.store.getData();Og(e,o),this.store.updateData(o),this.openFormWithId(this.store.getLastAvailableMainDatum().id),this.store.updateTree({})});const r=gn.handlers.createForm({store:this.store,datum:e,postSubmit:a.bind(this),fields:this.fields,card_display:this.card_display,addRelative:null,onCancel:()=>{},editFirst:this.editFirst,...t});r.no_edit=this.no_edit;const i=gn.handlers.formInfoSetup(r,this.closeForm.bind(this));this.form_cont.innerHTML="",this.form_cont.appendChild(i),this.openForm();function a(o){this.addRelativeInstance.is_active?this.addRelativeInstance.onChange(e):o!=null&&o.delete||this.openFormWithId(e.id),this.is_fixed||this.closeForm(),this.store.updateTree({}),this.updateHistory()}};Wt.prototype.openForm=function(){De.select(this.form_cont).classed("opened",!0)};Wt.prototype.closeForm=function(){De.select(this.form_cont).classed("opened",!1).html(""),this.store.updateTree({})};Wt.prototype.fixed=function(){return this.is_fixed=!0,De.select(this.form_cont).style("position","relative"),this};Wt.prototype.absolute=function(){return this.is_fixed=!1,De.select(this.form_cont).style("position","absolute"),this};Wt.prototype.setCardClickOpen=function(e){return e.setOnCardClick((t,n)=>{if(this.addRelativeInstance.is_active){this.open(n);return}this.open(n),this.store.updateMainId(n.data.id),this.store.updateTree({})}),this};Wt.prototype.openFormWithId=function(e){if(e){const t=this.store.getDatum(e);this.openWithoutRelCancel({data:t})}else{const t=this.store.getMainDatum();this.openWithoutRelCancel({data:t})}};Wt.prototype.createHistory=function(){return this.history=gn.handlers.createHistory(this.store,this.getStoreData.bind(this),e.bind(this)),this.history.controls=gn.handlers.createHistoryControls(this.cont,this.history),this.history.changed(),this.history.controls.updateButtons(),this;function e(){var t;this.addRelativeInstance.is_active&&this.addRelativeInstance.onCancel(),this.store.updateTree({initial:!1}),this.history.controls.updateButtons(),this.openFormWithId((t=this.store.getMainDatum())==null?void 0:t.id)}};Wt.prototype.setNoEdit=function(){return this.no_edit=!0,this};Wt.prototype.setEdit=function(){return this.no_edit=!1,this};Wt.prototype.setFields=function(e){const t=[];if(!Array.isArray(e))return console.error("fields must be an array"),this;for(const n of e)typeof n=="string"?t.push({type:"text",label:n,id:n}):typeof n=="object"?n.id?t.push(n):console.error("fields must be an array of objects with id property"):console.error("fields must be an array of strings or objects");return this.fields=t,this};Wt.prototype.setOnChange=function(e){return this.onChange=e,this};Wt.prototype.addRelative=function(e){return e||(e=this.store.getMainDatum()),this.addRelativeInstance.activate(e),this};Wt.prototype.setupAddRelative=function(){return gOe(this.store,t.bind(this),e.bind(this));function e(n,r){this.store.updateMainId(n.id),this.openFormWithId(n.id)}function t(n){this.store.updateMainId(n.id),this.store.updateTree({}),this.openFormWithId(n.id)}};Wt.prototype.setEditFirst=function(e){return this.editFirst=e,this};Wt.prototype.isAddingRelative=function(){return this.addRelativeInstance.is_active};Wt.prototype.setAddRelLabels=function(e){return this.addRelativeInstance.setAddRelLabels(e),this};Wt.prototype.getStoreData=function(){return this.addRelativeInstance.is_active?this.addRelativeInstance.getStoreData():this.store.getData()};Wt.prototype.getDataJson=function(e){const t=this.getStoreData();return gn.handlers.cleanupDataJson(JSON.stringify(t))};Wt.prototype.updateHistory=function(){this.history&&(this.history.changed(),this.history.controls.updateButtons()),this.onChange&&this.onChange()};Wt.prototype.destroy=function(){return this.history.controls.destroy(),this.history=null,De.select(this.cont).select(".f3-form-cont").remove(),this.addRelativeInstance.onCancel&&this.addRelativeInstance.onCancel(),this.store.updateTree({}),this};function bOe(...e){return new bn(...e)}function bn(e,t){return this.cont=null,this.store=null,this.svg=null,this.getCard=null,this.node_separation=250,this.level_separation=150,this.is_horizontal=!1,this.single_parent_empty_card=!0,this.transition_time=2e3,this.is_card_html=!1,this.beforeUpdate=null,this.afterUpdate=null,this.init(e,t),this}bn.prototype.init=function(e,t){this.cont=e=xOe(e);const n=()=>e.querySelector("svg .view"),r=()=>e.querySelector("#htmlSvg"),i=()=>e.querySelector("#htmlSvg .cards_view");this.svg=gn.createSvg(e,{onZoom:gn.htmlHandlers.onZoomSetup(n,i)}),gn.htmlHandlers.createHtmlSvg(e),this.store=gn.createStore({data:t,node_separation:this.node_separation,level_separation:this.level_separation,single_parent_empty_card:this.single_parent_empty_card,is_horizontal:this.is_horizontal}),this.setCard(gn.CardSvg),this.store.setOnUpdate(a=>{this.beforeUpdate&&this.beforeUpdate(a),a=Object.assign({transition_time:this.transition_time},a||{}),this.is_card_html&&(a=Object.assign({},a||{},{cardHtml:r()})),gn.view(this.store.getTree(),this.svg,this.getCard(),a||{}),this.afterUpdate&&this.afterUpdate(a)})};bn.prototype.updateTree=function(e={initial:!1}){return this.store.updateTree(e),this};bn.prototype.updateData=function(e){return this.store.updateData(e),this};bn.prototype.setCardYSpacing=function(e){return typeof e!="number"?(console.error("card_y_spacing must be a number"),this):(this.level_separation=e,this.store.state.level_separation=e,this)};bn.prototype.setCardXSpacing=function(e){return typeof e!="number"?(console.error("card_x_spacing must be a number"),this):(this.node_separation=e,this.store.state.node_separation=e,this)};bn.prototype.setOrientationVertical=function(){return this.is_horizontal=!1,this.store.state.is_horizontal=!1,this};bn.prototype.setOrientationHorizontal=function(){return this.is_horizontal=!0,this.store.state.is_horizontal=!0,this};bn.prototype.setSingleParentEmptyCard=function(e,{label:t="Unknown"}={}){return this.single_parent_empty_card=e,this.store.state.single_parent_empty_card=e,this.store.state.single_parent_empty_card_label=t,this.editTreeInstance&&this.editTreeInstance.addRelativeInstance.is_active&&this.editTreeInstance.addRelativeInstance.onCancel(),gn.handlers.removeToAddFromData(this.store.getData()||[]),this};bn.prototype.setCard=function(e){this.is_card_html=e.is_html,this.is_card_html?(this.svg.querySelector(".cards_view").innerHTML="",this.cont.querySelector("#htmlSvg").style.display="block"):(this.cont.querySelector("#htmlSvg .cards_view").innerHTML="",this.cont.querySelector("#htmlSvg").style.display="none");const t=e(this.cont,this.store);return this.getCard=()=>t.getCard(),t};bn.prototype.setTransitionTime=function(e){return this.transition_time=e,this};bn.prototype.editTree=function(){return this.editTreeInstance=_Oe(this.cont,this.store)};bn.prototype.updateMain=function(e){return this.store.updateMainId(e.data.id),this.store.updateTree({}),this};bn.prototype.updateMainId=function(e){return this.store.updateMainId(e),this};bn.prototype.getMainDatum=function(){return this.store.getMainDatum()};bn.prototype.getDataJson=function(e){const t=this.store.getData();return gn.handlers.cleanupDataJson(JSON.stringify(t))};bn.prototype.updateData=function(e){this.store.updateData(e)};bn.prototype.setBeforeUpdate=function(e){return this.beforeUpdate=e,this};bn.prototype.setAfterUpdate=function(e){return this.afterUpdate=e,this};function xOe(e){return typeof e=="string"&&(e=document.querySelector(e)),e}function PY(e){const t=[];return Array.isArray(e)?e.forEach(n=>{typeof n=="function"?t.push(n):typeof n=="string"?t.push(r=>r.data[n]):Array.isArray(n)&&t.push(r=>n.map(i=>r.data[i]).join(" "))}):typeof e=="function"?t.push(e):typeof e=="string"&&t.push(n=>n.data[e]),t}IY.is_html=!1;function IY(...e){return new Jo(...e)}function Jo(e,t){return this.cont=e,this.store=t,this.svg=null,this.getCard=null,this.card_dim={w:220,h:70,text_x:75,text_y:15,img_w:60,img_h:60,img_x:5,img_y:5},this.card_display=[n=>`${n.data["first name"]} ${n.data["last name"]}`],this.mini_tree=!0,this.link_break=!1,this.onCardClick=this.onCardClickDefault,this.onCardUpdate=null,this.onCardUpdates=null,this.init(),this}Jo.prototype.init=function(){this.svg=this.cont.querySelector("svg.main_svg"),this.getCard=()=>gn.elements.Card({store:this.store,svg:this.svg,card_dim:this.card_dim,card_display:this.card_display,mini_tree:this.mini_tree,link_break:this.link_break,onCardClick:this.onCardClick,onCardUpdate:this.onCardUpdate,onCardUpdates:this.onCardUpdates})};Jo.prototype.setCardDisplay=function(e){return this.card_display=PY(e),this};Jo.prototype.setCardDim=function(e){if(typeof e!="object")return console.error("card_dim must be an object"),this;for(let t in e){const n=e[t];if(typeof n!="number")return console.error(`card_dim.${t} must be a number`),this;t==="width"&&(t="w"),t==="height"&&(t="h"),this.card_dim[t]=n}return dOe(this.svg,this.card_dim),this};Jo.prototype.setMiniTree=function(e){return this.mini_tree=e,this};Jo.prototype.setLinkBreak=function(e){return this.link_break=e,this};Jo.prototype.setCardTextSvg=function(e){function t(n){const a=De.select(this).select(".card-text text").node().parentNode;a.innerHTML=e(n.data)}return t.id="setCardTextSvg",this.onCardUpdates||(this.onCardUpdates=[]),this.onCardUpdates=this.onCardUpdates.filter(n=>n.id!=="setCardTextSvg"),this.onCardUpdates.push(t),this};Jo.prototype.onCardClickDefault=function(e,t){this.store.updateMainId(t.data.id),this.store.updateTree({})};Jo.prototype.setOnCardClick=function(e){return this.onCardClick=e,this};RY.is_html=!0;function RY(...e){return new xr(...e)}xr.prototype.is_html=!0;function xr(e,t){return this.cont=e,this.store=t,this.getCard=null,this.card_display=[n=>`${n.data["first name"]} ${n.data["last name"]}`],this.onCardClick=this.onCardClickDefault,this.style="default",this.mini_tree=!1,this.onCardUpdate=null,this.card_dim={},this.init(),this}xr.prototype.init=function(){this.svg=this.cont.querySelector("svg.main_svg"),this.getCard=()=>gn.elements.CardHtml({store:this.store,card_display:this.card_display,onCardClick:this.onCardClick,style:this.style,mini_tree:this.mini_tree,onCardUpdate:this.onCardUpdate,card_dim:this.card_dim,empty_card_label:this.store.state.single_parent_empty_card_label,onCardMouseenter:this.onCardMouseenter?this.onCardMouseenter.bind(this):null,onCardMouseleave:this.onCardMouseleave?this.onCardMouseleave.bind(this):null})};xr.prototype.setCardDisplay=function(e){return this.card_display=PY(e),this};xr.prototype.setOnCardClick=function(e){return this.onCardClick=e,this};xr.prototype.onCardClickDefault=function(e,t){this.store.updateMainId(t.data.id),this.store.updateTree({})};xr.prototype.setStyle=function(e){return this.style=e,this};xr.prototype.setMiniTree=function(e){return this.mini_tree=e,this};xr.prototype.setOnCardUpdate=function(e){return this.onCardUpdate=e,this};xr.prototype.setCardDim=function(e){if(typeof e!="object")return console.error("card_dim must be an object"),this;for(let t in e){const n=e[t];if(typeof n!="number"&&typeof n!="boolean")return console.error(`card_dim.${t} must be a number or boolean`),this;t==="width"&&(t="w"),t==="height"&&(t="h"),t==="img_width"&&(t="img_w"),t==="img_height"&&(t="img_h"),t==="img_x"&&(t="img_x"),t==="img_y"&&(t="img_y"),this.card_dim[t]=n}return this};xr.prototype.resetCardDim=function(){return this.card_dim={},this};xr.prototype.setOnHoverPathToMain=function(){return this.onCardMouseenter=this.onEnterPathToMain.bind(this),this.onCardMouseleave=this.onLeavePathToMain.bind(this),this};xr.prototype.unsetOnHoverPathToMain=function(){return this.onCardMouseenter=null,this.onCardMouseleave=null,this};xr.prototype.onEnterPathToMain=function(e,t){this.to_transition=t.data.id;const n=this.store.getTreeMainDatum(),r=De.select(this.cont).select("div.cards_view").selectAll(".card_cont"),i=De.select(this.cont).select("svg.main_svg .links_view").selectAll(".link"),[a,o]=ANe(r,i,t,n);return a.forEach(s=>{const u=Math.abs(t.depth-s.card.depth)*200;De.select(s.node.querySelector("div.card-inner")).transition().duration(0).delay(u).on("end",()=>this.to_transition===t.data.id&&De.select(s.node.querySelector("div.card-inner")).classed("f3-path-to-main",!0))}),o.forEach(s=>{const u=Math.abs(t.depth-s.link.depth)*200;De.select(s.node).transition().duration(0).delay(u).on("end",()=>this.to_transition===t.data.id&&De.select(s.node).classed("f3-path-to-main",!0))}),this};xr.prototype.onLeavePathToMain=function(e,t){return this.to_transition=!1,De.select(this.cont).select("div.cards_view").selectAll("div.card-inner").classed("f3-path-to-main",!1),De.select(this.cont).select("svg.main_svg .links_view").selectAll(".link").classed("f3-path-to-main",!1),this};var gn={CalculateTree:tY,createStore:CNe,view:LNe,createSvg:BNe,handlers:QNe,elements:mOe,htmlHandlers:DNe,icons:qNe,createChart:bOe,CardSvg:IY,CardHtml:RY};function EOe(e,t){return e.husb===t?e.wife:e.husb}function DD(e,t){const n=new Map;return e.fams.forEach(r=>n.set(r.id,r)),e.indis.map(r=>{var c,f;const i=n.get(r.famc),a=(r.fams||[]).map(d=>n.get(d)).filter(d=>d!==void 0),o=i==null?void 0:i.husb,s=i==null?void 0:i.wife,u=a.map(d=>EOe(d,r.id)).filter(d=>d!==void 0),l=a.flatMap(d=>d.children||[]);return{id:r.id,data:{"first name":r.firstName,"last name":r.lastName,birthday:wm(r.birth,t),avatar:(f=(c=r.images)==null?void 0:c[0])==null?void 0:f.url,gender:r.sex},rels:{father:o,mother:s,spouses:u,children:l}}})}class SOe{initializeChart(t,n){const r=DD(t.data,n);this.store=gn.createStore({data:r,main_id:t.selection.id});const i=gn.createSvg(document.querySelector("#dotatsoSvgContainer")),a=gn.elements.Card({store:this.store,svg:i,card_display:[o=>`${o.data["first name"]||""} ${o.data["last name"]||""}`,o=>`${o.data.birthday||""}`],mini_tree:!0,link_break:!1,onCardClick:(o,s)=>t.onSelection({id:s.data.id,generation:0})});this.store.setOnUpdate(o=>{gn.view(this.store.getTree(),i,a,o||{})}),this.store.updateTree({initial:!0})}updateChart(t,n){const r=DD(t.data,n);this.store.updateData(r),this.store.updateMainId(t.selection.id),this.store.updateTree()}}function COe(e){const t=ee.useRef(new SOe),n=rj(e),r=Ii();return ee.useEffect(()=>{n?t.current.updateChart(e,r):t.current.initializeChart(e,r)}),q.jsx("div",{id:"dotatsoSvgContainer"})}const kOe=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"];class Dg{constructor(t,n,r){this.property=t,this.normal=n,r&&(this.space=r)}}Dg.prototype.property={};Dg.prototype.normal={};Dg.prototype.space=null;function NY(e,t){const n={},r={};let i=-1;for(;++i4&&n.slice(0,4)==="data"&&IOe.test(t)){if(t.charAt(4)==="-"){const a=t.slice(5).replace(LD,$Oe);r="data"+a.charAt(0).toUpperCase()+a.slice(1)}else{const a=t.slice(4);if(!LD.test(a)){let o=a.replace(ROe,OOe);o.charAt(0)!=="-"&&(o="-"+o),t="data"+o}}i=XP}return new i(r,t)}function OOe(e){return"-"+e.toLowerCase()}function $Oe(e){return e.charAt(1).toUpperCase()}const DOe=NY([DY,$Y,BY,zY,MOe],"html"),UY=NY([DY,$Y,BY,zY,POe],"svg"),BD={}.hasOwnProperty;function FOe(e,t){const n=t||{};function r(i,...a){let o=r.invalid;const s=r.handlers;if(i&&BD.call(i,e)){const u=String(i[e]);o=BD.call(s,u)?s[u]:r.unknown}if(o)return o.call(this,i,...a)}return r.handlers=n.handlers||{},r.invalid=n.invalid,r.unknown=n.unknown,r}const LOe=/["&'<>`]/g,BOe=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,zOe=/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,UOe=/[|\\{}()[\]^$+*?.]/g,zD=new WeakMap;function jOe(e,t){if(e=e.replace(t.subset?HOe(t.subset):LOe,r),t.subset||t.escapeOnly)return e;return e.replace(BOe,n).replace(zOe,r);function n(i,a,o){return t.format((i.charCodeAt(0)-55296)*1024+i.charCodeAt(1)-56320+65536,o.charCodeAt(a+2),t)}function r(i,a,o){return t.format(i.charCodeAt(0),o.charCodeAt(a+1),t)}}function HOe(e){let t=zD.get(e);return t||(t=qOe(e),zD.set(e,t)),t}function qOe(e){const t=[];let n=-1;for(;++n",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",circ:"ˆ",tilde:"˜",ensp:" ",emsp:" ",thinsp:" ",zwnj:"‌",zwj:"‍",lrm:"‎",rlm:"‏",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",permil:"‰",lsaquo:"‹",rsaquo:"›",euro:"€"},KOe=["cent","copy","divide","gt","lt","not","para","times"],jY={}.hasOwnProperty,RT={};let Hv;for(Hv in OE)jY.call(OE,Hv)&&(RT[OE[Hv]]=Hv);const XOe=/[^\dA-Za-z]/;function ZOe(e,t,n,r){const i=String.fromCharCode(e);if(jY.call(RT,i)){const a=RT[i],o="&"+a;return n&&QOe.includes(a)&&!KOe.includes(a)&&(!r||t&&t!==61&&XOe.test(String.fromCharCode(t)))?o:o+";"}return""}function JOe(e,t,n){let r=GOe(e,t,n.omitOptionalSemicolons),i;if((n.useNamedReferences||n.useShortestReferences)&&(i=ZOe(e,t,n.omitOptionalSemicolons,n.attribute)),(n.useShortestReferences||!i)&&n.useShortestReferences){const a=YOe(e,t,n.omitOptionalSemicolons);a.length|^->||--!>|"],n5e=["<",">"];function r5e(e,t,n,r){return r.settings.bogusComments?"":"";function i(a){return rf(a,Object.assign({},r.settings.characterReferences,{subset:n5e}))}}function i5e(e,t,n,r){return""}function UD(e,t){const n=String(e);if(typeof t!="string")throw new TypeError("Expected character");let r=0,i=n.indexOf(t);for(;i!==-1;)r++,i=n.indexOf(t,i+t.length);return r}function a5e(e,t){const n=t||{};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}function o5e(e){return e.join(" ").trim()}const s5e=/[ \t\n\f\r]/g;function ZP(e){return typeof e=="object"?e.type==="text"?jD(e.value):!1:jD(e)}function jD(e){return e.replace(s5e,"")===""}const xn=qY(1),HY=qY(-1),u5e=[];function qY(e){return t;function t(n,r,i){const a=n?n.children:u5e;let o=(r||0)+e,s=a[o];if(!i)for(;s&&ZP(s);)o+=e,s=a[o];return s}}const l5e={}.hasOwnProperty;function WY(e){return t;function t(n,r,i){return l5e.call(e,n.tagName)&&e[n.tagName](n,r,i)}}const JP=WY({body:f5e,caption:$E,colgroup:$E,dd:m5e,dt:p5e,head:$E,html:c5e,li:h5e,optgroup:g5e,option:v5e,p:d5e,rp:HD,rt:HD,tbody:w5e,td:qD,tfoot:_5e,th:qD,thead:y5e,tr:b5e});function $E(e,t,n){const r=xn(n,t,!0);return!r||r.type!=="comment"&&!(r.type==="text"&&ZP(r.value.charAt(0)))}function c5e(e,t,n){const r=xn(n,t);return!r||r.type!=="comment"}function f5e(e,t,n){const r=xn(n,t);return!r||r.type!=="comment"}function d5e(e,t,n){const r=xn(n,t);return r?r.type==="element"&&(r.tagName==="address"||r.tagName==="article"||r.tagName==="aside"||r.tagName==="blockquote"||r.tagName==="details"||r.tagName==="div"||r.tagName==="dl"||r.tagName==="fieldset"||r.tagName==="figcaption"||r.tagName==="figure"||r.tagName==="footer"||r.tagName==="form"||r.tagName==="h1"||r.tagName==="h2"||r.tagName==="h3"||r.tagName==="h4"||r.tagName==="h5"||r.tagName==="h6"||r.tagName==="header"||r.tagName==="hgroup"||r.tagName==="hr"||r.tagName==="main"||r.tagName==="menu"||r.tagName==="nav"||r.tagName==="ol"||r.tagName==="p"||r.tagName==="pre"||r.tagName==="section"||r.tagName==="table"||r.tagName==="ul"):!n||!(n.type==="element"&&(n.tagName==="a"||n.tagName==="audio"||n.tagName==="del"||n.tagName==="ins"||n.tagName==="map"||n.tagName==="noscript"||n.tagName==="video"))}function h5e(e,t,n){const r=xn(n,t);return!r||r.type==="element"&&r.tagName==="li"}function p5e(e,t,n){const r=xn(n,t);return!!(r&&r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd"))}function m5e(e,t,n){const r=xn(n,t);return!r||r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd")}function HD(e,t,n){const r=xn(n,t);return!r||r.type==="element"&&(r.tagName==="rp"||r.tagName==="rt")}function g5e(e,t,n){const r=xn(n,t);return!r||r.type==="element"&&r.tagName==="optgroup"}function v5e(e,t,n){const r=xn(n,t);return!r||r.type==="element"&&(r.tagName==="option"||r.tagName==="optgroup")}function y5e(e,t,n){const r=xn(n,t);return!!(r&&r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot"))}function w5e(e,t,n){const r=xn(n,t);return!r||r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot")}function _5e(e,t,n){return!xn(n,t)}function b5e(e,t,n){const r=xn(n,t);return!r||r.type==="element"&&r.tagName==="tr"}function qD(e,t,n){const r=xn(n,t);return!r||r.type==="element"&&(r.tagName==="td"||r.tagName==="th")}const x5e=WY({body:C5e,colgroup:k5e,head:S5e,html:E5e,tbody:A5e});function E5e(e){const t=xn(e,-1);return!t||t.type!=="comment"}function S5e(e){const t=new Set;for(const r of e.children)if(r.type==="element"&&(r.tagName==="base"||r.tagName==="title")){if(t.has(r.tagName))return!1;t.add(r.tagName)}const n=e.children[0];return!n||n.type==="element"}function C5e(e){const t=xn(e,-1,!0);return!t||t.type!=="comment"&&!(t.type==="text"&&ZP(t.value.charAt(0)))&&!(t.type==="element"&&(t.tagName==="meta"||t.tagName==="link"||t.tagName==="script"||t.tagName==="style"||t.tagName==="template"))}function k5e(e,t,n){const r=HY(n,t),i=xn(e,-1,!0);return n&&r&&r.type==="element"&&r.tagName==="colgroup"&&JP(r,n.children.indexOf(r),n)?!1:!!(i&&i.type==="element"&&i.tagName==="col")}function A5e(e,t,n){const r=HY(n,t),i=xn(e,-1);return n&&r&&r.type==="element"&&(r.tagName==="thead"||r.tagName==="tbody")&&JP(r,n.children.indexOf(r),n)?!1:!!(i&&i.type==="element"&&i.tagName==="tr")}const qv={name:[[` \f\r &/=>`.split(""),` \f\r "&'/=>\``.split("")],[`\0 \f\r "&'/<=>`.split(""),`\0 \f\r "&'/<=>\``.split("")]],unquoted:[[` \f\r &>`.split(""),`\0 \f\r "&'<=>\``.split("")],[`\0 \f\r "&'<=>\``.split(""),`\0 \f\r "&'<=>\``.split("")]],single:[["&'".split(""),"\"&'`".split("")],["\0&'".split(""),"\0\"&'`".split("")]],double:[['"&'.split(""),"\"&'`".split("")],['\0"&'.split(""),"\0\"&'`".split("")]]};function T5e(e,t,n,r){const i=r.schema,a=i.space==="svg"?!1:r.settings.omitOptionalTags;let o=i.space==="svg"?r.settings.closeEmptyElements:r.settings.voids.includes(e.tagName.toLowerCase());const s=[];let u;i.space==="html"&&e.tagName==="svg"&&(r.schema=UY);const l=M5e(r,e.properties),c=r.all(i.space==="html"&&e.tagName==="template"?e.content:e);return r.schema=i,c&&(o=!1),(l||!a||!x5e(e,t,n))&&(s.push("<",e.tagName,l?" "+l:""),o&&(i.space==="svg"||r.settings.closeSelfClosing)&&(u=l.charAt(l.length-1),(!r.settings.tightSelfClosing||u==="/"||u&&u!=='"'&&u!=="'")&&s.push(" "),s.push("/")),s.push(">")),s.push(c),!o&&(!a||!JP(e,t,n))&&s.push(""),s.join("")}function M5e(e,t){const n=[];let r=-1,i;if(t){for(i in t)if(t[i]!==null&&t[i]!==void 0){const a=P5e(e,i,t[i]);a&&n.push(a)}}for(;++rUD(n,e.alternative)&&(o=e.alternative),s=o+rf(n,Object.assign({},e.settings.characterReferences,{subset:(o==="'"?qv.single:qv.double)[i][a],attribute:!0}))+o),u+(s&&"="+s))}const I5e=["<","&"];function GY(e,t,n,r){return n&&n.type==="element"&&(n.tagName==="script"||n.tagName==="style")?e.value:rf(e.value,Object.assign({},r.settings.characterReferences,{subset:I5e}))}function R5e(e,t,n,r){return r.settings.allowDangerousHtml?e.value:GY(e,t,n,r)}function N5e(e,t,n,r){return r.all(e)}const O5e=FOe("type",{invalid:$5e,unknown:D5e,handlers:{comment:r5e,doctype:i5e,element:T5e,raw:R5e,root:N5e,text:GY}});function $5e(e){throw new Error("Expected node, not `"+e+"`")}function D5e(e){const t=e;throw new Error("Cannot compile unknown node `"+t.type+"`")}const F5e={},L5e={},B5e=[];function z5e(e,t){const n=t||F5e,r=n.quote||'"',i=r==='"'?"'":'"';if(r!=='"'&&r!=="'")throw new Error("Invalid quote `"+r+"`, expected `'` or `\"`");return{one:U5e,all:j5e,settings:{omitOptionalTags:n.omitOptionalTags||!1,allowParseErrors:n.allowParseErrors||!1,allowDangerousCharacters:n.allowDangerousCharacters||!1,quoteSmart:n.quoteSmart||!1,preferUnquoted:n.preferUnquoted||!1,tightAttributes:n.tightAttributes||!1,upperDoctype:n.upperDoctype||!1,tightDoctype:n.tightDoctype||!1,bogusComments:n.bogusComments||!1,tightCommaSeparatedLists:n.tightCommaSeparatedLists||!1,tightSelfClosing:n.tightSelfClosing||!1,collapseEmptyAttributes:n.collapseEmptyAttributes||!1,allowDangerousHtml:n.allowDangerousHtml||!1,voids:n.voids||kOe,characterReferences:n.characterReferences||L5e,closeSelfClosing:n.closeSelfClosing||!1,closeEmptyElements:n.closeEmptyElements||!1},schema:n.space==="svg"?UY:DOe,quote:r,alternative:i}.one(Array.isArray(e)?{type:"root",children:e}:e,void 0,void 0)}function U5e(e,t,n){return O5e(e,t,n,this)}function j5e(e){const t=[],n=e&&e.children||B5e;let r=-1;for(;++ri?0:i+t:t=t>i?i:t,n=n>0?n:0,r.length<1e4)o=Array.from(r),o.unshift(t,n),e.splice(...o);else for(n&&e.splice(t,n);a0?(Ya(e,e.length,0,t),e):t}const VD={}.hasOwnProperty;function V5e(e){const t={};let n=-1;for(;++n13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(n&65535)===65535||(n&65535)===65534||n>1114111?"�":String.fromCodePoint(n)}function af(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const ka=yu(/[A-Za-z]/),ei=yu(/[\dA-Za-z]/),K5e=yu(/[#-'*+\--9=?A-Z^-~]/);function NT(e){return e!==null&&(e<32||e===127)}const OT=yu(/\d/),X5e=yu(/[\dA-Fa-f]/),Z5e=yu(/[!-/:-@[-`{-~]/);function tt(e){return e!==null&&e<-2}function zr(e){return e!==null&&(e<0||e===32)}function Et(e){return e===-2||e===-1||e===32}const J5e=yu(new RegExp("\\p{P}|\\p{S}","u")),e8e=yu(/\s/);function yu(e){return t;function t(n){return n!==null&&n>-1&&e.test(String.fromCharCode(n))}}function Pd(e){const t=[];let n=-1,r=0,i=0;for(;++n55295&&a<57344){const s=e.charCodeAt(n+1);a<56320&&s>56319&&s<57344?(o=String.fromCharCode(a,s),i=1):o="�"}else o=String.fromCharCode(a);o&&(t.push(e.slice(r,n),encodeURIComponent(o)),r=n+i+1,o=""),i&&(n+=i,i=0)}return t.join("")+e.slice(r)}function Ft(e,t,n,r){const i=r?r-1:Number.POSITIVE_INFINITY;let a=0;return o;function o(u){return Et(u)?(e.enter(n),s(u)):t(u)}function s(u){return Et(u)&&a++o))return;const A=t.events.length;let M=A,R,O;for(;M--;)if(t.events[M][0]==="exit"&&t.events[M][1].type==="chunkFlow"){if(R){O=t.events[M][1].end;break}R=!0}for(_(r),C=A;CE;){const v=n[S];t.containerState=v[1],v[0].exit.call(t,e)}n.length=E}function b(){i.write([null]),a=void 0,i=void 0,t.containerState._closeFlow=void 0}}function a8e(e,t,n){return Ft(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function QD(e){if(e===null||zr(e)||e8e(e))return 1;if(J5e(e))return 2}function tI(e,t,n){const r=[];let i=-1;for(;++i1&&e[n][1].end.offset-e[n][1].start.offset>1?2:1;const f={...e[r][1].end},d={...e[n][1].start};KD(f,-u),KD(d,u),o={type:u>1?"strongSequence":"emphasisSequence",start:f,end:{...e[r][1].end}},s={type:u>1?"strongSequence":"emphasisSequence",start:{...e[n][1].start},end:d},a={type:u>1?"strongText":"emphasisText",start:{...e[r][1].end},end:{...e[n][1].start}},i={type:u>1?"strong":"emphasis",start:{...o.start},end:{...s.end}},e[r][1].end={...o.start},e[n][1].start={...s.end},l=[],e[r][1].end.offset-e[r][1].start.offset&&(l=gi(l,[["enter",e[r][1],t],["exit",e[r][1],t]])),l=gi(l,[["enter",i,t],["enter",o,t],["exit",o,t],["enter",a,t]]),l=gi(l,tI(t.parser.constructs.insideSpan.null,e.slice(r+1,n),t)),l=gi(l,[["exit",a,t],["enter",s,t],["exit",s,t],["exit",i,t]]),e[n][1].end.offset-e[n][1].start.offset?(c=2,l=gi(l,[["enter",e[n][1],t],["exit",e[n][1],t]])):c=0,Ya(e,r-1,n-r+3,l),n=r+l.length-c-2;break}}for(n=-1;++n0&&Et(C)?Ft(e,b,"linePrefix",a+1)(C):b(C)}function b(C){return C===null||tt(C)?e.check(XD,g,S)(C):(e.enter("codeFlowValue"),E(C))}function E(C){return C===null||tt(C)?(e.exit("codeFlowValue"),b(C)):(e.consume(C),E)}function S(C){return e.exit("codeFenced"),t(C)}function v(C,A,M){let R=0;return O;function O(D){return C.enter("lineEnding"),C.consume(D),C.exit("lineEnding"),P}function P(D){return C.enter("codeFencedFence"),Et(D)?Ft(C,z,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(D):z(D)}function z(D){return D===s?(C.enter("codeFencedFenceSequence"),Y(D)):M(D)}function Y(D){return D===s?(R++,C.consume(D),Y):R>=o?(C.exit("codeFencedFenceSequence"),Et(D)?Ft(C,F,"whitespace")(D):F(D)):M(D)}function F(D){return D===null||tt(D)?(C.exit("codeFencedFence"),A(D)):M(D)}}}function v8e(e,t,n){const r=this;return i;function i(o){return o===null?n(o):(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),a)}function a(o){return r.parser.lazy[r.now().line]?n(o):t(o)}}const DE={name:"codeIndented",tokenize:w8e},y8e={partial:!0,tokenize:_8e};function w8e(e,t,n){const r=this;return i;function i(l){return e.enter("codeIndented"),Ft(e,a,"linePrefix",5)(l)}function a(l){const c=r.events[r.events.length-1];return c&&c[1].type==="linePrefix"&&c[2].sliceSerialize(c[1],!0).length>=4?o(l):n(l)}function o(l){return l===null?u(l):tt(l)?e.attempt(y8e,o,u)(l):(e.enter("codeFlowValue"),s(l))}function s(l){return l===null||tt(l)?(e.exit("codeFlowValue"),o(l)):(e.consume(l),s)}function u(l){return e.exit("codeIndented"),t(l)}}function _8e(e,t,n){const r=this;return i;function i(o){return r.parser.lazy[r.now().line]?n(o):tt(o)?(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),i):Ft(e,a,"linePrefix",5)(o)}function a(o){const s=r.events[r.events.length-1];return s&&s[1].type==="linePrefix"&&s[2].sliceSerialize(s[1],!0).length>=4?t(o):tt(o)?i(o):n(o)}}const b8e={name:"codeText",previous:E8e,resolve:x8e,tokenize:S8e};function x8e(e){let t=e.length-4,n=3,r,i;if((e[n][1].type==="lineEnding"||e[n][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(r=n;++r=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+t+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return tthis.left.length?this.right.slice(this.right.length-r+this.left.length,this.right.length-t+this.left.length).reverse():this.left.slice(t).concat(this.right.slice(this.right.length-r+this.left.length).reverse())}splice(t,n,r){const i=n||0;this.setCursor(Math.trunc(t));const a=this.right.splice(this.right.length-i,Number.POSITIVE_INFINITY);return r&&Zh(this.left,r),a.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(t){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(t)}pushMany(t){this.setCursor(Number.POSITIVE_INFINITY),Zh(this.left,t)}unshift(t){this.setCursor(0),this.right.push(t)}unshiftMany(t){this.setCursor(0),Zh(this.right,t.reverse())}setCursor(t){if(!(t===this.left.length||t>this.left.length&&this.right.length===0||t<0&&this.left.length===0))if(t=4?t(o):e.interrupt(r.parser.constructs.flow,n,t)(o)}}function JY(e,t,n,r,i,a,o,s,u){const l=u||Number.POSITIVE_INFINITY;let c=0;return f;function f(_){return _===60?(e.enter(r),e.enter(i),e.enter(a),e.consume(_),e.exit(a),d):_===null||_===32||_===41||NT(_)?n(_):(e.enter(r),e.enter(o),e.enter(s),e.enter("chunkString",{contentType:"string"}),g(_))}function d(_){return _===62?(e.enter(a),e.consume(_),e.exit(a),e.exit(i),e.exit(r),t):(e.enter(s),e.enter("chunkString",{contentType:"string"}),p(_))}function p(_){return _===62?(e.exit("chunkString"),e.exit(s),d(_)):_===null||_===60||tt(_)?n(_):(e.consume(_),_===92?y:p)}function y(_){return _===60||_===62||_===92?(e.consume(_),p):p(_)}function g(_){return!c&&(_===null||_===41||zr(_))?(e.exit("chunkString"),e.exit(s),e.exit(o),e.exit(r),t(_)):c999||p===null||p===91||p===93&&!u||p===94&&!s&&"_hiddenFootnoteSupport"in o.parser.constructs?n(p):p===93?(e.exit(a),e.enter(i),e.consume(p),e.exit(i),e.exit(r),t):tt(p)?(e.enter("lineEnding"),e.consume(p),e.exit("lineEnding"),c):(e.enter("chunkString",{contentType:"string"}),f(p))}function f(p){return p===null||p===91||p===93||tt(p)||s++>999?(e.exit("chunkString"),c(p)):(e.consume(p),u||(u=!Et(p)),p===92?d:f)}function d(p){return p===91||p===92||p===93?(e.consume(p),s++,f):f(p)}}function tQ(e,t,n,r,i,a){let o;return s;function s(d){return d===34||d===39||d===40?(e.enter(r),e.enter(i),e.consume(d),e.exit(i),o=d===40?41:d,u):n(d)}function u(d){return d===o?(e.enter(i),e.consume(d),e.exit(i),e.exit(r),t):(e.enter(a),l(d))}function l(d){return d===o?(e.exit(a),u(o)):d===null?n(d):tt(d)?(e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),Ft(e,l,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),c(d))}function c(d){return d===o||d===null||tt(d)?(e.exit("chunkString"),l(d)):(e.consume(d),d===92?f:c)}function f(d){return d===o||d===92?(e.consume(d),c):c(d)}}function Ip(e,t){let n;return r;function r(i){return tt(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),n=!0,r):Et(i)?Ft(e,r,n?"linePrefix":"lineSuffix")(i):t(i)}}const R8e={name:"definition",tokenize:O8e},N8e={partial:!0,tokenize:$8e};function O8e(e,t,n){const r=this;let i;return a;function a(p){return e.enter("definition"),o(p)}function o(p){return eQ.call(r,e,s,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(p)}function s(p){return i=af(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),p===58?(e.enter("definitionMarker"),e.consume(p),e.exit("definitionMarker"),u):n(p)}function u(p){return zr(p)?Ip(e,l)(p):l(p)}function l(p){return JY(e,c,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(p)}function c(p){return e.attempt(N8e,f,f)(p)}function f(p){return Et(p)?Ft(e,d,"whitespace")(p):d(p)}function d(p){return p===null||tt(p)?(e.exit("definition"),r.parser.defined.push(i),t(p)):n(p)}}function $8e(e,t,n){return r;function r(s){return zr(s)?Ip(e,i)(s):n(s)}function i(s){return tQ(e,a,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(s)}function a(s){return Et(s)?Ft(e,o,"whitespace")(s):o(s)}function o(s){return s===null||tt(s)?t(s):n(s)}}const D8e={name:"hardBreakEscape",tokenize:F8e};function F8e(e,t,n){return r;function r(a){return e.enter("hardBreakEscape"),e.consume(a),i}function i(a){return tt(a)?(e.exit("hardBreakEscape"),t(a)):n(a)}}const L8e={name:"headingAtx",resolve:B8e,tokenize:z8e};function B8e(e,t){let n=e.length-2,r=3,i,a;return e[r][1].type==="whitespace"&&(r+=2),n-2>r&&e[n][1].type==="whitespace"&&(n-=2),e[n][1].type==="atxHeadingSequence"&&(r===n-1||n-4>r&&e[n-2][1].type==="whitespace")&&(n-=r+1===n?2:4),n>r&&(i={type:"atxHeadingText",start:e[r][1].start,end:e[n][1].end},a={type:"chunkText",start:e[r][1].start,end:e[n][1].end,contentType:"text"},Ya(e,r,n-r+1,[["enter",i,t],["enter",a,t],["exit",a,t],["exit",i,t]])),e}function z8e(e,t,n){let r=0;return i;function i(c){return e.enter("atxHeading"),a(c)}function a(c){return e.enter("atxHeadingSequence"),o(c)}function o(c){return c===35&&r++<6?(e.consume(c),o):c===null||zr(c)?(e.exit("atxHeadingSequence"),s(c)):n(c)}function s(c){return c===35?(e.enter("atxHeadingSequence"),u(c)):c===null||tt(c)?(e.exit("atxHeading"),t(c)):Et(c)?Ft(e,s,"whitespace")(c):(e.enter("atxHeadingText"),l(c))}function u(c){return c===35?(e.consume(c),u):(e.exit("atxHeadingSequence"),s(c))}function l(c){return c===null||c===35||zr(c)?(e.exit("atxHeadingText"),s(c)):(e.consume(c),l)}}const U8e=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],JD=["pre","script","style","textarea"],j8e={concrete:!0,name:"htmlFlow",resolveTo:W8e,tokenize:G8e},H8e={partial:!0,tokenize:Y8e},q8e={partial:!0,tokenize:V8e};function W8e(e){let t=e.length;for(;t--&&!(e[t][0]==="enter"&&e[t][1].type==="htmlFlow"););return t>1&&e[t-2][1].type==="linePrefix"&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e}function G8e(e,t,n){const r=this;let i,a,o,s,u;return l;function l(W){return c(W)}function c(W){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(W),f}function f(W){return W===33?(e.consume(W),d):W===47?(e.consume(W),a=!0,g):W===63?(e.consume(W),i=3,r.interrupt?t:L):ka(W)?(e.consume(W),o=String.fromCharCode(W),w):n(W)}function d(W){return W===45?(e.consume(W),i=2,p):W===91?(e.consume(W),i=5,s=0,y):ka(W)?(e.consume(W),i=4,r.interrupt?t:L):n(W)}function p(W){return W===45?(e.consume(W),r.interrupt?t:L):n(W)}function y(W){const ne="CDATA[";return W===ne.charCodeAt(s++)?(e.consume(W),s===ne.length?r.interrupt?t:z:y):n(W)}function g(W){return ka(W)?(e.consume(W),o=String.fromCharCode(W),w):n(W)}function w(W){if(W===null||W===47||W===62||zr(W)){const ne=W===47,ce=o.toLowerCase();return!ne&&!a&&JD.includes(ce)?(i=1,r.interrupt?t(W):z(W)):U8e.includes(o.toLowerCase())?(i=6,ne?(e.consume(W),_):r.interrupt?t(W):z(W)):(i=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(W):a?b(W):E(W))}return W===45||ei(W)?(e.consume(W),o+=String.fromCharCode(W),w):n(W)}function _(W){return W===62?(e.consume(W),r.interrupt?t:z):n(W)}function b(W){return Et(W)?(e.consume(W),b):O(W)}function E(W){return W===47?(e.consume(W),O):W===58||W===95||ka(W)?(e.consume(W),S):Et(W)?(e.consume(W),E):O(W)}function S(W){return W===45||W===46||W===58||W===95||ei(W)?(e.consume(W),S):v(W)}function v(W){return W===61?(e.consume(W),C):Et(W)?(e.consume(W),v):E(W)}function C(W){return W===null||W===60||W===61||W===62||W===96?n(W):W===34||W===39?(e.consume(W),u=W,A):Et(W)?(e.consume(W),C):M(W)}function A(W){return W===u?(e.consume(W),u=null,R):W===null||tt(W)?n(W):(e.consume(W),A)}function M(W){return W===null||W===34||W===39||W===47||W===60||W===61||W===62||W===96||zr(W)?v(W):(e.consume(W),M)}function R(W){return W===47||W===62||Et(W)?E(W):n(W)}function O(W){return W===62?(e.consume(W),P):n(W)}function P(W){return W===null||tt(W)?z(W):Et(W)?(e.consume(W),P):n(W)}function z(W){return W===45&&i===2?(e.consume(W),B):W===60&&i===1?(e.consume(W),Q):W===62&&i===4?(e.consume(W),G):W===63&&i===3?(e.consume(W),L):W===93&&i===5?(e.consume(W),H):tt(W)&&(i===6||i===7)?(e.exit("htmlFlowData"),e.check(H8e,U,Y)(W)):W===null||tt(W)?(e.exit("htmlFlowData"),Y(W)):(e.consume(W),z)}function Y(W){return e.check(q8e,F,U)(W)}function F(W){return e.enter("lineEnding"),e.consume(W),e.exit("lineEnding"),D}function D(W){return W===null||tt(W)?Y(W):(e.enter("htmlFlowData"),z(W))}function B(W){return W===45?(e.consume(W),L):z(W)}function Q(W){return W===47?(e.consume(W),o="",K):z(W)}function K(W){if(W===62){const ne=o.toLowerCase();return JD.includes(ne)?(e.consume(W),G):z(W)}return ka(W)&&o.length<8?(e.consume(W),o+=String.fromCharCode(W),K):z(W)}function H(W){return W===93?(e.consume(W),L):z(W)}function L(W){return W===62?(e.consume(W),G):W===45&&i===2?(e.consume(W),L):z(W)}function G(W){return W===null||tt(W)?(e.exit("htmlFlowData"),U(W)):(e.consume(W),G)}function U(W){return e.exit("htmlFlow"),t(W)}}function V8e(e,t,n){const r=this;return i;function i(o){return tt(o)?(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),a):n(o)}function a(o){return r.parser.lazy[r.now().line]?n(o):t(o)}}function Y8e(e,t,n){return r;function r(i){return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),e.attempt(U_,t,n)}}const Q8e={name:"htmlText",tokenize:K8e};function K8e(e,t,n){const r=this;let i,a,o;return s;function s(L){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(L),u}function u(L){return L===33?(e.consume(L),l):L===47?(e.consume(L),v):L===63?(e.consume(L),E):ka(L)?(e.consume(L),M):n(L)}function l(L){return L===45?(e.consume(L),c):L===91?(e.consume(L),a=0,y):ka(L)?(e.consume(L),b):n(L)}function c(L){return L===45?(e.consume(L),p):n(L)}function f(L){return L===null?n(L):L===45?(e.consume(L),d):tt(L)?(o=f,Q(L)):(e.consume(L),f)}function d(L){return L===45?(e.consume(L),p):f(L)}function p(L){return L===62?B(L):L===45?d(L):f(L)}function y(L){const G="CDATA[";return L===G.charCodeAt(a++)?(e.consume(L),a===G.length?g:y):n(L)}function g(L){return L===null?n(L):L===93?(e.consume(L),w):tt(L)?(o=g,Q(L)):(e.consume(L),g)}function w(L){return L===93?(e.consume(L),_):g(L)}function _(L){return L===62?B(L):L===93?(e.consume(L),_):g(L)}function b(L){return L===null||L===62?B(L):tt(L)?(o=b,Q(L)):(e.consume(L),b)}function E(L){return L===null?n(L):L===63?(e.consume(L),S):tt(L)?(o=E,Q(L)):(e.consume(L),E)}function S(L){return L===62?B(L):E(L)}function v(L){return ka(L)?(e.consume(L),C):n(L)}function C(L){return L===45||ei(L)?(e.consume(L),C):A(L)}function A(L){return tt(L)?(o=A,Q(L)):Et(L)?(e.consume(L),A):B(L)}function M(L){return L===45||ei(L)?(e.consume(L),M):L===47||L===62||zr(L)?R(L):n(L)}function R(L){return L===47?(e.consume(L),B):L===58||L===95||ka(L)?(e.consume(L),O):tt(L)?(o=R,Q(L)):Et(L)?(e.consume(L),R):B(L)}function O(L){return L===45||L===46||L===58||L===95||ei(L)?(e.consume(L),O):P(L)}function P(L){return L===61?(e.consume(L),z):tt(L)?(o=P,Q(L)):Et(L)?(e.consume(L),P):R(L)}function z(L){return L===null||L===60||L===61||L===62||L===96?n(L):L===34||L===39?(e.consume(L),i=L,Y):tt(L)?(o=z,Q(L)):Et(L)?(e.consume(L),z):(e.consume(L),F)}function Y(L){return L===i?(e.consume(L),i=void 0,D):L===null?n(L):tt(L)?(o=Y,Q(L)):(e.consume(L),Y)}function F(L){return L===null||L===34||L===39||L===60||L===61||L===96?n(L):L===47||L===62||zr(L)?R(L):(e.consume(L),F)}function D(L){return L===47||L===62||zr(L)?R(L):n(L)}function B(L){return L===62?(e.consume(L),e.exit("htmlTextData"),e.exit("htmlText"),t):n(L)}function Q(L){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(L),e.exit("lineEnding"),K}function K(L){return Et(L)?Ft(e,H,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(L):H(L)}function H(L){return e.enter("htmlTextData"),o(L)}}const nI={name:"labelEnd",resolveAll:e$e,resolveTo:t$e,tokenize:n$e},X8e={tokenize:r$e},Z8e={tokenize:i$e},J8e={tokenize:a$e};function e$e(e){let t=-1;const n=[];for(;++t=3&&(l===null||tt(l))?(e.exit("thematicBreak"),t(l)):n(l)}function u(l){return l===i?(e.consume(l),r++,u):(e.exit("thematicBreakSequence"),Et(l)?Ft(e,s,"whitespace")(l):s(l))}}const Ir={continuation:{tokenize:m$e},exit:v$e,name:"list",tokenize:p$e},d$e={partial:!0,tokenize:y$e},h$e={partial:!0,tokenize:g$e};function p$e(e,t,n){const r=this,i=r.events[r.events.length-1];let a=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0,o=0;return s;function s(p){const y=r.containerState.type||(p===42||p===43||p===45?"listUnordered":"listOrdered");if(y==="listUnordered"?!r.containerState.marker||p===r.containerState.marker:OT(p)){if(r.containerState.type||(r.containerState.type=y,e.enter(y,{_container:!0})),y==="listUnordered")return e.enter("listItemPrefix"),p===42||p===45?e.check(zy,n,l)(p):l(p);if(!r.interrupt||p===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),u(p)}return n(p)}function u(p){return OT(p)&&++o<10?(e.consume(p),u):(!r.interrupt||o<2)&&(r.containerState.marker?p===r.containerState.marker:p===41||p===46)?(e.exit("listItemValue"),l(p)):n(p)}function l(p){return e.enter("listItemMarker"),e.consume(p),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||p,e.check(U_,r.interrupt?n:c,e.attempt(d$e,d,f))}function c(p){return r.containerState.initialBlankLine=!0,a++,d(p)}function f(p){return Et(p)?(e.enter("listItemPrefixWhitespace"),e.consume(p),e.exit("listItemPrefixWhitespace"),d):n(p)}function d(p){return r.containerState.size=a+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(p)}}function m$e(e,t,n){const r=this;return r.containerState._closeFlow=void 0,e.check(U_,i,a);function i(s){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,Ft(e,t,"listItemIndent",r.containerState.size+1)(s)}function a(s){return r.containerState.furtherBlankLines||!Et(s)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,o(s)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(h$e,t,o)(s))}function o(s){return r.containerState._closeFlow=!0,r.interrupt=void 0,Ft(e,e.attempt(Ir,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(s)}}function g$e(e,t,n){const r=this;return Ft(e,i,"listItemIndent",r.containerState.size+1);function i(a){const o=r.events[r.events.length-1];return o&&o[1].type==="listItemIndent"&&o[2].sliceSerialize(o[1],!0).length===r.containerState.size?t(a):n(a)}}function v$e(e){e.exit(this.containerState.type)}function y$e(e,t,n){const r=this;return Ft(e,i,"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function i(a){const o=r.events[r.events.length-1];return!Et(a)&&o&&o[1].type==="listItemPrefixWhitespace"?t(a):n(a)}}const eF={name:"setextUnderline",resolveTo:w$e,tokenize:_$e};function w$e(e,t){let n=e.length,r,i,a;for(;n--;)if(e[n][0]==="enter"){if(e[n][1].type==="content"){r=n;break}e[n][1].type==="paragraph"&&(i=n)}else e[n][1].type==="content"&&e.splice(n,1),!a&&e[n][1].type==="definition"&&(a=n);const o={type:"setextHeading",start:{...e[i][1].start},end:{...e[e.length-1][1].end}};return e[i][1].type="setextHeadingText",a?(e.splice(i,0,["enter",o,t]),e.splice(a+1,0,["exit",e[r][1],t]),e[r][1].end={...e[a][1].end}):e[r][1]=o,e.push(["exit",o,t]),e}function _$e(e,t,n){const r=this;let i;return a;function a(l){let c=r.events.length,f;for(;c--;)if(r.events[c][1].type!=="lineEnding"&&r.events[c][1].type!=="linePrefix"&&r.events[c][1].type!=="content"){f=r.events[c][1].type==="paragraph";break}return!r.parser.lazy[r.now().line]&&(r.interrupt||f)?(e.enter("setextHeadingLine"),i=l,o(l)):n(l)}function o(l){return e.enter("setextHeadingLineSequence"),s(l)}function s(l){return l===i?(e.consume(l),s):(e.exit("setextHeadingLineSequence"),Et(l)?Ft(e,u,"lineSuffix")(l):u(l))}function u(l){return l===null||tt(l)?(e.exit("setextHeadingLine"),t(l)):n(l)}}const b$e={tokenize:x$e};function x$e(e){const t=this,n=e.attempt(U_,r,e.attempt(this.parser.constructs.flowInitial,i,Ft(e,e.attempt(this.parser.constructs.flow,i,e.attempt(A8e,i)),"linePrefix")));return n;function r(a){if(a===null){e.consume(a);return}return e.enter("lineEndingBlank"),e.consume(a),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n}function i(a){if(a===null){e.consume(a);return}return e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),t.currentConstruct=void 0,n}}const E$e={resolveAll:rQ()},S$e=nQ("string"),C$e=nQ("text");function nQ(e){return{resolveAll:rQ(e==="text"?k$e:void 0),tokenize:t};function t(n){const r=this,i=this.parser.constructs[e],a=n.attempt(i,o,s);return o;function o(c){return l(c)?a(c):s(c)}function s(c){if(c===null){n.consume(c);return}return n.enter("data"),n.consume(c),u}function u(c){return l(c)?(n.exit("data"),a(c)):(n.consume(c),u)}function l(c){if(c===null)return!0;const f=i[c];let d=-1;if(f)for(;++d-1){const s=o[0];typeof s=="string"?o[0]=s.slice(r):o.shift()}a>0&&o.push(e[i].slice(0,a))}return o}function B$e(e,t){let n=-1;const r=[];let i;for(;++n0){const ie=I.tokenStack[I.tokenStack.length-1];(ie[1]||iF).call(I,void 0,ie[0])}for(j.position={start:Is(we.length>0?we[0][1].start:{line:1,column:1,offset:0}),end:Is(we.length>0?we[we.length-2][1].end:{line:1,column:1,offset:0})},X=-1;++X1?"-"+s:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(o)}]};e.patch(t,u);const l={type:"element",tagName:"sup",properties:{},children:[u]};return e.patch(t,l),e.applyData(t,l)}function n6e(e,t){const n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function r6e(e,t){if(e.options.allowDangerousHtml){const n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}}function oQ(e,t){const n=t.referenceType;let r="]";if(n==="collapsed"?r+="[]":n==="full"&&(r+="["+(t.label||t.identifier)+"]"),t.type==="imageReference")return[{type:"text",value:"!["+t.alt+r}];const i=e.all(t),a=i[0];a&&a.type==="text"?a.value="["+a.value:i.unshift({type:"text",value:"["});const o=i[i.length-1];return o&&o.type==="text"?o.value+=r:i.push({type:"text",value:r}),i}function i6e(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return oQ(e,t);const i={src:Pd(r.url||""),alt:t.alt};r.title!==null&&r.title!==void 0&&(i.title=r.title);const a={type:"element",tagName:"img",properties:i,children:[]};return e.patch(t,a),e.applyData(t,a)}function a6e(e,t){const n={src:Pd(t.url)};t.alt!==null&&t.alt!==void 0&&(n.alt=t.alt),t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)}function o6e(e,t){const n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);const r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)}function s6e(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return oQ(e,t);const i={href:Pd(r.url||"")};r.title!==null&&r.title!==void 0&&(i.title=r.title);const a={type:"element",tagName:"a",properties:i,children:e.all(t)};return e.patch(t,a),e.applyData(t,a)}function u6e(e,t){const n={href:Pd(t.url)};t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function l6e(e,t,n){const r=e.all(t),i=n?c6e(n):sQ(t),a={},o=[];if(typeof t.checked=="boolean"){const c=r[0];let f;c&&c.type==="element"&&c.tagName==="p"?f=c:(f={type:"element",tagName:"p",properties:{},children:[]},r.unshift(f)),f.children.length>0&&f.children.unshift({type:"text",value:" "}),f.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),a.className=["task-list-item"]}let s=-1;for(;++s1}function f6e(e,t){const n={},r=e.all(t);let i=-1;for(typeof t.start=="number"&&t.start!==1&&(n.start=t.start);++i0&&typeof r.column=="number"&&r.column>0)return{line:r.line,column:r.column,offset:typeof r.offset=="number"&&r.offset>-1?r.offset:void 0}}}function m6e(e){const t=lQ(e),n=uQ(e);if(t&&n)return{start:t,end:n}}function g6e(e,t){const n=e.all(t),r=n.shift(),i=[];if(r){const o={type:"element",tagName:"thead",properties:{},children:e.wrap([r],!0)};e.patch(t.children[0],o),i.push(o)}if(n.length>0){const o={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},s=lQ(t.children[1]),u=uQ(t.children[t.children.length-1]);s&&u&&(o.position={start:s,end:u}),i.push(o)}const a={type:"element",tagName:"table",properties:{},children:e.wrap(i,!0)};return e.patch(t,a),e.applyData(t,a)}function v6e(e,t,n){const r=n?n.children:void 0,a=(r?r.indexOf(t):1)===0?"th":"td",o=n&&n.type==="table"?n.align:void 0,s=o?o.length:t.children.length;let u=-1;const l=[];for(;++u0,!0),r[0]),i=r.index+r[0].length,r=n.exec(t);return a.push(sF(t.slice(i),i>0,!1)),a.join("")}function sF(e,t,n){let r=0,i=e.length;if(t){let a=e.codePointAt(r);for(;a===aF||a===oF;)r++,a=e.codePointAt(r)}if(n){let a=e.codePointAt(i-1);for(;a===aF||a===oF;)i--,a=e.codePointAt(i-1)}return i>r?e.slice(r,i):""}function _6e(e,t){const n={type:"text",value:w6e(String(t.value))};return e.patch(t,n),e.applyData(t,n)}function b6e(e,t){const n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)}const x6e={blockquote:K$e,break:X$e,code:Z$e,delete:J$e,emphasis:e6e,footnoteReference:t6e,heading:n6e,html:r6e,imageReference:i6e,image:a6e,inlineCode:o6e,linkReference:s6e,link:u6e,listItem:l6e,list:f6e,paragraph:d6e,root:h6e,strong:p6e,table:g6e,tableCell:y6e,tableRow:v6e,text:_6e,thematicBreak:b6e,toml:Wv,yaml:Wv,definition:Wv,footnoteDefinition:Wv};function Wv(){}const fQ=-1,j_=0,Np=1,dw=2,rI=3,iI=4,aI=5,oI=6,dQ=7,hQ=8,uF=typeof self=="object"?self:globalThis,E6e=(e,t)=>{const n=(i,a)=>(e.set(a,i),i),r=i=>{if(e.has(i))return e.get(i);const[a,o]=t[i];switch(a){case j_:case fQ:return n(o,i);case Np:{const s=n([],i);for(const u of o)s.push(r(u));return s}case dw:{const s=n({},i);for(const[u,l]of o)s[r(u)]=r(l);return s}case rI:return n(new Date(o),i);case iI:{const{source:s,flags:u}=o;return n(new RegExp(s,u),i)}case aI:{const s=n(new Map,i);for(const[u,l]of o)s.set(r(u),r(l));return s}case oI:{const s=n(new Set,i);for(const u of o)s.add(r(u));return s}case dQ:{const{name:s,message:u}=o;return n(new uF[s](u),i)}case hQ:return n(BigInt(o),i);case"BigInt":return n(Object(BigInt(o)),i);case"ArrayBuffer":return n(new Uint8Array(o).buffer,o);case"DataView":{const{buffer:s}=new Uint8Array(o);return n(new DataView(s),o)}}return n(new uF[a](o),i)};return r},lF=e=>E6e(new Map,e)(0),Oc="",{toString:S6e}={},{keys:C6e}=Object,Jh=e=>{const t=typeof e;if(t!=="object"||!e)return[j_,t];const n=S6e.call(e).slice(8,-1);switch(n){case"Array":return[Np,Oc];case"Object":return[dw,Oc];case"Date":return[rI,Oc];case"RegExp":return[iI,Oc];case"Map":return[aI,Oc];case"Set":return[oI,Oc];case"DataView":return[Np,n]}return n.includes("Array")?[Np,n]:n.includes("Error")?[dQ,n]:[dw,n]},Gv=([e,t])=>e===j_&&(t==="function"||t==="symbol"),k6e=(e,t,n,r)=>{const i=(o,s)=>{const u=r.push(o)-1;return n.set(s,u),u},a=o=>{if(n.has(o))return n.get(o);let[s,u]=Jh(o);switch(s){case j_:{let c=o;switch(u){case"bigint":s=hQ,c=o.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+u);c=null;break;case"undefined":return i([fQ],o)}return i([s,c],o)}case Np:{if(u){let d=o;return u==="DataView"?d=new Uint8Array(o.buffer):u==="ArrayBuffer"&&(d=new Uint8Array(o)),i([u,[...d]],o)}const c=[],f=i([s,c],o);for(const d of o)c.push(a(d));return f}case dw:{if(u)switch(u){case"BigInt":return i([u,o.toString()],o);case"Boolean":case"Number":case"String":return i([u,o.valueOf()],o)}if(t&&"toJSON"in o)return a(o.toJSON());const c=[],f=i([s,c],o);for(const d of C6e(o))(e||!Gv(Jh(o[d])))&&c.push([a(d),a(o[d])]);return f}case rI:return i([s,o.toISOString()],o);case iI:{const{source:c,flags:f}=o;return i([s,{source:c,flags:f}],o)}case aI:{const c=[],f=i([s,c],o);for(const[d,p]of o)(e||!(Gv(Jh(d))||Gv(Jh(p))))&&c.push([a(d),a(p)]);return f}case oI:{const c=[],f=i([s,c],o);for(const d of o)(e||!Gv(Jh(d)))&&c.push(a(d));return f}}const{message:l}=o;return i([s,{name:u,message:l}],o)};return a},cF=(e,{json:t,lossy:n}={})=>{const r=[];return k6e(!(t||n),!!t,new Map,r)(e),r},hw=typeof structuredClone=="function"?(e,t)=>t&&("json"in t||"lossy"in t)?lF(cF(e,t)):structuredClone(e):(e,t)=>lF(cF(e,t));function A6e(e,t){const n=[{type:"text",value:"↩"}];return t>1&&n.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),n}function T6e(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}function M6e(e){const t=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",n=e.options.footnoteBackContent||A6e,r=e.options.footnoteBackLabel||T6e,i=e.options.footnoteLabel||"Footnotes",a=e.options.footnoteLabelTagName||"h2",o=e.options.footnoteLabelProperties||{className:["sr-only"]},s=[];let u=-1;for(;++u0&&y.push({type:"text",value:" "});let b=typeof n=="string"?n:n(u,p);typeof b=="string"&&(b={type:"text",value:b}),y.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+d+(p>1?"-"+p:""),dataFootnoteBackref:"",ariaLabel:typeof r=="string"?r:r(u,p),className:["data-footnote-backref"]},children:Array.isArray(b)?b:[b]})}const w=c[c.length-1];if(w&&w.type==="element"&&w.tagName==="p"){const b=w.children[w.children.length-1];b&&b.type==="text"?b.value+=" ":w.children.push({type:"text",value:" "}),w.children.push(...y)}else c.push(...y);const _={type:"element",tagName:"li",properties:{id:t+"fn-"+d},children:e.wrap(c,!0)};e.patch(l,_),s.push(_)}if(s.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:a,properties:{...hw(o),id:"footnote-label"},children:[{type:"text",value:i}]},{type:"text",value:` `},{type:"element",tagName:"ol",properties:{},children:e.wrap(s,!0)},{type:"text",value:` `}]}}const pQ=function(e){if(e==null)return N6e;if(typeof e=="function")return H_(e);if(typeof e=="object")return Array.isArray(e)?P6e(e):I6e(e);if(typeof e=="string")return R6e(e);throw new Error("Expected function, string, or object as test")};function P6e(e){const t=[];let n=-1;for(;++n":""))+")"})}return d;function d(){let p=mQ,y,g,w;if((!t||a(u,l,c[c.length-1]||void 0))&&(p=L6e(n(u,c)),p[0]===fF))return p;if("children"in u&&u.children){const _=u;if(_.children&&p[0]!==D6e)for(g=(r?_.children.length:-1)+o,w=c.concat(_);g>-1&&g<_.children.length;){const b=_.children[g];if(y=s(b,g,w)(),y[0]===fF)return y;g=typeof y[1]=="number"?y[1]:g+o}}return p}}}function L6e(e){return Array.isArray(e)?e:typeof e=="number"?[$6e,e]:e==null?mQ:[e]}function B6e(e,t,n,r){let i,a,o;typeof t=="function"&&typeof n!="function"?(a=void 0,o=t,i=n):(a=t,o=n,i=r),F6e(e,a,s,i);function s(u,l){const c=l[l.length-1],f=c?c.children.indexOf(u):void 0;return o(u,f,c)}}const FT={}.hasOwnProperty,z6e={};function U6e(e,t){const n=t||z6e,r=new Map,i=new Map,a=new Map,o={...x6e,...n.handlers},s={all:l,applyData:H6e,definitionById:r,footnoteById:i,footnoteCounts:a,footnoteOrder:[],handlers:o,one:u,options:n,patch:j6e,wrap:W6e};return B6e(e,function(c){if(c.type==="definition"||c.type==="footnoteDefinition"){const f=c.type==="definition"?r:i,d=String(c.identifier).toUpperCase();f.has(d)||f.set(d,c)}}),s;function u(c,f){const d=c.type,p=s.handlers[d];if(FT.call(s.handlers,d)&&p)return p(s,c,f);if(s.options.passThrough&&s.options.passThrough.includes(d)){if("children"in c){const{children:g,...w}=c,_=hw(w);return _.children=s.all(c),_}return hw(c)}return(s.options.unknownHandler||q6e)(s,c,f)}function l(c){const f=[];if("children"in c){const d=c.children;let p=-1;for(;++p0&&n.push({type:"text",value:` `}),n}function dF(e){let t=0,n=e.charCodeAt(t);for(;n===9||n===32;)t++,n=e.charCodeAt(t);return e.slice(t)}function hF(e,t){const n=U6e(e,t),r=n.one(e,void 0),i=M6e(n),a=Array.isArray(r)?{type:"root",children:r}:r||{type:"root",children:[]};return i&&a.children.push({type:"text",value:` `},i),a}function G6e(e,t){return e&&"run"in e?async function(n,r){const i=hF(n,{file:r,...t});await e.run(i,r)}:function(n,r){return hF(n,{file:r,...e||t})}}function pF(e){if(e)throw e}var LE,mF;function V6e(){if(mF)return LE;mF=1;var e=Object.prototype.hasOwnProperty,t=Object.prototype.toString,n=Object.defineProperty,r=Object.getOwnPropertyDescriptor,i=function(l){return typeof Array.isArray=="function"?Array.isArray(l):t.call(l)==="[object Array]"},a=function(l){if(!l||t.call(l)!=="[object Object]")return!1;var c=e.call(l,"constructor"),f=l.constructor&&l.constructor.prototype&&e.call(l.constructor.prototype,"isPrototypeOf");if(l.constructor&&!c&&!f)return!1;var d;for(d in l);return typeof d>"u"||e.call(l,d)},o=function(l,c){n&&c.name==="__proto__"?n(l,c.name,{enumerable:!0,configurable:!0,value:c.newValue,writable:!0}):l[c.name]=c.newValue},s=function(l,c){if(c==="__proto__")if(e.call(l,c)){if(r)return r(l,c).value}else return;return l[c]};return LE=function u(){var l,c,f,d,p,y,g=arguments[0],w=1,_=arguments.length,b=!1;for(typeof g=="boolean"&&(b=g,g=arguments[1]||{},w=2),(g==null||typeof g!="object"&&typeof g!="function")&&(g={});w<_;++w)if(l=arguments[w],l!=null)for(c in l)f=s(g,c),d=s(l,c),g!==d&&(b&&d&&(a(d)||(p=i(d)))?(p?(p=!1,y=f&&i(f)?f:[]):y=f&&a(f)?f:{},o(g,{name:c,newValue:u(b,y,d)})):typeof d<"u"&&o(g,{name:c,newValue:d}));return g},LE}var Y6e=V6e();const BE=Un(Y6e);function LT(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function Q6e(){const e=[],t={run:n,use:r};return t;function n(...i){let a=-1;const o=i.pop();if(typeof o!="function")throw new TypeError("Expected function as last argument, not "+o);s(null,...i);function s(u,...l){const c=e[++a];let f=-1;if(u){o(u);return}for(;++fo.length;let u;s&&o.push(i);try{u=e.apply(this,o)}catch(l){const c=l;if(s&&n)throw c;return i(c)}s||(u&&u.then&&typeof u.then=="function"?u.then(a,i):u instanceof Error?i(u):a(u))}function i(o,...s){n||(n=!0,t(o,...s))}function a(o){i(null,o)}}class qr extends Error{constructor(t,n,r){super(),typeof n=="string"&&(r=n,n=void 0);let i="",a={},o=!1;if(n&&("line"in n&&"column"in n?a={place:n}:"start"in n&&"end"in n?a={place:n}:"type"in n?a={ancestors:[n],place:n.position}:a={...n}),typeof t=="string"?i=t:!a.cause&&t&&(o=!0,i=t.message,a.cause=t),!a.ruleId&&!a.source&&typeof r=="string"){const u=r.indexOf(":");u===-1?a.ruleId=r:(a.source=r.slice(0,u),a.ruleId=r.slice(u+1))}if(!a.place&&a.ancestors&&a.ancestors){const u=a.ancestors[a.ancestors.length-1];u&&(a.place=u.position)}const s=a.place&&"start"in a.place?a.place.start:a.place;this.ancestors=a.ancestors||void 0,this.cause=a.cause||void 0,this.column=s?s.column:void 0,this.fatal=void 0,this.file,this.message=i,this.line=s?s.line:void 0,this.name=Rp(a.place)||"1:1",this.place=a.place||void 0,this.reason=this.message,this.ruleId=a.ruleId||void 0,this.source=a.source||void 0,this.stack=o&&a.cause&&typeof a.cause.stack=="string"?a.cause.stack:"",this.actual,this.expected,this.note,this.url}}qr.prototype.file="";qr.prototype.name="";qr.prototype.reason="";qr.prototype.message="";qr.prototype.stack="";qr.prototype.column=void 0;qr.prototype.line=void 0;qr.prototype.ancestors=void 0;qr.prototype.cause=void 0;qr.prototype.fatal=void 0;qr.prototype.place=void 0;qr.prototype.ruleId=void 0;qr.prototype.source=void 0;const ma={basename:X6e,dirname:Z6e,extname:J6e,join:eDe,sep:"/"};function X6e(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');Fg(e);let n=0,r=-1,i=e.length,a;if(t===void 0||t.length===0||t.length>e.length){for(;i--;)if(e.codePointAt(i)===47){if(a){n=i+1;break}}else r<0&&(a=!0,r=i+1);return r<0?"":e.slice(n,r)}if(t===e)return"";let o=-1,s=t.length-1;for(;i--;)if(e.codePointAt(i)===47){if(a){n=i+1;break}}else o<0&&(a=!0,o=i+1),s>-1&&(e.codePointAt(i)===t.codePointAt(s--)?s<0&&(r=i):(s=-1,r=o));return n===r?r=o:r<0&&(r=e.length),e.slice(n,r)}function Z6e(e){if(Fg(e),e.length===0)return".";let t=-1,n=e.length,r;for(;--n;)if(e.codePointAt(n)===47){if(r){t=n;break}}else r||(r=!0);return t<0?e.codePointAt(0)===47?"/":".":t===1&&e.codePointAt(0)===47?"//":e.slice(0,t)}function J6e(e){Fg(e);let t=e.length,n=-1,r=0,i=-1,a=0,o;for(;t--;){const s=e.codePointAt(t);if(s===47){if(o){r=t+1;break}continue}n<0&&(o=!0,n=t+1),s===46?i<0?i=t:a!==1&&(a=1):i>-1&&(a=-1)}return i<0||n<0||a===0||a===1&&i===n-1&&i===r+1?"":e.slice(i,n)}function eDe(...e){let t=-1,n;for(;++t0&&e.codePointAt(e.length-1)===47&&(n+="/"),t?"/"+n:n}function nDe(e,t){let n="",r=0,i=-1,a=0,o=-1,s,u;for(;++o<=e.length;){if(o2){if(u=n.lastIndexOf("/"),u!==n.length-1){u<0?(n="",r=0):(n=n.slice(0,u),r=n.length-1-n.lastIndexOf("/")),i=o,a=0;continue}}else if(n.length>0){n="",r=0,i=o,a=0;continue}}t&&(n=n.length>0?n+"/..":"..",r=2)}else n.length>0?n+="/"+e.slice(i+1,o):n=e.slice(i+1,o),r=o-i-1;i=o,a=0}else s===46&&a>-1?a++:a=-1}return n}function Fg(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const rDe={cwd:iDe};function iDe(){return"/"}function BT(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}function aDe(e){if(typeof e=="string")e=new URL(e);else if(!BT(e)){const t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if(e.protocol!=="file:"){const t=new TypeError("The URL must be of scheme file");throw t.code="ERR_INVALID_URL_SCHEME",t}return oDe(e)}function oDe(e){if(e.hostname!==""){const r=new TypeError('File URL host must be "localhost" or empty on darwin');throw r.code="ERR_INVALID_FILE_URL_HOST",r}const t=e.pathname;let n=-1;for(;++n0){let[p,...y]=c;const g=r[d][1];LT(g)&<(p)&&(p=BE(!0,g,p)),r[d]=[l,p,...y]}}}}const fDe=new sI().freeze();function HE(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}function qE(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}function WE(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function vF(e){if(!LT(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function yF(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function Vv(e){return dDe(e)?e:new sDe(e)}function dDe(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function hDe(e){return typeof e=="string"||pDe(e)}function pDe(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const mDe="last_seen_version";async function gDe(e,t){const i=(void 0).split("##").slice(1,e+1).map(o=>({date:Date.parse(o.split(` `)[0].trim()),notes:"####"+o})).filter(o=>o.date>0).map(o=>o.notes).join(` `)||"",a=await fDe().use(Q$e).use(G6e).use(H5e).process(i);return String(a)}function vDe(){localStorage.setItem(mDe,void 0)}const wF=""+new URL("topola-DAj3jHeV.jpg",import.meta.url).href;function GE(e){return q.jsx(uf,{to:{pathname:"/view",search:Ur.stringify(e.params)},children:e.text})}function yDe(e){return(e==null?void 0:e.slice(0,16))||""}function _F(){const[e,t]=ee.useState("");return ee.useEffect(()=>{(async()=>(t(await gDe(1)),vDe()))()}),q.jsxs(q.Fragment,{children:[q.jsx("p",{children:q.jsx(He,{id:"intro.description",defaultMessage:"Topola Genealogy is a genealogy tree viewer that lets you browse the structure of the family."})}),q.jsx("p",{children:q.jsx(He,{id:"intro.instructions",defaultMessage:"Use the OPEN FILE or LOAD FROM URL buttons above to load a GEDCOM file. You can export a GEDCOM file from most of the existing genealogy programs and web sites."})}),q.jsx("h3",{children:q.jsx(He,{id:"intro.examples",defaultMessage:"Examples"})}),q.jsxs("ul",{children:[q.jsxs("li",{children:[q.jsx(GE,{params:{url:"https://chronoplexsoftware.com/myfamilytree/samples/The%20Kennedy%20Family.gdz"},text:"J. F. Kennedy"})," ","(",q.jsx(He,{id:"intro.from",defaultMessage:"from"})," ",q.jsx("a",{href:"https://chronoplexsoftware.com/myfamilytree/samples/",children:"chronoplexsoftware.com"}),")"]}),q.jsxs("li",{children:[q.jsx(GE,{params:{url:"https://webtreeprint.com/tp_downloader.php?path=famous_gedcoms/shakespeare.ged&file=shakespeare.ged"},text:"Shakespeare"})," ","(",q.jsx(He,{id:"intro.from",defaultMessage:"from"})," ",q.jsx("a",{href:"https://webtreeprint.com/tp_famous_gedcoms.php",children:"webtreeprint.com"}),")"]}),q.jsxs("li",{children:[q.jsx(GE,{params:{indi:"Skłodowska-2",source:"wikitree"},text:"Maria Skłodowska-Curie"})," ","(",q.jsx(He,{id:"intro.from",defaultMessage:"from"})," ",q.jsx("a",{href:"https://www.wikitree.com/wiki/Sk%C5%82odowska-2",children:"wikitree.com"}),")"]})]}),q.jsx("h3",{children:q.jsx(He,{id:"intro.whats_new",defaultMessage:"What's new"})}),q.jsx("span",{dangerouslySetInnerHTML:{__html:e}}),q.jsx("a",{href:"https://github.com/PeWu/topola-viewer/blob/master/CHANGELOG.md",children:q.jsx(He,{id:"intro.full_changelog",defaultMessage:"See full changelog"})}),q.jsx("h3",{children:q.jsx(He,{id:"intro.privacy",defaultMessage:"Privacy"})}),q.jsx(He,{id:"intro.privacy_note",defaultMessage:'When using the "load from file" option, this site does not send your data anywhere and files loaded from disk do not leave your computer. When using "load from URL", data is passed through the {link} service to deal with an issue with cross-site file loading in the browser (CORS).',values:{link:q.jsx("a",{href:"https://topolaproxy.bieda.it/",children:"cors-anywhere"})}}),q.jsxs("p",{className:"ui right aligned version",children:["version: ",yDe(void 0)," (",q.jsx("a",{href:"https://github.com/PeWu/topola-viewer/commit/undefined",children:void 0}),")"]})]})}function wDe(){return q.jsxs("div",{id:"introContent",children:[q.jsx("div",{className:"backgroundImage"}),q.jsxs(wi,{className:"intro",children:[q.jsx(wi.Content,{as:Vc,greaterThanOrEqual:"large",children:q.jsx(wi.Header,{children:q.jsx(He,{id:"intro.title",defaultMessage:"Topola Genealogy Viewer"})})}),q.jsxs(wi.Content,{children:[q.jsx(Xi,{as:Vc,greaterThanOrEqual:"large",children:q.jsxs(Xi.Row,{children:[q.jsx(Xi.Column,{width:5,children:q.jsx(wn,{src:wF,alt:"Topola logo"})}),q.jsx(Xi.Column,{width:11,children:q.jsx(_F,{})})]})}),q.jsxs(Vc,{at:"small",children:[q.jsx(wn,{src:wF,alt:"Topola logo",centered:!0,size:"tiny",className:"blockImage"}),q.jsx(_F,{})]})]})]})]})}var or=(e=>(e[e.Menu=0]="Menu",e[e.Dropdown=1]="Dropdown",e))(or||{});function pw(e){const t={...e};return delete t.menuType,q.jsx(q.Fragment,{children:e.menuType===0?q.jsx(an.Item,{...t,children:e.children}):q.jsx(nt.Item,{...t,children:e.children})})}var Yv={exports:{}},bF;function _De(){if(bF)return Yv.exports;bF=1;function e(t,n=100,r={}){if(typeof t!="function")throw new TypeError(`Expected the first parameter to be a function, got \`${typeof t}\`.`);if(n<0)throw new RangeError("`wait` must not be negative.");const{immediate:i}=typeof r=="boolean"?{immediate:r}:r;let a,o,s,u,l;function c(){const p=a,y=o;return a=void 0,o=void 0,l=t.apply(p,y),l}function f(){const p=Date.now()-u;p=0?s=setTimeout(f,n-p):(s=void 0,i||(l=c()))}const d=function(...p){if(a&&this!==a&&Object.getPrototypeOf(this)===Object.getPrototypeOf(a))throw new Error("Debounced method called with different contexts of the same prototype.");a=this,o=p,u=Date.now();const y=i&&!s;return s||(s=setTimeout(f,n)),y&&(l=c()),l};return Object.defineProperty(d,"isPending",{get(){return s!==void 0}}),d.clear=()=>{s&&(clearTimeout(s),s=void 0)},d.flush=()=>{s&&d.trigger()},d.trigger=()=>{l=c(),d.clear()},d}return Yv.exports.debounce=e,Yv.exports=e,Yv.exports}var bDe=_De();const xDe=Un(bDe);var VE,xF;function EDe(){return xF||(xF=1,VE=function e(t,n){var r=/(^([+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?)?$|^0x[0-9a-f]+$|\d+)/gi,i=/(^[ ]*|[ ]*$)/g,a=/(^([\w ]+,?[\w ]+)?[\w ]+,?[\w ]+\d+:\d+(:\d+)?[\w ]?|^\d{1,4}[\/\-]\d{1,4}[\/\-]\d{1,4}|^\w+, \w+ \d+, \d{4})/,o=/^0x[0-9a-f]+$/i,s=/^0/,u=function(E){return e.insensitive&&(""+E).toLowerCase()||""+E},l=u(t).replace(i,"")||"",c=u(n).replace(i,"")||"",f=l.replace(r,"\0$1\0").replace(/\0$/,"").replace(/^\0/,"").split("\0"),d=c.replace(r,"\0$1\0").replace(/\0$/,"").replace(/^\0/,"").split("\0"),p=parseInt(l.match(o),16)||f.length!==1&&l.match(a)&&Date.parse(l),y=parseInt(c.match(o),16)||p&&c.match(a)&&Date.parse(c)||null,g,w;if(y){if(py)return 1}for(var _=0,b=Math.max(f.length,d.length);_w)return 1}return 0}),VE}var SDe=EDe();const CDe=Un(SDe);var YE={exports:{}};/** * lunr - http://lunrjs.com - A bit like Solr, but much smaller and not as bright - 2.3.9 * Copyright (C) 2020 Oliver Nightingale * @license MIT */var EF;function kDe(){return EF||(EF=1,function(e,t){(function(){var n=function(r){var i=new n.Builder;return i.pipeline.add(n.trimmer,n.stopWordFilter,n.stemmer),i.searchPipeline.add(n.stemmer),r.call(i,i),i.build()};n.version="2.3.9";/*! * lunr.utils * Copyright (C) 2020 Oliver Nightingale */n.utils={},n.utils.warn=function(r){return function(i){r.console&&console.warn&&console.warn(i)}}(this),n.utils.asString=function(r){return r==null?"":r.toString()},n.utils.clone=function(r){if(r==null)return r;for(var i=Object.create(null),a=Object.keys(r),o=0;o0){var d=n.utils.clone(i)||{};d.position=[l,f],d.index=s.length,s.push(new n.Token(a.slice(l,u),d))}l=u+1}}return s},n.tokenizer.separator=/[\s\-]+/;/*! * lunr.Pipeline * Copyright (C) 2020 Oliver Nightingale */n.Pipeline=function(){this._stack=[]},n.Pipeline.registeredFunctions=Object.create(null),n.Pipeline.registerFunction=function(r,i){i in this.registeredFunctions&&n.utils.warn("Overwriting existing registered function: "+i),r.label=i,n.Pipeline.registeredFunctions[r.label]=r},n.Pipeline.warnIfFunctionNotRegistered=function(r){var i=r.label&&r.label in this.registeredFunctions;i||n.utils.warn(`Function is not registered with pipeline. This may cause problems when serialising the index. `,r)},n.Pipeline.load=function(r){var i=new n.Pipeline;return r.forEach(function(a){var o=n.Pipeline.registeredFunctions[a];if(o)i.add(o);else throw new Error("Cannot load unregistered function: "+a)}),i},n.Pipeline.prototype.add=function(){var r=Array.prototype.slice.call(arguments);r.forEach(function(i){n.Pipeline.warnIfFunctionNotRegistered(i),this._stack.push(i)},this)},n.Pipeline.prototype.after=function(r,i){n.Pipeline.warnIfFunctionNotRegistered(i);var a=this._stack.indexOf(r);if(a==-1)throw new Error("Cannot find existingFn");a=a+1,this._stack.splice(a,0,i)},n.Pipeline.prototype.before=function(r,i){n.Pipeline.warnIfFunctionNotRegistered(i);var a=this._stack.indexOf(r);if(a==-1)throw new Error("Cannot find existingFn");this._stack.splice(a,0,i)},n.Pipeline.prototype.remove=function(r){var i=this._stack.indexOf(r);i!=-1&&this._stack.splice(i,1)},n.Pipeline.prototype.run=function(r){for(var i=this._stack.length,a=0;a1&&(ur&&(a=s),u!=r);)o=a-i,s=i+Math.floor(o/2),u=this.elements[s*2];if(u==r||u>r)return s*2;if(uc?d+=2:l==c&&(i+=a[f+1]*o[d+1],f+=2,d+=2);return i},n.Vector.prototype.similarity=function(r){return this.dot(r)/this.magnitude()||0},n.Vector.prototype.toArray=function(){for(var r=new Array(this.elements.length/2),i=1,a=0;i0){var u=s.str.charAt(0),l;u in s.node.edges?l=s.node.edges[u]:(l=new n.TokenSet,s.node.edges[u]=l),s.str.length==1&&(l.final=!0),o.push({node:l,editsRemaining:s.editsRemaining,str:s.str.slice(1)})}if(s.editsRemaining!=0){if("*"in s.node.edges)var c=s.node.edges["*"];else{var c=new n.TokenSet;s.node.edges["*"]=c}if(s.str.length==0&&(c.final=!0),o.push({node:c,editsRemaining:s.editsRemaining-1,str:s.str}),s.str.length>1&&o.push({node:s.node,editsRemaining:s.editsRemaining-1,str:s.str.slice(1)}),s.str.length==1&&(s.node.final=!0),s.str.length>=1){if("*"in s.node.edges)var f=s.node.edges["*"];else{var f=new n.TokenSet;s.node.edges["*"]=f}s.str.length==1&&(f.final=!0),o.push({node:f,editsRemaining:s.editsRemaining-1,str:s.str.slice(1)})}if(s.str.length>1){var d=s.str.charAt(0),p=s.str.charAt(1),y;p in s.node.edges?y=s.node.edges[p]:(y=new n.TokenSet,s.node.edges[p]=y),s.str.length==1&&(y.final=!0),o.push({node:y,editsRemaining:s.editsRemaining-1,str:d+s.str.slice(2)})}}}return a},n.TokenSet.fromString=function(r){for(var i=new n.TokenSet,a=i,o=0,s=r.length;o=r;i--){var a=this.uncheckedNodes[i],o=a.child.toString();o in this.minimizedNodes?a.parent.edges[a.char]=this.minimizedNodes[o]:(a.child._str=o,this.minimizedNodes[o]=a.child),this.uncheckedNodes.pop()}};/*! * lunr.Index * Copyright (C) 2020 Oliver Nightingale */n.Index=function(r){this.invertedIndex=r.invertedIndex,this.fieldVectors=r.fieldVectors,this.tokenSet=r.tokenSet,this.fields=r.fields,this.pipeline=r.pipeline},n.Index.prototype.search=function(r){return this.query(function(i){var a=new n.QueryParser(r,i);a.parse()})},n.Index.prototype.query=function(r){for(var i=new n.Query(this.fields),a=Object.create(null),o=Object.create(null),s=Object.create(null),u=Object.create(null),l=Object.create(null),c=0;c1?this._b=1:this._b=r},n.Builder.prototype.k1=function(r){this._k1=r},n.Builder.prototype.add=function(r,i){var a=r[this._ref],o=Object.keys(this._fields);this._documents[a]=i||{},this.documentCount+=1;for(var s=0;s=this.length)return n.QueryLexer.EOS;var r=this.str.charAt(this.pos);return this.pos+=1,r},n.QueryLexer.prototype.width=function(){return this.pos-this.start},n.QueryLexer.prototype.ignore=function(){this.start==this.pos&&(this.pos+=1),this.start=this.pos},n.QueryLexer.prototype.backup=function(){this.pos-=1},n.QueryLexer.prototype.acceptDigitRun=function(){var r,i;do r=this.next(),i=r.charCodeAt(0);while(i>47&&i<58);r!=n.QueryLexer.EOS&&this.backup()},n.QueryLexer.prototype.more=function(){return this.pos1&&(r.backup(),r.emit(n.QueryLexer.TERM)),r.ignore(),r.more())return n.QueryLexer.lexText},n.QueryLexer.lexEditDistance=function(r){return r.ignore(),r.acceptDigitRun(),r.emit(n.QueryLexer.EDIT_DISTANCE),n.QueryLexer.lexText},n.QueryLexer.lexBoost=function(r){return r.ignore(),r.acceptDigitRun(),r.emit(n.QueryLexer.BOOST),n.QueryLexer.lexText},n.QueryLexer.lexEOS=function(r){r.width()>0&&r.emit(n.QueryLexer.TERM)},n.QueryLexer.termSeparator=n.tokenizer.separator,n.QueryLexer.lexText=function(r){for(;;){var i=r.next();if(i==n.QueryLexer.EOS)return n.QueryLexer.lexEOS;if(i.charCodeAt(0)==92){r.escapeCharacter();continue}if(i==":")return n.QueryLexer.lexField;if(i=="~")return r.backup(),r.width()>0&&r.emit(n.QueryLexer.TERM),n.QueryLexer.lexEditDistance;if(i=="^")return r.backup(),r.width()>0&&r.emit(n.QueryLexer.TERM),n.QueryLexer.lexBoost;if(i=="+"&&r.width()===1||i=="-"&&r.width()===1)return r.emit(n.QueryLexer.PRESENCE),n.QueryLexer.lexText;if(i.match(n.QueryLexer.termSeparator))return n.QueryLexer.lexTerm}},n.QueryParser=function(r,i){this.lexer=new n.QueryLexer(r),this.query=i,this.currentClause={},this.lexemeIdx=0},n.QueryParser.prototype.parse=function(){this.lexer.run(),this.lexemes=this.lexer.lexemes;for(var r=n.QueryParser.parseClause;r;)r=r(this);return this.query},n.QueryParser.prototype.peekLexeme=function(){return this.lexemes[this.lexemeIdx]},n.QueryParser.prototype.consumeLexeme=function(){var r=this.peekLexeme();return this.lexemeIdx+=1,r},n.QueryParser.prototype.nextClause=function(){var r=this.currentClause;this.query.clause(r),this.currentClause={}},n.QueryParser.parseClause=function(r){var i=r.peekLexeme();if(i!=null)switch(i.type){case n.QueryLexer.PRESENCE:return n.QueryParser.parsePresence;case n.QueryLexer.FIELD:return n.QueryParser.parseField;case n.QueryLexer.TERM:return n.QueryParser.parseTerm;default:var a="expected either a field or a term, found "+i.type;throw i.str.length>=1&&(a+=" with value '"+i.str+"'"),new n.QueryParseError(a,i.start,i.end)}},n.QueryParser.parsePresence=function(r){var i=r.consumeLexeme();if(i!=null){switch(i.str){case"-":r.currentClause.presence=n.Query.presence.PROHIBITED;break;case"+":r.currentClause.presence=n.Query.presence.REQUIRED;break;default:var a="unrecognised presence operator'"+i.str+"'";throw new n.QueryParseError(a,i.start,i.end)}var o=r.peekLexeme();if(o==null){var a="expecting term or field, found nothing";throw new n.QueryParseError(a,i.start,i.end)}switch(o.type){case n.QueryLexer.FIELD:return n.QueryParser.parseField;case n.QueryLexer.TERM:return n.QueryParser.parseTerm;default:var a="expecting term or field, found '"+o.type+"'";throw new n.QueryParseError(a,o.start,o.end)}}},n.QueryParser.parseField=function(r){var i=r.consumeLexeme();if(i!=null){if(r.query.allFields.indexOf(i.str)==-1){var a=r.query.allFields.map(function(u){return"'"+u+"'"}).join(", "),o="unrecognised field '"+i.str+"', possible fields: "+a;throw new n.QueryParseError(o,i.start,i.end)}r.currentClause.fields=[i.str];var s=r.peekLexeme();if(s==null){var o="expecting term, found nothing";throw new n.QueryParseError(o,i.start,i.end)}switch(s.type){case n.QueryLexer.TERM:return n.QueryParser.parseTerm;default:var o="expecting term, found '"+s.type+"'";throw new n.QueryParseError(o,s.start,s.end)}}},n.QueryParser.parseTerm=function(r){var i=r.consumeLexeme();if(i!=null){r.currentClause.term=i.str.toLowerCase(),i.str.indexOf("*")!=-1&&(r.currentClause.usePipeline=!1);var a=r.peekLexeme();if(a==null){r.nextClause();return}switch(a.type){case n.QueryLexer.TERM:return r.nextClause(),n.QueryParser.parseTerm;case n.QueryLexer.FIELD:return r.nextClause(),n.QueryParser.parseField;case n.QueryLexer.EDIT_DISTANCE:return n.QueryParser.parseEditDistance;case n.QueryLexer.BOOST:return n.QueryParser.parseBoost;case n.QueryLexer.PRESENCE:return r.nextClause(),n.QueryParser.parsePresence;default:var o="Unexpected lexeme type '"+a.type+"'";throw new n.QueryParseError(o,a.start,a.end)}}},n.QueryParser.parseEditDistance=function(r){var i=r.consumeLexeme();if(i!=null){var a=parseInt(i.str,10);if(isNaN(a)){var o="edit distance must be numeric";throw new n.QueryParseError(o,i.start,i.end)}r.currentClause.editDistance=a;var s=r.peekLexeme();if(s==null){r.nextClause();return}switch(s.type){case n.QueryLexer.TERM:return r.nextClause(),n.QueryParser.parseTerm;case n.QueryLexer.FIELD:return r.nextClause(),n.QueryParser.parseField;case n.QueryLexer.EDIT_DISTANCE:return n.QueryParser.parseEditDistance;case n.QueryLexer.BOOST:return n.QueryParser.parseBoost;case n.QueryLexer.PRESENCE:return r.nextClause(),n.QueryParser.parsePresence;default:var o="Unexpected lexeme type '"+s.type+"'";throw new n.QueryParseError(o,s.start,s.end)}}},n.QueryParser.parseBoost=function(r){var i=r.consumeLexeme();if(i!=null){var a=parseInt(i.str,10);if(isNaN(a)){var o="boost must be numeric";throw new n.QueryParseError(o,i.start,i.end)}r.currentClause.boost=a;var s=r.peekLexeme();if(s==null){r.nextClause();return}switch(s.type){case n.QueryLexer.TERM:return r.nextClause(),n.QueryParser.parseTerm;case n.QueryLexer.FIELD:return r.nextClause(),n.QueryParser.parseField;case n.QueryLexer.EDIT_DISTANCE:return n.QueryParser.parseEditDistance;case n.QueryLexer.BOOST:return n.QueryParser.parseBoost;case n.QueryLexer.PRESENCE:return r.nextClause(),n.QueryParser.parsePresence;default:var o="Unexpected lexeme type '"+s.type+"'";throw new n.QueryParseError(o,s.start,s.end)}}},function(r,i){e.exports=i()}(this,function(){return n})})()}(YE)),YE.exports}var ADe=kDe();const Aa=Un(ADe);var Uy={exports:{}};/*! * Lunr languages, `German` language * https://github.com/MihaiValentin/lunr-languages * * Copyright 2014, Mihai Valentin * http://www.mozilla.org/MPL/ */var TDe=Uy.exports,SF;function MDe(){return SF||(SF=1,function(e,t){(function(n,r){e.exports=r()})(TDe,function(){return function(n){if(typeof n>"u")throw new Error("Lunr is not present. Please include / require Lunr before this script.");if(typeof n.stemmerSupport>"u")throw new Error("Lunr stemmer support is not present. Please include / require Lunr stemmer support before this script.");n.de=function(){this.pipeline.reset(),this.pipeline.add(n.de.trimmer,n.de.stopWordFilter,n.de.stemmer),this.searchPipeline&&(this.searchPipeline.reset(),this.searchPipeline.add(n.de.stemmer))},n.de.wordCharacters="A-Za-zªºÀ-ÖØ-öø-ʸˠ-ˤᴀ-ᴥᴬ-ᵜᵢ-ᵥᵫ-ᵷᵹ-ᶾḀ-ỿⁱⁿₐ-ₜKÅℲⅎⅠ-ↈⱠ-ⱿꜢ-ꞇꞋ-ꞭꞰ-ꞷꟷ-ꟿꬰ-ꭚꭜ-ꭤff-stA-Za-z",n.de.trimmer=n.trimmerSupport.generateTrimmer(n.de.wordCharacters),n.Pipeline.registerFunction(n.de.trimmer,"trimmer-de"),n.de.stemmer=function(){var r=n.stemmerSupport.Among,i=n.stemmerSupport.SnowballProgram,a=new function(){var s=[new r("",-1,6),new r("U",0,2),new r("Y",0,1),new r("ä",0,3),new r("ö",0,4),new r("ü",0,5)],u=[new r("e",-1,2),new r("em",-1,1),new r("en",-1,2),new r("ern",-1,1),new r("er",-1,1),new r("s",-1,3),new r("es",5,2)],l=[new r("en",-1,1),new r("er",-1,1),new r("st",-1,2),new r("est",2,1)],c=[new r("ig",-1,1),new r("lich",-1,1)],f=[new r("end",-1,1),new r("ig",-1,2),new r("ung",-1,1),new r("lich",-1,3),new r("isch",-1,2),new r("ik",-1,2),new r("heit",-1,3),new r("keit",-1,4)],d=[17,65,16,1,0,0,0,0,0,0,0,0,0,0,0,0,8,0,32,8],p=[117,30,5],y=[117,30,4],g,w,_,b=new i;this.setCurrent=function(P){b.setCurrent(P)},this.getCurrent=function(){return b.getCurrent()};function E(P,z,Y){return b.eq_s(1,P)&&(b.ket=b.cursor,b.in_grouping(d,97,252))?(b.slice_from(z),b.cursor=Y,!0):!1}function S(){for(var P=b.cursor,z,Y,F,D;;)if(z=b.cursor,b.bra=z,b.eq_s(1,"ß"))b.ket=b.cursor,b.slice_from("ss");else{if(z>=b.limit)break;b.cursor=z+1}for(b.cursor=P;;)for(Y=b.cursor;F=b.cursor,!(b.in_grouping(d,97,252)&&(D=b.cursor,b.bra=D,E("u","U",F)||(b.cursor=D,E("y","Y",F))));){if(F>=b.limit){b.cursor=Y;return}b.cursor=F+1}}function v(){for(;!b.in_grouping(d,97,252);){if(b.cursor>=b.limit)return!0;b.cursor++}for(;!b.out_grouping(d,97,252);){if(b.cursor>=b.limit)return!0;b.cursor++}return!1}function C(){_=b.limit,w=_;var P=b.cursor+3;0<=P&&P<=b.limit&&(g=P,v()||(_=b.cursor,_=b.limit)return;b.cursor++;break}}}function M(){return _<=b.cursor}function R(){return w<=b.cursor}function O(){var P,z=b.limit-b.cursor,Y,F,D;if(b.ket=b.cursor,P=b.find_among_b(u,7),P&&(b.bra=b.cursor,M()))switch(P){case 1:b.slice_del();break;case 2:b.slice_del(),b.ket=b.cursor,b.eq_s_b(1,"s")&&(b.bra=b.cursor,b.eq_s_b(3,"nis")&&b.slice_del());break;case 3:b.in_grouping_b(p,98,116)&&b.slice_del();break}if(b.cursor=b.limit-z,b.ket=b.cursor,P=b.find_among_b(l,4),P&&(b.bra=b.cursor,M()))switch(P){case 1:b.slice_del();break;case 2:if(b.in_grouping_b(y,98,116)){var B=b.cursor-3;b.limit_backward<=B&&B<=b.limit&&(b.cursor=B,b.slice_del())}break}if(b.cursor=b.limit-z,b.ket=b.cursor,P=b.find_among_b(f,8),P&&(b.bra=b.cursor,R()))switch(P){case 1:b.slice_del(),b.ket=b.cursor,b.eq_s_b(2,"ig")&&(b.bra=b.cursor,Y=b.limit-b.cursor,b.eq_s_b(1,"e")||(b.cursor=b.limit-Y,R()&&b.slice_del()));break;case 2:F=b.limit-b.cursor,b.eq_s_b(1,"e")||(b.cursor=b.limit-F,b.slice_del());break;case 3:if(b.slice_del(),b.ket=b.cursor,D=b.limit-b.cursor,!b.eq_s_b(2,"er")&&(b.cursor=b.limit-D,!b.eq_s_b(2,"en")))break;b.bra=b.cursor,M()&&b.slice_del();break;case 4:b.slice_del(),b.ket=b.cursor,P=b.find_among_b(c,2),P&&(b.bra=b.cursor,R()&&P==1&&b.slice_del());break}}this.stem=function(){var P=b.cursor;return S(),b.cursor=P,C(),b.limit_backward=P,b.cursor=b.limit,O(),b.cursor=b.limit_backward,A(),!0}};return function(o){return typeof o.update=="function"?o.update(function(s){return a.setCurrent(s),a.stem(),a.getCurrent()}):(a.setCurrent(o),a.stem(),a.getCurrent())}}(),n.Pipeline.registerFunction(n.de.stemmer,"stemmer-de"),n.de.stopWordFilter=n.generateStopWordFilter("aber alle allem allen aller alles als also am an ander andere anderem anderen anderer anderes anderm andern anderr anders auch auf aus bei bin bis bist da damit dann das dasselbe dazu daß dein deine deinem deinen deiner deines dem demselben den denn denselben der derer derselbe derselben des desselben dessen dich die dies diese dieselbe dieselben diesem diesen dieser dieses dir doch dort du durch ein eine einem einen einer eines einig einige einigem einigen einiger einiges einmal er es etwas euch euer eure eurem euren eurer eures für gegen gewesen hab habe haben hat hatte hatten hier hin hinter ich ihm ihn ihnen ihr ihre ihrem ihren ihrer ihres im in indem ins ist jede jedem jeden jeder jedes jene jenem jenen jener jenes jetzt kann kein keine keinem keinen keiner keines können könnte machen man manche manchem manchen mancher manches mein meine meinem meinen meiner meines mich mir mit muss musste nach nicht nichts noch nun nur ob oder ohne sehr sein seine seinem seinen seiner seines selbst sich sie sind so solche solchem solchen solcher solches soll sollte sondern sonst um und uns unse unsem unsen unser unses unter viel vom von vor war waren warst was weg weil weiter welche welchem welchen welcher welches wenn werde werden wie wieder will wir wird wirst wo wollen wollte während würde würden zu zum zur zwar zwischen über".split(" ")),n.Pipeline.registerFunction(n.de.stopWordFilter,"stopWordFilter-de")}})}(Uy)),Uy.exports}var PDe=MDe();const IDe=Un(PDe);var jy={exports:{}};/*! * Lunr languages, `French` language * https://github.com/MihaiValentin/lunr-languages * * Copyright 2014, Mihai Valentin * http://www.mozilla.org/MPL/ */var RDe=jy.exports,CF;function NDe(){return CF||(CF=1,function(e,t){(function(n,r){e.exports=r()})(RDe,function(){return function(n){if(typeof n>"u")throw new Error("Lunr is not present. Please include / require Lunr before this script.");if(typeof n.stemmerSupport>"u")throw new Error("Lunr stemmer support is not present. Please include / require Lunr stemmer support before this script.");n.fr=function(){this.pipeline.reset(),this.pipeline.add(n.fr.trimmer,n.fr.stopWordFilter,n.fr.stemmer),this.searchPipeline&&(this.searchPipeline.reset(),this.searchPipeline.add(n.fr.stemmer))},n.fr.wordCharacters="A-Za-zªºÀ-ÖØ-öø-ʸˠ-ˤᴀ-ᴥᴬ-ᵜᵢ-ᵥᵫ-ᵷᵹ-ᶾḀ-ỿⁱⁿₐ-ₜKÅℲⅎⅠ-ↈⱠ-ⱿꜢ-ꞇꞋ-ꞭꞰ-ꞷꟷ-ꟿꬰ-ꭚꭜ-ꭤff-stA-Za-z",n.fr.trimmer=n.trimmerSupport.generateTrimmer(n.fr.wordCharacters),n.Pipeline.registerFunction(n.fr.trimmer,"trimmer-fr"),n.fr.stemmer=function(){var r=n.stemmerSupport.Among,i=n.stemmerSupport.SnowballProgram,a=new function(){var s=[new r("col",-1,-1),new r("par",-1,-1),new r("tap",-1,-1)],u=[new r("",-1,4),new r("I",0,1),new r("U",0,2),new r("Y",0,3)],l=[new r("iqU",-1,3),new r("abl",-1,3),new r("Ièr",-1,4),new r("ièr",-1,4),new r("eus",-1,2),new r("iv",-1,1)],c=[new r("ic",-1,2),new r("abil",-1,1),new r("iv",-1,3)],f=[new r("iqUe",-1,1),new r("atrice",-1,2),new r("ance",-1,1),new r("ence",-1,5),new r("logie",-1,3),new r("able",-1,1),new r("isme",-1,1),new r("euse",-1,11),new r("iste",-1,1),new r("ive",-1,8),new r("if",-1,8),new r("usion",-1,4),new r("ation",-1,2),new r("ution",-1,4),new r("ateur",-1,2),new r("iqUes",-1,1),new r("atrices",-1,2),new r("ances",-1,1),new r("ences",-1,5),new r("logies",-1,3),new r("ables",-1,1),new r("ismes",-1,1),new r("euses",-1,11),new r("istes",-1,1),new r("ives",-1,8),new r("ifs",-1,8),new r("usions",-1,4),new r("ations",-1,2),new r("utions",-1,4),new r("ateurs",-1,2),new r("ments",-1,15),new r("ements",30,6),new r("issements",31,12),new r("ités",-1,7),new r("ment",-1,15),new r("ement",34,6),new r("issement",35,12),new r("amment",34,13),new r("emment",34,14),new r("aux",-1,10),new r("eaux",39,9),new r("eux",-1,1),new r("ité",-1,7)],d=[new r("ira",-1,1),new r("ie",-1,1),new r("isse",-1,1),new r("issante",-1,1),new r("i",-1,1),new r("irai",4,1),new r("ir",-1,1),new r("iras",-1,1),new r("ies",-1,1),new r("îmes",-1,1),new r("isses",-1,1),new r("issantes",-1,1),new r("îtes",-1,1),new r("is",-1,1),new r("irais",13,1),new r("issais",13,1),new r("irions",-1,1),new r("issions",-1,1),new r("irons",-1,1),new r("issons",-1,1),new r("issants",-1,1),new r("it",-1,1),new r("irait",21,1),new r("issait",21,1),new r("issant",-1,1),new r("iraIent",-1,1),new r("issaIent",-1,1),new r("irent",-1,1),new r("issent",-1,1),new r("iront",-1,1),new r("ît",-1,1),new r("iriez",-1,1),new r("issiez",-1,1),new r("irez",-1,1),new r("issez",-1,1)],p=[new r("a",-1,3),new r("era",0,2),new r("asse",-1,3),new r("ante",-1,3),new r("ée",-1,2),new r("ai",-1,3),new r("erai",5,2),new r("er",-1,2),new r("as",-1,3),new r("eras",8,2),new r("âmes",-1,3),new r("asses",-1,3),new r("antes",-1,3),new r("âtes",-1,3),new r("ées",-1,2),new r("ais",-1,3),new r("erais",15,2),new r("ions",-1,1),new r("erions",17,2),new r("assions",17,3),new r("erons",-1,2),new r("ants",-1,3),new r("és",-1,2),new r("ait",-1,3),new r("erait",23,2),new r("ant",-1,3),new r("aIent",-1,3),new r("eraIent",26,2),new r("èrent",-1,2),new r("assent",-1,3),new r("eront",-1,2),new r("ât",-1,3),new r("ez",-1,2),new r("iez",32,2),new r("eriez",33,2),new r("assiez",33,3),new r("erez",32,2),new r("é",-1,2)],y=[new r("e",-1,3),new r("Ière",0,2),new r("ière",0,2),new r("ion",-1,1),new r("Ier",-1,2),new r("ier",-1,2),new r("ë",-1,4)],g=[new r("ell",-1,-1),new r("eill",-1,-1),new r("enn",-1,-1),new r("onn",-1,-1),new r("ett",-1,-1)],w=[17,65,16,1,0,0,0,0,0,0,0,0,0,0,0,128,130,103,8,5],_=[1,65,20,0,0,0,0,0,0,0,0,0,0,0,0,0,128],b,E,S,v=new i;this.setCurrent=function(U){v.setCurrent(U)},this.getCurrent=function(){return v.getCurrent()};function C(U,W,ne){return v.eq_s(1,U)&&(v.ket=v.cursor,v.in_grouping(w,97,251))?(v.slice_from(W),v.cursor=ne,!0):!1}function A(U,W,ne){return v.eq_s(1,U)?(v.ket=v.cursor,v.slice_from(W),v.cursor=ne,!0):!1}function M(){for(var U,W;;)if(U=v.cursor,!(v.in_grouping(w,97,251)&&(v.bra=v.cursor,W=v.cursor,C("u","U",U)||(v.cursor=W,C("i","I",U))||(v.cursor=W,A("y","Y",U))))&&(v.cursor=U,v.bra=U,!C("y","Y",U))){if(v.cursor=U,v.eq_s(1,"q")&&(v.bra=v.cursor,A("u","U",U)))continue;if(v.cursor=U,U>=v.limit)return;v.cursor++}}function R(){for(;!v.in_grouping(w,97,251);){if(v.cursor>=v.limit)return!0;v.cursor++}for(;!v.out_grouping(w,97,251);){if(v.cursor>=v.limit)return!0;v.cursor++}return!1}function O(){var U=v.cursor;if(S=v.limit,E=S,b=S,v.in_grouping(w,97,251)&&v.in_grouping(w,97,251)&&v.cursor=v.limit){v.cursor=S;break}v.cursor++}while(!v.in_grouping(w,97,251))}S=v.cursor,v.cursor=U,R()||(E=v.cursor,R()||(b=v.cursor))}function P(){for(var U,W;W=v.cursor,v.bra=W,U=v.find_among(u,4),!!U;)switch(v.ket=v.cursor,U){case 1:v.slice_from("i");break;case 2:v.slice_from("u");break;case 3:v.slice_from("y");break;case 4:if(v.cursor>=v.limit)return;v.cursor++;break}}function z(){return S<=v.cursor}function Y(){return E<=v.cursor}function F(){return b<=v.cursor}function D(){var U,W;if(v.ket=v.cursor,U=v.find_among_b(f,43),U){switch(v.bra=v.cursor,U){case 1:if(!F())return!1;v.slice_del();break;case 2:if(!F())return!1;v.slice_del(),v.ket=v.cursor,v.eq_s_b(2,"ic")&&(v.bra=v.cursor,F()?v.slice_del():v.slice_from("iqU"));break;case 3:if(!F())return!1;v.slice_from("log");break;case 4:if(!F())return!1;v.slice_from("u");break;case 5:if(!F())return!1;v.slice_from("ent");break;case 6:if(!z())return!1;if(v.slice_del(),v.ket=v.cursor,U=v.find_among_b(l,6),U)switch(v.bra=v.cursor,U){case 1:F()&&(v.slice_del(),v.ket=v.cursor,v.eq_s_b(2,"at")&&(v.bra=v.cursor,F()&&v.slice_del()));break;case 2:F()?v.slice_del():Y()&&v.slice_from("eux");break;case 3:F()&&v.slice_del();break;case 4:z()&&v.slice_from("i");break}break;case 7:if(!F())return!1;if(v.slice_del(),v.ket=v.cursor,U=v.find_among_b(c,3),U)switch(v.bra=v.cursor,U){case 1:F()?v.slice_del():v.slice_from("abl");break;case 2:F()?v.slice_del():v.slice_from("iqU");break;case 3:F()&&v.slice_del();break}break;case 8:if(!F())return!1;if(v.slice_del(),v.ket=v.cursor,v.eq_s_b(2,"at")&&(v.bra=v.cursor,F()&&(v.slice_del(),v.ket=v.cursor,v.eq_s_b(2,"ic")))){v.bra=v.cursor,F()?v.slice_del():v.slice_from("iqU");break}break;case 9:v.slice_from("eau");break;case 10:if(!Y())return!1;v.slice_from("al");break;case 11:if(F())v.slice_del();else if(Y())v.slice_from("eux");else return!1;break;case 12:if(!Y()||!v.out_grouping_b(w,97,251))return!1;v.slice_del();break;case 13:return z()&&v.slice_from("ant"),!1;case 14:return z()&&v.slice_from("ent"),!1;case 15:return W=v.limit-v.cursor,v.in_grouping_b(w,97,251)&&z()&&(v.cursor=v.limit-W,v.slice_del()),!1}return!0}return!1}function B(){var U,W;if(v.cursor=S){if(ce=v.limit_backward,v.limit_backward=S,v.ket=v.cursor,U=v.find_among_b(y,7),U)switch(v.bra=v.cursor,U){case 1:if(F()){if(ve=v.limit-v.cursor,!v.eq_s_b(1,"s")&&(v.cursor=v.limit-ve,!v.eq_s_b(1,"t")))break;v.slice_del()}break;case 2:v.slice_from("i");break;case 3:v.slice_del();break;case 4:v.eq_s_b(2,"gu")&&v.slice_del();break}v.limit_backward=ce}}function H(){var U=v.limit-v.cursor;v.find_among_b(g,5)&&(v.cursor=v.limit-U,v.ket=v.cursor,v.cursor>v.limit_backward&&(v.cursor--,v.bra=v.cursor,v.slice_del()))}function L(){for(var U,W=1;v.out_grouping_b(w,97,251);)W--;if(W<=0){if(v.ket=v.cursor,U=v.limit-v.cursor,!v.eq_s_b(1,"é")&&(v.cursor=v.limit-U,!v.eq_s_b(1,"è")))return;v.bra=v.cursor,v.slice_from("e")}}function G(){if(!D()&&(v.cursor=v.limit,!B()&&(v.cursor=v.limit,!Q()))){v.cursor=v.limit,K();return}v.cursor=v.limit,v.ket=v.cursor,v.eq_s_b(1,"Y")?(v.bra=v.cursor,v.slice_from("i")):(v.cursor=v.limit,v.eq_s_b(1,"ç")&&(v.bra=v.cursor,v.slice_from("c")))}this.stem=function(){var U=v.cursor;return M(),v.cursor=U,O(),v.limit_backward=U,v.cursor=v.limit,G(),v.cursor=v.limit,H(),v.cursor=v.limit,L(),v.cursor=v.limit_backward,P(),!0}};return function(o){return typeof o.update=="function"?o.update(function(s){return a.setCurrent(s),a.stem(),a.getCurrent()}):(a.setCurrent(o),a.stem(),a.getCurrent())}}(),n.Pipeline.registerFunction(n.fr.stemmer,"stemmer-fr"),n.fr.stopWordFilter=n.generateStopWordFilter("ai aie aient aies ait as au aura aurai auraient aurais aurait auras aurez auriez aurions aurons auront aux avaient avais avait avec avez aviez avions avons ayant ayez ayons c ce ceci celà ces cet cette d dans de des du elle en es est et eu eue eues eurent eus eusse eussent eusses eussiez eussions eut eux eûmes eût eûtes furent fus fusse fussent fusses fussiez fussions fut fûmes fût fûtes ici il ils j je l la le les leur leurs lui m ma mais me mes moi mon même n ne nos notre nous on ont ou par pas pour qu que quel quelle quelles quels qui s sa sans se sera serai seraient serais serait seras serez seriez serions serons seront ses soi soient sois soit sommes son sont soyez soyons suis sur t ta te tes toi ton tu un une vos votre vous y à étaient étais était étant étiez étions été étée étées étés êtes".split(" ")),n.Pipeline.registerFunction(n.fr.stopWordFilter,"stopWordFilter-fr")}})}(jy)),jy.exports}var ODe=NDe();const $De=Un(ODe);var Hy={exports:{}};/*! * Lunr languages, `Italian` language * https://github.com/MihaiValentin/lunr-languages * * Copyright 2014, Mihai Valentin * http://www.mozilla.org/MPL/ */var DDe=Hy.exports,kF;function FDe(){return kF||(kF=1,function(e,t){(function(n,r){e.exports=r()})(DDe,function(){return function(n){if(typeof n>"u")throw new Error("Lunr is not present. Please include / require Lunr before this script.");if(typeof n.stemmerSupport>"u")throw new Error("Lunr stemmer support is not present. Please include / require Lunr stemmer support before this script.");n.it=function(){this.pipeline.reset(),this.pipeline.add(n.it.trimmer,n.it.stopWordFilter,n.it.stemmer),this.searchPipeline&&(this.searchPipeline.reset(),this.searchPipeline.add(n.it.stemmer))},n.it.wordCharacters="A-Za-zªºÀ-ÖØ-öø-ʸˠ-ˤᴀ-ᴥᴬ-ᵜᵢ-ᵥᵫ-ᵷᵹ-ᶾḀ-ỿⁱⁿₐ-ₜKÅℲⅎⅠ-ↈⱠ-ⱿꜢ-ꞇꞋ-ꞭꞰ-ꞷꟷ-ꟿꬰ-ꭚꭜ-ꭤff-stA-Za-z",n.it.trimmer=n.trimmerSupport.generateTrimmer(n.it.wordCharacters),n.Pipeline.registerFunction(n.it.trimmer,"trimmer-it"),n.it.stemmer=function(){var r=n.stemmerSupport.Among,i=n.stemmerSupport.SnowballProgram,a=new function(){var s=[new r("",-1,7),new r("qu",0,6),new r("á",0,1),new r("é",0,2),new r("í",0,3),new r("ó",0,4),new r("ú",0,5)],u=[new r("",-1,3),new r("I",0,1),new r("U",0,2)],l=[new r("la",-1,-1),new r("cela",0,-1),new r("gliela",0,-1),new r("mela",0,-1),new r("tela",0,-1),new r("vela",0,-1),new r("le",-1,-1),new r("cele",6,-1),new r("gliele",6,-1),new r("mele",6,-1),new r("tele",6,-1),new r("vele",6,-1),new r("ne",-1,-1),new r("cene",12,-1),new r("gliene",12,-1),new r("mene",12,-1),new r("sene",12,-1),new r("tene",12,-1),new r("vene",12,-1),new r("ci",-1,-1),new r("li",-1,-1),new r("celi",20,-1),new r("glieli",20,-1),new r("meli",20,-1),new r("teli",20,-1),new r("veli",20,-1),new r("gli",20,-1),new r("mi",-1,-1),new r("si",-1,-1),new r("ti",-1,-1),new r("vi",-1,-1),new r("lo",-1,-1),new r("celo",31,-1),new r("glielo",31,-1),new r("melo",31,-1),new r("telo",31,-1),new r("velo",31,-1)],c=[new r("ando",-1,1),new r("endo",-1,1),new r("ar",-1,2),new r("er",-1,2),new r("ir",-1,2)],f=[new r("ic",-1,-1),new r("abil",-1,-1),new r("os",-1,-1),new r("iv",-1,1)],d=[new r("ic",-1,1),new r("abil",-1,1),new r("iv",-1,1)],p=[new r("ica",-1,1),new r("logia",-1,3),new r("osa",-1,1),new r("ista",-1,1),new r("iva",-1,9),new r("anza",-1,1),new r("enza",-1,5),new r("ice",-1,1),new r("atrice",7,1),new r("iche",-1,1),new r("logie",-1,3),new r("abile",-1,1),new r("ibile",-1,1),new r("usione",-1,4),new r("azione",-1,2),new r("uzione",-1,4),new r("atore",-1,2),new r("ose",-1,1),new r("ante",-1,1),new r("mente",-1,1),new r("amente",19,7),new r("iste",-1,1),new r("ive",-1,9),new r("anze",-1,1),new r("enze",-1,5),new r("ici",-1,1),new r("atrici",25,1),new r("ichi",-1,1),new r("abili",-1,1),new r("ibili",-1,1),new r("ismi",-1,1),new r("usioni",-1,4),new r("azioni",-1,2),new r("uzioni",-1,4),new r("atori",-1,2),new r("osi",-1,1),new r("anti",-1,1),new r("amenti",-1,6),new r("imenti",-1,6),new r("isti",-1,1),new r("ivi",-1,9),new r("ico",-1,1),new r("ismo",-1,1),new r("oso",-1,1),new r("amento",-1,6),new r("imento",-1,6),new r("ivo",-1,9),new r("ità",-1,8),new r("istà",-1,1),new r("istè",-1,1),new r("istì",-1,1)],y=[new r("isca",-1,1),new r("enda",-1,1),new r("ata",-1,1),new r("ita",-1,1),new r("uta",-1,1),new r("ava",-1,1),new r("eva",-1,1),new r("iva",-1,1),new r("erebbe",-1,1),new r("irebbe",-1,1),new r("isce",-1,1),new r("ende",-1,1),new r("are",-1,1),new r("ere",-1,1),new r("ire",-1,1),new r("asse",-1,1),new r("ate",-1,1),new r("avate",16,1),new r("evate",16,1),new r("ivate",16,1),new r("ete",-1,1),new r("erete",20,1),new r("irete",20,1),new r("ite",-1,1),new r("ereste",-1,1),new r("ireste",-1,1),new r("ute",-1,1),new r("erai",-1,1),new r("irai",-1,1),new r("isci",-1,1),new r("endi",-1,1),new r("erei",-1,1),new r("irei",-1,1),new r("assi",-1,1),new r("ati",-1,1),new r("iti",-1,1),new r("eresti",-1,1),new r("iresti",-1,1),new r("uti",-1,1),new r("avi",-1,1),new r("evi",-1,1),new r("ivi",-1,1),new r("isco",-1,1),new r("ando",-1,1),new r("endo",-1,1),new r("Yamo",-1,1),new r("iamo",-1,1),new r("avamo",-1,1),new r("evamo",-1,1),new r("ivamo",-1,1),new r("eremo",-1,1),new r("iremo",-1,1),new r("assimo",-1,1),new r("ammo",-1,1),new r("emmo",-1,1),new r("eremmo",54,1),new r("iremmo",54,1),new r("immo",-1,1),new r("ano",-1,1),new r("iscano",58,1),new r("avano",58,1),new r("evano",58,1),new r("ivano",58,1),new r("eranno",-1,1),new r("iranno",-1,1),new r("ono",-1,1),new r("iscono",65,1),new r("arono",65,1),new r("erono",65,1),new r("irono",65,1),new r("erebbero",-1,1),new r("irebbero",-1,1),new r("assero",-1,1),new r("essero",-1,1),new r("issero",-1,1),new r("ato",-1,1),new r("ito",-1,1),new r("uto",-1,1),new r("avo",-1,1),new r("evo",-1,1),new r("ivo",-1,1),new r("ar",-1,1),new r("ir",-1,1),new r("erà",-1,1),new r("irà",-1,1),new r("erò",-1,1),new r("irò",-1,1)],g=[17,65,16,0,0,0,0,0,0,0,0,0,0,0,0,128,128,8,2,1],w=[17,65,0,0,0,0,0,0,0,0,0,0,0,0,0,128,128,8,2],_=[17],b,E,S,v=new i;this.setCurrent=function(U){v.setCurrent(U)},this.getCurrent=function(){return v.getCurrent()};function C(U,W,ne){return v.eq_s(1,U)&&(v.ket=v.cursor,v.in_grouping(g,97,249))?(v.slice_from(W),v.cursor=ne,!0):!1}function A(){for(var U,W=v.cursor,ne,ce,ve;;){if(v.bra=v.cursor,U=v.find_among(s,7),U)switch(v.ket=v.cursor,U){case 1:v.slice_from("à");continue;case 2:v.slice_from("è");continue;case 3:v.slice_from("ì");continue;case 4:v.slice_from("ò");continue;case 5:v.slice_from("ù");continue;case 6:v.slice_from("qU");continue;case 7:if(v.cursor>=v.limit)break;v.cursor++;continue}break}for(v.cursor=W;;)for(ne=v.cursor;ce=v.cursor,!(v.in_grouping(g,97,249)&&(v.bra=v.cursor,ve=v.cursor,C("u","U",ce)||(v.cursor=ve,C("i","I",ce))));){if(v.cursor=ce,v.cursor>=v.limit){v.cursor=ne;return}v.cursor++}}function M(U){if(v.cursor=U,!v.in_grouping(g,97,249))return!1;for(;!v.out_grouping(g,97,249);){if(v.cursor>=v.limit)return!1;v.cursor++}return!0}function R(){if(v.in_grouping(g,97,249)){var U=v.cursor;if(v.out_grouping(g,97,249)){for(;!v.in_grouping(g,97,249);){if(v.cursor>=v.limit)return M(U);v.cursor++}return!0}return M(U)}return!1}function O(){var U=v.cursor,W;if(!R()){if(v.cursor=U,!v.out_grouping(g,97,249))return;if(W=v.cursor,v.out_grouping(g,97,249)){for(;!v.in_grouping(g,97,249);){if(v.cursor>=v.limit){v.cursor=W,v.in_grouping(g,97,249)&&v.cursor=v.limit)return;v.cursor++}S=v.cursor}function P(){for(;!v.in_grouping(g,97,249);){if(v.cursor>=v.limit)return!1;v.cursor++}for(;!v.out_grouping(g,97,249);){if(v.cursor>=v.limit)return!1;v.cursor++}return!0}function z(){var U=v.cursor;S=v.limit,E=S,b=S,O(),v.cursor=U,P()&&(E=v.cursor,P()&&(b=v.cursor))}function Y(){for(var U;v.bra=v.cursor,U=v.find_among(u,3),!!U;)switch(v.ket=v.cursor,U){case 1:v.slice_from("i");break;case 2:v.slice_from("u");break;case 3:if(v.cursor>=v.limit)return;v.cursor++;break}}function F(){return S<=v.cursor}function D(){return E<=v.cursor}function B(){return b<=v.cursor}function Q(){var U;if(v.ket=v.cursor,v.find_among_b(l,37)&&(v.bra=v.cursor,U=v.find_among_b(c,5),U&&F()))switch(U){case 1:v.slice_del();break;case 2:v.slice_from("e");break}}function K(){var U;if(v.ket=v.cursor,U=v.find_among_b(p,51),!U)return!1;switch(v.bra=v.cursor,U){case 1:if(!B())return!1;v.slice_del();break;case 2:if(!B())return!1;v.slice_del(),v.ket=v.cursor,v.eq_s_b(2,"ic")&&(v.bra=v.cursor,B()&&v.slice_del());break;case 3:if(!B())return!1;v.slice_from("log");break;case 4:if(!B())return!1;v.slice_from("u");break;case 5:if(!B())return!1;v.slice_from("ente");break;case 6:if(!F())return!1;v.slice_del();break;case 7:if(!D())return!1;v.slice_del(),v.ket=v.cursor,U=v.find_among_b(f,4),U&&(v.bra=v.cursor,B()&&(v.slice_del(),U==1&&(v.ket=v.cursor,v.eq_s_b(2,"at")&&(v.bra=v.cursor,B()&&v.slice_del()))));break;case 8:if(!B())return!1;v.slice_del(),v.ket=v.cursor,U=v.find_among_b(d,3),U&&(v.bra=v.cursor,U==1&&B()&&v.slice_del());break;case 9:if(!B())return!1;v.slice_del(),v.ket=v.cursor,v.eq_s_b(2,"at")&&(v.bra=v.cursor,B()&&(v.slice_del(),v.ket=v.cursor,v.eq_s_b(2,"ic")&&(v.bra=v.cursor,B()&&v.slice_del())));break}return!0}function H(){var U,W;v.cursor>=S&&(W=v.limit_backward,v.limit_backward=S,v.ket=v.cursor,U=v.find_among_b(y,87),U&&(v.bra=v.cursor,U==1&&v.slice_del()),v.limit_backward=W)}function L(){var U=v.limit-v.cursor;if(v.ket=v.cursor,v.in_grouping_b(w,97,242)&&(v.bra=v.cursor,F()&&(v.slice_del(),v.ket=v.cursor,v.eq_s_b(1,"i")&&(v.bra=v.cursor,F())))){v.slice_del();return}v.cursor=v.limit-U}function G(){L(),v.ket=v.cursor,v.eq_s_b(1,"h")&&(v.bra=v.cursor,v.in_grouping_b(_,99,103)&&F()&&v.slice_del())}this.stem=function(){var U=v.cursor;return A(),v.cursor=U,z(),v.limit_backward=U,v.cursor=v.limit,Q(),v.cursor=v.limit,K()||(v.cursor=v.limit,H()),v.cursor=v.limit,G(),v.cursor=v.limit_backward,Y(),!0}};return function(o){return typeof o.update=="function"?o.update(function(s){return a.setCurrent(s),a.stem(),a.getCurrent()}):(a.setCurrent(o),a.stem(),a.getCurrent())}}(),n.Pipeline.registerFunction(n.it.stemmer,"stemmer-it"),n.it.stopWordFilter=n.generateStopWordFilter("a abbia abbiamo abbiano abbiate ad agl agli ai al all alla alle allo anche avemmo avendo avesse avessero avessi avessimo aveste avesti avete aveva avevamo avevano avevate avevi avevo avrai avranno avrebbe avrebbero avrei avremmo avremo avreste avresti avrete avrà avrò avuta avute avuti avuto c che chi ci coi col come con contro cui da dagl dagli dai dal dall dalla dalle dallo degl degli dei del dell della delle dello di dov dove e ebbe ebbero ebbi ed era erano eravamo eravate eri ero essendo faccia facciamo facciano facciate faccio facemmo facendo facesse facessero facessi facessimo faceste facesti faceva facevamo facevano facevate facevi facevo fai fanno farai faranno farebbe farebbero farei faremmo faremo fareste faresti farete farà farò fece fecero feci fosse fossero fossi fossimo foste fosti fu fui fummo furono gli ha hai hanno ho i il in io l la le lei li lo loro lui ma mi mia mie miei mio ne negl negli nei nel nell nella nelle nello noi non nostra nostre nostri nostro o per perché più quale quanta quante quanti quanto quella quelle quelli quello questa queste questi questo sarai saranno sarebbe sarebbero sarei saremmo saremo sareste saresti sarete sarà sarò se sei si sia siamo siano siate siete sono sta stai stando stanno starai staranno starebbe starebbero starei staremmo staremo stareste staresti starete starà starò stava stavamo stavano stavate stavi stavo stemmo stesse stessero stessi stessimo steste stesti stette stettero stetti stia stiamo stiano stiate sto su sua sue sugl sugli sui sul sull sulla sulle sullo suo suoi ti tra tu tua tue tuo tuoi tutti tutto un una uno vi voi vostra vostre vostri vostro è".split(" ")),n.Pipeline.registerFunction(n.it.stopWordFilter,"stopWordFilter-it")}})}(Hy)),Hy.exports}var LDe=FDe();const BDe=Un(LDe);var qy={exports:{}};/*! * Lunr languages, `Russian` language * https://github.com/MihaiValentin/lunr-languages * * Copyright 2014, Mihai Valentin * http://www.mozilla.org/MPL/ */var zDe=qy.exports,AF;function UDe(){return AF||(AF=1,function(e,t){(function(n,r){e.exports=r()})(zDe,function(){return function(n){if(typeof n>"u")throw new Error("Lunr is not present. Please include / require Lunr before this script.");if(typeof n.stemmerSupport>"u")throw new Error("Lunr stemmer support is not present. Please include / require Lunr stemmer support before this script.");n.ru=function(){this.pipeline.reset(),this.pipeline.add(n.ru.trimmer,n.ru.stopWordFilter,n.ru.stemmer),this.searchPipeline&&(this.searchPipeline.reset(),this.searchPipeline.add(n.ru.stemmer))},n.ru.wordCharacters="Ѐ-҄҇-ԯᴫᵸⷠ-ⷿꙀ-ꚟ︮︯",n.ru.trimmer=n.trimmerSupport.generateTrimmer(n.ru.wordCharacters),n.Pipeline.registerFunction(n.ru.trimmer,"trimmer-ru"),n.ru.stemmer=function(){var r=n.stemmerSupport.Among,i=n.stemmerSupport.SnowballProgram,a=new function(){var s=[new r("в",-1,1),new r("ив",0,2),new r("ыв",0,2),new r("вши",-1,1),new r("ивши",3,2),new r("ывши",3,2),new r("вшись",-1,1),new r("ившись",6,2),new r("ывшись",6,2)],u=[new r("ее",-1,1),new r("ие",-1,1),new r("ое",-1,1),new r("ые",-1,1),new r("ими",-1,1),new r("ыми",-1,1),new r("ей",-1,1),new r("ий",-1,1),new r("ой",-1,1),new r("ый",-1,1),new r("ем",-1,1),new r("им",-1,1),new r("ом",-1,1),new r("ым",-1,1),new r("его",-1,1),new r("ого",-1,1),new r("ему",-1,1),new r("ому",-1,1),new r("их",-1,1),new r("ых",-1,1),new r("ею",-1,1),new r("ою",-1,1),new r("ую",-1,1),new r("юю",-1,1),new r("ая",-1,1),new r("яя",-1,1)],l=[new r("ем",-1,1),new r("нн",-1,1),new r("вш",-1,1),new r("ивш",2,2),new r("ывш",2,2),new r("щ",-1,1),new r("ющ",5,1),new r("ующ",6,2)],c=[new r("сь",-1,1),new r("ся",-1,1)],f=[new r("ла",-1,1),new r("ила",0,2),new r("ыла",0,2),new r("на",-1,1),new r("ена",3,2),new r("ете",-1,1),new r("ите",-1,2),new r("йте",-1,1),new r("ейте",7,2),new r("уйте",7,2),new r("ли",-1,1),new r("или",10,2),new r("ыли",10,2),new r("й",-1,1),new r("ей",13,2),new r("уй",13,2),new r("л",-1,1),new r("ил",16,2),new r("ыл",16,2),new r("ем",-1,1),new r("им",-1,2),new r("ым",-1,2),new r("н",-1,1),new r("ен",22,2),new r("ло",-1,1),new r("ило",24,2),new r("ыло",24,2),new r("но",-1,1),new r("ено",27,2),new r("нно",27,1),new r("ет",-1,1),new r("ует",30,2),new r("ит",-1,2),new r("ыт",-1,2),new r("ют",-1,1),new r("уют",34,2),new r("ят",-1,2),new r("ны",-1,1),new r("ены",37,2),new r("ть",-1,1),new r("ить",39,2),new r("ыть",39,2),new r("ешь",-1,1),new r("ишь",-1,2),new r("ю",-1,2),new r("ую",44,2)],d=[new r("а",-1,1),new r("ев",-1,1),new r("ов",-1,1),new r("е",-1,1),new r("ие",3,1),new r("ье",3,1),new r("и",-1,1),new r("еи",6,1),new r("ии",6,1),new r("ами",6,1),new r("ями",6,1),new r("иями",10,1),new r("й",-1,1),new r("ей",12,1),new r("ией",13,1),new r("ий",12,1),new r("ой",12,1),new r("ам",-1,1),new r("ем",-1,1),new r("ием",18,1),new r("ом",-1,1),new r("ям",-1,1),new r("иям",21,1),new r("о",-1,1),new r("у",-1,1),new r("ах",-1,1),new r("ях",-1,1),new r("иях",26,1),new r("ы",-1,1),new r("ь",-1,1),new r("ю",-1,1),new r("ию",30,1),new r("ью",30,1),new r("я",-1,1),new r("ия",33,1),new r("ья",33,1)],p=[new r("ост",-1,1),new r("ость",-1,1)],y=[new r("ейше",-1,1),new r("н",-1,2),new r("ейш",-1,1),new r("ь",-1,3)],g=[33,65,8,232],w,_,b=new i;this.setCurrent=function(Q){b.setCurrent(Q)},this.getCurrent=function(){return b.getCurrent()};function E(){for(;!b.in_grouping(g,1072,1103);){if(b.cursor>=b.limit)return!1;b.cursor++}return!0}function S(){for(;!b.out_grouping(g,1072,1103);){if(b.cursor>=b.limit)return!1;b.cursor++}return!0}function v(){_=b.limit,w=_,E()&&(_=b.cursor,S()&&E()&&S()&&(w=b.cursor))}function C(){return w<=b.cursor}function A(Q,K){var H,L;if(b.ket=b.cursor,H=b.find_among_b(Q,K),H){switch(b.bra=b.cursor,H){case 1:if(L=b.limit-b.cursor,!b.eq_s_b(1,"а")&&(b.cursor=b.limit-L,!b.eq_s_b(1,"я")))return!1;case 2:b.slice_del();break}return!0}return!1}function M(){return A(s,9)}function R(Q,K){var H;return b.ket=b.cursor,H=b.find_among_b(Q,K),H?(b.bra=b.cursor,H==1&&b.slice_del(),!0):!1}function O(){return R(u,26)}function P(){return O()?(A(l,8),!0):!1}function z(){return R(c,2)}function Y(){return A(f,46)}function F(){R(d,36)}function D(){var Q;b.ket=b.cursor,Q=b.find_among_b(p,2),Q&&(b.bra=b.cursor,C()&&Q==1&&b.slice_del())}function B(){var Q;if(b.ket=b.cursor,Q=b.find_among_b(y,4),Q)switch(b.bra=b.cursor,Q){case 1:if(b.slice_del(),b.ket=b.cursor,!b.eq_s_b(1,"н"))break;b.bra=b.cursor;case 2:if(!b.eq_s_b(1,"н"))break;case 3:b.slice_del();break}}this.stem=function(){return v(),b.cursor=b.limit,b.cursor<_?!1:(b.limit_backward=_,M()||(b.cursor=b.limit,z()||(b.cursor=b.limit),P()||(b.cursor=b.limit,Y()||(b.cursor=b.limit,F()))),b.cursor=b.limit,b.ket=b.cursor,b.eq_s_b(1,"и")?(b.bra=b.cursor,b.slice_del()):b.cursor=b.limit,D(),b.cursor=b.limit,B(),!0)}};return function(o){return typeof o.update=="function"?o.update(function(s){return a.setCurrent(s),a.stem(),a.getCurrent()}):(a.setCurrent(o),a.stem(),a.getCurrent())}}(),n.Pipeline.registerFunction(n.ru.stemmer,"stemmer-ru"),n.ru.stopWordFilter=n.generateStopWordFilter("алло без близко более больше будем будет будете будешь будто буду будут будь бы бывает бывь был была были было быть в важная важное важные важный вам вами вас ваш ваша ваше ваши вверх вдали вдруг ведь везде весь вниз внизу во вокруг вон восемнадцатый восемнадцать восемь восьмой вот впрочем времени время все всегда всего всем всеми всему всех всею всю всюду вся всё второй вы г где говорил говорит год года году да давно даже далеко дальше даром два двадцатый двадцать две двенадцатый двенадцать двух девятнадцатый девятнадцать девятый девять действительно дел день десятый десять для до довольно долго должно другая другие других друго другое другой е его ее ей ему если есть еще ещё ею её ж же жизнь за занят занята занято заняты затем зато зачем здесь значит и из или им именно иметь ими имя иногда их к каждая каждое каждые каждый кажется как какая какой кем когда кого ком кому конечно которая которого которой которые который которых кроме кругом кто куда лет ли лишь лучше люди м мало между меля менее меньше меня миллионов мимо мира мне много многочисленная многочисленное многочисленные многочисленный мной мною мог могут мож может можно можхо мои мой мор мочь моя моё мы на наверху над надо назад наиболее наконец нам нами нас начала наш наша наше наши не него недавно недалеко нее ней нельзя нем немного нему непрерывно нередко несколько нет нею неё ни нибудь ниже низко никогда никуда ними них ничего но ну нужно нх о об оба обычно один одиннадцатый одиннадцать однажды однако одного одной около он она они оно опять особенно от отовсюду отсюда очень первый перед по под пожалуйста позже пока пор пора после посреди потом потому почему почти прекрасно при про просто против процентов пятнадцатый пятнадцать пятый пять раз разве рано раньше рядом с сам сама сами самим самими самих само самого самой самом самому саму свое своего своей свои своих свою сеаой себе себя сегодня седьмой сейчас семнадцатый семнадцать семь сих сказал сказала сказать сколько слишком сначала снова со собой собою совсем спасибо стал суть т та так такая также такие такое такой там твой твоя твоё те тебе тебя тем теми теперь тех то тобой тобою тогда того тоже только том тому тот тою третий три тринадцатый тринадцать ту туда тут ты тысяч у уж уже уметь хорошо хотеть хоть хотя хочешь часто чаще чего человек чем чему через четвертый четыре четырнадцатый четырнадцать что чтоб чтобы чуть шестнадцатый шестнадцать шестой шесть эта эти этим этими этих это этого этой этом этому этот эту я \uFEFFа".split(" ")),n.Pipeline.registerFunction(n.ru.stopWordFilter,"stopWordFilter-ru")}})}(qy)),qy.exports}var jDe=UDe();const HDe=Un(jDe);var Wy={exports:{}};/*! * Snowball JavaScript Library v0.3 * http://code.google.com/p/urim/ * http://snowball.tartarus.org/ * * Copyright 2010, Oleg Mazko * http://www.mozilla.org/MPL/ */var qDe=Wy.exports,TF;function WDe(){return TF||(TF=1,function(e,t){(function(n,r){e.exports=r()})(qDe,function(){return function(n){n.stemmerSupport={Among:function(r,i,a,o){if(this.toCharArray=function(s){for(var u=s.length,l=new Array(u),c=0;c=a&&(s-=a,i[s>>3]&1<<(s&7)))return this.cursor++,!0}return!1},in_grouping_b:function(i,a,o){if(this.cursor>this.limit_backward){var s=r.charCodeAt(this.cursor-1);if(s<=o&&s>=a&&(s-=a,i[s>>3]&1<<(s&7)))return this.cursor--,!0}return!1},out_grouping:function(i,a,o){if(this.cursoro||s>3]&1<<(s&7)))return this.cursor++,!0}return!1},out_grouping_b:function(i,a,o){if(this.cursor>this.limit_backward){var s=r.charCodeAt(this.cursor-1);if(s>o||s>3]&1<<(s&7)))return this.cursor--,!0}return!1},eq_s:function(i,a){if(this.limit-this.cursor>1),y=0,g=c0||s==o||d)break;d=!0}}for(;;){var w=i[o];if(c>=w.s_size){if(this.cursor=u+w.s_size,!w.method)return w.result;var b=w.method();if(this.cursor=u+w.s_size,b)return w.result}if(o=w.substring_i,o<0)return 0}},find_among_b:function(i,a){for(var o=0,s=a,u=this.cursor,l=this.limit_backward,c=0,f=0,d=!1;;){for(var p=o+(s-o>>1),y=0,g=c=0;_--){if(u-g==l){y=-1;break}if(y=r.charCodeAt(u-1-g)-w.s[_],y)break;g++}if(y<0?(s=p,f=g):(o=p,c=g),s-o<=1){if(o>0||s==o||d)break;d=!0}}for(;;){var w=i[o];if(c>=w.s_size){if(this.cursor=u-w.s_size,!w.method)return w.result;var b=w.method();if(this.cursor=u-w.s_size,b)return w.result}if(o=w.substring_i,o<0)return 0}},replace_s:function(i,a,o){var s=o.length-(a-i),u=r.substring(0,i),l=r.substring(a);return r=u+o+l,this.limit+=s,this.cursor>=a?this.cursor+=s:this.cursor>i&&(this.cursor=i),s},slice_check:function(){if(this.bra<0||this.bra>this.ket||this.ket>this.limit||this.limit>r.length)throw"faulty slice operation"},slice_from:function(i){this.slice_check(),this.replace_s(this.bra,this.ket,i)},slice_del:function(){this.slice_from("")},insert:function(i,a,o){var s=this.replace_s(i,a,o);i<=this.bra&&(this.bra+=s),i<=this.ket&&(this.ket+=s)},slice_to:function(){return this.slice_check(),r.substring(this.bra,this.ket)},eq_v_b:function(i){return this.eq_s_b(i.length,i)}}}},n.trimmerSupport={generateTrimmer:function(r){var i=new RegExp("^[^"+r+"]+"),a=new RegExp("[^"+r+"]+$");return function(o){return typeof o.update=="function"?o.update(function(s){return s.replace(i,"").replace(a,"")}):o.replace(i,"").replace(a,"")}}}}})}(Wy)),Wy.exports}var GDe=WDe();const VDe=Un(GDe);VDe(Aa);IDe(Aa);$De(Aa);BDe(Aa);HDe(Aa);const YDe=8;function MF(e){return e.toLocaleLowerCase().normalize("NFD").replace(/[\u0300-\u036f]/g,"").replace(/\u0142/g,"l")}function QDe(e,t){return e.score!==t.score?t.score-e.score:CDe(e.ref,t.ref)}function KDe(e,t,n){return(e.fams||[]).map(r=>n.get(r)).map(r=>r&&r.husb).map(r=>r&&t.get(r)).map(r=>r&&r.lastName).join(" ")}class XDe{constructor(t){this.indiMap=t3(t),this.famMap=uj(t)}initialize(){const t=this;this.index=Aa(function(){t.initMultiLingualLunrWithoutTrimmer(this,["de","en","fr","it","ru"]),this.ref("id"),this.field("id"),this.field("name",{boost:10}),this.field("normalizedName",{boost:8}),this.field("spouseLastName",{boost:2}),this.field("normalizedSpouseLastName",{boost:2}),t.indiMap.forEach(n=>{const r=[n.firstName,n.lastName].join(" "),i=KDe(n,t.indiMap,t.famMap);this.add({id:n.id,name:r,normalizedName:MF(r),spouseLastName:i,normalizedSpouseLastName:MF(i)})})})}initMultiLingualLunrWithoutTrimmer(t,n){let r="";const i=[],a=[];n.forEach(o=>{const s=Aa[o];o==="en"?(r+="\\w",i.unshift(Aa.stopWordFilter),i.push(Aa.stemmer),a.push(Aa.stemmer)):(r+=s.wordCharacters,s.stopWordFilter&&i.unshift(s.stopWordFilter),s.stemmer&&(i.push(s.stemmer),a.push(s.stemmer)))}),t.pipeline.reset(),t.pipeline.add.apply(t.pipeline,i),t.searchPipeline&&(t.searchPipeline.reset(),t.searchPipeline.add.apply(t.searchPipeline,a))}search(t){const n=t.split(" ").filter(i=>!!i).map(i=>`${i} ${i}*`).join(" ");return this.index.search(n).sort(QDe).slice(0,YDe).map(i=>({id:i.ref,indi:this.indiMap.get(i.ref)}))}}function ZDe(e){const t=new XDe(e);return t.initialize(),t}function JDe(e){const t=[e.indi.firstName,e.indi.lastName].join(" ").trim();return e.id.length>8?t:q.jsxs(q.Fragment,{children:[t," ",q.jsxs("i",{children:["(",e.id,")"]})]})}function eFe(e){const[t,n]=ee.useState([]),[r,i]=ee.useState(""),a=ee.useRef(void 0),o=Ii();function s(p){const y=wm(p.birth,o),g=wm(p.death,o);return g?`${y} – ${g}`:y}function u(p){return{id:p.id,key:p.id,title:JDe(p),description:s(p.indi)}}function l(p){if(!p)return;const y=a.current.search(p).map(g=>u(g));n(y)}const c=ee.useRef(xDe(l,200));function f(p){Fn("search_result_selected"),e.onSelection({id:p,generation:0}),i("")}function d(p){c.current(p),i(p)}return ee.useEffect(()=>{a.current=ZDe(e.data)},[e.data]),q.jsx(fu,{onSearchChange:(p,y)=>d(y.value),onResultSelect:(p,y)=>f(y.result.id),results:t,noResultsMessage:o.formatMessage({id:"menu.search.no_results",defaultMessage:"No results found"}),placeholder:o.formatMessage({id:"menu.search.placeholder",defaultMessage:"Search for people"}),selectFirstResult:!0,value:r,id:"search"})}var QE={exports:{}},KE={exports:{}},PF;function tFe(){return PF||(PF=1,function(){var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",t={rotl:function(n,r){return n<>>32-r},rotr:function(n,r){return n<<32-r|n>>>r},endian:function(n){if(n.constructor==Number)return t.rotl(n,8)&16711935|t.rotl(n,24)&4278255360;for(var r=0;r0;n--)r.push(Math.floor(Math.random()*256));return r},bytesToWords:function(n){for(var r=[],i=0,a=0;i>>5]|=n[i]<<24-a%32;return r},wordsToBytes:function(n){for(var r=[],i=0;i>>5]>>>24-i%32&255);return r},bytesToHex:function(n){for(var r=[],i=0;i>>4).toString(16)),r.push((n[i]&15).toString(16));return r.join("")},hexToBytes:function(n){for(var r=[],i=0;i>>6*(3-o)&63)):r.push("=");return r.join("")},base64ToBytes:function(n){n=n.replace(/[^A-Z0-9+\/]/ig,"");for(var r=[],i=0,a=0;i>>6-a*2);return r}};KE.exports=t}()),KE.exports}var XE,IF;function RF(){if(IF)return XE;IF=1;var e={utf8:{stringToBytes:function(t){return e.bin.stringToBytes(unescape(encodeURIComponent(t)))},bytesToString:function(t){return decodeURIComponent(escape(e.bin.bytesToString(t)))}},bin:{stringToBytes:function(t){for(var n=[],r=0;r * @license MIT */var ZE,NF;function nFe(){if(NF)return ZE;NF=1,ZE=function(n){return n!=null&&(e(n)||t(n)||!!n._isBuffer)};function e(n){return!!n.constructor&&typeof n.constructor.isBuffer=="function"&&n.constructor.isBuffer(n)}function t(n){return typeof n.readFloatLE=="function"&&typeof n.slice=="function"&&e(n.slice(0,0))}return ZE}var OF;function rFe(){return OF||(OF=1,function(){var e=tFe(),t=RF().utf8,n=nFe(),r=RF().bin,i=function(a,o){a.constructor==String?o&&o.encoding==="binary"?a=r.stringToBytes(a):a=t.stringToBytes(a):n(a)?a=Array.prototype.slice.call(a,0):!Array.isArray(a)&&a.constructor!==Uint8Array&&(a=a.toString());for(var s=e.bytesToWords(a),u=a.length*8,l=1732584193,c=-271733879,f=-1732584194,d=271733878,p=0;p>>24)&16711935|(s[p]<<24|s[p]>>>8)&4278255360;s[u>>>5]|=128<>>9<<4)+14]=u;for(var y=i._ff,g=i._gg,w=i._hh,_=i._ii,p=0;p>>0,c=c+E>>>0,f=f+S>>>0,d=d+v>>>0}return e.endian([l,c,f,d])};i._ff=function(a,o,s,u,l,c,f){var d=a+(o&s|~o&u)+(l>>>0)+f;return(d<>>32-c)+o},i._gg=function(a,o,s,u,l,c,f){var d=a+(o&u|s&~u)+(l>>>0)+f;return(d<>>32-c)+o},i._hh=function(a,o,s,u,l,c,f){var d=a+(o^s^u)+(l>>>0)+f;return(d<>>32-c)+o},i._ii=function(a,o,s,u,l,c,f){var d=a+(s^(o|~u))+(l>>>0)+f;return(d<>>32-c)+o},i._blocksize=16,i._digestsize=16,QE.exports=function(a,o){if(a==null)throw new Error("Illegal argument "+a);var s=e.wordsToBytes(i(a,o));return o&&o.asBytes?s:o&&o.asString?r.bytesToString(s):e.bytesToHex(s)}}()),QE.exports}var iFe=rFe();const $F=Un(iFe);function aFe(e){const t=e.toLowerCase();return t.endsWith(".jpg")||t.endsWith(".png")}function JE(e){const t=Nl(),n=ii();async function r(a){const o=a.target.files;if(!o||!o.length)return;const s=Array.from(o);a.target.value="",Fn("upload_files_selected",{event_value:o.length});const u=s.length===1?s[0]:s.find(g=>g.name.toLowerCase().endsWith(".ged"))||s[0],{gedcom:l,images:c}=await Ij(u);s.filter(g=>g.name!==u.name&&aFe(g.name)).forEach(g=>c.set(g.name,URL.createObjectURL(g)));const f=Array.from(c.keys()).sort().join("|"),d=$F($F(l)+f),y=Ur.parse(n.search).file===d;t({pathname:"/view",search:Ur.stringify({file:d})},{replace:y,state:{data:l,images:c}})}const i=q.jsxs(q.Fragment,{children:[q.jsx(st,{name:"folder open"}),q.jsx(He,{id:"menu.open_file",defaultMessage:"Open file"})]});return q.jsxs(q.Fragment,{children:[e.menuType===or.Menu?q.jsx("label",{htmlFor:"fileInput",children:q.jsx(an.Item,{as:"a",children:i})}):q.jsx(nt.Item,{as:"label",htmlFor:"fileInput",children:i}),q.jsx("input",{className:"hidden",type:"file",accept:".ged,.gdz,.gedzip,.zip,image/*",id:"fileInput",multiple:!0,onChange:r})]})}function eS(e){const[t,n]=ee.useState(!1),[r,i]=ee.useState(""),a=ee.useRef(null),o=Nl();ee.useEffect(()=>{t&&(i(""),a.current.focus())},[t]);function s(){n(!1),r&&(Fn("url_selected"),o({pathname:"/view",search:Ur.stringify({url:r})}))}function u(){return q.jsxs(Mn,{open:t,onClose:()=>n(!1),centered:!1,children:[q.jsxs(Bn,{children:[q.jsx(st,{name:"cloud download"}),q.jsx(He,{id:"load_from_url.title",defaultMessage:"Load from URL"})]}),q.jsx(Mn.Content,{children:q.jsxs(en,{onSubmit:s,children:[q.jsx(Lo,{placeholder:"https://",fluid:!0,value:r,onChange:(l,c)=>i(c.value),ref:a}),q.jsx("p",{children:q.jsx(He,{id:"load_from_url.comment",defaultMessage:"Data from the URL will be loaded through {link} to avoid CORS issues.",values:{link:q.jsx("a",{href:"https://topolaproxy.bieda.it/",children:"topolaproxy.bieda.it (cors-anywhere proxy)"})}})})]})}),q.jsxs(Mn.Actions,{children:[q.jsx(zn,{secondary:!0,onClick:()=>n(!1),children:q.jsx(He,{id:"load_from_url.cancel",defaultMessage:"Cancel"})}),q.jsx(zn,{primary:!0,onClick:s,children:q.jsx(He,{id:"load_from_url.load",defaultMessage:"Load"})})]})]})}return q.jsxs(q.Fragment,{children:[q.jsxs(pw,{onClick:()=>n(!0),menuType:e.menuType,children:[q.jsx(st,{name:"cloud download"}),q.jsx(He,{id:"menu.load_from_url",defaultMessage:"Load from URL"})]}),u()]})}const mw=""+new URL("wikitree-B3ZIaA3X.png",import.meta.url).href;function ep(e){const[t,n]=ee.useState(!1),[r,i]=ee.useState(""),a=ee.useRef(null),o=Nl(),s=ii();ee.useEffect(()=>{t&&(i(""),a.current.focus())},[t]);function u(){if(n(!1),!r)return;Fn("wikitree_id_selected");const f=Ur.parse(s.search),d=f.standalone!==void 0?f.standalone:!0;o({pathname:"/view",search:Ur.stringify({indi:r,source:"wikitree",standalone:d})})}function l(f,d){f.preventDefault(),i(d),a.current.focus()}function c(){return q.jsxs(Mn,{open:t,onClose:()=>n(!1),centered:!1,children:[q.jsxs(Bn,{children:[q.jsx("img",{src:mw,alt:"WikiTree logo",style:{width:"32px",height:"32px"}}),q.jsx(He,{id:"select_wikitree_id.title",defaultMessage:"Select WikiTree ID"})]}),q.jsx(Mn.Content,{children:q.jsxs(en,{onSubmit:u,children:[q.jsx("p",{children:q.jsx(He,{id:"select_wikitree_id.comment",defaultMessage:"Enter a {wikiTreeLink} profile ID. Examples: {example1}, {example2}.",values:{wikiTreeLink:q.jsx("a",{href:"https://wikitree.com/",target:"_blank",rel:"noopener noreferrer",children:"WikiTree"}),example1:q.jsx("span",{onClick:f=>l(f,"Wojtyla-13"),className:"link-span",children:"Wojtyla-13"}),example2:q.jsx("span",{onClick:f=>l(f,"Skłodowska-2"),className:"link-span",children:"Skłodowska-2"})}})}),q.jsx(Lo,{fluid:!0,value:r,onChange:(f,d)=>i(d.value),ref:a})]})}),q.jsxs(Mn.Actions,{children:[q.jsx(zn,{secondary:!0,onClick:()=>n(!1),children:q.jsx(He,{id:"select_wikitree_id.cancel",defaultMessage:"Cancel"})}),q.jsx(zn,{primary:!0,onClick:u,children:q.jsx(He,{id:"select_wikitree_id.load",defaultMessage:"Load"})})]})]})}return q.jsxs(q.Fragment,{children:[q.jsxs(pw,{menuType:e.menuType,onClick:()=>n(!0),children:[q.jsx("img",{src:mw,alt:"WikiTree logo",className:"menu-icon"}),q.jsx(He,{id:"menu.select_wikitree_id",defaultMessage:"Select WikiTree ID"})]}),c()]})}function oFe(e){const t=Ii();function n(){const o=`https://apps.wikitree.com/apps/wiech13/topola-viewer${window.location.hash}`;qf.navigateToLoginPage(o)}const r=qf.getLoggedInUserName();if(!r)return q.jsx(q.Fragment,{children:q.jsxs(pw,{menuType:e.menuType,onClick:n,children:[q.jsx("img",{src:mw,alt:"WikiTree logo",className:"menu-icon"}),q.jsx(He,{id:"menu.wikitree_login",defaultMessage:"Log in to WikiTree"})]})});const i=t.formatMessage({id:"menu.wikitree_popup_username",defaultMessage:"Logged in to WikiTree as {username}"},{username:r});return q.jsxs(pw,{menuType:e.menuType,title:i,children:[q.jsx("img",{src:mw,alt:"WikiTree logo",className:"menu-icon"}),q.jsx(He,{id:"menu.wikitree_logged_in",defaultMessage:"Logged in"})]})}function sFe(e){const t=Nl(),n=ii();function r(c){const f=Ur.parse(n.search);f.view!==c&&(f.view=c,n.search=Ur.stringify(f),t(n))}function i(c){if(!e.showingChart)return null;const f=q.jsxs(q.Fragment,{children:[q.jsxs(nt.Item,{onClick:()=>r("hourglass"),children:[q.jsx(st,{name:"hourglass"}),q.jsx(He,{id:"menu.hourglass",defaultMessage:"Hourglass chart"})]}),e.allowAllRelativesChart?q.jsxs(nt.Item,{onClick:()=>r("relatives"),children:[q.jsx(st,{name:"users"}),q.jsx(He,{id:"menu.relatives",defaultMessage:"All relatives"})]}):null,q.jsxs(nt.Item,{onClick:()=>r("donatso"),children:[q.jsx(st,{name:"users"}),q.jsx(He,{id:"menu.donatso",defaultMessage:"Donatso family chart"})]}),q.jsxs(nt.Item,{onClick:()=>r("fancy"),children:[q.jsx(st,{name:"users"}),q.jsx(He,{id:"menu.fancy",defaultMessage:"Fancy tree (experimental)"})]})]});switch(c){case 0:return q.jsxs(q.Fragment,{children:[q.jsxs(an.Item,{onClick:e.eventHandlers.onPrint,disabled:!e.allowPrintAndDownload,children:[q.jsx(st,{name:"print"}),q.jsx(He,{id:"menu.print",defaultMessage:"Print"})]}),q.jsx(nt,{trigger:q.jsxs("div",{children:[q.jsx(st,{name:"download"}),q.jsx(He,{id:"menu.download",defaultMessage:"Download"})]}),className:"item",disabled:!e.allowPrintAndDownload,children:q.jsxs(nt.Menu,{children:[q.jsx(nt.Item,{onClick:e.eventHandlers.onDownloadPdf,children:q.jsx(He,{id:"menu.pdf_file",defaultMessage:"PDF file"})}),q.jsx(nt.Item,{onClick:e.eventHandlers.onDownloadPng,children:q.jsx(He,{id:"menu.png_file",defaultMessage:"PNG file"})}),q.jsx(nt.Item,{onClick:e.eventHandlers.onDownloadSvg,children:q.jsx(He,{id:"menu.svg_file",defaultMessage:"SVG file"})})]})}),q.jsx(nt,{trigger:q.jsxs("div",{children:[q.jsx(st,{name:"eye"}),q.jsx(He,{id:"menu.view",defaultMessage:"View"})]}),className:"item",children:q.jsx(nt.Menu,{children:f})}),q.jsx(eFe,{data:e.data,onSelection:e.eventHandlers.onSelection,...e})]});case 1:return q.jsxs(q.Fragment,{children:[q.jsxs(nt.Item,{onClick:e.eventHandlers.onPrint,children:[q.jsx(st,{name:"print"}),q.jsx(He,{id:"menu.print",defaultMessage:"Print"})]}),q.jsx(nt.Divider,{}),q.jsxs(nt.Item,{onClick:e.eventHandlers.onDownloadPdf,children:[q.jsx(st,{name:"download"}),q.jsx(He,{id:"menu.download_pdf",defaultMessage:"Download PDF"})]}),q.jsxs(nt.Item,{onClick:e.eventHandlers.onDownloadPng,children:[q.jsx(st,{name:"download"}),q.jsx(He,{id:"menu.download_png",defaultMessage:"Download PNG"})]}),q.jsxs(nt.Item,{onClick:e.eventHandlers.onDownloadSvg,children:[q.jsx(st,{name:"download"}),q.jsx(He,{id:"menu.download_svg",defaultMessage:"Download SVG"})]}),q.jsx(nt.Divider,{}),f,q.jsx(nt.Divider,{})]})}}function a(){return q.jsx(an.Item,{children:q.jsx("b",{children:"Topola Genealogy"})})}function o(c){if(!e.standalone&&e.showWikiTreeMenus)switch(c){case 0:return q.jsx(ep,{menuType:or.Menu,...e});case 1:return q.jsxs(q.Fragment,{children:[q.jsx(ep,{menuType:or.Dropdown,...e}),q.jsx(nt.Divider,{})]})}if(!e.standalone)return null;switch(c){case 0:return e.showingChart?q.jsx(nt,{trigger:q.jsxs("div",{children:[q.jsx(st,{name:"folder open"}),q.jsx(He,{id:"menu.open",defaultMessage:"Open"})]}),className:"item",children:q.jsxs(nt.Menu,{children:[q.jsx(JE,{menuType:or.Dropdown,...e}),q.jsx(eS,{menuType:or.Dropdown,...e}),q.jsx(ep,{menuType:or.Dropdown,...e})]})}):q.jsxs(q.Fragment,{children:[q.jsx(JE,{menuType:or.Menu,...e}),q.jsx(eS,{menuType:or.Menu,...e}),q.jsx(ep,{menuType:or.Menu,...e})]});case 1:return q.jsxs(q.Fragment,{children:[q.jsx(JE,{menuType:or.Dropdown,...e}),q.jsx(eS,{menuType:or.Dropdown,...e}),q.jsx(ep,{menuType:or.Dropdown,...e}),q.jsx(nt.Divider,{})]})}}function s(c){return e.showWikiTreeMenus?q.jsxs(q.Fragment,{children:[q.jsx(oFe,{menuType:c===1?or.Dropdown:or.Menu,...e}),c===1?q.jsx(nt.Divider,{}):null]}):null}function u(){return q.jsxs(q.Fragment,{children:[q.jsx(nt,{trigger:q.jsx("div",{children:q.jsx(st,{name:"sidebar"})}),className:"item",icon:null,children:q.jsxs(nt.Menu,{children:[o(1),i(1),s(1),q.jsx(nt.Item,{href:"https://github.com/PeWu/topola-viewer",target:"_blank",rel:"noopener noreferrer",children:q.jsx(He,{id:"menu.github",defaultMessage:"GitHub project"})})]})}),e.standalone?q.jsx(uf,{to:"/",children:a()}):a()]})}function l(){return q.jsxs(q.Fragment,{children:[e.standalone?q.jsx(uf,{to:"/",children:a()}):null,o(0),i(0),q.jsxs(an.Menu,{position:"right",children:[s(0),q.jsx(an.Item,{href:"https://github.com/PeWu/topola-viewer",target:"_blank",rel:"noopener noreferrer",children:q.jsx(He,{id:"menu.github",defaultMessage:"GitHub project"})})]})]})}return q.jsxs(q.Fragment,{children:[q.jsx(an,{as:Vc,greaterThanOrEqual:"large",attached:"top",inverted:!0,color:"blue",size:"large",children:l()}),q.jsx(an,{as:Vc,at:"small",attached:"top",inverted:!0,color:"blue",size:"large",children:u()})]})}function uFe(e){const n=e.gedcom.indis[e.indi].tree.find(i=>i.tag==="NAME"),r=(n==null?void 0:n.data.replaceAll("/",""))??"";return q.jsx("div",{className:"collapsed-details",children:r?q.jsx("span",{className:"vertical-name",children:r}):q.jsx("span",{className:"vertical-name",children:q.jsx(He,{id:"name.unknown_name",defaultMessage:"N.N."})})})}var tS,DF;function gQ(){if(DF)return tS;DF=1;var e=Object.prototype.toString;return tS=function(n){var r=e.call(n),i=r==="[object Arguments]";return i||(i=r!=="[object Array]"&&n!==null&&typeof n=="object"&&typeof n.length=="number"&&n.length>=0&&e.call(n.callee)==="[object Function]"),i},tS}var nS,FF;function lFe(){if(FF)return nS;FF=1;var e;if(!Object.keys){var t=Object.prototype.hasOwnProperty,n=Object.prototype.toString,r=gQ(),i=Object.prototype.propertyIsEnumerable,a=!i.call({toString:null},"toString"),o=i.call(function(){},"prototype"),s=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],u=function(d){var p=d.constructor;return p&&p.prototype===d},l={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},c=function(){if(typeof window>"u")return!1;for(var d in window)try{if(!l["$"+d]&&t.call(window,d)&&window[d]!==null&&typeof window[d]=="object")try{u(window[d])}catch{return!0}}catch{return!0}return!1}(),f=function(d){if(typeof window>"u"||!c)return u(d);try{return u(d)}catch{return!1}};e=function(p){var y=p!==null&&typeof p=="object",g=n.call(p)==="[object Function]",w=r(p),_=y&&n.call(p)==="[object String]",b=[];if(!y&&!g&&!w)throw new TypeError("Object.keys called on a non-object");var E=o&&g;if(_&&p.length>0&&!t.call(p,0))for(var S=0;S0)for(var v=0;v3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new n("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new n("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new n("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new n("`loose`, if provided, must be a boolean");var u=arguments.length>3?arguments[3]:null,l=arguments.length>4?arguments[4]:null,c=arguments.length>5?arguments[5]:null,f=arguments.length>6?arguments[6]:!1,d=!!r&&r(a,o);if(e)e(a,o,{configurable:c===null&&d?d.configurable:!c,enumerable:u===null&&d?d.enumerable:!u,value:s,writable:l===null&&d?d.writable:!l});else if(f||!u&&!l&&!c)a[o]=s;else throw new t("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")},lS}var cS,WF;function W_(){if(WF)return cS;WF=1;var e=Lg(),t=function(){return!!e};return t.hasArrayLengthDefineBug=function(){if(!e)return null;try{return e([],"length",{value:1}).length!==1}catch{return!0}},cS=t,cS}var fS,GF;function lI(){if(GF)return fS;GF=1;var e=cFe(),t=typeof Symbol=="function"&&typeof Symbol("foo")=="symbol",n=Object.prototype.toString,r=Array.prototype.concat,i=uI(),a=function(l){return typeof l=="function"&&n.call(l)==="[object Function]"},o=W_()(),s=function(l,c,f,d){if(c in l){if(d===!0){if(l[c]===f)return}else if(!a(d)||!d())return}o?i(l,c,f,!0):i(l,c,f)},u=function(l,c){var f=arguments.length>2?arguments[2]:{},d=e(c);t&&(d=r.call(d,Object.getOwnPropertySymbols(c)));for(var p=0;p"u"||!A?e:A(Uint8Array),F={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?e:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?e:ArrayBuffer,"%ArrayIteratorPrototype%":C&&A?A([][Symbol.iterator]()):e,"%AsyncFromSyncIteratorPrototype%":e,"%AsyncFunction%":z,"%AsyncGenerator%":z,"%AsyncGeneratorFunction%":z,"%AsyncIteratorPrototype%":z,"%Atomics%":typeof Atomics>"u"?e:Atomics,"%BigInt%":typeof BigInt>"u"?e:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?e:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?e:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?e:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":n,"%eval%":eval,"%EvalError%":r,"%Float32Array%":typeof Float32Array>"u"?e:Float32Array,"%Float64Array%":typeof Float64Array>"u"?e:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?e:FinalizationRegistry,"%Function%":w,"%GeneratorFunction%":z,"%Int8Array%":typeof Int8Array>"u"?e:Int8Array,"%Int16Array%":typeof Int16Array>"u"?e:Int16Array,"%Int32Array%":typeof Int32Array>"u"?e:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":C&&A?A(A([][Symbol.iterator]())):e,"%JSON%":typeof JSON=="object"?JSON:e,"%Map%":typeof Map>"u"?e:Map,"%MapIteratorPrototype%":typeof Map>"u"||!C||!A?e:A(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":t,"%Object.getOwnPropertyDescriptor%":b,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?e:Promise,"%Proxy%":typeof Proxy>"u"?e:Proxy,"%RangeError%":i,"%ReferenceError%":a,"%Reflect%":typeof Reflect>"u"?e:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?e:Set,"%SetIteratorPrototype%":typeof Set>"u"||!C||!A?e:A(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?e:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":C&&A?A(""[Symbol.iterator]()):e,"%Symbol%":C?Symbol:e,"%SyntaxError%":o,"%ThrowTypeError%":v,"%TypedArray%":Y,"%TypeError%":s,"%Uint8Array%":typeof Uint8Array>"u"?e:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?e:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?e:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?e:Uint32Array,"%URIError%":u,"%WeakMap%":typeof WeakMap>"u"?e:WeakMap,"%WeakRef%":typeof WeakRef>"u"?e:WeakRef,"%WeakSet%":typeof WeakSet>"u"?e:WeakSet,"%Function.prototype.call%":P,"%Function.prototype.apply%":O,"%Object.defineProperty%":E,"%Object.getPrototypeOf%":M,"%Math.abs%":l,"%Math.floor%":c,"%Math.max%":f,"%Math.min%":d,"%Math.pow%":p,"%Math.round%":y,"%Math.sign%":g,"%Reflect.getPrototypeOf%":R};if(A)try{null.error}catch(me){var D=A(A(me));F["%Error.prototype%"]=D}var B=function me(be){var ge;if(be==="%AsyncFunction%")ge=_("async function () {}");else if(be==="%GeneratorFunction%")ge=_("function* () {}");else if(be==="%AsyncGeneratorFunction%")ge=_("async function* () {}");else if(be==="%AsyncGenerator%"){var fe=me("%AsyncGeneratorFunction%");fe&&(ge=fe.prototype)}else if(be==="%AsyncIteratorPrototype%"){var Re=me("%AsyncGenerator%");Re&&A&&(ge=A(Re.prototype))}return F[be]=ge,ge},Q={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},K=zg(),H=Yl(),L=K.call(P,Array.prototype.concat),G=K.call(O,Array.prototype.splice),U=K.call(P,String.prototype.replace),W=K.call(P,String.prototype.slice),ne=K.call(P,RegExp.prototype.exec),ce=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,ve=/\\(\\)?/g,_e=function(be){var ge=W(be,0,1),fe=W(be,-1);if(ge==="%"&&fe!=="%")throw new o("invalid intrinsic syntax, expected closing `%`");if(fe==="%"&&ge!=="%")throw new o("invalid intrinsic syntax, expected opening `%`");var Re=[];return U(be,ce,function($e,at,Ye,Oe){Re[Re.length]=Ye?U(Oe,ve,"$1"):at||$e}),Re},xe=function(be,ge){var fe=be,Re;if(H(Q,fe)&&(Re=Q[fe],fe="%"+Re[0]+"%"),H(F,fe)){var $e=F[fe];if($e===z&&($e=B(fe)),typeof $e>"u"&&!ge)throw new s("intrinsic "+be+" exists, but is not available. Please file an issue!");return{alias:Re,name:fe,value:$e}}throw new o("intrinsic "+be+" does not exist!")};return US=function(be,ge){if(typeof be!="string"||be.length===0)throw new s("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof ge!="boolean")throw new s('"allowMissing" argument must be a boolean');if(ne(/^%?[^%]*%?$/,be)===null)throw new o("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var fe=_e(be),Re=fe.length>0?fe[0]:"",$e=xe("%"+Re+"%",ge),at=$e.name,Ye=$e.value,Oe=!1,ct=$e.alias;ct&&(Re=ct[0],G(fe,L([0,1],ct)));for(var It=1,dt=!0;It=fe.length){var Nn=b(Ye,_t);dt=!!Nn,dt&&"get"in Nn&&!("originalValue"in Nn.get)?Ye=Nn.get:Ye=Ye[_t]}else dt=H(Ye,_t),Ye=Ye[_t];dt&&!Oe&&(F[at]=Ye)}}return Ye},US}var jS,xL;function CFe(){if(xL)return jS;xL=1;var e=oa(),t=uI(),n=W_()(),r=Vl(),i=Tt(),a=e("%Math.floor%");return jS=function(s,u){if(typeof s!="function")throw new i("`fn` is not a function");if(typeof u!="number"||u<0||u>4294967295||a(u)!==u)throw new i("`length` must be a positive 32-bit integer");var l=arguments.length>2&&!!arguments[2],c=!0,f=!0;if("length"in s&&r){var d=r(s,"length");d&&!d.configurable&&(c=!1),d&&!d.writable&&(f=!1)}return(c||f||!l)&&(n?t(s,"length",u,!0,!0):t(s,"length",u)),s},jS}var HS,EL;function kFe(){if(EL)return HS;EL=1;var e=zg(),t=dI(),n=EQ();return HS=function(){return n(e,t,arguments)},HS}var SL;function SQ(){return SL||(SL=1,function(e){var t=CFe(),n=Lg(),r=V_(),i=kFe();e.exports=function(o){var s=r(arguments),u=o.length-(arguments.length-1);return t(s,1+(u>0?u:0),!0)},n?n(e.exports,"apply",{value:i}):e.exports.apply=i}(dS)),dS.exports}var qS,CL;function CQ(){if(CL)return qS;CL=1;var e=Bg();return qS=function(n){return(typeof n=="number"||typeof n=="bigint")&&!e(n)&&n!==1/0&&n!==-1/0},qS}var WS,kL;function kQ(){if(kL)return WS;kL=1;var e=yQ(),t=cI(),n=Bg(),r=CQ();return WS=function(a){if(typeof a!="number"||n(a)||!r(a))return!1;var o=e(a);return t(o)===o},WS}var GS,AL;function AFe(){return AL||(AL=1,GS=4294967295),GS}var VS,TL;function TFe(){return TL||(TL=1,VS=typeof Reflect<"u"&&Reflect.setPrototypeOf||null),VS}var YS,ML;function MFe(){if(ML)return YS;ML=1;var e=G_();return YS=e.setPrototypeOf||null,YS}var QS,PL;function PFe(){if(PL)return QS;PL=1;var e=V_(),t=Vl(),n=Tt(),r={};try{r.__proto__=null}catch(o){if(!o||typeof o!="object"||!("code"in o)||o.code!=="ERR_PROTO_ACCESS")throw o}var i=!("toString"in r),a=t&&t(Object.prototype,"__proto__");return QS=i&&(!!a&&typeof a.set=="function"&&e([a.set])||function(s,u){if(s==null)throw new n("set Object.prototype.__proto__ called on null or undefined");return s.__proto__=u,u}),QS}var KS,IL;function IFe(){if(IL)return KS;IL=1;var e=TFe(),t=MFe(),n=PFe(),r=Tt();return KS=e?function(a,o){if(e(a,o))return a;throw new r("Reflect.setPrototypeOf: failed to set [[Prototype]]")}:t||(n?function(a,o){return n(a,o),a}:null),KS}var XS,RL;function RFe(){if(RL)return XS;RL=1;var e=oa(),t=e("%Array.prototype%"),n=vQ(),r=q_(),i=Tt(),a=kQ(),o=AFe(),s=IFe();return XS=function(l){if(!a(l)||l<0)throw new i("Assertion failed: `length` must be an integer Number >= 0");if(l>o)throw new n("length is greater than (2**32 - 1)");var c=arguments.length>1?arguments[1]:t,f=[];if(c!==t){if(!s)throw new r("ArrayCreate: a `proto` argument that is not `Array.prototype` is not supported in an environment that does not support setting the [[Prototype]]");s(f,c)}return l!==0&&(f.length=l),f},XS}const NFe={},OFe=Object.freeze(Object.defineProperty({__proto__:null,default:NFe},Symbol.toStringTag,{value:"Module"})),$Fe=Xm(OFe);var ZS,NL;function DFe(){if(NL)return ZS;NL=1;var e=typeof Map=="function"&&Map.prototype,t=Object.getOwnPropertyDescriptor&&e?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,n=e&&t&&typeof t.get=="function"?t.get:null,r=e&&Map.prototype.forEach,i=typeof Set=="function"&&Set.prototype,a=Object.getOwnPropertyDescriptor&&i?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,o=i&&a&&typeof a.get=="function"?a.get:null,s=i&&Set.prototype.forEach,u=typeof WeakMap=="function"&&WeakMap.prototype,l=u?WeakMap.prototype.has:null,c=typeof WeakSet=="function"&&WeakSet.prototype,f=c?WeakSet.prototype.has:null,d=typeof WeakRef=="function"&&WeakRef.prototype,p=d?WeakRef.prototype.deref:null,y=Boolean.prototype.valueOf,g=Object.prototype.toString,w=Function.prototype.toString,_=String.prototype.match,b=String.prototype.slice,E=String.prototype.replace,S=String.prototype.toUpperCase,v=String.prototype.toLowerCase,C=RegExp.prototype.test,A=Array.prototype.concat,M=Array.prototype.join,R=Array.prototype.slice,O=Math.floor,P=typeof BigInt=="function"?BigInt.prototype.valueOf:null,z=Object.getOwnPropertySymbols,Y=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,F=typeof Symbol=="function"&&typeof Symbol.iterator=="object",D=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===F||!0)?Symbol.toStringTag:null,B=Object.prototype.propertyIsEnumerable,Q=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(se){return se.__proto__}:null);function K(se,ue){if(se===1/0||se===-1/0||se!==se||se&&se>-1e3&&se<1e3||C.call(/e/,ue))return ue;var Ue=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof se=="number"){var Le=se<0?-O(-se):O(se);if(Le!==se){var Mt=String(Le),rt=b.call(ue,Mt.length+1);return E.call(Mt,Ue,"$&_")+"."+E.call(E.call(rt,/([0-9]{3})/g,"$&_"),/_$/,"")}}return E.call(ue,Ue,"$&_")}var H=$Fe,L=H.custom,G=Re(L)?L:null,U={__proto__:null,double:'"',single:"'"},W={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};ZS=function se(ue,Ue,Le,Mt){var rt=Ue||{};if(Ye(rt,"quoteStyle")&&!Ye(U,rt.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(Ye(rt,"maxStringLength")&&(typeof rt.maxStringLength=="number"?rt.maxStringLength<0&&rt.maxStringLength!==1/0:rt.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var rr=Ye(rt,"customInspect")?rt.customInspect:!0;if(typeof rr!="boolean"&&rr!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(Ye(rt,"indent")&&rt.indent!==null&&rt.indent!==" "&&!(parseInt(rt.indent,10)===rt.indent&&rt.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(Ye(rt,"numericSeparator")&&typeof rt.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var Er=rt.numericSeparator;if(typeof ue>"u")return"undefined";if(ue===null)return"null";if(typeof ue=="boolean")return ue?"true":"false";if(typeof ue=="string")return we(ue,rt);if(typeof ue=="number"){if(ue===0)return 1/0/ue>0?"0":"-0";var Hn=String(ue);return Er?K(ue,Hn):Hn}if(typeof ue=="bigint"){var $i=String(ue)+"n";return Er?K(ue,$i):$i}var Kl=typeof rt.depth>"u"?5:rt.depth;if(typeof Le>"u"&&(Le=0),Le>=Kl&&Kl>0&&typeof ue=="object")return ve(ue)?"[Array]":"[Object]";var ro=he(rt,Le);if(typeof Mt>"u")Mt=[];else if(It(Mt,ue)>=0)return"[Circular]";function Sr(rs,bu,qg){if(bu&&(Mt=R.call(Mt),Mt.push(bu)),qg){var Od={depth:rt.depth};return Ye(rt,"quoteStyle")&&(Od.quoteStyle=rt.quoteStyle),se(rs,Od,Le+1,Mt)}return se(rs,rt,Le+1,Mt)}if(typeof ue=="function"&&!xe(ue)){var Xl=ct(ue),Id=Je(ue,Sr);return"[Function"+(Xl?": "+Xl:" (anonymous)")+"]"+(Id.length>0?" { "+M.call(Id,", ")+" }":"")}if(Re(ue)){var ts=F?E.call(String(ue),/^(Symbol\(.*\))_[^)]*$/,"$1"):Y.call(ue);return typeof ue=="object"&&!F?I(ts):ts}if(En(ue)){for(var io="<"+v.call(String(ue.nodeName)),ao=ue.attributes||[],Zl=0;Zl",io}if(ve(ue)){if(ue.length===0)return"[]";var oo=Je(ue,Sr);return ro&&!ie(oo)?"["+ye(oo,ro)+"]":"[ "+M.call(oo,", ")+" ]"}if(me(ue)){var ns=Je(ue,Sr);return!("cause"in Error.prototype)&&"cause"in ue&&!B.call(ue,"cause")?"{ ["+String(ue)+"] "+M.call(A.call("[cause]: "+Sr(ue.cause),ns),", ")+" }":ns.length===0?"["+String(ue)+"]":"{ ["+String(ue)+"] "+M.call(ns,", ")+" }"}if(typeof ue=="object"&&rr){if(G&&typeof ue[G]=="function"&&H)return H(ue,{depth:Kl-Le});if(rr!=="symbol"&&typeof ue.inspect=="function")return ue.inspect()}if(dt(ue)){var _u=[];return r&&r.call(ue,function(rs,bu){_u.push(Sr(bu,ue,!0)+" => "+Sr(rs,ue))}),X("Map",n.call(ue),_u,ro)}if(hn(ue)){var Jl=[];return s&&s.call(ue,function(rs){Jl.push(Sr(rs,ue))}),X("Set",o.call(ue),Jl,ro)}if(_t(ue))return $("WeakMap");if(Nn(ue))return $("WeakSet");if(Ct(ue))return $("WeakRef");if(ge(ue))return I(Sr(Number(ue)));if($e(ue))return I(Sr(P.call(ue)));if(fe(ue))return I(y.call(ue));if(be(ue))return I(Sr(String(ue)));if(typeof window<"u"&&ue===window)return"{ [object Window] }";if(typeof globalThis<"u"&&ue===globalThis||typeof Ta<"u"&&ue===Ta)return"{ [object globalThis] }";if(!_e(ue)&&!xe(ue)){var Rd=Je(ue,Sr),jg=Q?Q(ue)===Object.prototype:ue instanceof Object||ue.constructor===Object,Nd=ue instanceof Object?"":"null prototype",ua=!jg&&D&&Object(ue)===ue&&D in ue?b.call(Oe(ue),8,-1):Nd?"Object":"",Hg=jg||typeof ue.constructor!="function"?"":ue.constructor.name?ue.constructor.name+" ":"",ec=Hg+(ua||Nd?"["+M.call(A.call([],ua||[],Nd||[]),": ")+"] ":"");return Rd.length===0?ec+"{}":ro?ec+"{"+ye(Rd,ro)+"}":ec+"{ "+M.call(Rd,", ")+" }"}return String(ue)};function ne(se,ue,Ue){var Le=Ue.quoteStyle||ue,Mt=U[Le];return Mt+se+Mt}function ce(se){return E.call(String(se),/"/g,""")}function ve(se){return Oe(se)==="[object Array]"&&(!D||!(typeof se=="object"&&D in se))}function _e(se){return Oe(se)==="[object Date]"&&(!D||!(typeof se=="object"&&D in se))}function xe(se){return Oe(se)==="[object RegExp]"&&(!D||!(typeof se=="object"&&D in se))}function me(se){return Oe(se)==="[object Error]"&&(!D||!(typeof se=="object"&&D in se))}function be(se){return Oe(se)==="[object String]"&&(!D||!(typeof se=="object"&&D in se))}function ge(se){return Oe(se)==="[object Number]"&&(!D||!(typeof se=="object"&&D in se))}function fe(se){return Oe(se)==="[object Boolean]"&&(!D||!(typeof se=="object"&&D in se))}function Re(se){if(F)return se&&typeof se=="object"&&se instanceof Symbol;if(typeof se=="symbol")return!0;if(!se||typeof se!="object"||!Y)return!1;try{return Y.call(se),!0}catch{}return!1}function $e(se){if(!se||typeof se!="object"||!P)return!1;try{return P.call(se),!0}catch{}return!1}var at=Object.prototype.hasOwnProperty||function(se){return se in this};function Ye(se,ue){return at.call(se,ue)}function Oe(se){return g.call(se)}function ct(se){if(se.name)return se.name;var ue=_.call(w.call(se),/^function\s*([\w$]+)/);return ue?ue[1]:null}function It(se,ue){if(se.indexOf)return se.indexOf(ue);for(var Ue=0,Le=se.length;Ueue.maxStringLength){var Ue=se.length-ue.maxStringLength,Le="... "+Ue+" more character"+(Ue>1?"s":"");return we(b.call(se,0,ue.maxStringLength),ue)+Le}var Mt=W[ue.quoteStyle||"single"];Mt.lastIndex=0;var rt=E.call(E.call(se,Mt,"\\$1"),/[\x00-\x1f]/g,j);return ne(rt,"single",ue)}function j(se){var ue=se.charCodeAt(0),Ue={8:"b",9:"t",10:"n",12:"f",13:"r"}[ue];return Ue?"\\"+Ue:"\\x"+(ue<16?"0":"")+S.call(ue.toString(16))}function I(se){return"Object("+se+")"}function $(se){return se+" { ? }"}function X(se,ue,Ue,Le){var Mt=Le?ye(Ue,Le):M.call(Ue,", ");return se+" ("+ue+") {"+Mt+"}"}function ie(se){for(var ue=0;ue=0)return!1;return!0}function he(se,ue){var Ue;if(se.indent===" ")Ue=" ";else if(typeof se.indent=="number"&&se.indent>0)Ue=M.call(Array(se.indent+1)," ");else return null;return{base:Ue,prev:M.call(Array(ue+1),Ue)}}function ye(se,ue){if(se.length===0)return"";var Ue=` `+ue.prev+ue.base;return Ue+M.call(se,","+Ue)+` `+ue.prev}function Je(se,ue){var Ue=ve(se),Le=[];if(Ue){Le.length=se.length;for(var Mt=0;Mt-1?t([o]):o},nC}var rC,LL;function AQ(){if(LL)return rC;LL=1;var e=oa(),t=e("%Array%"),n=!t.isArray&&es()("Object.prototype.toString");return rC=t.isArray||function(i){return n(i)==="[object Array]"},rC}var iC,BL;function hI(){return BL||(BL=1,iC=AQ()),iC}var Qv={exports:{}},aC,zL;function FFe(){return zL||(zL=1,aC=oa()),aC}var oC,UL;function wu(){if(UL)return oC;UL=1;var e=Tt(),t=Yl(),n={__proto__:null,"[[Configurable]]":!0,"[[Enumerable]]":!0,"[[Get]]":!0,"[[Set]]":!0,"[[Value]]":!0,"[[Writable]]":!0};return oC=function(i){if(!i||typeof i!="object")return!1;for(var a in i)if(t(i,a)&&!n[a])return!1;var o=t(i,"[[Value]]")||t(i,"[[Writable]]"),s=t(i,"[[Get]]")||t(i,"[[Set]]");if(o&&s)throw new e("Property Descriptors may not be both accessor and data descriptors");return!0},oC}var sC,jL;function TQ(){if(jL)return sC;jL=1;var e=W_(),t=Lg(),n=e.hasArrayLengthDefineBug(),r=n&&AQ(),i=es(),a=i("Object.prototype.propertyIsEnumerable");return sC=function(s,u,l,c,f,d){if(!t){if(!s(d)||!d["[[Configurable]]"]||!d["[[Writable]]"]||f in c&&a(c,f)!==!!d["[[Enumerable]]"])return!1;var p=d["[[Value]]"];return c[f]=p,u(c[f],p)}return n&&f==="length"&&"[[Value]]"in d&&r(c)&&c.length!==d["[[Value]]"]?(c.length=d["[[Value]]"],c.length===d["[[Value]]"]):(t(c,f,l(d)),!0)},sC}var uC,HL;function LFe(){return HL||(HL=1,uC=function(t){if(typeof t>"u")return t;var n={};return"[[Value]]"in t&&(n.value=t["[[Value]]"]),"[[Writable]]"in t&&(n.writable=!!t["[[Writable]]"]),"[[Get]]"in t&&(n.get=t["[[Get]]"]),"[[Set]]"in t&&(n.set=t["[[Set]]"]),"[[Enumerable]]"in t&&(n.enumerable=!!t["[[Enumerable]]"]),"[[Configurable]]"in t&&(n.configurable=!!t["[[Configurable]]"]),n}),uC}var lC,qL;function MQ(){if(qL)return lC;qL=1;var e=Tt(),t=wu(),n=LFe();return lC=function(i){if(typeof i<"u"&&!t(i))throw new e("Assertion failed: `Desc` must be a Property Descriptor");return n(i)},lC}var cC,WL;function pI(){if(WL)return cC;WL=1;var e=Tt(),t=Yl(),n=wu();return cC=function(i){if(typeof i>"u")return!1;if(!n(i))throw new e("Assertion failed: `Desc` must be a Property Descriptor");return!(!t(i,"[[Value]]")&&!t(i,"[[Writable]]"))},cC}var fC,GL;function mI(){if(GL)return fC;GL=1;var e=Bg();return fC=function(n,r){return n===r?n===0?1/n===1/r:!0:e(n)&&e(r)},fC}var dC,VL;function PQ(){if(VL)return dC;VL=1;var e=Function.prototype.toString,t=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,n,r;if(typeof t=="function"&&typeof Object.defineProperty=="function")try{n=Object.defineProperty({},"length",{get:function(){throw r}}),r={},t(function(){throw 42},null,n)}catch(b){b!==r&&(t=null)}else t=null;var i=/^\s*class\b/,a=function(E){try{var S=e.call(E);return i.test(S)}catch{return!1}},o=function(E){try{return a(E)?!1:(e.call(E),!0)}catch{return!1}},s=Object.prototype.toString,u="[object Object]",l="[object Function]",c="[object GeneratorFunction]",f="[object HTMLAllCollection]",d="[object HTML document.all class]",p="[object HTMLCollection]",y=typeof Symbol=="function"&&!!Symbol.toStringTag,g=!(0 in[,]),w=function(){return!1};if(typeof document=="object"){var _=document.all;s.call(_)===s.call(document.all)&&(w=function(E){if((g||!E)&&(typeof E>"u"||typeof E=="object"))try{var S=s.call(E);return(S===f||S===d||S===p||S===u)&&E("")==null}catch{}return!1})}return dC=t?function(E){if(w(E))return!0;if(!E||typeof E!="function"&&typeof E!="object")return!1;try{t(E,null,n)}catch(S){if(S!==r)return!1}return!a(E)&&o(E)}:function(E){if(w(E))return!0;if(!E||typeof E!="function"&&typeof E!="object")return!1;if(y)return o(E);if(a(E))return!1;var S=s.call(E);return S!==l&&S!==c&&!/^\[object HTML/.test(S)?!1:o(E)},dC}var hC,YL;function IQ(){return YL||(YL=1,hC=PQ()),hC}var pC,QL;function BFe(){return QL||(QL=1,pC=function(t){return!!t}),pC}var mC,KL;function RQ(){if(KL)return mC;KL=1;var e=Yl(),t=Tt(),n=IQ(),r=BFe(),i=sa();return mC=function(o){if(!i(o))throw new t("ToPropertyDescriptor requires an object");var s={};if(e(o,"enumerable")&&(s["[[Enumerable]]"]=r(o.enumerable)),e(o,"configurable")&&(s["[[Configurable]]"]=r(o.configurable)),e(o,"value")&&(s["[[Value]]"]=o.value),e(o,"writable")&&(s["[[Writable]]"]=r(o.writable)),e(o,"get")){var u=o.get;if(typeof u<"u"&&!n(u))throw new t("getter must be a function");s["[[Get]]"]=u}if(e(o,"set")){var l=o.set;if(typeof l<"u"&&!n(l))throw new t("setter must be a function");s["[[Set]]"]=l}if((e(s,"[[Get]]")||e(s,"[[Set]]"))&&(e(s,"[[Value]]")||e(s,"[[Writable]]")))throw new t("Invalid property descriptor. Cannot both specify accessors and a value or writable attribute");return s},mC}var gC,XL;function zFe(){if(XL)return gC;XL=1;var e=Tt(),t=wu(),n=TQ(),r=MQ(),i=pI(),a=Ql(),o=mI(),s=RQ(),u=sa();return gC=function(c,f,d){if(!u(c))throw new e("Assertion failed: Type(O) is not Object");if(!a(f))throw new e("Assertion failed: P is not a Property Key");var p=t(d)?d:s(d);if(!t(p))throw new e("Assertion failed: Desc is not a valid Property Descriptor");return n(i,o,r,c,f,p)},gC}var ZL;function UFe(){if(ZL)return Qv.exports;ZL=1;var e=FFe(),t=e("%Reflect.construct%",!0),n=zFe();try{n({},"",{"[[Get]]":function(){}})}catch{n=null}if(n&&t){var r={},i={};n(i,"length",{"[[Get]]":function(){throw r},"[[Enumerable]]":!0}),Qv.exports=function(o){try{t(o,i)}catch(s){return s===r}}}else Qv.exports=function(o){return typeof o=="function"&&!!o.prototype};return Qv.exports}var vC,JL;function jFe(){if(JL)return vC;JL=1;var e=oa(),t=e("%Symbol.species%",!0),n=Tt(),r=kQ(),i=RFe(),a=Y_(),o=hI(),s=UFe(),u=sa();return vC=function(c,f){if(!r(f)||f<0)throw new n("Assertion failed: length must be an integer >= 0");var d=o(c);if(!d)return i(f);var p=a(c,"constructor");if(t&&u(p)&&(p=a(p,t),p===null&&(p=void 0)),typeof p>"u")return i(f);if(!s(p))throw new n("C must be a constructor");return new p(f)},vC}var yC,e7;function NQ(){return e7||(e7=1,yC=Number.MAX_SAFE_INTEGER||9007199254740991),yC}var wC,t7;function HFe(){if(t7)return wC;t7=1;var e=oa(),t=es(),n=Tt(),r=hI(),i=e("%Reflect.apply%",!0)||t("Function.prototype.apply");return wC=function(o,s){var u=arguments.length>2?arguments[2]:[];if(!r(u))throw new n("Assertion failed: optional `argumentsList`, if provided, must be a List");return i(o,s,u)},wC}var _C,n7;function gI(){if(n7)return _C;n7=1;var e=Tt(),t=Yl(),n=wu();return _C=function(i){if(typeof i>"u")return!1;if(!n(i))throw new e("Assertion failed: `Desc` must be a Property Descriptor");return!(!t(i,"[[Get]]")&&!t(i,"[[Set]]"))},_C}var bC,r7;function OQ(){return r7||(r7=1,bC=function(t){return t===null||typeof t!="function"&&typeof t!="object"}),bC}var xC,i7;function qFe(){if(i7)return xC;i7=1;var e=oa(),t=e("%Object.preventExtensions%",!0),n=e("%Object.isExtensible%",!0),r=OQ();return xC=t?function(a){return!r(a)&&n(a)}:function(a){return!r(a)},xC}var EC,a7;function WFe(){if(a7)return EC;a7=1;var e=wu();return EC=function(n,r){return e(r)&&"[[Enumerable]]"in r&&"[[Configurable]]"in r&&(n.IsAccessorDescriptor(r)||n.IsDataDescriptor(r))},EC}var SC,o7;function GFe(){if(o7)return SC;o7=1;var e=Tt(),t=gI(),n=pI(),r=wu();return SC=function(a){if(typeof a>"u")return!1;if(!r(a))throw new e("Assertion failed: `Desc` must be a Property Descriptor");return!t(a)&&!n(a)},SC}var CC,s7;function VFe(){if(s7)return CC;s7=1;var e=sa();return CC=function(n){if(n===null)return"Null";if(typeof n>"u")return"Undefined";if(e(n))return"Object";if(typeof n=="number")return"Number";if(typeof n=="boolean")return"Boolean";if(typeof n=="string")return"String"},CC}var kC,u7;function YFe(){if(u7)return kC;u7=1;var e=VFe();return kC=function(n){return typeof n=="symbol"?"Symbol":typeof n=="bigint"?"BigInt":e(n)},kC}var AC,l7;function QFe(){if(l7)return AC;l7=1;var e=Tt(),t=TQ(),n=WFe(),r=wu(),i=MQ(),a=gI(),o=pI(),s=GFe(),u=Ql(),l=mI(),c=YFe(),f=sa();return AC=function(p,y,g,w,_){var b=c(p);if(typeof p<"u"&&!f(p))throw new e("Assertion failed: O must be undefined or an Object");if(!u(y))throw new e("Assertion failed: P must be a Property Key");if(typeof g!="boolean")throw new e("Assertion failed: extensible must be a Boolean");if(!r(w))throw new e("Assertion failed: Desc must be a Property Descriptor");if(typeof _<"u"&&!r(_))throw new e("Assertion failed: current must be a Property Descriptor, or undefined");if(typeof _>"u")return g?b==="Undefined"?!0:a(w)?t(o,l,i,p,y,w):t(o,l,i,p,y,{"[[Configurable]]":!!w["[[Configurable]]"],"[[Enumerable]]":!!w["[[Enumerable]]"],"[[Value]]":w["[[Value]]"],"[[Writable]]":!!w["[[Writable]]"]}):!1;if(!n({IsAccessorDescriptor:a,IsDataDescriptor:o},_))throw new e("`current`, when present, must be a fully populated and valid Property Descriptor");if(!_["[[Configurable]]"]){if("[[Configurable]]"in w&&w["[[Configurable]]"]||"[[Enumerable]]"in w&&!l(w["[[Enumerable]]"],_["[[Enumerable]]"])||!s(w)&&!l(a(w),a(_)))return!1;if(a(_)){if("[[Get]]"in w&&!l(w["[[Get]]"],_["[[Get]]"])||"[[Set]]"in w&&!l(w["[[Set]]"],_["[[Set]]"]))return!1}else if(!_["[[Writable]]"]&&("[[Writable]]"in w&&w["[[Writable]]"]||"[[Value]]"in w&&!l(w["[[Value]]"],_["[[Value]]"])))return!1}if(b!=="Undefined"){var E,S;return o(_)&&a(w)?(E=("[[Configurable]]"in w?w:_)["[[Configurable]]"],S=("[[Enumerable]]"in w?w:_)["[[Enumerable]]"],t(o,l,i,p,y,{"[[Configurable]]":!!E,"[[Enumerable]]":!!S,"[[Get]]":("[[Get]]"in w?w:_)["[[Get]]"],"[[Set]]":("[[Set]]"in w?w:_)["[[Set]]"]})):a(_)&&o(w)?(E=("[[Configurable]]"in w?w:_)["[[Configurable]]"],S=("[[Enumerable]]"in w?w:_)["[[Enumerable]]"],t(o,l,i,p,y,{"[[Configurable]]":!!E,"[[Enumerable]]":!!S,"[[Value]]":("[[Value]]"in w?w:_)["[[Value]]"],"[[Writable]]":!!("[[Writable]]"in w?w:_)["[[Writable]]"]})):t(o,l,i,p,y,w)}return!0},AC}var TC,c7;function KFe(){if(c7)return TC;c7=1;var e=Vl(),t=q_(),n=Tt(),r=wu(),i=gI(),a=qFe(),o=Ql(),s=RQ(),u=mI(),l=QFe(),c=sa();return TC=function(d,p,y){if(!c(d))throw new n("Assertion failed: O must be an Object");if(!o(p))throw new n("Assertion failed: P must be a Property Key");if(!r(y))throw new n("Assertion failed: Desc must be a Property Descriptor");if(!e){if(i(y))throw new t("This environment does not support accessor property descriptors.");var g=!(p in d)&&y["[[Writable]]"]&&y["[[Enumerable]]"]&&y["[[Configurable]]"]&&"[[Value]]"in y,w=p in d&&(!("[[Configurable]]"in y)||y["[[Configurable]]"])&&(!("[[Enumerable]]"in y)||y["[[Enumerable]]"])&&(!("[[Writable]]"in y)||y["[[Writable]]"])&&"[[Value]]"in y;if(g||w)return d[p]=y["[[Value]]"],u(d[p],y["[[Value]]"]);throw new t("This environment does not support defining non-writable, non-enumerable, or non-configurable properties")}var _=e(d,p),b=_&&s(_),E=a(d);return l(d,p,E,y,b)},TC}var MC,f7;function XFe(){if(f7)return MC;f7=1;var e=Tt(),t=Ql(),n=KFe(),r=sa();return MC=function(a,o,s){if(!r(a))throw new e("Assertion failed: Type(O) is not Object");if(!t(o))throw new e("Assertion failed: P is not a Property Key");var u={"[[Configurable]]":!0,"[[Enumerable]]":!0,"[[Value]]":s,"[[Writable]]":!0};return n(a,o,u)},MC}var PC,d7;function ZFe(){if(d7)return PC;d7=1;var e=Tt(),t=XFe(),n=sa(),r=Ql();return PC=function(a,o,s){if(!n(a))throw new e("Assertion failed: Type(O) is not Object");if(!r(o))throw new e("Assertion failed: P is not a Property Key");var u=t(a,o,s);if(!u)throw new e("unable to create data property")},PC}var IC,h7;function JFe(){if(h7)return IC;h7=1;var e=Tt(),t=sa(),n=Ql();return IC=function(i,a){if(!t(i))throw new e("Assertion failed: `O` must be an Object");if(!n(a))throw new e("Assertion failed: `P` must be a Property Key");return a in i},IC}var RC,p7;function eLe(){return p7||(p7=1,RC=function(t){return t===null||typeof t!="function"&&typeof t!="object"}),RC}var NC,m7;function $Q(){if(m7)return NC;m7=1;var e=wQ();return NC=function(){return e()&&!!Symbol.toStringTag},NC}var OC,g7;function tLe(){if(g7)return OC;g7=1;var e=es(),t=e("Date.prototype.getDay"),n=function(s){try{return t(s),!0}catch{return!1}},r=e("Object.prototype.toString"),i="[object Date]",a=$Q()();return OC=function(s){return typeof s!="object"||s===null?!1:a?n(s):r(s)===i},OC}var Kv={exports:{}},$C,v7;function nLe(){if(v7)return $C;v7=1;var e=es(),t=$Q()(),n=Yl(),r=Vl(),i;if(t){var a=e("RegExp.prototype.exec"),o={},s=function(){throw o},u={toString:s,valueOf:s};typeof Symbol.toPrimitive=="symbol"&&(u[Symbol.toPrimitive]=s),i=function(d){if(!d||typeof d!="object")return!1;var p=r(d,"lastIndex"),y=p&&n(p,"value");if(!y)return!1;try{a(d,u)}catch(g){return g===o}}}else{var l=e("Object.prototype.toString"),c="[object RegExp]";i=function(d){return!d||typeof d!="object"&&typeof d!="function"?!1:l(d)===c}}return $C=i,$C}var DC,y7;function DQ(){if(y7)return DC;y7=1;var e=es(),t=nLe(),n=e("RegExp.prototype.exec"),r=Tt();return DC=function(a){if(!t(a))throw new r("`regex` must be a RegExp");return function(s){return n(a,s)!==null}},DC}var w7;function rLe(){if(w7)return Kv.exports;w7=1;var e=es(),t=e("Object.prototype.toString"),n=_Q()(),r=DQ();if(n){var i=e("Symbol.prototype.toString"),a=r(/^Symbol\(.*\)$/),o=function(u){return typeof u.valueOf()!="symbol"?!1:a(i(u))};Kv.exports=function(u){if(typeof u=="symbol")return!0;if(!u||typeof u!="object"||t(u)!=="[object Symbol]")return!1;try{return o(u)}catch{return!1}}}else Kv.exports=function(u){return!1};return Kv.exports}var FC,_7;function iLe(){if(_7)return FC;_7=1;var e=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol",t=eLe(),n=PQ(),r=tLe(),i=rLe(),a=function(u,l){if(typeof u>"u"||u===null)throw new TypeError("Cannot call method on "+u);if(typeof l!="string"||l!=="number"&&l!=="string")throw new TypeError('hint must be "string" or "number"');var c=l==="string"?["toString","valueOf"]:["valueOf","toString"],f,d,p;for(p=0;p1&&(arguments[1]===String?l="string":arguments[1]===Number&&(l="number"));var c;if(e&&(Symbol.toPrimitive?c=o(u,Symbol.toPrimitive):i(u)&&(c=Symbol.prototype.valueOf)),typeof c<"u"){var f=c.call(u,l);if(t(f))return f;throw new TypeError("unable to convert exotic object to primitive")}return l==="default"&&(r(u)||i(u))&&(l="string"),a(u,l==="default"?"number":l)},FC}var LC,b7;function aLe(){if(b7)return LC;b7=1;var e=iLe();return LC=function(n){return arguments.length>1?e(n,arguments[1]):e(n)},LC}var BC,x7;function vI(){if(x7)return BC;x7=1;var e=Tt();return BC=function(n){if(n==null)throw new e(arguments.length>0&&arguments[1]||"Cannot call method on "+n);return n},BC}var zC,E7;function FQ(){if(E7)return zC;E7=1;var e=oa(),t=e("%String%"),n=Tt();return zC=function(i){if(typeof i=="symbol")throw new n("Cannot convert a Symbol value to a string");return t(i)},zC}var UC,S7;function LQ(){if(S7)return UC;S7=1;var e=vI(),t=FQ(),n=es(),r=n("String.prototype.replace"),i=/^\s$/.test("᠎"),a=i?/^[\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF]+/:/^[\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF]+/,o=i?/[\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF]+$/:/[\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF]+$/;return UC=function(){var u=t(e(this));return r(r(u,a,""),o,"")},UC}var jC,C7;function BQ(){if(C7)return jC;C7=1;var e=LQ(),t="​",n="᠎";return jC=function(){return String.prototype.trim&&t.trim()===t&&n.trim()===n&&("_"+n).trim()==="_"+n&&(n+"_").trim()===n+"_"?String.prototype.trim:e},jC}var HC,k7;function oLe(){if(k7)return HC;k7=1;var e=W_()(),t=uI(),n=BQ();return HC=function(){var i=n();return String.prototype.trim!==i&&(e?t(String.prototype,"trim",i,!0):t(String.prototype,"trim",i)),i},HC}var qC,A7;function sLe(){if(A7)return qC;A7=1;var e=SQ(),t=lI(),n=vI(),r=LQ(),i=BQ(),a=oLe(),o=e(i()),s=function(l){return n(l),o(l)};return t(s,{getPolyfill:i,implementation:r,shim:a}),qC=s,qC}var WC,T7;function uLe(){if(T7)return WC;T7=1;var e=oa(),t=e("%RegExp%"),n=Tt(),r=e("%parseInt%"),i=es(),a=DQ(),o=i("String.prototype.slice"),s=a(/^0b[01]+$/i),u=a(/^0o[0-7]+$/i),l=a(/^[-+]0x[0-9a-f]+$/i),c=["…","​","￾"].join(""),f=new t("["+c+"]","g"),d=a(f),p=sLe();return WC=function y(g){if(typeof g!="string")throw new n("Assertion failed: `argument` is not a String");if(s(g))return+r(o(g,2),2);if(u(g))return+r(o(g,2),8);if(d(g)||l(g))return NaN;var w=p(g);return w!==g?y(w):+g},WC}var GC,M7;function lLe(){if(M7)return GC;M7=1;var e=oa(),t=Tt(),n=e("%Number%"),r=OQ(),i=aLe(),a=uLe();return GC=function(s){var u=r(s)?s:i(s,n);if(typeof u=="symbol")throw new t("Cannot convert a Symbol value to a number");if(typeof u=="bigint")throw new t("Conversion from 'BigInt' to 'number' is not allowed.");return typeof u=="string"?a(u):+u},GC}var VC,P7;function cLe(){if(P7)return VC;P7=1;var e=cI();return VC=function(n){return typeof n=="bigint"?n:e(n)},VC}var YC,I7;function fLe(){if(I7)return YC;I7=1;var e=cLe(),t=Tt();return YC=function(r){if(typeof r!="number"&&typeof r!="bigint")throw new t("argument must be a Number or a BigInt");var i=r<0?-e(-r):e(r);return i===0?0:i},YC}var QC,R7;function dLe(){if(R7)return QC;R7=1;var e=lLe(),t=fLe(),n=Bg(),r=CQ();return QC=function(a){var o=e(a);return n(o)||o===0?0:r(o)?t(o):o},QC}var KC,N7;function zQ(){if(N7)return KC;N7=1;var e=NQ(),t=dLe();return KC=function(r){var i=t(r);return i<=0?0:i>e?e:i},KC}var XC,O7;function hLe(){if(O7)return XC;O7=1;var e=Tt(),t=Y_(),n=zQ(),r=sa();return XC=function(a){if(!r(a))throw new e("Assertion failed: `obj` must be an Object");return n(t(a,"length"))},XC}var ZC,$7;function pLe(){if($7)return ZC;$7=1;var e=Tt(),t=NQ(),n=HFe(),r=ZFe(),i=Y_(),a=JFe(),o=hI(),s=hLe(),u=FQ();return ZC=function l(c,f,d,p,y){var g;arguments.length>5&&(g=arguments[5]);for(var w=p,_=0;_0&&(v=o(S)),v){var C=s(S);w=l(c,S,C,w,y-1)}else{if(w>=t)throw new e("index too large");r(c,u(w),S),w+=1}}_+=1}return w},ZC}var JC,D7;function mLe(){if(D7)return JC;D7=1;var e=G_(),t=vI();return JC=function(r){return t(r),e(r)},JC}var ek,F7;function gLe(){return F7||(F7=1,ek=mLe()),ek}var tk,L7;function UQ(){if(L7)return tk;L7=1;var e=jFe(),t=pLe(),n=Y_(),r=IQ(),i=zQ(),a=gLe();return tk=function(s){var u=a(this),l=i(n(u,"length"));if(!r(s))throw new TypeError("mapperFunction must be a function");var c;arguments.length>1&&(c=arguments[1]);var f=e(u,0);return t(f,u,l,0,1,s,c),f},tk}var nk,B7;function jQ(){if(B7)return nk;B7=1;var e=UQ();return nk=function(){return Array.prototype.flatMap||e},nk}var rk,z7;function vLe(){if(z7)return rk;z7=1;var e=Yl(),t=typeof Symbol=="function"&&typeof Symbol.unscopables=="symbol",n=t&&Array.prototype[Symbol.unscopables],r=TypeError;return rk=function(a){if(typeof a!="string"||!a)throw new r("method must be a non-empty string");if(!e(Array.prototype,a))throw new r("method must be on Array.prototype");t&&(n[a]=!0)},rk}var ik,U7;function yLe(){if(U7)return ik;U7=1;var e=lI(),t=vLe(),n=jQ();return ik=function(){var i=n();return e(Array.prototype,{flatMap:i},{flatMap:function(){return Array.prototype.flatMap!==i}}),t("flatMap"),i},ik}var ak,j7;function wLe(){if(j7)return ak;j7=1;var e=lI(),t=SQ(),n=UQ(),r=jQ(),i=r(),a=yLe(),o=t(i);return e(o,{getPolyfill:r,implementation:n,shim:a}),ak=o,ak}var _Le=wLe();const Q_=Un(_Le);function HQ({files:e}){return e!=null&&e.length?q.jsx(fn,{children:e.map((t,n)=>q.jsxs(fn.Item,{children:[q.jsx(fn.Icon,{verticalAlign:"middle",name:"circle",size:"tiny"}),q.jsx(fn.Content,{children:q.jsx("a",{target:"_blank",href:t.url,rel:"noopener noreferrer",children:t.filename||t.url.split("/").pop()||t.url})})]},n))}):null}function bLe(e,t,n){const r=Km(e,t),i=e.qualifier||t.qualifier,a=i&&sj(i,n)+" ";return n.formatMessage({id:"age.exact",defaultMessage:"{qualifier}{age, plural, =0 {Less than 1 year} one {1 year} other {# years}}"},{age:r,qualifier:a})}function Xv(e,t,n){const r=Km(e,t);return n.formatMessage({id:"age.more",defaultMessage:"More than {age, plural, =0 {0 years} one {1 year} other {# years}}"},{age:r})}function Zv(e,t,n){const r=Km(e,t);return n.formatMessage({id:"age.less",defaultMessage:"Less than {age, plural, =0 {1 year} one {1 year} other {# years}}"},{age:r})}function ok(e,t,n,r,i){const a=Km(t,n),o=Km(e,r);return i.formatMessage({id:"age.between",defaultMessage:"Between {ageFrom} and {ageTo, plural, =0 {0 years} one {1 year} other {# years}}"},{ageFrom:a,ageTo:o})}function xLe(e,t){return e&&t?!aA(e)||!aA(t)||Gw(e,t)>0?!1:e.dateRange&&t.dateRange&&oA(e==null?void 0:e.dateRange)&&oA(t==null?void 0:t.dateRange)?!tve(e.dateRange,t.dateRange):!0:!1}function Km(e,t){const n=sA(e),r=sA(t),i=n.getUTCFullYear();let a=r.getUTCFullYear()-i,o=r.getUTCMonth()-n.getUTCMonth();return o<0&&(a--,o+=12),r.getUTCDate()-n.getUTCDate()<0&&o<=0&&a--,Math.abs(a)}function ELe(e,t,n){var r,i,a,o,s,u,l,c,f,d,p,y,g,w,_,b,E,S,v,C,A,M,R,O,P,z,Y,F,D,B,Q,K,H,L;if(e&&t){const G=Jn.getDate(e),U=Jn.getDate(t);if(xLe(G,U)){if(G!=null&&G.date){if(U!=null&&U.date)return bLe(G.date,U.date,n);if((r=U==null?void 0:U.dateRange)!=null&&r.from&&((i=U.dateRange)!=null&&i.to))return ok(G.date,G.date,(a=U==null?void 0:U.dateRange)==null?void 0:a.from,(o=U==null?void 0:U.dateRange)==null?void 0:o.to,n);if((s=U==null?void 0:U.dateRange)!=null&&s.from)return Xv(G.date,(u=U.dateRange)==null?void 0:u.from,n);if((l=U==null?void 0:U.dateRange)!=null&&l.to)return Zv(G.date,(c=U.dateRange)==null?void 0:c.to,n)}if((f=G==null?void 0:G.dateRange)!=null&&f.from&&((d=G==null?void 0:G.dateRange)!=null&&d.to)){if(U!=null&&U.date)return ok((p=G==null?void 0:G.dateRange)==null?void 0:p.from,(y=G==null?void 0:G.dateRange)==null?void 0:y.to,U==null?void 0:U.date,U==null?void 0:U.date,n);if((g=U==null?void 0:U.dateRange)!=null&&g.from&&((w=U.dateRange)!=null&&w.to))return ok((_=G==null?void 0:G.dateRange)==null?void 0:_.from,(b=G==null?void 0:G.dateRange)==null?void 0:b.to,(E=U==null?void 0:U.dateRange)==null?void 0:E.from,(S=U==null?void 0:U.dateRange)==null?void 0:S.to,n);if((v=U==null?void 0:U.dateRange)!=null&&v.from)return Xv((C=G.dateRange)==null?void 0:C.to,(A=U.dateRange)==null?void 0:A.from,n);if((M=U==null?void 0:U.dateRange)!=null&&M.to)return Zv((R=G.dateRange)==null?void 0:R.from,(O=U.dateRange)==null?void 0:O.to,n)}if((P=G==null?void 0:G.dateRange)!=null&&P.from){if(U!=null&&U.date)return Zv((z=G.dateRange)==null?void 0:z.from,U.date,n);if((Y=U==null?void 0:U.dateRange)!=null&&Y.to)return Zv((F=G.dateRange)==null?void 0:F.from,(D=U.dateRange)==null?void 0:D.to,n)}if((B=G==null?void 0:G.dateRange)!=null&&B.to){if(U!=null&&U.date)return Xv((Q=G==null?void 0:G.dateRange)==null?void 0:Q.to,U.date,n);if((K=U==null?void 0:U.dateRange)!=null&&K.from)return Xv((H=G==null?void 0:G.dateRange)==null?void 0:H.to,(L=U.dateRange)==null?void 0:L.from,n)}}}}var Jv={},ey={},ty={},H7;function SLe(){if(H7)return ty;H7=1,Object.defineProperty(ty,"__esModule",{value:!0});var e=su(),t=n(e);function n(r){if(r&&r.__esModule)return r;var i={};if(r!=null)for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(i[a]=r[a]);return i.default=r,i}return ty.default=function(r,i,a){return t.createElement("a",{href:r,key:a},i)},ty}var ny={},q7;function CLe(){return q7||(q7=1,Object.defineProperty(ny,"__esModule",{value:!0}),ny.default=function(e){return e}),ny}var ry={},sk,W7;function kLe(){return W7||(W7=1,sk=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/),sk}var uk,G7;function ALe(){return G7||(G7=1,uk=/[\0-\x1F\x7F-\x9F]/),uk}var lk,V7;function TLe(){return V7||(V7=1,lk=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/),lk}var ck,Y7;function MLe(){return Y7||(Y7=1,ck=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4E\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDF55-\uDF59]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD806[\uDC3B\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/),ck}var fk,Q7;function PLe(){return Q7||(Q7=1,fk=function(e){var t={};t.src_Any=kLe().source,t.src_Cc=ALe().source,t.src_Z=TLe().source,t.src_P=MLe().source,t.src_ZPCc=[t.src_Z,t.src_P,t.src_Cc].join("|"),t.src_ZCc=[t.src_Z,t.src_Cc].join("|");var n="[><|]";return t.src_pseudo_letter="(?:(?!"+n+"|"+t.src_ZPCc+")"+t.src_Any+")",t.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",t.src_auth="(?:(?:(?!"+t.src_ZCc+"|[@/\\[\\]()]).)+@)?",t.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",t.src_host_terminator="(?=$|"+n+"|"+t.src_ZPCc+")(?!-|_|:\\d|\\.-|\\.(?!$|"+t.src_ZPCc+"))",t.src_path="(?:[/?#](?:(?!"+t.src_ZCc+"|"+n+`|[()[\\]{}.,"'?!\\-]).|\\[(?:(?!`+t.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+t.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+t.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+t.src_ZCc+`|["]).)+\\"|\\'(?:(?!`+t.src_ZCc+"|[']).)+\\'|\\'(?="+t.src_pseudo_letter+"|[-]).|\\.{2,4}[a-zA-Z0-9%/]|\\.(?!"+t.src_ZCc+"|[.]).|"+(e&&e["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+"\\,(?!"+t.src_ZCc+").|\\!(?!"+t.src_ZCc+"|[!]).|\\?(?!"+t.src_ZCc+"|[?]).)+|\\/)?",t.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',t.src_xn="xn--[a-z0-9\\-]{1,59}",t.src_domain_root="(?:"+t.src_xn+"|"+t.src_pseudo_letter+"{1,63})",t.src_domain="(?:"+t.src_xn+"|(?:"+t.src_pseudo_letter+")|(?:"+t.src_pseudo_letter+"(?:-|"+t.src_pseudo_letter+"){0,61}"+t.src_pseudo_letter+"))",t.src_host="(?:(?:(?:(?:"+t.src_domain+")\\.)*"+t.src_domain+"))",t.tpl_host_fuzzy="(?:"+t.src_ip4+"|(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%)))",t.tpl_host_no_ip_fuzzy="(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%))",t.src_host_strict=t.src_host+t.src_host_terminator,t.tpl_host_fuzzy_strict=t.tpl_host_fuzzy+t.src_host_terminator,t.src_host_port_strict=t.src_host+t.src_port+t.src_host_terminator,t.tpl_host_port_fuzzy_strict=t.tpl_host_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_port_no_ip_fuzzy_strict=t.tpl_host_no_ip_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+t.src_ZPCc+"|>|$))",t.tpl_email_fuzzy="(^|"+n+'|"|\\(|'+t.src_ZCc+")("+t.src_email_name+"@"+t.tpl_host_fuzzy_strict+")",t.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_fuzzy_strict+t.src_path+")",t.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+")",t}),fk}var dk,K7;function ILe(){if(K7)return dk;K7=1;function e(E){var S=Array.prototype.slice.call(arguments,1);return S.forEach(function(v){v&&Object.keys(v).forEach(function(C){E[C]=v[C]})}),E}function t(E){return Object.prototype.toString.call(E)}function n(E){return t(E)==="[object String]"}function r(E){return t(E)==="[object Object]"}function i(E){return t(E)==="[object RegExp]"}function a(E){return t(E)==="[object Function]"}function o(E){return E.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var s={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function u(E){return Object.keys(E||{}).reduce(function(S,v){return S||s.hasOwnProperty(v)},!1)}var l={"http:":{validate:function(E,S,v){var C=E.slice(S);return v.re.http||(v.re.http=new RegExp("^\\/\\/"+v.re.src_auth+v.re.src_host_port_strict+v.re.src_path,"i")),v.re.http.test(C)?C.match(v.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(E,S,v){var C=E.slice(S);return v.re.no_http||(v.re.no_http=new RegExp("^"+v.re.src_auth+"(?:localhost|(?:(?:"+v.re.src_domain+")\\.)+"+v.re.src_domain_root+")"+v.re.src_port+v.re.src_host_terminator+v.re.src_path,"i")),v.re.no_http.test(C)?S>=3&&E[S-3]===":"||S>=3&&E[S-3]==="/"?0:C.match(v.re.no_http)[0].length:0}},"mailto:":{validate:function(E,S,v){var C=E.slice(S);return v.re.mailto||(v.re.mailto=new RegExp("^"+v.re.src_email_name+"@"+v.re.src_host_strict,"i")),v.re.mailto.test(C)?C.match(v.re.mailto)[0].length:0}}},c="a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]",f="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function d(E){E.__index__=-1,E.__text_cache__=""}function p(E){return function(S,v){var C=S.slice(v);return E.test(C)?C.match(E)[0].length:0}}function y(){return function(E,S){S.normalize(E)}}function g(E){var S=E.re=PLe()(E.__opts__),v=E.__tlds__.slice();E.onCompile(),E.__tlds_replaced__||v.push(c),v.push(S.src_xn),S.src_tlds=v.join("|");function C(O){return O.replace("%TLDS%",S.src_tlds)}S.email_fuzzy=RegExp(C(S.tpl_email_fuzzy),"i"),S.link_fuzzy=RegExp(C(S.tpl_link_fuzzy),"i"),S.link_no_ip_fuzzy=RegExp(C(S.tpl_link_no_ip_fuzzy),"i"),S.host_fuzzy_test=RegExp(C(S.tpl_host_fuzzy_test),"i");var A=[];E.__compiled__={};function M(O,P){throw new Error('(LinkifyIt) Invalid schema "'+O+'": '+P)}Object.keys(E.__schemas__).forEach(function(O){var P=E.__schemas__[O];if(P!==null){var z={validate:null,link:null};if(E.__compiled__[O]=z,r(P)){i(P.validate)?z.validate=p(P.validate):a(P.validate)?z.validate=P.validate:M(O,P),a(P.normalize)?z.normalize=P.normalize:P.normalize?M(O,P):z.normalize=y();return}if(n(P)){A.push(O);return}M(O,P)}}),A.forEach(function(O){E.__compiled__[E.__schemas__[O]]&&(E.__compiled__[O].validate=E.__compiled__[E.__schemas__[O]].validate,E.__compiled__[O].normalize=E.__compiled__[E.__schemas__[O]].normalize)}),E.__compiled__[""]={validate:null,normalize:y()};var R=Object.keys(E.__compiled__).filter(function(O){return O.length>0&&E.__compiled__[O]}).map(o).join("|");E.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+S.src_ZPCc+"))("+R+")","i"),E.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+S.src_ZPCc+"))("+R+")","ig"),E.re.pretest=RegExp("("+E.re.schema_test.source+")|("+E.re.host_fuzzy_test.source+")|@","i"),d(E)}function w(E,S){var v=E.__index__,C=E.__last_index__,A=E.__text_cache__.slice(v,C);this.schema=E.__schema__.toLowerCase(),this.index=v+S,this.lastIndex=C+S,this.raw=A,this.text=A,this.url=A}function _(E,S){var v=new w(E,S);return E.__compiled__[v.schema].normalize(v,E),v}function b(E,S){if(!(this instanceof b))return new b(E,S);S||u(E)&&(S=E,E={}),this.__opts__=e({},s,S),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=e({},l,E),this.__compiled__={},this.__tlds__=f,this.__tlds_replaced__=!1,this.re={},g(this)}return b.prototype.add=function(S,v){return this.__schemas__[S]=v,g(this),this},b.prototype.set=function(S){return this.__opts__=e(this.__opts__,S),this},b.prototype.test=function(S){if(this.__text_cache__=S,this.__index__=-1,!S.length)return!1;var v,C,A,M,R,O,P,z,Y;if(this.re.schema_test.test(S)){for(P=this.re.schema_search,P.lastIndex=0;(v=P.exec(S))!==null;)if(M=this.testSchemaAt(S,v[2],P.lastIndex),M){this.__schema__=v[2],this.__index__=v.index+v[1].length,this.__last_index__=v.index+v[0].length+M;break}}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(z=S.search(this.re.host_fuzzy_test),z>=0&&(this.__index__<0||z=0&&(A=S.match(this.re.email_fuzzy))!==null&&(R=A.index+A[1].length,O=A.index+A[0].length,(this.__index__<0||Rthis.__last_index__)&&(this.__schema__="mailto:",this.__index__=R,this.__last_index__=O))),this.__index__>=0},b.prototype.pretest=function(S){return this.re.pretest.test(S)},b.prototype.testSchemaAt=function(S,v,C){return this.__compiled__[v.toLowerCase()]?this.__compiled__[v.toLowerCase()].validate(S,C,this):0},b.prototype.match=function(S){var v=0,C=[];this.__index__>=0&&this.__text_cache__===S&&(C.push(_(this,v)),v=this.__last_index__);for(var A=v?S.slice(v):S;this.test(A);)C.push(_(this,v)),A=A.slice(this.__last_index__),v+=this.__last_index__;return C.length?C:null},b.prototype.tlds=function(S,v){return S=Array.isArray(S)?S:[S],v?(this.__tlds__=this.__tlds__.concat(S).sort().filter(function(C,A,M){return C!==M[A-1]}).reverse(),g(this),this):(this.__tlds__=S.slice(),this.__tlds_replaced__=!0,g(this),this)},b.prototype.normalize=function(S){S.schema||(S.url="http://"+S.url),S.schema==="mailto:"&&!/^mailto:/i.test(S.url)&&(S.url="mailto:"+S.url)},b.prototype.onCompile=function(){},dk=b,dk}const RLe=JSON.parse('["aaa","aarp","abb","abbott","abbvie","abc","able","abogado","abudhabi","ac","academy","accenture","accountant","accountants","aco","actor","ad","ads","adult","ae","aeg","aero","aetna","af","afl","africa","ag","agakhan","agency","ai","aig","airbus","airforce","airtel","akdn","al","alibaba","alipay","allfinanz","allstate","ally","alsace","alstom","am","amazon","americanexpress","americanfamily","amex","amfam","amica","amsterdam","analytics","android","anquan","anz","ao","aol","apartments","app","apple","aq","aquarelle","ar","arab","aramco","archi","army","arpa","art","arte","as","asda","asia","associates","at","athleta","attorney","au","auction","audi","audible","audio","auspost","author","auto","autos","aw","aws","ax","axa","az","azure","ba","baby","baidu","banamex","band","bank","bar","barcelona","barclaycard","barclays","barefoot","bargains","baseball","basketball","bauhaus","bayern","bb","bbc","bbt","bbva","bcg","bcn","bd","be","beats","beauty","beer","bentley","berlin","best","bestbuy","bet","bf","bg","bh","bharti","bi","bible","bid","bike","bing","bingo","bio","biz","bj","black","blackfriday","blockbuster","blog","bloomberg","blue","bm","bms","bmw","bn","bnpparibas","bo","boats","boehringer","bofa","bom","bond","boo","book","booking","bosch","bostik","boston","bot","boutique","box","br","bradesco","bridgestone","broadway","broker","brother","brussels","bs","bt","build","builders","business","buy","buzz","bv","bw","by","bz","bzh","ca","cab","cafe","cal","call","calvinklein","cam","camera","camp","canon","capetown","capital","capitalone","car","caravan","cards","care","career","careers","cars","casa","case","cash","casino","cat","catering","catholic","cba","cbn","cbre","cc","cd","center","ceo","cern","cf","cfa","cfd","cg","ch","chanel","channel","charity","chase","chat","cheap","chintai","christmas","chrome","church","ci","cipriani","circle","cisco","citadel","citi","citic","city","ck","cl","claims","cleaning","click","clinic","clinique","clothing","cloud","club","clubmed","cm","cn","co","coach","codes","coffee","college","cologne","com","commbank","community","company","compare","computer","comsec","condos","construction","consulting","contact","contractors","cooking","cool","coop","corsica","country","coupon","coupons","courses","cpa","cr","credit","creditcard","creditunion","cricket","crown","crs","cruise","cruises","cu","cuisinella","cv","cw","cx","cy","cymru","cyou","cz","dad","dance","data","date","dating","datsun","day","dclk","dds","de","deal","dealer","deals","degree","delivery","dell","deloitte","delta","democrat","dental","dentist","desi","design","dev","dhl","diamonds","diet","digital","direct","directory","discount","discover","dish","diy","dj","dk","dm","dnp","do","docs","doctor","dog","domains","dot","download","drive","dtv","dubai","dunlop","dupont","durban","dvag","dvr","dz","earth","eat","ec","eco","edeka","edu","education","ee","eg","email","emerck","energy","engineer","engineering","enterprises","epson","equipment","er","ericsson","erni","es","esq","estate","et","eu","eurovision","eus","events","exchange","expert","exposed","express","extraspace","fage","fail","fairwinds","faith","family","fan","fans","farm","farmers","fashion","fast","fedex","feedback","ferrari","ferrero","fi","fidelity","fido","film","final","finance","financial","fire","firestone","firmdale","fish","fishing","fit","fitness","fj","fk","flickr","flights","flir","florist","flowers","fly","fm","fo","foo","food","football","ford","forex","forsale","forum","foundation","fox","fr","free","fresenius","frl","frogans","frontier","ftr","fujitsu","fun","fund","furniture","futbol","fyi","ga","gal","gallery","gallo","gallup","game","games","gap","garden","gay","gb","gbiz","gd","gdn","ge","gea","gent","genting","george","gf","gg","ggee","gh","gi","gift","gifts","gives","giving","gl","glass","gle","global","globo","gm","gmail","gmbh","gmo","gmx","gn","godaddy","gold","goldpoint","golf","goo","goodyear","goog","google","gop","got","gov","gp","gq","gr","grainger","graphics","gratis","green","gripe","grocery","group","gs","gt","gu","gucci","guge","guide","guitars","guru","gw","gy","hair","hamburg","hangout","haus","hbo","hdfc","hdfcbank","health","healthcare","help","helsinki","here","hermes","hiphop","hisamitsu","hitachi","hiv","hk","hkt","hm","hn","hockey","holdings","holiday","homedepot","homegoods","homes","homesense","honda","horse","hospital","host","hosting","hot","hotels","hotmail","house","how","hr","hsbc","ht","hu","hughes","hyatt","hyundai","ibm","icbc","ice","icu","id","ie","ieee","ifm","ikano","il","im","imamat","imdb","immo","immobilien","in","inc","industries","infiniti","info","ing","ink","institute","insurance","insure","int","international","intuit","investments","io","ipiranga","iq","ir","irish","is","ismaili","ist","istanbul","it","itau","itv","jaguar","java","jcb","je","jeep","jetzt","jewelry","jio","jll","jm","jmp","jnj","jo","jobs","joburg","jot","joy","jp","jpmorgan","jprs","juegos","juniper","kaufen","kddi","ke","kerryhotels","kerrylogistics","kerryproperties","kfh","kg","kh","ki","kia","kids","kim","kindle","kitchen","kiwi","km","kn","koeln","komatsu","kosher","kp","kpmg","kpn","kr","krd","kred","kuokgroup","kw","ky","kyoto","kz","la","lacaixa","lamborghini","lamer","lancaster","land","landrover","lanxess","lasalle","lat","latino","latrobe","law","lawyer","lb","lc","lds","lease","leclerc","lefrak","legal","lego","lexus","lgbt","li","lidl","life","lifeinsurance","lifestyle","lighting","like","lilly","limited","limo","lincoln","link","lipsy","live","living","lk","llc","llp","loan","loans","locker","locus","lol","london","lotte","lotto","love","lpl","lplfinancial","lr","ls","lt","ltd","ltda","lu","lundbeck","luxe","luxury","lv","ly","ma","madrid","maif","maison","makeup","man","management","mango","map","market","marketing","markets","marriott","marshalls","mattel","mba","mc","mckinsey","md","me","med","media","meet","melbourne","meme","memorial","men","menu","merckmsd","mg","mh","miami","microsoft","mil","mini","mint","mit","mitsubishi","mk","ml","mlb","mls","mm","mma","mn","mo","mobi","mobile","moda","moe","moi","mom","monash","money","monster","mormon","mortgage","moscow","moto","motorcycles","mov","movie","mp","mq","mr","ms","msd","mt","mtn","mtr","mu","museum","music","mv","mw","mx","my","mz","na","nab","nagoya","name","navy","nba","nc","ne","nec","net","netbank","netflix","network","neustar","new","news","next","nextdirect","nexus","nf","nfl","ng","ngo","nhk","ni","nico","nike","nikon","ninja","nissan","nissay","nl","no","nokia","norton","now","nowruz","nowtv","np","nr","nra","nrw","ntt","nu","nyc","nz","obi","observer","office","okinawa","olayan","olayangroup","ollo","om","omega","one","ong","onl","online","ooo","open","oracle","orange","org","organic","origins","osaka","otsuka","ott","ovh","pa","page","panasonic","paris","pars","partners","parts","party","pay","pccw","pe","pet","pf","pfizer","pg","ph","pharmacy","phd","philips","phone","photo","photography","photos","physio","pics","pictet","pictures","pid","pin","ping","pink","pioneer","pizza","pk","pl","place","play","playstation","plumbing","plus","pm","pn","pnc","pohl","poker","politie","porn","post","pr","pramerica","praxi","press","prime","pro","prod","productions","prof","progressive","promo","properties","property","protection","pru","prudential","ps","pt","pub","pw","pwc","py","qa","qpon","quebec","quest","racing","radio","re","read","realestate","realtor","realty","recipes","red","redstone","redumbrella","rehab","reise","reisen","reit","reliance","ren","rent","rentals","repair","report","republican","rest","restaurant","review","reviews","rexroth","rich","richardli","ricoh","ril","rio","rip","ro","rocks","rodeo","rogers","room","rs","rsvp","ru","rugby","ruhr","run","rw","rwe","ryukyu","sa","saarland","safe","safety","sakura","sale","salon","samsclub","samsung","sandvik","sandvikcoromant","sanofi","sap","sarl","sas","save","saxo","sb","sbi","sbs","sc","scb","schaeffler","schmidt","scholarships","school","schule","schwarz","science","scot","sd","se","search","seat","secure","security","seek","select","sener","services","seven","sew","sex","sexy","sfr","sg","sh","shangrila","sharp","shell","shia","shiksha","shoes","shop","shopping","shouji","show","si","silk","sina","singles","site","sj","sk","ski","skin","sky","skype","sl","sling","sm","smart","smile","sn","sncf","so","soccer","social","softbank","software","sohu","solar","solutions","song","sony","soy","spa","space","sport","spot","sr","srl","ss","st","stada","staples","star","statebank","statefarm","stc","stcgroup","stockholm","storage","store","stream","studio","study","style","su","sucks","supplies","supply","support","surf","surgery","suzuki","sv","swatch","swiss","sx","sy","sydney","systems","sz","tab","taipei","talk","taobao","target","tatamotors","tatar","tattoo","tax","taxi","tc","tci","td","tdk","team","tech","technology","tel","temasek","tennis","teva","tf","tg","th","thd","theater","theatre","tiaa","tickets","tienda","tips","tires","tirol","tj","tjmaxx","tjx","tk","tkmaxx","tl","tm","tmall","tn","to","today","tokyo","tools","top","toray","toshiba","total","tours","town","toyota","toys","tr","trade","trading","training","travel","travelers","travelersinsurance","trust","trv","tt","tube","tui","tunes","tushu","tv","tvs","tw","tz","ua","ubank","ubs","ug","uk","unicom","university","uno","uol","ups","us","uy","uz","va","vacations","vana","vanguard","vc","ve","vegas","ventures","verisign","vermögensberater","vermögensberatung","versicherung","vet","vg","vi","viajes","video","vig","viking","villas","vin","vip","virgin","visa","vision","viva","vivo","vlaanderen","vn","vodka","volvo","vote","voting","voto","voyage","vu","wales","walmart","walter","wang","wanggou","watch","watches","weather","weatherchannel","webcam","weber","website","wed","wedding","weibo","weir","wf","whoswho","wien","wiki","williamhill","win","windows","wine","winners","wme","wolterskluwer","woodside","work","works","world","wow","ws","wtc","wtf","xbox","xerox","xihuan","xin","xxx","xyz","yachts","yahoo","yamaxun","yandex","ye","yodobashi","yoga","yokohama","you","youtube","yt","yun","za","zappos","zara","zero","zip","zm","zone","zuerich","zw","ελ","ευ","бг","бел","дети","ею","католик","ком","мкд","мон","москва","онлайн","орг","рус","рф","сайт","срб","укр","қаз","հայ","ישראל","קום","ابوظبي","ارامكو","الاردن","البحرين","الجزائر","السعودية","العليان","المغرب","امارات","ایران","بارت","بازار","بيتك","بھارت","تونس","سودان","سورية","شبكة","عراق","عرب","عمان","فلسطين","قطر","كاثوليك","كوم","مصر","مليسيا","موريتانيا","موقع","همراه","پاکستان","ڀارت","कॉम","नेट","भारत","भारतम्","भारोत","संगठन","বাংলা","ভারত","ভাৰত","ਭਾਰਤ","ભારત","ଭାରତ","இந்தியா","இலங்கை","சிங்கப்பூர்","భారత్","ಭಾರತ","ഭാരതം","ලංකා","คอม","ไทย","ລາວ","გე","みんな","アマゾン","クラウド","グーグル","コム","ストア","セール","ファッション","ポイント","世界","中信","中国","中國","中文网","亚马逊","企业","佛山","信息","健康","八卦","公司","公益","台湾","台灣","商城","商店","商标","嘉里","嘉里大酒店","在线","大拿","天主教","娱乐","家電","广东","微博","慈善","我爱你","手机","招聘","政务","政府","新加坡","新闻","时尚","書籍","机构","淡马锡","游戏","澳門","点看","移动","组织机构","网址","网店","网站","网络","联通","谷歌","购物","通販","集团","電訊盈科","飞利浦","食品","餐厅","香格里拉","香港","닷넷","닷컴","삼성","한국"]');var X7;function NLe(){if(X7)return ry;X7=1,Object.defineProperty(ry,"__esModule",{value:!0});var e=ILe(),t=i(e),n=RLe,r=i(n);function i(o){return o&&o.__esModule?o:{default:o}}var a=new t.default;return a.tlds(r.default),ry.default=function(o){return a.match(o)},ry}var iy={},Z7;function OLe(){return Z7||(Z7=1,Object.defineProperty(iy,"__esModule",{value:!0}),iy.default=function(e){return e}),iy}var J7;function $Le(){if(J7)return ey;J7=1,Object.defineProperty(ey,"__esModule",{value:!0});var e=function(){function _(b,E){for(var S=0;SM&&A.push(S.substring(M,R.index));var P=v.props.hrefDecorator(R.url),z=v.props.textDecorator(R.text),Y=v.props.componentDecorator(P,z,O);A.push(Y),M=R.lastIndex}),S.length>M&&A.push(S.substring(M)),A.length===1?A[0]:A}},{key:"parse",value:function(S){var v=this,C=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return typeof S=="string"?this.parseString(S):n.isValidElement(S)&&S.type!=="a"&&S.type!=="button"?n.cloneElement(S,{key:C},this.parse(S.props.children)):Array.isArray(S)?S.map(function(A,M){return v.parse(A,M)}):S}},{key:"render",value:function(){return n.createElement(n.Fragment,null,this.parse(this.props.children))}}]),b}(n.Component);return w.defaultProps={componentDecorator:i.default,hrefDecorator:o.default,matchDecorator:u.default,textDecorator:c.default},ey.default=w,ey}var e9;function DLe(){if(e9)return Jv;e9=1,Object.defineProperty(Jv,"__esModule",{value:!0});var e=$Le(),t=n(e);function n(r){return r&&r.__esModule?r:{default:r}}return Jv.default=t.default,Jv}var FLe=DLe();const zT=Un(FLe);function yI(e){return q.jsx(q.Fragment,{children:e.lines.map((t,n)=>q.jsxs("div",{children:[q.jsx(zT,{properties:{target:"_blank"},children:t}),q.jsx("br",{})]},n))})}function qQ({sources:e}){const t=Ii();return e!=null&&e.length?q.jsx(fn,{children:e.map((n,r)=>q.jsxs(fn.Item,{children:[q.jsx(fn.Icon,{verticalAlign:"middle",name:"circle",size:"tiny"}),q.jsxs(fn.Content,{children:[q.jsx(fn.Header,{children:q.jsx(zT,{properties:{target:"_blank"},children:[n.author,n.title,n.publicationInfo].filter(i=>!!i).join(", ")})}),q.jsxs(fn.Description,{children:[q.jsx(zT,{properties:{target:"_blank"},children:n.page}),n.date&&` [${wm(n.date,t)}]`]})]})]},r))}):null}function WQ(e){const[t,n]=ee.useState(!1),[r,i]=ee.useState(!1),[a,o]=ee.useState(!1),[s,u]=ee.useState("");return r&&s!==e.url&&i(!1),q.jsxs(q.Fragment,{children:[q.jsx(wn,{className:r?"loaded-image-thumbnail":"hidden-image",onClick:()=>n(!0),onLoad:()=>{i(!0),u(e.url),o(!1)},onError:l=>{i(!0),u(e.url),o(!0),l.currentTarget.alt=""},src:e.url,alt:e.title||e.filename,centered:!0}),q.jsx(Ua,{className:r?"hidden-image":"image-placeholder",children:q.jsx(Ua.Image,{square:!0})}),a&&q.jsx(Jp,{fluid:!0,textAlign:"center",children:q.jsx(ki,{negative:!0,compact:!0,children:q.jsx(ki.Header,{children:q.jsx(He,{id:"error.failed_to_load_image",defaultMessage:"Failed to load image file"})})})}),q.jsxs(Mn,{basic:!0,size:"large",closeIcon:q.jsx(st,{name:"close",color:"red"}),open:t,onClose:()=>n(!1),onOpen:()=>n(!0),centered:!1,children:[q.jsx(Mn.Header,{children:e.title}),q.jsx(Mn.Content,{image:!0,children:q.jsx(wn,{className:"modal-image",src:e.url,alt:e.title||e.filename,label:q.jsx(ni,{attached:"bottom",content:e.filename}),wrapped:!0})})]})]})}function LLe(e){return!!e&&e.map((t,n)=>q.jsx(fn,{children:q.jsx(fn.Item,{children:q.jsx(WQ,{url:t.url,filename:t.filename,title:t.title})})},n))}function BLe(e){return!!(e!=null&&e.length)&&e.map((t,n)=>q.jsx("div",{children:q.jsx(yI,{lines:t.map((r,i)=>q.jsx("i",{children:r},i))})},n))}function zLe(e){var f,d,p,y;const[t,n]=ee.useState(-1),[r,i]=ee.useState("");(!r||r!==e.indi)&&(n(-1),i(e.indi));function a(g,w){w.index!==void 0&&t!==w.index?n(w.index):n(-1)}const o=((f=e.images)==null?void 0:f.length)&&{menuItem:q.jsx(an.Item,{fitted:!0,onClick:a,children:q.jsx(To,{content:q.jsx(He,{id:"extras.images",defaultMessage:"Images"}),size:"mini",position:"bottom center",trigger:q.jsx(st,{circular:!0,name:"camera"})})},"images"),render:()=>q.jsx(Vi.Pane,{children:LLe(e.images)})},s=((d=e.notes)==null?void 0:d.length)&&{menuItem:q.jsx(an.Item,{fitted:!0,onClick:a,children:q.jsx(To,{content:q.jsx(He,{id:"extras.notes",defaultMessage:"Notes"}),size:"mini",position:"bottom center",trigger:q.jsx(st,{circular:!0,name:"sticky note outline"})})},"notes"),render:()=>q.jsx(Vi.Pane,{children:BLe(e.notes)})},u=((p=e.sources)==null?void 0:p.length)&&{menuItem:q.jsx(an.Item,{fitted:!0,onClick:a,children:q.jsx(To,{content:q.jsx(He,{id:"extras.sources",defaultMessage:"Sources"}),size:"mini",position:"bottom center",trigger:q.jsx(st,{circular:!0,name:"quote right"})})},"sources"),render:()=>q.jsx(Vi.Pane,{children:q.jsx(qQ,{sources:e.sources})})},l=((y=e.files)==null?void 0:y.length)&&{menuItem:q.jsx(an.Item,{fitted:!0,onClick:a,children:q.jsx(To,{content:q.jsx(He,{id:"extras.files",defaultMessage:"Additonal files"}),size:"mini",position:"bottom center",trigger:q.jsx(st,{circular:!0,name:"file alternate outline"})})},"files"),render:()=>q.jsx(Vi.Pane,{children:q.jsx(HQ,{files:e.files})})},c=[o,s,u,l].flatMap(g=>g?[g]:[]);return c.length?q.jsx(wt.Description,{children:q.jsx(Vi,{className:"event-extras",activeIndex:t,renderActiveOnly:!0,menu:{tabular:!0,attached:!0,compact:!0,borderless:!0},panes:c})}):null}const ULe=new Map([["ADOP","Adoption"],["BAPM","Baptism"],["BARM","Bar Mitzvah"],["BASM","Bas Mitzvah"],["BIRT","Birth"],["BLES","Blessing"],["BURI","Burial"],["CENS","Census"],["CHR","Christening"],["CHRA","Adult christening"],["CONF","Confirmation"],["CREM","Cremation"],["DEAT","Death"],["DEG","Degree"],["DIV","Divorce"],["DIVF","Divorce filed"],["EDUC","Education"],["ELEC","Elected"],["EMAIL","E-mail"],["EMIG","Emigration"],["ENGA","Engagement"],["EVEN","Event"],["FACT","Fact"],["FCOM","First communion"],["GRAD","Graduation"],["IMMI","Immigration"],["MARB","Marriage bann"],["MARC","Marriage contract"],["MARL","Marriage license"],["MARR","Marriage"],["MARS","Marriage settlement"],["MDCL","Medical info"],["MILT","Military services"],["NATU","Naturalization"],["OBJE","Additional files"],["OCCU","Occupation"],["ORDN","Ordination"],["PROB","Probate"],["PROP","Property"],["RESI","Residence"],["RETI","Retirement"],["SOUR","Sources"],["TITL","Title"],["WILL","Will"],["WWW","WWW"],["birth","Birth name"],["married","Married name"],["maiden","Maiden name"],["immigrant","Immigrant name"],["aka","Also known as"]]);function Ug(e){const t=e.tag.replace(/_/g,"");return q.jsx(He,{id:`gedcom.${t}`,defaultMessage:ULe.get(t)||t})}function jLe(e){const t=ii(),n=hve(e.person),r=Ur.parse(t.search);return r.indi=Sp(e.person.pointer),q.jsx(wt.Meta,{children:q.jsx(uf,{to:{pathname:"/view",search:Ur.stringify(r)},children:n||q.jsx(He,{id:"name.unknown_name",defaultMessage:"N.N."})})})}const wI=["BIRT"],HLe=["ADOP","BAPM","BARM","BASM","BLES","CENS","CHR","CHRA","CONF","EDUC","EMIG","EVEN","FAMS","FCOM","GRAD","IMMI","NATU","ORDN","OCCU","PROP","RESI","RETI","WILL","_DEG","_ELEC","_MDCL","_MILT"],GQ=["ANUL","CENS","DIV","DIVF","ENGA","EVEN","MARB","MARC","MARL","MARR","MARS"],VQ=[...HLe,...GQ],_I=["DEAT"],YQ=["BURI","CREM","PROB"],qLe=[wI,VQ,_I,YQ],WLe=[...wI,...VQ,..._I,...YQ];function GLe(e){const t=Ii();return q.jsxs("div",{className:"item-header",children:[q.jsx(Bn,{as:"span",size:"small",children:q.jsx(Ug,{tag:VLe(e.event)})}),e.event.date?q.jsx(Bn,{as:"span",textAlign:"right",sub:!0,children:wm(e.event.date,t)}):null]})}function VLe(e){return e.tag==="EVEN"&&e.type?e.type:e.tag}function YLe(e,t,n){const r=t.tree.filter(i=>["WIFE","HUSB"].includes(i.tag)).find(i=>!i.data.includes(e));if(r)return Za(r,n,i=>i.indis)}function QLe(e,t,n,r){if(!_I.includes(e.tag))return;const i=bm(e),a=n.indis[t].tree.filter(o=>wI.includes(o.tag)).map(o=>bm(o)).find(o=>o);if(!(!a||!i))return ELe(a==null?void 0:a.data,i==null?void 0:i.data,r)}function QQ(e){const t=e.tree.find(n=>n.tag==="PLAC");return t!=null&&t.data?_m(t):void 0}function KQ(e,t){return e.tree.filter(n=>n.tag==="OBJE").map(n=>Za(n,t,r=>r.other)).map(n=>hj(n)).flatMap(n=>n?[{url:(n==null?void 0:n.data)||"",filename:Vw(n)||""}]:[])}function XQ(e,t){return e.tree.filter(n=>n.tag==="OBJE").map(n=>Za(n,t,r=>r.other)).map(n=>dj(n)).flatMap(n=>n?[{url:(n==null?void 0:n.data)||"",filename:Vw(n)||""}]:[])}function ZQ(e,t){return e.tree.filter(n=>n.tag==="SOUR").map(n=>mj(n,t))}function JQ(e,t){const n=e.tree.filter(i=>i.tag==="NOTE").map(i=>Za(i,t,a=>a.other)),r=e.tag!=="EVEN"?e.tree.filter(i=>i.tag==="TYPE"):[];return[e,...r,...n].filter(i=>!!i.data).filter(i=>i.data!=="Y").map(i=>_m(i))}function KLe(e,t,n,r){return e.tag==="FAMS"?ZLe(e,t,n):XLe(e,t,n,r)}function XLe(e,t,n,r){const i=bm(e)||null;return[{tag:e.tag,date:i?Jn.getDate(i.data):void 0,type:pj(e),age:QLe(e,n,t,r),place:QQ(e),images:KQ(e,t),files:XQ(e,t),notes:JQ(e,t),sources:ZQ(e,t),indi:n}]}function ZLe(e,t,n){const r=Za(e,t,i=>i.fams);return Q_(GQ,i=>r.tree.filter(a=>a.tag===i)).map(i=>{const a=bm(i)||null;return{tag:i.tag,date:a?Jn.getDate(a.data):void 0,type:pj(i),personLink:YLe(n,r,t),place:QQ(i),images:KQ(i,t),files:XQ(i,t),notes:JQ(i,t),sources:ZQ(i,t),indi:n}})}function JLe(e){return q.jsx(wt,{children:q.jsxs(wt.Content,{children:[q.jsx(GLe,{event:e.event}),!!e.event.age&&q.jsx(wt.Meta,{children:e.event.age}),!!e.event.personLink&&q.jsx(jLe,{person:e.event.personLink}),!!e.event.place&&q.jsx(wt.Description,{children:e.event.place}),q.jsx(zLe,{images:e.event.images,notes:e.event.notes,sources:e.event.sources,indi:e.event.indi,files:e.event.files})]})})}function e7e(e){const t=Ii(),n=Q_(qLe,r=>e.entries.filter(i=>r.includes(i.tag)).map(i=>KLe(i,e.gedcom,e.indi,t)).flatMap(i=>i).sort((i,a)=>Gw(i.date,a.date)));return n.length?q.jsx(q.Fragment,{children:n.map((r,i)=>q.jsx(JLe,{event:r},i))}):null}const t7e=[...WLe,"NAME","SEX","FAMC","FAMS","NOTE","SOUR"];function n7e(e){const t=[];return e.data&&t.push(..._m(e)),e.tree.filter(n=>n.tag==="NOTE").forEach(n=>_m(n).forEach(r=>t.push(q.jsx("i",{children:r})))),t.length?q.jsxs(q.Fragment,{children:[q.jsx(Bn,{sub:!0,children:q.jsx(Ug,{tag:e.tag})}),q.jsx("span",{children:q.jsx(yI,{lines:t})})]}):null}function r7e(e,t){const n=Za(e,t,i=>i.other),r=hj(n);return!r||!bI(n)?null:q.jsx("div",{className:"person-image",children:q.jsx(WQ,{url:r.data,filename:Vw(r)||""})})}function i7e(e,t){const n=e.map(r=>mj(r,t));return n.length?q.jsxs(q.Fragment,{children:[q.jsx("div",{className:"item-header",children:q.jsx(Bn,{as:"span",size:"small",children:q.jsx(Ug,{tag:"SOUR"})})}),q.jsx(qQ,{sources:n})]}):null}function a7e(e,t){const n=e.map(r=>Za(r,t,i=>i.other)).map(r=>dj(r)).filter(r=>!!r).map(r=>({url:r.data,filename:Vw(r)}));return n.length?q.jsxs(q.Fragment,{children:[q.jsx("div",{className:"item-header",children:q.jsx(Bn,{as:"span",size:"small",children:q.jsx(Ug,{tag:"OBJE"})})}),q.jsx(HQ,{files:n})]}):null}function o7e(e,t){const n=Za(e,t,r=>r.other);return!n||!bI(n)?null:q.jsx(yI,{lines:_m(n).map((r,i)=>q.jsx("i",{children:r},i))})}function s7e(e){var r;const t=e.data.replaceAll("/",""),n=(r=e.tree.find(i=>i.tag==="TYPE"&&i.data!=="Unknown"))==null?void 0:r.data;return q.jsxs(q.Fragment,{children:[q.jsx(Bn,{as:"span",size:"large",children:t||q.jsx(He,{id:"name.unknown_name",defaultMessage:"N.N."})}),t&&n&&q.jsx(wt.Meta,{children:q.jsx(Ug,{tag:n})})]})}function hk(e,t,n,r){return Q_(n,i=>e.filter(a=>a.tag===i).map(a=>r(a,t))).filter(i=>i!==null).map((i,a)=>q.jsx(wt,{children:q.jsx(wt.Content,{children:i})},a))}function t9(e,t,n,r){const i=Q_(n,o=>e.filter(s=>s.tag===o)).filter(o=>o!==null),a=i.length?r(i,t):null;return a?q.jsx(wt,{children:q.jsx(wt.Content,{children:a})}):null}function bI(e){return e.tree.length>0||e.data&&!e.data.startsWith("@")}function u7e(e,t){return e.filter(n=>!t7e.includes(n.tag)).map(n=>Za(n,t,r=>r.other)).filter(bI).map(n=>n7e(n)).filter(n=>n!==null).map((n,r)=>q.jsx(wt,{children:q.jsx(wt.Content,{children:n})},r))}function l7e(e){const t=e.gedcom.indis[e.indi].tree;return q.jsx("div",{className:"details",children:q.jsxs(wt.Group,{divided:!0,children:[hk(t,e.gedcom,["NAME"],s7e),hk(t,e.gedcom,["OBJE"],r7e),q.jsx(e7e,{gedcom:e.gedcom,entries:t,indi:e.indi}),u7e(t,e.gedcom),hk(t,e.gedcom,["NOTE"],o7e),t9(t,e.gedcom,["OBJE"],a7e),t9(t,e.gedcom,["SOUR"],i7e)]})})}function c7e({data:e,selectedIndiId:t,config:n,onConfigChange:r,expanded:i,onToggle:a}){const o=Ii(),s=[{menuItem:o.formatMessage({id:"tab.info",defaultMessage:"Info"}),render:()=>q.jsx(l7e,{gedcom:e.gedcom,indi:t})},{menuItem:o.formatMessage({id:"tab.settings",defaultMessage:"Settings"}),render:()=>q.jsx(E0e,{config:n,onChange:r})}];return q.jsxs(du,{id:"sidebar",animation:"overlay",icon:"labeled",width:i?"wide":"very thin",direction:"right",visible:!0,children:[i?q.jsx(Vi,{id:"sideTabs",panes:s}):q.jsx(uFe,{gedcom:e.gedcom,indi:t}),q.jsx(zn,{id:"sideToggle",icon:!0,size:"mini",onClick:()=>a(),children:q.jsx(st,{size:"large",name:i?"arrow right":"arrow left"})})]})}function f7e(e,t){return e instanceof bd?t.formatMessage({id:`error.${e.code}`,defaultMessage:e.message},e.args):e.message}function d7e(e){return q.jsxs(ki,{negative:!0,className:"error",children:[q.jsx(ki.Header,{children:q.jsx(He,{id:"error.failed_to_load_file",defaultMessage:"Failed to load file"})}),q.jsx("p",{children:e.message})]})}function h7e(e){return q.jsx(xi,{open:e.open,onClose:e.onDismiss,children:q.jsxs(ki,{negative:!0,className:"errorPopup",onDismiss:e.onDismiss,children:[q.jsx(ki.Header,{children:q.jsx(He,{id:"error.error",defaultMessage:"Error"})}),q.jsx("p",{children:e.message})]})})}function n9(e,t){const n=t[e];return typeof n=="string"?n:void 0}function p7e(e){const t=Ur.parse(e.search),n=d=>n9(d,t),r=n("view"),i=new Map([["relatives",Os.Relatives],["fancy",Os.Fancy],["donatso",Os.Donatso]]),a=n("file"),o=n("url"),s=n("embedded")==="true";var u=void 0;if(n("source")==="wikitree"){const d=Ur.parse(window.location.search);u={source:Zn.WIKITREE,authcode:n("authcode")||n9("authcode",d)}}else a?u={source:Zn.UPLOADED,hash:a,gedcom:e.state&&e.state.data,images:e.state&&e.state.images}:o?u={source:Zn.GEDCOM_URL,url:o,handleCors:n("handleCors")!=="false"}:s&&(u={source:Zn.EMBEDDED});const l=n("indi"),c=Number(n("gen")),f=l?{id:l,generation:isNaN(c)?0:c}:void 0;return{sourceSpec:u,selection:f,chartType:i.get(r)||Os.Hourglass,showSidePanel:n("sidePanel")!=="false",standalone:n("standalone")!=="false"&&!s&&!0,showWikiTreeMenus:n("showWikiTreeMenus")!=="false",freezeAnimation:n("freeze")==="true",config:b0e(t)}}function m7e(){const[e,t]=ee.useState(0),[n,r]=ee.useState(),[i,a]=ee.useState(),[o,s]=ee.useState(),[u,l]=ee.useState(!1),[c,f]=ee.useState(!0),[d,p]=ee.useState(!0),[y,g]=ee.useState(Os.Hourglass),[w,_]=ee.useState(!1),[b,E]=ee.useState(),[S,v]=ee.useState(!1),[C,A]=ee.useState(_y),M=Ii(),R=Nl(),O=ii();function P(ge){(!i||i.id!==ge.id||i.generation!==ge.generation)&&a(ge)}function z(ge,fe){if(fe===void 0)return;let Re=ge.id===VU.HIDE,$e=ge.sex===YU.HIDE;t3(fe.chartData).forEach(Ye=>{Ye.hideId=Re,Ye.hideSex=$e})}function Y(){const ge=!u;l(ge),G({sidePanel:ge?"true":"false"})}function F(ge){s(ge),t(2)}const D=new zve,B=new Uve,Q=new Pye(M),K=new jve;function H(ge,fe){if(!b||b.source!==ge.source)return!0;const Re={spec:ge,selection:fe},$e={spec:b,selection:i};switch(Re.spec.source){case Zn.UPLOADED:return D.isNewData(Re,$e,n);case Zn.GEDCOM_URL:return B.isNewData(Re,$e,n);case Zn.WIKITREE:return Q.isNewData(Re,$e,n);case Zn.EMBEDDED:return K.isNewData(Re,$e,n)}}function L(ge,fe){switch(ge.source){case Zn.UPLOADED:return D.loadData({spec:ge,selection:fe});case Zn.GEDCOM_URL:return B.loadData({spec:ge,selection:fe});case Zn.WIKITREE:return Q.loadData({spec:ge,selection:fe});case Zn.EMBEDDED:return K.loadData({spec:ge,selection:fe})}}ee.useEffect(()=>{(async()=>{var fe;if(O.pathname!=="/view"){e!==0&&t(0);return}const ge=p7e(O);if(!ge.sourceSpec){R({pathname:"/"},{replace:!0});return}if(e===0||H(ge.sourceSpec,ge.selection)){t(1),E(ge.sourceSpec),a(ge.selection),f(ge.standalone),p(ge.showWikiTreeMenus),g(ge.chartType),v(ge.freezeAnimation),A(ge.config);try{const Re=await L(ge.sourceSpec,ge.selection);r(Re),z(ge.config,Re),l(ge.showSidePanel),t(3)}catch(Re){F(f7e(Re,M))}}else if(e===3||e===4){const Re=ge.sourceSpec.source===Zn.WIKITREE&&(!i||i.id!==((fe=ge.selection)==null?void 0:fe.id));if(g(ge.chartType),t(Re?4:3),P(ge.selection),Re)try{const $e=await zj(ge.selection.id,M),at=g8($e.chartData,ge.selection);r($e),a(at),t(3)}catch($e){t(3),ne(M.formatMessage({id:"error.failed_wikitree_load_more",defaultMessage:"Failed to load data from WikiTree. {error}"},{error:$e}))}}})()});function G(ge){const fe=Ur.parse(O.search);for(const Re in ge)fe[Re]=ge[Re];O.search=Ur.stringify(fe),R(O)}function U(ge){ge.id.startsWith(u3)||(Fn("selection_changed"),G({indi:ge.id,gen:ge.generation}))}function W(){Fn("print"),U0e()}function ne(ge){_(!0),s(ge)}async function ce(){Fn("download_pdf");try{await q0e()}catch{ne(M.formatMessage({id:"error.failed_pdf",defaultMessage:"Failed to generate PDF file. Please try with a smaller diagram or download an SVG file."}))}}async function ve(){Fn("download_png");try{await H0e()}catch{ne(M.formatMessage({id:"error.failed_png",defaultMessage:"Failed to generate PNG file. Please try with a smaller diagram or download an SVG file."}))}}function _e(){Fn("download_svg"),j0e()}function xe(){_(!1)}function me(ge){return y===Os.Donatso?q.jsx(COe,{data:n.chartData,selection:ge,onSelection:U}):q.jsx(X0e,{data:n.chartData,selection:ge,chartType:y,onSelection:U,freezeAnimation:S,colors:C.color,hideIds:C.id,hideSex:C.sex})}function be(){switch(e){case 3:case 4:const ge=g8(n.chartData,i);return q.jsxs("div",{id:"content",children:[q.jsx(h7e,{open:w,message:o,onDismiss:xe}),e===4?q.jsx(kf,{active:!0,size:"small",className:"loading-more"}):null,q.jsxs(Of,{children:[q.jsx(c7e,{data:n,selectedIndiId:ge.id,config:C,expanded:u,onToggle:Y,onConfigChange:fe=>{A(fe),z(fe,n),G(x0e(fe))}}),q.jsx($f,{children:me(ge)})]})]});case 2:return q.jsx(d7e,{message:o});case 0:case 1:return q.jsx(kf,{active:!0,size:"large"})}}return q.jsxs(q.Fragment,{children:[q.jsx(sFe,{data:n==null?void 0:n.chartData,allowAllRelativesChart:(b==null?void 0:b.source)!==Zn.WIKITREE,allowPrintAndDownload:y!==Os.Donatso,showingChart:O.pathname==="/view"&&(e===3||e===4),standalone:c,eventHandlers:{onSelection:U,onPrint:W,onDownloadPdf:ce,onDownloadPng:ve,onDownloadSvg:_e},showWikiTreeMenus:(b==null?void 0:b.source)===Zn.WIKITREE&&d}),q.jsxs(Lee,{children:[q.jsx(oy,{path:"/",element:q.jsx(wDe,{})}),q.jsx(oy,{path:"/view",element:be()}),q.jsx(oy,{path:"*",element:q.jsx(Dee,{to:"/",replace:!0})})]})]})}const g7e={"menu.open":"Отвори","menu.open_file":"Отвори файл","menu.load_from_url":"Зареди от URL","menu.select_wikitree_id":"Избери WikiTree ID","menu.print":"Принтирай","menu.download":"Свали","menu.pdf_file":"PDF файл","menu.png_file":"PNG файл","menu.svg_file":"SVG файл","menu.download_pdf":"Свали PDF","menu.download_png":"Свали PNG","menu.download_svg":"Свали SVG","menu.view":"Изглед","menu.hourglass":"Пясъчен часовник","menu.relatives":"Всички роднини","menu.donatso":"Семейна диаграма на Donatso","menu.fancy":"Декоративно дърво (експериментално)","menu.wikitree_login":"Влез в WikiTree","menu.wikitree_logged_in":"Вписан","menu.wikitree_popup_username":"Вписан в WikiTree като {username}","menu.wikitree_popup":"Вписан в WikiTree","menu.github":"Проект в GitHub","menu.search.placeholder":"Търсене на човек","menu.search.no_results":"Няма резултати","intro.title":"Topola Genealogy","intro.description":"Topola Genealogy е програма за преглеждане на родословни дървета, която позволява разглеждането на структурата на семейство.","intro.instructions":"Използвай бутоните за отваряне на файл и зареждане от URL, за да заредиш GEDCOM файл. Повечето програми и сайтове за генеалогия позволяват експортирането на GEDCOM файлове.","intro.examples":"Примерни родословни дървета","intro.from":"от","intro.whats_new":"Последни промени","intro.full_changelog":"Виж пълния списък с промени","whats_new.title":"What's new in this version?","intro.privacy":"Поверителност","intro.privacy_note":"При използването на опцията за отваряне на файл, този сайт не изпраща твоите данни никъде - заредените файловете не напускат твоя компютър. Когато заредиш файл от URL, данните преминават през услугата {link}, за да се избегнат проблеми със зареждането на файлове между сайтове в браузъра (CORS).","load_from_url.title":"Зареди от URL","load_from_url.comment":"Данните от URL-а ще преминат през услугата {link}, за да се избегнат проблеми със зареждането на файлове между сайтове в браузъра (CORS).","load_from_url.cancel":"Отказ","load_from_url.load":"Зареди","select_wikitree_id.title":"Избери WikiTree ID","select_wikitree_id.comment":"Въведи идентификатор на профил в {wikiTreeLink}. Пример: {example1}, {example2}","select_wikitree_id.cancel":"Отказ","select_wikitree_id.load":"Зареди","gedcom.ADOP":"Осиновен(а)","gedcom.BAPM":"Кръстен(а)","gedcom.BIRT":"Роден(а)","gedcom.BURI":"Погребан(а)","gedcom.CENS":"Преброяване на населението","gedcom.CHR":"Кръстен(а)","gedcom.CREM":"Кремиран(а)","gedcom.DEAT":"Починал(а)","gedcom.DIV":"DIV","gedcom.DSCR":"Описание","gedcom.EDUC":"Образование","gedcom.EMAIL":"E-mail","gedcom.EMIG":"Емигрирал(а)","gedcom.EVEN":"Събитие","gedcom.FACT":"Факт","gedcom.IMMI":"Имигрирал(а)","gedcom.MARR":"Брак","gedcom.MILT":"Военна служба","gedcom.NATU":"Натурализация","gedcom.OCCU":"Професия","gedcom.RELI":"Religion","gedcom.RIN":"ID","gedcom.TITL":"Обръщение","gedcom.WWW":"Линк","gedcom.OBJE":"Допълнителни файлове","gedcom.SOUR":"Източници","gedcom._UPD":"Последно обновление","gedcom.birth":"Рождено име","gedcom.married":"Име след брак","gedcom.maiden":"Моминско име","gedcom.immigrant":"Имигрантско име","gedcom.aka":"Също известен/на като","date.abt":"около","date.cal":"изчислено","date.est":"приблизително","date.between":"между {from} и {to}","date.after":"след {from}","date.before":"преди {to}","age.exact":"{age, plural, =0 {Под 1 година} one {{qualifier} 1 година} other {{qualifier} # години}}","age.less":"Под {age, plural, =0 {1 година} one {1 година} other {# години}}","age.more":"Над {age, plural, =0 {0 години} one {1 година} other {# години}}","age.between":"Между {ageFrom} {ageTo, plural, =0 {0 години} one {1 година} other {# години}}","error.error":"Грешка","error.failed_pdf":"Неуспешно създаване на PDF файл. Моля, опитай с по-малка диаграма или свали SVG файл.","error.failed_png":"Неуспешно създаване на PNG файл. Моля, опитай с по-малка диаграма или свали SVG файл.","error.failed_to_load_file":"Грешка при зареждане на файла","error.failed_wikitree_load_more":"Грешка при зареждане на данни от WikiTree. {error}}","error.GEDCOM_READ_FAILED":"Грешка при отваряне на GEDCOM файла","error.ERROR_LOADING_UPLOADED_FILE":"Грешка при зареждането на данни. Моля, качете файла отново.","error.WIKITREE_ID_NOT_PROVIDED":"Не е указан идентификатор на профил в WikiTree","error.WIKITREE_PROFILE_NOT_ACCESSIBLE":"Профилът {id} в WikiTree е недостъпен. Опитай да се впишеш.","error.WIKITREE_PROFILE_NOT_FOUND":"Профилът {id} в WikiTree не е намерен","error.failed_to_load_image":"Грешка при зареждане на изображение","wikitree.private":"Скрито","tab.info":"Информация","tab.settings":"Настройки","config.colors":"Цвят","config.colors.NO_COLOR":"Без цвят","config.colors.COLOR_BY_GENERATION":"По поколения","config.colors.COLOR_BY_SEX":"По пол","config.ids":"Идентификатори","config.ids.HIDE":"Скрий","config.ids.SHOW":"Покажи","config.ids.show_id":"Покажи ID","config.sex":"Пол","config.sex.HIDE":"Скрий","config.sex.SHOW":"Покажи","name.unknown_name":"Неизвестно име","extras.images":"Изображение","extras.notes":"Бележки","extras.sources":"Източници","extras.files":"Допълнителни файлове"},v7e={"menu.open":"Otevřít","menu.open_file":"Otevřít soubor","menu.load_from_url":"Otevřít z URL","menu.select_wikitree_id":"Vybrat WikiTree ID","menu.print":"Tisknout","menu.download":"Stáhnout","menu.pdf_file":"Soubor PDF","menu.png_file":"Soubor PNG","menu.svg_file":"Soubor SVG","menu.download_pdf":"Stáhnout PDF","menu.download_png":"Stáhnout PNG","menu.download_svg":"Stáhnout SVG","menu.view":"Zobrazení","menu.hourglass":"Přesýpací hodiny","menu.relatives":"Všichni příbuzní","menu.donatso":"Donatso family chart","menu.fancy":"Rodinný strom (experimentální)","menu.wikitree_login":"Přihlášení na WikiTree","menu.wikitree_logged_in":"Přihlášeno","menu.wikitree_popup_username":"Přihlášeno do WikiTree jako {username}","menu.wikitree_popup":"Přihlášeno do WikiTree","menu.github":"GitHub projekt","menu.search.placeholder":"Hledej osobu","menu.search.no_results":"Žádné výsledky","intro.title":"Topola Genealogy","intro.description":"Topola Genealogy vám umožňuje interaktivní prohlížení rodokmenu.","intro.instructions":"Kliknutím na OTEVŘÍT SOUBOR nebo OTEVŘÍT Z URL načtete soubor GEDCOM. Většina genealogických programů má funkci exportu do formátu GEDCOM.","intro.examples":"Níže je uvedeno několik příkladů použití z internetu:","intro.from":"zdroj:","intro.whats_new":"Co je nového","intro.full_changelog":"Úplný seznam změn","whats_new.title":"Co je nového v této verzi?","intro.privacy":"Soukromí","intro.privacy_note":"Pomocí funkce „Otevřít soubor“ nejsou vaše data nikam odesílána a zůstávají ve vašem počítači. Při použití funkce „Otevřít z URL“ jsou data z dané adresy odeslána službou {link}, aby bylo možné data načíst (CORS).","load_from_url.title":"Otevřít z adresy URL","load_from_url.comment":"Data z dané adresy URL budou načtena prostřednictvím služby {link}, aby nedocházelo k problémům s CORS.","load_from_url.cancel":"Storno","load_from_url.load":"Otevřít","select_wikitree_id.title":"Zadejte WikiTree ID","select_wikitree_id.comment":"Zadejte ID profilu {wikiTreeLink}. Příklad: {example1}, {example2}","select_wikitree_id.cancel":"Storno","select_wikitree_id.load":"Otevřít","gedcom.ADOP":"Adopce","gedcom.BAPM":"Křest","gedcom.BIRT":"Narození","gedcom.BURI":"Pohřeb","gedcom.CENS":"Sčítání lidu","gedcom.CHR":"Křest","gedcom.CREM":"Kremace","gedcom.DEAT":"Úmrtí","gedcom.DSCR":"Popis","gedcom.EDUC":"Vzdělání","gedcom.EMAIL":"E-mail","gedcom.EMIG":"Emigrace","gedcom.EVEN":"Událost","gedcom.FACT":"Údaj","gedcom.IMMI":"Imigrace","gedcom.MARR":"Svatba","gedcom.DIV":"Rozvod","gedcom.MILT":"Vojenská služba","gedcom.NATU":"Získání občanství","gedcom.OCCU":"Povolání","gedcom.RIN":"ID","gedcom.TITL":"Titul","gedcom.WWW":"Stránka WWW","gedcom.OBJE":"Další soubory","gedcom.SOUR":"Zdroje","gedcom.RELI":"Vyznání","gedcom._UPD":"Poslední aktualizace","gedcom.birth":"Rodné jméno","gedcom.married":"Jméno po svatbě","gedcom.maiden":"Jméno za svobodna","gedcom.immigrant":"Jméno získané imigrací","gedcom.aka":"Také znám(a) jako","date.abt":"kolem","date.cal":"vypočteno","date.est":"asi","date.between":"mezi {from} a {to}","date.after":"po {from}","date.before":"před {to}","age.exact":"{qualifier}{age, plural, =0 {Méně než rok} one {1 rok} few {# roky} other {# let}}","age.less":"Méne než {age, plural, =0 {1 rok} one {1 rok} few {# roky} other {# let}}","age.more":"Více než {age, plural, =0 {0 let} one {1 rok} few {# roky} other {# let}}","age.between":"Mezi {ageFrom} a {ageTo, plural, =0 {0 lety} one {1 rokem} few {# roky} other {# lety}}","error.error":"Chyba","error.failed_pdf":"Soubor PDF nelze vytvořit. Zkuste to znovu s menším diagramem nebo stáhněte soubor SVG.","error.failed_png":"Soubor PNG nelze vytvořit. Zkuste to znovu s menším diagramem nebo stáhněte soubor SVG.","error.failed_to_load_file":"Chyba při načítání souboru","error.failed_wikitree_load_more":"Chyba při načítání dat z WikiTree. {chyba}","error.GEDCOM_READ_FAILED":"Chyba při načítání souboru GEDCOM","error.ERROR_LOADING_UPLOADED_FILE":"Chyba při načítání dat. Znovu otevřete soubor.","error.WIKITREE_ID_NOT_PROVIDED":"WikiTree ID nebylo získáno","error.WIKITREE_PROFILE_NOT_ACCESSIBLE":"Profil WikiTree {id} není k dispozici","error.WIKITREE_PROFILE_NOT_FOUND":"Profil WikiTree {id} neexistuje","error.failed_to_load_image":"Nepodařilo se načíst obrázek","wikitree.private":"Soukromé","tab.info":"Info","tab.settings":"Nastavení","config.colors":"Barvy","config.colors.NO_COLOR":"žádné","config.colors.COLOR_BY_GENERATION":"podle generace","config.colors.COLOR_BY_SEX":"podle pohlaví","config.ids":"Identifikátory","config.ids.HIDE":"skrýt","config.ids.SHOW":"zobrazit","config.sex":"Pohlaví","config.sex.HIDE":"skrýt","config.sex.SHOW":"zobrazit","name.unknown_name":"N.N.","extras.images":"Obrázky","extras.notes":"Poznámky","extras.sources":"Zdroje","extras.files":"Další soubory"},y7e={"menu.open":"Öffnen","menu.open_file":"Datei öffnen","menu.load_from_url":"URL öffnen","menu.select_wikitree_id":"WikiTree ID auswählen","menu.print":"Drucken","menu.download":"Download","menu.pdf_file":"PDF-Datei","menu.png_file":"PNG-Datei","menu.svg_file":"SVG-Datei","menu.download_pdf":"PDF herunterladen","menu.download_png":"PNG herunterladen","menu.download_svg":"SVG herunterladen","menu.view":"Ansicht","menu.hourglass":"Sanduhrkarte","menu.relatives":"Alle Verwandten","menu.donatso":"Donatso family chart","menu.fancy":"Zierbaum (experimentell)","menu.wikitree_login":"Bei WikiTree anmelden","menu.wikitree_logged_in":"Eingeloggt","menu.wikitree_popup_username":"Bei WikiTree als {username} angemeldet","menu.wikitree_popup":"Bei WikiTree angemeldet","menu.github":"Projekt auf der GitHub-Website","menu.search.placeholder":"Person suchen","menu.search.no_results":"Keine Ergebnisse","intro.title":"Topola Genealogie","intro.description":"Mit der Topola Genealogie können Sie den Stammbaum auf interaktive Weise durchsuchen.","intro.instructions":"Klicken Sie auf Datei öffnen oder URL öffnen, um eine GEDCOM-Datei zu laden. Die meisten Genealogie-Programme verfügen über eine GEDCOM-Exportfunktion.","intro.examples":"Nachfolgend einige Beispiele aus dem Internet:","intro.from":"Quelle:","intro.whats_new":"Was ist neu","intro.full_changelog":"Siehe komplette Änderungshistorie","whats_new.title":"Was ist in dieser Version neu!","intro.privacy":"Datenschutz","intro.privacy_note":'Bei Verwendung der Funktion "Datei öffnen" werden Ihre Daten nirgendwo gesendet und verbleiben auf Ihrem Computer. Bei Verwendung der Funktion "URL öffnen" werden Daten von der angegebenen Adresse vom Dienst {link} an gesendet Ermöglichen des Ladens von Daten aus einer anderen Domäne (CORS).',"load_from_url.title":"Von URL öffnen","load_from_url.comment":"Die Daten der angegebenen URL werden über den {link} -Dienst geladen, um CORS-Probleme zu vermeiden.","load_from_url.cancel":"Abbrechen","load_from_url.load":"Öffnen","select_wikitree_id.title":"WikiTree ID eingeben","select_wikitree_id.comment":"Geben Sie die Profil-ID {wikiTreeLink} ein. Beispiele: {example1}, {example2}","select_wikitree_id.cancel":"Abbrechen","select_wikitree_id.load":"Öffnen","gedcom.ADOP":"Adoption","gedcom.BAPM":"Taufe","gedcom.BIRT":"Geburt","gedcom.BURI":"Beerdigung","gedcom.CENS":"Volkszählung","gedcom.CHR":"Taufe","gedcom.CREM":"Feuerbestattung","gedcom.DEAT":"Tod","gedcom.DIV":"Scheidung","gedcom.DSCR":"Beschreibung","gedcom.EDUC":"Ausbildung","gedcom.EMAIL":"E-Mail","gedcom.EMIG":"Auswanderung","gedcom.EVEN":"Ereignis","gedcom.FACT":"Merkmal","gedcom.IMMI":"Einwanderung","gedcom.MARR":"Heirat","gedcom.MILT":"Mititärdienst","gedcom.NATU":"Einbürgerung","gedcom.OBJE":"Zusätzliche Dateien","gedcom.OCCU":"Beruf","gedcom.RELI":"Religion","gedcom.RIN":"Datensatzidentnummer","gedcom.SOUR":"Quellen","gedcom.TITL":"Titel","gedcom.WWW":"Website","gedcom._UPD":"Zuletzt aktualisiert","gedcom.birth":"Geburtsname","gedcom.married":"Ehenamen","gedcom.maiden":"Mädchenname","gedcom.immigrant":"Immigrant name","gedcom.aka":"Auch bekannt als","date.abt":"Über","date.cal":"berechnet","date.est":"geschätzt","date.between":"zwischen {from} und {to}","date.after":"nach {from}","date.before":"vor {to}","tab.info":"Informationen","tab.settings":"Einstellungen","age.exact":"{qualifier}{age, plural, =0 {Weniger als 1 Jahr} one {1 Jahr} other {# Jahre}}","age.less":"Weniger als {age, plural, =0 {1 Jahr} one {1 Jahr} other {# jahre}}","age.more":"Mehr als {age, plural, =0 {0 Jahre} one {1 Jahr} other {# Jahre}}","age.between":"Zwischen {ageFrom} und {ageTo, plural, =0 {0 Jahre} one {1 Jahr} other {# Jahre}}","error.error":"Fehler","error.failed_pdf":"PDF konnte nicht erstellt werden. Versuchen Sie es erneut mit einem kleineren Diagramm oder laden Sie die SVG-Datei herunter.","error.failed_png":"Fehler beim Erstellen der PNG-Datei. Versuchen Sie es erneut mit einem kleineren Diagramm oder laden Sie die SVG-Datei herunter.","error.failed_to_load_file":"Fehler beim Laden der Datei","error.failed_wikitree_load_more":"Fehler beim Abrufen der Daten aus WikiTree. {error}","error.GEDCOM_READ_FAILED":"Fehler beim Lesen der GEDCOM-Datei","error.ERROR_LOADING_UPLOADED_FILE":"Fehler beim Laden der Daten. Bitte laden Sie Ihre Datei erneut hoch.","error.WIKITREE_ID_NOT_PROVIDED":"WikiTree-ID muss angegeben werden","error.WIKITREE_PROFILE_NOT_ACCESSIBLE":"Das WikiTree-Profil {id} ist nicht zugänglich. Versuchen Sie sich anzumelden.","error.WIKITREE_PROFILE_NOT_FOUND":"WikiTree-Profil {id} nicht gefunden","error.failed_to_load_image":"Bilddatei konnte nicht geladen werden","config.colors":"Farben","config.colors.NO_COLOR":"keine","config.colors.COLOR_BY_GENERATION":"je Generation","config.colors.COLOR_BY_SEX":"nach Geschlecht","config.ids":"Identifikation","config.ids.HIDE":"nicht anzeigen","config.ids.SHOW":"anzeigen","config.sex":"Geschlecht","config.sex.HIDE":"nicht anzeigen","config.sex.SHOW":"anzeigen","name.unknown_name":"N.N.","extras.images":"Bilder","extras.notes":"Notizen","extras.sources":"Quellen","extras.files":"Weitere Dateien","wikitree.private":"Privat"},w7e={"menu.open":"Ouvrir","menu.open_file":"Ouvrir le fichier","menu.load_from_url":"Ouvrir l'URL","menu.select_wikitree_id":"Sélectionnez l'ID WikiTree","menu.print":"Imprimer","menu.download":"Télécharger","menu.pdf_file":"Fichier PDF","menu.png_file":"Fichier PNG","menu.svg_file":"Fichier SVG","menu.download_pdf":"Télécharger le PDF","menu.download_png":"Télécharger PNG","menu.download_svg":"Télécharger SVG","menu.view":"Afficher","menu.hourglass":"Graphique en sablier","menu.relatives":"Tous les parents","menu.donatso":"Donatso family chart","menu.fancy":"Arbre ornemental (expérimental)","menu.wikitree_login":"Connectez-vous à WikiTree","menu.wikitree_logged_in":"Connecté","menu.wikitree_popup_username":"Connecté à WikiTree en tant que {username}","menu.wikitree_popup":"Connecté à WikiTree","menu.github":"Projet sur le site Web GitHub","menu.search.placeholder":"Rechercher une personne","menu.search.no_results":"Aucun résultat","intro.title":"Topola Généalogie","intro.description":"La Topola Généalogie vous permet de parcourir l'arbre généalogique de manière interactive.","intro.instructions":"Cliquez sur OPEN FILE ou OPEN URL pour charger un fichier GEDCOM. La plupart des logiciels de généalogie ont une fonction d'exportation GEDCOM.","intro.examples":"Voici quelques exemples trouvés sur Internet:","intro.from":"source:","intro.whats_new":"Quoi de neuf","intro.full_changelog":"Voir toutes les modifications","intro.privacy":"Confidentialité","intro.privacy_note":`Lorsque vous utilisez la fonction "Ouvrir un fichier", vos données ne sont envoyées nulle part et restent sur votre ordinateur. Lorsque vous utilisez la fonction "Ouvrir l'URL", les données de l'adresse indiquée sont envoyées par le service {link} pour permettre le chargement des données depuis un autre domaine (CORS).`,"load_from_url.title":"Ouvrir depuis l'URL","load_from_url.comment":"Les données de l'URL donnée seront chargées via le service {link} pour éviter les problèmes CORS.","load_from_url.cancel":"Annuler","load_from_url.load":"Ouvrir","select_wikitree_id.title":"Entrez l'ID de WikiTree","select_wikitree_id.comment":"Entrez l'ID de profil {wikiTreeLink}. Exemples: {example1}, {example2}","select_wikitree_id.cancel":"Annuler","select_wikitree_id.load":"Ouvrir","gedcom.ADOP":"Adoption","gedcom.BAPM":"Baptême","gedcom.BIRT":"Naissance","gedcom.BURI":"Funérailles","gedcom.CENS":"Recensement","gedcom.CHR":"Baptême","gedcom.CREM":"Crémation","gedcom.DEAT":"Mort","gedcom.DSCR":"Description","gedcom.EDUC":"Études","gedcom.EMAIL":"E-mail","gedcom.EMIG":"Émigration","gedcom.EVEN":"Événement","gedcom.FACT":"Fait","gedcom.IMMI":"Immigration","gedcom.MILT":"Service militaire","gedcom.NATU":"Naturalisation","gedcom.OCCU":"Profession","gedcom.RELI":"Religion","gedcom.RIN":"ID","gedcom.TITL":"Titre","gedcom.WWW":"Site Web","gedcom.OBJE":"Fichiers supplémentaires","gedcom.SOUR":"Sources","gedcom._UPD":"Dernière mise à jour","gedcom.MARR":"Mariage","gedcom.DIV":"Divorce","gedcom.birth":"Nom de naissance","gedcom.married":"Nom marital","gedcom.maiden":"Nom de jeune fille","gedcom.immigrant":"Nom d'immigrant","gedcom.aka":"Alias","date.abt":"environ","date.cal":"calculé","date.est":"estimé","date.between":"entre {from} et {to}","date.after":"après {from}","date.before":"avant {to}","age.exact":"{qualifier}{age, plural, =0 {Moins d'1 an} one {1 an} other {# ans}}","age.less":"Moins de {age, plural, =0 {1 an} one {1 an} other {# ans}}","age.more":"Plus de {age, plural, =0 {0 an} one {1 an} other {# ans}}","age.between":"Entre {ageFrom} et {ageTo, plural, =0 {0 an} one {1 an} other {# ans}}","error.error":"Erreur","error.failed_pdf":"Échec de la création du PDF. Réessayez avec un diagramme plus petit ou téléchargez le fichier SVG.","error.failed_png":"Impossible de créer le fichier PNG. Réessayez avec un diagramme plus petit ou téléchargez le fichier SVG.","error.failed_to_load_file":"Erreur lors du chargement du fichier","error.failed_wikitree_load_more":"Erreur lors de l'obtention des données de WikiTree. {error}","error.GEDCOM_READ_FAILED":"Erreur de lecture du fichier GEDCOM","error.ERROR_LOADING_UPLOADED_FILE":"Erreur de chargement des données. Renvoyez votre fichier.","error.WIKITREE_ID_NOT_PROVIDED":"L'ID WikiTree est obligatoire","error.WIKITREE_PROFILE_NOT_ACCESSIBLE":"Le profil WikiTree ${id} n'est pas accessible. Connectez-vous.","error.WIKITREE_PROFILE_NOT_FOUND":"Le profil WikiTree ${id} n'a pas été trouvé","error.failed_to_load_image":"Erreur de chargement de l'image","wikitree.private":"Privé","tab.info":"Info","tab.settings":"Paramètres","config.colors":"Couleurs","config.colors.NO_COLOR":"aucune","config.colors.COLOR_BY_GENERATION":"par génération","config.colors.COLOR_BY_SEX":"par sexe","config.ids":"Ids","config.ids.HIDE":"hide","config.ids.SHOW":"show","config.sex":"Sex","config.sex.HIDE":"hide","config.sex.SHOW":"show","name.unknown_name":"?","extras.images":"Images","extras.notes":"Notes","extras.sources":"Sources","extras.files":"Additonal files","whats_new.title":"Quoi de neuf dans cette version?"},_7e={"menu.open":"Apri","menu.open_file":"Apri file","menu.load_from_url":"Apri URL","menu.select_wikitree_id":"Seleziona ID WikiTree","menu.print":"Stampa","menu.download":"Download","menu.pdf_file":"File PDF","menu.png_file":"File PNG","menu.svg_file":"File SVG","menu.download_pdf":"Scarica PDF","menu.download_png":"Scarica PNG","menu.download_svg":"Scarica SVG","menu.view":"Visualizza","menu.hourglass":"Grafico a clessidra","menu.relatives":"Tutti i parenti","menu.donatso":"Donatso family chart","menu.fancy":"Albero ornamentale (sperimentale)","menu.wikitree_login":"Accedi a WikiTree","menu.wikitree_logged_in":"Accesso effettuato","menu.wikitree_popup_username":"Accesso a WikiTree come {username}","menu.wikitree_popup":"Accesso a WikiTree","menu.github":"Progetto sul sito web GitHub","menu.search.placeholder":"Cerca persona","menu.search.no_results":"Nessun risultato","intro.title":"Topola Genealogy","intro.description":"Topola Genealogy ti consente di esplorare l'albero genealogico in modo interattivo.","intro.instructions":"Fai clic su OPEN FILE o OPEN URL per caricare un file GEDCOM. La maggior parte dei software di genealogia ha una funzione di esportazione GEDCOM.","intro.examples":"Di seguito sono riportati alcuni esempi trovati su Internet:","intro.from":"source:","intro.whats_new":"What's new","intro.full_changelog":"See full changelog","whats_new.title":"What's new in this version?","intro.privacy":"Privacy","intro.privacy_note":`Quando si utilizza la funzione "Apri file", i dati non vengono inviati da nessuna parte e rimangono sul computer. Quando si utilizza la funzione "Apri URL", i dati dall'indirizzo specificato vengono inviati dal servizio {link} a consentire il caricamento dei dati da un altro dominio (CORS).`,"load_from_url.title":"Apri da URL","load_from_url.comment":"I dati dall'URL specificato verranno caricati tramite il servizio {link} per evitare problemi CORS.","load_from_url.cancel":"Annulla","load_from_url.load":"Apri","select_wikitree_id.title":"Inserisci ID WikiTree","select_wikitree_id.comment":"Inserisci l'ID profilo {wikiTreeLink}. Esempi: {example1}, {example2}","select_wikitree_id.cancel":"Annulla","select_wikitree_id.load":"Apri","gedcom.ADOP":"Adoption","gedcom.BAPM":"Battesimo","gedcom.BIRT":"Nascita","gedcom.BURI":"Funerale","gedcom.CENS":"Census","gedcom.CHR":"Battesimo","gedcom.CREM":"CREM","gedcom.DEAT":"Morte","gedcom.MARR":"Matrimonio","gedcom.DIV":"Divorzio","gedcom.DSCR":"Descrizione","gedcom.EDUC":"EDUC","gedcom.EMAIL":"E-mail","gedcom.EMIG":"EMIG","gedcom.EVEN":"Evento","gedcom.FACT":"FACT","gedcom.IMMI":"IMMI","gedcom.MILT":"MILT","gedcom.NATU":"NATU","gedcom.OCCU":"Professione","gedcom.RELI":"Religion","gedcom.RIN":"ID","gedcom.TITL":"Titolo","gedcom.WWW":"Sito web","gedcom.OBJE":"File aggiuntivi","gedcom.SOUR":"Fonti","gedcom._UPD":"Ultimo aggiornamento","gedcom.birth":"Nome alla nascita","gedcom.married":"Nome da coniugato/a","gedcom.maiden":"Nome da nubile","gedcom.aka":"Conosciuto anche come","date.abt":"circa","date.cal":"calcolato","date.est":"stimato","date.between":"tra il {from} e il {to}","date.after":"dopo il {from}","date.before":"prima del {to}","age.exact":"{qualifier}{age, plural, =0 {Less than 1 year} one {1 year} other {# years}}","age.less":"Less than {age, plural, =0 {1 year} one {1 year} other {# years}}","age.more":"More than {age, plural, =0 {0 years} one {1 year} other {# years}}","age.between":"Between {ageFrom} and {ageTo, plural, =0 {0 years} one {1 year} other {# years}}","error.error":"Errore","error.failed_pdf":"Impossibile creare PDF. Riprova con un diagramma più piccolo o scarica il file SVG.","error.failed_png":"Impossibile creare il file PNG. Riprova con un diagramma più piccolo o scarica il file SVG.","error.failed_to_load_file":"Errore durante il caricamento del file","error.failed_wikitree_load_more":"Errore durante il recupero dei dati da WikiTree. {error}","error.GEDCOM_READ_FAILED":"Failed to read GEDCOM file","error.ERROR_LOADING_UPLOADED_FILE":"Error loading data. Please upload your file again.","error.WIKITREE_ID_NOT_PROVIDED":"WikiTree id needs to be provided","error.WIKITREE_PROFILE_NOT_ACCESSIBLE":"WikiTree profile {id} is not accessible. Try logging in.","error.WIKITREE_PROFILE_NOT_FOUND":"WikiTree profile {id} not found","error.failed_to_load_image":"Failed to load image file","tab.info":"Info","tab.settings":"Settings","config.colors":"Colors","config.colors.NO_COLOR":"none","config.colors.COLOR_BY_GENERATION":"by generation","config.colors.COLOR_BY_SEX":"by sex","config.ids":"Ids","config.ids.HIDE":"hide","config.ids.SHOW":"show","config.sex":"Sex","config.sex.HIDE":"hide","config.sex.SHOW":"show","name.unknown_name":"N.N.","extras.images":"Images","extras.notes":"Notes","extras.sources":"Sources","extras.files":"Additonal files","wikitree.private":"Privato"},b7e={"menu.open":"Otwórz","menu.open_file":"Otwórz plik","menu.load_from_url":"Otwórz URL","menu.select_wikitree_id":"Wybierz WikiTree ID","menu.print":"Drukuj","menu.download":"Pobierz","menu.pdf_file":"Plik PDF","menu.png_file":"Plik PNG","menu.svg_file":"Plik SVG","menu.download_pdf":"Pobierz PDF","menu.download_png":"Pobierz PNG","menu.download_svg":"Pobierz SVG","menu.view":"Widok","menu.hourglass":"Wykres klepsydrowy","menu.relatives":"Wszyscy krewni","menu.fancy":"Ozdobne drzewo (eksperymentalne)","menu.wikitree_login":"Zaloguj do WikiTree","menu.wikitree_logged_in":"Zalogowano","menu.wikitree_popup_username":"Zalogowano do WikiTree jako {username}","menu.wikitree_popup":"Zalogowano do WikiTree","menu.github":"Projekt na stronie GitHub","menu.search.placeholder":"Szukaj osoby","menu.search.no_results":"Brak wyników","intro.title":"Topola Genealogy","intro.description":"Topola Genealogy pozwala przeglądać drzewo genealogiczne w interaktywny sposób.","intro.instructions":"Kliknij OTWÓRZ PLIK lub OTWÓRZ URL, aby załadować plik GEDCOM. Większość programów genealogicznych posiada funkcję eksportu do pliku GEDCOM.","intro.examples":"Przykłady","intro.from":"źródło:","intro.whats_new":"Co nowego?","intro.full_changelog":"Zobacz pełną listę zmian","whats_new.title":"Co nowego w tej wersji?","intro.privacy":"Prywatność","intro.privacy_note":'Używając funkcji "Otwórz plik", Twoje dane nie są nigdzie wysyłane i pozostają na Twoim komputerze. Używając funkcji "Otwórz URL", dane z podanego adresu przesyłane są przez usługę {link} w celu umożliwienia załadowania danych z innej domeny (CORS).',"load_from_url.title":"Otwórz z adresu URL","load_from_url.comment":"Dane z podanego adresu URL zostaną załadowane poprzez usługę {link} w celu uniknięcia problemów z CORS.","load_from_url.cancel":"Anuluj","load_from_url.load":"Otwórz","select_wikitree_id.title":"Podaj WikiTree ID","select_wikitree_id.comment":"Wpisz identyfikator profilu {wikiTreeLink}. Przykłady: {example1}, {example2}","select_wikitree_id.cancel":"Anuluj","select_wikitree_id.load":"Otwórz","gedcom.ADOP":"Adopcja","gedcom.BAPM":"Chrzest","gedcom.BARM":"Bar Micwa","gedcom.BASM":"Bat Micwa","gedcom.BIRT":"Narodziny","gedcom.BLES":"Błogosławieństwo","gedcom.BURI":"Pogrzeb","gedcom.CENS":"Spis ludności","gedcom.CHR":"Chrzest","gedcom.CHRA":"Chrzest dorosłych","gedcom.CONF":"Bierzmowanie","gedcom.CREM":"Kremacja","gedcom.DEAT":"Śmierć","gedcom.DEG":"Stopień naukowy","gedcom.DIV":"Rozwód","gedcom.DIVF":"Wniesienie pozwu o rozwód","gedcom.DSCR":"Opis","gedcom.EDUC":"Wykształcenie","gedcom.ELEC":"Wybór na stanowisko","gedcom.EMAIL":"E-mail","gedcom.EMIG":"Emigracja","gedcom.ENGA":"Zaręczyny","gedcom.EVEN":"Wydarzenie","gedcom.FACT":"Fakt","gedcom.FCOM":"Pierwsza komunia","gedcom.GRAD":"Ukończenie szkoły","gedcom.IMMI":"Imigracja","gedcom.MARB":"Zapowiedzi małżeńskie","gedcom.MARC":"Kontrakt małżeński","gedcom.MARL":"Licencja małżeńska","gedcom.MARR":"Małżeństwo","gedcom.MARS":"Ugoda małżeńska","gedcom.MDCL":"Informacje medyczne","gedcom.MILT":"Służba wojskowa","gedcom.NATU":"Nadanie obywatelstwa","gedcom.OBJE":"Dodatkowe pliki","gedcom.OCCU":"Zawód","gedcom.ORDN":"Święcenia","gedcom.PROB":"Postępowanie spadkowe","gedcom.PROP":"Nieruchomość","gedcom.RESI":"Miejsce zamieszkania","gedcom.RETI":"Emerytura","gedcom.RIN":"ID","gedcom.SOUR":"Źródła","gedcom.TITL":"Tytuł","gedcom.WILL":"Testament","gedcom.WWW":"Strona WWW","gedcom._UPD":"Ostatnia aktualizacja","gedcom.birth":"Nazwisko rodowe","gedcom.married":"Nazwisko po małżeństwie","gedcom.maiden":"Nazwisko panieńskie","gedcom.immigrant":"Nazwisko po imigracji","gedcom.aka":"Alias","date.abt":"około","date.cal":"wyliczone","date.est":"oszacowane","date.between":"między {from} a {to}","date.after":"po {from}","date.before":"przed {to}","error.error":"Błąd","age.exact":"{age, plural, =0 {Mniej niż 1 rok} one {{qualifier} 1 rok} many {{qualifier} # lat} other {{qualifier} # lata}}","age.less":"Mniej niż {age, plural, =0 {1 rok} one {1 rok} many {# lat} other {# lata}}","age.more":"Więcej niż {age, plural, =0 {0 lat} one {1 rok} many {# lat} other {# lata}}","age.between":"Między {ageFrom} a {ageTo, plural, =0 {0 lat} one {1 rok} many {# lat} other {# lata}}","error.failed_pdf":"Nie udało się utworzyć pliku PDF. Spróbuj jeszcze raz z mniejszym diagramem lub pobierz plik SVG.","error.failed_png":"Nie udało się utworzyć pliku PNG. Spróbuj jeszcze raz z mniejszym diagramem lub pobierz plik SVG.","error.failed_to_load_file":"Błąd wczytywania pliku","error.failed_wikitree_load_more":"Błąd podczas pobierania danych z WikiTree. {error}","error.GEDCOM_READ_FAILED":"Błąd wczytywania pliku GEDCOM","error.ERROR_LOADING_UPLOADED_FILE":"Błąd wczytywania danych. Otwórz ponownie plik.","error.WIKITREE_ID_NOT_PROVIDED":"Identyfikator WikiTree nie został podany","error.WIKITREE_PROFILE_NOT_ACCESSIBLE":"Profil WikiTree {id} nie jest dostępny","error.WIKITREE_PROFILE_NOT_FOUND":"Profil WikiTree {id} nie istnieje","error.failed_to_load_image":"Błąd podczas pobierania pliku ze zdjęciem","wikitree.private":"Prywatne","tab.info":"Info","tab.settings":"Ustawienia","config.colors":"Kolory","config.colors.NO_COLOR":"brak","config.colors.COLOR_BY_GENERATION":"według pokolenia","config.colors.COLOR_BY_SEX":"według płci","config.ids":"Ids","config.ids.HIDE":"ukryj","config.ids.SHOW":"pokaż","config.sex":"Płeć","config.sex.HIDE":"ukryj","config.sex.SHOW":"pokaż","name.unknown_name":"N.N.","extras.images":"Zdjęcia","extras.notes":"Notatki","extras.sources":"Źródła","extras.files":"Dodatkowe pliki"},x7e={"menu.open":"Открыть","menu.open_file":"Открыть файл","menu.load_from_url":"Открыть URL","menu.select_wikitree_id":"Выберите WikiTree ID","menu.print":"Печать","menu.download":"Скачать","menu.pdf_file":"Файл PDF","menu.png_file":"Файл PNG","menu.svg_file":"Файл SVG","menu.download_pdf":"Скачать PDF","menu.download_png":"Скачать PNG","menu.download_svg":"Скачать SVG","menu.view":"Вид","menu.hourglass":"График Песочные часы","menu.relatives":"Все родственники","menu.donatso":"Donatso family chart","menu.fancy":"Декоративное дерево (экспериментальное))","menu.wikitree_login":"Войти в WikiTree","menu.wikitree_logged_in":"Вход выполнен","menu.wikitree_popup_username":"Вы вошли в WikiTree как {username}","menu.wikitree_popup":"Вы вошли в WikiTree","menu.github":"Проект на сайте GitHub","menu.search.placeholder":"Искать человека","menu.search.no_results":"Нет результатов","intro.title":"Topola Genealogy","intro.description":"Topola Genealogy позволяет просматривать семейное древо в интерактивном режиме.","intro.instructions":'Щелкните "Открыть файл" или "Открыть URL", чтобы загрузить файл GEDCOM. Большинство программ для генеалогии имеют функцию экспорта GEDCOM.',"intro.examples":"Ниже приведены некоторые примеры, найденные в Интернете:","intro.from":"источник:","intro.whats_new":"Что нового?","intro.full_changelog":"Список изменений","whats_new.title":"What's new in this version?","intro.privacy":"Конфиденциальность","intro.privacy_note":'При использовании функции "Открыть файл" Ваши данные никуда не отправляются и остаются на Вашем компьютере. При использовании функции "Открыть URL" данные с указанного адреса отправляются службой {link} на включение загрузки данных из другого домена (CORS).',"load_from_url.title":"Открыть с адреса URL","load_from_url.comment":"Данные с указанного адреса URL будут загружены через службу {link}, чтобы избежать проблем CORS.","load_from_url.cancel":"Отменить","load_from_url.load":"Открыть","select_wikitree_id.title":"Введите идентификатор WikiTree","select_wikitree_id.comment":"Введите идентификатор профиля {wikiTreeLink}. Примеры: {example1}, {example2}","select_wikitree_id.cancel":"Отмена","select_wikitree_id.load":"Открыть","gedcom.ADOP":"Усыновление","gedcom.BAPM":"Крещение","gedcom.BIRT":"Рождение","gedcom.BURI":"Похороны","gedcom.CENS":"Перепись населения","gedcom.CHR":"Крещение","gedcom.CREM":"Кремация","gedcom.DEAT":"Смерть","gedcom.DSCR":"Описание","gedcom.EDUC":"Образование","gedcom.EMAIL":"E-mail","gedcom.EMIG":"Эмиграция","gedcom.EVEN":"Событие","gedcom.FACT":"Факт","gedcom.IMMI":"Иммиграция","gedcom.MILT":"Военная служба","gedcom.MARR":"MARR","gedcom.NATU":"Натурализация","gedcom.OCCU":"Вид деятельности","gedcom.RELI":"Religion","gedcom.RIN":"ID","gedcom.TITL":"Титул","gedcom.WWW":"Веб-сайт WWW","gedcom.OBJE":"Дополнительные файлы","gedcom.SOUR":"Источники","gedcom._UPD":"Последнее обновление","gedcom.birth":"Имя при рождении","gedcom.married":"Имя в браке","gedcom.maiden":"Девичья фамилия","gedcom.immigrant":"Имя в эмиграции","gedcom.aka":"Он(а) же","date.abt":"около","date.cal":"рассчитано","date.est":"приблизительно","date.between":"между {from} и {to}","date.after":"после {from}","date.before":"до {to}","age.exact":"{age, plural, =0 {Менее 1 года} one {{qualifier} 1 год} many {{qualifier} # лет} other {{qualifier} # года}}","age.less":"Менее {age, plural, =0 {1 года} one {1 год} many {# лет} other {# года}}","age.more":"Более {age, plural, =0 {0 лет} one {1 год} many {# лет} other {# года}}","age.between":"Между {ageFrom} {ageTo, plural, =0 {0 лет} one {1 год} many {# год} other {# лет}}","error.error":"Ошибка","error.failed_pdf":"Не удалось создать PDF-файл. Повторите попытку с меньшей диаграммой или загрузите файл SVG.","error.failed_png":"Не удалось создать файл PNG. Повторите попытку с меньшей схемой или загрузите файл SVG.","error.failed_to_load_file":"Ошибка загрузки файла","error.failed_wikitree_load_more":"Ошибка при получении данных из WikiTree. {error}}","error.GEDCOM_READ_FAILED":"Ошибка чтения файла GEDCOM","error.ERROR_LOADING_UPLOADED_FILE":"Ошибка чтения данных. Повторите.","error.WIKITREE_ID_NOT_PROVIDED":"Не указан идентификатор WikiTree","error.WIKITREE_PROFILE_NOT_ACCESSIBLE":"Профиль WikiTree {id} недоступен","error.WIKITREE_PROFILE_NOT_FOUND":"Профиль WikiTree {id} не найден","error.failed_to_load_image":"Ошибка при открытии картинки","wikitree.private":"Частный","tab.info":"Инфо","tab.settings":"Установки","config.colors":"Цвет","config.colors.NO_COLOR":"Без цвета","config.colors.COLOR_BY_GENERATION":"по поколениям","config.colors.COLOR_BY_SEX":"по полу","config.ids":"Ids","config.ids.HIDE":"hide","config.ids.SHOW":"show","config.sex":"Sex","config.sex.HIDE":"hide","config.sex.SHOW":"show","name.unknown_name":"Н.И.","extras.images":"Картинки","extras.notes":"Примечание","extras.sources":"Источники","extras.files":"Дополнительные файлы"},E7e={bg:g7e,cs:v7e,de:y7e,fr:w7e,it:_7e,pl:b7e,ru:x7e},r9=navigator.language&&navigator.language.split(/[-_]/)[0],i9=tZ(),S7e=document.getElementById("root"),a9=fZ.createRoot(S7e);i9&&i9.name==="ie"?a9.render(q.jsx("p",{children:"Topola Genealogy Viewer does not support Internet Explorer. Please try a different (modern) browser."})):a9.render(q.jsx(GJ,{locale:r9,messages:E7e[r9],children:q.jsxs(I0e,{children:[q.jsx("style",{children:P0e}),q.jsx(ute,{children:q.jsx(m7e,{})})]})}));export{lm as _,zce as a,Ta as c,Un as g,Ile as t,I7e as u,P7e as z};