diff --git a/assets/index-3gOEgFfu.js b/assets/index-4QqyYkCP.js similarity index 98% rename from assets/index-3gOEgFfu.js rename to assets/index-4QqyYkCP.js index 54e07c6..c246b7d 100644 --- a/assets/index-3gOEgFfu.js +++ b/assets/index-4QqyYkCP.js @@ -297,7 +297,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function l(x,b){if(x){if(typeof x=="string")return u(x,b);var C=Object.prototype.toString.call(x).slice(8,-1);if(C==="Object"&&x.constructor&&(C=x.constructor.name),C==="Map"||C==="Set")return Array.from(x);if(C==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(C))return u(x,b)}}function u(x,b){(b==null||b>x.length)&&(b=x.length);for(var C=0,v=new Array(b);C=0)&&Object.prototype.propertyIsEnumerable.call(E,C)&&(b[C]=E[C])}return b}function a(E,x){if(E==null)return{};var b={},C=Object.keys(E),v,k;for(k=0;k=0)&&(b[v]=E[v]);return b}function s(E){return c(E)||u(E)||l(E)||o()}function o(){throw new TypeError(`Invalid attempt to spread non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function l(E,x){if(E){if(typeof E=="string")return d(E,x);var b=Object.prototype.toString.call(E).slice(8,-1);if(b==="Object"&&E.constructor&&(b=E.constructor.name),b==="Map"||b==="Set")return Array.from(E);if(b==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(b))return d(E,x)}}function u(E){if(typeof Symbol<"u"&&E[Symbol.iterator]!=null||E["@@iterator"]!=null)return Array.from(E)}function c(E){if(Array.isArray(E))return d(E)}function d(E,x){(x==null||x>E.length)&&(x=E.length);for(var b=0,C=new Array(x);bD.length)&&($=D.length);for(var X=0,W=new Array($);X<$;X++)W[X]=D[X];return W}function p(D){for(var $=1;$=0)&&Object.prototype.propertyIsEnumerable.call(D,W)&&(X[W]=D[W])}return X}function w(D,$){if(D==null)return{};var X={},W=Object.keys(D),H,V;for(V=0;V=0)&&(X[H]=D[H]);return X}function g(D,$){if(!(D instanceof $))throw new TypeError("Cannot call a class as a function")}function _(D,$){for(var X=0;X<$.length;X++){var W=$[X];W.enumerable=W.enumerable||!1,W.configurable=!0,"value"in W&&(W.writable=!0),Object.defineProperty(D,W.key,W)}}function E(D,$,X){return $&&_(D.prototype,$),D}function x(D,$){if($&&(e($)==="object"||typeof $=="function"))return $;if($!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return k(D)}function b(D){return b=Object.setPrototypeOf?Object.getPrototypeOf:function(X){return X.__proto__||Object.getPrototypeOf(X)},b(D)}function C(D,$){if(typeof $!="function"&&$!==null)throw new TypeError("Super expression must either be null or a function");D.prototype=Object.create($&&$.prototype,{constructor:{value:D,writable:!0,configurable:!0}}),$&&v(D,$)}function v(D,$){return v=Object.setPrototypeOf||function(W,H){return W.__proto__=H,W},v(D,$)}function k(D){if(D===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return D}function T(D,$,X){return $ in D?Object.defineProperty(D,$,{value:X,enumerable:!0,configurable:!0,writable:!0}):D[$]=X,D}function N(D){var $,X,W=(0,i.castBreakpointsToIntegers)(D.breakpoints),H=new n.MediaQueries(W,D.interactions||{}),V=(0,r.createResponsiveComponents)(),K=t.default.createContext({});K.displayName="Media.Context";var Y=t.default.createContext({hasParentMedia:!1,breakpointProps:{}});K.displayName="MediaParent.Context";var q=(0,i.memoize)(function(z){return{onlyMatch:z}}),F=function(B){var se=B.disableDynamicMediaQueries,de=B.onlyMatch,me=B.children;if(se){var Ee=q(de);return t.default.createElement(K.Provider,{value:Ee},me)}else return t.default.createElement(V.Provider,{mediaQueries:H.dynamicResponsiveMediaQueries,initialMatchingMediaQueries:(0,i.intersection)(H.mediaQueryTypes,de)},t.default.createElement(V.Consumer,null,function(Ie){var Ne=Object.keys(Ie).filter(function(He){return Ie[He]}),Le=q((0,i.intersection)(Ne,de));return t.default.createElement(K.Provider,{value:Le},me)}))},G=(X=$=function(z){C(B,z);function B(se){var de;return g(this,B),de=x(this,b(B).call(this,se)),T(k(k(de)),"getMediaParentContextValue",(0,i.memoize)(function(me){return{hasParentMedia:!0,breakpointProps:me}})),j(se),de}return E(B,[{key:"render",value:function(){var de=this,me=this.props;me.children;var Ee=me.className,Ie=me.style,Ne=me.interaction,Le=m(me,["children","className","style","interaction"]),He=this.getMediaParentContextValue(Le);return t.default.createElement(Y.Consumer,null,function(Oe){return t.default.createElement(Y.Provider,{value:He},t.default.createElement(K.Consumer,null,function(){var Fe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},We=Fe.onlyMatch,rt;if(me.interaction)rt=(0,i.createClassName)("interaction",me.interaction);else{if(me.at){var ot=H.breakpoints.largestBreakpoint;if(me.at===ot){var st=null;try{var At=de._reactInternalFiber._debugOwner.type;st=At.displayName||At.name}catch{}console.warn("[@artsy/fresnel] `at` is being used with the largest breakpoint. Consider using `` to account for future ')+"breakpoint definitions outside of this range.".concat(st?" It is being used in the ".concat(st," component."):""))}}var Ht=(0,i.propKey)(Le),gt=Le[Ht];rt=(0,i.createClassName)(Ht,gt)}var ct=!Oe.hasParentMedia||(0,i.intersection)(H.breakpoints.toVisibleAtBreakpointSet(Oe.breakpointProps),H.breakpoints.toVisibleAtBreakpointSet(Le)).length>0,we=ct&&(We===void 0||H.shouldRenderMediaQuery(p({},Le,{interaction:Ne}),We));return me.children instanceof Function?me.children(rt,we):t.default.createElement("div",{className:"fresnel-container ".concat(rt," ").concat(Ee),style:Ie,suppressHydrationWarning:!we},we?me.children:null)}))})}}]),B}(t.default.Component),T($,"defaultProps",{className:"",style:{}}),T($,"contextType",Y),X);return{Media:G,MediaContextProvider:F,createMediaStyle:H.toStyle,SortedBreakpoints:s(H.breakpoints.sortedBreakpoints),findBreakpointAtWidth:H.breakpoints.findBreakpointAtWidth,findBreakpointsForWidths:H.breakpoints.findBreakpointsForWidths,valuesWithBreakpointProps:H.breakpoints.valuesWithBreakpointProps}}var M=n.MediaQueries.validKeys();function j(D){var $=Object.keys(D).filter(function(X){return M.includes(X)});if($.length<1)throw new Error("1 of ".concat(M.join(", ")," is required."));if($.length>1)throw new Error("Only 1 of ".concat($.join(", ")," is allowed at a time."))}return Fh}var wT;function NZ(){return wT||(wT=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"createMedia",{enumerable:!0,get:function(){return t.createMedia}}),Object.defineProperty(e,"BreakpointKey",{enumerable:!0,get:function(){return r.BreakpointConstraint}});var t=OZ(),r=ZD()}(gy)),gy}var MZ=NZ();const eF=MZ.createMedia({breakpoints:{small:320,large:768}}),DZ=eF.createMediaStyle(),{Media:dl,MediaContextProvider:FZ}=eF;function tF(e){const t=J.useRef(void 0);return J.useEffect(()=>{t.current=e}),t.current}const _T=1.3;function LZ(e,t){const r=ve("#svgContainer").node(),n=t.transform.k,i=co([0,(r.clientWidth-e[0]*n)/2]),a=co([0,(r.clientHeight-e[1]*n)/2]);ve("#chartSvg").attr("width",e[0]*n).attr("height",e[1]*n).attr("transform",`translate(${i}, ${a})`),ve("#chart").attr("transform",`scale(${n})`),r.scrollLeft=-t.transform.x,r.scrollTop=-t.transform.y}function jZ(){const e=ve("#svgContainer").node(),t=e.scrollLeft+e.clientWidth/2,r=e.scrollTop+e.clientHeight/2,n=mu(e).k;ve(e).call(Vb().translateTo,t/n,r/n)}function BZ(e){const t=new FileReader;return t.readAsDataURL(e),new Promise((r,n)=>{t.onload=i=>r(i.target.result)})}async function zZ(e){const t=e.href.baseVal;if(t)try{const n=await(await fetch(t)).blob(),i=await BZ(n);e.href.baseVal=i}catch(r){console.warn("Failed to load image:",r)}}async function UZ(e){const t=Array.from(e.getElementsByTagName("image"));await Promise.all(t.map(zZ))}function $Z(e){const t=new Image;return t.src=URL.createObjectURL(e),new Promise((r,n)=>{t.addEventListener("load",()=>r(t))})}function HZ(e){const t=document.createElement("canvas");t.width=e.width*2,t.height=e.height*2;const r=t.getContext("2d"),n=r.fillStyle;return r.fillStyle="white",r.fillRect(0,0,t.width,t.height),r.fillStyle=n,r.drawImage(e,0,0,t.width,t.height),t}function qZ(e,t){return new Promise((r,n)=>{e.toBlob(i=>{i?r(i):n()},t)})}function nF(){const e=document.getElementById("chartSvg").cloneNode(!0);e.removeAttribute("transform");const t=ve("#svgContainer").node(),r=mu(t).k;return e.setAttribute("width",String(Number(e.getAttribute("width"))/r)),e.setAttribute("height",String(Number(e.getAttribute("height"))/r)),e.querySelector("#chart").removeAttribute("transform"),e}function GZ(){const e=document.getElementById("chartSvg");return{width:Number(e.getAttribute("width")),height:Number(e.getAttribute("height"))}}function WZ(){return new XMLSerializer().serializeToString(nF())}async function nx(){const e=nF(),r=document.createElementNS("http://www.w3.org/2000/svg","rect");return r.setAttribute("x","0"),r.setAttribute("y","0"),r.setAttribute("width","100%"),r.setAttribute("height","100%"),r.setAttribute("fill","white"),e.prepend(r),await UZ(e),new XMLSerializer().serializeToString(e)}function VZ(){const e=document.createElement("iframe");e.style.position="absolute",e.style.top="-1000px",e.style.left="-1000px",e.onload=()=>{var t,r,n;(t=e.contentDocument)==null||t.open(),(r=e.contentDocument)==null||r.write(WZ()),(n=e.contentDocument)==null||n.close(),setTimeout(()=>{var i,a,s;(i=e.contentWindow)==null||i.focus(),(a=e.contentWindow)==null||a.print(),(s=e.parentNode)==null||s.removeChild(e)},500)},document.body.appendChild(e)}async function QZ(){const e=await nx(),t=new Blob([e],{type:"image/svg+xml"});gD.saveAs(t,"topola.svg")}async function KZ(){const e=await nx(),t=new Blob([e],{type:"image/svg+xml"});return HZ(await $Z(t))}async function YZ(){const e=await KZ(),t=await qZ(e,"image/png");gD.saveAs(t,"topola.png")}async function XZ(){const{default:e}=await AW(async()=>{const{default:a}=await import("./jspdf.es.min-BKjYMq0B.js");return{default:a}},[],import.meta.url),{width:t,height:r}=GZ(),n=new e({orientation:t>r?"l":"p",unit:"pt",format:[t,r]}),i=await nx();await n.addSvgAsImage(i,0,0,t,r),n.save("topola.pdf")}var qa=(e=>(e[e.Hourglass=0]="Hourglass",e[e.Relatives=1]="Relatives",e[e.Donatso=2]="Donatso",e[e.Fancy=3]="Fancy",e))(qa||{});const JZ=new Map([[wp.NO_COLOR,hn.ChartColors.NO_COLOR],[wp.COLOR_BY_GENERATION,hn.ChartColors.COLOR_BY_GENERATION],[wp.COLOR_BY_SEX,hn.ChartColors.COLOR_BY_SEX]]);function ZZ(e){switch(e){case 0:return hn.HourglassChart;case 1:return hn.RelativesChart;case 3:return hn.FancyChart;default:return hn.HourglassChart}}function eee(e){switch(e){case 3:return hn.CircleRenderer;default:return hn.DetailedRenderer}}function tee(e,t=20){const r=e;return[r.clientWidth-t,r.clientHeight-t]}function nee(e,t,r){const[n,i]=tee(e),a=Af([1,t,n/r.size[0],i/r.size[1]]);return[co([.1,a]),2]}let ree=class{constructor(){this.animating=!1,this.rerenderRequired=!1}zoom(t){var n;const r=ve("#svgContainer");(n=this.zoomBehavior)==null||n.scaleBy(r,t)}renderChart(t,r,n={initialRender:!1,resetPosition:!1}){if(!n.initialRender&&this.animating){this.rerenderRequired=!0,this.rerenderProps=t,this.rerenderResetPosition=n.resetPosition;return}if(!n.initialRender&&t.freezeAnimation)return;n.initialRender||!this.chart?(ve("#chart").node().innerHTML="",this.chart=hn.createChart({json:t.data,chartType:ZZ(t.chartType),renderer:eee(t.chartType),svgSelector:"#chart",indiCallback:E=>{var x;(x=E.modifiers)!=null&&x.shiftKey?t.onDetailSelection(E):t.onSelection(E)},colors:t.colors!==void 0?JZ.get(t.colors):void 0,animate:!0,updateSvgSize:!1,locale:r.locale})):this.chart.setData(t.data);const i=this.chart.render({startIndi:t.selection.id,baseGeneration:t.selection.generation}),a=ve("#chartSvg"),s=ve("#svgContainer").node(),o=mu(s).k,l=nee(s,o,i);this.zoomBehavior=Vb().scaleExtent(l).translateExtent([[0,0],i.size]).on("zoom",E=>LZ(i.size,E)),ve(s).on("scroll",jZ).call(this.zoomBehavior);const u=E=>()=>{const x=ui(s.scrollTop,E);return b=>{s.scrollTop=x(b)}},c=E=>()=>{const x=ui(s.scrollLeft,E);return b=>{s.scrollLeft=x(b)}},d=s.clientWidth/2-i.origin[0]*o,p=s.clientHeight/2-i.origin[1]*o,m=co([0,(s.clientWidth-i.size[0]*o)/2]),w=co([0,(s.clientHeight-i.size[1]*o)/2]),g=a.transition().delay(200).duration(500),_=n.initialRender?a:g;_.attr("transform",`translate(${m}, ${w})`),_.attr("width",i.size[0]*o),_.attr("height",i.size[1]*o),n.resetPosition&&(n.initialRender?(s.scrollLeft=-d,s.scrollTop=-p):g.tween("scrollLeft",c(-d)).tween("scrollTop",u(-p))),this.animating=!0,i.animationPromise.then(()=>{this.animating=!1,this.rerenderRequired&&(this.rerenderRequired=!1,this.rerenderProps?this.renderChart(this.rerenderProps,r,{initialRender:!1,resetPosition:!!this.rerenderResetPosition}):console.error("Rerender required after animation, but rerenderProps was not set."))})}};function iee(e){const t=J.useRef(new ree),r=tF(e),n=fr();return J.useEffect(()=>{if(r){const i=e.chartType!==(r==null?void 0:r.chartType)||e.colors!==(r==null?void 0:r.colors)||e.hideIds!==(r==null?void 0:r.hideIds)||e.hideSex!==(r==null?void 0:r.hideSex),a=e.chartType!==(r==null?void 0:r.chartType)||e.data!==r.data||e.selection.id!==r.selection.id||e.selection.generation!==r.selection.generation;t.current.renderChart(e,n,{initialRender:i,resetPosition:a})}else t.current.renderChart(e,n,{initialRender:!0,resetPosition:!0})}),O.jsxs("div",{id:"svgContainer",children:[O.jsxs(dl,{greaterThanOrEqual:"large",className:"zoom",children:[O.jsx("button",{className:"zoom-in",onClick:()=>t.current.zoom(_T),children:"+"}),O.jsx("button",{className:"zoom-out",onClick:()=>t.current.zoom(1/_T),children:"−"})]}),O.jsx("svg",{id:"chartSvg",children:O.jsx("g",{id:"chart"})})]})}var Qt=(e=>(e[e.UPLOADED=0]="UPLOADED",e[e.GEDCOM_URL=1]="GEDCOM_URL",e[e.WIKITREE=2]="WIKITREE",e[e.EMBEDDED=3]="EMBEDDED",e[e.GOOGLE_DRIVE=4]="GOOGLE_DRIVE",e))(Qt||{});function vn(e,t){window.gtag("event",e,t)}var vy={},Sc={},bT;function aee(){if(bT)return Sc;bT=1,Sc.byteLength=o,Sc.toByteArray=u,Sc.fromByteArray=p;for(var e=[],t=[],r=typeof Uint8Array<"u"?Uint8Array:Array,n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",i=0,a=n.length;i0)throw new Error("Invalid string. Length must be a multiple of 4");var g=m.indexOf("=");g===-1&&(g=w);var _=g===w?0:4-g%4;return[g,_]}function o(m){var w=s(m),g=w[0],_=w[1];return(g+_)*3/4-_}function l(m,w,g){return(w+g)*3/4-g}function u(m){var w,g=s(m),_=g[0],E=g[1],x=new r(l(m,_,E)),b=0,C=E>0?_-4:_,v;for(v=0;v>16&255,x[b++]=w>>8&255,x[b++]=w&255;return E===2&&(w=t[m.charCodeAt(v)]<<2|t[m.charCodeAt(v+1)]>>4,x[b++]=w&255),E===1&&(w=t[m.charCodeAt(v)]<<10|t[m.charCodeAt(v+1)]<<4|t[m.charCodeAt(v+2)]>>2,x[b++]=w>>8&255,x[b++]=w&255),x}function c(m){return e[m>>18&63]+e[m>>12&63]+e[m>>6&63]+e[m&63]}function d(m,w,g){for(var _,E=[],x=w;xC?C:b+x));return _===1?(w=m[g-1],E.push(e[w>>2]+e[w<<4&63]+"==")):_===2&&(w=(m[g-2]<<8)+m[g-1],E.push(e[w>>10]+e[w>>4&63]+e[w<<2&63]+"=")),E.join("")}return Sc}var jh={};/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh */var xT;function oee(){return xT||(xT=1,jh.read=function(e,t,r,n,i){var a,s,o=i*8-n-1,l=(1<>1,c=-7,d=r?i-1:0,p=r?-1:1,m=e[t+d];for(d+=p,a=m&(1<<-c)-1,m>>=-c,c+=o;c>0;a=a*256+e[t+d],d+=p,c-=8);for(s=a&(1<<-c)-1,a>>=-c,c+=n;c>0;s=s*256+e[t+d],d+=p,c-=8);if(a===0)a=1-u;else{if(a===l)return s?NaN:(m?-1:1)*(1/0);s=s+Math.pow(2,n),a=a-u}return(m?-1:1)*s*Math.pow(2,a-n)},jh.write=function(e,t,r,n,i,a){var s,o,l,u=a*8-i-1,c=(1<>1,p=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,m=n?0:a-1,w=n?1:-1,g=t<0||t===0&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(o=isNaN(t)?1:0,s=c):(s=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-s))<1&&(s--,l*=2),s+d>=1?t+=p/l:t+=p*Math.pow(2,1-d),t*l>=2&&(s++,l/=2),s+d>=c?(o=0,s=c):s+d>=1?(o=(t*l-1)*Math.pow(2,i),s=s+d):(o=t*Math.pow(2,d-1)*Math.pow(2,i),s=0));i>=8;e[r+m]=o&255,m+=w,o/=256,i-=8);for(s=s<0;e[r+m]=s&255,m+=w,s/=256,u-=8);e[r+m-w]|=g*128}),jh}/*! +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function l(D,$){if(D){if(typeof D=="string")return d(D,$);var X=Object.prototype.toString.call(D).slice(8,-1);if(X==="Object"&&D.constructor&&(X=D.constructor.name),X==="Map"||X==="Set")return Array.from(D);if(X==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(X))return d(D,$)}}function u(D){if(typeof Symbol<"u"&&D[Symbol.iterator]!=null||D["@@iterator"]!=null)return Array.from(D)}function c(D){if(Array.isArray(D))return d(D)}function d(D,$){($==null||$>D.length)&&($=D.length);for(var X=0,W=new Array($);X<$;X++)W[X]=D[X];return W}function p(D){for(var $=1;$=0)&&Object.prototype.propertyIsEnumerable.call(D,W)&&(X[W]=D[W])}return X}function w(D,$){if(D==null)return{};var X={},W=Object.keys(D),H,V;for(V=0;V=0)&&(X[H]=D[H]);return X}function g(D,$){if(!(D instanceof $))throw new TypeError("Cannot call a class as a function")}function _(D,$){for(var X=0;X<$.length;X++){var W=$[X];W.enumerable=W.enumerable||!1,W.configurable=!0,"value"in W&&(W.writable=!0),Object.defineProperty(D,W.key,W)}}function E(D,$,X){return $&&_(D.prototype,$),D}function x(D,$){if($&&(e($)==="object"||typeof $=="function"))return $;if($!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return k(D)}function b(D){return b=Object.setPrototypeOf?Object.getPrototypeOf:function(X){return X.__proto__||Object.getPrototypeOf(X)},b(D)}function C(D,$){if(typeof $!="function"&&$!==null)throw new TypeError("Super expression must either be null or a function");D.prototype=Object.create($&&$.prototype,{constructor:{value:D,writable:!0,configurable:!0}}),$&&v(D,$)}function v(D,$){return v=Object.setPrototypeOf||function(W,H){return W.__proto__=H,W},v(D,$)}function k(D){if(D===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return D}function T(D,$,X){return $ in D?Object.defineProperty(D,$,{value:X,enumerable:!0,configurable:!0,writable:!0}):D[$]=X,D}function N(D){var $,X,W=(0,i.castBreakpointsToIntegers)(D.breakpoints),H=new n.MediaQueries(W,D.interactions||{}),V=(0,r.createResponsiveComponents)(),K=t.default.createContext({});K.displayName="Media.Context";var Y=t.default.createContext({hasParentMedia:!1,breakpointProps:{}});K.displayName="MediaParent.Context";var q=(0,i.memoize)(function(z){return{onlyMatch:z}}),F=function(B){var se=B.disableDynamicMediaQueries,de=B.onlyMatch,me=B.children;if(se){var Ee=q(de);return t.default.createElement(K.Provider,{value:Ee},me)}else return t.default.createElement(V.Provider,{mediaQueries:H.dynamicResponsiveMediaQueries,initialMatchingMediaQueries:(0,i.intersection)(H.mediaQueryTypes,de)},t.default.createElement(V.Consumer,null,function(Ie){var Ne=Object.keys(Ie).filter(function(He){return Ie[He]}),Le=q((0,i.intersection)(Ne,de));return t.default.createElement(K.Provider,{value:Le},me)}))},G=(X=$=function(z){C(B,z);function B(se){var de;return g(this,B),de=x(this,b(B).call(this,se)),T(k(k(de)),"getMediaParentContextValue",(0,i.memoize)(function(me){return{hasParentMedia:!0,breakpointProps:me}})),j(se),de}return E(B,[{key:"render",value:function(){var de=this,me=this.props;me.children;var Ee=me.className,Ie=me.style,Ne=me.interaction,Le=m(me,["children","className","style","interaction"]),He=this.getMediaParentContextValue(Le);return t.default.createElement(Y.Consumer,null,function(Oe){return t.default.createElement(Y.Provider,{value:He},t.default.createElement(K.Consumer,null,function(){var Fe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},We=Fe.onlyMatch,rt;if(me.interaction)rt=(0,i.createClassName)("interaction",me.interaction);else{if(me.at){var ot=H.breakpoints.largestBreakpoint;if(me.at===ot){var st=null;try{var At=de._reactInternalFiber._debugOwner.type;st=At.displayName||At.name}catch{}console.warn("[@artsy/fresnel] `at` is being used with the largest breakpoint. Consider using `` to account for future ')+"breakpoint definitions outside of this range.".concat(st?" It is being used in the ".concat(st," component."):""))}}var Ht=(0,i.propKey)(Le),gt=Le[Ht];rt=(0,i.createClassName)(Ht,gt)}var ct=!Oe.hasParentMedia||(0,i.intersection)(H.breakpoints.toVisibleAtBreakpointSet(Oe.breakpointProps),H.breakpoints.toVisibleAtBreakpointSet(Le)).length>0,we=ct&&(We===void 0||H.shouldRenderMediaQuery(p({},Le,{interaction:Ne}),We));return me.children instanceof Function?me.children(rt,we):t.default.createElement("div",{className:"fresnel-container ".concat(rt," ").concat(Ee),style:Ie,suppressHydrationWarning:!we},we?me.children:null)}))})}}]),B}(t.default.Component),T($,"defaultProps",{className:"",style:{}}),T($,"contextType",Y),X);return{Media:G,MediaContextProvider:F,createMediaStyle:H.toStyle,SortedBreakpoints:s(H.breakpoints.sortedBreakpoints),findBreakpointAtWidth:H.breakpoints.findBreakpointAtWidth,findBreakpointsForWidths:H.breakpoints.findBreakpointsForWidths,valuesWithBreakpointProps:H.breakpoints.valuesWithBreakpointProps}}var M=n.MediaQueries.validKeys();function j(D){var $=Object.keys(D).filter(function(X){return M.includes(X)});if($.length<1)throw new Error("1 of ".concat(M.join(", ")," is required."));if($.length>1)throw new Error("Only 1 of ".concat($.join(", ")," is allowed at a time."))}return Fh}var wT;function NZ(){return wT||(wT=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"createMedia",{enumerable:!0,get:function(){return t.createMedia}}),Object.defineProperty(e,"BreakpointKey",{enumerable:!0,get:function(){return r.BreakpointConstraint}});var t=OZ(),r=ZD()}(gy)),gy}var MZ=NZ();const eF=MZ.createMedia({breakpoints:{small:320,large:768}}),DZ=eF.createMediaStyle(),{Media:dl,MediaContextProvider:FZ}=eF;function tF(e){const t=J.useRef(void 0);return J.useEffect(()=>{t.current=e}),t.current}const _T=1.3;function LZ(e,t){const r=ve("#svgContainer").node(),n=t.transform.k,i=co([0,(r.clientWidth-e[0]*n)/2]),a=co([0,(r.clientHeight-e[1]*n)/2]);ve("#chartSvg").attr("width",e[0]*n).attr("height",e[1]*n).attr("transform",`translate(${i}, ${a})`),ve("#chart").attr("transform",`scale(${n})`),r.scrollLeft=-t.transform.x,r.scrollTop=-t.transform.y}function jZ(){const e=ve("#svgContainer").node(),t=e.scrollLeft+e.clientWidth/2,r=e.scrollTop+e.clientHeight/2,n=mu(e).k;ve(e).call(Vb().translateTo,t/n,r/n)}function BZ(e){const t=new FileReader;return t.readAsDataURL(e),new Promise((r,n)=>{t.onload=i=>r(i.target.result)})}async function zZ(e){const t=e.href.baseVal;if(t)try{const n=await(await fetch(t)).blob(),i=await BZ(n);e.href.baseVal=i}catch(r){console.warn("Failed to load image:",r)}}async function UZ(e){const t=Array.from(e.getElementsByTagName("image"));await Promise.all(t.map(zZ))}function $Z(e){const t=new Image;return t.src=URL.createObjectURL(e),new Promise((r,n)=>{t.addEventListener("load",()=>r(t))})}function HZ(e){const t=document.createElement("canvas");t.width=e.width*2,t.height=e.height*2;const r=t.getContext("2d"),n=r.fillStyle;return r.fillStyle="white",r.fillRect(0,0,t.width,t.height),r.fillStyle=n,r.drawImage(e,0,0,t.width,t.height),t}function qZ(e,t){return new Promise((r,n)=>{e.toBlob(i=>{i?r(i):n()},t)})}function nF(){const e=document.getElementById("chartSvg").cloneNode(!0);e.removeAttribute("transform");const t=ve("#svgContainer").node(),r=mu(t).k;return e.setAttribute("width",String(Number(e.getAttribute("width"))/r)),e.setAttribute("height",String(Number(e.getAttribute("height"))/r)),e.querySelector("#chart").removeAttribute("transform"),e}function GZ(){const e=document.getElementById("chartSvg");return{width:Number(e.getAttribute("width")),height:Number(e.getAttribute("height"))}}function WZ(){return new XMLSerializer().serializeToString(nF())}async function nx(){const e=nF(),r=document.createElementNS("http://www.w3.org/2000/svg","rect");return r.setAttribute("x","0"),r.setAttribute("y","0"),r.setAttribute("width","100%"),r.setAttribute("height","100%"),r.setAttribute("fill","white"),e.prepend(r),await UZ(e),new XMLSerializer().serializeToString(e)}function VZ(){const e=document.createElement("iframe");e.style.position="absolute",e.style.top="-1000px",e.style.left="-1000px",e.onload=()=>{var t,r,n;(t=e.contentDocument)==null||t.open(),(r=e.contentDocument)==null||r.write(WZ()),(n=e.contentDocument)==null||n.close(),setTimeout(()=>{var i,a,s;(i=e.contentWindow)==null||i.focus(),(a=e.contentWindow)==null||a.print(),(s=e.parentNode)==null||s.removeChild(e)},500)},document.body.appendChild(e)}async function QZ(){const e=await nx(),t=new Blob([e],{type:"image/svg+xml"});gD.saveAs(t,"topola.svg")}async function KZ(){const e=await nx(),t=new Blob([e],{type:"image/svg+xml"});return HZ(await $Z(t))}async function YZ(){const e=await KZ(),t=await qZ(e,"image/png");gD.saveAs(t,"topola.png")}async function XZ(){const{default:e}=await AW(async()=>{const{default:a}=await import("./jspdf.es.min-BwD60SII.js");return{default:a}},[],import.meta.url),{width:t,height:r}=GZ(),n=new e({orientation:t>r?"l":"p",unit:"pt",format:[t,r]}),i=await nx();await n.addSvgAsImage(i,0,0,t,r),n.save("topola.pdf")}var qa=(e=>(e[e.Hourglass=0]="Hourglass",e[e.Relatives=1]="Relatives",e[e.Donatso=2]="Donatso",e[e.Fancy=3]="Fancy",e))(qa||{});const JZ=new Map([[wp.NO_COLOR,hn.ChartColors.NO_COLOR],[wp.COLOR_BY_GENERATION,hn.ChartColors.COLOR_BY_GENERATION],[wp.COLOR_BY_SEX,hn.ChartColors.COLOR_BY_SEX]]);function ZZ(e){switch(e){case 0:return hn.HourglassChart;case 1:return hn.RelativesChart;case 3:return hn.FancyChart;default:return hn.HourglassChart}}function eee(e){switch(e){case 3:return hn.CircleRenderer;default:return hn.DetailedRenderer}}function tee(e,t=20){const r=e;return[r.clientWidth-t,r.clientHeight-t]}function nee(e,t,r){const[n,i]=tee(e),a=Af([1,t,n/r.size[0],i/r.size[1]]);return[co([.1,a]),2]}let ree=class{constructor(){this.animating=!1,this.rerenderRequired=!1}zoom(t){var n;const r=ve("#svgContainer");(n=this.zoomBehavior)==null||n.scaleBy(r,t)}renderChart(t,r,n={initialRender:!1,resetPosition:!1}){if(!n.initialRender&&this.animating){this.rerenderRequired=!0,this.rerenderProps=t,this.rerenderResetPosition=n.resetPosition;return}if(!n.initialRender&&t.freezeAnimation)return;n.initialRender||!this.chart?(ve("#chart").node().innerHTML="",this.chart=hn.createChart({json:t.data,chartType:ZZ(t.chartType),renderer:eee(t.chartType),svgSelector:"#chart",indiCallback:E=>{var x;(x=E.modifiers)!=null&&x.shiftKey?t.onDetailSelection(E):t.onSelection(E)},colors:t.colors!==void 0?JZ.get(t.colors):void 0,animate:!0,updateSvgSize:!1,locale:r.locale})):this.chart.setData(t.data);const i=this.chart.render({startIndi:t.selection.id,baseGeneration:t.selection.generation}),a=ve("#chartSvg"),s=ve("#svgContainer").node(),o=mu(s).k,l=nee(s,o,i);this.zoomBehavior=Vb().scaleExtent(l).translateExtent([[0,0],i.size]).on("zoom",E=>LZ(i.size,E)),ve(s).on("scroll",jZ).call(this.zoomBehavior);const u=E=>()=>{const x=ui(s.scrollTop,E);return b=>{s.scrollTop=x(b)}},c=E=>()=>{const x=ui(s.scrollLeft,E);return b=>{s.scrollLeft=x(b)}},d=s.clientWidth/2-i.origin[0]*o,p=s.clientHeight/2-i.origin[1]*o,m=co([0,(s.clientWidth-i.size[0]*o)/2]),w=co([0,(s.clientHeight-i.size[1]*o)/2]),g=a.transition().delay(200).duration(500),_=n.initialRender?a:g;_.attr("transform",`translate(${m}, ${w})`),_.attr("width",i.size[0]*o),_.attr("height",i.size[1]*o),n.resetPosition&&(n.initialRender?(s.scrollLeft=-d,s.scrollTop=-p):g.tween("scrollLeft",c(-d)).tween("scrollTop",u(-p))),this.animating=!0,i.animationPromise.then(()=>{this.animating=!1,this.rerenderRequired&&(this.rerenderRequired=!1,this.rerenderProps?this.renderChart(this.rerenderProps,r,{initialRender:!1,resetPosition:!!this.rerenderResetPosition}):console.error("Rerender required after animation, but rerenderProps was not set."))})}};function iee(e){const t=J.useRef(new ree),r=tF(e),n=fr();return J.useEffect(()=>{if(r){const i=e.chartType!==(r==null?void 0:r.chartType)||e.colors!==(r==null?void 0:r.colors)||e.hideIds!==(r==null?void 0:r.hideIds)||e.hideSex!==(r==null?void 0:r.hideSex),a=e.chartType!==(r==null?void 0:r.chartType)||e.data!==r.data||e.selection.id!==r.selection.id||e.selection.generation!==r.selection.generation;t.current.renderChart(e,n,{initialRender:i,resetPosition:a})}else t.current.renderChart(e,n,{initialRender:!0,resetPosition:!0})}),O.jsxs("div",{id:"svgContainer",children:[O.jsxs(dl,{greaterThanOrEqual:"large",className:"zoom",children:[O.jsx("button",{className:"zoom-in",onClick:()=>t.current.zoom(_T),children:"+"}),O.jsx("button",{className:"zoom-out",onClick:()=>t.current.zoom(1/_T),children:"−"})]}),O.jsx("svg",{id:"chartSvg",children:O.jsx("g",{id:"chart"})})]})}var Qt=(e=>(e[e.UPLOADED=0]="UPLOADED",e[e.GEDCOM_URL=1]="GEDCOM_URL",e[e.WIKITREE=2]="WIKITREE",e[e.EMBEDDED=3]="EMBEDDED",e[e.GOOGLE_DRIVE=4]="GOOGLE_DRIVE",e))(Qt||{});function vn(e,t){window.gtag("event",e,t)}var vy={},Sc={},bT;function aee(){if(bT)return Sc;bT=1,Sc.byteLength=o,Sc.toByteArray=u,Sc.fromByteArray=p;for(var e=[],t=[],r=typeof Uint8Array<"u"?Uint8Array:Array,n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",i=0,a=n.length;i0)throw new Error("Invalid string. Length must be a multiple of 4");var g=m.indexOf("=");g===-1&&(g=w);var _=g===w?0:4-g%4;return[g,_]}function o(m){var w=s(m),g=w[0],_=w[1];return(g+_)*3/4-_}function l(m,w,g){return(w+g)*3/4-g}function u(m){var w,g=s(m),_=g[0],E=g[1],x=new r(l(m,_,E)),b=0,C=E>0?_-4:_,v;for(v=0;v>16&255,x[b++]=w>>8&255,x[b++]=w&255;return E===2&&(w=t[m.charCodeAt(v)]<<2|t[m.charCodeAt(v+1)]>>4,x[b++]=w&255),E===1&&(w=t[m.charCodeAt(v)]<<10|t[m.charCodeAt(v+1)]<<4|t[m.charCodeAt(v+2)]>>2,x[b++]=w>>8&255,x[b++]=w&255),x}function c(m){return e[m>>18&63]+e[m>>12&63]+e[m>>6&63]+e[m&63]}function d(m,w,g){for(var _,E=[],x=w;xC?C:b+x));return _===1?(w=m[g-1],E.push(e[w>>2]+e[w<<4&63]+"==")):_===2&&(w=(m[g-2]<<8)+m[g-1],E.push(e[w>>10]+e[w>>4&63]+e[w<<2&63]+"=")),E.join("")}return Sc}var jh={};/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh */var xT;function oee(){return xT||(xT=1,jh.read=function(e,t,r,n,i){var a,s,o=i*8-n-1,l=(1<>1,c=-7,d=r?i-1:0,p=r?-1:1,m=e[t+d];for(d+=p,a=m&(1<<-c)-1,m>>=-c,c+=o;c>0;a=a*256+e[t+d],d+=p,c-=8);for(s=a&(1<<-c)-1,a>>=-c,c+=n;c>0;s=s*256+e[t+d],d+=p,c-=8);if(a===0)a=1-u;else{if(a===l)return s?NaN:(m?-1:1)*(1/0);s=s+Math.pow(2,n),a=a-u}return(m?-1:1)*s*Math.pow(2,a-n)},jh.write=function(e,t,r,n,i,a){var s,o,l,u=a*8-i-1,c=(1<>1,p=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,m=n?0:a-1,w=n?1:-1,g=t<0||t===0&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(o=isNaN(t)?1:0,s=c):(s=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-s))<1&&(s--,l*=2),s+d>=1?t+=p/l:t+=p*Math.pow(2,1-d),t*l>=2&&(s++,l/=2),s+d>=c?(o=0,s=c):s+d>=1?(o=(t*l-1)*Math.pow(2,i),s=s+d):(o=t*Math.pow(2,d-1)*Math.pow(2,i),s=0));i>=8;e[r+m]=o&255,m+=w,o/=256,i-=8);for(s=s<0;e[r+m]=s&255,m+=w,s/=256,u-=8);e[r+m-w]|=g*128}),jh}/*! * The buffer module from node.js, for the browser. * * @author Feross Aboukhadijeh @@ -795,7 +795,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho - Added color settings (none, by generation, by sex) `,jle="last_seen_version";async function Ble(e,t){const n=Lle.split("##").slice(1,e+1).map(a=>({date:Date.parse(a.split(` `)[0].trim()),notes:"####"+a})).filter(a=>a.date>0).map(a=>a.notes).join(` -`)||"",i=await Nle().use(vse).use(ple).use(fae).process(n);return String(i)}function zle(){localStorage.setItem(jle,"2026-05-31 23:31:52 +0200")}const nI=""+new URL("topola-DAj3jHeV.jpg",import.meta.url).href;function s0(e){return O.jsx(yl,{to:{pathname:"/view",search:dn.stringify(e.params)},children:e.text})}function Ule(e){return(e==null?void 0:e.slice(0,16))||""}function rI(){const[e,t]=J.useState("");return J.useEffect(()=>{(async()=>(t(await Ble(1)),zle()))()}),O.jsxs(O.Fragment,{children:[O.jsx("p",{children:O.jsx(Re,{id:"intro.description",defaultMessage:"Topola Genealogy is a genealogy tree viewer that lets you browse the structure of the family."})}),O.jsx("p",{children:O.jsx(Re,{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."})}),O.jsx("h3",{children:O.jsx(Re,{id:"intro.examples",defaultMessage:"Examples"})}),O.jsxs("ul",{children:[O.jsxs("li",{children:[O.jsx(s0,{params:{url:"https://chronoplexsoftware.com/myfamilytree/samples/The%20Kennedy%20Family.gdz"},text:"J. F. Kennedy"})," ","(",O.jsx(Re,{id:"intro.from",defaultMessage:"from"})," ",O.jsx("a",{href:"https://chronoplexsoftware.com/myfamilytree/samples/",children:"chronoplexsoftware.com"}),")"]}),O.jsxs("li",{children:[O.jsx(s0,{params:{url:"https://webtreeprint.com/tp_downloader.php?path=famous_gedcoms/shakespeare.ged&file=shakespeare.ged"},text:"Shakespeare"})," ","(",O.jsx(Re,{id:"intro.from",defaultMessage:"from"})," ",O.jsx("a",{href:"https://webtreeprint.com/tp_famous_gedcoms.php",children:"webtreeprint.com"}),")"]}),O.jsxs("li",{children:[O.jsx(s0,{params:{indi:"Skłodowska-2",source:"wikitree"},text:"Maria Skłodowska-Curie"})," ","(",O.jsx(Re,{id:"intro.from",defaultMessage:"from"})," ",O.jsx("a",{href:"https://www.wikitree.com/wiki/Sk%C5%82odowska-2",children:"wikitree.com"}),")"]})]}),O.jsx("h3",{children:O.jsx(Re,{id:"intro.whats_new",defaultMessage:"What's new"})}),O.jsx("span",{dangerouslySetInnerHTML:{__html:e}}),O.jsx("a",{href:"https://github.com/PeWu/topola-viewer/blob/master/CHANGELOG.md",children:O.jsx(Re,{id:"intro.full_changelog",defaultMessage:"See full changelog"})}),O.jsx("h3",{children:O.jsx(Re,{id:"intro.privacy",defaultMessage:"Privacy"})}),O.jsx(Re,{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:O.jsx("a",{href:"https://topolaproxy.bieda.it/",children:"cors-anywhere"})}}),O.jsxs("p",{className:"ui right aligned version",children:["version: ",Ule("2026-05-31 23:31:52 +0200")," (",O.jsx("a",{href:"https://github.com/PeWu/topola-viewer/commit/024b25e",children:"024b25e"}),")"]})]})}function $le(){return O.jsxs("div",{id:"introContent",children:[O.jsx("div",{className:"backgroundImage"}),O.jsxs(Sn,{className:"intro",children:[O.jsx(Sn.Content,{as:dl,greaterThanOrEqual:"large",children:O.jsx(Sn.Header,{children:O.jsx(Re,{id:"intro.title",defaultMessage:"Topola Genealogy Viewer"})})}),O.jsxs(Sn.Content,{children:[O.jsx(Qr,{as:dl,greaterThanOrEqual:"large",children:O.jsxs(Qr.Row,{children:[O.jsx(Qr.Column,{width:5,children:O.jsx(sn,{src:nI,alt:"Topola logo"})}),O.jsx(Qr.Column,{width:11,children:O.jsx(rI,{})})]})}),O.jsxs(dl,{at:"small",children:[O.jsx(sn,{src:nI,alt:"Topola logo",centered:!0,size:"tiny",className:"blockImage"}),O.jsx(rI,{})]})]})]})]})}function Hle(e){const[t,r]=J.useState(!1),[n,i]=J.useState(!1),[a,s]=J.useState(null),o=J.useRef(null);J.useEffect(()=>()=>{o.current&&clearTimeout(o.current)},[]);async function l(d){if((await window.fetch(`https://www.googleapis.com/drive/v3/files/${e.failedFileId}?alt=media`,{headers:{Authorization:`Bearer ${d}`}})).status===200){r(!1),e.onAuthSuccess(e.failedFileId);return}i(!0),Qa.showPicker(m=>{r(!1),e.onAuthSuccess(m)},()=>{r(!1)})}async function u(){r(!0),s(null),o.current&&clearTimeout(o.current),o.current=setTimeout(()=>{r(!1),o.current=null},2e4);try{const d=await Qa.requestToken(!1);o.current&&(clearTimeout(o.current),o.current=null),await l(d)}catch(d){o.current&&(clearTimeout(o.current),o.current=null),console.error("Auth error in fallback modal:",d),s(d.message||"An error occurred during authentication."),r(!1)}}async function c(){r(!0),s(null),o.current&&clearTimeout(o.current),o.current=setTimeout(()=>{r(!1),o.current=null},2e4);try{const d=await Qa.requestToken(!0);o.current&&(clearTimeout(o.current),o.current=null),await l(d)}catch(d){o.current&&(clearTimeout(o.current),o.current=null),console.error("Switch account error in fallback modal:",d),s(d.message||"An error occurred during authentication."),r(!1)}}return O.jsxs(Yt,{open:!0,onClose:e.onCancel,centered:!0,size:"tiny",children:[O.jsxs($t,{children:[O.jsx(Je,{name:"google drive"}),O.jsx(Re,{id:"google_auth.title",defaultMessage:"Google Drive Access Required"})]}),O.jsxs(Yt.Content,{children:[O.jsx("p",{children:O.jsx(Re,{id:"google_auth.instructions",defaultMessage:"To view this file, you must authenticate and select the file from your Google Drive to grant permissions."})}),n&&O.jsxs(Dn,{warning:!0,children:[O.jsx(Dn.Header,{children:O.jsx(Re,{id:"google_auth.picker_instructions_header",defaultMessage:"Permissions Required"})}),O.jsx("p",{children:O.jsx(Re,{id:"google_auth.picker_instructions",defaultMessage:"The application does not have permission to read this file. Please select it in the file browser popup to grant access. If this is a shared file that doesn't show up, try adding a shortcut to your Drive first."})})]}),a&&O.jsx(Dn,{negative:!0,children:O.jsx("p",{children:a})})]}),O.jsxs(Yt.Actions,{children:[O.jsx(nn,{secondary:!0,onClick:e.onCancel,children:O.jsx(Re,{id:"google_auth.cancel",defaultMessage:"Cancel"})}),n&&O.jsx(nn,{basic:!0,onClick:c,loading:t,children:O.jsx(Re,{id:"google_auth.switch_account_button",defaultMessage:"Switch Account"})}),O.jsx(nn,{primary:!0,onClick:u,loading:t,children:O.jsx(Re,{id:"google_auth.grant_button",defaultMessage:"Grant Access & Select File"})})]})]})}var qr=(e=>(e[e.Menu=0]="Menu",e[e.Dropdown=1]="Dropdown",e))(qr||{});function au(e){const t={...e};return delete t.menuType,O.jsx(O.Fragment,{children:e.menuType===0?O.jsx(Kt.Item,{...t,children:e.children}):O.jsx(Ze.Item,{...t,children:e.children})})}function qle(e){const t=mo();async function r(){try{await Qa.requestToken(),e.onTokenAcquired&&e.onTokenAcquired(),await Qa.showPicker(n=>{t({pathname:"/view",search:dn.stringify({source:"google-drive",fileId:n})})})}catch(n){console.error("Failed Google Drive login/file picking:",n)}}return O.jsxs(au,{onClick:r,menuType:e.menuType,children:[O.jsx(Je,{name:"google drive"}),O.jsx(Re,{id:"menu.load_from_google_drive",defaultMessage:"Load from Google Drive"})]})}var Kh={exports:{}},iI;function Gle(){if(iI)return Kh.exports;iI=1;function e(t,r=100,n={}){if(typeof t!="function")throw new TypeError(`Expected the first parameter to be a function, got \`${typeof t}\`.`);if(r<0)throw new RangeError("`wait` must not be negative.");const{immediate:i}=typeof n=="boolean"?{immediate:n}:n;let a,s,o,l,u;function c(){const m=a,w=s;return a=void 0,s=void 0,u=t.apply(m,w),u}function d(){const m=Date.now()-l;m=0?o=setTimeout(d,r-m):(o=void 0,i||(u=c()))}const p=function(...m){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,s=m,l=Date.now();const w=i&&!o;return o||(o=setTimeout(d,r)),w&&(u=c()),u};return Object.defineProperty(p,"isPending",{get(){return o!==void 0}}),p.clear=()=>{o&&(clearTimeout(o),o=void 0)},p.flush=()=>{o&&p.trigger()},p.trigger=()=>{u=c(),p.clear()},p}return Kh.exports.debounce=e,Kh.exports=e,Kh.exports}var Wle=Gle();const Vle=yn(Wle);var l0,aI;function Qle(){return aI||(aI=1,l0=function e(t,r){var n=/(^([+\-]?(?: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})/,s=/^0x[0-9a-f]+$/i,o=/^0/,l=function(b){return e.insensitive&&(""+b).toLowerCase()||""+b},u=l(t).replace(i,"")||"",c=l(r).replace(i,"")||"",d=u.replace(n,"\0$1\0").replace(/\0$/,"").replace(/^\0/,"").split("\0"),p=c.replace(n,"\0$1\0").replace(/\0$/,"").replace(/^\0/,"").split("\0"),m=parseInt(u.match(s),16)||d.length!==1&&u.match(a)&&Date.parse(u),w=parseInt(c.match(s),16)||m&&c.match(a)&&Date.parse(c)||null,g,_;if(w){if(mw)return 1}for(var E=0,x=Math.max(d.length,p.length);E_)return 1}return 0}),l0}var Kle=Qle();const Yle=yn(Kle);var u0={exports:{}};/** +`)||"",i=await Nle().use(vse).use(ple).use(fae).process(n);return String(i)}function zle(){localStorage.setItem(jle,"2026-06-04 13:03:02 +0200")}const nI=""+new URL("topola-DAj3jHeV.jpg",import.meta.url).href;function s0(e){return O.jsx(yl,{to:{pathname:"/view",search:dn.stringify(e.params)},children:e.text})}function Ule(e){return(e==null?void 0:e.slice(0,16))||""}function rI(){const[e,t]=J.useState("");return J.useEffect(()=>{(async()=>(t(await Ble(1)),zle()))()}),O.jsxs(O.Fragment,{children:[O.jsx("p",{children:O.jsx(Re,{id:"intro.description",defaultMessage:"Topola Genealogy is a genealogy tree viewer that lets you browse the structure of the family."})}),O.jsx("p",{children:O.jsx(Re,{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."})}),O.jsx("h3",{children:O.jsx(Re,{id:"intro.examples",defaultMessage:"Examples"})}),O.jsxs("ul",{children:[O.jsxs("li",{children:[O.jsx(s0,{params:{url:"https://chronoplexsoftware.com/myfamilytree/samples/The%20Kennedy%20Family.gdz"},text:"J. F. Kennedy"})," ","(",O.jsx(Re,{id:"intro.from",defaultMessage:"from"})," ",O.jsx("a",{href:"https://chronoplexsoftware.com/myfamilytree/samples/",children:"chronoplexsoftware.com"}),")"]}),O.jsxs("li",{children:[O.jsx(s0,{params:{url:"https://webtreeprint.com/tp_downloader.php?path=famous_gedcoms/shakespeare.ged&file=shakespeare.ged"},text:"Shakespeare"})," ","(",O.jsx(Re,{id:"intro.from",defaultMessage:"from"})," ",O.jsx("a",{href:"https://webtreeprint.com/tp_famous_gedcoms.php",children:"webtreeprint.com"}),")"]}),O.jsxs("li",{children:[O.jsx(s0,{params:{indi:"Skłodowska-2",source:"wikitree"},text:"Maria Skłodowska-Curie"})," ","(",O.jsx(Re,{id:"intro.from",defaultMessage:"from"})," ",O.jsx("a",{href:"https://www.wikitree.com/wiki/Sk%C5%82odowska-2",children:"wikitree.com"}),")"]})]}),O.jsx("h3",{children:O.jsx(Re,{id:"intro.whats_new",defaultMessage:"What's new"})}),O.jsx("span",{dangerouslySetInnerHTML:{__html:e}}),O.jsx("a",{href:"https://github.com/PeWu/topola-viewer/blob/master/CHANGELOG.md",children:O.jsx(Re,{id:"intro.full_changelog",defaultMessage:"See full changelog"})}),O.jsx("h3",{children:O.jsx(Re,{id:"intro.privacy",defaultMessage:"Privacy"})}),O.jsx(Re,{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:O.jsx("a",{href:"https://topolaproxy.bieda.it/",children:"cors-anywhere"})}}),O.jsxs("p",{className:"ui right aligned version",children:["version: ",Ule("2026-06-04 13:03:02 +0200")," (",O.jsx("a",{href:"https://github.com/PeWu/topola-viewer/commit/9a2ab4e",children:"9a2ab4e"}),")"]})]})}function $le(){return O.jsxs("div",{id:"introContent",children:[O.jsx("div",{className:"backgroundImage"}),O.jsxs(Sn,{className:"intro",children:[O.jsx(Sn.Content,{as:dl,greaterThanOrEqual:"large",children:O.jsx(Sn.Header,{children:O.jsx(Re,{id:"intro.title",defaultMessage:"Topola Genealogy Viewer"})})}),O.jsxs(Sn.Content,{children:[O.jsx(Qr,{as:dl,greaterThanOrEqual:"large",children:O.jsxs(Qr.Row,{children:[O.jsx(Qr.Column,{width:5,children:O.jsx(sn,{src:nI,alt:"Topola logo"})}),O.jsx(Qr.Column,{width:11,children:O.jsx(rI,{})})]})}),O.jsxs(dl,{at:"small",children:[O.jsx(sn,{src:nI,alt:"Topola logo",centered:!0,size:"tiny",className:"blockImage"}),O.jsx(rI,{})]})]})]})]})}function Hle(e){const[t,r]=J.useState(!1),[n,i]=J.useState(!1),[a,s]=J.useState(null),o=J.useRef(null);J.useEffect(()=>()=>{o.current&&clearTimeout(o.current)},[]);async function l(d){if((await window.fetch(`https://www.googleapis.com/drive/v3/files/${e.failedFileId}?alt=media`,{headers:{Authorization:`Bearer ${d}`}})).status===200){r(!1),e.onAuthSuccess(e.failedFileId);return}i(!0),Qa.showPicker(m=>{r(!1),e.onAuthSuccess(m)},()=>{r(!1)})}async function u(){r(!0),s(null),o.current&&clearTimeout(o.current),o.current=setTimeout(()=>{r(!1),o.current=null},2e4);try{const d=await Qa.requestToken(!1);o.current&&(clearTimeout(o.current),o.current=null),await l(d)}catch(d){o.current&&(clearTimeout(o.current),o.current=null),console.error("Auth error in fallback modal:",d),s(d.message||"An error occurred during authentication."),r(!1)}}async function c(){r(!0),s(null),o.current&&clearTimeout(o.current),o.current=setTimeout(()=>{r(!1),o.current=null},2e4);try{const d=await Qa.requestToken(!0);o.current&&(clearTimeout(o.current),o.current=null),await l(d)}catch(d){o.current&&(clearTimeout(o.current),o.current=null),console.error("Switch account error in fallback modal:",d),s(d.message||"An error occurred during authentication."),r(!1)}}return O.jsxs(Yt,{open:!0,onClose:e.onCancel,centered:!0,size:"tiny",children:[O.jsxs($t,{children:[O.jsx(Je,{name:"google drive"}),O.jsx(Re,{id:"google_auth.title",defaultMessage:"Google Drive Access Required"})]}),O.jsxs(Yt.Content,{children:[O.jsx("p",{children:O.jsx(Re,{id:"google_auth.instructions",defaultMessage:"To view this file, you must authenticate and select the file from your Google Drive to grant permissions."})}),n&&O.jsxs(Dn,{warning:!0,children:[O.jsx(Dn.Header,{children:O.jsx(Re,{id:"google_auth.picker_instructions_header",defaultMessage:"Permissions Required"})}),O.jsx("p",{children:O.jsx(Re,{id:"google_auth.picker_instructions",defaultMessage:"The application does not have permission to read this file. Please select it in the file browser popup to grant access. If this is a shared file that doesn't show up, try adding a shortcut to your Drive first."})})]}),a&&O.jsx(Dn,{negative:!0,children:O.jsx("p",{children:a})})]}),O.jsxs(Yt.Actions,{children:[O.jsx(nn,{secondary:!0,onClick:e.onCancel,children:O.jsx(Re,{id:"google_auth.cancel",defaultMessage:"Cancel"})}),n&&O.jsx(nn,{basic:!0,onClick:c,loading:t,children:O.jsx(Re,{id:"google_auth.switch_account_button",defaultMessage:"Switch Account"})}),O.jsx(nn,{primary:!0,onClick:u,loading:t,children:O.jsx(Re,{id:"google_auth.grant_button",defaultMessage:"Grant Access & Select File"})})]})]})}var qr=(e=>(e[e.Menu=0]="Menu",e[e.Dropdown=1]="Dropdown",e))(qr||{});function au(e){const t={...e};return delete t.menuType,O.jsx(O.Fragment,{children:e.menuType===0?O.jsx(Kt.Item,{...t,children:e.children}):O.jsx(Ze.Item,{...t,children:e.children})})}function qle(e){const t=mo();async function r(){try{await Qa.requestToken(),e.onTokenAcquired&&e.onTokenAcquired(),await Qa.showPicker(n=>{t({pathname:"/view",search:dn.stringify({source:"google-drive",fileId:n})})})}catch(n){console.error("Failed Google Drive login/file picking:",n)}}return O.jsxs(au,{onClick:r,menuType:e.menuType,children:[O.jsx(Je,{name:"google drive"}),O.jsx(Re,{id:"menu.load_from_google_drive",defaultMessage:"Load from Google Drive"})]})}var Kh={exports:{}},iI;function Gle(){if(iI)return Kh.exports;iI=1;function e(t,r=100,n={}){if(typeof t!="function")throw new TypeError(`Expected the first parameter to be a function, got \`${typeof t}\`.`);if(r<0)throw new RangeError("`wait` must not be negative.");const{immediate:i}=typeof n=="boolean"?{immediate:n}:n;let a,s,o,l,u;function c(){const m=a,w=s;return a=void 0,s=void 0,u=t.apply(m,w),u}function d(){const m=Date.now()-l;m=0?o=setTimeout(d,r-m):(o=void 0,i||(u=c()))}const p=function(...m){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,s=m,l=Date.now();const w=i&&!o;return o||(o=setTimeout(d,r)),w&&(u=c()),u};return Object.defineProperty(p,"isPending",{get(){return o!==void 0}}),p.clear=()=>{o&&(clearTimeout(o),o=void 0)},p.flush=()=>{o&&p.trigger()},p.trigger=()=>{u=c(),p.clear()},p}return Kh.exports.debounce=e,Kh.exports=e,Kh.exports}var Wle=Gle();const Vle=yn(Wle);var l0,aI;function Qle(){return aI||(aI=1,l0=function e(t,r){var n=/(^([+\-]?(?: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})/,s=/^0x[0-9a-f]+$/i,o=/^0/,l=function(b){return e.insensitive&&(""+b).toLowerCase()||""+b},u=l(t).replace(i,"")||"",c=l(r).replace(i,"")||"",d=u.replace(n,"\0$1\0").replace(/\0$/,"").replace(/^\0/,"").split("\0"),p=c.replace(n,"\0$1\0").replace(/\0$/,"").replace(/^\0/,"").split("\0"),m=parseInt(u.match(s),16)||d.length!==1&&u.match(a)&&Date.parse(u),w=parseInt(c.match(s),16)||m&&c.match(a)&&Date.parse(c)||null,g,_;if(w){if(mw)return 1}for(var E=0,x=Math.max(d.length,p.length);E_)return 1}return 0}),l0}var Kle=Qle();const Yle=yn(Kle);var u0={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 @@ -873,4 +873,4 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho */var h0,vI;function Cue(){if(vI)return h0;vI=1,h0=function(r){return r!=null&&(e(r)||t(r)||!!r._isBuffer)};function e(r){return!!r.constructor&&typeof r.constructor.isBuffer=="function"&&r.constructor.isBuffer(r)}function t(r){return typeof r.readFloatLE=="function"&&typeof r.slice=="function"&&e(r.slice(0,0))}return h0}var yI;function kue(){return yI||(yI=1,function(){var e=Sue(),t=gI().utf8,r=Cue(),n=gI().bin,i=function(a,s){a.constructor==String?s&&s.encoding==="binary"?a=n.stringToBytes(a):a=t.stringToBytes(a):r(a)?a=Array.prototype.slice.call(a,0):!Array.isArray(a)&&a.constructor!==Uint8Array&&(a=a.toString());for(var o=e.bytesToWords(a),l=a.length*8,u=1732584193,c=-271733879,d=-1732584194,p=271733878,m=0;m>>24)&16711935|(o[m]<<24|o[m]>>>8)&4278255360;o[l>>>5]|=128<>>9<<4)+14]=l;for(var w=i._ff,g=i._gg,_=i._hh,E=i._ii,m=0;m>>0,c=c+b>>>0,d=d+C>>>0,p=p+v>>>0}return e.endian([u,c,d,p])};i._ff=function(a,s,o,l,u,c,d){var p=a+(s&o|~s&l)+(u>>>0)+d;return(p<>>32-c)+s},i._gg=function(a,s,o,l,u,c,d){var p=a+(s&l|o&~l)+(u>>>0)+d;return(p<>>32-c)+s},i._hh=function(a,s,o,l,u,c,d){var p=a+(s^o^l)+(u>>>0)+d;return(p<>>32-c)+s},i._ii=function(a,s,o,l,u,c,d){var p=a+(o^(s|~l))+(u>>>0)+d;return(p<>>32-c)+s},i._blocksize=16,i._digestsize=16,c0.exports=function(a,s){if(a==null)throw new Error("Illegal argument "+a);var o=e.wordsToBytes(i(a,s));return s&&s.asBytes?o:s&&s.asString?n.bytesToString(o):e.bytesToHex(o)}}()),c0.exports}var Aue=kue();const wI=yn(Aue),Tue=/Android|iPhone|iPad|iPod/i.test(navigator.userAgent);function Iue(e){const t=mo(),r=hr();async function n(a){const s=a.target.files;if(!s||!s.length)return;const o=Array.from(s);a.target.value="",vn("upload_files_selected",{event_value:s.length});const l=o.length===1?o[0]:o.find(g=>g.name.toLowerCase().endsWith(".ged"))||o[0],{gedcom:u,images:c}=await wF(l);o.filter(g=>g.name!==l.name&&Nm(g.name)).forEach(g=>c.set(g.name.toLowerCase(),URL.createObjectURL(g)));const d=Array.from(c.keys()).sort().join("|"),p=wI(wI(u)+d),w=dn.parse(r.search).file===p;t({pathname:"/view",search:dn.stringify({file:p})},{replace:w,state:{data:u,images:c}})}const i=O.jsxs(O.Fragment,{children:[O.jsx(Je,{name:"folder open"}),O.jsx(Re,{id:"menu.open_file",defaultMessage:"Open file"})]});return O.jsxs(O.Fragment,{children:[e.menuType===qr.Menu?O.jsx("label",{htmlFor:"fileInput",children:O.jsx(Kt.Item,{as:"a",children:i})}):O.jsx(Ze.Item,{as:"label",htmlFor:"fileInput",children:i}),O.jsx("input",{className:"hidden",type:"file",accept:Tue?void 0:".ged,.gdz,.gedzip,.zip,.jpg,.jpeg,.png,.gif,.webp",id:"fileInput",multiple:!0,onChange:n})]})}function Pue(e){const[t,r]=J.useState(!1),[n,i]=J.useState(""),a=J.useRef(null),s=mo();J.useEffect(()=>{var u;t&&(i(""),(u=a.current)==null||u.focus())},[t]);function o(){r(!1),n&&(vn("url_selected"),s({pathname:"/view",search:dn.stringify({url:n})}))}function l(){return O.jsxs(Yt,{open:t,onClose:()=>r(!1),centered:!1,children:[O.jsxs($t,{children:[O.jsx(Je,{name:"cloud download"}),O.jsx(Re,{id:"load_from_url.title",defaultMessage:"Load from URL"})]}),O.jsx(Yt.Content,{children:O.jsxs(Gt,{onSubmit:o,children:[O.jsx(Ji,{placeholder:"https://",fluid:!0,value:n,onChange:(u,c)=>i(c.value),ref:a}),O.jsx("p",{children:O.jsx(Re,{id:"load_from_url.comment",defaultMessage:"Data from the URL will be loaded through {link} to avoid CORS issues.",values:{link:O.jsx("a",{href:"https://topolaproxy.bieda.it/",children:"topolaproxy.bieda.it (cors-anywhere proxy)"})}})})]})}),O.jsxs(Yt.Actions,{children:[O.jsx(nn,{secondary:!0,onClick:()=>r(!1),children:O.jsx(Re,{id:"load_from_url.cancel",defaultMessage:"Cancel"})}),O.jsx(nn,{primary:!0,onClick:o,children:O.jsx(Re,{id:"load_from_url.load",defaultMessage:"Load"})})]})]})}return O.jsxs(O.Fragment,{children:[O.jsxs(au,{onClick:()=>r(!0),menuType:e.menuType,children:[O.jsx(Je,{name:"cloud download"}),O.jsx(Re,{id:"menu.load_from_url",defaultMessage:"Load from URL"})]}),l()]})}const nm=""+new URL("wikitree-B3ZIaA3X.png",import.meta.url).href;function p0(e){const[t,r]=J.useState(!1),[n,i]=J.useState(""),a=J.useRef(null),s=mo(),o=hr();J.useEffect(()=>{var d;t&&(i(""),(d=a.current)==null||d.focus())},[t]);function l(){if(r(!1),!n)return;vn("wikitree_id_selected");const d=dn.parse(o.search),p=d.standalone!==void 0?d.standalone:!0;s({pathname:"/view",search:dn.stringify({indi:n,source:"wikitree",standalone:p})})}function u(d,p){var m;d.preventDefault(),i(p),(m=a.current)==null||m.focus()}function c(){return O.jsxs(Yt,{open:t,onClose:()=>r(!1),centered:!1,children:[O.jsxs($t,{children:[O.jsx("img",{src:nm,alt:"WikiTree logo",style:{width:"32px",height:"32px"}}),O.jsx(Re,{id:"select_wikitree_id.title",defaultMessage:"Select WikiTree ID"})]}),O.jsx(Yt.Content,{children:O.jsxs(Gt,{onSubmit:l,children:[O.jsx("p",{children:O.jsx(Re,{id:"select_wikitree_id.comment",defaultMessage:"Enter a {wikiTreeLink} profile ID. Examples: {example1}, {example2}.",values:{wikiTreeLink:O.jsx("a",{href:"https://wikitree.com/",target:"_blank",rel:"noopener noreferrer",children:"WikiTree"}),example1:O.jsx("span",{onClick:d=>u(d,"Wojtyla-13"),className:"link-span",children:"Wojtyla-13"}),example2:O.jsx("span",{onClick:d=>u(d,"Skłodowska-2"),className:"link-span",children:"Skłodowska-2"})}})}),O.jsx(Ji,{fluid:!0,value:n,onChange:(d,p)=>i(p.value),ref:a})]})}),O.jsxs(Yt.Actions,{children:[O.jsx(nn,{secondary:!0,onClick:()=>r(!1),children:O.jsx(Re,{id:"select_wikitree_id.cancel",defaultMessage:"Cancel"})}),O.jsx(nn,{primary:!0,onClick:l,children:O.jsx(Re,{id:"select_wikitree_id.load",defaultMessage:"Load"})})]})]})}return O.jsxs(O.Fragment,{children:[O.jsxs(au,{menuType:e.menuType,onClick:()=>r(!0),children:[O.jsx("img",{src:nm,alt:"WikiTree logo",className:"menu-icon"}),O.jsx(Re,{id:"menu.select_wikitree_id",defaultMessage:"Select WikiTree ID"})]}),c()]})}function Rue(e){const t=fr();function r(){const s=`https://apps.wikitree.com/apps/wiech13/topola-viewer${window.location.hash}`;nu.navigateToLoginPage(s)}const n=nu.getLoggedInUserName();if(!n)return O.jsx(O.Fragment,{children:O.jsxs(au,{menuType:e.menuType,onClick:r,children:[O.jsx("img",{src:nm,alt:"WikiTree logo",className:"menu-icon"}),O.jsx(Re,{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:n});return O.jsxs(au,{menuType:e.menuType,title:i,children:[O.jsx("img",{src:nm,alt:"WikiTree logo",className:"menu-icon"}),O.jsx(Re,{id:"menu.wikitree_logged_in",defaultMessage:"Logged in"})]})}function Oue(e){const t=mo(),r=hr();function n(p){const m=dn.parse(r.search);m.view!==p&&(m.view=p,r.search=dn.stringify(m),t(r))}function i(p){if(!e.showingChart||!e.data)return null;const m=O.jsxs(O.Fragment,{children:[O.jsxs(Ze.Item,{onClick:()=>n("hourglass"),children:[O.jsx(Je,{name:"hourglass"}),O.jsx(Re,{id:"menu.hourglass",defaultMessage:"Hourglass chart"})]}),e.allowAllRelativesChart?O.jsxs(Ze.Item,{onClick:()=>n("relatives"),children:[O.jsx(Je,{name:"users"}),O.jsx(Re,{id:"menu.relatives",defaultMessage:"All relatives"})]}):null,O.jsxs(Ze.Item,{onClick:()=>n("donatso"),children:[O.jsx(Je,{name:"users"}),O.jsx(Re,{id:"menu.donatso",defaultMessage:"Donatso family chart"})]}),O.jsxs(Ze.Item,{onClick:()=>n("fancy"),children:[O.jsx(Je,{name:"users"}),O.jsx(Re,{id:"menu.fancy",defaultMessage:"Fancy tree (experimental)"})]})]});switch(p){case 0:return O.jsxs(O.Fragment,{children:[O.jsxs(Kt.Item,{onClick:e.eventHandlers.onPrint,disabled:!e.allowPrintAndDownload,children:[O.jsx(Je,{name:"print"}),O.jsx(Re,{id:"menu.print",defaultMessage:"Print"})]}),O.jsx(Ze,{trigger:O.jsxs("div",{children:[O.jsx(Je,{name:"download"}),O.jsx(Re,{id:"menu.download",defaultMessage:"Download"})]}),className:"item",disabled:!e.allowPrintAndDownload,children:O.jsxs(Ze.Menu,{children:[O.jsx(Ze.Item,{onClick:e.eventHandlers.onDownloadPdf,children:O.jsx(Re,{id:"menu.pdf_file",defaultMessage:"PDF file"})}),O.jsx(Ze.Item,{onClick:e.eventHandlers.onDownloadPng,children:O.jsx(Re,{id:"menu.png_file",defaultMessage:"PNG file"})}),O.jsx(Ze.Item,{onClick:e.eventHandlers.onDownloadSvg,children:O.jsx(Re,{id:"menu.svg_file",defaultMessage:"SVG file"})})]})}),O.jsx(Ze,{trigger:O.jsxs("div",{children:[O.jsx(Je,{name:"eye"}),O.jsx(Re,{id:"menu.view",defaultMessage:"View"})]}),className:"item",children:O.jsx(Ze.Menu,{children:m})}),O.jsx(hI,{data:e.data,onSelection:e.eventHandlers.onSelection,...e})]});case 1:return O.jsxs(O.Fragment,{children:[O.jsxs(Ze.Item,{onClick:e.eventHandlers.onPrint,children:[O.jsx(Je,{name:"print"}),O.jsx(Re,{id:"menu.print",defaultMessage:"Print"})]}),O.jsx(Ze.Divider,{}),O.jsxs(Ze.Item,{onClick:e.eventHandlers.onDownloadPdf,children:[O.jsx(Je,{name:"download"}),O.jsx(Re,{id:"menu.download_pdf",defaultMessage:"Download PDF"})]}),O.jsxs(Ze.Item,{onClick:e.eventHandlers.onDownloadPng,children:[O.jsx(Je,{name:"download"}),O.jsx(Re,{id:"menu.download_png",defaultMessage:"Download PNG"})]}),O.jsxs(Ze.Item,{onClick:e.eventHandlers.onDownloadSvg,children:[O.jsx(Je,{name:"download"}),O.jsx(Re,{id:"menu.download_svg",defaultMessage:"Download SVG"})]}),O.jsx(Ze.Divider,{}),m,O.jsx(Ze.Divider,{})]})}}function a(){return O.jsx(Kt.Item,{children:O.jsx("b",{children:"Topola Genealogy"})})}function s(p){return e.hasGoogleToken?O.jsxs(O.Fragment,{children:[O.jsxs(au,{menuType:p===1?qr.Dropdown:qr.Menu,onClick:e.onGoogleSignOut,children:[O.jsx(Je,{name:"sign out"}),O.jsx(Re,{id:"menu.google_sign_out",defaultMessage:"Disconnect Google Drive"})]}),p===1?O.jsx(Ze.Divider,{}):null]}):null}function o(p){return O.jsxs(O.Fragment,{children:[O.jsx(Iue,{menuType:p,...e}),O.jsx(Pue,{menuType:p,...e}),O.jsx(p0,{menuType:p,...e}),O.jsx(qle,{menuType:p,onTokenAcquired:e.onGoogleTokenAcquired})]})}function l(p){if(!e.standalone&&e.showWikiTreeMenus)switch(p){case 0:return O.jsx(p0,{menuType:qr.Menu,...e});case 1:return O.jsxs(O.Fragment,{children:[O.jsx(p0,{menuType:qr.Dropdown,...e}),O.jsx(Ze.Divider,{})]})}if(!e.standalone)return null;switch(p){case 0:return e.showingChart?O.jsx(Ze,{trigger:O.jsxs("div",{children:[O.jsx(Je,{name:"folder open"}),O.jsx(Re,{id:"menu.open",defaultMessage:"Open"})]}),className:"item",children:O.jsx(Ze.Menu,{children:o(qr.Dropdown)})}):o(qr.Menu);case 1:return O.jsxs(O.Fragment,{children:[o(qr.Dropdown),O.jsx(Ze.Divider,{})]})}}function u(p){return e.showWikiTreeMenus?O.jsxs(O.Fragment,{children:[O.jsx(Rue,{menuType:p===1?qr.Dropdown:qr.Menu,...e}),p===1?O.jsx(Ze.Divider,{}):null]}):null}function c(){return O.jsxs(O.Fragment,{children:[O.jsx(Ze,{trigger:O.jsx("div",{children:O.jsx(Je,{name:"sidebar"})}),className:"item",icon:null,children:O.jsxs(Ze.Menu,{children:[l(1),i(1),s(1),u(1),O.jsx(Ze.Item,{href:"https://github.com/PeWu/topola-viewer",target:"_blank",rel:"noopener noreferrer",children:O.jsx(Re,{id:"menu.github",defaultMessage:"GitHub project"})})]})}),O.jsx("div",{className:"topbar--title",children:e.standalone?O.jsx(yl,{to:"/",children:a()}):a()}),e.showingChart&&e.data&&O.jsx(hI,{data:e.data,onSelection:e.eventHandlers.onSelection,...e})]})}function d(){return O.jsxs(O.Fragment,{children:[e.standalone?O.jsx(yl,{to:"/",children:a()}):null,l(0),i(0),O.jsxs(Kt.Menu,{position:"right",children:[s(0),u(0),O.jsx(Kt.Item,{href:"https://github.com/PeWu/topola-viewer",target:"_blank",rel:"noopener noreferrer",children:O.jsx(Re,{id:"menu.github",defaultMessage:"GitHub project"})})]})]})}return O.jsxs(O.Fragment,{children:[O.jsx(Kt,{as:dl,greaterThanOrEqual:"large",attached:"top",inverted:!0,color:"blue",size:"large",children:d()}),O.jsx(Kt,{as:dl,at:"small",attached:"top",inverted:!0,color:"blue",size:"large",children:c()})]})}function Nue(e){const r=e.gedcom.indis[e.indi].tree.find(i=>i.tag==="NAME"),n=(r==null?void 0:r.data.replaceAll("/",""))??"";return O.jsx("div",{className:"collapsed-details",children:n?O.jsx("span",{className:"vertical-name",children:n}):O.jsx("span",{className:"vertical-name",children:O.jsx(Re,{id:"name.unknown_name",defaultMessage:"N.N."})})})}var m0,_I;function JL(){if(_I)return m0;_I=1;var e=Object.prototype.toString;return m0=function(r){var n=e.call(r),i=n==="[object Arguments]";return i||(i=n!=="[object Array]"&&r!==null&&typeof r=="object"&&typeof r.length=="number"&&r.length>=0&&e.call(r.callee)==="[object Function]"),i},m0}var g0,bI;function Mue(){if(bI)return g0;bI=1;var e;if(!Object.keys){var t=Object.prototype.hasOwnProperty,r=Object.prototype.toString,n=JL(),i=Object.prototype.propertyIsEnumerable,a=!i.call({toString:null},"toString"),s=i.call(function(){},"prototype"),o=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],l=function(p){var m=p.constructor;return m&&m.prototype===p},u={$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 p in window)try{if(!u["$"+p]&&t.call(window,p)&&window[p]!==null&&typeof window[p]=="object")try{l(window[p])}catch{return!0}}catch{return!0}return!1}(),d=function(p){if(typeof window>"u"||!c)return l(p);try{return l(p)}catch{return!1}};e=function(m){var w=m!==null&&typeof m=="object",g=r.call(m)==="[object Function]",_=n(m),E=w&&r.call(m)==="[object String]",x=[];if(!w&&!g&&!_)throw new TypeError("Object.keys called on a non-object");var b=s&&g;if(E&&m.length>0&&!t.call(m,0))for(var C=0;C0)for(var v=0;v3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new r("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new r("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new r("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new r("`loose`, if provided, must be a boolean");var l=arguments.length>3?arguments[3]:null,u=arguments.length>4?arguments[4]:null,c=arguments.length>5?arguments[5]:null,d=arguments.length>6?arguments[6]:!1,p=!!n&&n(a,s);if(e)e(a,s,{configurable:c===null&&p?p.configurable:!c,enumerable:l===null&&p?p.enumerable:!l,value:o,writable:u===null&&p?p.writable:!u});else if(d||!l&&!u&&!c)a[s]=o;else throw new t("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")},E0}var S0,II;function Vm(){if(II)return S0;II=1;var e=ld(),t=function(){return!!e};return t.hasArrayLengthDefineBug=function(){if(!e)return null;try{return e([],"length",{value:1}).length!==1}catch{return!0}},S0=t,S0}var C0,PI;function xx(){if(PI)return C0;PI=1;var e=Due(),t=typeof Symbol=="function"&&typeof Symbol("foo")=="symbol",r=Object.prototype.toString,n=Array.prototype.concat,i=bx(),a=function(u){return typeof u=="function"&&r.call(u)==="[object Function]"},s=Vm()(),o=function(u,c,d,p){if(c in u){if(p===!0){if(u[c]===d)return}else if(!a(p)||!p())return}s?i(u,c,d,!0):i(u,c,d)},l=function(u,c){var d=arguments.length>2?arguments[2]:{},p=e(c);t&&(p=n.call(p,Object.getOwnPropertySymbols(c)));for(var m=0;m"u"||!T?e:T(Uint8Array),W={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?e:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?e:ArrayBuffer,"%ArrayIteratorPrototype%":k&&T?T([][Symbol.iterator]()):e,"%AsyncFromSyncIteratorPrototype%":e,"%AsyncFunction%":$,"%AsyncGenerator%":$,"%AsyncGeneratorFunction%":$,"%AsyncIteratorPrototype%":$,"%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%":r,"%eval%":eval,"%EvalError%":n,"%Float16Array%":typeof Float16Array>"u"?e:Float16Array,"%Float32Array%":typeof Float32Array>"u"?e:Float32Array,"%Float64Array%":typeof Float64Array>"u"?e:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?e:FinalizationRegistry,"%Function%":_,"%GeneratorFunction%":$,"%Int8Array%":typeof Int8Array>"u"?e:Int8Array,"%Int16Array%":typeof Int16Array>"u"?e:Int16Array,"%Int32Array%":typeof Int32Array>"u"?e:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":k&&T?T(T([][Symbol.iterator]())):e,"%JSON%":typeof JSON=="object"?JSON:e,"%Map%":typeof Map>"u"?e:Map,"%MapIteratorPrototype%":typeof Map>"u"||!k||!T?e:T(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":t,"%Object.getOwnPropertyDescriptor%":x,"%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"||!k||!T?e:T(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?e:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":k&&T?T(""[Symbol.iterator]()):e,"%Symbol%":k?Symbol:e,"%SyntaxError%":s,"%ThrowTypeError%":v,"%TypedArray%":X,"%TypeError%":o,"%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%":l,"%WeakMap%":typeof WeakMap>"u"?e:WeakMap,"%WeakRef%":typeof WeakRef>"u"?e:WeakRef,"%WeakSet%":typeof WeakSet>"u"?e:WeakSet,"%Function.prototype.call%":D,"%Function.prototype.apply%":j,"%Object.defineProperty%":b,"%Object.getPrototypeOf%":N,"%Math.abs%":u,"%Math.floor%":c,"%Math.max%":d,"%Math.min%":p,"%Math.pow%":m,"%Math.round%":w,"%Math.sign%":g,"%Reflect.getPrototypeOf%":M};if(T)try{null.error}catch(Ne){var H=T(T(Ne));W["%Error.prototype%"]=H}var V=function Ne(Le){var He;if(Le==="%AsyncFunction%")He=E("async function () {}");else if(Le==="%GeneratorFunction%")He=E("function* () {}");else if(Le==="%AsyncGeneratorFunction%")He=E("async function* () {}");else if(Le==="%AsyncGenerator%"){var Oe=Ne("%AsyncGeneratorFunction%");Oe&&(He=Oe.prototype)}else if(Le==="%AsyncIteratorPrototype%"){var Fe=Ne("%AsyncGenerator%");Fe&&T&&(He=T(Fe.prototype))}return W[Le]=He,He},K={__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"]},Y=cd(),q=ks(),F=Y.call(D,Array.prototype.concat),G=Y.call(j,Array.prototype.splice),z=Y.call(D,String.prototype.replace),B=Y.call(D,String.prototype.slice),se=Y.call(D,RegExp.prototype.exec),de=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,me=/\\(\\)?/g,Ee=function(Le){var He=B(Le,0,1),Oe=B(Le,-1);if(He==="%"&&Oe!=="%")throw new s("invalid intrinsic syntax, expected closing `%`");if(Oe==="%"&&He!=="%")throw new s("invalid intrinsic syntax, expected opening `%`");var Fe=[];return z(Le,de,function(We,rt,ot,st){Fe[Fe.length]=ot?z(st,me,"$1"):rt||We}),Fe},Ie=function(Le,He){var Oe=Le,Fe;if(q(K,Oe)&&(Fe=K[Oe],Oe="%"+Fe[0]+"%"),q(W,Oe)){var We=W[Oe];if(We===$&&(We=V(Oe)),typeof We>"u"&&!He)throw new o("intrinsic "+Le+" exists, but is not available. Please file an issue!");return{alias:Fe,name:Oe,value:We}}throw new s("intrinsic "+Le+" does not exist!")};return tw=function(Le,He){if(typeof Le!="string"||Le.length===0)throw new o("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof He!="boolean")throw new o('"allowMissing" argument must be a boolean');if(se(/^%?[^%]*%?$/,Le)===null)throw new s("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var Oe=Ee(Le),Fe=Oe.length>0?Oe[0]:"",We=Ie("%"+Fe+"%",He),rt=We.name,ot=We.value,st=!1,At=We.alias;At&&(Fe=At[0],G(Oe,F([0,1],At)));for(var Ht=1,gt=!0;Ht=Oe.length){var it=x(ot,ct);gt=!!it,gt&&"get"in it&&!("originalValue"in it.get)?ot=it.get:ot=ot[ct]}else gt=q(ot,ct),ot=ot[ct];gt&&!st&&(W[rt]=ot)}}return ot},tw}var nw,oP;function Yue(){if(oP)return nw;oP=1;var e=Zr(),t=bx(),r=Vm()(),n=Cs(),i=Et(),a=e("%Math.floor%");return nw=function(o,l){if(typeof o!="function")throw new i("`fn` is not a function");if(typeof l!="number"||l<0||l>4294967295||a(l)!==l)throw new i("`length` must be a positive 32-bit integer");var u=arguments.length>2&&!!arguments[2],c=!0,d=!0;if("length"in o&&n){var p=n(o,"length");p&&!p.configurable&&(c=!1),p&&!p.writable&&(d=!1)}return(c||d||!u)&&(r?t(o,"length",l,!0,!0):t(o,"length",l)),o},nw}var rw,sP;function Xue(){if(sP)return rw;sP=1;var e=cd(),t=Cx(),r=a3();return rw=function(){return r(e,t,arguments)},rw}var lP;function o3(){return lP||(lP=1,function(e){var t=Yue(),r=ld(),n=Km(),i=Xue();e.exports=function(s){var o=n(arguments),l=1+s.length-(arguments.length-1);return t(o,l>0?l:0,!0)},r?r(e.exports,"apply",{value:i}):e.exports.apply=i}(k0)),k0.exports}var iw,uP;function s3(){if(uP)return iw;uP=1;var e=ud();return iw=function(r){return(typeof r=="number"||typeof r=="bigint")&&!e(r)&&r!==1/0&&r!==-1/0},iw}var aw,cP;function l3(){if(cP)return aw;cP=1;var e=e3(),t=Ex(),r=ud(),n=s3();return aw=function(a){if(typeof a!="number"||r(a)||!n(a))return!1;var s=e(a);return t(s)===s},aw}var ow,fP;function Ai(){return fP||(fP=1,ow=function(t){return!!t&&(typeof t=="function"||typeof t=="object")}),ow}var sw,dP;function Jue(){return dP||(dP=1,sw=4294967295),sw}var lw,hP;function Zue(){return hP||(hP=1,lw=typeof Reflect<"u"&&Reflect.setPrototypeOf||null),lw}var uw,pP;function ece(){if(pP)return uw;pP=1;var e=Qm();return uw=e.setPrototypeOf||null,uw}var cw,mP;function tce(){if(mP)return cw;mP=1;var e=Km(),t=Cs(),r=Et(),n={};try{n.__proto__=null}catch(s){if(!s||typeof s!="object"||!("code"in s)||s.code!=="ERR_PROTO_ACCESS")throw s}var i=!("toString"in n),a=t&&t(Object.prototype,"__proto__");return cw=i&&(!!a&&typeof a.set=="function"&&e([a.set])||function(o,l){if(o==null)throw new r("set Object.prototype.__proto__ called on null or undefined");return o.__proto__=l,l}),cw}var fw,gP;function nce(){if(gP)return fw;gP=1;var e=Zue(),t=ece(),r=tce(),n=Et();return fw=e?function(a,s){if(e(a,s))return a;throw new n("Reflect.setPrototypeOf: failed to set [[Prototype]]")}:t||(r?function(a,s){return r(a,s),a}:null),fw}var dw,vP;function rce(){if(vP)return dw;vP=1;var e=Zr(),t=e("%Array.prototype%"),r=ZL(),n=Wm(),i=Et(),a=l3(),s=Jue(),o=nce();return dw=function(u){if(!a(u)||u<0)throw new i("Assertion failed: `length` must be an integer Number >= 0");if(u>s)throw new r("length is greater than (2**32 - 1)");var c=arguments.length>1?arguments[1]:t,d=[];if(c!==t){if(!o)throw new n("ArrayCreate: a `proto` argument that is not `Array.prototype` is not supported in an environment that does not support setting the [[Prototype]]");o(d,c)}return u!==0&&(d.length=u),d},dw}const ice={},ace=Object.freeze(Object.defineProperty({__proto__:null,default:ice},Symbol.toStringTag,{value:"Module"})),oce=Df(ace);var hw,yP;function sce(){if(yP)return hw;yP=1;var e=typeof Map=="function"&&Map.prototype,t=Object.getOwnPropertyDescriptor&&e?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,r=e&&t&&typeof t.get=="function"?t.get:null,n=e&&Map.prototype.forEach,i=typeof Set=="function"&&Set.prototype,a=Object.getOwnPropertyDescriptor&&i?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,s=i&&a&&typeof a.get=="function"?a.get:null,o=i&&Set.prototype.forEach,l=typeof WeakMap=="function"&&WeakMap.prototype,u=l?WeakMap.prototype.has:null,c=typeof WeakSet=="function"&&WeakSet.prototype,d=c?WeakSet.prototype.has:null,p=typeof WeakRef=="function"&&WeakRef.prototype,m=p?WeakRef.prototype.deref:null,w=Boolean.prototype.valueOf,g=Object.prototype.toString,_=Function.prototype.toString,E=String.prototype.match,x=String.prototype.slice,b=String.prototype.replace,C=String.prototype.toUpperCase,v=String.prototype.toLowerCase,k=RegExp.prototype.test,T=Array.prototype.concat,N=Array.prototype.join,M=Array.prototype.slice,j=Math.floor,D=typeof BigInt=="function"?BigInt.prototype.valueOf:null,$=Object.getOwnPropertySymbols,X=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,W=typeof Symbol=="function"&&typeof Symbol.iterator=="object",H=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===W||!0)?Symbol.toStringTag:null,V=Object.prototype.propertyIsEnumerable,K=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(ae){return ae.__proto__}:null);function Y(ae,le){if(ae===1/0||ae===-1/0||ae!==ae||ae&&ae>-1e3&&ae<1e3||k.call(/e/,le))return le;var Me=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof ae=="number"){var _t=ae<0?-j(-ae):j(ae);if(_t!==ae){var St=String(_t),Xe=x.call(le,St.length+1);return b.call(St,Me,"$&_")+"."+b.call(b.call(Xe,/([0-9]{3})/g,"$&_"),/_$/,"")}}return b.call(le,Me,"$&_")}var q=oce,F=q.custom,G=We(F)?F:null,z={__proto__:null,double:'"',single:"'"},B={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};hw=function ae(le,Me,_t,St){var Xe=Me||{};if(st(Xe,"quoteStyle")&&!st(z,Xe.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(st(Xe,"maxStringLength")&&(typeof Xe.maxStringLength=="number"?Xe.maxStringLength<0&&Xe.maxStringLength!==1/0:Xe.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var kn=st(Xe,"customInspect")?Xe.customInspect:!0;if(typeof kn!="boolean"&&kn!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(st(Xe,"indent")&&Xe.indent!==null&&Xe.indent!==" "&&!(parseInt(Xe.indent,10)===Xe.indent&&Xe.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(st(Xe,"numericSeparator")&&typeof Xe.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var ei=Xe.numericSeparator;if(typeof le>"u")return"undefined";if(le===null)return"null";if(typeof le=="boolean")return le?"true":"false";if(typeof le=="string")return L(le,Xe);if(typeof le=="number"){if(le===0)return 1/0/le>0?"0":"-0";var wn=String(le);return ei?Y(le,wn):wn}if(typeof le=="bigint"){var Mr=String(le)+"n";return ei?Y(le,Mr):Mr}var Ts=typeof Xe.depth>"u"?5:Xe.depth;if(typeof _t>"u"&&(_t=0),_t>=Ts&&Ts>0&&typeof le=="object")return Ee(le)?"[Array]":"[Object]";var Ti=ge(Xe,_t);if(typeof St>"u")St=[];else if(gt(St,le)>=0)return"[Circular]";function An(Ii,Eo,pd){if(Eo&&(St=M.call(St),St.push(Eo)),pd){var Cu={depth:Xe.depth};return st(Xe,"quoteStyle")&&(Cu.quoteStyle=Xe.quoteStyle),ae(Ii,Cu,_t+1,St)}return ae(Ii,Xe,_t+1,St)}if(typeof le=="function"&&!Ne(le)){var _u=Ht(le),da=ft(le,An);return"[Function"+(_u?": "+_u:" (anonymous)")+"]"+(da.length>0?" { "+N.call(da,", ")+" }":"")}if(We(le)){var Is=W?b.call(String(le),/^(Symbol\(.*\))_[^)]*$/,"$1"):X.call(le);return typeof le=="object"&&!W?R(Is):Is}if(pe(le)){for(var Dr="<"+v.call(String(le.nodeName)),bu=le.attributes||[],ti=0;ti",Dr}if(Ee(le)){if(le.length===0)return"[]";var ha=ft(le,An);return Ti&&!fe(ha)?"["+Ve(ha,Ti)+"]":"[ "+N.call(ha,", ")+" ]"}if(Le(le)){var pa=ft(le,An);return!("cause"in Error.prototype)&&"cause"in le&&!V.call(le,"cause")?"{ ["+String(le)+"] "+N.call(T.call("[cause]: "+An(le.cause),pa),", ")+" }":pa.length===0?"["+String(le)+"]":"{ ["+String(le)+"] "+N.call(pa,", ")+" }"}if(typeof le=="object"&&kn){if(G&&typeof le[G]=="function"&&q)return q(le,{depth:Ts-_t});if(kn!=="symbol"&&typeof le.inspect=="function")return le.inspect()}if(ct(le)){var Ps=[];return n&&n.call(le,function(Ii,Eo){Ps.push(An(Eo,le,!0)+" => "+An(Ii,le))}),re("Map",r.call(le),Ps,Ti)}if(it(le)){var fd=[];return o&&o.call(le,function(Ii){fd.push(An(Ii,le))}),re("Set",s.call(le),fd,Ti)}if(we(le))return Q("WeakMap");if(ht(le))return Q("WeakSet");if(et(le))return Q("WeakRef");if(Oe(le))return R(An(Number(le)));if(rt(le))return R(An(D.call(le)));if(Fe(le))return R(w.call(le));if(He(le))return R(An(String(le)));if(typeof window<"u"&&le===window)return"{ [object Window] }";if(typeof globalThis<"u"&&le===globalThis||typeof hi<"u"&&le===hi)return"{ [object globalThis] }";if(!Ie(le)&&!Ne(le)){var xu=ft(le,An),dd=K?K(le)===Object.prototype:le instanceof Object||le.constructor===Object,Fr=le instanceof Object?"":"null prototype",Eu=!dd&&H&&Object(le)===le&&H in le?x.call(At(le),8,-1):Fr?"Object":"",hd=dd||typeof le.constructor!="function"?"":le.constructor.name?le.constructor.name+" ":"",Su=hd+(Eu||Fr?"["+N.call(T.call([],Eu||[],Fr||[]),": ")+"] ":"");return xu.length===0?Su+"{}":Ti?Su+"{"+Ve(xu,Ti)+"}":Su+"{ "+N.call(xu,", ")+" }"}return String(le)};function se(ae,le,Me){var _t=Me.quoteStyle||le,St=z[_t];return St+ae+St}function de(ae){return b.call(String(ae),/"/g,""")}function me(ae){return!H||!(typeof ae=="object"&&(H in ae||typeof ae[H]<"u"))}function Ee(ae){return At(ae)==="[object Array]"&&me(ae)}function Ie(ae){return At(ae)==="[object Date]"&&me(ae)}function Ne(ae){return At(ae)==="[object RegExp]"&&me(ae)}function Le(ae){return At(ae)==="[object Error]"&&me(ae)}function He(ae){return At(ae)==="[object String]"&&me(ae)}function Oe(ae){return At(ae)==="[object Number]"&&me(ae)}function Fe(ae){return At(ae)==="[object Boolean]"&&me(ae)}function We(ae){if(W)return ae&&typeof ae=="object"&&ae instanceof Symbol;if(typeof ae=="symbol")return!0;if(!ae||typeof ae!="object"||!X)return!1;try{return X.call(ae),!0}catch{}return!1}function rt(ae){if(!ae||typeof ae!="object"||!D)return!1;try{return D.call(ae),!0}catch{}return!1}var ot=Object.prototype.hasOwnProperty||function(ae){return ae in this};function st(ae,le){return ot.call(ae,le)}function At(ae){return g.call(ae)}function Ht(ae){if(ae.name)return ae.name;var le=E.call(_.call(ae),/^function\s*([\w$]+)/);return le?le[1]:null}function gt(ae,le){if(ae.indexOf)return ae.indexOf(le);for(var Me=0,_t=ae.length;Me<_t;Me++)if(ae[Me]===le)return Me;return-1}function ct(ae){if(!r||!ae||typeof ae!="object")return!1;try{r.call(ae);try{s.call(ae)}catch{return!0}return ae instanceof Map}catch{}return!1}function we(ae){if(!u||!ae||typeof ae!="object")return!1;try{u.call(ae,u);try{d.call(ae,d)}catch{return!0}return ae instanceof WeakMap}catch{}return!1}function et(ae){if(!m||!ae||typeof ae!="object")return!1;try{return m.call(ae),!0}catch{}return!1}function it(ae){if(!s||!ae||typeof ae!="object")return!1;try{s.call(ae);try{r.call(ae)}catch{return!0}return ae instanceof Set}catch{}return!1}function ht(ae){if(!d||!ae||typeof ae!="object")return!1;try{d.call(ae,d);try{u.call(ae,u)}catch{return!0}return ae instanceof WeakSet}catch{}return!1}function pe(ae){return!ae||typeof ae!="object"?!1:typeof HTMLElement<"u"&&ae instanceof HTMLElement?!0:typeof ae.nodeName=="string"&&typeof ae.getAttribute=="function"}function L(ae,le){if(ae.length>le.maxStringLength){var Me=ae.length-le.maxStringLength,_t="... "+Me+" more character"+(Me>1?"s":"");return L(x.call(ae,0,le.maxStringLength),le)+_t}var St=B[le.quoteStyle||"single"];St.lastIndex=0;var Xe=b.call(b.call(ae,St,"\\$1"),/[\x00-\x1f]/g,I);return se(Xe,"single",le)}function I(ae){var le=ae.charCodeAt(0),Me={8:"b",9:"t",10:"n",12:"f",13:"r"}[le];return Me?"\\"+Me:"\\x"+(le<16?"0":"")+C.call(le.toString(16))}function R(ae){return"Object("+ae+")"}function Q(ae){return ae+" { ? }"}function re(ae,le,Me,_t){var St=_t?Ve(Me,_t):N.call(Me,", ");return ae+" ("+le+") {"+St+"}"}function fe(ae){for(var le=0;le=0)return!1;return!0}function ge(ae,le){var Me;if(ae.indent===" ")Me=" ";else if(typeof ae.indent=="number"&&ae.indent>0)Me=N.call(Array(ae.indent+1)," ");else return null;return{base:Me,prev:N.call(Array(le+1),Me)}}function Ve(ae,le){if(ae.length===0)return"";var Me=` `+le.prev+le.base;return Me+N.call(ae,","+Me)+` -`+le.prev}function ft(ae,le){var Me=Ee(ae),_t=[];if(Me){_t.length=ae.length;for(var St=0;St-1?t([s]):s},gw}var vw,xP;function u3(){if(xP)return vw;xP=1;var e=Zr(),t=e("%Array%"),r=!t.isArray&&fa()("Object.prototype.toString");return vw=t.isArray||function(i){return r(i)==="[object Array]"},vw}var yw,EP;function kx(){return EP||(EP=1,yw=u3()),yw}var Yh={exports:{}},ww,SP;function lce(){return SP||(SP=1,ww=Zr()),ww}var _w,CP;function xo(){if(CP)return _w;CP=1;var e=Et(),t=ks(),r={__proto__:null,"[[Configurable]]":!0,"[[Enumerable]]":!0,"[[Get]]":!0,"[[Set]]":!0,"[[Value]]":!0,"[[Writable]]":!0};return _w=function(i){if(!i||typeof i!="object")return!1;for(var a in i)if(t(i,a)&&!r[a])return!1;var s=t(i,"[[Value]]")||t(i,"[[Writable]]"),o=t(i,"[[Get]]")||t(i,"[[Set]]");if(s&&o)throw new e("Property Descriptors may not be both accessor and data descriptors");return!0},_w}var bw,kP;function c3(){if(kP)return bw;kP=1;var e=Vm(),t=ld(),r=e.hasArrayLengthDefineBug(),n=r&&u3(),i=fa(),a=i("Object.prototype.propertyIsEnumerable");return bw=function(o,l,u,c,d,p){if(!t){if(!o(p)||!p["[[Configurable]]"]||!p["[[Writable]]"]||d in c&&a(c,d)!==!!p["[[Enumerable]]"])return!1;var m=p["[[Value]]"];return c[d]=m,l(c[d],m)}return r&&d==="length"&&"[[Value]]"in p&&n(c)&&c.length!==p["[[Value]]"]?(c.length=p["[[Value]]"],c.length===p["[[Value]]"]):(t(c,d,u(p)),!0)},bw}var xw,AP;function uce(){return AP||(AP=1,xw=function(t){if(typeof t>"u")return t;var r={};return"[[Value]]"in t&&(r.value=t["[[Value]]"]),"[[Writable]]"in t&&(r.writable=!!t["[[Writable]]"]),"[[Get]]"in t&&(r.get=t["[[Get]]"]),"[[Set]]"in t&&(r.set=t["[[Set]]"]),"[[Enumerable]]"in t&&(r.enumerable=!!t["[[Enumerable]]"]),"[[Configurable]]"in t&&(r.configurable=!!t["[[Configurable]]"]),r}),xw}var Ew,TP;function f3(){if(TP)return Ew;TP=1;var e=Et(),t=xo(),r=uce();return Ew=function(i){if(typeof i<"u"&&!t(i))throw new e("Assertion failed: `Desc` must be a Property Descriptor");return r(i)},Ew}var Sw,IP;function Ax(){if(IP)return Sw;IP=1;var e=Et(),t=ks(),r=xo();return Sw=function(i){if(typeof i>"u")return!1;if(!r(i))throw new e("Assertion failed: `Desc` must be a Property Descriptor");return!(!t(i,"[[Value]]")&&!t(i,"[[Writable]]"))},Sw}var Cw,PP;function Tx(){if(PP)return Cw;PP=1;var e=ud();return Cw=function(r,n){return r===n?r===0?1/r===1/n:!0:e(r)&&e(n)},Cw}var kw,RP;function d3(){if(RP)return kw;RP=1;var e=Function.prototype.toString,t=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,r,n;if(typeof t=="function"&&typeof Object.defineProperty=="function")try{r=Object.defineProperty({},"length",{get:function(){throw n}}),n={},t(function(){throw 42},null,r)}catch(x){x!==n&&(t=null)}else t=null;var i=/^\s*class\b/,a=function(b){try{var C=e.call(b);return i.test(C)}catch{return!1}},s=function(b){try{return a(b)?!1:(e.call(b),!0)}catch{return!1}},o=Object.prototype.toString,l="[object Object]",u="[object Function]",c="[object GeneratorFunction]",d="[object HTMLAllCollection]",p="[object HTML document.all class]",m="[object HTMLCollection]",w=typeof Symbol=="function"&&!!Symbol.toStringTag,g=!(0 in[,]),_=function(){return!1};if(typeof document=="object"){var E=document.all;o.call(E)===o.call(document.all)&&(_=function(b){if((g||!b)&&(typeof b>"u"||typeof b=="object"))try{var C=o.call(b);return(C===d||C===p||C===m||C===l)&&b("")==null}catch{}return!1})}return kw=t?function(b){if(_(b))return!0;if(!b||typeof b!="function"&&typeof b!="object")return!1;try{t(b,null,r)}catch(C){if(C!==n)return!1}return!a(b)&&s(b)}:function(b){if(_(b))return!0;if(!b||typeof b!="function"&&typeof b!="object")return!1;if(w)return s(b);if(a(b))return!1;var C=o.call(b);return C!==u&&C!==c&&!/^\[object HTML/.test(C)?!1:s(b)},kw}var Aw,OP;function h3(){return OP||(OP=1,Aw=d3()),Aw}var Tw,NP;function cce(){return NP||(NP=1,Tw=function(t){return!!t}),Tw}var Iw,MP;function p3(){if(MP)return Iw;MP=1;var e=ks(),t=Et(),r=Ai(),n=h3(),i=cce();return Iw=function(s){if(!r(s))throw new t("ToPropertyDescriptor requires an object");var o={};if(e(s,"enumerable")&&(o["[[Enumerable]]"]=i(s.enumerable)),e(s,"configurable")&&(o["[[Configurable]]"]=i(s.configurable)),e(s,"value")&&(o["[[Value]]"]=s.value),e(s,"writable")&&(o["[[Writable]]"]=i(s.writable)),e(s,"get")){var l=s.get;if(typeof l<"u"&&!n(l))throw new t("getter must be a function");o["[[Get]]"]=l}if(e(s,"set")){var u=s.set;if(typeof u<"u"&&!n(u))throw new t("setter must be a function");o["[[Set]]"]=u}if((e(o,"[[Get]]")||e(o,"[[Set]]"))&&(e(o,"[[Value]]")||e(o,"[[Writable]]")))throw new t("Invalid property descriptor. Cannot both specify accessors and a value or writable attribute");return o},Iw}var Pw,DP;function fce(){if(DP)return Pw;DP=1;var e=Et(),t=Ai(),r=xo(),n=c3(),i=f3(),a=Ax(),s=As(),o=Tx(),l=p3();return Pw=function(c,d,p){if(!t(c))throw new e("Assertion failed: Type(O) is not Object");if(!s(d))throw new e("Assertion failed: P is not a Property Key");var m=r(p)?p:l(p);if(!r(m))throw new e("Assertion failed: Desc is not a valid Property Descriptor");return n(a,o,i,c,d,m)},Pw}var FP;function dce(){if(FP)return Yh.exports;FP=1;var e=lce(),t=e("%Reflect.construct%",!0),r=fce();try{r({},"",{"[[Get]]":function(){}})}catch{r=null}if(r&&t){var n={},i={};r(i,"length",{"[[Get]]":function(){throw n},"[[Enumerable]]":!0}),Yh.exports=function(s){try{t(s,i)}catch(o){return o===n}}}else Yh.exports=function(s){return typeof s=="function"&&!!s.prototype};return Yh.exports}var Rw,LP;function hce(){if(LP)return Rw;LP=1;var e=Zr(),t=e("%Symbol.species%",!0),r=Et(),n=l3(),i=Ai(),a=rce(),s=Ym(),o=kx(),l=dce();return Rw=function(c,d){if(!n(d)||d<0)throw new r("Assertion failed: length must be an integer >= 0");var p=o(c);if(!p)return a(d);var m=s(c,"constructor");if(t&&i(m)&&(m=s(m,t),m===null&&(m=void 0)),typeof m>"u")return a(d);if(!l(m))throw new r("C must be a constructor");return new m(d)},Rw}var Ow,jP;function m3(){return jP||(jP=1,Ow=Number.MAX_SAFE_INTEGER||9007199254740991),Ow}var Nw,BP;function pce(){if(BP)return Nw;BP=1;var e=Zr(),t=fa(),r=Et(),n=kx(),i=e("%Reflect.apply%",!0)||t("Function.prototype.apply");return Nw=function(s,o){var l=arguments.length>2?arguments[2]:[];if(!n(l))throw new r("Assertion failed: optional `argumentsList`, if provided, must be a List");return i(s,o,l)},Nw}var Mw,zP;function Ix(){if(zP)return Mw;zP=1;var e=Et(),t=ks(),r=xo();return Mw=function(i){if(typeof i>"u")return!1;if(!r(i))throw new e("Assertion failed: `Desc` must be a Property Descriptor");return!(!t(i,"[[Get]]")&&!t(i,"[[Set]]"))},Mw}var Dw,UP;function g3(){return UP||(UP=1,Dw=function(t){return t===null||typeof t!="function"&&typeof t!="object"}),Dw}var Fw,$P;function mce(){if($P)return Fw;$P=1;var e=Zr(),t=e("%Object.preventExtensions%",!0),r=e("%Object.isExtensible%",!0),n=g3();return Fw=t?function(a){return!n(a)&&r(a)}:function(a){return!n(a)},Fw}var Lw,HP;function gce(){if(HP)return Lw;HP=1;var e=xo();return Lw=function(r,n){return e(n)&&"[[Enumerable]]"in n&&"[[Configurable]]"in n&&(r.IsAccessorDescriptor(n)||r.IsDataDescriptor(n))},Lw}var jw,qP;function vce(){if(qP)return jw;qP=1;var e=Et(),t=Ix(),r=Ax(),n=xo();return jw=function(a){if(typeof a>"u")return!1;if(!n(a))throw new e("Assertion failed: `Desc` must be a Property Descriptor");return!t(a)&&!r(a)},jw}var Bw,GP;function yce(){if(GP)return Bw;GP=1;var e=Et(),t=Ai(),r=c3(),n=gce(),i=xo(),a=f3(),s=Ix(),o=Ax(),l=vce(),u=As(),c=Tx();return Bw=function(p,m,w,g,_){if(typeof p<"u"&&!t(p))throw new e("Assertion failed: O must be undefined or an Object");if(!u(m))throw new e("Assertion failed: P must be a Property Key");if(typeof w!="boolean")throw new e("Assertion failed: extensible must be a Boolean");if(!i(g))throw new e("Assertion failed: Desc must be a Property Descriptor");if(typeof _<"u"&&!i(_))throw new e("Assertion failed: current must be a Property Descriptor, or undefined");if(typeof _>"u")return w?typeof p>"u"?!0:s(g)?r(o,c,a,p,m,g):r(o,c,a,p,m,{"[[Configurable]]":!!g["[[Configurable]]"],"[[Enumerable]]":!!g["[[Enumerable]]"],"[[Value]]":g["[[Value]]"],"[[Writable]]":!!g["[[Writable]]"]}):!1;if(!n({IsAccessorDescriptor:s,IsDataDescriptor:o},_))throw new e("`current`, when present, must be a fully populated and valid Property Descriptor");if(!_["[[Configurable]]"]){if("[[Configurable]]"in g&&g["[[Configurable]]"]||"[[Enumerable]]"in g&&!c(g["[[Enumerable]]"],_["[[Enumerable]]"])||!l(g)&&!c(s(g),s(_)))return!1;if(s(_)){if("[[Get]]"in g&&!c(g["[[Get]]"],_["[[Get]]"])||"[[Set]]"in g&&!c(g["[[Set]]"],_["[[Set]]"]))return!1}else if(!_["[[Writable]]"]&&("[[Writable]]"in g&&g["[[Writable]]"]||"[[Value]]"in g&&!c(g["[[Value]]"],_["[[Value]]"])))return!1}if(typeof p<"u"){var E,x;return o(_)&&s(g)?(E=("[[Configurable]]"in g?g:_)["[[Configurable]]"],x=("[[Enumerable]]"in g?g:_)["[[Enumerable]]"],r(o,c,a,p,m,{"[[Configurable]]":!!E,"[[Enumerable]]":!!x,"[[Get]]":("[[Get]]"in g?g:_)["[[Get]]"],"[[Set]]":("[[Set]]"in g?g:_)["[[Set]]"]})):s(_)&&o(g)?(E=("[[Configurable]]"in g?g:_)["[[Configurable]]"],x=("[[Enumerable]]"in g?g:_)["[[Enumerable]]"],r(o,c,a,p,m,{"[[Configurable]]":!!E,"[[Enumerable]]":!!x,"[[Value]]":("[[Value]]"in g?g:_)["[[Value]]"],"[[Writable]]":!!("[[Writable]]"in g?g:_)["[[Writable]]"]})):r(o,c,a,p,m,g)}return!0},Bw}var zw,WP;function wce(){if(WP)return zw;WP=1;var e=Cs(),t=Wm(),r=Et(),n=Ai(),i=xo(),a=Ix(),s=mce(),o=As(),l=p3(),u=Tx(),c=yce();return zw=function(p,m,w){if(!n(p))throw new r("Assertion failed: O must be an Object");if(!o(m))throw new r("Assertion failed: P must be a Property Key");if(!i(w))throw new r("Assertion failed: Desc must be a Property Descriptor");if(!e){if(a(w))throw new t("This environment does not support accessor property descriptors.");var g=!(m in p)&&w["[[Writable]]"]&&w["[[Enumerable]]"]&&w["[[Configurable]]"]&&"[[Value]]"in w,_=m in p&&(!("[[Configurable]]"in w)||w["[[Configurable]]"])&&(!("[[Enumerable]]"in w)||w["[[Enumerable]]"])&&(!("[[Writable]]"in w)||w["[[Writable]]"])&&"[[Value]]"in w;if(g||_)return p[m]=w["[[Value]]"],u(p[m],w["[[Value]]"]);throw new t("This environment does not support defining non-writable, non-enumerable, or non-configurable properties")}var E=e(p,m),x=E&&l(E),b=s(p);return c(p,m,b,w,x)},zw}var Uw,VP;function _ce(){if(VP)return Uw;VP=1;var e=Et(),t=Ai(),r=As(),n=wce();return Uw=function(a,s,o){if(!t(a))throw new e("Assertion failed: Type(O) is not Object");if(!r(s))throw new e("Assertion failed: P is not a Property Key");var l={"[[Configurable]]":!0,"[[Enumerable]]":!0,"[[Value]]":o,"[[Writable]]":!0};return n(a,s,l)},Uw}var $w,QP;function bce(){if(QP)return $w;QP=1;var e=Et(),t=Ai(),r=_ce(),n=As();return $w=function(a,s,o){if(!t(a))throw new e("Assertion failed: Type(O) is not Object");if(!n(s))throw new e("Assertion failed: P is not a Property Key");var l=r(a,s,o);if(!l)throw new e("unable to create data property")},$w}var Hw,KP;function xce(){if(KP)return Hw;KP=1;var e=Et(),t=Ai(),r=As();return Hw=function(i,a){if(!t(i))throw new e("Assertion failed: `O` must be an Object");if(!r(a))throw new e("Assertion failed: `P` must be a Property Key");return a in i},Hw}var qw,YP;function Ece(){return YP||(YP=1,qw=function(t){return t===null||typeof t!="function"&&typeof t!="object"}),qw}var Gw,XP;function v3(){if(XP)return Gw;XP=1;var e=t3();return Gw=function(){return e()&&!!Symbol.toStringTag},Gw}var Ww,JP;function Sce(){if(JP)return Ww;JP=1;var e=fa(),t=e("Date.prototype.getDay"),r=function(o){try{return t(o),!0}catch{return!1}},n=e("Object.prototype.toString"),i="[object Date]",a=v3()();return Ww=function(o){return typeof o!="object"||o===null?!1:a?r(o):n(o)===i},Ww}var Xh={exports:{}},Vw,ZP;function Cce(){if(ZP)return Vw;ZP=1;var e=fa(),t=v3()(),r=ks(),n=Cs(),i;if(t){var a=e("RegExp.prototype.exec"),s={},o=function(){throw s},l={toString:o,valueOf:o};typeof Symbol.toPrimitive=="symbol"&&(l[Symbol.toPrimitive]=o),i=function(p){if(!p||typeof p!="object")return!1;var m=n(p,"lastIndex"),w=m&&r(m,"value");if(!w)return!1;try{a(p,l)}catch(g){return g===s}}}else{var u=e("Object.prototype.toString"),c="[object RegExp]";i=function(p){return!p||typeof p!="object"&&typeof p!="function"?!1:u(p)===c}}return Vw=i,Vw}var Qw,eR;function y3(){if(eR)return Qw;eR=1;var e=fa(),t=Cce(),r=e("RegExp.prototype.exec"),n=Et();return Qw=function(a){if(!t(a))throw new n("`regex` must be a RegExp");return function(o){return r(a,o)!==null}},Qw}var tR;function kce(){if(tR)return Xh.exports;tR=1;var e=fa(),t=e("Object.prototype.toString"),r=n3()(),n=y3();if(r){var i=e("Symbol.prototype.toString"),a=n(/^Symbol\(.*\)$/),s=function(l){return typeof l.valueOf()!="symbol"?!1:a(i(l))};Xh.exports=function(l){if(typeof l=="symbol")return!0;if(!l||typeof l!="object"||t(l)!=="[object Symbol]")return!1;try{return s(l)}catch{return!1}}}else Xh.exports=function(l){return!1};return Xh.exports}var Kw,nR;function Ace(){if(nR)return Kw;nR=1;var e=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol",t=Ece(),r=d3(),n=Sce(),i=kce(),a=function(l,u){if(typeof l>"u"||l===null)throw new TypeError("Cannot call method on "+l);if(typeof u!="string"||u!=="number"&&u!=="string")throw new TypeError('hint must be "string" or "number"');var c=u==="string"?["toString","valueOf"]:["valueOf","toString"],d,p,m;for(m=0;m1&&(arguments[1]===String?u="string":arguments[1]===Number&&(u="number"));var c;if(e&&(Symbol.toPrimitive?c=s(l,Symbol.toPrimitive):i(l)&&(c=Symbol.prototype.valueOf)),typeof c<"u"){var d=c.call(l,u);if(t(d))return d;throw new TypeError("unable to convert exotic object to primitive")}return u==="default"&&(n(l)||i(l))&&(u="string"),a(l,u==="default"?"number":u)},Kw}var Yw,rR;function Tce(){if(rR)return Yw;rR=1;var e=Ace();return Yw=function(r){return arguments.length>1?e(r,arguments[1]):e(r)},Yw}var Xw,iR;function Px(){if(iR)return Xw;iR=1;var e=Et();return Xw=function(r){if(r==null)throw new e(arguments.length>0&&arguments[1]||"Cannot call method on "+r);return r},Xw}var Jw,aR;function w3(){if(aR)return Jw;aR=1;var e=Zr(),t=e("%String%"),r=Et();return Jw=function(i){if(typeof i=="symbol")throw new r("Cannot convert a Symbol value to a string");return t(i)},Jw}var Zw,oR;function _3(){if(oR)return Zw;oR=1;var e=Px(),t=w3(),r=fa(),n=r("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]+/,s=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 Zw=function(){var l=t(e(this));return n(n(l,a,""),s,"")},Zw}var e_,sR;function b3(){if(sR)return e_;sR=1;var e=_3(),t="​",r="᠎";return e_=function(){return String.prototype.trim&&t.trim()===t&&r.trim()===r&&("_"+r).trim()==="_"+r&&(r+"_").trim()===r+"_"?String.prototype.trim:e},e_}var t_,lR;function Ice(){if(lR)return t_;lR=1;var e=Vm()(),t=bx(),r=b3();return t_=function(){var i=r();return String.prototype.trim!==i&&(e?t(String.prototype,"trim",i,!0):t(String.prototype,"trim",i)),i},t_}var n_,uR;function Pce(){if(uR)return n_;uR=1;var e=o3(),t=xx(),r=Px(),n=_3(),i=b3(),a=Ice(),s=e(i()),o=function(u){return r(u),s(u)};return t(o,{getPolyfill:i,implementation:n,shim:a}),n_=o,n_}var r_,cR;function Rce(){if(cR)return r_;cR=1;var e=Zr(),t=e("%RegExp%"),r=Et(),n=e("%parseInt%"),i=fa(),a=y3(),s=i("String.prototype.slice"),o=a(/^0b[01]+$/i),l=a(/^0o[0-7]+$/i),u=a(/^[-+]0x[0-9a-f]+$/i),c=["…","​","￾"].join(""),d=new t("["+c+"]","g"),p=a(d),m=Pce();return r_=function w(g){if(typeof g!="string")throw new r("Assertion failed: `argument` is not a String");if(o(g))return+n(s(g,2),2);if(l(g))return+n(s(g,2),8);if(p(g)||u(g))return NaN;var _=m(g);return _!==g?w(_):+g},r_}var i_,fR;function Oce(){if(fR)return i_;fR=1;var e=Zr(),t=Et(),r=e("%Number%"),n=g3(),i=Tce(),a=Rce();return i_=function(o){var l=n(o)?o:i(o,r);if(typeof l=="symbol")throw new t("Cannot convert a Symbol value to a number");if(typeof l=="bigint")throw new t("Conversion from 'BigInt' to 'number' is not allowed.");return typeof l=="string"?a(l):+l},i_}var a_,dR;function Nce(){if(dR)return a_;dR=1;var e=Ex();return a_=function(r){return typeof r=="bigint"?r:e(r)},a_}var o_,hR;function Mce(){if(hR)return o_;hR=1;var e=Nce(),t=Et();return o_=function(n){if(typeof n!="number"&&typeof n!="bigint")throw new t("argument must be a Number or a BigInt");var i=n<0?-e(-n):e(n);return i===0?0:i},o_}var s_,pR;function Dce(){if(pR)return s_;pR=1;var e=Oce(),t=Mce(),r=ud(),n=s3();return s_=function(a){var s=e(a);return r(s)||s===0?0:n(s)?t(s):s},s_}var l_,mR;function x3(){if(mR)return l_;mR=1;var e=m3(),t=Dce();return l_=function(n){var i=t(n);return i<=0?0:i>e?e:i},l_}var u_,gR;function Fce(){if(gR)return u_;gR=1;var e=Et(),t=Ai(),r=Ym(),n=x3();return u_=function(a){if(!t(a))throw new e("Assertion failed: `obj` must be an Object");return n(r(a,"length"))},u_}var c_,vR;function Lce(){if(vR)return c_;vR=1;var e=Et(),t=m3(),r=pce(),n=bce(),i=Ym(),a=xce(),s=kx(),o=Fce(),l=w3();return c_=function u(c,d,p,m,w){var g;arguments.length>5&&(g=arguments[5]);for(var _=m,E=0;E0&&(v=s(C)),v){var k=o(C);_=u(c,C,k,_,w-1)}else{if(_>=t)throw new e("index too large");n(c,l(_),C),_+=1}}E+=1}return _},c_}var f_,yR;function jce(){if(yR)return f_;yR=1;var e=Qm(),t=Px();return f_=function(n){return t(n),e(n)},f_}var d_,wR;function Bce(){return wR||(wR=1,d_=jce()),d_}var h_,_R;function E3(){if(_R)return h_;_R=1;var e=hce(),t=Lce(),r=Ym(),n=h3(),i=x3(),a=Bce();return h_=function(o){var l=a(this),u=i(r(l,"length"));if(!n(o))throw new TypeError("mapperFunction must be a function");var c;arguments.length>1&&(c=arguments[1]);var d=e(l,0);return t(d,l,u,0,1,o,c),d},h_}var p_,bR;function S3(){if(bR)return p_;bR=1;var e=E3();return p_=function(){return Array.prototype.flatMap||e},p_}var m_,xR;function zce(){if(xR)return m_;xR=1;var e=ks(),t=typeof Symbol=="function"&&typeof Symbol.unscopables=="symbol",r=t&&Array.prototype[Symbol.unscopables],n=TypeError;return m_=function(a){if(typeof a!="string"||!a)throw new n("method must be a non-empty string");if(!e(Array.prototype,a))throw new n("method must be on Array.prototype");t&&(r[a]=!0)},m_}var g_,ER;function Uce(){if(ER)return g_;ER=1;var e=xx(),t=zce(),r=S3();return g_=function(){var i=r();return e(Array.prototype,{flatMap:i},{flatMap:function(){return Array.prototype.flatMap!==i}}),t("flatMap"),i},g_}var v_,SR;function $ce(){if(SR)return v_;SR=1;var e=xx(),t=o3(),r=E3(),n=S3(),i=n(),a=Uce(),s=t(i);return e(s,{getPolyfill:n,implementation:r,shim:a}),v_=s,v_}var Hce=$ce();const Xm=yn(Hce);function C3({files:e}){return e!=null&&e.length?O.jsx(Ke,{children:e.map((t,r)=>O.jsxs(Ke.Item,{children:[O.jsx(Ke.Icon,{verticalAlign:"middle",name:"circle",size:"tiny"}),O.jsxs(Ke.Content,{children:[O.jsx(Ke.Header,{children:O.jsx("a",{target:"_blank",href:t.url,rel:"noopener noreferrer",children:t.filename||t.url.split("/").pop()||t.url})}),O.jsx(Ke.Description,{children:t.titl&&O.jsx("div",{children:t.titl})})]})]},r))}):null}function qce(e,t,r){const n=Mf(e,t),i=e.qualifier||t.qualifier,a=i&&jD(i,r)+" ";return r.formatMessage({id:"age.exact",defaultMessage:"{qualifier}{age, plural, =0 {Less than 1 year} one {1 year} other {# years}}"},{age:n,qualifier:a})}function Jh(e,t,r){const n=Mf(e,t);return r.formatMessage({id:"age.more",defaultMessage:"More than {age, plural, =0 {0 years} one {1 year} other {# years}}"},{age:n})}function Zh(e,t,r){const n=Mf(e,t);return r.formatMessage({id:"age.less",defaultMessage:"Less than {age, plural, =0 {1 year} one {1 year} other {# years}}"},{age:n})}function y_(e,t,r,n,i){const a=Mf(t,r),s=Mf(e,n);return i.formatMessage({id:"age.between",defaultMessage:"Between {ageFrom} and {ageTo, plural, =0 {0 years} one {1 year} other {# years}}"},{ageFrom:a,ageTo:s})}function Gce(e,t){return e&&t?!g1(e)||!g1(t)||ed(e,t)>0?!1:e.dateRange&&t.dateRange&&v1(e==null?void 0:e.dateRange)&&v1(t==null?void 0:t.dateRange)?!lZ(e.dateRange,t.dateRange):!0:!1}function Mf(e,t){const r=y1(e),n=y1(t),i=r.getUTCFullYear();let a=n.getUTCFullYear()-i,s=n.getUTCMonth()-r.getUTCMonth();return s<0&&(a--,s+=12),n.getUTCDate()-r.getUTCDate()<0&&s<=0&&a--,Math.abs(a)}function Wce(e,t,r){var n,i,a,s,o,l,u,c,d,p,m,w,g,_,E,x,b,C,v,k,T,N,M,j,D,$,X,W,H,V,K,Y,q,F;if(e&&t){const G=hn.getDate(e),z=hn.getDate(t);if(Gce(G,z)){if(G!=null&&G.date){if(z!=null&&z.date)return qce(G.date,z.date,r);if((n=z==null?void 0:z.dateRange)!=null&&n.from&&((i=z.dateRange)!=null&&i.to))return y_(G.date,G.date,(a=z==null?void 0:z.dateRange)==null?void 0:a.from,(s=z==null?void 0:z.dateRange)==null?void 0:s.to,r);if((o=z==null?void 0:z.dateRange)!=null&&o.from)return Jh(G.date,(l=z.dateRange)==null?void 0:l.from,r);if((u=z==null?void 0:z.dateRange)!=null&&u.to)return Zh(G.date,(c=z.dateRange)==null?void 0:c.to,r)}if((d=G==null?void 0:G.dateRange)!=null&&d.from&&((p=G==null?void 0:G.dateRange)!=null&&p.to)){if(z!=null&&z.date)return y_((m=G==null?void 0:G.dateRange)==null?void 0:m.from,(w=G==null?void 0:G.dateRange)==null?void 0:w.to,z==null?void 0:z.date,z==null?void 0:z.date,r);if((g=z==null?void 0:z.dateRange)!=null&&g.from&&((_=z.dateRange)!=null&&_.to))return y_((E=G==null?void 0:G.dateRange)==null?void 0:E.from,(x=G==null?void 0:G.dateRange)==null?void 0:x.to,(b=z==null?void 0:z.dateRange)==null?void 0:b.from,(C=z==null?void 0:z.dateRange)==null?void 0:C.to,r);if((v=z==null?void 0:z.dateRange)!=null&&v.from)return Jh((k=G.dateRange)==null?void 0:k.to,(T=z.dateRange)==null?void 0:T.from,r);if((N=z==null?void 0:z.dateRange)!=null&&N.to)return Zh((M=G.dateRange)==null?void 0:M.from,(j=z.dateRange)==null?void 0:j.to,r)}if((D=G==null?void 0:G.dateRange)!=null&&D.from){if(z!=null&&z.date)return Zh(($=G.dateRange)==null?void 0:$.from,z.date,r);if((X=z==null?void 0:z.dateRange)!=null&&X.to)return Zh((W=G.dateRange)==null?void 0:W.from,(H=z.dateRange)==null?void 0:H.to,r)}if((V=G==null?void 0:G.dateRange)!=null&&V.to){if(z!=null&&z.date)return Jh((K=G==null?void 0:G.dateRange)==null?void 0:K.to,z.date,r);if((Y=z==null?void 0:z.dateRange)!=null&&Y.from)return Jh((q=G==null?void 0:G.dateRange)==null?void 0:q.to,(F=z.dateRange)==null?void 0:F.from,r)}}}}var ep={},tp={},np={},CR;function Vce(){if(CR)return np;CR=1,Object.defineProperty(np,"__esModule",{value:!0});var e=ho(),t=r(e);function r(n){if(n&&n.__esModule)return n;var i={};if(n!=null)for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(i[a]=n[a]);return i.default=n,i}return np.default=function(n,i,a){return t.createElement("a",{href:n,key:a},i)},np}var rp={},kR;function Qce(){return kR||(kR=1,Object.defineProperty(rp,"__esModule",{value:!0}),rp.default=function(e){return e}),rp}var ip={},w_,AR;function Kce(){return AR||(AR=1,w_=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/),w_}var __,TR;function Yce(){return TR||(TR=1,__=/[\0-\x1F\x7F-\x9F]/),__}var b_,IR;function Xce(){return IR||(IR=1,b_=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/),b_}var x_,PR;function Jce(){return PR||(PR=1,x_=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\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]/),x_}var E_,RR;function Zce(){return RR||(RR=1,E_=function(e){var t={};t.src_Any=Kce().source,t.src_Cc=Yce().source,t.src_Z=Xce().source,t.src_P=Jce().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 r="[><|]";return t.src_pseudo_letter="(?:(?!"+r+"|"+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="(?=$|"+r+"|"+t.src_ZPCc+")(?!-|_|:\\d|\\.-|\\.(?!$|"+t.src_ZPCc+"))",t.src_path="(?:[/?#](?:(?!"+t.src_ZCc+"|"+r+`|[()[\\]{}.,"'?!\\-]).|\\[(?:(?!`+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="(^|"+r+'|"|\\(|'+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}),E_}var S_,OR;function efe(){if(OR)return S_;OR=1;function e(b){var C=Array.prototype.slice.call(arguments,1);return C.forEach(function(v){v&&Object.keys(v).forEach(function(k){b[k]=v[k]})}),b}function t(b){return Object.prototype.toString.call(b)}function r(b){return t(b)==="[object String]"}function n(b){return t(b)==="[object Object]"}function i(b){return t(b)==="[object RegExp]"}function a(b){return t(b)==="[object Function]"}function s(b){return b.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var o={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function l(b){return Object.keys(b||{}).reduce(function(C,v){return C||o.hasOwnProperty(v)},!1)}var u={"http:":{validate:function(b,C,v){var k=b.slice(C);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(k)?k.match(v.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(b,C,v){var k=b.slice(C);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(k)?C>=3&&b[C-3]===":"||C>=3&&b[C-3]==="/"?0:k.match(v.re.no_http)[0].length:0}},"mailto:":{validate:function(b,C,v){var k=b.slice(C);return v.re.mailto||(v.re.mailto=new RegExp("^"+v.re.src_email_name+"@"+v.re.src_host_strict,"i")),v.re.mailto.test(k)?k.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]",d="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function p(b){b.__index__=-1,b.__text_cache__=""}function m(b){return function(C,v){var k=C.slice(v);return b.test(k)?k.match(b)[0].length:0}}function w(){return function(b,C){C.normalize(b)}}function g(b){var C=b.re=Zce()(b.__opts__),v=b.__tlds__.slice();b.onCompile(),b.__tlds_replaced__||v.push(c),v.push(C.src_xn),C.src_tlds=v.join("|");function k(j){return j.replace("%TLDS%",C.src_tlds)}C.email_fuzzy=RegExp(k(C.tpl_email_fuzzy),"i"),C.link_fuzzy=RegExp(k(C.tpl_link_fuzzy),"i"),C.link_no_ip_fuzzy=RegExp(k(C.tpl_link_no_ip_fuzzy),"i"),C.host_fuzzy_test=RegExp(k(C.tpl_host_fuzzy_test),"i");var T=[];b.__compiled__={};function N(j,D){throw new Error('(LinkifyIt) Invalid schema "'+j+'": '+D)}Object.keys(b.__schemas__).forEach(function(j){var D=b.__schemas__[j];if(D!==null){var $={validate:null,link:null};if(b.__compiled__[j]=$,n(D)){i(D.validate)?$.validate=m(D.validate):a(D.validate)?$.validate=D.validate:N(j,D),a(D.normalize)?$.normalize=D.normalize:D.normalize?N(j,D):$.normalize=w();return}if(r(D)){T.push(j);return}N(j,D)}}),T.forEach(function(j){b.__compiled__[b.__schemas__[j]]&&(b.__compiled__[j].validate=b.__compiled__[b.__schemas__[j]].validate,b.__compiled__[j].normalize=b.__compiled__[b.__schemas__[j]].normalize)}),b.__compiled__[""]={validate:null,normalize:w()};var M=Object.keys(b.__compiled__).filter(function(j){return j.length>0&&b.__compiled__[j]}).map(s).join("|");b.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+C.src_ZPCc+"))("+M+")","i"),b.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+C.src_ZPCc+"))("+M+")","ig"),b.re.pretest=RegExp("("+b.re.schema_test.source+")|("+b.re.host_fuzzy_test.source+")|@","i"),p(b)}function _(b,C){var v=b.__index__,k=b.__last_index__,T=b.__text_cache__.slice(v,k);this.schema=b.__schema__.toLowerCase(),this.index=v+C,this.lastIndex=k+C,this.raw=T,this.text=T,this.url=T}function E(b,C){var v=new _(b,C);return b.__compiled__[v.schema].normalize(v,b),v}function x(b,C){if(!(this instanceof x))return new x(b,C);C||l(b)&&(C=b,b={}),this.__opts__=e({},o,C),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=e({},u,b),this.__compiled__={},this.__tlds__=d,this.__tlds_replaced__=!1,this.re={},g(this)}return x.prototype.add=function(C,v){return this.__schemas__[C]=v,g(this),this},x.prototype.set=function(C){return this.__opts__=e(this.__opts__,C),this},x.prototype.test=function(C){if(this.__text_cache__=C,this.__index__=-1,!C.length)return!1;var v,k,T,N,M,j,D,$,X;if(this.re.schema_test.test(C)){for(D=this.re.schema_search,D.lastIndex=0;(v=D.exec(C))!==null;)if(N=this.testSchemaAt(C,v[2],D.lastIndex),N){this.__schema__=v[2],this.__index__=v.index+v[1].length,this.__last_index__=v.index+v[0].length+N;break}}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&($=C.search(this.re.host_fuzzy_test),$>=0&&(this.__index__<0||$=0&&(T=C.match(this.re.email_fuzzy))!==null&&(M=T.index+T[1].length,j=T.index+T[0].length,(this.__index__<0||Mthis.__last_index__)&&(this.__schema__="mailto:",this.__index__=M,this.__last_index__=j))),this.__index__>=0},x.prototype.pretest=function(C){return this.re.pretest.test(C)},x.prototype.testSchemaAt=function(C,v,k){return this.__compiled__[v.toLowerCase()]?this.__compiled__[v.toLowerCase()].validate(C,k,this):0},x.prototype.match=function(C){var v=0,k=[];this.__index__>=0&&this.__text_cache__===C&&(k.push(E(this,v)),v=this.__last_index__);for(var T=v?C.slice(v):C;this.test(T);)k.push(E(this,v)),T=T.slice(this.__last_index__),v+=this.__last_index__;return k.length?k:null},x.prototype.tlds=function(C,v){return C=Array.isArray(C)?C:[C],v?(this.__tlds__=this.__tlds__.concat(C).sort().filter(function(k,T,N){return k!==N[T-1]}).reverse(),g(this),this):(this.__tlds__=C.slice(),this.__tlds_replaced__=!0,g(this),this)},x.prototype.normalize=function(C){C.schema||(C.url="http://"+C.url),C.schema==="mailto:"&&!/^mailto:/i.test(C.url)&&(C.url="mailto:"+C.url)},x.prototype.onCompile=function(){},S_=x,S_}const tfe=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 NR;function nfe(){if(NR)return ip;NR=1,Object.defineProperty(ip,"__esModule",{value:!0});var e=efe(),t=i(e),r=tfe,n=i(r);function i(s){return s&&s.__esModule?s:{default:s}}var a=new t.default;return a.tlds(n.default),ip.default=function(s){return a.match(s)},ip}var ap={},MR;function rfe(){return MR||(MR=1,Object.defineProperty(ap,"__esModule",{value:!0}),ap.default=function(e){return e}),ap}var DR;function ife(){if(DR)return tp;DR=1,Object.defineProperty(tp,"__esModule",{value:!0});var e=function(){function E(x,b){for(var C=0;CN&&T.push(C.substring(N,M.index));var D=v.props.hrefDecorator(M.url),$=v.props.textDecorator(M.text),X=v.props.componentDecorator(D,$,j);T.push(X),N=M.lastIndex}),C.length>N&&T.push(C.substring(N)),T.length===1?T[0]:T}},{key:"parse",value:function(C){var v=this,k=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return typeof C=="string"?this.parseString(C):r.isValidElement(C)&&C.type!=="a"&&C.type!=="button"?r.cloneElement(C,{key:k},this.parse(C.props.children)):Array.isArray(C)?C.map(function(T,N){return v.parse(T,N)}):C}},{key:"render",value:function(){return r.createElement(r.Fragment,null,this.parse(this.props.children))}}]),x}(r.Component);return _.defaultProps={componentDecorator:i.default,hrefDecorator:s.default,matchDecorator:l.default,textDecorator:c.default},tp.default=_,tp}var FR;function afe(){if(FR)return ep;FR=1,Object.defineProperty(ep,"__esModule",{value:!0});var e=ife(),t=r(e);function r(n){return n&&n.__esModule?n:{default:n}}return ep.default=t.default,ep}var ofe=afe();const sfe=yn(ofe);function j1({children:e}){return O.jsx(sfe,{componentDecorator:(t,r,n)=>O.jsx("a",{href:t,target:"_blank",rel:"noopener noreferrer",children:r},n),children:e})}function Rx(e){return O.jsx(O.Fragment,{children:e.lines.map((t,r)=>O.jsxs("div",{children:[O.jsx(j1,{children:t}),O.jsx("br",{})]},r))})}function k3({sources:e}){const t=fr();return e!=null&&e.length?O.jsx(Ke,{children:e.map((r,n)=>O.jsxs(Ke.Item,{children:[O.jsx(Ke.Icon,{verticalAlign:"middle",name:"circle",size:"tiny"}),O.jsxs(Ke.Content,{children:[O.jsx(Ke.Header,{children:O.jsx(j1,{children:[r.author,r.title,r.publicationInfo].filter(i=>!!i).join(", ")})}),O.jsxs(Ke.Description,{children:[O.jsx(j1,{children:r.page}),r.date&&` [${eu(r.date,t)}]`]})]})]},n))}):null}function A3(e){const[t,r]=J.useState(!1),[n,i]=J.useState(!1),[a,s]=J.useState(!1),[o,l]=J.useState("");return Zb(e.url)?(n&&o!==e.url&&i(!1),O.jsxs(O.Fragment,{children:[O.jsx(sn,{className:n?"loaded-image-thumbnail":"hidden-image",onClick:()=>r(!0),onLoad:()=>{i(!0),l(e.url),s(!1)},onError:u=>{i(!0),l(e.url),s(!0),u.currentTarget.alt=""},src:e.url,alt:e.title||e.filename,centered:!0}),O.jsx(bi,{className:n?"hidden-image":"image-placeholder",children:O.jsx(bi.Image,{square:!0})}),a&&O.jsx(ff,{fluid:!0,textAlign:"center",children:O.jsx(Dn,{negative:!0,compact:!0,children:O.jsx(Dn.Header,{children:O.jsx(Re,{id:"error.failed_to_load_image",defaultMessage:"Failed to load image file"})})})}),O.jsxs(Yt,{basic:!0,size:"large",closeIcon:O.jsx(Je,{name:"close",color:"red"}),open:t,onClose:()=>r(!1),onOpen:()=>r(!0),centered:!1,children:[O.jsx(Yt.Header,{children:e.title}),O.jsx(Yt.Content,{image:!0,children:O.jsx(sn,{className:"modal-image",src:e.url,alt:e.title||e.filename,label:O.jsx(ur,{attached:"bottom",content:e.filename}),wrapped:!0})})]})]})):O.jsx(Sn,{centered:!0,style:{width:"100%",maxWidth:"290px",margin:"0 auto 14px"},children:O.jsxs(Sn.Content,{textAlign:"center",style:{backgroundColor:"#f9f9f9"},children:[O.jsx(Je,{name:"image",size:"huge",color:"grey",style:{marginBottom:"10px",opacity:.6}}),O.jsx(Sn.Header,{style:{fontSize:"14px",wordBreak:"break-all"},children:e.title||e.filename}),O.jsx(Sn.Meta,{style:{marginTop:"5px",fontStyle:"italic"},children:O.jsx(Re,{id:"media.not_uploaded",defaultMessage:"File not uploaded"})})]})})}function lfe(e){return!!e&&e.map((t,r)=>O.jsx(Ke,{children:O.jsx(Ke.Item,{children:O.jsx(A3,{url:t.url,filename:t.filename,title:t.title})})},r))}function ufe(e){return!!(e!=null&&e.length)&&e.map((t,r)=>O.jsx("div",{children:O.jsx(Rx,{lines:t.map((n,i)=>O.jsx("i",{children:n},i))})},r))}function cfe(e){var d,p,m,w;const[t,r]=J.useState(-1),[n,i]=J.useState("");(!n||n!==e.indi)&&(r(-1),i(e.indi));function a(g,_){_.index!==void 0&&t!==_.index?r(_.index):r(-1)}const s=((d=e.images)==null?void 0:d.length)&&{menuItem:O.jsx(Kt.Item,{fitted:!0,onClick:a,children:O.jsx(Wi,{content:O.jsx(Re,{id:"extras.images",defaultMessage:"Images"}),size:"mini",position:"bottom center",trigger:O.jsx(Je,{circular:!0,name:"camera"})})},"images"),render:()=>O.jsx(Wr.Pane,{children:lfe(e.images)})},o=((p=e.notes)==null?void 0:p.length)&&{menuItem:O.jsx(Kt.Item,{fitted:!0,onClick:a,children:O.jsx(Wi,{content:O.jsx(Re,{id:"extras.notes",defaultMessage:"Notes"}),size:"mini",position:"bottom center",trigger:O.jsx(Je,{circular:!0,name:"sticky note outline"})})},"notes"),render:()=>O.jsx(Wr.Pane,{children:ufe(e.notes)})},l=((m=e.sources)==null?void 0:m.length)&&{menuItem:O.jsx(Kt.Item,{fitted:!0,onClick:a,children:O.jsx(Wi,{content:O.jsx(Re,{id:"extras.sources",defaultMessage:"Sources"}),size:"mini",position:"bottom center",trigger:O.jsx(Je,{circular:!0,name:"quote right"})})},"sources"),render:()=>O.jsx(Wr.Pane,{children:O.jsx(k3,{sources:e.sources})})},u=((w=e.files)==null?void 0:w.length)&&{menuItem:O.jsx(Kt.Item,{fitted:!0,onClick:a,children:O.jsx(Wi,{content:O.jsx(Re,{id:"extras.files",defaultMessage:"Additional files"}),size:"mini",position:"bottom center",trigger:O.jsx(Je,{circular:!0,name:"file alternate outline"})})},"files"),render:()=>O.jsx(Wr.Pane,{children:O.jsx(C3,{files:e.files})})},c=[s,o,l,u].flatMap(g=>g?[g]:[]);return c.length?O.jsx(lt.Description,{children:O.jsx(Wr,{className:"event-extras",activeIndex:t,renderActiveOnly:!0,menu:{tabular:!0,attached:!0,compact:!0,borderless:!0},panes:c})}):null}function Lc(e){const t=hr(),r=bZ(e.person),n=dn.parse(t.search);return n.indi=Wn(e.person.pointer),O.jsx(yl,{to:{pathname:"/view",search:dn.stringify(n)},children:r||O.jsx(Re,{id:"name.unknown_name",defaultMessage:"N.N."})})}const ffe=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 ps(e){const t=e.tag.replace(/_/g,"");return O.jsx(Re,{id:`gedcom.${t}`,defaultMessage:ffe.get(t)||t})}const Ox=["BIRT"],dfe=["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"],T3=["ANUL","CENS","DIV","DIVF","ENGA","EVEN","MARB","MARC","MARL","MARR","MARS"],I3=[...dfe,...T3],Nx=["DEAT"],P3=["BURI","CREM","PROB"],hfe=[Ox,I3,Nx,P3],pfe=[...Ox,...I3,...Nx,...P3];function mfe(e){const t=fr();return O.jsxs("div",{className:"item-header",children:[O.jsx($t,{as:"span",size:"small",children:O.jsx(ps,{tag:gfe(e.event)})}),e.event.date?O.jsx($t,{as:"span",textAlign:"right",sub:!0,children:eu(e.event.date,t)}):null]})}function gfe(e){return e.tag==="EVEN"&&e.type?e.type:e.tag}function vfe(e,t,r){const n=t.tree.filter(i=>["WIFE","HUSB"].includes(i.tag)).find(i=>!i.data.includes(e));if(n)return Jr(n,r,i=>i.indis)}function yfe(e,t,r,n){if(!Nx.includes(e.tag))return;const i=tu(e),a=r.indis[t].tree.filter(s=>Ox.includes(s.tag)).map(s=>tu(s)).find(s=>s);if(!(!a||!i))return Wce(a==null?void 0:a.data,i==null?void 0:i.data,n)}function R3(e){const t=e.tree.find(r=>r.tag==="PLAC");return t!=null&&t.data?hs(t):void 0}function O3(e,t,r){const n=[];return e.tree.filter(i=>i.tag==="OBJE").forEach(i=>{const a=Jr(i,t,o=>o.other),s=HD(a);s&&n.push({url:td(s.data,r),filename:Mm(s)||""})}),n}function N3(e,t,r){const n=[];return e.tree.filter(i=>i.tag==="OBJE").forEach(i=>{var o;const a=Jr(i,t,l=>l.other),s=$D(a);s&&n.push({url:td(s.data,r),filename:Mm(s),titl:(o=a.tree.find(l=>l.tag==="TITL"))==null?void 0:o.data})}),n}function M3(e,t){return e.tree.filter(r=>r.tag==="SOUR").map(r=>GD(r,t))}function D3(e,t){const r=e.tree.filter(i=>i.tag==="NOTE").map(i=>Jr(i,t,a=>a.other)),n=e.tag!=="EVEN"?e.tree.filter(i=>i.tag==="TYPE"):[];return[e,...n,...r].filter(i=>!!i.data).filter(i=>i.data!=="Y").map(i=>hs(i))}function wfe(e,t,r,n,i){return e.tag==="FAMS"?bfe(e,t,r,i):_fe(e,t,r,n,i)}function _fe(e,t,r,n,i){const a=tu(e)||null;return[{tag:e.tag,date:a?hn.getDate(a.data):void 0,type:qD(e),age:yfe(e,r,t,n),place:R3(e),images:O3(e,t,i),files:N3(e,t,i),notes:D3(e,t),sources:M3(e,t),indi:r}]}function bfe(e,t,r,n){const i=Jr(e,t,a=>a.fams);return Xm(T3,a=>i.tree.filter(s=>s.tag===a)).map(a=>{const s=tu(a)||null;return{tag:a.tag,date:s?hn.getDate(s.data):void 0,type:qD(a),personLink:vfe(r,i,t),place:R3(a),images:O3(a,t,n),files:N3(a,t,n),notes:D3(a,t),sources:M3(a,t),indi:r}})}function xfe(e){return O.jsx(lt,{children:O.jsxs(lt.Content,{children:[O.jsx(mfe,{event:e.event}),!!e.event.age&&O.jsx(lt.Meta,{children:e.event.age}),!!e.event.personLink&&O.jsx(Lc,{person:e.event.personLink}),!!e.event.place&&O.jsx(lt.Description,{children:e.event.place}),O.jsx(cfe,{images:e.event.images,notes:e.event.notes,sources:e.event.sources,indi:e.event.indi,files:e.event.files})]})})}function Efe(e){const t=fr(),r=Xm(hfe,n=>e.entries.filter(i=>n.includes(i.tag)).map(i=>wfe(i,e.gedcom,e.indi,t,e.images)).flatMap(i=>i).sort((i,a)=>ed(i.date,a.date)));return r.length?O.jsx(O.Fragment,{children:r.map((n,i)=>O.jsx(xfe,{event:n},i))}):null}function Sfe(e,t,r){var c,d;const n=(c=e.tree)==null?void 0:c.find(p=>["HUSB","WIFE"].includes(p.tag)&&Wn(p.data)!==r),i=n?Wn(n.data):void 0,a=i?t.indis[i]:void 0,u=(((d=e.tree)==null?void 0:d.filter(p=>p.tag==="CHIL"))||[]).filter(p=>!!t.indis[Wn(p.data)]).map(p=>{const m=t.indis[Wn(p.data)],w=m==null?void 0:m.tree.find(E=>E.tag==="BIRT"),g=w?tu(w):void 0,_=g?hn.getDate(g.data):void 0;return{childEntry:m,parsedDate:_}}).sort((p,m)=>ed(p.parsedDate,m.parsedDate)).map(p=>p.childEntry);return{familyId:Wn(e.pointer),spouseTag:n==null?void 0:n.tag,spouseRecord:a,children:u}}function Cfe(e){const t=e.gedcom.indis[e.indi];if(!t)return null;const r=t.tree,n=r.find(b=>b.tag==="FAMC"),i=n?e.gedcom.fams[Wn(n.data)]:void 0,a=(i==null?void 0:i.tag)==="FAM",s=a?i==null?void 0:i.tree.find(b=>b.tag==="HUSB"):void 0,o=a?i==null?void 0:i.tree.find(b=>b.tag==="WIFE"):void 0,l=s?Wn(s.data):void 0,u=l?e.gedcom.indis[l]:void 0,c=o?Wn(o.data):void 0,d=c?e.gedcom.indis[c]:void 0,p=u||d,_=r.filter(b=>b.tag==="FAMS").map(b=>e.gedcom.fams[Wn(b.data)]).map(b=>Sfe(b,e.gedcom,e.indi)).filter(b=>b.spouseRecord||b.children.length>0),E=_.length,x=E>0;return!p&&!x?null:O.jsx(lt,{children:O.jsxs(lt.Content,{children:[O.jsx("div",{className:"item-header",children:O.jsx($t,{as:"span",size:"small",children:O.jsx(Re,{id:"family.immediate_family",defaultMessage:"Immediate Family"})})}),p&&O.jsxs("div",{className:"parents-block",children:[u&&O.jsxs("div",{children:[O.jsx("strong",{children:O.jsx(Re,{id:"family.father",defaultMessage:"Father"})}),": ",O.jsx(Lc,{person:u})]}),d&&O.jsxs("div",{children:[O.jsx("strong",{children:O.jsx(Re,{id:"family.mother",defaultMessage:"Mother"})}),": ",O.jsx(Lc,{person:d})]})]}),_.map(b=>{const C=!b.spouseRecord&&E>1;return O.jsxs("div",{className:"spousal-group",children:[b.spouseRecord?O.jsxs("div",{children:[O.jsx("strong",{children:b.spouseTag==="HUSB"?O.jsx(Re,{id:"family.husband",defaultMessage:"Husband"}):O.jsx(Re,{id:"family.wife",defaultMessage:"Wife"})}),": ",O.jsx(Lc,{person:b.spouseRecord})]}):C?O.jsx("div",{children:O.jsx("strong",{children:O.jsx(Re,{id:"family.unknown_spouse",defaultMessage:"Unknown Spouse"})})}):null,b.children.length>0&&O.jsxs("div",{className:"children-block",children:[O.jsxs("div",{children:[O.jsx("strong",{children:b.children.length===1?O.jsx(Re,{id:"family.child",defaultMessage:"Child"}):O.jsx(Re,{id:"family.children",defaultMessage:"Children"})}),": "]}),O.jsx("div",{children:b.children.map(v=>O.jsx("div",{children:O.jsx(Lc,{person:v})},v.pointer))})]})]},b.familyId)})]})})}const kfe=[...pfe,"NAME","SEX","FAMC","FAMS","NOTE","SOUR","FACT"];function Afe(e){const t=[];return e.data&&t.push(...hs(e)),e.tree.filter(r=>r.tag==="NOTE").forEach(r=>hs(r).forEach(n=>t.push(O.jsx("i",{children:n})))),t.length?O.jsxs(O.Fragment,{children:[O.jsx($t,{sub:!0,children:O.jsx(ps,{tag:e.tag})}),O.jsx("span",{children:O.jsx(Rx,{lines:t})})]}):null}function Tfe(e){if(!e.data)return null;const t=e.tree.filter(n=>n.tag==="TYPE").flatMap(n=>hs(n)).join().trim(),r=hs(e).join(" ").trim();return t?O.jsxs(O.Fragment,{children:[O.jsx($t,{sub:!0,children:O.jsx(ps,{tag:e.tag})}),O.jsxs("div",{children:[O.jsx("b",{children:t}),": ",r]})]}):O.jsxs(O.Fragment,{children:[O.jsx($t,{sub:!0,children:O.jsx(ps,{tag:e.tag})}),O.jsx("div",{children:r})]})}function Ife(e,t,r){const n=Jr(e,t,a=>a.other),i=HD(n);return!i||!Mx(n)?null:O.jsx("div",{className:"person-image",children:O.jsx(A3,{url:td(i.data,r),filename:Mm(i)||""})})}function Pfe(e,t){const r=e.map(n=>GD(n,t));return r.length?O.jsxs(O.Fragment,{children:[O.jsx("div",{className:"item-header",children:O.jsx($t,{as:"span",size:"small",children:O.jsx(ps,{tag:"SOUR"})})}),O.jsx(k3,{sources:r})]}):null}function Rfe(e,t,r){const n=[];return e.map(i=>Jr(i,t,a=>a.other)).forEach(i=>{var s;const a=$D(i);a&&n.push({url:td(a.data,r),filename:Mm(a),titl:(s=i.tree.find(o=>o.tag==="TITL"))==null?void 0:s.data})}),n.length?O.jsxs(O.Fragment,{children:[O.jsx("div",{className:"item-header",children:O.jsx($t,{as:"span",size:"small",children:O.jsx(ps,{tag:"OBJE"})})}),O.jsx(C3,{files:n})]}):null}function Ofe(e,t){const r=Jr(e,t,n=>n.other);return!r||!Mx(r)?null:O.jsx(Rx,{lines:hs(r).map((n,i)=>O.jsx("i",{children:n},i))})}function Nfe(e){var d,p,m,w,g,_,E,x;const t=(d=e.tree.find(b=>b.tag==="NPFX"))==null?void 0:d.data;let r=(p=e.tree.find(b=>b.tag==="GIVN"))==null?void 0:p.data,n=(m=e.tree.find(b=>b.tag==="_RUFNAME"))==null?void 0:m.data;const i=(w=e.tree.find(b=>b.tag==="NICK"))==null?void 0:w.data,a=(g=e.tree.find(b=>b.tag==="SPFX"))==null?void 0:g.data,s=(_=e.tree.find(b=>b.tag==="SURN"))==null?void 0:_.data,o=(E=e.tree.find(b=>b.tag==="NSFX"))==null?void 0:E.data;r&&n&&r.includes(n)&&(r=r.replace(n,`"${n}"`),n=void 0);const u=[t,r,n&&`"${n}"`,i&&`(${i})`,a,s,o].filter(Boolean).join(" ").trim()||e.data.replaceAll("/","")||"",c=(x=e.tree.find(b=>b.tag==="TYPE"&&b.data!=="Unknown"))==null?void 0:x.data;return O.jsxs(O.Fragment,{children:[O.jsx($t,{as:"span",size:"large",children:u||O.jsx(Re,{id:"name.unknown_name",defaultMessage:"N.N."})}),u&&c&&O.jsx(lt.Meta,{children:O.jsx(ps,{tag:c})})]})}function op(e,t,r,n,i){return Xm(r,a=>e.filter(s=>s.tag===a).map(s=>n(s,t,i))).filter(a=>a!==null).map((a,s)=>O.jsx(lt,{children:O.jsx(lt.Content,{children:a})},s))}function LR(e,t,r,n,i){const a=Xm(r,o=>e.filter(l=>l.tag===o)).filter(o=>o!==null),s=a.length?n(a,t,i):null;return s?O.jsx(lt,{children:O.jsx(lt.Content,{children:s})}):null}function Mx(e){return e.tree.length>0||e.data&&!e.data.startsWith("@")}function Mfe(e,t){return e.filter(r=>!kfe.includes(r.tag)).map(r=>Jr(r,t,n=>n.other)).filter(Mx).map(r=>Afe(r)).filter(r=>r!==null).map((r,n)=>O.jsx(lt,{children:O.jsx(lt.Content,{children:r})},n))}function Dfe(e){return O.jsx(lt,{children:O.jsxs(lt.Content,{children:[O.jsx($t,{sub:!0,children:O.jsx(Re,{id:"config.ids",defaultMessage:"Identification"})}),O.jsx("div",{children:O.jsx("i",{children:e})})]})})}function Ffe(e){const t=e.gedcom.indis[e.indi].tree;return O.jsx("div",{className:"details",children:O.jsxs(lt.Group,{divided:!0,children:[op(t,e.gedcom,["NAME"],Nfe),op(t,e.gedcom,["OBJE"],Ife,e.images),O.jsx(Cfe,{gedcom:e.gedcom,indi:e.indi}),O.jsx(Efe,{gedcom:e.gedcom,entries:t,indi:e.indi,images:e.images}),e.config.id===tx.SHOW?Dfe(e.indi):null,op(t,e.gedcom,["FACT"],Tfe),Mfe(t,e.gedcom),op(t,e.gedcom,["NOTE"],Ofe),LR(t,e.gedcom,["OBJE"],Rfe,e.images),LR(t,e.gedcom,["SOUR"],Pfe)]})})}function Lfe({data:e,selectedIndiId:t,config:r,onConfigChange:n,expanded:i,onToggle:a}){const s=fr(),o=[{menuItem:s.formatMessage({id:"tab.info",defaultMessage:"Info"}),render:()=>O.jsx(Ffe,{gedcom:e.gedcom,indi:t,config:r,images:e.images})},{menuItem:s.formatMessage({id:"tab.settings",defaultMessage:"Settings"}),render:()=>O.jsx(TZ,{gedcom:e.gedcom,config:r,onChange:n})}];return O.jsxs(wo,{id:"sidebar",animation:"overlay",icon:"labeled",width:i?"wide":"very thin",direction:"right",visible:!0,children:[i?O.jsx(Wr,{id:"sideTabs",panes:o}):O.jsx(Nue,{gedcom:e.gedcom,indi:t}),O.jsx(nn,{id:"sideToggle",icon:!0,size:"mini",onClick:()=>a(),children:O.jsx(Je,{size:"large",name:i?"arrow right":"arrow left"})})]})}function jfe(e,t){return e instanceof vu?t.formatMessage({id:`error.${e.code}`,defaultMessage:e.message},e.args):e.message}const Bfe={name:"get_selected_person",description:"Returns the full details (name, events, immediate relatives) of the individual currently selected in the browser viewport.",inputSchema:{type:"object",properties:{}}},zfe={name:"search_indi",description:"Searches the genealogy index for individuals by name. Returns up to 10 results starting with the ones that match the best.",inputSchema:{type:"object",properties:{query:{type:"string",description:"The name to search for."}},required:["query"]}},Ufe={name:"inspect_indi",description:"Fetches detailed information for a specific individual by ID, including their immediate relatives and life events.",inputSchema:{type:"object",properties:{id:{type:"string",description:"The ID of the individual."}},required:["id"]}},$fe={name:"focus_indi",description:"Instructs the Topola viewer camera view to center on and focus a specific person. Restructures the tree view to show ancestors and descendants of the selected person.",inputSchema:{type:"object",properties:{id:{type:"string",description:"The ID to focus."}},required:["id"]}},Hfe={name:"find_relationship_path",description:"Finds the shortest path connecting two individuals (e.g., through parents or marriages). Returns an ordered list of connecting individuals.",inputSchema:{type:"object",properties:{source:{type:"string",description:"Start individual ID"},target:{type:"string",description:"End individual ID"}},required:["source","target"]}},qfe={name:"get_ancestors",description:"Returns ancestors of a specific individual up to a maximum depth of 5 generations.",inputSchema:{type:"object",properties:{id:{type:"string",description:"Target individual ID"},generations:{type:"number",description:"Depth bound limit (1-5). Defaults to 3.",minimum:1,maximum:5,default:3}},required:["id"]}},Gfe={name:"get_descendants",description:"Returns descendants of a specific individual up to a maximum depth of 5 generations.",inputSchema:{type:"object",properties:{id:{type:"string",description:"Target individual ID"},generations:{type:"number",description:"Depth bound limit (1-5). Defaults to 3.",minimum:1,maximum:5,default:3}},required:["id"]}},jR=5,Wfe=10;function qo(e){return{content:[{type:"text",text:JSON.stringify(e)}],structuredContent:e}}function Nc(e){return{content:[{type:"text",text:e}]}}class Vfe{constructor(){this.detailIndi=null,this.searchIndex=null,this.chartData=null,this.indiMap=new Map,this.famMap=new Map,this.setSelectionCallback=null,this.toolsRegistered=!1}async handleGetSelectedPerson(){const t=this.detailIndi;return!t||t.startsWith("private_")?Nc("No person is currently selected."):qo(this.toFullIndi(t))}async handleSearchIndi(t){!this.searchIndex&&this.chartData&&(this.searchIndex=XL(this.chartData));const r=this.searchIndex;if(!r)return Nc("Data not loaded.");const i=r.search(t.query).slice(0,Wfe).map(a=>this.toBasicIndi(a.id)).filter(Boolean);return qo(i)}async handleInspectIndi(t){const r=this.toFullIndi(t.id);return r?qo(r):Nc(`No person found with id ${t.id}.`)}async handleFocusIndi(t){if(t.id.startsWith("private_"))return Nc(`No person found with id ${t.id}.`);const r=this.setSelectionCallback;return r?(r(t.id),qo({status:"success"})):Nc("Error shifting viewport.")}async handleFindRelationshipPath(t){const n=xZ(t.source,t.target,this.indiMap,this.famMap).map(i=>this.toBasicIndi(i)).filter(Boolean);return qo(n)}async handleGetAncestors(t){const r=Math.min(t.generations??3,jR),i=EZ(t.id,r,this.indiMap,this.famMap).map(a=>this.toBasicIndi(a)).filter(Boolean);return qo(i)}async handleGetDescendants(t){const r=Math.min(t.generations??3,jR),i=SZ(t.id,r,this.indiMap,this.famMap).map(a=>this.toBasicIndi(a)).filter(Boolean);return qo(i)}setDetailIndi(t){this.detailIndi=t}setData(t){t?(this.indiMap=Om(t.chartData),this.famMap=Jb(t.chartData),this.chartData=t.chartData,this.searchIndex=null):(this.indiMap.clear(),this.famMap.clear(),this.chartData=null,this.searchIndex=null)}setSetSelectionCallback(t){this.setSelectionCallback=t}getIndiName(t){const r=this.indiMap.get(t);return r&&[r.firstName,r.lastName].filter(Boolean).join(" ")||"Unknown"}getIndiReference(t){return{id:t,name:this.getIndiName(t)}}getEvent(t){if(!t)return;const r=[];if(t.date){const n=t.date;n.day||n.month||n.year?r.push([n.day,n.month,n.year].filter(Boolean).join("-")):n.text&&r.push(n.text)}return{date:r.join(" ")||void 0,place:t.place}}toBasicIndi(t){if(t.startsWith("private_"))return null;const r=this.indiMap.get(t);if(!r)return null;let n=null,i=null;if(r.famc){const a=this.famMap.get(r.famc);a&&(a.wife&&(n=this.getIndiReference(a.wife)),a.husb&&(i=this.getIndiReference(a.husb)))}return{id:r.id,name:this.getIndiName(r.id),birth:this.getEvent(r.birth),death:this.getEvent(r.death),mother:n,father:i}}toFullIndi(t){if(t.startsWith("private_"))return null;const r=this.indiMap.get(t);if(!r)return null;let n=null,i=null;if(r.famc){const o=this.famMap.get(r.famc);o&&(o.wife&&(n=this.toBasicIndi(o.wife)),o.husb&&(i=this.toBasicIndi(o.husb)))}const a=[],s=[];return r.fams&&r.fams.forEach(o=>{const l=this.famMap.get(o);if(l){const u=l.wife===t?l.husb:l.wife;u&&s.push({spouse:this.toBasicIndi(u),marriage:this.getEvent(l.marriage)}),l.children&&l.children.forEach(c=>{const d=this.toBasicIndi(c);d&&a.push(d)})}}),{id:r.id,name:this.getIndiName(r.id),birth:this.getEvent(r.birth),death:this.getEvent(r.death),mother:n,father:i,children:a,spouses:s}}getTools(){return[{...Bfe,execute:()=>this.handleGetSelectedPerson()},{...zfe,execute:t=>this.handleSearchIndi(t)},{...Ufe,execute:t=>this.handleInspectIndi(t)},{...$fe,execute:t=>this.handleFocusIndi(t)},{...Hfe,execute:t=>this.handleFindRelationshipPath(t)},{...qfe,execute:t=>this.handleGetAncestors(t)},{...Gfe,execute:t=>this.handleGetDescendants(t)}]}registerTools(){if(this.toolsRegistered||!navigator.modelContext)return;const t=navigator.modelContext;this.getTools().forEach(r=>{t.registerTool(r)}),this.toolsRegistered=!0}unregisterTools(){if(!this.toolsRegistered||!navigator.modelContext)return;const r=navigator.modelContext.unregisterTool;typeof r=="function"&&this.getTools().forEach(n=>{try{r(n.name)}catch{}}),this.toolsRegistered=!1}}function Qfe(){const e=document.querySelector('meta[name="topola-static-url"]'),t=e==null?void 0:e.getAttribute("content");if(t&&!t.startsWith("__")&&!t.includes("{{ env"))return t}const Pp=Qfe();function Kfe(e){return O.jsxs(Dn,{negative:!0,className:"error",children:[O.jsx(Dn.Header,{children:O.jsx(Re,{id:"error.failed_to_load_file",defaultMessage:"Failed to load file"})}),O.jsx("p",{children:e.message})]})}function Yfe(e){return O.jsx(Cr,{open:e.open,onClose:e.onDismiss,children:O.jsxs(Dn,{negative:!0,className:"errorPopup",onDismiss:e.onDismiss,children:[O.jsx(Dn.Header,{children:O.jsx(Re,{id:"error.error",defaultMessage:"Error"})}),O.jsx("p",{children:e.message})]})})}function BR(e,t){const r=t[e];return typeof r=="string"?r:void 0}function Xfe(e){const t=dn.parse(e.search),r=m=>BR(m,t),n=r("view"),i=new Map([["relatives",qa.Relatives],["fancy",qa.Fancy],["donatso",qa.Donatso]]),a=r("file"),s=r("url"),o=r("embedded")==="true";let l;if(Pp)l={source:Qt.GEDCOM_URL,url:Pp,handleCors:!1};else if(r("source")==="wikitree"){const m=dn.parse(window.location.search);l={source:Qt.WIKITREE,authcode:r("authcode")||BR("authcode",m)}}else if(r("source")==="google-drive"){const m=r("fileId");m&&(l={source:Qt.GOOGLE_DRIVE,fileId:m})}else a?l={source:Qt.UPLOADED,hash:a,gedcom:e.state&&e.state.data,images:e.state&&e.state.images}:s?l={source:Qt.GEDCOM_URL,url:s,handleCors:r("handleCors")!=="false"}:o&&(l={source:Qt.EMBEDDED});const u=r("indi"),c=Number(r("gen")),d=u?{id:u,generation:isNaN(c)?0:c}:void 0;function p(){return window.matchMedia("(max-width: 767px)").matches?r("sidePanel")==="true":r("sidePanel")!=="false"}return{sourceSpec:l,selection:d,chartType:i.get(n)||qa.Hourglass,showSidePanel:p(),standalone:r("standalone")!=="false"&&!o&&!Pp,showWikiTreeMenus:r("showWikiTreeMenus")!=="false",freezeAnimation:r("freeze")==="true",config:kZ(t)}}const zR=new Pee,UR=new Ree,$R=new Oee,HR=new Lee;function Jfe(){const[e,t]=J.useState(0),[r,n]=J.useState(),[i,a]=J.useState(),[s,o]=J.useState(),[l,u]=J.useState(),[c,d]=J.useState(!1),[p,m]=J.useState(!0),[w,g]=J.useState(!0),[_,E]=J.useState(qa.Hourglass),[x,b]=J.useState(!1),[C,v]=J.useState(),[k,T]=J.useState(!1),[N,M]=J.useState(_p),[j]=J.useState(()=>new Vfe),[D,$]=J.useState(!1),[X,W]=J.useState(),[H,V]=J.useState(()=>!!Qa.getAccessToken()),K=fr(),Y=mo(),q=hr(),F=J.useRef(!1),G=J.useRef(!0),z=J.useRef(0);J.useEffect(()=>(G.current=!0,()=>{G.current=!1}),[]);const B=J.useCallback(we=>{(!i||i.id!==we.id||i.generation!==we.generation)&&(a(we),o(we.id))},[i]);function se(we,et){if(et===void 0)return;const it=we.id===tx.HIDE,ht=we.sex===WD.HIDE;Om(et.chartData).forEach(L=>{L.hideId=it,L.hideSex=ht})}function de(){const we=!c;d(we),He({sidePanel:we?"true":"false"})}function me(we){u(we),t(2)}const Ee=J.useMemo(()=>new Ote(K),[K]),Ie=J.useCallback((we,et)=>{if(!C||C.source!==we.source)return!0;const it={spec:we,selection:et},ht={spec:C,selection:i};switch(it.spec.source){case Qt.UPLOADED:return zR.isNewData(it,ht,r);case Qt.GEDCOM_URL:return UR.isNewData(it,ht,r);case Qt.WIKITREE:return Ee.isNewData(it,ht,r);case Qt.EMBEDDED:return $R.isNewData(it,ht,r);case Qt.GOOGLE_DRIVE:return HR.isNewData(it,ht,r)}},[C,i,r,Ee]),Ne=J.useCallback((we,et)=>{switch(we.source){case Qt.UPLOADED:return zR.loadData({spec:we,selection:et});case Qt.GEDCOM_URL:return UR.loadData({spec:we,selection:et});case Qt.WIKITREE:return Ee.loadData({spec:we,selection:et});case Qt.EMBEDDED:return $R.loadData({spec:we,selection:et});case Qt.GOOGLE_DRIVE:return HR.loadData({spec:we,selection:et})}},[Ee]);J.useEffect(()=>{const et=dn.parse(q.search).state;if(typeof et=="string"&&!F.current)try{const it=JSON.parse(et);if(it&&it.action==="open"&&Array.isArray(it.ids)&&it.ids.length>0){F.current=!0;const ht=it.ids[0];Y({pathname:"/view",search:dn.stringify({source:"google-drive",fileId:ht})},{replace:!0})}}catch(it){console.warn("Google Drive state query parameter JSON parsing failed or action mismatch:",it)}},[Y,q.search]);async function Le(){await Qa.signOut(),V(!1),n(void 0),a(void 0),o(void 0),Mee(),Y({pathname:"/"},{replace:!0})}J.useEffect(()=>{(async()=>{var et,it;if(q.pathname!=="/view"){e!==0&&t(0),n(void 0);return}const we=Xfe(q);if(!we.sourceSpec){Y({pathname:"/"},{replace:!0});return}if(e===0||Ie(we.sourceSpec,we.selection)){t(1),v(we.sourceSpec),a(we.selection),o((et=we.selection)==null?void 0:et.id),m(we.standalone),g(we.showWikiTreeMenus),E(we.chartType),T(we.freezeAnimation),M(we.config);const ht=++z.current;try{const pe=await Ne(we.sourceSpec,we.selection);if(!G.current||z.current!==ht)return;n(pe),se(we.config,pe),d(we.showSidePanel),t(3)}catch(pe){if(!G.current||z.current!==ht)return;pe instanceof Nf?we.sourceSpec.source===Qt.GOOGLE_DRIVE&&(W(we.sourceSpec.fileId),$(!0)):me(jfe(pe,K))}}else if(e===3||e===4){const ht=we.sourceSpec.source===Qt.WIKITREE&&(!i||i.id!==((it=we.selection)==null?void 0:it.id));if(E(we.chartType),t(ht?4:3),B(_y(r.chartData,we.selection)),ht){const pe=++z.current;try{const L=await OF(we.selection.id,K);if(!G.current||z.current!==pe)return;const I=_y(L.chartData,we.selection);n(L),a(I),o(I.id),t(3)}catch(L){if(!G.current||z.current!==pe)return;t(3),rt(K.formatMessage({id:"error.failed_wikitree_load_more",defaultMessage:"Failed to load data from WikiTree. {error}"},{error:L}))}}}})()},[q,e,i,r,Y,K,Ie,Ne,B]),J.useEffect(()=>(j.registerTools(),()=>{j.unregisterTools()}),[j]),J.useEffect(()=>()=>{jm(r==null?void 0:r.images)},[r]),J.useEffect(()=>{j.setData(r||null)},[r,j]),J.useEffect(()=>{j.setDetailIndi(s||null)},[s,j]),J.useEffect(()=>{j.setSetSelectionCallback(we=>{Oe({id:we,generation:0})})},[j,q]);function He(we){const et=dn.parse(q.search);for(const it in we)et[it]=we[it];q.search=dn.stringify(et),Y(q)}function Oe(we){we.id.startsWith(ax)||(vn("selection_changed"),He({indi:we.id,gen:String(we.generation)}))}function Fe(we){o(we.id)}function We(){vn("print"),VZ()}function rt(we){b(!0),u(we)}async function ot(){vn("download_pdf");try{await XZ()}catch{rt(K.formatMessage({id:"error.failed_pdf",defaultMessage:"Failed to generate PDF file. Please try with a smaller diagram or download an SVG file."}))}}async function st(){vn("download_png");try{await YZ()}catch{rt(K.formatMessage({id:"error.failed_png",defaultMessage:"Failed to generate PNG file. Please try with a smaller diagram or download an SVG file."}))}}function At(){vn("download_svg"),QZ()}function Ht(){b(!1)}function gt(we){return r?_===qa.Donatso?O.jsx(Vre,{data:r.chartData,selection:we,onSelection:Oe}):O.jsx(iee,{data:r.chartData,selection:we,chartType:_,onSelection:Oe,onDetailSelection:Fe,freezeAnimation:k,colors:N.color,hideIds:N.id,hideSex:N.sex}):null}function ct(){switch(e){case 3:case 4:{if(!r)return null;const we=_y(r.chartData,i);return O.jsxs("div",{id:"content",children:[O.jsx(Yfe,{open:x,message:l,onDismiss:Ht}),e===4?O.jsx(Fl,{active:!0,size:"small",className:"loading-more"}):null,O.jsxs(ql,{children:[O.jsx(Lfe,{data:r,selectedIndiId:s||we.id,config:N,expanded:c,onToggle:de,onConfigChange:et=>{M(et),se(et,r),He(AZ(et))}}),O.jsx(Gl,{children:gt(we)})]})]})}case 2:return O.jsx(Kfe,{message:l||"Unknown error"});case 0:case 1:return O.jsx(Fl,{active:!0,size:"large"})}}return O.jsxs(O.Fragment,{children:[O.jsx(Oue,{data:r==null?void 0:r.chartData,allowAllRelativesChart:(C==null?void 0:C.source)!==Qt.WIKITREE,allowPrintAndDownload:_!==qa.Donatso,showingChart:q.pathname==="/view"&&(e===3||e===4),standalone:p,eventHandlers:{onSelection:Oe,onPrint:We,onDownloadPdf:ot,onDownloadPng:st,onDownloadSvg:At},showWikiTreeMenus:(C==null?void 0:C.source)===Qt.WIKITREE&&w,hasGoogleToken:H,onGoogleSignOut:Le,onGoogleTokenAcquired:()=>V(!0)}),Pp?O.jsxs($C,{children:[O.jsx(il,{path:"/view",element:ct()}),O.jsx(il,{path:"*",element:O.jsx(UC,{to:"/view",replace:!0})})]}):O.jsxs($C,{children:[O.jsx(il,{path:"/",element:O.jsx($le,{})}),O.jsx(il,{path:"/view",element:ct()}),O.jsx(il,{path:"*",element:O.jsx(UC,{to:"/",replace:!0})})]}),D&&X&&O.jsx(Hle,{failedFileId:X,onAuthSuccess:we=>{$(!1),V(!0),we===X?t(0):Y({pathname:"/view",search:dn.stringify({source:"google-drive",fileId:we})},{replace:!0})},onCancel:()=>{$(!1),Y({pathname:"/"},{replace:!0})}})]})}const Zfe={"menu.open":"Отваряне","menu.open_file":"Отваряне на файл","menu.load_from_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":"Семейна диаграма на Донацо","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":"Използвайте бутоните за отваряне на файл и зареждане от адрес, за да отворите GEDCOM файл. Повечето приложения и страници за генеалогия позволяват изнасяне на GEDCOM файлове.","intro.examples":"Примерни родословни дървета","intro.from":"от","intro.whats_new":"Последни промени","intro.full_changelog":"Списък с всички промени","whats_new.title":"Новото в това издание","intro.privacy":"Поверителност","intro.privacy_note":"При отваряне на файл тази страницата не изпраща никъде вашите данни - заредените файловете не напускат вашето устройство. При зареждане на файл от адрес, данните преминават през услугата {link}, за да бъдат избегнати проблеми при заявяването на файлове между различни сайтове (CORS).","load_from_url.title":"Зареждане от адрес","load_from_url.comment":"Данните от адреса ще преминат през услугата {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.BARM":"Бар мицва","gedcom.BASM":"Бат мицва","gedcom.BIRT":"Раждане","gedcom.BLES":"Благословия","gedcom.BURI":"Погребение","gedcom.CENS":"Преброяване на населението","gedcom.CHR":"Кръщене","gedcom.CHRA":"Кръщение за възрастни","gedcom.CONF":"Потвърждение","gedcom.CREM":"Кремиране","gedcom.DEAT":"Смърт","gedcom.DEG":"Академична степен","gedcom.DIV":"Развод","gedcom.DIVF":"Подадено е заявление за развод","gedcom.DSCR":"Описание","gedcom.EDUC":"Образование","gedcom.ELEC":"Подбор за длъжността","gedcom.EMAIL":"Електронна поща","gedcom.EMIG":"Емигриране","gedcom.ENGA":"Годеж","gedcom.EVEN":"Събитие","gedcom.FACT":"Факт","gedcom.FCOM":"Първо причастие","gedcom.GRAD":"Завършване на обучението","gedcom.IMMI":"Имигриране","gedcom.MARB":"Забрана за брак","gedcom.MARC":"Брачен договор","gedcom.MARL":"Брачно свидетелство","gedcom.MARR":"Бракосъчетание","gedcom.MARS":"Предбрачен договор","gedcom.MDCL":"Медицинска информация","gedcom.MILT":"Военна служба","gedcom.NATU":"Натурализация","gedcom.OBJE":"Допълнителни файлове","gedcom.OCCU":"Професия","gedcom.ORDN":"Ръкополагане","gedcom.PROB":"Потвърждение на завещанието","gedcom.PROP":"Имот","gedcom.RESI":"Местожителство","gedcom.RETI":"Пенсиониране","gedcom.RELI":"Религия","gedcom.RIN":"ID","gedcom.SOUR":"Източници","gedcom.TITL":"Обръщение","gedcom.WILL":"Завещание","gedcom.WWW":"Препратка","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.sex":"Пол","config.sex.HIDE":"Скриване","config.sex.SHOW":"Показване","head.source":"Източник на данни","name.unknown_name":"Неизвестно име","extras.images":"Изображение","extras.notes":"Бележки","extras.sources":"Източници","extras.files":"Допълнителни файлове","family.immediate_family":"Най-близко семейство","family.parents":"Родители","family.father":"Баща","family.mother":"Майка","family.husband":"Съпруг","family.wife":"Съпруга","family.unknown_spouse":"Неизвестен съпруг/а","family.children":"Деца","family.child":"Дете","media.not_uploaded":"Файлът не е качен","menu.load_from_google_drive":"Зареждане от Google Диск","menu.google_sign_out":"Прекъсване на връзката с Google Диск","google_auth.title":"Изисква се достъп до Google Диск","google_auth.instructions":"За да прегледате този файл, трябва да се удостоверите и да изберете файла от вашия Google Диск, за да предоставите разрешения.","google_auth.picker_instructions_header":"Изискват се разрешения","google_auth.picker_instructions":"Приложението няма разрешение да чете този файл. Моля, изберете го в изскачащия прозорец на браузъра за файлове, за да предоставите достъп. Ако това е споделен файл, който не се показва, опитайте първо да добавите пряк път към вашия Диск.","google_auth.cancel":"Отказ","google_auth.grant_button":"Предоставяне на достъп и избор на файл","google_auth.switch_account_button":"Смяна на акаунт","error.GOOGLE_DRIVE_NOT_CONFIGURED":"Интеграцията с Google Drive не е конфигурирана."},ede={"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 rodokmen","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.BARM":"Bar micva","gedcom.BASM":"Bas micva","gedcom.BIRT":"Narození","gedcom.BLES":"Požehnání","gedcom.BURI":"Pohřeb","gedcom.CENS":"Sčítání lidu","gedcom.CHR":"Křest","gedcom.CHRA":"Křest dospělých","gedcom.CONF":"Potvrzení","gedcom.CREM":"Kremace","gedcom.DEAT":"Úmrtí","gedcom.DEG":"Academic degree","gedcom.DIV":"Rozvod","gedcom.DIVF":"Potvrzení","gedcom.DSCR":"Popis","gedcom.EDUC":"Vzdělání","gedcom.ELEC":"Výběr na pozici","gedcom.EMAIL":"E-mail","gedcom.EMIG":"Emigrace","gedcom.ENGA":"zasnoubení","gedcom.EVEN":"Událost","gedcom.FACT":"Údaj","gedcom.FCOM":"První přijímání","gedcom.GRAD":"Dokončení školení ","gedcom.IMMI":"Imigrace","gedcom.MARB":"Družstvo","gedcom.MARC":"Manželská smlouva ","gedcom.MARL":"Oddací list","gedcom.MARR":"Svatba","gedcom.MARS":"Předmanželská smlouva","gedcom.MDCL":"Lékařské informace","gedcom.MILT":"Vojenská služba","gedcom.NATU":"Získání občanství","gedcom.OBJE":"Další soubory","gedcom.OCCU":"Povolání","gedcom.ORDN":"Vysvěcení","gedcom.PROB":"Potvrzení závěti","gedcom.PROP":"Majetek","gedcom.RESI":"Bydliště","gedcom.RETI":"Odchod do důchodu ","gedcom.RELI":"Vyznání","gedcom.RIN":"ID","gedcom.SOUR":"Zdroje","gedcom.TITL":"Titul","gedcom.WILL":"Závěť","gedcom.WWW":"Stránka WWW","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":"Informace","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","head.source":"Zdroj dat","name.unknown_name":"N.N.","extras.images":"Obrázky","extras.notes":"Poznámky","extras.sources":"Zdroje","extras.files":"Další soubory","family.immediate_family":"Nejbližší rodina","family.parents":"Rodiče","family.father":"Otec","family.mother":"Matka","family.husband":"Manžel","family.wife":"Manželka","family.unknown_spouse":"Neznámý manžel/ka","family.children":"Děti","family.child":"Dítě","media.not_uploaded":"Soubor nebyl nahrán","menu.load_from_google_drive":"Načíst z Google Disku","menu.google_sign_out":"Odpojit Google Disk","google_auth.title":"Je vyžadován přístup k Disku Google","google_auth.instructions":"Chcete-li tento soubor zobrazit, musíte se ověřit a vybrat soubor z Disku Google, abyste udělili oprávnění.","google_auth.picker_instructions_header":"Vyžadována oprávnění","google_auth.picker_instructions":"Aplikace nemá oprávnění ke čtení tohoto souboru. Vyberte jej prosím v rozevíracím seznamu prohlížeče souborů pro udělení přístupu. Pokud se jedná o sdílený soubor, který se nezobrazuje, zkuste nejprve přidat zástupce na svůj Disk.","google_auth.cancel":"Zrušit","google_auth.grant_button":"Udělit přístup a vybrat soubor","google_auth.switch_account_button":"Přepnout účet","error.GOOGLE_DRIVE_NOT_CONFIGURED":"Integrace s Diskem Google není nakonfigurována."},tde={"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-Stammbaum","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.BARM":"Bar-Mitzwah","gedcom.BASM":"Bas-Mitzwah","gedcom.BIRT":"Geburt","gedcom.BLES":"Segnung","gedcom.BURI":"Beerdigung","gedcom.CENS":"Volkszählung","gedcom.CHR":"Taufe","gedcom.CHRA":"Erwachsenentaufe","gedcom.CONF":"Konfirmation/Firmung","gedcom.CREM":"Feuerbestattung","gedcom.DEAT":"Tod","gedcom.DEG":"Akademischer Grad","gedcom.DIV":"Scheidung","gedcom.DIVF":"Scheidung eingereicht","gedcom.DSCR":"Beschreibung","gedcom.EDUC":"Ausbildung","gedcom.ELEC":"Auswahl für die Position","gedcom.EMAIL":"E-Mail","gedcom.EMIG":"Auswanderung","gedcom.ENGA":"Verlobung","gedcom.EVEN":"Ereignis","gedcom.FACT":"Merkmal","gedcom.FCOM":"Erstkommunion","gedcom.GRAD":"Ausbildungsabschluss","gedcom.IMMI":"Einwanderung","gedcom.MARB":"Aufgebot","gedcom.MARC":"Ehevertrag","gedcom.MARL":"Eheerlaubnis","gedcom.MARR":"Heirat","gedcom.MARS":"Ehevereinbarung","gedcom.MDCL":"Medizinische Informationen","gedcom.MILT":"Mititärdienst","gedcom.NATU":"Einbürgerung","gedcom.OBJE":"Zusätzliche Dateien","gedcom.OCCU":"Beruf","gedcom.ORDN":"Ordinierung","gedcom.PROB":"Testamentsbestätigung","gedcom.PROP":"Besitz","gedcom.RESI":"Wohnort","gedcom.RETI":"Ruhestand","gedcom.RELI":"Religion","gedcom.RIN":"ID","gedcom.SOUR":"Quellen","gedcom.TITL":"Titel","gedcom.WILL":"Testament","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}","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","wikitree.private":"Privat","tab.info":"Informationen","tab.settings":"Einstellungen","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":"verbergen","config.ids.SHOW":"anzeigen","config.sex":"Geschlecht","config.sex.HIDE":"verbergen","config.sex.SHOW":"anzeigen","head.source":"Datenquelle","name.unknown_name":"N.N.","extras.images":"Bilder","extras.notes":"Notizen","extras.sources":"Quellen","extras.files":"Weitere Dateien","family.immediate_family":"Engere Familie","family.parents":"Eltern","family.father":"Vater","family.mother":"Mutter","family.husband":"Ehemann","family.wife":"Ehefrau","family.unknown_spouse":"Unbekannter Ehepartner","family.children":"Kinder","family.child":"Kind","media.not_uploaded":"Datei nicht hochgeladen","menu.load_from_google_drive":"Von Google Drive laden","menu.google_sign_out":"Google Drive trennen","google_auth.title":"Google Drive-Zugriff erforderlich","google_auth.instructions":"Um diese Datei anzuzeigen, müssen Sie sich authentifizieren und die Datei aus Ihrem Google Drive auswählen, um Berechtigungen zu erteilen.","google_auth.picker_instructions_header":"Berechtigungen erforderlich","google_auth.picker_instructions":"Die Anwendung hat keine Berechtigung, diese Datei zu lesen. Bitte wählen Sie sie im Dateibrowser-Popup aus, um Zugriff zu gewähren. Wenn es sich um eine freigegebene Datei handelt, die nicht angezeigt wird, versuchen Sie zuerst, eine Verknüpfung zu Ihrem Drive hinzuzufügen.","google_auth.cancel":"Abbrechen","google_auth.grant_button":"Zugriff gewähren & Datei auswählen","google_auth.switch_account_button":"Konto wechseln","error.GOOGLE_DRIVE_NOT_CONFIGURED":"Die Google Drive-Integration ist nicht konfiguriert."},nde={"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 tableau généalogique","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","whats_new.title":"Quoi de neuf dans cette version?","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.BARM":"Bar Mitzvah","gedcom.BASM":"Bas Mitzvah","gedcom.BIRT":"Naissance","gedcom.BLES":"Bénédiction","gedcom.BURI":"Funérailles","gedcom.CENS":"Recensement","gedcom.CHR":"Baptême","gedcom.CHRA":"Baptême des adultes","gedcom.CONF":"Confirmation","gedcom.CREM":"Crémation","gedcom.DEAT":"Mort","gedcom.DEG":"Diplôme universitaire","gedcom.DIV":"Divorce","gedcom.DIVF":"Divorce déposé","gedcom.DSCR":"Description","gedcom.EDUC":"Études","gedcom.ELEC":"Nomination au poste","gedcom.EMAIL":"E-mail","gedcom.EMIG":"Émigration","gedcom.ENGA":"Fiançailles","gedcom.EVEN":"EVEN","gedcom.FACT":"FACT","gedcom.FCOM":"Première communion","gedcom.GRAD":"Achèvement de la formation","gedcom.IMMI":"Immigration","gedcom.MARB":"Équipe","gedcom.MARC":"Contrat de mariage ","gedcom.MARL":"Licence de mariage","gedcom.MARR":"Mariage","gedcom.MARS":"Contrat prénuptial","gedcom.MDCL":"Informations médicales","gedcom.MILT":"Service militaire","gedcom.NATU":"Naturalisation","gedcom.OBJE":"Fichiers supplémentaires","gedcom.OCCU":"Profession","gedcom.ORDN":"Ordination","gedcom.PROB":"Confirmation de volonté","gedcom.PROP":"Possession","gedcom.RESI":"Lieu de résidence","gedcom.RETI":"Retraite","gedcom.RELI":"Religion","gedcom.RIN":"ID","gedcom.SOUR":"Sources","gedcom.TITL":"Titre","gedcom.WILL":"Testament","gedcom.WWW":"Site Web","gedcom._UPD":"Dernière mise à jour","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":"Informations","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":"Identification","config.ids.HIDE":"cacher","config.ids.SHOW":"afficher","config.sex":"Sexe","config.sex.HIDE":"cacher","config.sex.SHOW":"afficher","head.source":"Source de données","name.unknown_name":"?","extras.images":"Images","extras.notes":"Notes","extras.sources":"Sources","extras.files":"Fichiers supplémentaires","family.immediate_family":"Famille proche","family.parents":"Parents","family.father":"Père","family.mother":"Mère","family.husband":"Mari","family.wife":"Femme","family.unknown_spouse":"Conjoint inconnu","family.children":"Enfants","family.child":"Enfant","media.not_uploaded":"Fichier non téléversé","menu.load_from_google_drive":"Charger depuis Google Drive","menu.google_sign_out":"Déconnecter Google Drive","google_auth.title":"Accès à Google Drive requis","google_auth.instructions":"Pour afficher ce fichier, vous devez vous authentifier et sélectionner le fichier depuis votre Google Drive pour accorder les autorisations.","google_auth.picker_instructions_header":"Autorisations requises","google_auth.picker_instructions":"L'application n'a pas l'autorisation de lire ce fichier. Veuillez le sélectionner dans la fenêtre contextuelle du navigateur de fichiers pour accorder l'accès. S'il s'agit d'un fichier partagé qui ne s'affiche pas, essayez d'abord d'ajouter un raccourci vers votre Drive.","google_auth.cancel":"Annuler","google_auth.grant_button":"Accorder l'accès et sélectionner le fichier","google_auth.switch_account_button":"Changer de compte","error.GOOGLE_DRIVE_NOT_CONFIGURED":"L'intégration de Google Drive n'est pas configurée."},rde={"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":"Scarica","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 albero genealogico","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":"fonte:","intro.whats_new":"Novità","intro.full_changelog":"Vedi il log delle modifiche completo","whats_new.title":"Cosa c'è di nuovo in questa versione?","intro.privacy":"Protezione dei dati","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":"Adozione","gedcom.BAPM":"Battesimo","gedcom.BARM":"Bar Mitzvah","gedcom.BASM":"Bas Mitzvah","gedcom.BIRT":"Nascita","gedcom.BLES":"Benedizione","gedcom.BURI":"Funerale","gedcom.CENS":"Census","gedcom.CHR":"Battesimo","gedcom.CHRA":"Battesimo degli adulti","gedcom.CONF":"Conferma","gedcom.CREM":"Cremazione","gedcom.DEAT":"Morte","gedcom.DEG":"Titolo accademico","gedcom.DIV":"Divorzio","gedcom.DIVF":"Divorzio depositato","gedcom.DSCR":"Descrizione","gedcom.EDUC":"Formazione","gedcom.ELEC":"Selezione per la posizione","gedcom.EMAIL":"E-mail","gedcom.EMIG":"Emigrazione","gedcom.ENGA":"Fidanzamento","gedcom.EVEN":"Evento","gedcom.FACT":"Caratteristica","gedcom.FCOM":"Prima Comunione","gedcom.GRAD":"Completamento della formazione","gedcom.IMMI":"Immigrazione","gedcom.MARB":"Squadra","gedcom.MARC":"Contratto di matrimonio","gedcom.MARL":"Licenza di matrimonio","gedcom.MARR":"Matrimonio","gedcom.MARS":"Contratto prematrimoniale","gedcom.MDCL":"Informazioni mediche","gedcom.MILT":"Servizio militare","gedcom.NATU":"Naturalizzazione","gedcom.OBJE":"File aggiuntivi","gedcom.OCCU":"Professione","gedcom.ORDN":"Ordinazione","gedcom.PROB":"Conferma di volontà","gedcom.PROP":"Possesso","gedcom.RESI":"Luogo di residenza","gedcom.RETI":"Pensione","gedcom.RELI":"Religione","gedcom.RIN":"ID","gedcom.SOUR":"Fonti","gedcom.TITL":"Titolo","gedcom.WILL":"Testamento","gedcom.WWW":"Sito web","gedcom._UPD":"Ultimo aggiornamento","gedcom.birth":"Nome alla nascita","gedcom.married":"Nome da coniugato/a","gedcom.maiden":"Nome da nubile","gedcom.immigrant":"Nome dell'immigrato","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 {Meno di 1 anno} one {1 anno} other {# anni}}","age.less":"Meno di {age, plural, =0 {1 anno} one {1 anno} other {# anni}}","age.more":"Più di {age, plural, =0 {0 anni} one {1 anno} other {# anni}}","age.between":"Tra {ageFrom} e {ageTo, plural, =0 {0 anni} one {1 anno} other {# anni}}","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":"Impossibile leggere il file GEDCOM","error.ERROR_LOADING_UPLOADED_FILE":"Errore durante il caricamento dei dati. Carica nuovamente il file.","error.WIKITREE_ID_NOT_PROVIDED":"È necessario fornire l'ID WikiTree.","error.WIKITREE_PROFILE_NOT_ACCESSIBLE":"Il profilo WikiTree {id} non è accessibile. Prova ad effettuare il login.","error.WIKITREE_PROFILE_NOT_FOUND":"Profilo WikiTree {id} non trovato","error.failed_to_load_image":"Impossibile caricare il file immagine","wikitree.private":"Privato","tab.info":"Informazioni","tab.settings":"Impostazioni","config.colors":"Colori","config.colors.NO_COLOR":"nessuno","config.colors.COLOR_BY_GENERATION":"per generazione","config.colors.COLOR_BY_SEX":"per sesso","config.ids":"Identificazione","config.ids.HIDE":"nascondere","config.ids.SHOW":"visualizzare","config.sex":"Sesso","config.sex.HIDE":"nascondere","config.sex.SHOW":"visualizzare","head.source":"Origine dati","name.unknown_name":"N.N.","extras.images":"Immagini","extras.notes":"Appunti","extras.sources":"Fonti","extras.files":"File aggiuntivi","family.immediate_family":"Famiglia stretta","family.parents":"Genitori","family.father":"Padre","family.mother":"Madre","family.husband":"Marito","family.wife":"Moglie","family.unknown_spouse":"Coniuge sconosciuto","family.children":"Figli","family.child":"Figlio","media.not_uploaded":"File non caricato","menu.load_from_google_drive":"Carica da Google Drive","menu.google_sign_out":"Disconnetti Google Drive","google_auth.title":"Accesso a Google Drive richiesto","google_auth.instructions":"Per visualizzare questo file, devi autenticarti e selezionare il file dal tuo Google Drive per concedere le autorisations.","google_auth.picker_instructions_header":"Autorizzazioni richieste","google_auth.picker_instructions":"L'applicazione non ha l'autorizzazione di leggere questo file. Selezionalo nel popup del browser dei file per concedere l'accesso. Se si tratta di un file condiviso che non viene visualizzato, prova prima ad aggiungere una scorciatoia al tuo Drive.","google_auth.cancel":"Annulla","google_auth.grant_button":"Concedi l'accesso e seleziona il file","google_auth.switch_account_button":"Cambia account","error.GOOGLE_DRIVE_NOT_CONFIGURED":"L'integrazione con Google Drive non è configurata."},ide={"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.donatso":"Donatso wykres rodzinny","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.RELI":"Religia","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}","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.error":"Błąd","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":"Informacje","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":"Identyfikator","config.ids.HIDE":"ukryj","config.ids.SHOW":"pokaż","config.sex":"Płeć","config.sex.HIDE":"ukryj","config.sex.SHOW":"pokaż","head.source":"Źródło danych","name.unknown_name":"N.N.","extras.images":"Zdjęcia","extras.notes":"Notatki","extras.sources":"Źródła","extras.files":"Dodatkowe pliki","family.immediate_family":"Najbliższa rodzina","family.parents":"Rodzice","family.father":"Ojciec","family.mother":"Matka","family.husband":"Mąż","family.wife":"Żona","family.unknown_spouse":"Nieznany współmałżonek","family.children":"Dzieci","family.child":"Dziecko","media.not_uploaded":"Plik nieprzesłany","menu.load_from_google_drive":"Otwórz z Dysku Google","menu.google_sign_out":"Rozłącz Dysk Google","google_auth.title":"Wymagany dostęp do Dysku Google","google_auth.instructions":"Aby wyświetlić ten plik, musisz się zalogować i wybrać plik z Dysku Google, aby przyznać uprawnienia.","google_auth.picker_instructions_header":"Wymagane uprawnienia","google_auth.picker_instructions":"Aplikacja nie ma uprawnień do odczytu tego pliku. Wybierz go w oknie wyszukiwania plików, aby przyznać dostęp. Jeśli to jest plik udostępniony, który się nie wyświetla, spróbuj najpierw dodać skrót do swojego Dysku.","google_auth.cancel":"Anuluj","google_auth.grant_button":"Przejdź do autoryzacji i wyboru pliku","google_auth.switch_account_button":"Przełącz konto","error.GOOGLE_DRIVE_NOT_CONFIGURED":"Integracja z Dyskiem Google nie jest skonfigurowana."},ade={"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":"Что нового в этой версии?","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.BARM":"Бар-мицва","gedcom.BASM":"Бас Мицва","gedcom.BIRT":"Рождение","gedcom.BLES":"Благословение","gedcom.BURI":"Похороны","gedcom.CENS":"Перепись населения","gedcom.CHR":"Крещение","gedcom.CHRA":"Крещение взрослых","gedcom.CONF":"Подтверждение","gedcom.CREM":"Кремация","gedcom.DEAT":"Смерть","gedcom.DEG":"Ученая степень","gedcom.DIV":"Развод","gedcom.DIVF":"Подано заявление о разводе","gedcom.DSCR":"Описание","gedcom.EDUC":"Образование","gedcom.ELEC":"Выбор на должность","gedcom.EMAIL":"E-mail","gedcom.EMIG":"Эмиграция","gedcom.ENGA":"Помолвка","gedcom.EVEN":"Событие","gedcom.FACT":"Факт","gedcom.FCOM":"Первое Причастие","gedcom.GRAD":"Завершение обучения","gedcom.IMMI":"Иммиграция","gedcom.MARB":"Отряд","gedcom.MARC":"Брачный контракт","gedcom.MARL":"Свидетельство о браке","gedcom.MARR":"Свадьба","gedcom.MARS":"Брачный договор","gedcom.MDCL":"Медицинская информация","gedcom.MILT":"Военная служба","gedcom.NATU":"Натурализация","gedcom.OBJE":"Дополнительные файлы","gedcom.OCCU":"Вид деятельности","gedcom.ORDN":"Рукоположение","gedcom.PROB":"Подтверждение завещания","gedcom.PROP":"Владение","gedcom.RESI":"Место жительства","gedcom.RETI":"Выход на пенсию","gedcom.RELI":"Религия","gedcom.RIN":"ID","gedcom.SOUR":"Источники","gedcom.TITL":"Титул","gedcom.WILL":"Завещание","gedcom.WWW":"Веб-сайт WWW","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":"Идентификатор","config.ids.HIDE":"Скрыть","config.ids.SHOW":"Показать","config.sex":"Пол","config.sex.HIDE":"Скрыть","config.sex.SHOW":"Показать","head.source":"Источник данных","name.unknown_name":"Неизвестно","extras.images":"Картинки","extras.notes":"Примечание","extras.sources":"Источники","extras.files":"Дополнительные файлы","family.immediate_family":"Ближайшие родственники","family.parents":"Родители","family.father":"Отец","family.mother":"Мать","family.husband":"Муж","family.wife":"Жена","family.unknown_spouse":"Неизвестный супруг(а)","family.children":"Дети","family.child":"Ребёнок","media.not_uploaded":"Файл не загружен","menu.load_from_google_drive":"Загрузить с Google Диска","menu.google_sign_out":"Отключить Google Диск","google_auth.title":"Требуется доступ к Google Диску","google_auth.instructions":"Чтобы просмотреть этот файл, необходимо пройти авторизацию и выбрать файл на Google Диске для предоставления разрешений.","google_auth.picker_instructions_header":"Требуются разрешения","google_auth.picker_instructions":"У приложения нет разрешения на чтение этого файла. Пожалуйста, выберите его во всплывающем окне выбора файлов, чтобы предоставить доступ. Если это общий файл, который не отображается, попробуйте сначала добавить ярлык на свой Диск.","google_auth.cancel":"Отмена","google_auth.grant_button":"Предоставить доступ и выбрать файл","google_auth.switch_account_button":"Сменить аккаунт","error.GOOGLE_DRIVE_NOT_CONFIGURED":"Интеграция с Google Диском не настроена."},ode={bg:Zfe,cs:ede,de:tde,fr:nde,it:rde,pl:ide,ru:ade},qR=navigator.language&&navigator.language.split(/[-_]/)[0],GR=L4(),sde=document.getElementById("root"),WR=V4.createRoot(sde);GR&&GR.name==="ie"?WR.render(O.jsx("p",{children:"Topola Genealogy Viewer does not support Internet Explorer. Please try a different (modern) browser."})):WR.render(O.jsx(Tz,{locale:qR,messages:ode[qR],children:O.jsxs(FZ,{children:[O.jsx("style",{children:DZ}),O.jsx(KU,{children:O.jsx(Jfe,{})})]})}));export{xf as _,AW as a,hi as c,yn as g,y9 as t,cde as z}; +`+le.prev}function ft(ae,le){var Me=Ee(ae),_t=[];if(Me){_t.length=ae.length;for(var St=0;St-1?t([s]):s},gw}var vw,xP;function u3(){if(xP)return vw;xP=1;var e=Zr(),t=e("%Array%"),r=!t.isArray&&fa()("Object.prototype.toString");return vw=t.isArray||function(i){return r(i)==="[object Array]"},vw}var yw,EP;function kx(){return EP||(EP=1,yw=u3()),yw}var Yh={exports:{}},ww,SP;function lce(){return SP||(SP=1,ww=Zr()),ww}var _w,CP;function xo(){if(CP)return _w;CP=1;var e=Et(),t=ks(),r={__proto__:null,"[[Configurable]]":!0,"[[Enumerable]]":!0,"[[Get]]":!0,"[[Set]]":!0,"[[Value]]":!0,"[[Writable]]":!0};return _w=function(i){if(!i||typeof i!="object")return!1;for(var a in i)if(t(i,a)&&!r[a])return!1;var s=t(i,"[[Value]]")||t(i,"[[Writable]]"),o=t(i,"[[Get]]")||t(i,"[[Set]]");if(s&&o)throw new e("Property Descriptors may not be both accessor and data descriptors");return!0},_w}var bw,kP;function c3(){if(kP)return bw;kP=1;var e=Vm(),t=ld(),r=e.hasArrayLengthDefineBug(),n=r&&u3(),i=fa(),a=i("Object.prototype.propertyIsEnumerable");return bw=function(o,l,u,c,d,p){if(!t){if(!o(p)||!p["[[Configurable]]"]||!p["[[Writable]]"]||d in c&&a(c,d)!==!!p["[[Enumerable]]"])return!1;var m=p["[[Value]]"];return c[d]=m,l(c[d],m)}return r&&d==="length"&&"[[Value]]"in p&&n(c)&&c.length!==p["[[Value]]"]?(c.length=p["[[Value]]"],c.length===p["[[Value]]"]):(t(c,d,u(p)),!0)},bw}var xw,AP;function uce(){return AP||(AP=1,xw=function(t){if(typeof t>"u")return t;var r={};return"[[Value]]"in t&&(r.value=t["[[Value]]"]),"[[Writable]]"in t&&(r.writable=!!t["[[Writable]]"]),"[[Get]]"in t&&(r.get=t["[[Get]]"]),"[[Set]]"in t&&(r.set=t["[[Set]]"]),"[[Enumerable]]"in t&&(r.enumerable=!!t["[[Enumerable]]"]),"[[Configurable]]"in t&&(r.configurable=!!t["[[Configurable]]"]),r}),xw}var Ew,TP;function f3(){if(TP)return Ew;TP=1;var e=Et(),t=xo(),r=uce();return Ew=function(i){if(typeof i<"u"&&!t(i))throw new e("Assertion failed: `Desc` must be a Property Descriptor");return r(i)},Ew}var Sw,IP;function Ax(){if(IP)return Sw;IP=1;var e=Et(),t=ks(),r=xo();return Sw=function(i){if(typeof i>"u")return!1;if(!r(i))throw new e("Assertion failed: `Desc` must be a Property Descriptor");return!(!t(i,"[[Value]]")&&!t(i,"[[Writable]]"))},Sw}var Cw,PP;function Tx(){if(PP)return Cw;PP=1;var e=ud();return Cw=function(r,n){return r===n?r===0?1/r===1/n:!0:e(r)&&e(n)},Cw}var kw,RP;function d3(){if(RP)return kw;RP=1;var e=Function.prototype.toString,t=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,r,n;if(typeof t=="function"&&typeof Object.defineProperty=="function")try{r=Object.defineProperty({},"length",{get:function(){throw n}}),n={},t(function(){throw 42},null,r)}catch(x){x!==n&&(t=null)}else t=null;var i=/^\s*class\b/,a=function(b){try{var C=e.call(b);return i.test(C)}catch{return!1}},s=function(b){try{return a(b)?!1:(e.call(b),!0)}catch{return!1}},o=Object.prototype.toString,l="[object Object]",u="[object Function]",c="[object GeneratorFunction]",d="[object HTMLAllCollection]",p="[object HTML document.all class]",m="[object HTMLCollection]",w=typeof Symbol=="function"&&!!Symbol.toStringTag,g=!(0 in[,]),_=function(){return!1};if(typeof document=="object"){var E=document.all;o.call(E)===o.call(document.all)&&(_=function(b){if((g||!b)&&(typeof b>"u"||typeof b=="object"))try{var C=o.call(b);return(C===d||C===p||C===m||C===l)&&b("")==null}catch{}return!1})}return kw=t?function(b){if(_(b))return!0;if(!b||typeof b!="function"&&typeof b!="object")return!1;try{t(b,null,r)}catch(C){if(C!==n)return!1}return!a(b)&&s(b)}:function(b){if(_(b))return!0;if(!b||typeof b!="function"&&typeof b!="object")return!1;if(w)return s(b);if(a(b))return!1;var C=o.call(b);return C!==u&&C!==c&&!/^\[object HTML/.test(C)?!1:s(b)},kw}var Aw,OP;function h3(){return OP||(OP=1,Aw=d3()),Aw}var Tw,NP;function cce(){return NP||(NP=1,Tw=function(t){return!!t}),Tw}var Iw,MP;function p3(){if(MP)return Iw;MP=1;var e=ks(),t=Et(),r=Ai(),n=h3(),i=cce();return Iw=function(s){if(!r(s))throw new t("ToPropertyDescriptor requires an object");var o={};if(e(s,"enumerable")&&(o["[[Enumerable]]"]=i(s.enumerable)),e(s,"configurable")&&(o["[[Configurable]]"]=i(s.configurable)),e(s,"value")&&(o["[[Value]]"]=s.value),e(s,"writable")&&(o["[[Writable]]"]=i(s.writable)),e(s,"get")){var l=s.get;if(typeof l<"u"&&!n(l))throw new t("getter must be a function");o["[[Get]]"]=l}if(e(s,"set")){var u=s.set;if(typeof u<"u"&&!n(u))throw new t("setter must be a function");o["[[Set]]"]=u}if((e(o,"[[Get]]")||e(o,"[[Set]]"))&&(e(o,"[[Value]]")||e(o,"[[Writable]]")))throw new t("Invalid property descriptor. Cannot both specify accessors and a value or writable attribute");return o},Iw}var Pw,DP;function fce(){if(DP)return Pw;DP=1;var e=Et(),t=Ai(),r=xo(),n=c3(),i=f3(),a=Ax(),s=As(),o=Tx(),l=p3();return Pw=function(c,d,p){if(!t(c))throw new e("Assertion failed: Type(O) is not Object");if(!s(d))throw new e("Assertion failed: P is not a Property Key");var m=r(p)?p:l(p);if(!r(m))throw new e("Assertion failed: Desc is not a valid Property Descriptor");return n(a,o,i,c,d,m)},Pw}var FP;function dce(){if(FP)return Yh.exports;FP=1;var e=lce(),t=e("%Reflect.construct%",!0),r=fce();try{r({},"",{"[[Get]]":function(){}})}catch{r=null}if(r&&t){var n={},i={};r(i,"length",{"[[Get]]":function(){throw n},"[[Enumerable]]":!0}),Yh.exports=function(s){try{t(s,i)}catch(o){return o===n}}}else Yh.exports=function(s){return typeof s=="function"&&!!s.prototype};return Yh.exports}var Rw,LP;function hce(){if(LP)return Rw;LP=1;var e=Zr(),t=e("%Symbol.species%",!0),r=Et(),n=l3(),i=Ai(),a=rce(),s=Ym(),o=kx(),l=dce();return Rw=function(c,d){if(!n(d)||d<0)throw new r("Assertion failed: length must be an integer >= 0");var p=o(c);if(!p)return a(d);var m=s(c,"constructor");if(t&&i(m)&&(m=s(m,t),m===null&&(m=void 0)),typeof m>"u")return a(d);if(!l(m))throw new r("C must be a constructor");return new m(d)},Rw}var Ow,jP;function m3(){return jP||(jP=1,Ow=Number.MAX_SAFE_INTEGER||9007199254740991),Ow}var Nw,BP;function pce(){if(BP)return Nw;BP=1;var e=Zr(),t=fa(),r=Et(),n=kx(),i=e("%Reflect.apply%",!0)||t("Function.prototype.apply");return Nw=function(s,o){var l=arguments.length>2?arguments[2]:[];if(!n(l))throw new r("Assertion failed: optional `argumentsList`, if provided, must be a List");return i(s,o,l)},Nw}var Mw,zP;function Ix(){if(zP)return Mw;zP=1;var e=Et(),t=ks(),r=xo();return Mw=function(i){if(typeof i>"u")return!1;if(!r(i))throw new e("Assertion failed: `Desc` must be a Property Descriptor");return!(!t(i,"[[Get]]")&&!t(i,"[[Set]]"))},Mw}var Dw,UP;function g3(){return UP||(UP=1,Dw=function(t){return t===null||typeof t!="function"&&typeof t!="object"}),Dw}var Fw,$P;function mce(){if($P)return Fw;$P=1;var e=Zr(),t=e("%Object.preventExtensions%",!0),r=e("%Object.isExtensible%",!0),n=g3();return Fw=t?function(a){return!n(a)&&r(a)}:function(a){return!n(a)},Fw}var Lw,HP;function gce(){if(HP)return Lw;HP=1;var e=xo();return Lw=function(r,n){return e(n)&&"[[Enumerable]]"in n&&"[[Configurable]]"in n&&(r.IsAccessorDescriptor(n)||r.IsDataDescriptor(n))},Lw}var jw,qP;function vce(){if(qP)return jw;qP=1;var e=Et(),t=Ix(),r=Ax(),n=xo();return jw=function(a){if(typeof a>"u")return!1;if(!n(a))throw new e("Assertion failed: `Desc` must be a Property Descriptor");return!t(a)&&!r(a)},jw}var Bw,GP;function yce(){if(GP)return Bw;GP=1;var e=Et(),t=Ai(),r=c3(),n=gce(),i=xo(),a=f3(),s=Ix(),o=Ax(),l=vce(),u=As(),c=Tx();return Bw=function(p,m,w,g,_){if(typeof p<"u"&&!t(p))throw new e("Assertion failed: O must be undefined or an Object");if(!u(m))throw new e("Assertion failed: P must be a Property Key");if(typeof w!="boolean")throw new e("Assertion failed: extensible must be a Boolean");if(!i(g))throw new e("Assertion failed: Desc must be a Property Descriptor");if(typeof _<"u"&&!i(_))throw new e("Assertion failed: current must be a Property Descriptor, or undefined");if(typeof _>"u")return w?typeof p>"u"?!0:s(g)?r(o,c,a,p,m,g):r(o,c,a,p,m,{"[[Configurable]]":!!g["[[Configurable]]"],"[[Enumerable]]":!!g["[[Enumerable]]"],"[[Value]]":g["[[Value]]"],"[[Writable]]":!!g["[[Writable]]"]}):!1;if(!n({IsAccessorDescriptor:s,IsDataDescriptor:o},_))throw new e("`current`, when present, must be a fully populated and valid Property Descriptor");if(!_["[[Configurable]]"]){if("[[Configurable]]"in g&&g["[[Configurable]]"]||"[[Enumerable]]"in g&&!c(g["[[Enumerable]]"],_["[[Enumerable]]"])||!l(g)&&!c(s(g),s(_)))return!1;if(s(_)){if("[[Get]]"in g&&!c(g["[[Get]]"],_["[[Get]]"])||"[[Set]]"in g&&!c(g["[[Set]]"],_["[[Set]]"]))return!1}else if(!_["[[Writable]]"]&&("[[Writable]]"in g&&g["[[Writable]]"]||"[[Value]]"in g&&!c(g["[[Value]]"],_["[[Value]]"])))return!1}if(typeof p<"u"){var E,x;return o(_)&&s(g)?(E=("[[Configurable]]"in g?g:_)["[[Configurable]]"],x=("[[Enumerable]]"in g?g:_)["[[Enumerable]]"],r(o,c,a,p,m,{"[[Configurable]]":!!E,"[[Enumerable]]":!!x,"[[Get]]":("[[Get]]"in g?g:_)["[[Get]]"],"[[Set]]":("[[Set]]"in g?g:_)["[[Set]]"]})):s(_)&&o(g)?(E=("[[Configurable]]"in g?g:_)["[[Configurable]]"],x=("[[Enumerable]]"in g?g:_)["[[Enumerable]]"],r(o,c,a,p,m,{"[[Configurable]]":!!E,"[[Enumerable]]":!!x,"[[Value]]":("[[Value]]"in g?g:_)["[[Value]]"],"[[Writable]]":!!("[[Writable]]"in g?g:_)["[[Writable]]"]})):r(o,c,a,p,m,g)}return!0},Bw}var zw,WP;function wce(){if(WP)return zw;WP=1;var e=Cs(),t=Wm(),r=Et(),n=Ai(),i=xo(),a=Ix(),s=mce(),o=As(),l=p3(),u=Tx(),c=yce();return zw=function(p,m,w){if(!n(p))throw new r("Assertion failed: O must be an Object");if(!o(m))throw new r("Assertion failed: P must be a Property Key");if(!i(w))throw new r("Assertion failed: Desc must be a Property Descriptor");if(!e){if(a(w))throw new t("This environment does not support accessor property descriptors.");var g=!(m in p)&&w["[[Writable]]"]&&w["[[Enumerable]]"]&&w["[[Configurable]]"]&&"[[Value]]"in w,_=m in p&&(!("[[Configurable]]"in w)||w["[[Configurable]]"])&&(!("[[Enumerable]]"in w)||w["[[Enumerable]]"])&&(!("[[Writable]]"in w)||w["[[Writable]]"])&&"[[Value]]"in w;if(g||_)return p[m]=w["[[Value]]"],u(p[m],w["[[Value]]"]);throw new t("This environment does not support defining non-writable, non-enumerable, or non-configurable properties")}var E=e(p,m),x=E&&l(E),b=s(p);return c(p,m,b,w,x)},zw}var Uw,VP;function _ce(){if(VP)return Uw;VP=1;var e=Et(),t=Ai(),r=As(),n=wce();return Uw=function(a,s,o){if(!t(a))throw new e("Assertion failed: Type(O) is not Object");if(!r(s))throw new e("Assertion failed: P is not a Property Key");var l={"[[Configurable]]":!0,"[[Enumerable]]":!0,"[[Value]]":o,"[[Writable]]":!0};return n(a,s,l)},Uw}var $w,QP;function bce(){if(QP)return $w;QP=1;var e=Et(),t=Ai(),r=_ce(),n=As();return $w=function(a,s,o){if(!t(a))throw new e("Assertion failed: Type(O) is not Object");if(!n(s))throw new e("Assertion failed: P is not a Property Key");var l=r(a,s,o);if(!l)throw new e("unable to create data property")},$w}var Hw,KP;function xce(){if(KP)return Hw;KP=1;var e=Et(),t=Ai(),r=As();return Hw=function(i,a){if(!t(i))throw new e("Assertion failed: `O` must be an Object");if(!r(a))throw new e("Assertion failed: `P` must be a Property Key");return a in i},Hw}var qw,YP;function Ece(){return YP||(YP=1,qw=function(t){return t===null||typeof t!="function"&&typeof t!="object"}),qw}var Gw,XP;function v3(){if(XP)return Gw;XP=1;var e=t3();return Gw=function(){return e()&&!!Symbol.toStringTag},Gw}var Ww,JP;function Sce(){if(JP)return Ww;JP=1;var e=fa(),t=e("Date.prototype.getDay"),r=function(o){try{return t(o),!0}catch{return!1}},n=e("Object.prototype.toString"),i="[object Date]",a=v3()();return Ww=function(o){return typeof o!="object"||o===null?!1:a?r(o):n(o)===i},Ww}var Xh={exports:{}},Vw,ZP;function Cce(){if(ZP)return Vw;ZP=1;var e=fa(),t=v3()(),r=ks(),n=Cs(),i;if(t){var a=e("RegExp.prototype.exec"),s={},o=function(){throw s},l={toString:o,valueOf:o};typeof Symbol.toPrimitive=="symbol"&&(l[Symbol.toPrimitive]=o),i=function(p){if(!p||typeof p!="object")return!1;var m=n(p,"lastIndex"),w=m&&r(m,"value");if(!w)return!1;try{a(p,l)}catch(g){return g===s}}}else{var u=e("Object.prototype.toString"),c="[object RegExp]";i=function(p){return!p||typeof p!="object"&&typeof p!="function"?!1:u(p)===c}}return Vw=i,Vw}var Qw,eR;function y3(){if(eR)return Qw;eR=1;var e=fa(),t=Cce(),r=e("RegExp.prototype.exec"),n=Et();return Qw=function(a){if(!t(a))throw new n("`regex` must be a RegExp");return function(o){return r(a,o)!==null}},Qw}var tR;function kce(){if(tR)return Xh.exports;tR=1;var e=fa(),t=e("Object.prototype.toString"),r=n3()(),n=y3();if(r){var i=e("Symbol.prototype.toString"),a=n(/^Symbol\(.*\)$/),s=function(l){return typeof l.valueOf()!="symbol"?!1:a(i(l))};Xh.exports=function(l){if(typeof l=="symbol")return!0;if(!l||typeof l!="object"||t(l)!=="[object Symbol]")return!1;try{return s(l)}catch{return!1}}}else Xh.exports=function(l){return!1};return Xh.exports}var Kw,nR;function Ace(){if(nR)return Kw;nR=1;var e=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol",t=Ece(),r=d3(),n=Sce(),i=kce(),a=function(l,u){if(typeof l>"u"||l===null)throw new TypeError("Cannot call method on "+l);if(typeof u!="string"||u!=="number"&&u!=="string")throw new TypeError('hint must be "string" or "number"');var c=u==="string"?["toString","valueOf"]:["valueOf","toString"],d,p,m;for(m=0;m1&&(arguments[1]===String?u="string":arguments[1]===Number&&(u="number"));var c;if(e&&(Symbol.toPrimitive?c=s(l,Symbol.toPrimitive):i(l)&&(c=Symbol.prototype.valueOf)),typeof c<"u"){var d=c.call(l,u);if(t(d))return d;throw new TypeError("unable to convert exotic object to primitive")}return u==="default"&&(n(l)||i(l))&&(u="string"),a(l,u==="default"?"number":u)},Kw}var Yw,rR;function Tce(){if(rR)return Yw;rR=1;var e=Ace();return Yw=function(r){return arguments.length>1?e(r,arguments[1]):e(r)},Yw}var Xw,iR;function Px(){if(iR)return Xw;iR=1;var e=Et();return Xw=function(r){if(r==null)throw new e(arguments.length>0&&arguments[1]||"Cannot call method on "+r);return r},Xw}var Jw,aR;function w3(){if(aR)return Jw;aR=1;var e=Zr(),t=e("%String%"),r=Et();return Jw=function(i){if(typeof i=="symbol")throw new r("Cannot convert a Symbol value to a string");return t(i)},Jw}var Zw,oR;function _3(){if(oR)return Zw;oR=1;var e=Px(),t=w3(),r=fa(),n=r("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]+/,s=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 Zw=function(){var l=t(e(this));return n(n(l,a,""),s,"")},Zw}var e_,sR;function b3(){if(sR)return e_;sR=1;var e=_3(),t="​",r="᠎";return e_=function(){return String.prototype.trim&&t.trim()===t&&r.trim()===r&&("_"+r).trim()==="_"+r&&(r+"_").trim()===r+"_"?String.prototype.trim:e},e_}var t_,lR;function Ice(){if(lR)return t_;lR=1;var e=Vm()(),t=bx(),r=b3();return t_=function(){var i=r();return String.prototype.trim!==i&&(e?t(String.prototype,"trim",i,!0):t(String.prototype,"trim",i)),i},t_}var n_,uR;function Pce(){if(uR)return n_;uR=1;var e=o3(),t=xx(),r=Px(),n=_3(),i=b3(),a=Ice(),s=e(i()),o=function(u){return r(u),s(u)};return t(o,{getPolyfill:i,implementation:n,shim:a}),n_=o,n_}var r_,cR;function Rce(){if(cR)return r_;cR=1;var e=Zr(),t=e("%RegExp%"),r=Et(),n=e("%parseInt%"),i=fa(),a=y3(),s=i("String.prototype.slice"),o=a(/^0b[01]+$/i),l=a(/^0o[0-7]+$/i),u=a(/^[-+]0x[0-9a-f]+$/i),c=["…","​","￾"].join(""),d=new t("["+c+"]","g"),p=a(d),m=Pce();return r_=function w(g){if(typeof g!="string")throw new r("Assertion failed: `argument` is not a String");if(o(g))return+n(s(g,2),2);if(l(g))return+n(s(g,2),8);if(p(g)||u(g))return NaN;var _=m(g);return _!==g?w(_):+g},r_}var i_,fR;function Oce(){if(fR)return i_;fR=1;var e=Zr(),t=Et(),r=e("%Number%"),n=g3(),i=Tce(),a=Rce();return i_=function(o){var l=n(o)?o:i(o,r);if(typeof l=="symbol")throw new t("Cannot convert a Symbol value to a number");if(typeof l=="bigint")throw new t("Conversion from 'BigInt' to 'number' is not allowed.");return typeof l=="string"?a(l):+l},i_}var a_,dR;function Nce(){if(dR)return a_;dR=1;var e=Ex();return a_=function(r){return typeof r=="bigint"?r:e(r)},a_}var o_,hR;function Mce(){if(hR)return o_;hR=1;var e=Nce(),t=Et();return o_=function(n){if(typeof n!="number"&&typeof n!="bigint")throw new t("argument must be a Number or a BigInt");var i=n<0?-e(-n):e(n);return i===0?0:i},o_}var s_,pR;function Dce(){if(pR)return s_;pR=1;var e=Oce(),t=Mce(),r=ud(),n=s3();return s_=function(a){var s=e(a);return r(s)||s===0?0:n(s)?t(s):s},s_}var l_,mR;function x3(){if(mR)return l_;mR=1;var e=m3(),t=Dce();return l_=function(n){var i=t(n);return i<=0?0:i>e?e:i},l_}var u_,gR;function Fce(){if(gR)return u_;gR=1;var e=Et(),t=Ai(),r=Ym(),n=x3();return u_=function(a){if(!t(a))throw new e("Assertion failed: `obj` must be an Object");return n(r(a,"length"))},u_}var c_,vR;function Lce(){if(vR)return c_;vR=1;var e=Et(),t=m3(),r=pce(),n=bce(),i=Ym(),a=xce(),s=kx(),o=Fce(),l=w3();return c_=function u(c,d,p,m,w){var g;arguments.length>5&&(g=arguments[5]);for(var _=m,E=0;E0&&(v=s(C)),v){var k=o(C);_=u(c,C,k,_,w-1)}else{if(_>=t)throw new e("index too large");n(c,l(_),C),_+=1}}E+=1}return _},c_}var f_,yR;function jce(){if(yR)return f_;yR=1;var e=Qm(),t=Px();return f_=function(n){return t(n),e(n)},f_}var d_,wR;function Bce(){return wR||(wR=1,d_=jce()),d_}var h_,_R;function E3(){if(_R)return h_;_R=1;var e=hce(),t=Lce(),r=Ym(),n=h3(),i=x3(),a=Bce();return h_=function(o){var l=a(this),u=i(r(l,"length"));if(!n(o))throw new TypeError("mapperFunction must be a function");var c;arguments.length>1&&(c=arguments[1]);var d=e(l,0);return t(d,l,u,0,1,o,c),d},h_}var p_,bR;function S3(){if(bR)return p_;bR=1;var e=E3();return p_=function(){return Array.prototype.flatMap||e},p_}var m_,xR;function zce(){if(xR)return m_;xR=1;var e=ks(),t=typeof Symbol=="function"&&typeof Symbol.unscopables=="symbol",r=t&&Array.prototype[Symbol.unscopables],n=TypeError;return m_=function(a){if(typeof a!="string"||!a)throw new n("method must be a non-empty string");if(!e(Array.prototype,a))throw new n("method must be on Array.prototype");t&&(r[a]=!0)},m_}var g_,ER;function Uce(){if(ER)return g_;ER=1;var e=xx(),t=zce(),r=S3();return g_=function(){var i=r();return e(Array.prototype,{flatMap:i},{flatMap:function(){return Array.prototype.flatMap!==i}}),t("flatMap"),i},g_}var v_,SR;function $ce(){if(SR)return v_;SR=1;var e=xx(),t=o3(),r=E3(),n=S3(),i=n(),a=Uce(),s=t(i);return e(s,{getPolyfill:n,implementation:r,shim:a}),v_=s,v_}var Hce=$ce();const Xm=yn(Hce);function C3({files:e}){return e!=null&&e.length?O.jsx(Ke,{children:e.map((t,r)=>O.jsxs(Ke.Item,{children:[O.jsx(Ke.Icon,{verticalAlign:"middle",name:"circle",size:"tiny"}),O.jsxs(Ke.Content,{children:[O.jsx(Ke.Header,{children:O.jsx("a",{target:"_blank",href:t.url,rel:"noopener noreferrer",children:t.filename||t.url.split("/").pop()||t.url})}),O.jsx(Ke.Description,{children:t.titl&&O.jsx("div",{children:t.titl})})]})]},r))}):null}function qce(e,t,r){const n=Mf(e,t),i=e.qualifier||t.qualifier,a=i&&jD(i,r)+" ";return r.formatMessage({id:"age.exact",defaultMessage:"{qualifier}{age, plural, =0 {Less than 1 year} one {1 year} other {# years}}"},{age:n,qualifier:a})}function Jh(e,t,r){const n=Mf(e,t);return r.formatMessage({id:"age.more",defaultMessage:"More than {age, plural, =0 {0 years} one {1 year} other {# years}}"},{age:n})}function Zh(e,t,r){const n=Mf(e,t);return r.formatMessage({id:"age.less",defaultMessage:"Less than {age, plural, =0 {1 year} one {1 year} other {# years}}"},{age:n})}function y_(e,t,r,n,i){const a=Mf(t,r),s=Mf(e,n);return i.formatMessage({id:"age.between",defaultMessage:"Between {ageFrom} and {ageTo, plural, =0 {0 years} one {1 year} other {# years}}"},{ageFrom:a,ageTo:s})}function Gce(e,t){return e&&t?!g1(e)||!g1(t)||ed(e,t)>0?!1:e.dateRange&&t.dateRange&&v1(e==null?void 0:e.dateRange)&&v1(t==null?void 0:t.dateRange)?!lZ(e.dateRange,t.dateRange):!0:!1}function Mf(e,t){const r=y1(e),n=y1(t),i=r.getUTCFullYear();let a=n.getUTCFullYear()-i,s=n.getUTCMonth()-r.getUTCMonth();return s<0&&(a--,s+=12),n.getUTCDate()-r.getUTCDate()<0&&s<=0&&a--,Math.abs(a)}function Wce(e,t,r){var n,i,a,s,o,l,u,c,d,p,m,w,g,_,E,x,b,C,v,k,T,N,M,j,D,$,X,W,H,V,K,Y,q,F;if(e&&t){const G=hn.getDate(e),z=hn.getDate(t);if(Gce(G,z)){if(G!=null&&G.date){if(z!=null&&z.date)return qce(G.date,z.date,r);if((n=z==null?void 0:z.dateRange)!=null&&n.from&&((i=z.dateRange)!=null&&i.to))return y_(G.date,G.date,(a=z==null?void 0:z.dateRange)==null?void 0:a.from,(s=z==null?void 0:z.dateRange)==null?void 0:s.to,r);if((o=z==null?void 0:z.dateRange)!=null&&o.from)return Jh(G.date,(l=z.dateRange)==null?void 0:l.from,r);if((u=z==null?void 0:z.dateRange)!=null&&u.to)return Zh(G.date,(c=z.dateRange)==null?void 0:c.to,r)}if((d=G==null?void 0:G.dateRange)!=null&&d.from&&((p=G==null?void 0:G.dateRange)!=null&&p.to)){if(z!=null&&z.date)return y_((m=G==null?void 0:G.dateRange)==null?void 0:m.from,(w=G==null?void 0:G.dateRange)==null?void 0:w.to,z==null?void 0:z.date,z==null?void 0:z.date,r);if((g=z==null?void 0:z.dateRange)!=null&&g.from&&((_=z.dateRange)!=null&&_.to))return y_((E=G==null?void 0:G.dateRange)==null?void 0:E.from,(x=G==null?void 0:G.dateRange)==null?void 0:x.to,(b=z==null?void 0:z.dateRange)==null?void 0:b.from,(C=z==null?void 0:z.dateRange)==null?void 0:C.to,r);if((v=z==null?void 0:z.dateRange)!=null&&v.from)return Jh((k=G.dateRange)==null?void 0:k.to,(T=z.dateRange)==null?void 0:T.from,r);if((N=z==null?void 0:z.dateRange)!=null&&N.to)return Zh((M=G.dateRange)==null?void 0:M.from,(j=z.dateRange)==null?void 0:j.to,r)}if((D=G==null?void 0:G.dateRange)!=null&&D.from){if(z!=null&&z.date)return Zh(($=G.dateRange)==null?void 0:$.from,z.date,r);if((X=z==null?void 0:z.dateRange)!=null&&X.to)return Zh((W=G.dateRange)==null?void 0:W.from,(H=z.dateRange)==null?void 0:H.to,r)}if((V=G==null?void 0:G.dateRange)!=null&&V.to){if(z!=null&&z.date)return Jh((K=G==null?void 0:G.dateRange)==null?void 0:K.to,z.date,r);if((Y=z==null?void 0:z.dateRange)!=null&&Y.from)return Jh((q=G==null?void 0:G.dateRange)==null?void 0:q.to,(F=z.dateRange)==null?void 0:F.from,r)}}}}var ep={},tp={},np={},CR;function Vce(){if(CR)return np;CR=1,Object.defineProperty(np,"__esModule",{value:!0});var e=ho(),t=r(e);function r(n){if(n&&n.__esModule)return n;var i={};if(n!=null)for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(i[a]=n[a]);return i.default=n,i}return np.default=function(n,i,a){return t.createElement("a",{href:n,key:a},i)},np}var rp={},kR;function Qce(){return kR||(kR=1,Object.defineProperty(rp,"__esModule",{value:!0}),rp.default=function(e){return e}),rp}var ip={},w_,AR;function Kce(){return AR||(AR=1,w_=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/),w_}var __,TR;function Yce(){return TR||(TR=1,__=/[\0-\x1F\x7F-\x9F]/),__}var b_,IR;function Xce(){return IR||(IR=1,b_=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/),b_}var x_,PR;function Jce(){return PR||(PR=1,x_=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\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]/),x_}var E_,RR;function Zce(){return RR||(RR=1,E_=function(e){var t={};t.src_Any=Kce().source,t.src_Cc=Yce().source,t.src_Z=Xce().source,t.src_P=Jce().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 r="[><|]";return t.src_pseudo_letter="(?:(?!"+r+"|"+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="(?=$|"+r+"|"+t.src_ZPCc+")(?!-|_|:\\d|\\.-|\\.(?!$|"+t.src_ZPCc+"))",t.src_path="(?:[/?#](?:(?!"+t.src_ZCc+"|"+r+`|[()[\\]{}.,"'?!\\-]).|\\[(?:(?!`+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="(^|"+r+'|"|\\(|'+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}),E_}var S_,OR;function efe(){if(OR)return S_;OR=1;function e(b){var C=Array.prototype.slice.call(arguments,1);return C.forEach(function(v){v&&Object.keys(v).forEach(function(k){b[k]=v[k]})}),b}function t(b){return Object.prototype.toString.call(b)}function r(b){return t(b)==="[object String]"}function n(b){return t(b)==="[object Object]"}function i(b){return t(b)==="[object RegExp]"}function a(b){return t(b)==="[object Function]"}function s(b){return b.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var o={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function l(b){return Object.keys(b||{}).reduce(function(C,v){return C||o.hasOwnProperty(v)},!1)}var u={"http:":{validate:function(b,C,v){var k=b.slice(C);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(k)?k.match(v.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(b,C,v){var k=b.slice(C);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(k)?C>=3&&b[C-3]===":"||C>=3&&b[C-3]==="/"?0:k.match(v.re.no_http)[0].length:0}},"mailto:":{validate:function(b,C,v){var k=b.slice(C);return v.re.mailto||(v.re.mailto=new RegExp("^"+v.re.src_email_name+"@"+v.re.src_host_strict,"i")),v.re.mailto.test(k)?k.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]",d="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function p(b){b.__index__=-1,b.__text_cache__=""}function m(b){return function(C,v){var k=C.slice(v);return b.test(k)?k.match(b)[0].length:0}}function w(){return function(b,C){C.normalize(b)}}function g(b){var C=b.re=Zce()(b.__opts__),v=b.__tlds__.slice();b.onCompile(),b.__tlds_replaced__||v.push(c),v.push(C.src_xn),C.src_tlds=v.join("|");function k(j){return j.replace("%TLDS%",C.src_tlds)}C.email_fuzzy=RegExp(k(C.tpl_email_fuzzy),"i"),C.link_fuzzy=RegExp(k(C.tpl_link_fuzzy),"i"),C.link_no_ip_fuzzy=RegExp(k(C.tpl_link_no_ip_fuzzy),"i"),C.host_fuzzy_test=RegExp(k(C.tpl_host_fuzzy_test),"i");var T=[];b.__compiled__={};function N(j,D){throw new Error('(LinkifyIt) Invalid schema "'+j+'": '+D)}Object.keys(b.__schemas__).forEach(function(j){var D=b.__schemas__[j];if(D!==null){var $={validate:null,link:null};if(b.__compiled__[j]=$,n(D)){i(D.validate)?$.validate=m(D.validate):a(D.validate)?$.validate=D.validate:N(j,D),a(D.normalize)?$.normalize=D.normalize:D.normalize?N(j,D):$.normalize=w();return}if(r(D)){T.push(j);return}N(j,D)}}),T.forEach(function(j){b.__compiled__[b.__schemas__[j]]&&(b.__compiled__[j].validate=b.__compiled__[b.__schemas__[j]].validate,b.__compiled__[j].normalize=b.__compiled__[b.__schemas__[j]].normalize)}),b.__compiled__[""]={validate:null,normalize:w()};var M=Object.keys(b.__compiled__).filter(function(j){return j.length>0&&b.__compiled__[j]}).map(s).join("|");b.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+C.src_ZPCc+"))("+M+")","i"),b.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+C.src_ZPCc+"))("+M+")","ig"),b.re.pretest=RegExp("("+b.re.schema_test.source+")|("+b.re.host_fuzzy_test.source+")|@","i"),p(b)}function _(b,C){var v=b.__index__,k=b.__last_index__,T=b.__text_cache__.slice(v,k);this.schema=b.__schema__.toLowerCase(),this.index=v+C,this.lastIndex=k+C,this.raw=T,this.text=T,this.url=T}function E(b,C){var v=new _(b,C);return b.__compiled__[v.schema].normalize(v,b),v}function x(b,C){if(!(this instanceof x))return new x(b,C);C||l(b)&&(C=b,b={}),this.__opts__=e({},o,C),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=e({},u,b),this.__compiled__={},this.__tlds__=d,this.__tlds_replaced__=!1,this.re={},g(this)}return x.prototype.add=function(C,v){return this.__schemas__[C]=v,g(this),this},x.prototype.set=function(C){return this.__opts__=e(this.__opts__,C),this},x.prototype.test=function(C){if(this.__text_cache__=C,this.__index__=-1,!C.length)return!1;var v,k,T,N,M,j,D,$,X;if(this.re.schema_test.test(C)){for(D=this.re.schema_search,D.lastIndex=0;(v=D.exec(C))!==null;)if(N=this.testSchemaAt(C,v[2],D.lastIndex),N){this.__schema__=v[2],this.__index__=v.index+v[1].length,this.__last_index__=v.index+v[0].length+N;break}}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&($=C.search(this.re.host_fuzzy_test),$>=0&&(this.__index__<0||$=0&&(T=C.match(this.re.email_fuzzy))!==null&&(M=T.index+T[1].length,j=T.index+T[0].length,(this.__index__<0||Mthis.__last_index__)&&(this.__schema__="mailto:",this.__index__=M,this.__last_index__=j))),this.__index__>=0},x.prototype.pretest=function(C){return this.re.pretest.test(C)},x.prototype.testSchemaAt=function(C,v,k){return this.__compiled__[v.toLowerCase()]?this.__compiled__[v.toLowerCase()].validate(C,k,this):0},x.prototype.match=function(C){var v=0,k=[];this.__index__>=0&&this.__text_cache__===C&&(k.push(E(this,v)),v=this.__last_index__);for(var T=v?C.slice(v):C;this.test(T);)k.push(E(this,v)),T=T.slice(this.__last_index__),v+=this.__last_index__;return k.length?k:null},x.prototype.tlds=function(C,v){return C=Array.isArray(C)?C:[C],v?(this.__tlds__=this.__tlds__.concat(C).sort().filter(function(k,T,N){return k!==N[T-1]}).reverse(),g(this),this):(this.__tlds__=C.slice(),this.__tlds_replaced__=!0,g(this),this)},x.prototype.normalize=function(C){C.schema||(C.url="http://"+C.url),C.schema==="mailto:"&&!/^mailto:/i.test(C.url)&&(C.url="mailto:"+C.url)},x.prototype.onCompile=function(){},S_=x,S_}const tfe=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 NR;function nfe(){if(NR)return ip;NR=1,Object.defineProperty(ip,"__esModule",{value:!0});var e=efe(),t=i(e),r=tfe,n=i(r);function i(s){return s&&s.__esModule?s:{default:s}}var a=new t.default;return a.tlds(n.default),ip.default=function(s){return a.match(s)},ip}var ap={},MR;function rfe(){return MR||(MR=1,Object.defineProperty(ap,"__esModule",{value:!0}),ap.default=function(e){return e}),ap}var DR;function ife(){if(DR)return tp;DR=1,Object.defineProperty(tp,"__esModule",{value:!0});var e=function(){function E(x,b){for(var C=0;CN&&T.push(C.substring(N,M.index));var D=v.props.hrefDecorator(M.url),$=v.props.textDecorator(M.text),X=v.props.componentDecorator(D,$,j);T.push(X),N=M.lastIndex}),C.length>N&&T.push(C.substring(N)),T.length===1?T[0]:T}},{key:"parse",value:function(C){var v=this,k=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return typeof C=="string"?this.parseString(C):r.isValidElement(C)&&C.type!=="a"&&C.type!=="button"?r.cloneElement(C,{key:k},this.parse(C.props.children)):Array.isArray(C)?C.map(function(T,N){return v.parse(T,N)}):C}},{key:"render",value:function(){return r.createElement(r.Fragment,null,this.parse(this.props.children))}}]),x}(r.Component);return _.defaultProps={componentDecorator:i.default,hrefDecorator:s.default,matchDecorator:l.default,textDecorator:c.default},tp.default=_,tp}var FR;function afe(){if(FR)return ep;FR=1,Object.defineProperty(ep,"__esModule",{value:!0});var e=ife(),t=r(e);function r(n){return n&&n.__esModule?n:{default:n}}return ep.default=t.default,ep}var ofe=afe();const sfe=yn(ofe);function j1({children:e}){return O.jsx(sfe,{componentDecorator:(t,r,n)=>O.jsx("a",{href:t,target:"_blank",rel:"noopener noreferrer",children:r},n),children:e})}function Rx(e){return O.jsx(O.Fragment,{children:e.lines.map((t,r)=>O.jsxs("div",{children:[O.jsx(j1,{children:t}),O.jsx("br",{})]},r))})}function k3({sources:e}){const t=fr();return e!=null&&e.length?O.jsx(Ke,{children:e.map((r,n)=>O.jsxs(Ke.Item,{children:[O.jsx(Ke.Icon,{verticalAlign:"middle",name:"circle",size:"tiny"}),O.jsxs(Ke.Content,{children:[O.jsx(Ke.Header,{children:O.jsx(j1,{children:[r.author,r.title,r.publicationInfo].filter(i=>!!i).join(", ")})}),O.jsxs(Ke.Description,{children:[O.jsx(j1,{children:r.page}),r.date&&` [${eu(r.date,t)}]`]})]})]},n))}):null}function A3(e){const[t,r]=J.useState(!1),[n,i]=J.useState(!1),[a,s]=J.useState(!1),[o,l]=J.useState("");return Zb(e.url)?(n&&o!==e.url&&i(!1),O.jsxs(O.Fragment,{children:[O.jsx(sn,{className:n?"loaded-image-thumbnail":"hidden-image",onClick:()=>r(!0),onLoad:()=>{i(!0),l(e.url),s(!1)},onError:u=>{i(!0),l(e.url),s(!0),u.currentTarget.alt=""},src:e.url,alt:e.title||e.filename,centered:!0}),O.jsx(bi,{className:n?"hidden-image":"image-placeholder",children:O.jsx(bi.Image,{square:!0})}),a&&O.jsx(ff,{fluid:!0,textAlign:"center",children:O.jsx(Dn,{negative:!0,compact:!0,children:O.jsx(Dn.Header,{children:O.jsx(Re,{id:"error.failed_to_load_image",defaultMessage:"Failed to load image file"})})})}),O.jsxs(Yt,{basic:!0,size:"large",closeIcon:O.jsx(Je,{name:"close",color:"red"}),open:t,onClose:()=>r(!1),onOpen:()=>r(!0),centered:!1,children:[O.jsx(Yt.Header,{children:e.title}),O.jsx(Yt.Content,{image:!0,children:O.jsx(sn,{className:"modal-image",src:e.url,alt:e.title||e.filename,label:O.jsx(ur,{attached:"bottom",content:e.filename}),wrapped:!0})})]})]})):O.jsx(Sn,{centered:!0,style:{width:"100%",maxWidth:"290px",margin:"0 auto 14px"},children:O.jsxs(Sn.Content,{textAlign:"center",style:{backgroundColor:"#f9f9f9"},children:[O.jsx(Je,{name:"image",size:"huge",color:"grey",style:{marginBottom:"10px",opacity:.6}}),O.jsx(Sn.Header,{style:{fontSize:"14px",wordBreak:"break-all"},children:e.title||e.filename}),O.jsx(Sn.Meta,{style:{marginTop:"5px",fontStyle:"italic"},children:O.jsx(Re,{id:"media.not_uploaded",defaultMessage:"File not uploaded"})})]})})}function lfe(e){return!!e&&e.map((t,r)=>O.jsx(Ke,{children:O.jsx(Ke.Item,{children:O.jsx(A3,{url:t.url,filename:t.filename,title:t.title})})},r))}function ufe(e){return!!(e!=null&&e.length)&&e.map((t,r)=>O.jsx("div",{children:O.jsx(Rx,{lines:t.map((n,i)=>O.jsx("i",{children:n},i))})},r))}function cfe(e){var d,p,m,w;const[t,r]=J.useState(-1),[n,i]=J.useState("");(!n||n!==e.indi)&&(r(-1),i(e.indi));function a(g,_){_.index!==void 0&&t!==_.index?r(_.index):r(-1)}const s=((d=e.images)==null?void 0:d.length)&&{menuItem:O.jsx(Kt.Item,{fitted:!0,onClick:a,children:O.jsx(Wi,{content:O.jsx(Re,{id:"extras.images",defaultMessage:"Images"}),size:"mini",position:"bottom center",trigger:O.jsx(Je,{circular:!0,name:"camera"})})},"images"),render:()=>O.jsx(Wr.Pane,{children:lfe(e.images)})},o=((p=e.notes)==null?void 0:p.length)&&{menuItem:O.jsx(Kt.Item,{fitted:!0,onClick:a,children:O.jsx(Wi,{content:O.jsx(Re,{id:"extras.notes",defaultMessage:"Notes"}),size:"mini",position:"bottom center",trigger:O.jsx(Je,{circular:!0,name:"sticky note outline"})})},"notes"),render:()=>O.jsx(Wr.Pane,{children:ufe(e.notes)})},l=((m=e.sources)==null?void 0:m.length)&&{menuItem:O.jsx(Kt.Item,{fitted:!0,onClick:a,children:O.jsx(Wi,{content:O.jsx(Re,{id:"extras.sources",defaultMessage:"Sources"}),size:"mini",position:"bottom center",trigger:O.jsx(Je,{circular:!0,name:"quote right"})})},"sources"),render:()=>O.jsx(Wr.Pane,{children:O.jsx(k3,{sources:e.sources})})},u=((w=e.files)==null?void 0:w.length)&&{menuItem:O.jsx(Kt.Item,{fitted:!0,onClick:a,children:O.jsx(Wi,{content:O.jsx(Re,{id:"extras.files",defaultMessage:"Additional files"}),size:"mini",position:"bottom center",trigger:O.jsx(Je,{circular:!0,name:"file alternate outline"})})},"files"),render:()=>O.jsx(Wr.Pane,{children:O.jsx(C3,{files:e.files})})},c=[s,o,l,u].flatMap(g=>g?[g]:[]);return c.length?O.jsx(lt.Description,{children:O.jsx(Wr,{className:"event-extras",activeIndex:t,renderActiveOnly:!0,menu:{tabular:!0,attached:!0,compact:!0,borderless:!0},panes:c})}):null}function Lc(e){const t=hr(),r=bZ(e.person),n=dn.parse(t.search);return n.indi=Wn(e.person.pointer),O.jsx(yl,{to:{pathname:"/view",search:dn.stringify(n)},children:r||O.jsx(Re,{id:"name.unknown_name",defaultMessage:"N.N."})})}const ffe=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 ps(e){const t=e.tag.replace(/_/g,"");return O.jsx(Re,{id:`gedcom.${t}`,defaultMessage:ffe.get(t)||t})}const Ox=["BIRT"],dfe=["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"],T3=["ANUL","CENS","DIV","DIVF","ENGA","EVEN","MARB","MARC","MARL","MARR","MARS"],I3=[...dfe,...T3],Nx=["DEAT"],P3=["BURI","CREM","PROB"],hfe=[Ox,I3,Nx,P3],pfe=[...Ox,...I3,...Nx,...P3];function mfe(e){const t=fr();return O.jsxs("div",{className:"item-header",children:[O.jsx($t,{as:"span",size:"small",children:O.jsx(ps,{tag:gfe(e.event)})}),e.event.date?O.jsx($t,{as:"span",textAlign:"right",sub:!0,children:eu(e.event.date,t)}):null]})}function gfe(e){return e.tag==="EVEN"&&e.type?e.type:e.tag}function vfe(e,t,r){const n=t.tree.filter(i=>["WIFE","HUSB"].includes(i.tag)).find(i=>!i.data.includes(e));if(n)return Jr(n,r,i=>i.indis)}function yfe(e,t,r,n){if(!Nx.includes(e.tag))return;const i=tu(e),a=r.indis[t].tree.filter(s=>Ox.includes(s.tag)).map(s=>tu(s)).find(s=>s);if(!(!a||!i))return Wce(a==null?void 0:a.data,i==null?void 0:i.data,n)}function R3(e){const t=e.tree.find(r=>r.tag==="PLAC");return t!=null&&t.data?hs(t):void 0}function O3(e,t,r){const n=[];return e.tree.filter(i=>i.tag==="OBJE").forEach(i=>{const a=Jr(i,t,o=>o.other),s=HD(a);s&&n.push({url:td(s.data,r),filename:Mm(s)||""})}),n}function N3(e,t,r){const n=[];return e.tree.filter(i=>i.tag==="OBJE").forEach(i=>{var o;const a=Jr(i,t,l=>l.other),s=$D(a);s&&n.push({url:td(s.data,r),filename:Mm(s),titl:(o=a.tree.find(l=>l.tag==="TITL"))==null?void 0:o.data})}),n}function M3(e,t){return e.tree.filter(r=>r.tag==="SOUR").map(r=>GD(r,t))}function D3(e,t){const r=e.tree.filter(i=>i.tag==="NOTE").map(i=>Jr(i,t,a=>a.other)),n=e.tag!=="EVEN"?e.tree.filter(i=>i.tag==="TYPE"):[];return[e,...n,...r].filter(i=>!!i.data).filter(i=>i.data!=="Y").map(i=>hs(i))}function wfe(e,t,r,n,i){return e.tag==="FAMS"?bfe(e,t,r,i):_fe(e,t,r,n,i)}function _fe(e,t,r,n,i){const a=tu(e)||null;return[{tag:e.tag,date:a?hn.getDate(a.data):void 0,type:qD(e),age:yfe(e,r,t,n),place:R3(e),images:O3(e,t,i),files:N3(e,t,i),notes:D3(e,t),sources:M3(e,t),indi:r}]}function bfe(e,t,r,n){const i=Jr(e,t,a=>a.fams);return Xm(T3,a=>i.tree.filter(s=>s.tag===a)).map(a=>{const s=tu(a)||null;return{tag:a.tag,date:s?hn.getDate(s.data):void 0,type:qD(a),personLink:vfe(r,i,t),place:R3(a),images:O3(a,t,n),files:N3(a,t,n),notes:D3(a,t),sources:M3(a,t),indi:r}})}function xfe(e){return O.jsx(lt,{children:O.jsxs(lt.Content,{children:[O.jsx(mfe,{event:e.event}),!!e.event.age&&O.jsx(lt.Meta,{children:e.event.age}),!!e.event.personLink&&O.jsx(Lc,{person:e.event.personLink}),!!e.event.place&&O.jsx(lt.Description,{children:e.event.place}),O.jsx(cfe,{images:e.event.images,notes:e.event.notes,sources:e.event.sources,indi:e.event.indi,files:e.event.files})]})})}function Efe(e){const t=fr(),r=Xm(hfe,n=>e.entries.filter(i=>n.includes(i.tag)).map(i=>wfe(i,e.gedcom,e.indi,t,e.images)).flatMap(i=>i).sort((i,a)=>ed(i.date,a.date)));return r.length?O.jsx(O.Fragment,{children:r.map((n,i)=>O.jsx(xfe,{event:n},i))}):null}function Sfe(e,t,r){var c,d;const n=(c=e.tree)==null?void 0:c.find(p=>["HUSB","WIFE"].includes(p.tag)&&Wn(p.data)!==r),i=n?Wn(n.data):void 0,a=i?t.indis[i]:void 0,u=(((d=e.tree)==null?void 0:d.filter(p=>p.tag==="CHIL"))||[]).filter(p=>!!t.indis[Wn(p.data)]).map(p=>{const m=t.indis[Wn(p.data)],w=m==null?void 0:m.tree.find(E=>E.tag==="BIRT"),g=w?tu(w):void 0,_=g?hn.getDate(g.data):void 0;return{childEntry:m,parsedDate:_}}).sort((p,m)=>ed(p.parsedDate,m.parsedDate)).map(p=>p.childEntry);return{familyId:Wn(e.pointer),spouseTag:n==null?void 0:n.tag,spouseRecord:a,children:u}}function Cfe(e){const t=e.gedcom.indis[e.indi];if(!t)return null;const r=t.tree,n=r.find(b=>b.tag==="FAMC"),i=n?e.gedcom.fams[Wn(n.data)]:void 0,a=(i==null?void 0:i.tag)==="FAM",s=a?i==null?void 0:i.tree.find(b=>b.tag==="HUSB"):void 0,o=a?i==null?void 0:i.tree.find(b=>b.tag==="WIFE"):void 0,l=s?Wn(s.data):void 0,u=l?e.gedcom.indis[l]:void 0,c=o?Wn(o.data):void 0,d=c?e.gedcom.indis[c]:void 0,p=u||d,_=r.filter(b=>b.tag==="FAMS").map(b=>e.gedcom.fams[Wn(b.data)]).map(b=>Sfe(b,e.gedcom,e.indi)).filter(b=>b.spouseRecord||b.children.length>0),E=_.length,x=E>0;return!p&&!x?null:O.jsx(lt,{children:O.jsxs(lt.Content,{children:[O.jsx("div",{className:"item-header",children:O.jsx($t,{as:"span",size:"small",children:O.jsx(Re,{id:"family.immediate_family",defaultMessage:"Immediate Family"})})}),p&&O.jsxs("div",{className:"parents-block",children:[u&&O.jsxs("div",{children:[O.jsx("strong",{children:O.jsx(Re,{id:"family.father",defaultMessage:"Father"})}),": ",O.jsx(Lc,{person:u})]}),d&&O.jsxs("div",{children:[O.jsx("strong",{children:O.jsx(Re,{id:"family.mother",defaultMessage:"Mother"})}),": ",O.jsx(Lc,{person:d})]})]}),_.map(b=>{const C=!b.spouseRecord&&E>1;return O.jsxs("div",{className:"spousal-group",children:[b.spouseRecord?O.jsxs("div",{children:[O.jsx("strong",{children:b.spouseTag==="HUSB"?O.jsx(Re,{id:"family.husband",defaultMessage:"Husband"}):O.jsx(Re,{id:"family.wife",defaultMessage:"Wife"})}),": ",O.jsx(Lc,{person:b.spouseRecord})]}):C?O.jsx("div",{children:O.jsx("strong",{children:O.jsx(Re,{id:"family.unknown_spouse",defaultMessage:"Unknown Spouse"})})}):null,b.children.length>0&&O.jsxs("div",{className:"children-block",children:[O.jsxs("div",{children:[O.jsx("strong",{children:b.children.length===1?O.jsx(Re,{id:"family.child",defaultMessage:"Child"}):O.jsx(Re,{id:"family.children",defaultMessage:"Children"})}),": "]}),O.jsx("div",{children:b.children.map(v=>O.jsx("div",{children:O.jsx(Lc,{person:v})},v.pointer))})]})]},b.familyId)})]})})}const kfe=[...pfe,"NAME","SEX","FAMC","FAMS","NOTE","SOUR","FACT"];function Afe(e){const t=[];return e.data&&t.push(...hs(e)),e.tree.filter(r=>r.tag==="NOTE").forEach(r=>hs(r).forEach(n=>t.push(O.jsx("i",{children:n})))),t.length?O.jsxs(O.Fragment,{children:[O.jsx($t,{sub:!0,children:O.jsx(ps,{tag:e.tag})}),O.jsx("span",{children:O.jsx(Rx,{lines:t})})]}):null}function Tfe(e){if(!e.data)return null;const t=e.tree.filter(n=>n.tag==="TYPE").flatMap(n=>hs(n)).join().trim(),r=hs(e).join(" ").trim();return t?O.jsxs(O.Fragment,{children:[O.jsx($t,{sub:!0,children:O.jsx(ps,{tag:e.tag})}),O.jsxs("div",{children:[O.jsx("b",{children:t}),": ",r]})]}):O.jsxs(O.Fragment,{children:[O.jsx($t,{sub:!0,children:O.jsx(ps,{tag:e.tag})}),O.jsx("div",{children:r})]})}function Ife(e,t,r){const n=Jr(e,t,a=>a.other),i=HD(n);return!i||!Mx(n)?null:O.jsx("div",{className:"person-image",children:O.jsx(A3,{url:td(i.data,r),filename:Mm(i)||""})})}function Pfe(e,t){const r=e.map(n=>GD(n,t));return r.length?O.jsxs(O.Fragment,{children:[O.jsx("div",{className:"item-header",children:O.jsx($t,{as:"span",size:"small",children:O.jsx(ps,{tag:"SOUR"})})}),O.jsx(k3,{sources:r})]}):null}function Rfe(e,t,r){const n=[];return e.map(i=>Jr(i,t,a=>a.other)).forEach(i=>{var s;const a=$D(i);a&&n.push({url:td(a.data,r),filename:Mm(a),titl:(s=i.tree.find(o=>o.tag==="TITL"))==null?void 0:s.data})}),n.length?O.jsxs(O.Fragment,{children:[O.jsx("div",{className:"item-header",children:O.jsx($t,{as:"span",size:"small",children:O.jsx(ps,{tag:"OBJE"})})}),O.jsx(C3,{files:n})]}):null}function Ofe(e,t){const r=Jr(e,t,n=>n.other);return!r||!Mx(r)?null:O.jsx(Rx,{lines:hs(r).map((n,i)=>O.jsx("i",{children:n},i))})}function Nfe(e){var d,p,m,w,g,_,E,x;const t=(d=e.tree.find(b=>b.tag==="NPFX"))==null?void 0:d.data;let r=(p=e.tree.find(b=>b.tag==="GIVN"))==null?void 0:p.data,n=(m=e.tree.find(b=>b.tag==="_RUFNAME"))==null?void 0:m.data;const i=(w=e.tree.find(b=>b.tag==="NICK"))==null?void 0:w.data,a=(g=e.tree.find(b=>b.tag==="SPFX"))==null?void 0:g.data,s=(_=e.tree.find(b=>b.tag==="SURN"))==null?void 0:_.data,o=(E=e.tree.find(b=>b.tag==="NSFX"))==null?void 0:E.data;r&&n&&r.includes(n)&&(r=r.replace(n,`"${n}"`),n=void 0);const u=[t,r,n&&`"${n}"`,i&&`(${i})`,a,s,o].filter(Boolean).join(" ").trim()||e.data.replaceAll("/","")||"",c=(x=e.tree.find(b=>b.tag==="TYPE"&&b.data!=="Unknown"))==null?void 0:x.data;return O.jsxs(O.Fragment,{children:[O.jsx($t,{as:"span",size:"large",children:u||O.jsx(Re,{id:"name.unknown_name",defaultMessage:"N.N."})}),u&&c&&O.jsx(lt.Meta,{children:O.jsx(ps,{tag:c})})]})}function op(e,t,r,n,i){return Xm(r,a=>e.filter(s=>s.tag===a).map(s=>n(s,t,i))).filter(a=>a!==null).map((a,s)=>O.jsx(lt,{children:O.jsx(lt.Content,{children:a})},s))}function LR(e,t,r,n,i){const a=Xm(r,o=>e.filter(l=>l.tag===o)).filter(o=>o!==null),s=a.length?n(a,t,i):null;return s?O.jsx(lt,{children:O.jsx(lt.Content,{children:s})}):null}function Mx(e){return e.tree.length>0||e.data&&!e.data.startsWith("@")}function Mfe(e,t){return e.filter(r=>!kfe.includes(r.tag)).map(r=>Jr(r,t,n=>n.other)).filter(Mx).map(r=>Afe(r)).filter(r=>r!==null).map((r,n)=>O.jsx(lt,{children:O.jsx(lt.Content,{children:r})},n))}function Dfe(e){return O.jsx(lt,{children:O.jsxs(lt.Content,{children:[O.jsx($t,{sub:!0,children:O.jsx(Re,{id:"config.ids",defaultMessage:"Identification"})}),O.jsx("div",{children:O.jsx("i",{children:e})})]})})}function Ffe(e){const t=e.gedcom.indis[e.indi].tree;return O.jsx("div",{className:"details",children:O.jsxs(lt.Group,{divided:!0,children:[op(t,e.gedcom,["NAME"],Nfe),op(t,e.gedcom,["OBJE"],Ife,e.images),O.jsx(Cfe,{gedcom:e.gedcom,indi:e.indi}),O.jsx(Efe,{gedcom:e.gedcom,entries:t,indi:e.indi,images:e.images}),e.config.id===tx.SHOW?Dfe(e.indi):null,op(t,e.gedcom,["FACT"],Tfe),Mfe(t,e.gedcom),op(t,e.gedcom,["NOTE"],Ofe),LR(t,e.gedcom,["OBJE"],Rfe,e.images),LR(t,e.gedcom,["SOUR"],Pfe)]})})}function Lfe({data:e,selectedIndiId:t,config:r,onConfigChange:n,expanded:i,onToggle:a}){const s=fr(),o=[{menuItem:s.formatMessage({id:"tab.info",defaultMessage:"Info"}),render:()=>O.jsx(Ffe,{gedcom:e.gedcom,indi:t,config:r,images:e.images})},{menuItem:s.formatMessage({id:"tab.settings",defaultMessage:"Settings"}),render:()=>O.jsx(TZ,{gedcom:e.gedcom,config:r,onChange:n})}];return O.jsxs(wo,{id:"sidebar",animation:"overlay",icon:"labeled",width:i?"wide":"very thin",direction:"right",visible:!0,children:[i?O.jsx(Wr,{id:"sideTabs",panes:o}):O.jsx(Nue,{gedcom:e.gedcom,indi:t}),O.jsx(nn,{id:"sideToggle",icon:!0,size:"mini",onClick:()=>a(),children:O.jsx(Je,{size:"large",name:i?"arrow right":"arrow left"})})]})}function jfe(e,t){return e instanceof vu?t.formatMessage({id:`error.${e.code}`,defaultMessage:e.message},e.args):e.message}const Bfe={name:"get_selected_person",description:"Returns the full details (name, events, immediate relatives) of the individual currently selected in the browser viewport.",inputSchema:{type:"object",properties:{}}},zfe={name:"search_indi",description:"Searches the genealogy index for individuals by name. Returns up to 10 results starting with the ones that match the best.",inputSchema:{type:"object",properties:{query:{type:"string",description:"The name to search for."}},required:["query"]}},Ufe={name:"inspect_indi",description:"Fetches detailed information for a specific individual by ID, including their immediate relatives and life events.",inputSchema:{type:"object",properties:{id:{type:"string",description:"The ID of the individual."}},required:["id"]}},$fe={name:"focus_indi",description:"Instructs the Topola viewer camera view to center on and focus a specific person. Restructures the tree view to show ancestors and descendants of the selected person.",inputSchema:{type:"object",properties:{id:{type:"string",description:"The ID to focus."}},required:["id"]}},Hfe={name:"find_relationship_path",description:"Finds the shortest path connecting two individuals (e.g., through parents or marriages). Returns an ordered list of connecting individuals.",inputSchema:{type:"object",properties:{source:{type:"string",description:"Start individual ID"},target:{type:"string",description:"End individual ID"}},required:["source","target"]}},qfe={name:"get_ancestors",description:"Returns ancestors of a specific individual up to a maximum depth of 5 generations.",inputSchema:{type:"object",properties:{id:{type:"string",description:"Target individual ID"},generations:{type:"number",description:"Depth bound limit (1-5). Defaults to 3.",minimum:1,maximum:5,default:3}},required:["id"]}},Gfe={name:"get_descendants",description:"Returns descendants of a specific individual up to a maximum depth of 5 generations.",inputSchema:{type:"object",properties:{id:{type:"string",description:"Target individual ID"},generations:{type:"number",description:"Depth bound limit (1-5). Defaults to 3.",minimum:1,maximum:5,default:3}},required:["id"]}},jR=5,Wfe=10;function qo(e){return{content:[{type:"text",text:JSON.stringify(e)}],structuredContent:e}}function Nc(e){return{content:[{type:"text",text:e}]}}class Vfe{constructor(){this.detailIndi=null,this.searchIndex=null,this.chartData=null,this.indiMap=new Map,this.famMap=new Map,this.setSelectionCallback=null,this.toolsRegistered=!1}async handleGetSelectedPerson(){const t=this.detailIndi;return!t||t.startsWith("private_")?Nc("No person is currently selected."):qo(this.toFullIndi(t))}async handleSearchIndi(t){!this.searchIndex&&this.chartData&&(this.searchIndex=XL(this.chartData));const r=this.searchIndex;if(!r)return Nc("Data not loaded.");const i=r.search(t.query).slice(0,Wfe).map(a=>this.toBasicIndi(a.id)).filter(Boolean);return qo(i)}async handleInspectIndi(t){const r=this.toFullIndi(t.id);return r?qo(r):Nc(`No person found with id ${t.id}.`)}async handleFocusIndi(t){if(t.id.startsWith("private_"))return Nc(`No person found with id ${t.id}.`);const r=this.setSelectionCallback;return r?(r(t.id),qo({status:"success"})):Nc("Error shifting viewport.")}async handleFindRelationshipPath(t){const n=xZ(t.source,t.target,this.indiMap,this.famMap).map(i=>this.toBasicIndi(i)).filter(Boolean);return qo(n)}async handleGetAncestors(t){const r=Math.min(t.generations??3,jR),i=EZ(t.id,r,this.indiMap,this.famMap).map(a=>this.toBasicIndi(a)).filter(Boolean);return qo(i)}async handleGetDescendants(t){const r=Math.min(t.generations??3,jR),i=SZ(t.id,r,this.indiMap,this.famMap).map(a=>this.toBasicIndi(a)).filter(Boolean);return qo(i)}setDetailIndi(t){this.detailIndi=t}setData(t){t?(this.indiMap=Om(t.chartData),this.famMap=Jb(t.chartData),this.chartData=t.chartData,this.searchIndex=null):(this.indiMap.clear(),this.famMap.clear(),this.chartData=null,this.searchIndex=null)}setSetSelectionCallback(t){this.setSelectionCallback=t}getIndiName(t){const r=this.indiMap.get(t);return r&&[r.firstName,r.lastName].filter(Boolean).join(" ")||"Unknown"}getIndiReference(t){return{id:t,name:this.getIndiName(t)}}getEvent(t){if(!t)return;const r=[];if(t.date){const n=t.date;n.day||n.month||n.year?r.push([n.day,n.month,n.year].filter(Boolean).join("-")):n.text&&r.push(n.text)}return{date:r.join(" ")||void 0,place:t.place}}toBasicIndi(t){if(t.startsWith("private_"))return null;const r=this.indiMap.get(t);if(!r)return null;let n=null,i=null;if(r.famc){const a=this.famMap.get(r.famc);a&&(a.wife&&(n=this.getIndiReference(a.wife)),a.husb&&(i=this.getIndiReference(a.husb)))}return{id:r.id,name:this.getIndiName(r.id),birth:this.getEvent(r.birth),death:this.getEvent(r.death),mother:n,father:i}}toFullIndi(t){if(t.startsWith("private_"))return null;const r=this.indiMap.get(t);if(!r)return null;let n=null,i=null;if(r.famc){const o=this.famMap.get(r.famc);o&&(o.wife&&(n=this.toBasicIndi(o.wife)),o.husb&&(i=this.toBasicIndi(o.husb)))}const a=[],s=[];return r.fams&&r.fams.forEach(o=>{const l=this.famMap.get(o);if(l){const u=l.wife===t?l.husb:l.wife;u&&s.push({spouse:this.toBasicIndi(u),marriage:this.getEvent(l.marriage)}),l.children&&l.children.forEach(c=>{const d=this.toBasicIndi(c);d&&a.push(d)})}}),{id:r.id,name:this.getIndiName(r.id),birth:this.getEvent(r.birth),death:this.getEvent(r.death),mother:n,father:i,children:a,spouses:s}}getTools(){return[{...Bfe,execute:()=>this.handleGetSelectedPerson()},{...zfe,execute:t=>this.handleSearchIndi(t)},{...Ufe,execute:t=>this.handleInspectIndi(t)},{...$fe,execute:t=>this.handleFocusIndi(t)},{...Hfe,execute:t=>this.handleFindRelationshipPath(t)},{...qfe,execute:t=>this.handleGetAncestors(t)},{...Gfe,execute:t=>this.handleGetDescendants(t)}]}registerTools(){if(this.toolsRegistered||!navigator.modelContext)return;const t=navigator.modelContext;this.getTools().forEach(r=>{t.registerTool(r)}),this.toolsRegistered=!0}unregisterTools(){if(!this.toolsRegistered||!navigator.modelContext)return;const r=navigator.modelContext.unregisterTool;typeof r=="function"&&this.getTools().forEach(n=>{try{r(n.name)}catch{}}),this.toolsRegistered=!1}}function Qfe(){const e=document.querySelector('meta[name="topola-static-url"]'),t=e==null?void 0:e.getAttribute("content");if(t&&!t.startsWith("__")&&!t.includes("{{ env"))return t}const Pp=Qfe();function Kfe(e){return O.jsxs(Dn,{negative:!0,className:"error",children:[O.jsx(Dn.Header,{children:O.jsx(Re,{id:"error.failed_to_load_file",defaultMessage:"Failed to load file"})}),O.jsx("p",{children:e.message})]})}function Yfe(e){return O.jsx(Cr,{open:e.open,onClose:e.onDismiss,children:O.jsxs(Dn,{negative:!0,className:"errorPopup",onDismiss:e.onDismiss,children:[O.jsx(Dn.Header,{children:O.jsx(Re,{id:"error.error",defaultMessage:"Error"})}),O.jsx("p",{children:e.message})]})})}function BR(e,t){const r=t[e];return typeof r=="string"?r:void 0}function Xfe(e){const t=dn.parse(e.search),r=m=>BR(m,t),n=r("view"),i=new Map([["relatives",qa.Relatives],["fancy",qa.Fancy],["donatso",qa.Donatso]]),a=r("file"),s=r("url"),o=r("embedded")==="true";let l;if(Pp)l={source:Qt.GEDCOM_URL,url:Pp,handleCors:!1};else if(r("source")==="wikitree"){const m=dn.parse(window.location.search);l={source:Qt.WIKITREE,authcode:r("authcode")||BR("authcode",m)}}else if(r("source")==="google-drive"){const m=r("fileId");m&&(l={source:Qt.GOOGLE_DRIVE,fileId:m})}else a?l={source:Qt.UPLOADED,hash:a,gedcom:e.state&&e.state.data,images:e.state&&e.state.images}:s?l={source:Qt.GEDCOM_URL,url:s,handleCors:r("handleCors")!=="false"}:o&&(l={source:Qt.EMBEDDED});const u=r("indi"),c=Number(r("gen")),d=u?{id:u,generation:isNaN(c)?0:c}:void 0;function p(){return window.matchMedia("(max-width: 767px)").matches?r("sidePanel")==="true":r("sidePanel")!=="false"}return{sourceSpec:l,selection:d,chartType:i.get(n)||qa.Hourglass,showSidePanel:p(),standalone:r("standalone")!=="false"&&!o&&!Pp,showWikiTreeMenus:r("showWikiTreeMenus")!=="false",freezeAnimation:r("freeze")==="true",config:kZ(t)}}const zR=new Pee,UR=new Ree,$R=new Oee,HR=new Lee;function Jfe(){const[e,t]=J.useState(0),[r,n]=J.useState(),[i,a]=J.useState(),[s,o]=J.useState(),[l,u]=J.useState(),[c,d]=J.useState(!1),[p,m]=J.useState(!0),[w,g]=J.useState(!0),[_,E]=J.useState(qa.Hourglass),[x,b]=J.useState(!1),[C,v]=J.useState(),[k,T]=J.useState(!1),[N,M]=J.useState(_p),[j]=J.useState(()=>new Vfe),[D,$]=J.useState(!1),[X,W]=J.useState(),[H,V]=J.useState(()=>!!Qa.getAccessToken()),K=fr(),Y=mo(),q=hr(),F=J.useRef(!1),G=J.useRef(!0),z=J.useRef(0);J.useEffect(()=>(G.current=!0,()=>{G.current=!1}),[]);const B=J.useCallback(we=>{(!i||i.id!==we.id||i.generation!==we.generation)&&(a(we),o(we.id))},[i]);function se(we,et){if(et===void 0)return;const it=we.id===tx.HIDE,ht=we.sex===WD.HIDE;Om(et.chartData).forEach(L=>{L.hideId=it,L.hideSex=ht})}function de(){const we=!c;d(we),He({sidePanel:we?"true":"false"})}function me(we){u(we),t(2)}const Ee=J.useMemo(()=>new Ote(K),[K]),Ie=J.useCallback((we,et)=>{if(!C||C.source!==we.source)return!0;const it={spec:we,selection:et},ht={spec:C,selection:i};switch(it.spec.source){case Qt.UPLOADED:return zR.isNewData(it,ht,r);case Qt.GEDCOM_URL:return UR.isNewData(it,ht,r);case Qt.WIKITREE:return Ee.isNewData(it,ht,r);case Qt.EMBEDDED:return $R.isNewData(it,ht,r);case Qt.GOOGLE_DRIVE:return HR.isNewData(it,ht,r)}},[C,i,r,Ee]),Ne=J.useCallback((we,et)=>{switch(we.source){case Qt.UPLOADED:return zR.loadData({spec:we,selection:et});case Qt.GEDCOM_URL:return UR.loadData({spec:we,selection:et});case Qt.WIKITREE:return Ee.loadData({spec:we,selection:et});case Qt.EMBEDDED:return $R.loadData({spec:we,selection:et});case Qt.GOOGLE_DRIVE:return HR.loadData({spec:we,selection:et})}},[Ee]);J.useEffect(()=>{const et=dn.parse(q.search).state;if(typeof et=="string"&&!F.current)try{const it=JSON.parse(et);if(it&&it.action==="open"&&Array.isArray(it.ids)&&it.ids.length>0){F.current=!0;const ht=it.ids[0];Y({pathname:"/view",search:dn.stringify({source:"google-drive",fileId:ht})},{replace:!0})}}catch(it){console.warn("Google Drive state query parameter JSON parsing failed or action mismatch:",it)}},[Y,q.search]);async function Le(){await Qa.signOut(),V(!1),n(void 0),a(void 0),o(void 0),Mee(),Y({pathname:"/"},{replace:!0})}J.useEffect(()=>{(async()=>{var et,it;if(q.pathname!=="/view"){e!==0&&t(0),n(void 0);return}const we=Xfe(q);if(!we.sourceSpec){Y({pathname:"/"},{replace:!0});return}if(e===0||Ie(we.sourceSpec,we.selection)){t(1),v(we.sourceSpec),a(we.selection),o((et=we.selection)==null?void 0:et.id),m(we.standalone),g(we.showWikiTreeMenus),E(we.chartType),T(we.freezeAnimation),M(we.config);const ht=++z.current;try{const pe=await Ne(we.sourceSpec,we.selection);if(!G.current||z.current!==ht)return;n(pe),se(we.config,pe),d(we.showSidePanel),t(3)}catch(pe){if(!G.current||z.current!==ht)return;pe instanceof Nf?we.sourceSpec.source===Qt.GOOGLE_DRIVE&&(W(we.sourceSpec.fileId),$(!0)):me(jfe(pe,K))}}else if(e===3||e===4){const ht=we.sourceSpec.source===Qt.WIKITREE&&(!i||i.id!==((it=we.selection)==null?void 0:it.id));if(E(we.chartType),t(ht?4:3),B(_y(r.chartData,we.selection)),ht){const pe=++z.current;try{const L=await OF(we.selection.id,K);if(!G.current||z.current!==pe)return;const I=_y(L.chartData,we.selection);n(L),a(I),o(I.id),t(3)}catch(L){if(!G.current||z.current!==pe)return;t(3),rt(K.formatMessage({id:"error.failed_wikitree_load_more",defaultMessage:"Failed to load data from WikiTree. {error}"},{error:L}))}}}})()},[q,e,i,r,Y,K,Ie,Ne,B]),J.useEffect(()=>(j.registerTools(),()=>{j.unregisterTools()}),[j]),J.useEffect(()=>()=>{jm(r==null?void 0:r.images)},[r]),J.useEffect(()=>{j.setData(r||null)},[r,j]),J.useEffect(()=>{j.setDetailIndi(s||null)},[s,j]),J.useEffect(()=>{j.setSetSelectionCallback(we=>{Oe({id:we,generation:0})})},[j,q]);function He(we){const et=dn.parse(q.search);for(const it in we)et[it]=we[it];q.search=dn.stringify(et),Y(q)}function Oe(we){we.id.startsWith(ax)||(vn("selection_changed"),He({indi:we.id,gen:String(we.generation)}))}function Fe(we){o(we.id)}function We(){vn("print"),VZ()}function rt(we){b(!0),u(we)}async function ot(){vn("download_pdf");try{await XZ()}catch{rt(K.formatMessage({id:"error.failed_pdf",defaultMessage:"Failed to generate PDF file. Please try with a smaller diagram or download an SVG file."}))}}async function st(){vn("download_png");try{await YZ()}catch{rt(K.formatMessage({id:"error.failed_png",defaultMessage:"Failed to generate PNG file. Please try with a smaller diagram or download an SVG file."}))}}function At(){vn("download_svg"),QZ()}function Ht(){b(!1)}function gt(we){return r?_===qa.Donatso?O.jsx(Vre,{data:r.chartData,selection:we,onSelection:Oe}):O.jsx(iee,{data:r.chartData,selection:we,chartType:_,onSelection:Oe,onDetailSelection:Fe,freezeAnimation:k,colors:N.color,hideIds:N.id,hideSex:N.sex}):null}function ct(){switch(e){case 3:case 4:{if(!r)return null;const we=_y(r.chartData,i);return O.jsxs("div",{id:"content",children:[O.jsx(Yfe,{open:x,message:l,onDismiss:Ht}),e===4?O.jsx(Fl,{active:!0,size:"small",className:"loading-more"}):null,O.jsxs(ql,{children:[O.jsx(Lfe,{data:r,selectedIndiId:s||we.id,config:N,expanded:c,onToggle:de,onConfigChange:et=>{M(et),se(et,r),He(AZ(et))}}),O.jsx(Gl,{children:gt(we)})]})]})}case 2:return O.jsx(Kfe,{message:l||"Unknown error"});case 0:case 1:return O.jsx(Fl,{active:!0,size:"large"})}}return O.jsxs(O.Fragment,{children:[O.jsx(Oue,{data:r==null?void 0:r.chartData,allowAllRelativesChart:(C==null?void 0:C.source)!==Qt.WIKITREE,allowPrintAndDownload:_!==qa.Donatso,showingChart:q.pathname==="/view"&&(e===3||e===4),standalone:p,eventHandlers:{onSelection:Oe,onPrint:We,onDownloadPdf:ot,onDownloadPng:st,onDownloadSvg:At},showWikiTreeMenus:(C==null?void 0:C.source)===Qt.WIKITREE&&w,hasGoogleToken:H,onGoogleSignOut:Le,onGoogleTokenAcquired:()=>V(!0)}),Pp?O.jsxs($C,{children:[O.jsx(il,{path:"/view",element:ct()}),O.jsx(il,{path:"*",element:O.jsx(UC,{to:"/view",replace:!0})})]}):O.jsxs($C,{children:[O.jsx(il,{path:"/",element:O.jsx($le,{})}),O.jsx(il,{path:"/view",element:ct()}),O.jsx(il,{path:"*",element:O.jsx(UC,{to:"/",replace:!0})})]}),D&&X&&O.jsx(Hle,{failedFileId:X,onAuthSuccess:we=>{$(!1),V(!0),we===X?t(0):Y({pathname:"/view",search:dn.stringify({source:"google-drive",fileId:we})},{replace:!0})},onCancel:()=>{$(!1),Y({pathname:"/"},{replace:!0})}})]})}const Zfe={"menu.open":"Отваряне","menu.open_file":"Отваряне на файл","menu.load_from_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":"Семейна диаграма на Донацо","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":"Използвайте бутоните за отваряне на файл и зареждане от адрес, за да отворите GEDCOM файл. Повечето приложения и страници за генеалогия позволяват изнасяне на GEDCOM файлове.","intro.examples":"Примерни родословни дървета","intro.from":"от","intro.whats_new":"Последни промени","intro.full_changelog":"Списък с всички промени","whats_new.title":"Новото в това издание","intro.privacy":"Поверителност","intro.privacy_note":"При отваряне на файл тази страницата не изпраща никъде вашите данни - заредените файловете не напускат вашето устройство. При зареждане на файл от адрес, данните преминават през услугата {link}, за да бъдат избегнати проблеми при заявяването на файлове между различни сайтове (CORS).","load_from_url.title":"Зареждане от адрес","load_from_url.comment":"Данните от адреса ще преминат през услугата {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.BARM":"Бар мицва","gedcom.BASM":"Бат мицва","gedcom.BIRT":"Раждане","gedcom.BLES":"Благословия","gedcom.BURI":"Погребение","gedcom.CENS":"Преброяване на населението","gedcom.CHR":"Кръщене","gedcom.CHRA":"Кръщение за възрастни","gedcom.CONF":"Потвърждение","gedcom.CREM":"Кремиране","gedcom.DEAT":"Смърт","gedcom.DEG":"Академична степен","gedcom.DIV":"Развод","gedcom.DIVF":"Подадено е заявление за развод","gedcom.DSCR":"Описание","gedcom.EDUC":"Образование","gedcom.ELEC":"Подбор за длъжността","gedcom.EMAIL":"Електронна поща","gedcom.EMIG":"Емигриране","gedcom.ENGA":"Годеж","gedcom.EVEN":"Събитие","gedcom.FACT":"Факт","gedcom.FCOM":"Първо причастие","gedcom.GRAD":"Завършване на обучението","gedcom.IMMI":"Имигриране","gedcom.MARB":"Забрана за брак","gedcom.MARC":"Брачен договор","gedcom.MARL":"Брачно свидетелство","gedcom.MARR":"Бракосъчетание","gedcom.MARS":"Предбрачен договор","gedcom.MDCL":"Медицинска информация","gedcom.MILT":"Военна служба","gedcom.NATU":"Натурализация","gedcom.OBJE":"Допълнителни файлове","gedcom.OCCU":"Професия","gedcom.ORDN":"Ръкополагане","gedcom.PROB":"Потвърждение на завещанието","gedcom.PROP":"Имот","gedcom.RESI":"Местожителство","gedcom.RETI":"Пенсиониране","gedcom.RELI":"Религия","gedcom.RIN":"ID","gedcom.SOUR":"Източници","gedcom.TITL":"Обръщение","gedcom.WILL":"Завещание","gedcom.WWW":"Препратка","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.sex":"Пол","config.sex.HIDE":"Скриване","config.sex.SHOW":"Показване","head.source":"Източник на данни","name.unknown_name":"Неизвестно име","extras.images":"Изображение","extras.notes":"Бележки","extras.sources":"Източници","extras.files":"Допълнителни файлове","family.immediate_family":"Най-близко семейство","family.parents":"Родители","family.father":"Баща","family.mother":"Майка","family.husband":"Съпруг","family.wife":"Съпруга","family.unknown_spouse":"Неизвестен съпруг/а","family.children":"Деца","family.child":"Дете","media.not_uploaded":"Файлът не е качен","menu.load_from_google_drive":"Зареждане от Google Диск","menu.google_sign_out":"Прекъсване на връзката с Google Диск","google_auth.title":"Изисква се достъп до Google Диск","google_auth.instructions":"За да прегледате този файл, трябва да се удостоверите и да изберете файла от вашия Google Диск, за да предоставите разрешения.","google_auth.picker_instructions_header":"Изискват се разрешения","google_auth.picker_instructions":"Приложението няма разрешение да чете този файл. Моля, изберете го в изскачащия прозорец на браузъра за файлове, за да предоставите достъп. Ако това е споделен файл, който не се показва, опитайте първо да добавите пряк път към вашия Диск.","google_auth.cancel":"Отказ","google_auth.grant_button":"Предоставяне на достъп и избор на файл","google_auth.switch_account_button":"Смяна на акаунт","error.GOOGLE_DRIVE_NOT_CONFIGURED":"Интеграцията с Google Drive не е конфигурирана."},ede={"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 rodokmen","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.BARM":"Bar micva","gedcom.BASM":"Bas micva","gedcom.BIRT":"Narození","gedcom.BLES":"Požehnání","gedcom.BURI":"Pohřeb","gedcom.CENS":"Sčítání lidu","gedcom.CHR":"Křest","gedcom.CHRA":"Křest dospělých","gedcom.CONF":"Potvrzení","gedcom.CREM":"Kremace","gedcom.DEAT":"Úmrtí","gedcom.DEG":"Academic degree","gedcom.DIV":"Rozvod","gedcom.DIVF":"Potvrzení","gedcom.DSCR":"Popis","gedcom.EDUC":"Vzdělání","gedcom.ELEC":"Výběr na pozici","gedcom.EMAIL":"E-mail","gedcom.EMIG":"Emigrace","gedcom.ENGA":"zasnoubení","gedcom.EVEN":"Událost","gedcom.FACT":"Údaj","gedcom.FCOM":"První přijímání","gedcom.GRAD":"Dokončení školení ","gedcom.IMMI":"Imigrace","gedcom.MARB":"Družstvo","gedcom.MARC":"Manželská smlouva ","gedcom.MARL":"Oddací list","gedcom.MARR":"Svatba","gedcom.MARS":"Předmanželská smlouva","gedcom.MDCL":"Lékařské informace","gedcom.MILT":"Vojenská služba","gedcom.NATU":"Získání občanství","gedcom.OBJE":"Další soubory","gedcom.OCCU":"Povolání","gedcom.ORDN":"Vysvěcení","gedcom.PROB":"Potvrzení závěti","gedcom.PROP":"Majetek","gedcom.RESI":"Bydliště","gedcom.RETI":"Odchod do důchodu ","gedcom.RELI":"Vyznání","gedcom.RIN":"ID","gedcom.SOUR":"Zdroje","gedcom.TITL":"Titul","gedcom.WILL":"Závěť","gedcom.WWW":"Stránka WWW","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":"Informace","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","head.source":"Zdroj dat","name.unknown_name":"N.N.","extras.images":"Obrázky","extras.notes":"Poznámky","extras.sources":"Zdroje","extras.files":"Další soubory","family.immediate_family":"Nejbližší rodina","family.parents":"Rodiče","family.father":"Otec","family.mother":"Matka","family.husband":"Manžel","family.wife":"Manželka","family.unknown_spouse":"Neznámý manžel/ka","family.children":"Děti","family.child":"Dítě","media.not_uploaded":"Soubor nebyl nahrán","menu.load_from_google_drive":"Načíst z Google Disku","menu.google_sign_out":"Odpojit Google Disk","google_auth.title":"Je vyžadován přístup k Disku Google","google_auth.instructions":"Chcete-li tento soubor zobrazit, musíte se ověřit a vybrat soubor z Disku Google, abyste udělili oprávnění.","google_auth.picker_instructions_header":"Vyžadována oprávnění","google_auth.picker_instructions":"Aplikace nemá oprávnění ke čtení tohoto souboru. Vyberte jej prosím v rozevíracím seznamu prohlížeče souborů pro udělení přístupu. Pokud se jedná o sdílený soubor, který se nezobrazuje, zkuste nejprve přidat zástupce na svůj Disk.","google_auth.cancel":"Zrušit","google_auth.grant_button":"Udělit přístup a vybrat soubor","google_auth.switch_account_button":"Přepnout účet","error.GOOGLE_DRIVE_NOT_CONFIGURED":"Integrace s Diskem Google není nakonfigurována."},tde={"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-Stammbaum","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.BARM":"Bar-Mitzwah","gedcom.BASM":"Bas-Mitzwah","gedcom.BIRT":"Geburt","gedcom.BLES":"Segnung","gedcom.BURI":"Beerdigung","gedcom.CENS":"Volkszählung","gedcom.CHR":"Taufe","gedcom.CHRA":"Erwachsenentaufe","gedcom.CONF":"Konfirmation/Firmung","gedcom.CREM":"Feuerbestattung","gedcom.DEAT":"Tod","gedcom.DEG":"Akademischer Grad","gedcom.DIV":"Scheidung","gedcom.DIVF":"Scheidung eingereicht","gedcom.DSCR":"Beschreibung","gedcom.EDUC":"Ausbildung","gedcom.ELEC":"Auswahl für die Position","gedcom.EMAIL":"E-Mail","gedcom.EMIG":"Auswanderung","gedcom.ENGA":"Verlobung","gedcom.EVEN":"Ereignis","gedcom.FACT":"Merkmal","gedcom.FCOM":"Erstkommunion","gedcom.GRAD":"Ausbildungsabschluss","gedcom.IMMI":"Einwanderung","gedcom.MARB":"Aufgebot","gedcom.MARC":"Ehevertrag","gedcom.MARL":"Eheerlaubnis","gedcom.MARR":"Heirat","gedcom.MARS":"Ehevereinbarung","gedcom.MDCL":"Medizinische Informationen","gedcom.MILT":"Mititärdienst","gedcom.NATU":"Einbürgerung","gedcom.OBJE":"Zusätzliche Dateien","gedcom.OCCU":"Beruf","gedcom.ORDN":"Ordinierung","gedcom.PROB":"Testamentsbestätigung","gedcom.PROP":"Besitz","gedcom.RESI":"Wohnort","gedcom.RETI":"Ruhestand","gedcom.RELI":"Religion","gedcom.RIN":"ID","gedcom.SOUR":"Quellen","gedcom.TITL":"Titel","gedcom.WILL":"Testament","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}","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","wikitree.private":"Privat","tab.info":"Informationen","tab.settings":"Einstellungen","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":"verbergen","config.ids.SHOW":"anzeigen","config.sex":"Geschlecht","config.sex.HIDE":"verbergen","config.sex.SHOW":"anzeigen","head.source":"Datenquelle","name.unknown_name":"N.N.","extras.images":"Bilder","extras.notes":"Notizen","extras.sources":"Quellen","extras.files":"Weitere Dateien","family.immediate_family":"Engere Familie","family.parents":"Eltern","family.father":"Vater","family.mother":"Mutter","family.husband":"Ehemann","family.wife":"Ehefrau","family.unknown_spouse":"Unbekannter Ehepartner","family.children":"Kinder","family.child":"Kind","media.not_uploaded":"Datei nicht hochgeladen","menu.load_from_google_drive":"Von Google Drive laden","menu.google_sign_out":"Google Drive trennen","google_auth.title":"Google Drive-Zugriff erforderlich","google_auth.instructions":"Um diese Datei anzuzeigen, müssen Sie sich authentifizieren und die Datei aus Ihrem Google Drive auswählen, um Berechtigungen zu erteilen.","google_auth.picker_instructions_header":"Berechtigungen erforderlich","google_auth.picker_instructions":"Die Anwendung hat keine Berechtigung, diese Datei zu lesen. Bitte wählen Sie sie im Dateibrowser-Popup aus, um Zugriff zu gewähren. Wenn es sich um eine freigegebene Datei handelt, die nicht angezeigt wird, versuchen Sie zuerst, eine Verknüpfung zu Ihrem Drive hinzuzufügen.","google_auth.cancel":"Abbrechen","google_auth.grant_button":"Zugriff gewähren & Datei auswählen","google_auth.switch_account_button":"Konto wechseln","error.GOOGLE_DRIVE_NOT_CONFIGURED":"Die Google Drive-Integration ist nicht konfiguriert."},nde={"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 tableau généalogique","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","whats_new.title":"Quoi de neuf dans cette version?","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.BARM":"Bar Mitzvah","gedcom.BASM":"Bas Mitzvah","gedcom.BIRT":"Naissance","gedcom.BLES":"Bénédiction","gedcom.BURI":"Funérailles","gedcom.CENS":"Recensement","gedcom.CHR":"Baptême","gedcom.CHRA":"Baptême des adultes","gedcom.CONF":"Confirmation","gedcom.CREM":"Crémation","gedcom.DEAT":"Mort","gedcom.DEG":"Diplôme universitaire","gedcom.DIV":"Divorce","gedcom.DIVF":"Divorce déposé","gedcom.DSCR":"Description","gedcom.EDUC":"Études","gedcom.ELEC":"Nomination au poste","gedcom.EMAIL":"E-mail","gedcom.EMIG":"Émigration","gedcom.ENGA":"Fiançailles","gedcom.EVEN":"EVEN","gedcom.FACT":"FACT","gedcom.FCOM":"Première communion","gedcom.GRAD":"Achèvement de la formation","gedcom.IMMI":"Immigration","gedcom.MARB":"Équipe","gedcom.MARC":"Contrat de mariage ","gedcom.MARL":"Licence de mariage","gedcom.MARR":"Mariage","gedcom.MARS":"Contrat prénuptial","gedcom.MDCL":"Informations médicales","gedcom.MILT":"Service militaire","gedcom.NATU":"Naturalisation","gedcom.OBJE":"Fichiers supplémentaires","gedcom.OCCU":"Profession","gedcom.ORDN":"Ordination","gedcom.PROB":"Confirmation de volonté","gedcom.PROP":"Possession","gedcom.RESI":"Lieu de résidence","gedcom.RETI":"Retraite","gedcom.RELI":"Religion","gedcom.RIN":"ID","gedcom.SOUR":"Sources","gedcom.TITL":"Titre","gedcom.WILL":"Testament","gedcom.WWW":"Site Web","gedcom._UPD":"Dernière mise à jour","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":"Informations","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":"Identification","config.ids.HIDE":"cacher","config.ids.SHOW":"afficher","config.sex":"Sexe","config.sex.HIDE":"cacher","config.sex.SHOW":"afficher","head.source":"Source de données","name.unknown_name":"?","extras.images":"Images","extras.notes":"Notes","extras.sources":"Sources","extras.files":"Fichiers supplémentaires","family.immediate_family":"Famille proche","family.parents":"Parents","family.father":"Père","family.mother":"Mère","family.husband":"Mari","family.wife":"Femme","family.unknown_spouse":"Conjoint inconnu","family.children":"Enfants","family.child":"Enfant","media.not_uploaded":"Fichier non téléversé","menu.load_from_google_drive":"Charger depuis Google Drive","menu.google_sign_out":"Déconnecter Google Drive","google_auth.title":"Accès à Google Drive requis","google_auth.instructions":"Pour afficher ce fichier, vous devez vous authentifier et sélectionner le fichier depuis votre Google Drive pour accorder les autorisations.","google_auth.picker_instructions_header":"Autorisations requises","google_auth.picker_instructions":"L'application n'a pas l'autorisation de lire ce fichier. Veuillez le sélectionner dans la fenêtre contextuelle du navigateur de fichiers pour accorder l'accès. S'il s'agit d'un fichier partagé qui ne s'affiche pas, essayez d'abord d'ajouter un raccourci vers votre Drive.","google_auth.cancel":"Annuler","google_auth.grant_button":"Accorder l'accès et sélectionner le fichier","google_auth.switch_account_button":"Changer de compte","error.GOOGLE_DRIVE_NOT_CONFIGURED":"L'intégration de Google Drive n'est pas configurée."},rde={"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":"Scarica","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 albero genealogico","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":"fonte:","intro.whats_new":"Novità","intro.full_changelog":"Vedi il log delle modifiche completo","whats_new.title":"Cosa c'è di nuovo in questa versione?","intro.privacy":"Protezione dei dati","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":"Adozione","gedcom.BAPM":"Battesimo","gedcom.BARM":"Bar Mitzvah","gedcom.BASM":"Bas Mitzvah","gedcom.BIRT":"Nascita","gedcom.BLES":"Benedizione","gedcom.BURI":"Sepoltura","gedcom.CENS":"Censimento","gedcom.CHR":"Battesimo","gedcom.CHRA":"Battesimo degli adulti","gedcom.CONF":"Cresima","gedcom.CREM":"Cremazione","gedcom.DEAT":"Morte","gedcom.DEG":"Titolo accademico","gedcom.DIV":"Divorzio","gedcom.DIVF":"Richiesta di divorzio","gedcom.DSCR":"Descrizione fisica","gedcom.EDUC":"Istruzione","gedcom.ELEC":"Elezione a carica","gedcom.EMAIL":"E-mail","gedcom.EMIG":"Emigrazione","gedcom.ENGA":"Fidanzamento","gedcom.EVEN":"Evento","gedcom.FACT":"Fatto","gedcom.FCOM":"Prima Comunione","gedcom.GRAD":"Conseguimento del titolo di studio","gedcom.IMMI":"Immigrazione","gedcom.MARB":"Pubblicazioni matrimoniali","gedcom.MARC":"Accordo matrimoniale","gedcom.MARL":"Licenza di matrimonio","gedcom.MARR":"Matrimonio","gedcom.MARS":"Accordo prematrimoniale","gedcom.MDCL":"Informazioni mediche","gedcom.MILT":"Servizio militare","gedcom.NATU":"Naturalizzazione","gedcom.OBJE":"Media allegati","gedcom.OCCU":"Professione","gedcom.ORDN":"Ordinazione religiosa","gedcom.PROB":"Omologazione del testamento","gedcom.PROP":"Proprietà","gedcom.RESI":"Residenza","gedcom.RETI":"Pensionamento","gedcom.RELI":"Religione","gedcom.RIN":"ID","gedcom.SOUR":"Fonti","gedcom.TITL":"Titolo nobiliare/professionale","gedcom.WILL":"Testamento","gedcom.WWW":"Sito web","gedcom._UPD":"Ultimo aggiornamento","gedcom.birth":"Nome alla nascita","gedcom.married":"Nome dopo il matrimonio","gedcom.maiden":"Cognome da nubile","gedcom.immigrant":"Nome all'immigrazione","gedcom.aka":"Detto anche","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 {Meno di 1 anno} one {1 anno} other {# anni}}","age.less":"Meno di {age, plural, =0 {1 anno} one {1 anno} other {# anni}}","age.more":"Più di {age, plural, =0 {0 anni} one {1 anno} other {# anni}}","age.between":"Tra {ageFrom} e {ageTo, plural, =0 {0 anni} one {1 anno} other {# anni}}","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":"Impossibile leggere il file GEDCOM","error.ERROR_LOADING_UPLOADED_FILE":"Errore durante il caricamento dei dati. Carica nuovamente il file.","error.WIKITREE_ID_NOT_PROVIDED":"È necessario fornire l'ID WikiTree.","error.WIKITREE_PROFILE_NOT_ACCESSIBLE":"Il profilo WikiTree {id} non è accessibile. Prova ad effettuare il login.","error.WIKITREE_PROFILE_NOT_FOUND":"Profilo WikiTree {id} non trovato","error.failed_to_load_image":"Impossibile caricare il file immagine","wikitree.private":"Privato","tab.info":"Informazioni","tab.settings":"Impostazioni","config.colors":"Colori","config.colors.NO_COLOR":"nessuno","config.colors.COLOR_BY_GENERATION":"per generazione","config.colors.COLOR_BY_SEX":"per sesso","config.ids":"Identificazione","config.ids.HIDE":"nascondere","config.ids.SHOW":"visualizzare","config.sex":"Sesso","config.sex.HIDE":"nascondere","config.sex.SHOW":"visualizzare","head.source":"Origine dati","name.unknown_name":"N.N.","extras.images":"Immagini","extras.notes":"Appunti","extras.sources":"Fonti","extras.files":"File aggiuntivi","family.immediate_family":"Famiglia stretta","family.parents":"Genitori","family.father":"Padre","family.mother":"Madre","family.husband":"Marito","family.wife":"Moglie","family.unknown_spouse":"Coniuge sconosciuto","family.children":"Figli","family.child":"Figlio/a","media.not_uploaded":"File non caricato","menu.load_from_google_drive":"Carica da Google Drive","menu.google_sign_out":"Disconnetti Google Drive","google_auth.title":"Accesso a Google Drive richiesto","google_auth.instructions":"Per visualizzare questo file, devi autenticarti e selezionare il file dal tuo Google Drive per concedere le autorisations.","google_auth.picker_instructions_header":"Autorizzazioni richieste","google_auth.picker_instructions":"L'applicazione non ha l'autorizzazione di leggere questo file. Selezionalo nel popup del browser dei file per concedere l'accesso. Se si tratta di un file condiviso che non viene visualizzato, prova prima ad aggiungere una scorciatoia al tuo Drive.","google_auth.cancel":"Annulla","google_auth.grant_button":"Concedi l'accesso e seleziona il file","google_auth.switch_account_button":"Cambia account","error.GOOGLE_DRIVE_NOT_CONFIGURED":"L'integrazione con Google Drive non è configurata."},ide={"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.donatso":"Donatso wykres rodzinny","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.RELI":"Religia","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}","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.error":"Błąd","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":"Informacje","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":"Identyfikator","config.ids.HIDE":"ukryj","config.ids.SHOW":"pokaż","config.sex":"Płeć","config.sex.HIDE":"ukryj","config.sex.SHOW":"pokaż","head.source":"Źródło danych","name.unknown_name":"N.N.","extras.images":"Zdjęcia","extras.notes":"Notatki","extras.sources":"Źródła","extras.files":"Dodatkowe pliki","family.immediate_family":"Najbliższa rodzina","family.parents":"Rodzice","family.father":"Ojciec","family.mother":"Matka","family.husband":"Mąż","family.wife":"Żona","family.unknown_spouse":"Nieznany współmałżonek","family.children":"Dzieci","family.child":"Dziecko","media.not_uploaded":"Plik nieprzesłany","menu.load_from_google_drive":"Otwórz z Dysku Google","menu.google_sign_out":"Rozłącz Dysk Google","google_auth.title":"Wymagany dostęp do Dysku Google","google_auth.instructions":"Aby wyświetlić ten plik, musisz się zalogować i wybrać plik z Dysku Google, aby przyznać uprawnienia.","google_auth.picker_instructions_header":"Wymagane uprawnienia","google_auth.picker_instructions":"Aplikacja nie ma uprawnień do odczytu tego pliku. Wybierz go w oknie wyszukiwania plików, aby przyznać dostęp. Jeśli to jest plik udostępniony, który się nie wyświetla, spróbuj najpierw dodać skrót do swojego Dysku.","google_auth.cancel":"Anuluj","google_auth.grant_button":"Przejdź do autoryzacji i wyboru pliku","google_auth.switch_account_button":"Przełącz konto","error.GOOGLE_DRIVE_NOT_CONFIGURED":"Integracja z Dyskiem Google nie jest skonfigurowana."},ade={"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":"Что нового в этой версии?","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.BARM":"Бар-мицва","gedcom.BASM":"Бас Мицва","gedcom.BIRT":"Рождение","gedcom.BLES":"Благословение","gedcom.BURI":"Похороны","gedcom.CENS":"Перепись населения","gedcom.CHR":"Крещение","gedcom.CHRA":"Крещение взрослых","gedcom.CONF":"Подтверждение","gedcom.CREM":"Кремация","gedcom.DEAT":"Смерть","gedcom.DEG":"Ученая степень","gedcom.DIV":"Развод","gedcom.DIVF":"Подано заявление о разводе","gedcom.DSCR":"Описание","gedcom.EDUC":"Образование","gedcom.ELEC":"Выбор на должность","gedcom.EMAIL":"E-mail","gedcom.EMIG":"Эмиграция","gedcom.ENGA":"Помолвка","gedcom.EVEN":"Событие","gedcom.FACT":"Факт","gedcom.FCOM":"Первое Причастие","gedcom.GRAD":"Завершение обучения","gedcom.IMMI":"Иммиграция","gedcom.MARB":"Отряд","gedcom.MARC":"Брачный контракт","gedcom.MARL":"Свидетельство о браке","gedcom.MARR":"Свадьба","gedcom.MARS":"Брачный договор","gedcom.MDCL":"Медицинская информация","gedcom.MILT":"Военная служба","gedcom.NATU":"Натурализация","gedcom.OBJE":"Дополнительные файлы","gedcom.OCCU":"Вид деятельности","gedcom.ORDN":"Рукоположение","gedcom.PROB":"Подтверждение завещания","gedcom.PROP":"Владение","gedcom.RESI":"Место жительства","gedcom.RETI":"Выход на пенсию","gedcom.RELI":"Религия","gedcom.RIN":"ID","gedcom.SOUR":"Источники","gedcom.TITL":"Титул","gedcom.WILL":"Завещание","gedcom.WWW":"Веб-сайт WWW","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":"Идентификатор","config.ids.HIDE":"Скрыть","config.ids.SHOW":"Показать","config.sex":"Пол","config.sex.HIDE":"Скрыть","config.sex.SHOW":"Показать","head.source":"Источник данных","name.unknown_name":"Неизвестно","extras.images":"Картинки","extras.notes":"Примечание","extras.sources":"Источники","extras.files":"Дополнительные файлы","family.immediate_family":"Ближайшие родственники","family.parents":"Родители","family.father":"Отец","family.mother":"Мать","family.husband":"Муж","family.wife":"Жена","family.unknown_spouse":"Неизвестный супруг(а)","family.children":"Дети","family.child":"Ребёнок","media.not_uploaded":"Файл не загружен","menu.load_from_google_drive":"Загрузить с Google Диска","menu.google_sign_out":"Отключить Google Диск","google_auth.title":"Требуется доступ к Google Диску","google_auth.instructions":"Чтобы просмотреть этот файл, необходимо пройти авторизацию и выбрать файл на Google Диске для предоставления разрешений.","google_auth.picker_instructions_header":"Требуются разрешения","google_auth.picker_instructions":"У приложения нет разрешения на чтение этого файла. Пожалуйста, выберите его во всплывающем окне выбора файлов, чтобы предоставить доступ. Если это общий файл, который не отображается, попробуйте сначала добавить ярлык на свой Диск.","google_auth.cancel":"Отмена","google_auth.grant_button":"Предоставить доступ и выбрать файл","google_auth.switch_account_button":"Сменить аккаунт","error.GOOGLE_DRIVE_NOT_CONFIGURED":"Интеграция с Google Диском не настроена."},ode={bg:Zfe,cs:ede,de:tde,fr:nde,it:rde,pl:ide,ru:ade},qR=navigator.language&&navigator.language.split(/[-_]/)[0],GR=L4(),sde=document.getElementById("root"),WR=V4.createRoot(sde);GR&&GR.name==="ie"?WR.render(O.jsx("p",{children:"Topola Genealogy Viewer does not support Internet Explorer. Please try a different (modern) browser."})):WR.render(O.jsx(Tz,{locale:qR,messages:ode[qR],children:O.jsxs(FZ,{children:[O.jsx("style",{children:DZ}),O.jsx(KU,{children:O.jsx(Jfe,{})})]})}));export{xf as _,AW as a,hi as c,yn as g,y9 as t,cde as z}; diff --git a/assets/index.es-CT5OxKBD.js b/assets/index.es-CwZZRow3.js similarity index 99% rename from assets/index.es-CT5OxKBD.js rename to assets/index.es-CwZZRow3.js index 43919be..bb711a3 100644 --- a/assets/index.es-CT5OxKBD.js +++ b/assets/index.es-CwZZRow3.js @@ -1,4 +1,4 @@ -import{c as Ma,t as Ul,g as Qu}from"./index-3gOEgFfu.js";var on={},un={},lr,ln;function Z(){if(ln)return lr;ln=1;var n=function(e){return e&&e.Math===Math&&e};return lr=n(typeof globalThis=="object"&&globalThis)||n(typeof window=="object"&&window)||n(typeof self=="object"&&self)||n(typeof Ma=="object"&&Ma)||n(typeof lr=="object"&&lr)||function(){return this}()||Function("return this")(),lr}var Qr={},Zr,hn;function ee(){return hn||(hn=1,Zr=function(n){try{return!!n()}catch{return!0}}),Zr}var Jr,fn;function Ee(){if(fn)return Jr;fn=1;var n=ee();return Jr=!n(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7}),Jr}var et,cn;function Ar(){if(cn)return et;cn=1;var n=ee();return et=!n(function(){var e=(function(){}).bind();return typeof e!="function"||e.hasOwnProperty("prototype")}),et}var rt,vn;function se(){if(vn)return rt;vn=1;var n=Ar(),e=Function.prototype.call;return rt=n?e.bind(e):function(){return e.apply(e,arguments)},rt}var tt={},gn;function Gl(){if(gn)return tt;gn=1;var n={}.propertyIsEnumerable,e=Object.getOwnPropertyDescriptor,r=e&&!n.call({1:2},1);return tt.f=r?function(i){var a=e(this,i);return!!a&&a.enumerable}:n,tt}var it,dn;function ka(){return dn||(dn=1,it=function(n,e){return{enumerable:!(n&1),configurable:!(n&2),writable:!(n&4),value:e}}),it}var at,pn;function re(){if(pn)return at;pn=1;var n=Ar(),e=Function.prototype,r=e.call,t=n&&e.bind.bind(r,r);return at=n?t:function(i){return function(){return r.apply(i,arguments)}},at}var nt,yn;function Ze(){if(yn)return nt;yn=1;var n=re(),e=n({}.toString),r=n("".slice);return nt=function(t){return r(e(t),8,-1)},nt}var st,mn;function Zu(){if(mn)return st;mn=1;var n=re(),e=ee(),r=Ze(),t=Object,i=n("".split);return st=e(function(){return!t("z").propertyIsEnumerable(0)})?function(a){return r(a)==="String"?i(a,""):t(a)}:t,st}var ot,bn;function Je(){return bn||(bn=1,ot=function(n){return n==null}),ot}var ut,xn;function Re(){if(xn)return ut;xn=1;var n=Je(),e=TypeError;return ut=function(r){if(n(r))throw new e("Can't call method on "+r);return r},ut}var lt,On;function cr(){if(On)return lt;On=1;var n=Zu(),e=Re();return lt=function(r){return n(e(r))},lt}var ht,Tn;function te(){if(Tn)return ht;Tn=1;var n=typeof document=="object"&&document.all;return ht=typeof n>"u"&&n!==void 0?function(e){return typeof e=="function"||e===n}:function(e){return typeof e=="function"},ht}var ft,Sn;function Ce(){if(Sn)return ft;Sn=1;var n=te();return ft=function(e){return typeof e=="object"?e!==null:n(e)},ft}var ct,En;function er(){if(En)return ct;En=1;var n=Z(),e=te(),r=function(t){return e(t)?t:void 0};return ct=function(t,i){return arguments.length<2?r(n[t]):n[t]&&n[t][i]},ct}var vt,Rn;function Ir(){if(Rn)return vt;Rn=1;var n=re();return vt=n({}.isPrototypeOf),vt}var gt,Cn;function vr(){if(Cn)return gt;Cn=1;var n=Z(),e=n.navigator,r=e&&e.userAgent;return gt=r?String(r):"",gt}var dt,wn;function ja(){if(wn)return dt;wn=1;var n=Z(),e=vr(),r=n.process,t=n.Deno,i=r&&r.versions||t&&t.version,a=i&&i.v8,s,o;return a&&(s=a.split("."),o=s[0]>0&&s[0]<4?1:+(s[0]+s[1])),!o&&e&&(s=e.match(/Edge\/(\d+)/),(!s||s[1]>=74)&&(s=e.match(/Chrome\/(\d+)/),s&&(o=+s[1]))),dt=o,dt}var pt,Pn;function Ju(){if(Pn)return pt;Pn=1;var n=ja(),e=ee(),r=Z(),t=r.String;return pt=!!Object.getOwnPropertySymbols&&!e(function(){var i=Symbol("symbol detection");return!t(i)||!(Object(i)instanceof Symbol)||!Symbol.sham&&n&&n<41}),pt}var yt,An;function el(){if(An)return yt;An=1;var n=Ju();return yt=n&&!Symbol.sham&&typeof Symbol.iterator=="symbol",yt}var mt,In;function rl(){if(In)return mt;In=1;var n=er(),e=te(),r=Ir(),t=el(),i=Object;return mt=t?function(a){return typeof a=="symbol"}:function(a){var s=n("Symbol");return e(s)&&r(s.prototype,i(a))},mt}var bt,Nn;function Nr(){if(Nn)return bt;Nn=1;var n=String;return bt=function(e){try{return n(e)}catch{return"Object"}},bt}var xt,_n;function Be(){if(_n)return xt;_n=1;var n=te(),e=Nr(),r=TypeError;return xt=function(t){if(n(t))return t;throw new r(e(t)+" is not a function")},xt}var Ot,Mn;function ar(){if(Mn)return Ot;Mn=1;var n=Be(),e=Je();return Ot=function(r,t){var i=r[t];return e(i)?void 0:n(i)},Ot}var Tt,qn;function $l(){if(qn)return Tt;qn=1;var n=se(),e=te(),r=Ce(),t=TypeError;return Tt=function(i,a){var s,o;if(a==="string"&&e(s=i.toString)&&!r(o=n(s,i))||e(s=i.valueOf)&&!r(o=n(s,i))||a!=="string"&&e(s=i.toString)&&!r(o=n(s,i)))return o;throw new t("Can't convert object to primitive value")},Tt}var St={exports:{}},Et,Dn;function Me(){return Dn||(Dn=1,Et=!1),Et}var Rt,Vn;function Ba(){if(Vn)return Rt;Vn=1;var n=Z(),e=Object.defineProperty;return Rt=function(r,t){try{e(n,r,{value:t,configurable:!0,writable:!0})}catch{n[r]=t}return t},Rt}var Ln;function Fa(){if(Ln)return St.exports;Ln=1;var n=Me(),e=Z(),r=Ba(),t="__core-js_shared__",i=St.exports=e[t]||r(t,{});return(i.versions||(i.versions=[])).push({version:"3.41.0",mode:n?"pure":"global",copyright:"© 2014-2025 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.41.0/LICENSE",source:"https://github.com/zloirock/core-js"}),St.exports}var Ct,kn;function Ua(){if(kn)return Ct;kn=1;var n=Fa();return Ct=function(e,r){return n[e]||(n[e]=r||{})},Ct}var wt,jn;function _r(){if(jn)return wt;jn=1;var n=Re(),e=Object;return wt=function(r){return e(n(r))},wt}var Pt,Bn;function we(){if(Bn)return Pt;Bn=1;var n=re(),e=_r(),r=n({}.hasOwnProperty);return Pt=Object.hasOwn||function(i,a){return r(e(i),a)},Pt}var At,Fn;function tl(){if(Fn)return At;Fn=1;var n=re(),e=0,r=Math.random(),t=n(1 .toString);return At=function(i){return"Symbol("+(i===void 0?"":i)+")_"+t(++e+r,36)},At}var It,Un;function ne(){if(Un)return It;Un=1;var n=Z(),e=Ua(),r=we(),t=tl(),i=Ju(),a=el(),s=n.Symbol,o=e("wks"),u=a?s.for||s:s&&s.withoutSetter||t;return It=function(l){return r(o,l)||(o[l]=i&&r(s,l)?s[l]:u("Symbol."+l)),o[l]},It}var Nt,Gn;function zl(){if(Gn)return Nt;Gn=1;var n=se(),e=Ce(),r=rl(),t=ar(),i=$l(),a=ne(),s=TypeError,o=a("toPrimitive");return Nt=function(u,l){if(!e(u)||r(u))return u;var h=t(u,o),c;if(h){if(l===void 0&&(l="default"),c=n(h,u,l),!e(c)||r(c))return c;throw new s("Can't convert object to primitive value")}return l===void 0&&(l="number"),i(u,l)},Nt}var _t,$n;function il(){if($n)return _t;$n=1;var n=zl(),e=rl();return _t=function(r){var t=n(r,"string");return e(t)?t:t+""},_t}var Mt,zn;function Mr(){if(zn)return Mt;zn=1;var n=Z(),e=Ce(),r=n.document,t=e(r)&&e(r.createElement);return Mt=function(i){return t?r.createElement(i):{}},Mt}var qt,Hn;function al(){if(Hn)return qt;Hn=1;var n=Ee(),e=ee(),r=Mr();return qt=!n&&!e(function(){return Object.defineProperty(r("div"),"a",{get:function(){return 7}}).a!==7}),qt}var Wn;function qr(){if(Wn)return Qr;Wn=1;var n=Ee(),e=se(),r=Gl(),t=ka(),i=cr(),a=il(),s=we(),o=al(),u=Object.getOwnPropertyDescriptor;return Qr.f=n?u:function(h,c){if(h=i(h),c=a(c),o)try{return u(h,c)}catch{}if(s(h,c))return t(!e(r.f,h,c),h[c])},Qr}var Dt={},Vt,Yn;function nl(){if(Yn)return Vt;Yn=1;var n=Ee(),e=ee();return Vt=n&&e(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!==42}),Vt}var Lt,Xn;function ue(){if(Xn)return Lt;Xn=1;var n=Ce(),e=String,r=TypeError;return Lt=function(t){if(n(t))return t;throw new r(e(t)+" is not an object")},Lt}var Kn;function He(){if(Kn)return Dt;Kn=1;var n=Ee(),e=al(),r=nl(),t=ue(),i=il(),a=TypeError,s=Object.defineProperty,o=Object.getOwnPropertyDescriptor,u="enumerable",l="configurable",h="writable";return Dt.f=n?r?function(v,f,g){if(t(v),f=i(f),t(g),typeof v=="function"&&f==="prototype"&&"value"in g&&h in g&&!g[h]){var d=o(v,f);d&&d[h]&&(v[f]=g.value,g={configurable:l in g?g[l]:d[l],enumerable:u in g?g[u]:d[u],writable:!1})}return s(v,f,g)}:s:function(v,f,g){if(t(v),f=i(f),t(g),e)try{return s(v,f,g)}catch{}if("get"in g||"set"in g)throw new a("Accessors not supported");return"value"in g&&(v[f]=g.value),v},Dt}var kt,Qn;function gr(){if(Qn)return kt;Qn=1;var n=Ee(),e=He(),r=ka();return kt=n?function(t,i,a){return e.f(t,i,r(1,a))}:function(t,i,a){return t[i]=a,t},kt}var jt={exports:{}},Bt,Zn;function Dr(){if(Zn)return Bt;Zn=1;var n=Ee(),e=we(),r=Function.prototype,t=n&&Object.getOwnPropertyDescriptor,i=e(r,"name"),a=i&&(function(){}).name==="something",s=i&&(!n||n&&t(r,"name").configurable);return Bt={EXISTS:i,PROPER:a,CONFIGURABLE:s},Bt}var Ft,Jn;function Ga(){if(Jn)return Ft;Jn=1;var n=re(),e=te(),r=Fa(),t=n(Function.toString);return e(r.inspectSource)||(r.inspectSource=function(i){return t(i)}),Ft=r.inspectSource,Ft}var Ut,es;function Hl(){if(es)return Ut;es=1;var n=Z(),e=te(),r=n.WeakMap;return Ut=e(r)&&/native code/.test(String(r)),Ut}var Gt,rs;function $a(){if(rs)return Gt;rs=1;var n=Ua(),e=tl(),r=n("keys");return Gt=function(t){return r[t]||(r[t]=e(t))},Gt}var $t,ts;function za(){return ts||(ts=1,$t={}),$t}var zt,is;function Vr(){if(is)return zt;is=1;var n=Hl(),e=Z(),r=Ce(),t=gr(),i=we(),a=Fa(),s=$a(),o=za(),u="Object already initialized",l=e.TypeError,h=e.WeakMap,c,v,f,g=function(m){return f(m)?v(m):c(m,{})},d=function(m){return function(b){var x;if(!r(b)||(x=v(b)).type!==m)throw new l("Incompatible receiver, "+m+" required");return x}};if(n||a.state){var p=a.state||(a.state=new h);p.get=p.get,p.has=p.has,p.set=p.set,c=function(m,b){if(p.has(m))throw new l(u);return b.facade=m,p.set(m,b),b},v=function(m){return p.get(m)||{}},f=function(m){return p.has(m)}}else{var y=s("state");o[y]=!0,c=function(m,b){if(i(m,y))throw new l(u);return b.facade=m,t(m,y,b),b},v=function(m){return i(m,y)?m[y]:{}},f=function(m){return i(m,y)}}return zt={set:c,get:v,has:f,enforce:g,getterFor:d},zt}var as;function sl(){if(as)return jt.exports;as=1;var n=re(),e=ee(),r=te(),t=we(),i=Ee(),a=Dr().CONFIGURABLE,s=Ga(),o=Vr(),u=o.enforce,l=o.get,h=String,c=Object.defineProperty,v=n("".slice),f=n("".replace),g=n([].join),d=i&&!e(function(){return c(function(){},"length",{value:8}).length!==8}),p=String(String).split("String"),y=jt.exports=function(m,b,x){v(h(b),0,7)==="Symbol("&&(b="["+f(h(b),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),x&&x.getter&&(b="get "+b),x&&x.setter&&(b="set "+b),(!t(m,"name")||a&&m.name!==b)&&(i?c(m,"name",{value:b,configurable:!0}):m.name=b),d&&x&&t(x,"arity")&&m.length!==x.arity&&c(m,"length",{value:x.arity});try{x&&t(x,"constructor")&&x.constructor?i&&c(m,"prototype",{writable:!1}):m.prototype&&(m.prototype=void 0)}catch{}var S=u(m);return t(S,"source")||(S.source=g(p,typeof b=="string"?b:"")),m};return Function.prototype.toString=y(function(){return r(this)&&l(this).source||s(this)},"toString"),jt.exports}var Ht,ns;function rr(){if(ns)return Ht;ns=1;var n=te(),e=He(),r=sl(),t=Ba();return Ht=function(i,a,s,o){o||(o={});var u=o.enumerable,l=o.name!==void 0?o.name:a;if(n(s)&&r(s,l,o),o.global)u?i[a]=s:t(a,s);else{try{o.unsafe?i[a]&&(u=!0):delete i[a]}catch{}u?i[a]=s:e.f(i,a,{value:s,enumerable:!1,configurable:!o.nonConfigurable,writable:!o.nonWritable})}return i},Ht}var Wt={},Yt,ss;function Wl(){if(ss)return Yt;ss=1;var n=Math.ceil,e=Math.floor;return Yt=Math.trunc||function(t){var i=+t;return(i>0?e:n)(i)},Yt}var Xt,os;function Lr(){if(os)return Xt;os=1;var n=Wl();return Xt=function(e){var r=+e;return r!==r||r===0?0:n(r)},Xt}var Kt,us;function Yl(){if(us)return Kt;us=1;var n=Lr(),e=Math.max,r=Math.min;return Kt=function(t,i){var a=n(t);return a<0?e(a+i,0):r(a,i)},Kt}var Qt,ls;function nr(){if(ls)return Qt;ls=1;var n=Lr(),e=Math.min;return Qt=function(r){var t=n(r);return t>0?e(t,9007199254740991):0},Qt}var Zt,hs;function Ha(){if(hs)return Zt;hs=1;var n=nr();return Zt=function(e){return n(e.length)},Zt}var Jt,fs;function ol(){if(fs)return Jt;fs=1;var n=cr(),e=Yl(),r=Ha(),t=function(i){return function(a,s,o){var u=n(a),l=r(u);if(l===0)return!i&&-1;var h=e(o,l),c;if(i&&s!==s){for(;l>h;)if(c=u[h++],c!==c)return!0}else for(;l>h;h++)if((i||h in u)&&u[h]===s)return i||h||0;return!i&&-1}};return Jt={includes:t(!0),indexOf:t(!1)},Jt}var ei,cs;function ul(){if(cs)return ei;cs=1;var n=re(),e=we(),r=cr(),t=ol().indexOf,i=za(),a=n([].push);return ei=function(s,o){var u=r(s),l=0,h=[],c;for(c in u)!e(i,c)&&e(u,c)&&a(h,c);for(;o.length>l;)e(u,c=o[l++])&&(~t(h,c)||a(h,c));return h},ei}var ri,vs;function Wa(){return vs||(vs=1,ri=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]),ri}var gs;function Xl(){if(gs)return Wt;gs=1;var n=ul(),e=Wa(),r=e.concat("length","prototype");return Wt.f=Object.getOwnPropertyNames||function(i){return n(i,r)},Wt}var ti={},ds;function Kl(){return ds||(ds=1,ti.f=Object.getOwnPropertySymbols),ti}var ii,ps;function Ql(){if(ps)return ii;ps=1;var n=er(),e=re(),r=Xl(),t=Kl(),i=ue(),a=e([].concat);return ii=n("Reflect","ownKeys")||function(o){var u=r.f(i(o)),l=t.f;return l?a(u,l(o)):u},ii}var ai,ys;function Zl(){if(ys)return ai;ys=1;var n=we(),e=Ql(),r=qr(),t=He();return ai=function(i,a,s){for(var o=e(a),u=t.f,l=r.f,h=0;h_;_++)if(P=R(f[_]),P&&s(v,P))return P;return new c(!1)}E=o(f,O)}for(M=m?f.next:E.next;!(w=e(M,E)).done;){try{P=R(w.value)}catch(A){l(E,"throw",A)}if(typeof P=="object"&&P&&s(v,P))return P}return new c(!1)},zi}var Hi,oo;function bh(){if(oo)return Hi;oo=1;var n=ne(),e=n("iterator"),r=!1;try{var t=0,i={next:function(){return{done:!!t++}},return:function(){r=!0}};i[e]=function(){return this},Array.from(i,function(){throw 2})}catch{}return Hi=function(a,s){try{if(!s&&!r)return!1}catch{return!1}var o=!1;try{var u={};u[e]=function(){return{next:function(){return{done:o=!0}}}},a(u)}catch{}return o},Hi}var Wi,uo;function xl(){if(uo)return Wi;uo=1;var n=dr(),e=bh(),r=pr().CONSTRUCTOR;return Wi=r||!e(function(t){n.all(t).then(void 0,function(){})}),Wi}var lo;function xh(){if(lo)return eo;lo=1;var n=le(),e=se(),r=Be(),t=yr(),i=Ka(),a=bl(),s=xl();return n({target:"Promise",stat:!0,forced:s},{all:function(u){var l=this,h=t.f(l),c=h.resolve,v=h.reject,f=i(function(){var g=r(l.resolve),d=[],p=0,y=1;a(u,function(m){var b=p++,x=!1;y++,e(g,l,m).then(function(S){x||(x=!0,d[b]=S,--y||c(d))},v)}),--y||c(d)});return f.error&&v(f.value),h.promise}}),eo}var ho={},fo;function Oh(){if(fo)return ho;fo=1;var n=le(),e=Me(),r=pr().CONSTRUCTOR,t=dr(),i=er(),a=te(),s=rr(),o=t&&t.prototype;if(n({target:"Promise",proto:!0,forced:r,real:!0},{catch:function(l){return this.then(void 0,l)}}),!e&&a(t)){var u=i("Promise").prototype.catch;o.catch!==u&&s(o,"catch",u,{unsafe:!0})}return ho}var co={},vo;function Th(){if(vo)return co;vo=1;var n=le(),e=se(),r=Be(),t=yr(),i=Ka(),a=bl(),s=xl();return n({target:"Promise",stat:!0,forced:s},{race:function(u){var l=this,h=t.f(l),c=h.reject,v=i(function(){var f=r(l.resolve);a(u,function(g){e(f,l,g).then(h.resolve,c)})});return v.error&&c(v.value),h.promise}}),co}var go={},po;function Sh(){if(po)return go;po=1;var n=le(),e=yr(),r=pr().CONSTRUCTOR;return n({target:"Promise",stat:!0,forced:r},{reject:function(i){var a=e.f(this),s=a.reject;return s(i),a.promise}}),go}var yo={},Yi,mo;function Eh(){if(mo)return Yi;mo=1;var n=ue(),e=Ce(),r=yr();return Yi=function(t,i){if(n(t),e(i)&&i.constructor===t)return i;var a=r.f(t),s=a.resolve;return s(i),a.promise},Yi}var bo;function Rh(){if(bo)return yo;bo=1;var n=le(),e=er(),r=Me(),t=dr(),i=pr().CONSTRUCTOR,a=Eh(),s=e("Promise"),o=r&&!i;return n({target:"Promise",stat:!0,forced:r||i},{resolve:function(l){return a(o&&this===s?t:this,l)}}),yo}var xo;function Ch(){return xo||(xo=1,dh(),xh(),Oh(),Th(),Sh(),Rh()),on}Ch();function Oo(n,e,r,t,i,a,s){try{var o=n[a](s),u=o.value}catch(l){return void r(l)}o.done?e(u):Promise.resolve(u).then(t,i)}function je(n){return function(){var e=this,r=arguments;return new Promise(function(t,i){var a=n.apply(e,r);function s(u){Oo(a,t,i,s,o,"next",u)}function o(u){Oo(a,t,i,s,o,"throw",u)}s(void 0)})}}var To={},So={},Xi,Eo;function qe(){if(Eo)return Xi;Eo=1;var n=Ya(),e=String;return Xi=function(r){if(n(r)==="Symbol")throw new TypeError("Cannot convert a Symbol value to a string");return e(r)},Xi}var Ki,Ro;function Ol(){if(Ro)return Ki;Ro=1;var n=ue();return Ki=function(){var e=n(this),r="";return e.hasIndices&&(r+="d"),e.global&&(r+="g"),e.ignoreCase&&(r+="i"),e.multiline&&(r+="m"),e.dotAll&&(r+="s"),e.unicode&&(r+="u"),e.unicodeSets&&(r+="v"),e.sticky&&(r+="y"),r},Ki}var Qi,Co;function Tl(){if(Co)return Qi;Co=1;var n=ee(),e=Z(),r=e.RegExp,t=n(function(){var s=r("a","y");return s.lastIndex=2,s.exec("abcd")!==null}),i=t||n(function(){return!r("a","y").sticky}),a=t||n(function(){var s=r("^r","gy");return s.lastIndex=2,s.exec("str")!==null});return Qi={BROKEN_CARET:a,MISSED_STICKY:i,UNSUPPORTED_Y:t},Qi}var Zi={},Ji,wo;function wh(){if(wo)return Ji;wo=1;var n=ul(),e=Wa();return Ji=Object.keys||function(t){return n(t,e)},Ji}var Po;function Ph(){if(Po)return Zi;Po=1;var n=Ee(),e=nl(),r=He(),t=ue(),i=cr(),a=wh();return Zi.f=n&&!e?Object.defineProperties:function(o,u){t(o);for(var l=i(u),h=a(u),c=h.length,v=0,f;c>v;)r.f(o,f=h[v++],l[f]);return o},Zi}var ea,Ao;function Fr(){if(Ao)return ea;Ao=1;var n=ue(),e=Ph(),r=Wa(),t=za(),i=gl(),a=Mr(),s=$a(),o=">",u="<",l="prototype",h="script",c=s("IE_PROTO"),v=function(){},f=function(m){return u+h+o+m+u+"/"+h+o},g=function(m){m.write(f("")),m.close();var b=m.parentWindow.Object;return m=null,b},d=function(){var m=a("iframe"),b="java"+h+":",x;return m.style.display="none",i.appendChild(m),m.src=String(b),x=m.contentWindow.document,x.open(),x.write(f("document.F=Object")),x.close(),x.F},p,y=function(){try{p=new ActiveXObject("htmlfile")}catch{}y=typeof document<"u"?document.domain&&p?g(p):d():g(p);for(var m=r.length;m--;)delete y[l][r[m]];return y()};return t[c]=!0,ea=Object.create||function(b,x){var S;return b!==null?(v[l]=n(b),S=new v,v[l]=null,S[c]=b):S=y(),x===void 0?S:e.f(S,x)},ea}var ra,Io;function Ah(){if(Io)return ra;Io=1;var n=ee(),e=Z(),r=e.RegExp;return ra=n(function(){var t=r(".","s");return!(t.dotAll&&t.test(` +import{c as Ma,t as Ul,g as Qu}from"./index-4QqyYkCP.js";var on={},un={},lr,ln;function Z(){if(ln)return lr;ln=1;var n=function(e){return e&&e.Math===Math&&e};return lr=n(typeof globalThis=="object"&&globalThis)||n(typeof window=="object"&&window)||n(typeof self=="object"&&self)||n(typeof Ma=="object"&&Ma)||n(typeof lr=="object"&&lr)||function(){return this}()||Function("return this")(),lr}var Qr={},Zr,hn;function ee(){return hn||(hn=1,Zr=function(n){try{return!!n()}catch{return!0}}),Zr}var Jr,fn;function Ee(){if(fn)return Jr;fn=1;var n=ee();return Jr=!n(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7}),Jr}var et,cn;function Ar(){if(cn)return et;cn=1;var n=ee();return et=!n(function(){var e=(function(){}).bind();return typeof e!="function"||e.hasOwnProperty("prototype")}),et}var rt,vn;function se(){if(vn)return rt;vn=1;var n=Ar(),e=Function.prototype.call;return rt=n?e.bind(e):function(){return e.apply(e,arguments)},rt}var tt={},gn;function Gl(){if(gn)return tt;gn=1;var n={}.propertyIsEnumerable,e=Object.getOwnPropertyDescriptor,r=e&&!n.call({1:2},1);return tt.f=r?function(i){var a=e(this,i);return!!a&&a.enumerable}:n,tt}var it,dn;function ka(){return dn||(dn=1,it=function(n,e){return{enumerable:!(n&1),configurable:!(n&2),writable:!(n&4),value:e}}),it}var at,pn;function re(){if(pn)return at;pn=1;var n=Ar(),e=Function.prototype,r=e.call,t=n&&e.bind.bind(r,r);return at=n?t:function(i){return function(){return r.apply(i,arguments)}},at}var nt,yn;function Ze(){if(yn)return nt;yn=1;var n=re(),e=n({}.toString),r=n("".slice);return nt=function(t){return r(e(t),8,-1)},nt}var st,mn;function Zu(){if(mn)return st;mn=1;var n=re(),e=ee(),r=Ze(),t=Object,i=n("".split);return st=e(function(){return!t("z").propertyIsEnumerable(0)})?function(a){return r(a)==="String"?i(a,""):t(a)}:t,st}var ot,bn;function Je(){return bn||(bn=1,ot=function(n){return n==null}),ot}var ut,xn;function Re(){if(xn)return ut;xn=1;var n=Je(),e=TypeError;return ut=function(r){if(n(r))throw new e("Can't call method on "+r);return r},ut}var lt,On;function cr(){if(On)return lt;On=1;var n=Zu(),e=Re();return lt=function(r){return n(e(r))},lt}var ht,Tn;function te(){if(Tn)return ht;Tn=1;var n=typeof document=="object"&&document.all;return ht=typeof n>"u"&&n!==void 0?function(e){return typeof e=="function"||e===n}:function(e){return typeof e=="function"},ht}var ft,Sn;function Ce(){if(Sn)return ft;Sn=1;var n=te();return ft=function(e){return typeof e=="object"?e!==null:n(e)},ft}var ct,En;function er(){if(En)return ct;En=1;var n=Z(),e=te(),r=function(t){return e(t)?t:void 0};return ct=function(t,i){return arguments.length<2?r(n[t]):n[t]&&n[t][i]},ct}var vt,Rn;function Ir(){if(Rn)return vt;Rn=1;var n=re();return vt=n({}.isPrototypeOf),vt}var gt,Cn;function vr(){if(Cn)return gt;Cn=1;var n=Z(),e=n.navigator,r=e&&e.userAgent;return gt=r?String(r):"",gt}var dt,wn;function ja(){if(wn)return dt;wn=1;var n=Z(),e=vr(),r=n.process,t=n.Deno,i=r&&r.versions||t&&t.version,a=i&&i.v8,s,o;return a&&(s=a.split("."),o=s[0]>0&&s[0]<4?1:+(s[0]+s[1])),!o&&e&&(s=e.match(/Edge\/(\d+)/),(!s||s[1]>=74)&&(s=e.match(/Chrome\/(\d+)/),s&&(o=+s[1]))),dt=o,dt}var pt,Pn;function Ju(){if(Pn)return pt;Pn=1;var n=ja(),e=ee(),r=Z(),t=r.String;return pt=!!Object.getOwnPropertySymbols&&!e(function(){var i=Symbol("symbol detection");return!t(i)||!(Object(i)instanceof Symbol)||!Symbol.sham&&n&&n<41}),pt}var yt,An;function el(){if(An)return yt;An=1;var n=Ju();return yt=n&&!Symbol.sham&&typeof Symbol.iterator=="symbol",yt}var mt,In;function rl(){if(In)return mt;In=1;var n=er(),e=te(),r=Ir(),t=el(),i=Object;return mt=t?function(a){return typeof a=="symbol"}:function(a){var s=n("Symbol");return e(s)&&r(s.prototype,i(a))},mt}var bt,Nn;function Nr(){if(Nn)return bt;Nn=1;var n=String;return bt=function(e){try{return n(e)}catch{return"Object"}},bt}var xt,_n;function Be(){if(_n)return xt;_n=1;var n=te(),e=Nr(),r=TypeError;return xt=function(t){if(n(t))return t;throw new r(e(t)+" is not a function")},xt}var Ot,Mn;function ar(){if(Mn)return Ot;Mn=1;var n=Be(),e=Je();return Ot=function(r,t){var i=r[t];return e(i)?void 0:n(i)},Ot}var Tt,qn;function $l(){if(qn)return Tt;qn=1;var n=se(),e=te(),r=Ce(),t=TypeError;return Tt=function(i,a){var s,o;if(a==="string"&&e(s=i.toString)&&!r(o=n(s,i))||e(s=i.valueOf)&&!r(o=n(s,i))||a!=="string"&&e(s=i.toString)&&!r(o=n(s,i)))return o;throw new t("Can't convert object to primitive value")},Tt}var St={exports:{}},Et,Dn;function Me(){return Dn||(Dn=1,Et=!1),Et}var Rt,Vn;function Ba(){if(Vn)return Rt;Vn=1;var n=Z(),e=Object.defineProperty;return Rt=function(r,t){try{e(n,r,{value:t,configurable:!0,writable:!0})}catch{n[r]=t}return t},Rt}var Ln;function Fa(){if(Ln)return St.exports;Ln=1;var n=Me(),e=Z(),r=Ba(),t="__core-js_shared__",i=St.exports=e[t]||r(t,{});return(i.versions||(i.versions=[])).push({version:"3.41.0",mode:n?"pure":"global",copyright:"© 2014-2025 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.41.0/LICENSE",source:"https://github.com/zloirock/core-js"}),St.exports}var Ct,kn;function Ua(){if(kn)return Ct;kn=1;var n=Fa();return Ct=function(e,r){return n[e]||(n[e]=r||{})},Ct}var wt,jn;function _r(){if(jn)return wt;jn=1;var n=Re(),e=Object;return wt=function(r){return e(n(r))},wt}var Pt,Bn;function we(){if(Bn)return Pt;Bn=1;var n=re(),e=_r(),r=n({}.hasOwnProperty);return Pt=Object.hasOwn||function(i,a){return r(e(i),a)},Pt}var At,Fn;function tl(){if(Fn)return At;Fn=1;var n=re(),e=0,r=Math.random(),t=n(1 .toString);return At=function(i){return"Symbol("+(i===void 0?"":i)+")_"+t(++e+r,36)},At}var It,Un;function ne(){if(Un)return It;Un=1;var n=Z(),e=Ua(),r=we(),t=tl(),i=Ju(),a=el(),s=n.Symbol,o=e("wks"),u=a?s.for||s:s&&s.withoutSetter||t;return It=function(l){return r(o,l)||(o[l]=i&&r(s,l)?s[l]:u("Symbol."+l)),o[l]},It}var Nt,Gn;function zl(){if(Gn)return Nt;Gn=1;var n=se(),e=Ce(),r=rl(),t=ar(),i=$l(),a=ne(),s=TypeError,o=a("toPrimitive");return Nt=function(u,l){if(!e(u)||r(u))return u;var h=t(u,o),c;if(h){if(l===void 0&&(l="default"),c=n(h,u,l),!e(c)||r(c))return c;throw new s("Can't convert object to primitive value")}return l===void 0&&(l="number"),i(u,l)},Nt}var _t,$n;function il(){if($n)return _t;$n=1;var n=zl(),e=rl();return _t=function(r){var t=n(r,"string");return e(t)?t:t+""},_t}var Mt,zn;function Mr(){if(zn)return Mt;zn=1;var n=Z(),e=Ce(),r=n.document,t=e(r)&&e(r.createElement);return Mt=function(i){return t?r.createElement(i):{}},Mt}var qt,Hn;function al(){if(Hn)return qt;Hn=1;var n=Ee(),e=ee(),r=Mr();return qt=!n&&!e(function(){return Object.defineProperty(r("div"),"a",{get:function(){return 7}}).a!==7}),qt}var Wn;function qr(){if(Wn)return Qr;Wn=1;var n=Ee(),e=se(),r=Gl(),t=ka(),i=cr(),a=il(),s=we(),o=al(),u=Object.getOwnPropertyDescriptor;return Qr.f=n?u:function(h,c){if(h=i(h),c=a(c),o)try{return u(h,c)}catch{}if(s(h,c))return t(!e(r.f,h,c),h[c])},Qr}var Dt={},Vt,Yn;function nl(){if(Yn)return Vt;Yn=1;var n=Ee(),e=ee();return Vt=n&&e(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!==42}),Vt}var Lt,Xn;function ue(){if(Xn)return Lt;Xn=1;var n=Ce(),e=String,r=TypeError;return Lt=function(t){if(n(t))return t;throw new r(e(t)+" is not an object")},Lt}var Kn;function He(){if(Kn)return Dt;Kn=1;var n=Ee(),e=al(),r=nl(),t=ue(),i=il(),a=TypeError,s=Object.defineProperty,o=Object.getOwnPropertyDescriptor,u="enumerable",l="configurable",h="writable";return Dt.f=n?r?function(v,f,g){if(t(v),f=i(f),t(g),typeof v=="function"&&f==="prototype"&&"value"in g&&h in g&&!g[h]){var d=o(v,f);d&&d[h]&&(v[f]=g.value,g={configurable:l in g?g[l]:d[l],enumerable:u in g?g[u]:d[u],writable:!1})}return s(v,f,g)}:s:function(v,f,g){if(t(v),f=i(f),t(g),e)try{return s(v,f,g)}catch{}if("get"in g||"set"in g)throw new a("Accessors not supported");return"value"in g&&(v[f]=g.value),v},Dt}var kt,Qn;function gr(){if(Qn)return kt;Qn=1;var n=Ee(),e=He(),r=ka();return kt=n?function(t,i,a){return e.f(t,i,r(1,a))}:function(t,i,a){return t[i]=a,t},kt}var jt={exports:{}},Bt,Zn;function Dr(){if(Zn)return Bt;Zn=1;var n=Ee(),e=we(),r=Function.prototype,t=n&&Object.getOwnPropertyDescriptor,i=e(r,"name"),a=i&&(function(){}).name==="something",s=i&&(!n||n&&t(r,"name").configurable);return Bt={EXISTS:i,PROPER:a,CONFIGURABLE:s},Bt}var Ft,Jn;function Ga(){if(Jn)return Ft;Jn=1;var n=re(),e=te(),r=Fa(),t=n(Function.toString);return e(r.inspectSource)||(r.inspectSource=function(i){return t(i)}),Ft=r.inspectSource,Ft}var Ut,es;function Hl(){if(es)return Ut;es=1;var n=Z(),e=te(),r=n.WeakMap;return Ut=e(r)&&/native code/.test(String(r)),Ut}var Gt,rs;function $a(){if(rs)return Gt;rs=1;var n=Ua(),e=tl(),r=n("keys");return Gt=function(t){return r[t]||(r[t]=e(t))},Gt}var $t,ts;function za(){return ts||(ts=1,$t={}),$t}var zt,is;function Vr(){if(is)return zt;is=1;var n=Hl(),e=Z(),r=Ce(),t=gr(),i=we(),a=Fa(),s=$a(),o=za(),u="Object already initialized",l=e.TypeError,h=e.WeakMap,c,v,f,g=function(m){return f(m)?v(m):c(m,{})},d=function(m){return function(b){var x;if(!r(b)||(x=v(b)).type!==m)throw new l("Incompatible receiver, "+m+" required");return x}};if(n||a.state){var p=a.state||(a.state=new h);p.get=p.get,p.has=p.has,p.set=p.set,c=function(m,b){if(p.has(m))throw new l(u);return b.facade=m,p.set(m,b),b},v=function(m){return p.get(m)||{}},f=function(m){return p.has(m)}}else{var y=s("state");o[y]=!0,c=function(m,b){if(i(m,y))throw new l(u);return b.facade=m,t(m,y,b),b},v=function(m){return i(m,y)?m[y]:{}},f=function(m){return i(m,y)}}return zt={set:c,get:v,has:f,enforce:g,getterFor:d},zt}var as;function sl(){if(as)return jt.exports;as=1;var n=re(),e=ee(),r=te(),t=we(),i=Ee(),a=Dr().CONFIGURABLE,s=Ga(),o=Vr(),u=o.enforce,l=o.get,h=String,c=Object.defineProperty,v=n("".slice),f=n("".replace),g=n([].join),d=i&&!e(function(){return c(function(){},"length",{value:8}).length!==8}),p=String(String).split("String"),y=jt.exports=function(m,b,x){v(h(b),0,7)==="Symbol("&&(b="["+f(h(b),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),x&&x.getter&&(b="get "+b),x&&x.setter&&(b="set "+b),(!t(m,"name")||a&&m.name!==b)&&(i?c(m,"name",{value:b,configurable:!0}):m.name=b),d&&x&&t(x,"arity")&&m.length!==x.arity&&c(m,"length",{value:x.arity});try{x&&t(x,"constructor")&&x.constructor?i&&c(m,"prototype",{writable:!1}):m.prototype&&(m.prototype=void 0)}catch{}var S=u(m);return t(S,"source")||(S.source=g(p,typeof b=="string"?b:"")),m};return Function.prototype.toString=y(function(){return r(this)&&l(this).source||s(this)},"toString"),jt.exports}var Ht,ns;function rr(){if(ns)return Ht;ns=1;var n=te(),e=He(),r=sl(),t=Ba();return Ht=function(i,a,s,o){o||(o={});var u=o.enumerable,l=o.name!==void 0?o.name:a;if(n(s)&&r(s,l,o),o.global)u?i[a]=s:t(a,s);else{try{o.unsafe?i[a]&&(u=!0):delete i[a]}catch{}u?i[a]=s:e.f(i,a,{value:s,enumerable:!1,configurable:!o.nonConfigurable,writable:!o.nonWritable})}return i},Ht}var Wt={},Yt,ss;function Wl(){if(ss)return Yt;ss=1;var n=Math.ceil,e=Math.floor;return Yt=Math.trunc||function(t){var i=+t;return(i>0?e:n)(i)},Yt}var Xt,os;function Lr(){if(os)return Xt;os=1;var n=Wl();return Xt=function(e){var r=+e;return r!==r||r===0?0:n(r)},Xt}var Kt,us;function Yl(){if(us)return Kt;us=1;var n=Lr(),e=Math.max,r=Math.min;return Kt=function(t,i){var a=n(t);return a<0?e(a+i,0):r(a,i)},Kt}var Qt,ls;function nr(){if(ls)return Qt;ls=1;var n=Lr(),e=Math.min;return Qt=function(r){var t=n(r);return t>0?e(t,9007199254740991):0},Qt}var Zt,hs;function Ha(){if(hs)return Zt;hs=1;var n=nr();return Zt=function(e){return n(e.length)},Zt}var Jt,fs;function ol(){if(fs)return Jt;fs=1;var n=cr(),e=Yl(),r=Ha(),t=function(i){return function(a,s,o){var u=n(a),l=r(u);if(l===0)return!i&&-1;var h=e(o,l),c;if(i&&s!==s){for(;l>h;)if(c=u[h++],c!==c)return!0}else for(;l>h;h++)if((i||h in u)&&u[h]===s)return i||h||0;return!i&&-1}};return Jt={includes:t(!0),indexOf:t(!1)},Jt}var ei,cs;function ul(){if(cs)return ei;cs=1;var n=re(),e=we(),r=cr(),t=ol().indexOf,i=za(),a=n([].push);return ei=function(s,o){var u=r(s),l=0,h=[],c;for(c in u)!e(i,c)&&e(u,c)&&a(h,c);for(;o.length>l;)e(u,c=o[l++])&&(~t(h,c)||a(h,c));return h},ei}var ri,vs;function Wa(){return vs||(vs=1,ri=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]),ri}var gs;function Xl(){if(gs)return Wt;gs=1;var n=ul(),e=Wa(),r=e.concat("length","prototype");return Wt.f=Object.getOwnPropertyNames||function(i){return n(i,r)},Wt}var ti={},ds;function Kl(){return ds||(ds=1,ti.f=Object.getOwnPropertySymbols),ti}var ii,ps;function Ql(){if(ps)return ii;ps=1;var n=er(),e=re(),r=Xl(),t=Kl(),i=ue(),a=e([].concat);return ii=n("Reflect","ownKeys")||function(o){var u=r.f(i(o)),l=t.f;return l?a(u,l(o)):u},ii}var ai,ys;function Zl(){if(ys)return ai;ys=1;var n=we(),e=Ql(),r=qr(),t=He();return ai=function(i,a,s){for(var o=e(a),u=t.f,l=r.f,h=0;h_;_++)if(P=R(f[_]),P&&s(v,P))return P;return new c(!1)}E=o(f,O)}for(M=m?f.next:E.next;!(w=e(M,E)).done;){try{P=R(w.value)}catch(A){l(E,"throw",A)}if(typeof P=="object"&&P&&s(v,P))return P}return new c(!1)},zi}var Hi,oo;function bh(){if(oo)return Hi;oo=1;var n=ne(),e=n("iterator"),r=!1;try{var t=0,i={next:function(){return{done:!!t++}},return:function(){r=!0}};i[e]=function(){return this},Array.from(i,function(){throw 2})}catch{}return Hi=function(a,s){try{if(!s&&!r)return!1}catch{return!1}var o=!1;try{var u={};u[e]=function(){return{next:function(){return{done:o=!0}}}},a(u)}catch{}return o},Hi}var Wi,uo;function xl(){if(uo)return Wi;uo=1;var n=dr(),e=bh(),r=pr().CONSTRUCTOR;return Wi=r||!e(function(t){n.all(t).then(void 0,function(){})}),Wi}var lo;function xh(){if(lo)return eo;lo=1;var n=le(),e=se(),r=Be(),t=yr(),i=Ka(),a=bl(),s=xl();return n({target:"Promise",stat:!0,forced:s},{all:function(u){var l=this,h=t.f(l),c=h.resolve,v=h.reject,f=i(function(){var g=r(l.resolve),d=[],p=0,y=1;a(u,function(m){var b=p++,x=!1;y++,e(g,l,m).then(function(S){x||(x=!0,d[b]=S,--y||c(d))},v)}),--y||c(d)});return f.error&&v(f.value),h.promise}}),eo}var ho={},fo;function Oh(){if(fo)return ho;fo=1;var n=le(),e=Me(),r=pr().CONSTRUCTOR,t=dr(),i=er(),a=te(),s=rr(),o=t&&t.prototype;if(n({target:"Promise",proto:!0,forced:r,real:!0},{catch:function(l){return this.then(void 0,l)}}),!e&&a(t)){var u=i("Promise").prototype.catch;o.catch!==u&&s(o,"catch",u,{unsafe:!0})}return ho}var co={},vo;function Th(){if(vo)return co;vo=1;var n=le(),e=se(),r=Be(),t=yr(),i=Ka(),a=bl(),s=xl();return n({target:"Promise",stat:!0,forced:s},{race:function(u){var l=this,h=t.f(l),c=h.reject,v=i(function(){var f=r(l.resolve);a(u,function(g){e(f,l,g).then(h.resolve,c)})});return v.error&&c(v.value),h.promise}}),co}var go={},po;function Sh(){if(po)return go;po=1;var n=le(),e=yr(),r=pr().CONSTRUCTOR;return n({target:"Promise",stat:!0,forced:r},{reject:function(i){var a=e.f(this),s=a.reject;return s(i),a.promise}}),go}var yo={},Yi,mo;function Eh(){if(mo)return Yi;mo=1;var n=ue(),e=Ce(),r=yr();return Yi=function(t,i){if(n(t),e(i)&&i.constructor===t)return i;var a=r.f(t),s=a.resolve;return s(i),a.promise},Yi}var bo;function Rh(){if(bo)return yo;bo=1;var n=le(),e=er(),r=Me(),t=dr(),i=pr().CONSTRUCTOR,a=Eh(),s=e("Promise"),o=r&&!i;return n({target:"Promise",stat:!0,forced:r||i},{resolve:function(l){return a(o&&this===s?t:this,l)}}),yo}var xo;function Ch(){return xo||(xo=1,dh(),xh(),Oh(),Th(),Sh(),Rh()),on}Ch();function Oo(n,e,r,t,i,a,s){try{var o=n[a](s),u=o.value}catch(l){return void r(l)}o.done?e(u):Promise.resolve(u).then(t,i)}function je(n){return function(){var e=this,r=arguments;return new Promise(function(t,i){var a=n.apply(e,r);function s(u){Oo(a,t,i,s,o,"next",u)}function o(u){Oo(a,t,i,s,o,"throw",u)}s(void 0)})}}var To={},So={},Xi,Eo;function qe(){if(Eo)return Xi;Eo=1;var n=Ya(),e=String;return Xi=function(r){if(n(r)==="Symbol")throw new TypeError("Cannot convert a Symbol value to a string");return e(r)},Xi}var Ki,Ro;function Ol(){if(Ro)return Ki;Ro=1;var n=ue();return Ki=function(){var e=n(this),r="";return e.hasIndices&&(r+="d"),e.global&&(r+="g"),e.ignoreCase&&(r+="i"),e.multiline&&(r+="m"),e.dotAll&&(r+="s"),e.unicode&&(r+="u"),e.unicodeSets&&(r+="v"),e.sticky&&(r+="y"),r},Ki}var Qi,Co;function Tl(){if(Co)return Qi;Co=1;var n=ee(),e=Z(),r=e.RegExp,t=n(function(){var s=r("a","y");return s.lastIndex=2,s.exec("abcd")!==null}),i=t||n(function(){return!r("a","y").sticky}),a=t||n(function(){var s=r("^r","gy");return s.lastIndex=2,s.exec("str")!==null});return Qi={BROKEN_CARET:a,MISSED_STICKY:i,UNSUPPORTED_Y:t},Qi}var Zi={},Ji,wo;function wh(){if(wo)return Ji;wo=1;var n=ul(),e=Wa();return Ji=Object.keys||function(t){return n(t,e)},Ji}var Po;function Ph(){if(Po)return Zi;Po=1;var n=Ee(),e=nl(),r=He(),t=ue(),i=cr(),a=wh();return Zi.f=n&&!e?Object.defineProperties:function(o,u){t(o);for(var l=i(u),h=a(u),c=h.length,v=0,f;c>v;)r.f(o,f=h[v++],l[f]);return o},Zi}var ea,Ao;function Fr(){if(Ao)return ea;Ao=1;var n=ue(),e=Ph(),r=Wa(),t=za(),i=gl(),a=Mr(),s=$a(),o=">",u="<",l="prototype",h="script",c=s("IE_PROTO"),v=function(){},f=function(m){return u+h+o+m+u+"/"+h+o},g=function(m){m.write(f("")),m.close();var b=m.parentWindow.Object;return m=null,b},d=function(){var m=a("iframe"),b="java"+h+":",x;return m.style.display="none",i.appendChild(m),m.src=String(b),x=m.contentWindow.document,x.open(),x.write(f("document.F=Object")),x.close(),x.F},p,y=function(){try{p=new ActiveXObject("htmlfile")}catch{}y=typeof document<"u"?document.domain&&p?g(p):d():g(p);for(var m=r.length;m--;)delete y[l][r[m]];return y()};return t[c]=!0,ea=Object.create||function(b,x){var S;return b!==null?(v[l]=n(b),S=new v,v[l]=null,S[c]=b):S=y(),x===void 0?S:e.f(S,x)},ea}var ra,Io;function Ah(){if(Io)return ra;Io=1;var n=ee(),e=Z(),r=e.RegExp;return ra=n(function(){var t=r(".","s");return!(t.dotAll&&t.test(` `)&&t.flags==="s")}),ra}var ta,No;function Ih(){if(No)return ta;No=1;var n=ee(),e=Z(),r=e.RegExp;return ta=n(function(){var t=r("(?b)","g");return t.exec("b").groups.a!=="b"||"b".replace(t,"$c")!=="bc"}),ta}var ia,_o;function Qa(){if(_o)return ia;_o=1;var n=se(),e=re(),r=qe(),t=Ol(),i=Tl(),a=Ua(),s=Fr(),o=Vr().get,u=Ah(),l=Ih(),h=a("native-string-replace",String.prototype.replace),c=RegExp.prototype.exec,v=c,f=e("".charAt),g=e("".indexOf),d=e("".replace),p=e("".slice),y=function(){var S=/a/,E=/b*/g;return n(c,S,"a"),n(c,E,"a"),S.lastIndex!==0||E.lastIndex!==0}(),m=i.BROKEN_CARET,b=/()??/.exec("")[1]!==void 0,x=y||b||m||u||l;return x&&(v=function(E){var O=this,_=o(O),V=r(E),P=_.raw,M,w,k,R,A,U,I;if(P)return P.lastIndex=O.lastIndex,M=n(v,P,V),O.lastIndex=P.lastIndex,M;var j=_.groups,N=m&&O.sticky,L=n(t,O),B=O.source,z=0,X=V;if(N&&(L=d(L,"y",""),g(L,"g")===-1&&(L+="g"),X=p(V,O.lastIndex),O.lastIndex>0&&(!O.multiline||O.multiline&&f(V,O.lastIndex-1)!==` `)&&(B="(?: "+B+")",X=" "+X,z++),w=new RegExp("^(?:"+B+")",L)),b&&(w=new RegExp("^"+B+"$(?!\\s)",L)),y&&(k=O.lastIndex),R=n(c,N?w:O,X),N?R?(R.input=p(R.input,z),R[0]=p(R[0],z),R.index=O.lastIndex,O.lastIndex+=R[0].length):O.lastIndex=0:y&&R&&(O.lastIndex=O.global?R.index+R[0].length:k),b&&R&&R.length>1&&n(h,R[0],w,function(){for(A=1;A=f?u?"":void 0:(g=a(c,v),g<55296||g>56319||v+1===f||(d=a(c,v+1))<56320||d>57343?u?i(c,v):g:u?s(c,v,v+2):(g-55296<<10)+(d-56320)+65536)}};return na={codeAt:o(!1),charAt:o(!0)},na}var sa,Vo;function Ja(){if(Vo)return sa;Vo=1;var n=_h().charAt;return sa=function(e,r,t){return r+(t?n(e,r).length:1)},sa}var oa,Lo;function en(){if(Lo)return oa;Lo=1;var n=se(),e=ue(),r=te(),t=Ze(),i=Qa(),a=TypeError;return oa=function(s,o){var u=s.exec;if(r(u)){var l=n(u,s,o);return l!==null&&e(l),l}if(t(s)==="RegExp")return n(i,s,o);throw new a("RegExp#exec called on incompatible receiver")},oa}var ko;function Mh(){if(ko)return To;ko=1;var n=se(),e=Za(),r=ue(),t=Je(),i=nr(),a=qe(),s=Re(),o=ar(),u=Ja(),l=en();return e("match",function(h,c,v){return[function(g){var d=s(this),p=t(g)?void 0:o(g,h);return p?n(p,g,d):new RegExp(g)[h](a(d))},function(f){var g=r(this),d=a(f),p=v(c,g,d);if(p.done)return p.value;if(!g.global)return l(g,d);var y=g.unicode;g.lastIndex=0;for(var m=[],b=0,x;(x=l(g,d))!==null;){var S=a(x[0]);m[b]=S,S===""&&(g.lastIndex=u(d,i(g.lastIndex),y)),b++}return b===0?null:m}]}),To}Mh();var jo={},ua,Bo;function qh(){if(Bo)return ua;Bo=1;var n=re(),e=_r(),r=Math.floor,t=n("".charAt),i=n("".replace),a=n("".slice),s=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,o=/\$([$&'`]|\d{1,2})/g;return ua=function(u,l,h,c,v,f){var g=h+u.length,d=c.length,p=o;return v!==void 0&&(v=e(v),p=s),i(f,p,function(y,m){var b;switch(t(m,0)){case"$":return"$";case"&":return u;case"`":return a(l,0,h);case"'":return a(l,g);case"<":b=v[a(m,1,-1)];break;default:var x=+m;if(x===0)return y;if(x>d){var S=r(x/10);return S===0?y:S<=d?c[S-1]===void 0?t(m,1):c[S-1]+t(m,1):y}b=c[x-1]}return b===void 0?"":b})},ua}var Fo;function Dh(){if(Fo)return jo;Fo=1;var n=vl(),e=se(),r=re(),t=Za(),i=ee(),a=ue(),s=te(),o=Je(),u=Lr(),l=nr(),h=qe(),c=Re(),v=Ja(),f=ar(),g=qh(),d=en(),p=ne(),y=p("replace"),m=Math.max,b=Math.min,x=r([].concat),S=r([].push),E=r("".indexOf),O=r("".slice),_=function(w){return w===void 0?w:String(w)},V=function(){return"a".replace(/./,"$0")==="$0"}(),P=function(){return/./[y]?/./[y]("a","$0")==="":!1}(),M=!i(function(){var w=/./;return w.exec=function(){var k=[];return k.groups={a:"7"},k},"".replace(w,"$")!=="7"});return t("replace",function(w,k,R){var A=P?"$":"$0";return[function(I,j){var N=c(this),L=o(I)?void 0:f(I,y);return L?e(L,I,N,j):e(k,h(N),I,j)},function(U,I){var j=a(this),N=h(U);if(typeof I=="string"&&E(I,A)===-1&&E(I,"$<")===-1){var L=R(k,j,N,I);if(L.done)return L.value}var B=s(I);B||(I=h(I));var z=j.global,X;z&&(X=j.unicode,j.lastIndex=0);for(var H=[],Q;Q=d(j,N),!(Q===null||(S(H,Q),!z));){var Fe=h(Q[0]);Fe===""&&(j.lastIndex=v(N,l(j.lastIndex),X))}for(var De="",Ae=0,de=0;de=Ae&&(De+=O(N,Ae,ye)+Ne,Ae=ye+pe.length)}return De+O(N,Ae)}]},!M||!V||P),jo}Dh();var Uo={},la,Go;function Vh(){if(Go)return la;Go=1;var n=Ce(),e=Ze(),r=ne(),t=r("match");return la=function(i){var a;return n(i)&&((a=i[t])!==void 0?!!a:e(i)==="RegExp")},la}var ha,$o;function rn(){if($o)return ha;$o=1;var n=Vh(),e=TypeError;return ha=function(r){if(n(r))throw new e("The method doesn't accept regular expressions");return r},ha}var fa,zo;function tn(){if(zo)return fa;zo=1;var n=ne(),e=n("match");return fa=function(r){var t=/./;try{"/./"[r](t)}catch{try{return t[e]=!1,"/./"[r](t)}catch{}}return!1},fa}var Ho;function Lh(){if(Ho)return Uo;Ho=1;var n=le(),e=Br(),r=qr().f,t=nr(),i=qe(),a=rn(),s=Re(),o=tn(),u=Me(),l=e("".slice),h=Math.min,c=o("startsWith"),v=!u&&!c&&!!function(){var f=r(String.prototype,"startsWith");return f&&!f.writable}();return n({target:"String",proto:!0,forced:!v&&!c},{startsWith:function(g){var d=i(s(this));a(g);var p=t(h(arguments.length>1?arguments[1]:void 0,d.length)),y=i(g);return l(d,p,p+y.length)===y}}),Uo}Lh();var ca,Wo;function kh(){if(Wo)return ca;Wo=1;var n=ne(),e=Fr(),r=He().f,t=n("unscopables"),i=Array.prototype;return i[t]===void 0&&r(i,t,{configurable:!0,value:e(null)}),ca=function(a){i[t][a]=!0},ca}var va,Yo;function jh(){if(Yo)return va;Yo=1;var n=ee();return va=!n(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}),va}var ga,Xo;function Sl(){if(Xo)return ga;Xo=1;var n=we(),e=te(),r=_r(),t=$a(),i=jh(),a=t("IE_PROTO"),s=Object,o=s.prototype;return ga=i?s.getPrototypeOf:function(u){var l=r(u);if(n(l,a))return l[a];var h=l.constructor;return e(h)&&l instanceof h?h.prototype:l instanceof s?o:null},ga}var da,Ko;function El(){if(Ko)return da;Ko=1;var n=ee(),e=te(),r=Ce(),t=Fr(),i=Sl(),a=rr(),s=ne(),o=Me(),u=s("iterator"),l=!1,h,c,v;[].keys&&(v=[].keys(),"next"in v?(c=i(i(v)),c!==Object.prototype&&(h=c)):l=!0);var f=!r(h)||n(function(){var g={};return h[u].call(g)!==g});return f?h={}:o&&(h=t(h)),e(h[u])||a(h,u,function(){return this}),da={IteratorPrototype:h,BUGGY_SAFARI_ITERATORS:l},da}var pa,Qo;function Bh(){if(Qo)return pa;Qo=1;var n=El().IteratorPrototype,e=Fr(),r=ka(),t=jr(),i=mr(),a=function(){return this};return pa=function(s,o,u,l){var h=o+" Iterator";return s.prototype=e(n,{next:r(+!l,u)}),t(s,h,!1,!0),i[h]=a,s},pa}var ya,Zo;function Fh(){if(Zo)return ya;Zo=1;var n=le(),e=se(),r=Me(),t=Dr(),i=te(),a=Bh(),s=Sl(),o=fl(),u=jr(),l=gr(),h=rr(),c=ne(),v=mr(),f=El(),g=t.PROPER,d=t.CONFIGURABLE,p=f.IteratorPrototype,y=f.BUGGY_SAFARI_ITERATORS,m=c("iterator"),b="keys",x="values",S="entries",E=function(){return this};return ya=function(O,_,V,P,M,w,k){a(V,_,P);var R=function(H){if(H===M&&N)return N;if(!y&&H&&H in I)return I[H];switch(H){case b:return function(){return new V(this,H)};case x:return function(){return new V(this,H)};case S:return function(){return new V(this,H)}}return function(){return new V(this)}},A=_+" Iterator",U=!1,I=O.prototype,j=I[m]||I["@@iterator"]||M&&I[M],N=!y&&j||R(M),L=_==="Array"&&I.entries||j,B,z,X;if(L&&(B=s(L.call(new O)),B!==Object.prototype&&B.next&&(!r&&s(B)!==p&&(o?o(B,p):i(B[m])||h(B,m,E)),u(B,A,!0,!0),r&&(v[A]=E))),g&&M===x&&j&&j.name!==x&&(!r&&d?l(I,"name",x):(U=!0,N=function(){return e(j,this)})),M)if(z={values:R(x),keys:w?N:R(b),entries:R(S)},k)for(X in z)(y||U||!(X in I))&&h(I,X,z[X]);else n({target:_,proto:!0,forced:y||U},z);return(!r||k)&&I[m]!==N&&h(I,m,N,{name:M}),v[_]=N,z},ya}var ma,Jo;function Uh(){return Jo||(Jo=1,ma=function(n,e){return{value:n,done:e}}),ma}var ba,eu;function Rl(){if(eu)return ba;eu=1;var n=cr(),e=kh(),r=mr(),t=Vr(),i=He().f,a=Fh(),s=Uh(),o=Me(),u=Ee(),l="Array Iterator",h=t.set,c=t.getterFor(l);ba=a(Array,"Array",function(f,g){h(this,{type:l,target:n(f),index:0,kind:g})},function(){var f=c(this),g=f.target,d=f.index++;if(!g||d>=g.length)return f.target=null,s(void 0,!0);switch(f.kind){case"keys":return s(d,!1);case"values":return s(g[d],!1)}return s([d,g[d]],!1)},"values");var v=r.Arguments=r.Array;if(e("keys"),e("values"),e("entries"),!o&&u&&v.name!=="values")try{i(v,"name",{value:"values"})}catch{}return ba}Rl();var ru={},xa,tu;function Gh(){return tu||(tu=1,xa={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}),xa}var Oa,iu;function $h(){if(iu)return Oa;iu=1;var n=Mr(),e=n("span").classList,r=e&&e.constructor&&e.constructor.prototype;return Oa=r===Object.prototype?void 0:r,Oa}var au;function zh(){if(au)return ru;au=1;var n=Z(),e=Gh(),r=$h(),t=Rl(),i=gr(),a=jr(),s=ne(),o=s("iterator"),u=t.values,l=function(c,v){if(c){if(c[o]!==u)try{i(c,o,u)}catch{c[o]=u}if(a(c,v,!0),e[v]){for(var f in t)if(c[f]!==t[f])try{i(c,f,t[f])}catch{c[f]=t[f]}}}};for(var h in e)l(n[h]&&n[h].prototype,h);return l(r,"DOMTokenList"),ru}zh();function an(n,e,r){return(e=Ul(e))in n?Object.defineProperty(n,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):n[e]=r,n}var nu={},Ta,su;function Hh(){if(su)return Ta;su=1;var n=Be(),e=_r(),r=Zu(),t=Ha(),i=TypeError,a="Reduce of empty array with no initial value",s=function(o){return function(u,l,h,c){var v=e(u),f=r(v),g=t(v);if(n(l),g===0&&h<2)throw new i(a);var d=o?g-1:0,p=o?-1:1;if(h<2)for(;;){if(d in f){c=f[d],d+=p;break}if(d+=p,o?d<0:g<=d)throw new i(a)}for(;o?d>=0:g>d;d+=p)d in f&&(c=l(c,f[d],d,v));return c}};return Ta={left:s(!1),right:s(!0)},Ta}var Sa,ou;function Cl(){if(ou)return Sa;ou=1;var n=ee();return Sa=function(e,r){var t=[][e];return!!t&&n(function(){t.call(null,r||function(){return 1},1)})},Sa}var uu;function Wh(){if(uu)return nu;uu=1;var n=le(),e=Hh().left,r=Cl(),t=ja(),i=kr(),a=!i&&t>79&&t<83,s=a||!r("reduce");return n({target:"Array",proto:!0,forced:s},{reduce:function(u){var l=arguments.length;return e(this,u,l,l>1?arguments[1]:void 0)}}),nu}Wh();var lu={},hu;function Yh(){if(hu)return lu;hu=1;var n=le(),e=Br(),r=qr().f,t=nr(),i=qe(),a=rn(),s=Re(),o=tn(),u=Me(),l=e("".slice),h=Math.min,c=o("endsWith"),v=!u&&!c&&!!function(){var f=r(String.prototype,"endsWith");return f&&!f.writable}();return n({target:"String",proto:!0,forced:!v&&!c},{endsWith:function(g){var d=i(s(this));a(g);var p=arguments.length>1?arguments[1]:void 0,y=d.length,m=p===void 0?y:h(t(p),y),b=i(g);return l(d,m-b.length,m)===b}}),lu}Yh();var fu={},cu;function Xh(){if(cu)return fu;cu=1;var n=se(),e=re(),r=Za(),t=ue(),i=Je(),a=Re(),s=cl(),o=Ja(),u=nr(),l=qe(),h=ar(),c=en(),v=Tl(),f=ee(),g=v.UNSUPPORTED_Y,d=4294967295,p=Math.min,y=e([].push),m=e("".slice),b=!f(function(){var S=/(?:)/,E=S.exec;S.exec=function(){return E.apply(this,arguments)};var O="ab".split(S);return O.length!==2||O[0]!=="a"||O[1]!=="b"}),x="abbc".split(/(b)*/)[1]==="c"||"test".split(/(?:)/,-1).length!==4||"ab".split(/(?:ab)*/).length!==2||".".split(/(.?)(.?)/).length!==4||".".split(/()()/).length>1||"".split(/.?/).length;return r("split",function(S,E,O){var _="0".split(void 0,0).length?function(V,P){return V===void 0&&P===0?[]:n(E,this,V,P)}:E;return[function(P,M){var w=a(this),k=i(P)?void 0:h(P,S);return k?n(k,P,w,M):n(_,l(w),P,M)},function(V,P){var M=t(this),w=l(V);if(!x){var k=O(_,M,w,P,_!==E);if(k.done)return k.value}var R=s(M,RegExp),A=M.unicode,U=(M.ignoreCase?"i":"")+(M.multiline?"m":"")+(M.unicode?"u":"")+(g?"g":"y"),I=new R(g?"^(?:"+M.source+")":M,U),j=P===void 0?d:P>>>0;if(j===0)return[];if(w.length===0)return c(I,w)===null?[w]:[];for(var N=0,L=0,B=[];L"u"?Ma:window,r=["moz","webkit"],t="AnimationFrame",i=e["request"+t],a=e["cancel"+t]||e["cancelRequest"+t],s=0;!i&&s3&&(this.alpha=o[3]),this.ok=!0}}this.r=this.r<0||isNaN(this.r)?0:this.r>255?255:this.r,this.g=this.g<0||isNaN(this.g)?0:this.g>255?255:this.g,this.b=this.b<0||isNaN(this.b)?0:this.b>255?255:this.b,this.alpha=this.alpha<0?0:this.alpha>1||isNaN(this.alpha)?1:this.alpha,this.toRGB=function(){return"rgb("+this.r+", "+this.g+", "+this.b+")"},this.toRGBA=function(){return"rgba("+this.r+", "+this.g+", "+this.b+", "+this.alpha+")"},this.toHex=function(){var u=this.r.toString(16),l=this.g.toString(16),h=this.b.toString(16);return u.length==1&&(u="0"+u),l.length==1&&(l="0"+l),h.length==1&&(h="0"+h),"#"+u+l+h},this.getHelpXML=function(){for(var u=new Array,l=0;l "+d.toRGB()+" -> "+d.toHex());g.appendChild(p),g.appendChild(y),f.appendChild(g)}catch{}return f}}),Pa}var nf=af();const qa=Qu(nf);var Ou={},Tu;function sf(){if(Tu)return Ou;Tu=1;var n=le(),e=Br(),r=ol().indexOf,t=Cl(),i=e([].indexOf),a=!!i&&1/i([1],1,-0)<0,s=a||!t("indexOf");return n({target:"Array",proto:!0,forced:s},{indexOf:function(u){var l=arguments.length>1?arguments[1]:void 0;return a?i(this,u,l)||0:r(this,u,l)}}),Ou}sf();var Su={},Eu;function of(){if(Eu)return Su;Eu=1;var n=le(),e=re(),r=rn(),t=Re(),i=qe(),a=tn(),s=e("".indexOf);return n({target:"String",proto:!0,forced:!a("includes")},{includes:function(u){return!!~s(i(t(this)),i(r(u)),arguments.length>1?arguments[1]:void 0)}}),Su}of();var Ru={},Aa,Cu;function uf(){if(Cu)return Aa;Cu=1;var n=Ze();return Aa=Array.isArray||function(r){return n(r)==="Array"},Aa}var wu;function lf(){if(wu)return Ru;wu=1;var n=le(),e=re(),r=uf(),t=e([].reverse),i=[1,2];return n({target:"Array",proto:!0,forced:String(i)===String(i.reverse())},{reverse:function(){return r(this)&&(this.length=this.length),t(this)}}),Ru}lf();/*! ***************************************************************************** diff --git a/assets/jspdf.es.min-BKjYMq0B.js b/assets/jspdf.es.min-BwD60SII.js similarity index 99% rename from assets/jspdf.es.min-BKjYMq0B.js rename to assets/jspdf.es.min-BwD60SII.js index 6acf88f..9e5ad41 100644 --- a/assets/jspdf.es.min-BKjYMq0B.js +++ b/assets/jspdf.es.min-BwD60SII.js @@ -1,5 +1,5 @@ -const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./index.es-CT5OxKBD.js","./index-3gOEgFfu.js","./index-Bg8H0aKE.css"])))=>i.map(i=>d[i]); -var Jh=Object.defineProperty;var $h=(n,e,t)=>e in n?Jh(n,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[e]=t;var xe=(n,e,t)=>$h(n,typeof e!="symbol"?e+"":e,t);import{_ as Se,z as Po,a as so}from"./index-3gOEgFfu.js";function Kh(n){if(Array.isArray(n))return n}function Xh(n,e){var t=n==null?null:typeof Symbol<"u"&&n[Symbol.iterator]||n["@@iterator"];if(t!=null){var i,o,s,f,u=[],c=!0,d=!1;try{if(s=(t=t.call(n)).next,e!==0)for(;!(c=(i=s.call(t)).done)&&(u.push(i.value),u.length!==e);c=!0);}catch(m){d=!0,o=m}finally{try{if(!c&&t.return!=null&&(f=t.return(),Object(f)!==f))return}finally{if(d)throw o}}return u}}function wl(n,e){(e==null||e>n.length)&&(e=n.length);for(var t=0,i=Array(e);ti.map(i=>d[i]); +var Jh=Object.defineProperty;var $h=(n,e,t)=>e in n?Jh(n,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[e]=t;var xe=(n,e,t)=>$h(n,typeof e!="symbol"?e+"":e,t);import{_ as Se,z as Po,a as so}from"./index-4QqyYkCP.js";function Kh(n){if(Array.isArray(n))return n}function Xh(n,e){var t=n==null?null:typeof Symbol<"u"&&n[Symbol.iterator]||n["@@iterator"];if(t!=null){var i,o,s,f,u=[],c=!0,d=!1;try{if(s=(t=t.call(n)).next,e!==0)for(;!(c=(i=s.call(t)).done)&&(u.push(i.value),u.length!==e);c=!0);}catch(m){d=!0,o=m}finally{try{if(!c&&t.return!=null&&(f=t.return(),Object(f)!==f))return}finally{if(d)throw o}}return u}}function wl(n,e){(e==null||e>n.length)&&(e=n.length);for(var t=0,i=Array(e);t{const n=new Uint8Array(4),e=new Uint32Array(n.buffer);return!((e[0]=1)&n[0])})(),oo={int8:globalThis.Int8Array,uint8:globalThis.Uint8Array,int16:globalThis.Int16Array,uint16:globalThis.Uint16Array,int32:globalThis.Int32Array,uint32:globalThis.Uint32Array,uint64:globalThis.BigUint64Array,int64:globalThis.BigInt64Array,float32:globalThis.Float32Array,float64:globalThis.Float64Array};class Mo{constructor(e=nc,t={}){xe(this,"buffer");xe(this,"byteLength");xe(this,"byteOffset");xe(this,"length");xe(this,"offset");xe(this,"lastWrittenByte");xe(this,"littleEndian");xe(this,"_data");xe(this,"_mark");xe(this,"_marks");let i=!1;typeof e=="number"?e=new ArrayBuffer(e):(i=!0,this.lastWrittenByte=e.byteLength);const o=t.offset?t.offset>>>0:0,s=e.byteLength-o;let f=o;(ArrayBuffer.isView(e)||e instanceof Mo)&&(e.byteLength!==e.buffer.byteLength&&(f=e.byteOffset+o),e=e.buffer),i?this.lastWrittenByte=s:this.lastWrittenByte=0,this.buffer=e,this.length=s,this.byteLength=s,this.byteOffset=f,this.offset=0,this.littleEndian=!0,this._data=new DataView(this.buffer,f,s),this._mark=0,this._marks=[]}available(e=1){return this.offset+e<=this.length}isLittleEndian(){return this.littleEndian}setLittleEndian(){return this.littleEndian=!0,this}isBigEndian(){return!this.littleEndian}setBigEndian(){return this.littleEndian=!1,this}skip(e=1){return this.offset+=e,this}back(e=1){return this.offset-=e,this}seek(e){return this.offset=e,this}mark(){return this._mark=this.offset,this}reset(){return this.offset=this._mark,this}pushMark(){return this._marks.push(this.offset),this}popMark(){const e=this._marks.pop();if(e===void 0)throw new Error("Mark stack empty");return this.seek(e),this}rewind(){return this.offset=0,this}ensureAvailable(e=1){if(!this.available(e)){const i=(this.offset+e)*2,o=new Uint8Array(i);o.set(new Uint8Array(this.buffer)),this.buffer=o.buffer,this.length=i,this.byteLength=i,this._data=new DataView(this.buffer)}return this}readBoolean(){return this.readUint8()!==0}readInt8(){return this._data.getInt8(this.offset++)}readUint8(){return this._data.getUint8(this.offset++)}readByte(){return this.readUint8()}readBytes(e=1){return this.readArray(e,"uint8")}readArray(e,t){const i=oo[t].BYTES_PER_ELEMENT*e,o=this.byteOffset+this.offset,s=this.buffer.slice(o,o+i);if(this.littleEndian===rc&&t!=="uint8"&&t!=="int8"){const u=new Uint8Array(this.buffer.slice(o,o+i));u.reverse();const c=new oo[t](u.buffer);return this.offset+=i,c.reverse(),c}const f=new oo[t](s);return this.offset+=i,f}readInt16(){const e=this._data.getInt16(this.offset,this.littleEndian);return this.offset+=2,e}readUint16(){const e=this._data.getUint16(this.offset,this.littleEndian);return this.offset+=2,e}readInt32(){const e=this._data.getInt32(this.offset,this.littleEndian);return this.offset+=4,e}readUint32(){const e=this._data.getUint32(this.offset,this.littleEndian);return this.offset+=4,e}readFloat32(){const e=this._data.getFloat32(this.offset,this.littleEndian);return this.offset+=4,e}readFloat64(){const e=this._data.getFloat64(this.offset,this.littleEndian);return this.offset+=8,e}readBigInt64(){const e=this._data.getBigInt64(this.offset,this.littleEndian);return this.offset+=8,e}readBigUint64(){const e=this._data.getBigUint64(this.offset,this.littleEndian);return this.offset+=8,e}readChar(){return String.fromCharCode(this.readInt8())}readChars(e=1){let t="";for(let i=0;ithis.lastWrittenByte&&(this.lastWrittenByte=this.offset)}}function Zi(n){let e=n.length;for(;--e>=0;)n[e]=0}const ic=3,ac=258,ku=29,sc=256,oc=sc+1+ku,Pu=30,lc=512,uc=new Array((oc+2)*2);Zi(uc);const hc=new Array(Pu*2);Zi(hc);const cc=new Array(lc);Zi(cc);const fc=new Array(ac-ic+1);Zi(fc);const dc=new Array(ku);Zi(dc);const pc=new Array(Pu);Zi(pc);const gc=(n,e,t,i)=>{let o=n&65535|0,s=n>>>16&65535|0,f=0;for(;t!==0;){f=t>2e3?2e3:t,t-=f;do o=o+e[i++]|0,s=s+o|0;while(--f);o%=65521,s%=65521}return o|s<<16|0};var Io=gc;const mc=()=>{let n,e=[];for(var t=0;t<256;t++){n=t;for(var i=0;i<8;i++)n=n&1?3988292384^n>>>1:n>>>1;e[t]=n}return e},vc=new Uint32Array(mc()),bc=(n,e,t,i)=>{const o=vc,s=i+t;n^=-1;for(let f=i;f>>8^o[(n^e[f])&255];return n^-1};var hr=bc,Co={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"},Iu={Z_NO_FLUSH:0,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_MEM_ERROR:-4,Z_BUF_ERROR:-5,Z_DEFLATED:8};const wc=(n,e)=>Object.prototype.hasOwnProperty.call(n,e);var yc=function(n){const e=Array.prototype.slice.call(arguments,1);for(;e.length;){const t=e.shift();if(t){if(typeof t!="object")throw new TypeError(t+"must be non-object");for(const i in t)wc(t,i)&&(n[i]=t[i])}}return n},xc=n=>{let e=0;for(let i=0,o=n.length;i=252?6:n>=248?5:n>=240?4:n>=224?3:n>=192?2:1;Aa[254]=Aa[254]=1;var _c=n=>{if(typeof TextEncoder=="function"&&TextEncoder.prototype.encode)return new TextEncoder().encode(n);let e,t,i,o,s,f=n.length,u=0;for(o=0;o>>6,e[s++]=128|t&63):t<65536?(e[s++]=224|t>>>12,e[s++]=128|t>>>6&63,e[s++]=128|t&63):(e[s++]=240|t>>>18,e[s++]=128|t>>>12&63,e[s++]=128|t>>>6&63,e[s++]=128|t&63);return e};const Ac=(n,e)=>{if(e<65534&&n.subarray&&Fu)return String.fromCharCode.apply(null,n.length===e?n:n.subarray(0,e));let t="";for(let i=0;i{const t=e||n.length;if(typeof TextDecoder=="function"&&TextDecoder.prototype.decode)return new TextDecoder().decode(n.subarray(0,e));let i,o;const s=new Array(t*2);for(o=0,i=0;i4){s[o++]=65533,i+=u-1;continue}for(f&=u===2?31:u===3?15:7;u>1&&i1){s[o++]=65533;continue}f<65536?s[o++]=f:(f-=65536,s[o++]=55296|f>>10&1023,s[o++]=56320|f&1023)}return Ac(s,o)},Lc=(n,e)=>{e=e||n.length,e>n.length&&(e=n.length);let t=e-1;for(;t>=0&&(n[t]&192)===128;)t--;return t<0||t===0?e:t+Aa[n[t]]>e?t:e},Fo={string2buf:_c,buf2string:Nc,utf8border:Lc};function Sc(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}var kc=Sc;const ss=16209,Pc=16191;var Ic=function(e,t){let i,o,s,f,u,c,d,m,A,P,p,B,O,M,S,Y,J,D,lt,yt,mt,tt,z,et;const N=e.state;i=e.next_in,z=e.input,o=i+(e.avail_in-5),s=e.next_out,et=e.output,f=s-(t-e.avail_out),u=s+(e.avail_out-257),c=N.dmax,d=N.wsize,m=N.whave,A=N.wnext,P=N.window,p=N.hold,B=N.bits,O=N.lencode,M=N.distcode,S=(1<>>24,p>>>=D,B-=D,D=J>>>16&255,D===0)et[s++]=J&65535;else if(D&16){lt=J&65535,D&=15,D&&(B>>=D,B-=D),B<15&&(p+=z[i++]<>>24,p>>>=D,B-=D,D=J>>>16&255,D&16){if(yt=J&65535,D&=15,Bc){e.msg="invalid distance too far back",N.mode=ss;break t}if(p>>>=D,B-=D,D=s-f,yt>D){if(D=yt-D,D>m&&N.sane){e.msg="invalid distance too far back",N.mode=ss;break t}if(mt=0,tt=P,A===0){if(mt+=d-D,D2;)et[s++]=tt[mt++],et[s++]=tt[mt++],et[s++]=tt[mt++],lt-=3;lt&&(et[s++]=tt[mt++],lt>1&&(et[s++]=tt[mt++]))}else{mt=s-yt;do et[s++]=et[mt++],et[s++]=et[mt++],et[s++]=et[mt++],lt-=3;while(lt>2);lt&&(et[s++]=et[mt++],lt>1&&(et[s++]=et[mt++]))}}else if((D&64)===0){J=M[(J&65535)+(p&(1<>3,i-=lt,B-=lt<<3,p&=(1<{const c=u.bits;let d=0,m=0,A=0,P=0,p=0,B=0,O=0,M=0,S=0,Y=0,J,D,lt,yt,mt,tt=null,z;const et=new Uint16Array(zi+1),N=new Uint16Array(zi+1);let E=null,q,U,rt;for(d=0;d<=zi;d++)et[d]=0;for(m=0;m=1&&et[P]===0;P--);if(p>P&&(p=P),P===0)return o[s++]=1<<24|64<<16|0,o[s++]=1<<24|64<<16|0,u.bits=1,0;for(A=1;A0&&(n===Nl||P!==1))return-1;for(N[1]=0,d=1;d_l||n===Ll&&S>Al)return 1;for(;;){q=d-O,f[m]+1=z?(U=E[f[m]-z],rt=tt[f[m]-z]):(U=96,rt=0),J=1<>O)+D]=q<<24|U<<16|rt|0;while(D!==0);for(J=1<>=1;if(J!==0?(Y&=J-1,Y+=J):Y=0,m++,--et[d]===0){if(d===P)break;d=e[t+f[m]]}if(d>p&&(Y&yt)!==lt){for(O===0&&(O=p),mt+=A,B=d-O,M=1<_l||n===Ll&&S>Al)return 1;lt=Y&yt,o[lt]=p<<24|B<<16|mt-s|0}}return Y!==0&&(o[mt+Y]=d-O<<24|64<<16|0),u.bits=p,0};var _a=jc;const Bc=0,Eu=1,Ou=2,{Z_FINISH:Sl,Z_BLOCK:Mc,Z_TREES:os,Z_OK:mi,Z_STREAM_END:Rc,Z_NEED_DICT:Tc,Z_STREAM_ERROR:Hn,Z_DATA_ERROR:ju,Z_MEM_ERROR:Bu,Z_BUF_ERROR:Dc,Z_DEFLATED:kl}=Iu,As=16180,Pl=16181,Il=16182,Cl=16183,Fl=16184,El=16185,Ol=16186,jl=16187,Bl=16188,Ml=16189,ys=16190,Pr=16191,uo=16192,Rl=16193,ho=16194,Tl=16195,Dl=16196,ql=16197,Ul=16198,ls=16199,us=16200,zl=16201,Hl=16202,Wl=16203,Vl=16204,Gl=16205,co=16206,Yl=16207,Jl=16208,Be=16209,Mu=16210,Ru=16211,qc=852,Uc=592,zc=15,Hc=zc,$l=n=>(n>>>24&255)+(n>>>8&65280)+((n&65280)<<8)+((n&255)<<24);function Wc(){this.strm=null,this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new Uint16Array(320),this.work=new Uint16Array(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}const bi=n=>{if(!n)return 1;const e=n.state;return!e||e.strm!==n||e.modeRu?1:0},Tu=n=>{if(bi(n))return Hn;const e=n.state;return n.total_in=n.total_out=e.total=0,n.msg="",e.wrap&&(n.adler=e.wrap&1),e.mode=As,e.last=0,e.havedict=0,e.flags=-1,e.dmax=32768,e.head=null,e.hold=0,e.bits=0,e.lencode=e.lendyn=new Int32Array(qc),e.distcode=e.distdyn=new Int32Array(Uc),e.sane=1,e.back=-1,mi},Du=n=>{if(bi(n))return Hn;const e=n.state;return e.wsize=0,e.whave=0,e.wnext=0,Tu(n)},qu=(n,e)=>{let t;if(bi(n))return Hn;const i=n.state;return e<0?(t=0,e=-e):(t=(e>>4)+5,e<48&&(e&=15)),e&&(e<8||e>15)?Hn:(i.window!==null&&i.wbits!==e&&(i.window=null),i.wrap=t,i.wbits=e,Du(n))},Uu=(n,e)=>{if(!n)return Hn;const t=new Wc;n.state=t,t.strm=n,t.window=null,t.mode=As;const i=qu(n,e);return i!==mi&&(n.state=null),i},Vc=n=>Uu(n,Hc);let Kl=!0,fo,po;const Gc=n=>{if(Kl){fo=new Int32Array(512),po=new Int32Array(32);let e=0;for(;e<144;)n.lens[e++]=8;for(;e<256;)n.lens[e++]=9;for(;e<280;)n.lens[e++]=7;for(;e<288;)n.lens[e++]=8;for(_a(Eu,n.lens,0,288,fo,0,n.work,{bits:9}),e=0;e<32;)n.lens[e++]=5;_a(Ou,n.lens,0,32,po,0,n.work,{bits:5}),Kl=!1}n.lencode=fo,n.lenbits=9,n.distcode=po,n.distbits=5},zu=(n,e,t,i)=>{let o;const s=n.state;return s.window===null&&(s.wsize=1<=s.wsize?(s.window.set(e.subarray(t-s.wsize,t),0),s.wnext=0,s.whave=s.wsize):(o=s.wsize-s.wnext,o>i&&(o=i),s.window.set(e.subarray(t-i,t-i+o),s.wnext),i-=o,i?(s.window.set(e.subarray(t-i,t),0),s.wnext=i,s.whave=s.wsize):(s.wnext+=o,s.wnext===s.wsize&&(s.wnext=0),s.whave{let t,i,o,s,f,u,c,d,m,A,P,p,B,O,M=0,S,Y,J,D,lt,yt,mt,tt;const z=new Uint8Array(4);let et,N;const E=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]);if(bi(n)||!n.output||!n.input&&n.avail_in!==0)return Hn;t=n.state,t.mode===Pr&&(t.mode=uo),f=n.next_out,o=n.output,c=n.avail_out,s=n.next_in,i=n.input,u=n.avail_in,d=t.hold,m=t.bits,A=u,P=c,tt=mi;t:for(;;)switch(t.mode){case As:if(t.wrap===0){t.mode=uo;break}for(;m<16;){if(u===0)break t;u--,d+=i[s++]<>>8&255,t.check=hr(t.check,z,2,0),d=0,m=0,t.mode=Pl;break}if(t.head&&(t.head.done=!1),!(t.wrap&1)||(((d&255)<<8)+(d>>8))%31){n.msg="incorrect header check",t.mode=Be;break}if((d&15)!==kl){n.msg="unknown compression method",t.mode=Be;break}if(d>>>=4,m-=4,mt=(d&15)+8,t.wbits===0&&(t.wbits=mt),mt>15||mt>t.wbits){n.msg="invalid window size",t.mode=Be;break}t.dmax=1<>8&1),t.flags&512&&t.wrap&4&&(z[0]=d&255,z[1]=d>>>8&255,t.check=hr(t.check,z,2,0)),d=0,m=0,t.mode=Il;case Il:for(;m<32;){if(u===0)break t;u--,d+=i[s++]<>>8&255,z[2]=d>>>16&255,z[3]=d>>>24&255,t.check=hr(t.check,z,4,0)),d=0,m=0,t.mode=Cl;case Cl:for(;m<16;){if(u===0)break t;u--,d+=i[s++]<>8),t.flags&512&&t.wrap&4&&(z[0]=d&255,z[1]=d>>>8&255,t.check=hr(t.check,z,2,0)),d=0,m=0,t.mode=Fl;case Fl:if(t.flags&1024){for(;m<16;){if(u===0)break t;u--,d+=i[s++]<>>8&255,t.check=hr(t.check,z,2,0)),d=0,m=0}else t.head&&(t.head.extra=null);t.mode=El;case El:if(t.flags&1024&&(p=t.length,p>u&&(p=u),p&&(t.head&&(mt=t.head.extra_len-t.length,t.head.extra||(t.head.extra=new Uint8Array(t.head.extra_len)),t.head.extra.set(i.subarray(s,s+p),mt)),t.flags&512&&t.wrap&4&&(t.check=hr(t.check,i,p,s)),u-=p,s+=p,t.length-=p),t.length))break t;t.length=0,t.mode=Ol;case Ol:if(t.flags&2048){if(u===0)break t;p=0;do mt=i[s+p++],t.head&&mt&&t.length<65536&&(t.head.name+=String.fromCharCode(mt));while(mt&&p>9&1,t.head.done=!0),n.adler=t.check=0,t.mode=Pr;break;case Ml:for(;m<32;){if(u===0)break t;u--,d+=i[s++]<>>=m&7,m-=m&7,t.mode=co;break}for(;m<3;){if(u===0)break t;u--,d+=i[s++]<>>=1,m-=1,d&3){case 0:t.mode=Rl;break;case 1:if(Gc(t),t.mode=ls,e===os){d>>>=2,m-=2;break t}break;case 2:t.mode=Dl;break;case 3:n.msg="invalid block type",t.mode=Be}d>>>=2,m-=2;break;case Rl:for(d>>>=m&7,m-=m&7;m<32;){if(u===0)break t;u--,d+=i[s++]<>>16^65535)){n.msg="invalid stored block lengths",t.mode=Be;break}if(t.length=d&65535,d=0,m=0,t.mode=ho,e===os)break t;case ho:t.mode=Tl;case Tl:if(p=t.length,p){if(p>u&&(p=u),p>c&&(p=c),p===0)break t;o.set(i.subarray(s,s+p),f),u-=p,s+=p,c-=p,f+=p,t.length-=p;break}t.mode=Pr;break;case Dl:for(;m<14;){if(u===0)break t;u--,d+=i[s++]<>>=5,m-=5,t.ndist=(d&31)+1,d>>>=5,m-=5,t.ncode=(d&15)+4,d>>>=4,m-=4,t.nlen>286||t.ndist>30){n.msg="too many length or distance symbols",t.mode=Be;break}t.have=0,t.mode=ql;case ql:for(;t.have>>=3,m-=3}for(;t.have<19;)t.lens[E[t.have++]]=0;if(t.lencode=t.lendyn,t.lenbits=7,et={bits:t.lenbits},tt=_a(Bc,t.lens,0,19,t.lencode,0,t.work,et),t.lenbits=et.bits,tt){n.msg="invalid code lengths set",t.mode=Be;break}t.have=0,t.mode=Ul;case Ul:for(;t.have>>24,Y=M>>>16&255,J=M&65535,!(S<=m);){if(u===0)break t;u--,d+=i[s++]<>>=S,m-=S,t.lens[t.have++]=J;else{if(J===16){for(N=S+2;m>>=S,m-=S,t.have===0){n.msg="invalid bit length repeat",t.mode=Be;break}mt=t.lens[t.have-1],p=3+(d&3),d>>>=2,m-=2}else if(J===17){for(N=S+3;m>>=S,m-=S,mt=0,p=3+(d&7),d>>>=3,m-=3}else{for(N=S+7;m>>=S,m-=S,mt=0,p=11+(d&127),d>>>=7,m-=7}if(t.have+p>t.nlen+t.ndist){n.msg="invalid bit length repeat",t.mode=Be;break}for(;p--;)t.lens[t.have++]=mt}}if(t.mode===Be)break;if(t.lens[256]===0){n.msg="invalid code -- missing end-of-block",t.mode=Be;break}if(t.lenbits=9,et={bits:t.lenbits},tt=_a(Eu,t.lens,0,t.nlen,t.lencode,0,t.work,et),t.lenbits=et.bits,tt){n.msg="invalid literal/lengths set",t.mode=Be;break}if(t.distbits=6,t.distcode=t.distdyn,et={bits:t.distbits},tt=_a(Ou,t.lens,t.nlen,t.ndist,t.distcode,0,t.work,et),t.distbits=et.bits,tt){n.msg="invalid distances set",t.mode=Be;break}if(t.mode=ls,e===os)break t;case ls:t.mode=us;case us:if(u>=6&&c>=258){n.next_out=f,n.avail_out=c,n.next_in=s,n.avail_in=u,t.hold=d,t.bits=m,Ic(n,P),f=n.next_out,o=n.output,c=n.avail_out,s=n.next_in,i=n.input,u=n.avail_in,d=t.hold,m=t.bits,t.mode===Pr&&(t.back=-1);break}for(t.back=0;M=t.lencode[d&(1<>>24,Y=M>>>16&255,J=M&65535,!(S<=m);){if(u===0)break t;u--,d+=i[s++]<>D)],S=M>>>24,Y=M>>>16&255,J=M&65535,!(D+S<=m);){if(u===0)break t;u--,d+=i[s++]<>>=D,m-=D,t.back+=D}if(d>>>=S,m-=S,t.back+=S,t.length=J,Y===0){t.mode=Gl;break}if(Y&32){t.back=-1,t.mode=Pr;break}if(Y&64){n.msg="invalid literal/length code",t.mode=Be;break}t.extra=Y&15,t.mode=zl;case zl:if(t.extra){for(N=t.extra;m>>=t.extra,m-=t.extra,t.back+=t.extra}t.was=t.length,t.mode=Hl;case Hl:for(;M=t.distcode[d&(1<>>24,Y=M>>>16&255,J=M&65535,!(S<=m);){if(u===0)break t;u--,d+=i[s++]<>D)],S=M>>>24,Y=M>>>16&255,J=M&65535,!(D+S<=m);){if(u===0)break t;u--,d+=i[s++]<>>=D,m-=D,t.back+=D}if(d>>>=S,m-=S,t.back+=S,Y&64){n.msg="invalid distance code",t.mode=Be;break}t.offset=J,t.extra=Y&15,t.mode=Wl;case Wl:if(t.extra){for(N=t.extra;m>>=t.extra,m-=t.extra,t.back+=t.extra}if(t.offset>t.dmax){n.msg="invalid distance too far back",t.mode=Be;break}t.mode=Vl;case Vl:if(c===0)break t;if(p=P-c,t.offset>p){if(p=t.offset-p,p>t.whave&&t.sane){n.msg="invalid distance too far back",t.mode=Be;break}p>t.wnext?(p-=t.wnext,B=t.wsize-p):B=t.wnext-p,p>t.length&&(p=t.length),O=t.window}else O=o,B=f-t.offset,p=t.length;p>c&&(p=c),c-=p,t.length-=p;do o[f++]=O[B++];while(--p);t.length===0&&(t.mode=us);break;case Gl:if(c===0)break t;o[f++]=t.length,c--,t.mode=us;break;case co:if(t.wrap){for(;m<32;){if(u===0)break t;u--,d|=i[s++]<{if(bi(n))return Hn;let e=n.state;return e.window&&(e.window=null),n.state=null,mi},$c=(n,e)=>{if(bi(n))return Hn;const t=n.state;return(t.wrap&2)===0?Hn:(t.head=e,e.done=!1,mi)},Kc=(n,e)=>{const t=e.length;let i,o,s;return bi(n)||(i=n.state,i.wrap!==0&&i.mode!==ys)?Hn:i.mode===ys&&(o=1,o=Io(o,e,t,0),o!==i.check)?ju:(s=zu(n,e,t,t),s?(i.mode=Mu,Bu):(i.havedict=1,mi))};var Xc=Du,Zc=qu,Qc=Tu,tf=Vc,ef=Uu,nf=Yc,rf=Jc,af=$c,sf=Kc,of="pako inflate (from Nodeca project)",Ir={inflateReset:Xc,inflateReset2:Zc,inflateResetKeep:Qc,inflateInit:tf,inflateInit2:ef,inflate:nf,inflateEnd:rf,inflateGetHeader:af,inflateSetDictionary:sf,inflateInfo:of};function lf(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}var uf=lf;const Hu=Object.prototype.toString,{Z_NO_FLUSH:hf,Z_FINISH:cf,Z_OK:Na,Z_STREAM_END:go,Z_NEED_DICT:mo,Z_STREAM_ERROR:ff,Z_DATA_ERROR:Xl,Z_MEM_ERROR:df}=Iu;function La(n){this.options=Cu.assign({chunkSize:1024*64,windowBits:15,to:""},n||{});const e=this.options;e.raw&&e.windowBits>=0&&e.windowBits<16&&(e.windowBits=-e.windowBits,e.windowBits===0&&(e.windowBits=-15)),e.windowBits>=0&&e.windowBits<16&&!(n&&n.windowBits)&&(e.windowBits+=32),e.windowBits>15&&e.windowBits<48&&(e.windowBits&15)===0&&(e.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new kc,this.strm.avail_out=0;let t=Ir.inflateInit2(this.strm,e.windowBits);if(t!==Na)throw new Error(Co[t]);if(this.header=new uf,Ir.inflateGetHeader(this.strm,this.header),e.dictionary&&(typeof e.dictionary=="string"?e.dictionary=Fo.string2buf(e.dictionary):Hu.call(e.dictionary)==="[object ArrayBuffer]"&&(e.dictionary=new Uint8Array(e.dictionary)),e.raw&&(t=Ir.inflateSetDictionary(this.strm,e.dictionary),t!==Na)))throw new Error(Co[t])}La.prototype.push=function(n,e){const t=this.strm,i=this.options.chunkSize,o=this.options.dictionary;let s,f,u;if(this.ended)return!1;for(e===~~e?f=e:f=e===!0?cf:hf,Hu.call(n)==="[object ArrayBuffer]"?t.input=new Uint8Array(n):t.input=n,t.next_in=0,t.avail_in=t.input.length;;){for(t.avail_out===0&&(t.output=new Uint8Array(i),t.next_out=0,t.avail_out=i),s=Ir.inflate(t,f),s===mo&&o&&(s=Ir.inflateSetDictionary(t,o),s===Na?s=Ir.inflate(t,f):s===Xl&&(s=mo));t.avail_in>0&&s===go&&t.state.wrap>0&&n[t.next_in]!==0;)Ir.inflateReset(t),s=Ir.inflate(t,f);switch(s){case ff:case Xl:case mo:case df:return this.onEnd(s),this.ended=!0,!1}if(u=t.avail_out,t.next_out&&(t.avail_out===0||s===go))if(this.options.to==="string"){let c=Fo.utf8border(t.output,t.next_out),d=t.next_out-c,m=Fo.buf2string(t.output,c);t.next_out=d,t.avail_out=i-d,d&&t.output.set(t.output.subarray(c,c+d),0),this.onData(m)}else this.onData(t.output.length===t.next_out?t.output:t.output.subarray(0,t.next_out));if(!(s===Na&&u===0)){if(s===go)return s=Ir.inflateEnd(this.strm),this.onEnd(s),this.ended=!0,!0;if(t.avail_in===0)break}}return!0};La.prototype.onData=function(n){this.chunks.push(n)};La.prototype.onEnd=function(n){n===Na&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=Cu.flattenChunks(this.chunks)),this.chunks=[],this.err=n,this.msg=this.strm.msg};function pf(n,e){const t=new La(e);if(t.push(n),t.err)throw t.msg||Co[t.err];return t.result}var gf=La,mf=pf,vf={Inflate:gf,inflate:mf};const{Inflate:bf,inflate:wf}=vf;var Zl=bf,yf=wf;const Wu=[];for(let n=0;n<256;n++){let e=n;for(let t=0;t<8;t++)e&1?e=3988292384^e>>>1:e=e>>>1;Wu[n]=e}const Ql=4294967295;function xf(n,e,t){let i=n;for(let o=0;o>>8;return i}function _f(n,e){return(xf(Ql,n,e)^Ql)>>>0}function tu(n,e,t){const i=n.readUint32(),o=_f(new Uint8Array(n.buffer,n.byteOffset+n.offset-e-4,e),e);if(o!==i)throw new Error(`CRC mismatch for chunk ${t}. Expected ${i}, found ${o}`)}function Vu(n,e,t){for(let i=0;i>1)&255}else{for(;s>1)&255;for(;s>1)&255}}function $u(n,e,t,i,o){let s=0;if(t.length===0){for(;s=t||yt>=i))for(let mt=0;mt>8&255}const Cf=new Uint16Array([255]),Ff=new Uint8Array(Cf.buffer),Ef=Ff[0]===255,Of=new Uint8Array(0);function eu(n){const{data:e,width:t,height:i,channels:o,depth:s}=n,f=Math.ceil(s/8)*o,u=Math.ceil(s/8*o*t),c=new Uint8Array(i*u);let d=Of,m=0,A,P;for(let p=0;p>8&255}const ps=Uint8Array.of(137,80,78,71,13,10,26,10);function nu(n){if(!Bf(n.readBytes(ps.length)))throw new Error("wrong PNG signature")}function Bf(n){if(n.length79)throw new Error("keyword length must be between 1 and 79")}const Df=/^[\u0000-\u00FF]*$/;function qf(n){if(!Df.test(n))throw new Error("invalid latin1 text")}function Uf(n,e,t){const i=Xu(e);n[i]=zf(e,t-i.length-1)}function Xu(n){for(n.mark();n.readByte()!==Rf;);const e=n.offset;n.reset();const t=Ku.decode(n.readBytes(e-n.offset-1));return n.skip(1),Tf(t),t}function zf(n,e){return Ku.decode(n.readBytes(e))}const Bn={UNKNOWN:-1,GREYSCALE:0,TRUECOLOUR:2,INDEXED_COLOUR:3,GREYSCALE_ALPHA:4,TRUECOLOUR_ALPHA:6},vo={UNKNOWN:-1,DEFLATE:0},ru={UNKNOWN:-1,ADAPTIVE:0},bo={UNKNOWN:-1,NO_INTERLACE:0,ADAM7:1},hs={NONE:0,BACKGROUND:1,PREVIOUS:2},wo={SOURCE:0,OVER:1};class Hf extends Mo{constructor(t,i={}){super(t);xe(this,"_checkCrc");xe(this,"_inflator");xe(this,"_png");xe(this,"_apng");xe(this,"_end");xe(this,"_hasPalette");xe(this,"_palette");xe(this,"_hasTransparency");xe(this,"_transparency");xe(this,"_compressionMethod");xe(this,"_filterMethod");xe(this,"_interlaceMethod");xe(this,"_colorType");xe(this,"_isAnimated");xe(this,"_numberOfFrames");xe(this,"_numberOfPlays");xe(this,"_frames");xe(this,"_writingDataChunks");const{checkCrc:o=!1}=i;this._checkCrc=o,this._inflator=new Zl,this._png={width:-1,height:-1,channels:-1,data:new Uint8Array(0),depth:1,text:{}},this._apng={width:-1,height:-1,channels:-1,depth:1,numberOfFrames:1,numberOfPlays:0,text:{},frames:[]},this._end=!1,this._hasPalette=!1,this._palette=[],this._hasTransparency=!1,this._transparency=new Uint16Array(0),this._compressionMethod=vo.UNKNOWN,this._filterMethod=ru.UNKNOWN,this._interlaceMethod=bo.UNKNOWN,this._colorType=Bn.UNKNOWN,this._isAnimated=!1,this._numberOfFrames=1,this._numberOfPlays=0,this._frames=[],this._writingDataChunks=!1,this.setBigEndian()}decode(){for(nu(this);!this._end;){const t=this.readUint32(),i=this.readChars(4);this.decodeChunk(t,i)}return this.decodeImage(),this._png}decodeApng(){for(nu(this);!this._end;){const t=this.readUint32(),i=this.readChars(4);this.decodeApngChunk(t,i)}return this.decodeApngImage(),this._apng}decodeChunk(t,i){const o=this.offset;switch(i){case"IHDR":this.decodeIHDR();break;case"PLTE":this.decodePLTE(t);break;case"IDAT":this.decodeIDAT(t);break;case"IEND":this._end=!0;break;case"tRNS":this.decodetRNS(t);break;case"iCCP":this.decodeiCCP(t);break;case Mf:Uf(this._png.text,this,t);break;case"pHYs":this.decodepHYs();break;default:this.skip(t);break}if(this.offset-o!==t)throw new Error(`Length mismatch while decoding chunk ${i}`);this._checkCrc?tu(this,t+4,i):this.skip(4)}decodeApngChunk(t,i){const o=this.offset;switch(i!=="fdAT"&&i!=="IDAT"&&this._writingDataChunks&&this.pushDataToFrame(),i){case"acTL":this.decodeACTL();break;case"fcTL":this.decodeFCTL();break;case"fdAT":this.decodeFDAT(t);break;default:this.decodeChunk(t,i),this.offset=o+t;break}if(this.offset-o!==t)throw new Error(`Length mismatch while decoding chunk ${i}`);this._checkCrc?tu(this,t+4,i):this.skip(4)}decodeIHDR(){const t=this._png;t.width=this.readUint32(),t.height=this.readUint32(),t.depth=Wf(this.readUint8());const i=this.readUint8();this._colorType=i;let o;switch(i){case Bn.GREYSCALE:o=1;break;case Bn.TRUECOLOUR:o=3;break;case Bn.INDEXED_COLOUR:o=1;break;case Bn.GREYSCALE_ALPHA:o=2;break;case Bn.TRUECOLOUR_ALPHA:o=4;break;case Bn.UNKNOWN:default:throw new Error(`Unknown color type: ${i}`)}if(this._png.channels=o,this._compressionMethod=this.readUint8(),this._compressionMethod!==vo.DEFLATE)throw new Error(`Unsupported compression method: ${this._compressionMethod}`);this._filterMethod=this.readUint8(),this._interlaceMethod=this.readUint8()}decodeACTL(){this._numberOfFrames=this.readUint32(),this._numberOfPlays=this.readUint32(),this._isAnimated=!0}decodeFCTL(){const t={sequenceNumber:this.readUint32(),width:this.readUint32(),height:this.readUint32(),xOffset:this.readUint32(),yOffset:this.readUint32(),delayNumber:this.readUint16(),delayDenominator:this.readUint16(),disposeOp:this.readUint8(),blendOp:this.readUint8(),data:new Uint8Array(0)};this._frames.push(t)}decodePLTE(t){if(t%3!==0)throw new RangeError(`PLTE field length must be a multiple of 3. Got ${t}`);const i=t/3;this._hasPalette=!0;const o=[];this._palette=o;for(let s=0;sthis._png.width*this._png.height)throw new Error(`tRNS chunk contains more alpha values than there are pixels (${t/2} vs ${this._png.width*this._png.height})`);this._hasTransparency=!0,this._transparency=new Uint16Array(t/2);for(let i=0;ithis._palette.length)throw new Error(`tRNS chunk contains more alpha values than there are palette colors (${t} vs ${this._palette.length})`);let i=0;for(;i{const c=((f+i.yOffset)*this._png.width+i.xOffset+u)*this._png.channels,d=(f*i.width+u)*this._png.channels;return{index:c,frameIndex:d}};switch(i.blendOp){case wo.SOURCE:for(let f=0;f=200&&e.status<=299}function cs(n){try{n.dispatchEvent(new MouseEvent("click"))}catch{var e=document.createEvent("MouseEvents");e.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),n.dispatchEvent(e)}}var di=$t.saveAs||((typeof window>"u"?"undefined":Se(window))!=="object"||window!==$t?function(){}:typeof HTMLAnchorElement<"u"&&"download"in HTMLAnchorElement.prototype?function(n,e,t){var i=$t.URL||$t.webkitURL,o=document.createElement("a");e=e||n.name||"download",o.download=e,o.rel="noopener",typeof n=="string"?(o.href=n,o.origin!==location.origin?au(o.href)?xo(n,e,t):cs(o,o.target="_blank"):cs(o)):(o.href=i.createObjectURL(n),setTimeout(function(){i.revokeObjectURL(o.href)},4e4),setTimeout(function(){cs(o)},0))}:"msSaveOrOpenBlob"in navigator?function(n,e,t){if(e=e||n.name||"download",typeof n=="string")if(au(n))xo(n,e,t);else{var i=document.createElement("a");i.href=n,i.target="_blank",setTimeout(function(){cs(i)})}else navigator.msSaveOrOpenBlob(function(o,s){return s===void 0?s={autoBom:!1}:Se(s)!=="object"&&(Le.warn("Deprecated: Expected third argument to be a object"),s={autoBom:!s}),s.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(o.type)?new Blob(["\uFEFF",o],{type:o.type}):o}(n,t),e)}:function(n,e,t,i){if((i=i||open("","_blank"))&&(i.document.title=i.document.body.innerText="downloading..."),typeof n=="string")return xo(n,e,t);var o=n.type==="application/octet-stream",s=/constructor/i.test($t.HTMLElement)||$t.safari,f=/CriOS\/[\d]+/.test(navigator.userAgent);if((f||o&&s)&&(typeof FileReader>"u"?"undefined":Se(FileReader))==="object"){var u=new FileReader;u.onloadend=function(){var m=u.result;m=f?m:m.replace(/^data:[^;]*;/,"data:attachment/file;"),i?i.location.href=m:location=m,i=null},u.readAsDataURL(n)}else{var c=$t.URL||$t.webkitURL,d=c.createObjectURL(n);i?i.location=d:location.href=d,i=null,setTimeout(function(){c.revokeObjectURL(d)},4e4)}});/** * A class to parse color values * @author Stoyan Stefanov @@ -138,7 +138,7 @@ T* `):l.join(` Tj endobj\r `},t.outline.count_r=function(i,o){for(var s=0;s1){U=!0,ct=void 0;var $=z*et;pt=new Uint8Array($);for(var Q=new DataView(N.buffer),it=0;it<$;it++){var at=So(Q,it,q),dt=yl(E[at],4)[3];pt[it]=dt}}else ft===0&&(ct=void 0);return{colorSpace:"Indexed",colorsPerPixel:1,sMaskBitsPerComponent:U?8:void 0,colorBytes:N,alphaBytes:pt,needSMask:U,palette:rt,mask:ct}}(s):c===2||c===4?function(tt){for(var z=tt.data,et=tt.width,N=tt.height,E=tt.channels,q=tt.depth,U=E===2?"DeviceGray":"DeviceRGB",rt=E-1,ct=et*N,pt=rt,nt=ct*pt,ft=1*ct,At=Math.ceil(nt*q/8),xt=Math.ceil(ft*q/8),x=new Uint8Array(At),j=new Uint8Array(xt),R=new DataView(z.buffer),V=new DataView(x.buffer),$=new DataView(j.buffer),Q=!1,it=0;it536870912)throw new Error("Image dimensions exceed 512MB, which is too large.");this.data=new Uint8Array(e);try{this[n]()}catch(t){Le.log("bit decode error:"+t)}},Xn.prototype.bit1=function(){var n,e=Math.ceil(this.width/8),t=e%4;for(n=this.height-1;n>=0;n--){for(var i=this.bottom_up?n:this.height-1-n,o=0;o>7-u&1];this.data[f+4*u]=c.blue,this.data[f+4*u+1]=c.green,this.data[f+4*u+2]=c.red,this.data[f+4*u+3]=255}t!==0&&(this.pos+=4-t)}},Xn.prototype.bit4=function(){for(var n=Math.ceil(this.width/2),e=n%4,t=this.height-1;t>=0;t--){for(var i=this.bottom_up?t:this.height-1-t,o=0;o>4,c=15&s,d=this.palette[u];if(this.data[f]=d.blue,this.data[f+1]=d.green,this.data[f+2]=d.red,this.data[f+3]=255,2*o+1>=this.width)break;d=this.palette[c],this.data[f+4]=d.blue,this.data[f+4+1]=d.green,this.data[f+4+2]=d.red,this.data[f+4+3]=255}e!==0&&(this.pos+=4-e)}},Xn.prototype.bit8=function(){for(var n=this.width%4,e=this.height-1;e>=0;e--){for(var t=this.bottom_up?e:this.height-1-e,i=0;i=0;t--){for(var i=this.bottom_up?t:this.height-1-t,o=0;o>5&e)/e*255|0,c=(s>>10&e)/e*255|0,d=s>>15?255:0,m=i*this.width*4+4*o;this.data[m]=c,this.data[m+1]=u,this.data[m+2]=f,this.data[m+3]=d}this.pos+=n}},Xn.prototype.bit16=function(){for(var n=this.width%3,e=parseInt("11111",2),t=parseInt("111111",2),i=this.height-1;i>=0;i--){for(var o=this.bottom_up?i:this.height-1-i,s=0;s>5&t)/t*255|0,d=(f>>11)/e*255|0,m=o*this.width*4+4*s;this.data[m]=d,this.data[m+1]=c,this.data[m+2]=u,this.data[m+3]=255}this.pos+=n}},Xn.prototype.bit24=function(){for(var n=this.height-1;n>=0;n--){for(var e=this.bottom_up?n:this.height-1-n,t=0;t=0;n--)for(var e=this.bottom_up?n:this.height-1-n,t=0;ti&&(o.push(n.slice(c,s)),u=0,c=s),u+=e[s],s++;return c!==s&&o.push(n.slice(c,s)),o},vu=function(n,e,t){t||(t={});var i,o,s,f,u,c,d,m=[],A=[m],P=t.textIndent||0,p=0,B=0,O=n.split(" "),M=ds.apply(this,[" ",t])[0];if(c=t.lineIndent===-1?O[0].length+2:t.lineIndent||0){var S=Array(c).join(" "),Y=[];O.map(function(D){(D=D.split(/\s*\n/)).length>1?Y=Y.concat(D.map(function(lt,yt){return(yt&<.length?` `:"")+lt})):Y.push(D[0])}),O=Y,c=gu.apply(this,[S,t])}for(s=0,f=O.length;se||J){if(B>e){for(u=mu.apply(this,[i,o,e-(P+p),e]),m.push(u.shift()),m=[u.pop()];u.length;)A.push([u.shift()]);B=o.slice(i.length-(m[0]?m[0].length:0)).reduce(function(D,lt){return D+lt},0)}else m=[i];A.push(m),P=B+c,p=M}else m.push(i),P+=p+B,p=M}return d=c?function(D,lt){return(lt?S:"")+D.join(" ")}:function(D){return D.join(" ")},A.map(d)},Wi.splitTextToSize=function(n,e,t){var i,o=(t=t||{}).fontSize||this.internal.getFontSize(),s=(function(m){if(m.widths&&m.kerning)return{widths:m.widths,kerning:m.kerning};var A=this.internal.getFont(m.fontName,m.fontStyle),P="Unicode";return A.metadata[P]?{widths:A.metadata[P].widths||{0:1},kerning:A.metadata[P].kerning||{}}:{font:A.metadata,fontSize:this.internal.getFontSize(),charSpace:this.internal.getCharSpace()}}).call(this,t);i=Array.isArray(n)?n:String(n).split(/\r?\n/);var f=1*this.internal.scaleFactor*e/o;s.textIndent=t.textIndent?1*t.textIndent*this.internal.scaleFactor/o:0,s.lineIndent=t.lineIndent;var u,c,d=[];for(u=0,c=i.length;uimport("./index.es-CT5OxKBD.js"),__vite__mapDeps([0,1,2]),import.meta.url)).catch(function(P){return Promise.reject(new Error("Could not load canvg: "+P))}).then(function(P){return P.default?P.default:P}).then(function(P){return P.fromString(d,n,m)},function(){return Promise.reject(new Error("Could not load canvg."))}).then(function(P){return P.render(m)}).then(function(){A.addImage(c.toDataURL("image/jpeg",1),e,t,i,o,f,u)})},Tt.API.putTotalPages=function(n){var e,t=0;parseInt(this.internal.getFont().id.substr(1),10)<15?(e=new RegExp(n,"g"),t=this.internal.getNumberOfPages()):(e=new RegExp(this.pdfEscape16(n,this.internal.getFont()),"g"),t=this.pdfEscape16(this.internal.getNumberOfPages()+"",this.internal.getFont()));for(var i=1;i<=this.internal.getNumberOfPages();i++)for(var o=0;o1){for(m=0;me||J){if(B>e){for(u=mu.apply(this,[i,o,e-(P+p),e]),m.push(u.shift()),m=[u.pop()];u.length;)A.push([u.shift()]);B=o.slice(i.length-(m[0]?m[0].length:0)).reduce(function(D,lt){return D+lt},0)}else m=[i];A.push(m),P=B+c,p=M}else m.push(i),P+=p+B,p=M}return d=c?function(D,lt){return(lt?S:"")+D.join(" ")}:function(D){return D.join(" ")},A.map(d)},Wi.splitTextToSize=function(n,e,t){var i,o=(t=t||{}).fontSize||this.internal.getFontSize(),s=(function(m){if(m.widths&&m.kerning)return{widths:m.widths,kerning:m.kerning};var A=this.internal.getFont(m.fontName,m.fontStyle),P="Unicode";return A.metadata[P]?{widths:A.metadata[P].widths||{0:1},kerning:A.metadata[P].kerning||{}}:{font:A.metadata,fontSize:this.internal.getFontSize(),charSpace:this.internal.getCharSpace()}}).call(this,t);i=Array.isArray(n)?n:String(n).split(/\r?\n/);var f=1*this.internal.scaleFactor*e/o;s.textIndent=t.textIndent?1*t.textIndent*this.internal.scaleFactor/o:0,s.lineIndent=t.lineIndent;var u,c,d=[];for(u=0,c=i.length;uimport("./index.es-CwZZRow3.js"),__vite__mapDeps([0,1,2]),import.meta.url)).catch(function(P){return Promise.reject(new Error("Could not load canvg: "+P))}).then(function(P){return P.default?P.default:P}).then(function(P){return P.fromString(d,n,m)},function(){return Promise.reject(new Error("Could not load canvg."))}).then(function(P){return P.render(m)}).then(function(){A.addImage(c.toDataURL("image/jpeg",1),e,t,i,o,f,u)})},Tt.API.putTotalPages=function(n){var e,t=0;parseInt(this.internal.getFont().id.substr(1),10)<15?(e=new RegExp(n,"g"),t=this.internal.getNumberOfPages()):(e=new RegExp(this.pdfEscape16(n,this.internal.getFont()),"g"),t=this.pdfEscape16(this.internal.getNumberOfPages()+"",this.internal.getFont()));for(var i=1;i<=this.internal.getNumberOfPages();i++)for(var o=0;o1){for(m=0;m Topola Genealogy Viewer - +